package com.google.android.gms.internal.ads;

import android.os.SystemClock;
import androidx.annotation.CheckResult;
import androidx.annotation.Nullable;
import java.util.List;

/* JADX INFO: loaded from: classes2.dex */
public final class wi2 {

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public static final cp2 f18063s = new cp2(new Object(), -1);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final mk f18064a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final cp2 f18065b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final long f18066c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final long f18067d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f18068e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final boolean f18069f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final rq2 f18070g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final k f18071h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final List f18072i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final cp2 f18073j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final boolean f18074k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final int f18075l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final int f18076m;

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final wd f18077n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public volatile long f18078o;

    /* JADX INFO: renamed from: p, reason: collision with root package name */
    public volatile long f18079p;

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public volatile long f18080q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public volatile long f18081r;

    @Nullable
    public final zziw zzf;

    public wi2(mk mkVar, cp2 cp2Var, long j10, long j11, int i10, @Nullable zziw zziwVar, boolean z10, rq2 rq2Var, k kVar, List list, cp2 cp2Var2, boolean z11, int i11, int i12, wd wdVar, long j12, long j13, long j14, long j15, boolean z12) {
        this.f18064a = mkVar;
        this.f18065b = cp2Var;
        this.f18066c = j10;
        this.f18067d = j11;
        this.f18068e = i10;
        this.zzf = zziwVar;
        this.f18069f = z10;
        this.f18070g = rq2Var;
        this.f18071h = kVar;
        this.f18072i = list;
        this.f18073j = cp2Var2;
        this.f18074k = z11;
        this.f18075l = i11;
        this.f18076m = i12;
        this.f18077n = wdVar;
        this.f18078o = j12;
        this.f18079p = j13;
        this.f18080q = j14;
        this.f18081r = j15;
    }

    public static wi2 a(k kVar) {
        mi miVar = mk.f14242a;
        cp2 cp2Var = f18063s;
        return new wi2(miVar, cp2Var, -9223372036854775807L, 0L, 1, null, false, rq2.f16203d, kVar, zzgwa.f19786e, cp2Var, false, 1, 0, wd.f18030d, 0L, 0L, 0L, 0L, false);
    }

    public final wi2 b(cp2 cp2Var, long j10, long j11, long j12, long j13, rq2 rq2Var, k kVar, List list) {
        cp2 cp2Var2 = this.f18073j;
        boolean z10 = this.f18074k;
        int i10 = this.f18075l;
        int i11 = this.f18076m;
        wd wdVar = this.f18077n;
        long j14 = this.f18078o;
        long jElapsedRealtime = SystemClock.elapsedRealtime();
        return new wi2(this.f18064a, cp2Var, j11, j12, this.f18068e, this.zzf, this.f18069f, rq2Var, kVar, list, cp2Var2, z10, i10, i11, wdVar, j14, j13, j10, jElapsedRealtime, false);
    }

    public final wi2 c(mk mkVar) {
        return new wi2(mkVar, this.f18065b, this.f18066c, this.f18067d, this.f18068e, this.zzf, this.f18069f, this.f18070g, this.f18071h, this.f18072i, this.f18073j, this.f18074k, this.f18075l, this.f18076m, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }

    public final wi2 d(int i10) {
        return new wi2(this.f18064a, this.f18065b, this.f18066c, this.f18067d, i10, this.zzf, this.f18069f, this.f18070g, this.f18071h, this.f18072i, this.f18073j, this.f18074k, this.f18075l, this.f18076m, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }

    public final wi2 e(boolean z10) {
        return new wi2(this.f18064a, this.f18065b, this.f18066c, this.f18067d, this.f18068e, this.zzf, z10, this.f18070g, this.f18071h, this.f18072i, this.f18073j, this.f18074k, this.f18075l, this.f18076m, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }

    public final wi2 f(cp2 cp2Var) {
        return new wi2(this.f18064a, this.f18065b, this.f18066c, this.f18067d, this.f18068e, this.zzf, this.f18069f, this.f18070g, this.f18071h, this.f18072i, cp2Var, this.f18074k, this.f18075l, this.f18076m, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }

    public final wi2 g(int i10, int i11, boolean z10) {
        return new wi2(this.f18064a, this.f18065b, this.f18066c, this.f18067d, this.f18068e, this.zzf, this.f18069f, this.f18070g, this.f18071h, this.f18072i, this.f18073j, z10, i10, i11, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }

    public final boolean h() {
        return this.f18068e == 3 && this.f18074k && this.f18076m == 0;
    }

    @CheckResult
    public final wi2 zzf(@Nullable zziw zziwVar) {
        return new wi2(this.f18064a, this.f18065b, this.f18066c, this.f18067d, this.f18068e, zziwVar, this.f18069f, this.f18070g, this.f18071h, this.f18072i, this.f18073j, this.f18074k, this.f18075l, this.f18076m, this.f18077n, this.f18078o, this.f18079p, this.f18080q, this.f18081r, false);
    }
}
