package vo;

import hp.e0;
import hp.m0;
import rm.c0;
import tn.g0;

/* loaded from: classes3.dex */
public final class j extends g {

    /* renamed from: b, reason: collision with root package name */
    private final ro.b f40381b;

    /* renamed from: c, reason: collision with root package name */
    private final ro.f f40382c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public j(ro.b enumClassId, ro.f enumEntryName) {
        super(c0.a(enumClassId, enumEntryName));
        kotlin.jvm.internal.t.g(enumClassId, "enumClassId");
        kotlin.jvm.internal.t.g(enumEntryName, "enumEntryName");
        this.f40381b = enumClassId;
        this.f40382c = enumEntryName;
    }

    @Override // vo.g
    public e0 a(g0 module) {
        kotlin.jvm.internal.t.g(module, "module");
        tn.e a10 = tn.x.a(module, this.f40381b);
        m0 m0Var = null;
        if (a10 != null) {
            if (!to.f.A(a10)) {
                a10 = null;
            }
            if (a10 != null) {
                m0Var = a10.q();
            }
        }
        if (m0Var != null) {
            return m0Var;
        }
        kotlin.reflect.jvm.internal.impl.types.error.j jVar = kotlin.reflect.jvm.internal.impl.types.error.j.ERROR_ENUM_TYPE;
        String bVar = this.f40381b.toString();
        kotlin.jvm.internal.t.f(bVar, "toString(...)");
        String fVar = this.f40382c.toString();
        kotlin.jvm.internal.t.f(fVar, "toString(...)");
        return kotlin.reflect.jvm.internal.impl.types.error.k.d(jVar, bVar, fVar);
    }

    public final ro.f c() {
        return this.f40382c;
    }

    @Override // vo.g
    public String toString() {
        StringBuilder sb2 = new StringBuilder();
        sb2.append(this.f40381b.j());
        sb2.append('.');
        sb2.append(this.f40382c);
        return sb2.toString();
    }
}
