package ῲ.ⁱ.ῲ.㿎;

import androidx.constraintlayout.solver.widgets.ConstraintAnchor;
import androidx.constraintlayout.solver.widgets.ConstraintWidget;
import ῲ.ⁱ.ῲ.C2080;

/* renamed from: ῲ.ⁱ.ῲ.㿎.㿎  reason: contains not printable characters */
/* compiled from: Optimizer */
public class C2108 {

    /* renamed from: K  reason: contains not printable characters */
    public static boolean[] f7328 = new boolean[3];

    /* renamed from: K  reason: contains not printable characters */
    public static void m5584(C2082 r5, C2080 r6, ConstraintWidget constraintWidget) {
        constraintWidget.f902 = -1;
        constraintWidget.f823 = -1;
        if (r5.f886[0] != ConstraintWidget.DimensionBehaviour.WRAP_CONTENT && constraintWidget.f886[0] == ConstraintWidget.DimensionBehaviour.MATCH_PARENT) {
            int i = constraintWidget.f820.f810;
            int r1 = r5.m478() - constraintWidget.f833.f810;
            ConstraintAnchor constraintAnchor = constraintWidget.f820;
            constraintAnchor.f808 = r6.m5454(constraintAnchor);
            ConstraintAnchor constraintAnchor2 = constraintWidget.f833;
            constraintAnchor2.f808 = r6.m5454(constraintAnchor2);
            r6.m5457(constraintWidget.f820.f808, i);
            r6.m5457(constraintWidget.f833.f808, r1);
            constraintWidget.f902 = 2;
            constraintWidget.f822 = i;
            constraintWidget.f873 = r1 - i;
            int i2 = constraintWidget.f873;
            int i3 = constraintWidget.f880;
            if (i2 < i3) {
                constraintWidget.f873 = i3;
            }
        }
        if (r5.f886[1] != ConstraintWidget.DimensionBehaviour.WRAP_CONTENT && constraintWidget.f886[1] == ConstraintWidget.DimensionBehaviour.MATCH_PARENT) {
            int i4 = constraintWidget.f885.f810;
            int r52 = r5.m473() - constraintWidget.f841.f810;
            ConstraintAnchor constraintAnchor3 = constraintWidget.f885;
            constraintAnchor3.f808 = r6.m5454(constraintAnchor3);
            ConstraintAnchor constraintAnchor4 = constraintWidget.f841;
            constraintAnchor4.f808 = r6.m5454(constraintAnchor4);
            r6.m5457(constraintWidget.f885.f808, i4);
            r6.m5457(constraintWidget.f841.f808, r52);
            if (constraintWidget.f865 > 0 || constraintWidget.f840 == 8) {
                ConstraintAnchor constraintAnchor5 = constraintWidget.f897;
                constraintAnchor5.f808 = r6.m5454(constraintAnchor5);
                r6.m5457(constraintWidget.f897.f808, constraintWidget.f865 + i4);
            }
            constraintWidget.f823 = 2;
            constraintWidget.f892 = i4;
            constraintWidget.f819 = r52 - i4;
            int i5 = constraintWidget.f819;
            int i6 = constraintWidget.f832;
            if (i5 < i6) {
                constraintWidget.f819 = i6;
            }
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static final boolean m5585(int i, int i2) {
        return (i & i2) == i2;
    }
}
