package android.support.v7.widget;

import android.support.v4.view.s;
import android.support.v7.widget.RecyclerView.c;

class RecyclerView$q extends c {
    final /* synthetic */ RecyclerView aoo;

    RecyclerView$q(RecyclerView recyclerView) {
        this.aoo = recyclerView;
    }

    public final void onChanged() {
        this.aoo.T(null);
        this.aoo.anY.apu = true;
        this.aoo.am(true);
        if (!this.aoo.ane.hw()) {
            this.aoo.requestLayout();
        }
    }

    /* JADX WARNING: Missing block: B:3:0x0023, code skipped:
            if (r1.aeX.size() == 1) goto L_0x0025;
     */
    public final void d(int r5, int r6, java.lang.Object r7) {
        /*
        r4 = this;
        r0 = 1;
        r1 = r4.aoo;
        r2 = 0;
        r1.T(r2);
        r1 = r4.aoo;
        r1 = r1.ane;
        if (r6 <= 0) goto L_0x002b;
    L_0x000d:
        r2 = r1.aeX;
        r3 = 4;
        r3 = r1.a(r3, r5, r6, r7);
        r2.add(r3);
        r2 = r1.afd;
        r2 = r2 | 4;
        r1.afd = r2;
        r1 = r1.aeX;
        r1 = r1.size();
        if (r1 != r0) goto L_0x002b;
    L_0x0025:
        if (r0 == 0) goto L_0x002a;
    L_0x0027:
        r4.kd();
    L_0x002a:
        return;
    L_0x002b:
        r0 = 0;
        goto L_0x0025;
        */
        throw new UnsupportedOperationException("Method not decompiled: android.support.v7.widget.RecyclerView$q.d(int, int, java.lang.Object):void");
    }

    /* JADX WARNING: Missing block: B:3:0x0022, code skipped:
            if (r1.aeX.size() == 1) goto L_0x0024;
     */
    public final void aw(int r5, int r6) {
        /*
        r4 = this;
        r3 = 0;
        r0 = 1;
        r1 = r4.aoo;
        r1.T(r3);
        r1 = r4.aoo;
        r1 = r1.ane;
        if (r6 <= 0) goto L_0x002a;
    L_0x000d:
        r2 = r1.aeX;
        r3 = r1.a(r0, r5, r6, r3);
        r2.add(r3);
        r2 = r1.afd;
        r2 = r2 | 1;
        r1.afd = r2;
        r1 = r1.aeX;
        r1 = r1.size();
        if (r1 != r0) goto L_0x002a;
    L_0x0024:
        if (r0 == 0) goto L_0x0029;
    L_0x0026:
        r4.kd();
    L_0x0029:
        return;
    L_0x002a:
        r0 = 0;
        goto L_0x0024;
        */
        throw new UnsupportedOperationException("Method not decompiled: android.support.v7.widget.RecyclerView$q.aw(int, int):void");
    }

    /* JADX WARNING: Missing block: B:3:0x0023, code skipped:
            if (r1.aeX.size() == 1) goto L_0x0025;
     */
    public final void ax(int r6, int r7) {
        /*
        r5 = this;
        r4 = 0;
        r0 = 1;
        r1 = r5.aoo;
        r1.T(r4);
        r1 = r5.aoo;
        r1 = r1.ane;
        if (r7 <= 0) goto L_0x002b;
    L_0x000d:
        r2 = r1.aeX;
        r3 = 2;
        r3 = r1.a(r3, r6, r7, r4);
        r2.add(r3);
        r2 = r1.afd;
        r2 = r2 | 2;
        r1.afd = r2;
        r1 = r1.aeX;
        r1 = r1.size();
        if (r1 != r0) goto L_0x002b;
    L_0x0025:
        if (r0 == 0) goto L_0x002a;
    L_0x0027:
        r5.kd();
    L_0x002a:
        return;
    L_0x002b:
        r0 = 0;
        goto L_0x0025;
        */
        throw new UnsupportedOperationException("Method not decompiled: android.support.v7.widget.RecyclerView$q.ax(int, int):void");
    }

    /* JADX WARNING: Missing block: B:3:0x0024, code skipped:
            if (r1.aeX.size() == 1) goto L_0x0026;
     */
    public final void ay(int r6, int r7) {
        /*
        r5 = this;
        r4 = 0;
        r0 = 1;
        r1 = r5.aoo;
        r1.T(r4);
        r1 = r5.aoo;
        r1 = r1.ane;
        if (r6 == r7) goto L_0x002c;
    L_0x000d:
        r2 = r1.aeX;
        r3 = 8;
        r3 = r1.a(r3, r6, r7, r4);
        r2.add(r3);
        r2 = r1.afd;
        r2 = r2 | 8;
        r1.afd = r2;
        r1 = r1.aeX;
        r1 = r1.size();
        if (r1 != r0) goto L_0x002c;
    L_0x0026:
        if (r0 == 0) goto L_0x002b;
    L_0x0028:
        r5.kd();
    L_0x002b:
        return;
    L_0x002c:
        r0 = 0;
        goto L_0x0026;
        */
        throw new UnsupportedOperationException("Method not decompiled: android.support.v7.widget.RecyclerView$q.ay(int, int):void");
    }

    private void kd() {
        if (RecyclerView.amW && this.aoo.anq && this.aoo.anp) {
            s.b(this.aoo, this.aoo.ani);
            return;
        }
        this.aoo.any = true;
        this.aoo.requestLayout();
    }
}
