package G0;

import java.io.Serializable;
import x4.AbstractC3250p;

/* JADX INFO: renamed from: G0.q, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0272q {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f1992a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final C0271p f1993b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final C0271p f1994c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final C0271p f1995d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final C0271p f1996e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final Serializable f1997f;

    public C0272q(String str) {
        this.f1992a = 1;
        this.f1997f = str;
        this.f1993b = new C0271p(null, 1);
        this.f1994c = new C0271p(null, 0);
        this.f1995d = new C0271p(null, 1);
        this.f1996e = new C0271p(null, 0);
    }

    public final C0271p a() {
        switch (this.f1992a) {
        }
        return this.f1996e;
    }

    public final C0271p b() {
        switch (this.f1992a) {
        }
        return this.f1993b;
    }

    public final C0271p c() {
        switch (this.f1992a) {
        }
        return this.f1995d;
    }

    public final C0271p d() {
        switch (this.f1992a) {
        }
        return this.f1994c;
    }

    public final String toString() {
        switch (this.f1992a) {
            case 0:
                return AbstractC3250p.R((C0272q[]) this.f1997f, "innermostOf(", ")", 57);
            default:
                String str = (String) this.f1997f;
                return str != null ? A0.a.k(')', "RectRulers(", str) : super.toString();
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public C0272q(C0272q[] c0272qArr) {
        this.f1992a = 0;
        this.f1997f = c0272qArr;
        int length = c0272qArr.length;
        C0271p[] c0271pArr = new C0271p[length];
        for (int i6 = 0; i6 < length; i6++) {
            c0271pArr[i6] = ((C0272q[]) this.f1997f)[i6].b();
        }
        this.f1993b = new C0271p(new G0(c0271pArr, 0), 1);
        int length2 = ((C0272q[]) this.f1997f).length;
        C0271p[] c0271pArr2 = new C0271p[length2];
        for (int i7 = 0; i7 < length2; i7++) {
            c0271pArr2[i7] = ((C0272q[]) this.f1997f)[i7].d();
        }
        this.f1994c = new C0271p(new C0270o(c0271pArr2, 0), 0);
        int length3 = ((C0272q[]) this.f1997f).length;
        C0271p[] c0271pArr3 = new C0271p[length3];
        for (int i8 = 0; i8 < length3; i8++) {
            c0271pArr3[i8] = ((C0272q[]) this.f1997f)[i8].c();
        }
        this.f1995d = new C0271p(new G0(c0271pArr3, 1), 1);
        int length4 = ((C0272q[]) this.f1997f).length;
        C0271p[] c0271pArr4 = new C0271p[length4];
        for (int i9 = 0; i9 < length4; i9++) {
            c0271pArr4[i9] = ((C0272q[]) this.f1997f)[i9].a();
        }
        this.f1996e = new C0271p(new C0270o(c0271pArr4, 1), 0);
    }
}
