content: package androidx.appcompat.widget;
  
  import android.content.Context;
  import android.graphics.Canvas;
  import android.graphics.drawable.Drawable;
  import android.util.AttributeSet;
  import android.view.View;
  import android.view.ViewGroup;
  import android.view.accessibility.AccessibilityEvent;
  import android.view.accessibility.AccessibilityNodeInfo;
  import android.widget.LinearLayout;
  import androidx.appcompat.R;
  import androidx.constraintlayout.core.widgets.analyzer.BasicMeasure;
  import androidx.core.view.GravityCompat;
  import androidx.core.view.ViewCompat;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  
  public class LinearLayoutCompat extends ViewGroup {
      private static final String ACCESSIBILITY_CLASS_NAME = "androidx.appcompat.widget.LinearLayoutCompat";
      public static final int HORIZONTAL = 0;
      private static final int INDEX_BOTTOM = 2;
      private static final int INDEX_CENTER_VERTICAL = 0;
      private static final int INDEX_FILL = 3;
      private static final int INDEX_TOP = 1;
      public static final int SHOW_DIVIDER_BEGINNING = 1;
      public static final int SHOW_DIVIDER_END = 4;
      public static final int SHOW_DIVIDER_MIDDLE = 2;
      public static final int SHOW_DIVIDER_NONE = 0;
      public static final int VERTICAL = 1;
      private static final int VERTICAL_GRAVITY_COUNT = 4;
      private boolean mBaselineAligned;
      private int mBaselineAlignedChildIndex;
      private int mBaselineChildTop;
      private Drawable mDivider;
      private int mDividerHeight;
      private int mDividerPadding;
      private int mDividerWidth;
      private int mGravity;
      private int[] mMaxAscent;
      private int[] mMaxDescent;
      private int mOrientation;
      private int mShowDividers;
      private int mTotalLength;
      private boolean mUseLargestChild;
      private float mWeightSum;
  
      @Retention(RetentionPolicy.SOURCE)
      public @interface DividerMode {
      }
  
      public static class LayoutParams extends LinearLayout.LayoutParams {
          public LayoutParams(int width, int height) {
              super(width, height);
          }
  
          public LayoutParams(int width, int height, float weight) {
              super(width, height, weight);
          }
  
          public LayoutParams(Context c, AttributeSet attrs) {
              super(c, attrs);
          }
  
          public LayoutParams(ViewGroup.LayoutParams p) {
              super(p);
          }
  
          public LayoutParams(ViewGroup.MarginLayoutParams source) {
              super(source);
          }
      }
  
      @Retention(RetentionPolicy.SOURCE)
      public @interface OrientationMode {
      }
  
      public LinearLayoutCompat(Context context) {
          this(context, (AttributeSet) null);
      }
  
      public LinearLayoutCompat(Context context, AttributeSet attrs) {
          this(context, attrs, 0);
      }
  
      public LinearLayoutCompat(Context context, AttributeSet attrs, int defStyleAttr) {
          super(context, attrs, defStyleAttr);
          this.mBaselineAligned = true;
          this.mBaselineAlignedChildIndex = -1;
          this.mBaselineChildTop = 0;
          this.mGravity = 8388659;
          TintTypedArray obtainStyledAttributes = TintTypedArray.obtainStyledAttributes(context, attrs, R.styleable.LinearLayoutCompat, defStyleAttr, 0);
          ViewCompat.saveAttributeDataForStyleable(this, context, R.styleable.LinearLayoutCompat, attrs, obtainStyledAttributes.getWrappedTypeArray(), defStyleAttr, 0);
          int i = obtainStyledAttributes.getInt(R.styleable.LinearLayoutCompat_android_orientation, -1);
          if (i >= 0) {
              setOrientation(i);
          }
          int i2 = obtainStyledAttributes.getInt(R.styleable.LinearLayoutCompat_android_gravity, -1);
          if (i2 >= 0) {
              setGravity(i2);
          }
          boolean z = obtainStyledAttributes.getBoolean(R.styleable.LinearLayoutCompat_android_baselineAligned, true);
          if (!z) {
              setBaselineAligned(z);
          }
          this.mWeightSum = obtainStyledAttributes.getFloat(R.styleable.LinearLayoutCompat_android_weightSum, -1.0f);
          this.mBaselineAlignedChildIndex = obtainStyledAttributes.getInt(R.styleable.LinearLayoutCompat_android_baselineAlignedChildIndex, -1);
          this.mUseLargestChild = obtainStyledAttributes.getBoolean(R.styleable.LinearLayoutCompat_measureWithLargestChild, false);
          setDividerDrawable(obtainStyledAttributes.getDrawable(R.styleable.LinearLayoutCompat_divider));
          this.mShowDividers = obtainStyledAttributes.getInt(R.styleable.LinearLayoutCompat_showDividers, 0);
          this.mDividerPadding = obtainStyledAttributes.getDimensionPixelSize(R.styleable.LinearLayoutCompat_dividerPadding, 0);
          obtainStyledAttributes.recycle();
      }
  
      private void forceUniformHeight(int count, int widthMeasureSpec) {
          int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(getMeasuredHeight(), BasicMeasure.EXACTLY);
          for (int i = 0; i < count; i++) {
              View virtualChildAt = getVirtualChildAt(i);
              if (virtualChildAt.getVisibility() != 8) {
                  LayoutParams layoutParams = (LayoutParams) virtualChildAt.getLayoutParams();
                  if (layoutParams.height == -1) {
                      int i2 = layoutParams.width;
                      layoutParams.width = virtualChildAt.getMeasuredWidth();
                      measureChildWithMargins(virtualChildAt, widthMeasureSpec, 0, makeMeasureSpec, 0);
                      layoutParams.width = i2;
                  }
              }
          }
      }
  
      private void forceUniformWidth(int count, int heightMeasureSpec) {
          int makeMeasureSpec = View.MeasureSpec.makeMeasureSpec(getMeasuredWidth(), BasicMeasure.EXACTLY);
          for (int i = 0; i < count; i++) {
              View virtualChildAt = getVirtualChildAt(i);
              if (virtualChildAt.getVisibility() != 8) {
                  LayoutParams layoutParams = (LayoutParams) virtualChildAt.getLayoutParams();
                  if (layoutParams.width == -1) {
                      int i2 = layoutParams.height;
                      layoutParams.height = virtualChildAt.getMeasuredHeight();
                      measureChildWithMargins(virtualChildAt, makeMeasureSpec, 0, heightMeasureSpec, 0);
                      layoutParams.height = i2;
                  }
              }
          }
      }
  
      private void setChildFrame(View child, int left, int top, int width, int height) {
          child.layout(left, top, left + width, top + height);
      }
  
      /* access modifiers changed from: protected */
      public boolean checkLayoutParams(ViewGroup.LayoutParams p) {
          return p instanceof LayoutParams;
      }
  
      /* access modifiers changed from: package-private */
      public void drawDividersHorizontal(Canvas canvas) {
          int i;
          int virtualChildCount = getVirtualChildCount();
          boolean isLayoutRtl = ViewUtils.isLayoutRtl(this);
          for (int i2 = 0; i2 < virtualChildCount; i2++) {
              View virtualChildAt = getVirtualChildAt(i2);
              if (!(virtualChildAt == null || virtualChildAt.getVisibility() == 8 || !hasDividerBeforeChildAt(i2))) {
                  LayoutParams layoutParams = (LayoutParams) virtualChildAt.getLayoutParams();
                  drawVerticalDivider(canvas, isLayoutRtl ? virtualChildAt.getRight() + layoutParams.rightMargin : (virtualChildAt.getLeft() - layoutParams.leftMargin) - this.mDividerWidth);
              }
          }
          if (hasDividerBeforeChildAt(virtualChildCount)) {
              View virtualChildAt2 = getVirtualChildAt(virtualChildCount - 1);
              if (virtualChildAt2 == null) {
                  i = isLayoutRtl ? getPaddingLeft() : (getWidth() - getPaddingRight()) - this.mDividerWidth;
              } else {
                  LayoutParams layoutParams2 = (LayoutParams) virtualChildAt2.getLayoutParams();
                  i = isLayoutRtl ? (virtualChildAt2.getLeft() - layoutParams2.leftMargin) - this.mDividerWidth : virtualChildAt2.getRight() + layoutParams2.rightMargin;
              }
              drawVerticalDivider(canvas, i);
          }
      }
  
      /* access modifiers changed from: package-private */
      public void drawDividersVertical(Canvas canvas) {
          int virtualChildCount = getVirtualChildCount();
          for (int i = 0; i < virtualChildCount; i++) {
              View virtualChildAt = getVirtualChildAt(i);
              if (!(virtualChildAt == null || virtualChildAt.getVisibility() == 8 || !hasDividerBeforeChildAt(i))) {
                  drawHorizontalDivider(canvas, (virtualChildAt.getTop() - ((LayoutParams) virtualChildAt.getLayoutParams()).topMargin) - this.mDividerHeight);
              }
          }
          if (hasDividerBeforeChildAt(virtualChildCount)) {
              View virtualChildAt2 = getVirtualChildAt(virtualChildCount - 1);
              drawHorizontalDivider(canvas, virtualChildAt2 == null ? (getHeight() - getPaddingBottom()) - this.mDividerHeight : virtualChildAt2.getBottom() + ((LayoutParams) virtualChildAt2.getLayoutParams()).bottomMargin);
          }
      }
  
      /* access modifiers changed from: package-private */
      public void drawHorizontalDivider(Canvas canvas, int top) {
          this.mDivider.setBounds(getPaddingLeft() + this.mDividerPadding, top, (getWidth() - getPaddingRight()) - this.mDividerPadding, this.mDividerHeight + top);
          this.mDivider.draw(canvas);
      }
  
      /* access modifiers changed from: package-private */
      public void drawVerticalDivider(Canvas canvas, int left) {
          this.mDivider.setBounds(left, getPaddingTop() + this.mDividerPadding, this.mDividerWidth + left, (getHeight() - getPaddingBottom()) - this.mDividerPadding);
          this.mDivider.draw(canvas);
      }
  
      /* access modifiers changed from: protected */
      public LayoutParams generateDefaultLayoutParams() {
          int i = this.mOrientation;
          if (i == 0) {
              return new LayoutParams(-2, -2);
          }
          if (i == 1) {
              return new LayoutParams(-1, -2);
          }
          return null;
      }
  
      public LayoutParams generateLayoutParams(AttributeSet attrs) {
          return new LayoutParams(getContext(), attrs);
      }
  
      /* access modifiers changed from: protected */
      public LayoutParams generateLayoutParams(ViewGroup.LayoutParams p) {
          return new LayoutParams(p);
      }
  
      public int getBaseline() {
          int i;
          if (this.mBaselineAlignedChildIndex < 0) {
              return super.getBaseline();
          }
          int childCount = getChildCount();
          int i2 = this.mBaselineAlignedChildIndex;
          if (childCount > i2) {
              View childAt = getChildAt(i2);
              int baseline = childAt.getBaseline();
              if (baseline != -1) {
                  int i3 = this.mBaselineChildTop;
                  if (this.mOrientation == 1 && (i = this.mGravity & 112) != 48) {
                      switch (i) {
                          case 16:
                              i3 += ((((getBottom() - getTop()) - getPaddingTop()) - getPaddingBottom()) - this.mTotalLength) / 2;
                              break;
                          case 80:
                              i3 = ((getBottom() - getTop()) - getPaddingBottom()) - this.mTotalLength;
                              break;
                      }
                  }
                  return ((LayoutParams) childAt.getLayoutParams()).topMargin + i3 + baseline;
              } else if (this.mBaselineAlignedChildIndex == 0) {
                  return -1;
              } else {
                  throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout points to a View that doesn't know how to get its baseline.");
              }
          } else {
              throw new RuntimeException("mBaselineAlignedChildIndex of LinearLayout set to an index that is out of bounds.");
          }
      }
  
      public int getBaselineAlignedChildIndex() {
          return this.mBaselineAlignedChildIndex;
      }
  
      /* access modifiers changed from: package-private */
      public int getChildrenSkipCount(View child, int index) {
          return 0;
      }
  
      public Drawable getDividerDrawable() {
          return this.mDivider;
      }
  
      public int getDividerPadding() {
          return this.mDividerPadding;
      }
  
      public int getDividerWidth() {
          return this.mDividerWidth;
      }
  
      public int getGravity() {
          return this.mGravity;
      }
  
      /* access modifiers changed from: package-private */
      public int getLocationOffset(View child) {
          return 0;
      }
  
      /* access modifiers changed from: package-private */
      public int getNextLocationOffset(View child) {
          return 0;
      }
  
      public int getOrientation() {
          return this.mOrientation;
      }
  
      public int getShowDividers() {
          return this.mShowDividers;
      }
  
      /* access modifiers changed from: package-private */
      public View getVirtualChildAt(int index) {
          return getChildAt(index);
      }
  
      /* access modifiers changed from: package-private */
      public int getVirtualChildCount() {
          return getChildCount();
      }
  
      public float getWeightSum() {
          return this.mWeightSum;
      }
  
      /* access modifiers changed from: protected */
      public boolean hasDividerBeforeChildAt(int childIndex) {
          if (childIndex == 0) {
              return (this.mShowDividers & 1) != 0;
          }
          if (childIndex == getChildCount()) {
              return (this.mShowDividers & 4) != 0;
          }
          if ((this.mShowDividers & 2) == 0) {
              return false;
          }
          for (int i = childIndex - 1; i >= 0; i--) {
              if (getChildAt(i).getVisibility() != 8) {
                  return true;
              }
          }
          return false;
      }
  
      public boolean isBaselineAligned() {
          return this.mBaselineAligned;
      }
  
      public boolean isMeasureWithLargestChildEnabled() {
          return this.mUseLargestChild;
      }
  
      /* access modifiers changed from: package-private */
      /* JADX WARNING: Removed duplicated region for block: B:25:0x00c2  */
      /* JADX WARNING: Removed duplicated region for block: B:26:0x00c6  */
      /* JADX WARNING: Removed duplicated region for block: B:29:0x00cd  */
      /* JADX WARNING: Removed duplicated region for block: B:30:0x00d2  */
      /* JADX WARNING: Removed duplicated region for block: B:34:0x00eb  */
      /* JADX WARNING: Removed duplicated region for block: B:38:0x00fb  */
      /* JADX WARNING: Removed duplicated region for block: B:41:0x010f  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public void layoutHorizontal(int r34, int r35, int r36, int r37) {
          /*
              r33 = this;
              r6 = r33
              boolean r7 = androidx.appcompat.widget.ViewUtils.isLayoutRtl(r33)
              int r8 = r33.getPaddingTop()
              int r9 = r37 - r35
              int r0 = r33.getPaddingBottom()
              int r10 = r9 - r0
              int r0 = r9 - r8
              int r1 = r33.getPaddingBottom()
              int r11 = r0 - r1
              int r12 = r33.getVirtualChildCount()
              int r0 = r6.mGravity
              r1 = 8388615(0x800007, float:1.1754953E-38)
              r13 = r0 & r1
              r14 = r0 & 112(0x70, float:1.57E-43)
              boolean r15 = r6.mBaselineAligned
              int[] r5 = r6.mMaxAscent
              int[] r4 = r6.mMaxDescent
              int r3 = androidx.core.view.ViewCompat.getLayoutDirection(r33)
              int r0 = androidx.core.view.GravityCompat.getAbsoluteGravity(r13, r3)
              r16 = 2
              switch(r0) {
                  case 1: goto L_0x004b;
                  case 5: goto L_0x003f;
                  default: goto L_0x003a;
              }
          L_0x003a:
              int r0 = r33.getPaddingLeft()
              goto L_0x0058
          L_0x003f:
              int r0 = r33.getPaddingLeft()
              int r0 = r0 + r36
              int r0 = r0 - r34
              int r1 = r6.mTotalLength
              int r0 = r0 - r1
              goto L_0x0058
          L_0x004b:
              int r0 = r33.getPaddingLeft()
              int r1 = r36 - r34
              int r2 = r6.mTotalLength
              int r1 = r1 - r2
              int r1 = r1 / 2
              int r0 = r0 + r1
          L_0x0058:
              r1 = 0
              r2 = 1
              if (r7 == 0) goto L_0x0064
              int r1 = r12 + -1
              r2 = -1
              r17 = r1
              r18 = r2
              goto L_0x0068
          L_0x0064:
              r17 = r1
              r18 = r2
          L_0x0068:
              r1 = 0
              r2 = r1
          L_0x006a:
              if (r2 >= r12) goto L_0x0164
              int r1 = r18 * r2
              int r1 = r17 + r1
              r19 = r7
              android.view.View r7 = r6.getVirtualChildAt(r1)
              r20 = 1
              if (r7 != 0) goto L_0x008e
              int r21 = r6.measureNullChild(r1)
              int r0 = r0 + r21
              r22 = r3
              r31 = r4
              r32 = r5
              r29 = r8
              r26 = r9
              r28 = r10
              goto L_0x0152
          L_0x008e:
              r21 = r2
              int r2 = r7.getVisibility()
              r22 = r3
              r3 = 8
              if (r2 == r3) goto L_0x0145
              int r23 = r7.getMeasuredWidth()
              int r24 = r7.getMeasuredHeight()
              r2 = -1
              android.view.ViewGroup$LayoutParams r3 = r7.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r3 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r3
              r25 = r2
              r2 = -1
              if (r15 == 0) goto L_0x00ba
              r26 = r9
              int r9 = r3.height
              if (r9 == r2) goto L_0x00bc
              int r9 = r7.getBaseline()
              goto L_0x00be
          L_0x00ba:
              r26 = r9
          L_0x00bc:
              r9 = r25
          L_0x00be:
              int r2 = r3.gravity
              if (r2 >= 0) goto L_0x00c6
              r2 = r14
              r27 = r2
              goto L_0x00c8
          L_0x00c6:
              r27 = r2
          L_0x00c8:
              r2 = r27 & 112(0x70, float:1.57E-43)
              switch(r2) {
                  case 16: goto L_0x00fb;
                  case 48: goto L_0x00eb;
                  case 80: goto L_0x00d2;
                  default: goto L_0x00cd;
              }
          L_0x00cd:
              r28 = r10
              r2 = r8
              r10 = r2
              goto L_0x0109
          L_0x00d2:
              int r2 = r10 - r24
              r28 = r10
              int r10 = r3.bottomMargin
              int r2 = r2 - r10
              r10 = -1
              if (r9 == r10) goto L_0x00e9
              int r10 = r7.getMeasuredHeight()
              int r10 = r10 - r9
              r25 = r4[r16]
              int r25 = r25 - r10
              int r2 = r2 - r25
              r10 = r2
              goto L_0x0109
          L_0x00e9:
              r10 = r2
              goto L_0x0109
          L_0x00eb:
              r28 = r10
              int r2 = r3.topMargin
              int r2 = r2 + r8
              r10 = -1
              if (r9 == r10) goto L_0x00f9
              r10 = r5[r20]
              int r10 = r10 - r9
              int r2 = r2 + r10
              r10 = r2
              goto L_0x0109
          L_0x00f9:
              r10 = r2
              goto L_0x0109
          L_0x00fb:
              r28 = r10
              int r2 = r11 - r24
              int r2 = r2 / 2
              int r2 = r2 + r8
              int r10 = r3.topMargin
              int r2 = r2 + r10
              int r10 = r3.bottomMargin
              int r2 = r2 - r10
              r10 = r2
          L_0x0109:
              boolean r2 = r6.hasDividerBeforeChildAt(r1)
              if (r2 == 0) goto L_0x0112
              int r2 = r6.mDividerWidth
              int r0 = r0 + r2
          L_0x0112:
              int r2 = r3.leftMargin
              int r25 = r0 + r2
              int r0 = r6.getLocationOffset(r7)
              int r2 = r25 + r0
              r0 = r33
              r29 = r8
              r8 = r1
              r1 = r7
              r30 = r9
              r9 = r3
              r3 = r10
              r31 = r4
              r4 = r23
              r32 = r5
              r5 = r24
              r0.setChildFrame(r1, r2, r3, r4, r5)
              int r0 = r9.rightMargin
              int r0 = r23 + r0
              int r1 = r6.getNextLocationOffset(r7)
              int r0 = r0 + r1
              int r25 = r25 + r0
              int r0 = r6.getChildrenSkipCount(r7, r8)
              int r2 = r21 + r0
              r0 = r25
              goto L_0x0152
          L_0x0145:
              r31 = r4
              r32 = r5
              r29 = r8
              r26 = r9
              r28 = r10
              r8 = r1
              r2 = r21
          L_0x0152:
              int r2 = r2 + 1
              r7 = r19
              r3 = r22
              r9 = r26
              r10 = r28
              r8 = r29
              r4 = r31
              r5 = r32
              goto L_0x006a
          L_0x0164:
              return
          */
          throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.layoutHorizontal(int, int, int, int):void");
      }
  
      /* access modifiers changed from: package-private */
      public void layoutVertical(int left, int top, int right, int bottom) {
          int i;
          int i2;
          int i3;
          int paddingLeft = getPaddingLeft();
          int i4 = right - left;
          int paddingRight = i4 - getPaddingRight();
          int paddingRight2 = (i4 - paddingLeft) - getPaddingRight();
          int virtualChildCount = getVirtualChildCount();
          int i5 = this.mGravity;
          int i6 = i5 & 112;
          int i7 = i5 & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK;
          switch (i6) {
              case 16:
                  i = getPaddingTop() + (((bottom - top) - this.mTotalLength) / 2);
                  break;
              case 80:
                  i = ((getPaddingTop() + bottom) - top) - this.mTotalLength;
                  break;
              default:
                  i = getPaddingTop();
                  break;
          }
          int i8 = 0;
          while (i8 < virtualChildCount) {
              View virtualChildAt = getVirtualChildAt(i8);
              if (virtualChildAt == null) {
                  i += measureNullChild(i8);
                  i2 = paddingLeft;
              } else if (virtualChildAt.getVisibility() != 8) {
                  int measuredWidth = virtualChildAt.getMeasuredWidth();
                  int measuredHeight = virtualChildAt.getMeasuredHeight();
                  LayoutParams layoutParams = (LayoutParams) virtualChildAt.getLayoutParams();
                  int i9 = layoutParams.gravity;
                  int i10 = i9 < 0 ? i7 : i9;
                  int layoutDirection = ViewCompat.getLayoutDirection(this);
                  switch (GravityCompat.getAbsoluteGravity(i10, layoutDirection) & 7) {
                      case 1:
                          i3 = ((((paddingRight2 - measuredWidth) / 2) + paddingLeft) + layoutParams.leftMargin) - layoutParams.rightMargin;
                          break;
                      case 5:
                          i3 = (paddingRight - measuredWidth) - layoutParams.rightMargin;
                          break;
                      default:
                          i3 = layoutParams.leftMargin + paddingLeft;
                          break;
                  }
                  if (hasDividerBeforeChildAt(i8)) {
                      i += this.mDividerHeight;
                  }
                  int i11 = i + layoutParams.topMargin;
                  int i12 = layoutDirection;
                  int i13 = i10;
                  i2 = paddingLeft;
                  setChildFrame(virtualChildAt, i3, i11 + getLocationOffset(virtualChildAt), measuredWidth, measuredHeight);
                  int nextLocationOffset = i11 + measuredHeight + layoutParams.bottomMargin + getNextLocationOffset(virtualChildAt);
                  i8 += getChildrenSkipCount(virtualChildAt, i8);
                  i = nextLocationOffset;
              } else {
                  i2 = paddingLeft;
              }
              i8++;
              paddingLeft = i2;
          }
      }
  
      /* access modifiers changed from: package-private */
      public void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight) {
          measureChildWithMargins(child, widthMeasureSpec, totalWidth, heightMeasureSpec, totalHeight);
      }
  
      /* access modifiers changed from: package-private */
      /* JADX WARNING: Removed duplicated region for block: B:200:0x0557  */
      /* JADX WARNING: Removed duplicated region for block: B:208:0x058f  */
      /* JADX WARNING: Removed duplicated region for block: B:229:0x0646  */
      /* JADX WARNING: Removed duplicated region for block: B:230:0x064e  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public void measureHorizontal(int r49, int r50) {
          /*
              r48 = this;
              r7 = r48
              r8 = r49
              r9 = r50
              r10 = 0
              r7.mTotalLength = r10
              r0 = 0
              r1 = 0
              r2 = 0
              r3 = 0
              r4 = 1
              r5 = 0
              int r11 = r48.getVirtualChildCount()
              int r12 = android.view.View.MeasureSpec.getMode(r49)
              int r13 = android.view.View.MeasureSpec.getMode(r50)
              r6 = 0
              r14 = 0
              int[] r15 = r7.mMaxAscent
              if (r15 == 0) goto L_0x0025
              int[] r15 = r7.mMaxDescent
              if (r15 != 0) goto L_0x002e
          L_0x0025:
              r15 = 4
              int[] r10 = new int[r15]
              r7.mMaxAscent = r10
              int[] r10 = new int[r15]
              r7.mMaxDescent = r10
          L_0x002e:
              int[] r10 = r7.mMaxAscent
              int[] r15 = r7.mMaxDescent
              r17 = 3
              r18 = r6
              r6 = -1
              r10[r17] = r6
              r19 = 2
              r10[r19] = r6
              r20 = 1
              r10[r20] = r6
              r16 = 0
              r10[r16] = r6
              r15[r17] = r6
              r15[r19] = r6
              r15[r20] = r6
              r15[r16] = r6
              boolean r6 = r7.mBaselineAligned
              r22 = r14
              boolean r14 = r7.mUseLargestChild
              r9 = 1073741824(0x40000000, float:2.0)
              if (r12 != r9) goto L_0x005a
              r23 = r20
              goto L_0x005c
          L_0x005a:
              r23 = 0
          L_0x005c:
              r24 = 0
              r25 = 0
              r9 = r25
              r45 = r5
              r5 = r0
              r0 = r45
              r46 = r4
              r4 = r1
              r1 = r24
              r24 = r22
              r22 = r18
              r18 = r46
              r47 = r3
              r3 = r2
              r2 = r47
          L_0x0077:
              r28 = 0
              if (r9 >= r11) goto L_0x0261
              android.view.View r8 = r7.getVirtualChildAt(r9)
              if (r8 != 0) goto L_0x0097
              r30 = r1
              int r1 = r7.mTotalLength
              int r26 = r7.measureNullChild(r9)
              int r1 = r1 + r26
              r7.mTotalLength = r1
              r21 = r6
              r31 = r11
              r1 = r30
              r30 = r12
              goto L_0x0255
          L_0x0097:
              r30 = r1
              int r1 = r8.getVisibility()
              r31 = r2
              r2 = 8
              if (r1 != r2) goto L_0x00b4
              int r1 = r7.getChildrenSkipCount(r8, r9)
              int r9 = r9 + r1
              r21 = r6
              r1 = r30
              r2 = r31
              r31 = r11
              r30 = r12
              goto L_0x0255
          L_0x00b4:
              boolean r1 = r7.hasDividerBeforeChildAt(r9)
              if (r1 == 0) goto L_0x00c1
              int r1 = r7.mTotalLength
              int r2 = r7.mDividerWidth
              int r1 = r1 + r2
              r7.mTotalLength = r1
          L_0x00c1:
              android.view.ViewGroup$LayoutParams r1 = r8.getLayoutParams()
              r2 = r1
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r2 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r2
              float r1 = r2.weight
              float r29 = r0 + r1
              r0 = 1073741824(0x40000000, float:2.0)
              if (r12 != r0) goto L_0x012c
              int r0 = r2.width
              if (r0 != 0) goto L_0x012c
              float r0 = r2.weight
              int r0 = (r0 > r28 ? 1 : (r0 == r28 ? 0 : -1))
              if (r0 <= 0) goto L_0x012c
              if (r23 == 0) goto L_0x00ea
              int r0 = r7.mTotalLength
              int r1 = r2.leftMargin
              r32 = r3
              int r3 = r2.rightMargin
              int r1 = r1 + r3
              int r0 = r0 + r1
              r7.mTotalLength = r0
              goto L_0x00fa
          L_0x00ea:
              r32 = r3
              int r0 = r7.mTotalLength
              int r1 = r2.leftMargin
              int r1 = r1 + r0
              int r3 = r2.rightMargin
              int r1 = r1 + r3
              int r1 = java.lang.Math.max(r0, r1)
              r7.mTotalLength = r1
          L_0x00fa:
              if (r6 == 0) goto L_0x0117
              r0 = 0
              int r1 = android.view.View.MeasureSpec.makeMeasureSpec(r0, r0)
              r8.measure(r1, r1)
              r1 = r2
              r40 = r4
              r21 = r6
              r3 = r30
              r36 = r31
              r38 = r32
              r31 = r11
              r30 = r12
              r11 = -1
              r12 = r5
              goto L_0x01b6
          L_0x0117:
              r24 = 1
              r1 = r2
              r40 = r4
              r21 = r6
              r3 = r30
              r36 = r31
              r38 = r32
              r31 = r11
              r30 = r12
              r11 = -1
              r12 = r5
              goto L_0x01b6
          L_0x012c:
              r32 = r3
              r0 = -2147483648(0xffffffff80000000, float:-0.0)
              int r1 = r2.width
              if (r1 != 0) goto L_0x0140
              float r1 = r2.weight
              int r1 = (r1 > r28 ? 1 : (r1 == r28 ? 0 : -1))
              if (r1 <= 0) goto L_0x0140
              r0 = 0
              r1 = -2
              r2.width = r1
              r3 = r0
              goto L_0x0141
          L_0x0140:
              r3 = r0
          L_0x0141:
              int r0 = (r29 > r28 ? 1 : (r29 == r28 ? 0 : -1))
              if (r0 != 0) goto L_0x014b
              int r0 = r7.mTotalLength
              r33 = r0
              goto L_0x014d
          L_0x014b:
              r33 = 0
          L_0x014d:
              r34 = 0
              r0 = r48
              r35 = r30
              r1 = r8
              r37 = r2
              r36 = r31
              r2 = r9
              r39 = r3
              r38 = r32
              r3 = r49
              r40 = r4
              r4 = r33
              r30 = r12
              r12 = r5
              r5 = r50
              r21 = r6
              r31 = r11
              r11 = -1
              r6 = r34
              r0.measureChildBeforeLayout(r1, r2, r3, r4, r5, r6)
              r0 = r39
              r1 = -2147483648(0xffffffff80000000, float:-0.0)
              if (r0 == r1) goto L_0x017d
              r1 = r37
              r1.width = r0
              goto L_0x017f
          L_0x017d:
              r1 = r37
          L_0x017f:
              int r2 = r8.getMeasuredWidth()
              if (r23 == 0) goto L_0x0196
              int r3 = r7.mTotalLength
              int r4 = r1.leftMargin
              int r4 = r4 + r2
              int r5 = r1.rightMargin
              int r4 = r4 + r5
              int r5 = r7.getNextLocationOffset(r8)
              int r4 = r4 + r5
              int r3 = r3 + r4
              r7.mTotalLength = r3
              goto L_0x01ab
          L_0x0196:
              int r3 = r7.mTotalLength
              int r4 = r3 + r2
              int r5 = r1.leftMargin
              int r4 = r4 + r5
              int r5 = r1.rightMargin
              int r4 = r4 + r5
              int r5 = r7.getNextLocationOffset(r8)
              int r4 = r4 + r5
              int r4 = java.lang.Math.max(r3, r4)
              r7.mTotalLength = r4
          L_0x01ab:
              if (r14 == 0) goto L_0x01b4
              r3 = r35
              int r3 = java.lang.Math.max(r2, r3)
              goto L_0x01b6
          L_0x01b4:
              r3 = r35
          L_0x01b6:
              r0 = 0
              r2 = 1073741824(0x40000000, float:2.0)
              if (r13 == r2) goto L_0x01c2
              int r2 = r1.height
              if (r2 != r11) goto L_0x01c2
              r22 = 1
              r0 = 1
          L_0x01c2:
              int r2 = r1.topMargin
              int r4 = r1.bottomMargin
              int r2 = r2 + r4
              int r4 = r8.getMeasuredHeight()
              int r4 = r4 + r2
              int r5 = r8.getMeasuredState()
              r6 = r40
              int r5 = android.view.View.combineMeasuredStates(r6, r5)
              if (r21 == 0) goto L_0x020d
              int r6 = r8.getBaseline()
              if (r6 == r11) goto L_0x0208
              int r11 = r1.gravity
              if (r11 >= 0) goto L_0x01e5
              int r11 = r7.mGravity
              goto L_0x01e7
          L_0x01e5:
              int r11 = r1.gravity
          L_0x01e7:
              r11 = r11 & 112(0x70, float:1.57E-43)
              int r26 = r11 >> 4
              r27 = -2
              r26 = r26 & -2
              int r26 = r26 >> 1
              r27 = r2
              r2 = r10[r26]
              int r2 = java.lang.Math.max(r2, r6)
              r10[r26] = r2
              r2 = r15[r26]
              r33 = r3
              int r3 = r4 - r6
              int r2 = java.lang.Math.max(r2, r3)
              r15[r26] = r2
              goto L_0x0211
          L_0x0208:
              r27 = r2
              r33 = r3
              goto L_0x0211
          L_0x020d:
              r27 = r2
              r33 = r3
          L_0x0211:
              int r2 = java.lang.Math.max(r12, r4)
              if (r18 == 0) goto L_0x021f
              int r3 = r1.height
              r6 = -1
              if (r3 != r6) goto L_0x021f
              r3 = r20
              goto L_0x0220
          L_0x021f:
              r3 = 0
          L_0x0220:
              float r6 = r1.weight
              int r6 = (r6 > r28 ? 1 : (r6 == r28 ? 0 : -1))
              if (r6 <= 0) goto L_0x0234
              if (r0 == 0) goto L_0x022c
              r6 = r27
              goto L_0x022d
          L_0x022c:
              r6 = r4
          L_0x022d:
              r11 = r36
              int r6 = java.lang.Math.max(r11, r6)
              goto L_0x0245
          L_0x0234:
              r11 = r36
              if (r0 == 0) goto L_0x023b
              r6 = r27
              goto L_0x023c
          L_0x023b:
              r6 = r4
          L_0x023c:
              r12 = r38
              int r6 = java.lang.Math.max(r12, r6)
              r38 = r6
              r6 = r11
          L_0x0245:
              int r11 = r7.getChildrenSkipCount(r8, r9)
              int r9 = r9 + r11
              r18 = r3
              r4 = r5
              r0 = r29
              r1 = r33
              r3 = r38
              r5 = r2
              r2 = r6
          L_0x0255:
              int r9 = r9 + 1
              r8 = r49
              r6 = r21
              r12 = r30
              r11 = r31
              goto L_0x0077
          L_0x0261:
              r21 = r6
              r31 = r11
              r30 = r12
              r11 = r2
              r2 = r3
              r6 = r4
              r12 = r5
              r3 = r1
              int r1 = r7.mTotalLength
              if (r1 <= 0) goto L_0x0280
              r1 = r31
              boolean r4 = r7.hasDividerBeforeChildAt(r1)
              if (r4 == 0) goto L_0x0282
              int r4 = r7.mTotalLength
              int r5 = r7.mDividerWidth
              int r4 = r4 + r5
              r7.mTotalLength = r4
              goto L_0x0282
          L_0x0280:
              r1 = r31
          L_0x0282:
              r4 = r10[r20]
              r5 = -1
              if (r4 != r5) goto L_0x0299
              r4 = 0
              r8 = r10[r4]
              if (r8 != r5) goto L_0x0299
              r4 = r10[r19]
              if (r4 != r5) goto L_0x0299
              r4 = r10[r17]
              if (r4 == r5) goto L_0x0295
              goto L_0x0299
          L_0x0295:
              r40 = r6
              r5 = r12
              goto L_0x02cc
          L_0x0299:
              r4 = r10[r17]
              r5 = 0
              r8 = r10[r5]
              r9 = r10[r20]
              r5 = r10[r19]
              int r5 = java.lang.Math.max(r9, r5)
              int r5 = java.lang.Math.max(r8, r5)
              int r4 = java.lang.Math.max(r4, r5)
              r5 = r15[r17]
              r8 = 0
              r9 = r15[r8]
              r8 = r15[r20]
              r40 = r6
              r6 = r15[r19]
              int r6 = java.lang.Math.max(r8, r6)
              int r6 = java.lang.Math.max(r9, r6)
              int r5 = java.lang.Math.max(r5, r6)
              int r6 = r4 + r5
              int r6 = java.lang.Math.max(r12, r6)
              r5 = r6
          L_0x02cc:
              if (r14 == 0) goto L_0x0348
              r4 = r30
              r6 = -2147483648(0xffffffff80000000, float:-0.0)
              if (r4 == r6) goto L_0x02db
              if (r4 != 0) goto L_0x02d7
              goto L_0x02db
          L_0x02d7:
              r26 = r5
              goto L_0x034c
          L_0x02db:
              r6 = 0
              r7.mTotalLength = r6
              r6 = 0
          L_0x02df:
              if (r6 >= r1) goto L_0x0343
              android.view.View r8 = r7.getVirtualChildAt(r6)
              if (r8 != 0) goto L_0x02f5
              int r9 = r7.mTotalLength
              int r12 = r7.measureNullChild(r6)
              int r9 = r9 + r12
              r7.mTotalLength = r9
              r26 = r5
              r30 = r6
              goto L_0x033c
          L_0x02f5:
              int r9 = r8.getVisibility()
              r12 = 8
              if (r9 != r12) goto L_0x0305
              int r9 = r7.getChildrenSkipCount(r8, r6)
              int r6 = r6 + r9
              r26 = r5
              goto L_0x033e
          L_0x0305:
              android.view.ViewGroup$LayoutParams r9 = r8.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r9 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r9
              if (r23 == 0) goto L_0x0323
              int r12 = r7.mTotalLength
              r26 = r5
              int r5 = r9.leftMargin
              int r5 = r5 + r3
              r30 = r6
              int r6 = r9.rightMargin
              int r5 = r5 + r6
              int r6 = r7.getNextLocationOffset(r8)
              int r5 = r5 + r6
              int r12 = r12 + r5
              r7.mTotalLength = r12
              goto L_0x033c
          L_0x0323:
              r26 = r5
              r30 = r6
              int r5 = r7.mTotalLength
              int r6 = r5 + r3
              int r12 = r9.leftMargin
              int r6 = r6 + r12
              int r12 = r9.rightMargin
              int r6 = r6 + r12
              int r12 = r7.getNextLocationOffset(r8)
              int r6 = r6 + r12
              int r6 = java.lang.Math.max(r5, r6)
              r7.mTotalLength = r6
          L_0x033c:
              r6 = r30
          L_0x033e:
              int r6 = r6 + 1
              r5 = r26
              goto L_0x02df
          L_0x0343:
              r26 = r5
              r30 = r6
              goto L_0x034c
          L_0x0348:
              r26 = r5
              r4 = r30
          L_0x034c:
              int r5 = r7.mTotalLength
              int r6 = r48.getPaddingLeft()
              int r8 = r48.getPaddingRight()
              int r6 = r6 + r8
              int r5 = r5 + r6
              r7.mTotalLength = r5
              int r5 = r7.mTotalLength
              int r6 = r48.getSuggestedMinimumWidth()
              int r5 = java.lang.Math.max(r5, r6)
              r6 = r49
              r8 = 0
              int r9 = android.view.View.resolveSizeAndState(r5, r6, r8)
              r8 = 16777215(0xffffff, float:2.3509886E-38)
              r5 = r9 & r8
              int r8 = r7.mTotalLength
              int r8 = r5 - r8
              if (r24 != 0) goto L_0x0424
              if (r8 == 0) goto L_0x0387
              int r30 = (r0 > r28 ? 1 : (r0 == r28 ? 0 : -1))
              if (r30 <= 0) goto L_0x0387
              r31 = r0
              r35 = r3
              r33 = r5
              r3 = r2
              r2 = 1073741824(0x40000000, float:2.0)
              goto L_0x042d
          L_0x0387:
              int r2 = java.lang.Math.max(r2, r11)
              if (r14 == 0) goto L_0x0404
              r12 = 1073741824(0x40000000, float:2.0)
              if (r4 == r12) goto L_0x03fa
              r12 = 0
          L_0x0392:
              if (r12 >= r1) goto L_0x03ef
              r31 = r0
              android.view.View r0 = r7.getVirtualChildAt(r12)
              if (r0 == 0) goto L_0x03dc
              r16 = r2
              int r2 = r0.getVisibility()
              r33 = r5
              r5 = 8
              if (r2 != r5) goto L_0x03ad
              r35 = r3
              r2 = 1073741824(0x40000000, float:2.0)
              goto L_0x03e4
          L_0x03ad:
              android.view.ViewGroup$LayoutParams r2 = r0.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r2 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r2
              float r5 = r2.weight
              int r17 = (r5 > r28 ? 1 : (r5 == r28 ? 0 : -1))
              if (r17 <= 0) goto L_0x03d3
              r17 = r2
              r19 = r5
              r2 = 1073741824(0x40000000, float:2.0)
              int r5 = android.view.View.MeasureSpec.makeMeasureSpec(r3, r2)
              r35 = r3
              int r3 = r0.getMeasuredHeight()
              int r3 = android.view.View.MeasureSpec.makeMeasureSpec(r3, r2)
              r0.measure(r5, r3)
              goto L_0x03e4
          L_0x03d3:
              r17 = r2
              r35 = r3
              r19 = r5
              r2 = 1073741824(0x40000000, float:2.0)
              goto L_0x03e4
          L_0x03dc:
              r16 = r2
              r35 = r3
              r33 = r5
              r2 = 1073741824(0x40000000, float:2.0)
          L_0x03e4:
              int r12 = r12 + 1
              r2 = r16
              r0 = r31
              r5 = r33
              r3 = r35
              goto L_0x0392
          L_0x03ef:
              r31 = r0
              r16 = r2
              r35 = r3
              r33 = r5
              r2 = 1073741824(0x40000000, float:2.0)
              goto L_0x040e
          L_0x03fa:
              r31 = r0
              r16 = r2
              r35 = r3
              r33 = r5
              r2 = r12
              goto L_0x040e
          L_0x0404:
              r31 = r0
              r16 = r2
              r35 = r3
              r33 = r5
              r2 = 1073741824(0x40000000, float:2.0)
          L_0x040e:
              r12 = r50
              r34 = r1
              r25 = r9
              r36 = r11
              r2 = r16
              r5 = r26
              r26 = r14
              r45 = r40
              r40 = r4
              r4 = r45
              goto L_0x061d
          L_0x0424:
              r31 = r0
              r35 = r3
              r33 = r5
              r3 = r2
              r2 = 1073741824(0x40000000, float:2.0)
          L_0x042d:
              float r0 = r7.mWeightSum
              int r5 = (r0 > r28 ? 1 : (r0 == r28 ? 0 : -1))
              if (r5 <= 0) goto L_0x0434
              goto L_0x0436
          L_0x0434:
              r0 = r31
          L_0x0436:
              r5 = -1
              r10[r17] = r5
              r10[r19] = r5
              r10[r20] = r5
              r12 = 0
              r10[r12] = r5
              r15[r17] = r5
              r15[r19] = r5
              r15[r20] = r5
              r15[r12] = r5
              r5 = -1
              r7.mTotalLength = r12
              r12 = 0
              r2 = r12
              r12 = r8
              r8 = r5
              r5 = r40
          L_0x0451:
              if (r2 >= r1) goto L_0x05ba
              r36 = r11
              android.view.View r11 = r7.getVirtualChildAt(r2)
              if (r11 == 0) goto L_0x059c
              r26 = r14
              int r14 = r11.getVisibility()
              r34 = r1
              r1 = 8
              if (r14 != r1) goto L_0x0472
              r40 = r4
              r25 = r9
              r1 = r12
              r27 = -2
              r12 = r50
              goto L_0x05a9
          L_0x0472:
              android.view.ViewGroup$LayoutParams r14 = r11.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r14 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r14
              float r1 = r14.weight
              int r37 = (r1 > r28 ? 1 : (r1 == r28 ? 0 : -1))
              if (r37 <= 0) goto L_0x04e5
              float r6 = (float) r12
              float r6 = r6 * r1
              float r6 = r6 / r0
              int r6 = (int) r6
              float r0 = r0 - r1
              int r12 = r12 - r6
              int r37 = r48.getPaddingTop()
              int r38 = r48.getPaddingBottom()
              int r37 = r37 + r38
              r38 = r0
              int r0 = r14.topMargin
              int r37 = r37 + r0
              int r0 = r14.bottomMargin
              int r0 = r37 + r0
              r37 = r1
              int r1 = r14.height
              r25 = r9
              r39 = r12
              r9 = 1073741824(0x40000000, float:2.0)
              r12 = r50
              int r0 = getChildMeasureSpec(r12, r0, r1)
              int r1 = r14.width
              if (r1 != 0) goto L_0x04c1
              if (r4 == r9) goto L_0x04b1
              goto L_0x04c1
          L_0x04b1:
              if (r6 <= 0) goto L_0x04b6
              r1 = r6
              goto L_0x04b7
          L_0x04b6:
              r1 = 0
          L_0x04b7:
              int r1 = android.view.View.MeasureSpec.makeMeasureSpec(r1, r9)
              r11.measure(r1, r0)
              r40 = r4
              goto L_0x04d4
          L_0x04c1:
              int r1 = r11.getMeasuredWidth()
              int r1 = r1 + r6
              if (r1 >= 0) goto L_0x04c9
              r1 = 0
          L_0x04c9:
              r40 = r4
              int r4 = android.view.View.MeasureSpec.makeMeasureSpec(r1, r9)
              r11.measure(r4, r0)
          L_0x04d4:
              int r1 = r11.getMeasuredState()
              r4 = -16777216(0xffffffffff000000, float:-1.7014118E38)
              r1 = r1 & r4
              int r5 = android.view.View.combineMeasuredStates(r5, r1)
              r0 = r38
              r1 = r39
              goto L_0x04f0
          L_0x04e5:
              r37 = r1
              r40 = r4
              r25 = r9
              r1 = r12
              r9 = 1073741824(0x40000000, float:2.0)
              r12 = r50
          L_0x04f0:
              if (r23 == 0) goto L_0x0507
              int r4 = r7.mTotalLength
              int r6 = r11.getMeasuredWidth()
              int r9 = r14.leftMargin
              int r6 = r6 + r9
              int r9 = r14.rightMargin
              int r6 = r6 + r9
              int r9 = r7.getNextLocationOffset(r11)
              int r6 = r6 + r9
              int r4 = r4 + r6
              r7.mTotalLength = r4
              goto L_0x051f
          L_0x0507:
              int r4 = r7.mTotalLength
              int r6 = r11.getMeasuredWidth()
              int r6 = r6 + r4
              int r9 = r14.leftMargin
              int r6 = r6 + r9
              int r9 = r14.rightMargin
              int r6 = r6 + r9
              int r9 = r7.getNextLocationOffset(r11)
              int r6 = r6 + r9
              int r6 = java.lang.Math.max(r4, r6)
              r7.mTotalLength = r6
          L_0x051f:
              r4 = 1073741824(0x40000000, float:2.0)
              if (r13 == r4) goto L_0x052b
              int r4 = r14.height
              r6 = -1
              if (r4 != r6) goto L_0x052b
              r4 = r20
              goto L_0x052c
          L_0x052b:
              r4 = 0
          L_0x052c:
              int r6 = r14.topMargin
              int r9 = r14.bottomMargin
              int r6 = r6 + r9
              int r9 = r11.getMeasuredHeight()
              int r9 = r9 + r6
              int r8 = java.lang.Math.max(r8, r9)
              r39 = r0
              if (r4 == 0) goto L_0x0541
              r0 = r6
              goto L_0x0542
          L_0x0541:
              r0 = r9
          L_0x0542:
              int r0 = java.lang.Math.max(r3, r0)
              if (r18 == 0) goto L_0x0552
              int r3 = r14.height
              r41 = r0
              r0 = -1
              if (r3 != r0) goto L_0x0554
              r0 = r20
              goto L_0x0555
          L_0x0552:
              r41 = r0
          L_0x0554:
              r0 = 0
          L_0x0555:
              if (r21 == 0) goto L_0x058f
              int r3 = r11.getBaseline()
              r18 = r0
              r0 = -1
              if (r3 == r0) goto L_0x058a
              int r0 = r14.gravity
              if (r0 >= 0) goto L_0x0567
              int r0 = r7.mGravity
              goto L_0x0569
          L_0x0567:
              int r0 = r14.gravity
          L_0x0569:
              r0 = r0 & 112(0x70, float:1.57E-43)
              int r42 = r0 >> 4
              r27 = -2
              r42 = r42 & -2
              int r42 = r42 >> 1
              r43 = r0
              r0 = r10[r42]
              int r0 = java.lang.Math.max(r0, r3)
              r10[r42] = r0
              r0 = r15[r42]
              r44 = r1
              int r1 = r9 - r3
              int r0 = java.lang.Math.max(r0, r1)
              r15[r42] = r0
              goto L_0x0595
          L_0x058a:
              r44 = r1
              r27 = -2
              goto L_0x0595
          L_0x058f:
              r18 = r0
              r44 = r1
              r27 = -2
          L_0x0595:
              r0 = r39
              r3 = r41
              r1 = r44
              goto L_0x05a9
          L_0x059c:
              r34 = r1
              r40 = r4
              r25 = r9
              r1 = r12
              r26 = r14
              r27 = -2
              r12 = r50
          L_0x05a9:
              int r2 = r2 + 1
              r6 = r49
              r12 = r1
              r9 = r25
              r14 = r26
              r1 = r34
              r11 = r36
              r4 = r40
              goto L_0x0451
          L_0x05ba:
              r34 = r1
              r40 = r4
              r25 = r9
              r36 = r11
              r1 = r12
              r26 = r14
              r12 = r50
              int r2 = r7.mTotalLength
              int r4 = r48.getPaddingLeft()
              int r6 = r48.getPaddingRight()
              int r4 = r4 + r6
              int r2 = r2 + r4
              r7.mTotalLength = r2
              r2 = r10[r20]
              r4 = -1
              if (r2 != r4) goto L_0x05ea
              r2 = 0
              r6 = r10[r2]
              if (r6 != r4) goto L_0x05ea
              r2 = r10[r19]
              if (r2 != r4) goto L_0x05ea
              r2 = r10[r17]
              if (r2 == r4) goto L_0x05e8
              goto L_0x05ea
          L_0x05e8:
              r6 = r8
              goto L_0x0619
          L_0x05ea:
              r2 = r10[r17]
              r4 = 0
              r6 = r10[r4]
              r9 = r10[r20]
              r11 = r10[r19]
              int r9 = java.lang.Math.max(r9, r11)
              int r6 = java.lang.Math.max(r6, r9)
              int r2 = java.lang.Math.max(r2, r6)
              r6 = r15[r17]
              r4 = r15[r4]
              r9 = r15[r20]
              r11 = r15[r19]
              int r9 = java.lang.Math.max(r9, r11)
              int r4 = java.lang.Math.max(r4, r9)
              int r4 = java.lang.Math.max(r6, r4)
              int r6 = r2 + r4
              int r6 = java.lang.Math.max(r8, r6)
          L_0x0619:
              r8 = r1
              r2 = r3
              r4 = r5
              r5 = r6
          L_0x061d:
              if (r18 != 0) goto L_0x0624
              r0 = 1073741824(0x40000000, float:2.0)
              if (r13 == r0) goto L_0x0624
              r5 = r2
          L_0x0624:
              int r0 = r48.getPaddingTop()
              int r1 = r48.getPaddingBottom()
              int r0 = r0 + r1
              int r5 = r5 + r0
              int r0 = r48.getSuggestedMinimumHeight()
              int r0 = java.lang.Math.max(r5, r0)
              r1 = -16777216(0xffffffffff000000, float:-1.7014118E38)
              r1 = r1 & r4
              r1 = r25 | r1
              int r3 = r4 << 16
              int r3 = android.view.View.resolveSizeAndState(r0, r12, r3)
              r7.setMeasuredDimension(r1, r3)
              if (r22 == 0) goto L_0x064e
              r1 = r49
              r3 = r34
              r7.forceUniformHeight(r3, r1)
              goto L_0x0652
          L_0x064e:
              r1 = r49
              r3 = r34
          L_0x0652:
              return
          */
          throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.measureHorizontal(int, int):void");
      }
  
      /* access modifiers changed from: package-private */
      public int measureNullChild(int childIndex) {
          return 0;
      }
  
      /* access modifiers changed from: package-private */
      /* JADX WARNING: Removed duplicated region for block: B:157:0x03da  */
      /* JADX WARNING: Removed duplicated region for block: B:158:0x03dc  */
      /* JADX WARNING: Removed duplicated region for block: B:161:0x03e3  */
      /* JADX WARNING: Removed duplicated region for block: B:164:0x03ed  */
      /* JADX WARNING: Removed duplicated region for block: B:175:0x0465  */
      /* JADX WARNING: Removed duplicated region for block: B:193:? A[RETURN, SYNTHETIC] */
      /* JADX WARNING: Removed duplicated region for block: B:62:0x0186  */
      /* JADX WARNING: Removed duplicated region for block: B:66:0x0199  */
      /* Code decompiled incorrectly, please refer to instructions dump. */
      public void measureVertical(int r39, int r40) {
          /*
              r38 = this;
              r7 = r38
              r8 = r39
              r9 = r40
              r10 = 0
              r7.mTotalLength = r10
              r0 = 0
              r1 = 0
              r2 = 0
              r3 = 0
              r4 = 1
              r5 = 0
              int r11 = r38.getVirtualChildCount()
              int r12 = android.view.View.MeasureSpec.getMode(r39)
              int r13 = android.view.View.MeasureSpec.getMode(r40)
              r6 = 0
              r14 = 0
              int r15 = r7.mBaselineAlignedChildIndex
              boolean r10 = r7.mUseLargestChild
              r17 = 0
              r18 = 0
              r19 = r14
              r14 = r0
              r0 = r5
              r5 = r2
              r2 = r18
              r18 = r6
              r6 = r1
              r37 = r4
              r4 = r3
              r3 = r17
              r17 = r37
          L_0x0036:
              r20 = r4
              r1 = 8
              r22 = 1
              r23 = 0
              if (r2 >= r11) goto L_0x01c0
              android.view.View r4 = r7.getVirtualChildAt(r2)
              if (r4 != 0) goto L_0x0054
              int r1 = r7.mTotalLength
              int r21 = r7.measureNullChild(r2)
              int r1 = r1 + r21
              r7.mTotalLength = r1
              r4 = r20
              goto L_0x01ba
          L_0x0054:
              r26 = r3
              int r3 = r4.getVisibility()
              if (r3 != r1) goto L_0x0067
              int r1 = r7.getChildrenSkipCount(r4, r2)
              int r2 = r2 + r1
              r4 = r20
              r3 = r26
              goto L_0x01ba
          L_0x0067:
              boolean r1 = r7.hasDividerBeforeChildAt(r2)
              if (r1 == 0) goto L_0x0074
              int r1 = r7.mTotalLength
              int r3 = r7.mDividerHeight
              int r1 = r1 + r3
              r7.mTotalLength = r1
          L_0x0074:
              android.view.ViewGroup$LayoutParams r1 = r4.getLayoutParams()
              r3 = r1
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r3 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r3
              float r1 = r3.weight
              float r27 = r0 + r1
              r1 = 1073741824(0x40000000, float:2.0)
              if (r13 != r1) goto L_0x00ad
              int r0 = r3.height
              if (r0 != 0) goto L_0x00ad
              float r0 = r3.weight
              int r0 = (r0 > r23 ? 1 : (r0 == r23 ? 0 : -1))
              if (r0 <= 0) goto L_0x00ad
              int r0 = r7.mTotalLength
              int r1 = r3.topMargin
              int r1 = r1 + r0
              r28 = r2
              int r2 = r3.bottomMargin
              int r1 = r1 + r2
              int r1 = java.lang.Math.max(r0, r1)
              r7.mTotalLength = r1
              r19 = 1
              r1 = r3
              r35 = r5
              r36 = r6
              r34 = r20
              r3 = r26
              r25 = r28
              r5 = r4
              goto L_0x0126
          L_0x00ad:
              r28 = r2
              r0 = -2147483648(0xffffffff80000000, float:-0.0)
              int r1 = r3.height
              if (r1 != 0) goto L_0x00c1
              float r1 = r3.weight
              int r1 = (r1 > r23 ? 1 : (r1 == r23 ? 0 : -1))
              if (r1 <= 0) goto L_0x00c1
              r0 = 0
              r1 = -2
              r3.height = r1
              r2 = r0
              goto L_0x00c2
          L_0x00c1:
              r2 = r0
          L_0x00c2:
              r29 = 0
              int r0 = (r27 > r23 ? 1 : (r27 == r23 ? 0 : -1))
              if (r0 != 0) goto L_0x00cd
              int r0 = r7.mTotalLength
              r30 = r0
              goto L_0x00cf
          L_0x00cd:
              r30 = 0
          L_0x00cf:
              r0 = r38
              r8 = -2147483648(0xffffffff80000000, float:-0.0)
              r21 = 1073741824(0x40000000, float:2.0)
              r1 = r4
              r31 = r2
              r25 = r28
              r2 = r25
              r33 = r3
              r32 = r26
              r3 = r39
              r34 = r20
              r20 = r4
              r4 = r29
              r35 = r5
              r5 = r40
              r36 = r6
              r6 = r30
              r0.measureChildBeforeLayout(r1, r2, r3, r4, r5, r6)
              r0 = r31
              if (r0 == r8) goto L_0x00fc
              r1 = r33
              r1.height = r0
              goto L_0x00fe
          L_0x00fc:
              r1 = r33
          L_0x00fe:
              int r2 = r20.getMeasuredHeight()
              int r3 = r7.mTotalLength
              int r4 = r3 + r2
              int r5 = r1.topMargin
              int r4 = r4 + r5
              int r5 = r1.bottomMargin
              int r4 = r4 + r5
              r5 = r20
              int r6 = r7.getNextLocationOffset(r5)
              int r4 = r4 + r6
              int r4 = java.lang.Math.max(r3, r4)
              r7.mTotalLength = r4
              if (r10 == 0) goto L_0x0123
              r4 = r32
              int r4 = java.lang.Math.max(r2, r4)
              r3 = r4
              goto L_0x0126
          L_0x0123:
              r4 = r32
              r3 = r4
          L_0x0126:
              if (r15 < 0) goto L_0x0133
              r2 = r25
              int r0 = r2 + 1
              if (r15 != r0) goto L_0x0135
              int r0 = r7.mTotalLength
              r7.mBaselineChildTop = r0
              goto L_0x0135
          L_0x0133:
              r2 = r25
          L_0x0135:
              if (r2 >= r15) goto L_0x0146
              float r0 = r1.weight
              int r0 = (r0 > r23 ? 1 : (r0 == r23 ? 0 : -1))
              if (r0 > 0) goto L_0x013e
              goto L_0x0146
          L_0x013e:
              java.lang.RuntimeException r0 = new java.lang.RuntimeException
              java.lang.String r4 = "A child of LinearLayout with index less than mBaselineAlignedChildIndex has weight > 0, which won't work.  Either remove the weight, or don't set mBaselineAlignedChildIndex."
              r0.<init>(r4)
              throw r0
          L_0x0146:
              r0 = 0
              r6 = 1073741824(0x40000000, float:2.0)
              if (r12 == r6) goto L_0x0154
              int r4 = r1.width
              r6 = -1
              if (r4 != r6) goto L_0x0155
              r18 = 1
              r0 = 1
              goto L_0x0155
          L_0x0154:
              r6 = -1
          L_0x0155:
              int r4 = r1.leftMargin
              int r8 = r1.rightMargin
              int r4 = r4 + r8
              int r8 = r5.getMeasuredWidth()
              int r8 = r8 + r4
              int r14 = java.lang.Math.max(r14, r8)
              int r6 = r5.getMeasuredState()
              r20 = r8
              r8 = r36
              int r6 = android.view.View.combineMeasuredStates(r8, r6)
              if (r17 == 0) goto L_0x017c
              int r8 = r1.width
              r21 = r3
              r3 = -1
              if (r8 != r3) goto L_0x017e
              r3 = r22
              goto L_0x017f
          L_0x017c:
              r21 = r3
          L_0x017e:
              r3 = 0
          L_0x017f:
              float r8 = r1.weight
              int r8 = (r8 > r23 ? 1 : (r8 == r23 ? 0 : -1))
              if (r8 <= 0) goto L_0x0199
              if (r0 == 0) goto L_0x018a
              r8 = r4
              goto L_0x018c
          L_0x018a:
              r8 = r20
          L_0x018c:
              r24 = r6
              r6 = r34
              int r6 = java.lang.Math.max(r6, r8)
              r33 = r1
              r1 = r35
              goto L_0x01ab
          L_0x0199:
              r24 = r6
              r6 = r34
              if (r0 == 0) goto L_0x01a1
              r8 = r4
              goto L_0x01a3
          L_0x01a1:
              r8 = r20
          L_0x01a3:
              r33 = r1
              r1 = r35
              int r1 = java.lang.Math.max(r1, r8)
          L_0x01ab:
              int r8 = r7.getChildrenSkipCount(r5, r2)
              int r2 = r2 + r8
              r5 = r1
              r17 = r3
              r4 = r6
              r3 = r21
              r6 = r24
              r0 = r27
          L_0x01ba:
              int r2 = r2 + 1
              r8 = r39
              goto L_0x0036
          L_0x01c0:
              r4 = r3
              r8 = r6
              r6 = r20
              r3 = -2147483648(0xffffffff80000000, float:-0.0)
              r37 = r5
              r5 = r1
              r1 = r37
              int r2 = r7.mTotalLength
              if (r2 <= 0) goto L_0x01dc
              boolean r2 = r7.hasDividerBeforeChildAt(r11)
              if (r2 == 0) goto L_0x01dc
              int r2 = r7.mTotalLength
              int r5 = r7.mDividerHeight
              int r2 = r2 + r5
              r7.mTotalLength = r2
          L_0x01dc:
              if (r10 == 0) goto L_0x023e
              if (r13 == r3) goto L_0x01e6
              if (r13 != 0) goto L_0x01e3
              goto L_0x01e6
          L_0x01e3:
              r36 = r8
              goto L_0x0240
          L_0x01e6:
              r2 = 0
              r7.mTotalLength = r2
              r2 = 0
          L_0x01ea:
              if (r2 >= r11) goto L_0x0239
              android.view.View r3 = r7.getVirtualChildAt(r2)
              if (r3 != 0) goto L_0x0201
              int r5 = r7.mTotalLength
              int r21 = r7.measureNullChild(r2)
              int r5 = r5 + r21
              r7.mTotalLength = r5
              r24 = r2
              r36 = r8
              goto L_0x0232
          L_0x0201:
              int r5 = r3.getVisibility()
              r36 = r8
              r8 = 8
              if (r5 != r8) goto L_0x0211
              int r5 = r7.getChildrenSkipCount(r3, r2)
              int r2 = r2 + r5
              goto L_0x0234
          L_0x0211:
              android.view.ViewGroup$LayoutParams r5 = r3.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r5 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r5
              int r8 = r7.mTotalLength
              int r21 = r8 + r4
              r24 = r2
              int r2 = r5.topMargin
              int r21 = r21 + r2
              int r2 = r5.bottomMargin
              int r21 = r21 + r2
              int r2 = r7.getNextLocationOffset(r3)
              int r2 = r21 + r2
              int r2 = java.lang.Math.max(r8, r2)
              r7.mTotalLength = r2
          L_0x0232:
              r2 = r24
          L_0x0234:
              int r2 = r2 + 1
              r8 = r36
              goto L_0x01ea
          L_0x0239:
              r24 = r2
              r36 = r8
              goto L_0x0240
          L_0x023e:
              r36 = r8
          L_0x0240:
              int r2 = r7.mTotalLength
              int r3 = r38.getPaddingTop()
              int r5 = r38.getPaddingBottom()
              int r3 = r3 + r5
              int r2 = r2 + r3
              r7.mTotalLength = r2
              int r2 = r7.mTotalLength
              int r3 = r38.getSuggestedMinimumHeight()
              int r2 = java.lang.Math.max(r2, r3)
              r3 = 0
              int r5 = android.view.View.resolveSizeAndState(r2, r9, r3)
              r3 = 16777215(0xffffff, float:2.3509886E-38)
              r2 = r5 & r3
              int r3 = r7.mTotalLength
              int r3 = r2 - r3
              if (r19 != 0) goto L_0x0300
              if (r3 == 0) goto L_0x0276
              int r8 = (r0 > r23 ? 1 : (r0 == r23 ? 0 : -1))
              if (r8 <= 0) goto L_0x0276
              r21 = r0
              r24 = r2
              r26 = r3
              goto L_0x0306
          L_0x0276:
              int r1 = java.lang.Math.max(r1, r6)
              if (r10 == 0) goto L_0x02e4
              r8 = 1073741824(0x40000000, float:2.0)
              if (r13 == r8) goto L_0x02e4
              r16 = 0
              r8 = r16
          L_0x0284:
              if (r8 >= r11) goto L_0x02db
              r21 = r0
              android.view.View r0 = r7.getVirtualChildAt(r8)
              if (r0 == 0) goto L_0x02ca
              r16 = r1
              int r1 = r0.getVisibility()
              r24 = r2
              r2 = 8
              if (r1 != r2) goto L_0x029d
              r26 = r3
              goto L_0x02d0
          L_0x029d:
              android.view.ViewGroup$LayoutParams r1 = r0.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r1 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r1
              float r2 = r1.weight
              int r22 = (r2 > r23 ? 1 : (r2 == r23 ? 0 : -1))
              if (r22 <= 0) goto L_0x02c3
              r22 = r1
              int r1 = r0.getMeasuredWidth()
              r25 = r2
              r2 = 1073741824(0x40000000, float:2.0)
              int r1 = android.view.View.MeasureSpec.makeMeasureSpec(r1, r2)
              r26 = r3
              int r3 = android.view.View.MeasureSpec.makeMeasureSpec(r4, r2)
              r0.measure(r1, r3)
              goto L_0x02d0
          L_0x02c3:
              r22 = r1
              r25 = r2
              r26 = r3
              goto L_0x02d0
          L_0x02ca:
              r16 = r1
              r24 = r2
              r26 = r3
          L_0x02d0:
              int r8 = r8 + 1
              r1 = r16
              r0 = r21
              r2 = r24
              r3 = r26
              goto L_0x0284
          L_0x02db:
              r21 = r0
              r16 = r1
              r24 = r2
              r26 = r3
              goto L_0x02ec
          L_0x02e4:
              r21 = r0
              r16 = r1
              r24 = r2
              r26 = r3
          L_0x02ec:
              r32 = r4
              r34 = r6
              r25 = r10
              r30 = r13
              r1 = r16
              r3 = r26
              r6 = r36
              r10 = r39
              r26 = r15
              goto L_0x0443
          L_0x0300:
              r21 = r0
              r24 = r2
              r26 = r3
          L_0x0306:
              float r0 = r7.mWeightSum
              int r2 = (r0 > r23 ? 1 : (r0 == r23 ? 0 : -1))
              if (r2 <= 0) goto L_0x030d
              goto L_0x030f
          L_0x030d:
              r0 = r21
          L_0x030f:
              r2 = 0
              r7.mTotalLength = r2
              r3 = 0
              r8 = r1
              r2 = r14
              r1 = r26
              r14 = r36
          L_0x0319:
              if (r3 >= r11) goto L_0x0425
              r32 = r4
              android.view.View r4 = r7.getVirtualChildAt(r3)
              r34 = r6
              int r6 = r4.getVisibility()
              r25 = r10
              r10 = 8
              if (r6 != r10) goto L_0x0335
              r10 = r39
              r30 = r13
              r26 = r15
              goto L_0x0417
          L_0x0335:
              android.view.ViewGroup$LayoutParams r6 = r4.getLayoutParams()
              androidx.appcompat.widget.LinearLayoutCompat$LayoutParams r6 = (androidx.appcompat.widget.LinearLayoutCompat.LayoutParams) r6
              float r10 = r6.weight
              int r26 = (r10 > r23 ? 1 : (r10 == r23 ? 0 : -1))
              if (r26 <= 0) goto L_0x03ae
              r26 = r15
              float r15 = (float) r1
              float r15 = r15 * r10
              float r15 = r15 / r0
              int r15 = (int) r15
              float r0 = r0 - r10
              int r1 = r1 - r15
              int r27 = r38.getPaddingLeft()
              int r28 = r38.getPaddingRight()
              int r27 = r27 + r28
              r28 = r0
              int r0 = r6.leftMargin
              int r27 = r27 + r0
              int r0 = r6.rightMargin
              int r0 = r27 + r0
              r27 = r1
              int r1 = r6.width
              r29 = r10
              r10 = r39
              int r0 = getChildMeasureSpec(r10, r0, r1)
              int r1 = r6.height
              if (r1 != 0) goto L_0x0387
              r1 = 1073741824(0x40000000, float:2.0)
              if (r13 == r1) goto L_0x0375
              r30 = r13
              goto L_0x0389
          L_0x0375:
              r30 = r13
              if (r15 <= 0) goto L_0x037c
              r13 = r15
              goto L_0x037d
          L_0x037c:
              r13 = 0
          L_0x037d:
              int r13 = android.view.View.MeasureSpec.makeMeasureSpec(r13, r1)
              r4.measure(r0, r13)
              r31 = r15
              goto L_0x039e
          L_0x0387:
              r30 = r13
          L_0x0389:
              int r1 = r4.getMeasuredHeight()
              int r1 = r1 + r15
              if (r1 >= 0) goto L_0x0391
              r1 = 0
          L_0x0391:
              r31 = r15
              r13 = 1073741824(0x40000000, float:2.0)
              int r15 = android.view.View.MeasureSpec.makeMeasureSpec(r1, r13)
              r4.measure(r0, r15)
          L_0x039e:
              int r1 = r4.getMeasuredState()
              r1 = r1 & -256(0xffffffffffffff00, float:NaN)
              int r14 = android.view.View.combineMeasuredStates(r14, r1)
              r1 = r27
              r0 = r28
              goto L_0x03b6
          L_0x03ae:
              r29 = r10
              r30 = r13
              r26 = r15
              r10 = r39
          L_0x03b6:
              int r13 = r6.leftMargin
              int r15 = r6.rightMargin
              int r13 = r13 + r15
              int r15 = r4.getMeasuredWidth()
              int r15 = r15 + r13
              int r2 = java.lang.Math.max(r2, r15)
              r27 = r0
              r0 = 1073741824(0x40000000, float:2.0)
              if (r12 == r0) goto L_0x03d4
              int r0 = r6.width
              r28 = r1
              r1 = -1
              if (r0 != r1) goto L_0x03d6
              r0 = r22
              goto L_0x03d7
          L_0x03d4:
              r28 = r1
          L_0x03d6:
              r0 = 0
          L_0x03d7:
              if (r0 == 0) goto L_0x03dc
              r1 = r13
              goto L_0x03dd
          L_0x03dc:
              r1 = r15
          L_0x03dd:
              int r1 = java.lang.Math.max(r8, r1)
              if (r17 == 0) goto L_0x03ed
              int r8 = r6.width
              r31 = r0
              r0 = -1
              if (r8 != r0) goto L_0x03f0
              r8 = r22
              goto L_0x03f1
          L_0x03ed:
              r31 = r0
              r0 = -1
          L_0x03f0:
              r8 = 0
          L_0x03f1:
              int r0 = r7.mTotalLength
              int r17 = r4.getMeasuredHeight()
              int r17 = r0 + r17
              r33 = r1
              int r1 = r6.topMargin
              int r17 = r17 + r1
              int r1 = r6.bottomMargin
              int r17 = r17 + r1
              int r1 = r7.getNextLocationOffset(r4)
              int r1 = r17 + r1
              int r1 = java.lang.Math.max(r0, r1)
              r7.mTotalLength = r1
              r17 = r8
              r0 = r27
              r1 = r28
              r8 = r33
          L_0x0417:
              int r3 = r3 + 1
              r10 = r25
              r15 = r26
              r13 = r30
              r4 = r32
              r6 = r34
              goto L_0x0319
          L_0x0425:
              r32 = r4
              r34 = r6
              r25 = r10
              r30 = r13
              r26 = r15
              r10 = r39
              int r3 = r7.mTotalLength
              int r4 = r38.getPaddingTop()
              int r6 = r38.getPaddingBottom()
              int r4 = r4 + r6
              int r3 = r3 + r4
              r7.mTotalLength = r3
              r3 = r1
              r1 = r8
              r6 = r14
              r14 = r2
          L_0x0443:
              if (r17 != 0) goto L_0x044a
              r0 = 1073741824(0x40000000, float:2.0)
              if (r12 == r0) goto L_0x044a
              r14 = r1
          L_0x044a:
              int r0 = r38.getPaddingLeft()
              int r2 = r38.getPaddingRight()
              int r0 = r0 + r2
              int r14 = r14 + r0
              int r0 = r38.getSuggestedMinimumWidth()
              int r0 = java.lang.Math.max(r14, r0)
              int r2 = android.view.View.resolveSizeAndState(r0, r10, r6)
              r7.setMeasuredDimension(r2, r5)
              if (r18 == 0) goto L_0x0468
              r7.forceUniformWidth(r11, r9)
          L_0x0468:
              return
          */
          throw new UnsupportedOperationException("Method not decompiled: androidx.appcompat.widget.LinearLayoutCompat.measureVertical(int, int):void");
      }
  
      /* access modifiers changed from: protected */
      public void onDraw(Canvas canvas) {
          if (this.mDivider != null) {
              if (this.mOrientation == 1) {
                  drawDividersVertical(canvas);
              } else {
                  drawDividersHorizontal(canvas);
              }
          }
      }
  
      public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
          super.onInitializeAccessibilityEvent(event);
          event.setClassName(ACCESSIBILITY_CLASS_NAME);
      }
  
      public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
          super.onInitializeAccessibilityNodeInfo(info);
          info.setClassName(ACCESSIBILITY_CLASS_NAME);
      }
  
      /* access modifiers changed from: protected */
      public void onLayout(boolean changed, int l, int t, int r, int b) {
          if (this.mOrientation == 1) {
              layoutVertical(l, t, r, b);
          } else {
              layoutHorizontal(l, t, r, b);
          }
      }
  
      /* access modifiers changed from: protected */
      public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
          if (this.mOrientation == 1) {
              measureVertical(widthMeasureSpec, heightMeasureSpec);
          } else {
              measureHorizontal(widthMeasureSpec, heightMeasureSpec);
          }
      }
  
      public void setBaselineAligned(boolean baselineAligned) {
          this.mBaselineAligned = baselineAligned;
      }
  
      public void setBaselineAlignedChildIndex(int i) {
          if (i < 0 || i >= getChildCount()) {
              throw new IllegalArgumentException("base aligned child index out of range (0, " + getChildCount() + ")");
          }
          this.mBaselineAlignedChildIndex = i;
      }
  
      public void setDividerDrawable(Drawable divider) {
          if (divider != this.mDivider) {
              this.mDivider = divider;
              boolean z = false;
              if (divider != null) {
                  this.mDividerWidth = divider.getIntrinsicWidth();
                  this.mDividerHeight = divider.getIntrinsicHeight();
              } else {
                  this.mDividerWidth = 0;
                  this.mDividerHeight = 0;
              }
              if (divider == null) {
                  z = true;
              }
              setWillNotDraw(z);
              requestLayout();
          }
      }
  
      public void setDividerPadding(int padding) {
          this.mDividerPadding = padding;
      }
  
      public void setGravity(int gravity) {
          if (this.mGravity != gravity) {
              if ((8388615 & gravity) == 0) {
                  gravity |= GravityCompat.START;
              }
              if ((gravity & 112) == 0) {
                  gravity |= 48;
              }
              this.mGravity = gravity;
              requestLayout();
          }
      }
  
      public void setHorizontalGravity(int horizontalGravity) {
          int i = horizontalGravity & GravityCompat.RELATIVE_HORIZONTAL_GRAVITY_MASK;
          int i2 = this.mGravity;
          if ((8388615 & i2) != i) {
              this.mGravity = (-8388616 & i2) | i;
              requestLayout();
          }
      }
  
      public void setMeasureWithLargestChildEnabled(boolean enabled) {
          this.mUseLargestChild = enabled;
      }
  
      public void setOrientation(int orientation) {
          if (this.mOrientation != orientation) {
              this.mOrientation = orientation;
              requestLayout();
          }
      }
  
      public void setShowDividers(int showDividers) {
          if (showDividers != this.mShowDividers) {
              requestLayout();
          }
          this.mShowDividers = showDividers;
      }
  
      public void setVerticalGravity(int verticalGravity) {
          int i = verticalGravity & 112;
          int i2 = this.mGravity;
          if ((i2 & 112) != i) {
              this.mGravity = (i2 & -113) | i;
              requestLayout();
          }
      }
  
      public void setWeightSum(float weightSum) {
          this.mWeightSum = Math.max(0.0f, weightSum);
      }
  
      public boolean shouldDelayChildPressedState() {
          return false;
      }
  }
  