

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_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_788/llvm_OZ.ll"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%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"

; Function Attrs: minsize optsize
define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  tail call swiftcc void @"$s7llvm_OZ10disco2020cyyF"()
  ret i32 0
}

; Function Attrs: minsize optsize
define hidden swiftcc void @"$s7llvm_OZ10disco2020cyyF"() 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-scratch76 = 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_OZE9toIntListSaySiGyF"(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
  %.not261 = icmp eq i64 %13, 1
  br i1 %.not261, 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 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 0, i64 %19)
  %25 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %24, i64 %16)
  %26 = icmp slt i64 %16, 1
  br i1 %26, label %655, label %27, !prof !7

27:                                               ; preds = %21
  %28 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  %._buffer3._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, i64 0, i32 0, i32 0
  br label %33

29:                                               ; preds = %73
  %30 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %34, i64 1)
  %31 = extractvalue { i64, i1 } %30, 0
  %32 = extractvalue { i64, i1 } %30, 1
  br i1 %32, label %658, label %33, !prof !7

33:                                               ; preds = %29, %27
  %34 = phi i64 [ 1, %27 ], [ %31, %29 ]
  %35 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %27 ], [ %74, %29 ]
  %36 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %37 = extractvalue { i64, i64 } %36, 0
  %38 = extractvalue { i64, i64 } %36, 1
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %656, label %40

40:                                               ; preds = %33
  %41 = inttoptr i64 %38 to %swift.bridge*
  %42 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %37, %swift.bridge* nonnull %41)
  %43 = icmp eq i64 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %40
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %41) #2
  br label %56

45:                                               ; preds = %40
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %28)
  %46 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %swift.refcounted*)) #17
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br i1 %46, label %47, label %51

47:                                               ; preds = %45
  %48 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 1), align 8
  %49 = lshr i64 %48, 1
  %50 = icmp slt i64 %49, %42
  br i1 %50, label %51, label %54, !prof !7

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

54:                                               ; preds = %47, %51
  %55 = icmp slt i64 %42, 0
  br i1 %55, label %657, label %.preheader307.preheader, !prof !7

.preheader307.preheader:                          ; preds = %54
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br label %.preheader307

56:                                               ; preds = %44, %102
  %57 = phi %Ts28__ContiguousArrayStorageBaseC* [ %97, %102 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %44 ]
  %58 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 0
  %59 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %58) #17
  br i1 %59, label %64, label %60

60:                                               ; preds = %56
  %._storage16.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 1, i32 0, i32 0, i32 0
  %61 = load i64, i64* %._storage16.count._value, align 8, !range !6
  %62 = add nuw nsw i64 %61, 1
  %63 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %62, i1 true, %Ts28__ContiguousArrayStorageBaseC* %35, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySSGGMD", { i32, i32 }* @"$sSaySSGMD")
  br label %64

64:                                               ; preds = %56, %60
  %65 = phi %Ts28__ContiguousArrayStorageBaseC* [ %63, %60 ], [ %35, %56 ]
  %._storage17.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %65, i64 0, i32 1, i32 0, i32 0, i32 0
  %66 = load i64, i64* %._storage17.count._value, align 8, !range !6
  %._storage17._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %65, i64 0, i32 1, i32 0, i32 1, i32 0
  %67 = load i64, i64* %._storage17._capacityAndFlags._value, align 8
  %68 = lshr i64 %67, 1
  %69 = add nuw nsw i64 %66, 1
  %.not263 = icmp ugt i64 %68, %66
  br i1 %.not263, label %73, label %70, !prof !8

70:                                               ; preds = %64
  %71 = icmp ugt i64 %67, 1
  %72 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %71, i64 %69, i1 true, %Ts28__ContiguousArrayStorageBaseC* %65, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySSGGMD", { i32, i32 }* @"$sSaySSGMD")
  br label %73

73:                                               ; preds = %64, %70
  %74 = phi %Ts28__ContiguousArrayStorageBaseC* [ %72, %70 ], [ %65, %64 ]
  %75 = icmp eq i64 %34, %16
  %._storage18.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %69, i64* %._storage18.count._value, align 8
  %76 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 1
  %tailaddr19 = bitcast %Ts28__ContiguousArrayStorageBaseC* %76 to %TSa*
  %._buffer20._storage = getelementptr inbounds %TSa, %TSa* %tailaddr19, i64 %66, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %57, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  br i1 %75, label %103, label %29

.preheader307:                                    ; preds = %.preheader307.preheader, %96
  %77 = phi %Ts28__ContiguousArrayStorageBaseC* [ %97, %96 ], [ %.pre, %.preheader307.preheader ]
  %78 = phi i64 [ %98, %96 ], [ 0, %.preheader307.preheader ]
  %79 = phi i64 [ %100, %96 ], [ 15, %.preheader307.preheader ]
  %80 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %79, i64 %37, %swift.bridge* nonnull %41)
  %81 = extractvalue { i64, %swift.bridge* } %80, 0
  %82 = extractvalue { i64, %swift.bridge* } %80, 1
  %83 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %77, i64 0, i32 0
  %84 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %83) #17
  br i1 %84, label %88, label %85

85:                                               ; preds = %.preheader307
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %77, i64 0, i32 1, i32 0, i32 0, i32 0
  %86 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %87 = add nuw nsw i64 %86, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %87, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre412 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br label %88

88:                                               ; preds = %.preheader307, %85
  %89 = phi %Ts28__ContiguousArrayStorageBaseC* [ %77, %.preheader307 ], [ %.pre412, %85 ]
  %._storage10.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 0, i32 1, i32 0, i32 0, i32 0
  %90 = load i64, i64* %._storage10.count._value, align 8, !range !6
  %._storage11._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 0, i32 1, i32 0, i32 1, i32 0
  %91 = load i64, i64* %._storage11._capacityAndFlags._value, align 8
  %92 = lshr i64 %91, 1
  %93 = add nuw nsw i64 %90, 1
  %.not262 = icmp ugt i64 %92, %90
  br i1 %.not262, label %96, label %94, !prof !8

94:                                               ; preds = %88
  %95 = icmp ugt i64 %91, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %95, i64 %93, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre413 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br label %96

96:                                               ; preds = %88, %94
  %97 = phi %Ts28__ContiguousArrayStorageBaseC* [ %89, %88 ], [ %.pre413, %94 ]
  %98 = add i64 %78, 1
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %97, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %93, i64* %._storage12.count._value, align 8
  %99 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %97, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %99 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %90, i32 0, i32 0, i32 0, i32 0
  store i64 %81, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %90, i32 0, i32 0, i32 1
  store %swift.bridge* %82, %swift.bridge** %._guts._object._object, align 8
  %100 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %79, i64 %37, %swift.bridge* nonnull %41)
  %101 = icmp eq i64 %98, %42
  br i1 %101, label %102, label %.preheader307

102:                                              ; preds = %96
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %41) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %28)
  br label %56

103:                                              ; preds = %73
  %._storage18.count._value.le = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 0, i32 0
  %tailaddr19.le = bitcast %Ts28__ContiguousArrayStorageBaseC* %76 to %TSa*
  store %Ts28__ContiguousArrayStorageBaseC* %74, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %104

104:                                              ; preds = %181, %103
  %105 = phi i64 [ 0, %103 ], [ %108, %181 ]
  %106 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %103 ], [ %182, %181 ]
  %exitcond.not = icmp eq i64 %105, %16
  br i1 %exitcond.not, label %659, label %107, !prof !7

107:                                              ; preds = %104
  %108 = add nuw nsw i64 %105, 1
  %109 = load i64, i64* %._storage18.count._value.le, align 8, !range !6
  %.not264 = icmp ult i64 %105, %109
  br i1 %.not264, label %110, label %660, !prof !8

110:                                              ; preds = %107
  %._buffer24._storage = getelementptr inbounds %TSa, %TSa* %tailaddr19.le, i64 %105, i32 0, i32 0
  %111 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer24._storage, align 8
  %._storage25.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %111, i64 0, i32 1, i32 0, i32 0, i32 0
  %112 = load i64, i64* %._storage25.count._value, align 8, !range !6
  %113 = icmp eq i64 %112, 0
  br i1 %113, label %.loopexit304, label %114

114:                                              ; preds = %110
  %115 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %111, i64 1
  %tailaddr26 = bitcast %Ts28__ContiguousArrayStorageBaseC* %115 to %TSS*
  %tailaddr26._guts._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %115 to i64*
  %116 = load i64, i64* %tailaddr26._guts._object._countAndFlagsBits._value, align 8
  %tailaddr26._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %111, i64 1, i32 0, i32 1
  %117 = bitcast i64* %tailaddr26._guts._object._object to %swift.bridge**
  %118 = load %swift.bridge*, %swift.bridge** %117, align 8
  %119 = icmp eq i64 %116, 35
  %120 = icmp eq %swift.bridge* %118, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %119, i1 %120, i1 false
  br i1 %or.cond, label %.loopexit303, label %121

121:                                              ; preds = %114
  %122 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %116, %swift.bridge* %118, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %122, label %.loopexit303, label %123

123:                                              ; preds = %121
  %124 = icmp eq i64 %112, 1
  br i1 %124, label %.loopexit304, label %125

125:                                              ; preds = %123
  %._guts29._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %111, i64 1, i32 1, i32 0, i32 0, i32 0
  %126 = load i64, i64* %._guts29._object._countAndFlagsBits._value, align 8
  %._guts29._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %111, i64 1, i32 1, i32 0, i32 1
  %127 = bitcast %TSu* %._guts29._object._object to %swift.bridge**
  %128 = load %swift.bridge*, %swift.bridge** %127, align 8
  %129 = icmp eq i64 %126, 35
  %130 = icmp eq %swift.bridge* %128, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond289 = select i1 %129, i1 %130, i1 false
  br i1 %or.cond289, label %.loopexit303, label %131

131:                                              ; preds = %125
  %132 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %126, %swift.bridge* %128, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %132, label %.loopexit303, label %133

133:                                              ; preds = %131
  %134 = icmp eq i64 %112, 2
  br i1 %134, label %.loopexit304, label %.preheader302

.preheader302:                                    ; preds = %133, %146
  %135 = phi i64 [ %139, %146 ], [ 2, %133 ]
  %._guts30._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr26, i64 %135, i32 0, i32 0, i32 0, i32 0
  %136 = load i64, i64* %._guts30._object._countAndFlagsBits._value, align 8
  %._guts30._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr26, i64 %135, i32 0, i32 0, i32 1
  %137 = load %swift.bridge*, %swift.bridge** %._guts30._object._object, align 8
  %138 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %135, i64 1)
  %139 = extractvalue { i64, i1 } %138, 0
  %140 = extractvalue { i64, i1 } %138, 1
  br i1 %140, label %661, label %141, !prof !7

141:                                              ; preds = %.preheader302
  %142 = icmp eq i64 %136, 35
  %143 = icmp eq %swift.bridge* %137, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond290 = select i1 %142, i1 %143, i1 false
  br i1 %or.cond290, label %.loopexit303, label %144

144:                                              ; preds = %141
  %145 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %136, %swift.bridge* %137, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %145, label %.loopexit303, label %146

146:                                              ; preds = %144
  %147 = icmp eq i64 %139, %112
  br i1 %147, label %.loopexit304, label %.preheader302

.loopexit303:                                     ; preds = %125, %114, %131, %121, %141, %144
  %148 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 0
  %149 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %148) #17
  br i1 %149, label %154, label %150

150:                                              ; preds = %.loopexit303
  %._storage164.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 1, i32 0, i32 0, i32 0
  %151 = load i64, i64* %._storage164.count._value, align 8, !range !6
  %152 = add nuw nsw i64 %151, 1
  %153 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %152, i1 true, %Ts28__ContiguousArrayStorageBaseC* %106)
  br label %154

154:                                              ; preds = %.loopexit303, %150
  %155 = phi %Ts28__ContiguousArrayStorageBaseC* [ %153, %150 ], [ %106, %.loopexit303 ]
  %._storage165.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %155, i64 0, i32 1, i32 0, i32 0, i32 0
  %156 = load i64, i64* %._storage165.count._value, align 8, !range !6
  %._storage165._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %155, i64 0, i32 1, i32 0, i32 1, i32 0
  %157 = load i64, i64* %._storage165._capacityAndFlags._value, align 8
  %158 = lshr i64 %157, 1
  %159 = add nuw nsw i64 %156, 1
  %.not288 = icmp ugt i64 %158, %156
  br i1 %.not288, label %163, label %160, !prof !8

160:                                              ; preds = %154
  %161 = icmp ugt i64 %157, 1
  %162 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %161, i64 %159, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %155)
  br label %163

163:                                              ; preds = %154, %160
  %164 = phi %Ts28__ContiguousArrayStorageBaseC* [ %162, %160 ], [ %155, %154 ]
  %._storage166.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %164, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %159, i64* %._storage166.count._value, align 8
  %165 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %164, i64 1
  %tailaddr167 = bitcast %Ts28__ContiguousArrayStorageBaseC* %165 to %TSi*
  %._value168 = getelementptr inbounds %TSi, %TSi* %tailaddr167, i64 %156, i32 0
  store i64 %105, i64* %._value168, align 8
  br label %.loopexit306

.loopexit304:                                     ; preds = %146, %133, %123, %110
  %166 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 0
  %167 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %166) #17
  br i1 %167, label %172, label %168

168:                                              ; preds = %.loopexit304
  %._storage31.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 1, i32 0, i32 0, i32 0
  %169 = load i64, i64* %._storage31.count._value, align 8, !range !6
  %170 = add nuw nsw i64 %169, 1
  %171 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %170, i1 true, %Ts28__ContiguousArrayStorageBaseC* %106)
  br label %172

172:                                              ; preds = %.loopexit304, %168
  %173 = phi %Ts28__ContiguousArrayStorageBaseC* [ %171, %168 ], [ %106, %.loopexit304 ]
  %._storage32.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 0, i32 1, i32 0, i32 0, i32 0
  %174 = load i64, i64* %._storage32.count._value, align 8, !range !6
  %._storage32._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 0, i32 1, i32 0, i32 1, i32 0
  %175 = load i64, i64* %._storage32._capacityAndFlags._value, align 8
  %176 = lshr i64 %175, 1
  %177 = add nuw nsw i64 %174, 1
  %.not265 = icmp ugt i64 %176, %174
  br i1 %.not265, label %181, label %178, !prof !8

178:                                              ; preds = %172
  %179 = icmp ugt i64 %175, 1
  %180 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %179, i64 %177, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %173)
  br label %181

181:                                              ; preds = %172, %178
  %182 = phi %Ts28__ContiguousArrayStorageBaseC* [ %180, %178 ], [ %173, %172 ]
  %._storage33.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %182, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %177, i64* %._storage33.count._value, align 8
  %183 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %182, i64 1
  %tailaddr34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %183 to %TSi*
  %._value35 = getelementptr inbounds %TSi, %TSi* %tailaddr34, i64 %174, i32 0
  store i64 %105, i64* %._value35, align 8
  %184 = icmp eq i64 %108, %16
  br i1 %184, label %.loopexit306, label %104

.loopexit306:                                     ; preds = %181, %163
  %185 = phi i64 [ %108, %163 ], [ 0, %181 ]
  %186 = phi %Ts28__ContiguousArrayStorageBaseC* [ %164, %163 ], [ %182, %181 ]
  %187 = icmp slt i64 %16, %185
  br i1 %187, label %662, label %188, !prof !7

188:                                              ; preds = %.loopexit306
  %189 = icmp eq i64 %185, %16
  br i1 %189, label %.loopexit301, label %190

190:                                              ; preds = %188
  %191 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %192 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %191, i64 1
  %tailaddr36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %192 to %TSa*
  %._storage37.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %191, i64 0, i32 1, i32 0, i32 0, i32 0
  br label %193

193:                                              ; preds = %263, %190
  %194 = phi i64 [ %185, %190 ], [ %198, %263 ]
  %195 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %190 ], [ %264, %263 ]
  %196 = phi %Ts28__ContiguousArrayStorageBaseC* [ %186, %190 ], [ %265, %263 ]
  %.not416 = icmp slt i64 %194, %16
  br i1 %.not416, label %197, label %663, !prof !8

197:                                              ; preds = %193
  %198 = add nuw nsw i64 %194, 1
  %199 = load i64, i64* %._storage37.count._value, align 8, !range !6
  %.not266 = icmp ult i64 %194, %199
  br i1 %.not266, label %200, label %664, !prof !8

200:                                              ; preds = %197
  %._buffer38._storage = getelementptr inbounds %TSa, %TSa* %tailaddr36, i64 %194, i32 0, i32 0
  %201 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer38._storage, align 8
  %._storage39.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %201, i64 0, i32 1, i32 0, i32 0, i32 0
  %202 = load i64, i64* %._storage39.count._value, align 8, !range !6
  %203 = icmp eq i64 %202, 0
  br i1 %203, label %.loopexit300, label %204

204:                                              ; preds = %200
  %205 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %201, i64 1
  %tailaddr41 = bitcast %Ts28__ContiguousArrayStorageBaseC* %205 to %TSS*
  %tailaddr41._guts._object._countAndFlagsBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %205 to i64*
  %206 = load i64, i64* %tailaddr41._guts._object._countAndFlagsBits._value, align 8
  %tailaddr41._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %201, i64 1, i32 0, i32 1
  %207 = bitcast i64* %tailaddr41._guts._object._object to %swift.bridge**
  %208 = load %swift.bridge*, %swift.bridge** %207, align 8
  %209 = icmp eq i64 %206, 35
  %210 = icmp eq %swift.bridge* %208, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond291 = select i1 %209, i1 %210, i1 false
  br i1 %or.cond291, label %.loopexit299, label %211

211:                                              ; preds = %204
  %212 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %206, %swift.bridge* %208, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %212, label %.loopexit299, label %213

213:                                              ; preds = %211
  %214 = icmp eq i64 %202, 1
  br i1 %214, label %.loopexit300, label %215

215:                                              ; preds = %213
  %._guts44._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %201, i64 1, i32 1, i32 0, i32 0, i32 0
  %216 = load i64, i64* %._guts44._object._countAndFlagsBits._value, align 8
  %._guts44._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %201, i64 1, i32 1, i32 0, i32 1
  %217 = bitcast %TSu* %._guts44._object._object to %swift.bridge**
  %218 = load %swift.bridge*, %swift.bridge** %217, align 8
  %219 = icmp eq i64 %216, 35
  %220 = icmp eq %swift.bridge* %218, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond292 = select i1 %219, i1 %220, i1 false
  br i1 %or.cond292, label %.loopexit299, label %221

221:                                              ; preds = %215
  %222 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %216, %swift.bridge* %218, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %222, label %.loopexit299, label %223

223:                                              ; preds = %221
  %224 = icmp eq i64 %202, 2
  br i1 %224, label %.loopexit300, label %.preheader

.preheader:                                       ; preds = %223, %236
  %225 = phi i64 [ %229, %236 ], [ 2, %223 ]
  %._guts45._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr41, i64 %225, i32 0, i32 0, i32 0, i32 0
  %226 = load i64, i64* %._guts45._object._countAndFlagsBits._value, align 8
  %._guts45._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr41, i64 %225, i32 0, i32 0, i32 1
  %227 = load %swift.bridge*, %swift.bridge** %._guts45._object._object, align 8
  %228 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %225, i64 1)
  %229 = extractvalue { i64, i1 } %228, 0
  %230 = extractvalue { i64, i1 } %228, 1
  br i1 %230, label %665, label %231, !prof !7

231:                                              ; preds = %.preheader
  %232 = icmp eq i64 %226, 35
  %233 = icmp eq %swift.bridge* %227, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond293 = select i1 %232, i1 %233, i1 false
  br i1 %or.cond293, label %.loopexit299, label %234

234:                                              ; preds = %231
  %235 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %226, %swift.bridge* %227, i64 35, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %235, label %.loopexit299, label %236

236:                                              ; preds = %234
  %237 = icmp eq i64 %229, %202
  br i1 %237, label %.loopexit300, label %.preheader

.loopexit299:                                     ; preds = %231, %234, %215, %204, %221, %211
  %238 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %196, i64 0, i32 0
  %239 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %195, i64 0, i32 0
  %240 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %238) #17
  %241 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %239) #17
  br i1 %241, label %246, label %242

242:                                              ; preds = %.loopexit299
  %._storage151.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %195, i64 0, i32 1, i32 0, i32 0, i32 0
  %243 = load i64, i64* %._storage151.count._value, align 8, !range !6
  %244 = add nuw nsw i64 %243, 1
  %245 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %244, i1 true, %Ts28__ContiguousArrayStorageBaseC* %195, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %246

246:                                              ; preds = %.loopexit299, %242
  %247 = phi %Ts28__ContiguousArrayStorageBaseC* [ %245, %242 ], [ %195, %.loopexit299 ]
  %._storage152.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %247, i64 0, i32 1, i32 0, i32 0, i32 0
  %248 = load i64, i64* %._storage152.count._value, align 8, !range !6
  %._storage152._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %247, i64 0, i32 1, i32 0, i32 1, i32 0
  %249 = load i64, i64* %._storage152._capacityAndFlags._value, align 8
  %250 = lshr i64 %249, 1
  %251 = add nuw nsw i64 %248, 1
  %.not287 = icmp ugt i64 %250, %248
  br i1 %.not287, label %255, label %252, !prof !8

252:                                              ; preds = %246
  %253 = icmp ugt i64 %249, 1
  %254 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %253, i64 %251, i1 true, %Ts28__ContiguousArrayStorageBaseC* %247, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %255

255:                                              ; preds = %246, %252
  %256 = phi %Ts28__ContiguousArrayStorageBaseC* [ %254, %252 ], [ %247, %246 ]
  %._storage153.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %256, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %251, i64* %._storage153.count._value, align 8
  %257 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %256, i64 1
  %tailaddr154 = bitcast %Ts28__ContiguousArrayStorageBaseC* %257 to %TSa*
  %._buffer155._storage = getelementptr inbounds %TSa, %TSa* %tailaddr154, i64 %248, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %196, %Ts28__ContiguousArrayStorageBaseC** %._buffer155._storage, align 8
  %258 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #18
  %259 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %258, i64 40, i64 7) #2
  %260 = bitcast %swift.refcounted* %259 to %Ts28__ContiguousArrayStorageBaseC*
  %261 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %259, i64 1
  %._storage156.count._value = bitcast %swift.refcounted* %261 to i64*
  store i64 1, i64* %._storage156.count._value, align 8
  %._storage156._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %259, i64 1, i32 1
  store i64 2, i64* %._storage156._capacityAndFlags, align 8
  %262 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %259, i64 2
  %tailaddr157._value = bitcast %swift.refcounted* %262 to i64*
  store i64 %194, i64* %tailaddr157._value, align 8
  tail call void @swift_release(%swift.refcounted* %238) #2
  br label %263

263:                                              ; preds = %255, %282
  %264 = phi %Ts28__ContiguousArrayStorageBaseC* [ %195, %282 ], [ %256, %255 ]
  %265 = phi %Ts28__ContiguousArrayStorageBaseC* [ %283, %282 ], [ %260, %255 ]
  %266 = icmp eq i64 %198, %16
  br i1 %266, label %.loopexit301, label %193

.loopexit300:                                     ; preds = %236, %223, %213, %200
  %267 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %196, i64 0, i32 0
  %268 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %267) #17
  br i1 %268, label %273, label %269

269:                                              ; preds = %.loopexit300
  %._storage46.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %196, i64 0, i32 1, i32 0, i32 0, i32 0
  %270 = load i64, i64* %._storage46.count._value, align 8, !range !6
  %271 = add nuw nsw i64 %270, 1
  %272 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %271, i1 true, %Ts28__ContiguousArrayStorageBaseC* %196)
  br label %273

273:                                              ; preds = %.loopexit300, %269
  %274 = phi %Ts28__ContiguousArrayStorageBaseC* [ %272, %269 ], [ %196, %.loopexit300 ]
  %._storage47.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %274, i64 0, i32 1, i32 0, i32 0, i32 0
  %275 = load i64, i64* %._storage47.count._value, align 8, !range !6
  %._storage47._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %274, i64 0, i32 1, i32 0, i32 1, i32 0
  %276 = load i64, i64* %._storage47._capacityAndFlags._value, align 8
  %277 = lshr i64 %276, 1
  %278 = add nuw nsw i64 %275, 1
  %.not267 = icmp ugt i64 %277, %275
  br i1 %.not267, label %282, label %279, !prof !8

279:                                              ; preds = %273
  %280 = icmp ugt i64 %276, 1
  %281 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %280, i64 %278, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %274)
  br label %282

282:                                              ; preds = %273, %279
  %283 = phi %Ts28__ContiguousArrayStorageBaseC* [ %281, %279 ], [ %274, %273 ]
  %._storage48.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %283, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %278, i64* %._storage48.count._value, align 8
  %284 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %283, i64 1
  %tailaddr49 = bitcast %Ts28__ContiguousArrayStorageBaseC* %284 to %TSi*
  %._value50 = getelementptr inbounds %TSi, %TSi* %tailaddr49, i64 %275, i32 0
  store i64 %194, i64* %._value50, align 8
  br label %263

.loopexit301:                                     ; preds = %263, %188
  %285 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %188 ], [ %264, %263 ]
  %286 = phi %Ts28__ContiguousArrayStorageBaseC* [ %186, %188 ], [ %265, %263 ]
  %._storage51.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %286, i64 0, i32 1, i32 0, i32 0, i32 0
  %287 = load i64, i64* %._storage51.count._value, align 8, !range !6
  %.not268 = icmp eq i64 %287, 0
  br i1 %.not268, label %308, label %288

288:                                              ; preds = %.loopexit301
  %289 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %286, i64 0, i32 0
  %290 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 0, i32 0
  %291 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %289) #17
  %292 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %290) #17
  br i1 %292, label %297, label %293

293:                                              ; preds = %288
  %._storage146.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 0, i32 1, i32 0, i32 0, i32 0
  %294 = load i64, i64* %._storage146.count._value, align 8, !range !6
  %295 = add nuw nsw i64 %294, 1
  %296 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %295, i1 true, %Ts28__ContiguousArrayStorageBaseC* %285, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %297

297:                                              ; preds = %288, %293
  %298 = phi %Ts28__ContiguousArrayStorageBaseC* [ %296, %293 ], [ %285, %288 ]
  %._storage147.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %298, i64 0, i32 1, i32 0, i32 0, i32 0
  %299 = load i64, i64* %._storage147.count._value, align 8, !range !6
  %._storage147._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %298, i64 0, i32 1, i32 0, i32 1, i32 0
  %300 = load i64, i64* %._storage147._capacityAndFlags._value, align 8
  %301 = lshr i64 %300, 1
  %302 = add nuw nsw i64 %299, 1
  %.not286 = icmp ugt i64 %301, %299
  br i1 %.not286, label %.thread418, label %303, !prof !8

303:                                              ; preds = %297
  %304 = icmp ugt i64 %300, 1
  %305 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %304, i64 %302, i1 true, %Ts28__ContiguousArrayStorageBaseC* %298, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %.thread418

.thread418:                                       ; preds = %303, %297
  %306 = phi %Ts28__ContiguousArrayStorageBaseC* [ %305, %303 ], [ %298, %297 ]
  %._storage148.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %306, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %302, i64* %._storage148.count._value, align 8
  %307 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %306, i64 1
  %tailaddr149 = bitcast %Ts28__ContiguousArrayStorageBaseC* %307 to %TSa*
  %._buffer150._storage = getelementptr inbounds %TSa, %TSa* %tailaddr149, i64 %299, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %286, %Ts28__ContiguousArrayStorageBaseC** %._buffer150._storage, align 8
  br label %310

308:                                              ; preds = %.loopexit301
  %._storage52.count._value.phi.trans.insert = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 0, i32 1, i32 0, i32 0, i32 0
  %.pre414 = load i64, i64* %._storage52.count._value.phi.trans.insert, align 8, !range !6
  %309 = icmp eq i64 %.pre414, 0
  br i1 %309, label %605, label %310

310:                                              ; preds = %.thread418, %308
  %311 = phi %Ts28__ContiguousArrayStorageBaseC* [ %306, %.thread418 ], [ %285, %308 ]
  %312 = phi i64 [ %302, %.thread418 ], [ %.pre414, %308 ]
  %._storage52.count._value420 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %311, i64 0, i32 1, i32 0, i32 0, i32 0
  %313 = icmp slt i64 %19, 0
  br i1 %313, label %666, label %314, !prof !7

314:                                              ; preds = %310
  %315 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %311, i64 0, i32 0
  %316 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 0, i32 0
  %317 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %315) #17
  %318 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %316) #17
  br i1 %318, label %321, label %319

319:                                              ; preds = %314
  %320 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %25)
  br label %321

321:                                              ; preds = %314, %319
  %322 = phi %Ts28__ContiguousArrayStorageBaseC* [ %320, %319 ], [ %25, %314 ]
  %323 = icmp eq i64 %19, 0
  %324 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %311, i64 1
  %tailaddr53 = bitcast %Ts28__ContiguousArrayStorageBaseC* %324 to %TSa*
  %325 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  %326 = bitcast %TSS* %2 to i8*
  %._guts66._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts66._object._object = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 1
  %327 = bitcast %TSS* %3 to i8*
  %._guts67._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts67._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  %328 = bitcast %TSS* %3 to %swift.opaque*
  %329 = bitcast %TSS* %2 to %swift.opaque*
  %330 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch76, i64 0, i64 0
  %331 = bitcast %TSS* %4 to i8*
  %._guts85._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts85._object._object = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  %332 = bitcast %TSS* %5 to i8*
  %._guts86._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 0, i32 0
  %._guts86._object._object = getelementptr inbounds %TSS, %TSS* %5, i64 0, i32 0, i32 0, i32 1
  %333 = bitcast %TSS* %5 to %swift.opaque*
  %334 = bitcast %TSS* %4 to %swift.opaque*
  %._storage102.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %322, i64 0, i32 1, i32 0, i32 0, i32 0
  %335 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %322, i64 1
  %tailaddr103 = bitcast %Ts28__ContiguousArrayStorageBaseC* %335 to %TSa*
  br label %336

336:                                              ; preds = %599, %321
  %337 = phi i64 [ %22, %321 ], [ %600, %599 ]
  %338 = phi i64 [ 0, %321 ], [ %342, %599 ]
  %339 = load i64, i64* %._storage52.count._value420, align 8, !range !6
  %.not269 = icmp ult i64 %338, %339
  br i1 %.not269, label %340, label %667, !prof !8

340:                                              ; preds = %336
  %._buffer54._storage = getelementptr inbounds %TSa, %TSa* %tailaddr53, i64 %338, i32 0, i32 0
  %341 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer54._storage, align 8
  %342 = add nuw nsw i64 %338, 1
  br i1 %323, label %.thread, label %343

343:                                              ; preds = %340
  %._storage55.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 1, i32 0, i32 0, i32 0
  %344 = load i64, i64* %._storage55.count._value, align 8, !range !6
  %345 = icmp eq i64 %344, 0
  %346 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  %347 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 1
  %tailaddr56 = bitcast %Ts28__ContiguousArrayStorageBaseC* %347 to %TSi*
  %348 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %346) #17
  br label %349

349:                                              ; preds = %414, %343
  %350 = phi i64 [ 0, %343 ], [ %353, %414 ]
  %351 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %343 ], [ %415, %414 ]
  %exitcond408.not = icmp eq i64 %350, %19
  br i1 %exitcond408.not, label %668, label %352, !prof !7

352:                                              ; preds = %349
  %353 = add nuw i64 %350, 1
  br i1 %345, label %398, label %356

.thread:                                          ; preds = %340
  %354 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  %355 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %354) #17
  br label %421

356:                                              ; preds = %352
  %357 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %346) #17
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %325)
  call void @swift_beginAccess(i8* nonnull %23, [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #2
  br label %358

358:                                              ; preds = %356, %376
  %359 = phi i64 [ 0, %356 ], [ %361, %376 ]
  %._value58 = getelementptr inbounds %TSi, %TSi* %tailaddr56, i64 %359, i32 0
  %360 = load i64, i64* %._value58, align 8
  %361 = add nuw nsw i64 %359, 1
  %362 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %363 = icmp slt i64 %360, 0
  br i1 %363, label %669, label %364, !prof !7

364:                                              ; preds = %358
  %._storage60.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %362, i64 0, i32 1, i32 0, i32 0, i32 0
  %365 = load i64, i64* %._storage60.count._value, align 8, !range !6
  %.not270 = icmp ult i64 %360, %365
  br i1 %.not270, label %366, label %670, !prof !8

366:                                              ; preds = %364
  %367 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %362, i64 1
  %tailaddr61 = bitcast %Ts28__ContiguousArrayStorageBaseC* %367 to %TSa*
  %._buffer62._storage = getelementptr inbounds %TSa, %TSa* %tailaddr61, i64 %360, i32 0, i32 0
  %368 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer62._storage, align 8
  %._storage63.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %368, i64 0, i32 1, i32 0, i32 0, i32 0
  %369 = load i64, i64* %._storage63.count._value, align 8, !range !6
  %.not271 = icmp ult i64 %350, %369
  br i1 %.not271, label %370, label %671, !prof !8

370:                                              ; preds = %366
  %371 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %368, i64 1
  %tailaddr64 = bitcast %Ts28__ContiguousArrayStorageBaseC* %371 to %TSS*
  %._guts65._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr64, i64 %350, i32 0, i32 0, i32 0, i32 0
  %372 = load i64, i64* %._guts65._object._countAndFlagsBits._value, align 8
  %._guts65._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr64, i64 %350, i32 0, i32 0, i32 1
  %373 = load %swift.bridge*, %swift.bridge** %._guts65._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %326)
  store i64 %372, i64* %._guts66._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %373, %swift.bridge** %._guts66._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %327)
  store i64 35, i64* %._guts67._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts67._object._object, align 8
  %374 = tail call i8** @"$sS2SSysWl"() #19
  %375 = call swiftcc i1 @"$sSy10FoundationE8containsySbqd__SyRd__lF"(%swift.opaque* noalias nocapture nonnull %328, %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSSN", i8** %374, i8** %374, %swift.opaque* noalias nocapture nonnull swiftself %329)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %327)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %326)
  br i1 %375, label %379, label %376

376:                                              ; preds = %370
  %377 = icmp eq i64 %361, %344
  br i1 %377, label %378, label %358

378:                                              ; preds = %376
  call void @swift_release(%swift.refcounted* %346) #2
  br label %398

379:                                              ; preds = %370
  call void @swift_release(%swift.refcounted* %346) #2
  %380 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %351, i64 0, i32 0
  %381 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %380) #17
  br i1 %381, label %386, label %382

382:                                              ; preds = %379
  %._storage141.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %351, i64 0, i32 1, i32 0, i32 0, i32 0
  %383 = load i64, i64* %._storage141.count._value, align 8, !range !6
  %384 = add nuw nsw i64 %383, 1
  %385 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %384, i1 true, %Ts28__ContiguousArrayStorageBaseC* %351)
  br label %386

386:                                              ; preds = %379, %382
  %387 = phi %Ts28__ContiguousArrayStorageBaseC* [ %385, %382 ], [ %351, %379 ]
  %._storage142.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %387, i64 0, i32 1, i32 0, i32 0, i32 0
  %388 = load i64, i64* %._storage142.count._value, align 8, !range !6
  %._storage142._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %387, i64 0, i32 1, i32 0, i32 1, i32 0
  %389 = load i64, i64* %._storage142._capacityAndFlags._value, align 8
  %390 = lshr i64 %389, 1
  %391 = add nuw nsw i64 %388, 1
  %.not285 = icmp ugt i64 %390, %388
  br i1 %.not285, label %395, label %392, !prof !8

392:                                              ; preds = %386
  %393 = icmp ugt i64 %389, 1
  %394 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %393, i64 %391, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %387)
  br label %395

395:                                              ; preds = %386, %392
  %396 = phi %Ts28__ContiguousArrayStorageBaseC* [ %394, %392 ], [ %387, %386 ]
  %._storage143.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %396, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %391, i64* %._storage143.count._value, align 8
  %397 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %396, i64 1
  %tailaddr144 = bitcast %Ts28__ContiguousArrayStorageBaseC* %397 to %TSi*
  %._value145 = getelementptr inbounds %TSi, %TSi* %tailaddr144, i64 %388, i32 0
  store i64 %350, i64* %._value145, align 8
  br label %.loopexit298

398:                                              ; preds = %352, %378
  %399 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %351, i64 0, i32 0
  %400 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %399) #17
  br i1 %400, label %405, label %401

401:                                              ; preds = %398
  %._storage68.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %351, i64 0, i32 1, i32 0, i32 0, i32 0
  %402 = load i64, i64* %._storage68.count._value, align 8, !range !6
  %403 = add nuw nsw i64 %402, 1
  %404 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %403, i1 true, %Ts28__ContiguousArrayStorageBaseC* %351)
  br label %405

405:                                              ; preds = %398, %401
  %406 = phi %Ts28__ContiguousArrayStorageBaseC* [ %404, %401 ], [ %351, %398 ]
  %._storage69.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %406, i64 0, i32 1, i32 0, i32 0, i32 0
  %407 = load i64, i64* %._storage69.count._value, align 8, !range !6
  %._storage69._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %406, i64 0, i32 1, i32 0, i32 1, i32 0
  %408 = load i64, i64* %._storage69._capacityAndFlags._value, align 8
  %409 = lshr i64 %408, 1
  %410 = add nuw nsw i64 %407, 1
  %.not272 = icmp ugt i64 %409, %407
  br i1 %.not272, label %414, label %411, !prof !8

411:                                              ; preds = %405
  %412 = icmp ugt i64 %408, 1
  %413 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %412, i64 %410, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %406)
  br label %414

414:                                              ; preds = %405, %411
  %415 = phi %Ts28__ContiguousArrayStorageBaseC* [ %413, %411 ], [ %406, %405 ]
  %._storage70.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %415, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %410, i64* %._storage70.count._value, align 8
  %416 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %415, i64 1
  %tailaddr71 = bitcast %Ts28__ContiguousArrayStorageBaseC* %416 to %TSi*
  %._value72 = getelementptr inbounds %TSi, %TSi* %tailaddr71, i64 %407, i32 0
  store i64 %350, i64* %._value72, align 8
  %417 = icmp eq i64 %353, %19
  br i1 %417, label %.loopexit298, label %349

.loopexit298:                                     ; preds = %414, %395
  %418 = phi i64 [ %353, %395 ], [ 0, %414 ]
  %419 = phi %Ts28__ContiguousArrayStorageBaseC* [ %396, %395 ], [ %415, %414 ]
  %420 = icmp slt i64 %19, %418
  br i1 %420, label %672, label %421, !prof !7

421:                                              ; preds = %.thread, %.loopexit298
  %422 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.thread ], [ %419, %.loopexit298 ]
  %423 = phi i64 [ 0, %.thread ], [ %418, %.loopexit298 ]
  %424 = icmp eq i64 %423, %19
  br i1 %424, label %.loopexit297, label %425

425:                                              ; preds = %421
  %._storage73.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 1, i32 0, i32 0, i32 0
  %426 = load i64, i64* %._storage73.count._value, align 8, !range !6
  %427 = icmp eq i64 %426, 0
  %428 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 1
  %tailaddr74 = bitcast %Ts28__ContiguousArrayStorageBaseC* %428 to %TSi*
  %429 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  br label %430

430:                                              ; preds = %487, %425
  %431 = phi i64 [ %423, %425 ], [ %435, %487 ]
  %432 = phi %Ts28__ContiguousArrayStorageBaseC* [ %422, %425 ], [ %488, %487 ]
  %433 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %425 ], [ %489, %487 ]
  %.not417 = icmp slt i64 %431, %19
  br i1 %.not417, label %434, label %673, !prof !8

434:                                              ; preds = %430
  %435 = add nsw i64 %431, 1
  br i1 %427, label %491, label %436

436:                                              ; preds = %434
  %437 = icmp slt i64 %431, 0
  br i1 %437, label %674, label %438, !prof !7

438:                                              ; preds = %436
  %439 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %429) #17
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %330)
  call void @swift_beginAccess(i8* nonnull %23, [24 x i8]* nonnull %access-scratch76, i64 0, i8* null) #2
  br label %440

440:                                              ; preds = %438, %458
  %441 = phi i64 [ 0, %438 ], [ %443, %458 ]
  %._value77 = getelementptr inbounds %TSi, %TSi* %tailaddr74, i64 %441, i32 0
  %442 = load i64, i64* %._value77, align 8
  %443 = add nuw nsw i64 %441, 1
  %444 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %445 = icmp slt i64 %442, 0
  br i1 %445, label %675, label %446, !prof !7

446:                                              ; preds = %440
  %._storage79.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %444, i64 0, i32 1, i32 0, i32 0, i32 0
  %447 = load i64, i64* %._storage79.count._value, align 8, !range !6
  %.not273 = icmp ult i64 %442, %447
  br i1 %.not273, label %448, label %676, !prof !8

448:                                              ; preds = %446
  %449 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %444, i64 1
  %tailaddr80 = bitcast %Ts28__ContiguousArrayStorageBaseC* %449 to %TSa*
  %._buffer81._storage = getelementptr inbounds %TSa, %TSa* %tailaddr80, i64 %442, i32 0, i32 0
  %450 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  %._storage82.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %450, i64 0, i32 1, i32 0, i32 0, i32 0
  %451 = load i64, i64* %._storage82.count._value, align 8, !range !6
  %.not274 = icmp slt i64 %431, %451
  br i1 %.not274, label %452, label %677, !prof !8

452:                                              ; preds = %448
  %453 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %450, i64 1
  %tailaddr83 = bitcast %Ts28__ContiguousArrayStorageBaseC* %453 to %TSS*
  %._guts84._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr83, i64 %431, i32 0, i32 0, i32 0, i32 0
  %454 = load i64, i64* %._guts84._object._countAndFlagsBits._value, align 8
  %._guts84._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr83, i64 %431, i32 0, i32 0, i32 1
  %455 = load %swift.bridge*, %swift.bridge** %._guts84._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %331)
  store i64 %454, i64* %._guts85._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %455, %swift.bridge** %._guts85._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %332)
  store i64 35, i64* %._guts86._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts86._object._object, align 8
  %456 = tail call i8** @"$sS2SSysWl"() #19
  %457 = call swiftcc i1 @"$sSy10FoundationE8containsySbqd__SyRd__lF"(%swift.opaque* noalias nocapture nonnull %333, %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSSN", i8** %456, i8** %456, %swift.opaque* noalias nocapture nonnull swiftself %334)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %332)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %331)
  br i1 %457, label %461, label %458

458:                                              ; preds = %452
  %459 = icmp eq i64 %443, %426
  br i1 %459, label %460, label %440

460:                                              ; preds = %458
  call void @swift_release(%swift.refcounted* %429) #2
  br label %491

461:                                              ; preds = %452
  call void @swift_release(%swift.refcounted* %429) #2
  %462 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %432, i64 0, i32 0
  %463 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %433, i64 0, i32 0
  %464 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %462) #17
  %465 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %463) #17
  br i1 %465, label %470, label %466

466:                                              ; preds = %461
  %._storage134.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %433, i64 0, i32 1, i32 0, i32 0, i32 0
  %467 = load i64, i64* %._storage134.count._value, align 8, !range !6
  %468 = add nuw nsw i64 %467, 1
  %469 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %468, i1 true, %Ts28__ContiguousArrayStorageBaseC* %433, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %470

470:                                              ; preds = %461, %466
  %471 = phi %Ts28__ContiguousArrayStorageBaseC* [ %469, %466 ], [ %433, %461 ]
  %._storage135.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %471, i64 0, i32 1, i32 0, i32 0, i32 0
  %472 = load i64, i64* %._storage135.count._value, align 8, !range !6
  %._storage135._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %471, i64 0, i32 1, i32 0, i32 1, i32 0
  %473 = load i64, i64* %._storage135._capacityAndFlags._value, align 8
  %474 = lshr i64 %473, 1
  %475 = add nuw nsw i64 %472, 1
  %.not284 = icmp ugt i64 %474, %472
  br i1 %.not284, label %479, label %476, !prof !8

476:                                              ; preds = %470
  %477 = icmp ugt i64 %473, 1
  %478 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %477, i64 %475, i1 true, %Ts28__ContiguousArrayStorageBaseC* %471, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %479

479:                                              ; preds = %470, %476
  %480 = phi %Ts28__ContiguousArrayStorageBaseC* [ %478, %476 ], [ %471, %470 ]
  %._storage136.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %480, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %475, i64* %._storage136.count._value, align 8
  %481 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %480, i64 1
  %tailaddr137 = bitcast %Ts28__ContiguousArrayStorageBaseC* %481 to %TSa*
  %._buffer138._storage = getelementptr inbounds %TSa, %TSa* %tailaddr137, i64 %472, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %432, %Ts28__ContiguousArrayStorageBaseC** %._buffer138._storage, align 8
  %482 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #18
  %483 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %482, i64 40, i64 7) #2
  %484 = bitcast %swift.refcounted* %483 to %Ts28__ContiguousArrayStorageBaseC*
  %485 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %483, i64 1
  %._storage139.count._value = bitcast %swift.refcounted* %485 to i64*
  store i64 1, i64* %._storage139.count._value, align 8
  %._storage139._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %483, i64 1, i32 1
  store i64 2, i64* %._storage139._capacityAndFlags, align 8
  %486 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %483, i64 2
  %tailaddr140._value = bitcast %swift.refcounted* %486 to i64*
  store i64 %431, i64* %tailaddr140._value, align 8
  call void @swift_release(%swift.refcounted* %462) #2
  br label %487

487:                                              ; preds = %479, %507
  %488 = phi %Ts28__ContiguousArrayStorageBaseC* [ %508, %507 ], [ %484, %479 ]
  %489 = phi %Ts28__ContiguousArrayStorageBaseC* [ %433, %507 ], [ %480, %479 ]
  %490 = icmp eq i64 %435, %19
  br i1 %490, label %.loopexit297, label %430

491:                                              ; preds = %434, %460
  %492 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %432, i64 0, i32 0
  %493 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %492) #17
  br i1 %493, label %498, label %494

494:                                              ; preds = %491
  %._storage87.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %432, i64 0, i32 1, i32 0, i32 0, i32 0
  %495 = load i64, i64* %._storage87.count._value, align 8, !range !6
  %496 = add nuw nsw i64 %495, 1
  %497 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %496, i1 true, %Ts28__ContiguousArrayStorageBaseC* %432)
  br label %498

498:                                              ; preds = %491, %494
  %499 = phi %Ts28__ContiguousArrayStorageBaseC* [ %497, %494 ], [ %432, %491 ]
  %._storage88.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %499, i64 0, i32 1, i32 0, i32 0, i32 0
  %500 = load i64, i64* %._storage88.count._value, align 8, !range !6
  %._storage88._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %499, i64 0, i32 1, i32 0, i32 1, i32 0
  %501 = load i64, i64* %._storage88._capacityAndFlags._value, align 8
  %502 = lshr i64 %501, 1
  %503 = add nuw nsw i64 %500, 1
  %.not275 = icmp ugt i64 %502, %500
  br i1 %.not275, label %507, label %504, !prof !8

504:                                              ; preds = %498
  %505 = icmp ugt i64 %501, 1
  %506 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %505, i64 %503, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %499)
  br label %507

507:                                              ; preds = %498, %504
  %508 = phi %Ts28__ContiguousArrayStorageBaseC* [ %506, %504 ], [ %499, %498 ]
  %._storage89.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %508, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %503, i64* %._storage89.count._value, align 8
  %509 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %508, i64 1
  %tailaddr90 = bitcast %Ts28__ContiguousArrayStorageBaseC* %509 to %TSi*
  %._value91 = getelementptr inbounds %TSi, %TSi* %tailaddr90, i64 %500, i32 0
  store i64 %431, i64* %._value91, align 8
  br label %487

.loopexit297:                                     ; preds = %487, %421
  %510 = phi %Ts28__ContiguousArrayStorageBaseC* [ %422, %421 ], [ %488, %487 ]
  %511 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %421 ], [ %489, %487 ]
  %._storage92.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %510, i64 0, i32 1, i32 0, i32 0, i32 0
  %512 = load i64, i64* %._storage92.count._value, align 8, !range !6
  %.not276 = icmp eq i64 %512, 0
  br i1 %.not276, label %533, label %513

513:                                              ; preds = %.loopexit297
  %514 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %510, i64 0, i32 0
  %515 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %511, i64 0, i32 0
  %516 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %514) #17
  %517 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %515) #17
  br i1 %517, label %522, label %518

518:                                              ; preds = %513
  %._storage129.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %511, i64 0, i32 1, i32 0, i32 0, i32 0
  %519 = load i64, i64* %._storage129.count._value, align 8, !range !6
  %520 = add nuw nsw i64 %519, 1
  %521 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %520, i1 true, %Ts28__ContiguousArrayStorageBaseC* %511, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %522

522:                                              ; preds = %513, %518
  %523 = phi %Ts28__ContiguousArrayStorageBaseC* [ %521, %518 ], [ %511, %513 ]
  %._storage130.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %523, i64 0, i32 1, i32 0, i32 0, i32 0
  %524 = load i64, i64* %._storage130.count._value, align 8, !range !6
  %._storage130._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %523, i64 0, i32 1, i32 0, i32 1, i32 0
  %525 = load i64, i64* %._storage130._capacityAndFlags._value, align 8
  %526 = lshr i64 %525, 1
  %527 = add nuw nsw i64 %524, 1
  %.not283 = icmp ugt i64 %526, %524
  br i1 %.not283, label %.thread421, label %528, !prof !8

528:                                              ; preds = %522
  %529 = icmp ugt i64 %525, 1
  %530 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %529, i64 %527, i1 true, %Ts28__ContiguousArrayStorageBaseC* %523, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %.thread421

.thread421:                                       ; preds = %528, %522
  %531 = phi %Ts28__ContiguousArrayStorageBaseC* [ %530, %528 ], [ %523, %522 ]
  %._storage131.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %531, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %527, i64* %._storage131.count._value, align 8
  %532 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %531, i64 1
  %tailaddr132 = bitcast %Ts28__ContiguousArrayStorageBaseC* %532 to %TSa*
  %._buffer133._storage = getelementptr inbounds %TSa, %TSa* %tailaddr132, i64 %524, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %510, %Ts28__ContiguousArrayStorageBaseC** %._buffer133._storage, align 8
  br label %535

533:                                              ; preds = %.loopexit297
  %._storage93.count._value.phi.trans.insert = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %511, i64 0, i32 1, i32 0, i32 0, i32 0
  %.pre415 = load i64, i64* %._storage93.count._value.phi.trans.insert, align 8, !range !6
  %534 = icmp eq i64 %.pre415, 0
  br i1 %534, label %544, label %535

535:                                              ; preds = %.thread421, %533
  %536 = phi %Ts28__ContiguousArrayStorageBaseC* [ %531, %.thread421 ], [ %511, %533 ]
  %537 = phi i64 [ %527, %.thread421 ], [ %.pre415, %533 ]
  %._storage93.count._value423 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %536, i64 0, i32 1, i32 0, i32 0, i32 0
  %538 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %536, i64 1
  %tailaddr94 = bitcast %Ts28__ContiguousArrayStorageBaseC* %538 to %TSa*
  %539 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %536, i64 0, i32 0
  %._storage97.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 1, i32 0, i32 0, i32 0
  %540 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 1
  %tailaddr100 = bitcast %Ts28__ContiguousArrayStorageBaseC* %540 to %TSi*
  %541 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  %542 = xor i64 %337, -9223372036854775808
  %543 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %539) #17
  br label %546

544:                                              ; preds = %533
  %545 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %510, i64 0, i32 0
  br label %599

546:                                              ; preds = %595, %535
  %547 = phi i64 [ %337, %535 ], [ %596, %595 ]
  %548 = phi i64 [ 0, %535 ], [ %552, %595 ]
  %549 = load i64, i64* %._storage93.count._value423, align 8, !range !6
  %.not277 = icmp ult i64 %548, %549
  br i1 %.not277, label %550, label %678, !prof !8

550:                                              ; preds = %546
  %._buffer95._storage = getelementptr inbounds %TSa, %TSa* %tailaddr94, i64 %548, i32 0, i32 0
  %551 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer95._storage, align 8
  %552 = add nuw nsw i64 %548, 1
  %._storage96.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %551, i64 0, i32 1, i32 0, i32 0, i32 0
  %553 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %554 = icmp eq i64 %553, 0
  br i1 %554, label %594, label %555

555:                                              ; preds = %550
  %556 = load i64, i64* %._storage97.count._value, align 8, !range !6
  %557 = icmp eq i64 %556, 0
  %558 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %551, i64 1
  %tailaddr98 = bitcast %Ts28__ContiguousArrayStorageBaseC* %558 to %TSi*
  %559 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %551, i64 0, i32 0
  %560 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %559) #17
  br label %561

561:                                              ; preds = %591, %555
  %562 = phi i64 [ 0, %555 ], [ %566, %591 ]
  %563 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %.not278 = icmp ult i64 %562, %563
  br i1 %.not278, label %564, label %679, !prof !8

564:                                              ; preds = %561
  %._value99 = getelementptr inbounds %TSi, %TSi* %tailaddr98, i64 %562, i32 0
  %565 = load i64, i64* %._value99, align 8
  %566 = add nuw nsw i64 %562, 1
  br i1 %557, label %591, label %567

567:                                              ; preds = %564
  %568 = icmp slt i64 %565, 0
  br i1 %568, label %680, label %569, !prof !7

569:                                              ; preds = %567
  %570 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %541) #17
  br label %571

571:                                              ; preds = %586, %569
  %572 = phi i64 [ 0, %569 ], [ %587, %586 ]
  %._value101 = getelementptr inbounds %TSi, %TSi* %tailaddr100, i64 %572, i32 0
  %573 = load i64, i64* %._value101, align 8
  %574 = icmp slt i64 %573, 0
  br i1 %574, label %681, label %575, !prof !7

575:                                              ; preds = %571
  %576 = load i64, i64* %._storage102.count._value, align 8, !range !6
  %.not279 = icmp ult i64 %573, %576
  br i1 %.not279, label %577, label %682, !prof !8

577:                                              ; preds = %575
  %._buffer104._storage = getelementptr inbounds %TSa, %TSa* %tailaddr103, i64 %573, i32 0, i32 0
  %578 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer104._storage, align 8
  %579 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %578, i64 0, i32 0
  %580 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %579) #17
  store %Ts28__ContiguousArrayStorageBaseC* %578, %Ts28__ContiguousArrayStorageBaseC** %._buffer104._storage, align 8
  br i1 %580, label %583, label %581

581:                                              ; preds = %577
  %582 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %578)
  store %Ts28__ContiguousArrayStorageBaseC* %582, %Ts28__ContiguousArrayStorageBaseC** %._buffer104._storage, align 8
  br label %583

583:                                              ; preds = %577, %581
  %584 = phi %Ts28__ContiguousArrayStorageBaseC* [ %578, %577 ], [ %582, %581 ]
  %._storage107.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %584, i64 0, i32 1, i32 0, i32 0, i32 0
  %585 = load i64, i64* %._storage107.count._value, align 8, !range !6
  %.not280 = icmp slt i64 %565, %585
  br i1 %.not280, label %586, label %683, !prof !8

586:                                              ; preds = %583
  %587 = add nuw nsw i64 %572, 1
  %588 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %584, i64 1
  %tailaddr108 = bitcast %Ts28__ContiguousArrayStorageBaseC* %588 to %TSi*
  %._value109 = getelementptr inbounds %TSi, %TSi* %tailaddr108, i64 %565, i32 0
  store i64 %547, i64* %._value109, align 8
  %589 = icmp eq i64 %587, %556
  br i1 %589, label %590, label %571

590:                                              ; preds = %586
  call void @swift_release(%swift.refcounted* %541) #2
  br label %591

591:                                              ; preds = %564, %590
  %592 = icmp eq i64 %566, %553
  br i1 %592, label %593, label %561

593:                                              ; preds = %591
  call void @swift_release(%swift.refcounted* %559) #2
  br label %594

594:                                              ; preds = %550, %593
  %exitcond409 = icmp eq i64 %548, %542
  br i1 %exitcond409, label %684, label %595, !prof !7

595:                                              ; preds = %594
  %596 = add i64 %547, -1
  %597 = icmp eq i64 %552, %537
  br i1 %597, label %598, label %546

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

599:                                              ; preds = %544, %598
  %.sink = phi %swift.refcounted* [ %545, %544 ], [ %539, %598 ]
  %.sink471 = phi %Ts28__ContiguousArrayStorageBaseC* [ %511, %544 ], [ %510, %598 ]
  %600 = phi i64 [ %337, %544 ], [ %596, %598 ]
  call void @swift_release(%swift.refcounted* %.sink) #2
  %601 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.sink471, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %601) #2
  %602 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %602) #2
  %603 = icmp eq i64 %342, %312
  br i1 %603, label %604, label %336

604:                                              ; preds = %599
  call void @swift_release(%swift.refcounted* %315) #2
  br label %605

605:                                              ; preds = %604, %308
  %606 = phi %Ts28__ContiguousArrayStorageBaseC* [ %311, %604 ], [ %285, %308 ]
  %607 = phi %Ts28__ContiguousArrayStorageBaseC* [ %322, %604 ], [ %25, %308 ]
  %608 = icmp slt i64 %19, 0
  br i1 %608, label %685, label %609, !prof !7

609:                                              ; preds = %605
  %610 = icmp eq i64 %19, 0
  %._storage116.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %607, i64 0, i32 1, i32 0, i32 0, i32 0
  %611 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %607, i64 1
  %tailaddr117 = bitcast %Ts28__ContiguousArrayStorageBaseC* %611 to %TSa*
  %smax410 = call i64 @llvm.smax.i64(i64 %16, i64 0)
  br label %612

612:                                              ; preds = %.loopexit, %609
  %613 = phi i64 [ 0, %609 ], [ %615, %.loopexit ]
  %exitcond411.not = icmp eq i64 %613, %smax410
  br i1 %exitcond411.not, label %686, label %614, !prof !7

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

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

618:                                              ; preds = %616
  %._buffer118._storage = getelementptr inbounds %TSa, %TSa* %tailaddr117, 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") #18
  %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
  %._storage120.count._value = bitcast %swift.refcounted* %623 to i64*
  store i64 1, i64* %._storage120.count._value, align 8
  %._storage120._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %622, i64 1, i32 1
  store i64 2, i64* %._storage120._capacityAndFlags, align 8
  %624 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer118._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
  %._storage122.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %624, i64 0, i32 1, i32 0, i32 0, i32 0
  %627 = load i64, i64* %._storage122.count._value, align 8, !range !6
  %.not282 = icmp ult i64 %620, %627
  br i1 %.not282, label %628, label %688, !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
  %tailaddr123 = bitcast %Ts28__ContiguousArrayStorageBaseC* %632 to %TSi*
  %._value124 = getelementptr inbounds %TSi, %TSi* %tailaddr123, i64 %620, i32 0
  %633 = load i64, i64* %._value124, align 8
  %._value125 = bitcast %swift.refcounted* %629 to i64*
  store i64 %633, i64* %._value125, 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") #18
  %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
  %._storage126.count._value = bitcast %swift.refcounted* %638 to i64*
  store i64 1, i64* %._storage126.count._value, align 8
  %._storage126._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 1, i32 1
  store i64 2, i64* %._storage126._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
  %._guts128._object._countAndFlagsBits._value = bitcast %swift.refcounted* %639 to i64*
  store i64 0, i64* %._guts128._object._countAndFlagsBits._value, align 8
  %._guts128._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %636, i64 2, i32 1
  %642 = bitcast i64* %._guts128._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* %286, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %645) #2
  %646 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %606, 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* %607, 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 = %33
  tail call void asm sideeffect "", "n"(i32 5) #2
  tail call void @llvm.trap()
  unreachable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSS7llvm_OZE9toIntListSaySiGyF"(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 %101, 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_cast40 = bitcast i8* %.sroa.6 to i1*
  br label %27

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

27:                                               ; preds = %99, %22
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %99 ], [ %tailaddr._slice._base._guts._object._object, %22 ]
  %28 = phi i64 [ %100, %99 ], [ 1, %22 ]
  %29 = phi i64 [ %96, %99 ], [ %19, %22 ]
  %30 = phi i64 [ %97, %99 ], [ %20, %22 ]
  %.in49 = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %99 ], [ %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* %.in49, 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 %68, !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 %51, label %55, !prof !7

42:                                               ; preds = %36
  %43 = lshr i64 %33, 56
  %44 = and i64 %43, 15
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %23)
  %45 = and i64 %33, 72057594037927935
  store i64 %31, i64* %.elt._value, align 8
  store i64 %45, i64* %.elt11._value, align 8
  %46 = 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_n"(i64 %24, i64 %44, i64 %29, i64 %30, i64 %31, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %47 = extractvalue { i64, i8 } %46, 1
  %48 = and i8 %47, 1
  %49 = icmp ne i8 %48, 0
  %50 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not27 = icmp eq %swift.error* %50, null
  call void @llvm.assume(i1 %.not27)
  store i1 %49, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %23)
  br label %67

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

55:                                               ; preds = %39
  %56 = and i64 %33, 1152921504606846975
  %57 = add nuw nsw i64 %56, 32
  %58 = and i64 %31, 281474976710655
  br label %59

59:                                               ; preds = %51, %55
  %60 = phi i64 [ %57, %55 ], [ %53, %51 ]
  %61 = phi i64 [ %58, %55 ], [ %54, %51 ]
  %62 = 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_n"(i64 %60, i64 %61, i64 %29, i64 %30, i64 %31, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %63 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not28 = icmp eq %swift.error* %63, null
  call void @llvm.assume(i1 %.not28)
  %64 = extractvalue { i64, i8 } %62, 1
  %65 = and i8 %64, 1
  %66 = icmp ne i8 %65, 0
  store i1 %66, i1* %.sroa.6.0.sroa_cast40, align 8
  br label %67

67:                                               ; preds = %42, %59
  %.pn = phi { i64, i8 } [ %62, %59 ], [ %46, %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 %71

68:                                               ; preds = %27
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %69 = 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
  %70 = extractvalue { i64, i8 } %69, 1
  br label %71

71:                                               ; preds = %67, %68
  %.pn50 = phi { i64, i8 } [ %69, %68 ], [ %.pn, %67 ]
  %.in.in = phi i8 [ %70, %68 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %67 ]
  %72 = extractvalue { i64, i8 } %.pn50, 0
  %.in = and i8 %.in.in, 1
  %.not26 = icmp eq i8 %.in, 0
  br i1 %.not26, label %73, label %102

73:                                               ; preds = %71
  %74 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %75 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 0
  %76 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %75) #17
  br i1 %76, label %80, label %77

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

80:                                               ; preds = %73, %77
  %81 = phi %Ts28__ContiguousArrayStorageBaseC* [ %74, %73 ], [ %.pre, %77 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 0, i32 1, i32 0, i32 0, i32 0
  %82 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 0, i32 1, i32 0, i32 1, i32 0
  %83 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %84 = lshr i64 %83, 1
  %85 = add nuw nsw i64 %82, 1
  %.not = icmp ugt i64 %84, %82
  br i1 %.not, label %88, label %86, !prof !8

86:                                               ; preds = %80
  %87 = icmp ugt i64 %83, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %87, i64 %85, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre43 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %88

88:                                               ; preds = %80, %86
  %89 = phi %Ts28__ContiguousArrayStorageBaseC* [ %81, %80 ], [ %.pre43, %86 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %85, i64* %._storage7.count._value, align 8
  %90 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %90 to %TSi*
  %._value9 = getelementptr inbounds %TSi, %TSi* %tailaddr8, i64 %82, i32 0
  store i64 %72, i64* %._value9, align 8
  %91 = icmp eq i64 %28, %12
  br i1 %91, label %92, label %94

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

94:                                               ; preds = %88
  %95 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 %28
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %95 to i64*
  %96 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %95, i64 0, i32 0, i32 1
  %97 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted25 = xor i64 %97, %96
  %98 = icmp ult i64 %.unshifted25, 16384
  br i1 %98, label %103, label %99, !prof !7

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

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

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

103:                                              ; preds = %94
  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: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = icmp slt i64 %1, 0
  br i1 %2, label %15, label %3, !prof !7

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

4:                                                ; preds = %3
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %1, %swift.type* nonnull @"$sSiN")
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %1, i64* %._storage.count._value, align 8
  %6 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 1
  %7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %6 to %TSi*
  br label %9

.thread:                                          ; preds = %9, %3
  %8 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %3 ], [ %5, %9 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %8

9:                                                ; preds = %9, %4
  %10 = phi %TSi* [ %14, %9 ], [ %7, %4 ]
  %11 = phi i64 [ %12, %9 ], [ 0, %4 ]
  %12 = add nuw nsw i64 %11, 1
  %._value = getelementptr inbounds %TSi, %TSi* %10, i64 0, i32 0
  store i64 %0, i64* %._value, align 8
  %13 = icmp eq i64 %12, %1
  %14 = getelementptr inbounds %TSi, %TSi* %10, i64 1
  br i1 %13, label %.thread, label %9

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

; Function Attrs: minsize optsize
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") #18
  %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) #17
  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) #17
  br label %16

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

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

; Function Attrs: minsize optsize
define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSS7llvm_OZE6toListSaySSGyF"(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
}

; Function Attrs: minsize optsize
define hidden swiftcc i64 @"$sSS7llvm_OZE5count1cSiSJ_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
}

; Function Attrs: minsize optsize
define hidden swiftcc { i64, %swift.bridge* } @"$sSi7llvm_OZE5toBinSSyF"(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"() #19
  %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: minsize mustprogress nofree norecurse nosync nounwind optsize readnone willreturn
define hidden swiftcc double @"$sSi7llvm_OZE3toDSdyF"(i64 %0) local_unnamed_addr #5 {
entry:
  %1 = sitofp i64 %0 to double
  ret double %1
}

; Function Attrs: minsize optsize
define hidden swiftcc i64 @"$sSd7llvm_OZE3toISiyF"(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
}

; Function Attrs: minsize optsize
define hidden swiftcc i64 @"$sSa7llvm_OZSQRzlE5count1nSix_tF"(%swift.opaque* noalias nocapture %0, %Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element, i8** %Element.Equatable) local_unnamed_addr #0 {
entry:
  %2 = alloca %TSi, align 8
  %3 = bitcast %TSi* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %3)
  %4 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 0
  %5 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %4) #17
  %6 = tail call swiftcc i64 @"$sSa10startIndexSivg"(%Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  %._value = getelementptr inbounds %TSi, %TSi* %2, i64 0, i32 0
  store i64 %6, i64* %._value, align 8
  %7 = tail call swiftcc i64 @"$sSa8endIndexSivg"(%Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  %8 = icmp eq i64 %6, %7
  br i1 %8, label %.loopexit, label %9

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

20:                                               ; preds = %33, %9
  %21 = phi i64 [ 0, %9 ], [ %34, %33 ]
  %22 = phi i64 [ %6, %9 ], [ %35, %33 ]
  %23 = tail call swiftcc i1 @"$sSa29_hoistableIsNativeTypeCheckedSbyF"(%Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  tail call swiftcc void @"$sSa15_checkSubscript_20wasNativeTypeCheckeds16_DependenceTokenVSi_SbtF"(i64 %22, i1 %23, %Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  %stride = load i64, i64* %19, align 8, !invariant.load !9
  %24 = mul nsw i64 %stride, %22
  %25 = getelementptr inbounds i8, i8* %18, i64 %24
  %26 = bitcast i8* %25 to %swift.opaque*
  %27 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %4) #17
  call swiftcc void @"$sSa9formIndex5afterySiz_tF"(%TSi* nocapture nonnull dereferenceable(8) %2, %Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  tail call void @swift_release(%swift.refcounted* %4) #2
  %28 = tail call swiftcc i1 @"$sSQ2eeoiySbx_xtFZTj"(%swift.opaque* noalias nocapture %26, %swift.opaque* noalias nocapture %0, %swift.type* swiftself %Element, %swift.type* %Element, i8** %Element.Equatable)
  br i1 %28, label %29, label %33

29:                                               ; preds = %20
  %30 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %21, i64 1)
  %31 = extractvalue { i64, i1 } %30, 0
  %32 = extractvalue { i64, i1 } %30, 1
  br i1 %32, label %39, label %33, !prof !7

33:                                               ; preds = %20, %29
  %34 = phi i64 [ %31, %29 ], [ %21, %20 ]
  %35 = load i64, i64* %._value, align 8
  %36 = tail call swiftcc i64 @"$sSa8endIndexSivg"(%Ts28__ContiguousArrayStorageBaseC* %1, %swift.type* %Element)
  %37 = icmp eq i64 %35, %36
  br i1 %37, label %.loopexit, label %20

.loopexit:                                        ; preds = %33, %entry
  %38 = phi i64 [ 0, %entry ], [ %34, %33 ]
  tail call void @swift_release(%swift.refcounted* %4) #2
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %3)
  ret i64 %38

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

; Function Attrs: minsize optsize
declare swiftcc i1 @"$sSa29_hoistableIsNativeTypeCheckedSbyF"(%Ts28__ContiguousArrayStorageBaseC*, %swift.type*) local_unnamed_addr #0

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #6 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !6
  %2 = 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: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #6 {
entry:
  br i1 %2, label %4, label %14

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

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %49, 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") #18
  %21 = shl i64 %17, 3
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #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) #20
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 8
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

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

8:                                                ; preds = %4
  %9 = add nuw i64 %6, 4611686018427387904
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %45, 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") #18
  %21 = shl i64 %17, 5
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #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) #20
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 32
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

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

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

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySSGMD") #18
  %21 = shl i64 %17, 4
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #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) #20
  %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
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSS*
  %35 = getelementptr inbounds %TSS, %TSS* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %TSS*
  %37 = icmp ugt %TSS* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFSS_Tg5.exit": ; preds = %33, %.sink.split.i
  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") #17
  br label %45

45:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSS_Tg5.exit", %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: minsize noinline optsize
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 #6 {
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) #18
  %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) #20
  %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
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSa*
  %37 = getelementptr inbounds %TSa, %TSa* %36, i64 %18
  %38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %TSa*
  %39 = icmp ugt %TSa* %37, %38
  %40 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %32, %3
  %or.cond5.i = select i1 %40, i1 %39, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit": ; preds = %35, %.sink.split.i
  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) #18
  %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) #17
  br label %48

48:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", %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
}

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 %0, i1 %1, i8* %2, %swift.opaque* %3, i64 %4, %swift.bridge* %5, %swift.refcounted* swiftself %6, %swift.error** noalias nocapture swifterror dereferenceable(8) %7) local_unnamed_addr #0 {
entry:
  %8 = alloca %TSJ, align 8
  %9 = icmp slt i64 %0, 0
  br i1 %9, label %138, label %10, !prof !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
  %13 = bitcast %swift.refcounted* %12 to %TSa*
  %._buffer._storage = bitcast %swift.refcounted* %12 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %14 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata.3, i64 0, i32 2), i64 24, i64 7) #2
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %14, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %15 to i64*
  store i64 15, i64* %._rawBits._value, align 8
  %16 = icmp eq i64 %0, 0
  %.pre = ptrtoint %swift.bridge* %5 to i64
  %.pre44 = and i64 %.pre, 2305843009213693952
  br i1 %16, label %._crit_edge, label %17

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
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: minsize nofree noinline nosync nounwind optsize 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) #18
  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) #7

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

; Function Attrs: minsize mustprogress nofree noinline nounwind optsize 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) #21
  %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: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %0, %swift.refcounted* %1, i1 %2, %swift.refcounted* %3, i64 %4, %swift.bridge* %5) local_unnamed_addr #0 {
entry:
  %6 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %._rawBits._value = bitcast %swift.refcounted* %6 to i64*
  %7 = load i64, i64* %._rawBits._value, align 8
  %8 = lshr i64 %7, 14
  %9 = lshr i64 %0, 14
  %10 = icmp ne i64 %8, %9
  %.not3 = xor i1 %2, true
  %brmerge = select i1 %10, i1 true, i1 %.not3
  br i1 %brmerge, label %12, label %11

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

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

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

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

; Function Attrs: minsize noinline optsize
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 #6 {
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"() #19
  %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
}

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

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

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

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

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

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

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

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

4:                                                ; preds = %entry
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCys5UInt8VGMD") #18
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #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) #20
  %gepdiff = shl i64 %call.i, 1
  %10 = add i64 %gepdiff, -64
  %11 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1
  %._storage1.count._value = bitcast %swift.refcounted* %11 to i64*
  store i64 %0, i64* %._storage1.count._value, align 8
  %._storage1._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1, i32 1
  store i64 %10, i64* %._storage1._capacityAndFlags, align 8
  br label %12

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

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

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

11:                                               ; preds = %9
  %12 = icmp slt i64 %2, 0
  %13 = lshr i64 %4, 14
  br i1 %12, label %92, label %14, !prof !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: minsize noinline optsize
define linkonce_odr hidden swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %0, i64 %1, %swift.bridge* %2) local_unnamed_addr #6 {
entry:
  %3 = ptrtoint %swift.bridge* %2 to i64
  %4 = and i64 %3, 1152921504606846976
  %5 = icmp ne i64 %4, 0
  %6 = and i64 %1, 576460752303423488
  %7 = icmp eq i64 %6, 0
  %or.cond = select i1 %5, i1 %7, i1 false
  %8 = lshr i64 %0, 16
  %9 = lshr i64 %0, 14
  %10 = and i64 %9, 3
  %11 = icmp eq i64 %10, 0
  br i1 %or.cond, label %12, label %25

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc void @"$sSa9formIndex5afterySiz_tF"(%TSi* nocapture dereferenceable(8), %Ts28__ContiguousArrayStorageBaseC*, %swift.type*) local_unnamed_addr #0

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

; Function Attrs: minsize optsize
define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA"(%TSJ* noalias nocapture dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) #0 {
entry:
  %3 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %1, i64 1
  %4 = bitcast %swift.refcounted* %3 to %TSJ**
  %5 = load %TSJ*, %TSJ** %4, align 8
  %6 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"(%TSJ* noalias nocapture nonnull dereferenceable(16) %0, %TSJ* noalias nocapture dereferenceable(16) %5, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  ret i1 %6
}

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

; Function Attrs: minsize optsize
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_n"(i64 %0, i64 %1, i64 %2, i64 %3, i64 %4, %swift.bridge* %5, i64 %6, %swift.refcounted* swiftself %7, %swift.error** noalias nocapture swifterror dereferenceable(8) %8) local_unnamed_addr #0 {
entry:
  %9 = ptrtoint %swift.bridge* %5 to i64
  %10 = and i64 %9, 1152921504606846976
  %11 = icmp eq i64 %10, 0
  %12 = and i64 %4, 576460752303423488
  %13 = icmp ne i64 %12, 0
  %14 = select i1 %11, i1 true, i1 %13
  %15 = zext i1 %14 to i64
  %16 = shl nuw nsw i64 4, %15
  %17 = and i64 %2, 12
  %18 = icmp eq i64 %17, %16
  br i1 %18, label %19, label %21, !prof !7

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture swiftself dereferenceable(32)) local_unnamed_addr #0

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

; Function Attrs: minsize nofree noinline nosync nounwind optsize 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) #18
  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
}

; Function Attrs: minsize optsize
declare swiftcc i1 @"$sSQ2eeoiySbx_xtFZTj"(%swift.opaque* noalias nocapture, %swift.opaque* noalias nocapture, %swift.type* swiftself, %swift.type*, i8**) local_unnamed_addr #0

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

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

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

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

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

; Function Attrs: minsize nofree noinline nosync nounwind optsize readnone
define linkonce_odr hidden i8** @"$sS2sSTsWl"() local_unnamed_addr #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) #18
  store atomic i8** %2, i8*** @"$sS2sSTsWL" release, align 8
  br label %cont

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

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

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

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

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

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

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

; 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: minsize noinline optsize
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64, %swift.type*) local_unnamed_addr #6

; 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

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