package vn;

import java.util.Collection;
import java.util.Collections;
import java.util.List;
import tn.b;
import tn.t0;
import tn.u0;
import tn.z0;

/* loaded from: classes3.dex */
public class d0 extends b0 implements u0 {
    private hp.e0 B;
    private final u0 C;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    /* JADX WARN: Multi-variable type inference failed */
    public d0(t0 t0Var, kotlin.reflect.jvm.internal.impl.descriptors.annotations.g gVar, tn.d0 d0Var, tn.u uVar, boolean z10, boolean z11, boolean z12, b.a aVar, u0 u0Var, z0 z0Var) {
        super(d0Var, uVar, t0Var, gVar, ro.f.v("<get-" + t0Var.getName() + ">"), z10, z11, z12, aVar, z0Var);
        d0 d0Var2;
        d0 d0Var3;
        if (t0Var == null) {
            D(0);
        }
        if (gVar == null) {
            D(1);
        }
        if (d0Var == null) {
            D(2);
        }
        if (uVar == null) {
            D(3);
        }
        if (aVar == null) {
            D(4);
        }
        if (z0Var == null) {
            D(5);
        }
        if (u0Var != 0) {
            d0Var3 = this;
            d0Var2 = u0Var;
        } else {
            d0Var2 = this;
            d0Var3 = d0Var2;
        }
        d0Var3.C = d0Var2;
    }

    private static /* synthetic */ void D(int i10) {
        String str = (i10 == 6 || i10 == 7 || i10 == 8) ? "@NotNull method %s.%s must not return null" : "Argument for @NotNull parameter '%s' of %s.%s must not be null";
        Object[] objArr = new Object[(i10 == 6 || i10 == 7 || i10 == 8) ? 2 : 3];
        switch (i10) {
            case 1:
                objArr[0] = "annotations";
                break;
            case 2:
                objArr[0] = "modality";
                break;
            case 3:
                objArr[0] = "visibility";
                break;
            case 4:
                objArr[0] = "kind";
                break;
            case 5:
                objArr[0] = "source";
                break;
            case 6:
            case 7:
            case 8:
                objArr[0] = "kotlin/reflect/jvm/internal/impl/descriptors/impl/PropertyGetterDescriptorImpl";
                break;
            default:
                objArr[0] = "correspondingProperty";
                break;
        }
        if (i10 == 6) {
            objArr[1] = "getOverriddenDescriptors";
        } else if (i10 == 7) {
            objArr[1] = "getValueParameters";
        } else if (i10 != 8) {
            objArr[1] = "kotlin/reflect/jvm/internal/impl/descriptors/impl/PropertyGetterDescriptorImpl";
        } else {
            objArr[1] = "getOriginal";
        }
        if (i10 != 6 && i10 != 7 && i10 != 8) {
            objArr[2] = "<init>";
        }
        String format = String.format(str, objArr);
        if (i10 != 6 && i10 != 7 && i10 != 8) {
            throw new IllegalArgumentException(format);
        }
        throw new IllegalStateException(format);
    }

    @Override // tn.m
    public Object A0(tn.o oVar, Object obj) {
        return oVar.c(this, obj);
    }

    @Override // vn.k
    /* renamed from: L0, reason: merged with bridge method [inline-methods] */
    public u0 a() {
        u0 u0Var = this.C;
        if (u0Var == null) {
            D(8);
        }
        return u0Var;
    }

    public void M0(hp.e0 e0Var) {
        if (e0Var == null) {
            e0Var = y0().getType();
        }
        this.B = e0Var;
    }

    @Override // tn.y, tn.b, tn.a
    public Collection e() {
        Collection H0 = super.H0(true);
        if (H0 == null) {
            D(6);
        }
        return H0;
    }

    @Override // tn.a
    public hp.e0 getReturnType() {
        return this.B;
    }

    @Override // tn.a
    public List i() {
        List emptyList = Collections.emptyList();
        if (emptyList == null) {
            D(7);
        }
        return emptyList;
    }
}
