

func disco2020c() {
    let HWK = readLine()!.toIntList()
    let H = HWK[0]
    let W = HWK[1]
    var K = HWK[2]
    var G:[[String]] = []
    var ANS:[[Int]] = Array(repeating: Array(repeating: 0, count: W), count: H)
    for _ in 1...H{ G.append(readLine()!.toList())}
    var yLists:[[Int]] = []
    var list:[Int] = []
    var i = 0
    for y in 0..<H{
        if G[y].contains("#"){
            list.append(y)
            i = y+1
            break
        }
        list.append(y)
    }
    for y in i..<H{
        if G[y].contains("#"){
            yLists.append(list)
            list = [y]
        }else{
            list.append(y)
        }
    }
    if list.count > 0 { yLists.append(list)}
    func isInStrovery(_ yList:[Int],_ x:Int) -> Bool{
        for y in yList{
            if G[y][x].contains("#"){
                return true
            }
        }
        return false
    }
    for yList in yLists{
        var xLists:[[Int]] = []
        var xl:[Int] = []
        var i = 0
        for x in 0..<W{
            if isInStrovery(yList, x){
                xl.append(x)
                i = x+1
                break
            }
            xl.append(x)
        }
        
        for x in i..<W{
            if isInStrovery(yList, x){
                xLists.append(xl)
                xl = [x]
            }else{
                xl.append(x)
            }
        }
        if xl.count > 0 {xLists.append(xl)}
        for xl in xLists{
            for x in xl{
                for y in yList{
                    ANS[y][x] = K
                }
            }
            K -= 1
        }
    }
    
    for y in 0..<H{
        for x in 0..<W{
            print(ANS[y][x],terminator: " ")
        }
        print("")
    }
}
import Foundation

extension String {
    func toIntList() -> [Int] {
        return self.split(separator: " ").map{Int($0)!}
    }
    
    func toList() -> [String] {
        return self.map{String($0)}
    }
    
    func count(c:Character) -> Int{
        var result = 0

        for e in self{
            if e == c{
                result += 1
            }
        }
        return result
    }
}

extension Int {
    func toBin() -> String {
        return String(self, radix: 2)
    }
    
    func toD() -> Double {
        return Double(self)
    }
}

extension Double {
    func toI() -> Int {
        return Int(self)
    }
}

extension Array where Element: Equatable{
    func count(n:Self.Element) -> Int{
        var result = 0
        for e in self{
            if e == n{
                result += 1
            }
        }
        return result
    }
}


disco2020c()

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

%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 = type { i64 }
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%swift.type_descriptor = type opaque
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.refcounted = type { %swift.type*, i64 }
%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%swift.opaque = type opaque
%TSJ = type <{ %TSS }>
%swift.error = type opaque
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>
%swift.vwtable = type { i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i64, i64, i32, i32 }
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%Ts5UInt8V = type <{ i8 }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>

@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$sSSN" = external global %swift.type, align 8
@"$sS2SSysWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSSSysMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSiN" = external global %swift.type, align 8
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"$sS2iSzsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSiSzsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"\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 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 _____ySaySiGG 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 _____ySaySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySiGMD" to i64)) to i32), i32 -6 }, align 8
@"symbolic _____ySaySSGG 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 _____ySaySSGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySSGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySSGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySSGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySSGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySSG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySSG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySSGMD" to i64)) to i32), i32 -6 }, align 8
@"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
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\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 ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  tail call swiftcc void @"$s7llvm_O310disco2020cyyF"()
  ret i32 0
}

define hidden swiftcc void @"$s7llvm_O310disco2020cyyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %TSa, align 8
  %1 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch = alloca [24 x i8], align 8
  %2 = alloca %TSS, align 8
  %3 = alloca %TSS, align 8
  %access-scratch78 = alloca [24 x i8], align 8
  %4 = alloca %TSS, align 8
  %5 = alloca %TSS, align 8
  %6 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %7 = extractvalue { i64, i64 } %6, 1
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %651, label %9

9:                                                ; preds = %entry
  %10 = extractvalue { i64, i64 } %6, 0
  %11 = inttoptr i64 %7 to %swift.bridge*
  %12 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSS7llvm_O3E9toIntListSaySiGyF"(i64 %10, %swift.bridge* nonnull %11)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %11) #2
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 0, i32 1, i32 0, i32 0, i32 0
  %13 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %652, label %14, !prof !7

14:                                               ; preds = %9
  %15 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 1
  %tailaddr._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %15 to i64*
  %16 = load i64, i64* %tailaddr._value, align 8
  %.not265 = icmp eq i64 %13, 1
  br i1 %.not265, label %653, label %17, !prof !7

17:                                               ; preds = %14
  %18 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 1, i32 0, i32 1
  %19 = load i64, i64* %18, align 8
  %20 = icmp ult i64 %13, 3
  br i1 %20, label %654, label %21, !prof !7

21:                                               ; preds = %17
  %._value1 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 1, i32 1, i32 0, i32 0, i32 0
  %22 = load i64, i64* %._value1, align 8
  %23 = bitcast %TSa* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %23)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %0, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %24 = icmp slt i64 %19, 0
  br i1 %24, label %655, label %25, !prof !7

25:                                               ; preds = %21
  %.not266 = icmp eq i64 %19, 0
  br i1 %.not266, label %.thread, label %.thread.loopexit

.thread.loopexit:                                 ; preds = %25
  %26 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %19, %swift.type* nonnull @"$sSiN")
  %._storage178.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %19, i64* %._storage178.count._value, align 8
  %27 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 1
  %28 = bitcast %Ts28__ContiguousArrayStorageBaseC* %27 to i8*
  %29 = shl nuw i64 %19, 3
  tail call void @llvm.memset.p0i8.i64(i8* align 8 %28, i8 0, i64 %29, i1 false)
  br label %.thread

.thread:                                          ; preds = %.thread.loopexit, %25
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %25 ], [ %26, %.thread.loopexit ]
  %31 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %30, i64 %16)
  %32 = icmp slt i64 %16, 1
  br i1 %32, label %656, label %33, !prof !7

33:                                               ; preds = %.thread
  %34 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %35 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  %._buffer5._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, i64 0, i32 0, i32 0
  br label %40

36:                                               ; preds = %80
  %37 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %41, i64 1)
  %38 = extractvalue { i64, i1 } %37, 0
  %39 = extractvalue { i64, i1 } %37, 1
  br i1 %39, label %659, label %40, !prof !7

40:                                               ; preds = %36, %33
  %41 = phi i64 [ 1, %33 ], [ %38, %36 ]
  %42 = phi %Ts28__ContiguousArrayStorageBaseC* [ %34, %33 ], [ %81, %36 ]
  %43 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %44 = extractvalue { i64, i64 } %43, 0
  %45 = extractvalue { i64, i64 } %43, 1
  %46 = icmp eq i64 %45, 0
  br i1 %46, label %657, label %47

47:                                               ; preds = %40
  %48 = inttoptr i64 %45 to %swift.bridge*
  %49 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %44, %swift.bridge* nonnull %48)
  %50 = icmp eq i64 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %47
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %48) #2
  br label %63

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %35)
  %53 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %swift.refcounted*)) #18
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer5._storage, align 8
  br i1 %53, label %54, label %58

54:                                               ; preds = %52
  %55 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 1), align 8
  %56 = lshr i64 %55, 1
  %57 = icmp slt i64 %56, %49
  br i1 %57, label %58, label %61, !prof !7

58:                                               ; preds = %54, %52
  %59 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !6
  %60 = tail call i64 @llvm.smax.i64(i64 %59, i64 %49)
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %53, i64 %60, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  br label %61

61:                                               ; preds = %54, %58
  %62 = icmp slt i64 %49, 0
  br i1 %62, label %658, label %.preheader313.preheader, !prof !7

.preheader313.preheader:                          ; preds = %61
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer5._storage, align 8
  br label %.preheader313

63:                                               ; preds = %51, %109
  %64 = phi %Ts28__ContiguousArrayStorageBaseC* [ %104, %109 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %51 ]
  %65 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 0
  %66 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %65) #18
  br i1 %66, label %71, label %67

67:                                               ; preds = %63
  %._storage18.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 1, i32 0, i32 0, i32 0
  %68 = load i64, i64* %._storage18.count._value, align 8, !range !6
  %69 = add nuw nsw i64 %68, 1
  %70 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %69, i1 true, %Ts28__ContiguousArrayStorageBaseC* %42, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySSGGMD", { i32, i32 }* @"$sSaySSGMD")
  br label %71

71:                                               ; preds = %63, %67
  %72 = phi %Ts28__ContiguousArrayStorageBaseC* [ %70, %67 ], [ %42, %63 ]
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 1, i32 0, i32 0, i32 0
  %73 = load i64, i64* %._storage19.count._value, align 8, !range !6
  %._storage19._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 1, i32 0, i32 1, i32 0
  %74 = load i64, i64* %._storage19._capacityAndFlags._value, align 8
  %75 = lshr i64 %74, 1
  %76 = add nuw nsw i64 %73, 1
  %.not268 = icmp ugt i64 %75, %73
  br i1 %.not268, label %80, label %77, !prof !8

77:                                               ; preds = %71
  %78 = icmp ugt i64 %74, 1
  %79 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %78, i64 %76, i1 true, %Ts28__ContiguousArrayStorageBaseC* %72, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySSGGMD", { i32, i32 }* @"$sSaySSGMD")
  br label %80

80:                                               ; preds = %71, %77
  %81 = phi %Ts28__ContiguousArrayStorageBaseC* [ %79, %77 ], [ %72, %71 ]
  %82 = icmp eq i64 %41, %16
  %._storage20.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %76, i64* %._storage20.count._value, align 8
  %83 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 1
  %tailaddr21 = bitcast %Ts28__ContiguousArrayStorageBaseC* %83 to %TSa*
  %._buffer22._storage = getelementptr inbounds %TSa, %TSa* %tailaddr21, i64 %73, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %64, %Ts28__ContiguousArrayStorageBaseC** %._buffer22._storage, align 8
  br i1 %82, label %110, label %36

.preheader313:                                    ; preds = %.preheader313.preheader, %103
  %84 = phi %Ts28__ContiguousArrayStorageBaseC* [ %104, %103 ], [ %.pre, %.preheader313.preheader ]
  %85 = phi i64 [ %105, %103 ], [ 0, %.preheader313.preheader ]
  %86 = phi i64 [ %107, %103 ], [ 15, %.preheader313.preheader ]
  %87 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %86, i64 %44, %swift.bridge* nonnull %48)
  %88 = extractvalue { i64, %swift.bridge* } %87, 0
  %89 = extractvalue { i64, %swift.bridge* } %87, 1
  %90 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 0, i32 0
  %91 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %90) #18
  br i1 %91, label %95, label %92

92:                                               ; preds = %.preheader313
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 0, i32 1, i32 0, i32 0, i32 0
  %93 = load i64, i64* %._storage11.count._value, align 8, !range !6
  %94 = add nuw nsw i64 %93, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %94, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre418 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer5._storage, align 8
  br label %95

95:                                               ; preds = %.preheader313, %92
  %96 = phi %Ts28__ContiguousArrayStorageBaseC* [ %84, %.preheader313 ], [ %.pre418, %92 ]
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 0, i32 0
  %97 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %._storage13._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 1, i32 0
  %98 = load i64, i64* %._storage13._capacityAndFlags._value, align 8
  %99 = lshr i64 %98, 1
  %100 = add nuw nsw i64 %97, 1
  %.not267 = icmp ugt i64 %99, %97
  br i1 %.not267, label %103, label %101, !prof !8

101:                                              ; preds = %95
  %102 = icmp ugt i64 %98, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %102, i64 %100, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre419 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer5._storage, align 8
  br label %103

103:                                              ; preds = %95, %101
  %104 = phi %Ts28__ContiguousArrayStorageBaseC* [ %96, %95 ], [ %.pre419, %101 ]
  %105 = add i64 %85, 1
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %104, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %100, i64* %._storage14.count._value, align 8
  %106 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %104, i64 1
  %tailaddr15 = bitcast %Ts28__ContiguousArrayStorageBaseC* %106 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr15, i64 %97, i32 0, i32 0, i32 0, i32 0
  store i64 %88, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr15, i64 %97, i32 0, i32 0, i32 1
  store %swift.bridge* %89, %swift.bridge** %._guts._object._object, align 8
  %107 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %86, i64 %44, %swift.bridge* nonnull %48)
  %108 = icmp eq i64 %105, %49
  br i1 %108, label %109, label %.preheader313

109:                                              ; preds = %103
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %48) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %35)
  br label %63

110:                                              ; preds = %80
  %._storage20.count._value.le = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 0, i32 1, i32 0, i32 0, i32 0
  %tailaddr21.le = bitcast %Ts28__ContiguousArrayStorageBaseC* %83 to %TSa*
  store %Ts28__ContiguousArrayStorageBaseC* %81, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %111

111:                                              ; preds = %188, %110
  %112 = phi i64 [ 0, %110 ], [ %115, %188 ]
  %113 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %110 ], [ %189, %188 ]
  %exitcond.not = icmp eq i64 %112, %16
  br i1 %exitcond.not, label %660, label %114, !prof !7

114:                                              ; preds = %111
  %115 = add nuw nsw i64 %112, 1
  %116 = load i64, i64* %._storage20.count._value.le, align 8, !range !6
  %.not269 = icmp ult i64 %112, %116
  br i1 %.not269, label %117, label %661, !prof !8

117:                                              ; preds = %114
  %._buffer26._storage = getelementptr inbounds %TSa, %TSa* %tailaddr21.le, i64 %112, i32 0, i32 0
  %118 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer26._storage, align 8
  %._storage27.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %118, i64 0, i32 1, i32 0, i32 0, i32 0
  %119 = load i64, i64* %._storage27.count._value, align 8, !range !6
  %120 = icmp eq i64 %119, 0
  br i1 %120, label %.loopexit310, label %121

121:                                              ; preds = %117
  %122 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %118, i64 1
  %tailaddr28 = bitcast %Ts28__ContiguousArrayStorageBaseC* %122 to %TSS*
  %tailaddr28._guts._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %122 to i64*
  %123 = load i64, i64* %tailaddr28._guts._object._countAndFlagsBits._value, align 8
  %tailaddr28._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %118, i64 1, i32 0, i32 1
  %124 = bitcast i64* %tailaddr28._guts._object._object to %swift.bridge**
  %125 = load %swift.bridge*, %swift.bridge** %124, align 8
  %126 = icmp eq i64 %123, 35
  %127 = icmp eq %swift.bridge* %125, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %126, i1 %127, i1 false
  br i1 %or.cond, label %.loopexit309, label %128

128:                                              ; preds = %121
  %129 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %123, %swift.bridge* %125, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %129, label %.loopexit309, label %130

130:                                              ; preds = %128
  %131 = icmp eq i64 %119, 1
  br i1 %131, label %.loopexit310, label %132

132:                                              ; preds = %130
  %._guts31._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %118, i64 1, i32 1, i32 0, i32 0, i32 0
  %133 = load i64, i64* %._guts31._object._countAndFlagsBits._value, align 8
  %._guts31._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %118, i64 1, i32 1, i32 0, i32 1
  %134 = bitcast %TSu* %._guts31._object._object to %swift.bridge**
  %135 = load %swift.bridge*, %swift.bridge** %134, align 8
  %136 = icmp eq i64 %133, 35
  %137 = icmp eq %swift.bridge* %135, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond294 = select i1 %136, i1 %137, i1 false
  br i1 %or.cond294, label %.loopexit309, label %138

138:                                              ; preds = %132
  %139 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %133, %swift.bridge* %135, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %139, label %.loopexit309, label %140

140:                                              ; preds = %138
  %141 = icmp eq i64 %119, 2
  br i1 %141, label %.loopexit310, label %.preheader308

.preheader308:                                    ; preds = %140, %153
  %142 = phi i64 [ %146, %153 ], [ 2, %140 ]
  %._guts32._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr28, i64 %142, i32 0, i32 0, i32 0, i32 0
  %143 = load i64, i64* %._guts32._object._countAndFlagsBits._value, align 8
  %._guts32._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr28, i64 %142, i32 0, i32 0, i32 1
  %144 = load %swift.bridge*, %swift.bridge** %._guts32._object._object, align 8
  %145 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %142, i64 1)
  %146 = extractvalue { i64, i1 } %145, 0
  %147 = extractvalue { i64, i1 } %145, 1
  br i1 %147, label %662, label %148, !prof !7

148:                                              ; preds = %.preheader308
  %149 = icmp eq i64 %143, 35
  %150 = icmp eq %swift.bridge* %144, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond295 = select i1 %149, i1 %150, i1 false
  br i1 %or.cond295, label %.loopexit309, label %151

151:                                              ; preds = %148
  %152 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %143, %swift.bridge* %144, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %152, label %.loopexit309, label %153

153:                                              ; preds = %151
  %154 = icmp eq i64 %146, %119
  br i1 %154, label %.loopexit310, label %.preheader308

.loopexit309:                                     ; preds = %132, %121, %138, %128, %148, %151
  %155 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 0
  %156 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %155) #18
  br i1 %156, label %161, label %157

157:                                              ; preds = %.loopexit309
  %._storage166.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 0, i32 0
  %158 = load i64, i64* %._storage166.count._value, align 8, !range !6
  %159 = add nuw nsw i64 %158, 1
  %160 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %159, i1 true, %Ts28__ContiguousArrayStorageBaseC* %113)
  br label %161

161:                                              ; preds = %.loopexit309, %157
  %162 = phi %Ts28__ContiguousArrayStorageBaseC* [ %160, %157 ], [ %113, %.loopexit309 ]
  %._storage167.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %162, i64 0, i32 1, i32 0, i32 0, i32 0
  %163 = load i64, i64* %._storage167.count._value, align 8, !range !6
  %._storage167._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %162, i64 0, i32 1, i32 0, i32 1, i32 0
  %164 = load i64, i64* %._storage167._capacityAndFlags._value, align 8
  %165 = lshr i64 %164, 1
  %166 = add nuw nsw i64 %163, 1
  %.not293 = icmp ugt i64 %165, %163
  br i1 %.not293, label %170, label %167, !prof !8

167:                                              ; preds = %161
  %168 = icmp ugt i64 %164, 1
  %169 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %168, i64 %166, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %162)
  br label %170

170:                                              ; preds = %161, %167
  %171 = phi %Ts28__ContiguousArrayStorageBaseC* [ %169, %167 ], [ %162, %161 ]
  %._storage168.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %166, i64* %._storage168.count._value, align 8
  %172 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 1
  %tailaddr169 = bitcast %Ts28__ContiguousArrayStorageBaseC* %172 to %TSi*
  %._value170 = getelementptr inbounds %TSi, %TSi* %tailaddr169, i64 %163, i32 0
  store i64 %112, i64* %._value170, align 8
  br label %.loopexit312

.loopexit310:                                     ; preds = %153, %140, %130, %117
  %173 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 0
  %174 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %173) #18
  br i1 %174, label %179, label %175

175:                                              ; preds = %.loopexit310
  %._storage33.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 0, i32 0
  %176 = load i64, i64* %._storage33.count._value, align 8, !range !6
  %177 = add nuw nsw i64 %176, 1
  %178 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %177, i1 true, %Ts28__ContiguousArrayStorageBaseC* %113)
  br label %179

179:                                              ; preds = %.loopexit310, %175
  %180 = phi %Ts28__ContiguousArrayStorageBaseC* [ %178, %175 ], [ %113, %.loopexit310 ]
  %._storage34.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 0, i32 1, i32 0, i32 0, i32 0
  %181 = load i64, i64* %._storage34.count._value, align 8, !range !6
  %._storage34._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 0, i32 1, i32 0, i32 1, i32 0
  %182 = load i64, i64* %._storage34._capacityAndFlags._value, align 8
  %183 = lshr i64 %182, 1
  %184 = add nuw nsw i64 %181, 1
  %.not270 = icmp ugt i64 %183, %181
  br i1 %.not270, label %188, label %185, !prof !8

185:                                              ; preds = %179
  %186 = icmp ugt i64 %182, 1
  %187 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %186, i64 %184, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %180)
  br label %188

188:                                              ; preds = %179, %185
  %189 = phi %Ts28__ContiguousArrayStorageBaseC* [ %187, %185 ], [ %180, %179 ]
  %._storage35.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %189, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %184, i64* %._storage35.count._value, align 8
  %190 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %189, i64 1
  %tailaddr36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %190 to %TSi*
  %._value37 = getelementptr inbounds %TSi, %TSi* %tailaddr36, i64 %181, i32 0
  store i64 %112, i64* %._value37, align 8
  %191 = icmp eq i64 %115, %16
  br i1 %191, label %.loopexit312, label %111

.loopexit312:                                     ; preds = %188, %170
  %192 = phi i64 [ %115, %170 ], [ 0, %188 ]
  %193 = phi %Ts28__ContiguousArrayStorageBaseC* [ %171, %170 ], [ %189, %188 ]
  %194 = icmp slt i64 %16, %192
  br i1 %194, label %663, label %195, !prof !7

195:                                              ; preds = %.loopexit312
  %196 = icmp eq i64 %192, %16
  br i1 %196, label %.loopexit307, label %197

197:                                              ; preds = %195
  %198 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %199 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %198, i64 1
  %tailaddr38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %199 to %TSa*
  %._storage39.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %198, i64 0, i32 1, i32 0, i32 0, i32 0
  br label %200

200:                                              ; preds = %270, %197
  %201 = phi i64 [ %192, %197 ], [ %205, %270 ]
  %202 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %197 ], [ %271, %270 ]
  %203 = phi %Ts28__ContiguousArrayStorageBaseC* [ %193, %197 ], [ %272, %270 ]
  %.not422 = icmp slt i64 %201, %16
  br i1 %.not422, label %204, label %664, !prof !8

204:                                              ; preds = %200
  %205 = add nuw nsw i64 %201, 1
  %206 = load i64, i64* %._storage39.count._value, align 8, !range !6
  %.not271 = icmp ult i64 %201, %206
  br i1 %.not271, label %207, label %665, !prof !8

207:                                              ; preds = %204
  %._buffer40._storage = getelementptr inbounds %TSa, %TSa* %tailaddr38, i64 %201, i32 0, i32 0
  %208 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer40._storage, align 8
  %._storage41.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 0, i32 1, i32 0, i32 0, i32 0
  %209 = load i64, i64* %._storage41.count._value, align 8, !range !6
  %210 = icmp eq i64 %209, 0
  br i1 %210, label %.loopexit306, label %211

211:                                              ; preds = %207
  %212 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 1
  %tailaddr43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %212 to %TSS*
  %tailaddr43._guts._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %212 to i64*
  %213 = load i64, i64* %tailaddr43._guts._object._countAndFlagsBits._value, align 8
  %tailaddr43._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 1, i32 0, i32 1
  %214 = bitcast i64* %tailaddr43._guts._object._object to %swift.bridge**
  %215 = load %swift.bridge*, %swift.bridge** %214, align 8
  %216 = icmp eq i64 %213, 35
  %217 = icmp eq %swift.bridge* %215, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond296 = select i1 %216, i1 %217, i1 false
  br i1 %or.cond296, label %.loopexit305, label %218

218:                                              ; preds = %211
  %219 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %213, %swift.bridge* %215, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %219, label %.loopexit305, label %220

220:                                              ; preds = %218
  %221 = icmp eq i64 %209, 1
  br i1 %221, label %.loopexit306, label %222

222:                                              ; preds = %220
  %._guts46._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 1, i32 1, i32 0, i32 0, i32 0
  %223 = load i64, i64* %._guts46._object._countAndFlagsBits._value, align 8
  %._guts46._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %208, i64 1, i32 1, i32 0, i32 1
  %224 = bitcast %TSu* %._guts46._object._object to %swift.bridge**
  %225 = load %swift.bridge*, %swift.bridge** %224, align 8
  %226 = icmp eq i64 %223, 35
  %227 = icmp eq %swift.bridge* %225, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond297 = select i1 %226, i1 %227, i1 false
  br i1 %or.cond297, label %.loopexit305, label %228

228:                                              ; preds = %222
  %229 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %223, %swift.bridge* %225, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %229, label %.loopexit305, label %230

230:                                              ; preds = %228
  %231 = icmp eq i64 %209, 2
  br i1 %231, label %.loopexit306, label %.preheader

.preheader:                                       ; preds = %230, %243
  %232 = phi i64 [ %236, %243 ], [ 2, %230 ]
  %._guts47._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr43, i64 %232, i32 0, i32 0, i32 0, i32 0
  %233 = load i64, i64* %._guts47._object._countAndFlagsBits._value, align 8
  %._guts47._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr43, i64 %232, i32 0, i32 0, i32 1
  %234 = load %swift.bridge*, %swift.bridge** %._guts47._object._object, align 8
  %235 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %232, i64 1)
  %236 = extractvalue { i64, i1 } %235, 0
  %237 = extractvalue { i64, i1 } %235, 1
  br i1 %237, label %666, label %238, !prof !7

238:                                              ; preds = %.preheader
  %239 = icmp eq i64 %233, 35
  %240 = icmp eq %swift.bridge* %234, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond298 = select i1 %239, i1 %240, i1 false
  br i1 %or.cond298, label %.loopexit305, label %241

241:                                              ; preds = %238
  %242 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %233, %swift.bridge* %234, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %242, label %.loopexit305, label %243

243:                                              ; preds = %241
  %244 = icmp eq i64 %236, %209
  br i1 %244, label %.loopexit306, label %.preheader

.loopexit305:                                     ; preds = %238, %241, %222, %211, %228, %218
  %245 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %203, i64 0, i32 0
  %246 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %202, i64 0, i32 0
  %247 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %245) #18
  %248 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %246) #18
  br i1 %248, label %253, label %249

249:                                              ; preds = %.loopexit305
  %._storage153.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %202, i64 0, i32 1, i32 0, i32 0, i32 0
  %250 = load i64, i64* %._storage153.count._value, align 8, !range !6
  %251 = add nuw nsw i64 %250, 1
  %252 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %251, i1 true, %Ts28__ContiguousArrayStorageBaseC* %202, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %253

253:                                              ; preds = %.loopexit305, %249
  %254 = phi %Ts28__ContiguousArrayStorageBaseC* [ %252, %249 ], [ %202, %.loopexit305 ]
  %._storage154.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %254, i64 0, i32 1, i32 0, i32 0, i32 0
  %255 = load i64, i64* %._storage154.count._value, align 8, !range !6
  %._storage154._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %254, i64 0, i32 1, i32 0, i32 1, i32 0
  %256 = load i64, i64* %._storage154._capacityAndFlags._value, align 8
  %257 = lshr i64 %256, 1
  %258 = add nuw nsw i64 %255, 1
  %.not292 = icmp ugt i64 %257, %255
  br i1 %.not292, label %262, label %259, !prof !8

259:                                              ; preds = %253
  %260 = icmp ugt i64 %256, 1
  %261 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %260, i64 %258, i1 true, %Ts28__ContiguousArrayStorageBaseC* %254, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %262

262:                                              ; preds = %253, %259
  %263 = phi %Ts28__ContiguousArrayStorageBaseC* [ %261, %259 ], [ %254, %253 ]
  %._storage155.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %263, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %258, i64* %._storage155.count._value, align 8
  %264 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %263, i64 1
  %tailaddr156 = bitcast %Ts28__ContiguousArrayStorageBaseC* %264 to %TSa*
  %._buffer157._storage = getelementptr inbounds %TSa, %TSa* %tailaddr156, i64 %255, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %203, %Ts28__ContiguousArrayStorageBaseC** %._buffer157._storage, align 8
  %265 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #19
  %266 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %265, i64 40, i64 7) #2
  %267 = bitcast %swift.refcounted* %266 to %Ts28__ContiguousArrayStorageBaseC*
  %268 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %266, i64 1
  %._storage158.count._value = bitcast %swift.refcounted* %268 to i64*
  store i64 1, i64* %._storage158.count._value, align 8
  %._storage158._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %266, i64 1, i32 1
  store i64 2, i64* %._storage158._capacityAndFlags, align 8
  %269 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %266, i64 2
  %tailaddr159._value = bitcast %swift.refcounted* %269 to i64*
  store i64 %201, i64* %tailaddr159._value, align 8
  tail call void @swift_release(%swift.refcounted* %245) #2
  br label %270

270:                                              ; preds = %262, %289
  %271 = phi %Ts28__ContiguousArrayStorageBaseC* [ %202, %289 ], [ %263, %262 ]
  %272 = phi %Ts28__ContiguousArrayStorageBaseC* [ %290, %289 ], [ %267, %262 ]
  %273 = icmp eq i64 %205, %16
  br i1 %273, label %.loopexit307, label %200

.loopexit306:                                     ; preds = %243, %230, %220, %207
  %274 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %203, i64 0, i32 0
  %275 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %274) #18
  br i1 %275, label %280, label %276

276:                                              ; preds = %.loopexit306
  %._storage48.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %203, i64 0, i32 1, i32 0, i32 0, i32 0
  %277 = load i64, i64* %._storage48.count._value, align 8, !range !6
  %278 = add nuw nsw i64 %277, 1
  %279 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %278, i1 true, %Ts28__ContiguousArrayStorageBaseC* %203)
  br label %280

280:                                              ; preds = %.loopexit306, %276
  %281 = phi %Ts28__ContiguousArrayStorageBaseC* [ %279, %276 ], [ %203, %.loopexit306 ]
  %._storage49.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %281, i64 0, i32 1, i32 0, i32 0, i32 0
  %282 = load i64, i64* %._storage49.count._value, align 8, !range !6
  %._storage49._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %281, i64 0, i32 1, i32 0, i32 1, i32 0
  %283 = load i64, i64* %._storage49._capacityAndFlags._value, align 8
  %284 = lshr i64 %283, 1
  %285 = add nuw nsw i64 %282, 1
  %.not272 = icmp ugt i64 %284, %282
  br i1 %.not272, label %289, label %286, !prof !8

286:                                              ; preds = %280
  %287 = icmp ugt i64 %283, 1
  %288 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %287, i64 %285, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %281)
  br label %289

289:                                              ; preds = %280, %286
  %290 = phi %Ts28__ContiguousArrayStorageBaseC* [ %288, %286 ], [ %281, %280 ]
  %._storage50.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %290, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %285, i64* %._storage50.count._value, align 8
  %291 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %290, i64 1
  %tailaddr51 = bitcast %Ts28__ContiguousArrayStorageBaseC* %291 to %TSi*
  %._value52 = getelementptr inbounds %TSi, %TSi* %tailaddr51, i64 %282, i32 0
  store i64 %201, i64* %._value52, align 8
  br label %270

.loopexit307:                                     ; preds = %270, %195
  %292 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %195 ], [ %271, %270 ]
  %293 = phi %Ts28__ContiguousArrayStorageBaseC* [ %193, %195 ], [ %272, %270 ]
  %._storage53.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %293, i64 0, i32 1, i32 0, i32 0, i32 0
  %294 = load i64, i64* %._storage53.count._value, align 8, !range !6
  %.not273 = icmp eq i64 %294, 0
  br i1 %.not273, label %315, label %295

295:                                              ; preds = %.loopexit307
  %296 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %293, i64 0, i32 0
  %297 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 0, i32 0
  %298 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %296) #18
  %299 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %297) #18
  br i1 %299, label %304, label %300

300:                                              ; preds = %295
  %._storage148.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 0, i32 1, i32 0, i32 0, i32 0
  %301 = load i64, i64* %._storage148.count._value, align 8, !range !6
  %302 = add nuw nsw i64 %301, 1
  %303 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %302, i1 true, %Ts28__ContiguousArrayStorageBaseC* %292, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %304

304:                                              ; preds = %295, %300
  %305 = phi %Ts28__ContiguousArrayStorageBaseC* [ %303, %300 ], [ %292, %295 ]
  %._storage149.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %305, i64 0, i32 1, i32 0, i32 0, i32 0
  %306 = load i64, i64* %._storage149.count._value, align 8, !range !6
  %._storage149._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %305, i64 0, i32 1, i32 0, i32 1, i32 0
  %307 = load i64, i64* %._storage149._capacityAndFlags._value, align 8
  %308 = lshr i64 %307, 1
  %309 = add nuw nsw i64 %306, 1
  %.not291 = icmp ugt i64 %308, %306
  br i1 %.not291, label %.thread424, label %310, !prof !8

310:                                              ; preds = %304
  %311 = icmp ugt i64 %307, 1
  %312 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %311, i64 %309, i1 true, %Ts28__ContiguousArrayStorageBaseC* %305, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %.thread424

.thread424:                                       ; preds = %310, %304
  %313 = phi %Ts28__ContiguousArrayStorageBaseC* [ %312, %310 ], [ %305, %304 ]
  %._storage150.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %313, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %309, i64* %._storage150.count._value, align 8
  %314 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %313, i64 1
  %tailaddr151 = bitcast %Ts28__ContiguousArrayStorageBaseC* %314 to %TSa*
  %._buffer152._storage = getelementptr inbounds %TSa, %TSa* %tailaddr151, i64 %306, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %293, %Ts28__ContiguousArrayStorageBaseC** %._buffer152._storage, align 8
  br label %317

315:                                              ; preds = %.loopexit307
  %._storage54.count._value.phi.trans.insert = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 0, i32 1, i32 0, i32 0, i32 0
  %.pre420 = load i64, i64* %._storage54.count._value.phi.trans.insert, align 8, !range !6
  %316 = icmp eq i64 %.pre420, 0
  br i1 %316, label %._crit_edge, label %317

317:                                              ; preds = %.thread424, %315
  %318 = phi %Ts28__ContiguousArrayStorageBaseC* [ %313, %.thread424 ], [ %292, %315 ]
  %319 = phi i64 [ %309, %.thread424 ], [ %.pre420, %315 ]
  %._storage54.count._value426 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %318, i64 0, i32 1, i32 0, i32 0, i32 0
  %320 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %318, i64 0, i32 0
  %321 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 0
  %322 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %320) #18
  %323 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %321) #18
  br i1 %323, label %326, label %324

324:                                              ; preds = %317
  %325 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %31)
  br label %326

326:                                              ; preds = %317, %324
  %327 = phi %Ts28__ContiguousArrayStorageBaseC* [ %325, %324 ], [ %31, %317 ]
  %328 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %318, i64 1
  %tailaddr55 = bitcast %Ts28__ContiguousArrayStorageBaseC* %328 to %TSa*
  %329 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  %330 = bitcast %TSS* %2 to i8*
  %._guts68._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts68._object._object = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 1
  %331 = bitcast %TSS* %3 to i8*
  %._guts69._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts69._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  %332 = bitcast %TSS* %3 to %swift.opaque*
  %333 = bitcast %TSS* %2 to %swift.opaque*
  %334 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch78, i64 0, i64 0
  %335 = bitcast %TSS* %4 to i8*
  %._guts87._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts87._object._object = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  %336 = bitcast %TSS* %5 to i8*
  %._guts88._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts88._object._object = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 1
  %337 = bitcast %TSS* %5 to %swift.opaque*
  %338 = bitcast %TSS* %4 to %swift.opaque*
  %._storage104.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %327, i64 0, i32 1, i32 0, i32 0, i32 0
  %339 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %327, i64 1
  %tailaddr105 = bitcast %Ts28__ContiguousArrayStorageBaseC* %339 to %TSa*
  %smax = tail call i64 @llvm.smax.i64(i64 %19, i64 0)
  br label %340

340:                                              ; preds = %603, %326
  %341 = phi i64 [ %22, %326 ], [ %604, %603 ]
  %342 = phi i64 [ 0, %326 ], [ %346, %603 ]
  %343 = load i64, i64* %._storage54.count._value426, align 8, !range !6
  %.not274 = icmp ult i64 %342, %343
  br i1 %.not274, label %344, label %667, !prof !8

344:                                              ; preds = %340
  %._buffer56._storage = getelementptr inbounds %TSa, %TSa* %tailaddr55, i64 %342, i32 0, i32 0
  %345 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer56._storage, align 8
  %346 = add nuw nsw i64 %342, 1
  br i1 %.not266, label %.thread299, label %347

347:                                              ; preds = %344
  %._storage57.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 1, i32 0, i32 0, i32 0
  %348 = load i64, i64* %._storage57.count._value, align 8, !range !6
  %349 = icmp eq i64 %348, 0
  %350 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  %351 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 1
  %tailaddr58 = bitcast %Ts28__ContiguousArrayStorageBaseC* %351 to %TSi*
  %352 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %350) #18
  br label %353

353:                                              ; preds = %418, %347
  %354 = phi i64 [ 0, %347 ], [ %357, %418 ]
  %355 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %347 ], [ %419, %418 ]
  %exitcond414.not = icmp eq i64 %354, %smax
  br i1 %exitcond414.not, label %668, label %356, !prof !7

356:                                              ; preds = %353
  %357 = add nuw i64 %354, 1
  br i1 %349, label %402, label %360

.thread299:                                       ; preds = %344
  %358 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  %359 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %358) #18
  br label %425

360:                                              ; preds = %356
  %361 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %350) #18
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %329)
  call void @swift_beginAccess(i8* nonnull %23, [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #2
  br label %362

362:                                              ; preds = %360, %380
  %363 = phi i64 [ 0, %360 ], [ %365, %380 ]
  %._value60 = getelementptr inbounds %TSi, %TSi* %tailaddr58, i64 %363, i32 0
  %364 = load i64, i64* %._value60, align 8
  %365 = add nuw nsw i64 %363, 1
  %366 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %367 = icmp slt i64 %364, 0
  br i1 %367, label %669, label %368, !prof !7

368:                                              ; preds = %362
  %._storage62.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %366, i64 0, i32 1, i32 0, i32 0, i32 0
  %369 = load i64, i64* %._storage62.count._value, align 8, !range !6
  %.not275 = icmp ult i64 %364, %369
  br i1 %.not275, label %370, label %670, !prof !8

370:                                              ; preds = %368
  %371 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %366, i64 1
  %tailaddr63 = bitcast %Ts28__ContiguousArrayStorageBaseC* %371 to %TSa*
  %._buffer64._storage = getelementptr inbounds %TSa, %TSa* %tailaddr63, i64 %364, i32 0, i32 0
  %372 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer64._storage, align 8
  %._storage65.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %372, i64 0, i32 1, i32 0, i32 0, i32 0
  %373 = load i64, i64* %._storage65.count._value, align 8, !range !6
  %.not276 = icmp ult i64 %354, %373
  br i1 %.not276, label %374, label %671, !prof !8

374:                                              ; preds = %370
  %375 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %372, i64 1
  %tailaddr66 = bitcast %Ts28__ContiguousArrayStorageBaseC* %375 to %TSS*
  %._guts67._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr66, i64 %354, i32 0, i32 0, i32 0, i32 0
  %376 = load i64, i64* %._guts67._object._countAndFlagsBits._value, align 8
  %._guts67._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr66, i64 %354, i32 0, i32 0, i32 1
  %377 = load %swift.bridge*, %swift.bridge** %._guts67._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %330)
  store i64 %376, i64* %._guts68._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %377, %swift.bridge** %._guts68._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %331)
  store i64 35, i64* %._guts69._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts69._object._object, align 8
  %378 = tail call i8** @"$sS2SSysWl"() #20
  %379 = call swiftcc i1 @"$sSy10FoundationE8containsySbqd__SyRd__lF"(%swift.opaque* noalias nocapture nonnull %332, %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSSN", i8** %378, i8** %378, %swift.opaque* noalias nocapture nonnull swiftself %333)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %331)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %330)
  br i1 %379, label %383, label %380

380:                                              ; preds = %374
  %381 = icmp eq i64 %365, %348
  br i1 %381, label %382, label %362

382:                                              ; preds = %380
  call void @swift_release(%swift.refcounted* %350) #2
  br label %402

383:                                              ; preds = %374
  call void @swift_release(%swift.refcounted* %350) #2
  %384 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %355, i64 0, i32 0
  %385 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %384) #18
  br i1 %385, label %390, label %386

386:                                              ; preds = %383
  %._storage143.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %355, i64 0, i32 1, i32 0, i32 0, i32 0
  %387 = load i64, i64* %._storage143.count._value, align 8, !range !6
  %388 = add nuw nsw i64 %387, 1
  %389 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %388, i1 true, %Ts28__ContiguousArrayStorageBaseC* %355)
  br label %390

390:                                              ; preds = %383, %386
  %391 = phi %Ts28__ContiguousArrayStorageBaseC* [ %389, %386 ], [ %355, %383 ]
  %._storage144.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %391, i64 0, i32 1, i32 0, i32 0, i32 0
  %392 = load i64, i64* %._storage144.count._value, align 8, !range !6
  %._storage144._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %391, i64 0, i32 1, i32 0, i32 1, i32 0
  %393 = load i64, i64* %._storage144._capacityAndFlags._value, align 8
  %394 = lshr i64 %393, 1
  %395 = add nuw nsw i64 %392, 1
  %.not290 = icmp ugt i64 %394, %392
  br i1 %.not290, label %399, label %396, !prof !8

396:                                              ; preds = %390
  %397 = icmp ugt i64 %393, 1
  %398 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %397, i64 %395, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %391)
  br label %399

399:                                              ; preds = %390, %396
  %400 = phi %Ts28__ContiguousArrayStorageBaseC* [ %398, %396 ], [ %391, %390 ]
  %._storage145.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %400, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %395, i64* %._storage145.count._value, align 8
  %401 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %400, i64 1
  %tailaddr146 = bitcast %Ts28__ContiguousArrayStorageBaseC* %401 to %TSi*
  %._value147 = getelementptr inbounds %TSi, %TSi* %tailaddr146, i64 %392, i32 0
  store i64 %354, i64* %._value147, align 8
  br label %.loopexit304

402:                                              ; preds = %356, %382
  %403 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %355, i64 0, i32 0
  %404 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %403) #18
  br i1 %404, label %409, label %405

405:                                              ; preds = %402
  %._storage70.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %355, i64 0, i32 1, i32 0, i32 0, i32 0
  %406 = load i64, i64* %._storage70.count._value, align 8, !range !6
  %407 = add nuw nsw i64 %406, 1
  %408 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %407, i1 true, %Ts28__ContiguousArrayStorageBaseC* %355)
  br label %409

409:                                              ; preds = %402, %405
  %410 = phi %Ts28__ContiguousArrayStorageBaseC* [ %408, %405 ], [ %355, %402 ]
  %._storage71.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %410, i64 0, i32 1, i32 0, i32 0, i32 0
  %411 = load i64, i64* %._storage71.count._value, align 8, !range !6
  %._storage71._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %410, i64 0, i32 1, i32 0, i32 1, i32 0
  %412 = load i64, i64* %._storage71._capacityAndFlags._value, align 8
  %413 = lshr i64 %412, 1
  %414 = add nuw nsw i64 %411, 1
  %.not277 = icmp ugt i64 %413, %411
  br i1 %.not277, label %418, label %415, !prof !8

415:                                              ; preds = %409
  %416 = icmp ugt i64 %412, 1
  %417 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %416, i64 %414, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %410)
  br label %418

418:                                              ; preds = %409, %415
  %419 = phi %Ts28__ContiguousArrayStorageBaseC* [ %417, %415 ], [ %410, %409 ]
  %._storage72.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %419, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %414, i64* %._storage72.count._value, align 8
  %420 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %419, i64 1
  %tailaddr73 = bitcast %Ts28__ContiguousArrayStorageBaseC* %420 to %TSi*
  %._value74 = getelementptr inbounds %TSi, %TSi* %tailaddr73, i64 %411, i32 0
  store i64 %354, i64* %._value74, align 8
  %421 = icmp eq i64 %357, %19
  br i1 %421, label %.loopexit304, label %353

.loopexit304:                                     ; preds = %418, %399
  %422 = phi i64 [ %357, %399 ], [ 0, %418 ]
  %423 = phi %Ts28__ContiguousArrayStorageBaseC* [ %400, %399 ], [ %419, %418 ]
  %424 = icmp slt i64 %19, %422
  br i1 %424, label %672, label %425, !prof !7

425:                                              ; preds = %.thread299, %.loopexit304
  %426 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.thread299 ], [ %423, %.loopexit304 ]
  %427 = phi i64 [ 0, %.thread299 ], [ %422, %.loopexit304 ]
  %428 = icmp eq i64 %427, %19
  br i1 %428, label %.loopexit303, label %429

429:                                              ; preds = %425
  %._storage75.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 1, i32 0, i32 0, i32 0
  %430 = load i64, i64* %._storage75.count._value, align 8, !range !6
  %431 = icmp eq i64 %430, 0
  %432 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 1
  %tailaddr76 = bitcast %Ts28__ContiguousArrayStorageBaseC* %432 to %TSi*
  %433 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  br label %434

434:                                              ; preds = %491, %429
  %435 = phi i64 [ %427, %429 ], [ %439, %491 ]
  %436 = phi %Ts28__ContiguousArrayStorageBaseC* [ %426, %429 ], [ %492, %491 ]
  %437 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %429 ], [ %493, %491 ]
  %.not423 = icmp slt i64 %435, %19
  br i1 %.not423, label %438, label %673, !prof !8

438:                                              ; preds = %434
  %439 = add nsw i64 %435, 1
  br i1 %431, label %495, label %440

440:                                              ; preds = %438
  %441 = icmp slt i64 %435, 0
  br i1 %441, label %674, label %442, !prof !7

442:                                              ; preds = %440
  %443 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %433) #18
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %334)
  call void @swift_beginAccess(i8* nonnull %23, [24 x i8]* nonnull %access-scratch78, i64 0, i8* null) #2
  br label %444

444:                                              ; preds = %442, %462
  %445 = phi i64 [ 0, %442 ], [ %447, %462 ]
  %._value79 = getelementptr inbounds %TSi, %TSi* %tailaddr76, i64 %445, i32 0
  %446 = load i64, i64* %._value79, align 8
  %447 = add nuw nsw i64 %445, 1
  %448 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %449 = icmp slt i64 %446, 0
  br i1 %449, label %675, label %450, !prof !7

450:                                              ; preds = %444
  %._storage81.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %448, i64 0, i32 1, i32 0, i32 0, i32 0
  %451 = load i64, i64* %._storage81.count._value, align 8, !range !6
  %.not278 = icmp ult i64 %446, %451
  br i1 %.not278, label %452, label %676, !prof !8

452:                                              ; preds = %450
  %453 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %448, i64 1
  %tailaddr82 = bitcast %Ts28__ContiguousArrayStorageBaseC* %453 to %TSa*
  %._buffer83._storage = getelementptr inbounds %TSa, %TSa* %tailaddr82, i64 %446, i32 0, i32 0
  %454 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer83._storage, align 8
  %._storage84.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %454, i64 0, i32 1, i32 0, i32 0, i32 0
  %455 = load i64, i64* %._storage84.count._value, align 8, !range !6
  %.not279 = icmp slt i64 %435, %455
  br i1 %.not279, label %456, label %677, !prof !8

456:                                              ; preds = %452
  %457 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %454, i64 1
  %tailaddr85 = bitcast %Ts28__ContiguousArrayStorageBaseC* %457 to %TSS*
  %._guts86._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr85, i64 %435, i32 0, i32 0, i32 0, i32 0
  %458 = load i64, i64* %._guts86._object._countAndFlagsBits._value, align 8
  %._guts86._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr85, i64 %435, i32 0, i32 0, i32 1
  %459 = load %swift.bridge*, %swift.bridge** %._guts86._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %335)
  store i64 %458, i64* %._guts87._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %459, %swift.bridge** %._guts87._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %336)
  store i64 35, i64* %._guts88._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts88._object._object, align 8
  %460 = tail call i8** @"$sS2SSysWl"() #20
  %461 = call swiftcc i1 @"$sSy10FoundationE8containsySbqd__SyRd__lF"(%swift.opaque* noalias nocapture nonnull %337, %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSSN", i8** %460, i8** %460, %swift.opaque* noalias nocapture nonnull swiftself %338)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %336)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %335)
  br i1 %461, label %465, label %462

462:                                              ; preds = %456
  %463 = icmp eq i64 %447, %430
  br i1 %463, label %464, label %444

464:                                              ; preds = %462
  call void @swift_release(%swift.refcounted* %433) #2
  br label %495

465:                                              ; preds = %456
  call void @swift_release(%swift.refcounted* %433) #2
  %466 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %436, i64 0, i32 0
  %467 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %437, i64 0, i32 0
  %468 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %466) #18
  %469 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %467) #18
  br i1 %469, label %474, label %470

470:                                              ; preds = %465
  %._storage136.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %437, i64 0, i32 1, i32 0, i32 0, i32 0
  %471 = load i64, i64* %._storage136.count._value, align 8, !range !6
  %472 = add nuw nsw i64 %471, 1
  %473 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %472, i1 true, %Ts28__ContiguousArrayStorageBaseC* %437, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %474

474:                                              ; preds = %465, %470
  %475 = phi %Ts28__ContiguousArrayStorageBaseC* [ %473, %470 ], [ %437, %465 ]
  %._storage137.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %475, i64 0, i32 1, i32 0, i32 0, i32 0
  %476 = load i64, i64* %._storage137.count._value, align 8, !range !6
  %._storage137._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %475, i64 0, i32 1, i32 0, i32 1, i32 0
  %477 = load i64, i64* %._storage137._capacityAndFlags._value, align 8
  %478 = lshr i64 %477, 1
  %479 = add nuw nsw i64 %476, 1
  %.not289 = icmp ugt i64 %478, %476
  br i1 %.not289, label %483, label %480, !prof !8

480:                                              ; preds = %474
  %481 = icmp ugt i64 %477, 1
  %482 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %481, i64 %479, i1 true, %Ts28__ContiguousArrayStorageBaseC* %475, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %483

483:                                              ; preds = %474, %480
  %484 = phi %Ts28__ContiguousArrayStorageBaseC* [ %482, %480 ], [ %475, %474 ]
  %._storage138.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %484, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %479, i64* %._storage138.count._value, align 8
  %485 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %484, i64 1
  %tailaddr139 = bitcast %Ts28__ContiguousArrayStorageBaseC* %485 to %TSa*
  %._buffer140._storage = getelementptr inbounds %TSa, %TSa* %tailaddr139, i64 %476, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %436, %Ts28__ContiguousArrayStorageBaseC** %._buffer140._storage, align 8
  %486 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #19
  %487 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %486, i64 40, i64 7) #2
  %488 = bitcast %swift.refcounted* %487 to %Ts28__ContiguousArrayStorageBaseC*
  %489 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %487, i64 1
  %._storage141.count._value = bitcast %swift.refcounted* %489 to i64*
  store i64 1, i64* %._storage141.count._value, align 8
  %._storage141._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %487, i64 1, i32 1
  store i64 2, i64* %._storage141._capacityAndFlags, align 8
  %490 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %487, i64 2
  %tailaddr142._value = bitcast %swift.refcounted* %490 to i64*
  store i64 %435, i64* %tailaddr142._value, align 8
  call void @swift_release(%swift.refcounted* %466) #2
  br label %491

491:                                              ; preds = %483, %511
  %492 = phi %Ts28__ContiguousArrayStorageBaseC* [ %512, %511 ], [ %488, %483 ]
  %493 = phi %Ts28__ContiguousArrayStorageBaseC* [ %437, %511 ], [ %484, %483 ]
  %494 = icmp eq i64 %439, %19
  br i1 %494, label %.loopexit303, label %434

495:                                              ; preds = %438, %464
  %496 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %436, i64 0, i32 0
  %497 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %496) #18
  br i1 %497, label %502, label %498

498:                                              ; preds = %495
  %._storage89.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %436, i64 0, i32 1, i32 0, i32 0, i32 0
  %499 = load i64, i64* %._storage89.count._value, align 8, !range !6
  %500 = add nuw nsw i64 %499, 1
  %501 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %500, i1 true, %Ts28__ContiguousArrayStorageBaseC* %436)
  br label %502

502:                                              ; preds = %495, %498
  %503 = phi %Ts28__ContiguousArrayStorageBaseC* [ %501, %498 ], [ %436, %495 ]
  %._storage90.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %503, i64 0, i32 1, i32 0, i32 0, i32 0
  %504 = load i64, i64* %._storage90.count._value, align 8, !range !6
  %._storage90._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %503, i64 0, i32 1, i32 0, i32 1, i32 0
  %505 = load i64, i64* %._storage90._capacityAndFlags._value, align 8
  %506 = lshr i64 %505, 1
  %507 = add nuw nsw i64 %504, 1
  %.not280 = icmp ugt i64 %506, %504
  br i1 %.not280, label %511, label %508, !prof !8

508:                                              ; preds = %502
  %509 = icmp ugt i64 %505, 1
  %510 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %509, i64 %507, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %503)
  br label %511

511:                                              ; preds = %502, %508
  %512 = phi %Ts28__ContiguousArrayStorageBaseC* [ %510, %508 ], [ %503, %502 ]
  %._storage91.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %512, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %507, i64* %._storage91.count._value, align 8
  %513 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %512, i64 1
  %tailaddr92 = bitcast %Ts28__ContiguousArrayStorageBaseC* %513 to %TSi*
  %._value93 = getelementptr inbounds %TSi, %TSi* %tailaddr92, i64 %504, i32 0
  store i64 %435, i64* %._value93, align 8
  br label %491

.loopexit303:                                     ; preds = %491, %425
  %514 = phi %Ts28__ContiguousArrayStorageBaseC* [ %426, %425 ], [ %492, %491 ]
  %515 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %425 ], [ %493, %491 ]
  %._storage94.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %514, i64 0, i32 1, i32 0, i32 0, i32 0
  %516 = load i64, i64* %._storage94.count._value, align 8, !range !6
  %.not281 = icmp eq i64 %516, 0
  br i1 %.not281, label %537, label %517

517:                                              ; preds = %.loopexit303
  %518 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %514, i64 0, i32 0
  %519 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %515, i64 0, i32 0
  %520 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %518) #18
  %521 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %519) #18
  br i1 %521, label %526, label %522

522:                                              ; preds = %517
  %._storage131.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %515, i64 0, i32 1, i32 0, i32 0, i32 0
  %523 = load i64, i64* %._storage131.count._value, align 8, !range !6
  %524 = add nuw nsw i64 %523, 1
  %525 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %524, i1 true, %Ts28__ContiguousArrayStorageBaseC* %515, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %526

526:                                              ; preds = %517, %522
  %527 = phi %Ts28__ContiguousArrayStorageBaseC* [ %525, %522 ], [ %515, %517 ]
  %._storage132.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %527, i64 0, i32 1, i32 0, i32 0, i32 0
  %528 = load i64, i64* %._storage132.count._value, align 8, !range !6
  %._storage132._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %527, i64 0, i32 1, i32 0, i32 1, i32 0
  %529 = load i64, i64* %._storage132._capacityAndFlags._value, align 8
  %530 = lshr i64 %529, 1
  %531 = add nuw nsw i64 %528, 1
  %.not288 = icmp ugt i64 %530, %528
  br i1 %.not288, label %.thread427, label %532, !prof !8

532:                                              ; preds = %526
  %533 = icmp ugt i64 %529, 1
  %534 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %533, i64 %531, i1 true, %Ts28__ContiguousArrayStorageBaseC* %527, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %.thread427

.thread427:                                       ; preds = %532, %526
  %535 = phi %Ts28__ContiguousArrayStorageBaseC* [ %534, %532 ], [ %527, %526 ]
  %._storage133.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %535, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %531, i64* %._storage133.count._value, align 8
  %536 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %535, i64 1
  %tailaddr134 = bitcast %Ts28__ContiguousArrayStorageBaseC* %536 to %TSa*
  %._buffer135._storage = getelementptr inbounds %TSa, %TSa* %tailaddr134, i64 %528, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %514, %Ts28__ContiguousArrayStorageBaseC** %._buffer135._storage, align 8
  br label %539

537:                                              ; preds = %.loopexit303
  %._storage95.count._value.phi.trans.insert = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %515, i64 0, i32 1, i32 0, i32 0, i32 0
  %.pre421 = load i64, i64* %._storage95.count._value.phi.trans.insert, align 8, !range !6
  %538 = icmp eq i64 %.pre421, 0
  br i1 %538, label %548, label %539

539:                                              ; preds = %.thread427, %537
  %540 = phi %Ts28__ContiguousArrayStorageBaseC* [ %535, %.thread427 ], [ %515, %537 ]
  %541 = phi i64 [ %531, %.thread427 ], [ %.pre421, %537 ]
  %._storage95.count._value429 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %540, i64 0, i32 1, i32 0, i32 0, i32 0
  %542 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %540, i64 1
  %tailaddr96 = bitcast %Ts28__ContiguousArrayStorageBaseC* %542 to %TSa*
  %543 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %540, i64 0, i32 0
  %._storage99.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 1, i32 0, i32 0, i32 0
  %544 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 1
  %tailaddr102 = bitcast %Ts28__ContiguousArrayStorageBaseC* %544 to %TSi*
  %545 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  %546 = xor i64 %341, -9223372036854775808
  %547 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %543) #18
  br label %550

548:                                              ; preds = %537
  %549 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %514, i64 0, i32 0
  br label %603

550:                                              ; preds = %599, %539
  %551 = phi i64 [ %341, %539 ], [ %600, %599 ]
  %552 = phi i64 [ 0, %539 ], [ %556, %599 ]
  %553 = load i64, i64* %._storage95.count._value429, align 8, !range !6
  %.not282 = icmp ult i64 %552, %553
  br i1 %.not282, label %554, label %678, !prof !8

554:                                              ; preds = %550
  %._buffer97._storage = getelementptr inbounds %TSa, %TSa* %tailaddr96, i64 %552, i32 0, i32 0
  %555 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer97._storage, align 8
  %556 = add nuw nsw i64 %552, 1
  %._storage98.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %555, i64 0, i32 1, i32 0, i32 0, i32 0
  %557 = load i64, i64* %._storage98.count._value, align 8, !range !6
  %558 = icmp eq i64 %557, 0
  br i1 %558, label %598, label %559

559:                                              ; preds = %554
  %560 = load i64, i64* %._storage99.count._value, align 8, !range !6
  %561 = icmp eq i64 %560, 0
  %562 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %555, i64 1
  %tailaddr100 = bitcast %Ts28__ContiguousArrayStorageBaseC* %562 to %TSi*
  %563 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %555, i64 0, i32 0
  %564 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %563) #18
  br label %565

565:                                              ; preds = %595, %559
  %566 = phi i64 [ 0, %559 ], [ %570, %595 ]
  %567 = load i64, i64* %._storage98.count._value, align 8, !range !6
  %.not283 = icmp ult i64 %566, %567
  br i1 %.not283, label %568, label %679, !prof !8

568:                                              ; preds = %565
  %._value101 = getelementptr inbounds %TSi, %TSi* %tailaddr100, i64 %566, i32 0
  %569 = load i64, i64* %._value101, align 8
  %570 = add nuw nsw i64 %566, 1
  br i1 %561, label %595, label %571

571:                                              ; preds = %568
  %572 = icmp slt i64 %569, 0
  br i1 %572, label %680, label %573, !prof !7

573:                                              ; preds = %571
  %574 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %545) #18
  br label %575

575:                                              ; preds = %590, %573
  %576 = phi i64 [ 0, %573 ], [ %591, %590 ]
  %._value103 = getelementptr inbounds %TSi, %TSi* %tailaddr102, i64 %576, i32 0
  %577 = load i64, i64* %._value103, align 8
  %578 = icmp slt i64 %577, 0
  br i1 %578, label %681, label %579, !prof !7

579:                                              ; preds = %575
  %580 = load i64, i64* %._storage104.count._value, align 8, !range !6
  %.not284 = icmp ult i64 %577, %580
  br i1 %.not284, label %581, label %682, !prof !8

581:                                              ; preds = %579
  %._buffer106._storage = getelementptr inbounds %TSa, %TSa* %tailaddr105, i64 %577, i32 0, i32 0
  %582 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer106._storage, align 8
  %583 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %582, i64 0, i32 0
  %584 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %583) #18
  store %Ts28__ContiguousArrayStorageBaseC* %582, %Ts28__ContiguousArrayStorageBaseC** %._buffer106._storage, align 8
  br i1 %584, label %587, label %585

585:                                              ; preds = %581
  %586 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %582)
  store %Ts28__ContiguousArrayStorageBaseC* %586, %Ts28__ContiguousArrayStorageBaseC** %._buffer106._storage, align 8
  br label %587

587:                                              ; preds = %581, %585
  %588 = phi %Ts28__ContiguousArrayStorageBaseC* [ %582, %581 ], [ %586, %585 ]
  %._storage109.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %588, i64 0, i32 1, i32 0, i32 0, i32 0
  %589 = load i64, i64* %._storage109.count._value, align 8, !range !6
  %.not285 = icmp slt i64 %569, %589
  br i1 %.not285, label %590, label %683, !prof !8

590:                                              ; preds = %587
  %591 = add nuw nsw i64 %576, 1
  %592 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %588, i64 1
  %tailaddr110 = bitcast %Ts28__ContiguousArrayStorageBaseC* %592 to %TSi*
  %._value111 = getelementptr inbounds %TSi, %TSi* %tailaddr110, i64 %569, i32 0
  store i64 %551, i64* %._value111, align 8
  %593 = icmp eq i64 %591, %560
  br i1 %593, label %594, label %575

594:                                              ; preds = %590
  call void @swift_release(%swift.refcounted* %545) #2
  br label %595

595:                                              ; preds = %568, %594
  %596 = icmp eq i64 %570, %557
  br i1 %596, label %597, label %565

597:                                              ; preds = %595
  call void @swift_release(%swift.refcounted* %563) #2
  br label %598

598:                                              ; preds = %554, %597
  %exitcond415 = icmp eq i64 %552, %546
  br i1 %exitcond415, label %684, label %599, !prof !7

599:                                              ; preds = %598
  %600 = add i64 %551, -1
  %601 = icmp eq i64 %556, %541
  br i1 %601, label %602, label %550

602:                                              ; preds = %599
  call void @swift_release(%swift.refcounted* %543) #2
  br label %603

603:                                              ; preds = %548, %602
  %.sink = phi %swift.refcounted* [ %549, %548 ], [ %543, %602 ]
  %.sink477 = phi %Ts28__ContiguousArrayStorageBaseC* [ %515, %548 ], [ %514, %602 ]
  %604 = phi i64 [ %341, %548 ], [ %600, %602 ]
  call void @swift_release(%swift.refcounted* %.sink) #2
  %605 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.sink477, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %605) #2
  %606 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %606) #2
  %607 = icmp eq i64 %346, %319
  br i1 %607, label %608, label %340

608:                                              ; preds = %603
  call void @swift_release(%swift.refcounted* %320) #2
  br label %._crit_edge

._crit_edge:                                      ; preds = %315, %608
  %609 = phi %Ts28__ContiguousArrayStorageBaseC* [ %318, %608 ], [ %292, %315 ]
  %610 = phi %Ts28__ContiguousArrayStorageBaseC* [ %327, %608 ], [ %31, %315 ]
  %._storage118.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %610, i64 0, i32 1, i32 0, i32 0, i32 0
  %611 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %610, i64 1
  %tailaddr119 = bitcast %Ts28__ContiguousArrayStorageBaseC* %611 to %TSa*
  %smax416 = call i64 @llvm.smax.i64(i64 %16, i64 0)
  br label %612

612:                                              ; preds = %.loopexit, %._crit_edge
  %613 = phi i64 [ 0, %._crit_edge ], [ %615, %.loopexit ]
  %exitcond417.not = icmp eq i64 %613, %smax416
  br i1 %exitcond417.not, label %685, label %614, !prof !7

614:                                              ; preds = %612
  %615 = add nuw i64 %613, 1
  br i1 %.not266, label %.loopexit, label %616

616:                                              ; preds = %614
  %617 = load i64, i64* %._storage118.count._value, align 8, !range !6
  %.not286 = icmp ult i64 %613, %617
  br i1 %.not286, label %618, label %686, !prof !8

618:                                              ; preds = %616
  %._buffer120._storage = getelementptr inbounds %TSa, %TSa* %tailaddr119, i64 %613, i32 0, i32 0
  br label %619

619:                                              ; preds = %618, %628
  %620 = phi i64 [ 0, %618 ], [ %631, %628 ]
  %621 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #19
  %622 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %621, i64 64, i64 7) #2
  %623 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %622, i64 1
  %._storage122.count._value = bitcast %swift.refcounted* %623 to i64*
  store i64 1, i64* %._storage122.count._value, align 8
  %._storage122._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %622, i64 1, i32 1
  store i64 2, i64* %._storage122._capacityAndFlags, align 8
  %624 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer120._storage, align 8
  %625 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %622, i64 3, i32 1
  %626 = bitcast i64* %625 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %626, align 8
  %._storage124.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %624, i64 0, i32 1, i32 0, i32 0, i32 0
  %627 = load i64, i64* %._storage124.count._value, align 8, !range !6
  %.not287 = icmp ult i64 %620, %627
  br i1 %.not287, label %628, label %687, !prof !8

628:                                              ; preds = %619
  %629 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %622, i64 2
  %630 = bitcast %swift.refcounted* %622 to %Ts28__ContiguousArrayStorageBaseC*
  %631 = add nuw nsw i64 %620, 1
  %632 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %624, i64 1
  %tailaddr125 = bitcast %Ts28__ContiguousArrayStorageBaseC* %632 to %TSi*
  %._value126 = getelementptr inbounds %TSi, %TSi* %tailaddr125, i64 %620, i32 0
  %633 = load i64, i64* %._value126, align 8
  %._value127 = bitcast %swift.refcounted* %629 to i64*
  store i64 %633, i64* %._value127, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* nonnull %630, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  call void @swift_release(%swift.refcounted* nonnull %622) #2
  %634 = icmp eq i64 %631, %19
  br i1 %634, label %.loopexit, label %619

.loopexit:                                        ; preds = %628, %614
  %635 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #19
  %636 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %635, i64 64, i64 7) #2
  %637 = bitcast %swift.refcounted* %636 to %Ts28__ContiguousArrayStorageBaseC*
  %638 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 1
  %._storage128.count._value = bitcast %swift.refcounted* %638 to i64*
  store i64 1, i64* %._storage128.count._value, align 8
  %._storage128._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 1, i32 1
  store i64 2, i64* %._storage128._capacityAndFlags, align 8
  %639 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 2
  %640 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 3, i32 1
  %641 = bitcast i64* %640 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %641, align 8
  %._guts130._object._countAndFlagsBits._value = bitcast %swift.refcounted* %639 to i64*
  store i64 0, i64* %._guts130._object._countAndFlagsBits._value, align 8
  %._guts130._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 2, i32 1
  %642 = bitcast i64* %._guts130._object._object to %swift.bridge**
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %642, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %637, 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* %636) #2
  %643 = icmp eq i64 %615, %16
  br i1 %643, label %644, label %612

644:                                              ; preds = %.loopexit
  %645 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %293, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %645) #2
  %646 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %609, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %646) #2
  %647 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %647) #2
  %648 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %610, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %648) #2
  %649 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %650 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %649, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %650) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %23)
  ret void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

667:                                              ; preds = %340
  call void asm sideeffect "", "n"(i32 23) #2
  call void @llvm.trap()
  unreachable

668:                                              ; preds = %353
  call void asm sideeffect "", "n"(i32 25) #2
  call void @llvm.trap()
  unreachable

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

670:                                              ; preds = %368
  call void asm sideeffect "", "n"(i32 29) #2
  call void @llvm.trap()
  unreachable

671:                                              ; preds = %370
  call void asm sideeffect "", "n"(i32 30) #2
  call void @llvm.trap()
  unreachable

672:                                              ; preds = %.loopexit304
  call void asm sideeffect "", "n"(i32 31) #2
  call void @llvm.trap()
  unreachable

673:                                              ; preds = %434
  call void asm sideeffect "", "n"(i32 32) #2
  call void @llvm.trap()
  unreachable

674:                                              ; preds = %440
  call void asm sideeffect "", "n"(i32 34) #2
  call void @llvm.trap()
  unreachable

675:                                              ; preds = %444
  call void asm sideeffect "", "n"(i32 36) #2
  call void @llvm.trap()
  unreachable

676:                                              ; preds = %450
  call void asm sideeffect "", "n"(i32 37) #2
  call void @llvm.trap()
  unreachable

677:                                              ; preds = %452
  call void asm sideeffect "", "n"(i32 38) #2
  call void @llvm.trap()
  unreachable

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

679:                                              ; preds = %565
  call void asm sideeffect "", "n"(i32 43) #2
  call void @llvm.trap()
  unreachable

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

681:                                              ; preds = %575
  call void asm sideeffect "", "n"(i32 47) #2
  call void @llvm.trap()
  unreachable

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

683:                                              ; preds = %587
  call void asm sideeffect "", "n"(i32 49) #2
  call void @llvm.trap()
  unreachable

684:                                              ; preds = %598
  call void asm sideeffect "", "n"(i32 50) #2
  call void @llvm.trap()
  unreachable

685:                                              ; preds = %612
  call void asm sideeffect "", "n"(i32 51) #2
  call void @llvm.trap()
  unreachable

686:                                              ; preds = %616
  call void asm sideeffect "", "n"(i32 54) #2
  call void @llvm.trap()
  unreachable

687:                                              ; preds = %619
  call void asm sideeffect "", "n"(i32 56) #2
  call void @llvm.trap()
  unreachable
}

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

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

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSS7llvm_O3E9toIntListSaySiGyF"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %.sroa.6 = alloca i8, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %5 = bitcast %TSJ* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %2, 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* %2, 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
  %6 = alloca [24 x i8], align 16
  %7 = bitcast [24 x i8]* %6 to %swift.opaque*
  %8 = getelementptr inbounds [24 x i8], [24 x i8]* %6, i64 0, i64 16
  %9 = bitcast i8* %8 to %TSJ**
  store %TSJ* %2, %TSJ** %9, align 16
  %10 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %11 = 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 %7, i64 %0, %swift.bridge* %1, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 0, i32 1, i32 0, i32 0, i32 0
  %12 = load i64, i64* %._storage.count._value, align 8, !range !6
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %14, label %16

14:                                               ; preds = %entry
  %15 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %15) #2
  br label %25

16:                                               ; preds = %entry
  %17 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %17)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %12, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %18 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 1
  %tailaddr._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %18 to i64*
  %19 = load i64, i64* %tailaddr._slice._startIndex._rawBits._value, align 8
  %tailaddr._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 1, i32 0, i32 1
  %20 = load i64, i64* %tailaddr._slice._endIndex, align 8
  %.unshifted = xor i64 %20, %19
  %21 = icmp ult i64 %.unshifted, 16384
  br i1 %21, label %96, label %22, !prof !7

22:                                               ; preds = %16
  %tailaddr._slice._base._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 1, i32 1, i32 0, i32 1
  %tailaddr._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 1, i32 1, i32 0, i32 0, i32 0
  %23 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  %.elt11._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  %24 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 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 %27

25:                                               ; preds = %14, %87
  %26 = phi %Ts28__ContiguousArrayStorageBaseC* [ %84, %87 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %26

27:                                               ; preds = %94, %22
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %94 ], [ %tailaddr._slice._base._guts._object._object, %22 ]
  %28 = phi i64 [ %95, %94 ], [ 1, %22 ]
  %29 = phi i64 [ %91, %94 ], [ %19, %22 ]
  %30 = phi i64 [ %92, %94 ], [ %20, %22 ]
  %.in50 = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %94 ], [ %tailaddr._slice._base._guts._object._countAndFlagsBits._value, %22 ]
  %.sink.in = bitcast %TSu* %.sink.in.in to %swift.bridge**
  %.sink = load %swift.bridge*, %swift.bridge** %.sink.in, align 8
  %31 = load i64, i64* %.in50, align 8
  %32 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %.sink) #2
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %33 = ptrtoint %swift.bridge* %.sink to i64
  %34 = and i64 %33, 1152921504606846976
  %35 = icmp eq i64 %34, 0
  br i1 %35, label %36, label %63, !prof !8

36:                                               ; preds = %27
  %37 = and i64 %33, 2305843009213693952
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %36
  %40 = and i64 %31, 1152921504606846976
  %41 = icmp eq i64 %40, 0
  br i1 %41, label %49, label %59, !prof !7

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %23)
  %43 = and i64 %33, 72057594037927935
  store i64 %31, i64* %.elt._value, align 8
  store i64 %43, i64* %.elt11._value, align 8
  %44 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_nTf4xnn_n"(i64 %24, i64 %29, i64 %30, i64 %31, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %45 = extractvalue { i64, i8 } %44, 1
  %46 = and i8 %45, 1
  %47 = icmp ne i8 %46, 0
  %48 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not28 = icmp eq %swift.error* %48, null
  call void @llvm.assume(i1 %.not28)
  store i1 %47, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %23)
  br label %62

49:                                               ; preds = %39
  %50 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %31, %swift.bridge* %.sink)
  %51 = extractvalue { i64, i64 } %50, 0
  br label %52

52:                                               ; preds = %49, %59
  %53 = phi i64 [ %61, %59 ], [ %51, %49 ]
  %54 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_nTf4xnn_n"(i64 %53, i64 %29, i64 %30, i64 %31, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %55 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not29 = icmp eq %swift.error* %55, null
  call void @llvm.assume(i1 %.not29)
  %56 = extractvalue { i64, i8 } %54, 1
  %57 = and i8 %56, 1
  %58 = icmp ne i8 %57, 0
  store i1 %58, i1* %.sroa.6.0.sroa_cast41, align 8
  br label %62

59:                                               ; preds = %39
  %60 = and i64 %33, 1152921504606846975
  %61 = add nuw nsw i64 %60, 32
  br label %52

62:                                               ; preds = %42, %52
  %.pn = phi { i64, i8 } [ %54, %52 ], [ %44, %42 ]
  %.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) #2
  br label %66

63:                                               ; preds = %27
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %64 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %29, i64 %30, i64 %31, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #2
  %65 = extractvalue { i64, i8 } %64, 1
  br label %66

66:                                               ; preds = %62, %63
  %.pn51 = phi { i64, i8 } [ %64, %63 ], [ %.pn, %62 ]
  %.in.in = phi i8 [ %65, %63 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %62 ]
  %67 = extractvalue { i64, i8 } %.pn51, 0
  %.in = and i8 %.in.in, 1
  %.not27 = icmp eq i8 %.in, 0
  br i1 %.not27, label %68, label %97

68:                                               ; preds = %66
  %69 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %70 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %69, i64 0, i32 0
  %71 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %70) #18
  br i1 %71, label %75, label %72

72:                                               ; preds = %68
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %69, i64 0, i32 1, i32 0, i32 0, i32 0
  %73 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %74 = add nuw nsw i64 %73, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %74, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %75

75:                                               ; preds = %68, %72
  %76 = phi %Ts28__ContiguousArrayStorageBaseC* [ %69, %68 ], [ %.pre, %72 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %76, i64 0, i32 1, i32 0, i32 0, i32 0
  %77 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %76, i64 0, i32 1, i32 0, i32 1, i32 0
  %78 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %79 = lshr i64 %78, 1
  %80 = add nuw nsw i64 %77, 1
  %.not = icmp ugt i64 %79, %77
  br i1 %.not, label %83, label %81, !prof !8

81:                                               ; preds = %75
  %82 = icmp ugt i64 %78, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %82, i64 %80, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre44 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %83

83:                                               ; preds = %75, %81
  %84 = phi %Ts28__ContiguousArrayStorageBaseC* [ %76, %75 ], [ %.pre44, %81 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %80, i64* %._storage7.count._value, align 8
  %85 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %84, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %85 to %TSi*
  %._value9 = getelementptr inbounds %TSi, %TSi* %tailaddr8, i64 %77, i32 0
  store i64 %67, i64* %._value9, align 8
  %86 = icmp eq i64 %28, %12
  br i1 %86, label %87, label %89

87:                                               ; preds = %83
  %88 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %11, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %88) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %17)
  br label %25

89:                                               ; preds = %83
  %90 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 %28
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %90 to i64*
  %91 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %90, i64 0, i32 0, i32 1
  %92 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted26 = xor i64 %92, %91
  %93 = icmp ult i64 %.unshifted26, 16384
  br i1 %93, label %98, label %94, !prof !7

94:                                               ; preds = %89
  %95 = add nuw nsw i64 %28, 1
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %90, 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 %27

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

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

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

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

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

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

define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = icmp slt i64 %1, 0
  br i1 %2, label %27, label %3, !prof !7

3:                                                ; preds = %entry
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %4, label %6

4:                                                ; preds = %3
  %5 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %5) #2
  br label %16

6:                                                ; preds = %3
  %7 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySiGMD") #19
  %8 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %1, %swift.type* %7)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %1, i64* %._storage.count._value, align 8
  %9 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1
  %tailaddr._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %9 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %0, %Ts28__ContiguousArrayStorageBaseC** %tailaddr._buffer._storage, align 8
  %10 = icmp eq i64 %1, 1
  br i1 %10, label %16, label %11

11:                                               ; preds = %6
  %12 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1, i32 0, i32 1
  %._buffer._storage2 = bitcast i64* %12 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %0, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage2, align 8
  %13 = icmp eq i64 %1, 2
  br i1 %13, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %11
  %14 = bitcast i64* %12 to %TSa*
  %15 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  br label %18

16:                                               ; preds = %6, %4, %._crit_edge
  %17 = phi %Ts28__ContiguousArrayStorageBaseC* [ %8, %6 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %4 ], [ %8, %._crit_edge ]
  ret %Ts28__ContiguousArrayStorageBaseC* %17

18:                                               ; preds = %.lr.ph, %18
  %19 = phi i64 [ 2, %.lr.ph ], [ %22, %18 ]
  %20 = phi %TSa* [ %14, %.lr.ph ], [ %21, %18 ]
  %21 = getelementptr inbounds %TSa, %TSa* %20, i64 1
  %22 = add i64 %19, 1
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %21, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %0, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %23 = icmp eq i64 %22, %1
  %24 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %15) #18
  br i1 %23, label %._crit_edge, label %18

._crit_edge:                                      ; preds = %18, %11
  %25 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  %26 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %25) #18
  br label %16

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

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

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

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSS7llvm_O3E6toListSaySSGyF"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %3 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %0, %swift.bridge* %1)
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %11, label %5

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

9:                                                ; preds = %5
  %10 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %13

11:                                               ; preds = %entry, %32
  %12 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %32 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  ret %Ts28__ContiguousArrayStorageBaseC* %12

13:                                               ; preds = %9, %26
  %14 = phi i64 [ 0, %9 ], [ %28, %26 ]
  %15 = phi i64 [ 15, %9 ], [ %30, %26 ]
  %16 = phi %Ts28__ContiguousArrayStorageBaseC* [ %10, %9 ], [ %27, %26 ]
  %17 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %15, i64 %0, %swift.bridge* %1)
  %18 = extractvalue { i64, %swift.bridge* } %17, 0
  %19 = extractvalue { i64, %swift.bridge* } %17, 1
  store %Ts28__ContiguousArrayStorageBaseC* %16, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 0, i32 0
  %20 = load i64, i64* %._storage.count._value, align 8, !range !6
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 1, i32 0
  %21 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %22 = lshr i64 %21, 1
  %23 = add nuw nsw i64 %20, 1
  %.not = icmp ugt i64 %22, %20
  br i1 %.not, label %26, label %24, !prof !8

24:                                               ; preds = %13
  %25 = icmp ugt i64 %21, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %25, i64 %23, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %26

26:                                               ; preds = %13, %24
  %27 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %13 ], [ %.pre, %24 ]
  %28 = add nuw i64 %14, 1
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %23, i64* %._storage3.count._value, align 8
  %29 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %29 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %20, i32 0, i32 0, i32 0, i32 0
  store i64 %18, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %20, i32 0, i32 0, i32 1
  store %swift.bridge* %19, %swift.bridge** %._guts._object._object, align 8
  %30 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %15, i64 %0, %swift.bridge* %1)
  %31 = icmp eq i64 %28, %3
  br i1 %31, label %32, label %13

32:                                               ; preds = %26
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %6)
  br label %11

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

define hidden swiftcc i64 @"$sSS7llvm_O3E5count1cSiSJ_tF"(i64 %0, %swift.bridge* %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #0 {
entry:
  %4 = alloca %TSS8IteratorV, align 8
  %5 = bitcast %TSS8IteratorV* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %5)
  %6 = ptrtoint %swift.bridge* %3 to i64
  %7 = and i64 %6, 2305843009213693952
  %8 = icmp eq i64 %7, 0
  %9 = lshr i64 %6, 56
  %10 = and i64 %9, 15
  %11 = and i64 %2, 281474976710655
  %12 = select i1 %8, i64 %11, i64 %10
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %2, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %3, %swift.bridge** %._guts._object._object, align 8
  %._position._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %4, i64 0, i32 1, i32 0
  store i64 0, i64* %._position._value, align 8
  %._end._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %4, i64 0, i32 2, i32 0
  store i64 %12, i64* %._end._value, align 8
  %13 = ptrtoint %swift.bridge* %1 to i64
  %14 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #2
  br label %.outer

.outer:                                           ; preds = %.loopexit, %entry
  %.ph = phi i64 [ %28, %.loopexit ], [ 0, %entry ]
  br label %15

15:                                               ; preds = %.outer, %24
  %16 = call swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture nonnull swiftself dereferenceable(32) %4)
  %17 = extractvalue { i64, i64 } %16, 0
  %18 = extractvalue { i64, i64 } %16, 1
  %19 = icmp eq i64 %18, 0
  br i1 %19, label %30, label %20

20:                                               ; preds = %15
  %21 = icmp eq i64 %17, %0
  %22 = icmp eq i64 %18, %13
  %or.cond = select i1 %21, i1 %22, i1 false
  br i1 %or.cond, label %23, label %24

23:                                               ; preds = %20
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %1) #2
  br label %.loopexit

24:                                               ; preds = %20
  %25 = inttoptr i64 %18 to %swift.bridge*
  %26 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %17, %swift.bridge* nonnull %25, i64 %0, %swift.bridge* %1, i8 0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %25) #2
  br i1 %26, label %.loopexit, label %15

.loopexit:                                        ; preds = %24, %23
  %27 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %.ph, i64 1)
  %28 = extractvalue { i64, i1 } %27, 0
  %29 = extractvalue { i64, i1 } %27, 1
  br i1 %29, label %32, label %.outer, !prof !7

30:                                               ; preds = %15
  %31 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %31) #2
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %5)
  ret i64 %.ph

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

define hidden swiftcc { i64, %swift.bridge* } @"$sSi7llvm_O3E5toBinSSyF"(i64 %0) local_unnamed_addr #0 {
entry:
  %1 = alloca %TSi, align 8
  %2 = bitcast %TSi* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %2)
  %._value = getelementptr inbounds %TSi, %TSi* %1, i64 0, i32 0
  store i64 %0, i64* %._value, align 8
  %3 = bitcast %TSi* %1 to %swift.opaque*
  %4 = tail call i8** @"$sS2iSzsWl"() #20
  %5 = call swiftcc { i64, %swift.bridge* } @"$sSS_5radix9uppercaseSSx_SiSbtcSzRzlufC"(%swift.opaque* noalias nocapture nonnull %3, i64 2, i1 false, %swift.type* nonnull @"$sSiN", i8** %4)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %2)
  ret { i64, %swift.bridge* } %5
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc double @"$sSi7llvm_O3E3toDSdyF"(i64 %0) local_unnamed_addr #6 {
entry:
  %1 = sitofp i64 %0 to double
  ret double %1
}

define hidden swiftcc i64 @"$sSd7llvm_O3E3toISiyF"(double %0) local_unnamed_addr #0 {
entry:
  %1 = bitcast double %0 to i64
  %2 = and i64 %1, 9218868437227405312
  %.not = icmp eq i64 %2, 9218868437227405312
  br i1 %.not, label %9, label %3, !prof !7

3:                                                ; preds = %entry
  %4 = fcmp ule double %0, 0xC3E0000000000001
  br i1 %4, label %10, label %5, !prof !7

5:                                                ; preds = %3
  %6 = fcmp uge double %0, 0x43E0000000000000
  br i1 %6, label %11, label %7, !prof !7

7:                                                ; preds = %5
  %8 = fptosi double %0 to i64
  ret i64 %8

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

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

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

define hidden swiftcc i64 @"$sSa7llvm_O3SQRzlE5count1nSix_tF"(%swift.opaque* noalias nocapture %0, %Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element, i8** %Element.Equatable) local_unnamed_addr #0 {
entry:
  %2 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 0
  %3 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %2) #18
  %4 = tail call swiftcc i64 @"$sSa8endIndexSivg"(%Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %.loopexit, label %6

6:                                                ; preds = %entry
  %7 = getelementptr inbounds %swift.type, %swift.type* %Element, i64 -1
  %8 = bitcast %swift.type* %7 to %swift.vwtable**
  %Element.valueWitnesses1 = load %swift.vwtable*, %swift.vwtable** %8, align 8, !invariant.load !9, !dereferenceable !10
  %9 = getelementptr inbounds %swift.vwtable, %swift.vwtable* %Element.valueWitnesses1, i64 0, i32 10
  %flags = load i32, i32* %9, align 8, !invariant.load !9
  %10 = and i32 %flags, 255
  %flags.alignmentMask = zext i32 %10 to i64
  %11 = add nuw nsw i64 %flags.alignmentMask, 32
  %12 = xor i64 %flags.alignmentMask, -1
  %13 = and i64 %11, %12
  %14 = bitcast %Ts28__ContiguousArrayStorageBaseC* %1 to i8*
  %15 = getelementptr inbounds i8, i8* %14, i64 %13
  %._storage.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = getelementptr inbounds %swift.vwtable, %swift.vwtable* %Element.valueWitnesses1, i64 0, i32 9
  br label %17

17:                                               ; preds = %6, %31
  %18 = phi i64 [ 0, %6 ], [ %32, %31 ]
  %19 = phi i64 [ 0, %6 ], [ %22, %31 ]
  %20 = load i64, i64* %._storage.count._value.i, align 8, !range !6
  %.not.i = icmp ugt i64 %20, %19
  br i1 %.not.i, label %"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFTf4ndn_n.exit", label %21, !prof !8

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

"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFTf4ndn_n.exit": ; preds = %17
  %22 = add nuw nsw i64 %19, 1
  %stride = load i64, i64* %16, align 8, !invariant.load !9
  %23 = mul nsw i64 %stride, %19
  %24 = getelementptr inbounds i8, i8* %15, i64 %23
  %25 = bitcast i8* %24 to %swift.opaque*
  %26 = tail call swiftcc i1 @"$sSQ2eeoiySbx_xtFZTj"(%swift.opaque* noalias nocapture %25, %swift.opaque* noalias nocapture %0, %swift.type* swiftself %Element, %swift.type* %Element, i8** %Element.Equatable)
  br i1 %26, label %27, label %31

27:                                               ; preds = %"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFTf4ndn_n.exit"
  %28 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %18, i64 1)
  %29 = extractvalue { i64, i1 } %28, 0
  %30 = extractvalue { i64, i1 } %28, 1
  br i1 %30, label %36, label %31, !prof !7

31:                                               ; preds = %"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFTf4ndn_n.exit", %27
  %32 = phi i64 [ %29, %27 ], [ %18, %"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtFTf4ndn_n.exit" ]
  %33 = tail call swiftcc i64 @"$sSa8endIndexSivg"(%Ts28__ContiguousArrayStorageBaseC* nonnull %1, %swift.type* %Element)
  %34 = icmp eq i64 %22, %33
  br i1 %34, label %.loopexit, label %17

.loopexit:                                        ; preds = %31, %entry
  %35 = phi i64 [ 0, %entry ], [ %32, %31 ]
  tail call void @swift_release(%swift.refcounted* %2) #2
  ret i64 %35

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: noinline
define internal swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3, { i32, i32 }* %4, { i32, i32 }* %5) local_unnamed_addr #7 {
entry:
  br i1 %2, label %6, label %16

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

10:                                               ; preds = %6
  %11 = add nuw i64 %8, 4611686018427387904
  %12 = icmp slt i64 %11, 0
  br i1 %12, label %50, label %13, !prof !7

13:                                               ; preds = %10
  %14 = and i64 %7, -2
  %15 = tail call i64 @llvm.smax.i64(i64 %14, i64 %1)
  br label %16

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

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

31:                                               ; preds = %16, %21
  %32 = phi %Ts28__ContiguousArrayStorageBaseC* [ %26, %21 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %16 ]
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 1
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %35, label %44

35:                                               ; preds = %31
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSa*
  %36 = getelementptr inbounds %TSa, %TSa* %tailaddr4, i64 %18
  %37 = bitcast %TSa* %36 to %Ts28__ContiguousArrayStorageBaseC*
  %38 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %33, %37
  %39 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %32, %3
  %or.cond14 = select i1 %39, i1 %38, i1 false
  br i1 %or.cond14, label %43, label %.sink.split

.sink.split:                                      ; preds = %35
  %40 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to i8*
  %41 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to i8*
  %42 = shl nuw i64 %18, 3
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %41, i8* nonnull align 8 %40, i64 %42, i1 false)
  br label %43

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

44:                                               ; preds = %31
  %45 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull %5) #19
  %46 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %swift.opaque*
  %47 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %46, %swift.opaque* nonnull %47, i64 %18, %swift.type* %45) #18
  br label %48

48:                                               ; preds = %43, %44
  %49 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %49) #2
  ret %Ts28__ContiguousArrayStorageBaseC* %32

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare swiftcc i1 @"$sSy10FoundationE8containsySbqd__SyRd__lF"(%swift.opaque* noalias nocapture, %swift.type*, %swift.type*, i8**, i8**, %swift.opaque* noalias nocapture swiftself) local_unnamed_addr #0

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

; Function Attrs: nofree noinline nosync nounwind readnone
define linkonce_odr hidden i8** @"$sS2SSysWl"() local_unnamed_addr #8 {
entry:
  %0 = load i8**, i8*** @"$sS2SSysWL", 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 @"$sSSSysMc", %swift.type* nonnull @"$sSSN", i8*** undef) #19
  store atomic i8** %2, i8*** @"$sS2SSysWL" 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 #9

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: noinline
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3, i64 %4) local_unnamed_addr #7 {
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"() #20
  %10 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #2
  %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 !8

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

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_SiTg5"(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) #2
  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_SiTg5"(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) #2
  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
}

define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFADSRys5UInt8VGXEfU_Ss_SiTg5"(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 !7

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

17:                                               ; preds = %10
  %18 = icmp sgt i64 %2, 10
  %19 = trunc i64 %2 to i8
  %20 = add i8 %19, 48
  %21 = add i8 %19, 55
  %22 = add i8 %19, 87
  %23 = select i1 %18, i8 %22, i8 97
  %24 = select i1 %18, i8 %21, i8 65
  %25 = select i1 %18, i8 58, i8 %20
  br i1 %11, label %.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 !11

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare swiftcc i64 @"$sSa8endIndexSivg"(%Ts28__ContiguousArrayStorageBaseC*, %swift.type*) local_unnamed_addr #0

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

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

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

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

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

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

20:                                               ; preds = %entry, %18
  %21 = phi i64 [ %19, %18 ], [ %1, %entry ]
  br i1 %10, label %22, label %211, !prof !8

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

24:                                               ; preds = %22, %220
  %25 = phi i64 [ %221, %220 ], [ %23, %22 ]
  br i1 %17, label %26, label %28, !prof !7

26:                                               ; preds = %24
  %27 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %1, i64 %3, %swift.bridge* %4)
  br label %28

28:                                               ; preds = %24, %26
  %29 = phi i64 [ %27, %26 ], [ %1, %24 ]
  %30 = and i64 %2, 12
  %31 = icmp eq i64 %30, %15
  br i1 %31, label %32, label %34, !prof !7

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

34:                                               ; preds = %28, %32
  %35 = phi i64 [ %33, %32 ], [ %2, %28 ]
  br i1 %10, label %36, label %40

36:                                               ; preds = %34
  %37 = lshr i64 %35, 16
  %38 = lshr i64 %29, 16
  %39 = sub nsw i64 %37, %38
  br label %49

40:                                               ; preds = %34
  %41 = and i64 %8, 2305843009213693952
  %42 = icmp eq i64 %41, 0
  %43 = lshr i64 %8, 56
  %44 = and i64 %43, 15
  %45 = and i64 %3, 281474976710655
  %46 = select i1 %42, i64 %45, i64 %44
  %47 = lshr i64 %29, 16
  %48 = icmp ult i64 %46, %47
  br i1 %48, label %223, label %206, !prof !7

49:                                               ; preds = %36, %209
  %50 = phi i64 [ %210, %209 ], [ %39, %36 ]
  %51 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %25, i64 %50)
  %52 = extractvalue { i64, i1 } %51, 0
  %53 = extractvalue { i64, i1 } %51, 1
  br i1 %53, label %225, label %54, !prof !7

54:                                               ; preds = %49
  %55 = icmp slt i64 %52, %25
  br i1 %55, label %226, label %56, !prof !7

56:                                               ; preds = %54
  %57 = icmp eq i64 %0, 0
  %58 = inttoptr i64 %0 to %Ts5UInt8V*
  %59 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %58, i64 %25, i32 0
  %60 = ptrtoint i8* %59 to i64
  %61 = select i1 %57, i64 0, i64 %60
  %62 = sub i64 %52, %25
  %63 = inttoptr i64 %61 to i8*
  %64 = inttoptr i64 %61 to %Ts5UInt8V*
  %._value1 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %64, i64 0, i32 0
  %65 = load i8, i8* %._value1, align 1
  switch i8 %65, label %129 [
    i8 45, label %66
    i8 43, label %120
  ]

66:                                               ; preds = %56
  %67 = icmp slt i64 %62, 1
  br i1 %67, label %228, label %68, !prof !7

68:                                               ; preds = %66
  %69 = icmp eq i64 %61, 0
  %70 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %64, i64 1, i32 0
  %71 = ptrtoint i8* %70 to i64
  %72 = select i1 %69, i64 0, i64 %71
  %73 = add nsw i64 %62, -1
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %.loopexit, label %75, !prof !7

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

.loopexit.loopexit.split.loop.exit:               ; preds = %202
  %84 = extractvalue { i64, i1 } %200, 0
  br label %.loopexit

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

.loopexit.loopexit86.split.loop.exit:             ; preds = %165
  %86 = extractvalue { i64, i1 } %163, 0
  br label %.loopexit

.loopexit:                                        ; preds = %159, %156, %153, %110, %107, %104, %196, %193, %190, %.loopexit.loopexit86.split.loop.exit, %.loopexit.loopexit83.split.loop.exit, %.loopexit.loopexit.split.loop.exit, %169, %179, %129, %131, %140, %122, %75, %91, %68
  %87 = phi i64 [ 0, %68 ], [ 0, %75 ], [ 0, %91 ], [ 0, %122 ], [ 0, %131 ], [ 0, %140 ], [ 0, %129 ], [ 0, %169 ], [ 0, %179 ], [ %84, %.loopexit.loopexit.split.loop.exit ], [ %85, %.loopexit.loopexit83.split.loop.exit ], [ %86, %.loopexit.loopexit86.split.loop.exit ], [ 0, %190 ], [ 0, %193 ], [ 0, %196 ], [ 0, %104 ], [ 0, %107 ], [ 0, %110 ], [ 0, %153 ], [ 0, %156 ], [ 0, %159 ]
  %88 = phi i8 [ 1, %68 ], [ 0, %75 ], [ 0, %91 ], [ 1, %122 ], [ 0, %131 ], [ 0, %140 ], [ 1, %129 ], [ 0, %169 ], [ 0, %179 ], [ 0, %.loopexit.loopexit.split.loop.exit ], [ 0, %.loopexit.loopexit83.split.loop.exit ], [ 0, %.loopexit.loopexit86.split.loop.exit ], [ 1, %190 ], [ 1, %193 ], [ 1, %196 ], [ 1, %104 ], [ 1, %107 ], [ 1, %110 ], [ 1, %153 ], [ 1, %156 ], [ 1, %159 ]
  %89 = insertvalue { i64, i8 } undef, i64 %87, 0
  %90 = insertvalue { i64, i8 } %89, i8 %88, 1
  ret { i64, i8 } %90

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

.preheader41:                                     ; preds = %91, %116
  %96 = phi i8* [ %118, %116 ], [ %94, %91 ]
  %97 = phi i64 [ %117, %116 ], [ 0, %91 ]
  %98 = load i8, i8* %96, align 1
  %99 = icmp ugt i8 %98, 47
  %100 = icmp ult i8 %98, %83
  %or.cond = select i1 %99, i1 %100, i1 false
  br i1 %or.cond, label %107, label %101, !prof !11

101:                                              ; preds = %.preheader41
  %102 = icmp ugt i8 %98, 64
  %103 = icmp ult i8 %98, %82
  %or.cond5 = select i1 %102, i1 %103, i1 false
  br i1 %or.cond5, label %107, label %104, !prof !11

104:                                              ; preds = %101
  %105 = icmp ugt i8 %98, 96
  %106 = icmp ult i8 %98, %81
  %or.cond6 = select i1 %105, i1 %106, i1 false
  br i1 %or.cond6, label %107, label %.loopexit, !prof !11

107:                                              ; preds = %104, %.preheader41, %101
  %.sink = phi i8 [ -55, %101 ], [ -48, %.preheader41 ], [ -87, %104 ]
  %108 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %97, i64 %5)
  %109 = extractvalue { i64, i1 } %108, 1
  br i1 %109, label %.loopexit, label %110

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

116:                                              ; preds = %110
  %117 = extractvalue { i64, i1 } %114, 0
  %118 = getelementptr inbounds i8, i8* %96, i64 1
  %119 = icmp eq i8* %118, %93
  br i1 %119, label %.loopexit.loopexit83.split.loop.exit, label %.preheader41

120:                                              ; preds = %56
  %121 = icmp slt i64 %62, 1
  br i1 %121, label %227, label %122, !prof !7

122:                                              ; preds = %120
  %123 = icmp eq i64 %61, 0
  %124 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %64, i64 1, i32 0
  %125 = ptrtoint i8* %124 to i64
  %126 = select i1 %123, i64 0, i64 %125
  %127 = add nsw i64 %62, -1
  %128 = icmp eq i64 %127, 0
  br i1 %128, label %.loopexit, label %131, !prof !7

129:                                              ; preds = %56
  %130 = icmp eq i64 %52, %25
  br i1 %130, label %.loopexit, label %169, !prof !7

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

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

.preheader45:                                     ; preds = %140, %165
  %145 = phi i8* [ %167, %165 ], [ %143, %140 ]
  %146 = phi i64 [ %166, %165 ], [ 0, %140 ]
  %147 = load i8, i8* %145, align 1
  %148 = icmp ugt i8 %147, 47
  %149 = icmp ult i8 %147, %139
  %or.cond7 = select i1 %148, i1 %149, i1 false
  br i1 %or.cond7, label %156, label %150, !prof !11

150:                                              ; preds = %.preheader45
  %151 = icmp ugt i8 %147, 64
  %152 = icmp ult i8 %147, %138
  %or.cond8 = select i1 %151, i1 %152, i1 false
  br i1 %or.cond8, label %156, label %153, !prof !11

153:                                              ; preds = %150
  %154 = icmp ugt i8 %147, 96
  %155 = icmp ult i8 %147, %137
  %or.cond9 = select i1 %154, i1 %155, i1 false
  br i1 %or.cond9, label %156, label %.loopexit, !prof !11

156:                                              ; preds = %153, %.preheader45, %150
  %.sink118 = phi i8 [ -55, %150 ], [ -48, %.preheader45 ], [ -87, %153 ]
  %157 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %146, i64 %5)
  %158 = extractvalue { i64, i1 } %157, 1
  br i1 %158, label %.loopexit, label %159

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

165:                                              ; preds = %159
  %166 = extractvalue { i64, i1 } %163, 0
  %167 = getelementptr inbounds i8, i8* %145, i64 1
  %168 = icmp eq i8* %167, %142
  br i1 %168, label %.loopexit.loopexit86.split.loop.exit, label %.preheader45

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

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

.preheader:                                       ; preds = %179, %202
  %182 = phi i8* [ %204, %202 ], [ %63, %179 ]
  %183 = phi i64 [ %203, %202 ], [ 0, %179 ]
  %184 = load i8, i8* %182, align 1
  %185 = icmp ugt i8 %184, 47
  %186 = icmp ult i8 %184, %177
  %or.cond10 = select i1 %185, i1 %186, i1 false
  br i1 %or.cond10, label %193, label %187, !prof !11

187:                                              ; preds = %.preheader
  %188 = icmp ugt i8 %184, 64
  %189 = icmp ult i8 %184, %176
  %or.cond11 = select i1 %188, i1 %189, i1 false
  br i1 %or.cond11, label %193, label %190, !prof !11

190:                                              ; preds = %187
  %191 = icmp ugt i8 %184, 96
  %192 = icmp ult i8 %184, %175
  %or.cond12 = select i1 %191, i1 %192, i1 false
  br i1 %or.cond12, label %193, label %.loopexit, !prof !11

193:                                              ; preds = %190, %.preheader, %187
  %.sink119 = phi i8 [ -55, %187 ], [ -48, %.preheader ], [ -87, %190 ]
  %194 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %183, i64 %5)
  %195 = extractvalue { i64, i1 } %194, 1
  br i1 %195, label %.loopexit, label %196

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

202:                                              ; preds = %196
  %203 = extractvalue { i64, i1 } %200, 0
  %204 = getelementptr inbounds i8, i8* %182, i64 1
  %205 = icmp eq i8* %204, %180
  br i1 %205, label %.loopexit.loopexit.split.loop.exit, label %.preheader

206:                                              ; preds = %40
  %207 = lshr i64 %35, 16
  %208 = icmp ult i64 %46, %207
  br i1 %208, label %224, label %209, !prof !7

209:                                              ; preds = %206
  %210 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 %29, i64 %35, i64 %3, %swift.bridge* %4)
  br label %49

211:                                              ; preds = %20
  %212 = and i64 %8, 2305843009213693952
  %213 = icmp eq i64 %212, 0
  %214 = and i64 %3, 281474976710655
  %215 = lshr i64 %8, 56
  %216 = and i64 %215, 15
  %217 = select i1 %213, i64 %214, i64 %216
  %218 = lshr i64 %21, 16
  %219 = icmp ult i64 %217, %218
  br i1 %219, label %222, label %220, !prof !7

220:                                              ; preds = %211
  %221 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 15, i64 %21, i64 %3, %swift.bridge* %4)
  br label %24

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

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

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

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

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

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

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

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

declare swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture swiftself dereferenceable(32)) local_unnamed_addr #0

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

; Function Attrs: nofree noinline nosync nounwind readnone
define linkonce_odr hidden i8** @"$sS2iSzsWl"() local_unnamed_addr #8 {
entry:
  %0 = load i8**, i8*** @"$sS2iSzsWL", 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 @"$sSiSzsMc", %swift.type* nonnull @"$sSiN", i8*** undef) #19
  store atomic i8** %2, i8*** @"$sS2iSzsWL" release, align 8
  br label %cont

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

declare swiftcc i1 @"$sSQ2eeoiySbx_xtFZTj"(%swift.opaque* noalias nocapture, %swift.opaque* noalias nocapture, %swift.type* swiftself, %swift.type*, i8**) local_unnamed_addr #0

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

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

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

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

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

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

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

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

; Function Attrs: nofree noinline nosync nounwind readnone
define linkonce_odr hidden i8** @"$sS2sSTsWl"() local_unnamed_addr #8 {
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) #19
  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
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind }
attributes #2 = { nounwind }
attributes #3 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #4 = { mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #5 = { mustprogress nounwind willreturn }
attributes #6 = { mustprogress nofree norecurse nosync nounwind readnone willreturn "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { noinline "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nofree noinline nosync nounwind readnone "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nofree nounwind readonly }
attributes #10 = { mustprogress nofree noinline nounwind readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #11 = { argmemonly nounwind }
attributes #12 = { nounwind "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #13 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #14 = { optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #15 = { inaccessiblememonly nocallback nofree nosync nounwind willreturn }
attributes #16 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #17 = { argmemonly nocallback nofree nounwind willreturn writeonly }
attributes #18 = { nounwind willreturn }
attributes #19 = { nounwind readonly }
attributes #20 = { nounwind readnone }
attributes #21 = { nounwind optsize }
attributes #22 = { argmemonly nounwind readonly }
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 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 1, i32 2000}
!8 = !{!"branch_weights", i32 2000, i32 1}
!9 = !{}
!10 = !{i64 96}
!11 = !{!"branch_weights", i32 2000, i32 2002}
!12 = !{!13}
!13 = distinct !{!13, !14, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_: argument 0"}
!14 = distinct !{!14, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_"}
!15 = !{!16}
!16 = distinct !{!16, !17, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 0"}
!17 = distinct !{!17, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"}
!18 = !{!19}
!19 = distinct !{!19, !17, !"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5: argument 1"}
!20 = !{!16, !19}
