package kotlin.jvm.internal;

/* JADX INFO: loaded from: classes3.dex */
public abstract class k extends AbstractC2442e implements j, Q4.e {
    private final int arity;
    private final int flags;

    public k(int i6, int i7, Class cls, Object obj, String str, String str2) {
        super(obj, cls, str, str2, (i7 & 1) == 1);
        this.arity = i6;
        this.flags = 0;
    }

    @Override // kotlin.jvm.internal.AbstractC2442e
    public Q4.b computeReflected() {
        D.f20116a.getClass();
        return this;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof k) {
            k kVar = (k) obj;
            return getName().equals(kVar.getName()) && getSignature().equals(kVar.getSignature()) && this.flags == kVar.flags && this.arity == kVar.arity && o.c(getBoundReceiver(), kVar.getBoundReceiver()) && o.c(getOwner(), kVar.getOwner());
        }
        if (obj instanceof Q4.e) {
            return obj.equals(compute());
        }
        return false;
    }

    @Override // kotlin.jvm.internal.j
    public int getArity() {
        return this.arity;
    }

    public int hashCode() {
        return getSignature().hashCode() + ((getName().hashCode() + (getOwner() == null ? 0 : getOwner().hashCode() * 31)) * 31);
    }

    @Override // Q4.e
    public boolean isExternal() {
        return getReflected().isExternal();
    }

    @Override // Q4.e
    public boolean isInfix() {
        return getReflected().isInfix();
    }

    @Override // Q4.e
    public boolean isInline() {
        return getReflected().isInline();
    }

    @Override // Q4.e
    public boolean isOperator() {
        return getReflected().isOperator();
    }

    @Override // kotlin.jvm.internal.AbstractC2442e, Q4.b
    public boolean isSuspend() {
        return getReflected().isSuspend();
    }

    public String toString() {
        Q4.b bVarCompute = compute();
        if (bVarCompute != this) {
            return bVarCompute.toString();
        }
        if ("<init>".equals(getName())) {
            return "constructor (Kotlin reflection is not available)";
        }
        return "function " + getName() + " (Kotlin reflection is not available)";
    }

    @Override // kotlin.jvm.internal.AbstractC2442e
    public Q4.e getReflected() {
        Q4.b bVarCompute = compute();
        if (bVarCompute != this) {
            return (Q4.e) bVarCompute;
        }
        throw new I4.a("Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar in the classpath");
    }
}
