- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
60 lines
1.8 KiB
Java
60 lines
1.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.i2;
|
|
import com.applovin.impl.w8;
|
|
import java.util.Objects;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class u8 extends i2 {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public u8(final a9 a9Var, int i, long j, long j2) {
|
|
super(new i2.d() { // from class: com.applovin.impl.u8$$ExternalSyntheticLambda0
|
|
@Override // com.applovin.impl.i2.d
|
|
public final long a(long j3) {
|
|
return a9.this.a(j3);
|
|
}
|
|
}, new b(a9Var, i), a9Var.b(), 0L, a9Var.j, j, j2, a9Var.a(), Math.max(6, a9Var.c));
|
|
Objects.requireNonNull(a9Var);
|
|
}
|
|
|
|
public static final class b implements i2.f {
|
|
private final a9 a;
|
|
private final int b;
|
|
private final w8.a c;
|
|
|
|
private b(a9 a9Var, int i) {
|
|
this.a = a9Var;
|
|
this.b = i;
|
|
this.c = new w8.a();
|
|
}
|
|
|
|
private long a(l8 l8Var) {
|
|
while (l8Var.d() < l8Var.a() - 6 && !w8.a(l8Var, this.a, this.b, this.c)) {
|
|
l8Var.c(1);
|
|
}
|
|
if (l8Var.d() >= l8Var.a() - 6) {
|
|
l8Var.c((int) (l8Var.a() - l8Var.d()));
|
|
return this.a.j;
|
|
}
|
|
return this.c.a;
|
|
}
|
|
|
|
@Override // com.applovin.impl.i2.f
|
|
public i2.e a(l8 l8Var, long j) {
|
|
long f = l8Var.f();
|
|
long a = a(l8Var);
|
|
long d = l8Var.d();
|
|
l8Var.c(Math.max(6, this.a.c));
|
|
long a2 = a(l8Var);
|
|
long d2 = l8Var.d();
|
|
if (a <= j && a2 > j) {
|
|
return i2.e.a(d);
|
|
}
|
|
if (a2 <= j) {
|
|
return i2.e.b(a2, d2);
|
|
}
|
|
return i2.e.a(a, f);
|
|
}
|
|
}
|
|
}
|