package com.google.android.gms.internal.gtm; import com.google.android.gms.common.api.Status; import java.util.List; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public final class zzmq extends zzmn { private final zzmp zzasr; private final List zzass; private final int zzast; private final zzmo zzasu; /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public zzmq(zzmo zzmoVar, int i, zzmw zzmwVar, zzms zzmsVar, List list, int i2, zzmp zzmpVar, zzdz zzdzVar) { super(i, zzmwVar, zzmsVar, zzdzVar); this.zzasu = zzmoVar; this.zzasr = zzmpVar; this.zzass = list; this.zzast = i2; } @Override // com.google.android.gms.internal.gtm.zzmn protected final void zza(zzmx zzmxVar) { zzmz zzmzVar; if (zzmxVar.getStatus() == Status.RESULT_SUCCESS) { String valueOf = String.valueOf(zzmxVar.zzln()); zzev.zzab(valueOf.length() != 0 ? "Container resource successfully loaded from ".concat(valueOf) : new String("Container resource successfully loaded from ")); if (zzmxVar.getSource() == 0) { zzmy zzll = zzmxVar.zzll(); if (!zzll.zzlp().zzlg()) { this.zzasu.zza(zzmxVar.getStatus(), zzll); if (zzll.zzlo() != null && zzll.zzlo().length > 0) { zzmzVar = this.zzasu.zzaso; zzmzVar.zza(zzll.zzlp().zzlf(), zzll.zzlo()); } } } this.zzasr.zza(zzmxVar); return; } String zzln = zzmxVar.zzln(); String str = zzmxVar.getStatus().isSuccess() ? "SUCCESS" : "FAILURE"; StringBuilder sb = new StringBuilder(String.valueOf(zzln).length() + 54 + str.length()); sb.append("Cannot fetch a valid resource from "); sb.append(zzln); sb.append(". Response status: "); sb.append(str); zzev.zzab(sb.toString()); if (zzmxVar.getStatus().isSuccess()) { String valueOf2 = String.valueOf(zzmxVar.zzln()); zzev.zzab(valueOf2.length() != 0 ? "Response source: ".concat(valueOf2) : new String("Response source: ")); int length = zzmxVar.zzll().zzlo().length; StringBuilder sb2 = new StringBuilder(26); sb2.append("Response size: "); sb2.append(length); zzev.zzab(sb2.toString()); } this.zzasu.zza(this.zzask, this.zzass, this.zzast + 1, this.zzasr, this.zzasn); } }