package defpackage;

/* renamed from: ᵺᵽᵖᵶ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5157 {

    /* renamed from: ᵪʩ, reason: contains not printable characters */
    public static final /* synthetic */ int f19204 = 0;

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

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public final boolean f19206;

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

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

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

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

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

    /* renamed from: ᵯٴᵦ, reason: contains not printable characters */
    public String f19212;

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

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

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public final boolean f19215;

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

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

    static {
        ʾᵚᵱ r0 = C1058.f4589;
        EnumC0171 enumC0171 = EnumC0171.SECONDS;
        long jM3430 = C1058.m3430(AbstractC0494.m2157(Integer.MAX_VALUE, enumC0171), enumC0171);
        if (jM3430 >= 0) {
            return;
        }
        ᵹˉᵞ.ᵸˑ(AbstractC4737.m10015(jM3430, "maxStale < 0: "));
    }

    public C5157(boolean z, boolean z2, int i, int i2, boolean z3, boolean z4, boolean z5, int i3, int i4, boolean z6, boolean z7, boolean z8, String str) {
        this.f19211 = z;
        this.f19213 = z2;
        this.f19209 = i;
        this.f19217 = i2;
        this.f19205 = z3;
        this.f19208 = z4;
        this.f19207 = z5;
        this.f19216 = i3;
        this.f19210 = i4;
        this.f19214 = z6;
        this.f19215 = z7;
        this.f19206 = z8;
        this.f19212 = str;
    }

    public final String toString() {
        String str = this.f19212;
        if (str != null) {
            return str;
        }
        StringBuilder sb = new StringBuilder();
        if (this.f19211) {
            sb.append("no-cache, ");
        }
        if (this.f19213) {
            sb.append("no-store, ");
        }
        int i = this.f19209;
        if (i != -1) {
            sb.append("max-age=");
            sb.append(i);
            sb.append(", ");
        }
        int i2 = this.f19217;
        if (i2 != -1) {
            sb.append("s-maxage=");
            sb.append(i2);
            sb.append(", ");
        }
        if (this.f19205) {
            sb.append("private, ");
        }
        if (this.f19208) {
            sb.append("public, ");
        }
        if (this.f19207) {
            sb.append("must-revalidate, ");
        }
        int i3 = this.f19216;
        if (i3 != -1) {
            sb.append("max-stale=");
            sb.append(i3);
            sb.append(", ");
        }
        int i4 = this.f19210;
        if (i4 != -1) {
            sb.append("min-fresh=");
            sb.append(i4);
            sb.append(", ");
        }
        if (this.f19214) {
            sb.append("only-if-cached, ");
        }
        if (this.f19215) {
            sb.append("no-transform, ");
        }
        if (this.f19206) {
            sb.append("immutable, ");
        }
        if (sb.length() == 0) {
            return "";
        }
        sb.delete(sb.length() - 2, sb.length());
        String string = sb.toString();
        this.f19212 = string;
        return string;
    }
}
