package defpackage;

import java.text.DateFormat;
import java.util.Date;
import java.util.regex.Pattern;

/* renamed from: ʽˈ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0101 {

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

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

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

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

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public final boolean f1377;

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

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

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public final String f1380;

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

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

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public static final Pattern f1372 = Pattern.compile("(\\d{2,4})[^\\d]*");

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public static final Pattern f1369 = Pattern.compile("(?i)(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec).*");

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public static final Pattern f1371 = Pattern.compile("(\\d{1,2})[^\\d]*");

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public static final Pattern f1370 = Pattern.compile("(\\d{1,2}):(\\d{1,2}):(\\d{1,2})[^\\d]*");

    public C0101(String str, String str2, long j, String str3, String str4, boolean z, boolean z2, boolean z3, boolean z4, String str5) {
        this.f1378 = str;
        this.f1379 = str2;
        this.f1376 = j;
        this.f1382 = str3;
        this.f1373 = str4;
        this.f1375 = z;
        this.f1374 = z2;
        this.f1381 = z3;
        this.f1377 = z4;
        this.f1380 = str5;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof C0101)) {
            return false;
        }
        C0101 c0101 = (C0101) obj;
        return c0101.f1378.equals(this.f1378) && c0101.f1379.equals(this.f1379) && c0101.f1376 == this.f1376 && c0101.f1382.equals(this.f1382) && c0101.f1373.equals(this.f1373) && c0101.f1375 == this.f1375 && c0101.f1374 == this.f1374 && c0101.f1381 == this.f1381 && c0101.f1377 == this.f1377 && ᵲᵝᵪ.ᵹᵝᵶ(c0101.f1380, this.f1380);
    }

    public final int hashCode() {
        int iM9543 = AbstractC4486.m9543(AbstractC4486.m9543(527, 31, this.f1378), 31, this.f1379);
        long j = this.f1376;
        int iM95432 = (((((((AbstractC4486.m9543(AbstractC4486.m9543((iM9543 + ((int) (j ^ (j >>> 32)))) * 31, 31, this.f1382), 31, this.f1373) + (this.f1375 ? 1231 : 1237)) * 31) + (this.f1374 ? 1231 : 1237)) * 31) + (this.f1381 ? 1231 : 1237)) * 31) + (this.f1377 ? 1231 : 1237)) * 31;
        String str = this.f1380;
        return iM95432 + (str != null ? str.hashCode() : 0);
    }

    public final String toString() {
        return m1181(false);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String m1181(boolean z) {
        StringBuilder sb = new StringBuilder();
        sb.append(this.f1378);
        sb.append('=');
        sb.append(this.f1379);
        if (this.f1381) {
            long j = this.f1376;
            if (j == Long.MIN_VALUE) {
                sb.append("; max-age=0");
            } else {
                sb.append("; expires=");
                sb.append(((DateFormat) AbstractC0581.f2966.get()).format(new Date(j)));
            }
        }
        if (!this.f1377) {
            sb.append("; domain=");
            if (z) {
                sb.append(".");
            }
            sb.append(this.f1382);
        }
        sb.append("; path=");
        sb.append(this.f1373);
        if (this.f1375) {
            sb.append("; secure");
        }
        if (this.f1374) {
            sb.append("; httponly");
        }
        String str = this.f1380;
        if (str != null) {
            sb.append("; samesite=");
            sb.append(str);
        }
        return sb.toString();
    }
}
