package n;

import android.media.AudioManager;
import android.media.AudioMetadataReadMap;
import android.media.AudioSystem;
import android.media.MediaCodec;
import android.media.MediaCrypto;
import android.media.MediaFormat;
import android.media.PlaybackParams;
import android.os.Handler;
import android.util.Log;
import android.view.Surface;
import b0.AbstractC0399d;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import n.t;
import n.u;
import o.C0648b;
import o.j;
import okhttp3.HttpUrl;

/* JADX INFO: loaded from: classes.dex */
public class q extends t implements o {

    /* JADX INFO: renamed from: Y0, reason: collision with root package name */
    private final f f5608Y0;

    /* JADX INFO: renamed from: Z0, reason: collision with root package name */
    private final o.j f5609Z0;

    /* JADX INFO: renamed from: a1, reason: collision with root package name */
    private MediaFormat f5610a1;

    /* JADX INFO: renamed from: b1, reason: collision with root package name */
    private int f5611b1;

    /* JADX INFO: renamed from: c1, reason: collision with root package name */
    private int f5612c1;

    /* JADX INFO: renamed from: d1, reason: collision with root package name */
    private long f5613d1;

    /* JADX INFO: renamed from: e1, reason: collision with root package name */
    private boolean f5614e1;

    /* JADX INFO: renamed from: f1, reason: collision with root package name */
    private boolean f5615f1;

    /* JADX INFO: renamed from: g1, reason: collision with root package name */
    private long f5616g1;

    /* JADX INFO: renamed from: h1, reason: collision with root package name */
    private boolean f5617h1;

    /* JADX INFO: renamed from: i1, reason: collision with root package name */
    private int f5618i1;

    /* JADX INFO: renamed from: j1, reason: collision with root package name */
    private AudioManager f5619j1;

    /* JADX INFO: renamed from: k1, reason: collision with root package name */
    private String f5620k1;

    /* JADX INFO: renamed from: l1, reason: collision with root package name */
    private boolean f5621l1;

    /* JADX INFO: renamed from: m1, reason: collision with root package name */
    private float f5622m1;

    /* JADX INFO: renamed from: n1, reason: collision with root package name */
    private boolean f5623n1;

    /* JADX INFO: renamed from: o1, reason: collision with root package name */
    private boolean f5624o1;

    /* JADX INFO: renamed from: p1, reason: collision with root package name */
    private boolean f5625p1;

    /* JADX INFO: renamed from: q1, reason: collision with root package name */
    private long f5626q1;

    /* JADX INFO: renamed from: r1, reason: collision with root package name */
    private boolean f5627r1;

    /* JADX INFO: renamed from: s1, reason: collision with root package name */
    private long f5628s1;

    /* JADX INFO: renamed from: t1, reason: collision with root package name */
    public Lock f5629t1;

    /* JADX INFO: renamed from: u1, reason: collision with root package name */
    protected boolean f5630u1;

    class a implements j.c {
        a() {
        }

        @Override // o.j.c
        public void a(AudioMetadataReadMap audioMetadataReadMap) {
            q.this.y1(audioMetadataReadMap);
        }
    }

    class b implements Runnable {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        final /* synthetic */ j.g f5632b;

        b(j.g gVar) {
            this.f5632b = gVar;
        }

        @Override // java.lang.Runnable
        public void run() {
            q.this.f5608Y0.r(this.f5632b);
        }
    }

    class c implements Runnable {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        final /* synthetic */ j.C0084j f5634b;

        c(j.C0084j c0084j) {
            this.f5634b = c0084j;
        }

        @Override // java.lang.Runnable
        public void run() {
            q.this.f5608Y0.e(this.f5634b);
        }
    }

    class d implements Runnable {
        d() {
        }

        @Override // java.lang.Runnable
        public void run() {
            q.this.f5608Y0.onAudioOnlyPlayDone();
        }
    }

    class e implements Runnable {

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        final /* synthetic */ AudioMetadataReadMap f5637b;

        e(AudioMetadataReadMap audioMetadataReadMap) {
            this.f5637b = audioMetadataReadMap;
        }

        @Override // java.lang.Runnable
        public void run() {
            Log.d("MediaCodecAudioTrackRenderer", "eventListener.onAudioCodecFormatChanged");
            q.this.f5608Y0.onAudioCodecFormatChanged(this.f5637b, q.this.y0());
        }
    }

    public interface f extends t.g {
        void e(j.C0084j c0084j);

        void onAudioCodecFormatChanged(AudioMetadataReadMap audioMetadataReadMap, int i2);

        void onAudioOnlyPlayDone();

        void r(j.g gVar);
    }

    public q(InterfaceC0634B interfaceC0634B, s sVar, u.b bVar, boolean z2, Handler handler, f fVar, C0648b c0648b, int i2, String... strArr) {
        this(new InterfaceC0634B[]{interfaceC0634B}, sVar, bVar, z2, handler, fVar, c0648b, i2, strArr);
    }

    private void A1(j.g gVar) {
        Handler handler = this.f5662C;
        if (handler == null || this.f5608Y0 == null) {
            return;
        }
        handler.post(new b(gVar));
    }

    private void B1(j.C0084j c0084j) {
        Handler handler = this.f5662C;
        if (handler == null || this.f5608Y0 == null) {
            return;
        }
        handler.post(new c(c0084j));
    }

    private boolean x1() {
        return y0() != -1;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public void y1(AudioMetadataReadMap audioMetadataReadMap) {
        Log.d("MediaCodecAudioTrackRenderer", "notifyAudioCodecFormatChanged");
        Handler handler = this.f5662C;
        if (handler == null || this.f5608Y0 == null) {
            return;
        }
        handler.post(new e(audioMetadataReadMap));
    }

    private void z1() {
        Handler handler = this.f5662C;
        if (handler == null || this.f5608Y0 == null) {
            return;
        }
        handler.post(new d());
    }

    @Override // n.t
    protected void A0(MediaFormat mediaFormat) {
        if (mediaFormat == null) {
            Log.d("MediaCodecAudioTrackRenderer", "init audio format null");
            return;
        }
        String string = mediaFormat.getString("mime");
        if (mediaFormat.containsKey("encoder-delay")) {
            mediaFormat.setInteger("encoder-delay", 0);
        }
        if (mediaFormat.containsKey("encoder-padding")) {
            mediaFormat.setInteger("encoder-padding", 0);
        }
        mediaFormat.setString("mime", "audio/raw");
        if (mediaFormat.containsKey("csd-0")) {
            Log.i("MediaCodecAudioTrackRenderer", "Restore csd and Remove audio csd key from format");
            this.f5695S0 = mediaFormat.getByteBuffer("csd-0");
        }
        mediaFormat.setString("mime", string);
        this.f5610a1 = mediaFormat;
    }

    protected void C1(int i2) {
    }

    public void D1() {
        this.f5609Z0.U();
    }

    @Override // n.t
    protected boolean E0(x xVar) {
        int i2 = b0.D.f2965a;
        try {
            C0640f c0640fR0 = r0(s.f5653a, xVar.f5842g, false, i2 >= 28 ? "audio/mp4a-latm-hw".equals(xVar.f5842g) : "audio/mp4a-latm".equals(xVar.f5842g) && xVar.r().containsKey("is-adts") && xVar.r().getInteger("is-adts") == 0);
            if (c0640fR0 != null && c0640fR0.f5519a != null) {
                if (t1(xVar.f5842g) || xVar.f5840e0 <= 2) {
                    if (i2 >= 29) {
                        if (!C0648b.d(xVar, true)) {
                        }
                    }
                    return true;
                }
                return false;
            }
            return false;
        } catch (u.b e2) {
            e2.printStackTrace();
            return false;
        }
    }

    public void E1() {
        this.f5609Z0.W();
    }

    protected void F1(long j2) {
        Log.i("MediaCodecAudioTrackRenderer", "setAudioEndOfStreamTime " + j2);
        if (!b0.n.e() || this.f5618i1 != -1 || this.f5612c1 == 0 || super.G()) {
            return;
        }
        String str = "hw_sync_id=" + AudioSystem.getAudioHwSyncForSession(this.f5612c1) + ";end_of_stream=true;endofstreamPTS=" + j2;
        Log.i("MediaCodecAudioTrackRenderer", "audioManager setParameters: " + str);
        AudioManager audioManager = this.f5619j1;
        if (audioManager != null) {
            audioManager.setParameters(str);
        }
    }

    protected void G1(AudioManager audioManager) {
        this.f5619j1 = audioManager;
    }

    public void H1(boolean z2) {
        if (z2) {
            this.f5609Z0.o0(0.0f);
        } else {
            this.f5609Z0.o0(1.0f);
        }
    }

    @Override // n.t, n.C
    protected void J(long j2) {
        if (j2 < 0) {
            j2 = 0 - j2;
        }
        super.J(j2);
        this.f5609Z0.b0();
        this.f5613d1 = j2;
        this.f5614e1 = true;
        this.f5630u1 = false;
        this.f5617h1 = false;
    }

    @Override // n.t
    protected void R0(y yVar) {
        this.f5611b1 = "audio/raw".equals(yVar.f5857a.f5842g) ? yVar.f5857a.f5843g0 : 2;
        super.R0(yVar);
    }

    @Override // n.t
    protected void T0(MediaCodec mediaCodec, MediaFormat mediaFormat) {
        String string;
        if (mediaCodec != null) {
            MediaFormat mediaFormat2 = this.f5610a1;
            boolean z2 = mediaFormat2 != null;
            string = z2 ? mediaFormat2.getString("mime") : "audio/raw";
            if (z2) {
                mediaFormat = this.f5610a1;
            }
        } else {
            MediaFormat mediaFormat3 = this.f5610a1;
            if (mediaFormat3 != null) {
                mediaFormat = mediaFormat3;
            }
            string = mediaFormat.getString("mime");
        }
        if (!super.G() && b0.n.e() && y0() != -1) {
            int audioHwSyncForSession = AudioSystem.getAudioHwSyncForSession(this.f5612c1);
            String str = "hw_sync_id=" + audioHwSyncForSession + ";ignore_pause=true";
            AudioManager audioManager = this.f5619j1;
            if (audioManager != null) {
                audioManager.setParameters(str);
                Log.i("MediaCodecAudioTrackRenderer", "sessionId=" + this.f5612c1 + ", hwSyncId=" + audioHwSyncForSession + ", set audio parameter:" + str);
            }
        }
        synchronized (this) {
            this.f5609Z0.i(string, mediaFormat, this.f5611b1, y0());
        }
    }

    @Override // n.t
    protected boolean V(String str) {
        return y0() != -1 ? this.f5609Z0.L(str) || "audio/raw".equals(str) : ("audio/mp4a-latm".equals(str) || "audio/mp4a-latm-hw".equals(str) || !this.f5609Z0.L(str)) ? false : true;
    }

    @Override // n.t
    protected void V0() {
        this.f5609Z0.z();
    }

    @Override // n.t
    protected boolean Y() {
        long jV = this.f5609Z0.v();
        if (this.f5626q1 != jV) {
            this.f5626q1 = jV;
            this.f5627r1 = false;
            return false;
        }
        if (jV < this.f5609Z0.r()) {
            this.f5627r1 = true;
            return true;
        }
        this.f5627r1 = false;
        return false;
    }

    /* JADX WARN: Removed duplicated region for block: B:28:0x00bb  */
    /* JADX WARN: Removed duplicated region for block: B:32:0x00cd  */
    /* JADX WARN: Type inference failed for: r5v31 */
    /* JADX WARN: Type inference failed for: r5v37 */
    /* JADX WARN: Type inference failed for: r5v6, types: [boolean, int] */
    @Override // n.t
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected boolean Z0(long r22, long r24, android.media.MediaCodec r26, java.nio.ByteBuffer r27, android.media.MediaCodec.BufferInfo r28, int r29, boolean r30) throws n.C0643i {
        /*
            Method dump skipped, instruction units count: 962
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: n.q.Z0(long, long, android.media.MediaCodec, java.nio.ByteBuffer, android.media.MediaCodec$BufferInfo, int, boolean):boolean");
    }

    @Override // n.o
    public long a() {
        long jS;
        synchronized (this) {
            jS = this.f5609Z0.s(n());
        }
        if (jS != Long.MIN_VALUE) {
            if (!this.f5614e1) {
                jS = Math.max(this.f5613d1, jS);
            }
            this.f5613d1 = jS;
            this.f5614e1 = false;
        }
        return this.f5613d1;
    }

    @Override // n.t, n.C, n.G, n.j.a
    public void b(int i2, Object obj) {
        String str;
        String str2 = HttpUrl.FRAGMENT_ENCODE_SET;
        if (i2 == 1025) {
            this.f5739z0 = ((Long) obj).longValue();
            if (!this.f5609Z0.J() || this.f5612c1 <= 0) {
                Log.e("MediaCodecAudioTrackRenderer", "no need set audio targetpts=" + this.f5739z0 + ", session=" + this.f5612c1);
            }
            if (!super.G()) {
                int audioHwSyncForSession = AudioSystem.getAudioHwSyncForSession(this.f5612c1);
                str2 = this.f5739z0 != -1 ? HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + audioHwSyncForSession + ";mute=true;targetPTS=" + this.f5739z0 : HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + audioHwSyncForSession + ";mute=false;targetPTS=invalid";
                this.f5619j1.setParameters(str2);
            }
            Log.i("MediaCodecAudioTrackRenderer", "handle hbbtv set audio targetpts=" + this.f5739z0 + ", para=" + str2);
            return;
        }
        if (i2 == 1034) {
            boolean zBooleanValue = ((Boolean) obj).booleanValue();
            if (!this.f5609Z0.J() || this.f5612c1 <= 0) {
                if (!zBooleanValue) {
                    this.f5624o1 = false;
                    Log.i("MediaCodecAudioTrackRenderer", "hbbtv don't save pause audio init setting");
                    return;
                }
                this.f5624o1 = true;
                Log.e("MediaCodecAudioTrackRenderer", "hbbtv save pause audio init setting, session=" + this.f5612c1);
                return;
            }
            if (!super.G()) {
                int audioHwSyncForSession2 = AudioSystem.getAudioHwSyncForSession(this.f5612c1);
                if (zBooleanValue) {
                    str = HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + audioHwSyncForSession2 + ";pause_sync_initial=true";
                    this.f5609Z0.j0(1);
                    this.f5625p1 = true;
                } else {
                    str = HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + audioHwSyncForSession2 + ";pause_sync_initial=false";
                    this.f5609Z0.j0(2);
                }
                str2 = str;
                this.f5624o1 = zBooleanValue;
                this.f5619j1.setParameters(str2);
            }
            Log.i("MediaCodecAudioTrackRenderer", "hbbtv set audio preload play, para=" + str2);
            return;
        }
        switch (i2) {
            case 1:
                this.f5622m1 = ((Float) obj).floatValue();
                if (!b0.n.e()) {
                    this.f5609Z0.o0(this.f5622m1);
                } else if (!this.f5609Z0.J()) {
                    this.f5623n1 = true;
                } else {
                    this.f5609Z0.o0(this.f5622m1);
                }
                break;
            case 2:
                this.f5609Z0.k0((PlaybackParams) obj);
                break;
            case 3:
                if (this.f5609Z0.m0(((Integer) obj).intValue())) {
                    this.f5612c1 = 0;
                }
                break;
            case 4:
                this.f5618i1 = ((Integer) obj).intValue();
                Log.d("MediaCodecAudioTrackRenderer", "Setting hwsync id=" + this.f5618i1);
                break;
            case 5:
                this.f5620k1 = (String) obj;
                if (!this.f5609Z0.J() || this.f5612c1 <= 0) {
                    this.f5621l1 = true;
                } else if (!this.f5609Z0.K(this.f5620k1)) {
                    String str3 = super.G() ? this.f5620k1 : this.f5620k1 + ";hw_sync_id=" + AudioSystem.getAudioHwSyncForSession(this.f5612c1);
                    AudioManager audioManager = this.f5619j1;
                    if (audioManager != null) {
                        audioManager.setParameters(str3);
                        Log.i("MediaCodecAudioTrackRenderer", "sessionId=" + this.f5612c1 + ", hwSyncId=" + this.f5618i1 + ", set audio parameter:" + str3);
                    }
                }
                Log.i("MediaCodecAudioTrackRenderer", "handle MSG_SET_PRESELECT_SETTING, Id=" + this.f5612c1 + ",nS=" + this.f5621l1 + ",info = " + this.f5620k1);
                break;
            case 6:
                boolean zBooleanValue2 = ((Boolean) obj).booleanValue();
                int i3 = this.f5618i1;
                if (i3 != -1 && this.f5609Z0.J() && this.f5612c1 > 0) {
                    int i4 = this.f5618i1;
                    if (((-65536) & i4) != 0) {
                        i3 = 65535 & i4;
                    }
                    String str4 = zBooleanValue2 ? HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + i3 + ";sync_with_stc=true" : HttpUrl.FRAGMENT_ENCODE_SET + "hw_sync_id=" + i3 + ";sync_with_stc=false";
                    this.f5619j1.setParameters(str4);
                    Log.i("MediaCodecAudioTrackRenderer", "hbbtv set audio sync parameter, para=" + str4);
                    break;
                }
                break;
            default:
                super.b(i2, obj);
                break;
        }
    }

    @Override // n.t
    protected void h0(MediaCodec mediaCodec, boolean z2, MediaFormat mediaFormat, MediaCrypto mediaCrypto) {
        String string = mediaFormat.getString("mime");
        if (mediaFormat.containsKey("encoder-delay")) {
            mediaFormat.setInteger("encoder-delay", 0);
        }
        if (mediaFormat.containsKey("encoder-padding")) {
            mediaFormat.setInteger("encoder-padding", 0);
        }
        if (!this.f5721q0) {
            mediaCodec.configure(mediaFormat, (Surface) null, mediaCrypto, 0);
            this.f5610a1 = null;
            return;
        }
        mediaFormat.setString("mime", "audio/raw");
        if (mediaFormat.containsKey("csd-0")) {
            Log.i("MediaCodecAudioTrackRenderer", "Restore csd and Remove audio csd key from format");
            this.f5695S0 = mediaFormat.getByteBuffer("csd-0");
            mediaFormat.removeKey("csd-0");
        }
        mediaCodec.configure(mediaFormat, (Surface) null, mediaCrypto, 0);
        mediaFormat.setString("mime", string);
        this.f5610a1 = mediaFormat;
    }

    @Override // n.G
    protected o k() {
        return this;
    }

    @Override // n.t
    public void l1(int i2) {
        AbstractC0399d.a(i2 > 0);
        super.l1(i2);
    }

    @Override // n.t, n.G
    protected boolean n() {
        if (b0.n.e() && super.n() && (y0() != -1 || this.f5630u1)) {
            return true;
        }
        return super.n() && (!this.f5609Z0.B() || this.f5630u1 || !this.f5609Z0.N() || this.f5627r1);
    }

    @Override // n.t, n.G
    protected boolean o() {
        boolean z2 = super.o() || this.f5609Z0.B();
        if (b0.n.e() && this.f5618i1 != -1 && this.f5609Z0.J() && this.f5612c1 > 0 && !z2) {
            long jS = this.f5609Z0.s(n());
            if (jS != Long.MIN_VALUE && this.f5628s1 > 1000000 + jS) {
                b0.o.c("MediaCodecAudioTrackRenderer", 2, "currentpositionUs ", Long.valueOf(jS), ", lastsendus = ", Long.valueOf(this.f5628s1));
                return true;
            }
        }
        return z2;
    }

    @Override // n.t, n.C, n.G
    protected void q(long j2) {
        this.f5629t1.lock();
        this.f5612c1 = 0;
        try {
            this.f5609Z0.Y();
        } finally {
            super.q(j2);
            this.f5629t1.unlock();
        }
    }

    @Override // n.t
    protected C0640f q0(s sVar, String str, boolean z2) {
        return r0(sVar, str, z2, false);
    }

    /* JADX WARN: Removed duplicated region for block: B:28:0x004a  */
    @Override // n.t
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    protected n.C0640f r0(n.s r9, java.lang.String r10, boolean r11, boolean r12) {
        /*
            r8 = this;
            java.lang.String r0 = "audio/mp4a-latm"
            boolean r1 = r0.equals(r10)
            r2 = 0
            java.lang.String r3 = "MediaCodecAudioTrackRenderer"
            r4 = -1
            if (r1 == 0) goto L2b
            boolean r1 = super.G()
            if (r1 == 0) goto L2b
            int r1 = r8.f5618i1
            if (r1 != r4) goto L2b
            boolean r1 = b0.n.e()
            if (r1 == 0) goto L2b
            n.x r1 = r8.f5672H
            if (r1 == 0) goto L2b
            int r1 = r1.f5840e0
            r5 = 2
            if (r1 > r5) goto L2b
            java.lang.String r1 = "hbbtv mp4a-latm audio only use hw decoder"
            android.util.Log.i(r3, r1)
            goto L53
        L2b:
            int r1 = r8.y0()
            r5 = 1
            if (r1 == r4) goto L34
            r1 = r5
            goto L35
        L34:
            r1 = r2
        L35:
            boolean r6 = r8.t1(r10)
            if (r6 == 0) goto L53
            n.x r6 = r8.f5672H
            if (r6 == 0) goto L4a
            int r7 = r8.f5618i1
            if (r7 == r4) goto L44
            r1 = r5
        L44:
            boolean r1 = o.C0648b.d(r6, r1)
            if (r1 == 0) goto L53
        L4a:
            n.f r1 = r9.b()
            if (r1 == 0) goto L53
            r8.f5721q0 = r5
            return r1
        L53:
            r8.f5721q0 = r2
            boolean r0 = r0.equals(r10)
            if (r0 == 0) goto L72
            n.x r0 = r8.f5672H
            if (r0 == 0) goto L72
            java.lang.String r10 = "If AAC don't support passthrough mode, prefer to use hw decoder"
            android.util.Log.i(r3, r10)
            n.x r10 = r8.f5672H
            android.media.MediaFormat r10 = r8.u0(r10)
            java.lang.String r0 = "mime"
            java.lang.String r1 = "audio/mp4a-latm-hw"
            r10.setString(r0, r1)
            r10 = r1
        L72:
            n.f r9 = super.r0(r9, r10, r11, r12)
            return r9
        */
        throw new UnsupportedOperationException("Method not decompiled: n.q.r0(n.s, java.lang.String, boolean, boolean):n.f");
    }

    @Override // n.t, n.G
    protected void t() {
        super.t();
        if (b0.n.e() || y0() == -1 || !n() || !this.f5609Z0.J()) {
            this.f5609Z0.W();
            return;
        }
        this.f5609Z0.Y();
        this.f5630u1 = true;
        Log.d("MediaCodecAudioTrackRenderer", "Start called after EOS, auto release audioTrack.");
    }

    protected boolean t1(String str) {
        return this.f5609Z0.L(str);
    }

    @Override // n.t, n.G
    protected void u() {
        this.f5609Z0.U();
        super.u();
    }

    protected void u1() {
    }

    protected boolean v1() {
        return this.f5609Z0.B();
    }

    public boolean w1() {
        return this.f5609Z0.f5949t;
    }

    @Override // n.t
    protected boolean z0(s sVar, x xVar) {
        String str = xVar.f5842g;
        if (b0.k.d(str)) {
            return "audio/x-unknown".equals(str) || (t1(str) && sVar.b() != null && C0648b.d(xVar, false)) || sVar.c(str, false) != null || "audio/eac3-joc".equals(str);
        }
        return false;
    }

    public q(InterfaceC0634B[] interfaceC0634BArr, s sVar, u.b bVar, boolean z2, Handler handler, f fVar, C0648b c0648b, int i2, String... strArr) {
        super((strArr == null || strArr.length == 0) ? HttpUrl.FRAGMENT_ENCODE_SET : strArr[0], interfaceC0634BArr, sVar, bVar, z2, handler, fVar);
        this.f5617h1 = false;
        this.f5618i1 = -1;
        this.f5621l1 = false;
        this.f5623n1 = false;
        this.f5624o1 = false;
        this.f5625p1 = false;
        this.f5626q1 = 0L;
        this.f5627r1 = false;
        this.f5628s1 = -1L;
        this.f5608Y0 = fVar;
        this.f5612c1 = 0;
        o.j jVar = new o.j(this.f5461c, c0648b, i2);
        this.f5609Z0 = jVar;
        jVar.i0(new a());
        this.f5630u1 = false;
        this.f5629t1 = new ReentrantLock();
    }
}
