package defpackage;

import com.google.common.util.concurrent.ListenableFuture;
import java.io.File;

/* JADX INFO: renamed from: ˌˁˊˇ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C1576 extends AbstractC4516 implements InterfaceC0778 {

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final /* synthetic */ Object f6314;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final /* synthetic */ int f6315;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C1576(int i, Object obj) {
        super(1);
        this.f6315 = i;
        this.f6314 = obj;
    }

    @Override // defpackage.InterfaceC0778
    /* JADX INFO: renamed from: ʽˈˋ */
    public final Object mo1706(Object obj) {
        int i = this.f6315;
        C5063 c5063 = C5063.f19112;
        Object obj2 = this.f6314;
        switch (i) {
            case 0:
                Throwable th = (Throwable) obj;
                C4861 c4861 = (C4861) obj2;
                C5127 c5127 = c4861.f18537;
                if (th != null) {
                    c4861.f18533.m2237(new C0528(th));
                }
                if (c5127.m10627()) {
                    ((C1949) c5127.getValue()).close();
                }
                return c5063;
            case 1:
                ((ListenableFuture) obj2).cancel(false);
                return c5063;
            default:
                return new C1201(((C5426) obj2).f20593, (File) obj);
        }
    }
}
