package IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.FSaI4_7;

import IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Xgtqvk_8.Xgtqvk_8;
import java.io.IOException;
import java.net.SocketException;
/* compiled from: DownloadCache.java */
/* loaded from: classes.dex */
public class Mqv2r_3 {

    /* renamed from: IFxWkV_5  reason: collision with root package name */
    public volatile boolean f3049IFxWkV_5;
    public final IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.XnFJ5_9.Mqv2r_3 KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public volatile IOException f80KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public String f81KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public volatile boolean f82KQgRr5e_0;

    /* renamed from: Mqv2r_3  reason: collision with root package name */
    public volatile boolean f3050Mqv2r_3;
    public volatile boolean PGPF6hQ_2;
    public volatile boolean QxJ9d_1;

    /* renamed from: X6FRs_4  reason: collision with root package name */
    public volatile boolean f3051X6FRs_4;

    /* compiled from: DownloadCache.java */
    /* loaded from: classes.dex */
    public static class KQgRr5e_0 extends Mqv2r_3 {
        public KQgRr5e_0(IOException iOException) {
            super(null);
            X6FRs_4(iOException);
        }
    }

    public Mqv2r_3(IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.XnFJ5_9.Mqv2r_3 mqv2r_3) {
        this.KQgRr5e_0 = mqv2r_3;
    }

    public boolean IFxWkV_5() {
        return this.f3050Mqv2r_3;
    }

    public boolean IMuAHx_6() {
        return this.QxJ9d_1;
    }

    public IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.XnFJ5_9.Mqv2r_3 KQgRr5e_0() {
        IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.XnFJ5_9.Mqv2r_3 mqv2r_3 = this.KQgRr5e_0;
        if (mqv2r_3 != null) {
            return mqv2r_3;
        }
        throw new IllegalArgumentException();
    }

    public boolean Mqv2r_3() {
        return this.f82KQgRr5e_0;
    }

    public boolean PGPF6hQ_2() {
        return this.f3049IFxWkV_5;
    }

    /* renamed from: QxJ9d_1  reason: collision with other method in class */
    public boolean m52QxJ9d_1() {
        return this.f82KQgRr5e_0 || this.QxJ9d_1 || this.PGPF6hQ_2 || this.f3050Mqv2r_3 || this.f3051X6FRs_4 || this.f3049IFxWkV_5;
    }

    public boolean X6FRs_4() {
        return this.PGPF6hQ_2;
    }

    public void KQgRr5e_0(String str) {
        this.f81KQgRr5e_0 = str;
    }

    public void Mqv2r_3(IOException iOException) {
        this.PGPF6hQ_2 = true;
        this.f80KQgRr5e_0 = iOException;
    }

    public void PGPF6hQ_2(IOException iOException) {
        this.f82KQgRr5e_0 = true;
        this.f80KQgRr5e_0 = iOException;
    }

    public void QxJ9d_1() {
        this.QxJ9d_1 = true;
    }

    public void X6FRs_4(IOException iOException) {
        this.f3050Mqv2r_3 = true;
        this.f80KQgRr5e_0 = iOException;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public String m49KQgRr5e_0() {
        return this.f81KQgRr5e_0;
    }

    public void QxJ9d_1(IOException iOException) {
        this.f3049IFxWkV_5 = true;
        this.f80KQgRr5e_0 = iOException;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m51KQgRr5e_0() {
        return this.f3051X6FRs_4;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public IOException m48KQgRr5e_0() {
        return this.f80KQgRr5e_0;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public void m50KQgRr5e_0() {
        this.f3051X6FRs_4 = true;
    }

    public void KQgRr5e_0(IOException iOException) {
        if (IMuAHx_6()) {
            return;
        }
        if (iOException instanceof IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Xgtqvk_8.IFxWkV_5) {
            PGPF6hQ_2(iOException);
        } else if (iOException instanceof Xgtqvk_8) {
            Mqv2r_3(iOException);
        } else if (iOException == IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Xgtqvk_8.QxJ9d_1.KQgRr5e_0) {
            m50KQgRr5e_0();
        } else if (iOException instanceof IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Xgtqvk_8.X6FRs_4) {
            QxJ9d_1(iOException);
        } else if (iOException != IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.Xgtqvk_8.PGPF6hQ_2.KQgRr5e_0) {
            X6FRs_4(iOException);
            if (iOException instanceof SocketException) {
                return;
            }
            IMuAHx_6.KQgRr5e_0.KQgRr5e_0.XnFJ5_9.PGPF6hQ_2.KQgRr5e_0("DownloadCache", "catch unknown error " + iOException);
        }
    }
}
