package g1;

import f1.AbstractC0470g;
import h1.C0506a;
import h1.C0507b;

/* JADX INFO: loaded from: classes.dex */
public abstract class f {

    public static class a extends AbstractC0470g {

        /* JADX INFO: renamed from: h, reason: collision with root package name */
        public int f4101h;

        /* JADX INFO: renamed from: i, reason: collision with root package name */
        public String f4102i;

        /* JADX INFO: renamed from: j, reason: collision with root package name */
        public int f4103j;

        /* JADX INFO: renamed from: k, reason: collision with root package name */
        public h1.d f4104k;

        /* JADX INFO: renamed from: l, reason: collision with root package name */
        public int f4105l;

        /* JADX INFO: renamed from: m, reason: collision with root package name */
        public int f4106m;

        /* JADX INFO: renamed from: n, reason: collision with root package name */
        public int f4107n;

        public a(String str, int i2, h1.d dVar, int i3, int i4, int i5) {
            this.f4102i = str;
            this.f4103j = i2;
            this.f4104k = dVar;
            this.f4105l = i3;
            this.f4106m = i4;
            this.f4107n = i5;
        }

        @Override // f1.AbstractC0470g
        public void d(C0506a c0506a) {
            this.f4103j = c0506a.c();
            c0506a.c();
            if (c0506a.c() != 0) {
                if (this.f4104k == null) {
                    this.f4104k = new d();
                }
                c0506a = c0506a.f4194g;
                this.f4104k.a(c0506a);
            }
            this.f4106m = c0506a.c();
            this.f4107n = c0506a.c();
            this.f4101h = c0506a.c();
        }

        @Override // f1.AbstractC0470g
        public void f(C0506a c0506a) {
            c0506a.i(this.f4102i, 1);
            String str = this.f4102i;
            if (str != null) {
                c0506a.l(str);
            }
            c0506a.h(this.f4103j);
            c0506a.h(this.f4103j);
            c0506a.i(this.f4104k, 1);
            h1.d dVar = this.f4104k;
            if (dVar != null) {
                c0506a = c0506a.f4194g;
                dVar.b(c0506a);
            }
            c0506a.h(this.f4105l);
            c0506a.h(this.f4107n);
        }

        @Override // f1.AbstractC0470g
        public int g() {
            return 15;
        }
    }

    public static class b extends h1.d {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public String f4108b;

        @Override // h1.d
        public void a(C0506a c0506a) {
            c0506a.b(4);
            if (c0506a.c() != 0) {
                this.f4108b = c0506a.f4194g.f();
            }
        }

        @Override // h1.d
        public void b(C0506a c0506a) {
            c0506a.b(4);
            c0506a.i(this.f4108b, 1);
            String str = this.f4108b;
            if (str != null) {
                c0506a.f4194g.l(str);
            }
        }
    }

    public static class c extends h1.d {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public String f4109b;

        /* JADX INFO: renamed from: c, reason: collision with root package name */
        public int f4110c;

        /* JADX INFO: renamed from: d, reason: collision with root package name */
        public String f4111d;

        @Override // h1.d
        public void a(C0506a c0506a) {
            c0506a.b(4);
            int iC = c0506a.c();
            this.f4110c = c0506a.c();
            int iC2 = c0506a.c();
            if (iC != 0) {
                c0506a = c0506a.f4194g;
                this.f4109b = c0506a.f();
            }
            if (iC2 != 0) {
                this.f4111d = c0506a.f4194g.f();
            }
        }

        @Override // h1.d
        public void b(C0506a c0506a) {
            c0506a.b(4);
            c0506a.i(this.f4109b, 1);
            c0506a.h(this.f4110c);
            c0506a.i(this.f4111d, 1);
            String str = this.f4109b;
            if (str != null) {
                c0506a = c0506a.f4194g;
                c0506a.l(str);
            }
            String str2 = this.f4111d;
            if (str2 != null) {
                c0506a.f4194g.l(str2);
            }
        }
    }

    public static class d extends h1.d {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public int f4112b;

        /* JADX INFO: renamed from: c, reason: collision with root package name */
        public b[] f4113c;

        @Override // h1.d
        public void a(C0506a c0506a) throws C0507b {
            c0506a.b(4);
            this.f4112b = c0506a.c();
            if (c0506a.c() != 0) {
                C0506a c0506a2 = c0506a.f4194g;
                int iC = c0506a2.c();
                int i2 = c0506a2.f4192e;
                c0506a2.a(iC * 4);
                if (this.f4113c == null) {
                    if (iC < 0 || iC > 65535) {
                        throw new C0507b("invalid array conformance");
                    }
                    this.f4113c = new b[iC];
                }
                C0506a c0506aG = c0506a2.g(i2);
                for (int i3 = 0; i3 < iC; i3++) {
                    b[] bVarArr = this.f4113c;
                    if (bVarArr[i3] == null) {
                        bVarArr[i3] = new b();
                    }
                    this.f4113c[i3].a(c0506aG);
                }
            }
        }

        @Override // h1.d
        public void b(C0506a c0506a) {
            c0506a.b(4);
            c0506a.h(this.f4112b);
            c0506a.i(this.f4113c, 1);
            if (this.f4113c != null) {
                C0506a c0506a2 = c0506a.f4194g;
                int i2 = this.f4112b;
                c0506a2.h(i2);
                int i3 = c0506a2.f4192e;
                c0506a2.a(i2 * 4);
                C0506a c0506aG = c0506a2.g(i3);
                for (int i4 = 0; i4 < i2; i4++) {
                    this.f4113c[i4].b(c0506aG);
                }
            }
        }
    }

    public static class e extends h1.d {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        public int f4114b;

        /* JADX INFO: renamed from: c, reason: collision with root package name */
        public c[] f4115c;

        @Override // h1.d
        public void a(C0506a c0506a) throws C0507b {
            c0506a.b(4);
            this.f4114b = c0506a.c();
            if (c0506a.c() != 0) {
                C0506a c0506a2 = c0506a.f4194g;
                int iC = c0506a2.c();
                int i2 = c0506a2.f4192e;
                c0506a2.a(iC * 12);
                if (this.f4115c == null) {
                    if (iC < 0 || iC > 65535) {
                        throw new C0507b("invalid array conformance");
                    }
                    this.f4115c = new c[iC];
                }
                C0506a c0506aG = c0506a2.g(i2);
                for (int i3 = 0; i3 < iC; i3++) {
                    c[] cVarArr = this.f4115c;
                    if (cVarArr[i3] == null) {
                        cVarArr[i3] = new c();
                    }
                    this.f4115c[i3].a(c0506aG);
                }
            }
        }

        @Override // h1.d
        public void b(C0506a c0506a) {
            c0506a.b(4);
            c0506a.h(this.f4114b);
            c0506a.i(this.f4115c, 1);
            if (this.f4115c != null) {
                C0506a c0506a2 = c0506a.f4194g;
                int i2 = this.f4114b;
                c0506a2.h(i2);
                int i3 = c0506a2.f4192e;
                c0506a2.a(i2 * 12);
                C0506a c0506aG = c0506a2.g(i3);
                for (int i4 = 0; i4 < i2; i4++) {
                    this.f4115c[i4].b(c0506aG);
                }
            }
        }
    }

    public static String a() {
        return "4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0";
    }
}
