package defpackage;

import java.lang.ref.WeakReference;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;

/* renamed from: ˈٴ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1053 extends Thread {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final long f4571;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final WeakReference f4572;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final CountDownLatch f4574 = new CountDownLatch(1);

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public boolean f4573 = false;

    public C1053(C4106 c4106, long j) {
        this.f4572 = new WeakReference(c4106);
        this.f4571 = j;
        start();
    }

    @Override // java.lang.Thread, java.lang.Runnable
    public final void run() {
        C4106 c4106;
        WeakReference weakReference = this.f4572;
        try {
            if (this.f4574.await(this.f4571, TimeUnit.MILLISECONDS) || (c4106 = (C4106) weakReference.get()) == null) {
                return;
            }
            c4106.m8992();
            this.f4573 = true;
        } catch (InterruptedException unused) {
            C4106 c41062 = (C4106) weakReference.get();
            if (c41062 != null) {
                c41062.m8992();
                this.f4573 = true;
            }
        }
    }
}
