.class public Landroidx/constraintlayout/widget/ConstraintLayout$b;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lv/b$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Landroidx/constraintlayout/widget/ConstraintLayout;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "b"
.end annotation


# instance fields
.field public a:Landroidx/constraintlayout/widget/ConstraintLayout;

.field public b:I

.field public c:I

.field public d:I

.field public e:I

.field public f:I

.field public g:I

.field public final synthetic h:Landroidx/constraintlayout/widget/ConstraintLayout;


# direct methods
.method public constructor <init>(Landroidx/constraintlayout/widget/ConstraintLayout;Landroidx/constraintlayout/widget/ConstraintLayout;)V
    .registers 3

    iput-object p1, p0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->h:Landroidx/constraintlayout/widget/ConstraintLayout;

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

    iput-object p2, p0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->a:Landroidx/constraintlayout/widget/ConstraintLayout;

    return-void
.end method


# virtual methods
.method public final a(III)Z
    .registers 7

    const/4 v0, 0x1

    if-ne p1, p2, :cond_4

    return v0

    :cond_4
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result v1

    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I

    move-result p1

    invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result p2

    const/high16 v2, 0x40000000    # 2.0f

    if-ne p1, v2, :cond_20

    const/high16 p1, -0x80000000

    if-eq v1, p1, :cond_1d

    if-nez v1, :cond_20

    :cond_1d
    if-ne p3, p2, :cond_20

    return v0

    :cond_20
    const/4 p1, 0x0

    return p1
.end method

.method public final b(Lu/e;Lv/b$a;)V
    .registers 20
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "WrongCall"
        }
    .end annotation

    move-object/from16 v0, p0

    move-object/from16 v1, p1

    move-object/from16 v2, p2

    if-nez v1, :cond_9

    return-void

    .line 1
    :cond_9
    iget v3, v1, Lu/e;->h0:I

    const/16 v4, 0x8

    const/4 v5, 0x0

    if-ne v3, v4, :cond_1b

    .line 2
    iget-boolean v3, v1, Lu/e;->E:Z

    if-nez v3, :cond_1b

    .line 3
    iput v5, v2, Lv/b$a;->e:I

    iput v5, v2, Lv/b$a;->f:I

    iput v5, v2, Lv/b$a;->g:I

    return-void

    .line 4
    :cond_1b
    iget-object v3, v1, Lu/e;->U:Lu/e;

    if-nez v3, :cond_20

    return-void

    .line 5
    :cond_20
    iget v3, v2, Lv/b$a;->a:I

    iget v4, v2, Lv/b$a;->b:I

    iget v6, v2, Lv/b$a;->c:I

    iget v7, v2, Lv/b$a;->d:I

    iget v8, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->b:I

    iget v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->c:I

    add-int/2addr v8, v9

    iget v9, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->d:I

    .line 6
    iget-object v10, v1, Lu/e;->g0:Ljava/lang/Object;

    .line 7
    check-cast v10, Landroid/view/View;

    invoke-static {v3}, Ls/f;->a(I)I

    move-result v11

    const/4 v12, 0x2

    const/4 v13, 0x3

    const/4 v14, -0x1

    const/4 v15, 0x1

    if-eqz v11, :cond_b1

    if-eq v11, v15, :cond_a7

    if-eq v11, v12, :cond_5d

    if-eq v11, v13, :cond_45

    goto/16 :goto_b7

    :cond_45
    iget v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->f:I

    .line 8
    iget-object v11, v1, Lu/e;->I:Lu/d;

    if-eqz v11, :cond_4f

    iget v11, v11, Lu/d;->g:I

    add-int/2addr v11, v5

    goto :goto_50

    :cond_4f
    move v11, v5

    :goto_50
    iget-object v5, v1, Lu/e;->K:Lu/d;

    if-eqz v5, :cond_57

    iget v5, v5, Lu/d;->g:I

    add-int/2addr v11, v5

    :cond_57
    add-int/2addr v9, v11

    .line 9
    invoke-static {v6, v9, v14}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v5

    goto :goto_b7

    :cond_5d
    iget v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->f:I

    const/4 v6, -0x2

    invoke-static {v5, v9, v6}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v5

    iget v6, v1, Lu/e;->q:I

    if-ne v6, v15, :cond_6a

    move v6, v15

    goto :goto_6b

    :cond_6a
    const/4 v6, 0x0

    :goto_6b
    iget v9, v2, Lv/b$a;->j:I

    if-eq v9, v15, :cond_75

    if-ne v9, v12, :cond_72

    goto :goto_75

    :cond_72
    const/high16 v11, 0x40000000    # 2.0f

    goto :goto_b7

    :cond_75
    :goto_75
    invoke-virtual {v10}, Landroid/view/View;->getMeasuredHeight()I

    move-result v9

    invoke-virtual/range {p1 .. p1}, Lu/e;->l()I

    move-result v11

    if-ne v9, v11, :cond_81

    move v9, v15

    goto :goto_82

    :cond_81
    const/4 v9, 0x0

    :goto_82
    iget v11, v2, Lv/b$a;->j:I

    if-eq v11, v12, :cond_99

    if-eqz v6, :cond_99

    if-eqz v6, :cond_8c

    if-nez v9, :cond_99

    :cond_8c
    instance-of v6, v10, Landroidx/constraintlayout/widget/d;

    if-nez v6, :cond_99

    invoke-virtual/range {p1 .. p1}, Lu/e;->A()Z

    move-result v6

    if-eqz v6, :cond_97

    goto :goto_99

    :cond_97
    const/4 v6, 0x0

    goto :goto_9a

    :cond_99
    :goto_99
    move v6, v15

    :goto_9a
    if-eqz v6, :cond_72

    invoke-virtual/range {p1 .. p1}, Lu/e;->r()I

    move-result v5

    const/high16 v11, 0x40000000    # 2.0f

    invoke-static {v5, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    goto :goto_b7

    :cond_a7
    const/high16 v11, 0x40000000    # 2.0f

    iget v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->f:I

    const/4 v6, -0x2

    invoke-static {v5, v9, v6}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v5

    goto :goto_b7

    :cond_b1
    const/high16 v11, 0x40000000    # 2.0f

    invoke-static {v6, v11}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    :goto_b7
    invoke-static {v4}, Ls/f;->a(I)I

    move-result v6

    if-eqz v6, :cond_137

    if-eq v6, v15, :cond_12d

    if-eq v6, v12, :cond_e3

    if-eq v6, v13, :cond_c6

    const/4 v9, 0x0

    goto/16 :goto_13e

    :cond_c6
    iget v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->g:I

    .line 10
    iget-object v7, v1, Lu/e;->I:Lu/d;

    if-eqz v7, :cond_d3

    iget-object v7, v1, Lu/e;->J:Lu/d;

    iget v7, v7, Lu/d;->g:I

    const/4 v9, 0x0

    add-int/2addr v7, v9

    goto :goto_d4

    :cond_d3
    const/4 v7, 0x0

    :goto_d4
    iget-object v9, v1, Lu/e;->K:Lu/d;

    if-eqz v9, :cond_dd

    iget-object v9, v1, Lu/e;->L:Lu/d;

    iget v9, v9, Lu/d;->g:I

    add-int/2addr v7, v9

    :cond_dd
    add-int/2addr v8, v7

    .line 11
    invoke-static {v6, v8, v14}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v6

    goto :goto_13d

    :cond_e3
    iget v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->g:I

    const/4 v7, -0x2

    invoke-static {v6, v8, v7}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v6

    iget v7, v1, Lu/e;->r:I

    if-ne v7, v15, :cond_f0

    move v7, v15

    goto :goto_f1

    :cond_f0
    const/4 v7, 0x0

    :goto_f1
    iget v8, v2, Lv/b$a;->j:I

    if-eq v8, v15, :cond_fb

    if-ne v8, v12, :cond_f8

    goto :goto_fb

    :cond_f8
    const/high16 v9, 0x40000000    # 2.0f

    goto :goto_13d

    :cond_fb
    :goto_fb
    invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I

    move-result v8

    invoke-virtual/range {p1 .. p1}, Lu/e;->r()I

    move-result v9

    if-ne v8, v9, :cond_107

    move v8, v15

    goto :goto_108

    :cond_107
    const/4 v8, 0x0

    :goto_108
    iget v9, v2, Lv/b$a;->j:I

    if-eq v9, v12, :cond_11f

    if-eqz v7, :cond_11f

    if-eqz v7, :cond_112

    if-nez v8, :cond_11f

    :cond_112
    instance-of v7, v10, Landroidx/constraintlayout/widget/d;

    if-nez v7, :cond_11f

    invoke-virtual/range {p1 .. p1}, Lu/e;->B()Z

    move-result v7

    if-eqz v7, :cond_11d

    goto :goto_11f

    :cond_11d
    const/4 v7, 0x0

    goto :goto_120

    :cond_11f
    :goto_11f
    move v7, v15

    :goto_120
    if-eqz v7, :cond_f8

    invoke-virtual/range {p1 .. p1}, Lu/e;->l()I

    move-result v6

    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v6, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v6

    goto :goto_13d

    :cond_12d
    const/high16 v9, 0x40000000    # 2.0f

    iget v6, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->g:I

    const/4 v7, -0x2

    invoke-static {v6, v8, v7}, Landroid/view/ViewGroup;->getChildMeasureSpec(III)I

    move-result v6

    goto :goto_13d

    :cond_137
    const/high16 v9, 0x40000000    # 2.0f

    invoke-static {v7, v9}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v6

    :goto_13d
    move v9, v6

    .line 12
    :goto_13e
    iget-object v6, v1, Lu/e;->U:Lu/e;

    .line 13
    check-cast v6, Lu/f;

    if-eqz v6, :cond_1b4

    iget-object v7, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->h:Landroidx/constraintlayout/widget/ConstraintLayout;

    .line 14
    iget v7, v7, Landroidx/constraintlayout/widget/ConstraintLayout;->z:I

    const/16 v8, 0x100

    .line 15
    invoke-static {v7, v8}, Lu/j;->b(II)Z

    move-result v7

    if-eqz v7, :cond_1b4

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I

    move-result v7

    invoke-virtual/range {p1 .. p1}, Lu/e;->r()I

    move-result v8

    if-ne v7, v8, :cond_1b4

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I

    move-result v7

    invoke-virtual {v6}, Lu/e;->r()I

    move-result v8

    if-ge v7, v8, :cond_1b4

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredHeight()I

    move-result v7

    invoke-virtual/range {p1 .. p1}, Lu/e;->l()I

    move-result v8

    if-ne v7, v8, :cond_1b4

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredHeight()I

    move-result v7

    invoke-virtual {v6}, Lu/e;->l()I

    move-result v6

    if-ge v7, v6, :cond_1b4

    invoke-virtual {v10}, Landroid/view/View;->getBaseline()I

    move-result v6

    .line 16
    iget v7, v1, Lu/e;->b0:I

    if-ne v6, v7, :cond_1b4

    .line 17
    invoke-virtual/range {p1 .. p1}, Lu/e;->z()Z

    move-result v6

    if-nez v6, :cond_1b4

    .line 18
    iget v6, v1, Lu/e;->G:I

    .line 19
    invoke-virtual/range {p1 .. p1}, Lu/e;->r()I

    move-result v7

    invoke-virtual {v0, v6, v5, v7}, Landroidx/constraintlayout/widget/ConstraintLayout$b;->a(III)Z

    move-result v6

    if-eqz v6, :cond_1a0

    .line 20
    iget v6, v1, Lu/e;->H:I

    .line 21
    invoke-virtual/range {p1 .. p1}, Lu/e;->l()I

    move-result v7

    invoke-virtual {v0, v6, v9, v7}, Landroidx/constraintlayout/widget/ConstraintLayout$b;->a(III)Z

    move-result v6

    if-eqz v6, :cond_1a0

    move v6, v15

    goto :goto_1a1

    :cond_1a0
    const/4 v6, 0x0

    :goto_1a1
    if-eqz v6, :cond_1b4

    invoke-virtual/range {p1 .. p1}, Lu/e;->r()I

    move-result v3

    iput v3, v2, Lv/b$a;->e:I

    invoke-virtual/range {p1 .. p1}, Lu/e;->l()I

    move-result v3

    iput v3, v2, Lv/b$a;->f:I

    .line 22
    iget v1, v1, Lu/e;->b0:I

    .line 23
    iput v1, v2, Lv/b$a;->g:I

    return-void

    :cond_1b4
    if-ne v3, v13, :cond_1b8

    move v6, v15

    goto :goto_1b9

    :cond_1b8
    const/4 v6, 0x0

    :goto_1b9
    if-ne v4, v13, :cond_1bd

    move v7, v15

    goto :goto_1be

    :cond_1bd
    const/4 v7, 0x0

    :goto_1be
    const/4 v8, 0x4

    if-eq v4, v8, :cond_1c6

    if-ne v4, v15, :cond_1c4

    goto :goto_1c6

    :cond_1c4
    const/4 v4, 0x0

    goto :goto_1c7

    :cond_1c6
    :goto_1c6
    move v4, v15

    :goto_1c7
    if-eq v3, v8, :cond_1ce

    if-ne v3, v15, :cond_1cc

    goto :goto_1ce

    :cond_1cc
    const/4 v3, 0x0

    goto :goto_1cf

    :cond_1ce
    :goto_1ce
    move v3, v15

    :goto_1cf
    const/4 v8, 0x0

    if-eqz v6, :cond_1da

    iget v11, v1, Lu/e;->X:F

    cmpl-float v11, v11, v8

    if-lez v11, :cond_1da

    move v11, v15

    goto :goto_1db

    :cond_1da
    const/4 v11, 0x0

    :goto_1db
    if-eqz v7, :cond_1e5

    iget v13, v1, Lu/e;->X:F

    cmpl-float v8, v13, v8

    if-lez v8, :cond_1e5

    move v8, v15

    goto :goto_1e6

    :cond_1e5
    const/4 v8, 0x0

    :goto_1e6
    if-nez v10, :cond_1e9

    return-void

    :cond_1e9
    invoke-virtual {v10}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v13

    check-cast v13, Landroidx/constraintlayout/widget/ConstraintLayout$a;

    iget v14, v2, Lv/b$a;->j:I

    if-eq v14, v15, :cond_209

    if-eq v14, v12, :cond_209

    if-eqz v6, :cond_209

    iget v6, v1, Lu/e;->q:I

    if-nez v6, :cond_209

    if-eqz v7, :cond_209

    iget v6, v1, Lu/e;->r:I

    if-eqz v6, :cond_202

    goto :goto_209

    :cond_202
    const/4 v0, -0x1

    const/4 v4, 0x0

    const/4 v9, 0x0

    const/4 v14, 0x0

    const/4 v15, 0x0

    goto/16 :goto_2ad

    :cond_209
    :goto_209
    instance-of v6, v10, Lx/h;

    if-eqz v6, :cond_218

    instance-of v6, v1, Lu/k;

    if-eqz v6, :cond_218

    move-object v6, v1

    check-cast v6, Lu/k;

    move-object v6, v10

    check-cast v6, Lx/h;

    goto :goto_21b

    :cond_218
    invoke-virtual {v10, v5, v9}, Landroid/view/View;->measure(II)V

    .line 24
    :goto_21b
    iput v5, v1, Lu/e;->G:I

    iput v9, v1, Lu/e;->H:I

    const/4 v6, 0x0

    .line 25
    iput-boolean v6, v1, Lu/e;->g:Z

    .line 26
    invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I

    move-result v6

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredHeight()I

    move-result v7

    invoke-virtual {v10}, Landroid/view/View;->getBaseline()I

    move-result v12

    iget v14, v1, Lu/e;->t:I

    if-lez v14, :cond_237

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

    move-result v14

    goto :goto_238

    :cond_237
    move v14, v6

    :goto_238
    iget v15, v1, Lu/e;->u:I

    if-lez v15, :cond_240

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

    move-result v14

    :cond_240
    iget v15, v1, Lu/e;->w:I

    if-lez v15, :cond_24b

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

    move-result v15

    move/from16 v16, v5

    goto :goto_24e

    :cond_24b
    move/from16 v16, v5

    move v15, v7

    :goto_24e
    iget v5, v1, Lu/e;->x:I

    if-lez v5, :cond_256

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

    move-result v15

    :cond_256
    iget-object v5, v0, Landroidx/constraintlayout/widget/ConstraintLayout$b;->h:Landroidx/constraintlayout/widget/ConstraintLayout;

    .line 27
    iget v5, v5, Landroidx/constraintlayout/widget/ConstraintLayout;->z:I

    const/4 v0, 0x1

    .line 28
    invoke-static {v5, v0}, Lu/j;->b(II)Z

    move-result v5

    if-nez v5, :cond_27a

    const/high16 v0, 0x3f000000    # 0.5f

    if-eqz v11, :cond_26f

    if-eqz v4, :cond_26f

    iget v3, v1, Lu/e;->X:F

    int-to-float v4, v15

    mul-float/2addr v4, v3

    add-float/2addr v4, v0

    float-to-int v0, v4

    move v14, v0

    goto :goto_27a

    :cond_26f
    if-eqz v8, :cond_27a

    if-eqz v3, :cond_27a

    iget v3, v1, Lu/e;->X:F

    int-to-float v4, v14

    div-float/2addr v4, v3

    add-float/2addr v4, v0

    float-to-int v0, v4

    move v15, v0

    :cond_27a
    :goto_27a
    if-ne v6, v14, :cond_283

    if-eq v7, v15, :cond_27f

    goto :goto_283

    :cond_27f
    move v4, v12

    const/4 v0, -0x1

    const/4 v9, 0x0

    goto :goto_2ad

    :cond_283
    :goto_283
    const/high16 v0, 0x40000000    # 2.0f

    if-eq v6, v14, :cond_28c

    invoke-static {v14, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v5

    goto :goto_28e

    :cond_28c
    move/from16 v5, v16

    :goto_28e
    if-eq v7, v15, :cond_294

    invoke-static {v15, v0}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v9

    :cond_294
    invoke-virtual {v10, v5, v9}, Landroid/view/View;->measure(II)V

    .line 29
    iput v5, v1, Lu/e;->G:I

    iput v9, v1, Lu/e;->H:I

    const/4 v9, 0x0

    .line 30
    iput-boolean v9, v1, Lu/e;->g:Z

    .line 31
    invoke-virtual {v10}, Landroid/view/View;->getMeasuredWidth()I

    move-result v0

    invoke-virtual {v10}, Landroid/view/View;->getMeasuredHeight()I

    move-result v3

    invoke-virtual {v10}, Landroid/view/View;->getBaseline()I

    move-result v4

    move v14, v0

    move v15, v3

    const/4 v0, -0x1

    :goto_2ad
    if-eq v4, v0, :cond_2b1

    const/4 v0, 0x1

    goto :goto_2b2

    :cond_2b1
    move v0, v9

    :goto_2b2
    iget v3, v2, Lv/b$a;->c:I

    if-ne v14, v3, :cond_2bd

    iget v3, v2, Lv/b$a;->d:I

    if-eq v15, v3, :cond_2bb

    goto :goto_2bd

    :cond_2bb
    move v5, v9

    goto :goto_2be

    :cond_2bd
    :goto_2bd
    const/4 v5, 0x1

    :goto_2be
    iput-boolean v5, v2, Lv/b$a;->i:Z

    iget-boolean v3, v13, Landroidx/constraintlayout/widget/ConstraintLayout$a;->b0:Z

    if-eqz v3, :cond_2c5

    const/4 v0, 0x1

    :cond_2c5
    if-eqz v0, :cond_2d1

    const/4 v3, -0x1

    if-eq v4, v3, :cond_2d1

    .line 32
    iget v1, v1, Lu/e;->b0:I

    if-eq v1, v4, :cond_2d1

    const/4 v1, 0x1

    .line 33
    iput-boolean v1, v2, Lv/b$a;->i:Z

    :cond_2d1
    iput v14, v2, Lv/b$a;->e:I

    iput v15, v2, Lv/b$a;->f:I

    iput-boolean v0, v2, Lv/b$a;->h:Z

    iput v4, v2, Lv/b$a;->g:I

    return-void
.end method
