package defpackage;

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

/* JADX INFO: renamed from: ʿᵻˀ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0486 extends AbstractFutureC1396 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public C2859 f2588;

    @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.f2588.m6848(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 {
            C2859 c2859 = this.f2588;
            Object objM6848 = c2859.m6848(j, timeUnit);
            if (objM6848 != null) {
                return objM6848;
            }
            throw ((C5314) c2859.f10955).m10899(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.
    */
    public final boolean isDone() {
        boolean z;
        C2859 c2859 = this.f2588;
        ReentrantLock reentrantLock = (ReentrantLock) c2859.f10956;
        reentrantLock.lock();
        try {
            if (((Throwable) c2859.f10952) == null) {
                z = ((AbstractC1899) c2859.f10950) != null;
            }
            return z;
        } finally {
            reentrantLock.unlock();
        }
    }
}
