package B;

import h1.C2069a;
import n.C2584k;

/* JADX INFO: loaded from: classes.dex */
public final class U {

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

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

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

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

    public U(C0050a0 c0050a0, long j4, int i6, int i7) {
        this.f187a = c0050a0;
        this.f188b = j4;
        this.f189c = i6;
        this.f190d = i7;
    }

    public final AbstractC0057e a(T t6, boolean z6, int i6, int i7, int i8, int i9) {
        if (!t6.f180b) {
            return null;
        }
        this.f187a.getClass();
        Y y6 = Y.f225a;
        return null;
    }

    public final T b(boolean z6, int i6, long j4, C2584k c2584k, int i7, int i8, int i9, boolean z7, boolean z8) {
        int i10 = i8 + i9;
        if (c2584k == null) {
            return new T(true, true);
        }
        this.f187a.getClass();
        Y y6 = Y.f225a;
        Y y7 = Y.f225a;
        if (i7 < Integer.MAX_VALUE) {
            int i11 = (int) (j4 & 4294967295L);
            long j6 = c2584k.f21452a;
            if (i11 - ((int) (j6 & 4294967295L)) >= 0) {
                if (i6 != 0 && (i6 >= Integer.MAX_VALUE || ((int) (j4 >> 32)) - ((int) (j6 >> 32)) < 0)) {
                    return z7 ? new T(true, true) : new T(true, b(z6, 0, C2584k.a(C2069a.h(this.f188b), (((int) (j4 & 4294967295L)) - this.f190d) - i9), new C2584k(C2584k.a(((int) (j6 >> 32)) - this.f189c, (int) (4294967295L & j6))), i7 + 1, i10, 0, true, false).f180b);
                }
                Math.max(i9, (int) (j6 & 4294967295L));
                return new T(false, false);
            }
        }
        return new T(true, true);
    }
}
