package defpackage;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

/* renamed from: ᵧᵳˌ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3681 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final long f13696;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final Integer f13697;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final Map f13698;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final C4621 f13699;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final byte[] f13700;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String f13701;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final Integer f13702;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final byte[] f13703;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public final String f13704;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final long f13705;

    public C3681(String str, Integer num, C4621 c4621, long j, long j2, HashMap map, Integer num2, String str2, byte[] bArr, byte[] bArr2) {
        this.f13701 = str;
        this.f13702 = num;
        this.f13699 = c4621;
        this.f13705 = j;
        this.f13696 = j2;
        this.f13698 = map;
        this.f13697 = num2;
        this.f13704 = str2;
        this.f13700 = bArr;
        this.f13703 = bArr2;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof C3681) {
            C3681 c3681 = (C3681) obj;
            if (this.f13701.equals(c3681.f13701)) {
                Integer num = c3681.f13702;
                Integer num2 = this.f13702;
                if (num2 != null ? num2.equals(num) : num == null) {
                    if (this.f13699.equals(c3681.f13699) && this.f13705 == c3681.f13705 && this.f13696 == c3681.f13696 && this.f13698.equals(c3681.f13698)) {
                        Integer num3 = c3681.f13697;
                        Integer num4 = this.f13697;
                        if (num4 != null ? num4.equals(num3) : num3 == null) {
                            String str = c3681.f13704;
                            String str2 = this.f13704;
                            if (str2 != null ? str2.equals(str) : str == null) {
                                if (Arrays.equals(this.f13700, c3681.f13700) && Arrays.equals(this.f13703, c3681.f13703)) {
                                    return true;
                                }
                            }
                        }
                    }
                }
            }
        }
        return false;
    }

    public final int hashCode() {
        int iHashCode = (this.f13701.hashCode() ^ 1000003) * 1000003;
        Integer num = this.f13702;
        int iHashCode2 = (((iHashCode ^ (num == null ? 0 : num.hashCode())) * 1000003) ^ this.f13699.hashCode()) * 1000003;
        long j = this.f13705;
        int i = (iHashCode2 ^ ((int) (j ^ (j >>> 32)))) * 1000003;
        long j2 = this.f13696;
        int iHashCode3 = (((i ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ this.f13698.hashCode()) * 1000003;
        Integer num2 = this.f13697;
        int iHashCode4 = (iHashCode3 ^ (num2 == null ? 0 : num2.hashCode())) * 1000003;
        String str = this.f13704;
        return Arrays.hashCode(this.f13703) ^ ((((iHashCode4 ^ (str != null ? str.hashCode() : 0)) * 1000003) ^ Arrays.hashCode(this.f13700)) * 1000003);
    }

    public final String toString() {
        return "EventInternal{transportName=" + this.f13701 + ", code=" + this.f13702 + ", encodedPayload=" + this.f13699 + ", eventMillis=" + this.f13705 + ", uptimeMillis=" + this.f13696 + ", autoMetadata=" + this.f13698 + ", productId=" + this.f13697 + ", pseudonymousId=" + this.f13704 + ", experimentIdsClear=" + Arrays.toString(this.f13700) + ", experimentIdsEncrypted=" + Arrays.toString(this.f13703) + "}";
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final C3423 m8272() {
        C3423 c3423 = new C3423();
        String str = this.f13701;
        if (str == null) {
            C1260.m3813("Null transportName");
            return null;
        }
        c3423.f12727 = str;
        c3423.f12729 = this.f13702;
        c3423.f12730 = this.f13697;
        c3423.f12733 = this.f13704;
        c3423.f12728 = this.f13700;
        c3423.f12731 = this.f13703;
        C4621 c4621 = this.f13699;
        if (c4621 == null) {
            C1260.m3813("Null encodedPayload");
            return null;
        }
        c3423.f12724 = c4621;
        c3423.f12726 = Long.valueOf(this.f13705);
        c3423.f12725 = Long.valueOf(this.f13696);
        c3423.f12732 = new HashMap(this.f13698);
        return c3423;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String m8273(String str) {
        String str2 = (String) this.f13698.get(str);
        return str2 == null ? "" : str2;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final int m8274(String str) {
        String str2 = (String) this.f13698.get(str);
        if (str2 == null) {
            return 0;
        }
        return Integer.valueOf(str2).intValue();
    }
}
