package p000.p001.p002.p008.p009;

import ar.tvplayer.core.data.db.entities.ބ;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import p037.p041.p042.LayoutInflaterFactory2C1494;
import p402.p403.C6560;
import p402.p411.p413.C6635;
import p402.p411.p413.C6646;

/* JADX INFO: renamed from: ނ.֏.֏.ހ.֏.އ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C0798<T> implements Comparator<Long> {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final /* synthetic */ C6646 f3326;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final /* synthetic */ int f3327;

    public C0798(C6646 c6646, int i) {
        this.f3326 = c6646;
        this.f3327 = i;
    }

    @Override // java.util.Comparator
    public int compare(Long l, Long l2) {
        Long l3 = l;
        Long l4 = l2;
        T t = this.f3326.f19405;
        if (t == null) {
            C6635.m9826("groupsMap");
            throw null;
        }
        C6635.m9823((Object) l3, "playlistId1");
        ބ r0 = (ބ) C6560.m9772((List) C6560.m9774((Map<Long, ? extends V>) t, l3));
        T t2 = this.f3326.f19405;
        if (t2 == null) {
            C6635.m9826("groupsMap");
            throw null;
        }
        C6635.m9823((Object) l4, "playlistId2");
        ބ r1 = (ބ) C6560.m9772((List) C6560.m9774((Map<Long, ? extends V>) t2, l4));
        return LayoutInflaterFactory2C1494.C1505.m2870(this.f3327, l3.longValue(), r0.ؠ, r0.ހ, l4.longValue(), r1.ؠ, r1.ހ);
    }
}
