package q;

/* JADX INFO: renamed from: q.p0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2794p0 implements I0 {

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

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

    public C2794p0(I0 i02, long j4) {
        this.f23403a = i02;
        this.f23404b = j4;
    }

    @Override // q.I0
    public final boolean a() {
        return this.f23403a.a();
    }

    @Override // q.I0
    public final long b(AbstractC2798s abstractC2798s, AbstractC2798s abstractC2798s2, AbstractC2798s abstractC2798s3) {
        return this.f23403a.b(abstractC2798s, abstractC2798s2, abstractC2798s3) + this.f23404b;
    }

    @Override // q.I0
    public final AbstractC2798s c(long j4, AbstractC2798s abstractC2798s, AbstractC2798s abstractC2798s2, AbstractC2798s abstractC2798s3) {
        long j6 = this.f23404b;
        return j4 < j6 ? abstractC2798s : this.f23403a.c(j4 - j6, abstractC2798s, abstractC2798s2, abstractC2798s3);
    }

    @Override // q.I0
    public final AbstractC2798s d(long j4, AbstractC2798s abstractC2798s, AbstractC2798s abstractC2798s2, AbstractC2798s abstractC2798s3) {
        long j6 = this.f23404b;
        return j4 < j6 ? abstractC2798s3 : this.f23403a.d(j4 - j6, abstractC2798s, abstractC2798s2, abstractC2798s3);
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof C2794p0)) {
            return false;
        }
        C2794p0 c2794p0 = (C2794p0) obj;
        return c2794p0.f23404b == this.f23404b && kotlin.jvm.internal.o.c(c2794p0.f23403a, this.f23403a);
    }

    public final int hashCode() {
        return Long.hashCode(this.f23404b) + (this.f23403a.hashCode() * 31);
    }
}
