package defpackage; import com.discord.views.calls.VideoCallParticipantView; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; import rx.Subscription; /* compiled from: kotlin-style lambda group */ /* renamed from: r reason: default package */ /* loaded from: classes3.dex */ public final class r extends o implements Function1 { public final /* synthetic */ int j; public final /* synthetic */ Object k; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public r(int i, Object obj) { super(1); this.j = i; this.k = obj; } @Override // kotlin.jvm.functions.Function1 public final Unit invoke(Subscription subscription) { int i = this.j; if (i == 0) { Subscription subscription2 = subscription; m.checkNotNullParameter(subscription2, "it"); ((VideoCallParticipantView) this.k).q = subscription2; return Unit.a; } else if (i == 1) { Subscription subscription3 = subscription; m.checkNotNullParameter(subscription3, "it"); ((VideoCallParticipantView) this.k).o = subscription3; return Unit.a; } else { throw null; } } }