package j.p0.d;

/* JADX INFO: compiled from: FunctionReference.java */
/* JADX INFO: loaded from: classes.dex */
public class n extends e implements m, j.s0.e {
    private final int b;
    private final int d;

    public n(int i2, Object obj, Class cls, String str, String str2, int i3) {
        super(obj, cls, str, str2, (i3 & 1) == 1);
        this.b = i2;
        this.d = i3 >> 1;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // j.p0.d.e
    /* JADX INFO: renamed from: c, reason: merged with bridge method [inline-methods] */
    public j.s0.e getReflected() {
        return (j.s0.e) super.getReflected();
    }

    @Override // j.p0.d.e
    protected j.s0.b computeReflected() {
        d0.a(this);
        return this;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof n) {
            n nVar = (n) obj;
            return getName().equals(nVar.getName()) && getSignature().equals(nVar.getSignature()) && this.d == nVar.d && this.b == nVar.b && r.a(getBoundReceiver(), nVar.getBoundReceiver()) && r.a(getOwner(), nVar.getOwner());
        }
        if (obj instanceof j.s0.e) {
            return obj.equals(compute());
        }
        return false;
    }

    @Override // j.p0.d.m
    public int getArity() {
        return this.b;
    }

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

    @Override // j.p0.d.e, j.s0.b
    public boolean isSuspend() {
        return getReflected().isSuspend();
    }

    public String toString() {
        j.s0.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)";
    }
}
