package kotlinx.coroutines.internal; import p057s1.C1629k; /* renamed from: kotlinx.coroutines.internal.z */ /* loaded from: classes.dex */ public final /* synthetic */ class C1387z { /* renamed from: a */ public static final int m1472a(String str, int i, int i2, int i3) { return (int) C1385x.m1479c(str, i, i2, i3); } /* renamed from: b */ public static final long m1471b(String str, long j, long j2, long j3) { String m1478d = C1385x.m1478d(str); if (m1478d == null) { return j; } Long m784a = C1629k.m784a(m1478d); if (m784a == null) { throw new IllegalStateException(("System property '" + str + "' has unrecognized value '" + m1478d + '\'').toString()); } long longValue = m784a.longValue(); boolean z = false; if (j2 <= longValue && longValue <= j3) { z = true; } if (z) { return longValue; } throw new IllegalStateException(("System property '" + str + "' should be in range " + j2 + ".." + j3 + ", but is '" + longValue + '\'').toString()); } /* renamed from: c */ public static final boolean m1470c(String str, boolean z) { String m1478d = C1385x.m1478d(str); return m1478d == null ? z : Boolean.parseBoolean(m1478d); } /* renamed from: d */ public static /* synthetic */ int m1469d(String str, int i, int i2, int i3, int i4, Object obj) { if ((i4 & 4) != 0) { i2 = 1; } if ((i4 & 8) != 0) { i3 = Integer.MAX_VALUE; } return C1385x.m1480b(str, i, i2, i3); } /* renamed from: e */ public static /* synthetic */ long m1468e(String str, long j, long j2, long j3, int i, Object obj) { if ((i & 4) != 0) { j2 = 1; } long j4 = j2; if ((i & 8) != 0) { j3 = Long.MAX_VALUE; } return C1385x.m1479c(str, j, j4, j3); } }