package androidx.recyclerview.widget;

import androidx.recyclerview.widget.t;

/* JADX INFO: loaded from: classes.dex */
class d extends t.b {
    public final /* synthetic */ f a;

    public d(f fVar) {
        this.a = fVar;
    }

    @Override // androidx.recyclerview.widget.t.b
    public final boolean a(int i, int i2) {
        f fVar = this.a;
        Object obj = fVar.a.get(i);
        Object obj2 = fVar.b.get(i2);
        if (obj != null && obj2 != null) {
            return fVar.e.b.b.a(obj, obj2);
        }
        if (obj == null && obj2 == null) {
            return true;
        }
        throw new AssertionError();
    }

    @Override // androidx.recyclerview.widget.t.b
    public final boolean b(int i, int i2) {
        f fVar = this.a;
        Object obj = fVar.a.get(i);
        Object obj2 = fVar.b.get(i2);
        return (obj == null || obj2 == null) ? obj == null && obj2 == null : fVar.e.b.b.b(obj, obj2);
    }

    @Override // androidx.recyclerview.widget.t.b
    public final Object c(int i, int i2) {
        f fVar = this.a;
        Object obj = fVar.a.get(i);
        Object obj2 = fVar.b.get(i2);
        if (obj == null || obj2 == null) {
            throw new AssertionError();
        }
        return fVar.e.b.b.c(obj, obj2);
    }

    @Override // androidx.recyclerview.widget.t.b
    public final int d() {
        return this.a.b.size();
    }

    @Override // androidx.recyclerview.widget.t.b
    public final int e() {
        return this.a.a.size();
    }
}
