package ῲ.ⁱ.ῲ.㿎;

import androidx.constraintlayout.solver.widgets.ConstraintWidget;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import ῲ.ⁱ.ῲ.㿎.ᕣ.C2098;
import K.K.K.ʬ.C2369;

/* renamed from: ῲ.ⁱ.ῲ.㿎.ⁱ  reason: contains not printable characters */
/* compiled from: HelperWidget */
public class C2102 extends ConstraintWidget implements AbstractC2105 {

    /* renamed from: ᬈ  reason: contains not printable characters */
    public int f7278 = 0;

    /* renamed from: 䅹  reason: contains not printable characters */
    public ConstraintWidget[] f7279 = new ConstraintWidget[4];

    /* renamed from: K  reason: contains not printable characters */
    public void m5555(ConstraintWidget constraintWidget) {
        if (constraintWidget != this && constraintWidget != null) {
            int i = this.f7278 + 1;
            ConstraintWidget[] constraintWidgetArr = this.f7279;
            if (i > constraintWidgetArr.length) {
                this.f7279 = (ConstraintWidget[]) Arrays.copyOf(constraintWidgetArr, constraintWidgetArr.length * 2);
            }
            ConstraintWidget[] constraintWidgetArr2 = this.f7279;
            int i2 = this.f7278;
            constraintWidgetArr2[i2] = constraintWidget;
            this.f7278 = i2 + 1;
        }
    }

    @Override // ῲ.ⁱ.ῲ.㿎.AbstractC2105
    /* renamed from: K  reason: contains not printable characters */
    public void m5558(C2082 r1) {
    }

    /* renamed from: 䀟  reason: contains not printable characters */
    public void m5559() {
        this.f7278 = 0;
        Arrays.fill(this.f7279, (Object) null);
    }

    @Override // androidx.constraintlayout.solver.widgets.ConstraintWidget
    /* renamed from: K  reason: contains not printable characters */
    public void m5556(ConstraintWidget constraintWidget, HashMap<ConstraintWidget, ConstraintWidget> hashMap) {
        super.m494(constraintWidget, hashMap);
        C2102 r4 = (C2102) constraintWidget;
        this.f7278 = 0;
        int i = r4.f7278;
        for (int i2 = 0; i2 < i; i2++) {
            m5555(hashMap.get(r4.f7279[i2]));
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m5557(ArrayList<C2098> arrayList, int i, C2098 r6) {
        for (int i2 = 0; i2 < this.f7278; i2++) {
            r6.m5550(this.f7279[i2]);
        }
        for (int i3 = 0; i3 < this.f7278; i3++) {
            C2369.m6323(this.f7279[i3], i, arrayList, r6);
        }
    }
}
