package l1;

import T0.j;
import d3.V0;
import java.io.EOFException;
import java.io.InterruptedIOException;
import java.util.ArrayDeque;

/* JADX INFO: renamed from: l1.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1121b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final byte[] f14257a = new byte[8];

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final ArrayDeque f14258b = new ArrayDeque();

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final C1124e f14259c = new C1124e();

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public V0 f14260d;

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public int f14262f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public long f14263g;

    public final long a(j jVar, int i) throws EOFException, InterruptedIOException {
        byte[] bArr = this.f14257a;
        jVar.c(bArr, 0, i, false);
        long j8 = 0;
        for (int i5 = 0; i5 < i; i5++) {
            j8 = (j8 << 8) | ((long) (bArr[i5] & 255));
        }
        return j8;
    }
}
