package p447.p448;

import java.io.Closeable;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.Socket;
import java.net.SocketTimeoutException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;
import java.util.concurrent.TimeUnit;
import kotlin.TypeCastException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import p138.p139.p143.p144.C2803;
import p402.p403.C6560;
import p402.p403.C6564;
import p402.p411.p413.C6635;
import p402.p420.C6689;
import p402.p420.C6695;
import p402.p420.C6703;
import p447.AbstractC6930;
import p447.AbstractC6936;
import p447.C6905;
import p447.C6908;
import p447.C6921;
import p447.C6933;
import p447.C6935;
import p447.p448.p455.C7005;
import p461.C7103;
import p461.C7108;
import p461.C7116;
import p461.InterfaceC7106;
import p461.InterfaceC7107;
import p461.InterfaceC7129;

/* JADX INFO: renamed from: ސ.ޣ.ހ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C6943 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final byte[] f20190 = new byte[0];

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final C6905 f20191 = C6905.f20008.m10076(new String[0]);

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public static final AbstractC6936 f20192;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static final C7116 f20193;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public static final TimeZone f20194;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public static final C6695 f20195;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public static final boolean f20196;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public static final String f20197;

    static {
        AbstractC6936.C6937 c6937 = AbstractC6936.f20175;
        byte[] bArr = f20190;
        if (c6937 == null) {
            throw null;
        }
        if (bArr == null) {
            C6635.m9824("$this$toResponseBody");
            throw null;
        }
        C7103 c7103 = new C7103();
        c7103.write(bArr);
        f20192 = new C6935(c7103, null, bArr.length);
        AbstractC6930.C6931 c6931 = AbstractC6930.Companion;
        byte[] bArr2 = f20190;
        c6931.m10125(bArr2, null, 0, bArr2.length);
        f20193 = C7116.f20652.m10469(C7108.f20634.m10456("efbbbf"), C7108.f20634.m10456("feff"), C7108.f20634.m10456("fffe"), C7108.f20634.m10456("0000ffff"), C7108.f20634.m10456("ffff0000"));
        TimeZone timeZone = TimeZone.getTimeZone("GMT");
        if (timeZone == null) {
            C6635.m9822();
            throw null;
        }
        f20194 = timeZone;
        f20195 = new C6695("([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\\d.]+)");
        f20196 = C6921.class.desiredAssertionStatus();
        String name = C6921.class.getName();
        C6635.m9823((Object) name, "OkHttpClient::class.java.name");
        f20197 = C6703.m9891(C6703.m9867(name, "okhttp3."), "Client");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10141(byte b, int i) {
        return b & i;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10142(char c) {
        if ('0' <= c && '9' >= c) {
            return c - '0';
        }
        char c2 = 'a';
        if ('a' > c || 'f' < c) {
            c2 = 'A';
            if ('A' > c || 'F' < c) {
                return -1;
            }
        }
        return (c - c2) + 10;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10143(String str, char c, int i, int i2) {
        if (str == null) {
            C6635.m9824("$this$delimiterOffset");
            throw null;
        }
        while (i < i2) {
            if (str.charAt(i) == c) {
                return i;
            }
            i++;
        }
        return i2;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ int m10144(String str, char c, int i, int i2, int i3) {
        if ((i3 & 2) != 0) {
            i = 0;
        }
        if ((i3 & 4) != 0) {
            i2 = str.length();
        }
        return m10143(str, c, i, i2);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10145(String str, int i) {
        if (str == null) {
            C6635.m9824("$this$indexOfNonWhitespace");
            throw null;
        }
        int length = str.length();
        while (i < length) {
            char cCharAt = str.charAt(i);
            if (cCharAt != ' ' && cCharAt != '\t') {
                return i;
            }
            i++;
        }
        return str.length();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10146(String str, int i, int i2) {
        if (str == null) {
            C6635.m9824("$this$indexOfFirstNonAsciiWhitespace");
            throw null;
        }
        while (i < i2) {
            char cCharAt = str.charAt(i);
            if (cCharAt != '\t' && cCharAt != '\n' && cCharAt != '\f' && cCharAt != '\r' && cCharAt != ' ') {
                return i;
            }
            i++;
        }
        return i2;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static /* synthetic */ int m10147(String str, int i, int i2, int i3) {
        if ((i3 & 1) != 0) {
            i = 0;
        }
        if ((i3 & 2) != 0) {
            i2 = str.length();
        }
        return m10146(str, i, i2);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10148(String str, long j, TimeUnit timeUnit) {
        if (str == null) {
            C6635.m9824("name");
            throw null;
        }
        boolean z = true;
        if (!(j >= 0)) {
            throw new IllegalStateException(C2803.m4879(str, " < 0").toString());
        }
        if (!(timeUnit != null)) {
            throw new IllegalStateException("unit == null".toString());
        }
        long millis = timeUnit.toMillis(j);
        if (!(millis <= ((long) Integer.MAX_VALUE))) {
            throw new IllegalArgumentException(C2803.m4879(str, " too large.").toString());
        }
        if (millis == 0 && j > 0) {
            z = false;
        }
        if (z) {
            return (int) millis;
        }
        throw new IllegalArgumentException(C2803.m4879(str, " too small.").toString());
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10149(String str, String str2, int i, int i2) {
        if (str == null) {
            C6635.m9824("$this$delimiterOffset");
            throw null;
        }
        if (str2 == null) {
            C6635.m9824("delimiters");
            throw null;
        }
        while (i < i2) {
            if (C6703.m9878((CharSequence) str2, str.charAt(i), false, 2)) {
                return i;
            }
            i++;
        }
        return i2;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10150(C7103 c7103, byte b) {
        if (c7103 == null) {
            C6635.m9824("$this$skipAll");
            throw null;
        }
        int i = 0;
        while (!c7103.mo10436() && c7103.m10433(0L) == b) {
            i++;
            c7103.readByte();
        }
        return i;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10151(InterfaceC7107 interfaceC7107) {
        if (interfaceC7107 != null) {
            return (interfaceC7107.readByte() & 255) | ((interfaceC7107.readByte() & 255) << 16) | ((interfaceC7107.readByte() & 255) << 8);
        }
        C6635.m9824("$this$readMedium");
        throw null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10152(short s, int i) {
        return s & i;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final int m10153(String[] strArr, String str, Comparator<String> comparator) {
        if (strArr == null) {
            C6635.m9824("$this$indexOf");
            throw null;
        }
        if (str == null) {
            C6635.m9824("value");
            throw null;
        }
        if (comparator == null) {
            C6635.m9824("comparator");
            throw null;
        }
        int length = strArr.length;
        for (int i = 0; i < length; i++) {
            if (comparator.compare(strArr[i], str) == 0) {
                return i;
            }
        }
        return -1;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final long m10154(int i, long j) {
        return ((long) i) & j;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final long m10155(C6933 c6933) {
        if (c6933 == null) {
            C6635.m9824("$this$headersContentLength");
            throw null;
        }
        String strM10067 = c6933.f20151.m10067("Content-Length");
        if (strM10067 == null) {
            return -1L;
        }
        try {
            return Long.parseLong(strM10067);
        } catch (NumberFormatException unused) {
            return -1L;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final String m10156(String str, Object... objArr) {
        if (str == null) {
            C6635.m9824("format");
            throw null;
        }
        if (objArr == null) {
            C6635.m9824("args");
            throw null;
        }
        Locale locale = Locale.US;
        C6635.m9823((Object) locale, "Locale.US");
        Object[] objArrCopyOf = Arrays.copyOf(objArr, objArr.length);
        String str2 = String.format(locale, str, Arrays.copyOf(objArrCopyOf, objArrCopyOf.length));
        C6635.m9823((Object) str2, "java.lang.String.format(locale, format, *args)");
        return str2;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final String m10157(C6908 c6908, boolean z) {
        String str;
        if (c6908 == null) {
            C6635.m9824("$this$toHostHeader");
            throw null;
        }
        if (C6703.m9881((CharSequence) c6908.f20017, (CharSequence) ":", false, 2)) {
            str = '[' + c6908.f20017 + ']';
        } else {
            str = c6908.f20017;
        }
        if (!z && c6908.f20018 == C6908.f20012.m10096(c6908.f20014)) {
            return str;
        }
        return str + ':' + c6908.f20018;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final Throwable m10158(Exception exc, List<? extends Exception> list) {
        if (exc == null) {
            C6635.m9824("$this$withSuppressed");
            throw null;
        }
        if (list == null) {
            C6635.m9824("suppressed");
            throw null;
        }
        if (list.size() > 1) {
            System.out.println(list);
        }
        Iterator<? extends Exception> it = list.iterator();
        while (it.hasNext()) {
            exc.addSuppressed(it.next());
        }
        return exc;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final Charset m10159(InterfaceC7107 interfaceC7107, Charset charset) {
        Charset charsetForName;
        if (interfaceC7107 == null) {
            C6635.m9824("$this$readBomAsCharset");
            throw null;
        }
        if (charset == null) {
            C6635.m9824("default");
            throw null;
        }
        int iMo10404 = interfaceC7107.mo10404(f20193);
        if (iMo10404 == -1) {
            return charset;
        }
        if (iMo10404 == 0) {
            Charset charset2 = StandardCharsets.UTF_8;
            C6635.m9823((Object) charset2, "UTF_8");
            return charset2;
        }
        if (iMo10404 == 1) {
            Charset charset3 = StandardCharsets.UTF_16BE;
            C6635.m9823((Object) charset3, "UTF_16BE");
            return charset3;
        }
        if (iMo10404 == 2) {
            Charset charset4 = StandardCharsets.UTF_16LE;
            C6635.m9823((Object) charset4, "UTF_16LE");
            return charset4;
        }
        if (iMo10404 == 3) {
            C6689 c6689 = C6689.f19440;
            charsetForName = C6689.f19439;
            if (charsetForName == null) {
                charsetForName = Charset.forName("UTF-32BE");
                C6635.m9823((Object) charsetForName, "Charset.forName(\"UTF-32BE\")");
                C6689.f19439 = charsetForName;
            }
        } else {
            if (iMo10404 != 4) {
                throw new AssertionError();
            }
            C6689 c66892 = C6689.f19440;
            charsetForName = C6689.f19438;
            if (charsetForName == null) {
                charsetForName = Charset.forName("UTF-32LE");
                C6635.m9823((Object) charsetForName, "Charset.forName(\"UTF-32LE\")");
                C6689.f19438 = charsetForName;
            }
        }
        return charsetForName;
    }

    @SafeVarargs
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final <T> List<T> m10160(T... tArr) {
        if (tArr == null) {
            C6635.m9824("elements");
            throw null;
        }
        Object[] objArr = (Object[]) tArr.clone();
        List<T> listUnmodifiableList = Collections.unmodifiableList(Arrays.asList(Arrays.copyOf(objArr, objArr.length)));
        C6635.m9823((Object) listUnmodifiableList, "Collections.unmodifiable…sList(*elements.clone()))");
        return listUnmodifiableList;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final <K, V> Map<K, V> m10161(Map<K, ? extends V> map) {
        if (map == null) {
            C6635.m9824("$this$toImmutableMap");
            throw null;
        }
        if (map.isEmpty()) {
            return C6564.f19344;
        }
        Map<K, V> mapUnmodifiableMap = Collections.unmodifiableMap(new LinkedHashMap(map));
        C6635.m9823((Object) mapUnmodifiableMap, "Collections.unmodifiableMap(LinkedHashMap(this))");
        return mapUnmodifiableMap;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final C6905 m10162(List<C7005> list) {
        DefaultConstructorMarker defaultConstructorMarker = null;
        if (list == null) {
            C6635.m9824("$this$toHeaders");
            throw null;
        }
        ArrayList arrayList = new ArrayList(20);
        for (C7005 c7005 : list) {
            C7108 c7108 = c7005.f20388;
            C7108 c71082 = c7005.f20389;
            String strM10454 = c7108.m10454();
            String strM104542 = c71082.m10454();
            if (strM10454 == null) {
                C6635.m9824("name");
                throw null;
            }
            if (strM104542 == null) {
                C6635.m9824("value");
                throw null;
            }
            arrayList.add(strM10454);
            arrayList.add(C6703.m9900(strM104542).toString());
        }
        Object[] array = arrayList.toArray(new String[0]);
        if (array != null) {
            return new C6905((String[]) array, defaultConstructorMarker);
        }
        throw new TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final void m10163(long j, long j2, long j3) {
        if ((j2 | j3) < 0 || j2 > j || j - j2 < j3) {
            throw new ArrayIndexOutOfBoundsException();
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final void m10164(Closeable closeable) {
        if (closeable == null) {
            C6635.m9824("$this$closeQuietly");
            throw null;
        }
        try {
            closeable.close();
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception unused) {
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final void m10165(Socket socket) {
        if (socket == null) {
            C6635.m9824("$this$closeQuietly");
            throw null;
        }
        try {
            socket.close();
        } catch (AssertionError e) {
            throw e;
        } catch (RuntimeException e2) {
            throw e2;
        } catch (Exception unused) {
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final void m10166(InterfaceC7106 interfaceC7106, int i) {
        if (interfaceC7106 == null) {
            C6635.m9824("$this$writeMedium");
            throw null;
        }
        interfaceC7106.writeByte((i >>> 16) & 255);
        interfaceC7106.writeByte((i >>> 8) & 255);
        interfaceC7106.writeByte(i & 255);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final boolean m10167(String str) {
        if (str != null) {
            return f20195.m9854(str);
        }
        C6635.m9824("$this$canParseAsIpAddress");
        throw null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final boolean m10168(Socket socket, InterfaceC7107 interfaceC7107) {
        if (socket == null) {
            C6635.m9824("$this$isHealthy");
            throw null;
        }
        if (interfaceC7107 == null) {
            C6635.m9824("source");
            throw null;
        }
        try {
            int soTimeout = socket.getSoTimeout();
            try {
                socket.setSoTimeout(1);
                return !interfaceC7107.mo10436();
            } finally {
                socket.setSoTimeout(soTimeout);
            }
        } catch (SocketTimeoutException unused) {
            return true;
        } catch (IOException unused2) {
            return false;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final boolean m10169(C6908 c6908, C6908 c69082) {
        if (c6908 == null) {
            C6635.m9824("$this$canReuseConnectionFor");
            throw null;
        }
        if (c69082 != null) {
            return C6635.m9825((Object) c6908.f20017, (Object) c69082.f20017) && c6908.f20018 == c69082.f20018 && C6635.m9825((Object) c6908.f20014, (Object) c69082.f20014);
        }
        C6635.m9824("other");
        throw null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final boolean m10170(InterfaceC7129 interfaceC7129, int i, TimeUnit timeUnit) {
        if (interfaceC7129 == null) {
            C6635.m9824("$this$discard");
            throw null;
        }
        if (timeUnit != null) {
            try {
                return m10176(interfaceC7129, i, timeUnit);
            } catch (IOException unused) {
                return false;
            }
        }
        C6635.m9824("timeUnit");
        throw null;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final boolean m10171(String[] strArr, String[] strArr2, Comparator<? super String> comparator) {
        if (strArr == null) {
            C6635.m9824("$this$hasIntersection");
            throw null;
        }
        if (comparator == null) {
            C6635.m9824("comparator");
            throw null;
        }
        if (!(strArr.length == 0) && strArr2 != null) {
            if (!(strArr2.length == 0)) {
                for (String str : strArr) {
                    for (String str2 : strArr2) {
                        if (comparator.compare(str, str2) == 0) {
                            return true;
                        }
                    }
                }
            }
        }
        return false;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final int m10172(String str) {
        if (str == null) {
            C6635.m9824("$this$indexOfControlOrNonAscii");
            throw null;
        }
        int length = str.length();
        for (int i = 0; i < length; i++) {
            char cCharAt = str.charAt(i);
            if (cCharAt <= 31 || cCharAt >= 127) {
                return i;
            }
        }
        return -1;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final int m10173(String str, int i) {
        if (str != null) {
            try {
                long j = Long.parseLong(str);
                if (j > Integer.MAX_VALUE) {
                    return Integer.MAX_VALUE;
                }
                if (j < 0) {
                    return 0;
                }
                return (int) j;
            } catch (NumberFormatException unused) {
            }
        }
        return i;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final int m10174(String str, int i, int i2) {
        if (str == null) {
            C6635.m9824("$this$indexOfLastNonAsciiWhitespace");
            throw null;
        }
        int i3 = i2 - 1;
        if (i3 >= i) {
            while (true) {
                char cCharAt = str.charAt(i3);
                if (cCharAt != '\t' && cCharAt != '\n' && cCharAt != '\f' && cCharAt != '\r' && cCharAt != ' ') {
                    return i3 + 1;
                }
                if (i3 == i) {
                    break;
                }
                i3--;
            }
        }
        return i;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final <T> List<T> m10175(List<? extends T> list) {
        if (list == null) {
            C6635.m9824("$this$toImmutableList");
            throw null;
        }
        List<T> listUnmodifiableList = Collections.unmodifiableList(C6560.m9779((Collection) list));
        C6635.m9823((Object) listUnmodifiableList, "Collections.unmodifiableList(toMutableList())");
        return listUnmodifiableList;
    }

    /* JADX WARN: Removed duplicated region for block: B:18:0x0058 A[PHI: r12
      0x0058: PHI (r12v6 boolean) = (r12v5 boolean), (r12v10 boolean) binds: [B:26:0x007b, B:16:0x004e] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final boolean m10176(InterfaceC7129 interfaceC7129, int i, TimeUnit timeUnit) {
        boolean z;
        if (interfaceC7129 == null) {
            C6635.m9824("$this$skipAll");
            throw null;
        }
        if (timeUnit == null) {
            C6635.m9824("timeUnit");
            throw null;
        }
        long jNanoTime = System.nanoTime();
        long jMo10462 = interfaceC7129.mo10277().mo10463() ? interfaceC7129.mo10277().mo10462() - jNanoTime : Long.MAX_VALUE;
        interfaceC7129.mo10277().mo10459(Math.min(jMo10462, timeUnit.toNanos(i)) + jNanoTime);
        try {
            C7103 c7103 = new C7103();
            while (interfaceC7129.mo10207(c7103, 8192L) != -1) {
                c7103.skip(c7103.f20630);
            }
            z = true;
        } catch (InterruptedIOException unused) {
            z = false;
            if (jMo10462 == Long.MAX_VALUE) {
            }
        } catch (Throwable th) {
            if (jMo10462 == Long.MAX_VALUE) {
                interfaceC7129.mo10277().mo10458();
            } else {
                interfaceC7129.mo10277().mo10459(jNanoTime + jMo10462);
            }
            throw th;
        }
        if (jMo10462 == Long.MAX_VALUE) {
            interfaceC7129.mo10277().mo10458();
        } else {
            interfaceC7129.mo10277().mo10459(jNanoTime + jMo10462);
        }
        return z;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final String[] m10177(String[] strArr, String[] strArr2, Comparator<? super String> comparator) {
        if (strArr == null) {
            C6635.m9824("$this$intersect");
            throw null;
        }
        if (strArr2 == null) {
            C6635.m9824("other");
            throw null;
        }
        if (comparator == null) {
            C6635.m9824("comparator");
            throw null;
        }
        ArrayList arrayList = new ArrayList();
        for (String str : strArr) {
            int length = strArr2.length;
            int i = 0;
            while (true) {
                if (i >= length) {
                    break;
                }
                if (comparator.compare(str, strArr2[i]) == 0) {
                    arrayList.add(str);
                    break;
                }
                i++;
            }
        }
        Object[] array = arrayList.toArray(new String[0]);
        if (array != null) {
            return (String[]) array;
        }
        throw new TypeCastException("null cannot be cast to non-null type kotlin.Array<T>");
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public static final String m10178(String str, int i, int i2) {
        if (str == null) {
            C6635.m9824("$this$trimSubstring");
            throw null;
        }
        int iM10146 = m10146(str, i, i2);
        String strSubstring = str.substring(iM10146, m10174(str, iM10146, i2));
        C6635.m9823((Object) strSubstring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
        return strSubstring;
    }
}
