func readInts() -> [Int64]{
    return readLine()!.split(separator: " ").map{Int64($0)!};
}
var N = Int(readLine()!)!, ans = Int64(0), A: Array<(Int64, Int)> = Array(repeating: (0,0), count: 2020), dp: Array<Array<Int64>> = Array(repeating: Array(repeating: 0, count: 2020), count: 2020)
let a = readInts()
for i in 0 ..< N {
    A[i].0 = a[i]
    A[i].1 = i
}
A.sort { $0 > $1 }
for j in 1 ... N {
    dp[0][j] = dp[0][j - 1] + A[j - 1].0 * Int64(N - j - A[j - 1].1)
}
for i in 1 ... N {
    dp[i][0] = dp[i - 1][0] + A[i - 1].0 * Int64(A[i - 1].1 - i + 1)
    for j in 1 ..< N - i + 1 {
        dp[i][j] = max(dp[i][j - 1] + A[i + j - 1].0 * Int64(N - j - A[i + j - 1].1), dp[i - 1][j] + A[i + j - 1].0 * Int64(A[i + j - 1].1 - i + 1 ))
    }
    ans = max(ans, dp[i][N - i])
}
print(ans)
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_406/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_406/llvm_OZ.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 }>
%Ts5Int64V = 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.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.error = type opaque
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%Ts5UInt8V = type <{ i8 }>
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque
%TSrys5Int64V_SitG = type <{ %TSpys5Int64V_SitGSg, %TSi }>
%TSpys5Int64V_SitGSg = type <{ [8 x i8] }>
%TSnySiG = type <{ %TSi, %TSi }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>

@"$s7llvm_OZ1NSivp" = hidden global %TSi zeroinitializer, align 8
@"$s7llvm_OZ3anss5Int64Vvp" = hidden global %Ts5Int64V zeroinitializer, align 8
@"$s7llvm_OZ1ASays5Int64V_SitGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ2dpSaySays5Int64VGGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1aSays5Int64VGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$ss5Int64VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5Int64VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5Int64VMn"
@"symbolic ______Sit s5Int64V" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int64VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic ______Sit s5Int64V", i32 0, i32 1) to i64)) to i32), [4 x i8] c"_Sit", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss5Int64V_SitMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic ______Sit s5Int64V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss5Int64V_SitMD" to i64)) to i32), i32 -9 }, align 8
@"$ss5Int64VN" = external global %swift.type, align 8
@"symbolic Say_____G s5Int64V" = linkonce_odr hidden constant <{ [3 x i8], i8, i32, [1 x i8], i8 }> <{ [3 x i8] c"Say", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int64VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ [3 x i8], i8, i32, [1 x i8], i8 }>, <{ [3 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic Say_____G s5Int64V", i32 0, i32 2) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSays5Int64VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [3 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic Say_____G s5Int64V" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSays5Int64VGMD" to i64)) to i32), i32 -9 }, 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
@"\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
@"$sSsN" = external global %swift.type, align 8
@"$sSss25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sS2sSTsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSsSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$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 _____y_____G s23_ContiguousArrayStorageC s5Int64V" = 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 s5Int64V", 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.$ss5Int64VMn" 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 s5Int64V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5Int64VGMD" = 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 s5Int64V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5Int64VGMD" 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
@"symbolic _____ySay_____GG s23_ContiguousArrayStorageC s5Int64V" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8, i32, [2 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, i32, [2 x i8], i8 }>, <{ i8, i32, [4 x i8], i8, i32, [2 x i8], i8 }>* @"symbolic _____ySay_____GG s23_ContiguousArrayStorageC s5Int64V", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySay", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5Int64VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8, i32, [2 x i8], i8 }>, <{ i8, i32, [4 x i8], i8, i32, [2 x i8], i8 }>* @"symbolic _____ySay_____GG s23_ContiguousArrayStorageC s5Int64V", i32 0, i32 4) to i64)) to i32), [2 x i8] c"GG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySays5Int64VGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8, i32, [2 x i8], i8 }>* @"symbolic _____ySay_____GG s23_ContiguousArrayStorageC s5Int64V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySays5Int64VGGMD" to i64)) to i32), i32 -16 }, align 8
@"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 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, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySnySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySnySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySnySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic _____y______SitG s23_ContiguousArrayStorageC s5Int64V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [5 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, [5 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [5 x i8], i8 }>* @"symbolic _____y______SitG s23_ContiguousArrayStorageC s5Int64V", 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.$ss5Int64VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [5 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [5 x i8], i8 }>* @"symbolic _____y______SitG s23_ContiguousArrayStorageC s5Int64V", i32 0, i32 4) to i64)) to i32), [5 x i8] c"_SitG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5Int64V_SitGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [5 x i8], i8 }>* @"symbolic _____y______SitG s23_ContiguousArrayStorageC s5Int64V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5Int64V_SitGMD" to i64)) to i32), i32 -16 }, align 8
@"$sSSN" = external global %swift.type, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@__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 [6 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 (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"

; Function Attrs: minsize optsize
define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch9 = alloca [24 x i8], align 8
  %access-scratch17 = alloca [24 x i8], align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %access-scratch18 = alloca [24 x i8], align 8
  %access-scratch36 = alloca [24 x i8], align 8
  %2 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %3 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %4 = extractvalue { i64, i64 } %3, 0
  %5 = extractvalue { i64, i64 } %3, 1
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %471, label %7

7:                                                ; preds = %entry
  %8 = inttoptr i64 %5 to %swift.bridge*
  %9 = and i64 %5, 2305843009213693952
  %10 = icmp eq i64 %9, 0
  %11 = lshr i64 %5, 56
  %12 = and i64 %11, 15
  %13 = and i64 %4, 281474976710655
  %14 = select i1 %10, i64 %13, i64 %12
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %17, !prof !6

16:                                               ; preds = %7
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  br label %472

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

20:                                               ; preds = %17
  br i1 %10, label %21, label %24

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

21:                                               ; preds = %20
  %22 = and i64 %4, 1152921504606846976
  %23 = icmp eq i64 %22, 0
  br i1 %23, label %33, label %37, !prof !6

24:                                               ; preds = %20
  %25 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %25)
  %26 = and i64 %5, 72057594037927935
  %.elt87._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 0, i32 0
  store i64 %4, i64* %.elt87._value, align 8
  %.elt88._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 1, i32 0
  store i64 %26, i64* %.elt88._value, align 8
  %27 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to %Ts5UInt8V*
  %28 = trunc i64 %4 to i8
  %29 = lshr i64 %4, 8
  %30 = trunc i64 %29 to i8
  %31 = lshr i64 %4, 16
  %32 = trunc i64 %31 to i8
  switch i8 %28, label %93 [
    i8 45, label %58
    i8 43, label %95
  ]

33:                                               ; preds = %21
  %34 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %4, %swift.bridge* nonnull %8)
  %35 = extractvalue { i64, i64 } %34, 0
  %36 = extractvalue { i64, i64 } %34, 1
  br label %.thread276

37:                                               ; preds = %21
  %38 = and i64 %5, 1152921504606846975
  %39 = add nuw nsw i64 %38, 32
  br label %.thread276

.thread276:                                       ; preds = %37, %33
  %40 = phi i64 [ %39, %37 ], [ %35, %33 ]
  %41 = phi i64 [ %13, %37 ], [ %36, %33 ]
  %42 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %40, i64 %41, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %43 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not206 = icmp eq %swift.error* %43, null
  tail call void @llvm.assume(i1 %.not206)
  %44 = extractvalue { i64, i8 } %42, 1
  %45 = and i8 %44, 1
  %46 = icmp ne i8 %45, 0
  %47 = extractvalue { i64, i8 } %42, 0
  %.sroa.6.0.sroa_cast267 = bitcast i8* %.sroa.6 to i1*
  store i1 %46, i1* %.sroa.6.0.sroa_cast267, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre278 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %51

.thread281:                                       ; preds = %58, %95, %93
  %.sroa.6.0.sroa_cast284 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast284, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %25)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre285 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %51

.loopexit231.thread:                              ; preds = %132, %138, %129, %135, %141, %96, %103, %100, %106, %59, %67, %63, %70
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %132 ], [ true, %138 ], [ false, %129 ], [ false, %135 ], [ false, %141 ], [ true, %96 ], [ true, %103 ], [ false, %100 ], [ false, %106 ], [ true, %59 ], [ true, %67 ], [ false, %63 ], [ false, %70 ]
  %.sroa.0.0.ph = phi i64 [ 0, %132 ], [ 0, %138 ], [ 0, %129 ], [ %136, %135 ], [ %144, %141 ], [ 0, %96 ], [ 0, %103 ], [ %101, %100 ], [ %109, %106 ], [ 0, %59 ], [ 0, %67 ], [ %65, %63 ], [ %73, %70 ]
  %.sroa.6.0.sroa_cast288 = 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_cast288, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %25)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre289 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %51

.loopexit231.loopexit.split.loop.exit:            ; preds = %160
  %48 = extractvalue { i64, i1 } %158, 0
  br label %.loopexit231

.loopexit231.loopexit292.split.loop.exit:         ; preds = %89
  %49 = extractvalue { i64, i1 } %87, 0
  br label %.loopexit231

.loopexit231.loopexit295.split.loop.exit:         ; preds = %125
  %50 = extractvalue { i64, i1 } %123, 0
  br label %.loopexit231

.loopexit231:                                     ; preds = %.preheader232, %117, %120, %.preheader229, %81, %84, %.preheader226, %152, %155, %.loopexit231.loopexit295.split.loop.exit, %.loopexit231.loopexit292.split.loop.exit, %.loopexit231.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit231.loopexit.split.loop.exit ], [ false, %.loopexit231.loopexit292.split.loop.exit ], [ false, %.loopexit231.loopexit295.split.loop.exit ], [ true, %155 ], [ true, %152 ], [ true, %.preheader226 ], [ true, %84 ], [ true, %81 ], [ true, %.preheader229 ], [ true, %120 ], [ true, %117 ], [ true, %.preheader232 ]
  %.sroa.0.0 = phi i64 [ %48, %.loopexit231.loopexit.split.loop.exit ], [ %49, %.loopexit231.loopexit292.split.loop.exit ], [ %50, %.loopexit231.loopexit295.split.loop.exit ], [ 0, %155 ], [ 0, %152 ], [ 0, %.preheader226 ], [ 0, %84 ], [ 0, %81 ], [ 0, %.preheader229 ], [ 0, %120 ], [ 0, %117 ], [ 0, %.preheader232 ]
  %.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 %25)
  %.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 %19, label %51, label %52

51:                                               ; preds = %.loopexit231.thread, %.thread281, %.thread276, %.loopexit231
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre280 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre278, %.thread276 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit231 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre285, %.thread281 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre289, %.loopexit231.thread ]
  %.sroa.0136.0279 = phi i64 [ %47, %.thread276 ], [ %.sroa.0.0, %.loopexit231 ], [ 0, %.thread281 ], [ %.sroa.0.0.ph, %.loopexit231.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  br label %56

52:                                               ; preds = %.thread, %.loopexit231
  %53 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %4, %swift.bridge* nonnull %8, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  %54 = extractvalue { i64, i8 } %53, 0
  %55 = extractvalue { i64, i8 } %53, 1
  br label %56

56:                                               ; preds = %51, %52
  %57 = phi i64 [ %54, %52 ], [ %.sroa.0136.0279, %51 ]
  %.in.in = phi i8 [ %55, %52 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre280, %51 ]
  %.in = and i8 %.in.in, 1
  %.not205 = icmp eq i8 %.in, 0
  br i1 %.not205, label %164, label %472

58:                                               ; preds = %24
  switch i64 %12, label %59 [
    i64 0, label %519
    i64 1, label %.thread281
  ], !prof !8

59:                                               ; preds = %58
  %60 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 %12, i32 0
  %61 = add i8 %30, -48
  %62 = icmp ult i8 %61, 10
  br i1 %62, label %63, label %.loopexit231.thread, !prof !9

63:                                               ; preds = %59
  %64 = zext i8 %61 to i64
  %65 = sub nsw i64 0, %64
  %66 = icmp eq i64 %12, 2
  br i1 %66, label %.loopexit231.thread, label %67

67:                                               ; preds = %63
  %68 = add i8 %32, -48
  %69 = icmp ult i8 %68, 10
  br i1 %69, label %70, label %.loopexit231.thread, !prof !9

70:                                               ; preds = %67
  %71 = mul nsw i64 %64, -10
  %72 = zext i8 %68 to i64
  %73 = sub nsw i64 %71, %72
  %74 = icmp eq i64 %12, 3
  br i1 %74, label %.loopexit231.thread, label %.preheader229.preheader

.preheader229.preheader:                          ; preds = %70
  %75 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 3, i32 0
  br label %.preheader229

.preheader229:                                    ; preds = %.preheader229.preheader, %89
  %76 = phi i8* [ %91, %89 ], [ %75, %.preheader229.preheader ]
  %77 = phi i64 [ %90, %89 ], [ %73, %.preheader229.preheader ]
  %78 = load i8, i8* %76, align 1
  %79 = add i8 %78, -48
  %80 = icmp ult i8 %79, 10
  br i1 %80, label %81, label %.loopexit231, !prof !9

81:                                               ; preds = %.preheader229
  %82 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %77, i64 10)
  %83 = extractvalue { i64, i1 } %82, 1
  br i1 %83, label %.loopexit231, label %84

84:                                               ; preds = %81
  %85 = extractvalue { i64, i1 } %82, 0
  %86 = zext i8 %79 to i64
  %87 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %85, i64 %86)
  %88 = extractvalue { i64, i1 } %87, 1
  br i1 %88, label %.loopexit231, label %89, !prof !6

89:                                               ; preds = %84
  %90 = extractvalue { i64, i1 } %87, 0
  %91 = getelementptr inbounds i8, i8* %76, i64 1
  %92 = icmp eq i8* %91, %60
  br i1 %92, label %.loopexit231.loopexit292.split.loop.exit, label %.preheader229

93:                                               ; preds = %24
  %94 = icmp eq i64 %12, 0
  br i1 %94, label %.thread281, label %129, !prof !6

95:                                               ; preds = %24
  switch i64 %12, label %96 [
    i64 0, label %518
    i64 1, label %.thread281
  ], !prof !8

96:                                               ; preds = %95
  %97 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 %12, i32 0
  %98 = add i8 %30, -48
  %99 = icmp ult i8 %98, 10
  br i1 %99, label %100, label %.loopexit231.thread, !prof !9

100:                                              ; preds = %96
  %101 = zext i8 %98 to i64
  %102 = icmp eq i64 %12, 2
  br i1 %102, label %.loopexit231.thread, label %103

103:                                              ; preds = %100
  %104 = add i8 %32, -48
  %105 = icmp ult i8 %104, 10
  br i1 %105, label %106, label %.loopexit231.thread, !prof !9

106:                                              ; preds = %103
  %107 = mul nuw nsw i64 %101, 10
  %108 = zext i8 %104 to i64
  %109 = add nuw nsw i64 %107, %108
  %110 = icmp eq i64 %12, 3
  br i1 %110, label %.loopexit231.thread, label %.preheader232.preheader

.preheader232.preheader:                          ; preds = %106
  %111 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 3, i32 0
  br label %.preheader232

.preheader232:                                    ; preds = %.preheader232.preheader, %125
  %112 = phi i8* [ %127, %125 ], [ %111, %.preheader232.preheader ]
  %113 = phi i64 [ %126, %125 ], [ %109, %.preheader232.preheader ]
  %114 = load i8, i8* %112, align 1
  %115 = add i8 %114, -48
  %116 = icmp ult i8 %115, 10
  br i1 %116, label %117, label %.loopexit231, !prof !9

117:                                              ; preds = %.preheader232
  %118 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %113, i64 10)
  %119 = extractvalue { i64, i1 } %118, 1
  br i1 %119, label %.loopexit231, label %120

120:                                              ; preds = %117
  %121 = extractvalue { i64, i1 } %118, 0
  %122 = zext i8 %115 to i64
  %123 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %121, i64 %122)
  %124 = extractvalue { i64, i1 } %123, 1
  br i1 %124, label %.loopexit231, label %125, !prof !6

125:                                              ; preds = %120
  %126 = extractvalue { i64, i1 } %123, 0
  %127 = getelementptr inbounds i8, i8* %112, i64 1
  %128 = icmp eq i8* %127, %97
  br i1 %128, label %.loopexit231.loopexit295.split.loop.exit, label %.preheader232

129:                                              ; preds = %93
  %130 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 %12, i32 0
  %131 = icmp eq i8* %130, %25
  br i1 %131, label %.loopexit231.thread, label %132

132:                                              ; preds = %129
  %133 = add i8 %28, -48
  %134 = icmp ult i8 %133, 10
  br i1 %134, label %135, label %.loopexit231.thread, !prof !9

135:                                              ; preds = %132
  %136 = zext i8 %133 to i64
  %137 = icmp eq i64 %12, 1
  br i1 %137, label %.loopexit231.thread, label %138

138:                                              ; preds = %135
  %139 = add i8 %30, -48
  %140 = icmp ult i8 %139, 10
  br i1 %140, label %141, label %.loopexit231.thread, !prof !9

141:                                              ; preds = %138
  %142 = mul nuw nsw i64 %136, 10
  %143 = zext i8 %139 to i64
  %144 = add nuw nsw i64 %142, %143
  %145 = icmp eq i64 %12, 2
  br i1 %145, label %.loopexit231.thread, label %.preheader226.preheader

.preheader226.preheader:                          ; preds = %141
  %146 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 2, i32 0
  br label %.preheader226

.preheader226:                                    ; preds = %.preheader226.preheader, %160
  %147 = phi i8* [ %162, %160 ], [ %146, %.preheader226.preheader ]
  %148 = phi i64 [ %161, %160 ], [ %144, %.preheader226.preheader ]
  %149 = load i8, i8* %147, align 1
  %150 = add i8 %149, -48
  %151 = icmp ult i8 %150, 10
  br i1 %151, label %152, label %.loopexit231, !prof !9

152:                                              ; preds = %.preheader226
  %153 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %148, i64 10)
  %154 = extractvalue { i64, i1 } %153, 1
  br i1 %154, label %.loopexit231, label %155

155:                                              ; preds = %152
  %156 = extractvalue { i64, i1 } %153, 0
  %157 = zext i8 %150 to i64
  %158 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %156, i64 %157)
  %159 = extractvalue { i64, i1 } %158, 1
  br i1 %159, label %.loopexit231, label %160, !prof !6

160:                                              ; preds = %155
  %161 = extractvalue { i64, i1 } %158, 0
  %162 = getelementptr inbounds i8, i8* %147, i64 1
  %163 = icmp eq i8* %162, %130
  br i1 %163, label %.loopexit231.loopexit.split.loop.exit, label %.preheader226

164:                                              ; preds = %56
  store i64 %57, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  store i64 0, i64* getelementptr inbounds (%Ts5Int64V, %Ts5Int64V* @"$s7llvm_OZ3anss5Int64Vvp", i64 0, i32 0), align 8
  %165 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss5Int64V_SitMD") #18
  %166 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2020, %swift.type* %165)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %166, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2020, i64* %._storage.count._value, align 8
  %167 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %166, i64 1
  %168 = bitcast %Ts28__ContiguousArrayStorageBaseC* %167 to i8*
  call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(32320) %168, i8 0, i64 32320, i1 false)
  store %Ts28__ContiguousArrayStorageBaseC* %166, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %169 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2020, %swift.type* nonnull @"$ss5Int64VN")
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %169, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2020, i64* %._storage2.count._value, align 8
  %170 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %169, i64 1
  %171 = bitcast %Ts28__ContiguousArrayStorageBaseC* %170 to i8*
  call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16160) %171, i8 0, i64 16160, i1 false)
  %172 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSays5Int64VGMD") #18
  %173 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2020, %swift.type* %172)
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2020, i64* %._storage5.count._value, align 8
  %174 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 1
  %tailaddr6._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %174 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %169, %Ts28__ContiguousArrayStorageBaseC** %tailaddr6._buffer._storage, align 8
  %175 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 1, i32 0, i32 1
  %176 = bitcast i64* %175 to i8*
  %._buffer._storage241 = bitcast i64* %175 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %169, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage241, align 8
  %177 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %169, i64 0, i32 0
  br label %186

178:                                              ; preds = %186
  store %Ts28__ContiguousArrayStorageBaseC* %173, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %179 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %177) #19
  %180 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ8readIntsSays5Int64VGyF"()
  store %Ts28__ContiguousArrayStorageBaseC* %180, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSays5Int64VGvp", i64 0, i32 0, i32 0), align 8
  %181 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %181)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_OZ1NSivp" to i8*), [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #4
  %182 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %183 = icmp slt i64 %182, 0
  br i1 %183, label %473, label %184, !prof !6

184:                                              ; preds = %178
  %185 = icmp eq i64 %182, 0
  br i1 %185, label %.loopexit225, label %193

186:                                              ; preds = %164, %186
  %187 = phi i64 [ 2, %164 ], [ %190, %186 ]
  %188 = phi i8* [ %176, %164 ], [ %189, %186 ]
  %189 = getelementptr inbounds i8, i8* %188, i64 8
  %190 = add nuw nsw i64 %187, 1
  %._buffer._storage = bitcast i8* %189 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %169, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %191 = icmp eq i64 %190, 2020
  %192 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %177) #19
  br i1 %191, label %178, label %186

193:                                              ; preds = %184
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 0, i32 1, i32 0, i32 0, i32 0
  %194 = load i64, i64* %._storage7.count._value, align 8, !range !10
  %195 = add nsw i64 %182, -1
  %.not = icmp ult i64 %195, %194
  br i1 %.not, label %196, label %474, !prof !7

196:                                              ; preds = %193
  %197 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %197 to %Ts5Int64V*
  %198 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch9, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %198)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp" to i8*), [24 x i8]* nonnull %access-scratch9, i64 1, i8* null) #4
  br label %199

199:                                              ; preds = %220, %196
  %200 = phi i64 [ 0, %196 ], [ %221, %220 ]
  %._value10 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr8, i64 %200, i32 0
  %201 = load i64, i64* %._value10, align 8
  %202 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %203 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %202, i64 0, i32 0
  %204 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %203) #19
  store %Ts28__ContiguousArrayStorageBaseC* %202, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  br i1 %204, label %207, label %205

205:                                              ; preds = %199
  %206 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Sit_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %202)
  store %Ts28__ContiguousArrayStorageBaseC* %206, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  br label %207

207:                                              ; preds = %205, %199
  %208 = phi %Ts28__ContiguousArrayStorageBaseC* [ %206, %205 ], [ %202, %199 ]
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 0, i32 1, i32 0, i32 0, i32 0
  %209 = load i64, i64* %._storage11.count._value, align 8, !range !10
  %.not184 = icmp ult i64 %200, %209
  br i1 %.not184, label %210, label %475, !prof !7

210:                                              ; preds = %207
  %211 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 1
  %tailaddr12 = bitcast %Ts28__ContiguousArrayStorageBaseC* %211 to <{ %Ts5Int64V, %TSi }>*
  %.elt13._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr12, i64 %200, i32 0, i32 0
  store i64 %201, i64* %.elt13._value, align 8
  %212 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %213 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %212, i64 0, i32 0
  %214 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %213) #19
  store %Ts28__ContiguousArrayStorageBaseC* %212, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  br i1 %214, label %217, label %215

215:                                              ; preds = %210
  %216 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Sit_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %212)
  store %Ts28__ContiguousArrayStorageBaseC* %216, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  br label %217

217:                                              ; preds = %210, %215
  %218 = phi %Ts28__ContiguousArrayStorageBaseC* [ %212, %210 ], [ %216, %215 ]
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %218, i64 0, i32 1, i32 0, i32 0, i32 0
  %219 = load i64, i64* %._storage14.count._value, align 8, !range !10
  %.not185 = icmp ult i64 %200, %219
  br i1 %.not185, label %220, label %476, !prof !7

220:                                              ; preds = %217
  %221 = add nuw nsw i64 %200, 1
  %222 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %218, i64 1
  %tailaddr15 = bitcast %Ts28__ContiguousArrayStorageBaseC* %222 to <{ %Ts5Int64V, %TSi }>*
  %.elt16._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr15, i64 %200, i32 1, i32 0
  store i64 %200, i64* %.elt16._value, align 8
  %223 = icmp eq i64 %221, %182
  br i1 %223, label %.loopexit225, label %199

.loopexit225:                                     ; preds = %220, %184
  %224 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch17, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %224)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp" to i8*), [24 x i8]* nonnull %access-scratch17, i64 33, i8* null) #4
  call swiftcc void @"$sSMsSkRzrlE4sort2byySb7ElementSTQz_ADtKXE_tKFSays5Int64V_SitG_Tg5014$s7llvm_OZSbs5D18V_Sit_AC_SittXEfU_Tf1cn_n"(%TSa* nocapture nonnull dereferenceable(8) @"$s7llvm_OZ1ASays5Int64V_SitGvp", %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch17) #4
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %224)
  %225 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %226 = icmp slt i64 %225, 1
  br i1 %226, label %477, label %227, !prof !6

227:                                              ; preds = %.loopexit225
  %228 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch18, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %228)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp" to i8*), [24 x i8]* nonnull %access-scratch18, i64 1, i8* null) #4
  %229 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %._storage19.count._value242 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %229, i64 0, i32 1, i32 0, i32 0, i32 0
  %230 = load i64, i64* %._storage19.count._value242, align 8, !range !10
  %.not186243 = icmp eq i64 %230, 0
  br i1 %.not186243, label %._crit_edge, label %.lr.ph, !prof !6

231:                                              ; preds = %294
  %232 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %233 = icmp slt i64 %232, 1
  br i1 %233, label %486, label %234, !prof !6

234:                                              ; preds = %231
  %235 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch36, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %235)
  call void @swift_beginAccess(i8* nonnull bitcast (%Ts5Int64V* @"$s7llvm_OZ3anss5Int64Vvp" to i8*), [24 x i8]* nonnull %access-scratch36, i64 1, i8* null) #4
  %236 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %._storage37.count._value244 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %236, i64 0, i32 1, i32 0, i32 0, i32 0
  %237 = load i64, i64* %._storage37.count._value244, align 8, !range !10
  %.not191245.not = icmp eq i64 %237, 0
  br i1 %.not191245.not, label %._crit_edge248, label %.lr.ph247.preheader, !prof !6

.lr.ph247.preheader:                              ; preds = %234
  %238 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %236, i64 1
  %._buffer39._storage334 = bitcast %Ts28__ContiguousArrayStorageBaseC* %238 to %Ts28__ContiguousArrayStorageBaseC**
  %239 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer39._storage334, align 8
  %._storage40.count._value335 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %239, i64 0, i32 1, i32 0, i32 0, i32 0
  %240 = load i64, i64* %._storage40.count._value335, align 8, !range !10
  %.not192336 = icmp eq i64 %240, 0
  br i1 %.not192336, label %.lr.ph247._crit_edge, label %.lr.ph337, !prof !6

241:                                              ; preds = %294
  %242 = add nuw nsw i64 %247, 1
  %243 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %243, i64 0, i32 1, i32 0, i32 0, i32 0
  %244 = load i64, i64* %._storage19.count._value, align 8, !range !10
  %.not186 = icmp eq i64 %244, 0
  br i1 %.not186, label %._crit_edge, label %.lr.ph, !prof !6

.lr.ph:                                           ; preds = %227, %241
  %245 = phi %Ts28__ContiguousArrayStorageBaseC* [ %243, %241 ], [ %229, %227 ]
  %246 = phi i64 [ %247, %241 ], [ 0, %227 ]
  %247 = phi i64 [ %242, %241 ], [ 1, %227 ]
  %248 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %245, i64 1
  %tailaddr20._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %248 to %Ts28__ContiguousArrayStorageBaseC**
  %249 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %tailaddr20._buffer._storage, align 8
  %._storage21.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %249, i64 0, i32 1, i32 0, i32 0, i32 0
  %250 = load i64, i64* %._storage21.count._value, align 8, !range !10
  %.not187 = icmp ult i64 %246, %250
  br i1 %.not187, label %251, label %478, !prof !7

251:                                              ; preds = %.lr.ph
  %252 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %249, i64 1
  %tailaddr22 = bitcast %Ts28__ContiguousArrayStorageBaseC* %252 to %Ts5Int64V*
  %._value23 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr22, i64 %246, i32 0
  %253 = load i64, i64* %._value23, align 8
  %254 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %._storage24.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %254, i64 0, i32 1, i32 0, i32 0, i32 0
  %255 = load i64, i64* %._storage24.count._value, align 8, !range !10
  %.not188 = icmp ult i64 %246, %255
  br i1 %.not188, label %256, label %479, !prof !7

256:                                              ; preds = %251
  %257 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %254, i64 1
  %tailaddr25 = bitcast %Ts28__ContiguousArrayStorageBaseC* %257 to <{ %Ts5Int64V, %TSi }>*
  %.elt26._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr25, i64 %246, i32 0, i32 0
  %258 = load i64, i64* %.elt26._value, align 8
  %259 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %260 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %259, i64 %247)
  %261 = extractvalue { i64, i1 } %260, 1
  br i1 %261, label %480, label %262, !prof !6

262:                                              ; preds = %256
  %263 = extractvalue { i64, i1 } %260, 0
  %.elt27._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr25, i64 %246, i32 1, i32 0
  %264 = load i64, i64* %.elt27._value, align 8
  %265 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %263, i64 %264)
  %266 = extractvalue { i64, i1 } %265, 1
  br i1 %266, label %481, label %267, !prof !6

267:                                              ; preds = %262
  %268 = extractvalue { i64, i1 } %265, 0
  %269 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %258, i64 %268)
  %270 = extractvalue { i64, i1 } %269, 1
  br i1 %270, label %482, label %271, !prof !6

271:                                              ; preds = %267
  %272 = extractvalue { i64, i1 } %269, 0
  %273 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %253, i64 %272)
  %274 = extractvalue { i64, i1 } %273, 0
  %275 = extractvalue { i64, i1 } %273, 1
  br i1 %275, label %483, label %276, !prof !6

276:                                              ; preds = %271
  %277 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %245, i64 0, i32 0
  %278 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %277) #19
  store %Ts28__ContiguousArrayStorageBaseC* %245, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %278, label %281, label %279

279:                                              ; preds = %276
  %280 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSays5Int64VG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %245)
  store %Ts28__ContiguousArrayStorageBaseC* %280, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br label %281

281:                                              ; preds = %276, %279
  %282 = phi %Ts28__ContiguousArrayStorageBaseC* [ %245, %276 ], [ %280, %279 ]
  %._storage28.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %282, i64 0, i32 1, i32 0, i32 0, i32 0
  %283 = load i64, i64* %._storage28.count._value, align 8, !range !10
  %.not189 = icmp eq i64 %283, 0
  br i1 %.not189, label %484, label %284, !prof !6

284:                                              ; preds = %281
  %285 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %282, i64 1
  %tailaddr29._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %285 to %Ts28__ContiguousArrayStorageBaseC**
  %286 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %tailaddr29._buffer._storage, align 8
  %287 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %286, i64 0, i32 0
  %288 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %287) #19
  store %Ts28__ContiguousArrayStorageBaseC* %286, %Ts28__ContiguousArrayStorageBaseC** %tailaddr29._buffer._storage, align 8
  br i1 %288, label %291, label %289

289:                                              ; preds = %284
  %290 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %286)
  store %Ts28__ContiguousArrayStorageBaseC* %290, %Ts28__ContiguousArrayStorageBaseC** %tailaddr29._buffer._storage, align 8
  br label %291

291:                                              ; preds = %284, %289
  %292 = phi %Ts28__ContiguousArrayStorageBaseC* [ %290, %289 ], [ %286, %284 ]
  %._storage32.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 0, i32 1, i32 0, i32 0, i32 0
  %293 = load i64, i64* %._storage32.count._value, align 8, !range !10
  %.not190 = icmp ult i64 %247, %293
  br i1 %.not190, label %294, label %485, !prof !7

294:                                              ; preds = %291
  %295 = icmp eq i64 %247, %225
  %296 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 1
  %tailaddr33 = bitcast %Ts28__ContiguousArrayStorageBaseC* %296 to %Ts5Int64V*
  %._value34 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr33, i64 %247, i32 0
  store i64 %274, i64* %._value34, align 8
  br i1 %295, label %231, label %241

297:                                              ; preds = %379
  %298 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #18
  %299 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %298, i64 64, i64 7) #4
  %300 = bitcast %swift.refcounted* %299 to %Ts28__ContiguousArrayStorageBaseC*
  %301 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %299, i64 1
  %._storage83.count._value = bitcast %swift.refcounted* %301 to i64*
  store i64 1, i64* %._storage83.count._value, align 8
  %._storage83._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %299, i64 1, i32 1
  store i64 2, i64* %._storage83._capacityAndFlags, align 8
  %302 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %299, i64 2
  %303 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %299, i64 3, i32 1
  %304 = bitcast i64* %303 to %swift.type**
  store %swift.type* @"$ss5Int64VN", %swift.type** %304, align 8
  %._value85 = bitcast %swift.refcounted* %302 to i64*
  store i64 %382, i64* %._value85, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %300, 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* %299) #4
  ret i32 0

.lr.ph247:                                        ; preds = %379
  %305 = add nuw nsw i64 %310, 1
  %306 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %371, i64 1
  %tailaddr38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %306 to %TSa*
  %._buffer39._storage = getelementptr inbounds %TSa, %TSa* %tailaddr38, i64 %310, i32 0, i32 0
  %307 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer39._storage, align 8
  %._storage40.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %307, i64 0, i32 1, i32 0, i32 0, i32 0
  %308 = load i64, i64* %._storage40.count._value, align 8, !range !10
  %.not192 = icmp eq i64 %308, 0
  br i1 %.not192, label %.lr.ph247._crit_edge, label %.lr.ph337, !prof !6

.lr.ph337:                                        ; preds = %.lr.ph247.preheader, %.lr.ph247
  %309 = phi %Ts28__ContiguousArrayStorageBaseC* [ %307, %.lr.ph247 ], [ %239, %.lr.ph247.preheader ]
  %310 = phi i64 [ %305, %.lr.ph247 ], [ 1, %.lr.ph247.preheader ]
  %311 = phi i64 [ %310, %.lr.ph247 ], [ 0, %.lr.ph247.preheader ]
  %312 = phi %Ts28__ContiguousArrayStorageBaseC* [ %371, %.lr.ph247 ], [ %236, %.lr.ph247.preheader ]
  %313 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %309, i64 1
  %tailaddr41._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %313 to i64*
  %314 = load i64, i64* %tailaddr41._value, align 8
  %315 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %._storage42.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %315, i64 0, i32 1, i32 0, i32 0, i32 0
  %316 = load i64, i64* %._storage42.count._value, align 8, !range !10
  %.not193 = icmp ult i64 %311, %316
  br i1 %.not193, label %317, label %487, !prof !7

317:                                              ; preds = %.lr.ph337
  %318 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %315, i64 1
  %tailaddr43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %318 to <{ %Ts5Int64V, %TSi }>*
  %.elt44._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr43, i64 %311, i32 0, i32 0
  %319 = load i64, i64* %.elt44._value, align 8
  %.elt45._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr43, i64 %311, i32 1, i32 0
  %320 = load i64, i64* %.elt45._value, align 8
  %321 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %320, i64 %310)
  %322 = extractvalue { i64, i1 } %321, 1
  br i1 %322, label %488, label %323, !prof !6

323:                                              ; preds = %317
  %324 = extractvalue { i64, i1 } %321, 0
  %325 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %324, i64 1)
  %326 = extractvalue { i64, i1 } %325, 1
  br i1 %326, label %489, label %327, !prof !6

327:                                              ; preds = %323
  %328 = extractvalue { i64, i1 } %325, 0
  %329 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %319, i64 %328)
  %330 = extractvalue { i64, i1 } %329, 1
  br i1 %330, label %490, label %331, !prof !6

331:                                              ; preds = %327
  %332 = extractvalue { i64, i1 } %329, 0
  %333 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %314, i64 %332)
  %334 = extractvalue { i64, i1 } %333, 0
  %335 = extractvalue { i64, i1 } %333, 1
  br i1 %335, label %491, label %336, !prof !6

336:                                              ; preds = %331
  %337 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %312, i64 0, i32 0
  %338 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %337) #19
  store %Ts28__ContiguousArrayStorageBaseC* %312, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %338, label %341, label %339

339:                                              ; preds = %336
  %340 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSays5Int64VG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %312)
  store %Ts28__ContiguousArrayStorageBaseC* %340, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br label %341

341:                                              ; preds = %336, %339
  %342 = phi %Ts28__ContiguousArrayStorageBaseC* [ %312, %336 ], [ %340, %339 ]
  %._storage46.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %342, i64 0, i32 1, i32 0, i32 0, i32 0
  %343 = load i64, i64* %._storage46.count._value, align 8, !range !10
  %.not194 = icmp ult i64 %310, %343
  br i1 %.not194, label %344, label %492, !prof !7

344:                                              ; preds = %341
  %345 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %342, i64 1
  %tailaddr47 = bitcast %Ts28__ContiguousArrayStorageBaseC* %345 to %TSa*
  %._buffer48._storage = getelementptr inbounds %TSa, %TSa* %tailaddr47, i64 %310, i32 0, i32 0
  %346 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer48._storage, align 8
  %347 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %346, i64 0, i32 0
  %348 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %347) #19
  store %Ts28__ContiguousArrayStorageBaseC* %346, %Ts28__ContiguousArrayStorageBaseC** %._buffer48._storage, align 8
  br i1 %348, label %351, label %349

349:                                              ; preds = %344
  %350 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %346)
  store %Ts28__ContiguousArrayStorageBaseC* %350, %Ts28__ContiguousArrayStorageBaseC** %._buffer48._storage, align 8
  br label %351

351:                                              ; preds = %344, %349
  %352 = phi %Ts28__ContiguousArrayStorageBaseC* [ %346, %344 ], [ %350, %349 ]
  %._storage51.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %352, i64 0, i32 1, i32 0, i32 0, i32 0
  %353 = load i64, i64* %._storage51.count._value, align 8, !range !10
  %.not195 = icmp eq i64 %353, 0
  br i1 %.not195, label %493, label %354, !prof !6

354:                                              ; preds = %351
  %355 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %352, i64 1
  %tailaddr52._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %355 to i64*
  store i64 %334, i64* %tailaddr52._value, align 8
  %356 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %357 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %356, i64 %310)
  %358 = extractvalue { i64, i1 } %357, 1
  br i1 %358, label %494, label %359, !prof !6

359:                                              ; preds = %354
  %360 = extractvalue { i64, i1 } %357, 0
  %361 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %360, i64 1)
  %362 = extractvalue { i64, i1 } %361, 0
  %363 = extractvalue { i64, i1 } %361, 1
  br i1 %363, label %495, label %364, !prof !6

364:                                              ; preds = %359
  %365 = icmp slt i64 %362, 1
  br i1 %365, label %496, label %366, !prof !6

366:                                              ; preds = %364
  %367 = icmp eq i64 %362, 1
  br i1 %367, label %.loopexit, label %.preheader

.loopexit.loopexit:                               ; preds = %467
  %.pre = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %.pre271 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre, i64 %310)
  %.pre272 = extractvalue { i64, i1 } %.pre271, 0
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %366
  %.pre-phi273 = phi i64 [ %.pre272, %.loopexit.loopexit ], [ %360, %366 ]
  %.pre-phi = phi { i64, i1 } [ %.pre271, %.loopexit.loopexit ], [ %357, %366 ]
  %368 = load i64, i64* getelementptr inbounds (%Ts5Int64V, %Ts5Int64V* @"$s7llvm_OZ3anss5Int64Vvp", i64 0, i32 0), align 8
  %369 = extractvalue { i64, i1 } %.pre-phi, 1
  br i1 %369, label %514, label %370, !prof !6

370:                                              ; preds = %.loopexit
  %371 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %._storage77.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %371, i64 0, i32 1, i32 0, i32 0, i32 0
  %372 = load i64, i64* %._storage77.count._value, align 8, !range !10
  %.not203 = icmp ult i64 %310, %372
  br i1 %.not203, label %373, label %515, !prof !7

373:                                              ; preds = %370
  %374 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %371, i64 1
  %tailaddr78 = bitcast %Ts28__ContiguousArrayStorageBaseC* %374 to %TSa*
  %._buffer79._storage = getelementptr inbounds %TSa, %TSa* %tailaddr78, i64 %310, i32 0, i32 0
  %375 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage, align 8
  %376 = icmp slt i64 %.pre-phi273, 0
  br i1 %376, label %516, label %377, !prof !6

377:                                              ; preds = %373
  %._storage80.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %375, i64 0, i32 1, i32 0, i32 0, i32 0
  %378 = load i64, i64* %._storage80.count._value, align 8, !range !10
  %.not204 = icmp ult i64 %.pre-phi273, %378
  br i1 %.not204, label %379, label %517, !prof !7

379:                                              ; preds = %377
  %380 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %375, i64 1
  %tailaddr81 = bitcast %Ts28__ContiguousArrayStorageBaseC* %380 to %Ts5Int64V*
  %._value82 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr81, i64 %.pre-phi273, i32 0
  %381 = load i64, i64* %._value82, align 8
  %382 = call i64 @llvm.smax.i64(i64 %381, i64 %368)
  %383 = icmp eq i64 %310, %232
  store i64 %382, i64* getelementptr inbounds (%Ts5Int64V, %Ts5Int64V* @"$s7llvm_OZ3anss5Int64Vvp", i64 0, i32 0), align 8
  br i1 %383, label %297, label %.lr.ph247

.preheader:                                       ; preds = %366, %467
  %384 = phi i64 [ %468, %467 ], [ 1, %366 ]
  %385 = add nsw i64 %384, -1
  %386 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  %._storage54.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %386, i64 0, i32 1, i32 0, i32 0, i32 0
  %387 = load i64, i64* %._storage54.count._value, align 8, !range !10
  %.not196 = icmp ult i64 %310, %387
  br i1 %.not196, label %388, label %497, !prof !7

388:                                              ; preds = %.preheader
  %389 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %386, i64 1
  %tailaddr55 = bitcast %Ts28__ContiguousArrayStorageBaseC* %389 to %TSa*
  %._buffer56._storage = getelementptr inbounds %TSa, %TSa* %tailaddr55, i64 %310, i32 0, i32 0
  %390 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer56._storage, align 8
  %._storage57.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %390, i64 0, i32 1, i32 0, i32 0, i32 0
  %391 = load i64, i64* %._storage57.count._value, align 8, !range !10
  %.not197 = icmp ult i64 %385, %391
  br i1 %.not197, label %392, label %498, !prof !7

392:                                              ; preds = %388
  %393 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %390, i64 1
  %tailaddr58 = bitcast %Ts28__ContiguousArrayStorageBaseC* %393 to %Ts5Int64V*
  %._value59 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr58, i64 %385, i32 0
  %394 = load i64, i64* %._value59, align 8
  %395 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %310, i64 %384)
  %396 = extractvalue { i64, i1 } %395, 1
  br i1 %396, label %499, label %397, !prof !6

397:                                              ; preds = %392
  %398 = extractvalue { i64, i1 } %395, 0
  %399 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %398, i64 -1)
  %400 = extractvalue { i64, i1 } %399, 0
  %401 = extractvalue { i64, i1 } %399, 1
  br i1 %401, label %500, label %402, !prof !6

402:                                              ; preds = %397
  %403 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1ASays5Int64V_SitGvp", i64 0, i32 0, i32 0), align 8
  %404 = icmp slt i64 %400, 0
  br i1 %404, label %501, label %405, !prof !6

405:                                              ; preds = %402
  %._storage60.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %403, i64 0, i32 1, i32 0, i32 0, i32 0
  %406 = load i64, i64* %._storage60.count._value, align 8, !range !10
  %.not198 = icmp ult i64 %400, %406
  br i1 %.not198, label %407, label %502, !prof !7

407:                                              ; preds = %405
  %408 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %403, i64 1
  %tailaddr61 = bitcast %Ts28__ContiguousArrayStorageBaseC* %408 to <{ %Ts5Int64V, %TSi }>*
  %.elt62._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr61, i64 %400, i32 0, i32 0
  %409 = load i64, i64* %.elt62._value, align 8
  %410 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1NSivp", i64 0, i32 0), align 8
  %411 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %410, i64 %384)
  %412 = extractvalue { i64, i1 } %411, 1
  br i1 %412, label %503, label %413, !prof !6

413:                                              ; preds = %407
  %414 = extractvalue { i64, i1 } %411, 0
  %.elt63._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %tailaddr61, i64 %400, i32 1, i32 0
  %415 = load i64, i64* %.elt63._value, align 8
  %416 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %414, i64 %415)
  %417 = extractvalue { i64, i1 } %416, 1
  br i1 %417, label %504, label %418, !prof !6

418:                                              ; preds = %413
  %419 = extractvalue { i64, i1 } %416, 0
  %420 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %409, i64 %419)
  %421 = extractvalue { i64, i1 } %420, 1
  br i1 %421, label %505, label %422, !prof !6

422:                                              ; preds = %418
  %423 = extractvalue { i64, i1 } %420, 0
  %424 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %394, i64 %423)
  %425 = extractvalue { i64, i1 } %424, 0
  %426 = extractvalue { i64, i1 } %424, 1
  br i1 %426, label %506, label %427, !prof !6

427:                                              ; preds = %422
  %._buffer64._storage = getelementptr inbounds %TSa, %TSa* %tailaddr55, i64 %311, i32 0, i32 0
  %428 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer64._storage, align 8
  %._storage65.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %428, i64 0, i32 1, i32 0, i32 0, i32 0
  %429 = load i64, i64* %._storage65.count._value, align 8, !range !10
  %.not200 = icmp ult i64 %384, %429
  br i1 %.not200, label %430, label %507, !prof !7

430:                                              ; preds = %427
  %431 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %428, i64 1
  %tailaddr66 = bitcast %Ts28__ContiguousArrayStorageBaseC* %431 to %Ts5Int64V*
  %._value67 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr66, i64 %384, i32 0
  %432 = load i64, i64* %._value67, align 8
  %433 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %415, i64 %310)
  %434 = extractvalue { i64, i1 } %433, 1
  br i1 %434, label %508, label %435, !prof !6

435:                                              ; preds = %430
  %436 = extractvalue { i64, i1 } %433, 0
  %437 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %436, i64 1)
  %438 = extractvalue { i64, i1 } %437, 1
  br i1 %438, label %509, label %439, !prof !6

439:                                              ; preds = %435
  %440 = extractvalue { i64, i1 } %437, 0
  %441 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %409, i64 %440)
  %442 = extractvalue { i64, i1 } %441, 1
  br i1 %442, label %510, label %443, !prof !6

443:                                              ; preds = %439
  %444 = extractvalue { i64, i1 } %441, 0
  %445 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %432, i64 %444)
  %446 = extractvalue { i64, i1 } %445, 1
  br i1 %446, label %511, label %447, !prof !6

447:                                              ; preds = %443
  %448 = extractvalue { i64, i1 } %445, 0
  %449 = call i64 @llvm.smax.i64(i64 %448, i64 %425)
  %450 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %386, i64 0, i32 0
  %451 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %450) #19
  store %Ts28__ContiguousArrayStorageBaseC* %386, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %451, label %454, label %452

452:                                              ; preds = %447
  %453 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSays5Int64VG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %386)
  store %Ts28__ContiguousArrayStorageBaseC* %453, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySays5Int64VGGvp", i64 0, i32 0, i32 0), align 8
  br label %454

454:                                              ; preds = %447, %452
  %455 = phi %Ts28__ContiguousArrayStorageBaseC* [ %386, %447 ], [ %453, %452 ]
  %._storage68.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %455, i64 0, i32 1, i32 0, i32 0, i32 0
  %456 = load i64, i64* %._storage68.count._value, align 8, !range !10
  %.not201 = icmp ult i64 %310, %456
  br i1 %.not201, label %457, label %512, !prof !7

457:                                              ; preds = %454
  %458 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %455, i64 1
  %tailaddr69 = bitcast %Ts28__ContiguousArrayStorageBaseC* %458 to %TSa*
  %._buffer70._storage = getelementptr inbounds %TSa, %TSa* %tailaddr69, i64 %310, i32 0, i32 0
  %459 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer70._storage, align 8
  %460 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %459, i64 0, i32 0
  %461 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %460) #19
  store %Ts28__ContiguousArrayStorageBaseC* %459, %Ts28__ContiguousArrayStorageBaseC** %._buffer70._storage, align 8
  br i1 %461, label %464, label %462

462:                                              ; preds = %457
  %463 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %459)
  store %Ts28__ContiguousArrayStorageBaseC* %463, %Ts28__ContiguousArrayStorageBaseC** %._buffer70._storage, align 8
  br label %464

464:                                              ; preds = %457, %462
  %465 = phi %Ts28__ContiguousArrayStorageBaseC* [ %459, %457 ], [ %463, %462 ]
  %._storage73.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %465, i64 0, i32 1, i32 0, i32 0, i32 0
  %466 = load i64, i64* %._storage73.count._value, align 8, !range !10
  %.not202 = icmp ult i64 %384, %466
  br i1 %.not202, label %467, label %513, !prof !7

467:                                              ; preds = %464
  %468 = add nuw nsw i64 %384, 1
  %469 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %465, i64 1
  %tailaddr74 = bitcast %Ts28__ContiguousArrayStorageBaseC* %469 to %Ts5Int64V*
  %._value75 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr74, i64 %384, i32 0
  store i64 %449, i64* %._value75, align 8
  %470 = icmp eq i64 %468, %362
  br i1 %470, label %.loopexit.loopexit, label %.preheader

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

472:                                              ; preds = %16, %56
  call void asm sideeffect "", "n"(i32 1) #4
  call void @llvm.trap()
  unreachable

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

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

475:                                              ; preds = %207
  call void asm sideeffect "", "n"(i32 6) #4
  call void @llvm.trap()
  unreachable

476:                                              ; preds = %217
  call void asm sideeffect "", "n"(i32 7) #4
  call void @llvm.trap()
  unreachable

477:                                              ; preds = %.loopexit225
  call void asm sideeffect "", "n"(i32 8) #4
  call void @llvm.trap()
  unreachable

._crit_edge:                                      ; preds = %241, %227
  call void asm sideeffect "", "n"(i32 10) #4
  call void @llvm.trap()
  unreachable

478:                                              ; preds = %.lr.ph
  call void asm sideeffect "", "n"(i32 12) #4
  call void @llvm.trap()
  unreachable

479:                                              ; preds = %251
  call void asm sideeffect "", "n"(i32 13) #4
  call void @llvm.trap()
  unreachable

480:                                              ; preds = %256
  call void asm sideeffect "", "n"(i32 14) #4
  call void @llvm.trap()
  unreachable

481:                                              ; preds = %262
  call void asm sideeffect "", "n"(i32 15) #4
  call void @llvm.trap()
  unreachable

482:                                              ; preds = %267
  call void asm sideeffect "", "n"(i32 16) #4
  call void @llvm.trap()
  unreachable

483:                                              ; preds = %271
  call void asm sideeffect "", "n"(i32 17) #4
  call void @llvm.trap()
  unreachable

484:                                              ; preds = %281
  call void asm sideeffect "", "n"(i32 18) #4
  call void @llvm.trap()
  unreachable

485:                                              ; preds = %291
  call void asm sideeffect "", "n"(i32 20) #4
  call void @llvm.trap()
  unreachable

486:                                              ; preds = %231
  call void asm sideeffect "", "n"(i32 22) #4
  call void @llvm.trap()
  unreachable

._crit_edge248:                                   ; preds = %234
  call void asm sideeffect "", "n"(i32 25) #4
  call void @llvm.trap()
  unreachable

.lr.ph247._crit_edge:                             ; preds = %.lr.ph247, %.lr.ph247.preheader
  call void asm sideeffect "", "n"(i32 26) #4
  call void @llvm.trap()
  unreachable

487:                                              ; preds = %.lr.ph337
  call void asm sideeffect "", "n"(i32 27) #4
  call void @llvm.trap()
  unreachable

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

489:                                              ; preds = %323
  call void asm sideeffect "", "n"(i32 29) #4
  call void @llvm.trap()
  unreachable

490:                                              ; preds = %327
  call void asm sideeffect "", "n"(i32 30) #4
  call void @llvm.trap()
  unreachable

491:                                              ; preds = %331
  call void asm sideeffect "", "n"(i32 31) #4
  call void @llvm.trap()
  unreachable

492:                                              ; preds = %341
  call void asm sideeffect "", "n"(i32 33) #4
  call void @llvm.trap()
  unreachable

493:                                              ; preds = %351
  call void asm sideeffect "", "n"(i32 34) #4
  call void @llvm.trap()
  unreachable

494:                                              ; preds = %354
  call void asm sideeffect "", "n"(i32 35) #4
  call void @llvm.trap()
  unreachable

495:                                              ; preds = %359
  call void asm sideeffect "", "n"(i32 36) #4
  call void @llvm.trap()
  unreachable

496:                                              ; preds = %364
  call void asm sideeffect "", "n"(i32 37) #4
  call void @llvm.trap()
  unreachable

497:                                              ; preds = %.preheader
  call void asm sideeffect "", "n"(i32 40) #4
  call void @llvm.trap()
  unreachable

498:                                              ; preds = %388
  call void asm sideeffect "", "n"(i32 42) #4
  call void @llvm.trap()
  unreachable

499:                                              ; preds = %392
  call void asm sideeffect "", "n"(i32 43) #4
  call void @llvm.trap()
  unreachable

500:                                              ; preds = %397
  call void asm sideeffect "", "n"(i32 44) #4
  call void @llvm.trap()
  unreachable

501:                                              ; preds = %402
  call void asm sideeffect "", "n"(i32 45) #4
  call void @llvm.trap()
  unreachable

502:                                              ; preds = %405
  call void asm sideeffect "", "n"(i32 46) #4
  call void @llvm.trap()
  unreachable

503:                                              ; preds = %407
  call void asm sideeffect "", "n"(i32 47) #4
  call void @llvm.trap()
  unreachable

504:                                              ; preds = %413
  call void asm sideeffect "", "n"(i32 48) #4
  call void @llvm.trap()
  unreachable

505:                                              ; preds = %418
  call void asm sideeffect "", "n"(i32 49) #4
  call void @llvm.trap()
  unreachable

506:                                              ; preds = %422
  call void asm sideeffect "", "n"(i32 50) #4
  call void @llvm.trap()
  unreachable

507:                                              ; preds = %427
  call void asm sideeffect "", "n"(i32 53) #4
  call void @llvm.trap()
  unreachable

508:                                              ; preds = %430
  call void asm sideeffect "", "n"(i32 54) #4
  call void @llvm.trap()
  unreachable

509:                                              ; preds = %435
  call void asm sideeffect "", "n"(i32 55) #4
  call void @llvm.trap()
  unreachable

510:                                              ; preds = %439
  call void asm sideeffect "", "n"(i32 56) #4
  call void @llvm.trap()
  unreachable

511:                                              ; preds = %443
  call void asm sideeffect "", "n"(i32 57) #4
  call void @llvm.trap()
  unreachable

512:                                              ; preds = %454
  call void asm sideeffect "", "n"(i32 58) #4
  call void @llvm.trap()
  unreachable

513:                                              ; preds = %464
  call void asm sideeffect "", "n"(i32 59) #4
  call void @llvm.trap()
  unreachable

514:                                              ; preds = %.loopexit
  call void asm sideeffect "", "n"(i32 60) #4
  call void @llvm.trap()
  unreachable

515:                                              ; preds = %370
  call void asm sideeffect "", "n"(i32 61) #4
  call void @llvm.trap()
  unreachable

516:                                              ; preds = %373
  call void asm sideeffect "", "n"(i32 62) #4
  call void @llvm.trap()
  unreachable

517:                                              ; preds = %377
  call void asm sideeffect "", "n"(i32 63) #4
  call void @llvm.trap()
  unreachable

518:                                              ; preds = %95
  tail call void asm sideeffect "", "n"(i32 65) #4
  tail call void @llvm.trap()
  unreachable

519:                                              ; preds = %58
  tail call void asm sideeffect "", "n"(i32 66) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
declare swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1) local_unnamed_addr #0

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

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

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

; Function Attrs: minsize optsize
define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ8readIntsSays5Int64VGyF"() 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 %Ts15ContiguousArrayV, align 8
  %.sroa.6 = alloca i8, align 8
  %2 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %3 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %4 = extractvalue { i64, i64 } %3, 1
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %105, label %6

6:                                                ; preds = %entry
  %7 = extractvalue { i64, i64 } %3, 0
  %8 = inttoptr i64 %4 to %swift.bridge*
  %9 = bitcast %TSJ* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %9)
  %._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()
  %10 = alloca [24 x i8], align 16
  %11 = bitcast [24 x i8]* %10 to %swift.opaque*
  %12 = getelementptr inbounds [24 x i8], [24 x i8]* %10, i64 0, i64 16
  %13 = bitcast i8* %12 to %TSJ**
  store %TSJ* %0, %TSJ** %13, align 16
  %14 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %8) #4
  %15 = 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 %11, i64 %7, %swift.bridge* nonnull %8, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %9)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !10
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %18, label %20

18:                                               ; preds = %6
  %19 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %19) #4
  br label %29

20:                                               ; preds = %6
  %21 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %21)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, 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_SiSbtFs5Int64V_Tg5"(i1 false, i64 %16, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1
  %tailaddr._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %22 to i64*
  %23 = load i64, i64* %tailaddr._slice._startIndex._rawBits._value, align 8
  %tailaddr._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1, i32 0, i32 1
  %24 = load i64, i64* %tailaddr._slice._endIndex, align 8
  %.unshifted = xor i64 %24, %23
  %25 = icmp ult i64 %.unshifted, 16384
  br i1 %25, label %106, label %26, !prof !6

26:                                               ; preds = %20
  %tailaddr._slice._base._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1, i32 1, i32 0, i32 1
  %tailaddr._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 1, i32 1, i32 0, i32 0, i32 0
  %27 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 0, i32 0
  %.elt11._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 1, i32 0
  %28 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to i64
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast41 = bitcast i8* %.sroa.6 to i1*
  br label %31

29:                                               ; preds = %18, %96
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %93, %96 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %18 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %30

31:                                               ; preds = %103, %26
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %103 ], [ %tailaddr._slice._base._guts._object._object, %26 ]
  %32 = phi i64 [ %104, %103 ], [ 1, %26 ]
  %33 = phi i64 [ %100, %103 ], [ %23, %26 ]
  %34 = phi i64 [ %101, %103 ], [ %24, %26 ]
  %.in50 = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %103 ], [ %tailaddr._slice._base._guts._object._countAndFlagsBits._value, %26 ]
  %.sink.in = bitcast %TSu* %.sink.in.in to %swift.bridge**
  %.sink = load %swift.bridge*, %swift.bridge** %.sink.in, align 8
  %35 = load i64, i64* %.in50, align 8
  %36 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %.sink) #4
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %37 = ptrtoint %swift.bridge* %.sink to i64
  %38 = and i64 %37, 1152921504606846976
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %72, !prof !7

40:                                               ; preds = %31
  %41 = and i64 %37, 2305843009213693952
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %43, label %46

43:                                               ; preds = %40
  %44 = and i64 %35, 1152921504606846976
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %55, label %59, !prof !6

46:                                               ; preds = %40
  %47 = lshr i64 %37, 56
  %48 = and i64 %47, 15
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %27)
  %49 = and i64 %37, 72057594037927935
  store i64 %35, i64* %.elt._value, align 8
  store i64 %49, i64* %.elt11._value, align 8
  %50 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5s5Int64VSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5h9VGXEfU_s5L7V_SsTG5SiTf1nnc_n"(i64 %28, i64 %48, i64 %33, i64 %34, i64 %35, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %51 = extractvalue { i64, i8 } %50, 1
  %52 = and i8 %51, 1
  %53 = icmp ne i8 %52, 0
  %54 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not28 = icmp eq %swift.error* %54, null
  call void @llvm.assume(i1 %.not28)
  store i1 %53, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %27)
  br label %71

55:                                               ; preds = %43
  %56 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %35, %swift.bridge* %.sink)
  %57 = extractvalue { i64, i64 } %56, 0
  %58 = extractvalue { i64, i64 } %56, 1
  br label %63

59:                                               ; preds = %43
  %60 = and i64 %37, 1152921504606846975
  %61 = add nuw nsw i64 %60, 32
  %62 = and i64 %35, 281474976710655
  br label %63

63:                                               ; preds = %55, %59
  %64 = phi i64 [ %61, %59 ], [ %57, %55 ]
  %65 = phi i64 [ %62, %59 ], [ %58, %55 ]
  %66 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5s5Int64VSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5h9VGXEfU_s5L7V_SsTG5SiTf1nnc_n"(i64 %64, i64 %65, i64 %33, i64 %34, i64 %35, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %67 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not29 = icmp eq %swift.error* %67, null
  call void @llvm.assume(i1 %.not29)
  %68 = extractvalue { i64, i8 } %66, 1
  %69 = and i8 %68, 1
  %70 = icmp ne i8 %69, 0
  store i1 %70, i1* %.sroa.6.0.sroa_cast41, align 8
  br label %71

71:                                               ; preds = %46, %63
  %.pn = phi { i64, i8 } [ %66, %63 ], [ %50, %46 ]
  %.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)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #4
  br label %75

72:                                               ; preds = %31
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %73 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_s5Int64VTg5"(i64 %33, i64 %34, i64 %35, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #4
  %74 = extractvalue { i64, i8 } %73, 1
  br label %75

75:                                               ; preds = %71, %72
  %.pn51 = phi { i64, i8 } [ %73, %72 ], [ %.pn, %71 ]
  %.in.in = phi i8 [ %74, %72 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %71 ]
  %76 = extractvalue { i64, i8 } %.pn51, 0
  %.in = and i8 %.in.in, 1
  %.not27 = icmp eq i8 %.in, 0
  br i1 %.not27, label %77, label %107

77:                                               ; preds = %75
  %78 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %79 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %78, i64 0, i32 0
  %80 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %79) #19
  br i1 %80, label %84, label %81

81:                                               ; preds = %77
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %78, i64 0, i32 1, i32 0, i32 0, i32 0
  %82 = load i64, i64* %._storage5.count._value, align 8, !range !10
  %83 = add nuw nsw i64 %82, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFs5Int64V_Tg5"(i1 false, i64 %83, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %84

84:                                               ; preds = %77, %81
  %85 = phi %Ts28__ContiguousArrayStorageBaseC* [ %78, %77 ], [ %.pre, %81 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 1, i32 0, i32 0, i32 0
  %86 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 1, i32 0, i32 1, i32 0
  %87 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %88 = lshr i64 %87, 1
  %89 = add nuw nsw i64 %86, 1
  %.not = icmp ugt i64 %88, %86
  br i1 %.not, label %92, label %90, !prof !7

90:                                               ; preds = %84
  %91 = icmp ugt i64 %87, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFs5Int64V_Tg5"(i1 %91, i64 %89, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre44 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %92

92:                                               ; preds = %84, %90
  %93 = phi %Ts28__ContiguousArrayStorageBaseC* [ %85, %84 ], [ %.pre44, %90 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %93, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %89, i64* %._storage7.count._value, align 8
  %94 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %93, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %94 to %Ts5Int64V*
  %._value9 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %tailaddr8, i64 %86, i32 0
  store i64 %76, i64* %._value9, align 8
  %95 = icmp eq i64 %32, %16
  br i1 %95, label %96, label %98

96:                                               ; preds = %92
  %97 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %15, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %97) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %21)
  br label %29

98:                                               ; preds = %92
  %99 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 %32
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %99 to i64*
  %100 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %99, i64 0, i32 0, i32 1
  %101 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted26 = xor i64 %101, %100
  %102 = icmp ult i64 %.unshifted26, 16384
  br i1 %102, label %108, label %103, !prof !6

103:                                              ; preds = %98
  %104 = add nuw nsw i64 %32, 1
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %99, i64 0, i32 1
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  br label %31

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

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

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

108:                                              ; preds = %98
  call void asm sideeffect "", "n"(i32 6) #4
  call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSMsSkRzrlE4sort2byySb7ElementSTQz_ADtKXE_tKFSays5Int64V_SitG_Tg5014$s7llvm_OZSbs5D18V_Sit_AC_SittXEfU_Tf1cn_n"(%TSa* nocapture dereferenceable(8) %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %3 = alloca %TSrys5Int64V_SitG, align 8
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %0, i64 0, i32 0, i32 0
  %4 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %5 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 0, i32 0
  %6 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %5) #19
  br i1 %6, label %common.ret, label %7

7:                                                ; preds = %entry
  %8 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Sit_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %4)
  br label %common.ret

common.ret:                                       ; preds = %entry, %7
  %9 = phi %Ts28__ContiguousArrayStorageBaseC* [ %8, %7 ], [ %4, %entry ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 0, i32 1, i32 0, i32 0, i32 0
  %10 = load i64, i64* %._storage.count._value, align 8, !range !10
  %11 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 1
  %12 = getelementptr inbounds %TSrys5Int64V_SitG, %TSrys5Int64V_SitG* %3, i64 0, i32 0, i32 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %12)
  %13 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %11 to i64
  %14 = bitcast %TSrys5Int64V_SitG* %3 to i64*
  store i64 %13, i64* %14, align 8
  %.count._value = getelementptr inbounds %TSrys5Int64V_SitG, %TSrys5Int64V_SitG* %3, i64 0, i32 1, i32 0
  store i64 %10, i64* %.count._value, align 8
  call swiftcc void @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFs5Int64V_Sit_Tg5014$s7llvm_OZSbs5E18V_Sit_AC_SittXEfU_Tf1cn_n"(%TSrys5Int64V_SitG* nocapture nonnull dereferenceable(16) %3, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  store %Ts28__ContiguousArrayStorageBaseC* %9, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %12)
  ret void
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #3 {
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) #4
  %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 !7

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) #4
  %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 !6

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) #4
  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) #4
  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
}

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

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

; Function Attrs: minsize mustprogress nofree noinline nounwind optsize readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* %0) local_unnamed_addr #5 {
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 !6

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) #20
  %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 #6

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #3 {
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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFs5Int64V_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSays5Int64VG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #3 {
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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSays5Int64VG_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFs5Int64V_Sit_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #3 {
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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFs5Int64V_Sit_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: nounwind
declare void @swift_endAccess([24 x i8]*) local_unnamed_addr #4

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

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

; Function Attrs: minsize optsize
declare swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC*, i64, %swift.bridge*, i64, %swift.bridge*) local_unnamed_addr #0

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFs5Int64V_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
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 %49, label %11, !prof !6

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 !10
  %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_ContiguousArrayStorageCys5Int64VGMD") #18
  %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) #4
  %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
  br i1 %0, label %32, label %42

32:                                               ; preds = %29
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %Ts5Int64V*
  %35 = getelementptr inbounds %Ts5Int64V, %Ts5Int64V* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %Ts5Int64V*
  %37 = icmp ugt %Ts5Int64V* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Tg5.exit": ; preds = %32, %.sink.split.i
  store i64 0, i64* %._storage.count._value, align 8
  br label %47

42:                                               ; preds = %29
  %43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %44 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %45 = bitcast %Ts28__ContiguousArrayStorageBaseC* %44 to i8*
  %46 = shl nuw i64 %16, 3
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %43, i8* nonnull align 8 %45, i64 %46, i1 false)
  br label %47

47:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Tg5.exit", %42
  %48 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %48) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
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 %45, label %11, !prof !6

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 !10
  %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") #18
  %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) #4
  %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 %40

33:                                               ; preds = %29
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 %16
  %35 = icmp ugt %Ts28__ContiguousArrayStorageBaseC* %34, %31
  %36 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %36, i1 %35, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSs_Tg5.exit", label %.sink.split.i

.sink.split.i:                                    ; 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 %"$sSp14moveInitialize4from5countySpyxG_SitFSs_Tg5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFSs_Tg5.exit": ; preds = %33, %.sink.split.i
  store i64 0, i64* %._storage.count._value, align 8
  br label %43

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

43:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSs_Tg5.exit", %40
  %44 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %44) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSays5Int64VG_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
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 %48, label %11, !prof !6

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 !10
  %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_ContiguousArrayStorageCySays5Int64VGGMD") #18
  %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) #4
  %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 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %33, label %42

33:                                               ; preds = %29
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSa*
  %35 = getelementptr inbounds %TSa, %TSa* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %TSa*
  %37 = icmp ugt %TSa* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSays5Int64VG_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFSays5Int64VG_Tg5.exit": ; preds = %33, %.sink.split.i
  store i64 0, i64* %._storage.count._value, align 8
  br label %46

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

46:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSays5Int64VG_Tg5.exit", %42
  %47 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %47) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFs5Int64V_Sit_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
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 %49, label %11, !prof !6

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 !10
  %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_ContiguousArrayStorageCys5Int64V_SitGMD") #18
  %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) #4
  %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
  br i1 %0, label %32, label %42

32:                                               ; preds = %29
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to <{ %Ts5Int64V, %TSi }>*
  %35 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to <{ %Ts5Int64V, %TSi }>*
  %37 = icmp ugt <{ %Ts5Int64V, %TSi }>* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit": ; preds = %32, %.sink.split.i
  store i64 0, i64* %._storage.count._value, align 8
  br label %47

42:                                               ; preds = %29
  %43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %44 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %45 = bitcast %Ts28__ContiguousArrayStorageBaseC* %44 to i8*
  %46 = shl nuw i64 %16, 4
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %43, i8* nonnull align 8 %45, i64 %46, i1 false)
  br label %47

47:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit", %42
  %48 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %48) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFs5Int64V_Sit_Tg5014$s7llvm_OZSbs5E18V_Sit_AC_SittXEfU_Tf1cn_n"(%TSrys5Int64V_SitG* nocapture dereferenceable(16) %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %.count._value = getelementptr inbounds %TSrys5Int64V_SitG, %TSrys5Int64V_SitG* %0, i64 0, i32 1, i32 0
  %3 = load i64, i64* %.count._value, align 8
  %4 = tail call swiftcc i64 @"$ss22_minimumMergeRunLengthyS2iF"(i64 %3)
  %5 = icmp slt i64 %4, %3
  br i1 %5, label %6, label %11

6:                                                ; preds = %entry
  %7 = sdiv i64 %3, 2
  %8 = icmp slt i64 %3, -1
  br i1 %8, label %316, label %9, !prof !6

9:                                                ; preds = %6
  %10 = icmp sgt i64 %3, 1
  br i1 %10, label %.thread246, label %19

11:                                               ; preds = %entry
  %12 = icmp slt i64 %3, 0
  br i1 %12, label %315, label %13, !prof !6

13:                                               ; preds = %11
  %14 = icmp eq i64 %3, 0
  br i1 %14, label %common.ret, label %313

.thread246:                                       ; preds = %9
  %15 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss5Int64V_SitMD") #18
  %16 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %7, %swift.type* %15)
  %._storage70.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %7, i64* %._storage70.count._value, align 8
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 1
  %18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %17 to i8*
  br label %.preheader153

19:                                               ; preds = %9
  %20 = icmp eq i64 %3, 1
  br i1 %20, label %.preheader153, label %..loopexit154_crit_edge

..loopexit154_crit_edge:                          ; preds = %19
  %.pre236 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !10
  br label %.loopexit154

.preheader153:                                    ; preds = %.thread246, %19
  %21 = phi i8* [ %18, %.thread246 ], [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %19 ]
  %22 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %.thread246 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %19 ]
  %23 = bitcast %TSrys5Int64V_SitG* %0 to i64*
  br label %24

24:                                               ; preds = %.preheader153, %.loopexit
  %25 = phi i64 [ %98, %.loopexit ], [ 0, %.preheader153 ]
  %26 = phi i64 [ %81, %.loopexit ], [ %3, %.preheader153 ]
  %27 = phi %Ts28__ContiguousArrayStorageBaseC* [ %117, %.loopexit ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.preheader153 ]
  %28 = add nsw i64 %25, 1
  %29 = icmp slt i64 %28, %26
  br i1 %29, label %30, label %.loopexit150

30:                                               ; preds = %24
  %31 = load i64, i64* %23, align 8
  %32 = inttoptr i64 %31 to <{ %Ts5Int64V, %TSi }>*
  %.elt58._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %28, i32 0, i32 0
  %33 = load i64, i64* %.elt58._value, align 8
  %.elt59._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %28, i32 1, i32 0
  %34 = load i64, i64* %.elt59._value, align 8
  %.elt60._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %25, i32 0, i32 0
  %35 = load i64, i64* %.elt60._value, align 8
  %.elt61._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %25, i32 1, i32 0
  %36 = load i64, i64* %.elt61._value, align 8
  %37 = icmp eq i64 %33, %35
  %38 = icmp slt i64 %35, %33
  %39 = icmp slt i64 %36, %34
  %40 = select i1 %37, i1 %39, i1 %38
  %41 = add nsw i64 %25, 2
  %42 = icmp slt i64 %41, %26
  br i1 %42, label %.preheader151, label %.loopexit152

.preheader151:                                    ; preds = %30, %53
  %43 = phi i64 [ %47, %53 ], [ %34, %30 ]
  %44 = phi i64 [ %46, %53 ], [ %33, %30 ]
  %45 = phi i64 [ %54, %53 ], [ %41, %30 ]
  %.elt66._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %45, i32 0, i32 0
  %46 = load i64, i64* %.elt66._value, align 8
  %.elt67._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %32, i64 %45, i32 1, i32 0
  %47 = load i64, i64* %.elt67._value, align 8
  %48 = icmp eq i64 %46, %44
  %49 = icmp slt i64 %44, %46
  %50 = icmp slt i64 %43, %47
  %51 = select i1 %48, i1 %50, i1 %49
  %52 = xor i1 %40, %51
  br i1 %52, label %.loopexit152, label %53

53:                                               ; preds = %.preheader151
  %54 = add nsw i64 %45, 1
  %55 = icmp slt i64 %54, %26
  br i1 %55, label %.preheader151, label %.loopexit152

.loopexit152:                                     ; preds = %53, %.preheader151, %30
  %56 = phi i64 [ %41, %30 ], [ %26, %53 ], [ %45, %.preheader151 ]
  br i1 %40, label %57, label %.loopexit150

57:                                               ; preds = %.loopexit152
  %58 = icmp slt i64 %56, %25
  br i1 %58, label %343, label %59, !prof !6

59:                                               ; preds = %57
  %60 = icmp slt i64 %25, %56
  br i1 %60, label %.preheader149, label %.loopexit150

.preheader149:                                    ; preds = %59, %77
  %61 = phi i64 [ %63, %77 ], [ %56, %59 ]
  %62 = phi i64 [ %78, %77 ], [ %25, %59 ]
  %63 = add nsw i64 %61, -1
  %64 = load i64, i64* %23, align 8
  %65 = icmp eq i64 %62, %63
  br i1 %65, label %77, label %66

66:                                               ; preds = %.preheader149
  %67 = icmp eq i64 %64, 0
  br i1 %67, label %344, label %68

68:                                               ; preds = %66
  %69 = inttoptr i64 %64 to <{ %Ts5Int64V, %TSi }>*
  %70 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %69, i64 %62
  %71 = bitcast <{ %Ts5Int64V, %TSi }>* %70 to i8*
  %72 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %69, i64 %63
  %73 = bitcast <{ %Ts5Int64V, %TSi }>* %72 to i8*
  %74 = bitcast <{ %Ts5Int64V, %TSi }>* %70 to <2 x i64>*
  %75 = load <2 x i64>, <2 x i64>* %74, align 8
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %71, i8* noundef nonnull align 8 dereferenceable(16) %73, i64 16, i1 false)
  %76 = bitcast <{ %Ts5Int64V, %TSi }>* %72 to <2 x i64>*
  store <2 x i64> %75, <2 x i64>* %76, align 8
  br label %77

77:                                               ; preds = %.preheader149, %68
  %78 = add nsw i64 %62, 1
  %79 = icmp slt i64 %78, %63
  br i1 %79, label %.preheader149, label %.loopexit150

.loopexit150:                                     ; preds = %77, %59, %.loopexit152, %24
  %80 = phi i64 [ %28, %24 ], [ %56, %.loopexit152 ], [ %56, %59 ], [ %56, %77 ]
  %81 = load i64, i64* %.count._value, align 8
  %82 = icmp slt i64 %80, %81
  br i1 %82, label %83, label %.loopexit148

83:                                               ; preds = %.loopexit150
  %84 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %80, i64 %25)
  %85 = extractvalue { i64, i1 } %84, 1
  br i1 %85, label %339, label %86, !prof !6

86:                                               ; preds = %83
  %87 = extractvalue { i64, i1 } %84, 0
  %88 = icmp slt i64 %87, %4
  br i1 %88, label %89, label %.loopexit148

89:                                               ; preds = %86
  %90 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %25, i64 %4)
  %91 = extractvalue { i64, i1 } %90, 1
  br i1 %91, label %340, label %92, !prof !6

92:                                               ; preds = %89
  %93 = extractvalue { i64, i1 } %90, 0
  %94 = tail call i64 @llvm.smin.i64(i64 %93, i64 %81)
  %95 = icmp slt i64 %94, %25
  br i1 %95, label %341, label %96, !prof !6

96:                                               ; preds = %92
  %97 = icmp eq i64 %80, %94
  br i1 %97, label %.loopexit148, label %.preheader

.loopexit148:                                     ; preds = %306, %96, %86, %.loopexit150
  %98 = phi i64 [ %80, %.loopexit150 ], [ %80, %86 ], [ %80, %96 ], [ %94, %306 ]
  %99 = icmp slt i64 %98, %25
  br i1 %99, label %322, label %100, !prof !6

100:                                              ; preds = %.loopexit148
  %101 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 0
  %102 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %101) #19
  br i1 %102, label %107, label %103

103:                                              ; preds = %100
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 1, i32 0, i32 0, i32 0
  %104 = load i64, i64* %._storage13.count._value, align 8, !range !10
  %105 = add nuw nsw i64 %104, 1
  %106 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %105, i1 true, %Ts28__ContiguousArrayStorageBaseC* %27)
  br label %107

107:                                              ; preds = %100, %103
  %108 = phi %Ts28__ContiguousArrayStorageBaseC* [ %106, %103 ], [ %27, %100 ]
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %108, i64 0, i32 1, i32 0, i32 0, i32 0
  %109 = load i64, i64* %._storage14.count._value, align 8, !range !10
  %._storage14._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %108, i64 0, i32 1, i32 0, i32 1, i32 0
  %110 = load i64, i64* %._storage14._capacityAndFlags._value, align 8
  %111 = lshr i64 %110, 1
  %112 = add nuw nsw i64 %109, 1
  %.not139 = icmp ugt i64 %111, %109
  br i1 %.not139, label %116, label %113, !prof !7

113:                                              ; preds = %107
  %114 = icmp ugt i64 %110, 1
  %115 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 %114, i64 %112, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %108)
  br label %116

116:                                              ; preds = %107, %113
  %117 = phi %Ts28__ContiguousArrayStorageBaseC* [ %115, %113 ], [ %108, %107 ]
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %117, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %112, i64* %._storage15.count._value, align 8
  %118 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %117, i64 1
  %tailaddr16 = bitcast %Ts28__ContiguousArrayStorageBaseC* %118 to %TSnySiG*
  %.lowerBound17._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %109, i32 0, i32 0
  store i64 %25, i64* %.lowerBound17._value, align 8
  %.upperBound18._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %109, i32 1, i32 0
  store i64 %98, i64* %.upperBound18._value, align 8
  %.not146 = icmp eq i64 %109, 0
  br i1 %.not146, label %.loopexit, label %thread-pre-split

thread-pre-split:                                 ; preds = %116
  %.lowerBound47._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %118 to i64*
  %119 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %117, i64 1, i32 0, i32 1
  %120 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %117, i64 1, i32 0, i32 1
  %.lowerBound40._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %118 to i64*
  br label %121

121:                                              ; preds = %thread-pre-split, %270
  %122 = phi i64 [ %112, %thread-pre-split ], [ %271, %270 ]
  %123 = add nsw i64 %122, -1
  %124 = icmp ult i64 %122, 4
  br i1 %124, label %152, label %125

125:                                              ; preds = %121
  %126 = add nsw i64 %122, -4
  %.lowerBound22._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %126, i32 0, i32 0
  %127 = load i64, i64* %.lowerBound22._value, align 8
  %.upperBound23._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %126, i32 1, i32 0
  %128 = load i64, i64* %.upperBound23._value, align 8
  %129 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %128, i64 %127)
  %130 = extractvalue { i64, i1 } %129, 0
  %131 = extractvalue { i64, i1 } %129, 1
  br i1 %131, label %323, label %132, !prof !6

132:                                              ; preds = %125
  %133 = add nsw i64 %122, -3
  %.lowerBound24._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %133, i32 0, i32 0
  %134 = load i64, i64* %.lowerBound24._value, align 8
  %.upperBound25._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %133, i32 1, i32 0
  %135 = load i64, i64* %.upperBound25._value, align 8
  %136 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %135, i64 %134)
  %137 = extractvalue { i64, i1 } %136, 0
  %138 = extractvalue { i64, i1 } %136, 1
  br i1 %138, label %324, label %139, !prof !6

139:                                              ; preds = %132
  %140 = add nsw i64 %122, -2
  %.lowerBound26._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 0, i32 0
  %141 = load i64, i64* %.lowerBound26._value, align 8
  %.upperBound27._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 1, i32 0
  %142 = load i64, i64* %.upperBound27._value, align 8
  %143 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %142, i64 %141)
  %144 = extractvalue { i64, i1 } %143, 1
  br i1 %144, label %325, label %145, !prof !6

145:                                              ; preds = %139
  %146 = extractvalue { i64, i1 } %143, 0
  %147 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %137, i64 %146)
  %148 = extractvalue { i64, i1 } %147, 1
  br i1 %148, label %326, label %149, !prof !6

149:                                              ; preds = %145
  %150 = extractvalue { i64, i1 } %147, 0
  %151 = icmp slt i64 %150, %130
  br i1 %151, label %.thread, label %280

152:                                              ; preds = %121
  %.not147 = icmp eq i64 %122, 3
  br i1 %.not147, label %..thread_crit_edge, label %._crit_edge

..thread_crit_edge:                               ; preds = %152
  %.pre233 = load i64, i64* %120, align 8
  %.pre = load i64, i64* %.lowerBound40._value.phi.trans.insert, align 8
  %.pre237 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre233, i64 %.pre)
  %.pre239 = extractvalue { i64, i1 } %.pre237, 0
  br label %.thread

.thread:                                          ; preds = %..thread_crit_edge, %149
  %.pre-phi240 = phi i64 [ %.pre239, %..thread_crit_edge ], [ %137, %149 ]
  %.pre-phi238 = phi { i64, i1 } [ %.pre237, %..thread_crit_edge ], [ %136, %149 ]
  %153 = extractvalue { i64, i1 } %.pre-phi238, 1
  br i1 %153, label %333, label %154, !prof !6

154:                                              ; preds = %.thread
  %155 = add nsw i64 %122, -2
  %.lowerBound42._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %155, i32 0, i32 0
  %156 = load i64, i64* %.lowerBound42._value, align 8
  %.upperBound43._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %155, i32 1, i32 0
  %157 = load i64, i64* %.upperBound43._value, align 8
  %158 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %157, i64 %156)
  %159 = extractvalue { i64, i1 } %158, 0
  %160 = extractvalue { i64, i1 } %158, 1
  br i1 %160, label %334, label %161, !prof !6

161:                                              ; preds = %154
  %.lowerBound44._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 0, i32 0
  %162 = load i64, i64* %.lowerBound44._value, align 8
  %.upperBound45._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 1, i32 0
  %163 = load i64, i64* %.upperBound45._value, align 8
  %164 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %163, i64 %162)
  %165 = extractvalue { i64, i1 } %164, 0
  %166 = extractvalue { i64, i1 } %164, 1
  br i1 %166, label %335, label %167, !prof !6

167:                                              ; preds = %161
  %168 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %159, i64 %165)
  %169 = extractvalue { i64, i1 } %168, 1
  br i1 %169, label %336, label %170, !prof !6

170:                                              ; preds = %167
  %171 = extractvalue { i64, i1 } %168, 0
  %172 = icmp slt i64 %171, %.pre-phi240
  br i1 %172, label %.thread145, label %278

._crit_edge:                                      ; preds = %152
  %.pre234 = load i64, i64* %.lowerBound47._value.phi.trans.insert, align 8
  %.pre235 = load i64, i64* %119, align 8
  %.pre241 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre235, i64 %.pre234)
  %.pre243 = extractvalue { i64, i1 } %.pre241, 0
  br label %.thread145

.thread145:                                       ; preds = %170, %._crit_edge
  %.pre-phi244 = phi i64 [ %.pre243, %._crit_edge ], [ %159, %170 ]
  %.pre-phi242 = phi { i64, i1 } [ %.pre241, %._crit_edge ], [ %158, %170 ]
  %173 = extractvalue { i64, i1 } %.pre-phi242, 1
  br i1 %173, label %337, label %174, !prof !6

174:                                              ; preds = %.thread145
  %.lowerBound49._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 0, i32 0
  %175 = load i64, i64* %.lowerBound49._value, align 8
  %.upperBound50._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 1, i32 0
  %176 = load i64, i64* %.upperBound50._value, align 8
  %177 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %176, i64 %175)
  %178 = extractvalue { i64, i1 } %177, 1
  br i1 %178, label %338, label %179, !prof !6

179:                                              ; preds = %174
  %180 = extractvalue { i64, i1 } %177, 0
  %181 = icmp slt i64 %180, %.pre-phi244
  br i1 %181, label %.loopexit, label %244

.loopexit:                                        ; preds = %270, %179, %116
  %182 = phi i64 [ 1, %116 ], [ %271, %270 ], [ %122, %179 ]
  %183 = icmp slt i64 %98, %81
  br i1 %183, label %24, label %.loopexit154

.loopexit154:                                     ; preds = %.loopexit, %..loopexit154_crit_edge
  %184 = phi i8* [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %..loopexit154_crit_edge ], [ %21, %.loopexit ]
  %185 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit154_crit_edge ], [ %22, %.loopexit ]
  %186 = phi i64 [ %.pre236, %..loopexit154_crit_edge ], [ %182, %.loopexit ]
  %187 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit154_crit_edge ], [ %117, %.loopexit ]
  %188 = icmp ugt i64 %186, 1
  br i1 %188, label %189, label %.loopexit288

189:                                              ; preds = %.loopexit154
  %190 = bitcast %TSrys5Int64V_SitG* %0 to i64*
  %191 = load i64, i64* %190, align 8
  %192 = icmp eq i64 %191, 0
  %193 = inttoptr i64 %191 to <{ %Ts5Int64V, %TSi }>*
  br label %194

194:                                              ; preds = %227, %189
  %195 = phi i64 [ %186, %189 ], [ %228, %227 ]
  %196 = phi %Ts28__ContiguousArrayStorageBaseC* [ %187, %189 ], [ %222, %227 ]
  %197 = add nsw i64 %195, -1
  %198 = add nsw i64 %195, -2
  %199 = icmp ult i64 %195, 2
  br i1 %199, label %317, label %200, !prof !6

200:                                              ; preds = %194
  %201 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %196, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %201 to %TSnySiG*
  %.lowerBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %198, i32 0, i32 0
  %202 = load i64, i64* %.lowerBound._value, align 8
  %.upperBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %197, i32 1, i32 0
  %203 = load i64, i64* %.upperBound._value, align 8
  br i1 %192, label %318, label %204

204:                                              ; preds = %200
  %.lowerBound4._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %197, i32 0, i32 0
  %205 = load i64, i64* %.lowerBound4._value, align 8
  %206 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %193, i64 %202
  %207 = bitcast <{ %Ts5Int64V, %TSi }>* %206 to i8*
  %208 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %193, i64 %205
  %209 = bitcast <{ %Ts5Int64V, %TSi }>* %208 to i8*
  %210 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %193, i64 %203
  %211 = bitcast <{ %Ts5Int64V, %TSi }>* %210 to i8*
  %212 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFs5Int64V_Sit_Tg5014$s7llvm_OZSbs5G18V_Sit_AC_SittXEfU_Tf1nnnnc_n"(i8* nonnull %207, i8* nonnull %209, i8* nonnull %211, i8* nonnull %184, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %213 = load %swift.error*, %swift.error** %2, align 8
  %.not136 = icmp eq %swift.error* %213, null
  br i1 %.not136, label %214, label %.loopexit287

214:                                              ; preds = %204
  %215 = icmp slt i64 %203, %202
  br i1 %215, label %319, label %216, !prof !6

216:                                              ; preds = %214
  %217 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %196, i64 0, i32 0
  %218 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %217) #19
  br i1 %218, label %221, label %219

219:                                              ; preds = %216
  %220 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %196)
  br label %221

221:                                              ; preds = %216, %219
  %222 = phi %Ts28__ContiguousArrayStorageBaseC* [ %220, %219 ], [ %196, %216 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %222, i64 0, i32 1, i32 0, i32 0, i32 0
  %223 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not137 = icmp ult i64 %198, %223
  br i1 %.not137, label %224, label %320, !prof !7

224:                                              ; preds = %221
  %225 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %222, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %225 to %TSnySiG*
  %.lowerBound8._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %198, i32 0, i32 0
  store i64 %202, i64* %.lowerBound8._value, align 8
  %.upperBound9._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %198, i32 1, i32 0
  store i64 %203, i64* %.upperBound9._value, align 8
  %226 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not138 = icmp ugt i64 %195, %226
  br i1 %.not138, label %321, label %227, !prof !6

227:                                              ; preds = %224
  %228 = add nsw i64 %226, -1
  %229 = sub nsw i64 %228, %197
  %230 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %195
  %231 = bitcast %TSnySiG* %230 to i8*
  %232 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %197
  %233 = bitcast %TSnySiG* %232 to i8*
  %234 = shl nuw i64 %229, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %233, i8* nonnull align 8 %231, i64 %234, i1 false)
  store i64 %228, i64* %._storage6.count._value, align 8
  %235 = icmp ugt i64 %226, 2
  br i1 %235, label %194, label %.loopexit288

.loopexit288:                                     ; preds = %227, %.loopexit154
  %.lcssa261.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %187, %.loopexit154 ], [ %222, %227 ]
  %236 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa261.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %236) #4
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage1.count._value, align 8
  %237 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %237) #4
  br label %common.ret

common.ret:                                       ; preds = %313, %13, %.loopexit288, %242
  ret void

.loopexit287:                                     ; preds = %253, %204
  %.lcssa280.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %196, %204 ], [ %117, %253 ]
  %238 = phi %Ts28__ContiguousArrayStorageBaseC* [ %185, %204 ], [ %22, %253 ]
  %239 = phi %swift.error* [ %213, %204 ], [ %263, %253 ]
  %240 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa280.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %240) #4
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage5.count._value, align 8
  %241 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %241) #4
  br label %242

242:                                              ; preds = %313, %.loopexit287
  %243 = phi %swift.error* [ %239, %.loopexit287 ], [ %314, %313 ]
  store %swift.error* %243, %swift.error** %2, align 8
  br label %common.ret

244:                                              ; preds = %285, %278, %179
  %245 = phi i64 [ %123, %179 ], [ %.71, %278 ], [ %.72, %285 ]
  %246 = add nsw i64 %245, -1
  %.not140 = icmp ult i64 %246, %122
  br i1 %.not140, label %247, label %328, !prof !7

247:                                              ; preds = %244
  %.lowerBound31._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %246, i32 0, i32 0
  %248 = load i64, i64* %.lowerBound31._value, align 8
  %249 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %245
  %.upperBound33._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %245, i32 1, i32 0
  %250 = load i64, i64* %.upperBound33._value, align 8
  %251 = load i64, i64* %23, align 8
  %252 = icmp eq i64 %251, 0
  br i1 %252, label %329, label %253

253:                                              ; preds = %247
  %.lowerBound32._value = getelementptr inbounds %TSnySiG, %TSnySiG* %249, i64 0, i32 0, i32 0
  %254 = load i64, i64* %.lowerBound32._value, align 8
  %255 = inttoptr i64 %251 to <{ %Ts5Int64V, %TSi }>*
  %256 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %255, i64 %248
  %257 = bitcast <{ %Ts5Int64V, %TSi }>* %256 to i8*
  %258 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %255, i64 %254
  %259 = bitcast <{ %Ts5Int64V, %TSi }>* %258 to i8*
  %260 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %255, i64 %250
  %261 = bitcast <{ %Ts5Int64V, %TSi }>* %260 to i8*
  %262 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFs5Int64V_Sit_Tg5014$s7llvm_OZSbs5G18V_Sit_AC_SittXEfU_Tf1nnnnc_n"(i8* nonnull %257, i8* nonnull %259, i8* nonnull %261, i8* nonnull %21, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %263 = load %swift.error*, %swift.error** %2, align 8
  %.not142 = icmp eq %swift.error* %263, null
  br i1 %.not142, label %264, label %.loopexit287

264:                                              ; preds = %253
  %265 = icmp slt i64 %250, %248
  br i1 %265, label %330, label %266, !prof !6

266:                                              ; preds = %264
  %267 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not143 = icmp ult i64 %246, %267
  br i1 %.not143, label %268, label %331, !prof !7

268:                                              ; preds = %266
  store i64 %248, i64* %.lowerBound31._value, align 8
  %.upperBound37._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %246, i32 1, i32 0
  store i64 %250, i64* %.upperBound37._value, align 8
  %269 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not144 = icmp ult i64 %245, %269
  br i1 %.not144, label %270, label %332, !prof !7

270:                                              ; preds = %268
  %271 = add nsw i64 %269, -1
  %272 = sub nsw i64 %271, %245
  %273 = getelementptr inbounds %TSnySiG, %TSnySiG* %249, i64 1
  %274 = bitcast %TSnySiG* %273 to i8*
  %275 = bitcast %TSnySiG* %249 to i8*
  %276 = shl nuw i64 %272, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %275, i8* nonnull align 8 %274, i64 %276, i1 false)
  store i64 %271, i64* %._storage15.count._value, align 8
  %277 = icmp ugt i64 %269, 2
  br i1 %277, label %121, label %.loopexit

278:                                              ; preds = %170
  %279 = icmp slt i64 %.pre-phi240, %165
  %.71 = select i1 %279, i64 %155, i64 %123
  br label %244

280:                                              ; preds = %149
  %.lowerBound28._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 0, i32 0
  %281 = load i64, i64* %.lowerBound28._value, align 8
  %.upperBound29._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 1, i32 0
  %282 = load i64, i64* %.upperBound29._value, align 8
  %283 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %282, i64 %281)
  %284 = extractvalue { i64, i1 } %283, 1
  br i1 %284, label %327, label %285, !prof !6

285:                                              ; preds = %280
  %286 = extractvalue { i64, i1 } %283, 0
  %287 = icmp slt i64 %137, %286
  %.72 = select i1 %287, i64 %140, i64 %123
  br label %244

.preheader:                                       ; preds = %96, %306
  %288 = phi i64 [ %307, %306 ], [ %80, %96 ]
  br label %289

289:                                              ; preds = %309, %.preheader
  %290 = phi i64 [ %288, %.preheader ], [ %291, %309 ]
  %291 = add i64 %290, -1
  %292 = load i64, i64* %23, align 8
  %293 = inttoptr i64 %292 to <{ %Ts5Int64V, %TSi }>*
  %294 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %293, i64 %290
  %.elt._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %294, i64 0, i32 0, i32 0
  %295 = load i64, i64* %.elt._value, align 8
  %.elt51._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %293, i64 %290, i32 1, i32 0
  %296 = load i64, i64* %.elt51._value, align 8
  %297 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %293, i64 %291
  %.elt52._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %297, i64 0, i32 0, i32 0
  %298 = load i64, i64* %.elt52._value, align 8
  %.elt53._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %293, i64 %291, i32 1, i32 0
  %299 = load i64, i64* %.elt53._value, align 8
  %300 = icmp eq i64 %295, %298
  %301 = icmp slt i64 %298, %295
  %302 = icmp slt i64 %299, %296
  %303 = select i1 %300, i1 %302, i1 %301
  br i1 %303, label %304, label %306

304:                                              ; preds = %289
  %305 = icmp eq i64 %292, 0
  br i1 %305, label %342, label %309

306:                                              ; preds = %309, %289
  %307 = add i64 %288, 1
  %308 = icmp eq i64 %307, %94
  br i1 %308, label %.loopexit148, label %.preheader

309:                                              ; preds = %304
  %310 = bitcast <{ %Ts5Int64V, %TSi }>* %297 to i8*
  %311 = bitcast <{ %Ts5Int64V, %TSi }>* %294 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %311, i8* noundef nonnull align 8 dereferenceable(16) %310, i64 16, i1 false)
  store i64 %295, i64* %.elt52._value, align 8
  store i64 %296, i64* %.elt53._value, align 8
  %312 = icmp eq i64 %291, %25
  br i1 %312, label %306, label %289

313:                                              ; preds = %13
  tail call swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrys5Int64V_SitG_Tg5014$s7llvm_OZSbs5I18V_Sit_AC_SittXEfU_Tf1nncn_n"(i64 0, i64 %3, i64 1, %TSrys5Int64V_SitG* nocapture nonnull dereferenceable(16) %0, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %314 = load %swift.error*, %swift.error** %2, align 8
  %.not = icmp eq %swift.error* %314, null
  br i1 %.not, label %common.ret, label %242

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

316:                                              ; preds = %6
  tail call void asm sideeffect "", "n"(i32 1) #4
  tail call void @llvm.trap()
  unreachable

317:                                              ; preds = %194
  tail call void asm sideeffect "", "n"(i32 4) #4
  tail call void @llvm.trap()
  unreachable

318:                                              ; preds = %200
  tail call void asm sideeffect "", "n"(i32 6) #4
  tail call void @llvm.trap()
  unreachable

319:                                              ; preds = %214
  tail call void asm sideeffect "", "n"(i32 7) #4
  tail call void @llvm.trap()
  unreachable

320:                                              ; preds = %221
  tail call void asm sideeffect "", "n"(i32 8) #4
  tail call void @llvm.trap()
  unreachable

321:                                              ; preds = %224
  tail call void asm sideeffect "", "n"(i32 9) #4
  tail call void @llvm.trap()
  unreachable

322:                                              ; preds = %.loopexit148
  tail call void asm sideeffect "", "n"(i32 12) #4
  tail call void @llvm.trap()
  unreachable

323:                                              ; preds = %125
  tail call void asm sideeffect "", "n"(i32 15) #4
  tail call void @llvm.trap()
  unreachable

324:                                              ; preds = %132
  tail call void asm sideeffect "", "n"(i32 17) #4
  tail call void @llvm.trap()
  unreachable

325:                                              ; preds = %139
  tail call void asm sideeffect "", "n"(i32 19) #4
  tail call void @llvm.trap()
  unreachable

326:                                              ; preds = %145
  tail call void asm sideeffect "", "n"(i32 20) #4
  tail call void @llvm.trap()
  unreachable

327:                                              ; preds = %280
  tail call void asm sideeffect "", "n"(i32 23) #4
  tail call void @llvm.trap()
  unreachable

328:                                              ; preds = %244
  tail call void asm sideeffect "", "n"(i32 25) #4
  tail call void @llvm.trap()
  unreachable

329:                                              ; preds = %247
  tail call void asm sideeffect "", "n"(i32 27) #4
  tail call void @llvm.trap()
  unreachable

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

331:                                              ; preds = %266
  tail call void asm sideeffect "", "n"(i32 29) #4
  tail call void @llvm.trap()
  unreachable

332:                                              ; preds = %268
  tail call void asm sideeffect "", "n"(i32 30) #4
  tail call void @llvm.trap()
  unreachable

333:                                              ; preds = %.thread
  tail call void asm sideeffect "", "n"(i32 34) #4
  tail call void @llvm.trap()
  unreachable

334:                                              ; preds = %154
  tail call void asm sideeffect "", "n"(i32 36) #4
  tail call void @llvm.trap()
  unreachable

335:                                              ; preds = %161
  tail call void asm sideeffect "", "n"(i32 38) #4
  tail call void @llvm.trap()
  unreachable

336:                                              ; preds = %167
  tail call void asm sideeffect "", "n"(i32 39) #4
  tail call void @llvm.trap()
  unreachable

337:                                              ; preds = %.thread145
  tail call void asm sideeffect "", "n"(i32 44) #4
  tail call void @llvm.trap()
  unreachable

338:                                              ; preds = %174
  tail call void asm sideeffect "", "n"(i32 46) #4
  tail call void @llvm.trap()
  unreachable

339:                                              ; preds = %83
  tail call void asm sideeffect "", "n"(i32 47) #4
  tail call void @llvm.trap()
  unreachable

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

341:                                              ; preds = %92
  tail call void asm sideeffect "", "n"(i32 49) #4
  tail call void @llvm.trap()
  unreachable

342:                                              ; preds = %304
  tail call void asm sideeffect "", "n"(i32 50) #4
  tail call void @llvm.trap()
  unreachable

343:                                              ; preds = %57
  tail call void asm sideeffect "", "n"(i32 51) #4
  tail call void @llvm.trap()
  unreachable

344:                                              ; preds = %66
  tail call void asm sideeffect "", "n"(i32 52) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
declare swiftcc i64 @"$ss22_minimumMergeRunLengthyS2iF"(i64) local_unnamed_addr #0

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrys5Int64V_SitG_Tg5014$s7llvm_OZSbs5I18V_Sit_AC_SittXEfU_Tf1nncn_n"(i64 %0, i64 %1, i64 %2, %TSrys5Int64V_SitG* nocapture dereferenceable(16) %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = icmp eq i64 %2, %1
  br i1 %6, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %entry
  %7 = bitcast %TSrys5Int64V_SitG* %3 to i64*
  br label %8

.loopexit:                                        ; preds = %27, %entry
  ret void

8:                                                ; preds = %.preheader, %27
  %9 = phi i64 [ %28, %27 ], [ %2, %.preheader ]
  br label %10

10:                                               ; preds = %30, %8
  %11 = phi i64 [ %9, %8 ], [ %12, %30 ]
  %12 = add i64 %11, -1
  %13 = load i64, i64* %7, align 8
  %14 = inttoptr i64 %13 to <{ %Ts5Int64V, %TSi }>*
  %15 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %14, i64 %11
  %.elt._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %15, i64 0, i32 0, i32 0
  %16 = load i64, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %14, i64 %11, i32 1, i32 0
  %17 = load i64, i64* %.elt1._value, align 8
  %18 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %14, i64 %12
  %.elt2._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %18, i64 0, i32 0, i32 0
  %19 = load i64, i64* %.elt2._value, align 8
  %.elt3._value = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %14, i64 %12, i32 1, i32 0
  %20 = load i64, i64* %.elt3._value, align 8
  %21 = icmp eq i64 %16, %19
  %22 = icmp slt i64 %19, %16
  %23 = icmp slt i64 %20, %17
  %24 = select i1 %21, i1 %23, i1 %22
  br i1 %24, label %25, label %27

25:                                               ; preds = %10
  %26 = icmp eq i64 %13, 0
  br i1 %26, label %34, label %30

27:                                               ; preds = %30, %10
  %28 = add i64 %9, 1
  %29 = icmp eq i64 %28, %1
  br i1 %29, label %.loopexit, label %8

30:                                               ; preds = %25
  %31 = bitcast <{ %Ts5Int64V, %TSi }>* %18 to i8*
  %32 = bitcast <{ %Ts5Int64V, %TSi }>* %15 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %32, i8* noundef nonnull align 8 dereferenceable(16) %31, i64 16, i1 false)
  store i64 %16, i64* %.elt2._value, align 8
  store i64 %17, i64* %.elt3._value, align 8
  %33 = icmp eq i64 %12, %0
  br i1 %33, label %27, label %10

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFs5Int64V_Sit_Tg5014$s7llvm_OZSbs5G18V_Sit_AC_SittXEfU_Tf1nnnnc_n"(i8* %0, i8* %1, i8* %2, i8* %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = ptrtoint i8* %1 to i64
  %7 = ptrtoint i8* %0 to i64
  %8 = sub i64 %6, %7
  %9 = sdiv i64 %8, 16
  %10 = ptrtoint i8* %2 to i64
  %11 = sub i64 %10, %6
  %12 = sdiv i64 %11, 16
  %13 = icmp slt i64 %9, %12
  br i1 %13, label %14, label %26

14:                                               ; preds = %entry
  %15 = bitcast i8* %0 to <{ %Ts5Int64V, %TSi }>*
  %16 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %15, i64 %9
  %17 = bitcast <{ %Ts5Int64V, %TSi }>* %16 to i8*
  %18 = icmp ugt i8* %17, %3
  %19 = icmp eq i8* %3, %0
  %or.cond5.i = select i1 %19, i1 %18, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit", label %.sink.split.i

.sink.split.i:                                    ; preds = %14
  %20 = shl nuw nsw i64 %9, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %0, i64 %20, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit": ; preds = %14, %.sink.split.i
  %21 = bitcast i8* %3 to <{ %Ts5Int64V, %TSi }>*
  %22 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %21, i64 %9
  %23 = bitcast <{ %Ts5Int64V, %TSi }>* %22 to i8*
  %24 = icmp ugt i8* %23, %3
  %25 = icmp ult i8* %1, %2
  %or.cond = select i1 %24, i1 %25, i1 false
  br i1 %or.cond, label %.preheader, label %.loopexit

26:                                               ; preds = %entry
  %27 = bitcast i8* %1 to <{ %Ts5Int64V, %TSi }>*
  %28 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %27, i64 %12
  %29 = bitcast <{ %Ts5Int64V, %TSi }>* %28 to i8*
  %30 = icmp ugt i8* %29, %3
  %31 = icmp eq i8* %3, %1
  %or.cond5.i38 = select i1 %31, i1 %30, i1 false
  br i1 %or.cond5.i38, label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40", label %.sink.split.i39

.sink.split.i39:                                  ; preds = %26
  %32 = shl nuw nsw i64 %12, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %1, i64 %32, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40"

"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40": ; preds = %26, %.sink.split.i39
  %33 = bitcast i8* %3 to <{ %Ts5Int64V, %TSi }>*
  %34 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %33, i64 %12
  %35 = bitcast <{ %Ts5Int64V, %TSi }>* %34 to i8*
  %36 = icmp ugt i8* %35, %3
  %37 = icmp ult i8* %0, %1
  %or.cond15 = select i1 %36, i1 %37, i1 false
  br i1 %or.cond15, label %.preheader44, label %.loopexit

.preheader:                                       ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit", %57
  %38 = phi i8* [ %58, %57 ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ]
  %39 = phi i8* [ %60, %57 ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ]
  %40 = phi i8* [ %59, %57 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ]
  %.elt4._value = bitcast i8* %40 to i64*
  %41 = load i64, i64* %.elt4._value, align 8
  %.elt5 = getelementptr inbounds i8, i8* %40, i64 8
  %.elt5._value = bitcast i8* %.elt5 to i64*
  %42 = load i64, i64* %.elt5._value, align 8
  %.elt6._value = bitcast i8* %38 to i64*
  %43 = load i64, i64* %.elt6._value, align 8
  %.elt7 = getelementptr inbounds i8, i8* %38, i64 8
  %.elt7._value = bitcast i8* %.elt7 to i64*
  %44 = load i64, i64* %.elt7._value, align 8
  %45 = icmp eq i64 %41, %43
  %46 = icmp slt i64 %43, %41
  %47 = icmp slt i64 %44, %42
  %48 = select i1 %45, i1 %47, i1 %46
  br i1 %48, label %49, label %53

49:                                               ; preds = %.preheader
  %50 = getelementptr inbounds i8, i8* %40, i64 16
  %51 = icmp ult i8* %39, %50
  %52 = icmp eq i8* %39, %40
  %or.cond62 = select i1 %52, i1 %51, i1 false
  br i1 %or.cond62, label %57, label %.sink.split

53:                                               ; preds = %.preheader
  %54 = getelementptr inbounds i8, i8* %38, i64 16
  %55 = icmp ult i8* %39, %54
  %56 = icmp eq i8* %39, %38
  %or.cond63 = select i1 %56, i1 %55, i1 false
  br i1 %or.cond63, label %57, label %.sink.split

.sink.split:                                      ; preds = %49, %53
  %.sink = phi i8* [ %38, %53 ], [ %40, %49 ]
  %.ph = phi i8* [ %54, %53 ], [ %38, %49 ]
  %.ph57 = phi i8* [ %40, %53 ], [ %50, %49 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %39, i8* noundef nonnull align 8 dereferenceable(16) %.sink, i64 16, i1 false)
  br label %57

57:                                               ; preds = %53, %49, %.sink.split
  %58 = phi i8* [ %.ph, %.sink.split ], [ %38, %49 ], [ %54, %53 ]
  %59 = phi i8* [ %.ph57, %.sink.split ], [ %50, %49 ], [ %40, %53 ]
  %60 = getelementptr inbounds i8, i8* %39, i64 16
  %61 = icmp ult i8* %58, %23
  %62 = icmp ult i8* %59, %2
  %or.cond11 = select i1 %61, i1 %62, i1 false
  br i1 %or.cond11, label %.preheader, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %57
  %.pre = bitcast i8* %58 to <{ %Ts5Int64V, %TSi }>*
  br label %.loopexit

.loopexit:                                        ; preds = %95, %.loopexit.loopexit, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40", %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit"
  %.pre-phi = phi <{ %Ts5Int64V, %TSi }>* [ %.pre, %.loopexit.loopexit ], [ %33, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ], [ %21, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ], [ %33, %95 ]
  %63 = phi i8* [ %23, %.loopexit.loopexit ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ], [ %23, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ], [ %96, %95 ]
  %64 = phi i8* [ %58, %.loopexit.loopexit ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ], [ %3, %95 ]
  %65 = phi i8* [ %60, %.loopexit.loopexit ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit" ], [ %97, %95 ]
  %66 = ptrtoint i8* %63 to i64
  %67 = ptrtoint i8* %64 to i64
  %68 = sub i64 %66, %67
  %69 = sdiv i64 %68, 16
  %70 = getelementptr inbounds <{ %Ts5Int64V, %TSi }>, <{ %Ts5Int64V, %TSi }>* %.pre-phi, i64 %69
  %71 = bitcast <{ %Ts5Int64V, %TSi }>* %70 to i8*
  %72 = icmp ult i8* %65, %71
  %73 = icmp eq i8* %65, %64
  %or.cond5.i41 = select i1 %73, i1 %72, i1 false
  br i1 %or.cond5.i41, label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit43", label %.sink.split.i42

.sink.split.i42:                                  ; preds = %.loopexit
  %74 = shl nuw nsw i64 %69, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %65, i8* align 8 %64, i64 %74, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit43"

"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit43": ; preds = %.loopexit, %.sink.split.i42
  ret i1 true

.preheader44:                                     ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40", %95
  %75 = phi i8* [ %88, %95 ], [ %2, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ]
  %76 = phi i8* [ %96, %95 ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ]
  %77 = phi i8* [ %97, %95 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFs5Int64V_Sit_Tg5.exit40" ]
  %78 = getelementptr inbounds i8, i8* %76, i64 -16
  %.elt._value = bitcast i8* %78 to i64*
  %79 = load i64, i64* %.elt._value, align 8
  %.elt1 = getelementptr inbounds i8, i8* %76, i64 -8
  %.elt1._value = bitcast i8* %.elt1 to i64*
  %80 = load i64, i64* %.elt1._value, align 8
  %81 = getelementptr inbounds i8, i8* %77, i64 -16
  %.elt2._value = bitcast i8* %81 to i64*
  %82 = load i64, i64* %.elt2._value, align 8
  %.elt3 = getelementptr inbounds i8, i8* %77, i64 -8
  %.elt3._value = bitcast i8* %.elt3 to i64*
  %83 = load i64, i64* %.elt3._value, align 8
  %84 = icmp eq i64 %79, %82
  %85 = icmp slt i64 %82, %79
  %86 = icmp slt i64 %83, %80
  %87 = select i1 %84, i1 %86, i1 %85
  %88 = getelementptr inbounds i8, i8* %75, i64 -16
  br i1 %87, label %89, label %92

89:                                               ; preds = %.preheader44
  %90 = icmp ult i8* %88, %77
  %91 = icmp eq i8* %75, %77
  %or.cond64 = select i1 %91, i1 %90, i1 false
  br i1 %or.cond64, label %95, label %.sink.split58

92:                                               ; preds = %.preheader44
  %93 = icmp ult i8* %88, %76
  %94 = icmp eq i8* %75, %76
  %or.cond65 = select i1 %94, i1 %93, i1 false
  br i1 %or.cond65, label %95, label %.sink.split58

.sink.split58:                                    ; preds = %89, %92
  %.sink61 = phi i8* [ %78, %92 ], [ %81, %89 ]
  %.ph59 = phi i8* [ %78, %92 ], [ %76, %89 ]
  %.ph60 = phi i8* [ %77, %92 ], [ %81, %89 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %88, i8* noundef nonnull align 8 dereferenceable(16) %.sink61, i64 16, i1 false)
  br label %95

95:                                               ; preds = %92, %89, %.sink.split58
  %96 = phi i8* [ %.ph59, %.sink.split58 ], [ %76, %89 ], [ %78, %92 ]
  %97 = phi i8* [ %.ph60, %.sink.split58 ], [ %81, %89 ], [ %77, %92 ]
  %98 = icmp ugt i8* %96, %3
  %99 = icmp ugt i8* %97, %0
  %or.cond19 = select i1 %98, i1 %99, i1 false
  br i1 %or.cond19, label %.preheader44, label %.loopexit
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
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 %49, label %11, !prof !6

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

14:                                               ; preds = %11, %4, %entry
  %15 = phi i64 [ %1, %entry ], [ %6, %4 ], [ %13, %11 ]
  %._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 !10
  %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_ContiguousArrayStorageCySnySiGGMD") #18
  %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) #4
  %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
  br i1 %0, label %37, label %32

32:                                               ; preds = %29
  %33 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %35 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to i8*
  %36 = shl nuw i64 %16, 4
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %33, i8* nonnull align 8 %35, i64 %36, i1 false)
  br label %47

37:                                               ; preds = %29
  %38 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %39 = bitcast %Ts28__ContiguousArrayStorageBaseC* %38 to %TSnySiG*
  %40 = getelementptr inbounds %TSnySiG, %TSnySiG* %39, i64 %16
  %41 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %TSnySiG*
  %42 = icmp ugt %TSnySiG* %40, %41
  %43 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %43, i1 %42, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSnySiG_Tgq5.exit", label %.sink.split.i

.sink.split.i:                                    ; preds = %37
  %44 = bitcast %Ts28__ContiguousArrayStorageBaseC* %38 to i8*
  %45 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %46 = shl nuw i64 %16, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %45, i8* nonnull align 8 %44, i64 %46, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSnySiG_Tgq5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFSnySiG_Tgq5.exit": ; preds = %37, %.sink.split.i
  store i64 0, i64* %._storage.count._value, align 8
  br label %47

47:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSnySiG_Tgq5.exit", %32
  %48 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %48) #4
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #3 {
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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSs_Tg5"(%TSa* nocapture swiftself dereferenceable(8) %0) local_unnamed_addr #0 {
entry:
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %0, i64 0, i32 0, i32 0
  %1 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %2 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 0
  %3 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %2) #19
  store %Ts28__ContiguousArrayStorageBaseC* %1, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %3, label %8, label %4

4:                                                ; preds = %entry
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 1, i32 0, i32 0, i32 0
  %5 = load i64, i64* %._storage.count._value, align 8, !range !10
  %6 = add nuw nsw i64 %5, 1
  %7 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %6, i1 true, %Ts28__ContiguousArrayStorageBaseC* %1)
  store %Ts28__ContiguousArrayStorageBaseC* %7, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %8

8:                                                ; preds = %entry, %4
  ret void
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSa36_reserveCapacityAssumingUniqueBuffer8oldCountySi_tFSs_Tg5"(i64 %0, %TSa* nocapture swiftself dereferenceable(8) %1) local_unnamed_addr #0 {
entry:
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  %2 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 0, i32 1, i32 0, i32 1, i32 0
  %3 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %4 = lshr i64 %3, 1
  %5 = add i64 %0, 1
  %6 = icmp slt i64 %4, %5
  br i1 %6, label %7, label %10, !prof !6

7:                                                ; preds = %entry
  %8 = icmp ugt i64 %3, 1
  %9 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %8, i64 %5, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %2)
  store %Ts28__ContiguousArrayStorageBaseC* %9, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %10

10:                                               ; preds = %entry, %7
  ret void
}

; Function Attrs: minsize optsize
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 !6

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 !6

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 !9

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 !9

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 !6

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 !9

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

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 !6

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

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 !9

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 !9

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 !6

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 !9

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 !9

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 !9

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 !6

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 !9

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %0, %swift.bridge* %1) local_unnamed_addr #3 {
entry:
  %2 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSlsEy11SubSequenceQzys15UnboundedRange_OXEcigSS_Tgq5"(i8* nonnull bitcast (void ()* @"$sSS8_copyingyS2SFZys15UnboundedRange_Ocfu_" to i8*), %swift.opaque* null, i64 %0, %swift.bridge* %1)
  %3 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 0
  %4 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 1
  %5 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 2
  %6 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 3
  %7 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %3, i64 %4, i64 %5, %swift.bridge* %6)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %6) #4
  ret { i64, %swift.bridge* } %7
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSS8_copyingyS2SFZys15UnboundedRange_Ocfu_"() #0 {
entry:
  unreachable
}

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #3 {
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 !7

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_Tgq5"(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 !7

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) #4
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %19) #4
  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 !10
  %25 = tail call swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64 %23, i64 %24), !noalias !11
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %26) #4
  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 !6

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) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
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 !6

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 !6

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 !7

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 !6

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

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) #4
  tail call void @llvm.trap()
  unreachable

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCs5UInt8V_Tgq5"(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") #18
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #4
  %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
}

; Function Attrs: minsize optsize
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 !6

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 !6

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 !6

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 !6

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 !6

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 !7

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) #4
  tail call void @llvm.trap()
  unreachable

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %0, i64 %1, %swift.bridge* %2) local_unnamed_addr #3 {
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
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_Tg5"(i64 %0, %swift.bridge* %1, i64 %2, %swift.bridge* %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = icmp eq i64 %0, %2
  %7 = icmp eq %swift.bridge* %1, %3
  %or.cond = select i1 %6, i1 %7, i1 false
  br i1 %or.cond, label %8, label %10

8:                                                ; preds = %entry, %10
  %9 = phi i1 [ %11, %10 ], [ true, %entry ]
  ret i1 %9

10:                                               ; preds = %entry
  %11 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %0, %swift.bridge* %1, i64 %2, %swift.bridge* %3, i8 0)
  br label %8
}

; Function Attrs: minsize optsize
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 %138, label %10, !prof !6

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) #4
  %12 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 1
  %13 = bitcast %swift.refcounted* %12 to %TSa*
  %._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
  %14 = 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) #4
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %14, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %15 to i64*
  store i64 15, i64* %._rawBits._value, align 8
  %16 = icmp eq i64 %0, 0
  %.pre = ptrtoint %swift.bridge* %5 to i64
  %.pre44 = and i64 %.pre, 2305843009213693952
  br i1 %16, label %._crit_edge, label %17

._crit_edge:                                      ; preds = %10
  %.pre46 = lshr i64 %.pre, 56
  %.pre48 = and i64 %.pre46, 15
  br label %24

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

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

common.ret:                                       ; preds = %55, %24, %87
  %common.ret.op = phi %Ts28__ContiguousArrayStorageBaseC* [ undef, %87 ], [ %56, %55 ], [ %34, %24 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %common.ret.op

37:                                               ; preds = %17
  %38 = shl nuw i64 %22, 16
  %39 = and i64 %.pre, 1152921504606846976
  %40 = icmp ne i64 %39, 0
  %41 = and i64 %4, 576460752303423488
  %42 = icmp eq i64 %41, 0
  %or.cond17 = select i1 %40, i1 %42, i1 false
  %.v = select i1 %or.cond17, i64 11, i64 7
  %43 = or i64 %38, %.v
  %44 = shl nuw nsw i64 %22, 2
  %45 = 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
  %46 = bitcast i8* %2 to i1 (%TSJ*, %swift.refcounted*, %swift.error**)*
  %47 = bitcast %swift.opaque* %3 to %swift.refcounted*
  %.not18 = xor i1 %1, true
  br label %75

48:                                               ; preds = %130, %127
  %49 = phi i64 [ %96, %127 ], [ %132, %130 ]
  %50 = phi i64 [ %96, %127 ], [ %133, %130 ]
  %51 = phi %Ts28__ContiguousArrayStorageBaseC* [ %95, %127 ], [ %135, %130 ]
  %52 = lshr i64 %49, 14
  %53 = icmp ne i64 %52, %44
  %brmerge29 = select i1 %53, i1 true, i1 %.not18
  br i1 %brmerge29, label %59, label %54

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

55:                                               ; preds = %54, %62
  %56 = phi %Ts28__ContiguousArrayStorageBaseC* [ %70, %62 ], [ %51, %54 ]
  %57 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 0, i32 0
  %58 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %57) #19
  tail call void @swift_release(%swift.refcounted* %11) #4
  tail call void @swift_release(%swift.refcounted* %14) #4
  br label %common.ret

59:                                               ; preds = %48
  %60 = lshr i64 %50, 14
  %61 = icmp ult i64 %44, %60
  br i1 %61, label %139, label %62, !prof !6

62:                                               ; preds = %59
  %63 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %50, i64 %43, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  %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
  tail call swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSs_Tg5"(%TSa* nocapture nonnull swiftself dereferenceable(8) %13)
  %68 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %68, i64 0, i32 1, i32 0, i32 0, i32 0
  %69 = load i64, i64* %._storage.count._value, align 8, !range !10
  tail call swiftcc void @"$sSa36_reserveCapacityAssumingUniqueBuffer8oldCountySi_tFSs_Tg5"(i64 %69, %TSa* nocapture nonnull swiftself dereferenceable(8) %13)
  %70 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %71 = add nuw nsw i64 %69, 1
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %70, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %71, i64* %._storage2.count._value, align 8
  %72 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %70, i64 1
  %73 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 %69
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %73 to i64*
  store i64 %64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %73, i64 0, i32 0, i32 1
  store i64 %65, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %73, 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
  %74 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %67, %swift.bridge** %74, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %70, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %55

75:                                               ; preds = %37, %130
  %76 = phi i64 [ 15, %37 ], [ %131, %130 ]
  %77 = phi i64 [ 15, %37 ], [ %132, %130 ]
  %78 = phi i64 [ 15, %37 ], [ %133, %130 ]
  %79 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %37 ], [ %134, %130 ]
  %80 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %37 ], [ %135, %130 ]
  %81 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %76, i64 %4, %swift.bridge* %5)
  %82 = extractvalue { i64, %swift.bridge* } %81, 0
  %83 = extractvalue { i64, %swift.bridge* } %81, 1
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %45)
  store i64 %82, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %83, %swift.bridge** %._str._guts._object._object, align 8
  %84 = call swiftcc i1 %46(%TSJ* noalias nocapture nonnull dereferenceable(16) %8, %swift.refcounted* swiftself %47, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %7)
  %85 = load %swift.error*, %swift.error** %7, align 8
  %.not25 = icmp eq %swift.error* %85, null
  br i1 %.not25, label %86, label %87

86:                                               ; preds = %75
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %83) #4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %45)
  br i1 %84, label %89, label %125

87:                                               ; preds = %75
  tail call void @swift_release(%swift.refcounted* %11) #4
  tail call void @swift_release(%swift.refcounted* %14) #4
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #4
  %88 = extractvalue { i64, %swift.bridge* } %81, 1
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %88) #4
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %45)
  br label %common.ret

89:                                               ; preds = %86
  %90 = lshr i64 %77, 14
  %91 = lshr i64 %76, 14
  %92 = icmp ne i64 %90, %91
  %brmerge = select i1 %92, i1 true, i1 %.not18
  br i1 %brmerge, label %97, label %93

93:                                               ; preds = %89, %120
  %94 = phi %Ts28__ContiguousArrayStorageBaseC* [ %121, %120 ], [ %79, %89 ]
  %95 = phi %Ts28__ContiguousArrayStorageBaseC* [ %121, %120 ], [ %80, %89 ]
  %96 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %76, i64 %4, %swift.bridge* %5)
  store i64 %96, i64* %._rawBits._value, align 8
  br i1 %brmerge, label %127, label %130

97:                                               ; preds = %89
  %98 = icmp ult i64 %91, %90
  br i1 %98, label %140, label %99, !prof !6

99:                                               ; preds = %97
  %100 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %77, i64 %76, i64 %4, %swift.bridge* %5)
  %101 = extractvalue { i64, i64, i64, %swift.bridge* } %100, 0
  %102 = extractvalue { i64, i64, i64, %swift.bridge* } %100, 1
  %103 = extractvalue { i64, i64, i64, %swift.bridge* } %100, 2
  %104 = extractvalue { i64, i64, i64, %swift.bridge* } %100, 3
  %105 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %79, i64 0, i32 0
  %106 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %105) #19
  br i1 %106, label %111, label %107

107:                                              ; preds = %99
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %79, i64 0, i32 1, i32 0, i32 0, i32 0
  %108 = load i64, i64* %._storage4.count._value, align 8, !range !10
  %109 = add nuw nsw i64 %108, 1
  %110 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %109, i1 true, %Ts28__ContiguousArrayStorageBaseC* %79)
  br label %111

111:                                              ; preds = %99, %107
  %112 = phi %Ts28__ContiguousArrayStorageBaseC* [ %110, %107 ], [ %79, %99 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %112, i64 0, i32 1, i32 0, i32 0, i32 0
  %113 = load i64, i64* %._storage5.count._value, align 8, !range !10
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %112, i64 0, i32 1, i32 0, i32 1, i32 0
  %114 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %115 = lshr i64 %114, 1
  %116 = add nuw nsw i64 %113, 1
  %.not = icmp ugt i64 %115, %113
  br i1 %.not, label %120, label %117, !prof !7

117:                                              ; preds = %111
  %118 = icmp ugt i64 %114, 1
  %119 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %118, i64 %116, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %112)
  br label %120

120:                                              ; preds = %111, %117
  %121 = phi %Ts28__ContiguousArrayStorageBaseC* [ %119, %117 ], [ %112, %111 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %116, i64* %._storage6.count._value, align 8
  %122 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 1
  %123 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %122, i64 %113
  %._slice8._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %123 to i64*
  store i64 %101, i64* %._slice8._startIndex._rawBits._value, align 8
  %._slice8._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 0, i32 1
  store i64 %102, i64* %._slice8._endIndex, align 8
  %._slice8._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, 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 %103, 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
  %124 = bitcast %TSu* %._slice8._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %104, %swift.bridge** %124, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %121, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %93

125:                                              ; preds = %86
  %126 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %76, i64 %4, %swift.bridge* %5)
  br label %130

127:                                              ; preds = %93
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %94, i64 0, i32 1, i32 0, i32 0, i32 0
  %128 = load i64, i64* %._storage11.count._value, align 8, !range !10
  %129 = icmp eq i64 %128, %0
  br i1 %129, label %48, label %130

130:                                              ; preds = %127, %93, %125
  %131 = phi i64 [ %126, %125 ], [ %96, %93 ], [ %96, %127 ]
  %132 = phi i64 [ %77, %125 ], [ %96, %93 ], [ %96, %127 ]
  %133 = phi i64 [ %78, %125 ], [ %96, %93 ], [ %96, %127 ]
  %134 = phi %Ts28__ContiguousArrayStorageBaseC* [ %79, %125 ], [ %94, %93 ], [ %94, %127 ]
  %135 = phi %Ts28__ContiguousArrayStorageBaseC* [ %80, %125 ], [ %95, %93 ], [ %95, %127 ]
  %136 = lshr i64 %131, 14
  %137 = icmp eq i64 %136, %44
  br i1 %137, label %48, label %75

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFs5Int64V_Tg5"(i1 %0, i64 %1, i1 %2, %Ts15ContiguousArrayV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #3 {
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_SiSbtFs5Int64V_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %4)
  store %Ts28__ContiguousArrayStorageBaseC* %5, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  ret void
}

; Function Attrs: minsize optsize
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
  %.not3 = xor i1 %2, true
  %brmerge = select i1 %10, i1 true, i1 %.not3
  br i1 %brmerge, label %12, label %11

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

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

14:                                               ; preds = %12
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %3, i64 1
  %16 = bitcast %swift.refcounted* %15 to %TSa*
  %17 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %7, i64 %0, i64 %4, %swift.bridge* %5)
  %18 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 0
  %19 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 1
  %20 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 2
  %21 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 3
  tail call swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSs_Tg5"(%TSa* nocapture nonnull swiftself dereferenceable(8) %16)
  %._buffer._storage = bitcast %swift.refcounted* %15 to %Ts28__ContiguousArrayStorageBaseC**
  %22 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 0, i32 1, i32 0, i32 0, i32 0
  %23 = load i64, i64* %._storage.count._value, align 8, !range !10
  tail call swiftcc void @"$sSa36_reserveCapacityAssumingUniqueBuffer8oldCountySi_tFSs_Tg5"(i64 %23, %TSa* nocapture nonnull swiftself dereferenceable(8) %16)
  %24 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %25 = add nuw nsw i64 %23, 1
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %25, i64* %._storage1.count._value, align 8
  %26 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 1
  %27 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 %23
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %27 to i64*
  store i64 %18, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 0, i32 1
  store i64 %19, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, 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 %20, 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
  %28 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %21, %swift.bridge** %28, align 8
  br label %11

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_s5Int64VTg5"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3, i64 %4) local_unnamed_addr #3 {
entry:
  %5 = alloca %TSs, 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 = bitcast %TSs* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %7)
  %._slice._startIndex._rawBits._value = getelementptr inbounds %TSs, %TSs* %5, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex._rawBits._value = getelementptr inbounds %TSs, %TSs* %5, i64 0, i32 0, i32 1, i32 0, i32 0
  store i64 %1, i64* %._slice._endIndex._rawBits._value, align 8
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSs, %TSs* %5, i64 0, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0
  store i64 %2, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %TSs, %TSs* %5, i64 0, i32 0, i32 2, i32 0, i32 0, i32 1
  store %swift.bridge* %3, %swift.bridge** %._slice._base._guts._object._object, align 8
  %8 = bitcast %TSs* %5 to %swift.opaque*
  %9 = tail call i8** @"$sS2sSTsWl"() #22
  %10 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #4
  %11 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture nonnull %8, %swift.type* nonnull @"$sSsN", i8** nonnull @"$sSss25LosslessStringConvertiblesWP", i8** %9)
  %12 = extractvalue { i64, %swift.bridge* } %11, 0
  %13 = extractvalue { i64, %swift.bridge* } %11, 1
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %7)
  %14 = ptrtoint %swift.bridge* %13 to i64
  %15 = and i64 %14, 1152921504606846976
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %21, label %17, !prof !7

17:                                               ; preds = %entry
  %18 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %12, %swift.bridge* %13)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %13) #4
  %19 = extractvalue { i64, %swift.bridge* } %18, 0
  %20 = extractvalue { i64, %swift.bridge* } %18, 1
  %.pre = ptrtoint %swift.bridge* %20 to i64
  br label %21

21:                                               ; preds = %entry, %17
  %.pre-phi = phi i64 [ %14, %entry ], [ %.pre, %17 ]
  %22 = phi i64 [ %12, %entry ], [ %19, %17 ]
  %23 = phi %swift.bridge* [ %13, %entry ], [ %20, %17 ]
  %24 = and i64 %.pre-phi, 2305843009213693952
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %26, label %29

26:                                               ; preds = %21
  %27 = and i64 %22, 1152921504606846976
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %37, label %41, !prof !6

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

37:                                               ; preds = %26
  %38 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %22, %swift.bridge* %23)
  %39 = extractvalue { i64, i64 } %38, 0
  %40 = extractvalue { i64, i64 } %38, 1
  br label %45

41:                                               ; preds = %26
  %42 = and i64 %.pre-phi, 1152921504606846975
  %43 = add nuw nsw i64 %42, 32
  %44 = and i64 %22, 281474976710655
  br label %45

45:                                               ; preds = %37, %41
  %46 = phi i64 [ %43, %41 ], [ %39, %37 ]
  %47 = phi i64 [ %44, %41 ], [ %40, %37 ]
  %48 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFADSRys5UInt8VGXEfU_Ss_s5Int64VTg5"(i64 %46, i64 %47, i64 %4, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %49 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not7 = icmp eq %swift.error* %49, null
  tail call void @llvm.assume(i1 %.not7)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %23) #4
  br label %50

50:                                               ; preds = %45, %29
  %.pn = phi { i64, i8 } [ %35, %29 ], [ %48, %45 ]
  %.in.in = extractvalue { i64, i8 } %.pn, 1
  %.in = and i8 %.in.in, 1
  %51 = insertvalue { i64, i8 } %.pn, i8 %.in, 1
  ret { i64, i8 } %51
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFADSRys5UInt8VGXEfU_Ss_s5Int64VTg5"(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 %109 [
    i8 45, label %8
    i8 43, label %62
  ]

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

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 %.loopexit, label %17, !prof !6

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 %.loopexit, label %26

26:                                               ; preds = %17
  %27 = inttoptr i64 %14 to %Ts5UInt8V*
  %28 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %27, i64 %15, i32 0
  %29 = inttoptr i64 %14 to i8*
  %30 = icmp eq i8* %28, %29
  br i1 %30, label %.loopexit, label %.preheader35

.preheader35:                                     ; preds = %26, %51
  %31 = phi i8* [ %53, %51 ], [ %29, %26 ]
  %32 = phi i64 [ %52, %51 ], [ 0, %26 ]
  %33 = load i8, i8* %31, align 1
  %34 = icmp ugt i8 %33, 47
  %35 = icmp ult i8 %33, %25
  %or.cond = select i1 %34, i1 %35, i1 false
  br i1 %or.cond, label %42, label %36, !prof !9

36:                                               ; preds = %.preheader35
  %37 = icmp ugt i8 %33, 64
  %38 = icmp ult i8 %33, %24
  %or.cond4 = select i1 %37, i1 %38, i1 false
  br i1 %or.cond4, label %42, label %39, !prof !9

39:                                               ; preds = %36
  %40 = icmp ugt i8 %33, 96
  %41 = icmp ult i8 %33, %23
  %or.cond5 = select i1 %40, i1 %41, i1 false
  br i1 %or.cond5, label %42, label %.loopexit, !prof !9

42:                                               ; preds = %39, %.preheader35, %36
  %.sink = phi i8 [ -55, %36 ], [ -48, %.preheader35 ], [ -87, %39 ]
  %43 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %32, i64 %2)
  %44 = extractvalue { i64, i1 } %43, 1
  br i1 %44, label %.loopexit, label %45

45:                                               ; preds = %42
  %46 = add i8 %33, %.sink
  %47 = extractvalue { i64, i1 } %43, 0
  %48 = zext i8 %46 to i64
  %49 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %47, i64 %48)
  %50 = extractvalue { i64, i1 } %49, 1
  br i1 %50, label %.loopexit, label %51, !prof !6

51:                                               ; preds = %45
  %52 = extractvalue { i64, i1 } %49, 0
  %53 = getelementptr inbounds i8, i8* %31, i64 1
  %54 = icmp eq i8* %53, %28
  br i1 %54, label %.loopexit.loopexit77.split.loop.exit, label %.preheader35

.loopexit.loopexit.split.loop.exit:               ; preds = %144
  %55 = extractvalue { i64, i1 } %142, 0
  br label %.loopexit

.loopexit.loopexit77.split.loop.exit:             ; preds = %51
  %56 = extractvalue { i64, i1 } %49, 0
  br label %.loopexit

.loopexit.loopexit80.split.loop.exit:             ; preds = %105
  %57 = extractvalue { i64, i1 } %103, 0
  br label %.loopexit

.loopexit:                                        ; preds = %99, %96, %93, %45, %42, %39, %138, %135, %132, %.loopexit.loopexit80.split.loop.exit, %.loopexit.loopexit77.split.loop.exit, %.loopexit.loopexit.split.loop.exit, %111, %121, %109, %71, %80, %64, %17, %26, %10
  %58 = phi i64 [ 0, %10 ], [ 0, %17 ], [ 0, %26 ], [ 0, %64 ], [ 0, %71 ], [ 0, %80 ], [ 0, %109 ], [ 0, %111 ], [ 0, %121 ], [ %55, %.loopexit.loopexit.split.loop.exit ], [ %56, %.loopexit.loopexit77.split.loop.exit ], [ %57, %.loopexit.loopexit80.split.loop.exit ], [ 0, %132 ], [ 0, %135 ], [ 0, %138 ], [ 0, %39 ], [ 0, %42 ], [ 0, %45 ], [ 0, %93 ], [ 0, %96 ], [ 0, %99 ]
  %59 = phi i8 [ 1, %10 ], [ 0, %17 ], [ 0, %26 ], [ 1, %64 ], [ 0, %71 ], [ 0, %80 ], [ 1, %109 ], [ 0, %111 ], [ 0, %121 ], [ 0, %.loopexit.loopexit.split.loop.exit ], [ 0, %.loopexit.loopexit77.split.loop.exit ], [ 0, %.loopexit.loopexit80.split.loop.exit ], [ 1, %132 ], [ 1, %135 ], [ 1, %138 ], [ 1, %39 ], [ 1, %42 ], [ 1, %45 ], [ 1, %93 ], [ 1, %96 ], [ 1, %99 ]
  %60 = insertvalue { i64, i8 } undef, i64 %58, 0
  %61 = insertvalue { i64, i8 } %60, i8 %59, 1
  ret { i64, i8 } %61

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

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 %.loopexit, label %71, !prof !6

71:                                               ; preds = %64
  %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 %65, label %.loopexit, label %80

80:                                               ; preds = %71
  %81 = inttoptr i64 %68 to %Ts5UInt8V*
  %82 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %81, i64 %69, i32 0
  %83 = inttoptr i64 %68 to i8*
  %84 = icmp eq i8* %82, %83
  br i1 %84, label %.loopexit, label %.preheader39

.preheader39:                                     ; preds = %80, %105
  %85 = phi i8* [ %107, %105 ], [ %83, %80 ]
  %86 = phi i64 [ %106, %105 ], [ 0, %80 ]
  %87 = load i8, i8* %85, align 1
  %88 = icmp ugt i8 %87, 47
  %89 = icmp ult i8 %87, %79
  %or.cond6 = select i1 %88, i1 %89, i1 false
  br i1 %or.cond6, label %96, label %90, !prof !9

90:                                               ; preds = %.preheader39
  %91 = icmp ugt i8 %87, 64
  %92 = icmp ult i8 %87, %78
  %or.cond7 = select i1 %91, i1 %92, i1 false
  br i1 %or.cond7, label %96, label %93, !prof !9

93:                                               ; preds = %90
  %94 = icmp ugt i8 %87, 96
  %95 = icmp ult i8 %87, %77
  %or.cond8 = select i1 %94, i1 %95, i1 false
  br i1 %or.cond8, label %96, label %.loopexit, !prof !9

96:                                               ; preds = %93, %.preheader39, %90
  %.sink112 = phi i8 [ -55, %90 ], [ -48, %.preheader39 ], [ -87, %93 ]
  %97 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %86, i64 %2)
  %98 = extractvalue { i64, i1 } %97, 1
  br i1 %98, label %.loopexit, label %99

99:                                               ; preds = %96
  %100 = add i8 %87, %.sink112
  %101 = extractvalue { i64, i1 } %97, 0
  %102 = zext i8 %100 to i64
  %103 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %101, i64 %102)
  %104 = extractvalue { i64, i1 } %103, 1
  br i1 %104, label %.loopexit, label %105, !prof !6

105:                                              ; preds = %99
  %106 = extractvalue { i64, i1 } %103, 0
  %107 = getelementptr inbounds i8, i8* %85, i64 1
  %108 = icmp eq i8* %107, %82
  br i1 %108, label %.loopexit.loopexit80.split.loop.exit, label %.preheader39

109:                                              ; preds = %entry
  %110 = icmp eq i64 %1, 0
  br i1 %110, label %.loopexit, label %111, !prof !6

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

121:                                              ; preds = %111
  %122 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %123 = icmp eq i8* %122, %5
  br i1 %123, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %121, %144
  %124 = phi i8* [ %146, %144 ], [ %5, %121 ]
  %125 = phi i64 [ %145, %144 ], [ 0, %121 ]
  %126 = load i8, i8* %124, align 1
  %127 = icmp ugt i8 %126, 47
  %128 = icmp ult i8 %126, %119
  %or.cond9 = select i1 %127, i1 %128, i1 false
  br i1 %or.cond9, label %135, label %129, !prof !9

129:                                              ; preds = %.preheader
  %130 = icmp ugt i8 %126, 64
  %131 = icmp ult i8 %126, %118
  %or.cond10 = select i1 %130, i1 %131, i1 false
  br i1 %or.cond10, label %135, label %132, !prof !9

132:                                              ; preds = %129
  %133 = icmp ugt i8 %126, 96
  %134 = icmp ult i8 %126, %117
  %or.cond11 = select i1 %133, i1 %134, i1 false
  br i1 %or.cond11, label %135, label %.loopexit, !prof !9

135:                                              ; preds = %132, %.preheader, %129
  %.sink113 = phi i8 [ -55, %129 ], [ -48, %.preheader ], [ -87, %132 ]
  %136 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %125, i64 %2)
  %137 = extractvalue { i64, i1 } %136, 1
  br i1 %137, label %.loopexit, label %138

138:                                              ; preds = %135
  %139 = add i8 %126, %.sink113
  %140 = extractvalue { i64, i1 } %136, 0
  %141 = zext i8 %139 to i64
  %142 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %140, i64 %141)
  %143 = extractvalue { i64, i1 } %142, 1
  br i1 %143, label %.loopexit, label %144, !prof !6

144:                                              ; preds = %138
  %145 = extractvalue { i64, i1 } %142, 0
  %146 = getelementptr inbounds i8, i8* %124, i64 1
  %147 = icmp eq i8* %146, %122
  br i1 %147, label %.loopexit.loopexit.split.loop.exit, label %.preheader

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"(%TSJ* noalias nocapture dereferenceable(16) %0, %TSJ* noalias nocapture dereferenceable(16) %1, %swift.refcounted* swiftself %2, %swift.error** noalias nocapture swifterror dereferenceable(8) %3) local_unnamed_addr #0 {
entry:
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %4 = load i64, 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
  %5 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %._str1._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._str1._guts._object._countAndFlagsBits._value, align 8
  %._str1._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 1
  %7 = load %swift.bridge*, %swift.bridge** %._str1._guts._object._object, align 8
  %8 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_Tg5"(i64 %4, %swift.bridge* %5, i64 %6, %swift.bridge* %7, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3) #23
  ret i1 %8
}

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

; Function Attrs: minsize optsize
define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA"(%TSJ* noalias nocapture dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture 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
  %6 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"(%TSJ* noalias nocapture nonnull dereferenceable(16) %0, %TSJ* noalias nocapture dereferenceable(16) %5, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  ret i1 %6
}

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5s5Int64VSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5h9VGXEfU_s5L7V_SsTG5SiTf1nnc_n"(i64 %0, i64 %1, i64 %2, i64 %3, i64 %4, %swift.bridge* %5, i64 %6, %swift.refcounted* swiftself %7, %swift.error** noalias nocapture swifterror dereferenceable(8) %8) local_unnamed_addr #0 {
entry:
  %9 = ptrtoint %swift.bridge* %5 to i64
  %10 = and i64 %9, 1152921504606846976
  %11 = icmp eq i64 %10, 0
  %12 = and i64 %4, 576460752303423488
  %13 = icmp ne i64 %12, 0
  %14 = select i1 %11, i1 true, i1 %13
  %15 = zext i1 %14 to i64
  %16 = shl nuw nsw i64 4, %15
  %17 = and i64 %2, 12
  %18 = icmp eq i64 %17, %16
  br i1 %18, label %19, label %21, !prof !6

19:                                               ; preds = %entry
  %20 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %2, i64 %4, %swift.bridge* %5)
  br label %21

21:                                               ; preds = %entry, %19
  %22 = phi i64 [ %20, %19 ], [ %2, %entry ]
  br i1 %11, label %23, label %212, !prof !7

23:                                               ; preds = %21
  %24 = lshr i64 %22, 16
  br label %25

25:                                               ; preds = %23, %221
  %26 = phi i64 [ %222, %221 ], [ %24, %23 ]
  br i1 %18, label %27, label %29, !prof !6

27:                                               ; preds = %25
  %28 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %2, i64 %4, %swift.bridge* %5)
  br label %29

29:                                               ; preds = %25, %27
  %30 = phi i64 [ %28, %27 ], [ %2, %25 ]
  %31 = and i64 %3, 12
  %32 = icmp eq i64 %31, %16
  br i1 %32, label %33, label %35, !prof !6

33:                                               ; preds = %29
  %34 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %3, i64 %4, %swift.bridge* %5)
  br label %35

35:                                               ; preds = %29, %33
  %36 = phi i64 [ %34, %33 ], [ %3, %29 ]
  br i1 %11, label %37, label %41

37:                                               ; preds = %35
  %38 = lshr i64 %36, 16
  %39 = lshr i64 %30, 16
  %40 = sub nsw i64 %38, %39
  br label %50

41:                                               ; preds = %35
  %42 = and i64 %9, 2305843009213693952
  %43 = icmp eq i64 %42, 0
  %44 = lshr i64 %9, 56
  %45 = and i64 %44, 15
  %46 = and i64 %4, 281474976710655
  %47 = select i1 %43, i64 %46, i64 %45
  %48 = lshr i64 %30, 16
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %224, label %207, !prof !6

50:                                               ; preds = %37, %210
  %51 = phi i64 [ %211, %210 ], [ %40, %37 ]
  %52 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %26, i64 %51)
  %53 = extractvalue { i64, i1 } %52, 0
  %54 = extractvalue { i64, i1 } %52, 1
  br i1 %54, label %226, label %55, !prof !6

55:                                               ; preds = %50
  %56 = icmp slt i64 %53, %26
  br i1 %56, label %227, label %57, !prof !6

57:                                               ; preds = %55
  %58 = icmp eq i64 %0, 0
  %59 = inttoptr i64 %0 to %Ts5UInt8V*
  %60 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %59, i64 %26, i32 0
  %61 = ptrtoint i8* %60 to i64
  %62 = select i1 %58, i64 0, i64 %61
  %63 = sub i64 %53, %26
  %64 = inttoptr i64 %62 to i8*
  %65 = inttoptr i64 %62 to %Ts5UInt8V*
  %._value1 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 0, i32 0
  %66 = load i8, i8* %._value1, align 1
  switch i8 %66, label %130 [
    i8 45, label %67
    i8 43, label %121
  ]

67:                                               ; preds = %57
  %68 = icmp slt i64 %63, 1
  br i1 %68, label %229, label %69, !prof !6

69:                                               ; preds = %67
  %70 = icmp eq i64 %62, 0
  %71 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 1, i32 0
  %72 = ptrtoint i8* %71 to i64
  %73 = select i1 %70, i64 0, i64 %72
  %74 = add nsw i64 %63, -1
  %75 = icmp eq i64 %74, 0
  br i1 %75, label %.loopexit, label %76, !prof !6

76:                                               ; preds = %69
  %77 = icmp sgt i64 %6, 10
  %78 = trunc i64 %6 to i8
  %79 = add i8 %78, 48
  %80 = add i8 %78, 55
  %81 = add i8 %78, 87
  %82 = select i1 %77, i8 %81, i8 97
  %83 = select i1 %77, i8 %80, i8 65
  %84 = select i1 %77, i8 58, i8 %79
  br i1 %70, label %.loopexit, label %92

.loopexit.loopexit.split.loop.exit:               ; preds = %203
  %85 = extractvalue { i64, i1 } %201, 0
  br label %.loopexit

.loopexit.loopexit83.split.loop.exit:             ; preds = %117
  %86 = extractvalue { i64, i1 } %115, 0
  br label %.loopexit

.loopexit.loopexit86.split.loop.exit:             ; preds = %166
  %87 = extractvalue { i64, i1 } %164, 0
  br label %.loopexit

.loopexit:                                        ; preds = %160, %157, %154, %111, %108, %105, %197, %194, %191, %.loopexit.loopexit86.split.loop.exit, %.loopexit.loopexit83.split.loop.exit, %.loopexit.loopexit.split.loop.exit, %170, %180, %130, %132, %141, %123, %76, %92, %69
  %88 = phi i64 [ 0, %69 ], [ 0, %76 ], [ 0, %92 ], [ 0, %123 ], [ 0, %132 ], [ 0, %141 ], [ 0, %130 ], [ 0, %170 ], [ 0, %180 ], [ %85, %.loopexit.loopexit.split.loop.exit ], [ %86, %.loopexit.loopexit83.split.loop.exit ], [ %87, %.loopexit.loopexit86.split.loop.exit ], [ 0, %191 ], [ 0, %194 ], [ 0, %197 ], [ 0, %105 ], [ 0, %108 ], [ 0, %111 ], [ 0, %154 ], [ 0, %157 ], [ 0, %160 ]
  %89 = phi i8 [ 1, %69 ], [ 0, %76 ], [ 0, %92 ], [ 1, %123 ], [ 0, %132 ], [ 0, %141 ], [ 1, %130 ], [ 0, %170 ], [ 0, %180 ], [ 0, %.loopexit.loopexit.split.loop.exit ], [ 0, %.loopexit.loopexit83.split.loop.exit ], [ 0, %.loopexit.loopexit86.split.loop.exit ], [ 1, %191 ], [ 1, %194 ], [ 1, %197 ], [ 1, %105 ], [ 1, %108 ], [ 1, %111 ], [ 1, %154 ], [ 1, %157 ], [ 1, %160 ]
  %90 = insertvalue { i64, i8 } undef, i64 %88, 0
  %91 = insertvalue { i64, i8 } %90, i8 %89, 1
  ret { i64, i8 } %91

92:                                               ; preds = %76
  %93 = inttoptr i64 %73 to %Ts5UInt8V*
  %94 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %93, i64 %74, i32 0
  %95 = inttoptr i64 %73 to i8*
  %96 = icmp eq i8* %94, %95
  br i1 %96, label %.loopexit, label %.preheader41

.preheader41:                                     ; preds = %92, %117
  %97 = phi i8* [ %119, %117 ], [ %95, %92 ]
  %98 = phi i64 [ %118, %117 ], [ 0, %92 ]
  %99 = load i8, i8* %97, align 1
  %100 = icmp ugt i8 %99, 47
  %101 = icmp ult i8 %99, %84
  %or.cond = select i1 %100, i1 %101, i1 false
  br i1 %or.cond, label %108, label %102, !prof !9

102:                                              ; preds = %.preheader41
  %103 = icmp ugt i8 %99, 64
  %104 = icmp ult i8 %99, %83
  %or.cond5 = select i1 %103, i1 %104, i1 false
  br i1 %or.cond5, label %108, label %105, !prof !9

105:                                              ; preds = %102
  %106 = icmp ugt i8 %99, 96
  %107 = icmp ult i8 %99, %82
  %or.cond6 = select i1 %106, i1 %107, i1 false
  br i1 %or.cond6, label %108, label %.loopexit, !prof !9

108:                                              ; preds = %105, %.preheader41, %102
  %.sink = phi i8 [ -55, %102 ], [ -48, %.preheader41 ], [ -87, %105 ]
  %109 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %98, i64 %6)
  %110 = extractvalue { i64, i1 } %109, 1
  br i1 %110, label %.loopexit, label %111

111:                                              ; preds = %108
  %112 = add i8 %99, %.sink
  %113 = extractvalue { i64, i1 } %109, 0
  %114 = zext i8 %112 to i64
  %115 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %113, i64 %114)
  %116 = extractvalue { i64, i1 } %115, 1
  br i1 %116, label %.loopexit, label %117, !prof !6

117:                                              ; preds = %111
  %118 = extractvalue { i64, i1 } %115, 0
  %119 = getelementptr inbounds i8, i8* %97, i64 1
  %120 = icmp eq i8* %119, %94
  br i1 %120, label %.loopexit.loopexit83.split.loop.exit, label %.preheader41

121:                                              ; preds = %57
  %122 = icmp slt i64 %63, 1
  br i1 %122, label %228, label %123, !prof !6

123:                                              ; preds = %121
  %124 = icmp eq i64 %62, 0
  %125 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 1, i32 0
  %126 = ptrtoint i8* %125 to i64
  %127 = select i1 %124, i64 0, i64 %126
  %128 = add nsw i64 %63, -1
  %129 = icmp eq i64 %128, 0
  br i1 %129, label %.loopexit, label %132, !prof !6

130:                                              ; preds = %57
  %131 = icmp eq i64 %53, %26
  br i1 %131, label %.loopexit, label %170, !prof !6

132:                                              ; preds = %123
  %133 = icmp sgt i64 %6, 10
  %134 = trunc i64 %6 to i8
  %135 = add i8 %134, 48
  %136 = add i8 %134, 55
  %137 = add i8 %134, 87
  %138 = select i1 %133, i8 %137, i8 97
  %139 = select i1 %133, i8 %136, i8 65
  %140 = select i1 %133, i8 58, i8 %135
  br i1 %124, label %.loopexit, label %141

141:                                              ; preds = %132
  %142 = inttoptr i64 %127 to %Ts5UInt8V*
  %143 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %142, i64 %128, i32 0
  %144 = inttoptr i64 %127 to i8*
  %145 = icmp eq i8* %143, %144
  br i1 %145, label %.loopexit, label %.preheader45

.preheader45:                                     ; preds = %141, %166
  %146 = phi i8* [ %168, %166 ], [ %144, %141 ]
  %147 = phi i64 [ %167, %166 ], [ 0, %141 ]
  %148 = load i8, i8* %146, align 1
  %149 = icmp ugt i8 %148, 47
  %150 = icmp ult i8 %148, %140
  %or.cond7 = select i1 %149, i1 %150, i1 false
  br i1 %or.cond7, label %157, label %151, !prof !9

151:                                              ; preds = %.preheader45
  %152 = icmp ugt i8 %148, 64
  %153 = icmp ult i8 %148, %139
  %or.cond8 = select i1 %152, i1 %153, i1 false
  br i1 %or.cond8, label %157, label %154, !prof !9

154:                                              ; preds = %151
  %155 = icmp ugt i8 %148, 96
  %156 = icmp ult i8 %148, %138
  %or.cond9 = select i1 %155, i1 %156, i1 false
  br i1 %or.cond9, label %157, label %.loopexit, !prof !9

157:                                              ; preds = %154, %.preheader45, %151
  %.sink118 = phi i8 [ -55, %151 ], [ -48, %.preheader45 ], [ -87, %154 ]
  %158 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %147, i64 %6)
  %159 = extractvalue { i64, i1 } %158, 1
  br i1 %159, label %.loopexit, label %160

160:                                              ; preds = %157
  %161 = add i8 %148, %.sink118
  %162 = extractvalue { i64, i1 } %158, 0
  %163 = zext i8 %161 to i64
  %164 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %162, i64 %163)
  %165 = extractvalue { i64, i1 } %164, 1
  br i1 %165, label %.loopexit, label %166, !prof !6

166:                                              ; preds = %160
  %167 = extractvalue { i64, i1 } %164, 0
  %168 = getelementptr inbounds i8, i8* %146, i64 1
  %169 = icmp eq i8* %168, %143
  br i1 %169, label %.loopexit.loopexit86.split.loop.exit, label %.preheader45

170:                                              ; preds = %130
  %171 = icmp sgt i64 %6, 10
  %172 = trunc i64 %6 to i8
  %173 = add i8 %172, 48
  %174 = add i8 %172, 55
  %175 = add i8 %172, 87
  %176 = select i1 %171, i8 %175, i8 97
  %177 = select i1 %171, i8 %174, i8 65
  %178 = select i1 %171, i8 58, i8 %173
  %179 = icmp eq i64 %62, 0
  br i1 %179, label %.loopexit, label %180

180:                                              ; preds = %170
  %181 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 %63, i32 0
  %182 = icmp eq i8* %181, %64
  br i1 %182, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %180, %203
  %183 = phi i8* [ %205, %203 ], [ %64, %180 ]
  %184 = phi i64 [ %204, %203 ], [ 0, %180 ]
  %185 = load i8, i8* %183, align 1
  %186 = icmp ugt i8 %185, 47
  %187 = icmp ult i8 %185, %178
  %or.cond10 = select i1 %186, i1 %187, i1 false
  br i1 %or.cond10, label %194, label %188, !prof !9

188:                                              ; preds = %.preheader
  %189 = icmp ugt i8 %185, 64
  %190 = icmp ult i8 %185, %177
  %or.cond11 = select i1 %189, i1 %190, i1 false
  br i1 %or.cond11, label %194, label %191, !prof !9

191:                                              ; preds = %188
  %192 = icmp ugt i8 %185, 96
  %193 = icmp ult i8 %185, %176
  %or.cond12 = select i1 %192, i1 %193, i1 false
  br i1 %or.cond12, label %194, label %.loopexit, !prof !9

194:                                              ; preds = %191, %.preheader, %188
  %.sink119 = phi i8 [ -55, %188 ], [ -48, %.preheader ], [ -87, %191 ]
  %195 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %184, i64 %6)
  %196 = extractvalue { i64, i1 } %195, 1
  br i1 %196, label %.loopexit, label %197

197:                                              ; preds = %194
  %198 = add i8 %185, %.sink119
  %199 = extractvalue { i64, i1 } %195, 0
  %200 = zext i8 %198 to i64
  %201 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %199, i64 %200)
  %202 = extractvalue { i64, i1 } %201, 1
  br i1 %202, label %.loopexit, label %203, !prof !6

203:                                              ; preds = %197
  %204 = extractvalue { i64, i1 } %201, 0
  %205 = getelementptr inbounds i8, i8* %183, i64 1
  %206 = icmp eq i8* %205, %181
  br i1 %206, label %.loopexit.loopexit.split.loop.exit, label %.preheader

207:                                              ; preds = %41
  %208 = lshr i64 %36, 16
  %209 = icmp ult i64 %47, %208
  br i1 %209, label %225, label %210, !prof !6

210:                                              ; preds = %207
  %211 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 %30, i64 %36, i64 %4, %swift.bridge* %5)
  br label %50

212:                                              ; preds = %21
  %213 = and i64 %9, 2305843009213693952
  %214 = icmp eq i64 %213, 0
  %215 = and i64 %4, 281474976710655
  %216 = lshr i64 %9, 56
  %217 = and i64 %216, 15
  %218 = select i1 %214, i64 %215, i64 %217
  %219 = lshr i64 %22, 16
  %220 = icmp ult i64 %218, %219
  br i1 %220, label %223, label %221, !prof !6

221:                                              ; preds = %212
  %222 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 15, i64 %22, i64 %4, %swift.bridge* %5)
  br label %25

223:                                              ; preds = %212
  tail call void asm sideeffect "", "n"(i32 1) #4
  tail call void @llvm.trap()
  unreachable

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

225:                                              ; preds = %207
  tail call void asm sideeffect "", "n"(i32 3) #4
  tail call void @llvm.trap()
  unreachable

226:                                              ; preds = %50
  tail call void asm sideeffect "", "n"(i32 4) #4
  tail call void @llvm.trap()
  unreachable

227:                                              ; preds = %55
  tail call void asm sideeffect "", "n"(i32 5) #4
  tail call void @llvm.trap()
  unreachable

228:                                              ; preds = %121
  tail call void asm sideeffect "", "n"(i32 6) #4
  tail call void @llvm.trap()
  unreachable

229:                                              ; preds = %67
  tail call void asm sideeffect "", "n"(i32 7) #4
  tail call void @llvm.trap()
  unreachable
}

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

; Function Attrs: minsize optsize
declare swiftcc i64 @"$sSS9UTF16ViewV5index_8offsetBySS5IndexVAF_SitF"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

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

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

; Function Attrs: minsize nofree noinline nosync nounwind optsize readnone
define linkonce_odr hidden i8** @"$sS2sSTsWl"() local_unnamed_addr #10 {
entry:
  %0 = load i8**, i8*** @"$sS2sSTsWL", align 8
  %1 = icmp eq i8** %0, null
  br i1 %1, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %2 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSsSTsMc", %swift.type* nonnull @"$sSsN", i8*** undef) #18
  store atomic i8** %2, i8*** @"$sS2sSTsWL" release, align 8
  br label %cont

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, %swift.bridge* } @"$sSS18_uncheckedFromUTF8ySSSRys5UInt8VGFZ"(i64, i64) local_unnamed_addr #0

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64, i64, i64, %swift.bridge*) 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) #12

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

; Function Attrs: minsize nounwind optsize
define private swiftcc void @objectdestroy(%swift.refcounted* swiftself %0) #13 {
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) #4
  tail call void @swift_deallocObject(%swift.refcounted* %0, i64 24, i64 7) #4
  ret void
}

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64, i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: minsize optsize
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 #8

; Function Attrs: minsize optsize
declare swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64, %swift.bridge*, i64, %swift.bridge*, i8) local_unnamed_addr #0

; 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: nocallback nofree nosync nounwind readnone speculatable willreturn
declare i64 @llvm.smin.i64(i64, i64) #16

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

attributes #0 = { minsize 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 #1 = { cold noreturn nounwind }
attributes #2 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { minsize noinline 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 #4 = { nounwind }
attributes #5 = { minsize mustprogress nofree noinline nounwind optsize 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 #6 = { argmemonly nounwind }
attributes #7 = { mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #8 = { mustprogress nounwind willreturn }
attributes #9 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #10 = { minsize nofree noinline nosync nounwind optsize 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 #11 = { nofree nounwind readonly }
attributes #12 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #13 = { minsize nounwind 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 #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 readonly }
attributes #19 = { nounwind willreturn }
attributes #20 = { argmemonly nounwind readonly }
attributes #21 = { nounwind optsize }
attributes #22 = { nounwind readnone }
attributes #23 = { noinline }

!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 = !{!"branch_weights", i32 1, i32 2000}
!7 = !{!"branch_weights", i32 2000, i32 1}
!8 = !{!"branch_weights", i32 4000000, i32 2001, i32 2000}
!9 = !{!"branch_weights", i32 2000, i32 2002}
!10 = !{i64 0, i64 9223372036854775807}
!11 = !{!12}
!12 = distinct !{!12, !13, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_: argument 0"}
!13 = distinct !{!13, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_"}
