package com.discord.utilities.rest; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.internal.LinkedTreeMap; import j0.k.b; /* compiled from: RestAPI.kt */ public final class RestAPI$getClientVersion$1 implements b { public static final RestAPI$getClientVersion$1 INSTANCE = new RestAPI$getClientVersion$1(); public final Integer call(JsonObject jsonObject) { int i; if (jsonObject != null) { LinkedTreeMap.e c2 = jsonObject.a.c("discord_android_min_version"); JsonElement jsonElement = c2 != null ? c2.o : null; if (jsonElement != null) { i = jsonElement.c(); return Integer.valueOf(i); } } i = 0; return Integer.valueOf(i); } }