package X6FRs_4.EuDEkJe_12.KQgRr5e_0;

import X6FRs_4.KNBe_11.BVpCZyH_19;
import X6FRs_4.KNBe_11.RfjZ_21;
import X6FRs_4.KNBe_11.WwEq_13;
import X6FRs_4.KNBe_11.Xgtqvk_8;
import X6FRs_4.KNBe_11.YghfZG_14;
import X6FRs_4.KNBe_11.ZzDuCHW_20;
import X6FRs_4.Mqv2r_3.FSaI4_7;
import android.os.Bundle;
import android.util.Log;
import androidx.recyclerview.widget.RecyclerView;
import java.io.FileDescriptor;
import java.io.PrintWriter;
/* compiled from: LoaderManagerImpl.java */
/* loaded from: classes.dex */
public class QxJ9d_1 extends X6FRs_4.EuDEkJe_12.KQgRr5e_0.KQgRr5e_0 {
    public static boolean KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final PGPF6hQ_2 f355KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final Xgtqvk_8 f356KQgRr5e_0;

    /* compiled from: LoaderManagerImpl.java */
    /* loaded from: classes.dex */
    public static class PGPF6hQ_2 extends BVpCZyH_19 {
        public static final ZzDuCHW_20.KQgRr5e_0 KQgRr5e_0 = new KQgRr5e_0();

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public FSaI4_7<KQgRr5e_0> f360KQgRr5e_0 = new FSaI4_7<>();

        /* compiled from: LoaderManagerImpl.java */
        /* loaded from: classes.dex */
        public static class KQgRr5e_0 implements ZzDuCHW_20.KQgRr5e_0 {
            @Override // X6FRs_4.KNBe_11.ZzDuCHW_20.KQgRr5e_0
            public <T extends BVpCZyH_19> T KQgRr5e_0(Class<T> cls) {
                return new PGPF6hQ_2();
            }
        }

        public static PGPF6hQ_2 KQgRr5e_0(RfjZ_21 rfjZ_21) {
            return (PGPF6hQ_2) new ZzDuCHW_20(rfjZ_21, KQgRr5e_0).KQgRr5e_0(PGPF6hQ_2.class);
        }

        public void QxJ9d_1() {
            int KQgRr5e_02 = this.f360KQgRr5e_0.KQgRr5e_0();
            for (int i = 0; i < KQgRr5e_02; i++) {
                this.f360KQgRr5e_0.m494QxJ9d_1(i).PGPF6hQ_2();
            }
        }

        @Override // X6FRs_4.KNBe_11.BVpCZyH_19
        public void KQgRr5e_0() {
            super.KQgRr5e_0();
            if (this.f360KQgRr5e_0.KQgRr5e_0() <= 0) {
                this.f360KQgRr5e_0.m491KQgRr5e_0();
            } else {
                this.f360KQgRr5e_0.m494QxJ9d_1(0).KQgRr5e_0(true);
                throw null;
            }
        }

        public void KQgRr5e_0(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
            if (this.f360KQgRr5e_0.KQgRr5e_0() > 0) {
                printWriter.print(str);
                printWriter.println("Loaders:");
                String str2 = str + "    ";
                if (this.f360KQgRr5e_0.KQgRr5e_0() <= 0) {
                    return;
                }
                KQgRr5e_0 m494QxJ9d_1 = this.f360KQgRr5e_0.m494QxJ9d_1(0);
                printWriter.print(str);
                printWriter.print("  #");
                printWriter.print(this.f360KQgRr5e_0.QxJ9d_1(0));
                printWriter.print(": ");
                printWriter.println(m494QxJ9d_1.toString());
                m494QxJ9d_1.KQgRr5e_0(str2, fileDescriptor, printWriter, strArr);
                throw null;
            }
        }
    }

    /* compiled from: LoaderManagerImpl.java */
    /* renamed from: X6FRs_4.EuDEkJe_12.KQgRr5e_0.QxJ9d_1$QxJ9d_1  reason: collision with other inner class name */
    /* loaded from: classes.dex */
    public static class C0033QxJ9d_1<D> implements YghfZG_14<D> {
    }

    public QxJ9d_1(Xgtqvk_8 xgtqvk_8, RfjZ_21 rfjZ_21) {
        this.f356KQgRr5e_0 = xgtqvk_8;
        this.f355KQgRr5e_0 = PGPF6hQ_2.KQgRr5e_0(rfjZ_21);
    }

    @Override // X6FRs_4.EuDEkJe_12.KQgRr5e_0.KQgRr5e_0
    public void KQgRr5e_0() {
        this.f355KQgRr5e_0.QxJ9d_1();
    }

    public String toString() {
        StringBuilder sb = new StringBuilder((int) RecyclerView.WGk6X_27.FLAG_IGNORE);
        sb.append("LoaderManager{");
        sb.append(Integer.toHexString(System.identityHashCode(this)));
        sb.append(" in ");
        X6FRs_4.IMuAHx_6.KNBe_11.KQgRr5e_0.KQgRr5e_0(this.f356KQgRr5e_0, sb);
        sb.append("}}");
        return sb.toString();
    }

    /* compiled from: LoaderManagerImpl.java */
    /* loaded from: classes.dex */
    public static class KQgRr5e_0<D> extends WwEq_13<D> {
        public C0033QxJ9d_1<D> KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final X6FRs_4.EuDEkJe_12.QxJ9d_1.KQgRr5e_0<D> f357KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public Xgtqvk_8 f358KQgRr5e_0;

        /* renamed from: KQgRr5e_0  reason: collision with other field name */
        public final Bundle f359KQgRr5e_0;
        public final int PGPF6hQ_2;
        public X6FRs_4.EuDEkJe_12.QxJ9d_1.KQgRr5e_0<D> QxJ9d_1;

        @Override // androidx.lifecycle.LiveData
        public void KQgRr5e_0() {
            if (QxJ9d_1.KQgRr5e_0) {
                Log.v("LoaderManager", "  Starting: " + this);
            }
            this.f357KQgRr5e_0.QxJ9d_1();
            throw null;
        }

        public void PGPF6hQ_2() {
            Xgtqvk_8 xgtqvk_8 = this.f358KQgRr5e_0;
            C0033QxJ9d_1<D> c0033QxJ9d_1 = this.KQgRr5e_0;
            if (xgtqvk_8 == null || c0033QxJ9d_1 == null) {
                return;
            }
            super.KQgRr5e_0((YghfZG_14) c0033QxJ9d_1);
            KQgRr5e_0(xgtqvk_8, c0033QxJ9d_1);
        }

        @Override // androidx.lifecycle.LiveData
        public void QxJ9d_1() {
            if (QxJ9d_1.KQgRr5e_0) {
                Log.v("LoaderManager", "  Stopping: " + this);
            }
            this.f357KQgRr5e_0.PGPF6hQ_2();
            throw null;
        }

        public String toString() {
            StringBuilder sb = new StringBuilder(64);
            sb.append("LoaderInfo{");
            sb.append(Integer.toHexString(System.identityHashCode(this)));
            sb.append(" #");
            sb.append(this.PGPF6hQ_2);
            sb.append(" : ");
            X6FRs_4.IMuAHx_6.KNBe_11.KQgRr5e_0.KQgRr5e_0(this.f357KQgRr5e_0, sb);
            sb.append("}}");
            return sb.toString();
        }

        /* JADX WARN: Multi-variable type inference failed */
        @Override // androidx.lifecycle.LiveData
        public void KQgRr5e_0(YghfZG_14<? super D> yghfZG_14) {
            super.KQgRr5e_0((YghfZG_14) yghfZG_14);
            this.f358KQgRr5e_0 = null;
            this.KQgRr5e_0 = null;
        }

        public X6FRs_4.EuDEkJe_12.QxJ9d_1.KQgRr5e_0<D> KQgRr5e_0(boolean z) {
            if (QxJ9d_1.KQgRr5e_0) {
                Log.v("LoaderManager", "  Destroying: " + this);
            }
            this.f357KQgRr5e_0.m210KQgRr5e_0();
            throw null;
        }

        @Override // X6FRs_4.KNBe_11.WwEq_13, androidx.lifecycle.LiveData
        public void KQgRr5e_0(D d) {
            super.KQgRr5e_0((KQgRr5e_0<D>) d);
            X6FRs_4.EuDEkJe_12.QxJ9d_1.KQgRr5e_0<D> kQgRr5e_0 = this.QxJ9d_1;
            if (kQgRr5e_0 == null) {
                return;
            }
            kQgRr5e_0.KQgRr5e_0();
            throw null;
        }

        public void KQgRr5e_0(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
            printWriter.print(str);
            printWriter.print("mId=");
            printWriter.print(this.PGPF6hQ_2);
            printWriter.print(" mArgs=");
            printWriter.println(this.f359KQgRr5e_0);
            printWriter.print(str);
            printWriter.print("mLoader=");
            printWriter.println(this.f357KQgRr5e_0);
            X6FRs_4.EuDEkJe_12.QxJ9d_1.KQgRr5e_0<D> kQgRr5e_0 = this.f357KQgRr5e_0;
            kQgRr5e_0.KQgRr5e_0(str + "  ", fileDescriptor, printWriter, strArr);
            throw null;
        }
    }

    @Override // X6FRs_4.EuDEkJe_12.KQgRr5e_0.KQgRr5e_0
    @Deprecated
    public void KQgRr5e_0(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr) {
        this.f355KQgRr5e_0.KQgRr5e_0(str, fileDescriptor, printWriter, strArr);
    }
}
