package p138.p329.p351.p352.p354;

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

/* JADX INFO: renamed from: ދ.ށ.ކ.ހ.ބ.ނ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C6303<V> extends AbstractFutureC6298<V> {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public C6302<V, ?> f17646;

    public C6303(C6302<V, ?> c6302) {
        this.f17646 = c6302;
    }

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

    @Override // java.util.concurrent.Future
    public V get() throws ExecutionException {
        try {
            C6302<V, ?> c6302 = this.f17646;
            if (c6302 != null) {
                return c6302.m9539(0L, TimeUnit.SECONDS);
            }
            throw null;
        } catch (Throwable th) {
            throw new ExecutionException(th);
        }
    }

    @Override // java.util.concurrent.Future
    public V get(long j, TimeUnit timeUnit) throws ExecutionException {
        try {
            C6302<V, ?> c6302 = this.f17646;
            V vM9539 = c6302.m9539(j, timeUnit);
            if (vM9539 != null) {
                return vM9539;
            }
            throw c6302.f17641.mo1479(new TimeoutException("Timeout expired"));
        } catch (Throwable th) {
            throw new ExecutionException(th);
        }
    }

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

    /* JADX WARN: Removed duplicated region for block: B:8:0x0011  */
    @Override // java.util.concurrent.Future
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean isDone() {
        boolean z;
        C6302<V, ?> c6302 = this.f17646;
        c6302.f17642.lock();
        try {
            if (c6302.f17645 == 0) {
                z = c6302.f17644 != null;
            }
            return z;
        } finally {
            c6302.f17642.unlock();
        }
    }
}
