discord-jadx/app/src/main/java/c/i/a/c/a2/h0/p.java

55 lines
1.5 KiB
Java

package c.i.a.c.a2.h0;
import c.i.a.c.i2.f0;
import com.airbnb.lottie.parser.AnimatableValueParser;
/* compiled from: TrackSampleTable */
public final class p {
public final m a;
public final int b;
/* renamed from: c reason: collision with root package name */
public final long[] f702c;
public final int[] d;
public final int e;
public final long[] f;
public final int[] g;
public final long h;
public p(m mVar, long[] jArr, int[] iArr, int i, long[] jArr2, int[] iArr2, long j) {
boolean z2 = false;
AnimatableValueParser.k(iArr.length == jArr2.length);
AnimatableValueParser.k(jArr.length == jArr2.length);
AnimatableValueParser.k(iArr2.length == jArr2.length ? true : z2);
this.a = mVar;
this.f702c = jArr;
this.d = iArr;
this.e = i;
this.f = jArr2;
this.g = iArr2;
this.h = j;
this.b = jArr.length;
if (iArr2.length > 0) {
int length = iArr2.length - 1;
iArr2[length] = iArr2[length] | 536870912;
}
}
public int a(long j) {
for (int e = f0.e(this.f, j, true, false); e >= 0; e--) {
if ((this.g[e] & 1) != 0) {
return e;
}
}
return -1;
}
public int b(long j) {
for (int b = f0.b(this.f, j, true, false); b < this.f.length; b++) {
if ((this.g[b] & 1) != 0) {
return b;
}
}
return -1;
}
}