package defpackage;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

/* renamed from: ːﹳʚ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C2006 extends AbstractFutureC5055 {

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public C1818 f8058;

    @Override // java.util.concurrent.Future
    public final boolean cancel(boolean z) {
        return false;
    }

    @Override // java.util.concurrent.Future
    public final Object get() throws ExecutionException {
        try {
            return this.f8058.m5169(0L, TimeUnit.SECONDS);
        } catch (Throwable th) {
            throw new ExecutionException(th);
        }
    }

    @Override // java.util.concurrent.Future
    public final Object get(long j, TimeUnit timeUnit) throws ExecutionException {
        try {
            C1818 c1818 = this.f8058;
            Object objM5169 = c1818.m5169(j, timeUnit);
            if (objM5169 != null) {
                return objM5169;
            }
            throw ((C4912) c1818.f7390).m10352(new TimeoutException("Timeout expired"));
        } catch (Throwable th) {
            throw new ExecutionException(th);
        }
    }

    @Override // java.util.concurrent.Future
    public final boolean isCancelled() {
        return false;
    }

    /* JADX WARN: Removed duplicated region for block: B:10:0x0019  */
    @Override // java.util.concurrent.Future
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public final boolean isDone() {
        /*
            r2 = this;
            ˏˀ r2 = r2.f8058
            java.io.Serializable r0 = r2.f7388
            java.util.concurrent.locks.ReentrantLock r0 = (java.util.concurrent.locks.ReentrantLock) r0
            r0.lock()
            java.lang.Object r1 = r2.f7385     // Catch: java.lang.Throwable -> L17
            java.lang.Throwable r1 = (java.lang.Throwable) r1     // Catch: java.lang.Throwable -> L17
            if (r1 != 0) goto L19
            java.lang.Object r2 = r2.f7384     // Catch: java.lang.Throwable -> L17
            ˁˏˈ r2 = (defpackage.AbstractC0681) r2     // Catch: java.lang.Throwable -> L17
            if (r2 == 0) goto L19
            r2 = 1
            goto L1a
        L17:
            r2 = move-exception
            goto L1e
        L19:
            r2 = 0
        L1a:
            r0.unlock()
            return r2
        L1e:
            r0.unlock()
            throw r2
        */
        throw new UnsupportedOperationException("Method not decompiled: defpackage.C2006.isDone():boolean");
    }
}
