package com.ironsource; import kotlin.Result; import kotlin.ResultKt; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; import org.json.JSONObject; @SourceDebugExtension({"SMAP\nAuctionResponseFetcher.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AuctionResponseFetcher.kt\ncom/unity3d/ironsourceads/internal/auction/AuctionResponseFetcher\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,38:1\n1#2:39\n*E\n"}) /* loaded from: classes2.dex */ public final class d5 implements e5 { private final String a; private final oo b; public d5(String encryptedAuctionResponse, oo providerName) { Intrinsics.checkNotNullParameter(encryptedAuctionResponse, "encryptedAuctionResponse"); Intrinsics.checkNotNullParameter(providerName, "providerName"); this.a = encryptedAuctionResponse; this.b = providerName; } @Override // com.ironsource.e5 public Object a() { Object m4060constructorimpl; String c = xa.b().c(); Intrinsics.checkNotNullExpressionValue(c, "getInstance().mediationKey"); pj pjVar = new pj(new t9(this.a, c)); try { Result.Companion companion = Result.Companion; m4060constructorimpl = Result.m4060constructorimpl(pjVar.a()); } catch (Throwable th) { Result.Companion companion2 = Result.Companion; m4060constructorimpl = Result.m4060constructorimpl(ResultKt.createFailure(th)); } Throwable m4062exceptionOrNullimpl = Result.m4062exceptionOrNullimpl(m4060constructorimpl); if (m4062exceptionOrNullimpl == null) { return b5.h.a((JSONObject) m4060constructorimpl, this.b.value()); } i9.d().a(m4062exceptionOrNullimpl); return m4062exceptionOrNullimpl instanceof IllegalArgumentException ? Result.m4060constructorimpl(ResultKt.createFailure(new ef(hb.a.d()))) : Result.m4060constructorimpl(ResultKt.createFailure(new ef(hb.a.h()))); } }