.class public final Landroidx/work/b;
.super Ljava/lang/Object;
.source ""


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Landroidx/work/b$b;,
        Landroidx/work/b$a;
    }
.end annotation


# instance fields
.field public final a:Ljava/util/concurrent/Executor;

.field public final b:Ljava/util/concurrent/Executor;

.field public final c:Ll1/r;

.field public final d:Ll1/h;

.field public final e:Lf/o;

.field public final f:I

.field public final g:I

.field public final h:I


# direct methods
.method public constructor <init>(Landroidx/work/b$a;)V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 p1, 0x0

    invoke-virtual {p0, p1}, Landroidx/work/b;->a(Z)Ljava/util/concurrent/Executor;

    move-result-object p1

    iput-object p1, p0, Landroidx/work/b;->a:Ljava/util/concurrent/Executor;

    const/4 p1, 0x1

    invoke-virtual {p0, p1}, Landroidx/work/b;->a(Z)Ljava/util/concurrent/Executor;

    move-result-object p1

    iput-object p1, p0, Landroidx/work/b;->b:Ljava/util/concurrent/Executor;

    sget-object p1, Ll1/r;->a:Ljava/lang/String;

    .line 1
    new-instance p1, Ll1/q;

    invoke-direct {p1}, Ll1/q;-><init>()V

    .line 2
    iput-object p1, p0, Landroidx/work/b;->c:Ll1/r;

    .line 3
    new-instance p1, Ll1/g;

    invoke-direct {p1}, Ll1/g;-><init>()V

    .line 4
    iput-object p1, p0, Landroidx/work/b;->d:Ll1/h;

    new-instance p1, Lf/o;

    const/4 v0, 0x3

    invoke-direct {p1, v0}, Lf/o;-><init>(I)V

    iput-object p1, p0, Landroidx/work/b;->e:Lf/o;

    const/4 p1, 0x4

    iput p1, p0, Landroidx/work/b;->f:I

    const p1, 0x7fffffff

    iput p1, p0, Landroidx/work/b;->g:I

    const/16 p1, 0x14

    iput p1, p0, Landroidx/work/b;->h:I

    return-void
.end method


# virtual methods
.method public final a(Z)Ljava/util/concurrent/Executor;
    .registers 4

    invoke-static {}, Ljava/lang/Runtime;->getRuntime()Ljava/lang/Runtime;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Runtime;->availableProcessors()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    const/4 v1, 0x4

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    const/4 v1, 0x2

    invoke-static {v1, v0}, Ljava/lang/Math;->max(II)I

    move-result v0

    .line 1
    new-instance v1, Ll1/a;

    invoke-direct {v1, p0, p1}, Ll1/a;-><init>(Landroidx/work/b;Z)V

    .line 2
    invoke-static {v0, v1}, Ljava/util/concurrent/Executors;->newFixedThreadPool(ILjava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;

    move-result-object p1

    return-object p1
.end method
