package a;

import android.os.HidlSupport;
import android.os.HwBlob;
import android.os.HwParcel;
import java.util.Objects;

/* JADX INFO: renamed from: a.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0145a {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public long f1918b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public int f1919c;

    /* JADX INFO: renamed from: a.a$a, reason: collision with other inner class name */
    public static final class C0047a {
        public static final String a(int i2) {
            if (i2 == 0) {
                return "UNKNOWN";
            }
            if (i2 == 1) {
                return "IS_64BIT";
            }
            if (i2 == 2) {
                return "IS_32BIT";
            }
            return "0x" + Integer.toHexString(i2);
        }
    }

    public final void a(HwBlob hwBlob, long j2) {
        hwBlob.putInt32(j2, this.f1917a);
        hwBlob.putInt64(8 + j2, this.f1918b);
        hwBlob.putInt32(j2 + 16, this.f1919c);
    }

    public final void b(HwParcel hwParcel) {
        HwBlob hwBlob = new HwBlob(24);
        a(hwBlob, 0L);
        hwParcel.writeBuffer(hwBlob);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || obj.getClass() != C0145a.class) {
            return false;
        }
        C0145a c0145a = (C0145a) obj;
        return this.f1917a == c0145a.f1917a && this.f1918b == c0145a.f1918b && this.f1919c == c0145a.f1919c;
    }

    public final int hashCode() {
        return Objects.hash(Integer.valueOf(HidlSupport.deepHashCode(Integer.valueOf(this.f1917a))), Integer.valueOf(HidlSupport.deepHashCode(Long.valueOf(this.f1918b))), Integer.valueOf(HidlSupport.deepHashCode(Integer.valueOf(this.f1919c))));
    }

    public final String toString() {
        return "{.pid = " + this.f1917a + ", .ptr = " + this.f1918b + ", .arch = " + C0047a.a(this.f1919c) + "}";
    }
}
