package h.b.o;

import h.b.m.j;
import h.b.m.k;

/* JADX INFO: compiled from: Enums.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class w extends z0 {

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final h.b.m.j f4451l;
    public final g.g m;

    /* JADX INFO: compiled from: Enums.kt */
    @g.i
    public static final class a extends g.h0.c.m implements g.h0.b.a<h.b.m.e[]> {

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

        /* JADX INFO: renamed from: e, reason: collision with root package name */
        public final /* synthetic */ String f4453e;

        /* JADX INFO: renamed from: f, reason: collision with root package name */
        public final /* synthetic */ w f4454f;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public a(int i2, String str, w wVar) {
            super(0);
            this.f4452b = i2;
            this.f4453e = str;
            this.f4454f = wVar;
        }

        @Override // g.h0.b.a
        public h.b.m.e[] invoke() {
            int i2 = this.f4452b;
            h.b.m.e[] eVarArr = new h.b.m.e[i2];
            for (int i3 = 0; i3 < i2; i3++) {
                eVarArr[i3] = f.a.y.a.v(this.f4453e + '.' + this.f4454f.f4473e[i3], k.d.a, new h.b.m.e[0], (8 & 8) != 0 ? h.b.m.i.f4377b : null);
            }
            return eVarArr;
        }
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public w(String str, int i2) {
        super(str, null, i2);
        g.h0.c.l.f(str, "name");
        this.f4451l = j.b.a;
        this.m = f.a.y.a.v0(new a(i2, str, this));
    }

    @Override // h.b.o.z0, h.b.m.e
    public h.b.m.j e() {
        return this.f4451l;
    }

    @Override // h.b.o.z0
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || !(obj instanceof h.b.m.e)) {
            return false;
        }
        h.b.m.e eVar = (h.b.m.e) obj;
        return eVar.e() == j.b.a && g.h0.c.l.a(this.a, eVar.a()) && g.h0.c.l.a(y0.a(this), y0.a(eVar));
    }

    @Override // h.b.o.z0
    public int hashCode() {
        int iHashCode = this.a.hashCode();
        g.h0.c.l.f(this, "<this>");
        int iHashCode2 = 1;
        h.b.m.g gVar = new h.b.m.g(this);
        while (gVar.hasNext()) {
            int i2 = iHashCode2 * 31;
            String str = (String) gVar.next();
            iHashCode2 = i2 + (str != null ? str.hashCode() : 0);
        }
        return (iHashCode * 31) + iHashCode2;
    }

    @Override // h.b.o.z0, h.b.m.e
    public h.b.m.e i(int i2) {
        return ((h.b.m.e[]) this.m.getValue())[i2];
    }

    @Override // h.b.o.z0
    public String toString() {
        g.h0.c.l.f(this, "<this>");
        return g.c0.g.r(new h.b.m.h(this), ", ", d.b.a.a.a.u(new StringBuilder(), this.a, '('), ")", 0, null, null, 56);
    }
}
