package g6;

import com.bytedance.sdk.openadsdk.core.fhx.yz.lb;

/* JADX INFO: loaded from: classes.dex */
public final class n implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public long f26263a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public boolean f26264b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ o f26265c;

    public n(lb lbVar) {
        this.f26265c = lbVar;
    }

    @Override // java.lang.Runnable
    public final void run() {
        long currentPosition;
        o oVar = this.f26265c;
        if (oVar.vt != null) {
            try {
                if (!this.f26264b) {
                    j jVar = (j) oVar.vt;
                    jVar.getClass();
                    try {
                        currentPosition = jVar.f26249i.getCurrentPosition();
                    } catch (Throwable unused) {
                        currentPosition = 0;
                    }
                    oVar.fhx = Math.max(this.f26263a, currentPosition);
                }
                long unused2 = oVar.fhx;
            } catch (Throwable th) {
                th.toString();
            }
        }
        if (oVar.irt != null) {
            oVar.irt.sendEmptyMessageDelayed(100, 0L);
        }
    }
}
