package defpackage;

/* JADX INFO: renamed from: ᵯʿﹳ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C4281 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final long f16340;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final String f16341;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final long f16342;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public int f16343;

    public C4281(long j, long j2, String str) {
        this.f16341 = str == null ? "" : str;
        this.f16342 = j;
        this.f16340 = j2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || C4281.class != obj.getClass()) {
            return false;
        }
        C4281 c4281 = (C4281) obj;
        return this.f16342 == c4281.f16342 && this.f16340 == c4281.f16340 && this.f16341.equals(c4281.f16341);
    }

    public final int hashCode() {
        if (this.f16343 == 0) {
            this.f16343 = this.f16341.hashCode() + ((((527 + ((int) this.f16342)) * 31) + ((int) this.f16340)) * 31);
        }
        return this.f16343;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("RangedUri(referenceUri=");
        sb.append(this.f16341);
        sb.append(", start=");
        sb.append(this.f16342);
        sb.append(", length=");
        return AbstractC0793.m2870(sb, this.f16340, ")");
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final C4281 m9260(C4281 c4281, String str) {
        String str2 = ᵶᵦ.ᵔᵖᵹᵫ(str, this.f16341);
        if (c4281 == null) {
            return null;
        }
        long j = c4281.f16340;
        if (!str2.equals(ᵶᵦ.ᵔᵖᵹᵫ(str, c4281.f16341))) {
            return null;
        }
        long j2 = this.f16340;
        if (j2 != -1) {
            long j3 = this.f16342;
            if (j3 + j2 == c4281.f16342) {
                return new C4281(j3, j != -1 ? j2 + j : -1L, str2);
            }
        }
        if (j == -1) {
            return null;
        }
        long j4 = c4281.f16342;
        if (j4 + j == this.f16342) {
            return new C4281(j4, j2 != -1 ? j + j2 : -1L, str2);
        }
        return null;
    }
}
