package a.i.b.a.c.e.a;

import a.f.b.j;
import a.i.b.a.c.e.a$ai;
import a.i.b.a.c.e.a.aa;
import a.i.b.a.c.e.a.aa.a;
import a.i.b.a.c.e.a.o;
import a.i.b.a.c.e.a.u;
import com.tencent.matrix.trace.core.AppMethodBeat;

public final class g {
    public static final aa a(a aVar, h hVar) {
        AppMethodBeat.i(121083);
        j.p(aVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (aVar.ecP()) {
            aaVar = aVar.Bvo;
            AppMethodBeat.o(121083);
            return aaVar;
        } else if (aVar.efn()) {
            aaVar = hVar.Uk(aVar.Bvp);
            AppMethodBeat.o(121083);
            return aaVar;
        } else {
            AppMethodBeat.o(121083);
            return null;
        }
    }

    public static final aa a(aa aaVar, h hVar) {
        AppMethodBeat.i(121084);
        j.p(aaVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar2;
        if (aaVar.efa()) {
            aaVar2 = aaVar.Bvc;
            AppMethodBeat.o(121084);
            return aaVar2;
        } else if (aaVar.efb()) {
            aaVar2 = hVar.Uk(aaVar.Bvd);
            AppMethodBeat.o(121084);
            return aaVar2;
        } else {
            AppMethodBeat.o(121084);
            return null;
        }
    }

    public static final aa a(o oVar, h hVar) {
        AppMethodBeat.i(121085);
        j.p(oVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (oVar.eem()) {
            aaVar = oVar.But;
            j.o(aaVar, "returnType");
            AppMethodBeat.o(121085);
            return aaVar;
        } else if (oVar.een()) {
            aaVar = hVar.Uk(oVar.Buu);
            AppMethodBeat.o(121085);
            return aaVar;
        } else {
            Throwable illegalStateException = new IllegalStateException("No returnType in ProtoBuf.Function".toString());
            AppMethodBeat.o(121085);
            throw illegalStateException;
        }
    }

    public static final boolean f(o oVar) {
        AppMethodBeat.i(121086);
        j.p(oVar, "receiver$0");
        if (oVar.eeo() || oVar.eep()) {
            AppMethodBeat.o(121086);
            return true;
        }
        AppMethodBeat.o(121086);
        return false;
    }

    public static final aa b(o oVar, h hVar) {
        AppMethodBeat.i(121087);
        j.p(oVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (oVar.eeo()) {
            aaVar = oVar.Buv;
            AppMethodBeat.o(121087);
            return aaVar;
        } else if (oVar.eep()) {
            aaVar = hVar.Uk(oVar.Buw);
            AppMethodBeat.o(121087);
            return aaVar;
        } else {
            AppMethodBeat.o(121087);
            return null;
        }
    }

    public static final aa a(u uVar, h hVar) {
        AppMethodBeat.i(121088);
        j.p(uVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (uVar.eem()) {
            aaVar = uVar.But;
            j.o(aaVar, "returnType");
            AppMethodBeat.o(121088);
            return aaVar;
        } else if (uVar.een()) {
            aaVar = hVar.Uk(uVar.Buu);
            AppMethodBeat.o(121088);
            return aaVar;
        } else {
            Throwable illegalStateException = new IllegalStateException("No returnType in ProtoBuf.Property".toString());
            AppMethodBeat.o(121088);
            throw illegalStateException;
        }
    }

    public static final boolean e(u uVar) {
        AppMethodBeat.i(121089);
        j.p(uVar, "receiver$0");
        if (uVar.eeo() || uVar.eep()) {
            AppMethodBeat.o(121089);
            return true;
        }
        AppMethodBeat.o(121089);
        return false;
    }

    public static final aa b(u uVar, h hVar) {
        AppMethodBeat.i(121090);
        j.p(uVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (uVar.eeo()) {
            aaVar = uVar.Buv;
            AppMethodBeat.o(121090);
            return aaVar;
        } else if (uVar.eep()) {
            aaVar = hVar.Uk(uVar.Buw);
            AppMethodBeat.o(121090);
            return aaVar;
        } else {
            AppMethodBeat.o(121090);
            return null;
        }
    }

    public static final aa a(a$ai a_ai, h hVar) {
        AppMethodBeat.i(121091);
        j.p(a_ai, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (a_ai.ecP()) {
            aaVar = a_ai.Bvo;
            j.o(aaVar, "type");
            AppMethodBeat.o(121091);
            return aaVar;
        } else if (a_ai.efn()) {
            aaVar = hVar.Uk(a_ai.Bvp);
            AppMethodBeat.o(121091);
            return aaVar;
        } else {
            Throwable illegalStateException = new IllegalStateException("No type in ProtoBuf.ValueParameter".toString());
            AppMethodBeat.o(121091);
            throw illegalStateException;
        }
    }

    public static final aa b(a$ai a_ai, h hVar) {
        AppMethodBeat.i(121092);
        j.p(a_ai, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar;
        if (a_ai.efT()) {
            aaVar = a_ai.BvP;
            AppMethodBeat.o(121092);
            return aaVar;
        } else if (a_ai.efU()) {
            aaVar = hVar.Uk(a_ai.BvQ);
            AppMethodBeat.o(121092);
            return aaVar;
        } else {
            AppMethodBeat.o(121092);
            return null;
        }
    }

    public static final aa b(aa aaVar, h hVar) {
        AppMethodBeat.i(121093);
        j.p(aaVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar2;
        if (aaVar.efg()) {
            aaVar2 = aaVar.Bvi;
            AppMethodBeat.o(121093);
            return aaVar2;
        } else if (aaVar.efh()) {
            aaVar2 = hVar.Uk(aaVar.Bvj);
            AppMethodBeat.o(121093);
            return aaVar2;
        } else {
            AppMethodBeat.o(121093);
            return null;
        }
    }

    public static final aa c(aa aaVar, h hVar) {
        AppMethodBeat.i(121094);
        j.p(aaVar, "receiver$0");
        j.p(hVar, "typeTable");
        aa aaVar2;
        if (aaVar.efi()) {
            aaVar2 = aaVar.Bvk;
            AppMethodBeat.o(121094);
            return aaVar2;
        } else if (aaVar.efj()) {
            aaVar2 = hVar.Uk(aaVar.Bvl);
            AppMethodBeat.o(121094);
            return aaVar2;
        } else {
            AppMethodBeat.o(121094);
            return null;
        }
    }
}
