package g1;

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

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

    public static class a extends h1.d {

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

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

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

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

    public static class b extends h1.d {

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

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

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

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

    public static class c extends h1.d {

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

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

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

        @Override // h1.d
        public void b(C0506a c0506a) {
            c0506a.b(4);
            c0506a.h(this.f4091b);
            c0506a.h(this.f4091b);
            c0506a.i(this.f4092c, 1);
            h1.d dVar = this.f4092c;
            if (dVar != null) {
                dVar.b(c0506a.f4194g);
            }
        }
    }

    /* JADX INFO: renamed from: g1.d$d, reason: collision with other inner class name */
    public static class C0074d extends h1.d {

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

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

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

    public static class e extends h1.d {

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

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

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

    public static class f extends AbstractC0470g {

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

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

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

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

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

        /* JADX INFO: renamed from: m, reason: collision with root package name */
        public h1.c f4100m;

        public f(String str, int i2, int i3, c cVar, h1.c cVar2) {
            this.f4096i = str;
            this.f4097j = i2;
            this.f4098k = i3;
            this.f4099l = cVar;
            this.f4100m = cVar2;
        }

        @Override // f1.AbstractC0470g
        public void d(C0506a c0506a) {
            if (c0506a.c() != 0) {
                if (this.f4099l == null) {
                    this.f4099l = new c();
                }
                this.f4099l.a(c0506a);
            }
            if (c0506a.c() != 0) {
                this.f4100m.a(c0506a);
            }
            this.f4095h = c0506a.c();
        }

        @Override // f1.AbstractC0470g
        public void f(C0506a c0506a) {
            c0506a.l(this.f4096i);
            c0506a.h(this.f4097j);
            c0506a.h(this.f4098k);
            c0506a.i(this.f4099l, 1);
            c cVar = this.f4099l;
            if (cVar != null) {
                cVar.b(c0506a);
            }
            c0506a.i(this.f4100m, 1);
            h1.c cVar2 = this.f4100m;
            if (cVar2 != null) {
                cVar2.b(c0506a);
            }
        }

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

    public static String a() {
        return "4fc742e0-4a10-11cf-8273-00aa004ae673:3.0";
    }
}
