package c.i.a.c.h2.y; import androidx.annotation.Nullable; import java.util.ArrayList; import java.util.TreeSet; /* compiled from: CachedContent */ public final class i { public final int a; public final String b; /* renamed from: c reason: collision with root package name */ public final TreeSet f896c = new TreeSet<>(); public final ArrayList d = new ArrayList<>(); public n e; /* compiled from: CachedContent */ public static final class a { public final long a; public final long b; public a(long j, long j2) { this.a = j; this.b = j2; } } public i(int i, String str, n nVar) { this.a = i; this.b = str; this.e = nVar; } /* JADX WARNING: Code restructure failed: missing block: B:14:0x0035, code lost: if ((r11 + r13) <= (r5 + r3)) goto L_0x0021; */ /* JADX WARNING: Code restructure failed: missing block: B:6:0x001f, code lost: if (r11 >= r2.a) goto L_0x0021; */ /* JADX WARNING: Removed duplicated region for block: B:17:0x003b A[LOOP:0: B:1:0x0002->B:17:0x003b, LOOP_END] */ /* JADX WARNING: Removed duplicated region for block: B:20:0x003a A[SYNTHETIC] */ public boolean a(long j, long j2) { boolean z2; for (int i = 0; i < this.d.size(); i++) { a aVar = this.d.get(i); long j3 = aVar.b; if (j3 != -1) { if (j2 != -1) { long j4 = aVar.a; if (j4 <= j) { } } z2 = false; if (!z2) { return true; } } z2 = true; if (!z2) { } } return false; } public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } if (obj == null || i.class != obj.getClass()) { return false; } i iVar = (i) obj; return this.a == iVar.a && this.b.equals(iVar.b) && this.f896c.equals(iVar.f896c) && this.e.equals(iVar.e); } public int hashCode() { return this.e.hashCode() + c.d.b.a.a.m(this.b, this.a * 31, 31); } }