package defpackage;

/* renamed from: ˀᵺᵺʕ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0624 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final String f3112;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final long f3113;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final long f3114;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public int f3115;

    public C0624(long j, long j2, String str) {
        this.f3112 = str == null ? "" : str;
        this.f3113 = j;
        this.f3114 = j2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || C0624.class != obj.getClass()) {
            return false;
        }
        C0624 c0624 = (C0624) obj;
        return this.f3113 == c0624.f3113 && this.f3114 == c0624.f3114 && this.f3112.equals(c0624.f3112);
    }

    public final int hashCode() {
        if (this.f3115 == 0) {
            this.f3115 = this.f3112.hashCode() + ((((527 + ((int) this.f3113)) * 31) + ((int) this.f3114)) * 31);
        }
        return this.f3115;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("RangedUri(referenceUri=");
        sb.append(this.f3112);
        sb.append(", start=");
        sb.append(this.f3113);
        sb.append(", length=");
        return AbstractC3915.m8593(sb, this.f3114, ")");
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final C0624 m2507(C0624 c0624, String str) {
        String str2 = ˆᴵ.ᵢˇᵭ(str, this.f3112);
        if (c0624 == null) {
            return null;
        }
        long j = c0624.f3114;
        if (!str2.equals(ˆᴵ.ᵢˇᵭ(str, c0624.f3112))) {
            return null;
        }
        long j2 = this.f3114;
        if (j2 != -1) {
            long j3 = this.f3113;
            if (j3 + j2 == c0624.f3113) {
                return new C0624(j3, j != -1 ? j2 + j : -1L, str2);
            }
        }
        if (j == -1) {
            return null;
        }
        long j4 = c0624.f3113;
        if (j4 + j == this.f3113) {
            return new C0624(j4, j2 != -1 ? j + j2 : -1L, str2);
        }
        return null;
    }
}
