package com.discord.stores; import com.discord.api.channel.Channel; import d0.z.d.m; import j0.k.b; import j0.l.e.j; import java.util.LinkedHashMap; import java.util.Map; import rx.Observable; /* compiled from: StoreChannels.kt */ public final class StoreChannels$observeChannelsForGuild$1 implements b, Observable>> { public final /* synthetic */ long $guildId; public final /* synthetic */ Integer $type; public StoreChannels$observeChannelsForGuild$1(long j, Integer num) { this.$guildId = j; this.$type = num; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // j0.k.b public /* bridge */ /* synthetic */ Observable> call(Map map) { return call((Map) map); } /* JADX WARNING: Code restructure failed: missing block: B:10:0x003f, code lost: if (r2 != r3.intValue()) goto L_0x0043; */ /* JADX WARNING: Removed duplicated region for block: B:17:0x0046 A[SYNTHETIC] */ /* JADX WARNING: Removed duplicated region for block: B:20:0x0012 A[SYNTHETIC] */ public final Observable> call(Map map) { boolean z2; m.checkNotNullExpressionValue(map, "channels"); LinkedHashMap linkedHashMap = new LinkedHashMap(); for (Map.Entry entry : map.entrySet()) { Channel value = entry.getValue(); if (value.e() == this.$guildId) { if (this.$type != null) { int z3 = value.z(); Integer num = this.$type; if (num != null) { } } z2 = true; if (!z2) { linkedHashMap.put(entry.getKey(), entry.getValue()); } } z2 = false; if (!z2) { } } return new j(linkedHashMap); } }