package j5;

import com.martsnew.data.model.response.CountryResponse;
import com.martsnew.domain.model.Country;

/* JADX INFO: renamed from: j5.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1077h implements p {
    /* JADX WARN: Removed duplicated region for block: B:20:0x002e  */
    @Override // j5.p
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object a(Object obj) {
        boolean z8;
        CountryResponse countryResponse = (CountryResponse) obj;
        P6.g.e(countryResponse, "dto");
        String str = countryResponse.f10709b;
        String str2 = str == null ? "" : str;
        String str3 = countryResponse.f10710c;
        String str4 = str3 == null ? "" : str3;
        String str5 = countryResponse.f10711d;
        String str6 = str5 == null ? "" : str5;
        Integer num = countryResponse.f10712e;
        if (num == null) {
            z8 = false;
        } else {
            z8 = true;
            if (num.intValue() != 1) {
            }
        }
        return new Country(countryResponse.f10708a, str2, str4, str6, z8);
    }
}
