fileprivate struct Scanner {
    private var elements = [String]()
    private var index = 0
    
    mutating func peek() -> String {
        while elements.count == index {
            elements = readLine()!.split(separator: " ").map(String.init)
            index = 0
        }
        return elements[index]
    }
    
    mutating func next() -> String {
        let value = peek()
        index += 1
        return value
    }
    
    mutating func nextInt() -> Int {
        return Int(next())!
    }
    
    mutating func nextDouble() -> Double {
        return Double(next())!
    }
}

func rotate(point: Point) -> Point {
    Point(x: -point.y, y: point.x)
}

func rotate(direction: String) -> String {
    switch direction {
    case "U": return "L"
    case "L": return "D"
    case "D": return "R"
    default: return "U"
    }
}

func flip(point: Point) -> Point {
    Point(x: point.x, y: -point.y)
}

func flip(direction: String) -> String {
    switch direction {
    case "U": return "D"
    case "D": return "U"
    default: return direction
    }
}

struct Point {
    let x: Int
    let y: Int
}

func main() {
    var scanner = Scanner()
    let N = scanner.nextInt()
    var P = [Point]()
    var U = [String]()
    
    for _ in 0 ..< N {
        let x = scanner.nextInt()
        let y = scanner.nextInt()
        P.append(Point(x: x, y: y))
        U.append(scanner.next())
    }
    
    func solve() -> Int {
        let I = (0 ..< N).sorted { P[$0].x > P[$1].x }
        var diag = [Int: Int]()
        var yoko = [Int: Int]()
        var answer = Int.max
        for i in I {
            if U[i] == "R", let value = diag[P[i].x - P[i].y] {
                answer = min(answer, (value - P[i].y) * 10)
            }
            if U[i] == "R", let value = yoko[P[i].y] {
                answer = min(answer, (value - P[i].x) * 5)
            }
            if U[i] == "D" {
                diag[P[i].x - P[i].y] = P[i].y
            }
            if U[i] == "L" {
                yoko[P[i].y] = P[i].x
            }
        }
        return answer
    }
    
    var answer = Int.max
    for _ in 0 ..< 4 {
        for _ in 0 ..< 2 {
            answer = min(answer, solve())
            
            for i in 0 ..< N {
                P[i] = flip(point: P[i])
                U[i] = flip(direction: U[i])
            }
        }
        for i in 0 ..< N {
            P[i] = rotate(point: P[i])
            U[i] = rotate(direction: U[i])
        }
    }
    if answer == Int.max {
        print("SAFE")
    } else {
        print(answer)
    }
}

main()

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1203/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1203/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 }
%struct._SwiftEmptyDictionarySingleton = type { %struct.HeapObject, %struct._SwiftDictionaryBodyStorage, i64 }
%struct._SwiftDictionaryBodyStorage = type { i64, i64, i8, i8, i16, i32, i64, i8*, i8* }
%swift.type_descriptor = type opaque
%swift.type = type { i64 }
%swift.vwtable = type { i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i64, i64, i32, i32 }
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.refcounted = type { %swift.type*, i64 }
%swift.type_metadata_record = type { i32 }
%swift.bridge = type opaque
%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV = type <{ %TSa, %TSi }>
%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 }>
%TSu = type <{ i64 }>
%TSi = type <{ i64 }>
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.error = type opaque
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque
%Ts5UInt8V = type <{ i8 }>
%T7llvm_OZ5PointV = type <{ %TSi, %TSi }>
%Ts17_NativeDictionaryV = type <{ %Ts22__RawDictionaryStorageC* }>
%Ts22__RawDictionaryStorageC = type <{ %swift.refcounted, %TSi, %TSi, %Ts4Int8V, %Ts4Int8V, %Ts5Int16V, %Ts5Int32V, %TSi, %TSv, %TSv }>
%Ts4Int8V = type <{ i8 }>
%Ts5Int16V = type <{ i16 }>
%Ts5Int32V = type <{ i32 }>
%TSv = type <{ i8* }>
%Ts13_UnsafeBitsetV4WordV = type <{ %TSu }>
%Ts16IndexingIteratorVySnySiGG = type <{ %TSnySiG, %TSi }>
%TSnySiG = type <{ %TSi, %TSi }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%swift.metadata_response = type { %swift.type*, i64 }
%TSrySiG = type <{ %TSpySiGSg, %TSi }>
%TSpySiGSg = type <{ [8 x i8] }>

@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@_swiftEmptyDictionarySingleton = external global %struct._SwiftEmptyDictionarySingleton, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSiN" = external global %swift.type, align 8
@"$sSSN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"$s7llvm_OZ5PointVWV" = internal constant %swift.vwtable { i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (void (i8*, %swift.type*)* @__swift_noop_void_return to i8*), i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (i32 (%swift.opaque*, i32, %swift.type*)* @"$s7llvm_OZ5PointVwet" to i8*), i8* bitcast (void (%swift.opaque*, i32, i32, %swift.type*)* @"$s7llvm_OZ5PointVwst" to i8*), i64 16, i64 16, i32 7, i32 0 }, align 8
@.str.7.llvm_OZ = private constant [8 x i8] c"llvm_OZ\00"
@"$s7llvm_OZMXM" = linkonce_odr hidden constant <{ i32, i32, i32 }> <{ i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7.llvm_OZ to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32 }>, <{ i32, i32, i32 }>* @"$s7llvm_OZMXM", i32 0, i32 2) to i64)) to i32) }>, section ".rodata", no_sanitize_address, align 4
@.str.5.Point = private constant [6 x i8] c"Point\00"
@"$s7llvm_OZ5PointVMn" = hidden constant <{ i32, i32, i32, i32, i32, i32, i32 }> <{ i32 81, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s7llvm_OZMXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.5.Point to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn", i32 0, i32 2) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.metadata_response (i64)* @"$s7llvm_OZ5PointVMa" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn", i32 0, i32 3) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn", i32 0, i32 4) to i64)) to i32), i32 2, i32 2 }>, section ".rodata", no_sanitize_address, align 4
@"$s7llvm_OZ5PointVMf" = internal constant <{ i8*, i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, i32 }> <{ i8* null, i8** getelementptr inbounds (%swift.vwtable, %swift.vwtable* @"$s7llvm_OZ5PointVWV", i32 0, i32 0), i64 512, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn", i32 0, i32 8 }>, align 8
@"symbolic _____ 7llvm_OZ5PointV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ 7llvm_OZ5PointV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"symbolic Si" = linkonce_odr hidden constant <{ [2 x i8], i8 }> <{ [2 x i8] c"Si", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@0 = private constant [2 x i8] c"x\00", section "swift5_reflstr", no_sanitize_address
@1 = private constant [2 x i8] c"y\00", section "swift5_reflstr", no_sanitize_address
@"$s7llvm_OZ5PointVMF" = internal constant { i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ 7llvm_OZ5PointV" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF" to i64)) to i32), i32 0, i16 0, i16 12, i32 2, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [2 x i8], i8 }>* @"symbolic Si" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF", i32 0, i32 6) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @0 to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF", i32 0, i32 7) to i64)) to i32), i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [2 x i8], i8 }>* @"symbolic Si" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF", i32 0, i32 9) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @1 to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF", i32 0, i32 10) to i64)) to i32) }, section "swift5_fieldmd", no_sanitize_address, align 4
@"symbolic _____ySsG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySsGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSsN" = external global %swift.type, align 8
@"$ss17_NativeDictionaryVMn" = external global %swift.type_descriptor, align 4
@"got.$ss17_NativeDictionaryVMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss17_NativeDictionaryVMn"
@"symbolic _____yS2iG s17_NativeDictionaryV" = linkonce_odr hidden constant <{ i8, i32, [5 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss17_NativeDictionaryVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [5 x i8], i8 }>, <{ i8, i32, [5 x i8], i8 }>* @"symbolic _____yS2iG s17_NativeDictionaryV", i32 0, i32 1) to i64)) to i32), [5 x i8] c"yS2iG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss17_NativeDictionaryVyS2iGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [5 x i8], i8 }>* @"symbolic _____yS2iG s17_NativeDictionaryV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss17_NativeDictionaryVyS2iGMD" to i64)) to i32), i32 -10 }, 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
@"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySnySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySnySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySnySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic _____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 _____y_____G s23_ContiguousArrayStorageC 7llvm_OZ5PointV" = 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 7llvm_OZ5PointV", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn" 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 7llvm_OZ5PointV", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCy7llvm_OZ5PointVGMD" = 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 7llvm_OZ5PointV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCy7llvm_OZ5PointVGMD" to i64)) to i32), i32 -12 }, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@"$s7llvm_OZ5PointVHn" = private constant %swift.type_metadata_record { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s7llvm_OZ5PointVMn" to i64), i64 ptrtoint (%swift.type_metadata_record* @"$s7llvm_OZ5PointVHn" to i64)) to i32) }, section "swift5_type_metadata", no_sanitize_address, align 4
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [77 x i8] c"-lswift_Concurrency\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [8 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (%swift.type_metadata_record* @"$s7llvm_OZ5PointVHn" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32, i32, i32, i32, i32, i32, i32 }* @"$s7llvm_OZ5PointVMF" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([77 x i8], [77 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

@"$s7llvm_OZ5PointVN" = hidden alias %swift.type, bitcast (i64* getelementptr inbounds (<{ i8*, i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, i32 }>, <{ i8*, i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, i32 }>* @"$s7llvm_OZ5PointVMf", i32 0, i32 2) to %swift.type*)

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

; Function Attrs: minsize optsize
define internal swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV4peekSSyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture swiftself dereferenceable(16) %0) unnamed_addr #0 {
entry:
  %1 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %.index._value = getelementptr inbounds %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %0, i64 0, i32 1, i32 0
  %.elements._buffer._storage = getelementptr inbounds %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %0, i64 0, i32 0, i32 0, i32 0
  %3 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage.count._value, align 8, !range !6
  %5 = load i64, i64* %.index._value, align 8
  %6 = icmp eq i64 %4, %5
  br i1 %6, label %.preheader, label %61

.preheader:                                       ; preds = %entry
  %7 = bitcast %TSJ* %1 to i8*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 1
  %8 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %2, i64 0, i32 0, i32 0
  br label %9

9:                                                ; preds = %.preheader, %29
  %10 = call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %11 = extractvalue { i64, i64 } %10, 1
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %75, label %13

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

24:                                               ; preds = %13
  %25 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %25) #5
  br label %29

26:                                               ; preds = %13
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %8)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %22, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %27 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %28 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 1
  br label %35

29:                                               ; preds = %24, %59
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %56, %59 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %24 ]
  %31 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  %32 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %32) #5
  store %Ts28__ContiguousArrayStorageBaseC* %30, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  store i64 0, i64* %.index._value, align 8
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 0, i32 1, i32 0, i32 0, i32 0
  %33 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %34 = icmp eq i64 %33, 0
  br i1 %34, label %9, label %.thread

35:                                               ; preds = %26, %55
  %36 = phi i64 [ 0, %26 ], [ %38, %55 ]
  %37 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %26 ], [ %56, %55 ]
  %38 = add nuw nsw i64 %36, 1
  %39 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %28, i64 %36
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %39 to i64*
  %40 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 0, i32 1
  %41 = load i64, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, 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
  %42 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %43 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  %44 = load %swift.bridge*, %swift.bridge** %43, align 8
  %45 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %44) #5
  %46 = call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %40, i64 %41, i64 %42, %swift.bridge* %44)
  call void @swift_bridgeObjectRelease(%swift.bridge* %44) #5
  %47 = extractvalue { i64, %swift.bridge* } %46, 0
  %48 = extractvalue { i64, %swift.bridge* } %46, 1
  store %Ts28__ContiguousArrayStorageBaseC* %37, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %37, i64 0, i32 1, i32 0, i32 0, i32 0
  %49 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %37, i64 0, i32 1, i32 0, i32 1, i32 0
  %50 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %51 = lshr i64 %50, 1
  %52 = add nuw nsw i64 %49, 1
  %.not22 = icmp ugt i64 %51, %49
  br i1 %.not22, label %55, label %53, !prof !7

53:                                               ; preds = %35
  %54 = icmp ugt i64 %50, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %54, i64 %52, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %55

55:                                               ; preds = %35, %53
  %56 = phi %Ts28__ContiguousArrayStorageBaseC* [ %37, %35 ], [ %.pre, %53 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %52, i64* %._storage7.count._value, align 8
  %57 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %57 to %TSS*
  %._guts9._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr8, i64 %49, i32 0, i32 0, i32 0, i32 0
  store i64 %47, i64* %._guts9._object._countAndFlagsBits._value, align 8
  %._guts9._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr8, i64 %49, i32 0, i32 0, i32 1
  store %swift.bridge* %48, %swift.bridge** %._guts9._object._object, align 8
  %58 = icmp eq i64 %38, %22
  br i1 %58, label %59, label %35

59:                                               ; preds = %55
  %60 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %60) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %8)
  br label %29

61:                                               ; preds = %entry
  %62 = icmp slt i64 %5, 0
  br i1 %62, label %73, label %.thread, !prof !8

.thread:                                          ; preds = %29, %61
  %63 = phi i64 [ %4, %61 ], [ %33, %29 ]
  %64 = phi %Ts28__ContiguousArrayStorageBaseC* [ %3, %61 ], [ %30, %29 ]
  %65 = phi i64 [ %5, %61 ], [ 0, %29 ]
  %.not = icmp ult i64 %65, %63
  br i1 %.not, label %66, label %74, !prof !7

66:                                               ; preds = %.thread
  %67 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %64, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %67 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %65, i32 0, i32 0, i32 0, i32 0
  %68 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %65, i32 0, i32 0, i32 1
  %69 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %70 = insertvalue { i64, %swift.bridge* } undef, i64 %68, 0
  %71 = insertvalue { i64, %swift.bridge* } %70, %swift.bridge* %69, 1
  %72 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %69) #5
  ret { i64, %swift.bridge* } %71

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

74:                                               ; preds = %.thread
  call void asm sideeffect "", "n"(i32 1) #5
  call void @llvm.trap()
  unreachable

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

; Function Attrs: minsize optsize
define internal swiftcc i64 @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV7nextIntSiyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture swiftself dereferenceable(16) %0) unnamed_addr #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %1 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %2 = tail call swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV4peekSSyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture nonnull swiftself dereferenceable(16) %0)
  %3 = extractvalue { i64, %swift.bridge* } %2, 0
  %4 = extractvalue { i64, %swift.bridge* } %2, 1
  %.index._value = getelementptr inbounds %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %0, i64 0, i32 1, i32 0
  %5 = load i64, i64* %.index._value, align 8
  %6 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %5, i64 1)
  %7 = extractvalue { i64, i1 } %6, 1
  br i1 %7, label %167, label %8, !prof !8

8:                                                ; preds = %entry
  %9 = extractvalue { i64, i1 } %6, 0
  store i64 %9, i64* %.index._value, align 8
  %10 = ptrtoint %swift.bridge* %4 to i64
  %11 = and i64 %10, 2305843009213693952
  %12 = icmp eq i64 %11, 0
  %13 = lshr i64 %10, 56
  %14 = and i64 %13, 15
  %15 = and i64 %3, 281474976710655
  %16 = select i1 %12, i64 %15, i64 %14
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %18, label %19, !prof !8

18:                                               ; preds = %8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %4) #5
  br label %168

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

22:                                               ; preds = %19
  br i1 %12, label %23, label %26

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

23:                                               ; preds = %22
  %24 = and i64 %3, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %35, label %39, !prof !8

26:                                               ; preds = %22
  %27 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %27)
  %28 = and i64 %10, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %1, i64 0, i32 0, i32 0
  store i64 %3, i64* %.elt._value, align 8
  %.elt2._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %1, i64 0, i32 1, i32 0
  store i64 %28, i64* %.elt2._value, align 8
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %1 to %Ts5UInt8V*
  %30 = trunc i64 %3 to i8
  %31 = lshr i64 %3, 8
  %32 = trunc i64 %31 to i8
  %33 = lshr i64 %3, 16
  %34 = trunc i64 %33 to i8
  switch i8 %30, label %96 [
    i8 45, label %61
    i8 43, label %98
  ]

35:                                               ; preds = %23
  %36 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %3, %swift.bridge* %4)
  %37 = extractvalue { i64, i64 } %36, 0
  %38 = extractvalue { i64, i64 } %36, 1
  br label %.thread130

39:                                               ; preds = %23
  %40 = and i64 %10, 1152921504606846975
  %41 = add nuw nsw i64 %40, 32
  br label %.thread130

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

.thread135:                                       ; preds = %61, %98, %96
  %.sroa.6.0.sroa_cast138 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast138, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %27)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre139 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %53

.loopexit99.thread:                               ; preds = %135, %141, %132, %138, %144, %99, %106, %103, %109, %62, %70, %66, %73
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %135 ], [ true, %141 ], [ false, %132 ], [ false, %138 ], [ false, %144 ], [ true, %99 ], [ true, %106 ], [ false, %103 ], [ false, %109 ], [ true, %62 ], [ true, %70 ], [ false, %66 ], [ false, %73 ]
  %.sroa.0.0.ph = phi i64 [ 0, %135 ], [ 0, %141 ], [ 0, %132 ], [ %139, %138 ], [ %147, %144 ], [ 0, %99 ], [ 0, %106 ], [ %104, %103 ], [ %112, %109 ], [ 0, %62 ], [ 0, %70 ], [ %68, %66 ], [ %76, %73 ]
  %.sroa.6.0.sroa_cast142 = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph, i1* %.sroa.6.0.sroa_cast142, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %27)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre143 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %53

.loopexit99.loopexit.split.loop.exit:             ; preds = %163
  %50 = extractvalue { i64, i1 } %161, 0
  br label %.loopexit99

.loopexit99.loopexit146.split.loop.exit:          ; preds = %92
  %51 = extractvalue { i64, i1 } %90, 0
  br label %.loopexit99

.loopexit99.loopexit149.split.loop.exit:          ; preds = %128
  %52 = extractvalue { i64, i1 } %126, 0
  br label %.loopexit99

.loopexit99:                                      ; preds = %.preheader100, %120, %123, %.preheader97, %84, %87, %.preheader, %155, %158, %.loopexit99.loopexit149.split.loop.exit, %.loopexit99.loopexit146.split.loop.exit, %.loopexit99.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit99.loopexit.split.loop.exit ], [ false, %.loopexit99.loopexit146.split.loop.exit ], [ false, %.loopexit99.loopexit149.split.loop.exit ], [ true, %158 ], [ true, %155 ], [ true, %.preheader ], [ true, %87 ], [ true, %84 ], [ true, %.preheader97 ], [ true, %123 ], [ true, %120 ], [ true, %.preheader100 ]
  %.sroa.0.0 = phi i64 [ %50, %.loopexit99.loopexit.split.loop.exit ], [ %51, %.loopexit99.loopexit146.split.loop.exit ], [ %52, %.loopexit99.loopexit149.split.loop.exit ], [ 0, %158 ], [ 0, %155 ], [ 0, %.preheader ], [ 0, %87 ], [ 0, %84 ], [ 0, %.preheader97 ], [ 0, %123 ], [ 0, %120 ], [ 0, %.preheader100 ]
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %27)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br i1 %21, label %53, label %54

53:                                               ; preds = %.loopexit99.thread, %.thread135, %.thread130, %.loopexit99
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre134 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre132, %.thread130 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit99 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre139, %.thread135 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre143, %.loopexit99.thread ]
  %.sroa.048.0133 = phi i64 [ %49, %.thread130 ], [ %.sroa.0.0, %.loopexit99 ], [ 0, %.thread135 ], [ %.sroa.0.0.ph, %.loopexit99.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* %4) #5
  br label %58

54:                                               ; preds = %.thread, %.loopexit99
  %55 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %3, %swift.bridge* %4, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %4) #5
  %56 = extractvalue { i64, i8 } %55, 0
  %57 = extractvalue { i64, i8 } %55, 1
  br label %58

58:                                               ; preds = %53, %54
  %59 = phi i64 [ %56, %54 ], [ %.sroa.048.0133, %53 ]
  %.in.in = phi i8 [ %57, %54 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre134, %53 ]
  %.in = and i8 %.in.in, 1
  %.not = icmp eq i8 %.in, 0
  br i1 %.not, label %60, label %168

60:                                               ; preds = %58
  ret i64 %59

61:                                               ; preds = %26
  switch i64 %14, label %62 [
    i64 0, label %170
    i64 1, label %.thread135
  ], !prof !9

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

66:                                               ; preds = %62
  %67 = zext i8 %64 to i64
  %68 = sub nsw i64 0, %67
  %69 = icmp eq i64 %14, 2
  br i1 %69, label %.loopexit99.thread, label %70

70:                                               ; preds = %66
  %71 = add i8 %34, -48
  %72 = icmp ult i8 %71, 10
  br i1 %72, label %73, label %.loopexit99.thread, !prof !10

73:                                               ; preds = %70
  %74 = mul nsw i64 %67, -10
  %75 = zext i8 %71 to i64
  %76 = sub nsw i64 %74, %75
  %77 = icmp eq i64 %14, 3
  br i1 %77, label %.loopexit99.thread, label %.preheader97.preheader

.preheader97.preheader:                           ; preds = %73
  %78 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %29, i64 3, i32 0
  br label %.preheader97

.preheader97:                                     ; preds = %.preheader97.preheader, %92
  %79 = phi i8* [ %94, %92 ], [ %78, %.preheader97.preheader ]
  %80 = phi i64 [ %93, %92 ], [ %76, %.preheader97.preheader ]
  %81 = load i8, i8* %79, align 1
  %82 = add i8 %81, -48
  %83 = icmp ult i8 %82, 10
  br i1 %83, label %84, label %.loopexit99, !prof !10

84:                                               ; preds = %.preheader97
  %85 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %80, i64 10)
  %86 = extractvalue { i64, i1 } %85, 1
  br i1 %86, label %.loopexit99, label %87

87:                                               ; preds = %84
  %88 = extractvalue { i64, i1 } %85, 0
  %89 = zext i8 %82 to i64
  %90 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %88, i64 %89)
  %91 = extractvalue { i64, i1 } %90, 1
  br i1 %91, label %.loopexit99, label %92, !prof !8

92:                                               ; preds = %87
  %93 = extractvalue { i64, i1 } %90, 0
  %94 = getelementptr inbounds i8, i8* %79, i64 1
  %95 = icmp eq i8* %94, %63
  br i1 %95, label %.loopexit99.loopexit146.split.loop.exit, label %.preheader97

96:                                               ; preds = %26
  %97 = icmp eq i64 %14, 0
  br i1 %97, label %.thread135, label %132, !prof !8

98:                                               ; preds = %26
  switch i64 %14, label %99 [
    i64 0, label %169
    i64 1, label %.thread135
  ], !prof !9

99:                                               ; preds = %98
  %100 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %29, i64 %14, i32 0
  %101 = add i8 %32, -48
  %102 = icmp ult i8 %101, 10
  br i1 %102, label %103, label %.loopexit99.thread, !prof !10

103:                                              ; preds = %99
  %104 = zext i8 %101 to i64
  %105 = icmp eq i64 %14, 2
  br i1 %105, label %.loopexit99.thread, label %106

106:                                              ; preds = %103
  %107 = add i8 %34, -48
  %108 = icmp ult i8 %107, 10
  br i1 %108, label %109, label %.loopexit99.thread, !prof !10

109:                                              ; preds = %106
  %110 = mul nuw nsw i64 %104, 10
  %111 = zext i8 %107 to i64
  %112 = add nuw nsw i64 %110, %111
  %113 = icmp eq i64 %14, 3
  br i1 %113, label %.loopexit99.thread, label %.preheader100.preheader

.preheader100.preheader:                          ; preds = %109
  %114 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %29, i64 3, i32 0
  br label %.preheader100

.preheader100:                                    ; preds = %.preheader100.preheader, %128
  %115 = phi i8* [ %130, %128 ], [ %114, %.preheader100.preheader ]
  %116 = phi i64 [ %129, %128 ], [ %112, %.preheader100.preheader ]
  %117 = load i8, i8* %115, align 1
  %118 = add i8 %117, -48
  %119 = icmp ult i8 %118, 10
  br i1 %119, label %120, label %.loopexit99, !prof !10

120:                                              ; preds = %.preheader100
  %121 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %116, i64 10)
  %122 = extractvalue { i64, i1 } %121, 1
  br i1 %122, label %.loopexit99, label %123

123:                                              ; preds = %120
  %124 = extractvalue { i64, i1 } %121, 0
  %125 = zext i8 %118 to i64
  %126 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %124, i64 %125)
  %127 = extractvalue { i64, i1 } %126, 1
  br i1 %127, label %.loopexit99, label %128, !prof !8

128:                                              ; preds = %123
  %129 = extractvalue { i64, i1 } %126, 0
  %130 = getelementptr inbounds i8, i8* %115, i64 1
  %131 = icmp eq i8* %130, %100
  br i1 %131, label %.loopexit99.loopexit149.split.loop.exit, label %.preheader100

132:                                              ; preds = %96
  %133 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %29, i64 %14, i32 0
  %134 = icmp eq i8* %133, %27
  br i1 %134, label %.loopexit99.thread, label %135

135:                                              ; preds = %132
  %136 = add i8 %30, -48
  %137 = icmp ult i8 %136, 10
  br i1 %137, label %138, label %.loopexit99.thread, !prof !10

138:                                              ; preds = %135
  %139 = zext i8 %136 to i64
  %140 = icmp eq i64 %14, 1
  br i1 %140, label %.loopexit99.thread, label %141

141:                                              ; preds = %138
  %142 = add i8 %32, -48
  %143 = icmp ult i8 %142, 10
  br i1 %143, label %144, label %.loopexit99.thread, !prof !10

144:                                              ; preds = %141
  %145 = mul nuw nsw i64 %139, 10
  %146 = zext i8 %142 to i64
  %147 = add nuw nsw i64 %145, %146
  %148 = icmp eq i64 %14, 2
  br i1 %148, label %.loopexit99.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %144
  %149 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %29, i64 2, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %163
  %150 = phi i8* [ %165, %163 ], [ %149, %.preheader.preheader ]
  %151 = phi i64 [ %164, %163 ], [ %147, %.preheader.preheader ]
  %152 = load i8, i8* %150, align 1
  %153 = add i8 %152, -48
  %154 = icmp ult i8 %153, 10
  br i1 %154, label %155, label %.loopexit99, !prof !10

155:                                              ; preds = %.preheader
  %156 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %151, i64 10)
  %157 = extractvalue { i64, i1 } %156, 1
  br i1 %157, label %.loopexit99, label %158

158:                                              ; preds = %155
  %159 = extractvalue { i64, i1 } %156, 0
  %160 = zext i8 %153 to i64
  %161 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %159, i64 %160)
  %162 = extractvalue { i64, i1 } %161, 1
  br i1 %162, label %.loopexit99, label %163, !prof !8

163:                                              ; preds = %158
  %164 = extractvalue { i64, i1 } %161, 0
  %165 = getelementptr inbounds i8, i8* %150, i64 1
  %166 = icmp eq i8* %165, %133
  br i1 %166, label %.loopexit99.loopexit.split.loop.exit, label %.preheader

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

168:                                              ; preds = %18, %58
  call void asm sideeffect "", "n"(i32 1) #5
  call void @llvm.trap()
  unreachable

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

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

; Function Attrs: minsize optsize
define hidden swiftcc { i64, i64 } @"$s7llvm_OZ6rotate5pointAA5PointVAE_tF"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %1)
  %3 = extractvalue { i64, i1 } %2, 1
  br i1 %3, label %8, label %4, !prof !8

4:                                                ; preds = %entry
  %5 = extractvalue { i64, i1 } %2, 0
  %6 = insertvalue { i64, i64 } undef, i64 %5, 0
  %7 = insertvalue { i64, i64 } %6, i64 %0, 1
  ret { i64, i64 } %7

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

; Function Attrs: minsize mustprogress nofree norecurse nosync nounwind optsize readnone willreturn
define hidden swiftcc { i64, i64 } @"$s7llvm_OZ5PointV1x1yACSi_SitcfC"(i64 %0, i64 %1) local_unnamed_addr #1 {
entry:
  %2 = insertvalue { i64, i64 } undef, i64 %0, 0
  %3 = insertvalue { i64, i64 } %2, i64 %1, 1
  ret { i64, i64 } %3
}

; Function Attrs: minsize optsize
define hidden swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ6rotate9directionS2S_tF"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = icmp eq i64 %0, 85
  %3 = icmp eq %swift.bridge* %1, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %2, i1 %3, i1 false
  br i1 %or.cond, label %14, label %4

4:                                                ; preds = %entry
  %5 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 85, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %0, %swift.bridge* %1, i8 0)
  br i1 %5, label %14, label %6

6:                                                ; preds = %4
  %7 = icmp eq i64 %0, 76
  %or.cond4 = select i1 %7, i1 %3, i1 false
  br i1 %or.cond4, label %14, label %8

8:                                                ; preds = %6
  %9 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 76, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %0, %swift.bridge* %1, i8 0)
  br i1 %9, label %14, label %10

10:                                               ; preds = %8
  %11 = icmp eq i64 %0, 68
  %or.cond5 = select i1 %11, i1 %3, i1 false
  br i1 %or.cond5, label %14, label %12

12:                                               ; preds = %10
  %13 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 68, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %0, %swift.bridge* %1, i8 0)
  %spec.select = select i1 %13, i64 82, i64 85
  br label %14

14:                                               ; preds = %12, %10, %6, %entry, %8, %4
  %15 = phi i64 [ 76, %4 ], [ 68, %8 ], [ 76, %entry ], [ 68, %6 ], [ 82, %10 ], [ %spec.select, %12 ]
  %16 = insertvalue { i64, %swift.bridge* } undef, i64 %15, 0
  %17 = insertvalue { i64, %swift.bridge* } %16, %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), 1
  ret { i64, %swift.bridge* } %17
}

; Function Attrs: minsize optsize
define hidden swiftcc { i64, i64 } @"$s7llvm_OZ4flip5pointAA5PointVAE_tF"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %1)
  %3 = extractvalue { i64, i1 } %2, 1
  br i1 %3, label %8, label %4, !prof !8

4:                                                ; preds = %entry
  %5 = extractvalue { i64, i1 } %2, 0
  %6 = insertvalue { i64, i64 } undef, i64 %0, 0
  %7 = insertvalue { i64, i64 } %6, i64 %5, 1
  ret { i64, i64 } %7

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

; Function Attrs: minsize optsize
define hidden swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4flip9directionS2S_tF"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = icmp eq i64 %0, 85
  %3 = icmp eq %swift.bridge* %1, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %2, i1 %3, i1 false
  br i1 %or.cond, label %12, label %4

4:                                                ; preds = %entry
  %5 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 85, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %0, %swift.bridge* %1, i8 0)
  br i1 %5, label %12, label %6

6:                                                ; preds = %4
  %7 = icmp eq i64 %0, 68
  %or.cond6 = select i1 %7, i1 %3, i1 false
  br i1 %or.cond6, label %12, label %8

8:                                                ; preds = %6
  %9 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 68, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %0, %swift.bridge* %1, i8 0)
  br i1 %9, label %12, label %10

10:                                               ; preds = %8
  %11 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #5
  br label %12

12:                                               ; preds = %8, %6, %entry, %4, %10
  %13 = phi i64 [ %0, %10 ], [ 68, %4 ], [ 68, %entry ], [ 85, %6 ], [ 85, %8 ]
  %14 = phi %swift.bridge* [ %1, %10 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %4 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %entry ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %6 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %8 ]
  %15 = insertvalue { i64, %swift.bridge* } undef, i64 %13, 0
  %16 = insertvalue { i64, %swift.bridge* } %15, %swift.bridge* %14, 1
  ret { i64, %swift.bridge* } %16
}

; Function Attrs: minsize mustprogress nofree norecurse nosync nounwind optsize readnone willreturn
define hidden swiftcc i64 @"$s7llvm_OZ5PointV1xSivg"(i64 returned %0, i64 %1) local_unnamed_addr #1 {
entry:
  ret i64 %0
}

; Function Attrs: minsize mustprogress nofree norecurse nosync nounwind optsize readnone willreturn
define hidden swiftcc i64 @"$s7llvm_OZ5PointV1ySivg"(i64 %0, i64 returned %1) local_unnamed_addr #1 {
entry:
  ret i64 %1
}

; Function Attrs: minsize optsize
define hidden swiftcc void @"$s7llvm_OZ4mainyyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %Ts15ContiguousArrayV, align 8
  %swifterror.i = alloca swifterror %swift.error*, align 8
  %access-scratch.i = alloca [24 x i8], align 8
  %access-scratch4.i = alloca [24 x i8], align 8
  %access-scratch5.i = alloca [24 x i8], align 8
  %access-scratch6.i = alloca [24 x i8], align 8
  %access-scratch7.i = alloca [24 x i8], align 8
  %access-scratch8.i = alloca [24 x i8], align 8
  %1 = alloca %swift.bridge*, align 8
  %2 = alloca %swift.bridge*, align 8
  %3 = alloca %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, align 8
  %4 = alloca %TSa, align 8
  %5 = alloca %TSa, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch18 = alloca [24 x i8], align 8
  %access-scratch49 = alloca [24 x i8], align 8
  %access-scratch50 = alloca [24 x i8], align 8
  %6 = alloca %Ts15ContiguousArrayV, align 8
  %7 = bitcast %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %7)
  %.elements._buffer._storage = getelementptr inbounds %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %3, i64 0, i32 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  %.index._value = getelementptr inbounds %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV, %T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* %3, i64 0, i32 1, i32 0
  store i64 0, i64* %.index._value, align 8
  %8 = call swiftcc i64 @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV7nextIntSiyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture nonnull swiftself dereferenceable(16) %3)
  %9 = bitcast %TSa* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %9)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %10 = bitcast %TSa* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %10)
  %._buffer1._storage = getelementptr inbounds %TSa, %TSa* %5, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %11 = icmp slt i64 %8, 0
  br i1 %11, label %630, label %12, !prof !8

12:                                               ; preds = %entry
  %13 = icmp eq i64 %8, 0
  br i1 %13, label %244, label %.preheader205

.preheader205:                                    ; preds = %12
  %14 = bitcast %Ts15ContiguousArrayV* %6 to i8*
  %._buffer103._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %6, i64 0, i32 0, i32 0
  br label %15

15:                                               ; preds = %.preheader205, %239
  %16 = phi i64 [ %20, %239 ], [ 0, %.preheader205 ]
  %17 = phi %Ts28__ContiguousArrayStorageBaseC* [ %39, %239 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.preheader205 ]
  %18 = phi %Ts28__ContiguousArrayStorageBaseC* [ %240, %239 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.preheader205 ]
  %exitcond.not = icmp eq i64 %16, %8
  br i1 %exitcond.not, label %631, label %19, !prof !8

19:                                               ; preds = %15
  %20 = add nuw nsw i64 %16, 1
  %21 = call swiftcc i64 @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV7nextIntSiyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture nonnull swiftself dereferenceable(16) %3)
  %22 = call swiftcc i64 @"$s7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV7nextIntSiyF"(%T7llvm_OZ7Scanner33_180160AE16FDBCF0A925445958C15377LLV* nocapture nonnull swiftself dereferenceable(16) %3)
  %23 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 0, i32 0
  %24 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %23) #19
  br i1 %24, label %29, label %25

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

29:                                               ; preds = %19, %25
  %30 = phi %Ts28__ContiguousArrayStorageBaseC* [ %28, %25 ], [ %17, %19 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 0, i32 1, i32 0, i32 0, i32 0
  %31 = load i64, i64* %._storage4.count._value, align 8, !range !6
  %._storage4._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 0, i32 1, i32 0, i32 1, i32 0
  %32 = load i64, i64* %._storage4._capacityAndFlags._value, align 8
  %33 = lshr i64 %32, 1
  %34 = add nuw nsw i64 %31, 1
  %.not = icmp ugt i64 %33, %31
  br i1 %.not, label %38, label %35, !prof !7

35:                                               ; preds = %29
  %36 = icmp ugt i64 %32, 1
  %37 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtF7llvm_OZ5PointV_Tg5"(i1 %36, i64 %34, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %30)
  br label %38

38:                                               ; preds = %29, %35
  %39 = phi %Ts28__ContiguousArrayStorageBaseC* [ %37, %35 ], [ %30, %29 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %34, i64* %._storage5.count._value, align 8
  %40 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %40 to %T7llvm_OZ5PointV*
  %.x._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %31, i32 0, i32 0
  store i64 %21, i64* %.x._value, align 8
  %.y._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %31, i32 1, i32 0
  store i64 %22, i64* %.y._value, align 8
  %41 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %41, i64 0, i32 1, i32 0, i32 0, i32 0
  %42 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %43 = load i64, i64* %.index._value, align 8
  %44 = icmp eq i64 %42, %43
  br i1 %44, label %.preheader204, label %212

.preheader204:                                    ; preds = %38, %174
  %45 = phi %Ts28__ContiguousArrayStorageBaseC* [ %175, %174 ], [ %41, %38 ]
  %46 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %47 = extractvalue { i64, i64 } %46, 0
  %48 = extractvalue { i64, i64 } %46, 1
  %49 = icmp eq i64 %48, 0
  br i1 %49, label %645, label %50

50:                                               ; preds = %.preheader204
  %51 = inttoptr i64 %48 to %swift.bridge*
  %52 = and i64 %48, 2305843009213693952
  %53 = icmp eq i64 %52, 0
  %54 = lshr i64 %48, 56
  %55 = and i64 %54, 15
  %56 = and i64 %47, 281474976710655
  %57 = select i1 %53, i64 %56, i64 %55
  %58 = icmp eq i64 %57, 0
  br i1 %58, label %59, label %64

59:                                               ; preds = %50
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %51) #5
  %60 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !6
  %61 = icmp eq i64 %60, 0
  br i1 %61, label %62, label %170

62:                                               ; preds = %59
  tail call void @swift_release(%swift.refcounted* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %swift.refcounted*)) #5
  %63 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %63) #5
  br label %174

64:                                               ; preds = %50
  %65 = shl nuw i64 %57, 16
  %66 = and i64 %48, 1152921504606846976
  %67 = icmp ne i64 %66, 0
  %68 = and i64 %47, 576460752303423488
  %69 = icmp eq i64 %68, 0
  %or.cond133 = select i1 %67, i1 %69, i1 false
  %.v = select i1 %or.cond133, i64 11, i64 7
  %70 = or i64 %65, %.v
  %71 = shl nuw nsw i64 %57, 2
  %72 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %51) #5
  br label %109

73:                                               ; preds = %134, %104
  %74 = phi %Ts28__ContiguousArrayStorageBaseC* [ %105, %104 ], [ %139, %134 ]
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %51) #5
  %._storage102.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 0, i32 0
  %75 = load i64, i64* %._storage102.count._value, align 8, !range !6
  %76 = icmp eq i64 %75, 0
  br i1 %76, label %77, label %170

77:                                               ; preds = %73
  %78 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %78) #5
  %79 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %79) #5
  br label %174

80:                                               ; preds = %131
  %81 = lshr i64 %138, 14
  %82 = icmp ult i64 %71, %81
  br i1 %82, label %646, label %83, !prof !8

83:                                               ; preds = %80
  %84 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %138, i64 %70, i64 %47, %swift.bridge* nonnull %51)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %51) #5
  %85 = extractvalue { i64, i64, i64, %swift.bridge* } %84, 0
  %86 = extractvalue { i64, i64, i64, %swift.bridge* } %84, 1
  %87 = extractvalue { i64, i64, i64, %swift.bridge* } %84, 2
  %88 = extractvalue { i64, i64, i64, %swift.bridge* } %84, 3
  %89 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %139, i64 0, i32 0
  %90 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %89) #19
  br i1 %90, label %95, label %91

91:                                               ; preds = %83
  %._storage98.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %139, i64 0, i32 1, i32 0, i32 0, i32 0
  %92 = load i64, i64* %._storage98.count._value, align 8, !range !6
  %93 = add nuw nsw i64 %92, 1
  %94 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %93, i1 true, %Ts28__ContiguousArrayStorageBaseC* %139)
  br label %95

95:                                               ; preds = %83, %91
  %96 = phi %Ts28__ContiguousArrayStorageBaseC* [ %94, %91 ], [ %139, %83 ]
  %._storage99.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 0, i32 0
  %97 = load i64, i64* %._storage99.count._value, align 8, !range !6
  %._storage99._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 1, i32 0
  %98 = load i64, i64* %._storage99._capacityAndFlags._value, align 8
  %99 = lshr i64 %98, 1
  %100 = add nuw nsw i64 %97, 1
  %.not197 = icmp ugt i64 %99, %97
  br i1 %.not197, label %104, label %101, !prof !7

101:                                              ; preds = %95
  %102 = icmp ugt i64 %98, 1
  %103 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %102, i64 %100, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %96)
  br label %104

104:                                              ; preds = %95, %101
  %105 = phi %Ts28__ContiguousArrayStorageBaseC* [ %103, %101 ], [ %96, %95 ]
  %._storage100.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %105, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %100, i64* %._storage100.count._value, align 8
  %106 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %105, i64 1
  %107 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 %97
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %107 to i64*
  store i64 %85, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, i64 0, i32 0, i32 1
  store i64 %86, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, 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 %87, 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
  %108 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %88, %swift.bridge** %108, align 8
  br label %73

109:                                              ; preds = %135, %64
  %110 = phi i64 [ 15, %64 ], [ %136, %135 ]
  %111 = phi i64 [ 15, %64 ], [ %137, %135 ]
  %112 = phi i64 [ 15, %64 ], [ %138, %135 ]
  %113 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %64 ], [ %139, %135 ]
  %114 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %110, i64 %47, %swift.bridge* nonnull %51)
  %115 = extractvalue { i64, %swift.bridge* } %114, 0
  %116 = extractvalue { i64, %swift.bridge* } %114, 1
  %117 = icmp eq i64 %115, 32
  %118 = icmp eq %swift.bridge* %116, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %117, i1 %118, i1 false
  br i1 %or.cond, label %119, label %120

119:                                              ; preds = %109
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*)) #5
  br label %122

120:                                              ; preds = %109
  %121 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %115, %swift.bridge* %116, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %116) #5
  br i1 %121, label %122, label %126

122:                                              ; preds = %120, %119
  %123 = lshr i64 %111, 14
  %124 = lshr i64 %110, 14
  %125 = icmp eq i64 %123, %124
  br i1 %125, label %128, label %142

126:                                              ; preds = %120
  %127 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %110, i64 %47, %swift.bridge* nonnull %51)
  br label %135

128:                                              ; preds = %122, %165
  %129 = phi %Ts28__ContiguousArrayStorageBaseC* [ %166, %165 ], [ %113, %122 ]
  %130 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %110, i64 %47, %swift.bridge* nonnull %51)
  br label %135

131:                                              ; preds = %135
  %132 = lshr i64 %137, 14
  %133 = icmp eq i64 %132, %71
  br i1 %133, label %134, label %80

134:                                              ; preds = %131
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %51) #5
  br label %73

135:                                              ; preds = %128, %126
  %136 = phi i64 [ %127, %126 ], [ %130, %128 ]
  %137 = phi i64 [ %111, %126 ], [ %130, %128 ]
  %138 = phi i64 [ %112, %126 ], [ %130, %128 ]
  %139 = phi %Ts28__ContiguousArrayStorageBaseC* [ %113, %126 ], [ %129, %128 ]
  %140 = lshr i64 %136, 14
  %141 = icmp eq i64 %140, %71
  br i1 %141, label %131, label %109

142:                                              ; preds = %122
  %143 = icmp ult i64 %124, %123
  br i1 %143, label %647, label %144, !prof !8

144:                                              ; preds = %142
  %145 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %111, i64 %110, i64 %47, %swift.bridge* nonnull %51)
  %146 = extractvalue { i64, i64, i64, %swift.bridge* } %145, 0
  %147 = extractvalue { i64, i64, i64, %swift.bridge* } %145, 1
  %148 = extractvalue { i64, i64, i64, %swift.bridge* } %145, 2
  %149 = extractvalue { i64, i64, i64, %swift.bridge* } %145, 3
  %150 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 0
  %151 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %150) #19
  br i1 %151, label %156, label %152

152:                                              ; preds = %144
  %._storage117.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 0, i32 0
  %153 = load i64, i64* %._storage117.count._value, align 8, !range !6
  %154 = add nuw nsw i64 %153, 1
  %155 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %154, i1 true, %Ts28__ContiguousArrayStorageBaseC* %113)
  br label %156

156:                                              ; preds = %144, %152
  %157 = phi %Ts28__ContiguousArrayStorageBaseC* [ %155, %152 ], [ %113, %144 ]
  %._storage118.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %157, i64 0, i32 1, i32 0, i32 0, i32 0
  %158 = load i64, i64* %._storage118.count._value, align 8, !range !6
  %._storage118._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %157, i64 0, i32 1, i32 0, i32 1, i32 0
  %159 = load i64, i64* %._storage118._capacityAndFlags._value, align 8
  %160 = lshr i64 %159, 1
  %161 = add nuw nsw i64 %158, 1
  %.not199 = icmp ugt i64 %160, %158
  br i1 %.not199, label %165, label %162, !prof !7

162:                                              ; preds = %156
  %163 = icmp ugt i64 %159, 1
  %164 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %163, i64 %161, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %157)
  br label %165

165:                                              ; preds = %156, %162
  %166 = phi %Ts28__ContiguousArrayStorageBaseC* [ %164, %162 ], [ %157, %156 ]
  %._storage119.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %166, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %161, i64* %._storage119.count._value, align 8
  %167 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %166, i64 1
  %168 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %167, i64 %158
  %._slice121._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %168 to i64*
  store i64 %146, i64* %._slice121._startIndex._rawBits._value, align 8
  %._slice121._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %168, i64 0, i32 0, i32 1
  store i64 %147, i64* %._slice121._endIndex, align 8
  %._slice121._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %168, i64 0, i32 1
  %._slice121._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice121._base, i64 0, i32 0, i32 0, i32 0
  store i64 %148, i64* %._slice121._base._guts._object._countAndFlagsBits._value, align 8
  %._slice121._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice121._base, i64 0, i32 0, i32 1
  %169 = bitcast %TSu* %._slice121._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %149, %swift.bridge** %169, align 8
  br label %128

170:                                              ; preds = %73, %59
  %171 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %59 ], [ %74, %73 ]
  %172 = phi i64 [ %60, %59 ], [ %75, %73 ]
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %14)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer103._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %172, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %173 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 1
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer103._storage, align 8
  br label %178

174:                                              ; preds = %62, %77, %209
  %175 = phi %Ts28__ContiguousArrayStorageBaseC* [ %205, %209 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %77 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %62 ]
  %._storage115.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 1, i32 0, i32 0, i32 0
  %176 = load i64, i64* %._storage115.count._value, align 8, !range !6
  %177 = icmp eq i64 %176, 0
  br i1 %177, label %.preheader204, label %.thread

178:                                              ; preds = %204, %170
  %179 = phi %Ts28__ContiguousArrayStorageBaseC* [ %.pre, %170 ], [ %205, %204 ]
  %180 = phi i64 [ 0, %170 ], [ %206, %204 ]
  %181 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 %180
  %._slice107._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %181 to i64*
  %182 = load i64, i64* %._slice107._startIndex._rawBits._value, align 8
  %._slice107._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 0, i32 0, i32 1
  %183 = load i64, i64* %._slice107._endIndex, align 8
  %._slice107._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 0, i32 1
  %._slice107._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice107._base, i64 0, i32 0, i32 0, i32 0
  %184 = load i64, i64* %._slice107._base._guts._object._countAndFlagsBits._value, align 8
  %._slice107._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice107._base, i64 0, i32 0, i32 1
  %185 = bitcast %TSu* %._slice107._base._guts._object._object to %swift.bridge**
  %186 = load %swift.bridge*, %swift.bridge** %185, align 8
  %187 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %186) #5
  %188 = tail call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %182, i64 %183, i64 %184, %swift.bridge* %186)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %186) #5
  %189 = extractvalue { i64, %swift.bridge* } %188, 0
  %190 = extractvalue { i64, %swift.bridge* } %188, 1
  %191 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %179, i64 0, i32 0
  %192 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %191) #19
  br i1 %192, label %196, label %193

193:                                              ; preds = %178
  %._storage109.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %179, i64 0, i32 1, i32 0, i32 0, i32 0
  %194 = load i64, i64* %._storage109.count._value, align 8, !range !6
  %195 = add nuw nsw i64 %194, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %195, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %.pre333 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer103._storage, align 8
  br label %196

196:                                              ; preds = %178, %193
  %197 = phi %Ts28__ContiguousArrayStorageBaseC* [ %179, %178 ], [ %.pre333, %193 ]
  %._storage110.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %197, i64 0, i32 1, i32 0, i32 0, i32 0
  %198 = load i64, i64* %._storage110.count._value, align 8, !range !6
  %._storage110._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %197, i64 0, i32 1, i32 0, i32 1, i32 0
  %199 = load i64, i64* %._storage110._capacityAndFlags._value, align 8
  %200 = lshr i64 %199, 1
  %201 = add nuw nsw i64 %198, 1
  %.not198 = icmp ugt i64 %200, %198
  br i1 %.not198, label %204, label %202, !prof !7

202:                                              ; preds = %196
  %203 = icmp ugt i64 %199, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %203, i64 %201, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %.pre334 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer103._storage, align 8
  br label %204

204:                                              ; preds = %196, %202
  %205 = phi %Ts28__ContiguousArrayStorageBaseC* [ %197, %196 ], [ %.pre334, %202 ]
  %206 = add i64 %180, 1
  %._storage111.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %205, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %201, i64* %._storage111.count._value, align 8
  %207 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %205, i64 1
  %tailaddr112 = bitcast %Ts28__ContiguousArrayStorageBaseC* %207 to %TSS*
  %._guts113._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr112, i64 %198, i32 0, i32 0, i32 0, i32 0
  store i64 %189, i64* %._guts113._object._countAndFlagsBits._value, align 8
  %._guts113._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr112, i64 %198, i32 0, i32 0, i32 1
  store %swift.bridge* %190, %swift.bridge** %._guts113._object._object, align 8
  %208 = icmp eq i64 %206, %172
  br i1 %208, label %209, label %178

209:                                              ; preds = %204
  %210 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %210) #5
  %211 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %211) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %14)
  br label %174

.thread:                                          ; preds = %174
  store %Ts28__ContiguousArrayStorageBaseC* %175, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  br label %214

212:                                              ; preds = %38
  %213 = icmp slt i64 %43, 0
  br i1 %213, label %632, label %214, !prof !8

214:                                              ; preds = %.thread, %212
  %215 = phi i64 [ %176, %.thread ], [ %42, %212 ]
  %216 = phi %Ts28__ContiguousArrayStorageBaseC* [ %175, %.thread ], [ %41, %212 ]
  %217 = phi i64 [ 0, %.thread ], [ %43, %212 ]
  %.not187 = icmp ult i64 %217, %215
  br i1 %.not187, label %218, label %633, !prof !7

218:                                              ; preds = %214
  %219 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %216, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %219 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr8, i64 %217, i32 0, i32 0, i32 0, i32 0
  %220 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr8, i64 %217, i32 0, i32 0, i32 1
  %221 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %222 = add nuw nsw i64 %217, 1
  store i64 %222, i64* %.index._value, align 8
  %223 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 0, i32 0
  %224 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %221) #5
  %225 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %223) #19
  br i1 %225, label %230, label %226

226:                                              ; preds = %218
  %._storage10.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 0, i32 1, i32 0, i32 0, i32 0
  %227 = load i64, i64* %._storage10.count._value, align 8, !range !6
  %228 = add nuw nsw i64 %227, 1
  %229 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 false, i64 %228, i1 true, %Ts28__ContiguousArrayStorageBaseC* %18)
  br label %230

230:                                              ; preds = %218, %226
  %231 = phi %Ts28__ContiguousArrayStorageBaseC* [ %229, %226 ], [ %18, %218 ]
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %231, i64 0, i32 1, i32 0, i32 0, i32 0
  %232 = load i64, i64* %._storage11.count._value, align 8, !range !6
  %._storage11._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %231, i64 0, i32 1, i32 0, i32 1, i32 0
  %233 = load i64, i64* %._storage11._capacityAndFlags._value, align 8
  %234 = lshr i64 %233, 1
  %235 = add nuw nsw i64 %232, 1
  %.not188 = icmp ugt i64 %234, %232
  br i1 %.not188, label %239, label %236, !prof !7

236:                                              ; preds = %230
  %237 = icmp ugt i64 %233, 1
  %238 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 %237, i64 %235, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %231)
  br label %239

239:                                              ; preds = %230, %236
  %240 = phi %Ts28__ContiguousArrayStorageBaseC* [ %238, %236 ], [ %231, %230 ]
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %240, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %235, i64* %._storage12.count._value, align 8
  %241 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %240, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %241 to %TSS*
  %._guts14._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %232, i32 0, i32 0, i32 0, i32 0
  store i64 %220, i64* %._guts14._object._countAndFlagsBits._value, align 8
  %._guts14._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %232, i32 0, i32 0, i32 1
  store %swift.bridge* %221, %swift.bridge** %._guts14._object._object, align 8
  %242 = icmp eq i64 %20, %8
  br i1 %242, label %243, label %15

243:                                              ; preds = %239
  store %Ts28__ContiguousArrayStorageBaseC* %240, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %39, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %244

244:                                              ; preds = %12, %243
  %tmpcast.i = bitcast %swift.bridge** %1 to %Ts17_NativeDictionaryV*
  %tmpcast116.i = bitcast %swift.bridge** %2 to %Ts17_NativeDictionaryV*
  %245 = bitcast %Ts15ContiguousArrayV* %0 to i8*
  %._buffer._storage.i = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %0, i64 0, i32 0, i32 0
  %246 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch.i, i64 0, i64 0
  %247 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch4.i, i64 0, i64 0
  %248 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch5.i, i64 0, i64 0
  %249 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch6.i, i64 0, i64 0
  %250 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch7.i, i64 0, i64 0
  %251 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch8.i, i64 0, i64 0
  %252 = bitcast %swift.bridge** %2 to i8*
  %._storage44.i = bitcast %swift.bridge** %2 to %Ts22__RawDictionaryStorageC**
  %253 = bitcast %swift.bridge** %1 to i8*
  %._storage22.i = bitcast %swift.bridge** %1 to %Ts22__RawDictionaryStorageC**
  %254 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  %255 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch18, i64 0, i64 0
  %256 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch49, i64 0, i64 0
  %257 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch50, i64 0, i64 0
  br label %258

258:                                              ; preds = %244, %.thread201
  %259 = phi i64 [ 9223372036854775807, %244 ], [ %499, %.thread201 ]
  %260 = phi i64 [ 0, %244 ], [ %261, %.thread201 ]
  %261 = add nuw nsw i64 %260, 1
  br label %262

262:                                              ; preds = %258, %.backedge
  %.not268 = phi i1 [ true, %258 ], [ false, %.backedge ]
  %263 = phi i1 [ false, %258 ], [ true, %.backedge ]
  %264 = phi i64 [ %259, %258 ], [ %499, %.backedge ]
  store %swift.error* null, %swift.error** %swifterror.i, align 8
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %245)
  %265 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSnySiG_Tg5"(i64 0, i64 %8)
  store %Ts28__ContiguousArrayStorageBaseC* %265, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  call swiftcc void @"$sSMsSkRzrlE4sort2byySb7ElementSTQz_ADtKXE_tKFs15ContiguousArrayVySiG_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1cn_n"(%Ts15ContiguousArrayV* nocapture nonnull dereferenceable(8) %0, %TSa* nocapture nonnull dereferenceable(8) %4, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror.i)
  %266 = load %swift.error*, %swift.error** %swifterror.i, align 8
  %.not.i = icmp eq %swift.error* %266, null
  %267 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  br i1 %.not.i, label %268, label %275

268:                                              ; preds = %262
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %245)
  %._storage.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 1, i32 0, i32 0, i32 0
  %269 = load i64, i64* %._storage.count._value.i, align 8, !range !6
  %270 = icmp eq i64 %269, 0
  br i1 %270, label %"$s7llvm_OZ4mainyyF5solveL_SiyFTf0nss_n.exit", label %271

271:                                              ; preds = %268
  %272 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 1
  %tailaddr.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %272 to %TSi*
  %273 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 0
  %274 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %273) #19
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %246)
  call void @swift_beginAccess(i8* nonnull %10, [24 x i8]* nonnull %access-scratch.i, i64 0, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %247)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch4.i, i64 0, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %248)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch5.i, i64 0, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %249)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch6.i, i64 0, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %250)
  call void @swift_beginAccess(i8* nonnull %10, [24 x i8]* nonnull %access-scratch7.i, i64 0, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %251)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch8.i, i64 0, i8* null) #5
  br label %277

275:                                              ; preds = %262
  %276 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %276) #5
  unreachable

277:                                              ; preds = %477, %271
  %.0105.i = phi %swift.bridge* [ bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %271 ], [ %.2107.i, %477 ]
  %.0.i = phi %swift.bridge* [ bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %271 ], [ %.2.i, %477 ]
  %278 = phi i64 [ 9223372036854775807, %271 ], [ %361, %477 ]
  %279 = phi i64 [ 0, %271 ], [ %478, %477 ]
  %._value9.i = getelementptr inbounds %TSi, %TSi* %tailaddr.i, i64 %279, i32 0
  %280 = load i64, i64* %._value9.i, align 8
  %281 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %282 = icmp slt i64 %280, 0
  br i1 %282, label %481, label %283, !prof !8

283:                                              ; preds = %277
  %._storage11.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %281, i64 0, i32 1, i32 0, i32 0, i32 0
  %284 = load i64, i64* %._storage11.count._value.i, align 8, !range !6
  %.not112.i = icmp ult i64 %280, %284
  br i1 %.not112.i, label %285, label %482, !prof !7

285:                                              ; preds = %283
  %286 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %281, i64 1
  %tailaddr12.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %286 to %TSS*
  %._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSS, %TSS* %tailaddr12.i, i64 %280, i32 0, i32 0, i32 0, i32 0
  %287 = load i64, i64* %._guts._object._countAndFlagsBits._value.i, align 8
  %._guts._object._object.i = getelementptr inbounds %TSS, %TSS* %tailaddr12.i, i64 %280, i32 0, i32 0, i32 1
  %288 = load %swift.bridge*, %swift.bridge** %._guts._object._object.i, align 8
  %289 = icmp eq i64 %287, 82
  %290 = icmp eq %swift.bridge* %288, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond.i = select i1 %289, i1 %290, i1 false
  br i1 %or.cond.i, label %293, label %291

291:                                              ; preds = %285
  %292 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %287, %swift.bridge* %288, i64 82, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %292, label %293, label %325

293:                                              ; preds = %291, %285
  %294 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage73.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %294, i64 0, i32 1, i32 0, i32 0, i32 0
  %295 = load i64, i64* %._storage73.count._value.i, align 8, !range !6
  %.not120.i = icmp ult i64 %280, %295
  br i1 %.not120.i, label %296, label %494, !prof !7

296:                                              ; preds = %293
  %297 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %294, i64 1
  %tailaddr74.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %297 to %T7llvm_OZ5PointV*
  %.x75._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr74.i, i64 %280, i32 0, i32 0
  %298 = load i64, i64* %.x75._value.i, align 8
  %.y76._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr74.i, i64 %280, i32 1, i32 0
  %299 = load i64, i64* %.y76._value.i, align 8
  %300 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %298, i64 %299)
  %301 = extractvalue { i64, i1 } %300, 0
  %302 = extractvalue { i64, i1 } %300, 1
  br i1 %302, label %495, label %303, !prof !8

303:                                              ; preds = %296
  %304 = bitcast %swift.bridge* %.0.i to %Ts22__RawDictionaryStorageC*
  %._value77.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %304, i64 0, i32 1, i32 0
  %305 = load i64, i64* %._value77.i, align 8, !range !6
  %306 = icmp eq i64 %305, 0
  br i1 %306, label %325, label %307

307:                                              ; preds = %303
  %308 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %301, %Ts22__RawDictionaryStorageC* nonnull swiftself %304)
  %309 = extractvalue { i64, i1 } %308, 1
  br i1 %309, label %310, label %325

310:                                              ; preds = %307
  %311 = extractvalue { i64, i1 } %308, 0
  %._rawValue78.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %304, i64 0, i32 9, i32 0
  %312 = bitcast i8** %._rawValue78.i to %TSi**
  %313 = load %TSi*, %TSi** %312, align 8
  %._value79.i = getelementptr inbounds %TSi, %TSi* %313, i64 %311, i32 0
  %314 = load i64, i64* %._value79.i, align 8
  %315 = load i64, i64* %.y76._value.i, align 8
  %316 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %314, i64 %315)
  %317 = extractvalue { i64, i1 } %316, 1
  br i1 %317, label %496, label %318, !prof !8

318:                                              ; preds = %310
  %319 = extractvalue { i64, i1 } %316, 0
  %320 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %319, i64 10)
  %321 = extractvalue { i64, i1 } %320, 1
  br i1 %321, label %497, label %322, !prof !8

322:                                              ; preds = %318
  %323 = extractvalue { i64, i1 } %320, 0
  %324 = call i64 @llvm.smin.i64(i64 %323, i64 %278)
  br label %325

325:                                              ; preds = %322, %307, %303, %291
  %326 = phi i64 [ %324, %322 ], [ %278, %291 ], [ %278, %307 ], [ %278, %303 ]
  %327 = load i64, i64* %._guts._object._countAndFlagsBits._value.i, align 8
  %328 = load %swift.bridge*, %swift.bridge** %._guts._object._object.i, align 8
  %329 = icmp eq i64 %327, 82
  %330 = icmp eq %swift.bridge* %328, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond121.i = select i1 %329, i1 %330, i1 false
  br i1 %or.cond121.i, label %333, label %331

331:                                              ; preds = %325
  %332 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %327, %swift.bridge* %328, i64 82, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %332, label %333, label %360

333:                                              ; preds = %331, %325
  %334 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage63.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %334, i64 0, i32 1, i32 0, i32 0, i32 0
  %335 = load i64, i64* %._storage63.count._value.i, align 8, !range !6
  %.not119.i = icmp ult i64 %280, %335
  br i1 %.not119.i, label %336, label %491, !prof !7

336:                                              ; preds = %333
  %337 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %334, i64 1
  %tailaddr64.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %337 to %T7llvm_OZ5PointV*
  %338 = bitcast %swift.bridge* %.0105.i to %Ts22__RawDictionaryStorageC*
  %._value66.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %338, i64 0, i32 1, i32 0
  %339 = load i64, i64* %._value66.i, align 8, !range !6
  %340 = icmp eq i64 %339, 0
  br i1 %340, label %360, label %341

341:                                              ; preds = %336
  %.y65._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr64.i, i64 %280, i32 1, i32 0
  %342 = load i64, i64* %.y65._value.i, align 8
  %343 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %342, %Ts22__RawDictionaryStorageC* nonnull swiftself %338)
  %344 = extractvalue { i64, i1 } %343, 1
  br i1 %344, label %345, label %360

345:                                              ; preds = %341
  %346 = extractvalue { i64, i1 } %343, 0
  %._rawValue67.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %338, i64 0, i32 9, i32 0
  %347 = bitcast i8** %._rawValue67.i to %TSi**
  %348 = load %TSi*, %TSi** %347, align 8
  %._value68.i = getelementptr inbounds %TSi, %TSi* %348, i64 %346, i32 0
  %349 = load i64, i64* %._value68.i, align 8
  %.x69._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr64.i, i64 %280, i32 0, i32 0
  %350 = load i64, i64* %.x69._value.i, align 8
  %351 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %349, i64 %350)
  %352 = extractvalue { i64, i1 } %351, 1
  br i1 %352, label %492, label %353, !prof !8

353:                                              ; preds = %345
  %354 = extractvalue { i64, i1 } %351, 0
  %355 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %354, i64 5)
  %356 = extractvalue { i64, i1 } %355, 1
  br i1 %356, label %493, label %357, !prof !8

357:                                              ; preds = %353
  %358 = extractvalue { i64, i1 } %355, 0
  %359 = call i64 @llvm.smin.i64(i64 %358, i64 %326)
  br label %360

360:                                              ; preds = %357, %341, %336, %331
  %361 = phi i64 [ %359, %357 ], [ %326, %331 ], [ %326, %341 ], [ %326, %336 ]
  %362 = load i64, i64* %._guts._object._countAndFlagsBits._value.i, align 8
  %363 = load %swift.bridge*, %swift.bridge** %._guts._object._object.i, align 8
  %364 = icmp eq i64 %362, 68
  %365 = icmp eq %swift.bridge* %363, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond122.i = select i1 %364, i1 %365, i1 false
  br i1 %or.cond122.i, label %368, label %366

366:                                              ; preds = %360
  %367 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %362, %swift.bridge* %363, i64 68, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %367, label %368, label %419

368:                                              ; preds = %366, %360
  %369 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage39.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %369, i64 0, i32 1, i32 0, i32 0, i32 0
  %370 = load i64, i64* %._storage39.count._value.i, align 8, !range !6
  %.not115.i = icmp ult i64 %280, %370
  br i1 %.not115.i, label %371, label %487, !prof !7

371:                                              ; preds = %368
  %372 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %369, i64 1
  %tailaddr40.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %372 to %T7llvm_OZ5PointV*
  %.x41._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr40.i, i64 %280, i32 0, i32 0
  %373 = load i64, i64* %.x41._value.i, align 8
  %.y42._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr40.i, i64 %280, i32 1, i32 0
  %374 = load i64, i64* %.y42._value.i, align 8
  %375 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %373, i64 %374)
  %376 = extractvalue { i64, i1 } %375, 0
  %377 = extractvalue { i64, i1 } %375, 1
  br i1 %377, label %488, label %378, !prof !8

378:                                              ; preds = %371
  %379 = bitcast %swift.bridge* %.0.i to %swift.refcounted*
  %380 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %379) #19
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %252)
  %381 = bitcast %swift.bridge* %.0.i to %Ts22__RawDictionaryStorageC*
  store %swift.bridge* %.0.i, %swift.bridge** %2, align 8
  %382 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %376, %Ts22__RawDictionaryStorageC* swiftself %381)
  %383 = extractvalue { i64, i1 } %382, 1
  %._value46.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %381, i64 0, i32 1, i32 0
  %384 = load i64, i64* %._value46.i, align 8
  %not.117.i = xor i1 %383, true
  %.83.i = zext i1 %not.117.i to i64
  %385 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %384, i64 %.83.i)
  %386 = extractvalue { i64, i1 } %385, 1
  br i1 %386, label %489, label %387, !prof !8

387:                                              ; preds = %378
  %388 = extractvalue { i64, i1 } %385, 0
  %389 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVyS2iGMD") #20
  %390 = call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %380, i64 %388, %swift.type* %389, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %tmpcast116.i)
  %391 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage44.i, align 8
  br i1 %390, label %392, label %._crit_edge

392:                                              ; preds = %387
  %393 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %376, %Ts22__RawDictionaryStorageC* swiftself %391)
  %394 = extractvalue { i64, i1 } %393, 1
  %395 = xor i1 %383, %394
  br i1 %395, label %396, label %._crit_edge

396:                                              ; preds = %392
  call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSiN")
  unreachable

._crit_edge:                                      ; preds = %387, %392
  %.pn118.i = phi { i64, i1 } [ %393, %392 ], [ %382, %387 ]
  %397 = extractvalue { i64, i1 } %.pn118.i, 0
  br i1 %383, label %398, label %401

398:                                              ; preds = %._crit_edge
  %._rawValue58.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %391, i64 0, i32 9, i32 0
  %399 = bitcast i8** %._rawValue58.i to %TSi**
  %400 = load %TSi*, %TSi** %399, align 8
  %._value59.i = getelementptr inbounds %TSi, %TSi* %400, i64 %397, i32 0
  store i64 %374, i64* %._value59.i, align 8
  br label %417

401:                                              ; preds = %._crit_edge
  %402 = lshr i64 %397, 6
  %403 = and i64 %397, 63
  %404 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %391, i64 1
  %tailaddr49.i = bitcast %Ts22__RawDictionaryStorageC* %404 to %Ts13_UnsafeBitsetV4WordV*
  %405 = shl nuw i64 1, %403
  %.value50._value.i = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr49.i, i64 %402, i32 0, i32 0
  %406 = load i64, i64* %.value50._value.i, align 8
  %407 = or i64 %406, %405
  store i64 %407, i64* %.value50._value.i, align 8
  %._rawValue52.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %391, i64 0, i32 8, i32 0
  %408 = bitcast i8** %._rawValue52.i to %TSi**
  %409 = load %TSi*, %TSi** %408, align 8
  %._value53.i = getelementptr inbounds %TSi, %TSi* %409, i64 %397, i32 0
  store i64 %376, i64* %._value53.i, align 8
  %._rawValue54.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %391, i64 0, i32 9, i32 0
  %410 = bitcast i8** %._rawValue54.i to %TSi**
  %411 = load %TSi*, %TSi** %410, align 8
  %._value55.i = getelementptr inbounds %TSi, %TSi* %411, i64 %397, i32 0
  store i64 %374, i64* %._value55.i, align 8
  %._value56.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %391, i64 0, i32 1, i32 0
  %412 = load i64, i64* %._value56.i, align 8
  %413 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %412, i64 1)
  %414 = extractvalue { i64, i1 } %413, 1
  br i1 %414, label %490, label %415, !prof !8

415:                                              ; preds = %401
  %416 = extractvalue { i64, i1 } %413, 0
  store i64 %416, i64* %._value56.i, align 8
  br label %417

417:                                              ; preds = %415, %398
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull inttoptr (i64 -9223372036854775808 to %swift.bridge*)) #5
  %418 = bitcast %Ts22__RawDictionaryStorageC* %391 to %swift.bridge*
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %252)
  br label %419

419:                                              ; preds = %417, %366
  %.2.i = phi %swift.bridge* [ %418, %417 ], [ %.0.i, %366 ]
  %420 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %._storage16.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %420, i64 0, i32 1, i32 0, i32 0, i32 0
  %421 = load i64, i64* %._storage16.count._value.i, align 8, !range !6
  %.not113.i = icmp ult i64 %280, %421
  br i1 %.not113.i, label %422, label %483, !prof !7

422:                                              ; preds = %419
  %423 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %420, i64 1
  %tailaddr17.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %423 to %TSS*
  %._guts18._object._countAndFlagsBits._value.i = getelementptr inbounds %TSS, %TSS* %tailaddr17.i, i64 %280, i32 0, i32 0, i32 0, i32 0
  %424 = load i64, i64* %._guts18._object._countAndFlagsBits._value.i, align 8
  %._guts18._object._object.i = getelementptr inbounds %TSS, %TSS* %tailaddr17.i, i64 %280, i32 0, i32 0, i32 1
  %425 = load %swift.bridge*, %swift.bridge** %._guts18._object._object.i, align 8
  %426 = icmp eq i64 %424, 76
  %427 = icmp eq %swift.bridge* %425, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond123.i = select i1 %426, i1 %427, i1 false
  br i1 %or.cond123.i, label %430, label %428

428:                                              ; preds = %422
  %429 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %424, %swift.bridge* %425, i64 76, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %429, label %430, label %477

430:                                              ; preds = %428, %422
  %431 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage20.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %431, i64 0, i32 1, i32 0, i32 0, i32 0
  %432 = load i64, i64* %._storage20.count._value.i, align 8, !range !6
  %.not114.i = icmp ult i64 %280, %432
  br i1 %.not114.i, label %433, label %484, !prof !7

433:                                              ; preds = %430
  %434 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %431, i64 1
  %tailaddr21.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %434 to %T7llvm_OZ5PointV*
  %.y._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr21.i, i64 %280, i32 1, i32 0
  %435 = load i64, i64* %.y._value.i, align 8
  %.x._value.i = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr21.i, i64 %280, i32 0, i32 0
  %436 = load i64, i64* %.x._value.i, align 8
  %437 = bitcast %swift.bridge* %.0105.i to %swift.refcounted*
  %438 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %437) #19
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %253)
  %439 = bitcast %swift.bridge* %.0105.i to %Ts22__RawDictionaryStorageC*
  store %swift.bridge* %.0105.i, %swift.bridge** %1, align 8
  %440 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %435, %Ts22__RawDictionaryStorageC* swiftself %439)
  %441 = extractvalue { i64, i1 } %440, 1
  %._value24.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %439, i64 0, i32 1, i32 0
  %442 = load i64, i64* %._value24.i, align 8
  %not..i = xor i1 %441, true
  %.84.i = zext i1 %not..i to i64
  %443 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %442, i64 %.84.i)
  %444 = extractvalue { i64, i1 } %443, 1
  br i1 %444, label %485, label %445, !prof !8

445:                                              ; preds = %433
  %446 = extractvalue { i64, i1 } %443, 0
  %447 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVyS2iGMD") #20
  %448 = call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %438, i64 %446, %swift.type* %447, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %tmpcast.i)
  %449 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage22.i, align 8
  br i1 %448, label %450, label %._crit_edge336

450:                                              ; preds = %445
  %451 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %435, %Ts22__RawDictionaryStorageC* swiftself %449)
  %452 = extractvalue { i64, i1 } %451, 1
  %453 = xor i1 %441, %452
  br i1 %453, label %454, label %._crit_edge336

454:                                              ; preds = %450
  call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSiN")
  unreachable

._crit_edge336:                                   ; preds = %445, %450
  %.pn.i = phi { i64, i1 } [ %451, %450 ], [ %440, %445 ]
  %455 = extractvalue { i64, i1 } %.pn.i, 0
  br i1 %441, label %456, label %459

456:                                              ; preds = %._crit_edge336
  %._rawValue34.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %449, i64 0, i32 9, i32 0
  %457 = bitcast i8** %._rawValue34.i to %TSi**
  %458 = load %TSi*, %TSi** %457, align 8
  %._value35.i = getelementptr inbounds %TSi, %TSi* %458, i64 %455, i32 0
  store i64 %436, i64* %._value35.i, align 8
  br label %475

459:                                              ; preds = %._crit_edge336
  %460 = lshr i64 %455, 6
  %461 = and i64 %455, 63
  %462 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %449, i64 1
  %tailaddr27.i = bitcast %Ts22__RawDictionaryStorageC* %462 to %Ts13_UnsafeBitsetV4WordV*
  %463 = shl nuw i64 1, %461
  %.value._value.i = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr27.i, i64 %460, i32 0, i32 0
  %464 = load i64, i64* %.value._value.i, align 8
  %465 = or i64 %464, %463
  store i64 %465, i64* %.value._value.i, align 8
  %._rawValue.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %449, i64 0, i32 8, i32 0
  %466 = bitcast i8** %._rawValue.i to %TSi**
  %467 = load %TSi*, %TSi** %466, align 8
  %._value29.i = getelementptr inbounds %TSi, %TSi* %467, i64 %455, i32 0
  store i64 %435, i64* %._value29.i, align 8
  %._rawValue30.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %449, i64 0, i32 9, i32 0
  %468 = bitcast i8** %._rawValue30.i to %TSi**
  %469 = load %TSi*, %TSi** %468, align 8
  %._value31.i = getelementptr inbounds %TSi, %TSi* %469, i64 %455, i32 0
  store i64 %436, i64* %._value31.i, align 8
  %._value32.i = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %449, i64 0, i32 1, i32 0
  %470 = load i64, i64* %._value32.i, align 8
  %471 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %470, i64 1)
  %472 = extractvalue { i64, i1 } %471, 1
  br i1 %472, label %486, label %473, !prof !8

473:                                              ; preds = %459
  %474 = extractvalue { i64, i1 } %471, 0
  store i64 %474, i64* %._value32.i, align 8
  br label %475

475:                                              ; preds = %473, %456
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull inttoptr (i64 -9223372036854775808 to %swift.bridge*)) #5
  %476 = bitcast %Ts22__RawDictionaryStorageC* %449 to %swift.bridge*
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %253)
  br label %477

477:                                              ; preds = %475, %428
  %.2107.i = phi %swift.bridge* [ %476, %475 ], [ %.0105.i, %428 ]
  %478 = add nuw nsw i64 %279, 1
  %479 = icmp eq i64 %478, %269
  br i1 %479, label %480, label %277

480:                                              ; preds = %477
  call void @swift_release(%swift.refcounted* %273) #5
  br label %"$s7llvm_OZ4mainyyF5solveL_SiyFTf0nss_n.exit"

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

482:                                              ; preds = %283
  call void asm sideeffect "", "n"(i32 3) #5
  call void @llvm.trap()
  unreachable

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

484:                                              ; preds = %430
  call void asm sideeffect "", "n"(i32 6) #5
  call void @llvm.trap()
  unreachable

485:                                              ; preds = %433
  call void asm sideeffect "", "n"(i32 7) #5
  call void @llvm.trap()
  unreachable

486:                                              ; preds = %459
  call void asm sideeffect "", "n"(i32 8) #5
  call void @llvm.trap()
  unreachable

487:                                              ; preds = %368
  call void asm sideeffect "", "n"(i32 9) #5
  call void @llvm.trap()
  unreachable

488:                                              ; preds = %371
  call void asm sideeffect "", "n"(i32 10) #5
  call void @llvm.trap()
  unreachable

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

490:                                              ; preds = %401
  call void asm sideeffect "", "n"(i32 12) #5
  call void @llvm.trap()
  unreachable

491:                                              ; preds = %333
  call void asm sideeffect "", "n"(i32 13) #5
  call void @llvm.trap()
  unreachable

492:                                              ; preds = %345
  call void asm sideeffect "", "n"(i32 14) #5
  call void @llvm.trap()
  unreachable

493:                                              ; preds = %353
  call void asm sideeffect "", "n"(i32 15) #5
  call void @llvm.trap()
  unreachable

494:                                              ; preds = %293
  call void asm sideeffect "", "n"(i32 16) #5
  call void @llvm.trap()
  unreachable

495:                                              ; preds = %296
  call void asm sideeffect "", "n"(i32 17) #5
  call void @llvm.trap()
  unreachable

496:                                              ; preds = %310
  call void asm sideeffect "", "n"(i32 18) #5
  call void @llvm.trap()
  unreachable

497:                                              ; preds = %318
  call void asm sideeffect "", "n"(i32 19) #5
  call void @llvm.trap()
  unreachable

"$s7llvm_OZ4mainyyF5solveL_SiyFTf0nss_n.exit":    ; preds = %268, %480
  %.1106.i = phi %swift.bridge* [ %.2107.i, %480 ], [ bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %268 ]
  %.1.i = phi %swift.bridge* [ %.2.i, %480 ], [ bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %268 ]
  %498 = phi i64 [ %361, %480 ], [ 9223372036854775807, %268 ]
  %.sink = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %.sink) #5
  call void @swift_bridgeObjectRelease(%swift.bridge* %.1106.i) #5
  call void @swift_bridgeObjectRelease(%swift.bridge* %.1.i) #5
  %499 = call i64 @llvm.smin.i64(i64 %498, i64 %264)
  br i1 %13, label %.thread200, label %500

500:                                              ; preds = %"$s7llvm_OZ4mainyyF5solveL_SiyFTf0nss_n.exit"
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %254)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %255)
  call void @swift_beginAccess(i8* nonnull %10, [24 x i8]* nonnull %access-scratch18, i64 1, i8* null) #5
  br label %502

501:                                              ; preds = %549
  br i1 %263, label %554, label %.backedge

.backedge:                                        ; preds = %501, %.thread200
  br i1 %.not268, label %262, label %634, !prof !7

.thread200:                                       ; preds = %"$s7llvm_OZ4mainyyF5solveL_SiyFTf0nss_n.exit"
  br i1 %263, label %.thread201, label %.backedge

502:                                              ; preds = %549, %500
  %503 = phi i64 [ 0, %500 ], [ %550, %549 ]
  %504 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage20.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %504, i64 0, i32 1, i32 0, i32 0, i32 0
  %505 = load i64, i64* %._storage20.count._value, align 8, !range !6
  %.not189 = icmp ult i64 %503, %505
  br i1 %.not189, label %506, label %635, !prof !7

506:                                              ; preds = %502
  %507 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %504, i64 1
  %tailaddr21 = bitcast %Ts28__ContiguousArrayStorageBaseC* %507 to %T7llvm_OZ5PointV*
  %.x22._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr21, i64 %503, i32 0, i32 0
  %508 = load i64, i64* %.x22._value, align 8
  %.y23._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr21, i64 %503, i32 1, i32 0
  %509 = load i64, i64* %.y23._value, align 8
  %510 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %509)
  %511 = extractvalue { i64, i1 } %510, 0
  %512 = extractvalue { i64, i1 } %510, 1
  br i1 %512, label %636, label %513, !prof !8

513:                                              ; preds = %506
  %514 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %504, i64 0, i32 0
  %515 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %514) #19
  store %Ts28__ContiguousArrayStorageBaseC* %504, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %515, label %518, label %516

516:                                              ; preds = %513
  %517 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyF7llvm_OZ5PointV_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %504)
  store %Ts28__ContiguousArrayStorageBaseC* %517, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %518

518:                                              ; preds = %513, %516
  %519 = phi %Ts28__ContiguousArrayStorageBaseC* [ %504, %513 ], [ %517, %516 ]
  %._storage27.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %519, i64 0, i32 1, i32 0, i32 0, i32 0
  %520 = load i64, i64* %._storage27.count._value, align 8, !range !6
  %.not190 = icmp ult i64 %503, %520
  br i1 %.not190, label %521, label %637, !prof !7

521:                                              ; preds = %518
  %522 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %519, i64 1
  %tailaddr28 = bitcast %Ts28__ContiguousArrayStorageBaseC* %522 to %T7llvm_OZ5PointV*
  %.x29._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr28, i64 %503, i32 0, i32 0
  store i64 %508, i64* %.x29._value, align 8
  %.y30._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr28, i64 %503, i32 1, i32 0
  store i64 %511, i64* %.y30._value, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %519, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %523 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %._storage33.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %523, i64 0, i32 1, i32 0, i32 0, i32 0
  %524 = load i64, i64* %._storage33.count._value, align 8, !range !6
  %.not191 = icmp ult i64 %503, %524
  br i1 %.not191, label %525, label %638, !prof !7

525:                                              ; preds = %521
  %526 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %523, i64 1
  %tailaddr34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %526 to %TSS*
  %._guts35._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr34, i64 %503, i32 0, i32 0, i32 0, i32 0
  %527 = load i64, i64* %._guts35._object._countAndFlagsBits._value, align 8
  %._guts35._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr34, i64 %503, i32 0, i32 0, i32 1
  %528 = load %swift.bridge*, %swift.bridge** %._guts35._object._object, align 8
  %529 = icmp eq i64 %527, 85
  %530 = icmp eq %swift.bridge* %528, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond134 = select i1 %529, i1 %530, i1 false
  br i1 %or.cond134, label %.preheader, label %531

531:                                              ; preds = %525
  %532 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 85, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %527, %swift.bridge* %528, i8 0)
  br i1 %532, label %.preheader, label %533

533:                                              ; preds = %531
  %534 = icmp eq i64 %527, 68
  %or.cond135 = select i1 %534, i1 %530, i1 false
  br i1 %or.cond135, label %.preheader, label %537

535:                                              ; preds = %537
  %536 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %528) #5
  br label %.preheader

537:                                              ; preds = %533
  %538 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 68, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %527, %swift.bridge* %528, i8 0)
  br i1 %538, label %.preheader, label %535

.preheader:                                       ; preds = %533, %537, %525, %531, %535
  %539 = phi i64 [ %527, %535 ], [ 68, %531 ], [ 68, %525 ], [ 85, %537 ], [ 85, %533 ]
  %540 = phi %swift.bridge* [ %528, %535 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %531 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %525 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %537 ], [ inttoptr (i64 -2233785415175766016 to %swift.bridge*), %533 ]
  %541 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %542 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %541, i64 0, i32 0
  %543 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %542) #19
  store %Ts28__ContiguousArrayStorageBaseC* %541, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  br i1 %543, label %546, label %544

544:                                              ; preds = %.preheader
  %545 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSS_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %541)
  store %Ts28__ContiguousArrayStorageBaseC* %545, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  br label %546

546:                                              ; preds = %.preheader, %544
  %547 = phi %Ts28__ContiguousArrayStorageBaseC* [ %541, %.preheader ], [ %545, %544 ]
  %._storage41.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %547, i64 0, i32 1, i32 0, i32 0, i32 0
  %548 = load i64, i64* %._storage41.count._value, align 8, !range !6
  %.not192 = icmp ult i64 %503, %548
  br i1 %.not192, label %549, label %639, !prof !7

549:                                              ; preds = %546
  %550 = add nuw nsw i64 %503, 1
  %551 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %547, i64 1
  %tailaddr42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %551 to %TSS*
  %._guts43._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr42, i64 %503, i32 0, i32 0, i32 1
  %552 = load %swift.bridge*, %swift.bridge** %._guts43._object._object, align 8
  %._guts44._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr42, i64 %503, i32 0, i32 0, i32 0, i32 0
  store i64 %539, i64* %._guts44._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %540, %swift.bridge** %._guts43._object._object, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %547, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* %552) #5
  %553 = icmp eq i64 %550, %8
  br i1 %553, label %501, label %502

554:                                              ; preds = %501
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %256)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch49, i64 1, i8* null) #5
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %257)
  call void @swift_beginAccess(i8* nonnull %10, [24 x i8]* nonnull %access-scratch50, i64 1, i8* null) #5
  br label %556

.thread201:                                       ; preds = %.thread200, %601
  %555 = icmp eq i64 %261, 4
  br i1 %555, label %610, label %258

556:                                              ; preds = %554, %601
  %557 = phi i64 [ 0, %554 ], [ %602, %601 ]
  %558 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage52.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %558, i64 0, i32 1, i32 0, i32 0, i32 0
  %559 = load i64, i64* %._storage52.count._value, align 8, !range !6
  %.not193 = icmp ult i64 %557, %559
  br i1 %.not193, label %560, label %640, !prof !7

560:                                              ; preds = %556
  %561 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %558, i64 1
  %tailaddr53 = bitcast %Ts28__ContiguousArrayStorageBaseC* %561 to %T7llvm_OZ5PointV*
  %.x54._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr53, i64 %557, i32 0, i32 0
  %562 = load i64, i64* %.x54._value, align 8
  %.y55._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr53, i64 %557, i32 1, i32 0
  %563 = load i64, i64* %.y55._value, align 8
  %564 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %563)
  %565 = extractvalue { i64, i1 } %564, 0
  %566 = extractvalue { i64, i1 } %564, 1
  br i1 %566, label %641, label %567, !prof !8

567:                                              ; preds = %560
  %568 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %558, i64 0, i32 0
  %569 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %568) #19
  store %Ts28__ContiguousArrayStorageBaseC* %558, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %569, label %572, label %570

570:                                              ; preds = %567
  %571 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyF7llvm_OZ5PointV_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %558)
  store %Ts28__ContiguousArrayStorageBaseC* %571, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %572

572:                                              ; preds = %567, %570
  %573 = phi %Ts28__ContiguousArrayStorageBaseC* [ %558, %567 ], [ %571, %570 ]
  %._storage59.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %573, i64 0, i32 1, i32 0, i32 0, i32 0
  %574 = load i64, i64* %._storage59.count._value, align 8, !range !6
  %.not194 = icmp ult i64 %557, %574
  br i1 %.not194, label %575, label %642, !prof !7

575:                                              ; preds = %572
  %576 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %573, i64 1
  %tailaddr60 = bitcast %Ts28__ContiguousArrayStorageBaseC* %576 to %T7llvm_OZ5PointV*
  %.x61._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr60, i64 %557, i32 0, i32 0
  store i64 %565, i64* %.x61._value, align 8
  %.y62._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr60, i64 %557, i32 1, i32 0
  store i64 %562, i64* %.y62._value, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %573, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %577 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %._storage65.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %577, i64 0, i32 1, i32 0, i32 0, i32 0
  %578 = load i64, i64* %._storage65.count._value, align 8, !range !6
  %.not195 = icmp ult i64 %557, %578
  br i1 %.not195, label %579, label %643, !prof !7

579:                                              ; preds = %575
  %580 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %577, i64 1
  %tailaddr66 = bitcast %Ts28__ContiguousArrayStorageBaseC* %580 to %TSS*
  %._guts67._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr66, i64 %557, i32 0, i32 0, i32 0, i32 0
  %581 = load i64, i64* %._guts67._object._countAndFlagsBits._value, align 8
  %._guts67._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr66, i64 %557, i32 0, i32 0, i32 1
  %582 = load %swift.bridge*, %swift.bridge** %._guts67._object._object, align 8
  %583 = icmp eq i64 %581, 85
  %584 = icmp eq %swift.bridge* %582, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond136 = select i1 %583, i1 %584, i1 false
  br i1 %or.cond136, label %591, label %585

585:                                              ; preds = %579
  %586 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 85, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %581, %swift.bridge* %582, i8 0)
  br i1 %586, label %591, label %587

587:                                              ; preds = %585
  %588 = icmp eq i64 %581, 76
  %or.cond137 = select i1 %588, i1 %584, i1 false
  br i1 %or.cond137, label %591, label %589

589:                                              ; preds = %587
  %590 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 76, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %581, %swift.bridge* %582, i8 0)
  br i1 %590, label %591, label %606

591:                                              ; preds = %608, %606, %587, %579, %589, %585
  %592 = phi i64 [ 76, %585 ], [ 68, %589 ], [ 76, %579 ], [ 68, %587 ], [ 82, %606 ], [ %spec.select, %608 ]
  %593 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %594 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %593, i64 0, i32 0
  %595 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %594) #19
  store %Ts28__ContiguousArrayStorageBaseC* %593, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  br i1 %595, label %598, label %596

596:                                              ; preds = %591
  %597 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSS_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %593)
  store %Ts28__ContiguousArrayStorageBaseC* %597, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  br label %598

598:                                              ; preds = %591, %596
  %599 = phi %Ts28__ContiguousArrayStorageBaseC* [ %593, %591 ], [ %597, %596 ]
  %._storage73.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %599, i64 0, i32 1, i32 0, i32 0, i32 0
  %600 = load i64, i64* %._storage73.count._value, align 8, !range !6
  %.not196 = icmp ult i64 %557, %600
  br i1 %.not196, label %601, label %644, !prof !7

601:                                              ; preds = %598
  %602 = add nuw nsw i64 %557, 1
  %603 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %599, i64 1
  %tailaddr74 = bitcast %Ts28__ContiguousArrayStorageBaseC* %603 to %TSS*
  %._guts75._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr74, i64 %557, i32 0, i32 0, i32 1
  %604 = load %swift.bridge*, %swift.bridge** %._guts75._object._object, align 8
  %._guts76._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr74, i64 %557, i32 0, i32 0, i32 0, i32 0
  store i64 %592, i64* %._guts76._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._guts75._object._object, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %599, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* %604) #5
  %605 = icmp eq i64 %602, %8
  br i1 %605, label %.thread201, label %556

606:                                              ; preds = %589
  %607 = icmp eq i64 %581, 68
  %or.cond138 = select i1 %607, i1 %584, i1 false
  br i1 %or.cond138, label %591, label %608

608:                                              ; preds = %606
  %609 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 68, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 %581, %swift.bridge* %582, i8 0)
  %spec.select = select i1 %609, i64 82, i64 85
  br label %591

610:                                              ; preds = %.thread201
  %611 = icmp eq i64 %499, 9223372036854775807
  %612 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #20
  %613 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %612, i64 64, i64 7) #5
  %614 = bitcast %swift.refcounted* %613 to %Ts28__ContiguousArrayStorageBaseC*
  %615 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %613, i64 1
  %._storage85.count._value = bitcast %swift.refcounted* %615 to i64*
  store i64 1, i64* %._storage85.count._value, align 8
  %._storage85._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %613, i64 1, i32 1
  store i64 2, i64* %._storage85._capacityAndFlags, align 8
  %616 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %613, i64 2
  %617 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %613, i64 3, i32 1
  %618 = bitcast i64* %617 to %swift.type**
  %._guts88._object._countAndFlagsBits._value = bitcast %swift.refcounted* %616 to i64*
  br i1 %611, label %619, label %622

619:                                              ; preds = %610
  store %swift.type* @"$sSSN", %swift.type** %618, align 8
  store i64 1162232147, i64* %._guts88._object._countAndFlagsBits._value, align 8
  %._guts88._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %613, i64 2, i32 1
  %620 = bitcast i64* %._guts88._object._object to %swift.bridge**
  store %swift.bridge* inttoptr (i64 -2017612633061982208 to %swift.bridge*), %swift.bridge** %620, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %614, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  %621 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  br label %624

622:                                              ; preds = %610
  store %swift.type* @"$sSiN", %swift.type** %618, align 8
  store i64 %499, i64* %._guts88._object._countAndFlagsBits._value, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %614, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  %623 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %.elements._buffer._storage, align 8
  br label %624

624:                                              ; preds = %619, %622
  %.sink404 = phi %Ts28__ContiguousArrayStorageBaseC* [ %621, %619 ], [ %623, %622 ]
  call void @swift_release(%swift.refcounted* %613) #5
  %625 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.sink404, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %625) #5
  %626 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 8
  %627 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %626, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %627) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %10)
  %628 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %629 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %628, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %629) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %9)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %7)
  ret void

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

631:                                              ; preds = %15
  tail call void asm sideeffect "", "n"(i32 1) #5
  tail call void @llvm.trap()
  unreachable

632:                                              ; preds = %212
  tail call void asm sideeffect "", "n"(i32 3) #5
  tail call void @llvm.trap()
  unreachable

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

634:                                              ; preds = %.backedge
  call void asm sideeffect "", "n"(i32 8) #5
  call void @llvm.trap()
  unreachable

635:                                              ; preds = %502
  call void asm sideeffect "", "n"(i32 12) #5
  call void @llvm.trap()
  unreachable

636:                                              ; preds = %506
  call void asm sideeffect "", "n"(i32 13) #5
  call void @llvm.trap()
  unreachable

637:                                              ; preds = %518
  call void asm sideeffect "", "n"(i32 14) #5
  call void @llvm.trap()
  unreachable

638:                                              ; preds = %521
  call void asm sideeffect "", "n"(i32 15) #5
  call void @llvm.trap()
  unreachable

639:                                              ; preds = %546
  call void asm sideeffect "", "n"(i32 16) #5
  call void @llvm.trap()
  unreachable

640:                                              ; preds = %556
  call void asm sideeffect "", "n"(i32 19) #5
  call void @llvm.trap()
  unreachable

641:                                              ; preds = %560
  call void asm sideeffect "", "n"(i32 20) #5
  call void @llvm.trap()
  unreachable

642:                                              ; preds = %572
  call void asm sideeffect "", "n"(i32 21) #5
  call void @llvm.trap()
  unreachable

643:                                              ; preds = %575
  call void asm sideeffect "", "n"(i32 22) #5
  call void @llvm.trap()
  unreachable

644:                                              ; preds = %598
  call void asm sideeffect "", "n"(i32 23) #5
  call void @llvm.trap()
  unreachable

645:                                              ; preds = %.preheader204
  tail call void asm sideeffect "", "n"(i32 24) #5
  tail call void @llvm.trap()
  unreachable

646:                                              ; preds = %80
  tail call void asm sideeffect "", "n"(i32 25) #5
  tail call void @llvm.trap()
  unreachable

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

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

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

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

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

; 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: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned) local_unnamed_addr #5

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

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

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

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) #5
  %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) #5
  %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) #5
  %34 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %35 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %34, i64 0, i32 0
  %36 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %35) #19
  tail call void @swift_release(%swift.refcounted* nonnull %11) #5
  tail call void @swift_release(%swift.refcounted* nonnull %14) #5
  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) #5
  br label %55

55:                                               ; preds = %54, %62
  %56 = phi %Ts28__ContiguousArrayStorageBaseC* [ %70, %62 ], [ %51, %54 ]
  %57 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %56, i64 0, i32 0
  %58 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %57) #19
  tail call void @swift_release(%swift.refcounted* %11) #5
  tail call void @swift_release(%swift.refcounted* %14) #5
  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 !8

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) #5
  %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) #5
  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) #5
  tail call void @swift_release(%swift.refcounted* %14) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #5
  %88 = extractvalue { i64, %swift.bridge* } %81, 1
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %88) #5
  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 !8

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

107:                                              ; preds = %99
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %79, i64 0, i32 1, i32 0, i32 0, i32 0
  %108 = load i64, i64* %._storage4.count._value, align 8, !range !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 !7

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

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

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

127:                                              ; preds = %93
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %94, i64 0, i32 1, i32 0, i32 0, i32 0
  %128 = load i64, i64* %._storage11.count._value, align 8, !range !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) #5
  tail call void @llvm.trap()
  unreachable

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSnySiG_Tg5"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %Ts16IndexingIteratorVySnySiGG, align 8
  %3 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %1, i64 %0)
  %4 = extractvalue { i64, i1 } %3, 0
  %5 = extractvalue { i64, i1 } %3, 1
  br i1 %5, label %29, label %6, !prof !8

6:                                                ; preds = %entry
  %7 = icmp eq i64 %4, 0
  br i1 %7, label %10, label %8

8:                                                ; preds = %6
  %9 = icmp sgt i64 %4, 0
  br i1 %9, label %12, label %22

10:                                               ; preds = %6, %28
  %11 = phi %Ts28__ContiguousArrayStorageBaseC* [ %23, %28 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %6 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %11

12:                                               ; preds = %8
  %13 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #20
  %14 = shl i64 %4, 3
  %15 = add i64 %14, 32
  %16 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %13, i64 %15, i64 7) #5
  %17 = bitcast %swift.refcounted* %16 to %Ts28__ContiguousArrayStorageBaseC*
  %18 = bitcast %swift.refcounted* %16 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %18) #21
  %gepdiff = add nsw i64 %call.i, -32
  %19 = sdiv i64 %gepdiff, 8
  %20 = shl nsw i64 %19, 1
  %21 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %16, i64 1
  %._storage2.count._value = bitcast %swift.refcounted* %21 to i64*
  store i64 %4, i64* %._storage2.count._value, align 8
  %._storage2._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %16, i64 1, i32 1
  store i64 %20, i64* %._storage2._capacityAndFlags, align 8
  br label %22

22:                                               ; preds = %8, %12
  %23 = phi %Ts28__ContiguousArrayStorageBaseC* [ %17, %12 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %8 ]
  %24 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1
  %25 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %24 to i64
  %26 = bitcast %Ts16IndexingIteratorVySnySiGG* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 24, i8* nonnull %26)
  %27 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSnySiG_Tg5"(%Ts16IndexingIteratorVySnySiGG* noalias nocapture nonnull %2, i64 %25, i64 %4, i64 %0, i64 %1)
  %.not = icmp eq i64 %27, %4
  br i1 %.not, label %28, label %30, !prof !7

28:                                               ; preds = %22
  call void @llvm.lifetime.end.p0i8(i64 24, i8* nonnull %26)
  br label %10

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

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

; 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 #7 {
entry:
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  %4 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %4)
  store %Ts28__ContiguousArrayStorageBaseC* %5, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  ret void
}

; 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 #7 {
entry:
  br i1 %2, label %4, label %14

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

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

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") #20
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

33:                                               ; preds = %29
  %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") #19
  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) #5
  ret %Ts28__ContiguousArrayStorageBaseC* %30

47:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #5
  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 #7 {
entry:
  br i1 %2, label %4, label %14

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

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

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") #20
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 32
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

; 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 #7 {
entry:
  br i1 %2, label %4, label %14

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

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

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") #20
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 8
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

32:                                               ; preds = %29
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %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) #5
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

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

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

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

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_ContiguousArrayStorageCy7llvm_OZ5PointVGMD") #20
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

32:                                               ; preds = %29
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %T7llvm_OZ5PointV*
  %35 = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %T7llvm_OZ5PointV*
  %37 = icmp ugt %T7llvm_OZ5PointV* %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_SitF7llvm_OZ5PointV_Tg5.exit", label %.sink.split.i

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

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

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

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

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

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

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

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

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

4:                                                ; preds = %entry
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 1, i32 0, i32 0, i32 0
  %5 = load i64, i64* %._storage.count._value, align 8, !range !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 !8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

147:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #5
  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 #7 {
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) #5
  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 #7 {
entry:
  %4 = alloca %Ts16IndexingIteratorVySs8UTF8ViewVG, align 8
  %5 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %6 = ptrtoint %swift.bridge* %3 to i64
  %7 = and i64 %6, 1152921504606846976
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %27, label %9, !prof !7

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

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

18:                                               ; preds = %12
  %._elements._slice._base._guts._object._object = getelementptr inbounds %Ts16IndexingIteratorVySs8UTF8ViewVG, %Ts16IndexingIteratorVySs8UTF8ViewVG* %4, i64 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 1
  %19 = load %swift.bridge*, %swift.bridge** %._elements._slice._base._guts._object._object, align 8
  %20 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %19) #5
  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 !11
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %26) #5
  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 !8

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) #5
  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 !8

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

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

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

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

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

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

45:                                               ; preds = %33
  tail call void asm sideeffect "", "n"(i32 1) #5
  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") #20
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #5
  %8 = bitcast %swift.refcounted* %7 to %Ts28__ContiguousArrayStorageBaseC*
  %9 = bitcast %swift.refcounted* %7 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %9) #21
  %gepdiff = shl i64 %call.i, 1
  %10 = add i64 %gepdiff, -64
  %11 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1
  %._storage1.count._value = bitcast %swift.refcounted* %11 to i64*
  store i64 %0, i64* %._storage1.count._value, align 8
  %._storage1._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1, i32 1
  store i64 %10, i64* %._storage1._capacityAndFlags, align 8
  br label %12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

94:                                               ; preds = %76
  tail call void asm sideeffect "", "n"(i32 3) #5
  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 #7 {
entry:
  %3 = ptrtoint %swift.bridge* %2 to i64
  %4 = and i64 %3, 1152921504606846976
  %5 = icmp ne i64 %4, 0
  %6 = and i64 %1, 576460752303423488
  %7 = icmp eq i64 %6, 0
  %or.cond = select i1 %5, i1 %7, i1 false
  %8 = lshr i64 %0, 16
  %9 = lshr i64 %0, 14
  %10 = and i64 %9, 3
  %11 = icmp eq i64 %10, 0
  br i1 %or.cond, label %12, label %25

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSS_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #7 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !6
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_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_consumeAndCreateNewAByxGyF7llvm_OZ5PointV_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #7 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !6
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtF7llvm_OZ5PointV_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize nounwind optsize
define linkonce_odr hidden i8* @__swift_memcpy16_8(i8* %0, i8* %1, %swift.type* %2) #10 {
entry:
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %0, i8* noundef nonnull align 8 dereferenceable(16) %1, i64 16, i1 false)
  ret i8* %0
}

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

; Function Attrs: minsize nounwind optsize
define linkonce_odr hidden void @__swift_noop_void_return(i8* %0, %swift.type* %1) #10 {
entry:
  ret void
}

; Function Attrs: argmemonly minsize mustprogress nofree norecurse nosync nounwind optsize readonly willreturn
define internal i32 @"$s7llvm_OZ5PointVwet"(%swift.opaque* noalias nocapture readonly %value, i32 %numEmptyCases, %swift.type* nocapture readnone %Point) #12 {
entry:
  %.not = icmp eq i32 %numEmptyCases, 0
  br i1 %.not, label %10, label %0

0:                                                ; preds = %entry
  %1 = bitcast %swift.opaque* %value to i8*
  %2 = getelementptr inbounds i8, i8* %1, i64 16
  %3 = load i8, i8* %2, align 1
  %4 = icmp eq i8 %3, 0
  br i1 %4, label %10, label %5

5:                                                ; preds = %0
  %6 = bitcast %swift.opaque* %value to i128*
  %7 = load i128, i128* %6, align 1
  %8 = trunc i128 %7 to i32
  %9 = add i32 %8, 1
  br label %10

10:                                               ; preds = %entry, %0, %5
  %11 = phi i32 [ %9, %5 ], [ 0, %0 ], [ 0, %entry ]
  ret i32 %11
}

; Function Attrs: argmemonly minsize mustprogress nofree norecurse nosync nounwind optsize willreturn writeonly
define internal void @"$s7llvm_OZ5PointVwst"(%swift.opaque* noalias nocapture writeonly %value, i32 %whichCase, i32 %numEmptyCases, %swift.type* nocapture readnone %Point) #13 {
entry:
  %0 = bitcast %swift.opaque* %value to i8*
  %1 = getelementptr inbounds i8, i8* %0, i64 16
  %.not = icmp eq i32 %numEmptyCases, 0
  %2 = icmp eq i32 %whichCase, 0
  br i1 %2, label %3, label %4

3:                                                ; preds = %entry
  br i1 %.not, label %8, label %.sink.split

4:                                                ; preds = %entry
  %5 = add i32 %whichCase, -1
  %6 = zext i32 %5 to i128
  %7 = bitcast %swift.opaque* %value to i128*
  store i128 %6, i128* %7, align 8
  br i1 %.not, label %8, label %.sink.split

.sink.split:                                      ; preds = %4, %3
  %.sink = phi i8 [ 0, %3 ], [ 1, %4 ]
  store i8 %.sink, i8* %1, align 8
  br label %8

8:                                                ; preds = %.sink.split, %4, %3
  ret void
}

; Function Attrs: minsize mustprogress nofree noinline norecurse nosync nounwind optsize readnone willreturn
define hidden swiftcc %swift.metadata_response @"$s7llvm_OZ5PointVMa"(i64 %0) #14 {
entry:
  ret %swift.metadata_response { %swift.type* bitcast (i64* getelementptr inbounds (<{ i8*, i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, i32 }>, <{ i8*, i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, i32 }>* @"$s7llvm_OZ5PointVMf", i32 0, i32 2) to %swift.type*), i64 0 }
}

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

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

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

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

8:                                                ; preds = %entry
  %9 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %5)
  br label %common.ret

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %0, %Ts22__RawDictionaryStorageC* swiftself %1) local_unnamed_addr #7 {
entry:
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %1, i64 0, i32 7, i32 0
  %2 = load i64, i64* %._value, align 8
  %3 = tail call swiftcc i64 @"$ss6HasherV5_hash4seed_S2i_s6UInt64VtFZ"(i64 %2, i64 %0)
  %4 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSi_Tg5"(i64 %0, i64 %3, %Ts22__RawDictionaryStorageC* swiftself %1)
  ret { i64, i1 } %4
}

; Function Attrs: minsize optsize
declare swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1, i64, %swift.type*, %Ts17_NativeDictionaryV* nocapture swiftself dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: minsize noinline optsize
declare swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type*) local_unnamed_addr #7

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSi_Tg5"(i64 %0, i64 %1, %Ts22__RawDictionaryStorageC* swiftself %2) local_unnamed_addr #7 {
entry:
  %3 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 1
  %tailaddr = bitcast %Ts22__RawDictionaryStorageC* %3 to %Ts13_UnsafeBitsetV4WordV*
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 3, i32 0
  %4 = load i8, i8* %._value, align 8
  %5 = and i8 %4, 63
  %6 = zext i8 %5 to i64
  %notmask = shl nsw i64 -1, %6
  %7 = xor i64 %notmask, -1
  %8 = and i64 %7, %1
  %9 = lshr i64 %8, 6
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %9, i32 0, i32 0
  %10 = load i64, i64* %.value._value, align 8
  %11 = and i64 %8, 63
  %12 = shl nuw i64 1, %11
  %13 = and i64 %12, %10
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %.loopexit, label %15

15:                                               ; preds = %entry
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 8, i32 0
  %16 = bitcast i8** %._rawValue to %TSi**
  %17 = load %TSi*, %TSi** %16, align 8
  %._value1 = getelementptr inbounds %TSi, %TSi* %17, i64 %8, i32 0
  %18 = load i64, i64* %._value1, align 8
  %19 = icmp eq i64 %18, %0
  br i1 %19, label %.loopexit, label %20

20:                                               ; preds = %15
  %21 = add i64 %8, 1
  %22 = and i64 %21, %7
  %23 = lshr i64 %22, 6
  %.value2._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %23, i32 0, i32 0
  %24 = load i64, i64* %.value2._value, align 8
  %25 = and i64 %22, 63
  %26 = shl nuw i64 1, %25
  %27 = and i64 %24, %26
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %36, %20, %15, %entry
  %29 = phi i64 [ %8, %entry ], [ %8, %15 ], [ %22, %20 ], [ %33, %.preheader ], [ %38, %36 ]
  %30 = phi i1 [ false, %entry ], [ true, %15 ], [ false, %20 ], [ %35, %36 ], [ %35, %.preheader ]
  %31 = insertvalue { i64, i1 } undef, i64 %29, 0
  %32 = insertvalue { i64, i1 } %31, i1 %30, 1
  ret { i64, i1 } %32

.preheader:                                       ; preds = %20, %36
  %33 = phi i64 [ %38, %36 ], [ %22, %20 ]
  %._value3 = getelementptr inbounds %TSi, %TSi* %17, i64 %33, i32 0
  %34 = load i64, i64* %._value3, align 8
  %35 = icmp eq i64 %34, %0
  br i1 %35, label %.loopexit, label %36

36:                                               ; preds = %.preheader
  %37 = add i64 %33, 1
  %38 = and i64 %37, %7
  %39 = lshr i64 %38, 6
  %.value4._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %39, i32 0, i32 0
  %40 = load i64, i64* %.value4._value, align 8
  %41 = and i64 %38, 63
  %42 = shl nuw i64 1, %41
  %43 = and i64 %40, %42
  %44 = icmp eq i64 %43, 0
  br i1 %44, label %.loopexit, label %.preheader
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFSi_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1cn_n"(%TSrySiG* nocapture dereferenceable(16) %0, %TSa* nocapture dereferenceable(8) %1, %swift.refcounted* swiftself %2, %swift.error** noalias nocapture swifterror dereferenceable(8) %3) local_unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch51 = alloca [24 x i8], align 8
  %.count._value = getelementptr inbounds %TSrySiG, %TSrySiG* %0, i64 0, i32 1, i32 0
  %4 = load i64, i64* %.count._value, align 8
  %5 = tail call swiftcc i64 @"$ss22_minimumMergeRunLengthyS2iF"(i64 %4)
  %6 = icmp slt i64 %5, %4
  br i1 %6, label %7, label %12

7:                                                ; preds = %entry
  %8 = sdiv i64 %4, 2
  %9 = icmp slt i64 %4, -1
  br i1 %9, label %319, label %10, !prof !8

10:                                               ; preds = %7
  %11 = icmp sgt i64 %4, 1
  br i1 %11, label %.thread, label %19

12:                                               ; preds = %entry
  %13 = icmp slt i64 %4, 0
  br i1 %13, label %318, label %14, !prof !8

14:                                               ; preds = %12
  %15 = icmp eq i64 %4, 0
  br i1 %15, label %common.ret, label %316

.thread:                                          ; preds = %10
  %16 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %8, %swift.type* nonnull @"$sSiN")
  %._storage71.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %8, i64* %._storage71.count._value, align 8
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 1
  %18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %17 to i8*
  br label %21

19:                                               ; preds = %10
  %20 = icmp eq i64 %4, 1
  br i1 %20, label %21, label %..loopexit167_crit_edge

..loopexit167_crit_edge:                          ; preds = %19
  %.pre249 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !6
  br label %.loopexit167

21:                                               ; preds = %.thread, %19
  %22 = phi i8* [ %18, %.thread ], [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %19 ]
  %23 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %.thread ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %19 ]
  %24 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %24)
  %25 = bitcast %TSa* %1 to i8*
  call void @swift_beginAccess(i8* nonnull %25, [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #5
  %26 = bitcast %TSrySiG* %0 to i64*
  %._buffer60._storage = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  %27 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch51, i64 0, i64 0
  br label %28

28:                                               ; preds = %.loopexit, %21
  %29 = phi i64 [ 0, %21 ], [ %100, %.loopexit ]
  %30 = phi i64 [ %4, %21 ], [ %82, %.loopexit ]
  %31 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %21 ], [ %119, %.loopexit ]
  %32 = add nsw i64 %29, 1
  %33 = icmp slt i64 %32, %30
  br i1 %33, label %34, label %.loopexit164

34:                                               ; preds = %28
  %35 = load i64, i64* %26, align 8
  %36 = inttoptr i64 %35 to %TSi*
  %._value58 = getelementptr inbounds %TSi, %TSi* %36, i64 %32, i32 0
  %37 = load i64, i64* %._value58, align 8
  %._value59 = getelementptr inbounds %TSi, %TSi* %36, i64 %29, i32 0
  %38 = load i64, i64* %._value59, align 8
  %39 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer60._storage, align 8
  %40 = icmp slt i64 %37, 0
  br i1 %40, label %349, label %41, !prof !8

41:                                               ; preds = %34
  %._storage61.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 1, i32 0, i32 0, i32 0
  %42 = load i64, i64* %._storage61.count._value, align 8, !range !6
  %.not154 = icmp ult i64 %37, %42
  br i1 %.not154, label %43, label %350, !prof !7

43:                                               ; preds = %41
  %44 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 1
  %tailaddr62 = bitcast %Ts28__ContiguousArrayStorageBaseC* %44 to %T7llvm_OZ5PointV*
  %.not155 = icmp ult i64 %38, %42
  br i1 %.not155, label %45, label %351, !prof !7

45:                                               ; preds = %43
  %.x63._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr62, i64 %37, i32 0, i32 0
  %46 = load i64, i64* %.x63._value, align 8
  %.x64._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr62, i64 %38, i32 0, i32 0
  %47 = load i64, i64* %.x64._value, align 8
  %48 = icmp slt i64 %47, %46
  %49 = add nsw i64 %29, 2
  %50 = icmp slt i64 %49, %30
  br i1 %50, label %.preheader165, label %.loopexit166

.preheader165:                                    ; preds = %45, %60
  %51 = phi i64 [ %57, %60 ], [ %46, %45 ]
  %52 = phi i64 [ %54, %60 ], [ %37, %45 ]
  %53 = phi i64 [ %61, %60 ], [ %49, %45 ]
  %._value67 = getelementptr inbounds %TSi, %TSi* %36, i64 %53, i32 0
  %54 = load i64, i64* %._value67, align 8
  %.not156 = icmp ult i64 %54, %42
  br i1 %.not156, label %55, label %354, !prof !7

55:                                               ; preds = %.preheader165
  %.not157 = icmp ult i64 %52, %42
  br i1 %.not157, label %56, label %355, !prof !7

56:                                               ; preds = %55
  %.x69._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr62, i64 %54, i32 0, i32 0
  %57 = load i64, i64* %.x69._value, align 8
  %58 = icmp sge i64 %51, %57
  %59 = xor i1 %48, %58
  br i1 %59, label %60, label %.loopexit166

60:                                               ; preds = %56
  %61 = add nsw i64 %53, 1
  %62 = icmp slt i64 %61, %30
  br i1 %62, label %.preheader165, label %.loopexit166

.loopexit166:                                     ; preds = %60, %56, %45
  %63 = phi i64 [ %49, %45 ], [ %30, %60 ], [ %53, %56 ]
  br i1 %48, label %64, label %.loopexit164

64:                                               ; preds = %.loopexit166
  %65 = icmp slt i64 %63, %29
  br i1 %65, label %352, label %66, !prof !8

66:                                               ; preds = %64
  %67 = icmp slt i64 %29, %63
  br i1 %67, label %.preheader, label %.loopexit164

.preheader:                                       ; preds = %66, %78
  %68 = phi i64 [ %70, %78 ], [ %63, %66 ]
  %69 = phi i64 [ %79, %78 ], [ %29, %66 ]
  %70 = add nsw i64 %68, -1
  %71 = load i64, i64* %26, align 8
  %72 = icmp eq i64 %69, %70
  br i1 %72, label %78, label %73

73:                                               ; preds = %.preheader
  %74 = icmp eq i64 %71, 0
  br i1 %74, label %353, label %75

75:                                               ; preds = %73
  %76 = inttoptr i64 %71 to %TSi*
  %._value65 = getelementptr inbounds %TSi, %TSi* %76, i64 %69, i32 0
  %77 = load i64, i64* %._value65, align 8
  %storemerge.in = getelementptr inbounds %TSi, %TSi* %76, i64 %70, i32 0
  %storemerge = load i64, i64* %storemerge.in, align 8
  store i64 %storemerge, i64* %._value65, align 8
  store i64 %77, i64* %storemerge.in, align 8
  br label %78

78:                                               ; preds = %.preheader, %75
  %79 = add nsw i64 %69, 1
  %80 = icmp slt i64 %79, %70
  br i1 %80, label %.preheader, label %.loopexit164

.loopexit164:                                     ; preds = %78, %66, %.loopexit166, %28
  %81 = phi i64 [ %32, %28 ], [ %63, %.loopexit166 ], [ %63, %66 ], [ %63, %78 ]
  %82 = load i64, i64* %.count._value, align 8
  %83 = icmp slt i64 %81, %82
  br i1 %83, label %84, label %.loopexit163

84:                                               ; preds = %.loopexit164
  %85 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %81, i64 %29)
  %86 = extractvalue { i64, i1 } %85, 1
  br i1 %86, label %342, label %87, !prof !8

87:                                               ; preds = %84
  %88 = extractvalue { i64, i1 } %85, 0
  %89 = icmp slt i64 %88, %5
  br i1 %89, label %90, label %.loopexit163

90:                                               ; preds = %87
  %91 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %29, i64 %5)
  %92 = extractvalue { i64, i1 } %91, 1
  br i1 %92, label %343, label %93, !prof !8

93:                                               ; preds = %90
  %94 = extractvalue { i64, i1 } %91, 0
  %95 = call i64 @llvm.smin.i64(i64 %94, i64 %82)
  %96 = icmp slt i64 %95, %29
  br i1 %96, label %344, label %97, !prof !8

97:                                               ; preds = %93
  %98 = icmp eq i64 %81, %95
  br i1 %98, label %.loopexit163, label %99

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %27)
  call void @swift_beginAccess(i8* nonnull %25, [24 x i8]* nonnull %access-scratch51, i64 0, i8* null) #5
  br label %290

.loopexit163:                                     ; preds = %311, %97, %87, %.loopexit164
  %100 = phi i64 [ %81, %.loopexit164 ], [ %81, %87 ], [ %81, %97 ], [ %95, %311 ]
  %101 = icmp slt i64 %100, %29
  br i1 %101, label %325, label %102, !prof !8

102:                                              ; preds = %.loopexit163
  %103 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 0
  %104 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %103) #19
  br i1 %104, label %109, label %105

105:                                              ; preds = %102
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 1, i32 0, i32 0, i32 0
  %106 = load i64, i64* %._storage13.count._value, align 8, !range !6
  %107 = add nuw nsw i64 %106, 1
  %108 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %107, i1 true, %Ts28__ContiguousArrayStorageBaseC* %31)
  br label %109

109:                                              ; preds = %102, %105
  %110 = phi %Ts28__ContiguousArrayStorageBaseC* [ %108, %105 ], [ %31, %102 ]
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %110, i64 0, i32 1, i32 0, i32 0, i32 0
  %111 = load i64, i64* %._storage14.count._value, align 8, !range !6
  %._storage14._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %110, i64 0, i32 1, i32 0, i32 1, i32 0
  %112 = load i64, i64* %._storage14._capacityAndFlags._value, align 8
  %113 = lshr i64 %112, 1
  %114 = add nuw nsw i64 %111, 1
  %.not146 = icmp ugt i64 %113, %111
  br i1 %.not146, label %118, label %115, !prof !7

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

118:                                              ; preds = %109, %115
  %119 = phi %Ts28__ContiguousArrayStorageBaseC* [ %117, %115 ], [ %110, %109 ]
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %114, i64* %._storage15.count._value, align 8
  %120 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 1
  %tailaddr16 = bitcast %Ts28__ContiguousArrayStorageBaseC* %120 to %TSnySiG*
  %.lowerBound17._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %111, i32 0, i32 0
  store i64 %29, i64* %.lowerBound17._value, align 8
  %.upperBound18._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %111, i32 1, i32 0
  store i64 %100, i64* %.upperBound18._value, align 8
  %.not161 = icmp eq i64 %111, 0
  br i1 %.not161, label %.loopexit, label %thread-pre-split

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

123:                                              ; preds = %thread-pre-split, %272
  %124 = phi i64 [ %114, %thread-pre-split ], [ %273, %272 ]
  %125 = add nsw i64 %124, -1
  %126 = icmp ult i64 %124, 4
  br i1 %126, label %154, label %127

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

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

141:                                              ; preds = %134
  %142 = add nsw i64 %124, -2
  %.lowerBound26._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %142, i32 0, i32 0
  %143 = load i64, i64* %.lowerBound26._value, align 8
  %.upperBound27._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %142, i32 1, i32 0
  %144 = load i64, i64* %.upperBound27._value, align 8
  %145 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %144, i64 %143)
  %146 = extractvalue { i64, i1 } %145, 1
  br i1 %146, label %328, label %147, !prof !8

147:                                              ; preds = %141
  %148 = extractvalue { i64, i1 } %145, 0
  %149 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %139, i64 %148)
  %150 = extractvalue { i64, i1 } %149, 1
  br i1 %150, label %329, label %151, !prof !8

151:                                              ; preds = %147
  %152 = extractvalue { i64, i1 } %149, 0
  %153 = icmp slt i64 %152, %132
  br i1 %153, label %.thread159, label %282

154:                                              ; preds = %123
  %.not162 = icmp eq i64 %124, 3
  br i1 %.not162, label %..thread159_crit_edge, label %._crit_edge

..thread159_crit_edge:                            ; preds = %154
  %.pre246 = load i64, i64* %122, align 8
  %.pre = load i64, i64* %.lowerBound40._value.phi.trans.insert, align 8
  %.pre250 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre246, i64 %.pre)
  %.pre252 = extractvalue { i64, i1 } %.pre250, 0
  br label %.thread159

.thread159:                                       ; preds = %..thread159_crit_edge, %151
  %.pre-phi253 = phi i64 [ %.pre252, %..thread159_crit_edge ], [ %139, %151 ]
  %.pre-phi251 = phi { i64, i1 } [ %.pre250, %..thread159_crit_edge ], [ %138, %151 ]
  %155 = extractvalue { i64, i1 } %.pre-phi251, 1
  br i1 %155, label %336, label %156, !prof !8

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

163:                                              ; preds = %156
  %.lowerBound44._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 0, i32 0
  %164 = load i64, i64* %.lowerBound44._value, align 8
  %.upperBound45._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 1, i32 0
  %165 = load i64, i64* %.upperBound45._value, align 8
  %166 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %165, i64 %164)
  %167 = extractvalue { i64, i1 } %166, 0
  %168 = extractvalue { i64, i1 } %166, 1
  br i1 %168, label %338, label %169, !prof !8

169:                                              ; preds = %163
  %170 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %161, i64 %167)
  %171 = extractvalue { i64, i1 } %170, 1
  br i1 %171, label %339, label %172, !prof !8

172:                                              ; preds = %169
  %173 = extractvalue { i64, i1 } %170, 0
  %174 = icmp slt i64 %173, %.pre-phi253
  br i1 %174, label %.thread160, label %280

._crit_edge:                                      ; preds = %154
  %.pre247 = load i64, i64* %.lowerBound47._value.phi.trans.insert, align 8
  %.pre248 = load i64, i64* %121, align 8
  %.pre254 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre248, i64 %.pre247)
  %.pre256 = extractvalue { i64, i1 } %.pre254, 0
  br label %.thread160

.thread160:                                       ; preds = %172, %._crit_edge
  %.pre-phi257 = phi i64 [ %.pre256, %._crit_edge ], [ %161, %172 ]
  %.pre-phi255 = phi { i64, i1 } [ %.pre254, %._crit_edge ], [ %160, %172 ]
  %175 = extractvalue { i64, i1 } %.pre-phi255, 1
  br i1 %175, label %340, label %176, !prof !8

176:                                              ; preds = %.thread160
  %.lowerBound49._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 0, i32 0
  %177 = load i64, i64* %.lowerBound49._value, align 8
  %.upperBound50._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 1, i32 0
  %178 = load i64, i64* %.upperBound50._value, align 8
  %179 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %178, i64 %177)
  %180 = extractvalue { i64, i1 } %179, 1
  br i1 %180, label %341, label %181, !prof !8

181:                                              ; preds = %176
  %182 = extractvalue { i64, i1 } %179, 0
  %183 = icmp slt i64 %182, %.pre-phi257
  br i1 %183, label %.loopexit, label %246

.loopexit:                                        ; preds = %272, %181, %118
  %184 = phi i64 [ 1, %118 ], [ %273, %272 ], [ %124, %181 ]
  %185 = icmp slt i64 %100, %82
  br i1 %185, label %28, label %.loopexit167

.loopexit167:                                     ; preds = %.loopexit, %..loopexit167_crit_edge
  %186 = phi i64 [ %.pre249, %..loopexit167_crit_edge ], [ %184, %.loopexit ]
  %187 = phi i8* [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %..loopexit167_crit_edge ], [ %22, %.loopexit ]
  %188 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit167_crit_edge ], [ %23, %.loopexit ]
  %189 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit167_crit_edge ], [ %119, %.loopexit ]
  %190 = icmp ugt i64 %186, 1
  br i1 %190, label %191, label %.loopexit299

191:                                              ; preds = %.loopexit167
  %192 = bitcast %TSrySiG* %0 to i64*
  %193 = load i64, i64* %192, align 8
  %194 = icmp eq i64 %193, 0
  %195 = inttoptr i64 %193 to %TSi*
  br label %196

196:                                              ; preds = %229, %191
  %197 = phi i64 [ %186, %191 ], [ %230, %229 ]
  %198 = phi %Ts28__ContiguousArrayStorageBaseC* [ %189, %191 ], [ %224, %229 ]
  %199 = add nsw i64 %197, -1
  %200 = add nsw i64 %197, -2
  %201 = icmp ult i64 %197, 2
  br i1 %201, label %320, label %202, !prof !8

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

206:                                              ; preds = %202
  %.lowerBound4._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %199, i32 0, i32 0
  %207 = load i64, i64* %.lowerBound4._value, align 8
  %208 = getelementptr inbounds %TSi, %TSi* %195, i64 %204
  %209 = bitcast %TSi* %208 to i8*
  %210 = getelementptr inbounds %TSi, %TSi* %195, i64 %207
  %211 = bitcast %TSi* %210 to i8*
  %212 = getelementptr inbounds %TSi, %TSi* %195, i64 %205
  %213 = bitcast %TSi* %212 to i8*
  %214 = call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSi_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1nnnnc_n"(i8* nonnull %209, i8* nonnull %211, i8* nonnull %213, i8* nonnull %187, %TSa* nocapture nonnull dereferenceable(8) %1, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3)
  %215 = load %swift.error*, %swift.error** %3, align 8
  %.not143 = icmp eq %swift.error* %215, null
  br i1 %.not143, label %216, label %.loopexit298

216:                                              ; preds = %206
  %217 = icmp slt i64 %205, %204
  br i1 %217, label %322, label %218, !prof !8

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

221:                                              ; preds = %218
  %222 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %198)
  br label %223

223:                                              ; preds = %218, %221
  %224 = phi %Ts28__ContiguousArrayStorageBaseC* [ %222, %221 ], [ %198, %218 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %224, i64 0, i32 1, i32 0, i32 0, i32 0
  %225 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %.not144 = icmp ult i64 %200, %225
  br i1 %.not144, label %226, label %323, !prof !7

226:                                              ; preds = %223
  %227 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %224, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %227 to %TSnySiG*
  %.lowerBound8._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %200, i32 0, i32 0
  store i64 %204, i64* %.lowerBound8._value, align 8
  %.upperBound9._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %200, i32 1, i32 0
  store i64 %205, i64* %.upperBound9._value, align 8
  %228 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %.not145 = icmp ugt i64 %197, %228
  br i1 %.not145, label %324, label %229, !prof !8

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

.loopexit299:                                     ; preds = %229, %.loopexit167
  %.lcssa272.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %189, %.loopexit167 ], [ %224, %229 ]
  %238 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa272.sink, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %238) #5
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %188, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage1.count._value, align 8
  %239 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %188, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %239) #5
  br label %common.ret

common.ret:                                       ; preds = %316, %14, %.loopexit299, %244
  ret void

.loopexit298:                                     ; preds = %255, %206
  %.lcssa291.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %198, %206 ], [ %119, %255 ]
  %240 = phi %Ts28__ContiguousArrayStorageBaseC* [ %188, %206 ], [ %23, %255 ]
  %241 = phi %swift.error* [ %215, %206 ], [ %265, %255 ]
  %242 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa291.sink, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %242) #5
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %240, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage5.count._value, align 8
  %243 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %240, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %243) #5
  br label %244

244:                                              ; preds = %316, %.loopexit298
  %245 = phi %swift.error* [ %241, %.loopexit298 ], [ %317, %316 ]
  store %swift.error* %245, %swift.error** %3, align 8
  br label %common.ret

246:                                              ; preds = %287, %280, %181
  %247 = phi i64 [ %125, %181 ], [ %.72, %280 ], [ %.73, %287 ]
  %248 = add nsw i64 %247, -1
  %.not147 = icmp ult i64 %248, %124
  br i1 %.not147, label %249, label %331, !prof !7

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

255:                                              ; preds = %249
  %.lowerBound32._value = getelementptr inbounds %TSnySiG, %TSnySiG* %251, i64 0, i32 0, i32 0
  %256 = load i64, i64* %.lowerBound32._value, align 8
  %257 = inttoptr i64 %253 to %TSi*
  %258 = getelementptr inbounds %TSi, %TSi* %257, i64 %250
  %259 = bitcast %TSi* %258 to i8*
  %260 = getelementptr inbounds %TSi, %TSi* %257, i64 %256
  %261 = bitcast %TSi* %260 to i8*
  %262 = getelementptr inbounds %TSi, %TSi* %257, i64 %252
  %263 = bitcast %TSi* %262 to i8*
  %264 = call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSi_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1nnnnc_n"(i8* nonnull %259, i8* nonnull %261, i8* nonnull %263, i8* nonnull %22, %TSa* nocapture nonnull dereferenceable(8) %1, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3)
  %265 = load %swift.error*, %swift.error** %3, align 8
  %.not149 = icmp eq %swift.error* %265, null
  br i1 %.not149, label %266, label %.loopexit298

266:                                              ; preds = %255
  %267 = icmp slt i64 %252, %250
  br i1 %267, label %333, label %268, !prof !8

268:                                              ; preds = %266
  %269 = load i64, i64* %._storage15.count._value, align 8, !range !6
  %.not150 = icmp ult i64 %248, %269
  br i1 %.not150, label %270, label %334, !prof !7

270:                                              ; preds = %268
  store i64 %250, i64* %.lowerBound31._value, align 8
  %.upperBound37._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %248, i32 1, i32 0
  store i64 %252, i64* %.upperBound37._value, align 8
  %271 = load i64, i64* %._storage15.count._value, align 8, !range !6
  %.not151 = icmp ult i64 %247, %271
  br i1 %.not151, label %272, label %335, !prof !7

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

280:                                              ; preds = %172
  %281 = icmp slt i64 %.pre-phi253, %167
  %.72 = select i1 %281, i64 %157, i64 %125
  br label %246

282:                                              ; preds = %151
  %.lowerBound28._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 0, i32 0
  %283 = load i64, i64* %.lowerBound28._value, align 8
  %.upperBound29._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %125, i32 1, i32 0
  %284 = load i64, i64* %.upperBound29._value, align 8
  %285 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %284, i64 %283)
  %286 = extractvalue { i64, i1 } %285, 1
  br i1 %286, label %330, label %287, !prof !8

287:                                              ; preds = %282
  %288 = extractvalue { i64, i1 } %285, 0
  %289 = icmp slt i64 %139, %288
  %.73 = select i1 %289, i64 %142, i64 %125
  br label %246

290:                                              ; preds = %311, %99
  %291 = phi i64 [ %81, %99 ], [ %312, %311 ]
  %292 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer60._storage, align 8
  %293 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 1
  %tailaddr52 = bitcast %Ts28__ContiguousArrayStorageBaseC* %293 to %T7llvm_OZ5PointV*
  %._storage53.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %292, i64 0, i32 1, i32 0, i32 0, i32 0
  br label %294

294:                                              ; preds = %314, %290
  %295 = phi i64 [ %291, %290 ], [ %296, %314 ]
  %296 = add i64 %295, -1
  %297 = load i64, i64* %26, align 8
  %298 = inttoptr i64 %297 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %298, i64 %295, i32 0
  %299 = load i64, i64* %._value, align 8
  %._value54 = getelementptr inbounds %TSi, %TSi* %298, i64 %296, i32 0
  %300 = load i64, i64* %._value54, align 8
  %301 = icmp slt i64 %299, 0
  br i1 %301, label %345, label %302, !prof !8

302:                                              ; preds = %294
  %303 = load i64, i64* %._storage53.count._value, align 8, !range !6
  %.not152 = icmp ult i64 %299, %303
  br i1 %.not152, label %304, label %346, !prof !7

304:                                              ; preds = %302
  %.not153 = icmp ult i64 %300, %303
  br i1 %.not153, label %305, label %347, !prof !7

305:                                              ; preds = %304
  %.x._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr52, i64 %299, i32 0, i32 0
  %306 = load i64, i64* %.x._value, align 8
  %.x55._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr52, i64 %300, i32 0, i32 0
  %307 = load i64, i64* %.x55._value, align 8
  %308 = icmp slt i64 %307, %306
  br i1 %308, label %309, label %311

309:                                              ; preds = %305
  %310 = icmp eq i64 %297, 0
  br i1 %310, label %348, label %314

311:                                              ; preds = %314, %305
  %312 = add i64 %291, 1
  %313 = icmp eq i64 %312, %95
  br i1 %313, label %.loopexit163, label %290

314:                                              ; preds = %309
  store i64 %300, i64* %._value, align 8
  store i64 %299, i64* %._value54, align 8
  %315 = icmp eq i64 %296, %29
  br i1 %315, label %311, label %294

316:                                              ; preds = %14
  tail call swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySiG_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1nncn_n"(i64 0, i64 %4, i64 1, %TSrySiG* nocapture nonnull dereferenceable(16) %0, %TSa* nocapture nonnull dereferenceable(8) %1, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3)
  %317 = load %swift.error*, %swift.error** %3, align 8
  %.not = icmp eq %swift.error* %317, null
  br i1 %.not, label %common.ret, label %244

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

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

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

321:                                              ; preds = %202
  call void asm sideeffect "", "n"(i32 6) #5
  call void @llvm.trap()
  unreachable

322:                                              ; preds = %216
  call void asm sideeffect "", "n"(i32 7) #5
  call void @llvm.trap()
  unreachable

323:                                              ; preds = %223
  call void asm sideeffect "", "n"(i32 8) #5
  call void @llvm.trap()
  unreachable

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

325:                                              ; preds = %.loopexit163
  call void asm sideeffect "", "n"(i32 12) #5
  call void @llvm.trap()
  unreachable

326:                                              ; preds = %127
  call void asm sideeffect "", "n"(i32 15) #5
  call void @llvm.trap()
  unreachable

327:                                              ; preds = %134
  call void asm sideeffect "", "n"(i32 17) #5
  call void @llvm.trap()
  unreachable

328:                                              ; preds = %141
  call void asm sideeffect "", "n"(i32 19) #5
  call void @llvm.trap()
  unreachable

329:                                              ; preds = %147
  call void asm sideeffect "", "n"(i32 20) #5
  call void @llvm.trap()
  unreachable

330:                                              ; preds = %282
  call void asm sideeffect "", "n"(i32 23) #5
  call void @llvm.trap()
  unreachable

331:                                              ; preds = %246
  call void asm sideeffect "", "n"(i32 25) #5
  call void @llvm.trap()
  unreachable

332:                                              ; preds = %249
  call void asm sideeffect "", "n"(i32 27) #5
  call void @llvm.trap()
  unreachable

333:                                              ; preds = %266
  call void asm sideeffect "", "n"(i32 28) #5
  call void @llvm.trap()
  unreachable

334:                                              ; preds = %268
  call void asm sideeffect "", "n"(i32 29) #5
  call void @llvm.trap()
  unreachable

335:                                              ; preds = %270
  call void asm sideeffect "", "n"(i32 30) #5
  call void @llvm.trap()
  unreachable

336:                                              ; preds = %.thread159
  call void asm sideeffect "", "n"(i32 34) #5
  call void @llvm.trap()
  unreachable

337:                                              ; preds = %156
  call void asm sideeffect "", "n"(i32 36) #5
  call void @llvm.trap()
  unreachable

338:                                              ; preds = %163
  call void asm sideeffect "", "n"(i32 38) #5
  call void @llvm.trap()
  unreachable

339:                                              ; preds = %169
  call void asm sideeffect "", "n"(i32 39) #5
  call void @llvm.trap()
  unreachable

340:                                              ; preds = %.thread160
  call void asm sideeffect "", "n"(i32 44) #5
  call void @llvm.trap()
  unreachable

341:                                              ; preds = %176
  call void asm sideeffect "", "n"(i32 46) #5
  call void @llvm.trap()
  unreachable

342:                                              ; preds = %84
  call void asm sideeffect "", "n"(i32 47) #5
  call void @llvm.trap()
  unreachable

343:                                              ; preds = %90
  call void asm sideeffect "", "n"(i32 48) #5
  call void @llvm.trap()
  unreachable

344:                                              ; preds = %93
  call void asm sideeffect "", "n"(i32 49) #5
  call void @llvm.trap()
  unreachable

345:                                              ; preds = %294
  call void asm sideeffect "", "n"(i32 50) #5
  call void @llvm.trap()
  unreachable

346:                                              ; preds = %302
  call void asm sideeffect "", "n"(i32 51) #5
  call void @llvm.trap()
  unreachable

347:                                              ; preds = %304
  call void asm sideeffect "", "n"(i32 52) #5
  call void @llvm.trap()
  unreachable

348:                                              ; preds = %309
  call void asm sideeffect "", "n"(i32 53) #5
  call void @llvm.trap()
  unreachable

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

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

351:                                              ; preds = %43
  call void asm sideeffect "", "n"(i32 56) #5
  call void @llvm.trap()
  unreachable

352:                                              ; preds = %64
  call void asm sideeffect "", "n"(i32 57) #5
  call void @llvm.trap()
  unreachable

353:                                              ; preds = %73
  call void asm sideeffect "", "n"(i32 58) #5
  call void @llvm.trap()
  unreachable

354:                                              ; preds = %.preheader165
  call void asm sideeffect "", "n"(i32 59) #5
  call void @llvm.trap()
  unreachable

355:                                              ; preds = %55
  call void asm sideeffect "", "n"(i32 60) #5
  call void @llvm.trap()
  unreachable
}

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySiG_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1nncn_n"(i64 %0, i64 %1, i64 %2, %TSrySiG* nocapture dereferenceable(16) %3, %TSa* nocapture dereferenceable(8) %4, %swift.refcounted* swiftself %5, %swift.error** noalias nocapture swifterror dereferenceable(8) %6) local_unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %7 = icmp eq i64 %2, %1
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %entry
  %9 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %9)
  %10 = bitcast %TSa* %4 to i8*
  call void @swift_beginAccess(i8* nonnull %10, [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #5
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  %11 = bitcast %TSrySiG* %3 to i64*
  br label %12

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

12:                                               ; preds = %33, %8
  %13 = phi i64 [ %2, %8 ], [ %34, %33 ]
  %14 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %15 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %15 to %T7llvm_OZ5PointV*
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  br label %16

16:                                               ; preds = %36, %12
  %17 = phi i64 [ %13, %12 ], [ %18, %36 ]
  %18 = add i64 %17, -1
  %19 = load i64, i64* %11, align 8
  %20 = inttoptr i64 %19 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %20, i64 %17, i32 0
  %21 = load i64, i64* %._value, align 8
  %._value1 = getelementptr inbounds %TSi, %TSi* %20, i64 %18, i32 0
  %22 = load i64, i64* %._value1, align 8
  %23 = icmp slt i64 %21, 0
  br i1 %23, label %38, label %24, !prof !8

24:                                               ; preds = %16
  %25 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp ult i64 %21, %25
  br i1 %.not, label %26, label %39, !prof !7

26:                                               ; preds = %24
  %.not14 = icmp ult i64 %22, %25
  br i1 %.not14, label %27, label %40, !prof !7

27:                                               ; preds = %26
  %.x._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %21, i32 0, i32 0
  %28 = load i64, i64* %.x._value, align 8
  %.x2._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %22, i32 0, i32 0
  %29 = load i64, i64* %.x2._value, align 8
  %30 = icmp slt i64 %29, %28
  br i1 %30, label %31, label %33

31:                                               ; preds = %27
  %32 = icmp eq i64 %19, 0
  br i1 %32, label %41, label %36

33:                                               ; preds = %36, %27
  %34 = add i64 %13, 1
  %35 = icmp eq i64 %34, %1
  br i1 %35, label %.loopexit, label %12

36:                                               ; preds = %31
  store i64 %22, i64* %._value, align 8
  store i64 %21, i64* %._value1, align 8
  %37 = icmp eq i64 %18, %0
  br i1 %37, label %33, label %16

38:                                               ; preds = %16
  call void asm sideeffect "", "n"(i32 0) #5
  call void @llvm.trap()
  unreachable

39:                                               ; preds = %24
  call void asm sideeffect "", "n"(i32 1) #5
  call void @llvm.trap()
  unreachable

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

41:                                               ; preds = %31
  call void asm sideeffect "", "n"(i32 3) #5
  call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSi_Tg543$s7llvm_OZ4mainyyF5solveL_SiyFSbSi_SitXEfU_Say7llvm_OZ5PointVGTf1nnnnc_n"(i8* %0, i8* %1, i8* %2, i8* %3, %TSa* nocapture dereferenceable(8) %4, %swift.refcounted* swiftself %5, %swift.error** noalias nocapture swifterror dereferenceable(8) %6) local_unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch3 = alloca [24 x i8], align 8
  %7 = ptrtoint i8* %1 to i64
  %8 = ptrtoint i8* %0 to i64
  %9 = sub i64 %7, %8
  %10 = sdiv i64 %9, 8
  %11 = ptrtoint i8* %2 to i64
  %12 = sub i64 %11, %7
  %13 = sdiv i64 %12, 8
  %14 = icmp slt i64 %10, %13
  br i1 %14, label %15, label %27

15:                                               ; preds = %entry
  %16 = bitcast i8* %0 to %TSi*
  %17 = getelementptr inbounds %TSi, %TSi* %16, i64 %10
  %18 = bitcast %TSi* %17 to i8*
  %19 = icmp ugt i8* %18, %3
  %20 = icmp eq i8* %3, %0
  %or.cond5.i = select i1 %20, i1 %19, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit", label %.sink.split.i

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

"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit": ; preds = %15, %.sink.split.i
  %22 = bitcast i8* %3 to %TSi*
  %23 = getelementptr inbounds %TSi, %TSi* %22, i64 %10
  %24 = bitcast %TSi* %23 to i8*
  %25 = icmp ugt i8* %24, %3
  %26 = icmp ult i8* %1, %2
  %or.cond = select i1 %25, i1 %26, i1 false
  br i1 %or.cond, label %39, label %.loopexit

27:                                               ; preds = %entry
  %28 = bitcast i8* %1 to %TSi*
  %29 = getelementptr inbounds %TSi, %TSi* %28, i64 %13
  %30 = bitcast %TSi* %29 to i8*
  %31 = icmp ugt i8* %30, %3
  %32 = icmp eq i8* %3, %1
  %or.cond5.i52 = select i1 %32, i1 %31, i1 false
  br i1 %or.cond5.i52, label %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54", label %.sink.split.i53

.sink.split.i53:                                  ; preds = %27
  %33 = shl nuw nsw i64 %13, 3
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %1, i64 %33, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54"

"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54": ; preds = %27, %.sink.split.i53
  %34 = bitcast i8* %3 to %TSi*
  %35 = getelementptr inbounds %TSi, %TSi* %34, i64 %13
  %36 = bitcast %TSi* %35 to i8*
  %37 = icmp ugt i8* %36, %3
  %38 = icmp ult i8* %0, %1
  %or.cond18 = select i1 %37, i1 %38, i1 false
  br i1 %or.cond18, label %85, label %.loopexit

39:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit"
  %40 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch3, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %40)
  %41 = bitcast %TSa* %4 to i8*
  call void @swift_beginAccess(i8* nonnull %41, [24 x i8]* nonnull %access-scratch3, i64 0, i8* null) #5
  %._buffer4._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  %42 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %43 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %43 to %T7llvm_OZ5PointV*
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 1, i32 0, i32 0, i32 0
  br label %44

44:                                               ; preds = %67, %39
  %45 = phi i8* [ %3, %39 ], [ %68, %67 ]
  %46 = phi i8* [ %0, %39 ], [ %70, %67 ]
  %47 = phi i8* [ %1, %39 ], [ %69, %67 ]
  %._value7 = bitcast i8* %47 to i64*
  %48 = load i64, i64* %._value7, align 8
  %._value8 = bitcast i8* %45 to i64*
  %49 = load i64, i64* %._value8, align 8
  %50 = icmp slt i64 %48, 0
  br i1 %50, label %124, label %51, !prof !8

51:                                               ; preds = %44
  %52 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %.not50 = icmp ult i64 %48, %52
  br i1 %.not50, label %53, label %125, !prof !7

53:                                               ; preds = %51
  %.not51 = icmp ult i64 %49, %52
  br i1 %.not51, label %54, label %126, !prof !7

54:                                               ; preds = %53
  %.x9._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr5, i64 %48, i32 0, i32 0
  %55 = load i64, i64* %.x9._value, align 8
  %.x10._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr5, i64 %49, i32 0, i32 0
  %56 = load i64, i64* %.x10._value, align 8
  %57 = icmp slt i64 %56, %55
  br i1 %57, label %58, label %62

58:                                               ; preds = %54
  %59 = getelementptr inbounds i8, i8* %47, i64 8
  %60 = icmp ult i8* %46, %59
  %61 = icmp eq i8* %46, %47
  %or.cond77 = select i1 %61, i1 %60, i1 false
  br i1 %or.cond77, label %67, label %.sink.split

62:                                               ; preds = %54
  %63 = getelementptr inbounds i8, i8* %45, i64 8
  %64 = icmp ult i8* %46, %63
  %65 = icmp eq i8* %46, %45
  %or.cond78 = select i1 %65, i1 %64, i1 false
  br i1 %or.cond78, label %67, label %.sink.split

.sink.split:                                      ; preds = %58, %62
  %.sink = phi i64 [ %49, %62 ], [ %48, %58 ]
  %.ph = phi i8* [ %63, %62 ], [ %45, %58 ]
  %.ph70 = phi i8* [ %47, %62 ], [ %59, %58 ]
  %66 = bitcast i8* %46 to i64*
  store i64 %.sink, i64* %66, align 8
  br label %67

67:                                               ; preds = %62, %58, %.sink.split
  %68 = phi i8* [ %.ph, %.sink.split ], [ %45, %58 ], [ %63, %62 ]
  %69 = phi i8* [ %.ph70, %.sink.split ], [ %59, %58 ], [ %47, %62 ]
  %70 = getelementptr inbounds i8, i8* %46, i64 8
  %71 = icmp ult i8* %68, %24
  %72 = icmp ult i8* %69, %2
  %or.cond14 = select i1 %71, i1 %72, i1 false
  br i1 %or.cond14, label %44, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %67
  %.pre = bitcast i8* %68 to %TSi*
  br label %.loopexit

.loopexit:                                        ; preds = %116, %.loopexit.loopexit, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54", %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit"
  %.pre-phi = phi %TSi* [ %.pre, %.loopexit.loopexit ], [ %34, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54" ], [ %22, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit" ], [ %34, %116 ]
  %73 = phi i8* [ %24, %.loopexit.loopexit ], [ %36, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54" ], [ %24, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit" ], [ %117, %116 ]
  %74 = phi i8* [ %68, %.loopexit.loopexit ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54" ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit" ], [ %3, %116 ]
  %75 = phi i8* [ %70, %.loopexit.loopexit ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54" ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit" ], [ %118, %116 ]
  %76 = ptrtoint i8* %73 to i64
  %77 = ptrtoint i8* %74 to i64
  %78 = sub i64 %76, %77
  %79 = sdiv i64 %78, 8
  %80 = getelementptr inbounds %TSi, %TSi* %.pre-phi, i64 %79
  %81 = bitcast %TSi* %80 to i8*
  %82 = icmp ult i8* %75, %81
  %83 = icmp eq i8* %75, %74
  %or.cond5.i55 = select i1 %83, i1 %82, i1 false
  br i1 %or.cond5.i55, label %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit57", label %.sink.split.i56

.sink.split.i56:                                  ; preds = %.loopexit
  %84 = shl nuw nsw i64 %79, 3
  call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %75, i8* align 8 %74, i64 %84, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit57"

"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit57": ; preds = %.loopexit, %.sink.split.i56
  ret i1 true

85:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSi_Tg5.exit54"
  %86 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %86)
  %87 = bitcast %TSa* %4 to i8*
  call void @swift_beginAccess(i8* nonnull %87, [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #5
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  %88 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %89 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %89 to %T7llvm_OZ5PointV*
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 0, i32 0
  %90 = bitcast i8* %2 to %TSi*
  br label %91

91:                                               ; preds = %116, %85
  %92 = phi %TSi* [ %90, %85 ], [ %95, %116 ]
  %93 = phi i8* [ %36, %85 ], [ %117, %116 ]
  %94 = phi i8* [ %1, %85 ], [ %118, %116 ]
  %95 = getelementptr inbounds %TSi, %TSi* %92, i64 -1
  %96 = bitcast %TSi* %95 to i8*
  %97 = getelementptr inbounds i8, i8* %93, i64 -8
  %._value = bitcast i8* %97 to i64*
  %98 = load i64, i64* %._value, align 8
  %99 = getelementptr inbounds i8, i8* %94, i64 -8
  %._value1 = bitcast i8* %99 to i64*
  %100 = load i64, i64* %._value1, align 8
  %101 = icmp slt i64 %98, 0
  br i1 %101, label %121, label %102, !prof !8

102:                                              ; preds = %91
  %103 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp ult i64 %98, %103
  br i1 %.not, label %104, label %122, !prof !7

104:                                              ; preds = %102
  %.not49 = icmp ult i64 %100, %103
  br i1 %.not49, label %105, label %123, !prof !7

105:                                              ; preds = %104
  %.x._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %98, i32 0, i32 0
  %106 = load i64, i64* %.x._value, align 8
  %.x2._value = getelementptr inbounds %T7llvm_OZ5PointV, %T7llvm_OZ5PointV* %tailaddr, i64 %100, i32 0, i32 0
  %107 = load i64, i64* %.x2._value, align 8
  %108 = icmp slt i64 %107, %106
  br i1 %108, label %109, label %112

109:                                              ; preds = %105
  %110 = icmp ugt i8* %94, %96
  %111 = icmp eq i8* %99, %96
  %or.cond79 = and i1 %110, %111
  br i1 %or.cond79, label %116, label %.sink.split72

112:                                              ; preds = %105
  %113 = icmp ugt i8* %93, %96
  %114 = icmp eq i8* %97, %96
  %or.cond80 = and i1 %114, %113
  br i1 %or.cond80, label %116, label %.sink.split72

.sink.split72:                                    ; preds = %109, %112
  %.sink75 = phi i64 [ %98, %112 ], [ %100, %109 ]
  %.ph73 = phi i8* [ %97, %112 ], [ %93, %109 ]
  %.ph74 = phi i8* [ %94, %112 ], [ %99, %109 ]
  %115 = getelementptr %TSi, %TSi* %95, i64 0, i32 0
  store i64 %.sink75, i64* %115, align 8
  br label %116

116:                                              ; preds = %112, %109, %.sink.split72
  %117 = phi i8* [ %.ph73, %.sink.split72 ], [ %93, %109 ], [ %96, %112 ]
  %118 = phi i8* [ %.ph74, %.sink.split72 ], [ %96, %109 ], [ %94, %112 ]
  %119 = icmp ugt i8* %117, %3
  %120 = icmp ugt i8* %118, %0
  %or.cond22 = select i1 %119, i1 %120, i1 false
  br i1 %or.cond22, label %91, label %.loopexit

121:                                              ; preds = %91
  call void asm sideeffect "", "n"(i32 0) #5
  call void @llvm.trap()
  unreachable

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

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

124:                                              ; preds = %44
  call void asm sideeffect "", "n"(i32 3) #5
  call void @llvm.trap()
  unreachable

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

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

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

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

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

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

14:                                               ; preds = %11, %4, %entry
  %15 = phi i64 [ %1, %entry ], [ %6, %4 ], [ %13, %11 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !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_ContiguousArrayStorageCySnySiGGMD") #20
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #21
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSnySiG_Tg5"(%Ts16IndexingIteratorVySnySiGG* noalias nocapture %0, i64 %1, i64 %2, i64 %3, i64 %4) local_unnamed_addr #0 {
entry:
  %5 = icmp eq i64 %1, 0
  br i1 %5, label %.loopexit, label %6

6:                                                ; preds = %entry
  %7 = inttoptr i64 %1 to i8*
  %8 = icmp eq i64 %2, 0
  br i1 %8, label %.loopexit, label %9

9:                                                ; preds = %6
  %10 = icmp slt i64 %2, 0
  br i1 %10, label %30, label %11, !prof !8

11:                                               ; preds = %9
  %12 = icmp eq i64 %4, %3
  br i1 %12, label %.loopexit, label %13

13:                                               ; preds = %11
  %14 = icmp slt i64 %4, %3
  br i1 %14, label %31, label %.preheader, !prof !8

.preheader:                                       ; preds = %13
  %.not19 = icmp sgt i64 %4, %3
  br i1 %.not19, label %.lr.ph.preheader, label %._crit_edge, !prof !7

.lr.ph.preheader:                                 ; preds = %.preheader
  %15 = sub i64 %4, %3
  br label %.lr.ph

16:                                               ; preds = %27
  %17 = add nuw nsw i64 %22, 1
  %18 = getelementptr inbounds i8, i8* %24, i64 8
  %19 = icmp slt i64 %25, %3
  %20 = icmp sge i64 %25, %4
  %21 = or i1 %19, %20
  br i1 %21, label %._crit_edge, label %.lr.ph, !prof !8

.lr.ph:                                           ; preds = %.lr.ph.preheader, %16
  %22 = phi i64 [ %17, %16 ], [ 1, %.lr.ph.preheader ]
  %23 = phi i64 [ %25, %16 ], [ %3, %.lr.ph.preheader ]
  %24 = phi i8* [ %18, %16 ], [ %7, %.lr.ph.preheader ]
  %25 = add nsw i64 %23, 1
  %._value = bitcast i8* %24 to i64*
  store i64 %23, i64* %._value, align 8
  %26 = icmp eq i64 %22, %2
  br i1 %26, label %.loopexit, label %27

27:                                               ; preds = %.lr.ph
  %28 = icmp eq i64 %25, %4
  br i1 %28, label %.loopexit, label %16

.loopexit:                                        ; preds = %27, %.lr.ph, %11, %6, %entry
  %.sink = phi i64 [ %3, %entry ], [ %3, %6 ], [ %3, %11 ], [ %25, %.lr.ph ], [ %4, %27 ]
  %29 = phi i64 [ 0, %entry ], [ %2, %6 ], [ 0, %11 ], [ %2, %.lr.ph ], [ %15, %27 ]
  %._elements3.lowerBound._value = getelementptr inbounds %Ts16IndexingIteratorVySnySiGG, %Ts16IndexingIteratorVySnySiGG* %0, i64 0, i32 0, i32 0, i32 0
  store i64 %3, i64* %._elements3.lowerBound._value, align 8
  %._elements3.upperBound._value = getelementptr inbounds %Ts16IndexingIteratorVySnySiGG, %Ts16IndexingIteratorVySnySiGG* %0, i64 0, i32 0, i32 1, i32 0
  store i64 %4, i64* %._elements3.upperBound._value, align 8
  %._position4._value = getelementptr inbounds %Ts16IndexingIteratorVySnySiGG, %Ts16IndexingIteratorVySnySiGG* %0, i64 0, i32 1, i32 0
  store i64 %.sink, i64* %._position4._value, align 8
  ret i64 %29

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

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

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

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

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

; 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 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 #7

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

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

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

; 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: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(i8*) #15

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

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

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

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

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

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

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

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

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

!0 = !{!"standard-library", i1 false}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 4, !"Objective-C Garbage Collection", i32 84477696}
!5 = !{i32 1, !"Swift Version", i32 7}
!6 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 2000, i32 1}
!8 = !{!"branch_weights", i32 1, i32 2000}
!9 = !{!"branch_weights", i32 4000000, i32 2001, i32 2000}
!10 = !{!"branch_weights", i32 2000, i32 2002}
!11 = !{!12}
!12 = distinct !{!12, !13, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_: argument 0"}
!13 = distinct !{!13, !"$sSS8_copyingySSSsFZSSSRys5UInt8VGXEfU0_"}
