package p138.p176.p177.p190.p217.p219;

import p138.p176.p177.p190.C3431;
import p138.p176.p177.p190.p198.C3558;
import p138.p176.p177.p190.p198.InterfaceC3575;
import p138.p176.p177.p190.p238.C4098;
import p138.p176.p177.p190.p238.InterfaceC4095;
import p138.p176.p177.p190.p239.C4150;

/* JADX INFO: renamed from: ދ.ހ.֏.ؠ.ໞ.ޝ.ދ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C3851 extends AbstractC3833 {

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public final int f11874;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final C3431 f11875;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public long f11876;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public boolean f11877;

    public C3851(InterfaceC4095 interfaceC4095, C4098 c4098, C3431 c3431, int i, Object obj, long j, long j2, long j3, int i2, C3431 c34312) {
        super(interfaceC4095, c4098, c3431, i, obj, j, j2, -9223372036854775807L, -9223372036854775807L, j3);
        this.f11874 = i2;
        this.f11875 = c34312;
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0322
    /* JADX INFO: renamed from: ֏ */
    public void mo1299() {
        C3835 c3835 = this.f11800;
        c3835.m6213(0L);
        InterfaceC3575 interfaceC3575M6212 = c3835.m6212(0, this.f11874);
        interfaceC3575M6212.mo5884(this.f11875);
        try {
            long jMo1283 = this.f11812.mo1283(this.f11805.m6585(this.f11876));
            if (jMo1283 != -1) {
                jMo1283 += this.f11876;
            }
            C3558 c3558 = new C3558(this.f11812, this.f11876, jMo1283);
            for (int iMo5882 = 0; iMo5882 != -1; iMo5882 = interfaceC3575M6212.mo5882(c3558, Integer.MAX_VALUE, true)) {
                this.f11876 += (long) iMo5882;
            }
            interfaceC3575M6212.mo5883(this.f11810, 1, (int) this.f11876, 0, null);
            C4150.m6766((InterfaceC4095) this.f11812);
            this.f11877 = true;
        } catch (Throwable th) {
            C4150.m6766((InterfaceC4095) this.f11812);
            throw th;
        }
    }

    @Override // com.google.android.exoplayer2.upstream.Loader.InterfaceC0322
    /* JADX INFO: renamed from: ؠ */
    public void mo1300() {
    }

    @Override // p138.p176.p177.p190.p217.p219.AbstractC3848
    /* JADX INFO: renamed from: ށ */
    public boolean mo6234() {
        return this.f11877;
    }
}
