package defpackage;

import com.google.android.gms.internal.measurement.zzsk;
import java.io.Closeable;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicInteger;

/* renamed from: ᵧʣᵺʧ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3619 implements InterfaceC4442 {

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

    static {
        new AtomicInteger();
    }

    @Override // defpackage.InterfaceC4442
    /* renamed from: ˇʼʤˎ */
    public final Object mo2355(C1770 c1770) throws IOException {
        if (this.f13494) {
            if (c1770.f7147.isEmpty()) {
                return c1770.f7146.mo2020(c1770.f7148);
            }
            throw new zzsk("Short circuit would skip transforms.");
        }
        Closeable closeable = ᵸᵡˋʧ.ˑᵥˁ(c1770);
        try {
            if (!(closeable instanceof InterfaceC4660)) {
                throw new IOException("Not convertible and fallback to pipe is disabled.");
            }
            File fileMo8845 = ((InterfaceC4660) closeable).mo8845();
            if (closeable != null) {
                closeable.close();
            }
            return fileMo8845;
        } catch (Throwable th) {
            if (closeable != null) {
                try {
                    closeable.close();
                } catch (Throwable th2) {
                    th.addSuppressed(th2);
                }
            }
            throw th;
        }
    }
}
