package com.tencent.mm.network; import com.tencent.mm.sdk.platformtools.Log; import com.tencent.thumbplayer.tplayer.plugins.report.TPReportKeys; import java.util.concurrent.atomic.AtomicInteger; import lh4.m; import lh4.o; import wg4.g; import wg4.h; import wg4.i; import xc4.j; public final class j0 { /* renamed from: a reason: collision with root package name */ public static AtomicInteger f80053a = new AtomicInteger(0); /* renamed from: b reason: collision with root package name */ public static final g<j0> f80054b = h.b(i.SYNCHRONIZED, a.f80055d); public static final class a extends o implements kh4.a<j0> { /* renamed from: d reason: collision with root package name */ public static final a f80055d = new a(); public a() { super(0); } /* Return type fixed from 'java.lang.Object' to match base method */ @Override // kh4.a public j0 invoke() { return new j0(); } } public final void a(String str) { m.g(str, TPReportKeys.PlayerStep.PLAYER_REASON); Log.i("MMNetCheck", "reason:" + str + ", url:" + "https://weixin.qq.com/netcheck" + ", timeout:" + 10); if (f80053a.get() >= 5) { Log.w("MMNetCheck", "too many http check is running, count:" + f80053a.get()); return; } ((j) j.f338034d).f(new k0("https://weixin.qq.com/netcheck", 10, str)); } }