package androidx.lifecycle;

import java.lang.reflect.Method;

/* JADX INFO: renamed from: androidx.lifecycle.d, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1095d {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final int f12163a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Method f12164b;

    public C1095d(int i6, Method method) {
        this.f12163a = i6;
        this.f12164b = method;
        method.setAccessible(true);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C1095d)) {
            return false;
        }
        C1095d c1095d = (C1095d) obj;
        return this.f12163a == c1095d.f12163a && this.f12164b.getName().equals(c1095d.f12164b.getName());
    }

    public final int hashCode() {
        return this.f12164b.getName().hashCode() + (this.f12163a * 31);
    }
}
