protocol InitFromString {
    init?(_ str: String)
}

extension Int: InitFromString {}
extension Int8: InitFromString {}
extension Int16: InitFromString {}
extension Int32: InitFromString {}
extension Int64: InitFromString {}
extension String: InitFromString {}

func input<T: InitFromString>() -> [T] {
    readLine()!.split(separator: " ").map(String.init).compactMap(T.init)
}

let n: Int = input()[0]
let a: [Int] = input()

var res = [Int](repeating: 0, count: n)
a.forEach { (i) in
    res[i - 1] += 1
}

print(res.map(String.init).joined(separator: "\n"))

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_637/llvm_O3.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_637/llvm_O3.ll"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%TSi = type <{ i64 }>
%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%swift.type = type { i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSu = type <{ i64 }>
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%swift.protocol_requirement = type { i32, i32 }
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.protocolref = type { i32 }
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque
%swift.bridge = type opaque
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%TSiSg = type <{ [8 x i8], [1 x i8] }>
%Ts4Int8VSg = type <{ [1 x i8], [1 x i8] }>
%swift.error = type opaque
%Ts5UInt8V = type <{ i8 }>
%Ts5Int16VSg = type <{ [2 x i8], [1 x i8] }>
%Ts5Int32VSg = type <{ [4 x i8], [1 x i8] }>
%Ts5Int64VSg = type <{ [8 x i8], [1 x i8] }>
%TSSSg = type <{ [16 x i8] }>
%TSJ = type <{ %TSS }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>

@"$s7llvm_O31nSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_O31aSaySiGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_O33resSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSiN" = external global %swift.type, align 8
@"$sSis23CustomStringConvertiblesWP" = external global i8*, align 8
@"symbolic SaySSG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySSG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySSGMD" to i64)) to i32), i32 -6 }, align 8
@"$sSaySSGSayxGSKsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSayxGSKsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSSN" = external global %swift.type, align 8
@"$sSaySSGSayxGSTsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSayxGSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSi7llvm_O314InitFromStringAAMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$sSi7llvm_O314InitFromStringAAMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSiMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$sSi7llvm_O314InitFromStringAAMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$sSi7llvm_O314InitFromStringAAWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$sSi7llvm_O314InitFromStringAAMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$sSi7llvm_O314InitFromStringAAWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$sSi7llvm_O314InitFromStringAAMc" to i8*), i8* bitcast (void (%TSiSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$sSi7llvm_O314InitFromStringA2aBPyxSgSScfCTW" to i8*)], align 8
@"$sSiMn" = external global %swift.type_descriptor, align 4
@"got.$sSiMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSiMn"
@"$ss4Int8V7llvm_O314InitFromStringACMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss4Int8V7llvm_O314InitFromStringACMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss4Int8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss4Int8V7llvm_O314InitFromStringACMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$ss4Int8V7llvm_O314InitFromStringACWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss4Int8V7llvm_O314InitFromStringACMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$ss4Int8V7llvm_O314InitFromStringACWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$ss4Int8V7llvm_O314InitFromStringACMc" to i8*), i8* bitcast (void (%Ts4Int8VSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$ss4Int8V7llvm_O314InitFromStringA2cDPyxSgSScfCTW" to i8*)], align 8
@"$ss4Int8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss4Int8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss4Int8VMn"
@"$ss5Int16V7llvm_O314InitFromStringACMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int16V7llvm_O314InitFromStringACMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int16VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int16V7llvm_O314InitFromStringACMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$ss5Int16V7llvm_O314InitFromStringACWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int16V7llvm_O314InitFromStringACMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$ss5Int16V7llvm_O314InitFromStringACWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$ss5Int16V7llvm_O314InitFromStringACMc" to i8*), i8* bitcast (void (%Ts5Int16VSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$ss5Int16V7llvm_O314InitFromStringA2cDPyxSgSScfCTW" to i8*)], align 8
@"$ss5Int16VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5Int16VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5Int16VMn"
@"$ss5Int32V7llvm_O314InitFromStringACMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int32V7llvm_O314InitFromStringACMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int32VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int32V7llvm_O314InitFromStringACMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$ss5Int32V7llvm_O314InitFromStringACWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int32V7llvm_O314InitFromStringACMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$ss5Int32V7llvm_O314InitFromStringACWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$ss5Int32V7llvm_O314InitFromStringACMc" to i8*), i8* bitcast (void (%Ts5Int32VSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$ss5Int32V7llvm_O314InitFromStringA2cDPyxSgSScfCTW" to i8*)], align 8
@"$ss5Int32VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5Int32VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5Int32VMn"
@"$ss5Int64V7llvm_O314InitFromStringACMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int64V7llvm_O314InitFromStringACMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int64VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int64V7llvm_O314InitFromStringACMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$ss5Int64V7llvm_O314InitFromStringACWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$ss5Int64V7llvm_O314InitFromStringACMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$ss5Int64V7llvm_O314InitFromStringACWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$ss5Int64V7llvm_O314InitFromStringACMc" to i8*), i8* bitcast (void (%Ts5Int64VSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$ss5Int64V7llvm_O314InitFromStringA2cDPyxSgSScfCTW" to i8*)], align 8
@"$ss5Int64VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5Int64VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5Int64VMn"
@"$sSS7llvm_O314InitFromStringAAMc" = hidden constant %swift.protocol_conformance_descriptor { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$sSS7llvm_O314InitFromStringAAMc" to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSSMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$sSS7llvm_O314InitFromStringAAMc", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8*]* @"$sSS7llvm_O314InitFromStringAAWP" to i64), i64 ptrtoint (i32* getelementptr inbounds (%swift.protocol_conformance_descriptor, %swift.protocol_conformance_descriptor* @"$sSS7llvm_O314InitFromStringAAMc", i32 0, i32 2) to i64)) to i32), i32 8 }, section ".rodata", no_sanitize_address, align 4
@"$sSS7llvm_O314InitFromStringAAWP" = hidden constant [2 x i8*] [i8* bitcast (%swift.protocol_conformance_descriptor* @"$sSS7llvm_O314InitFromStringAAMc" to i8*), i8* bitcast (void (%TSSSg*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)* @"$sSS7llvm_O314InitFromStringA2aBPyxSgSScfCTW" to i8*)], align 8
@"$sSSMn" = external global %swift.type_descriptor, align 4
@"got.$sSSMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSSMn"
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"symbolic $s7llvm_O314InitFromStringP" = linkonce_odr hidden constant <{ [27 x i8], i8 }> <{ [27 x i8] c"$s7llvm_O314InitFromStringP", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$s7llvm_O314InitFromString_pMF" = internal constant { i32, i32, i16, i16, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [27 x i8], i8 }>* @"symbolic $s7llvm_O314InitFromStringP" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O314InitFromString_pMF" to i64)) to i32), i32 0, i16 4, i16 12, i32 0 }, section "swift5_fieldmd", no_sanitize_address, align 4
@.str.7.llvm_O3 = private constant [8 x i8] c"llvm_O3\00"
@"$s7llvm_O3MXM" = linkonce_odr hidden constant <{ i32, i32, i32 }> <{ i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7.llvm_O3 to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32 }>, <{ i32, i32, i32 }>* @"$s7llvm_O3MXM", i32 0, i32 2) to i64)) to i32) }>, section ".rodata", no_sanitize_address, align 4
@.str.14.InitFromString = private constant [15 x i8] c"InitFromString\00"
@"$s7llvm_O314InitFromStringMp" = hidden constant <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }> <{ i32 65603, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s7llvm_O3MXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.14.InitFromString to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp", i32 0, i32 2) to i64)) to i32), i32 0, i32 1, i32 0, %swift.protocol_requirement { i32 2, i32 0 } }>, section ".rodata", no_sanitize_address, align 4
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@"symbolic _____ySsG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySsGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSsN" = external global %swift.type, align 8
@"symbolic _____ySSG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySSGMD" to i64)) to i32), i32 -9 }, align 8
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"$s7llvm_O314InitFromStringHr" = private constant %swift.protocolref { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp" to i64), i64 ptrtoint (%swift.protocolref* @"$s7llvm_O314InitFromStringHr" to i64)) to i32) }, section "swift5_protocols", no_sanitize_address, align 4
@"$sSi7llvm_O314InitFromStringAAHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$sSi7llvm_O314InitFromStringAAMc" to i64), i64 ptrtoint (i32* @"$sSi7llvm_O314InitFromStringAAHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@"$ss4Int8V7llvm_O314InitFromStringACHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss4Int8V7llvm_O314InitFromStringACMc" to i64), i64 ptrtoint (i32* @"$ss4Int8V7llvm_O314InitFromStringACHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@"$ss5Int16V7llvm_O314InitFromStringACHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int16V7llvm_O314InitFromStringACMc" to i64), i64 ptrtoint (i32* @"$ss5Int16V7llvm_O314InitFromStringACHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@"$ss5Int32V7llvm_O314InitFromStringACHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int32V7llvm_O314InitFromStringACMc" to i64), i64 ptrtoint (i32* @"$ss5Int32V7llvm_O314InitFromStringACHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@"$ss5Int64V7llvm_O314InitFromStringACHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$ss5Int64V7llvm_O314InitFromStringACMc" to i64), i64 ptrtoint (i32* @"$ss5Int64V7llvm_O314InitFromStringACHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@"$sSS7llvm_O314InitFromStringAAHc" = private constant i32 trunc (i64 sub (i64 ptrtoint (%swift.protocol_conformance_descriptor* @"$sSS7llvm_O314InitFromStringAAMc" to i64), i64 ptrtoint (i32* @"$sSS7llvm_O314InitFromStringAAHc" to i64)) to i32), section "swift5_protocol_conformances", no_sanitize_address, align 4
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [77 x i8] c"-lswift_Concurrency\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [14 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (%swift.protocolref* @"$s7llvm_O314InitFromStringHr" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O314InitFromString_pMF" to i8*), i8* bitcast (i32* @"$sSS7llvm_O314InitFromStringAAHc" to i8*), i8* bitcast (i32* @"$sSi7llvm_O314InitFromStringAAHc" to i8*), i8* bitcast (i32* @"$ss4Int8V7llvm_O314InitFromStringACHc" to i8*), i8* bitcast (i32* @"$ss5Int16V7llvm_O314InitFromStringACHc" to i8*), i8* bitcast (i32* @"$ss5Int32V7llvm_O314InitFromStringACHc" to i8*), i8* bitcast (i32* @"$ss5Int64V7llvm_O314InitFromStringACHc" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([77 x i8], [77 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

@"$s7llvm_O314InitFromStringTL" = hidden alias %swift.protocol_requirement, getelementptr (%swift.protocol_requirement, %swift.protocol_requirement* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s7llvm_O314InitFromStringMp", i32 0, i32 6), i32 -1)

define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch10 = alloca [24 x i8], align 8
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %3 = alloca %TSi, align 8
  %4 = alloca %TSa, align 8
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSi_Tg5"()
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 1, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp eq i64 %6, 0
  br i1 %.not, label %105, label %7, !prof !7

7:                                                ; preds = %entry
  %8 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 1
  %tailaddr._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %8 to i64*
  %9 = load i64, i64* %tailaddr._value, align 8
  store i64 %9, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_O31nSivp", i64 0, i32 0), align 8
  %10 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %10) #2
  %11 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSi_Tg5"()
  store %Ts28__ContiguousArrayStorageBaseC* %11, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O31aSaySiGvp", i64 0, i32 0, i32 0), align 8
  %12 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_O31nSivp", i64 0, i32 0), align 8
  %13 = icmp slt i64 %12, 0
  br i1 %13, label %106, label %14, !prof !7

14:                                               ; preds = %7
  %.not33 = icmp eq i64 %12, 0
  br i1 %.not33, label %.thread, label %.thread.loopexit

.thread.loopexit:                                 ; preds = %14
  %15 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %12, %swift.type* nonnull @"$sSiN")
  %._storage23.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %12, i64* %._storage23.count._value, align 8
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1
  %17 = bitcast %Ts28__ContiguousArrayStorageBaseC* %16 to i8*
  %18 = shl nuw i64 %12, 3
  tail call void @llvm.memset.p0i8.i64(i8* align 8 %17, i8 0, i64 %18, i1 false)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O31aSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %.thread

.thread:                                          ; preds = %.thread.loopexit, %14
  %19 = phi %Ts28__ContiguousArrayStorageBaseC* [ %11, %14 ], [ %.pre, %.thread.loopexit ]
  %20 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ], [ %15, %.thread.loopexit ]
  store %Ts28__ContiguousArrayStorageBaseC* %20, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33resSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 0, i32 1, i32 0, i32 0, i32 0
  %21 = load i64, i64* %._storage2.count._value, align 8, !range !6
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %55, label %23

23:                                               ; preds = %.thread
  %24 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %24 to %TSi*
  %25 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 0, i32 0
  %26 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  %27 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %25) #18
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %26)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_O33resSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #2
  br label %28

28:                                               ; preds = %51, %23
  %29 = phi i64 [ 0, %23 ], [ %42, %51 ]
  %._value4 = getelementptr inbounds %TSi, %TSi* %tailaddr3, i64 %29, i32 0
  %30 = load i64, i64* %._value4, align 8
  %31 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %30, i64 -1)
  %32 = extractvalue { i64, i1 } %31, 0
  %33 = extractvalue { i64, i1 } %31, 1
  br i1 %33, label %107, label %34, !prof !7

34:                                               ; preds = %28
  %35 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33resSaySiGvp", i64 0, i32 0, i32 0), align 8
  %36 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 0
  %37 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %36) #18
  store %Ts28__ContiguousArrayStorageBaseC* %35, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33resSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %37, label %40, label %38

38:                                               ; preds = %34
  %39 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %35)
  store %Ts28__ContiguousArrayStorageBaseC* %39, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33resSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %40

40:                                               ; preds = %34, %38
  %41 = phi %Ts28__ContiguousArrayStorageBaseC* [ %35, %34 ], [ %39, %38 ]
  %42 = add nuw nsw i64 %29, 1
  %43 = icmp slt i64 %32, 0
  br i1 %43, label %108, label %44, !prof !7

44:                                               ; preds = %40
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %41, i64 0, i32 1, i32 0, i32 0, i32 0
  %45 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %.not34 = icmp ult i64 %32, %45
  br i1 %.not34, label %46, label %109, !prof !8

46:                                               ; preds = %44
  %47 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %41, i64 1
  %tailaddr6 = bitcast %Ts28__ContiguousArrayStorageBaseC* %47 to %TSi*
  %._value7 = getelementptr inbounds %TSi, %TSi* %tailaddr6, i64 %32, i32 0
  %48 = load i64, i64* %._value7, align 8
  %49 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %48, i64 1)
  %50 = extractvalue { i64, i1 } %49, 1
  br i1 %50, label %110, label %51, !prof !7

51:                                               ; preds = %46
  %52 = extractvalue { i64, i1 } %49, 0
  store i64 %52, i64* %._value7, align 8
  %53 = icmp eq i64 %42, %21
  br i1 %53, label %54, label %28

54:                                               ; preds = %51
  call void @swift_release(%swift.refcounted* %25) #2
  br label %55

55:                                               ; preds = %.thread, %54
  %56 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #19
  %57 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %56, i64 64, i64 7) #2
  %58 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %57, i64 1
  %._storage9.count._value = bitcast %swift.refcounted* %58 to i64*
  store i64 1, i64* %._storage9.count._value, align 8
  %._storage9._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %57, i64 1, i32 1
  store i64 2, i64* %._storage9._capacityAndFlags, align 8
  %59 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch10, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %59)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_O33resSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch10, i64 0, i8* null) #2
  %60 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33resSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %60, i64 0, i32 1, i32 0, i32 0, i32 0
  %61 = load i64, i64* %._storage11.count._value, align 8, !range !6
  %62 = icmp eq i64 %61, 0
  br i1 %62, label %71, label %63

63:                                               ; preds = %55
  %64 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %64)
  %65 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %60, i64 0, i32 0
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %2, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %66 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %65) #18
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %61, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %67 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %68 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %60, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %68 to %TSi*
  %69 = bitcast %TSi* %3 to i8*
  %._value15 = getelementptr inbounds %TSi, %TSi* %3, i64 0, i32 0
  %70 = bitcast %TSi* %3 to %swift.opaque*
  br label %86

71:                                               ; preds = %55, %104
  %72 = phi %Ts28__ContiguousArrayStorageBaseC* [ %100, %104 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %55 ]
  %73 = bitcast %swift.refcounted* %57 to %Ts28__ContiguousArrayStorageBaseC*
  %74 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %57, i64 2
  %75 = bitcast %TSa* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %75)
  %._buffer21._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %72, %Ts28__ContiguousArrayStorageBaseC** %._buffer21._storage, align 8
  %76 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySSGMD") #19
  %77 = call i8** @"$sSaySSGSayxGSKsWlTm"(i8*** @"$sSaySSGSayxGSKsWL", %swift.protocol_conformance_descriptor* @"$sSayxGSKsMc")
  %78 = bitcast %TSa* %4 to %swift.opaque*
  %79 = call swiftcc { i64, %swift.bridge* } @"$sSKsSS7ElementRtzrlE6joined9separatorS2S_tF"(i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.type* %76, i8** %77, %swift.opaque* noalias nocapture nonnull swiftself %78)
  %80 = extractvalue { i64, %swift.bridge* } %79, 0
  %81 = extractvalue { i64, %swift.bridge* } %79, 1
  %82 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %82) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %75)
  %83 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %57, i64 3, i32 1
  %84 = bitcast i64* %83 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %84, align 8
  %._guts22._object._countAndFlagsBits._value = bitcast %swift.refcounted* %74 to i64*
  store i64 %80, i64* %._guts22._object._countAndFlagsBits._value, align 8
  %._guts22._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %57, i64 2, i32 1
  %85 = bitcast i64* %._guts22._object._object to %swift.bridge**
  store %swift.bridge* %81, %swift.bridge** %85, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %73, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  call void @swift_release(%swift.refcounted* %57) #2
  ret i32 0

86:                                               ; preds = %99, %63
  %87 = phi i64 [ 0, %63 ], [ %101, %99 ]
  %88 = phi %Ts28__ContiguousArrayStorageBaseC* [ %67, %63 ], [ %100, %99 ]
  %._value14 = getelementptr inbounds %TSi, %TSi* %tailaddr13, i64 %87, i32 0
  %89 = load i64, i64* %._value14, align 8
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %69)
  store i64 %89, i64* %._value15, align 8
  %90 = call swiftcc { i64, %swift.bridge* } @"$ss23CustomStringConvertibleP11descriptionSSvgTj"(%swift.opaque* noalias nocapture nonnull swiftself %70, %swift.type* nonnull @"$sSiN", i8** nonnull @"$sSis23CustomStringConvertiblesWP")
  %91 = extractvalue { i64, %swift.bridge* } %90, 0
  %92 = extractvalue { i64, %swift.bridge* } %90, 1
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %69)
  store %Ts28__ContiguousArrayStorageBaseC* %88, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage17.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 0, i32 0
  %93 = load i64, i64* %._storage17.count._value, align 8, !range !6
  %._storage17._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 1, i32 0
  %94 = load i64, i64* %._storage17._capacityAndFlags._value, align 8
  %95 = lshr i64 %94, 1
  %96 = add nuw nsw i64 %93, 1
  %.not35 = icmp ugt i64 %95, %93
  br i1 %.not35, label %99, label %97, !prof !8

97:                                               ; preds = %86
  %98 = icmp ugt i64 %94, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %98, i64 %96, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre36 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %99

99:                                               ; preds = %86, %97
  %100 = phi %Ts28__ContiguousArrayStorageBaseC* [ %88, %86 ], [ %.pre36, %97 ]
  %101 = add nuw nsw i64 %87, 1
  %._storage18.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %100, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %96, i64* %._storage18.count._value, align 8
  %102 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %100, i64 1
  %tailaddr19 = bitcast %Ts28__ContiguousArrayStorageBaseC* %102 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr19, i64 %93, i32 0, i32 0, i32 0, i32 0
  store i64 %91, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr19, i64 %93, i32 0, i32 0, i32 1
  store %swift.bridge* %92, %swift.bridge** %._guts._object._object, align 8
  %103 = icmp eq i64 %101, %61
  br i1 %103, label %104, label %86

104:                                              ; preds = %99
  call void @swift_release(%swift.refcounted* %65) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %64)
  br label %71

105:                                              ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

106:                                              ; preds = %7
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable

107:                                              ; preds = %28
  call void asm sideeffect "", "n"(i32 4) #2
  call void @llvm.trap()
  unreachable

108:                                              ; preds = %40
  call void asm sideeffect "", "n"(i32 5) #2
  call void @llvm.trap()
  unreachable

109:                                              ; preds = %44
  call void asm sideeffect "", "n"(i32 6) #2
  call void @llvm.trap()
  unreachable

110:                                              ; preds = %46
  call void asm sideeffect "", "n"(i32 7) #2
  call void @llvm.trap()
  unreachable
}

define internal swiftcc void @"$sSi7llvm_O314InitFromStringA2aBPyxSgSScfCTW"(%TSiSg* noalias nocapture writeonly sret(%TSiSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
  tail call swiftcc void @"$sSi7llvm_O314InitFromStringA2aBPyxSgSScfCTWTm"(%TSiSg* noalias nocapture writeonly sret(%TSiSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0
  ret void
}

define internal swiftcc void @"$ss4Int8V7llvm_O314InitFromStringA2cDPyxSgSScfCTW"(%Ts4Int8VSg* noalias nocapture writeonly sret(%Ts4Int8VSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
entry:
  %.sroa.042.sroa.6 = alloca i8, align 1
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %5 = ptrtoint %swift.bridge* %2 to i64
  %6 = and i64 %5, 2305843009213693952
  %7 = icmp eq i64 %6, 0
  %8 = lshr i64 %5, 56
  %9 = and i64 %8, 15
  %10 = and i64 %1, 281474976710655
  %11 = select i1 %7, i64 %10, i64 %9
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %14, !prof !7

13:                                               ; preds = %entry
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  br label %17

14:                                               ; preds = %entry
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  %15 = and i64 %5, 1152921504606846976
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %23, label %.thread, !prof !8

17:                                               ; preds = %57, %13
  %18 = phi i8 [ 0, %13 ], [ %., %57 ]
  %19 = phi i1 [ true, %13 ], [ %59, %57 ]
  %20 = getelementptr inbounds %Ts4Int8VSg, %Ts4Int8VSg* %0, i64 0, i32 0, i64 0
  store i8 %18, i8* %20, align 1
  %21 = getelementptr inbounds %Ts4Int8VSg, %Ts4Int8VSg* %0, i64 0, i32 1
  %22 = bitcast [1 x i8]* %21 to i1*
  store i1 %19, i1* %22, align 1
  ret void

23:                                               ; preds = %14
  br i1 %7, label %24, label %27

.thread:                                          ; preds = %14
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  br label %53

24:                                               ; preds = %23
  %25 = and i64 %1, 1152921504606846976
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %34, label %38, !prof !7

27:                                               ; preds = %23
  %28 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %28)
  %29 = and i64 %5, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %1, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %29, i64* %.elt1._value, align 8
  %30 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to %Ts5UInt8V*
  %31 = trunc i64 %1 to i8
  %32 = lshr i64 %1, 8
  %33 = trunc i64 %32 to i8
  switch i8 %31, label %86 [
    i8 45, label %60
    i8 43, label %85
  ]

34:                                               ; preds = %24
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %1, %swift.bridge* %2) #20
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %.thread127

38:                                               ; preds = %24
  %39 = and i64 %5, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  br label %.thread127

.thread127:                                       ; preds = %38, %34
  %41 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %42 = phi i64 [ %10, %38 ], [ %37, %34 ]
  %43 = call swiftcc i16 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s4Int8V_Tg5Tm"(i64 %41, i64 %42, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %44 = and i16 %43, 256
  %45 = icmp ne i16 %44, 0
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not)
  %temp-coercion.coerced11.sroa.0.0.extract.trunc = trunc i16 %43 to i8
  %.sroa.042.sroa.6.0.sroa_cast121 = bitcast i8* %.sroa.042.sroa.6 to i1*
  store i1 %45, i1* %.sroa.042.sroa.6.0.sroa_cast121, align 1
  %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre129 = load i8, i8* %.sroa.042.sroa.6, align 1
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  br label %50

.thread131:                                       ; preds = %60, %85, %86
  %.sroa.042.sroa.6.0.sroa_cast134 = bitcast i8* %.sroa.042.sroa.6 to i1*
  store i1 true, i1* %.sroa.042.sroa.6.0.sroa_cast134, align 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre135 = load i8, i8* %.sroa.042.sroa.6, align 1
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  br label %50

.loopexit96.thread:                               ; preds = %114, %111, %117, %88, %92, %61, %65
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1..ph = phi i1 [ true, %114 ], [ false, %111 ], [ false, %117 ], [ true, %88 ], [ false, %92 ], [ true, %61 ], [ false, %65 ]
  %.sroa.0.0.ph = phi i8 [ 0, %114 ], [ 0, %111 ], [ %115, %117 ], [ 0, %88 ], [ %90, %92 ], [ 0, %61 ], [ %66, %65 ]
  %.sroa.042.sroa.6.0.sroa_cast138 = bitcast i8* %.sroa.042.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1..ph, i1* %.sroa.042.sroa.6.0.sroa_cast138, align 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre139 = load i8, i8* %.sroa.042.sroa.6, align 1
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  br label %50

.loopexit96.loopexit.split.loop.exit:             ; preds = %132
  %47 = extractvalue { i8, i1 } %130, 0
  br label %.loopexit96

.loopexit96.loopexit142.split.loop.exit:          ; preds = %81
  %48 = extractvalue { i8, i1 } %79, 0
  br label %.loopexit96

.loopexit96.loopexit145.split.loop.exit:          ; preds = %107
  %49 = extractvalue { i8, i1 } %105, 0
  br label %.loopexit96

.loopexit96:                                      ; preds = %.preheader97, %103, %100, %.preheader94, %77, %74, %.preheader, %128, %125, %.loopexit96.loopexit145.split.loop.exit, %.loopexit96.loopexit142.split.loop.exit, %.loopexit96.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1. = phi i1 [ false, %.loopexit96.loopexit.split.loop.exit ], [ false, %.loopexit96.loopexit142.split.loop.exit ], [ false, %.loopexit96.loopexit145.split.loop.exit ], [ true, %125 ], [ true, %128 ], [ true, %.preheader ], [ true, %74 ], [ true, %77 ], [ true, %.preheader94 ], [ true, %100 ], [ true, %103 ], [ true, %.preheader97 ]
  %.sroa.0.0 = phi i8 [ %47, %.loopexit96.loopexit.split.loop.exit ], [ %48, %.loopexit96.loopexit142.split.loop.exit ], [ %49, %.loopexit96.loopexit145.split.loop.exit ], [ 0, %125 ], [ 0, %128 ], [ 0, %.preheader ], [ 0, %74 ], [ 0, %77 ], [ 0, %.preheader94 ], [ 0, %100 ], [ 0, %103 ], [ 0, %.preheader97 ]
  %.sroa.042.sroa.6.0.sroa_cast = bitcast i8* %.sroa.042.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1., i1* %.sroa.042.sroa.6.0.sroa_cast, align 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre = load i8, i8* %.sroa.042.sroa.6, align 1
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.042.sroa.6)
  br i1 %16, label %50, label %53

50:                                               ; preds = %.loopexit96.thread, %.thread131, %.thread127, %.loopexit96
  %.in = phi i8 [ %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre129, %.thread127 ], [ %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre, %.loopexit96 ], [ %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre135, %.thread131 ], [ %.sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.sroa.6.0..sroa.042.0..pre139, %.loopexit96.thread ]
  %.sroa.042.sroa.0.0130 = phi i8 [ %temp-coercion.coerced11.sroa.0.0.extract.trunc, %.thread127 ], [ %.sroa.0.0, %.loopexit96 ], [ 0, %.thread131 ], [ %.sroa.0.0.ph, %.loopexit96.thread ]
  %51 = and i8 %.in, 1
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %52 = icmp ne i8 %51, 0
  br label %57

53:                                               ; preds = %.thread, %.loopexit96
  %54 = call swiftcc i16 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s4Int8V_Tg5"(i64 %1, %swift.bridge* %2, i64 10) #20
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %temp-coercion.coerced.sroa.0.0.extract.trunc = trunc i16 %54 to i8
  %55 = and i16 %54, 256
  %56 = icmp ne i16 %55, 0
  br label %57

57:                                               ; preds = %50, %53
  %58 = phi i8 [ %temp-coercion.coerced.sroa.0.0.extract.trunc, %53 ], [ %.sroa.042.sroa.0.0130, %50 ]
  %59 = phi i1 [ %56, %53 ], [ %52, %50 ]
  %. = select i1 %59, i8 0, i8 %58
  br label %17

60:                                               ; preds = %27
  switch i64 %9, label %61 [
    i64 0, label %137
    i64 1, label %.thread131
  ], !prof !9

61:                                               ; preds = %60
  %62 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %63 = add i8 %33, -48
  %64 = icmp ult i8 %63, 10
  br i1 %64, label %65, label %.loopexit96.thread, !prof !10

65:                                               ; preds = %61
  %66 = sub nsw i8 48, %33
  %67 = icmp eq i64 %9, 2
  br i1 %67, label %.loopexit96.thread, label %.preheader94.preheader

.preheader94.preheader:                           ; preds = %65
  %68 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader94

.preheader94:                                     ; preds = %.preheader94.preheader, %81
  %69 = phi i8* [ %83, %81 ], [ %68, %.preheader94.preheader ]
  %70 = phi i8 [ %82, %81 ], [ %66, %.preheader94.preheader ]
  %71 = load i8, i8* %69, align 1
  %72 = add i8 %71, -48
  %73 = icmp ult i8 %72, 10
  br i1 %73, label %74, label %.loopexit96, !prof !10

74:                                               ; preds = %.preheader94
  %75 = call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %70, i8 10)
  %76 = extractvalue { i8, i1 } %75, 1
  br i1 %76, label %.loopexit96, label %77

77:                                               ; preds = %74
  %78 = extractvalue { i8, i1 } %75, 0
  %79 = call { i8, i1 } @llvm.ssub.with.overflow.i8(i8 %78, i8 %72)
  %80 = extractvalue { i8, i1 } %79, 1
  br i1 %80, label %.loopexit96, label %81, !prof !7

81:                                               ; preds = %77
  %82 = extractvalue { i8, i1 } %79, 0
  %83 = getelementptr inbounds i8, i8* %69, i64 1
  %84 = icmp eq i8* %83, %62
  br i1 %84, label %.loopexit96.loopexit142.split.loop.exit, label %.preheader94

85:                                               ; preds = %27
  switch i64 %9, label %88 [
    i64 0, label %136
    i64 1, label %.thread131
  ], !prof !9

86:                                               ; preds = %27
  %87 = icmp eq i64 %9, 0
  br i1 %87, label %.thread131, label %111, !prof !7

88:                                               ; preds = %85
  %89 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %90 = add i8 %33, -48
  %91 = icmp ult i8 %90, 10
  br i1 %91, label %92, label %.loopexit96.thread, !prof !10

92:                                               ; preds = %88
  %93 = icmp eq i64 %9, 2
  br i1 %93, label %.loopexit96.thread, label %.preheader97.preheader

.preheader97.preheader:                           ; preds = %92
  %94 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader97

.preheader97:                                     ; preds = %.preheader97.preheader, %107
  %95 = phi i8* [ %109, %107 ], [ %94, %.preheader97.preheader ]
  %96 = phi i8 [ %108, %107 ], [ %90, %.preheader97.preheader ]
  %97 = load i8, i8* %95, align 1
  %98 = add i8 %97, -48
  %99 = icmp ult i8 %98, 10
  br i1 %99, label %100, label %.loopexit96, !prof !10

100:                                              ; preds = %.preheader97
  %101 = call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %96, i8 10)
  %102 = extractvalue { i8, i1 } %101, 1
  br i1 %102, label %.loopexit96, label %103

103:                                              ; preds = %100
  %104 = extractvalue { i8, i1 } %101, 0
  %105 = call { i8, i1 } @llvm.sadd.with.overflow.i8(i8 %104, i8 %98)
  %106 = extractvalue { i8, i1 } %105, 1
  br i1 %106, label %.loopexit96, label %107, !prof !7

107:                                              ; preds = %103
  %108 = extractvalue { i8, i1 } %105, 0
  %109 = getelementptr inbounds i8, i8* %95, i64 1
  %110 = icmp eq i8* %109, %89
  br i1 %110, label %.loopexit96.loopexit145.split.loop.exit, label %.preheader97

111:                                              ; preds = %86
  %112 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %113 = icmp eq i8* %112, %28
  br i1 %113, label %.loopexit96.thread, label %114

114:                                              ; preds = %111
  %115 = add i8 %31, -48
  %116 = icmp ult i8 %115, 10
  br i1 %116, label %117, label %.loopexit96.thread, !prof !10

117:                                              ; preds = %114
  %118 = icmp eq i64 %9, 1
  br i1 %118, label %.loopexit96.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %117
  %119 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 1, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %132
  %120 = phi i8* [ %134, %132 ], [ %119, %.preheader.preheader ]
  %121 = phi i8 [ %133, %132 ], [ %115, %.preheader.preheader ]
  %122 = load i8, i8* %120, align 1
  %123 = add i8 %122, -48
  %124 = icmp ult i8 %123, 10
  br i1 %124, label %125, label %.loopexit96, !prof !10

125:                                              ; preds = %.preheader
  %126 = call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %121, i8 10)
  %127 = extractvalue { i8, i1 } %126, 1
  br i1 %127, label %.loopexit96, label %128

128:                                              ; preds = %125
  %129 = extractvalue { i8, i1 } %126, 0
  %130 = call { i8, i1 } @llvm.sadd.with.overflow.i8(i8 %129, i8 %123)
  %131 = extractvalue { i8, i1 } %130, 1
  br i1 %131, label %.loopexit96, label %132, !prof !7

132:                                              ; preds = %128
  %133 = extractvalue { i8, i1 } %130, 0
  %134 = getelementptr inbounds i8, i8* %120, i64 1
  %135 = icmp eq i8* %134, %112
  br i1 %135, label %.loopexit96.loopexit.split.loop.exit, label %.preheader

136:                                              ; preds = %85
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

137:                                              ; preds = %60
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc void @"$ss5Int16V7llvm_O314InitFromStringA2cDPyxSgSScfCTW"(%Ts5Int16VSg* noalias nocapture writeonly sret(%Ts5Int16VSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
entry:
  %.sroa.045.sroa.6 = alloca i8, align 2
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %5 = ptrtoint %swift.bridge* %2 to i64
  %6 = and i64 %5, 2305843009213693952
  %7 = icmp eq i64 %6, 0
  %8 = lshr i64 %5, 56
  %9 = and i64 %8, 15
  %10 = and i64 %1, 281474976710655
  %11 = select i1 %7, i64 %10, i64 %9
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %14, !prof !7

13:                                               ; preds = %entry
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  br label %17

14:                                               ; preds = %entry
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  %15 = and i64 %5, 1152921504606846976
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %23, label %.thread, !prof !8

17:                                               ; preds = %57, %13
  %18 = phi i16 [ 0, %13 ], [ %., %57 ]
  %19 = phi i1 [ true, %13 ], [ %59, %57 ]
  %20 = bitcast %Ts5Int16VSg* %0 to i16*
  store i16 %18, i16* %20, align 2
  %21 = getelementptr inbounds %Ts5Int16VSg, %Ts5Int16VSg* %0, i64 0, i32 1
  %22 = bitcast [1 x i8]* %21 to i1*
  store i1 %19, i1* %22, align 2
  ret void

23:                                               ; preds = %14
  br i1 %7, label %24, label %27

.thread:                                          ; preds = %14
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  br label %53

24:                                               ; preds = %23
  %25 = and i64 %1, 1152921504606846976
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %34, label %38, !prof !7

27:                                               ; preds = %23
  %28 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %28)
  %29 = and i64 %5, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %1, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %29, i64* %.elt1._value, align 8
  %30 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to %Ts5UInt8V*
  %31 = trunc i64 %1 to i8
  %32 = lshr i64 %1, 8
  %33 = trunc i64 %32 to i8
  switch i8 %31, label %88 [
    i8 45, label %60
    i8 43, label %87
  ]

34:                                               ; preds = %24
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %1, %swift.bridge* %2) #20
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %.thread131

38:                                               ; preds = %24
  %39 = and i64 %5, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  br label %.thread131

.thread131:                                       ; preds = %38, %34
  %41 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %42 = phi i64 [ %10, %38 ], [ %37, %34 ]
  %43 = call swiftcc i32 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int16V_Tg5Tm"(i64 %41, i64 %42, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %44 = and i32 %43, 65536
  %45 = icmp ne i32 %44, 0
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not)
  %temp-coercion.coerced11.sroa.0.0.extract.trunc = trunc i32 %43 to i16
  %.sroa.045.sroa.6.0.sroa_cast125 = bitcast i8* %.sroa.045.sroa.6 to i1*
  store i1 %45, i1* %.sroa.045.sroa.6.0.sroa_cast125, align 2
  %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre133 = load i8, i8* %.sroa.045.sroa.6, align 2
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  br label %50

.thread135:                                       ; preds = %60, %87, %88
  %.sroa.045.sroa.6.0.sroa_cast138 = bitcast i8* %.sroa.045.sroa.6 to i1*
  store i1 true, i1* %.sroa.045.sroa.6.0.sroa_cast138, align 2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre139 = load i8, i8* %.sroa.045.sroa.6, align 2
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  br label %50

.loopexit100.thread:                              ; preds = %118, %115, %121, %90, %94, %61, %65
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2..ph = phi i1 [ true, %118 ], [ false, %115 ], [ false, %121 ], [ true, %90 ], [ false, %94 ], [ true, %61 ], [ false, %65 ]
  %.sroa.0.0.ph = phi i16 [ 0, %118 ], [ 0, %115 ], [ %122, %121 ], [ 0, %90 ], [ %95, %94 ], [ 0, %61 ], [ %67, %65 ]
  %.sroa.045.sroa.6.0.sroa_cast142 = bitcast i8* %.sroa.045.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2..ph, i1* %.sroa.045.sroa.6.0.sroa_cast142, align 2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre143 = load i8, i8* %.sroa.045.sroa.6, align 2
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  br label %50

.loopexit100.loopexit.split.loop.exit:            ; preds = %138
  %47 = extractvalue { i16, i1 } %136, 0
  br label %.loopexit100

.loopexit100.loopexit146.split.loop.exit:         ; preds = %83
  %48 = extractvalue { i16, i1 } %81, 0
  br label %.loopexit100

.loopexit100.loopexit149.split.loop.exit:         ; preds = %111
  %49 = extractvalue { i16, i1 } %109, 0
  br label %.loopexit100

.loopexit100:                                     ; preds = %.preheader101, %106, %103, %.preheader98, %78, %75, %.preheader, %133, %130, %.loopexit100.loopexit149.split.loop.exit, %.loopexit100.loopexit146.split.loop.exit, %.loopexit100.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2. = phi i1 [ false, %.loopexit100.loopexit.split.loop.exit ], [ false, %.loopexit100.loopexit146.split.loop.exit ], [ false, %.loopexit100.loopexit149.split.loop.exit ], [ true, %130 ], [ true, %133 ], [ true, %.preheader ], [ true, %75 ], [ true, %78 ], [ true, %.preheader98 ], [ true, %103 ], [ true, %106 ], [ true, %.preheader101 ]
  %.sroa.0.0 = phi i16 [ %47, %.loopexit100.loopexit.split.loop.exit ], [ %48, %.loopexit100.loopexit146.split.loop.exit ], [ %49, %.loopexit100.loopexit149.split.loop.exit ], [ 0, %130 ], [ 0, %133 ], [ 0, %.preheader ], [ 0, %75 ], [ 0, %78 ], [ 0, %.preheader98 ], [ 0, %103 ], [ 0, %106 ], [ 0, %.preheader101 ]
  %.sroa.045.sroa.6.0.sroa_cast = bitcast i8* %.sroa.045.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2., i1* %.sroa.045.sroa.6.0.sroa_cast, align 2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre = load i8, i8* %.sroa.045.sroa.6, align 2
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.045.sroa.6)
  br i1 %16, label %50, label %53

50:                                               ; preds = %.loopexit100.thread, %.thread135, %.thread131, %.loopexit100
  %.in = phi i8 [ %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre133, %.thread131 ], [ %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre, %.loopexit100 ], [ %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre139, %.thread135 ], [ %.sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.sroa.6.0..sroa.045.0..pre143, %.loopexit100.thread ]
  %.sroa.045.sroa.0.0134 = phi i16 [ %temp-coercion.coerced11.sroa.0.0.extract.trunc, %.thread131 ], [ %.sroa.0.0, %.loopexit100 ], [ 0, %.thread135 ], [ %.sroa.0.0.ph, %.loopexit100.thread ]
  %51 = and i8 %.in, 1
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %52 = icmp ne i8 %51, 0
  br label %57

53:                                               ; preds = %.thread, %.loopexit100
  %54 = call swiftcc i32 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s5Int16V_Tg5"(i64 %1, %swift.bridge* %2, i64 10) #20
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %temp-coercion.coerced.sroa.0.0.extract.trunc = trunc i32 %54 to i16
  %55 = and i32 %54, 65536
  %56 = icmp ne i32 %55, 0
  br label %57

57:                                               ; preds = %50, %53
  %58 = phi i16 [ %temp-coercion.coerced.sroa.0.0.extract.trunc, %53 ], [ %.sroa.045.sroa.0.0134, %50 ]
  %59 = phi i1 [ %56, %53 ], [ %52, %50 ]
  %. = select i1 %59, i16 0, i16 %58
  br label %17

60:                                               ; preds = %27
  switch i64 %9, label %61 [
    i64 0, label %143
    i64 1, label %.thread135
  ], !prof !9

61:                                               ; preds = %60
  %62 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %63 = add i8 %33, -48
  %64 = icmp ult i8 %63, 10
  br i1 %64, label %65, label %.loopexit100.thread, !prof !10

65:                                               ; preds = %61
  %66 = zext i8 %63 to i16
  %67 = sub nsw i16 0, %66
  %68 = icmp eq i64 %9, 2
  br i1 %68, label %.loopexit100.thread, label %.preheader98.preheader

.preheader98.preheader:                           ; preds = %65
  %69 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader98

.preheader98:                                     ; preds = %.preheader98.preheader, %83
  %70 = phi i8* [ %85, %83 ], [ %69, %.preheader98.preheader ]
  %71 = phi i16 [ %84, %83 ], [ %67, %.preheader98.preheader ]
  %72 = load i8, i8* %70, align 1
  %73 = add i8 %72, -48
  %74 = icmp ult i8 %73, 10
  br i1 %74, label %75, label %.loopexit100, !prof !10

75:                                               ; preds = %.preheader98
  %76 = call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %71, i16 10)
  %77 = extractvalue { i16, i1 } %76, 1
  br i1 %77, label %.loopexit100, label %78

78:                                               ; preds = %75
  %79 = extractvalue { i16, i1 } %76, 0
  %80 = zext i8 %73 to i16
  %81 = call { i16, i1 } @llvm.ssub.with.overflow.i16(i16 %79, i16 %80)
  %82 = extractvalue { i16, i1 } %81, 1
  br i1 %82, label %.loopexit100, label %83, !prof !7

83:                                               ; preds = %78
  %84 = extractvalue { i16, i1 } %81, 0
  %85 = getelementptr inbounds i8, i8* %70, i64 1
  %86 = icmp eq i8* %85, %62
  br i1 %86, label %.loopexit100.loopexit146.split.loop.exit, label %.preheader98

87:                                               ; preds = %27
  switch i64 %9, label %90 [
    i64 0, label %142
    i64 1, label %.thread135
  ], !prof !9

88:                                               ; preds = %27
  %89 = icmp eq i64 %9, 0
  br i1 %89, label %.thread135, label %115, !prof !7

90:                                               ; preds = %87
  %91 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %92 = add i8 %33, -48
  %93 = icmp ult i8 %92, 10
  br i1 %93, label %94, label %.loopexit100.thread, !prof !10

94:                                               ; preds = %90
  %95 = zext i8 %92 to i16
  %96 = icmp eq i64 %9, 2
  br i1 %96, label %.loopexit100.thread, label %.preheader101.preheader

.preheader101.preheader:                          ; preds = %94
  %97 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader101

.preheader101:                                    ; preds = %.preheader101.preheader, %111
  %98 = phi i8* [ %113, %111 ], [ %97, %.preheader101.preheader ]
  %99 = phi i16 [ %112, %111 ], [ %95, %.preheader101.preheader ]
  %100 = load i8, i8* %98, align 1
  %101 = add i8 %100, -48
  %102 = icmp ult i8 %101, 10
  br i1 %102, label %103, label %.loopexit100, !prof !10

103:                                              ; preds = %.preheader101
  %104 = call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %99, i16 10)
  %105 = extractvalue { i16, i1 } %104, 1
  br i1 %105, label %.loopexit100, label %106

106:                                              ; preds = %103
  %107 = extractvalue { i16, i1 } %104, 0
  %108 = zext i8 %101 to i16
  %109 = call { i16, i1 } @llvm.sadd.with.overflow.i16(i16 %107, i16 %108)
  %110 = extractvalue { i16, i1 } %109, 1
  br i1 %110, label %.loopexit100, label %111, !prof !7

111:                                              ; preds = %106
  %112 = extractvalue { i16, i1 } %109, 0
  %113 = getelementptr inbounds i8, i8* %98, i64 1
  %114 = icmp eq i8* %113, %91
  br i1 %114, label %.loopexit100.loopexit149.split.loop.exit, label %.preheader101

115:                                              ; preds = %88
  %116 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %117 = icmp eq i8* %116, %28
  br i1 %117, label %.loopexit100.thread, label %118

118:                                              ; preds = %115
  %119 = add i8 %31, -48
  %120 = icmp ult i8 %119, 10
  br i1 %120, label %121, label %.loopexit100.thread, !prof !10

121:                                              ; preds = %118
  %122 = zext i8 %119 to i16
  %123 = icmp eq i64 %9, 1
  br i1 %123, label %.loopexit100.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %121
  %124 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 1, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %138
  %125 = phi i8* [ %140, %138 ], [ %124, %.preheader.preheader ]
  %126 = phi i16 [ %139, %138 ], [ %122, %.preheader.preheader ]
  %127 = load i8, i8* %125, align 1
  %128 = add i8 %127, -48
  %129 = icmp ult i8 %128, 10
  br i1 %129, label %130, label %.loopexit100, !prof !10

130:                                              ; preds = %.preheader
  %131 = call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %126, i16 10)
  %132 = extractvalue { i16, i1 } %131, 1
  br i1 %132, label %.loopexit100, label %133

133:                                              ; preds = %130
  %134 = extractvalue { i16, i1 } %131, 0
  %135 = zext i8 %128 to i16
  %136 = call { i16, i1 } @llvm.sadd.with.overflow.i16(i16 %134, i16 %135)
  %137 = extractvalue { i16, i1 } %136, 1
  br i1 %137, label %.loopexit100, label %138, !prof !7

138:                                              ; preds = %133
  %139 = extractvalue { i16, i1 } %136, 0
  %140 = getelementptr inbounds i8, i8* %125, i64 1
  %141 = icmp eq i8* %140, %116
  br i1 %141, label %.loopexit100.loopexit.split.loop.exit, label %.preheader

142:                                              ; preds = %87
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

143:                                              ; preds = %60
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc void @"$ss5Int32V7llvm_O314InitFromStringA2cDPyxSgSScfCTW"(%Ts5Int32VSg* noalias nocapture writeonly sret(%Ts5Int32VSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
entry:
  %.sroa.049.sroa.6 = alloca i8, align 4
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %5 = ptrtoint %swift.bridge* %2 to i64
  %6 = and i64 %5, 2305843009213693952
  %7 = icmp eq i64 %6, 0
  %8 = lshr i64 %5, 56
  %9 = and i64 %8, 15
  %10 = and i64 %1, 281474976710655
  %11 = select i1 %7, i64 %10, i64 %9
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %14, !prof !7

13:                                               ; preds = %entry
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  br label %17

14:                                               ; preds = %entry
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  %15 = and i64 %5, 1152921504606846976
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %23, label %.thread, !prof !8

17:                                               ; preds = %57, %13
  %18 = phi i32 [ 0, %13 ], [ %., %57 ]
  %19 = phi i1 [ true, %13 ], [ %59, %57 ]
  %20 = bitcast %Ts5Int32VSg* %0 to i32*
  store i32 %18, i32* %20, align 4
  %21 = getelementptr inbounds %Ts5Int32VSg, %Ts5Int32VSg* %0, i64 0, i32 1
  %22 = bitcast [1 x i8]* %21 to i1*
  store i1 %19, i1* %22, align 4
  ret void

23:                                               ; preds = %14
  br i1 %7, label %24, label %27

.thread:                                          ; preds = %14
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  br label %53

24:                                               ; preds = %23
  %25 = and i64 %1, 1152921504606846976
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %34, label %38, !prof !7

27:                                               ; preds = %23
  %28 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %28)
  %29 = and i64 %5, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %1, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %29, i64* %.elt1._value, align 8
  %30 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to %Ts5UInt8V*
  %31 = trunc i64 %1 to i8
  %32 = lshr i64 %1, 8
  %33 = trunc i64 %32 to i8
  switch i8 %31, label %88 [
    i8 45, label %60
    i8 43, label %87
  ]

34:                                               ; preds = %24
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %1, %swift.bridge* %2) #20
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %.thread135

38:                                               ; preds = %24
  %39 = and i64 %5, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  br label %.thread135

.thread135:                                       ; preds = %38, %34
  %41 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %42 = phi i64 [ %10, %38 ], [ %37, %34 ]
  %43 = call swiftcc i64 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int32V_Tg5Tm"(i64 %41, i64 %42, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %44 = and i64 %43, 4294967296
  %45 = icmp ne i64 %44, 0
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not)
  %temp-coercion.coerced11.sroa.0.0.extract.trunc = trunc i64 %43 to i32
  %.sroa.049.sroa.6.0.sroa_cast129 = bitcast i8* %.sroa.049.sroa.6 to i1*
  store i1 %45, i1* %.sroa.049.sroa.6.0.sroa_cast129, align 4
  %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre137 = load i8, i8* %.sroa.049.sroa.6, align 4
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  br label %50

.thread139:                                       ; preds = %60, %87, %88
  %.sroa.049.sroa.6.0.sroa_cast142 = bitcast i8* %.sroa.049.sroa.6 to i1*
  store i1 true, i1* %.sroa.049.sroa.6.0.sroa_cast142, align 4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre143 = load i8, i8* %.sroa.049.sroa.6, align 4
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  br label %50

.loopexit104.thread:                              ; preds = %118, %115, %121, %90, %94, %61, %65
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4..ph = phi i1 [ true, %118 ], [ false, %115 ], [ false, %121 ], [ true, %90 ], [ false, %94 ], [ true, %61 ], [ false, %65 ]
  %.sroa.0.0.ph = phi i32 [ 0, %118 ], [ 0, %115 ], [ %122, %121 ], [ 0, %90 ], [ %95, %94 ], [ 0, %61 ], [ %67, %65 ]
  %.sroa.049.sroa.6.0.sroa_cast146 = bitcast i8* %.sroa.049.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4..ph, i1* %.sroa.049.sroa.6.0.sroa_cast146, align 4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre147 = load i8, i8* %.sroa.049.sroa.6, align 4
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  br label %50

.loopexit104.loopexit.split.loop.exit:            ; preds = %138
  %47 = extractvalue { i32, i1 } %136, 0
  br label %.loopexit104

.loopexit104.loopexit150.split.loop.exit:         ; preds = %83
  %48 = extractvalue { i32, i1 } %81, 0
  br label %.loopexit104

.loopexit104.loopexit153.split.loop.exit:         ; preds = %111
  %49 = extractvalue { i32, i1 } %109, 0
  br label %.loopexit104

.loopexit104:                                     ; preds = %.preheader105, %106, %103, %.preheader102, %78, %75, %.preheader, %133, %130, %.loopexit104.loopexit153.split.loop.exit, %.loopexit104.loopexit150.split.loop.exit, %.loopexit104.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4. = phi i1 [ false, %.loopexit104.loopexit.split.loop.exit ], [ false, %.loopexit104.loopexit150.split.loop.exit ], [ false, %.loopexit104.loopexit153.split.loop.exit ], [ true, %130 ], [ true, %133 ], [ true, %.preheader ], [ true, %75 ], [ true, %78 ], [ true, %.preheader102 ], [ true, %103 ], [ true, %106 ], [ true, %.preheader105 ]
  %.sroa.0.0 = phi i32 [ %47, %.loopexit104.loopexit.split.loop.exit ], [ %48, %.loopexit104.loopexit150.split.loop.exit ], [ %49, %.loopexit104.loopexit153.split.loop.exit ], [ 0, %130 ], [ 0, %133 ], [ 0, %.preheader ], [ 0, %75 ], [ 0, %78 ], [ 0, %.preheader102 ], [ 0, %103 ], [ 0, %106 ], [ 0, %.preheader105 ]
  %.sroa.049.sroa.6.0.sroa_cast = bitcast i8* %.sroa.049.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4., i1* %.sroa.049.sroa.6.0.sroa_cast, align 4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %28)
  %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre = load i8, i8* %.sroa.049.sroa.6, align 4
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.049.sroa.6)
  br i1 %16, label %50, label %53

50:                                               ; preds = %.loopexit104.thread, %.thread139, %.thread135, %.loopexit104
  %.in = phi i8 [ %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre137, %.thread135 ], [ %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre, %.loopexit104 ], [ %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre143, %.thread139 ], [ %.sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.sroa.6.0..sroa.049.0..pre147, %.loopexit104.thread ]
  %.sroa.049.sroa.0.0138 = phi i32 [ %temp-coercion.coerced11.sroa.0.0.extract.trunc, %.thread135 ], [ %.sroa.0.0, %.loopexit104 ], [ 0, %.thread139 ], [ %.sroa.0.0.ph, %.loopexit104.thread ]
  %51 = and i8 %.in, 1
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %52 = icmp ne i8 %51, 0
  br label %57

53:                                               ; preds = %.thread, %.loopexit104
  %54 = call swiftcc i64 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s5Int32V_Tg5"(i64 %1, %swift.bridge* %2, i64 10) #20
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %temp-coercion.coerced.sroa.0.0.extract.trunc = trunc i64 %54 to i32
  %55 = and i64 %54, 4294967296
  %56 = icmp ne i64 %55, 0
  br label %57

57:                                               ; preds = %50, %53
  %58 = phi i32 [ %temp-coercion.coerced.sroa.0.0.extract.trunc, %53 ], [ %.sroa.049.sroa.0.0138, %50 ]
  %59 = phi i1 [ %56, %53 ], [ %52, %50 ]
  %. = select i1 %59, i32 0, i32 %58
  br label %17

60:                                               ; preds = %27
  switch i64 %9, label %61 [
    i64 0, label %143
    i64 1, label %.thread139
  ], !prof !9

61:                                               ; preds = %60
  %62 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %63 = add i8 %33, -48
  %64 = icmp ult i8 %63, 10
  br i1 %64, label %65, label %.loopexit104.thread, !prof !10

65:                                               ; preds = %61
  %66 = zext i8 %63 to i32
  %67 = sub nsw i32 0, %66
  %68 = icmp eq i64 %9, 2
  br i1 %68, label %.loopexit104.thread, label %.preheader102.preheader

.preheader102.preheader:                          ; preds = %65
  %69 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader102

.preheader102:                                    ; preds = %.preheader102.preheader, %83
  %70 = phi i8* [ %85, %83 ], [ %69, %.preheader102.preheader ]
  %71 = phi i32 [ %84, %83 ], [ %67, %.preheader102.preheader ]
  %72 = load i8, i8* %70, align 1
  %73 = add i8 %72, -48
  %74 = icmp ult i8 %73, 10
  br i1 %74, label %75, label %.loopexit104, !prof !10

75:                                               ; preds = %.preheader102
  %76 = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %71, i32 10)
  %77 = extractvalue { i32, i1 } %76, 1
  br i1 %77, label %.loopexit104, label %78

78:                                               ; preds = %75
  %79 = extractvalue { i32, i1 } %76, 0
  %80 = zext i8 %73 to i32
  %81 = call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %79, i32 %80)
  %82 = extractvalue { i32, i1 } %81, 1
  br i1 %82, label %.loopexit104, label %83, !prof !7

83:                                               ; preds = %78
  %84 = extractvalue { i32, i1 } %81, 0
  %85 = getelementptr inbounds i8, i8* %70, i64 1
  %86 = icmp eq i8* %85, %62
  br i1 %86, label %.loopexit104.loopexit150.split.loop.exit, label %.preheader102

87:                                               ; preds = %27
  switch i64 %9, label %90 [
    i64 0, label %142
    i64 1, label %.thread139
  ], !prof !9

88:                                               ; preds = %27
  %89 = icmp eq i64 %9, 0
  br i1 %89, label %.thread139, label %115, !prof !7

90:                                               ; preds = %87
  %91 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %92 = add i8 %33, -48
  %93 = icmp ult i8 %92, 10
  br i1 %93, label %94, label %.loopexit104.thread, !prof !10

94:                                               ; preds = %90
  %95 = zext i8 %92 to i32
  %96 = icmp eq i64 %9, 2
  br i1 %96, label %.loopexit104.thread, label %.preheader105.preheader

.preheader105.preheader:                          ; preds = %94
  %97 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 2, i32 0
  br label %.preheader105

.preheader105:                                    ; preds = %.preheader105.preheader, %111
  %98 = phi i8* [ %113, %111 ], [ %97, %.preheader105.preheader ]
  %99 = phi i32 [ %112, %111 ], [ %95, %.preheader105.preheader ]
  %100 = load i8, i8* %98, align 1
  %101 = add i8 %100, -48
  %102 = icmp ult i8 %101, 10
  br i1 %102, label %103, label %.loopexit104, !prof !10

103:                                              ; preds = %.preheader105
  %104 = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %99, i32 10)
  %105 = extractvalue { i32, i1 } %104, 1
  br i1 %105, label %.loopexit104, label %106

106:                                              ; preds = %103
  %107 = extractvalue { i32, i1 } %104, 0
  %108 = zext i8 %101 to i32
  %109 = call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %107, i32 %108)
  %110 = extractvalue { i32, i1 } %109, 1
  br i1 %110, label %.loopexit104, label %111, !prof !7

111:                                              ; preds = %106
  %112 = extractvalue { i32, i1 } %109, 0
  %113 = getelementptr inbounds i8, i8* %98, i64 1
  %114 = icmp eq i8* %113, %91
  br i1 %114, label %.loopexit104.loopexit153.split.loop.exit, label %.preheader105

115:                                              ; preds = %88
  %116 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 %9, i32 0
  %117 = icmp eq i8* %116, %28
  br i1 %117, label %.loopexit104.thread, label %118

118:                                              ; preds = %115
  %119 = add i8 %31, -48
  %120 = icmp ult i8 %119, 10
  br i1 %120, label %121, label %.loopexit104.thread, !prof !10

121:                                              ; preds = %118
  %122 = zext i8 %119 to i32
  %123 = icmp eq i64 %9, 1
  br i1 %123, label %.loopexit104.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %121
  %124 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %30, i64 1, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %138
  %125 = phi i8* [ %140, %138 ], [ %124, %.preheader.preheader ]
  %126 = phi i32 [ %139, %138 ], [ %122, %.preheader.preheader ]
  %127 = load i8, i8* %125, align 1
  %128 = add i8 %127, -48
  %129 = icmp ult i8 %128, 10
  br i1 %129, label %130, label %.loopexit104, !prof !10

130:                                              ; preds = %.preheader
  %131 = call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %126, i32 10)
  %132 = extractvalue { i32, i1 } %131, 1
  br i1 %132, label %.loopexit104, label %133

133:                                              ; preds = %130
  %134 = extractvalue { i32, i1 } %131, 0
  %135 = zext i8 %128 to i32
  %136 = call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %134, i32 %135)
  %137 = extractvalue { i32, i1 } %136, 1
  br i1 %137, label %.loopexit104, label %138, !prof !7

138:                                              ; preds = %133
  %139 = extractvalue { i32, i1 } %136, 0
  %140 = getelementptr inbounds i8, i8* %125, i64 1
  %141 = icmp eq i8* %140, %116
  br i1 %141, label %.loopexit104.loopexit.split.loop.exit, label %.preheader

142:                                              ; preds = %87
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

143:                                              ; preds = %60
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc void @"$ss5Int64V7llvm_O314InitFromStringA2cDPyxSgSScfCTW"(%Ts5Int64VSg* noalias nocapture writeonly sret(%Ts5Int64VSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
  %5 = bitcast %Ts5Int64VSg* %0 to %TSiSg*
  tail call swiftcc void @"$sSi7llvm_O314InitFromStringA2aBPyxSgSScfCTWTm"(%TSiSg* noalias nocapture writeonly sret(%TSiSg) %5, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %Self, i8** nocapture readnone %SelfWitnessTable) #0
  ret void
}

define internal swiftcc void @"$sSi7llvm_O314InitFromStringA2aBPyxSgSScfCTWTm"(%TSiSg* noalias nocapture writeonly sret(%TSiSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* nocapture readnone %4, i8** nocapture readnone %5) #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %6 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %7 = ptrtoint %swift.bridge* %2 to i64
  %8 = and i64 %7, 2305843009213693952
  %9 = icmp eq i64 %8, 0
  %10 = lshr i64 %7, 56
  %11 = and i64 %10, 15
  %12 = and i64 %1, 281474976710655
  %13 = select i1 %9, i64 %12, i64 %11
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %15, label %16, !prof !7

15:                                               ; preds = %entry
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  br label %19

16:                                               ; preds = %entry
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %17 = and i64 %7, 1152921504606846976
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %25, label %.thread, !prof !8

19:                                               ; preds = %59, %15
  %20 = phi i64 [ 0, %15 ], [ %., %59 ]
  %21 = phi i1 [ true, %15 ], [ %61, %59 ]
  %22 = bitcast %TSiSg* %0 to i64*
  store i64 %20, i64* %22, align 8
  %23 = getelementptr inbounds %TSiSg, %TSiSg* %0, i64 0, i32 1
  %24 = bitcast [1 x i8]* %23 to i1*
  store i1 %21, i1* %24, align 8
  ret void

25:                                               ; preds = %16
  br i1 %9, label %26, label %29

.thread:                                          ; preds = %16
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %55

26:                                               ; preds = %25
  %27 = and i64 %1, 1152921504606846976
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %36, label %40, !prof !7

29:                                               ; preds = %25
  %30 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %6 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %30)
  %31 = and i64 %7, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %6, i64 0, i32 0, i32 0
  store i64 %1, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %6, i64 0, i32 1, i32 0
  store i64 %31, i64* %.elt1._value, align 8
  %32 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %6 to %Ts5UInt8V*
  %33 = trunc i64 %1 to i8
  %34 = lshr i64 %1, 8
  %35 = trunc i64 %34 to i8
  switch i8 %33, label %90 [
    i8 45, label %62
    i8 43, label %89
  ]

36:                                               ; preds = %26
  %37 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %1, %swift.bridge* %2) #20
  %38 = extractvalue { i64, i64 } %37, 0
  %39 = extractvalue { i64, i64 } %37, 1
  br label %.thread120

40:                                               ; preds = %26
  %41 = and i64 %7, 1152921504606846975
  %42 = add nuw nsw i64 %41, 32
  br label %.thread120

.thread120:                                       ; preds = %40, %36
  %43 = phi i64 [ %42, %40 ], [ %38, %36 ]
  %44 = phi i64 [ %12, %40 ], [ %39, %36 ]
  %45 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %43, i64 %44, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not)
  %47 = extractvalue { i64, i8 } %45, 1
  %48 = and i8 %47, 1
  %49 = icmp ne i8 %48, 0
  %50 = extractvalue { i64, i8 } %45, 0
  %.sroa.6.0.sroa_cast114 = bitcast i8* %.sroa.6 to i1*
  store i1 %49, i1* %.sroa.6.0.sroa_cast114, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre122 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %54

.thread125:                                       ; preds = %62, %89, %90
  %.sroa.6.0.sroa_cast128 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast128, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %30)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre129 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %54

.loopexit89.thread:                               ; preds = %120, %117, %123, %92, %96, %63, %67
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %120 ], [ false, %117 ], [ false, %123 ], [ true, %92 ], [ false, %96 ], [ true, %63 ], [ false, %67 ]
  %.sroa.0.0.ph = phi i64 [ 0, %120 ], [ 0, %117 ], [ %124, %123 ], [ 0, %92 ], [ %97, %96 ], [ 0, %63 ], [ %69, %67 ]
  %.sroa.6.0.sroa_cast132 = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph, i1* %.sroa.6.0.sroa_cast132, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %30)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre133 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %54

.loopexit89.loopexit.split.loop.exit:             ; preds = %140
  %51 = extractvalue { i64, i1 } %138, 0
  br label %.loopexit89

.loopexit89.loopexit136.split.loop.exit:          ; preds = %85
  %52 = extractvalue { i64, i1 } %83, 0
  br label %.loopexit89

.loopexit89.loopexit139.split.loop.exit:          ; preds = %113
  %53 = extractvalue { i64, i1 } %111, 0
  br label %.loopexit89

.loopexit89:                                      ; preds = %.preheader90, %108, %105, %.preheader87, %80, %77, %.preheader, %135, %132, %.loopexit89.loopexit139.split.loop.exit, %.loopexit89.loopexit136.split.loop.exit, %.loopexit89.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit89.loopexit.split.loop.exit ], [ false, %.loopexit89.loopexit136.split.loop.exit ], [ false, %.loopexit89.loopexit139.split.loop.exit ], [ true, %132 ], [ true, %135 ], [ true, %.preheader ], [ true, %77 ], [ true, %80 ], [ true, %.preheader87 ], [ true, %105 ], [ true, %108 ], [ true, %.preheader90 ]
  %.sroa.0.0 = phi i64 [ %51, %.loopexit89.loopexit.split.loop.exit ], [ %52, %.loopexit89.loopexit136.split.loop.exit ], [ %53, %.loopexit89.loopexit139.split.loop.exit ], [ 0, %132 ], [ 0, %135 ], [ 0, %.preheader ], [ 0, %77 ], [ 0, %80 ], [ 0, %.preheader87 ], [ 0, %105 ], [ 0, %108 ], [ 0, %.preheader90 ]
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %30)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br i1 %18, label %54, label %55

54:                                               ; preds = %.loopexit89.thread, %.thread125, %.thread120, %.loopexit89
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre124 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre122, %.thread120 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit89 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre129, %.thread125 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre133, %.loopexit89.thread ]
  %.sroa.042.0123 = phi i64 [ %50, %.thread120 ], [ %.sroa.0.0, %.loopexit89 ], [ 0, %.thread125 ], [ %.sroa.0.0.ph, %.loopexit89.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  br label %59

55:                                               ; preds = %.thread, %.loopexit89
  %56 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5Tm"(i64 %1, %swift.bridge* %2, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %2) #2
  %57 = extractvalue { i64, i8 } %56, 0
  %58 = extractvalue { i64, i8 } %56, 1
  br label %59

59:                                               ; preds = %54, %55
  %60 = phi i64 [ %57, %55 ], [ %.sroa.042.0123, %54 ]
  %.in.in = phi i8 [ %58, %55 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre124, %54 ]
  %.in = and i8 %.in.in, 1
  %61 = icmp ne i8 %.in, 0
  %. = select i1 %61, i64 0, i64 %60
  br label %19

62:                                               ; preds = %29
  switch i64 %11, label %63 [
    i64 0, label %145
    i64 1, label %.thread125
  ], !prof !9

63:                                               ; preds = %62
  %64 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 %11, i32 0
  %65 = add i8 %35, -48
  %66 = icmp ult i8 %65, 10
  br i1 %66, label %67, label %.loopexit89.thread, !prof !10

67:                                               ; preds = %63
  %68 = zext i8 %65 to i64
  %69 = sub nsw i64 0, %68
  %70 = icmp eq i64 %11, 2
  br i1 %70, label %.loopexit89.thread, label %.preheader87.preheader

.preheader87.preheader:                           ; preds = %67
  %71 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 2, i32 0
  br label %.preheader87

.preheader87:                                     ; preds = %.preheader87.preheader, %85
  %72 = phi i8* [ %87, %85 ], [ %71, %.preheader87.preheader ]
  %73 = phi i64 [ %86, %85 ], [ %69, %.preheader87.preheader ]
  %74 = load i8, i8* %72, align 1
  %75 = add i8 %74, -48
  %76 = icmp ult i8 %75, 10
  br i1 %76, label %77, label %.loopexit89, !prof !10

77:                                               ; preds = %.preheader87
  %78 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %73, i64 10)
  %79 = extractvalue { i64, i1 } %78, 1
  br i1 %79, label %.loopexit89, label %80

80:                                               ; preds = %77
  %81 = extractvalue { i64, i1 } %78, 0
  %82 = zext i8 %75 to i64
  %83 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %81, i64 %82)
  %84 = extractvalue { i64, i1 } %83, 1
  br i1 %84, label %.loopexit89, label %85, !prof !7

85:                                               ; preds = %80
  %86 = extractvalue { i64, i1 } %83, 0
  %87 = getelementptr inbounds i8, i8* %72, i64 1
  %88 = icmp eq i8* %87, %64
  br i1 %88, label %.loopexit89.loopexit136.split.loop.exit, label %.preheader87

89:                                               ; preds = %29
  switch i64 %11, label %92 [
    i64 0, label %144
    i64 1, label %.thread125
  ], !prof !9

90:                                               ; preds = %29
  %91 = icmp eq i64 %11, 0
  br i1 %91, label %.thread125, label %117, !prof !7

92:                                               ; preds = %89
  %93 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 %11, i32 0
  %94 = add i8 %35, -48
  %95 = icmp ult i8 %94, 10
  br i1 %95, label %96, label %.loopexit89.thread, !prof !10

96:                                               ; preds = %92
  %97 = zext i8 %94 to i64
  %98 = icmp eq i64 %11, 2
  br i1 %98, label %.loopexit89.thread, label %.preheader90.preheader

.preheader90.preheader:                           ; preds = %96
  %99 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 2, i32 0
  br label %.preheader90

.preheader90:                                     ; preds = %.preheader90.preheader, %113
  %100 = phi i8* [ %115, %113 ], [ %99, %.preheader90.preheader ]
  %101 = phi i64 [ %114, %113 ], [ %97, %.preheader90.preheader ]
  %102 = load i8, i8* %100, align 1
  %103 = add i8 %102, -48
  %104 = icmp ult i8 %103, 10
  br i1 %104, label %105, label %.loopexit89, !prof !10

105:                                              ; preds = %.preheader90
  %106 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %101, i64 10)
  %107 = extractvalue { i64, i1 } %106, 1
  br i1 %107, label %.loopexit89, label %108

108:                                              ; preds = %105
  %109 = extractvalue { i64, i1 } %106, 0
  %110 = zext i8 %103 to i64
  %111 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %109, i64 %110)
  %112 = extractvalue { i64, i1 } %111, 1
  br i1 %112, label %.loopexit89, label %113, !prof !7

113:                                              ; preds = %108
  %114 = extractvalue { i64, i1 } %111, 0
  %115 = getelementptr inbounds i8, i8* %100, i64 1
  %116 = icmp eq i8* %115, %93
  br i1 %116, label %.loopexit89.loopexit139.split.loop.exit, label %.preheader90

117:                                              ; preds = %90
  %118 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 %11, i32 0
  %119 = icmp eq i8* %118, %30
  br i1 %119, label %.loopexit89.thread, label %120

120:                                              ; preds = %117
  %121 = add i8 %33, -48
  %122 = icmp ult i8 %121, 10
  br i1 %122, label %123, label %.loopexit89.thread, !prof !10

123:                                              ; preds = %120
  %124 = zext i8 %121 to i64
  %125 = icmp eq i64 %11, 1
  br i1 %125, label %.loopexit89.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %123
  %126 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 1, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %140
  %127 = phi i8* [ %142, %140 ], [ %126, %.preheader.preheader ]
  %128 = phi i64 [ %141, %140 ], [ %124, %.preheader.preheader ]
  %129 = load i8, i8* %127, align 1
  %130 = add i8 %129, -48
  %131 = icmp ult i8 %130, 10
  br i1 %131, label %132, label %.loopexit89, !prof !10

132:                                              ; preds = %.preheader
  %133 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %128, i64 10)
  %134 = extractvalue { i64, i1 } %133, 1
  br i1 %134, label %.loopexit89, label %135

135:                                              ; preds = %132
  %136 = extractvalue { i64, i1 } %133, 0
  %137 = zext i8 %130 to i64
  %138 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %136, i64 %137)
  %139 = extractvalue { i64, i1 } %138, 1
  br i1 %139, label %.loopexit89, label %140, !prof !7

140:                                              ; preds = %135
  %141 = extractvalue { i64, i1 } %138, 0
  %142 = getelementptr inbounds i8, i8* %127, i64 1
  %143 = icmp eq i8* %142, %118
  br i1 %143, label %.loopexit89.loopexit.split.loop.exit, label %.preheader

144:                                              ; preds = %89
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

145:                                              ; preds = %62
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc void @"$sSS7llvm_O314InitFromStringA2aBPyxSgSScfCTW"(%TSSSg* noalias nocapture writeonly sret(%TSSSg) %0, i64 %1, %swift.bridge* %2, %swift.type* nocapture readnone swiftself %3, %swift.type* %Self, i8** nocapture readnone %SelfWitnessTable) #0 {
entry:
  %4 = alloca %TSS, align 8
  %5 = bitcast %TSS* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %1, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %2, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %4 to %swift.opaque*
  %7 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %6, %swift.type* %Self, i8** nonnull @"$sSSs25LosslessStringConvertiblesWP", i8** nonnull @"$sSSSTsWP") #20
  %8 = extractvalue { i64, %swift.bridge* } %7, 0
  %9 = extractvalue { i64, %swift.bridge* } %7, 1
  %10 = ptrtoint %swift.bridge* %9 to i64
  %11 = bitcast %TSSSg* %0 to i64*
  store i64 %8, i64* %11, align 8
  %12 = getelementptr inbounds %TSSSg, %TSSSg* %0, i64 0, i32 0, i64 8
  %13 = bitcast i8* %12 to i64*
  store i64 %10, i64* %13, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  ret void
}

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSi_Tg5"() local_unnamed_addr #0 {
entry:
  %.sroa.6.i = alloca i8, align 8
  %0 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %1 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %2 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %3 = extractvalue { i64, i64 } %2, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %210, label %5

5:                                                ; preds = %entry
  %6 = extractvalue { i64, i64 } %2, 0
  %7 = inttoptr i64 %3 to %swift.bridge*
  %8 = bitcast %TSJ* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %8)
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 32, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._str._guts._object._object, align 8
  %spsave = tail call i8* @llvm.stacksave()
  %9 = alloca [24 x i8], align 16
  %10 = bitcast [24 x i8]* %9 to %swift.opaque*
  %11 = getelementptr inbounds [24 x i8], [24 x i8]* %9, i64 0, i64 16
  %12 = bitcast i8* %11 to %TSJ**
  store %TSJ* %1, %TSJ** %12, align 16
  %13 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %7) #2
  %14 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 9223372036854775807, i1 true, i8* nonnull bitcast (i1 (%TSJ*, %swift.refcounted*, %swift.error**)* @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA.4" to i8*), %swift.opaque* nonnull %10, i64 %6, %swift.bridge* nonnull %7, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %7) #2
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %8)
  %15 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySsG_SSTg5022$sSsSSs5Error_pIggozo_D81SSsAA_pIegnrzo_TR53$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSSSshcfu_Tf3nnpf_nTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %14, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %16) #2
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 1, i32 0, i32 0, i32 0
  %17 = load i64, i64* %._storage.count._value, align 8, !range !6
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %27, label %19

19:                                               ; preds = %5
  %20 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %20 to %TSS*
  %21 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 0
  %22 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %0 to i8*
  %.elt._value.i = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %0, i64 0, i32 0, i32 0
  %.elt1._value.i = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %0, i64 0, i32 1, i32 0
  %23 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %0 to %Ts5UInt8V*
  %24 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 3, i32 0
  %25 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 2, i32 0
  %.sroa.6.i.0.sroa_cast57 = bitcast i8* %.sroa.6.i to i1*
  %.sroa.6.i.0.sroa_cast56 = bitcast i8* %.sroa.6.i to i1*
  %.sroa.6.i.0.sroa_cast55 = bitcast i8* %.sroa.6.i to i1*
  %.sroa.6.i.0.sroa_cast58 = bitcast i8* %.sroa.6.i to i1*
  %26 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %21) #18
  br label %29

27:                                               ; preds = %5, %209
  %28 = phi %Ts28__ContiguousArrayStorageBaseC* [ %206, %209 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %5 ]
  %.sink = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %.sink) #2
  ret %Ts28__ContiguousArrayStorageBaseC* %28

29:                                               ; preds = %205, %19
  %30 = phi i64 [ 0, %19 ], [ %207, %205 ]
  %31 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %19 ], [ %206, %205 ]
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %30, i32 0, i32 0, i32 0, i32 0
  %32 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %30, i32 0, i32 0, i32 1
  %33 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %34 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %33) #2
  call void @llvm.experimental.noalias.scope.decl(metadata !11)
  %35 = ptrtoint %swift.bridge* %33 to i64
  %36 = and i64 %35, 2305843009213693952
  %37 = icmp eq i64 %36, 0
  %38 = lshr i64 %35, 56
  %39 = and i64 %38, 15
  %40 = and i64 %32, 281474976710655
  %41 = select i1 %37, i64 %40, i64 %39
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit.thread", label %43, !prof !7

"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit.thread": ; preds = %29
  call void @swift_bridgeObjectRelease(%swift.bridge* %33) #2
  br label %205

43:                                               ; preds = %29
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  %44 = and i64 %35, 1152921504606846976
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %46, label %75, !prof !8

46:                                               ; preds = %43
  br i1 %37, label %47, label %50

47:                                               ; preds = %46
  %48 = and i64 %32, 1152921504606846976
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %57, label %61, !prof !7

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %22), !noalias !11
  %51 = and i64 %35, 72057594037927935
  store i64 %32, i64* %.elt._value.i, align 8, !noalias !11
  store i64 %51, i64* %.elt1._value.i, align 8, !noalias !11
  %52 = trunc i64 %32 to i8
  %53 = lshr i64 %32, 8
  %54 = trunc i64 %53 to i8
  %55 = lshr i64 %32, 16
  %56 = trunc i64 %55 to i8
  switch i8 %52, label %115 [
    i8 45, label %80
    i8 43, label %114
  ]

57:                                               ; preds = %47
  %58 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %32, %swift.bridge* %33), !noalias !11
  %59 = extractvalue { i64, i64 } %58, 0
  %60 = extractvalue { i64, i64 } %58, 1
  br label %.thread130.i

61:                                               ; preds = %47
  %62 = and i64 %35, 1152921504606846975
  %63 = add nuw nsw i64 %62, 32
  br label %.thread130.i

.thread130.i:                                     ; preds = %61, %57
  %64 = phi i64 [ %63, %61 ], [ %59, %57 ]
  %65 = phi i64 [ %40, %61 ], [ %60, %57 ]
  %66 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %64, i64 %65, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %67 = load %swift.error*, %swift.error** %swifterror, align 8, !alias.scope !11
  %.not.i = icmp eq %swift.error* %67, null
  call void @llvm.assume(i1 %.not.i)
  %68 = extractvalue { i64, i8 } %66, 1
  %69 = and i8 %68, 1
  %70 = icmp ne i8 %69, 0
  %71 = extractvalue { i64, i8 } %66, 0
  store i1 %70, i1* %.sroa.6.i.0.sroa_cast58, align 8, !noalias !11
  %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre132.i = load i8, i8* %.sroa.6.i, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  br label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"

.thread133.i:                                     ; preds = %115, %114, %80
  store i1 true, i1* %.sroa.6.i.0.sroa_cast55, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %22), !noalias !11
  %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre137.i = load i8, i8* %.sroa.6.i, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  br label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"

.loopexit99.thread.i:                             ; preds = %161, %158, %155, %152, %149, %127, %124, %121, %117, %92, %89, %85, %81
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph.i = phi i1 [ true, %152 ], [ true, %158 ], [ false, %149 ], [ false, %155 ], [ false, %161 ], [ true, %117 ], [ true, %124 ], [ false, %121 ], [ false, %127 ], [ true, %81 ], [ true, %89 ], [ false, %85 ], [ false, %92 ]
  %.sroa.0.0.ph.i = phi i64 [ 0, %152 ], [ 0, %158 ], [ 0, %149 ], [ %156, %155 ], [ %164, %161 ], [ 0, %117 ], [ 0, %124 ], [ %122, %121 ], [ %130, %127 ], [ 0, %81 ], [ 0, %89 ], [ %87, %85 ], [ %95, %92 ]
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph.i, i1* %.sroa.6.i.0.sroa_cast56, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %22), !noalias !11
  %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre141.i = load i8, i8* %.sroa.6.i, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  br label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"

.loopexit99.i.loopexit.split.loop.exit:           ; preds = %179
  %72 = extractvalue { i64, i1 } %177, 0
  br label %.loopexit99.i

.loopexit99.i.loopexit60.split.loop.exit:         ; preds = %110
  %73 = extractvalue { i64, i1 } %108, 0
  br label %.loopexit99.i

.loopexit99.i.loopexit63.split.loop.exit:         ; preds = %145
  %74 = extractvalue { i64, i1 } %143, 0
  br label %.loopexit99.i

.loopexit99.i:                                    ; preds = %140, %137, %.preheader100.i, %105, %102, %.preheader97.i, %174, %171, %.preheader.i, %.loopexit99.i.loopexit63.split.loop.exit, %.loopexit99.i.loopexit60.split.loop.exit, %.loopexit99.i.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..i = phi i1 [ false, %.loopexit99.i.loopexit.split.loop.exit ], [ false, %.loopexit99.i.loopexit60.split.loop.exit ], [ false, %.loopexit99.i.loopexit63.split.loop.exit ], [ true, %.preheader.i ], [ true, %171 ], [ true, %174 ], [ true, %.preheader97.i ], [ true, %102 ], [ true, %105 ], [ true, %.preheader100.i ], [ true, %137 ], [ true, %140 ]
  %.sroa.0.0.i = phi i64 [ %72, %.loopexit99.i.loopexit.split.loop.exit ], [ %73, %.loopexit99.i.loopexit60.split.loop.exit ], [ %74, %.loopexit99.i.loopexit63.split.loop.exit ], [ 0, %.preheader.i ], [ 0, %171 ], [ 0, %174 ], [ 0, %.preheader97.i ], [ 0, %102 ], [ 0, %105 ], [ 0, %.preheader100.i ], [ 0, %137 ], [ 0, %140 ]
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..i, i1* %.sroa.6.i.0.sroa_cast57, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %22), !noalias !11
  %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre.i = load i8, i8* %.sroa.6.i, align 8, !noalias !11
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  br label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"

75:                                               ; preds = %43
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6.i)
  %76 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %33) #2, !noalias !11
  %77 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5Tm"(i64 %32, %swift.bridge* %33, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %33) #2, !noalias !11
  %78 = extractvalue { i64, i8 } %77, 0
  %79 = extractvalue { i64, i8 } %77, 1
  br label %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"

80:                                               ; preds = %50
  switch i64 %39, label %81 [
    i64 0, label %184
    i64 1, label %.thread133.i
  ], !prof !9

81:                                               ; preds = %80
  %82 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %39, i32 0
  %83 = add i8 %54, -48
  %84 = icmp ult i8 %83, 10
  br i1 %84, label %85, label %.loopexit99.thread.i, !prof !10

85:                                               ; preds = %81
  %86 = zext i8 %83 to i64
  %87 = sub nsw i64 0, %86
  %88 = icmp eq i64 %39, 2
  br i1 %88, label %.loopexit99.thread.i, label %89

89:                                               ; preds = %85
  %90 = add i8 %56, -48
  %91 = icmp ult i8 %90, 10
  br i1 %91, label %92, label %.loopexit99.thread.i, !prof !10

92:                                               ; preds = %89
  %93 = mul nsw i64 %86, -10
  %94 = zext i8 %90 to i64
  %95 = sub nsw i64 %93, %94
  %96 = icmp eq i64 %39, 3
  br i1 %96, label %.loopexit99.thread.i, label %.preheader97.i

.preheader97.i:                                   ; preds = %92, %110
  %97 = phi i8* [ %112, %110 ], [ %24, %92 ]
  %98 = phi i64 [ %111, %110 ], [ %95, %92 ]
  %99 = load i8, i8* %97, align 1, !noalias !11
  %100 = add i8 %99, -48
  %101 = icmp ult i8 %100, 10
  br i1 %101, label %102, label %.loopexit99.i, !prof !10

102:                                              ; preds = %.preheader97.i
  %103 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %98, i64 10)
  %104 = extractvalue { i64, i1 } %103, 1
  br i1 %104, label %.loopexit99.i, label %105

105:                                              ; preds = %102
  %106 = extractvalue { i64, i1 } %103, 0
  %107 = zext i8 %100 to i64
  %108 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %106, i64 %107)
  %109 = extractvalue { i64, i1 } %108, 1
  br i1 %109, label %.loopexit99.i, label %110, !prof !7

110:                                              ; preds = %105
  %111 = extractvalue { i64, i1 } %108, 0
  %112 = getelementptr inbounds i8, i8* %97, i64 1
  %113 = icmp eq i8* %112, %82
  br i1 %113, label %.loopexit99.i.loopexit60.split.loop.exit, label %.preheader97.i

114:                                              ; preds = %50
  switch i64 %39, label %117 [
    i64 0, label %183
    i64 1, label %.thread133.i
  ], !prof !9

115:                                              ; preds = %50
  %116 = icmp eq i64 %39, 0
  br i1 %116, label %.thread133.i, label %149, !prof !7

117:                                              ; preds = %114
  %118 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %39, i32 0
  %119 = add i8 %54, -48
  %120 = icmp ult i8 %119, 10
  br i1 %120, label %121, label %.loopexit99.thread.i, !prof !10

121:                                              ; preds = %117
  %122 = zext i8 %119 to i64
  %123 = icmp eq i64 %39, 2
  br i1 %123, label %.loopexit99.thread.i, label %124

124:                                              ; preds = %121
  %125 = add i8 %56, -48
  %126 = icmp ult i8 %125, 10
  br i1 %126, label %127, label %.loopexit99.thread.i, !prof !10

127:                                              ; preds = %124
  %128 = mul nuw nsw i64 %122, 10
  %129 = zext i8 %125 to i64
  %130 = add nuw nsw i64 %128, %129
  %131 = icmp eq i64 %39, 3
  br i1 %131, label %.loopexit99.thread.i, label %.preheader100.i

.preheader100.i:                                  ; preds = %127, %145
  %132 = phi i8* [ %147, %145 ], [ %24, %127 ]
  %133 = phi i64 [ %146, %145 ], [ %130, %127 ]
  %134 = load i8, i8* %132, align 1, !noalias !11
  %135 = add i8 %134, -48
  %136 = icmp ult i8 %135, 10
  br i1 %136, label %137, label %.loopexit99.i, !prof !10

137:                                              ; preds = %.preheader100.i
  %138 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %133, i64 10)
  %139 = extractvalue { i64, i1 } %138, 1
  br i1 %139, label %.loopexit99.i, label %140

140:                                              ; preds = %137
  %141 = extractvalue { i64, i1 } %138, 0
  %142 = zext i8 %135 to i64
  %143 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %141, i64 %142)
  %144 = extractvalue { i64, i1 } %143, 1
  br i1 %144, label %.loopexit99.i, label %145, !prof !7

145:                                              ; preds = %140
  %146 = extractvalue { i64, i1 } %143, 0
  %147 = getelementptr inbounds i8, i8* %132, i64 1
  %148 = icmp eq i8* %147, %118
  br i1 %148, label %.loopexit99.i.loopexit63.split.loop.exit, label %.preheader100.i

149:                                              ; preds = %115
  %150 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %39, i32 0
  %151 = icmp eq i8* %150, %22
  br i1 %151, label %.loopexit99.thread.i, label %152

152:                                              ; preds = %149
  %153 = add i8 %52, -48
  %154 = icmp ult i8 %153, 10
  br i1 %154, label %155, label %.loopexit99.thread.i, !prof !10

155:                                              ; preds = %152
  %156 = zext i8 %153 to i64
  %157 = icmp eq i64 %39, 1
  br i1 %157, label %.loopexit99.thread.i, label %158

158:                                              ; preds = %155
  %159 = add i8 %54, -48
  %160 = icmp ult i8 %159, 10
  br i1 %160, label %161, label %.loopexit99.thread.i, !prof !10

161:                                              ; preds = %158
  %162 = mul nuw nsw i64 %156, 10
  %163 = zext i8 %159 to i64
  %164 = add nuw nsw i64 %162, %163
  %165 = icmp eq i64 %39, 2
  br i1 %165, label %.loopexit99.thread.i, label %.preheader.i

.preheader.i:                                     ; preds = %161, %179
  %166 = phi i8* [ %181, %179 ], [ %25, %161 ]
  %167 = phi i64 [ %180, %179 ], [ %164, %161 ]
  %168 = load i8, i8* %166, align 1, !noalias !11
  %169 = add i8 %168, -48
  %170 = icmp ult i8 %169, 10
  br i1 %170, label %171, label %.loopexit99.i, !prof !10

171:                                              ; preds = %.preheader.i
  %172 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %167, i64 10)
  %173 = extractvalue { i64, i1 } %172, 1
  br i1 %173, label %.loopexit99.i, label %174

174:                                              ; preds = %171
  %175 = extractvalue { i64, i1 } %172, 0
  %176 = zext i8 %169 to i64
  %177 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %175, i64 %176)
  %178 = extractvalue { i64, i1 } %177, 1
  br i1 %178, label %.loopexit99.i, label %179, !prof !7

179:                                              ; preds = %174
  %180 = extractvalue { i64, i1 } %177, 0
  %181 = getelementptr inbounds i8, i8* %166, i64 1
  %182 = icmp eq i8* %181, %150
  br i1 %182, label %.loopexit99.i.loopexit.split.loop.exit, label %.preheader.i

183:                                              ; preds = %114
  call void asm sideeffect "", "n"(i32 0) #2, !noalias !11
  call void @llvm.trap(), !noalias !11
  unreachable

184:                                              ; preds = %80
  call void asm sideeffect "", "n"(i32 1) #2, !noalias !11
  call void @llvm.trap(), !noalias !11
  unreachable

"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit": ; preds = %.thread130.i, %.thread133.i, %.loopexit99.thread.i, %75, %.loopexit99.i
  %185 = phi i64 [ %78, %75 ], [ %.sroa.0.0.i, %.loopexit99.i ], [ %71, %.thread130.i ], [ 0, %.thread133.i ], [ %.sroa.0.0.ph.i, %.loopexit99.thread.i ]
  %.in.in.i = phi i8 [ %79, %75 ], [ %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre.i, %.loopexit99.i ], [ %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre132.i, %.thread130.i ], [ %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre137.i, %.thread133.i ], [ %.sroa.6.i.0..sroa.6.i.0..sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre141.i, %.loopexit99.thread.i ]
  call void @swift_bridgeObjectRelease(%swift.bridge* %33) #2
  %.in.i = and i8 %.in.in.i, 1
  %.not77.i = icmp eq i8 %.in.i, 0
  %..i = select i1 %.not77.i, i64 %185, i64 0
  %.not = icmp eq i8 %.in.i, 0
  br i1 %.not, label %186, label %205

186:                                              ; preds = %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit"
  %187 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 0
  %188 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %187) #18
  br i1 %188, label %193, label %189

189:                                              ; preds = %186
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 1, i32 0, i32 0, i32 0
  %190 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %191 = add nuw nsw i64 %190, 1
  %192 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %191, i1 true, %Ts28__ContiguousArrayStorageBaseC* %31)
  br label %193

193:                                              ; preds = %186, %189
  %194 = phi %Ts28__ContiguousArrayStorageBaseC* [ %192, %189 ], [ %31, %186 ]
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %194, i64 0, i32 1, i32 0, i32 0, i32 0
  %195 = load i64, i64* %._storage2.count._value, align 8, !range !6
  %._storage2._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %194, i64 0, i32 1, i32 0, i32 1, i32 0
  %196 = load i64, i64* %._storage2._capacityAndFlags._value, align 8
  %197 = lshr i64 %196, 1
  %198 = add nuw nsw i64 %195, 1
  %.not10 = icmp ugt i64 %197, %195
  br i1 %.not10, label %202, label %199, !prof !8

199:                                              ; preds = %193
  %200 = icmp ugt i64 %196, 1
  %201 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %200, i64 %198, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %194)
  br label %202

202:                                              ; preds = %193, %199
  %203 = phi %Ts28__ContiguousArrayStorageBaseC* [ %201, %199 ], [ %194, %193 ]
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %203, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %198, i64* %._storage3.count._value, align 8
  %204 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %203, i64 1
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %204 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr4, i64 %195, i32 0
  store i64 %..i, i64* %._value, align 8
  br label %205

205:                                              ; preds = %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit.thread", %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit", %202
  %206 = phi %Ts28__ContiguousArrayStorageBaseC* [ %203, %202 ], [ %31, %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit" ], [ %31, %"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n.exit.thread" ]
  %207 = add nuw nsw i64 %30, 1
  %208 = icmp eq i64 %207, %17
  br i1 %208, label %209, label %29

209:                                              ; preds = %205
  call void @swift_release(%swift.refcounted* %21) #2
  br label %27

210:                                              ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: cold noreturn nounwind
declare void @llvm.trap() #1

; Function Attrs: nounwind
declare void @swift_release(%swift.refcounted*) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64) #3

; Function Attrs: mustprogress nounwind willreturn
declare %swift.refcounted* @swift_retain(%swift.refcounted* returned) local_unnamed_addr #4

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #5

; Function Attrs: nounwind
declare void @swift_beginAccess(i8*, [24 x i8]*, i64, i8*) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) #3

; Function Attrs: mustprogress nounwind willreturn
declare zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted*) local_unnamed_addr #4

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlF"(%swift.type* %T, i8** %T.InitFromString) local_unnamed_addr #0 {
entry:
  %0 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %1 = alloca %TSa, align 8
  %2 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %3 = extractvalue { i64, i64 } %2, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %32, label %5

5:                                                ; preds = %entry
  %6 = extractvalue { i64, i64 } %2, 0
  %7 = inttoptr i64 %3 to %swift.bridge*
  %8 = bitcast %TSJ* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %8)
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 32, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._str._guts._object._object, align 8
  %spsave = tail call i8* @llvm.stacksave()
  %9 = alloca [24 x i8], align 16
  %10 = bitcast [24 x i8]* %9 to %swift.opaque*
  %11 = getelementptr inbounds [24 x i8], [24 x i8]* %9, i64 0, i64 16
  %12 = bitcast i8* %11 to %TSJ**
  store %TSJ* %0, %TSJ** %12, align 16
  %13 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %7) #2
  %14 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 9223372036854775807, i1 true, i8* nonnull bitcast (i1 (%TSJ*, %swift.refcounted*, %swift.error**)* @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA" to i8*), %swift.opaque* nonnull %10, i64 %6, %swift.bridge* nonnull %7, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %7) #2
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %8)
  %15 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySsG_SSTg5022$sSsSSs5Error_pIggozo_D81SSsAA_pIegnrzo_TR53$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSSSshcfu_Tf3nnpf_nTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %14, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %16) #2
  %17 = bitcast %TSa* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %17)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %15, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %spsave1 = call i8* @llvm.stacksave()
  %18 = alloca [40 x i8], align 16
  %19 = bitcast [40 x i8]* %18 to %swift.opaque*
  %20 = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 16
  %21 = bitcast i8* %20 to %swift.type**
  store %swift.type* %T, %swift.type** %21, align 16
  %22 = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 24
  %23 = bitcast i8* %22 to i8***
  store i8** %T.InitFromString, i8*** %23, align 8
  %24 = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 32
  %25 = bitcast i8* %24 to %swift.type**
  store %swift.type* %T, %swift.type** %25, align 16
  %26 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySSGMD") #19
  %27 = call i8** @"$sSaySSGSayxGSKsWlTm"(i8*** @"$sSaySSGSayxGSTsWL", %swift.protocol_conformance_descriptor* @"$sSayxGSTsMc")
  %28 = bitcast %TSa* %1 to %swift.opaque*
  %29 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF"(i8* nonnull bitcast (void (%swift.opaque*, %TSS*, %swift.refcounted*, %swift.error**)* @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_TA" to i8*), %swift.opaque* nonnull %19, %swift.type* %26, %swift.type* %T, i8** %27, %swift.opaque* noalias nocapture nonnull swiftself %28, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %30 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %31 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %31) #2
  call void @llvm.stackrestore(i8* %spsave1)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %17)
  ret %Ts28__ContiguousArrayStorageBaseC* %29

32:                                               ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySsG_SSTg5022$sSsSSs5Error_pIggozo_D81SSsAA_pIegnrzo_TR53$s7llvm_O35inputSayxGyAA14InitFromStringRzlFSSSshcfu_Tf3nnpf_nTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage.count._value, align 8, !range !6
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %10, label %6

6:                                                ; preds = %entry
  %7 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %7)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %4, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %8 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %9 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  br label %12

10:                                               ; preds = %entry, %36
  %11 = phi %Ts28__ContiguousArrayStorageBaseC* [ %33, %36 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  ret %Ts28__ContiguousArrayStorageBaseC* %11

12:                                               ; preds = %6, %32
  %13 = phi i64 [ 0, %6 ], [ %15, %32 ]
  %14 = phi %Ts28__ContiguousArrayStorageBaseC* [ %8, %6 ], [ %33, %32 ]
  %15 = add nuw nsw i64 %13, 1
  %16 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 %13
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %16 to i64*
  %17 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 0, i32 1
  %18 = load i64, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  %19 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %20 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  %21 = load %swift.bridge*, %swift.bridge** %20, align 8
  %22 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %21) #2
  %23 = tail call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %17, i64 %18, i64 %19, %swift.bridge* %21)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %21) #2
  %24 = extractvalue { i64, %swift.bridge* } %23, 0
  %25 = extractvalue { i64, %swift.bridge* } %23, 1
  store %Ts28__ContiguousArrayStorageBaseC* %14, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  %26 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %._storage3._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 1, i32 0
  %27 = load i64, i64* %._storage3._capacityAndFlags._value, align 8
  %28 = lshr i64 %27, 1
  %29 = add nuw nsw i64 %26, 1
  %.not10 = icmp ugt i64 %28, %26
  br i1 %.not10, label %32, label %30, !prof !8

30:                                               ; preds = %12
  %31 = icmp ugt i64 %27, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %31, i64 %29, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %32

32:                                               ; preds = %12, %30
  %33 = phi %Ts28__ContiguousArrayStorageBaseC* [ %14, %12 ], [ %.pre, %30 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %29, i64* %._storage4.count._value, align 8
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %26, i32 0, i32 0, i32 0, i32 0
  store i64 %24, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %26, i32 0, i32 0, i32 1
  store %swift.bridge* %25, %swift.bridge** %._guts._object._object, align 8
  %35 = icmp eq i64 %15, %4
  br i1 %35, label %36, label %12

36:                                               ; preds = %32
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %7)
  br label %10
}

declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE10compactMapySayqd__Gqd__Sg7ElementQzKXEKlF"(i8*, %swift.opaque*, %swift.type*, %swift.type*, i8**, %swift.opaque* noalias nocapture swiftself, %swift.error** noalias nocapture swifterror dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: noinline
define linkonce_odr hidden swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %0, i64 %1, i1 %2, %Ts15ContiguousArrayV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #6 {
entry:
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  %4 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %4)
  store %Ts28__ContiguousArrayStorageBaseC* %5, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  ret void
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #6 {
entry:
  br i1 %2, label %4, label %14

4:                                                ; preds = %entry
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %5 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %6 = lshr i64 %5, 1
  %7 = icmp slt i64 %6, %1
  br i1 %7, label %8, label %14

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %47, label %11, !prof !7

11:                                               ; preds = %8
  %12 = and i64 %5, -2
  %13 = tail call i64 @llvm.smax.i64(i64 %12, i64 %1)
  br label %14

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySSGMD") #19
  %21 = shl i64 %17, 4
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #2
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

29:                                               ; preds = %14, %19
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %24, %19 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 1
  %32 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %33, label %42

33:                                               ; preds = %29
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSS*
  %34 = getelementptr inbounds %TSS, %TSS* %tailaddr4, i64 %16
  %35 = bitcast %TSS* %34 to %Ts28__ContiguousArrayStorageBaseC*
  %36 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %35
  %37 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %37, i1 %36, i1 false
  br i1 %or.cond14, label %41, label %.sink.split

.sink.split:                                      ; preds = %33
  %38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to i8*
  %39 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %40 = shl nuw i64 %16, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %39, i8* nonnull align 8 %38, i64 %40, i1 false)
  br label %41

41:                                               ; preds = %33, %.sink.split
  store i64 0, i64* %._storage.count._value, align 8
  br label %45

42:                                               ; preds = %29
  %43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %swift.opaque*
  %44 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %43, %swift.opaque* nonnull %44, i64 %16, %swift.type* nonnull @"$sSSN") #18
  br label %45

45:                                               ; preds = %41, %42
  %46 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %46) #2
  ret %Ts28__ContiguousArrayStorageBaseC* %30

47:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #6 {
entry:
  br i1 %2, label %4, label %14

4:                                                ; preds = %entry
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %5 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %6 = lshr i64 %5, 1
  %7 = icmp slt i64 %6, %1
  br i1 %7, label %8, label %14

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %46, label %11, !prof !7

11:                                               ; preds = %8
  %12 = and i64 %5, -2
  %13 = tail call i64 @llvm.smax.i64(i64 %12, i64 %1)
  br label %14

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySsGMD") #19
  %21 = shl i64 %17, 5
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #2
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 32
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

29:                                               ; preds = %14, %19
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %24, %19 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 1
  %32 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %33, label %41

33:                                               ; preds = %29
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 %16
  %35 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %34
  %36 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %36, i1 %35, i1 false
  br i1 %or.cond14, label %40, label %.sink.split

.sink.split:                                      ; preds = %33
  %37 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to i8*
  %38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %39 = shl nuw i64 %16, 5
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %38, i8* nonnull align 8 %37, i64 %39, i1 false)
  br label %40

40:                                               ; preds = %33, %.sink.split
  store i64 0, i64* %._storage.count._value, align 8
  br label %44

41:                                               ; preds = %29
  %42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %swift.opaque*
  %43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %42, %swift.opaque* nonnull %43, i64 %16, %swift.type* nonnull @"$sSsN") #18
  br label %44

44:                                               ; preds = %40, %41
  %45 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %45) #2
  ret %Ts28__ContiguousArrayStorageBaseC* %30

46:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #6 {
entry:
  br i1 %2, label %4, label %14

4:                                                ; preds = %entry
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %5 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %6 = lshr i64 %5, 1
  %7 = icmp slt i64 %6, %1
  br i1 %7, label %8, label %14

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %46, label %11, !prof !7

11:                                               ; preds = %8
  %12 = and i64 %5, -2
  %13 = tail call i64 @llvm.smax.i64(i64 %12, i64 %1)
  br label %14

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #19
  %21 = shl i64 %17, 3
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #2
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 8
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

29:                                               ; preds = %14, %19
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %24, %19 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 1
  %32 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to i8*
  br i1 %0, label %35, label %42

35:                                               ; preds = %29
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %TSi*
  %36 = getelementptr inbounds %TSi, %TSi* %tailaddr4, i64 %16
  %37 = bitcast %TSi* %36 to %Ts28__ContiguousArrayStorageBaseC*
  %38 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %37
  %39 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %39, i1 %38, i1 false
  br i1 %or.cond14, label %41, label %.sink.split

.sink.split:                                      ; preds = %35
  %40 = shl nuw i64 %16, 3
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %32, i8* nonnull align 8 %34, i64 %40, i1 false)
  br label %41

41:                                               ; preds = %35, %.sink.split
  store i64 0, i64* %._storage.count._value, align 8
  br label %44

42:                                               ; preds = %29
  %43 = shl nuw i64 %16, 3
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %32, i8* nonnull align 8 %34, i64 %43, i1 false)
  br label %44

44:                                               ; preds = %41, %42
  %45 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %45) #2
  ret %Ts28__ContiguousArrayStorageBaseC* %30

46:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc i16 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s4Int8V_Tg5"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #6 {
entry:
  %3 = alloca %TSS, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %temp-coercion.coerced4.sroa.4 = alloca i8, align 1
  %5 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %1, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %3 to %swift.opaque*
  %7 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %8 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %6, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSs25LosslessStringConvertiblesWP", i8** nonnull @"$sSSSTsWP")
  %9 = extractvalue { i64, %swift.bridge* } %8, 0
  %10 = extractvalue { i64, %swift.bridge* } %8, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %11 = ptrtoint %swift.bridge* %10 to i64
  %12 = and i64 %11, 1152921504606846976
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %18, label %14, !prof !8

14:                                               ; preds = %entry
  %15 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %9, %swift.bridge* %10)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %10) #2
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi i64 [ %9, %entry ], [ %16, %14 ]
  %20 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %21 = and i64 %.pre-phi, 2305843009213693952
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = and i64 %19, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %38, !prof !7

26:                                               ; preds = %18
  %27 = lshr i64 %.pre-phi, 56
  %28 = and i64 %27, 15
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  %30 = and i64 %.pre-phi, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %19, i64* %.elt._value, align 8
  %.elt3._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %30, i64* %.elt3._value, align 8
  %31 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i64
  %32 = call swiftcc i16 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s4Int8V_Tg5Tm"(i64 %31, i64 %28, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %33 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %33, null
  call void @llvm.assume(i1 %.not)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %47

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %42

38:                                               ; preds = %23
  %39 = and i64 %.pre-phi, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  %41 = and i64 %19, 281474976710655
  br label %42

42:                                               ; preds = %34, %38
  %43 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %44 = phi i64 [ %41, %38 ], [ %37, %34 ]
  %45 = call swiftcc i16 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s4Int8V_Tg5Tm"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not8 = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not8)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  br label %47

47:                                               ; preds = %42, %26
  %.in = phi i16 [ %32, %26 ], [ %45, %42 ]
  %.in12 = and i16 %.in, 256
  %48 = icmp ne i16 %.in12, 0
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  %temp-coercion.coerced4.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced4.sroa.4 to i1*
  store i1 %48, i1* %temp-coercion.coerced4.sroa.4.0.sroa_cast, align 1
  %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. = load i8, i8* %temp-coercion.coerced4.sroa.4, align 1
  %temp-coercion.coerced4.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. to i16
  %temp-coercion.coerced4.sroa.4.0.insert.shift = shl nuw i16 %temp-coercion.coerced4.sroa.4.0.insert.ext, 8
  %temp-coercion.coerced4.sroa.0.0.insert.ext = and i16 %.in, 255
  %temp-coercion.coerced4.sroa.0.0.insert.insert = or i16 %temp-coercion.coerced4.sroa.4.0.insert.shift, %temp-coercion.coerced4.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  ret i16 %temp-coercion.coerced4.sroa.0.0.insert.insert
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc i32 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s5Int16V_Tg5"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #6 {
entry:
  %3 = alloca %TSS, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %temp-coercion.coerced4.sroa.4 = alloca i8, align 2
  %5 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %1, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %3 to %swift.opaque*
  %7 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %8 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %6, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSs25LosslessStringConvertiblesWP", i8** nonnull @"$sSSSTsWP")
  %9 = extractvalue { i64, %swift.bridge* } %8, 0
  %10 = extractvalue { i64, %swift.bridge* } %8, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %11 = ptrtoint %swift.bridge* %10 to i64
  %12 = and i64 %11, 1152921504606846976
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %18, label %14, !prof !8

14:                                               ; preds = %entry
  %15 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %9, %swift.bridge* %10)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %10) #2
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi i64 [ %9, %entry ], [ %16, %14 ]
  %20 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %21 = and i64 %.pre-phi, 2305843009213693952
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = and i64 %19, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %38, !prof !7

26:                                               ; preds = %18
  %27 = lshr i64 %.pre-phi, 56
  %28 = and i64 %27, 15
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  %30 = and i64 %.pre-phi, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %19, i64* %.elt._value, align 8
  %.elt3._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %30, i64* %.elt3._value, align 8
  %31 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i64
  %32 = call swiftcc i32 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int16V_Tg5Tm"(i64 %31, i64 %28, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %33 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %33, null
  call void @llvm.assume(i1 %.not)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %47

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %42

38:                                               ; preds = %23
  %39 = and i64 %.pre-phi, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  %41 = and i64 %19, 281474976710655
  br label %42

42:                                               ; preds = %34, %38
  %43 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %44 = phi i64 [ %41, %38 ], [ %37, %34 ]
  %45 = call swiftcc i32 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int16V_Tg5Tm"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not11 = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not11)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  br label %47

47:                                               ; preds = %42, %26
  %.in = phi i32 [ %32, %26 ], [ %45, %42 ]
  %.in15 = and i32 %.in, 65536
  %48 = icmp ne i32 %.in15, 0
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  %temp-coercion.coerced4.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced4.sroa.4 to i1*
  store i1 %48, i1* %temp-coercion.coerced4.sroa.4.0.sroa_cast, align 2
  %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. = load i8, i8* %temp-coercion.coerced4.sroa.4, align 2
  %temp-coercion.coerced4.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. to i32
  %temp-coercion.coerced4.sroa.4.0.insert.shift = shl nuw nsw i32 %temp-coercion.coerced4.sroa.4.0.insert.ext, 16
  %temp-coercion.coerced4.sroa.0.0.insert.ext = and i32 %.in, 65535
  %temp-coercion.coerced4.sroa.0.0.insert.insert = or i32 %temp-coercion.coerced4.sroa.4.0.insert.shift, %temp-coercion.coerced4.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  ret i32 %temp-coercion.coerced4.sroa.0.0.insert.insert
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc i64 @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5s5Int32V_Tg5"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #6 {
entry:
  %3 = alloca %TSS, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %temp-coercion.coerced4.sroa.4 = alloca i8, align 4
  %5 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %1, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %3 to %swift.opaque*
  %7 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %8 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %6, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSs25LosslessStringConvertiblesWP", i8** nonnull @"$sSSSTsWP")
  %9 = extractvalue { i64, %swift.bridge* } %8, 0
  %10 = extractvalue { i64, %swift.bridge* } %8, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %11 = ptrtoint %swift.bridge* %10 to i64
  %12 = and i64 %11, 1152921504606846976
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %18, label %14, !prof !8

14:                                               ; preds = %entry
  %15 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %9, %swift.bridge* %10)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %10) #2
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi i64 [ %9, %entry ], [ %16, %14 ]
  %20 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %21 = and i64 %.pre-phi, 2305843009213693952
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = and i64 %19, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %38, !prof !7

26:                                               ; preds = %18
  %27 = lshr i64 %.pre-phi, 56
  %28 = and i64 %27, 15
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  %30 = and i64 %.pre-phi, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %19, i64* %.elt._value, align 8
  %.elt3._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %30, i64* %.elt3._value, align 8
  %31 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i64
  %32 = call swiftcc i64 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int32V_Tg5Tm"(i64 %31, i64 %28, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %33 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %33, null
  call void @llvm.assume(i1 %.not)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %47

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %42

38:                                               ; preds = %23
  %39 = and i64 %.pre-phi, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  %41 = and i64 %19, 281474976710655
  br label %42

42:                                               ; preds = %34, %38
  %43 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %44 = phi i64 [ %41, %38 ], [ %37, %34 ]
  %45 = call swiftcc i64 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int32V_Tg5Tm"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not17 = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not17)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  br label %47

47:                                               ; preds = %42, %26
  %.in = phi i64 [ %32, %26 ], [ %45, %42 ]
  %.in21 = and i64 %.in, 4294967296
  %48 = icmp ne i64 %.in21, 0
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  %temp-coercion.coerced4.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced4.sroa.4 to i1*
  store i1 %48, i1* %temp-coercion.coerced4.sroa.4.0.sroa_cast, align 4
  %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. = load i8, i8* %temp-coercion.coerced4.sroa.4, align 4
  %temp-coercion.coerced4.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0.temp-coercion.coerced4.sroa.4.0. to i64
  %temp-coercion.coerced4.sroa.4.0.insert.shift = shl nuw nsw i64 %temp-coercion.coerced4.sroa.4.0.insert.ext, 32
  %temp-coercion.coerced4.sroa.0.0.insert.ext = and i64 %.in, 4294967295
  %temp-coercion.coerced4.sroa.0.0.insert.insert = or i64 %temp-coercion.coerced4.sroa.4.0.insert.shift, %temp-coercion.coerced4.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced4.sroa.4)
  ret i64 %temp-coercion.coerced4.sroa.0.0.insert.insert
}

; Function Attrs: noinline
define internal swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5Tm"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #6 {
entry:
  %3 = alloca %TSS, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %5 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %1, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %3 to %swift.opaque*
  %7 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %8 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %6, %swift.type* nonnull @"$sSSN", i8** nonnull @"$sSSs25LosslessStringConvertiblesWP", i8** nonnull @"$sSSSTsWP")
  %9 = extractvalue { i64, %swift.bridge* } %8, 0
  %10 = extractvalue { i64, %swift.bridge* } %8, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %11 = ptrtoint %swift.bridge* %10 to i64
  %12 = and i64 %11, 1152921504606846976
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %18, label %14, !prof !8

14:                                               ; preds = %entry
  %15 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %9, %swift.bridge* %10)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %10) #2
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi i64 [ %9, %entry ], [ %16, %14 ]
  %20 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %21 = and i64 %.pre-phi, 2305843009213693952
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = and i64 %19, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %38, !prof !7

26:                                               ; preds = %18
  %27 = lshr i64 %.pre-phi, 56
  %28 = and i64 %27, 15
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  %30 = and i64 %.pre-phi, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %19, i64* %.elt._value, align 8
  %.elt3._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %30, i64* %.elt3._value, align 8
  %31 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i64
  %32 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %31, i64 %28, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %33 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %33, null
  call void @llvm.assume(i1 %.not)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %47

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %42

38:                                               ; preds = %23
  %39 = and i64 %.pre-phi, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  %41 = and i64 %19, 281474976710655
  br label %42

42:                                               ; preds = %34, %38
  %43 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %44 = phi i64 [ %41, %38 ], [ %37, %34 ]
  %45 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not7 = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not7)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  br label %47

47:                                               ; preds = %42, %26
  %.pn = phi { i64, i8 } [ %32, %26 ], [ %45, %42 ]
  %.in.in = extractvalue { i64, i8 } %.pn, 1
  %.in = and i8 %.in.in, 1
  %48 = insertvalue { i64, i8 } %.pn, i8 %.in, 1
  ret { i64, i8 } %48
}

define internal swiftcc i16 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s4Int8V_Tg5Tm"(i64 %0, i64 %1, i64 %2, %swift.refcounted* swiftself %3, %swift.error** noalias nocapture swifterror dereferenceable(8) %4) local_unnamed_addr #0 {
entry:
  %temp-coercion.coerced.sroa.4 = alloca i8, align 1
  %5 = inttoptr i64 %0 to i8*
  %6 = inttoptr i64 %0 to %Ts5UInt8V*
  %._value = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 0, i32 0
  %7 = load i8, i8* %._value, align 1
  switch i8 %7, label %67 [
    i8 45, label %8
    i8 43, label %58
  ]

8:                                                ; preds = %entry
  %9 = icmp slt i64 %1, 1
  br i1 %9, label %145, label %10, !prof !7

10:                                               ; preds = %8
  %11 = icmp eq i64 %0, 0
  %12 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %13 = ptrtoint i8* %12 to i64
  %14 = select i1 %11, i64 0, i64 %13
  %15 = add nsw i64 %1, -1
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.loopexit77, label %17, !prof !7

17:                                               ; preds = %10
  %18 = icmp sgt i64 %2, 10
  %19 = trunc i64 %2 to i8
  %20 = add i8 %19, 48
  %21 = add i8 %19, 55
  %22 = add i8 %19, 87
  %23 = select i1 %18, i8 %22, i8 97
  %24 = select i1 %18, i8 %21, i8 65
  %25 = select i1 %18, i8 58, i8 %20
  br i1 %11, label %.loopexit77, label %29

.loopexit77.loopexit.split.loop.exit:             ; preds = %136
  %26 = extractvalue { i8, i1 } %134, 0
  br label %.loopexit77

.loopexit77.loopexit100.split.loop.exit:          ; preds = %50
  %27 = extractvalue { i8, i1 } %48, 0
  br label %.loopexit77

.loopexit77.loopexit103.split.loop.exit:          ; preds = %99
  %28 = extractvalue { i8, i1 } %97, 0
  br label %.loopexit77

.loopexit77:                                      ; preds = %94, %91, %104, %45, %42, %55, %131, %128, %141, %.loopexit77.loopexit103.split.loop.exit, %.loopexit77.loopexit100.split.loop.exit, %.loopexit77.loopexit.split.loop.exit, %117, %107, %67, %78, %69, %60, %29, %17, %10
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1. = phi i1 [ true, %10 ], [ false, %17 ], [ false, %29 ], [ true, %60 ], [ false, %69 ], [ false, %78 ], [ true, %67 ], [ false, %107 ], [ false, %117 ], [ false, %.loopexit77.loopexit.split.loop.exit ], [ false, %.loopexit77.loopexit100.split.loop.exit ], [ false, %.loopexit77.loopexit103.split.loop.exit ], [ true, %141 ], [ true, %128 ], [ true, %131 ], [ true, %55 ], [ true, %42 ], [ true, %45 ], [ true, %104 ], [ true, %91 ], [ true, %94 ]
  %.sroa.0.0 = phi i8 [ 0, %10 ], [ 0, %17 ], [ 0, %29 ], [ 0, %60 ], [ 0, %69 ], [ 0, %78 ], [ 0, %67 ], [ 0, %107 ], [ 0, %117 ], [ %26, %.loopexit77.loopexit.split.loop.exit ], [ %27, %.loopexit77.loopexit100.split.loop.exit ], [ %28, %.loopexit77.loopexit103.split.loop.exit ], [ 0, %141 ], [ 0, %128 ], [ 0, %131 ], [ 0, %55 ], [ 0, %42 ], [ 0, %45 ], [ 0, %104 ], [ 0, %91 ], [ 0, %94 ]
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  %temp-coercion.coerced.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced.sroa.4 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.1., i1* %temp-coercion.coerced.sroa.4.0.sroa_cast, align 1
  %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. = load i8, i8* %temp-coercion.coerced.sroa.4, align 1
  %temp-coercion.coerced.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. to i16
  %temp-coercion.coerced.sroa.4.0.insert.shift = shl nuw i16 %temp-coercion.coerced.sroa.4.0.insert.ext, 8
  %temp-coercion.coerced.sroa.0.0.insert.ext = zext i8 %.sroa.0.0 to i16
  %temp-coercion.coerced.sroa.0.0.insert.insert = or i16 %temp-coercion.coerced.sroa.4.0.insert.shift, %temp-coercion.coerced.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  ret i16 %temp-coercion.coerced.sroa.0.0.insert.insert

29:                                               ; preds = %17
  %30 = inttoptr i64 %14 to i8*
  %31 = inttoptr i64 %14 to %Ts5UInt8V*
  %32 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %15, i32 0
  %33 = icmp eq i8* %32, %30
  br i1 %33, label %.loopexit77, label %.preheader76

.preheader76:                                     ; preds = %29, %50
  %34 = phi %Ts5UInt8V* [ %52, %50 ], [ %31, %29 ]
  %35 = phi i8 [ %51, %50 ], [ 0, %29 ]
  %._value6 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 0, i32 0
  %36 = load i8, i8* %._value6, align 1
  %37 = icmp ugt i8 %36, 47
  %38 = icmp ult i8 %36, %25
  %or.cond = select i1 %37, i1 %38, i1 false
  br i1 %or.cond, label %42, label %39, !prof !10

39:                                               ; preds = %.preheader76
  %40 = icmp ugt i8 %36, 64
  %41 = icmp ult i8 %36, %24
  %or.cond7 = select i1 %40, i1 %41, i1 false
  br i1 %or.cond7, label %42, label %55, !prof !10

42:                                               ; preds = %.preheader76, %55, %39
  %.sink = phi i8 [ -55, %39 ], [ -87, %55 ], [ -48, %.preheader76 ]
  %43 = tail call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %35, i8 %19)
  %44 = extractvalue { i8, i1 } %43, 1
  br i1 %44, label %.loopexit77, label %45

45:                                               ; preds = %42
  %46 = add i8 %36, %.sink
  %47 = extractvalue { i8, i1 } %43, 0
  %48 = tail call { i8, i1 } @llvm.ssub.with.overflow.i8(i8 %47, i8 %46)
  %49 = extractvalue { i8, i1 } %48, 1
  br i1 %49, label %.loopexit77, label %50, !prof !7

50:                                               ; preds = %45
  %51 = extractvalue { i8, i1 } %48, 0
  %52 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 1
  %53 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %52, i64 0, i32 0
  %54 = icmp eq i8* %53, %32
  br i1 %54, label %.loopexit77.loopexit100.split.loop.exit, label %.preheader76

55:                                               ; preds = %39
  %56 = icmp ugt i8 %36, 96
  %57 = icmp ult i8 %36, %23
  %or.cond8 = select i1 %56, i1 %57, i1 false
  br i1 %or.cond8, label %42, label %.loopexit77, !prof !10

58:                                               ; preds = %entry
  %59 = icmp slt i64 %1, 1
  br i1 %59, label %144, label %60, !prof !7

60:                                               ; preds = %58
  %61 = icmp eq i64 %0, 0
  %62 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %63 = ptrtoint i8* %62 to i64
  %64 = select i1 %61, i64 0, i64 %63
  %65 = add nsw i64 %1, -1
  %66 = icmp eq i64 %65, 0
  br i1 %66, label %.loopexit77, label %69, !prof !7

67:                                               ; preds = %entry
  %68 = icmp eq i64 %1, 0
  br i1 %68, label %.loopexit77, label %107, !prof !7

69:                                               ; preds = %60
  %70 = icmp sgt i64 %2, 10
  %71 = trunc i64 %2 to i8
  %72 = add i8 %71, 48
  %73 = add i8 %71, 55
  %74 = add i8 %71, 87
  %75 = select i1 %70, i8 %74, i8 97
  %76 = select i1 %70, i8 %73, i8 65
  %77 = select i1 %70, i8 58, i8 %72
  br i1 %61, label %.loopexit77, label %78

78:                                               ; preds = %69
  %79 = inttoptr i64 %64 to i8*
  %80 = inttoptr i64 %64 to %Ts5UInt8V*
  %81 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %80, i64 %65, i32 0
  %82 = icmp eq i8* %81, %79
  br i1 %82, label %.loopexit77, label %.preheader78

.preheader78:                                     ; preds = %78, %99
  %83 = phi %Ts5UInt8V* [ %101, %99 ], [ %80, %78 ]
  %84 = phi i8 [ %100, %99 ], [ 0, %78 ]
  %._value4 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %83, i64 0, i32 0
  %85 = load i8, i8* %._value4, align 1
  %86 = icmp ugt i8 %85, 47
  %87 = icmp ult i8 %85, %77
  %or.cond9 = select i1 %86, i1 %87, i1 false
  br i1 %or.cond9, label %91, label %88, !prof !10

88:                                               ; preds = %.preheader78
  %89 = icmp ugt i8 %85, 64
  %90 = icmp ult i8 %85, %76
  %or.cond10 = select i1 %89, i1 %90, i1 false
  br i1 %or.cond10, label %91, label %104, !prof !10

91:                                               ; preds = %.preheader78, %104, %88
  %.sink135 = phi i8 [ -55, %88 ], [ -87, %104 ], [ -48, %.preheader78 ]
  %92 = tail call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %84, i8 %71)
  %93 = extractvalue { i8, i1 } %92, 1
  br i1 %93, label %.loopexit77, label %94

94:                                               ; preds = %91
  %95 = add i8 %85, %.sink135
  %96 = extractvalue { i8, i1 } %92, 0
  %97 = tail call { i8, i1 } @llvm.sadd.with.overflow.i8(i8 %96, i8 %95)
  %98 = extractvalue { i8, i1 } %97, 1
  br i1 %98, label %.loopexit77, label %99, !prof !7

99:                                               ; preds = %94
  %100 = extractvalue { i8, i1 } %97, 0
  %101 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %83, i64 1
  %102 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %101, i64 0, i32 0
  %103 = icmp eq i8* %102, %81
  br i1 %103, label %.loopexit77.loopexit103.split.loop.exit, label %.preheader78

104:                                              ; preds = %88
  %105 = icmp ugt i8 %85, 96
  %106 = icmp ult i8 %85, %75
  %or.cond11 = select i1 %105, i1 %106, i1 false
  br i1 %or.cond11, label %91, label %.loopexit77, !prof !10

107:                                              ; preds = %67
  %108 = icmp sgt i64 %2, 10
  %109 = trunc i64 %2 to i8
  %110 = add i8 %109, 48
  %111 = add i8 %109, 55
  %112 = add i8 %109, 87
  %113 = select i1 %108, i8 %112, i8 97
  %114 = select i1 %108, i8 %111, i8 65
  %115 = select i1 %108, i8 58, i8 %110
  %116 = icmp eq i64 %0, 0
  br i1 %116, label %.loopexit77, label %117

117:                                              ; preds = %107
  %118 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %119 = icmp eq i8* %118, %5
  br i1 %119, label %.loopexit77, label %.preheader

.preheader:                                       ; preds = %117, %136
  %120 = phi %Ts5UInt8V* [ %138, %136 ], [ %6, %117 ]
  %121 = phi i8 [ %137, %136 ], [ 0, %117 ]
  %._value2 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %120, i64 0, i32 0
  %122 = load i8, i8* %._value2, align 1
  %123 = icmp ugt i8 %122, 47
  %124 = icmp ult i8 %122, %115
  %or.cond12 = select i1 %123, i1 %124, i1 false
  br i1 %or.cond12, label %128, label %125, !prof !10

125:                                              ; preds = %.preheader
  %126 = icmp ugt i8 %122, 64
  %127 = icmp ult i8 %122, %114
  %or.cond13 = select i1 %126, i1 %127, i1 false
  br i1 %or.cond13, label %128, label %141, !prof !10

128:                                              ; preds = %.preheader, %141, %125
  %.sink136 = phi i8 [ -55, %125 ], [ -87, %141 ], [ -48, %.preheader ]
  %129 = tail call { i8, i1 } @llvm.smul.with.overflow.i8(i8 %121, i8 %109)
  %130 = extractvalue { i8, i1 } %129, 1
  br i1 %130, label %.loopexit77, label %131

131:                                              ; preds = %128
  %132 = add i8 %122, %.sink136
  %133 = extractvalue { i8, i1 } %129, 0
  %134 = tail call { i8, i1 } @llvm.sadd.with.overflow.i8(i8 %133, i8 %132)
  %135 = extractvalue { i8, i1 } %134, 1
  br i1 %135, label %.loopexit77, label %136, !prof !7

136:                                              ; preds = %131
  %137 = extractvalue { i8, i1 } %134, 0
  %138 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %120, i64 1
  %139 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %138, i64 0, i32 0
  %140 = icmp eq i8* %139, %118
  br i1 %140, label %.loopexit77.loopexit.split.loop.exit, label %.preheader

141:                                              ; preds = %125
  %142 = icmp ugt i8 %122, 96
  %143 = icmp ult i8 %122, %113
  %or.cond14 = select i1 %142, i1 %143, i1 false
  br i1 %or.cond14, label %128, label %.loopexit77, !prof !10

144:                                              ; preds = %58
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

145:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc i32 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int16V_Tg5Tm"(i64 %0, i64 %1, i64 %2, %swift.refcounted* swiftself %3, %swift.error** noalias nocapture swifterror dereferenceable(8) %4) local_unnamed_addr #0 {
entry:
  %temp-coercion.coerced.sroa.4 = alloca i8, align 2
  %5 = inttoptr i64 %0 to i8*
  %6 = inttoptr i64 %0 to %Ts5UInt8V*
  %._value = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 0, i32 0
  %7 = load i8, i8* %._value, align 1
  switch i8 %7, label %71 [
    i8 45, label %8
    i8 43, label %62
  ]

8:                                                ; preds = %entry
  %9 = icmp slt i64 %1, 1
  br i1 %9, label %157, label %10, !prof !7

10:                                               ; preds = %8
  %11 = icmp eq i64 %0, 0
  %12 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %13 = ptrtoint i8* %12 to i64
  %14 = select i1 %11, i64 0, i64 %13
  %15 = add nsw i64 %1, -1
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.loopexit80, label %17, !prof !7

17:                                               ; preds = %10
  %18 = icmp sgt i64 %2, 10
  %19 = trunc i64 %2 to i8
  %20 = add i8 %19, 48
  %21 = add i8 %19, 55
  %22 = add i8 %19, 87
  %23 = select i1 %18, i8 %22, i8 97
  %24 = select i1 %18, i8 %21, i8 65
  %25 = select i1 %18, i8 58, i8 %20
  br i1 %11, label %.loopexit80, label %29

.loopexit80.loopexit.split.loop.exit:             ; preds = %148
  %26 = extractvalue { i16, i1 } %146, 0
  br label %.loopexit80

.loopexit80.loopexit102.split.loop.exit:          ; preds = %54
  %27 = extractvalue { i16, i1 } %52, 0
  br label %.loopexit80

.loopexit80.loopexit105.split.loop.exit:          ; preds = %107
  %28 = extractvalue { i16, i1 } %105, 0
  br label %.loopexit80

.loopexit80:                                      ; preds = %101, %98, %112, %48, %45, %59, %142, %139, %153, %.loopexit80.loopexit105.split.loop.exit, %.loopexit80.loopexit102.split.loop.exit, %.loopexit80.loopexit.split.loop.exit, %125, %115, %71, %82, %73, %64, %29, %17, %10
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2. = phi i1 [ true, %10 ], [ false, %17 ], [ false, %29 ], [ true, %64 ], [ false, %73 ], [ false, %82 ], [ true, %71 ], [ false, %115 ], [ false, %125 ], [ false, %.loopexit80.loopexit.split.loop.exit ], [ false, %.loopexit80.loopexit102.split.loop.exit ], [ false, %.loopexit80.loopexit105.split.loop.exit ], [ true, %153 ], [ true, %139 ], [ true, %142 ], [ true, %59 ], [ true, %45 ], [ true, %48 ], [ true, %112 ], [ true, %98 ], [ true, %101 ]
  %.sroa.0.0 = phi i16 [ 0, %10 ], [ 0, %17 ], [ 0, %29 ], [ 0, %64 ], [ 0, %73 ], [ 0, %82 ], [ 0, %71 ], [ 0, %115 ], [ 0, %125 ], [ %26, %.loopexit80.loopexit.split.loop.exit ], [ %27, %.loopexit80.loopexit102.split.loop.exit ], [ %28, %.loopexit80.loopexit105.split.loop.exit ], [ 0, %153 ], [ 0, %139 ], [ 0, %142 ], [ 0, %59 ], [ 0, %45 ], [ 0, %48 ], [ 0, %112 ], [ 0, %98 ], [ 0, %101 ]
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  %temp-coercion.coerced.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced.sroa.4 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.2., i1* %temp-coercion.coerced.sroa.4.0.sroa_cast, align 2
  %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. = load i8, i8* %temp-coercion.coerced.sroa.4, align 2
  %temp-coercion.coerced.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. to i32
  %temp-coercion.coerced.sroa.4.0.insert.shift = shl nuw nsw i32 %temp-coercion.coerced.sroa.4.0.insert.ext, 16
  %temp-coercion.coerced.sroa.0.0.insert.ext = zext i16 %.sroa.0.0 to i32
  %temp-coercion.coerced.sroa.0.0.insert.insert = or i32 %temp-coercion.coerced.sroa.4.0.insert.shift, %temp-coercion.coerced.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  ret i32 %temp-coercion.coerced.sroa.0.0.insert.insert

29:                                               ; preds = %17
  %30 = inttoptr i64 %14 to i8*
  %31 = inttoptr i64 %14 to %Ts5UInt8V*
  %32 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %15, i32 0
  %33 = icmp eq i8* %32, %30
  br i1 %33, label %.loopexit80, label %34

34:                                               ; preds = %29
  %35 = trunc i64 %2 to i16
  br label %36

36:                                               ; preds = %54, %34
  %37 = phi %Ts5UInt8V* [ %31, %34 ], [ %56, %54 ]
  %38 = phi i16 [ 0, %34 ], [ %55, %54 ]
  %._value6 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %37, i64 0, i32 0
  %39 = load i8, i8* %._value6, align 1
  %40 = icmp ugt i8 %39, 47
  %41 = icmp ult i8 %39, %25
  %or.cond = select i1 %40, i1 %41, i1 false
  br i1 %or.cond, label %45, label %42, !prof !10

42:                                               ; preds = %36
  %43 = icmp ugt i8 %39, 64
  %44 = icmp ult i8 %39, %24
  %or.cond7 = select i1 %43, i1 %44, i1 false
  br i1 %or.cond7, label %45, label %59, !prof !10

45:                                               ; preds = %36, %59, %42
  %.sink = phi i8 [ -55, %42 ], [ -87, %59 ], [ -48, %36 ]
  %46 = tail call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %38, i16 %35)
  %47 = extractvalue { i16, i1 } %46, 1
  br i1 %47, label %.loopexit80, label %48

48:                                               ; preds = %45
  %49 = add i8 %39, %.sink
  %50 = extractvalue { i16, i1 } %46, 0
  %51 = zext i8 %49 to i16
  %52 = tail call { i16, i1 } @llvm.ssub.with.overflow.i16(i16 %50, i16 %51)
  %53 = extractvalue { i16, i1 } %52, 1
  br i1 %53, label %.loopexit80, label %54, !prof !7

54:                                               ; preds = %48
  %55 = extractvalue { i16, i1 } %52, 0
  %56 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %37, i64 1
  %57 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %56, i64 0, i32 0
  %58 = icmp eq i8* %57, %32
  br i1 %58, label %.loopexit80.loopexit102.split.loop.exit, label %36

59:                                               ; preds = %42
  %60 = icmp ugt i8 %39, 96
  %61 = icmp ult i8 %39, %23
  %or.cond8 = select i1 %60, i1 %61, i1 false
  br i1 %or.cond8, label %45, label %.loopexit80, !prof !10

62:                                               ; preds = %entry
  %63 = icmp slt i64 %1, 1
  br i1 %63, label %156, label %64, !prof !7

64:                                               ; preds = %62
  %65 = icmp eq i64 %0, 0
  %66 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %67 = ptrtoint i8* %66 to i64
  %68 = select i1 %65, i64 0, i64 %67
  %69 = add nsw i64 %1, -1
  %70 = icmp eq i64 %69, 0
  br i1 %70, label %.loopexit80, label %73, !prof !7

71:                                               ; preds = %entry
  %72 = icmp eq i64 %1, 0
  br i1 %72, label %.loopexit80, label %115, !prof !7

73:                                               ; preds = %64
  %74 = icmp sgt i64 %2, 10
  %75 = trunc i64 %2 to i8
  %76 = add i8 %75, 48
  %77 = add i8 %75, 55
  %78 = add i8 %75, 87
  %79 = select i1 %74, i8 %78, i8 97
  %80 = select i1 %74, i8 %77, i8 65
  %81 = select i1 %74, i8 58, i8 %76
  br i1 %65, label %.loopexit80, label %82

82:                                               ; preds = %73
  %83 = inttoptr i64 %68 to i8*
  %84 = inttoptr i64 %68 to %Ts5UInt8V*
  %85 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %84, i64 %69, i32 0
  %86 = icmp eq i8* %85, %83
  br i1 %86, label %.loopexit80, label %87

87:                                               ; preds = %82
  %88 = trunc i64 %2 to i16
  br label %89

89:                                               ; preds = %107, %87
  %90 = phi %Ts5UInt8V* [ %84, %87 ], [ %109, %107 ]
  %91 = phi i16 [ 0, %87 ], [ %108, %107 ]
  %._value4 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %90, i64 0, i32 0
  %92 = load i8, i8* %._value4, align 1
  %93 = icmp ugt i8 %92, 47
  %94 = icmp ult i8 %92, %81
  %or.cond9 = select i1 %93, i1 %94, i1 false
  br i1 %or.cond9, label %98, label %95, !prof !10

95:                                               ; preds = %89
  %96 = icmp ugt i8 %92, 64
  %97 = icmp ult i8 %92, %80
  %or.cond10 = select i1 %96, i1 %97, i1 false
  br i1 %or.cond10, label %98, label %112, !prof !10

98:                                               ; preds = %89, %112, %95
  %.sink137 = phi i8 [ -55, %95 ], [ -87, %112 ], [ -48, %89 ]
  %99 = tail call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %91, i16 %88)
  %100 = extractvalue { i16, i1 } %99, 1
  br i1 %100, label %.loopexit80, label %101

101:                                              ; preds = %98
  %102 = add i8 %92, %.sink137
  %103 = extractvalue { i16, i1 } %99, 0
  %104 = zext i8 %102 to i16
  %105 = tail call { i16, i1 } @llvm.sadd.with.overflow.i16(i16 %103, i16 %104)
  %106 = extractvalue { i16, i1 } %105, 1
  br i1 %106, label %.loopexit80, label %107, !prof !7

107:                                              ; preds = %101
  %108 = extractvalue { i16, i1 } %105, 0
  %109 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %90, i64 1
  %110 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %109, i64 0, i32 0
  %111 = icmp eq i8* %110, %85
  br i1 %111, label %.loopexit80.loopexit105.split.loop.exit, label %89

112:                                              ; preds = %95
  %113 = icmp ugt i8 %92, 96
  %114 = icmp ult i8 %92, %79
  %or.cond11 = select i1 %113, i1 %114, i1 false
  br i1 %or.cond11, label %98, label %.loopexit80, !prof !10

115:                                              ; preds = %71
  %116 = icmp sgt i64 %2, 10
  %117 = trunc i64 %2 to i8
  %118 = add i8 %117, 48
  %119 = add i8 %117, 55
  %120 = add i8 %117, 87
  %121 = select i1 %116, i8 %120, i8 97
  %122 = select i1 %116, i8 %119, i8 65
  %123 = select i1 %116, i8 58, i8 %118
  %124 = icmp eq i64 %0, 0
  br i1 %124, label %.loopexit80, label %125

125:                                              ; preds = %115
  %126 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %127 = icmp eq i8* %126, %5
  br i1 %127, label %.loopexit80, label %128

128:                                              ; preds = %125
  %129 = trunc i64 %2 to i16
  br label %130

130:                                              ; preds = %148, %128
  %131 = phi %Ts5UInt8V* [ %6, %128 ], [ %150, %148 ]
  %132 = phi i16 [ 0, %128 ], [ %149, %148 ]
  %._value2 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %131, i64 0, i32 0
  %133 = load i8, i8* %._value2, align 1
  %134 = icmp ugt i8 %133, 47
  %135 = icmp ult i8 %133, %123
  %or.cond12 = select i1 %134, i1 %135, i1 false
  br i1 %or.cond12, label %139, label %136, !prof !10

136:                                              ; preds = %130
  %137 = icmp ugt i8 %133, 64
  %138 = icmp ult i8 %133, %122
  %or.cond13 = select i1 %137, i1 %138, i1 false
  br i1 %or.cond13, label %139, label %153, !prof !10

139:                                              ; preds = %130, %153, %136
  %.sink138 = phi i8 [ -55, %136 ], [ -87, %153 ], [ -48, %130 ]
  %140 = tail call { i16, i1 } @llvm.smul.with.overflow.i16(i16 %132, i16 %129)
  %141 = extractvalue { i16, i1 } %140, 1
  br i1 %141, label %.loopexit80, label %142

142:                                              ; preds = %139
  %143 = add i8 %133, %.sink138
  %144 = extractvalue { i16, i1 } %140, 0
  %145 = zext i8 %143 to i16
  %146 = tail call { i16, i1 } @llvm.sadd.with.overflow.i16(i16 %144, i16 %145)
  %147 = extractvalue { i16, i1 } %146, 1
  br i1 %147, label %.loopexit80, label %148, !prof !7

148:                                              ; preds = %142
  %149 = extractvalue { i16, i1 } %146, 0
  %150 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %131, i64 1
  %151 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %150, i64 0, i32 0
  %152 = icmp eq i8* %151, %126
  br i1 %152, label %.loopexit80.loopexit.split.loop.exit, label %130

153:                                              ; preds = %136
  %154 = icmp ugt i8 %133, 96
  %155 = icmp ult i8 %133, %121
  %or.cond14 = select i1 %154, i1 %155, i1 false
  br i1 %or.cond14, label %139, label %.loopexit80, !prof !10

156:                                              ; preds = %62
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

157:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc i64 @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5s5Int32V_Tg5Tm"(i64 %0, i64 %1, i64 %2, %swift.refcounted* swiftself %3, %swift.error** noalias nocapture swifterror dereferenceable(8) %4) local_unnamed_addr #0 {
entry:
  %temp-coercion.coerced.sroa.4 = alloca i8, align 4
  %5 = inttoptr i64 %0 to i8*
  %6 = inttoptr i64 %0 to %Ts5UInt8V*
  %._value = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 0, i32 0
  %7 = load i8, i8* %._value, align 1
  switch i8 %7, label %71 [
    i8 45, label %8
    i8 43, label %62
  ]

8:                                                ; preds = %entry
  %9 = icmp slt i64 %1, 1
  br i1 %9, label %157, label %10, !prof !7

10:                                               ; preds = %8
  %11 = icmp eq i64 %0, 0
  %12 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %13 = ptrtoint i8* %12 to i64
  %14 = select i1 %11, i64 0, i64 %13
  %15 = add nsw i64 %1, -1
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.loopexit82, label %17, !prof !7

17:                                               ; preds = %10
  %18 = icmp sgt i64 %2, 10
  %19 = trunc i64 %2 to i8
  %20 = add i8 %19, 48
  %21 = add i8 %19, 55
  %22 = add i8 %19, 87
  %23 = select i1 %18, i8 %22, i8 97
  %24 = select i1 %18, i8 %21, i8 65
  %25 = select i1 %18, i8 58, i8 %20
  br i1 %11, label %.loopexit82, label %29

.loopexit82.loopexit.split.loop.exit:             ; preds = %148
  %26 = extractvalue { i32, i1 } %146, 0
  br label %.loopexit82

.loopexit82.loopexit104.split.loop.exit:          ; preds = %54
  %27 = extractvalue { i32, i1 } %52, 0
  br label %.loopexit82

.loopexit82.loopexit107.split.loop.exit:          ; preds = %107
  %28 = extractvalue { i32, i1 } %105, 0
  br label %.loopexit82

.loopexit82:                                      ; preds = %101, %98, %112, %48, %45, %59, %142, %139, %153, %.loopexit82.loopexit107.split.loop.exit, %.loopexit82.loopexit104.split.loop.exit, %.loopexit82.loopexit.split.loop.exit, %125, %115, %71, %82, %73, %64, %29, %17, %10
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4. = phi i1 [ true, %10 ], [ false, %17 ], [ false, %29 ], [ true, %64 ], [ false, %73 ], [ false, %82 ], [ true, %71 ], [ false, %115 ], [ false, %125 ], [ false, %.loopexit82.loopexit.split.loop.exit ], [ false, %.loopexit82.loopexit104.split.loop.exit ], [ false, %.loopexit82.loopexit107.split.loop.exit ], [ true, %153 ], [ true, %139 ], [ true, %142 ], [ true, %59 ], [ true, %45 ], [ true, %48 ], [ true, %112 ], [ true, %98 ], [ true, %101 ]
  %.sroa.0.0 = phi i32 [ 0, %10 ], [ 0, %17 ], [ 0, %29 ], [ 0, %64 ], [ 0, %73 ], [ 0, %82 ], [ 0, %71 ], [ 0, %115 ], [ 0, %125 ], [ %26, %.loopexit82.loopexit.split.loop.exit ], [ %27, %.loopexit82.loopexit104.split.loop.exit ], [ %28, %.loopexit82.loopexit107.split.loop.exit ], [ 0, %153 ], [ 0, %139 ], [ 0, %142 ], [ 0, %59 ], [ 0, %45 ], [ 0, %48 ], [ 0, %112 ], [ 0, %98 ], [ 0, %101 ]
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  %temp-coercion.coerced.sroa.4.0.sroa_cast = bitcast i8* %temp-coercion.coerced.sroa.4 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.4., i1* %temp-coercion.coerced.sroa.4.0.sroa_cast, align 4
  %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. = load i8, i8* %temp-coercion.coerced.sroa.4, align 4
  %temp-coercion.coerced.sroa.4.0.insert.ext = zext i8 %temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0.temp-coercion.coerced.sroa.4.0. to i64
  %temp-coercion.coerced.sroa.4.0.insert.shift = shl nuw nsw i64 %temp-coercion.coerced.sroa.4.0.insert.ext, 32
  %temp-coercion.coerced.sroa.0.0.insert.ext = zext i32 %.sroa.0.0 to i64
  %temp-coercion.coerced.sroa.0.0.insert.insert = or i64 %temp-coercion.coerced.sroa.4.0.insert.shift, %temp-coercion.coerced.sroa.0.0.insert.ext
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %temp-coercion.coerced.sroa.4)
  ret i64 %temp-coercion.coerced.sroa.0.0.insert.insert

29:                                               ; preds = %17
  %30 = inttoptr i64 %14 to i8*
  %31 = inttoptr i64 %14 to %Ts5UInt8V*
  %32 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %15, i32 0
  %33 = icmp eq i8* %32, %30
  br i1 %33, label %.loopexit82, label %34

34:                                               ; preds = %29
  %35 = trunc i64 %2 to i32
  br label %36

36:                                               ; preds = %54, %34
  %37 = phi %Ts5UInt8V* [ %31, %34 ], [ %56, %54 ]
  %38 = phi i32 [ 0, %34 ], [ %55, %54 ]
  %._value6 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %37, i64 0, i32 0
  %39 = load i8, i8* %._value6, align 1
  %40 = icmp ugt i8 %39, 47
  %41 = icmp ult i8 %39, %25
  %or.cond = select i1 %40, i1 %41, i1 false
  br i1 %or.cond, label %45, label %42, !prof !10

42:                                               ; preds = %36
  %43 = icmp ugt i8 %39, 64
  %44 = icmp ult i8 %39, %24
  %or.cond7 = select i1 %43, i1 %44, i1 false
  br i1 %or.cond7, label %45, label %59, !prof !10

45:                                               ; preds = %36, %59, %42
  %.sink = phi i8 [ -55, %42 ], [ -87, %59 ], [ -48, %36 ]
  %46 = tail call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %38, i32 %35)
  %47 = extractvalue { i32, i1 } %46, 1
  br i1 %47, label %.loopexit82, label %48

48:                                               ; preds = %45
  %49 = add i8 %39, %.sink
  %50 = extractvalue { i32, i1 } %46, 0
  %51 = zext i8 %49 to i32
  %52 = tail call { i32, i1 } @llvm.ssub.with.overflow.i32(i32 %50, i32 %51)
  %53 = extractvalue { i32, i1 } %52, 1
  br i1 %53, label %.loopexit82, label %54, !prof !7

54:                                               ; preds = %48
  %55 = extractvalue { i32, i1 } %52, 0
  %56 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %37, i64 1
  %57 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %56, i64 0, i32 0
  %58 = icmp eq i8* %57, %32
  br i1 %58, label %.loopexit82.loopexit104.split.loop.exit, label %36

59:                                               ; preds = %42
  %60 = icmp ugt i8 %39, 96
  %61 = icmp ult i8 %39, %23
  %or.cond8 = select i1 %60, i1 %61, i1 false
  br i1 %or.cond8, label %45, label %.loopexit82, !prof !10

62:                                               ; preds = %entry
  %63 = icmp slt i64 %1, 1
  br i1 %63, label %156, label %64, !prof !7

64:                                               ; preds = %62
  %65 = icmp eq i64 %0, 0
  %66 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %67 = ptrtoint i8* %66 to i64
  %68 = select i1 %65, i64 0, i64 %67
  %69 = add nsw i64 %1, -1
  %70 = icmp eq i64 %69, 0
  br i1 %70, label %.loopexit82, label %73, !prof !7

71:                                               ; preds = %entry
  %72 = icmp eq i64 %1, 0
  br i1 %72, label %.loopexit82, label %115, !prof !7

73:                                               ; preds = %64
  %74 = icmp sgt i64 %2, 10
  %75 = trunc i64 %2 to i8
  %76 = add i8 %75, 48
  %77 = add i8 %75, 55
  %78 = add i8 %75, 87
  %79 = select i1 %74, i8 %78, i8 97
  %80 = select i1 %74, i8 %77, i8 65
  %81 = select i1 %74, i8 58, i8 %76
  br i1 %65, label %.loopexit82, label %82

82:                                               ; preds = %73
  %83 = inttoptr i64 %68 to i8*
  %84 = inttoptr i64 %68 to %Ts5UInt8V*
  %85 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %84, i64 %69, i32 0
  %86 = icmp eq i8* %85, %83
  br i1 %86, label %.loopexit82, label %87

87:                                               ; preds = %82
  %88 = trunc i64 %2 to i32
  br label %89

89:                                               ; preds = %107, %87
  %90 = phi %Ts5UInt8V* [ %84, %87 ], [ %109, %107 ]
  %91 = phi i32 [ 0, %87 ], [ %108, %107 ]
  %._value4 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %90, i64 0, i32 0
  %92 = load i8, i8* %._value4, align 1
  %93 = icmp ugt i8 %92, 47
  %94 = icmp ult i8 %92, %81
  %or.cond9 = select i1 %93, i1 %94, i1 false
  br i1 %or.cond9, label %98, label %95, !prof !10

95:                                               ; preds = %89
  %96 = icmp ugt i8 %92, 64
  %97 = icmp ult i8 %92, %80
  %or.cond10 = select i1 %96, i1 %97, i1 false
  br i1 %or.cond10, label %98, label %112, !prof !10

98:                                               ; preds = %89, %112, %95
  %.sink139 = phi i8 [ -55, %95 ], [ -87, %112 ], [ -48, %89 ]
  %99 = tail call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %91, i32 %88)
  %100 = extractvalue { i32, i1 } %99, 1
  br i1 %100, label %.loopexit82, label %101

101:                                              ; preds = %98
  %102 = add i8 %92, %.sink139
  %103 = extractvalue { i32, i1 } %99, 0
  %104 = zext i8 %102 to i32
  %105 = tail call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %103, i32 %104)
  %106 = extractvalue { i32, i1 } %105, 1
  br i1 %106, label %.loopexit82, label %107, !prof !7

107:                                              ; preds = %101
  %108 = extractvalue { i32, i1 } %105, 0
  %109 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %90, i64 1
  %110 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %109, i64 0, i32 0
  %111 = icmp eq i8* %110, %85
  br i1 %111, label %.loopexit82.loopexit107.split.loop.exit, label %89

112:                                              ; preds = %95
  %113 = icmp ugt i8 %92, 96
  %114 = icmp ult i8 %92, %79
  %or.cond11 = select i1 %113, i1 %114, i1 false
  br i1 %or.cond11, label %98, label %.loopexit82, !prof !10

115:                                              ; preds = %71
  %116 = icmp sgt i64 %2, 10
  %117 = trunc i64 %2 to i8
  %118 = add i8 %117, 48
  %119 = add i8 %117, 55
  %120 = add i8 %117, 87
  %121 = select i1 %116, i8 %120, i8 97
  %122 = select i1 %116, i8 %119, i8 65
  %123 = select i1 %116, i8 58, i8 %118
  %124 = icmp eq i64 %0, 0
  br i1 %124, label %.loopexit82, label %125

125:                                              ; preds = %115
  %126 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %127 = icmp eq i8* %126, %5
  br i1 %127, label %.loopexit82, label %128

128:                                              ; preds = %125
  %129 = trunc i64 %2 to i32
  br label %130

130:                                              ; preds = %148, %128
  %131 = phi %Ts5UInt8V* [ %6, %128 ], [ %150, %148 ]
  %132 = phi i32 [ 0, %128 ], [ %149, %148 ]
  %._value2 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %131, i64 0, i32 0
  %133 = load i8, i8* %._value2, align 1
  %134 = icmp ugt i8 %133, 47
  %135 = icmp ult i8 %133, %123
  %or.cond12 = select i1 %134, i1 %135, i1 false
  br i1 %or.cond12, label %139, label %136, !prof !10

136:                                              ; preds = %130
  %137 = icmp ugt i8 %133, 64
  %138 = icmp ult i8 %133, %122
  %or.cond13 = select i1 %137, i1 %138, i1 false
  br i1 %or.cond13, label %139, label %153, !prof !10

139:                                              ; preds = %130, %153, %136
  %.sink140 = phi i8 [ -55, %136 ], [ -87, %153 ], [ -48, %130 ]
  %140 = tail call { i32, i1 } @llvm.smul.with.overflow.i32(i32 %132, i32 %129)
  %141 = extractvalue { i32, i1 } %140, 1
  br i1 %141, label %.loopexit82, label %142

142:                                              ; preds = %139
  %143 = add i8 %133, %.sink140
  %144 = extractvalue { i32, i1 } %140, 0
  %145 = zext i8 %143 to i32
  %146 = tail call { i32, i1 } @llvm.sadd.with.overflow.i32(i32 %144, i32 %145)
  %147 = extractvalue { i32, i1 } %146, 1
  br i1 %147, label %.loopexit82, label %148, !prof !7

148:                                              ; preds = %142
  %149 = extractvalue { i32, i1 } %146, 0
  %150 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %131, i64 1
  %151 = getelementptr %Ts5UInt8V, %Ts5UInt8V* %150, i64 0, i32 0
  %152 = icmp eq i8* %151, %126
  br i1 %152, label %.loopexit82.loopexit.split.loop.exit, label %130

153:                                              ; preds = %136
  %154 = icmp ugt i8 %133, 96
  %155 = icmp ult i8 %133, %121
  %or.cond14 = select i1 %154, i1 %155, i1 false
  br i1 %or.cond14, label %139, label %.loopexit82, !prof !10

156:                                              ; preds = %62
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

157:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define internal swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %0, i64 %1, i64 %2, %swift.refcounted* swiftself %3, %swift.error** noalias nocapture swifterror dereferenceable(8) %4) local_unnamed_addr #0 {
entry:
  %5 = inttoptr i64 %0 to i8*
  %6 = inttoptr i64 %0 to %Ts5UInt8V*
  %._value = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 0, i32 0
  %7 = load i8, i8* %._value, align 1
  switch i8 %7, label %69 [
    i8 45, label %8
    i8 43, label %60
  ]

8:                                                ; preds = %entry
  %9 = icmp slt i64 %1, 1
  br i1 %9, label %147, label %10, !prof !7

10:                                               ; preds = %8
  %11 = icmp eq i64 %0, 0
  %12 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %13 = ptrtoint i8* %12 to i64
  %14 = select i1 %11, i64 0, i64 %13
  %15 = add nsw i64 %1, -1
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.loopexit76, label %17, !prof !7

17:                                               ; preds = %10
  %18 = icmp sgt i64 %2, 10
  %19 = trunc i64 %2 to i8
  %20 = add i8 %19, 48
  %21 = add i8 %19, 55
  %22 = add i8 %19, 87
  %23 = select i1 %18, i8 %22, i8 97
  %24 = select i1 %18, i8 %21, i8 65
  %25 = select i1 %18, i8 58, i8 %20
  br i1 %11, label %.loopexit76, label %31

.loopexit76.loopexit.split.loop.exit:             ; preds = %139
  %26 = extractvalue { i64, i1 } %137, 0
  br label %.loopexit76

.loopexit76.loopexit99.split.loop.exit:           ; preds = %53
  %27 = extractvalue { i64, i1 } %51, 0
  br label %.loopexit76

.loopexit76.loopexit102.split.loop.exit:          ; preds = %102
  %28 = extractvalue { i64, i1 } %100, 0
  br label %.loopexit76

.loopexit76:                                      ; preds = %96, %93, %106, %47, %44, %57, %133, %130, %143, %.loopexit76.loopexit102.split.loop.exit, %.loopexit76.loopexit99.split.loop.exit, %.loopexit76.loopexit.split.loop.exit, %119, %109, %69, %80, %71, %62, %31, %17, %10
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i8 [ 1, %10 ], [ 0, %17 ], [ 0, %31 ], [ 1, %62 ], [ 0, %71 ], [ 0, %80 ], [ 1, %69 ], [ 0, %109 ], [ 0, %119 ], [ 0, %.loopexit76.loopexit.split.loop.exit ], [ 0, %.loopexit76.loopexit99.split.loop.exit ], [ 0, %.loopexit76.loopexit102.split.loop.exit ], [ 1, %143 ], [ 1, %130 ], [ 1, %133 ], [ 1, %57 ], [ 1, %44 ], [ 1, %47 ], [ 1, %106 ], [ 1, %93 ], [ 1, %96 ]
  %.sroa.0.0 = phi i64 [ 0, %10 ], [ 0, %17 ], [ 0, %31 ], [ 0, %62 ], [ 0, %71 ], [ 0, %80 ], [ 0, %69 ], [ 0, %109 ], [ 0, %119 ], [ %26, %.loopexit76.loopexit.split.loop.exit ], [ %27, %.loopexit76.loopexit99.split.loop.exit ], [ %28, %.loopexit76.loopexit102.split.loop.exit ], [ 0, %143 ], [ 0, %130 ], [ 0, %133 ], [ 0, %57 ], [ 0, %44 ], [ 0, %47 ], [ 0, %106 ], [ 0, %93 ], [ 0, %96 ]
  %29 = insertvalue { i64, i8 } undef, i64 %.sroa.0.0, 0
  %30 = insertvalue { i64, i8 } %29, i8 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., 1
  ret { i64, i8 } %30

31:                                               ; preds = %17
  %32 = inttoptr i64 %14 to %Ts5UInt8V*
  %33 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 %15, i32 0
  %34 = inttoptr i64 %14 to i8*
  %35 = icmp eq i8* %33, %34
  br i1 %35, label %.loopexit76, label %.preheader75

.preheader75:                                     ; preds = %31, %53
  %36 = phi i8* [ %55, %53 ], [ %34, %31 ]
  %37 = phi i64 [ %54, %53 ], [ 0, %31 ]
  %38 = load i8, i8* %36, align 1
  %39 = icmp ugt i8 %38, 47
  %40 = icmp ult i8 %38, %25
  %or.cond = select i1 %39, i1 %40, i1 false
  br i1 %or.cond, label %44, label %41, !prof !10

41:                                               ; preds = %.preheader75
  %42 = icmp ugt i8 %38, 64
  %43 = icmp ult i8 %38, %24
  %or.cond7 = select i1 %42, i1 %43, i1 false
  br i1 %or.cond7, label %44, label %57, !prof !10

44:                                               ; preds = %.preheader75, %57, %41
  %.sink = phi i8 [ -55, %41 ], [ -87, %57 ], [ -48, %.preheader75 ]
  %45 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %37, i64 %2)
  %46 = extractvalue { i64, i1 } %45, 1
  br i1 %46, label %.loopexit76, label %47

47:                                               ; preds = %44
  %48 = add i8 %38, %.sink
  %49 = extractvalue { i64, i1 } %45, 0
  %50 = zext i8 %48 to i64
  %51 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %49, i64 %50)
  %52 = extractvalue { i64, i1 } %51, 1
  br i1 %52, label %.loopexit76, label %53, !prof !7

53:                                               ; preds = %47
  %54 = extractvalue { i64, i1 } %51, 0
  %55 = getelementptr inbounds i8, i8* %36, i64 1
  %56 = icmp eq i8* %55, %33
  br i1 %56, label %.loopexit76.loopexit99.split.loop.exit, label %.preheader75

57:                                               ; preds = %41
  %58 = icmp ugt i8 %38, 96
  %59 = icmp ult i8 %38, %23
  %or.cond8 = select i1 %58, i1 %59, i1 false
  br i1 %or.cond8, label %44, label %.loopexit76, !prof !10

60:                                               ; preds = %entry
  %61 = icmp slt i64 %1, 1
  br i1 %61, label %146, label %62, !prof !7

62:                                               ; preds = %60
  %63 = icmp eq i64 %0, 0
  %64 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %65 = ptrtoint i8* %64 to i64
  %66 = select i1 %63, i64 0, i64 %65
  %67 = add nsw i64 %1, -1
  %68 = icmp eq i64 %67, 0
  br i1 %68, label %.loopexit76, label %71, !prof !7

69:                                               ; preds = %entry
  %70 = icmp eq i64 %1, 0
  br i1 %70, label %.loopexit76, label %109, !prof !7

71:                                               ; preds = %62
  %72 = icmp sgt i64 %2, 10
  %73 = trunc i64 %2 to i8
  %74 = add i8 %73, 48
  %75 = add i8 %73, 55
  %76 = add i8 %73, 87
  %77 = select i1 %72, i8 %76, i8 97
  %78 = select i1 %72, i8 %75, i8 65
  %79 = select i1 %72, i8 58, i8 %74
  br i1 %63, label %.loopexit76, label %80

80:                                               ; preds = %71
  %81 = inttoptr i64 %66 to %Ts5UInt8V*
  %82 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %81, i64 %67, i32 0
  %83 = inttoptr i64 %66 to i8*
  %84 = icmp eq i8* %82, %83
  br i1 %84, label %.loopexit76, label %.preheader77

.preheader77:                                     ; preds = %80, %102
  %85 = phi i8* [ %104, %102 ], [ %83, %80 ]
  %86 = phi i64 [ %103, %102 ], [ 0, %80 ]
  %87 = load i8, i8* %85, align 1
  %88 = icmp ugt i8 %87, 47
  %89 = icmp ult i8 %87, %79
  %or.cond9 = select i1 %88, i1 %89, i1 false
  br i1 %or.cond9, label %93, label %90, !prof !10

90:                                               ; preds = %.preheader77
  %91 = icmp ugt i8 %87, 64
  %92 = icmp ult i8 %87, %78
  %or.cond10 = select i1 %91, i1 %92, i1 false
  br i1 %or.cond10, label %93, label %106, !prof !10

93:                                               ; preds = %.preheader77, %106, %90
  %.sink134 = phi i8 [ -55, %90 ], [ -87, %106 ], [ -48, %.preheader77 ]
  %94 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %86, i64 %2)
  %95 = extractvalue { i64, i1 } %94, 1
  br i1 %95, label %.loopexit76, label %96

96:                                               ; preds = %93
  %97 = add i8 %87, %.sink134
  %98 = extractvalue { i64, i1 } %94, 0
  %99 = zext i8 %97 to i64
  %100 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %98, i64 %99)
  %101 = extractvalue { i64, i1 } %100, 1
  br i1 %101, label %.loopexit76, label %102, !prof !7

102:                                              ; preds = %96
  %103 = extractvalue { i64, i1 } %100, 0
  %104 = getelementptr inbounds i8, i8* %85, i64 1
  %105 = icmp eq i8* %104, %82
  br i1 %105, label %.loopexit76.loopexit102.split.loop.exit, label %.preheader77

106:                                              ; preds = %90
  %107 = icmp ugt i8 %87, 96
  %108 = icmp ult i8 %87, %77
  %or.cond11 = select i1 %107, i1 %108, i1 false
  br i1 %or.cond11, label %93, label %.loopexit76, !prof !10

109:                                              ; preds = %69
  %110 = icmp sgt i64 %2, 10
  %111 = trunc i64 %2 to i8
  %112 = add i8 %111, 48
  %113 = add i8 %111, 55
  %114 = add i8 %111, 87
  %115 = select i1 %110, i8 %114, i8 97
  %116 = select i1 %110, i8 %113, i8 65
  %117 = select i1 %110, i8 58, i8 %112
  %118 = icmp eq i64 %0, 0
  br i1 %118, label %.loopexit76, label %119

119:                                              ; preds = %109
  %120 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %121 = icmp eq i8* %120, %5
  br i1 %121, label %.loopexit76, label %.preheader

.preheader:                                       ; preds = %119, %139
  %122 = phi i8* [ %141, %139 ], [ %5, %119 ]
  %123 = phi i64 [ %140, %139 ], [ 0, %119 ]
  %124 = load i8, i8* %122, align 1
  %125 = icmp ugt i8 %124, 47
  %126 = icmp ult i8 %124, %117
  %or.cond12 = select i1 %125, i1 %126, i1 false
  br i1 %or.cond12, label %130, label %127, !prof !10

127:                                              ; preds = %.preheader
  %128 = icmp ugt i8 %124, 64
  %129 = icmp ult i8 %124, %116
  %or.cond13 = select i1 %128, i1 %129, i1 false
  br i1 %or.cond13, label %130, label %143, !prof !10

130:                                              ; preds = %.preheader, %143, %127
  %.sink135 = phi i8 [ -55, %127 ], [ -87, %143 ], [ -48, %.preheader ]
  %131 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %123, i64 %2)
  %132 = extractvalue { i64, i1 } %131, 1
  br i1 %132, label %.loopexit76, label %133

133:                                              ; preds = %130
  %134 = add i8 %124, %.sink135
  %135 = extractvalue { i64, i1 } %131, 0
  %136 = zext i8 %134 to i64
  %137 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %135, i64 %136)
  %138 = extractvalue { i64, i1 } %137, 1
  br i1 %138, label %.loopexit76, label %139, !prof !7

139:                                              ; preds = %133
  %140 = extractvalue { i64, i1 } %137, 0
  %141 = getelementptr inbounds i8, i8* %122, i64 1
  %142 = icmp eq i8* %141, %120
  br i1 %142, label %.loopexit76.loopexit.split.loop.exit, label %.preheader

143:                                              ; preds = %127
  %144 = icmp ugt i8 %124, 96
  %145 = icmp ult i8 %124, %115
  %or.cond14 = select i1 %144, i1 %145, i1 false
  br i1 %or.cond14, label %130, label %.loopexit76, !prof !10

146:                                              ; preds = %60
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

147:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %0, %swift.bridge* %1) local_unnamed_addr #6 {
entry:
  %2 = ptrtoint %swift.bridge* %1 to i64
  %3 = and i64 %2, 2305843009213693952
  %4 = icmp eq i64 %3, 0
  %5 = lshr i64 %2, 56
  %6 = and i64 %5, 15
  %7 = select i1 %4, i64 %0, i64 %6
  %8 = shl i64 %7, 16
  %9 = and i64 %2, 1152921504606846976
  %10 = icmp ne i64 %9, 0
  %11 = and i64 %0, 576460752303423488
  %12 = icmp eq i64 %11, 0
  %or.cond = select i1 %10, i1 %12, i1 false
  %.v = select i1 %or.cond, i64 11, i64 7
  %13 = or i64 %8, %.v
  %14 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 15, i64 %13, i64 %0, %swift.bridge* %1)
  %15 = extractvalue { i64, i64, i64, %swift.bridge* } %14, 0
  %16 = extractvalue { i64, i64, i64, %swift.bridge* } %14, 1
  %17 = extractvalue { i64, i64, i64, %swift.bridge* } %14, 2
  %18 = extractvalue { i64, i64, i64, %swift.bridge* } %14, 3
  %19 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %15, i64 %16, i64 %17, %swift.bridge* %18)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %18) #2
  ret { i64, %swift.bridge* } %19
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #6 {
entry:
  %4 = alloca %Ts16IndexingIteratorVySs8UTF8ViewVG, align 8
  %5 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %6 = ptrtoint %swift.bridge* %3 to i64
  %7 = and i64 %6, 1152921504606846976
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %27, label %9, !prof !8

9:                                                ; preds = %entry
  %10 = tail call swiftcc i64 @"$sSlsE5countSivgSs8UTF8ViewV_Tgq5"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3)
  %11 = icmp eq i64 %10, 0
  br i1 %11, label %._crit_edge, label %12

12:                                               ; preds = %9
  %13 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCs5UInt8V_Tgq5Tf4nnd_n"(i64 %10, i64 0)
  %14 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %13, i64 1
  %15 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %14 to i64
  %16 = bitcast %Ts16IndexingIteratorVySs8UTF8ViewVG* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 40, i8* nonnull %16)
  %17 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSs8UTF8ViewV_Tgq5"(%Ts16IndexingIteratorVySs8UTF8ViewVG* noalias nocapture nonnull %4, i64 %15, i64 %10, i64 %0, i64 %1, i64 %2, %swift.bridge* %3)
  %.not = icmp eq i64 %17, %10
  br i1 %.not, label %18, label %59, !prof !8

18:                                               ; preds = %12
  %._elements._slice._base._guts._object._object = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %4, i64 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 1
  %19 = load %swift.bridge*, %swift.bridge** %._elements._slice._base._guts._object._object, align 8
  %20 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %19) #2
  call void @llvm.lifetime.end.p0i8(i64 40, i8* nonnull %16)
  br label %._crit_edge

._crit_edge:                                      ; preds = %9, %18
  %21 = phi %Ts28__ContiguousArrayStorageBaseC* [ %13, %18 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %9 ]
  %22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 1
  %23 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %22 to i64
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 1, i32 0, i32 0, i32 0
  %24 = load i64, i64* %._storage.count._value, align 8, !range !6
  %25 = tail call swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64 %23, i64 %24), !noalias !14
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %26) #2
  br label %58

27:                                               ; preds = %entry
  %28 = lshr i64 %0, 16
  %29 = lshr i64 %1, 16
  %30 = and i64 %6, 2305843009213693952
  %31 = icmp eq i64 %30, 0
  br i1 %31, label %40, label %32

32:                                               ; preds = %27
  %33 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %33)
  %34 = and i64 %6, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %5, i64 0, i32 0, i32 0
  store i64 %2, i64* %.elt._value, align 8
  %.elt2._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %5, i64 0, i32 1, i32 0
  store i64 %34, i64* %.elt2._value, align 8
  %35 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %5 to %Ts5UInt8V*
  %36 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %35, i64 %28, i32 0
  %37 = ptrtoint i8* %36 to i64
  %38 = sub nsw i64 %29, %28
  %39 = call swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64 %37, i64 %38)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %33)
  br label %58

40:                                               ; preds = %27
  %41 = and i64 %2, 1152921504606846976
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %46, label %43, !prof !7

43:                                               ; preds = %40
  %44 = and i64 %6, 1152921504606846975
  %45 = add nuw nsw i64 %44, 32
  br label %50

46:                                               ; preds = %40
  %47 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %2, %swift.bridge* %3)
  %48 = extractvalue { i64, i64 } %47, 0
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %54, label %50

50:                                               ; preds = %46, %43
  %.in = phi i64 [ %45, %43 ], [ %48, %46 ]
  %51 = inttoptr i64 %.in to %Ts5UInt8V*
  %52 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %51, i64 %28, i32 0
  %53 = ptrtoint i8* %52 to i64
  br label %54

54:                                               ; preds = %46, %50
  %55 = phi i64 [ %53, %50 ], [ 0, %46 ]
  %56 = sub nsw i64 %29, %28
  %57 = tail call swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64 %55, i64 %56)
  br label %58

58:                                               ; preds = %54, %32, %._crit_edge
  %.pn = phi { i64, %swift.bridge* } [ %25, %._crit_edge ], [ %39, %32 ], [ %57, %54 ]
  ret { i64, %swift.bridge* } %.pn

59:                                               ; preds = %12
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

define linkonce_odr hidden swiftcc i64 @"$sSlsE5countSivgSs8UTF8ViewV_Tgq5"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #0 {
entry:
  %4 = ptrtoint %swift.bridge* %3 to i64
  %5 = and i64 %4, 1152921504606846976
  %6 = icmp eq i64 %5, 0
  %7 = and i64 %2, 576460752303423488
  %8 = icmp ne i64 %7, 0
  %9 = select i1 %6, i1 true, i1 %8
  %10 = and i64 %0, 12
  %11 = zext i1 %9 to i64
  %12 = shl nuw nsw i64 4, %11
  %13 = icmp eq i64 %10, %12
  br i1 %13, label %14, label %16, !prof !7

14:                                               ; preds = %entry
  %15 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %0, i64 %2, %swift.bridge* %3)
  br label %16

16:                                               ; preds = %entry, %14
  %17 = phi i64 [ %15, %14 ], [ %0, %entry ]
  %18 = and i64 %1, 12
  %19 = icmp eq i64 %18, %12
  br i1 %19, label %20, label %22, !prof !7

20:                                               ; preds = %16
  %21 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %1, i64 %2, %swift.bridge* %3)
  br label %22

22:                                               ; preds = %16, %20
  %23 = phi i64 [ %21, %20 ], [ %1, %16 ]
  br i1 %6, label %38, label %24, !prof !8

24:                                               ; preds = %22
  %25 = and i64 %4, 2305843009213693952
  %26 = icmp eq i64 %25, 0
  %27 = lshr i64 %4, 56
  %28 = and i64 %27, 15
  %29 = and i64 %2, 281474976710655
  %30 = select i1 %26, i64 %29, i64 %28
  %31 = lshr i64 %17, 16
  %32 = icmp ult i64 %30, %31
  br i1 %32, label %44, label %33, !prof !7

33:                                               ; preds = %24
  %34 = lshr i64 %23, 16
  %35 = icmp ult i64 %30, %34
  br i1 %35, label %45, label %36, !prof !7

36:                                               ; preds = %33
  %37 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 %17, i64 %23, i64 %2, %swift.bridge* %3)
  br label %42

38:                                               ; preds = %22
  %39 = lshr i64 %23, 16
  %40 = lshr i64 %17, 16
  %41 = sub nsw i64 %39, %40
  br label %42

42:                                               ; preds = %38, %36
  %43 = phi i64 [ %37, %36 ], [ %41, %38 ]
  ret i64 %43

44:                                               ; preds = %24
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

45:                                               ; preds = %33
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable
}

define linkonce_odr hidden swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSs8UTF8ViewV_Tgq5"(%Ts16IndexingIteratorVySs8UTF8ViewVG* noalias nocapture %0, i64 %1, i64 %2, i64 %3, i64 %4, i64 %5, %swift.bridge* %6) local_unnamed_addr #0 {
entry:
  %7 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %8 = icmp eq i64 %1, 0
  br i1 %8, label %.loopexit, label %9

9:                                                ; preds = %entry
  %10 = icmp eq i64 %2, 0
  br i1 %10, label %.loopexit, label %11

11:                                               ; preds = %9
  %12 = icmp slt i64 %2, 0
  %13 = lshr i64 %4, 14
  br i1 %12, label %92, label %14, !prof !7

14:                                               ; preds = %11
  %15 = lshr i64 %3, 14
  %16 = icmp eq i64 %15, %13
  br i1 %16, label %.loopexit, label %17

17:                                               ; preds = %14
  %18 = ptrtoint %swift.bridge* %6 to i64
  %19 = and i64 %18, 1152921504606846976
  %20 = icmp eq i64 %19, 0
  %21 = inttoptr i64 %1 to %Ts5UInt8V*
  %22 = and i64 %5, 576460752303423488
  %23 = icmp ne i64 %22, 0
  %24 = select i1 %20, i1 true, i1 %23
  %25 = zext i1 %24 to i64
  %26 = shl nuw nsw i64 4, %25
  %27 = and i64 %18, 2305843009213693952
  %28 = icmp eq i64 %27, 0
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %7 to i8*
  %30 = and i64 %18, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %7, i64 0, i32 0, i32 0
  %.elt6._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %7, i64 0, i32 1, i32 0
  %31 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %7 to %Ts5UInt8V*
  %32 = and i64 %5, 1152921504606846976
  %33 = icmp eq i64 %32, 0
  %34 = and i64 %18, 1152921504606846975
  %35 = add nuw nsw i64 %34, 32
  %36 = lshr i64 %18, 56
  %37 = and i64 %36, 15
  %38 = and i64 %5, 281474976710655
  %39 = select i1 %28, i64 %38, i64 %37
  br label %40

40:                                               ; preds = %87, %17
  %41 = phi %Ts5UInt8V* [ %21, %17 ], [ %91, %87 ]
  %42 = phi i64 [ %3, %17 ], [ %85, %87 ]
  %43 = phi i64 [ 1, %17 ], [ %88, %87 ]
  %44 = and i64 %42, 12
  %45 = icmp eq i64 %44, %26
  br i1 %45, label %46, label %48, !prof !7

46:                                               ; preds = %40
  %47 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %42, i64 %5, %swift.bridge* %6)
  br label %48

48:                                               ; preds = %40, %46
  %49 = phi i64 [ %47, %46 ], [ %42, %40 ]
  %50 = lshr i64 %49, 14
  %51 = icmp ult i64 %50, %15
  %52 = icmp uge i64 %50, %13
  %53 = or i1 %51, %52
  br i1 %53, label %93, label %54, !prof !7

54:                                               ; preds = %48
  br i1 %20, label %57, label %55

55:                                               ; preds = %54
  %56 = tail call swiftcc i8 @"$sSS8UTF8ViewV17_foreignSubscript8positions5UInt8VSS5IndexV_tF"(i64 %49, i64 %5, %swift.bridge* %6)
  br label %70

57:                                               ; preds = %54
  br i1 %28, label %61, label %58

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  store i64 %5, i64* %.elt._value, align 8
  store i64 %30, i64* %.elt6._value, align 8
  %59 = lshr i64 %49, 16
  %._value7 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %59, i32 0
  %60 = load i8, i8* %._value7, align 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %70

61:                                               ; preds = %57
  br i1 %33, label %62, label %65, !prof !7

62:                                               ; preds = %61
  %63 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %5, %swift.bridge* %6)
  %64 = extractvalue { i64, i64 } %63, 0
  br label %65

65:                                               ; preds = %61, %62
  %66 = phi i64 [ %64, %62 ], [ %35, %61 ]
  %67 = lshr i64 %49, 16
  %68 = inttoptr i64 %66 to %Ts5UInt8V*
  %._value8 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %68, i64 %67, i32 0
  %69 = load i8, i8* %._value8, align 1
  br label %70

70:                                               ; preds = %65, %58, %55
  %71 = phi i8 [ %56, %55 ], [ %60, %58 ], [ %69, %65 ]
  br i1 %45, label %72, label %74, !prof !7

72:                                               ; preds = %70
  %73 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %42, i64 %5, %swift.bridge* %6)
  br label %74

74:                                               ; preds = %70, %72
  %75 = phi i64 [ %73, %72 ], [ %42, %70 ]
  br i1 %20, label %80, label %76

76:                                               ; preds = %74
  %77 = lshr i64 %75, 16
  %.not = icmp ult i64 %77, %39
  br i1 %.not, label %78, label %94, !prof !8

78:                                               ; preds = %76
  %79 = tail call swiftcc i64 @"$sSS8UTF8ViewV13_foreignIndex5afterSS0D0VAF_tF"(i64 %75, i64 %5, %swift.bridge* %6)
  br label %84

80:                                               ; preds = %74
  %81 = and i64 %75, -65536
  %82 = add i64 %81, 65540
  br label %84

.loopexit:                                        ; preds = %87, %84, %14, %9, %entry
  %.sink = phi i64 [ %3, %entry ], [ %3, %9 ], [ %3, %14 ], [ %85, %84 ], [ %85, %87 ]
  %83 = phi i64 [ 0, %entry ], [ %2, %9 ], [ 0, %14 ], [ %43, %87 ], [ %2, %84 ]
  %._elements4._slice._startIndex._rawBits._value = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %3, i64* %._elements4._slice._startIndex._rawBits._value, align 8
  %._elements4._slice._endIndex._rawBits._value = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %0, i64 0, i32 0, i32 0, i32 1, i32 0, i32 0
  store i64 %4, i64* %._elements4._slice._endIndex._rawBits._value, align 8
  %._elements4._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %0, i64 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0
  store i64 %5, i64* %._elements4._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._elements4._slice._base._guts._object._object = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %0, i64 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 1
  store %swift.bridge* %6, %swift.bridge** %._elements4._slice._base._guts._object._object, align 8
  %._position5._rawBits._value = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %0, i64 0, i32 1, i32 0, i32 0
  store i64 %.sink, i64* %._position5._rawBits._value, align 8
  ret i64 %83

84:                                               ; preds = %80, %78
  %85 = phi i64 [ %79, %78 ], [ %82, %80 ]
  %._value1 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %41, i64 0, i32 0
  store i8 %71, i8* %._value1, align 1
  %86 = icmp eq i64 %43, %2
  br i1 %86, label %.loopexit, label %87

87:                                               ; preds = %84
  %88 = add nuw nsw i64 %43, 1
  %89 = lshr i64 %85, 14
  %90 = icmp eq i64 %89, %13
  %91 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %41, i64 1
  br i1 %90, label %.loopexit, label %40

92:                                               ; preds = %11
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

93:                                               ; preds = %48
  tail call void asm sideeffect "", "n"(i32 2) #2
  tail call void @llvm.trap()
  unreachable

94:                                               ; preds = %76
  tail call void asm sideeffect "", "n"(i32 3) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %0, i64 %1, %swift.bridge* %2) local_unnamed_addr #6 {
entry:
  %3 = ptrtoint %swift.bridge* %2 to i64
  %4 = and i64 %3, 1152921504606846976
  %5 = icmp ne i64 %4, 0
  %6 = and i64 %1, 576460752303423488
  %7 = icmp eq i64 %6, 0
  %or.cond = select i1 %5, i1 %7, i1 false
  %8 = lshr i64 %0, 16
  %9 = lshr i64 %0, 14
  %10 = and i64 %9, 3
  %11 = icmp eq i64 %10, 0
  br i1 %or.cond, label %12, label %25

12:                                               ; preds = %entry
  %13 = tail call swiftcc i64 @"$sSS8UTF8ViewV13_foreignIndex_8offsetBySS0D0VAF_SitF"(i64 15, i64 %8, i64 %1, %swift.bridge* %2)
  br i1 %11, label %18, label %14

14:                                               ; preds = %12
  %15 = shl nuw nsw i64 %10, 16
  %16 = add i64 %13, %15
  %17 = and i64 %16, -65536
  br label %22

18:                                               ; preds = %12
  %19 = and i64 %13, -4
  %20 = and i64 %0, 3
  %21 = or i64 %19, %20
  br label %22

22:                                               ; preds = %18, %14
  %23 = phi i64 [ %17, %14 ], [ %21, %18 ]
  %24 = or i64 %23, 8
  br label %38

25:                                               ; preds = %entry
  %26 = tail call swiftcc i64 @"$sSS9UTF16ViewV5index_8offsetBySS5IndexVAF_SitF"(i64 15, i64 %8, i64 %1, %swift.bridge* %2)
  br i1 %11, label %31, label %27

27:                                               ; preds = %25
  %28 = shl nuw nsw i64 %10, 16
  %29 = add i64 %26, %28
  %30 = and i64 %29, -65536
  br label %35

31:                                               ; preds = %25
  %32 = and i64 %26, -4
  %33 = and i64 %0, 3
  %34 = or i64 %32, %33
  br label %35

35:                                               ; preds = %31, %27
  %36 = phi i64 [ %30, %27 ], [ %34, %31 ]
  %37 = or i64 %36, 4
  br label %38

38:                                               ; preds = %22, %35
  %39 = phi i64 [ %37, %35 ], [ %24, %22 ]
  ret i64 %39
}

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 %0, i1 %1, i8* %2, %swift.opaque* %3, i64 %4, %swift.bridge* %5, %swift.refcounted* swiftself %6, %swift.error** noalias nocapture swifterror dereferenceable(8) %7) local_unnamed_addr #0 {
entry:
  %8 = alloca %TSJ, align 8
  %9 = icmp slt i64 %0, 0
  br i1 %9, label %149, label %10, !prof !7

10:                                               ; preds = %entry
  %11 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i64 0, i32 2), i64 24, i64 7) #2
  %12 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 1
  %._buffer._storage = bitcast %swift.refcounted* %12 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %13 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata.3, i64 0, i32 2), i64 24, i64 7) #2
  %14 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %13, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %14 to i64*
  store i64 15, i64* %._rawBits._value, align 8
  %15 = icmp eq i64 %0, 0
  %.pre = ptrtoint %swift.bridge* %5 to i64
  %.pre47 = and i64 %.pre, 2305843009213693952
  br i1 %15, label %._crit_edge, label %16

._crit_edge:                                      ; preds = %10
  %.pre49 = lshr i64 %.pre, 56
  %.pre51 = and i64 %.pre49, 15
  br label %23

16:                                               ; preds = %10
  %17 = icmp eq i64 %.pre47, 0
  %18 = lshr i64 %.pre, 56
  %19 = and i64 %18, 15
  %20 = and i64 %4, 281474976710655
  %21 = select i1 %17, i64 %20, i64 %19
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %36

23:                                               ; preds = %._crit_edge, %16
  %.pre-phi52 = phi i64 [ %.pre51, %._crit_edge ], [ %19, %16 ]
  %24 = icmp eq i64 %.pre47, 0
  %25 = select i1 %24, i64 %4, i64 %.pre-phi52
  %26 = shl i64 %25, 16
  %27 = and i64 %.pre, 1152921504606846976
  %28 = icmp ne i64 %27, 0
  %29 = and i64 %4, 576460752303423488
  %30 = icmp eq i64 %29, 0
  %or.cond = select i1 %28, i1 %30, i1 false
  %.v29 = select i1 %or.cond, i64 11, i64 7
  %31 = or i64 %26, %.v29
  %32 = tail call swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %31, %swift.refcounted* nonnull %13, i1 %1, %swift.refcounted* nonnull %11, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #2
  %33 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %34 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 0
  %35 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %34) #18
  tail call void @swift_release(%swift.refcounted* nonnull %11) #2
  tail call void @swift_release(%swift.refcounted* nonnull %13) #2
  br label %common.ret

common.ret:                                       ; preds = %55, %23, %100
  %common.ret.op = phi %Ts28__ContiguousArrayStorageBaseC* [ undef, %100 ], [ %56, %55 ], [ %33, %23 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %common.ret.op

36:                                               ; preds = %16
  %37 = shl nuw i64 %21, 16
  %38 = and i64 %.pre, 1152921504606846976
  %39 = icmp ne i64 %38, 0
  %40 = and i64 %4, 576460752303423488
  %41 = icmp eq i64 %40, 0
  %or.cond17 = select i1 %39, i1 %41, i1 false
  %.v = select i1 %or.cond17, i64 11, i64 7
  %42 = or i64 %37, %.v
  %43 = shl nuw nsw i64 %21, 2
  %44 = bitcast %TSJ* %8 to i8*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %8, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %8, i64 0, i32 0, i32 0, i32 0, i32 1
  %45 = bitcast i8* %2 to i1 (%TSJ*, %swift.refcounted*, %swift.error**)*
  %46 = bitcast %swift.opaque* %3 to %swift.refcounted*
  %.not18 = xor i1 %1, true
  br label %88

47:                                               ; preds = %141, %133
  %48 = phi i64 [ %138, %133 ], [ %143, %141 ]
  %49 = phi i64 [ %138, %133 ], [ %144, %141 ]
  %50 = phi %Ts28__ContiguousArrayStorageBaseC* [ %134, %133 ], [ %145, %141 ]
  %51 = phi %Ts28__ContiguousArrayStorageBaseC* [ %134, %133 ], [ %146, %141 ]
  %52 = lshr i64 %48, 14
  %53 = icmp ne i64 %52, %43
  %brmerge32 = select i1 %53, i1 true, i1 %.not18
  br i1 %brmerge32, label %59, label %54

54:                                               ; preds = %47
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #2
  br label %55

55:                                               ; preds = %54, %83
  %56 = phi %Ts28__ContiguousArrayStorageBaseC* [ %84, %83 ], [ %51, %54 ]
  %57 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 0, i32 0
  %58 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %57) #18
  tail call void @swift_release(%swift.refcounted* %11) #2
  tail call void @swift_release(%swift.refcounted* %13) #2
  br label %common.ret

59:                                               ; preds = %47
  %60 = lshr i64 %49, 14
  %61 = icmp ult i64 %43, %60
  br i1 %61, label %150, label %62, !prof !7

62:                                               ; preds = %59
  %63 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %49, i64 %42, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #2
  %64 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 0
  %65 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 1
  %66 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 2
  %67 = extractvalue { i64, i64, i64, %swift.bridge* } %63, 3
  %68 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %50, i64 0, i32 0
  %69 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %68) #18
  br i1 %69, label %74, label %70

70:                                               ; preds = %62
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %50, i64 0, i32 1, i32 0, i32 0, i32 0
  %71 = load i64, i64* %._storage.count._value, align 8, !range !6
  %72 = add nuw nsw i64 %71, 1
  %73 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %72, i1 true, %Ts28__ContiguousArrayStorageBaseC* %50)
  br label %74

74:                                               ; preds = %62, %70
  %75 = phi %Ts28__ContiguousArrayStorageBaseC* [ %73, %70 ], [ %50, %62 ]
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %75, i64 0, i32 1, i32 0, i32 0, i32 0
  %76 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %._storage1._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %75, i64 0, i32 1, i32 0, i32 1, i32 0
  %77 = load i64, i64* %._storage1._capacityAndFlags._value, align 8
  %78 = lshr i64 %77, 1
  %79 = add nuw nsw i64 %76, 1
  %.not28 = icmp ugt i64 %78, %76
  br i1 %.not28, label %83, label %80, !prof !8

80:                                               ; preds = %74
  %81 = icmp ugt i64 %77, 1
  %82 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %81, i64 %79, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %75)
  br label %83

83:                                               ; preds = %74, %80
  %84 = phi %Ts28__ContiguousArrayStorageBaseC* [ %82, %80 ], [ %75, %74 ]
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %79, i64* %._storage2.count._value, align 8
  %85 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 1
  %86 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 %76
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %86 to i64*
  store i64 %64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 0, i32 1
  store i64 %65, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  store i64 %66, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %87 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %67, %swift.bridge** %87, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %84, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %55

88:                                               ; preds = %36, %141
  %89 = phi i64 [ 15, %36 ], [ %142, %141 ]
  %90 = phi i64 [ 15, %36 ], [ %143, %141 ]
  %91 = phi i64 [ 15, %36 ], [ %144, %141 ]
  %92 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %145, %141 ]
  %93 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %146, %141 ]
  %94 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %89, i64 %4, %swift.bridge* %5)
  %95 = extractvalue { i64, %swift.bridge* } %94, 0
  %96 = extractvalue { i64, %swift.bridge* } %94, 1
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %44)
  store i64 %95, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %96, %swift.bridge** %._str._guts._object._object, align 8
  %97 = call swiftcc i1 %45(%TSJ* noalias nocapture nonnull dereferenceable(16) %8, %swift.refcounted* swiftself %46, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %7)
  %98 = load %swift.error*, %swift.error** %7, align 8
  %.not27 = icmp eq %swift.error* %98, null
  br i1 %.not27, label %99, label %100

99:                                               ; preds = %88
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %96) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %44)
  br i1 %97, label %102, label %131

100:                                              ; preds = %88
  tail call void @swift_release(%swift.refcounted* %11) #2
  tail call void @swift_release(%swift.refcounted* %13) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #2
  %101 = extractvalue { i64, %swift.bridge* } %94, 1
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %101) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %44)
  br label %common.ret

102:                                              ; preds = %99
  %103 = lshr i64 %90, 14
  %104 = lshr i64 %89, 14
  %105 = icmp ne i64 %103, %104
  %brmerge = select i1 %105, i1 true, i1 %.not18
  br i1 %brmerge, label %108, label %106

106:                                              ; preds = %102
  %107 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  store i64 %107, i64* %._rawBits._value, align 8
  br label %141

108:                                              ; preds = %102
  %109 = icmp ult i64 %104, %103
  br i1 %109, label %151, label %110, !prof !7

110:                                              ; preds = %108
  %111 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %90, i64 %89, i64 %4, %swift.bridge* %5)
  %112 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 0
  %113 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 1
  %114 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 2
  %115 = extractvalue { i64, i64, i64, %swift.bridge* } %111, 3
  %116 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 0
  %117 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %116) #18
  br i1 %117, label %122, label %118

118:                                              ; preds = %110
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 1, i32 0, i32 0, i32 0
  %119 = load i64, i64* %._storage4.count._value, align 8, !range !6
  %120 = add nuw nsw i64 %119, 1
  %121 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %120, i1 true, %Ts28__ContiguousArrayStorageBaseC* %92)
  br label %122

122:                                              ; preds = %110, %118
  %123 = phi %Ts28__ContiguousArrayStorageBaseC* [ %121, %118 ], [ %92, %110 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 0, i32 0
  %124 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 1, i32 0
  %125 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %126 = lshr i64 %125, 1
  %127 = add nuw nsw i64 %124, 1
  %.not = icmp ugt i64 %126, %124
  br i1 %.not, label %133, label %128, !prof !8

128:                                              ; preds = %122
  %129 = icmp ugt i64 %125, 1
  %130 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %129, i64 %127, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %123)
  br label %133

131:                                              ; preds = %99
  %132 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  br label %141

133:                                              ; preds = %122, %128
  %134 = phi %Ts28__ContiguousArrayStorageBaseC* [ %130, %128 ], [ %123, %122 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %127, i64* %._storage6.count._value, align 8
  %135 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 1
  %136 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %135, i64 %124
  %._slice8._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %136 to i64*
  store i64 %112, i64* %._slice8._startIndex._rawBits._value, align 8
  %._slice8._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 0, i32 1
  store i64 %113, i64* %._slice8._endIndex, align 8
  %._slice8._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 1
  %._slice8._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice8._base, i64 0, i32 0, i32 0, i32 0
  store i64 %114, i64* %._slice8._base._guts._object._countAndFlagsBits._value, align 8
  %._slice8._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice8._base, i64 0, i32 0, i32 1
  %137 = bitcast %TSu* %._slice8._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %115, %swift.bridge** %137, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %134, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %138 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %89, i64 %4, %swift.bridge* %5)
  store i64 %138, i64* %._rawBits._value, align 8
  %139 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %140 = icmp eq i64 %139, %0
  br i1 %140, label %47, label %141

141:                                              ; preds = %106, %133, %131
  %142 = phi i64 [ %132, %131 ], [ %107, %106 ], [ %138, %133 ]
  %143 = phi i64 [ %90, %131 ], [ %107, %106 ], [ %138, %133 ]
  %144 = phi i64 [ %91, %131 ], [ %107, %106 ], [ %138, %133 ]
  %145 = phi %Ts28__ContiguousArrayStorageBaseC* [ %92, %131 ], [ %92, %106 ], [ %134, %133 ]
  %146 = phi %Ts28__ContiguousArrayStorageBaseC* [ %93, %131 ], [ %93, %106 ], [ %134, %133 ]
  %147 = lshr i64 %142, 14
  %148 = icmp eq i64 %147, %43
  br i1 %148, label %47, label %88

149:                                              ; preds = %entry
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable

150:                                              ; preds = %59
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable

151:                                              ; preds = %108
  tail call void asm sideeffect "", "n"(i32 2) #2
  tail call void @llvm.trap()
  unreachable
}

define linkonce_odr hidden swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %0, %swift.refcounted* %1, i1 %2, %swift.refcounted* %3, i64 %4, %swift.bridge* %5) local_unnamed_addr #0 {
entry:
  %6 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %6 to i64*
  %7 = load i64, i64* %._rawBits._value, align 8
  %8 = lshr i64 %7, 14
  %9 = lshr i64 %0, 14
  %10 = icmp ne i64 %8, %9
  %.not7 = xor i1 %2, true
  %brmerge = select i1 %10, i1 true, i1 %.not7
  br i1 %brmerge, label %12, label %11

11:                                               ; preds = %entry, %37
  ret i1 %brmerge

12:                                               ; preds = %entry
  %13 = icmp ult i64 %9, %8
  br i1 %13, label %42, label %14, !prof !7

14:                                               ; preds = %12
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %3, i64 1
  %16 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %7, i64 %0, i64 %4, %swift.bridge* %5)
  %17 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 0
  %18 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 1
  %19 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 2
  %20 = extractvalue { i64, i64, i64, %swift.bridge* } %16, 3
  %._buffer._storage = bitcast %swift.refcounted* %15 to %Ts28__ContiguousArrayStorageBaseC**
  %21 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %22 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  %23 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %22) #18
  store %Ts28__ContiguousArrayStorageBaseC* %21, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %23, label %28, label %24

24:                                               ; preds = %14
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 1, i32 0, i32 0, i32 0
  %25 = load i64, i64* %._storage.count._value, align 8, !range !6
  %26 = add nuw nsw i64 %25, 1
  %27 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %26, i1 true, %Ts28__ContiguousArrayStorageBaseC* %21)
  store %Ts28__ContiguousArrayStorageBaseC* %27, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %28

28:                                               ; preds = %14, %24
  %29 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %24 ], [ %21, %14 ]
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1, i32 0, i32 0, i32 0
  %30 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %._storage3._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1, i32 0, i32 1, i32 0
  %31 = load i64, i64* %._storage3._capacityAndFlags._value, align 8
  %32 = lshr i64 %31, 1
  %33 = add nuw nsw i64 %30, 1
  %.not = icmp ugt i64 %32, %30
  br i1 %.not, label %37, label %34, !prof !8

34:                                               ; preds = %28
  %35 = icmp ugt i64 %31, 1
  %36 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %35, i64 %33, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %29)
  store %Ts28__ContiguousArrayStorageBaseC* %36, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %37

37:                                               ; preds = %28, %34
  %38 = phi %Ts28__ContiguousArrayStorageBaseC* [ %36, %34 ], [ %29, %28 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %33, i64* %._storage4.count._value, align 8
  %39 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1
  %40 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 %30
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %40 to i64*
  store i64 %17, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 0, i32 1
  store i64 %18, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  store i64 %19, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %41 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %20, %swift.bridge** %41, align 8
  br label %11

42:                                               ; preds = %12
  tail call void asm sideeffect "", "n"(i32 0) #2
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #6 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !6
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: mustprogress nofree noinline nounwind readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* %0) local_unnamed_addr #7 {
entry:
  %1 = bitcast { i32, i32 }* %0 to i64*
  %2 = load atomic i64, i64* %1 monotonic, align 8
  %3 = icmp slt i64 %2, 0
  br i1 %3, label %7, label %4, !prof !7

4:                                                ; preds = %7, %entry
  %5 = phi i64 [ %2, %entry ], [ %15, %7 ]
  %6 = inttoptr i64 %5 to %swift.type*
  ret %swift.type* %6

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #22
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

; Function Attrs: argmemonly nounwind
declare swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8*, i64, %swift.type_descriptor*, i8**) local_unnamed_addr #8

; Function Attrs: nounwind
declare %swift.refcounted* @swift_allocObject(%swift.type*, i64, i64) local_unnamed_addr #2

declare swiftcc { i64, %swift.bridge* } @"$ss23CustomStringConvertibleP11descriptionSSvgTj"(%swift.opaque* noalias nocapture swiftself, %swift.type*, i8**) local_unnamed_addr #0

; Function Attrs: argmemonly mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #5

declare swiftcc { i64, %swift.bridge* } @"$sSKsSS7ElementRtzrlE6joined9separatorS2S_tF"(i64, %swift.bridge*, %swift.type*, i8**, %swift.opaque* noalias nocapture swiftself) local_unnamed_addr #0

; Function Attrs: mustprogress nofree noinline nounwind readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledNameAbstract({ i32, i32 }* %0) local_unnamed_addr #7 {
entry:
  %1 = bitcast { i32, i32 }* %0 to i64*
  %2 = load atomic i64, i64* %1 monotonic, align 8
  %3 = icmp slt i64 %2, 0
  br i1 %3, label %7, label %4, !prof !7

4:                                                ; preds = %7, %entry
  %5 = phi i64 [ %2, %entry ], [ %15, %7 ]
  %6 = inttoptr i64 %5 to %swift.type*
  ret %swift.type* %6

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContextInMetadataState2(i64 255, i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #22
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

; Function Attrs: argmemonly nounwind
declare swiftcc %swift.type* @swift_getTypeByMangledNameInContextInMetadataState2(i64, i8*, i64, %swift.type_descriptor*, i8**) local_unnamed_addr #8

; Function Attrs: nofree nounwind readonly
declare i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor*, %swift.type*, i8***) local_unnamed_addr #9

declare swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC*, i64, %swift.bridge*, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: noinline
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64, %swift.type*) local_unnamed_addr #6

declare swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare i8* @llvm.stacksave() #10

define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0 {
  %4 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TATm"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0
  ret i1 %4
}

; Function Attrs: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @swift_bridgeObjectRelease(%swift.bridge*) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(i8*) #10

define internal swiftcc void @"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_TA"(%swift.opaque* noalias nocapture sret(%swift.opaque) %0, %TSS* noalias nocapture readonly dereferenceable(16) %1, %swift.refcounted* nocapture readonly swiftself %2, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %3) #0 {
entry:
  %4 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1, i32 0
  %T = load %swift.type*, %swift.type** %4, align 8
  %5 = getelementptr inbounds %swift.type*, %swift.type** %4, i64 1
  %6 = bitcast %swift.type** %5 to i8***
  %T.InitFromString = load i8**, i8*** %6, align 8
  %7 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 2, i32 0
  %8 = load %swift.type*, %swift.type** %7, align 8
  tail call void @llvm.experimental.noalias.scope.decl(metadata !17)
  %._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSS, %TSS* %1, i64 0, i32 0, i32 0, i32 0, i32 0
  %9 = load i64, i64* %._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !17, !noalias !20
  %._guts._object._object.i = getelementptr inbounds %TSS, %TSS* %1, i64 0, i32 0, i32 0, i32 1
  %10 = load %swift.bridge*, %swift.bridge** %._guts._object._object.i, align 8, !alias.scope !17, !noalias !20
  %11 = getelementptr inbounds i8*, i8** %T.InitFromString, i64 1
  %12 = bitcast i8** %11 to void (%swift.opaque*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)**
  %13 = load void (%swift.opaque*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)*, void (%swift.opaque*, i64, %swift.bridge*, %swift.type*, %swift.type*, i8**)** %12, align 8, !invariant.load !22, !noalias !23
  %14 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %10) #2, !noalias !23
  tail call swiftcc void %13(%swift.opaque* noalias nocapture sret(%swift.opaque) %0, i64 %9, %swift.bridge* %10, %swift.type* swiftself %8, %swift.type* %T, i8** %T.InitFromString), !noalias !17
  ret void
}

; Function Attrs: nofree noinline nosync nounwind readnone
define internal i8** @"$sSaySSGSayxGSKsWlTm"(i8*** %0, %swift.protocol_conformance_descriptor* %1) local_unnamed_addr #11 {
entry:
  %2 = load i8**, i8*** %0, align 8
  %3 = icmp eq i8** %2, null
  br i1 %3, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %4 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledNameAbstract({ i32, i32 }* nonnull @"$sSaySSGMD") #19
  %5 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull %1, %swift.type* %4, i8*** undef) #19
  store atomic i8** %5, i8*** %0 release, align 8
  br label %cont

cont:                                             ; preds = %cacheIsNull, %entry
  %6 = phi i8** [ %2, %entry ], [ %5, %cacheIsNull ]
  ret i8** %6
}

declare swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture, %swift.type*, i8**, i8**) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i64, i1 } @llvm.smul.with.overflow.i64(i64, i64) #3

; Function Attrs: noinline
declare swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64, %swift.bridge*) local_unnamed_addr #6

declare swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCs5UInt8V_Tgq5Tf4nnd_n"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = tail call i64 @llvm.smax.i64(i64 %1, i64 %0)
  %3 = icmp eq i64 %2, 0
  br i1 %3, label %12, label %4

4:                                                ; preds = %entry
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCys5UInt8VGMD") #19
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #2
  %8 = bitcast %swift.refcounted* %7 to %Ts28__ContiguousArrayStorageBaseC*
  %9 = bitcast %swift.refcounted* %7 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %9) #21
  %gepdiff = shl i64 %call.i, 1
  %10 = add i64 %gepdiff, -64
  %11 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1
  %._storage1.count._value = bitcast %swift.refcounted* %11 to i64*
  store i64 %0, i64* %._storage1.count._value, align 8
  %._storage1._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1, i32 1
  store i64 %10, i64* %._storage1._capacityAndFlags, align 8
  br label %12

12:                                               ; preds = %entry, %4
  %13 = phi %Ts28__ContiguousArrayStorageBaseC* [ %8, %4 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  ret %Ts28__ContiguousArrayStorageBaseC* %13
}

declare swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64, i64) local_unnamed_addr #0

; Function Attrs: noinline
declare swiftcc i8 @"$sSS8UTF8ViewV17_foreignSubscript8positions5UInt8VSS5IndexV_tF"(i64, i64, %swift.bridge*) local_unnamed_addr #6

; Function Attrs: noinline
declare swiftcc i64 @"$sSS8UTF8ViewV13_foreignIndex5afterSS0D0VAF_tF"(i64, i64, %swift.bridge*) local_unnamed_addr #6

declare swiftcc i64 @"$sSS9UTF16ViewV5index_8offsetBySS5IndexVAF_SitF"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: noinline
declare swiftcc i64 @"$sSS8UTF8ViewV13_foreignIndex_8offsetBySS0D0VAF_SitF"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #6

; Function Attrs: noinline
declare swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i32, i1 } @llvm.smul.with.overflow.i32(i32, i32) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i32, i1 } @llvm.sadd.with.overflow.i32(i32, i32) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i32, i1 } @llvm.ssub.with.overflow.i32(i32, i32) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i16, i1 } @llvm.smul.with.overflow.i16(i16, i16) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i16, i1 } @llvm.sadd.with.overflow.i16(i16, i16) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i16, i1 } @llvm.ssub.with.overflow.i16(i16, i16) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i8, i1 } @llvm.smul.with.overflow.i8(i8, i8) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i8, i1 } @llvm.sadd.with.overflow.i8(i8, i8) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i8, i1 } @llvm.ssub.with.overflow.i8(i8, i8) #3

declare swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: nounwind
define private swiftcc void @objectdestroy(%swift.refcounted* swiftself %0) #12 {
entry:
  %1 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %0, i64 1
  %2 = bitcast %swift.refcounted* %1 to %swift.refcounted**
  %toDestroy = load %swift.refcounted*, %swift.refcounted** %2, align 8
  tail call void @swift_release(%swift.refcounted* %toDestroy) #2
  tail call void @swift_deallocObject(%swift.refcounted* %0, i64 24, i64 7) #2
  ret void
}

; Function Attrs: nounwind
declare void @swift_deallocObject(%swift.refcounted*, i64, i64) local_unnamed_addr #2

; Function Attrs: nounwind
define private swiftcc void @objectdestroy.2(%swift.refcounted* swiftself %0) #12 {
entry:
  tail call void @swift_deallocObject(%swift.refcounted* %0, i64 24, i64 7) #2
  ret void
}

declare swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64, i64, %swift.bridge*) local_unnamed_addr #0

declare swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn
declare void @swift_arrayInitWithCopy(%swift.opaque*, %swift.opaque*, i64, %swift.type*) local_unnamed_addr #4

; Function Attrs: argmemonly mustprogress nocallback nofree nounwind willreturn
declare void @llvm.memmove.p0i8.p0i8.i64(i8* nocapture writeonly, i8* nocapture readonly, i64, i1 immarg) #13

declare swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64, %swift.bridge*, i64, %swift.bridge*, i8) local_unnamed_addr #0

; Function Attrs: argmemonly mustprogress nocallback nofree nounwind willreturn
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #13

define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA.4"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0 {
  %4 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TATm"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0
  ret i1 %4
}

define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TATm"(%TSJ* noalias nocapture readonly dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %2) #0 {
entry:
  %3 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %4 = bitcast %swift.refcounted* %3 to %TSJ**
  %5 = load %TSJ*, %TSJ** %4, align 8
  tail call void @llvm.experimental.noalias.scope.decl(metadata !24)
  tail call void @llvm.experimental.noalias.scope.decl(metadata !27)
  %._str._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._str._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !24, !noalias !27
  %._str._guts._object._object.i = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 1
  %7 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object.i, align 8, !alias.scope !24, !noalias !27
  %._str1._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSJ, %TSJ* %5, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %8 = load i64, i64* %._str1._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !27, !noalias !24
  %._str1._guts._object._object.i = getelementptr inbounds %TSJ, %TSJ* %5, i64 0, i32 0, i32 0, i32 0, i32 1
  %9 = load %swift.bridge*, %swift.bridge** %._str1._guts._object._object.i, align 8, !alias.scope !27, !noalias !24
  %10 = icmp eq i64 %6, %8
  %11 = icmp eq %swift.bridge* %7, %9
  %or.cond.i = select i1 %10, i1 %11, i1 false
  br i1 %or.cond.i, label %"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit", label %12

12:                                               ; preds = %entry
  %13 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %6, %swift.bridge* %7, i64 %8, %swift.bridge* %9, i8 0) #20, !noalias !29
  br label %"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit"

"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5.exit": ; preds = %entry, %12
  %14 = phi i1 [ %13, %12 ], [ true, %entry ]
  ret i1 %14
}

; Function Attrs: optsize
declare i64 @malloc_usable_size(i8* noundef) local_unnamed_addr #14

; Function Attrs: inaccessiblememonly nocallback nofree nosync nounwind willreturn
declare void @llvm.assume(i1 noundef) #15

; Function Attrs: nocallback nofree nosync nounwind readnone speculatable willreturn
declare i64 @llvm.smax.i64(i64, i64) #16

; Function Attrs: inaccessiblememonly nocallback nofree nosync nounwind willreturn
declare void @llvm.experimental.noalias.scope.decl(metadata) #15

; Function Attrs: argmemonly nocallback nofree nounwind willreturn writeonly
declare void @llvm.memset.p0i8.i64(i8* nocapture writeonly, i8, i64, i1 immarg) #17

attributes #0 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind }
attributes #2 = { nounwind }
attributes #3 = { mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #4 = { mustprogress nounwind willreturn }
attributes #5 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #6 = { noinline "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree noinline nounwind readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { argmemonly nounwind }
attributes #9 = { nofree nounwind readonly }
attributes #10 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #11 = { nofree noinline nosync nounwind readnone "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { nounwind "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #14 = { optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #15 = { inaccessiblememonly nocallback nofree nosync nounwind willreturn }
attributes #16 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #17 = { argmemonly nocallback nofree nounwind willreturn writeonly }
attributes #18 = { nounwind willreturn }
attributes #19 = { nounwind readonly }
attributes #20 = { noinline }
attributes #21 = { nounwind optsize }
attributes #22 = { argmemonly nounwind readonly }

!swift.module.flags = !{!0}
!llvm.linker.options = !{}
!llvm.module.flags = !{!1, !2, !3, !4, !5}

!0 = !{!"standard-library", i1 false}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 4, !"Objective-C Garbage Collection", i32 84477696}
!5 = !{i32 1, !"Swift Version", i32 7}
!6 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 1, i32 2000}
!8 = !{!"branch_weights", i32 2000, i32 1}
!9 = !{!"branch_weights", i32 4000000, i32 2001, i32 2000}
!10 = !{!"branch_weights", i32 2000, i32 2002}
!11 = !{!12}
!12 = distinct !{!12, !13, !"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n: argument 0"}
!13 = distinct !{!13, !"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_Si_Tg5Tf4nd_n"}
!14 = !{!15}
!15 = distinct !{!15, !16, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_: argument 0"}
!16 = distinct !{!16, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_"}
!17 = !{!18}
!18 = distinct !{!18, !19, !"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_: argument 1"}
!19 = distinct !{!19, !"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_"}
!20 = !{!21}
!21 = distinct !{!21, !19, !"$s7llvm_O35inputSayxGyAA14InitFromStringRzlFxSgSScfu0_: argument 0"}
!22 = !{}
!23 = !{!21, !18}
!24 = !{!25}
!25 = distinct !{!25, !26, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 0"}
!26 = distinct !{!26, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"}
!27 = !{!28}
!28 = distinct !{!28, !26, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 1"}
!29 = !{!25, !28}
