package vn;

import com.google.android.gms.measurement.api.AppMeasurementSdk;
import tn.z0;

/* loaded from: classes3.dex */
public abstract class k extends j implements tn.n {

    /* renamed from: r, reason: collision with root package name */
    private final tn.m f40271r;

    /* renamed from: s, reason: collision with root package name */
    private final z0 f40272s;

    /* JADX INFO: Access modifiers changed from: protected */
    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public k(tn.m mVar, kotlin.reflect.jvm.internal.impl.descriptors.annotations.g gVar, ro.f fVar, z0 z0Var) {
        super(gVar, fVar);
        if (mVar == null) {
            D(0);
        }
        if (gVar == null) {
            D(1);
        }
        if (fVar == null) {
            D(2);
        }
        if (z0Var == null) {
            D(3);
        }
        this.f40271r = mVar;
        this.f40272s = z0Var;
    }

    private static /* synthetic */ void D(int i10) {
        String str = (i10 == 4 || i10 == 5 || i10 == 6) ? "@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 == 4 || i10 == 5 || i10 == 6) ? 2 : 3];
        switch (i10) {
            case 1:
                objArr[0] = "annotations";
                break;
            case 2:
                objArr[0] = AppMeasurementSdk.ConditionalUserProperty.NAME;
                break;
            case 3:
                objArr[0] = "source";
                break;
            case 4:
            case 5:
            case 6:
                objArr[0] = "kotlin/reflect/jvm/internal/impl/descriptors/impl/DeclarationDescriptorNonRootImpl";
                break;
            default:
                objArr[0] = "containingDeclaration";
                break;
        }
        if (i10 == 4) {
            objArr[1] = "getOriginal";
        } else if (i10 == 5) {
            objArr[1] = "getContainingDeclaration";
        } else if (i10 != 6) {
            objArr[1] = "kotlin/reflect/jvm/internal/impl/descriptors/impl/DeclarationDescriptorNonRootImpl";
        } else {
            objArr[1] = "getSource";
        }
        if (i10 != 4 && i10 != 5 && i10 != 6) {
            objArr[2] = "<init>";
        }
        String format = String.format(str, objArr);
        if (i10 != 4 && i10 != 5 && i10 != 6) {
            throw new IllegalArgumentException(format);
        }
        throw new IllegalStateException(format);
    }

    public tn.m b() {
        tn.m mVar = this.f40271r;
        if (mVar == null) {
            D(5);
        }
        return mVar;
    }

    public z0 getSource() {
        z0 z0Var = this.f40272s;
        if (z0Var == null) {
            D(6);
        }
        return z0Var;
    }

    @Override // vn.j, tn.m
    /* renamed from: x0, reason: merged with bridge method [inline-methods] */
    public tn.p a() {
        tn.p pVar = (tn.p) super.a();
        if (pVar == null) {
            D(4);
        }
        return pVar;
    }
}
