package b2;

import android.view.KeyEvent;
import kotlin.jvm.internal.t;

/* loaded from: classes.dex */
public final class b {

    /* renamed from: a, reason: collision with root package name */
    private final KeyEvent f6638a;

    private /* synthetic */ b(KeyEvent keyEvent) {
        this.f6638a = keyEvent;
    }

    public static final /* synthetic */ b a(KeyEvent keyEvent) {
        return new b(keyEvent);
    }

    public static KeyEvent b(KeyEvent keyEvent) {
        return keyEvent;
    }

    public static boolean c(KeyEvent keyEvent, Object obj) {
        return (obj instanceof b) && t.b(keyEvent, ((b) obj).f());
    }

    public static int d(KeyEvent keyEvent) {
        return keyEvent.hashCode();
    }

    public static String e(KeyEvent keyEvent) {
        return "KeyEvent(nativeKeyEvent=" + keyEvent + ')';
    }

    public boolean equals(Object obj) {
        return c(this.f6638a, obj);
    }

    public final /* synthetic */ KeyEvent f() {
        return this.f6638a;
    }

    public int hashCode() {
        return d(this.f6638a);
    }

    public String toString() {
        return e(this.f6638a);
    }
}
