import Foundation

class Scanner {
    static func readInt() -> Int {
        return Int(readLine()!)!
    }
    
    static func readIntArr() -> [Int] {
        return readLine()!.split(separator: " ").map { Int($0)! }
    }
    
    static func readM(_ n: Int) -> [[Int]] {
        var res = [[Int]]()
        for _ in 0..<n {
            res.append(readIntArr())
        }
        return res
    }
    
    static func readUknownIntMat() -> [[Int]] {
        var res = [[Int]]()
        while let line = readLine() {
            res.append(line.split(separator: " ").map { Int($0)! })
        }
        return res
    }
    
    static func readString() -> String {
        return readLine()!
    }
}

class Printer {
    static func printIntArray(_ arr: [Int]) {
        print(arr.map { String($0) }.joined(separator: " "))
    }
}


class Solution {
    func maxBalancedPath(_ arr: [[[Int]]], _ n: Int, _ m: Int) -> Int {
        let total = 6410
        var dp = [[[Bool]]](repeating: [[Bool]](repeating: [Bool](repeating: false, count: total), count: m+1), count: n+1)
        
        for i in stride(from: 0, to: m, by: 1) {
            for j in stride(from: 0, to: total, by: 1) {
                dp[0][i][j] = true
            }
        }
        
        for i in stride(from: 0, to: n, by: 1) {
            for j in stride(from: 0, to: total, by: 1) {
                dp[i][0][j] = true
            }
        }
        
        for i in stride(from: 1, through: n, by: 1) {
            for j in stride(from: 1, through: m, by: 1) {
                let val = abs(arr[i-1][j-1][0]-arr[i-1][j-1][1])
                if  i == 1 && j == 1 {
                    dp[i][j][val] = true
                    continue
                }
                //now setting dp[i][j]
                for k in stride(from: 0, to: total, by: 1) {
                    if k + val < total {
                        dp[i][j][k+val] = (dp[i][j][k+val] || (i-1 > 0 ? dp[i-1][j][k] : false) || (j-1 > 0 ? dp[i][j-1][k] : false) )
                    }
                    if i-1 > 0 {
                        dp[i][j][k] = (dp[i][j][k] || dp[i-1][j][abs(k-val)] || (k+val < total ? dp[i-1][j][k+val] : false))
                    }
                    if j-1 > 0 {
                        dp[i][j][k] = (dp[i][j][k] || dp[i][j-1][abs(k-val)] || (k+val < total ? dp[i][j-1][k+val] : false))
                    }
                }
            }
//            print("\(i)")
        }
        
        for i in stride(from: 0, to: total, by: 1) {
            if dp[n][m][i] {
                return i
            }
        }
        return 0
    }
    
}

let nm = Scanner.readIntArr()
let fs = Scanner.readM(nm[0])
let ss = Scanner.readM(nm[0])
var mat = [[[Int]]](repeating: [[Int]](repeating: [Int](repeating: 0, count: 2), count: nm[1]), count: nm[0])
var total = 0
//print(nm[0])
//print(nm[1])
for i in 0..<nm[0] {
//    print("i: \(i)")
    var rowMax = 0
    for j in 0..<nm[1] {
        mat[i][j][0] = fs[i][j]
        mat[i][j][1] = ss[i][j]
        
        rowMax = max(rowMax, abs(fs[i][j]-ss[i][j]))
    }
    total += rowMax
}
//print(total)

print(Solution().maxBalancedPath(mat, nm[0], nm[1]))

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

%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%swift.type = type { i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%swift.method_descriptor = type { i32, i32 }
%T7llvm_O37ScannerC = type <{ %swift.refcounted }>
%T7llvm_O37PrinterC = type <{ %swift.refcounted }>
%T7llvm_O38SolutionC = type <{ %swift.refcounted }>
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.type_metadata_record = type { i32 }
%swift.bridge = type opaque
%Ts6UInt64V = type <{ i64 }>
%swift.error = type opaque
%Ts5UInt8V = type <{ i8 }>
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque
%Ts21StrideThroughIteratorVySiG = type <{ %TSi, %TSi, %TSi, <{ %TSiSg, [7 x i8], %TSi }>, %TSb }>
%TSiSg = type <{ [8 x i8], [1 x i8] }>
%TSb = type <{ i1 }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>
%swift.metadata_response = type { %swift.type*, i64 }

@"$s7llvm_O32nmSaySiGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_O32fsSaySaySiGGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_O32ssSaySaySiGGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_O33matSaySaySaySiGGGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_O35totalSivp" = hidden global %TSi zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$sSiN" = external global %swift.type, 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
@"$sSis23CustomStringConvertiblesWP" = external global i8*, align 8
@"symbolic SaySSG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySSG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySSGMD" to i64)) to i32), i32 -6 }, align 8
@"$sSaySSGSayxGSKsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSayxGSKsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSSN" = external global %swift.type, align 8
@"\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
@"$sBoWV" = external global i8*, align 8
@.str.7.llvm_O3 = private constant [8 x i8] c"llvm_O3\00"
@"$s7llvm_O3MXM" = linkonce_odr hidden constant <{ i32, i32, i32 }> <{ i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7.llvm_O3 to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32 }>, <{ i32, i32, i32 }>* @"$s7llvm_O3MXM", i32 0, i32 2) to i64)) to i32) }>, section ".rodata", no_sanitize_address, align 4
@.str.7.Scanner = private constant [8 x i8] c"Scanner\00"
@"$s7llvm_O37ScannerCMn" = hidden constant <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }> <{ i32 -2147483568, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s7llvm_O3MXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7.Scanner to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 2) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.metadata_response (i64)* @"$s7llvm_O37ScannerCMa" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 3) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37ScannerCMF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 4) to i64)) to i32), i32 0, i32 3, i32 8, i32 1, i32 0, i32 7, i32 7, i32 1, %swift.method_descriptor { i32 1, i32 trunc (i64 sub (i64 ptrtoint (%T7llvm_O37ScannerC* (%swift.type*)* @"$s7llvm_O37ScannerCACycfC" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 13, i32 1) to i64)) to i32) } }>, section ".rodata", no_sanitize_address, align 4
@"$s7llvm_O37ScannerCMf" = internal global <{ i8*, void (%T7llvm_O37ScannerC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37ScannerC* (%swift.type*)* }> <{ i8* null, void (%T7llvm_O37ScannerC*)* @"$s7llvm_O37ScannerCfD", i8** @"$sBoWV", i64 0, %swift.type* null, i32 2, i32 0, i32 16, i16 7, i16 0, i32 88, i32 24, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i8* null, %T7llvm_O37ScannerC* (%swift.type*)* @"$s7llvm_O37ScannerCACycfC" }>, align 8
@"symbolic _____ 7llvm_O37ScannerC" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O37ScannerC", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$s7llvm_O37ScannerCMF" = internal constant { i32, i32, i16, i16, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O37ScannerC" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37ScannerCMF" to i64)) to i32), i32 0, i16 1, i16 12, i32 0 }, section "swift5_fieldmd", no_sanitize_address, align 4
@.str.7.Printer = private constant [8 x i8] c"Printer\00"
@"$s7llvm_O37PrinterCMn" = hidden constant <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }> <{ i32 -2147483568, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s7llvm_O3MXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.7.Printer to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 2) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.metadata_response (i64)* @"$s7llvm_O37PrinterCMa" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 3) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37PrinterCMF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 4) to i64)) to i32), i32 0, i32 3, i32 8, i32 1, i32 0, i32 7, i32 7, i32 1, %swift.method_descriptor { i32 1, i32 trunc (i64 sub (i64 ptrtoint (%T7llvm_O37PrinterC* (%swift.type*)* @"$s7llvm_O37PrinterCACycfC" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 13, i32 1) to i64)) to i32) } }>, section ".rodata", no_sanitize_address, align 4
@"$s7llvm_O37PrinterCMf" = internal global <{ i8*, void (%T7llvm_O37PrinterC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37PrinterC* (%swift.type*)* }> <{ i8* null, void (%T7llvm_O37PrinterC*)* @"$s7llvm_O37PrinterCfD", i8** @"$sBoWV", i64 0, %swift.type* null, i32 2, i32 0, i32 16, i16 7, i16 0, i32 88, i32 24, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i8* null, %T7llvm_O37PrinterC* (%swift.type*)* @"$s7llvm_O37PrinterCACycfC" }>, align 8
@"symbolic _____ 7llvm_O37PrinterC" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O37PrinterC", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$s7llvm_O37PrinterCMF" = internal constant { i32, i32, i16, i16, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O37PrinterC" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37PrinterCMF" to i64)) to i32), i32 0, i16 1, i16 12, i32 0 }, section "swift5_fieldmd", no_sanitize_address, align 4
@.str.8.Solution = private constant [9 x i8] c"Solution\00"
@"$s7llvm_O38SolutionCMn" = hidden constant <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }> <{ i32 -2147483568, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s7llvm_O3MXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.8.Solution to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 2) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.metadata_response (i64)* @"$s7llvm_O38SolutionCMa" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 3) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O38SolutionCMF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 4) to i64)) to i32), i32 0, i32 3, i32 9, i32 2, i32 0, i32 7, i32 7, i32 2, %swift.method_descriptor { i32 16, i32 trunc (i64 sub (i64 ptrtoint (i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)* @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 13, i32 1) to i64)) to i32) }, %swift.method_descriptor { i32 1, i32 trunc (i64 sub (i64 ptrtoint (%T7llvm_O38SolutionC* (%swift.type*)* @"$s7llvm_O38SolutionCACycfC" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 14, i32 1) to i64)) to i32) } }>, section ".rodata", no_sanitize_address, align 4
@"$s7llvm_O38SolutionCMf" = internal global <{ i8*, void (%T7llvm_O38SolutionC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>*, i8*, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)*, %T7llvm_O38SolutionC* (%swift.type*)* }> <{ i8* null, void (%T7llvm_O38SolutionC*)* @"$s7llvm_O38SolutionCfD", i8** @"$sBoWV", i64 0, %swift.type* null, i32 2, i32 0, i32 16, i16 7, i16 0, i32 96, i32 24, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i8* null, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)* @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itF", %T7llvm_O38SolutionC* (%swift.type*)* @"$s7llvm_O38SolutionCACycfC" }>, align 8
@"symbolic _____ 7llvm_O38SolutionC" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O38SolutionC", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$s7llvm_O38SolutionCMF" = internal constant { i32, i32, i16, i16, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ 7llvm_O38SolutionC" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O38SolutionCMF" to i64)) to i32), i32 0, i16 1, i16 12, i32 0 }, 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
@"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySiGMD" to i64)) to i32), i32 -6 }, align 8
@"$sSsN" = external global %swift.type, align 8
@"$sSss25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sS2sSTsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSsSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic _____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 SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@"symbolic _____ySsG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySsGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$sSbN" = external global %swift.type, align 8
@"symbolic _____ySbG 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 _____ySbG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySbG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySbGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySbG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySbGMD" to i64)) to i32), i32 -9 }, align 8
@"symbolic _____ySaySbGG 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 _____ySaySbGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySbGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySbGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySbGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySbGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySbG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySbG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySbGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySbG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySbGMD" to i64)) to i32), i32 -6 }, align 8
@"symbolic _____ySaySaySbGGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [12 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, [12 x i8], i8 }>, <{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySbGGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [12 x i8] c"ySaySaySbGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySaySbGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySbGGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySaySbGGGMD" to i64)) to i32), i32 -17 }, align 8
@"symbolic SaySaySbGG" = linkonce_odr hidden constant <{ [10 x i8], i8 }> <{ [10 x i8] c"SaySaySbGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySaySbGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [10 x i8], i8 }>* @"symbolic SaySaySbGG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySaySbGGMD" to i64)) to i32), i32 -10 }, align 8
@"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [12 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, [12 x i8], i8 }>, <{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [12 x i8] c"ySaySaySiGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySaySiGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySaySiGGGMD" to i64)) to i32), i32 -17 }, align 8
@"symbolic SaySaySiGG" = linkonce_odr hidden constant <{ [10 x i8], i8 }> <{ [10 x i8] c"SaySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [10 x i8], i8 }>* @"symbolic SaySaySiGG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySaySiGGMD" to i64)) to i32), i32 -10 }, align 8
@"$s7llvm_O37ScannerCHn" = private constant %swift.type_metadata_record { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn" to i64), i64 ptrtoint (%swift.type_metadata_record* @"$s7llvm_O37ScannerCHn" to i64)) to i32) }, section "swift5_type_metadata", no_sanitize_address, align 4
@"$s7llvm_O37PrinterCHn" = private constant %swift.type_metadata_record { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn" to i64), i64 ptrtoint (%swift.type_metadata_record* @"$s7llvm_O37PrinterCHn" to i64)) to i32) }, section "swift5_type_metadata", no_sanitize_address, align 4
@"$s7llvm_O38SolutionCHn" = private constant %swift.type_metadata_record { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn" to i64), i64 ptrtoint (%swift.type_metadata_record* @"$s7llvm_O38SolutionCHn" 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 [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [12 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_O37PrinterCHn" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37PrinterCMF" to i8*), i8* bitcast (%swift.type_metadata_record* @"$s7llvm_O37ScannerCHn" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O37ScannerCMF" to i8*), i8* bitcast (%swift.type_metadata_record* @"$s7llvm_O38SolutionCHn" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32 }* @"$s7llvm_O38SolutionCMF" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

@"$s7llvm_O37ScannerCACycfCTq" = hidden alias %swift.method_descriptor, getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37ScannerCMn", i32 0, i32 13)
@"$s7llvm_O37ScannerCN" = hidden alias %swift.type, bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O37ScannerC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37ScannerC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O37ScannerC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37ScannerC* (%swift.type*)* }>* @"$s7llvm_O37ScannerCMf", i32 0, i32 3) to %swift.type*)
@"$s7llvm_O37PrinterCACycfCTq" = hidden alias %swift.method_descriptor, getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>* @"$s7llvm_O37PrinterCMn", i32 0, i32 13)
@"$s7llvm_O37PrinterCN" = hidden alias %swift.type, bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O37PrinterC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37PrinterC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O37PrinterC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37PrinterC* (%swift.type*)* }>* @"$s7llvm_O37PrinterCMf", i32 0, i32 3) to %swift.type*)
@"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itFTq" = hidden alias %swift.method_descriptor, getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 13)
@"$s7llvm_O38SolutionCACycfCTq" = hidden alias %swift.method_descriptor, getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>* @"$s7llvm_O38SolutionCMn", i32 0, i32 14)
@"$s7llvm_O38SolutionCN" = hidden alias %swift.type, bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O38SolutionC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>*, i8*, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)*, %T7llvm_O38SolutionC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O38SolutionC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>*, i8*, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)*, %T7llvm_O38SolutionC* (%swift.type*)* }>* @"$s7llvm_O38SolutionCMf", i32 0, i32 3) to %swift.type*)

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

4:                                                ; preds = %entry
  %5 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1
  %tailaddr._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %5 to i64*
  %6 = load i64, i64* %tailaddr._value, align 8
  %7 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC5readMySaySaySiGGSiFZTf4nd_n"(i64 %6)
  store %Ts28__ContiguousArrayStorageBaseC* %7, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32fsSaySaySiGGvp", i64 0, i32 0, i32 0), align 8
  %8 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32nmSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 0, i32 1, i32 0, i32 0, i32 0
  %9 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %.not72 = icmp eq i64 %9, 0
  br i1 %.not72, label %190, label %10, !prof !7

10:                                               ; preds = %4
  %11 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1
  %tailaddr2._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %11 to i64*
  %12 = load i64, i64* %tailaddr2._value, align 8
  %13 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC5readMySaySaySiGGSiFZTf4nd_n"(i64 %12)
  store %Ts28__ContiguousArrayStorageBaseC* %13, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32ssSaySaySiGGvp", i64 0, i32 0, i32 0), align 8
  %14 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2, %swift.type* nonnull @"$sSiN")
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2, i64* %._storage3.count._value, align 8
  %15 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 1
  %16 = bitcast %Ts28__ContiguousArrayStorageBaseC* %15 to i8*
  tail call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false)
  %17 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32nmSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 0, i32 1, i32 0, i32 0, i32 0
  %18 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %19 = icmp ult i64 %18, 2
  br i1 %19, label %191, label %20, !prof !7

20:                                               ; preds = %10
  %21 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 1, i32 0, i32 1
  %22 = load i64, i64* %21, align 8
  %23 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySbG_Tg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %14, i64 %22, { i32, i32 }* @"$sSaySiGMD")
  %24 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %.not73 = icmp eq i64 %24, 0
  br i1 %.not73, label %192, label %25, !prof !7

25:                                               ; preds = %20
  %26 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 1
  %tailaddr6._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %26 to i64*
  %27 = load i64, i64* %tailaddr6._value, align 8
  %28 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySbG_Tg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %23, i64 %27, { i32, i32 }* @"$sSaySaySiGGMD")
  store %Ts28__ContiguousArrayStorageBaseC* %28, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  store i64 0, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_O35totalSivp", i64 0, i32 0), align 8
  %29 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32nmSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage8.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 1, i32 0, i32 0, i32 0
  %30 = load i64, i64* %._storage8.count._value, align 8, !range !6
  %.not74 = icmp eq i64 %30, 0
  br i1 %.not74, label %193, label %31, !prof !7

31:                                               ; preds = %25
  %32 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 1
  %tailaddr9._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to i64*
  %33 = load i64, i64* %tailaddr9._value, align 8
  %34 = icmp slt i64 %33, 0
  br i1 %34, label %194, label %35, !prof !7

35:                                               ; preds = %31
  %36 = icmp eq i64 %33, 0
  br i1 %36, label %.loopexit91, label %37

37:                                               ; preds = %35
  %38 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 1, i32 0, i32 1
  %39 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %39)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_O35totalSivp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #6
  %40 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch16, i64 0, i64 0
  br label %60

.loopexit91:                                      ; preds = %80, %35
  %41 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #20
  %42 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %41, i64 64, i64 7) #6
  %43 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %42, i64 1
  %._storage58.count._value = bitcast %swift.refcounted* %43 to i64*
  store i64 1, i64* %._storage58.count._value, align 8
  %._storage58._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %42, i64 1, i32 1
  store i64 2, i64* %._storage58._capacityAndFlags, align 8
  %44 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch60, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %44)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_O33matSaySaySaySiGGGvp" to i8*), [24 x i8]* nonnull %access-scratch60, i64 0, i8* null) #6
  %45 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32nmSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage61.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 1, i32 0, i32 0, i32 0
  %46 = load i64, i64* %._storage61.count._value, align 8, !range !6
  switch i64 %46, label %47 [
    i64 0, label %214
    i64 1, label %215
  ], !prof !8

47:                                               ; preds = %.loopexit91
  %48 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %49 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 1
  %tailaddr62._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %49 to i64*
  %50 = load i64, i64* %tailaddr62._value, align 8
  %51 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %42, i64 2
  %52 = bitcast %swift.refcounted* %42 to %Ts28__ContiguousArrayStorageBaseC*
  %53 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 1, i32 0, i32 1
  %54 = load i64, i64* %53, align 8
  %55 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %48, i64 0, i32 0
  %56 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %55) #21
  %57 = call swiftcc i64 @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itFTf4nnnd_n"(%Ts28__ContiguousArrayStorageBaseC* %48, i64 %50, i64 %54)
  call void @swift_release(%swift.refcounted* %55) #6
  %58 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %42, i64 3, i32 1
  %59 = bitcast i64* %58 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %59, align 8
  %._value64 = bitcast %swift.refcounted* %51 to i64*
  store i64 %57, i64* %._value64, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %52, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  call void @swift_release(%swift.refcounted* nonnull %42) #6
  ret i32 0

60:                                               ; preds = %80, %37
  %61 = phi i64 [ 0, %37 ], [ %63, %80 ]
  %exitcond.not = icmp eq i64 %61, %33
  br i1 %exitcond.not, label %195, label %62, !prof !7

62:                                               ; preds = %60
  %63 = add nuw nsw i64 %61, 1
  %64 = load i64, i64* %._storage8.count._value, align 8, !range !6
  %65 = icmp ult i64 %64, 2
  br i1 %65, label %196, label %66, !prof !7

66:                                               ; preds = %62
  %67 = load i64, i64* %38, align 8
  %68 = icmp slt i64 %67, 0
  br i1 %68, label %197, label %69, !prof !7

69:                                               ; preds = %66
  %70 = icmp eq i64 %67, 0
  br i1 %70, label %.loopexit, label %71

71:                                               ; preds = %69
  %72 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32fsSaySaySiGGvp", i64 0, i32 0, i32 0), align 8
  %73 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 1
  %tailaddr11 = bitcast %Ts28__ContiguousArrayStorageBaseC* %73 to %TSa*
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %tailaddr11, i64 %61, i32 0, i32 0
  %74 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O32ssSaySaySiGGvp", i64 0, i32 0, i32 0), align 8
  %75 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 1
  %tailaddr12 = bitcast %Ts28__ContiguousArrayStorageBaseC* %75 to %TSa*
  %._buffer13._storage = getelementptr inbounds %TSa, %TSa* %tailaddr12, i64 %61, i32 0, i32 0
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 1, i32 0, i32 0, i32 0
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 0, i32 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %40)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_O33matSaySaySaySiGGGvp" to i8*), [24 x i8]* nonnull %access-scratch16, i64 1, i8* null) #6
  %.pre = load i64, i64* %._storage14.count._value, align 8, !range !6
  br label %83

.loopexit:                                        ; preds = %180, %69
  %76 = phi i64 [ 0, %69 ], [ %182, %180 ]
  %77 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_O35totalSivp", i64 0, i32 0), align 8
  %78 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %77, i64 %76)
  %79 = extractvalue { i64, i1 } %78, 1
  br i1 %79, label %213, label %80, !prof !7

80:                                               ; preds = %.loopexit
  %81 = extractvalue { i64, i1 } %78, 0
  store i64 %81, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_O35totalSivp", i64 0, i32 0), align 8
  %82 = icmp eq i64 %63, %33
  br i1 %82, label %.loopexit91, label %60

83:                                               ; preds = %180, %71
  %84 = phi i64 [ %.pre, %71 ], [ %161, %180 ]
  %85 = phi i64 [ 0, %71 ], [ %182, %180 ]
  %86 = phi i64 [ 0, %71 ], [ %183, %180 ]
  %.not75 = icmp ult i64 %61, %84
  br i1 %.not75, label %87, label %198, !prof !9

87:                                               ; preds = %83
  %88 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage17.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 0, i32 0
  %89 = load i64, i64* %._storage17.count._value, align 8, !range !6
  %.not76 = icmp ult i64 %86, %89
  br i1 %.not76, label %90, label %199, !prof !9

90:                                               ; preds = %87
  %91 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 1
  %tailaddr18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %91 to %TSi*
  %._value19 = getelementptr inbounds %TSi, %TSi* %tailaddr18, i64 %86, i32 0
  %92 = load i64, i64* %._value19, align 8
  %93 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %94 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %93, i64 0, i32 0
  %95 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %94) #21
  store %Ts28__ContiguousArrayStorageBaseC* %93, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %95, label %98, label %96

96:                                               ; preds = %90
  %97 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %93)
  store %Ts28__ContiguousArrayStorageBaseC* %97, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br label %98

98:                                               ; preds = %90, %96
  %99 = phi %Ts28__ContiguousArrayStorageBaseC* [ %93, %90 ], [ %97, %96 ]
  %._storage20.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %99, i64 0, i32 1, i32 0, i32 0, i32 0
  %100 = load i64, i64* %._storage20.count._value, align 8, !range !6
  %.not77 = icmp ult i64 %61, %100
  br i1 %.not77, label %101, label %200, !prof !9

101:                                              ; preds = %98
  %102 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %99, i64 1
  %tailaddr21 = bitcast %Ts28__ContiguousArrayStorageBaseC* %102 to %TSa*
  %._buffer22._storage = getelementptr inbounds %TSa, %TSa* %tailaddr21, i64 %61, i32 0, i32 0
  %103 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer22._storage, align 8
  %104 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %103, i64 0, i32 0
  %105 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %104) #21
  store %Ts28__ContiguousArrayStorageBaseC* %103, %Ts28__ContiguousArrayStorageBaseC** %._buffer22._storage, align 8
  br i1 %105, label %108, label %106

106:                                              ; preds = %101
  %107 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %103)
  store %Ts28__ContiguousArrayStorageBaseC* %107, %Ts28__ContiguousArrayStorageBaseC** %._buffer22._storage, align 8
  br label %108

108:                                              ; preds = %101, %106
  %109 = phi %Ts28__ContiguousArrayStorageBaseC* [ %103, %101 ], [ %107, %106 ]
  %._storage25.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %109, i64 0, i32 1, i32 0, i32 0, i32 0
  %110 = load i64, i64* %._storage25.count._value, align 8, !range !6
  %.not78 = icmp ult i64 %86, %110
  br i1 %.not78, label %111, label %201, !prof !9

111:                                              ; preds = %108
  %112 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %109, i64 1
  %tailaddr26 = bitcast %Ts28__ContiguousArrayStorageBaseC* %112 to %TSa*
  %._buffer27._storage = getelementptr inbounds %TSa, %TSa* %tailaddr26, i64 %86, i32 0, i32 0
  %113 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer27._storage, align 8
  %114 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 0
  %115 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %114) #21
  store %Ts28__ContiguousArrayStorageBaseC* %113, %Ts28__ContiguousArrayStorageBaseC** %._buffer27._storage, align 8
  br i1 %115, label %118, label %116

116:                                              ; preds = %111
  %117 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %113)
  store %Ts28__ContiguousArrayStorageBaseC* %117, %Ts28__ContiguousArrayStorageBaseC** %._buffer27._storage, align 8
  br label %118

118:                                              ; preds = %111, %116
  %119 = phi %Ts28__ContiguousArrayStorageBaseC* [ %113, %111 ], [ %117, %116 ]
  %._storage30.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 0, i32 1, i32 0, i32 0, i32 0
  %120 = load i64, i64* %._storage30.count._value, align 8, !range !6
  %.not79 = icmp eq i64 %120, 0
  br i1 %.not79, label %202, label %121, !prof !7

121:                                              ; preds = %118
  %122 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 1
  %tailaddr31._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %122 to i64*
  store i64 %92, i64* %tailaddr31._value, align 8
  %123 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %124 = load i64, i64* %._storage15.count._value, align 8, !range !6
  %.not80 = icmp ult i64 %61, %124
  br i1 %.not80, label %125, label %203, !prof !9

125:                                              ; preds = %121
  %126 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer13._storage, align 8
  %._storage34.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %126, i64 0, i32 1, i32 0, i32 0, i32 0
  %127 = load i64, i64* %._storage34.count._value, align 8, !range !6
  %.not81 = icmp ult i64 %86, %127
  br i1 %.not81, label %128, label %204, !prof !9

128:                                              ; preds = %125
  %129 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %126, i64 1
  %tailaddr35 = bitcast %Ts28__ContiguousArrayStorageBaseC* %129 to %TSi*
  %._value36 = getelementptr inbounds %TSi, %TSi* %tailaddr35, i64 %86, i32 0
  %130 = load i64, i64* %._value36, align 8
  %131 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 0
  %132 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %131) #21
  store %Ts28__ContiguousArrayStorageBaseC* %123, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %132, label %135, label %133

133:                                              ; preds = %128
  %134 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %123)
  store %Ts28__ContiguousArrayStorageBaseC* %134, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_O33matSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br label %135

135:                                              ; preds = %128, %133
  %136 = phi %Ts28__ContiguousArrayStorageBaseC* [ %123, %128 ], [ %134, %133 ]
  %._storage37.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 1, i32 0, i32 0, i32 0
  %137 = load i64, i64* %._storage37.count._value, align 8, !range !6
  %.not82 = icmp ult i64 %61, %137
  br i1 %.not82, label %138, label %205, !prof !9

138:                                              ; preds = %135
  %139 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 1
  %tailaddr38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %139 to %TSa*
  %._buffer39._storage = getelementptr inbounds %TSa, %TSa* %tailaddr38, i64 %61, i32 0, i32 0
  %140 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer39._storage, align 8
  %141 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %140, i64 0, i32 0
  %142 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %141) #21
  store %Ts28__ContiguousArrayStorageBaseC* %140, %Ts28__ContiguousArrayStorageBaseC** %._buffer39._storage, align 8
  br i1 %142, label %145, label %143

143:                                              ; preds = %138
  %144 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %140)
  store %Ts28__ContiguousArrayStorageBaseC* %144, %Ts28__ContiguousArrayStorageBaseC** %._buffer39._storage, align 8
  br label %145

145:                                              ; preds = %138, %143
  %146 = phi %Ts28__ContiguousArrayStorageBaseC* [ %140, %138 ], [ %144, %143 ]
  %._storage42.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %146, i64 0, i32 1, i32 0, i32 0, i32 0
  %147 = load i64, i64* %._storage42.count._value, align 8, !range !6
  %.not83 = icmp ult i64 %86, %147
  br i1 %.not83, label %148, label %206, !prof !9

148:                                              ; preds = %145
  %149 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %146, i64 1
  %tailaddr43 = bitcast %Ts28__ContiguousArrayStorageBaseC* %149 to %TSa*
  %._buffer44._storage = getelementptr inbounds %TSa, %TSa* %tailaddr43, i64 %86, i32 0, i32 0
  %150 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer44._storage, align 8
  %151 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 0, i32 0
  %152 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %151) #21
  store %Ts28__ContiguousArrayStorageBaseC* %150, %Ts28__ContiguousArrayStorageBaseC** %._buffer44._storage, align 8
  br i1 %152, label %155, label %153

153:                                              ; preds = %148
  %154 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %150)
  store %Ts28__ContiguousArrayStorageBaseC* %154, %Ts28__ContiguousArrayStorageBaseC** %._buffer44._storage, align 8
  br label %155

155:                                              ; preds = %148, %153
  %156 = phi %Ts28__ContiguousArrayStorageBaseC* [ %150, %148 ], [ %154, %153 ]
  %._storage47.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %156, i64 0, i32 1, i32 0, i32 0, i32 0
  %157 = load i64, i64* %._storage47.count._value, align 8, !range !6
  %158 = icmp ult i64 %157, 2
  br i1 %158, label %207, label %159, !prof !7

159:                                              ; preds = %155
  %160 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %156, i64 1, i32 0, i32 1
  store i64 %130, i64* %160, align 8
  %161 = load i64, i64* %._storage14.count._value, align 8, !range !6
  %.not84 = icmp ult i64 %61, %161
  br i1 %.not84, label %162, label %208, !prof !9

162:                                              ; preds = %159
  %163 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage52.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %163, i64 0, i32 1, i32 0, i32 0, i32 0
  %164 = load i64, i64* %._storage52.count._value, align 8, !range !6
  %.not85 = icmp ult i64 %86, %164
  br i1 %.not85, label %165, label %209, !prof !9

165:                                              ; preds = %162
  %166 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %163, i64 1
  %tailaddr53 = bitcast %Ts28__ContiguousArrayStorageBaseC* %166 to %TSi*
  %._value54 = getelementptr inbounds %TSi, %TSi* %tailaddr53, i64 %86, i32 0
  %167 = load i64, i64* %._value54, align 8
  %168 = load i64, i64* %._storage15.count._value, align 8, !range !6
  %.not86 = icmp ult i64 %61, %168
  br i1 %.not86, label %169, label %210, !prof !9

169:                                              ; preds = %165
  %170 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer13._storage, align 8
  %._storage55.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 0, i32 1, i32 0, i32 0, i32 0
  %171 = load i64, i64* %._storage55.count._value, align 8, !range !6
  %.not87 = icmp ult i64 %86, %171
  br i1 %.not87, label %172, label %211, !prof !9

172:                                              ; preds = %169
  %173 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 1
  %tailaddr56 = bitcast %Ts28__ContiguousArrayStorageBaseC* %173 to %TSi*
  %._value57 = getelementptr inbounds %TSi, %TSi* %tailaddr56, i64 %86, i32 0
  %174 = load i64, i64* %._value57, align 8
  %175 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %167, i64 %174)
  %176 = extractvalue { i64, i1 } %175, 0
  %177 = extractvalue { i64, i1 } %175, 1
  br i1 %177, label %212, label %178, !prof !7

178:                                              ; preds = %172
  %179 = icmp slt i64 %176, 0
  br i1 %179, label %185, label %180

180:                                              ; preds = %178, %185
  %181 = phi i64 [ %187, %185 ], [ %176, %178 ]
  %182 = call i64 @llvm.smax.i64(i64 %181, i64 %85)
  %183 = add nuw nsw i64 %86, 1
  %184 = icmp eq i64 %183, %67
  br i1 %184, label %.loopexit, label %83

185:                                              ; preds = %178
  %186 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %176)
  %187 = extractvalue { i64, i1 } %186, 0
  %188 = extractvalue { i64, i1 } %186, 1
  br i1 %188, label %216, label %180, !prof !7

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

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

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

192:                                              ; preds = %20
  tail call void asm sideeffect "", "n"(i32 3) #6
  tail call void @llvm.trap()
  unreachable

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

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

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

196:                                              ; preds = %62
  call void asm sideeffect "", "n"(i32 8) #6
  call void @llvm.trap()
  unreachable

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

198:                                              ; preds = %83
  call void asm sideeffect "", "n"(i32 11) #6
  call void @llvm.trap()
  unreachable

199:                                              ; preds = %87
  call void asm sideeffect "", "n"(i32 13) #6
  call void @llvm.trap()
  unreachable

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

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

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

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

204:                                              ; preds = %125
  call void asm sideeffect "", "n"(i32 18) #6
  call void @llvm.trap()
  unreachable

205:                                              ; preds = %135
  call void asm sideeffect "", "n"(i32 19) #6
  call void @llvm.trap()
  unreachable

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

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

208:                                              ; preds = %159
  call void asm sideeffect "", "n"(i32 22) #6
  call void @llvm.trap()
  unreachable

209:                                              ; preds = %162
  call void asm sideeffect "", "n"(i32 23) #6
  call void @llvm.trap()
  unreachable

210:                                              ; preds = %165
  call void asm sideeffect "", "n"(i32 24) #6
  call void @llvm.trap()
  unreachable

211:                                              ; preds = %169
  call void asm sideeffect "", "n"(i32 25) #6
  call void @llvm.trap()
  unreachable

212:                                              ; preds = %172
  call void asm sideeffect "", "n"(i32 26) #6
  call void @llvm.trap()
  unreachable

213:                                              ; preds = %.loopexit
  call void asm sideeffect "", "n"(i32 27) #6
  call void @llvm.trap()
  unreachable

214:                                              ; preds = %.loopexit91
  call void asm sideeffect "", "n"(i32 28) #6
  call void @llvm.trap()
  unreachable

215:                                              ; preds = %.loopexit91
  call void asm sideeffect "", "n"(i32 29) #6
  call void @llvm.trap()
  unreachable

216:                                              ; preds = %185
  call void asm sideeffect "", "n"(i32 30) #6
  call void @llvm.trap()
  unreachable
}

define hidden swiftcc i64 @"$s7llvm_O37ScannerC7readIntSiyFZ"(%swift.type* nocapture readnone swiftself %0) local_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, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %3 = extractvalue { i64, i64 } %2, 0
  %4 = extractvalue { i64, i64 } %2, 1
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %164, label %6

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

15:                                               ; preds = %6
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %7) #6
  br label %165

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

19:                                               ; preds = %16
  br i1 %9, label %20, label %23

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

20:                                               ; preds = %19
  %21 = and i64 %3, 1152921504606846976
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %32, label %36, !prof !7

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

32:                                               ; preds = %20
  %33 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %3, %swift.bridge* nonnull %7)
  %34 = extractvalue { i64, i64 } %33, 0
  %35 = extractvalue { i64, i64 } %33, 1
  br label %.thread130

36:                                               ; preds = %20
  %37 = and i64 %4, 1152921504606846975
  %38 = add nuw nsw i64 %37, 32
  br label %.thread130

.thread130:                                       ; preds = %36, %32
  %39 = phi i64 [ %38, %36 ], [ %34, %32 ]
  %40 = phi i64 [ %12, %36 ], [ %35, %32 ]
  %41 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %39, i64 %40, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %42 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not77 = icmp eq %swift.error* %42, null
  tail call void @llvm.assume(i1 %.not77)
  %43 = extractvalue { i64, i8 } %41, 1
  %44 = and i8 %43, 1
  %45 = icmp ne i8 %44, 0
  %46 = extractvalue { i64, i8 } %41, 0
  %.sroa.6.0.sroa_cast124 = bitcast i8* %.sroa.6 to i1*
  store i1 %45, 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 %50

.thread135:                                       ; preds = %58, %95, %93
  %.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 %24)
  %.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 %50

.loopexit99.thread:                               ; preds = %132, %138, %129, %135, %141, %96, %103, %100, %106, %59, %67, %63, %70
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %132 ], [ true, %138 ], [ false, %129 ], [ false, %135 ], [ false, %141 ], [ true, %96 ], [ true, %103 ], [ false, %100 ], [ false, %106 ], [ true, %59 ], [ true, %67 ], [ false, %63 ], [ false, %70 ]
  %.sroa.0.0.ph = phi i64 [ 0, %132 ], [ 0, %138 ], [ 0, %129 ], [ %136, %135 ], [ %144, %141 ], [ 0, %96 ], [ 0, %103 ], [ %101, %100 ], [ %109, %106 ], [ 0, %59 ], [ 0, %67 ], [ %65, %63 ], [ %73, %70 ]
  %.sroa.6.0.sroa_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 %24)
  %.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 %50

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

.loopexit99.loopexit146.split.loop.exit:          ; preds = %89
  %48 = extractvalue { i64, i1 } %87, 0
  br label %.loopexit99

.loopexit99.loopexit149.split.loop.exit:          ; preds = %125
  %49 = extractvalue { i64, i1 } %123, 0
  br label %.loopexit99

.loopexit99:                                      ; preds = %.preheader100, %117, %120, %.preheader97, %81, %84, %.preheader, %152, %155, %.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, %155 ], [ true, %152 ], [ true, %.preheader ], [ true, %84 ], [ true, %81 ], [ true, %.preheader97 ], [ true, %120 ], [ true, %117 ], [ true, %.preheader100 ]
  %.sroa.0.0 = phi i64 [ %47, %.loopexit99.loopexit.split.loop.exit ], [ %48, %.loopexit99.loopexit146.split.loop.exit ], [ %49, %.loopexit99.loopexit149.split.loop.exit ], [ 0, %155 ], [ 0, %152 ], [ 0, %.preheader ], [ 0, %84 ], [ 0, %81 ], [ 0, %.preheader97 ], [ 0, %120 ], [ 0, %117 ], [ 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 %24)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br i1 %18, label %50, label %51

50:                                               ; 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.047.0133 = phi i64 [ %46, %.thread130 ], [ %.sroa.0.0, %.loopexit99 ], [ 0, %.thread135 ], [ %.sroa.0.0.ph, %.loopexit99.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %7) #6
  br label %55

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

55:                                               ; preds = %50, %51
  %56 = phi i64 [ %53, %51 ], [ %.sroa.047.0133, %50 ]
  %.in.in = phi i8 [ %54, %51 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre134, %50 ]
  %.in = and i8 %.in.in, 1
  %.not = icmp eq i8 %.in, 0
  br i1 %.not, label %57, label %165

57:                                               ; preds = %55
  ret i64 %56

58:                                               ; preds = %23
  switch i64 %11, label %59 [
    i64 0, label %167
    i64 1, label %.thread135
  ], !prof !8

59:                                               ; preds = %58
  %60 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %26, i64 %11, i32 0
  %61 = add i8 %29, -48
  %62 = icmp ult i8 %61, 10
  br i1 %62, label %63, label %.loopexit99.thread, !prof !10

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

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

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

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

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

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

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

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

93:                                               ; preds = %23
  %94 = icmp eq i64 %11, 0
  br i1 %94, label %.thread135, label %129, !prof !7

95:                                               ; preds = %23
  switch i64 %11, label %96 [
    i64 0, label %166
    i64 1, label %.thread135
  ], !prof !8

96:                                               ; preds = %95
  %97 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %26, i64 %11, i32 0
  %98 = add i8 %29, -48
  %99 = icmp ult i8 %98, 10
  br i1 %99, label %100, label %.loopexit99.thread, !prof !10

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

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

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

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

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

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

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

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

129:                                              ; preds = %93
  %130 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %26, i64 %11, i32 0
  %131 = icmp eq i8* %130, %24
  br i1 %131, label %.loopexit99.thread, label %132

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

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

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

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

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

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

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

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

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

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

165:                                              ; preds = %15, %55
  call void asm sideeffect "", "n"(i32 1) #6
  call void @llvm.trap()
  unreachable

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

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

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC10readIntArrSaySiGyFZ"(%swift.type* nocapture readnone swiftself %0) local_unnamed_addr #0 {
entry:
  %1 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC10readIntArrSaySiGyFZTf4d_n"() #22
  ret %Ts28__ContiguousArrayStorageBaseC* %1
}

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC5readMySaySaySiGGSiFZ"(i64 %0, %swift.type* nocapture readnone swiftself %1) local_unnamed_addr #0 {
entry:
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC5readMySaySaySiGGSiFZTf4nd_n"(i64 %0) #22
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC16readUknownIntMatSaySaySiGGyFZ"(%swift.type* nocapture readnone swiftself %0) local_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
  %.sroa.6 = alloca i8, align 8
  %3 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %4 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %5 = extractvalue { i64, i64 } %4, 1
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; 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
  %9 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %3 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %3, i64 0, i32 0, i32 0
  %.elt16._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %3, i64 0, i32 1, i32 0
  %10 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %3 to i64
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast70 = bitcast i8* %.sroa.6 to i1*
  br label %11

11:                                               ; preds = %.lr.ph, %50
  %12 = phi i64 [ %5, %.lr.ph ], [ %54, %50 ]
  %13 = phi { i64, i64 } [ %4, %.lr.ph ], [ %53, %50 ]
  %14 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.lr.ph ], [ %51, %50 ]
  %15 = extractvalue { i64, i64 } %13, 0
  %16 = inttoptr i64 %12 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()
  %17 = alloca [24 x i8], align 16
  %18 = bitcast [24 x i8]* %17 to %swift.opaque*
  %19 = getelementptr inbounds [24 x i8], [24 x i8]* %17, i64 0, i64 16
  %20 = bitcast i8* %19 to %TSJ**
  store %TSJ* %1, %TSJ** %20, align 16
  %21 = call %swift.bridge* @swift_bridgeObjectRetain_n(%swift.bridge* %16, i32 2)
  %22 = 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 %18, i64 %15, %swift.bridge* nonnull %16, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %16) #6
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %7)
  %._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
  %24 = icmp eq i64 %23, 0
  br i1 %24, label %25, label %27

25:                                               ; preds = %11
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %26) #6
  br label %33

27:                                               ; preds = %11
  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_SiSbtFSi_Tg5"(i1 false, i64 %23, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %28 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 1
  %tailaddr._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %28 to i64*
  %29 = load i64, i64* %tailaddr._slice._startIndex._rawBits._value, align 8
  %tailaddr._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 1, i32 0, i32 1
  %30 = load i64, i64* %tailaddr._slice._endIndex, align 8
  %.unshifted = xor i64 %30, %29
  %31 = icmp ult i64 %.unshifted, 16384
  br i1 %31, label %125, label %32, !prof !7

32:                                               ; preds = %27
  %tailaddr._slice._base._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 1, i32 1, i32 0, i32 1
  %tailaddr._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 1, i32 1, i32 0, i32 0, i32 0
  br label %56

33:                                               ; preds = %25, %116
  %34 = phi %Ts28__ContiguousArrayStorageBaseC* [ %113, %116 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %25 ]
  %35 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  %36 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %35) #21
  br i1 %36, label %41, label %37

37:                                               ; preds = %33
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  %38 = load i64, i64* %._storage11.count._value, align 8, !range !6
  %39 = add nuw nsw i64 %38, 1
  %40 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %39, i1 true, %Ts28__ContiguousArrayStorageBaseC* %14, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %41

41:                                               ; preds = %33, %37
  %42 = phi %Ts28__ContiguousArrayStorageBaseC* [ %40, %37 ], [ %14, %33 ]
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 1, i32 0, i32 0, i32 0
  %43 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %._storage12._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 1, i32 0, i32 1, i32 0
  %44 = load i64, i64* %._storage12._capacityAndFlags._value, align 8
  %45 = lshr i64 %44, 1
  %46 = add nuw nsw i64 %43, 1
  %.not35 = icmp ugt i64 %45, %43
  br i1 %.not35, label %50, label %47, !prof !9

47:                                               ; preds = %41
  %48 = icmp ugt i64 %44, 1
  %49 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %48, i64 %46, i1 true, %Ts28__ContiguousArrayStorageBaseC* %42, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %50

50:                                               ; preds = %41, %47
  %51 = phi %Ts28__ContiguousArrayStorageBaseC* [ %49, %47 ], [ %42, %41 ]
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %51, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %46, i64* %._storage13.count._value, align 8
  %52 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %51, i64 1
  %tailaddr14 = bitcast %Ts28__ContiguousArrayStorageBaseC* %52 to %TSa*
  %._buffer15._storage = getelementptr inbounds %TSa, %TSa* %tailaddr14, i64 %43, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %34, %Ts28__ContiguousArrayStorageBaseC** %._buffer15._storage, align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %16) #6
  %53 = call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %54 = extractvalue { i64, i64 } %53, 1
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %._crit_edge, label %11

56:                                               ; preds = %123, %32
  %._slice._base._guts._object._countAndFlagsBits._value.sink = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %123 ], [ %tailaddr._slice._base._guts._object._countAndFlagsBits._value, %32 ]
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %123 ], [ %tailaddr._slice._base._guts._object._object, %32 ]
  %57 = phi i64 [ %124, %123 ], [ 1, %32 ]
  %58 = phi i64 [ %120, %123 ], [ %29, %32 ]
  %59 = phi i64 [ %121, %123 ], [ %30, %32 ]
  %.sink.in = bitcast %TSu* %.sink.in.in to %swift.bridge**
  %.sink = load %swift.bridge*, %swift.bridge** %.sink.in, align 8
  %60 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value.sink, align 8
  %61 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %.sink) #6
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %62 = ptrtoint %swift.bridge* %.sink to i64
  %63 = and i64 %62, 1152921504606846976
  %64 = icmp eq i64 %63, 0
  br i1 %64, label %65, label %92, !prof !9

65:                                               ; preds = %56
  %66 = and i64 %62, 2305843009213693952
  %67 = icmp eq i64 %66, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %65
  %69 = and i64 %60, 1152921504606846976
  %70 = icmp eq i64 %69, 0
  br i1 %70, label %78, label %88, !prof !7

71:                                               ; preds = %65
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %9)
  %72 = and i64 %62, 72057594037927935
  store i64 %60, i64* %.elt._value, align 8
  store i64 %72, i64* %.elt16._value, align 8
  %73 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_nTf4xnn_n"(i64 %10, i64 %58, i64 %59, i64 %60, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %74 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not37 = icmp eq %swift.error* %74, null
  call void @llvm.assume(i1 %.not37)
  %75 = extractvalue { i64, i8 } %73, 1
  %76 = and i8 %75, 1
  %77 = icmp ne i8 %76, 0
  store i1 %77, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %9)
  br label %91

78:                                               ; preds = %68
  %79 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %60, %swift.bridge* %.sink)
  %80 = extractvalue { i64, i64 } %79, 0
  br label %81

81:                                               ; preds = %78, %88
  %82 = phi i64 [ %90, %88 ], [ %80, %78 ]
  %83 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_nTf4xnn_n"(i64 %82, i64 %58, i64 %59, i64 %60, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %84 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not38 = icmp eq %swift.error* %84, null
  call void @llvm.assume(i1 %.not38)
  %85 = extractvalue { i64, i8 } %83, 1
  %86 = and i8 %85, 1
  %87 = icmp ne i8 %86, 0
  store i1 %87, i1* %.sroa.6.0.sroa_cast70, align 8
  br label %91

88:                                               ; preds = %68
  %89 = and i64 %62, 1152921504606846975
  %90 = add nuw nsw i64 %89, 32
  br label %81

91:                                               ; preds = %71, %81
  %.pn = phi { i64, i8 } [ %83, %81 ], [ %73, %71 ]
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  br label %95

92:                                               ; preds = %56
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %93 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %58, i64 %59, i64 %60, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  %94 = extractvalue { i64, i8 } %93, 1
  br label %95

95:                                               ; preds = %91, %92
  %.pn85 = phi { i64, i8 } [ %93, %92 ], [ %.pn, %91 ]
  %.in.in = phi i8 [ %94, %92 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %91 ]
  %96 = extractvalue { i64, i8 } %.pn85, 0
  %.in = and i8 %.in.in, 1
  %.not36 = icmp eq i8 %.in, 0
  br i1 %.not36, label %97, label %126

97:                                               ; preds = %95
  %98 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %99 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 0
  %100 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %99) #21
  br i1 %100, label %104, label %101

101:                                              ; preds = %97
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 1, i32 0, i32 0, i32 0
  %102 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %103 = add nuw nsw i64 %102, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %103, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %104

104:                                              ; preds = %97, %101
  %105 = phi %Ts28__ContiguousArrayStorageBaseC* [ %98, %97 ], [ %.pre, %101 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %105, i64 0, i32 1, i32 0, i32 0, i32 0
  %106 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %105, i64 0, i32 1, i32 0, i32 1, i32 0
  %107 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %108 = lshr i64 %107, 1
  %109 = add nuw nsw i64 %106, 1
  %.not = icmp ugt i64 %108, %106
  br i1 %.not, label %112, label %110, !prof !9

110:                                              ; preds = %104
  %111 = icmp ugt i64 %107, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %111, i64 %109, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre73 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %112

112:                                              ; preds = %104, %110
  %113 = phi %Ts28__ContiguousArrayStorageBaseC* [ %105, %104 ], [ %.pre73, %110 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %109, i64* %._storage7.count._value, align 8
  %114 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %114 to %TSi*
  %._value9 = getelementptr inbounds %TSi, %TSi* %tailaddr8, i64 %106, i32 0
  store i64 %96, i64* %._value9, align 8
  %115 = icmp eq i64 %57, %23
  br i1 %115, label %116, label %118

116:                                              ; preds = %112
  %117 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %22, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %117) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %8)
  br label %33

118:                                              ; preds = %112
  %119 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %28, i64 %57
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %119 to i64*
  %120 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 0, i32 0, i32 1
  %121 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted34 = xor i64 %121, %120
  %122 = icmp ult i64 %.unshifted34, 16384
  br i1 %122, label %127, label %123, !prof !7

123:                                              ; preds = %118
  %124 = add nuw nsw i64 %57, 1
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %119, i64 0, i32 1
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  br label %56

._crit_edge:                                      ; preds = %50, %entry
  %.lcssa52 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ], [ %51, %50 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %.lcssa52

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

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

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

define hidden swiftcc { i64, %swift.bridge* } @"$s7llvm_O37ScannerC10readStringSSyFZ"(%swift.type* nocapture readnone swiftself %0) local_unnamed_addr #0 {
entry:
  %1 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %2 = extractvalue { i64, i64 } %1, 1
  %3 = icmp eq i64 %2, 0
  br i1 %3, label %9, label %4

4:                                                ; preds = %entry
  %5 = extractvalue { i64, i64 } %1, 0
  %6 = inttoptr i64 %2 to %swift.bridge*
  %7 = insertvalue { i64, %swift.bridge* } undef, i64 %5, 0
  %8 = insertvalue { i64, %swift.bridge* } %7, %swift.bridge* %6, 1
  ret { i64, %swift.bridge* } %8

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

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.refcounted* @"$s7llvm_O37ScannerCfd"(%T7llvm_O37ScannerC* readnone swiftself %0) local_unnamed_addr #1 {
entry:
  %1 = getelementptr %T7llvm_O37ScannerC, %T7llvm_O37ScannerC* %0, i64 0, i32 0
  ret %swift.refcounted* %1
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %T7llvm_O37ScannerC* @"$s7llvm_O37ScannerCACycfc"(%T7llvm_O37ScannerC* readnone returned swiftself %0) local_unnamed_addr #1 {
entry:
  ret %T7llvm_O37ScannerC* %0
}

define hidden swiftcc void @"$s7llvm_O37PrinterC13printIntArrayyySaySiGFZ"(%Ts28__ContiguousArrayStorageBaseC* nocapture readonly %0, %swift.type* nocapture readnone swiftself %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %3 = alloca %TSi, align 8
  %4 = alloca %TSa, align 8
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #20
  %6 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 64, i64 7) #6
  %7 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %6, i64 1
  %._storage.count._value = bitcast %swift.refcounted* %7 to i64*
  store i64 1, i64* %._storage.count._value, align 8
  %._storage._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %6, i64 1, i32 1
  store i64 2, i64* %._storage._capacityAndFlags, align 8
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %8 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %9 = icmp eq i64 %8, 0
  br i1 %9, label %16, label %10

10:                                               ; preds = %entry
  %11 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %11)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %2, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %8, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %12 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %13 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %13 to %TSi*
  %14 = bitcast %TSi* %3 to i8*
  %._value3 = getelementptr inbounds %TSi, %TSi* %3, i64 0, i32 0
  %15 = bitcast %TSi* %3 to %swift.opaque*
  br label %31

16:                                               ; preds = %entry, %49
  %17 = phi %Ts28__ContiguousArrayStorageBaseC* [ %45, %49 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  %18 = bitcast %swift.refcounted* %6 to %Ts28__ContiguousArrayStorageBaseC*
  %19 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %6, i64 2
  %20 = bitcast %TSa* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %20)
  %._buffer9._storage = getelementptr inbounds %TSa, %TSa* %4, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %17, %Ts28__ContiguousArrayStorageBaseC** %._buffer9._storage, align 8
  %21 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySSGMD") #20
  %22 = tail call i8** @"$sSaySSGSayxGSKsWl"() #23
  %23 = bitcast %TSa* %4 to %swift.opaque*
  %24 = call swiftcc { i64, %swift.bridge* } @"$sSKsSS7ElementRtzrlE6joined9separatorS2S_tF"(i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.type* %21, i8** %22, %swift.opaque* noalias nocapture nonnull swiftself %23)
  %25 = extractvalue { i64, %swift.bridge* } %24, 0
  %26 = extractvalue { i64, %swift.bridge* } %24, 1
  %27 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %27) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %20)
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %6, i64 3, i32 1
  %29 = bitcast i64* %28 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %29, align 8
  %._guts10._object._countAndFlagsBits._value = bitcast %swift.refcounted* %19 to i64*
  store i64 %25, i64* %._guts10._object._countAndFlagsBits._value, align 8
  %._guts10._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %6, i64 2, i32 1
  %30 = bitcast i64* %._guts10._object._object to %swift.bridge**
  store %swift.bridge* %26, %swift.bridge** %30, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %18, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  tail call void @swift_release(%swift.refcounted* %6) #6
  ret void

31:                                               ; preds = %44, %10
  %32 = phi i64 [ 0, %10 ], [ %46, %44 ]
  %33 = phi %Ts28__ContiguousArrayStorageBaseC* [ %12, %10 ], [ %45, %44 ]
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr, i64 %32, i32 0
  %34 = load i64, i64* %._value, align 8
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %14)
  store i64 %34, i64* %._value3, align 8
  %35 = call swiftcc { i64, %swift.bridge* } @"$ss23CustomStringConvertibleP11descriptionSSvgTj"(%swift.opaque* noalias nocapture nonnull swiftself %15, %swift.type* nonnull @"$sSiN", i8** nonnull @"$sSis23CustomStringConvertiblesWP")
  %36 = extractvalue { i64, %swift.bridge* } %35, 0
  %37 = extractvalue { i64, %swift.bridge* } %35, 1
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %14)
  store %Ts28__ContiguousArrayStorageBaseC* %33, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 1, i32 0, i32 0, i32 0
  %38 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 1, i32 0, i32 1, i32 0
  %39 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %40 = lshr i64 %39, 1
  %41 = add nuw nsw i64 %38, 1
  %.not = icmp ugt i64 %40, %38
  br i1 %.not, label %44, label %42, !prof !9

42:                                               ; preds = %31
  %43 = icmp ugt i64 %39, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %43, i64 %41, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %44

44:                                               ; preds = %31, %42
  %45 = phi %Ts28__ContiguousArrayStorageBaseC* [ %33, %31 ], [ %.pre, %42 ]
  %46 = add nuw nsw i64 %32, 1
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %41, i64* %._storage6.count._value, align 8
  %47 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %47 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr7, i64 %38, i32 0, i32 0, i32 0, i32 0
  store i64 %36, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr7, i64 %38, i32 0, i32 0, i32 1
  store %swift.bridge* %37, %swift.bridge** %._guts._object._object, align 8
  %48 = icmp eq i64 %46, %8
  br i1 %48, label %49, label %31

49:                                               ; preds = %44
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %11)
  br label %16
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.refcounted* @"$s7llvm_O37PrinterCfd"(%T7llvm_O37PrinterC* readnone swiftself %0) local_unnamed_addr #1 {
entry:
  %1 = getelementptr %T7llvm_O37PrinterC, %T7llvm_O37PrinterC* %0, i64 0, i32 0
  ret %swift.refcounted* %1
}

; Function Attrs: nounwind
define hidden swiftcc void @"$s7llvm_O37PrinterCfD"(%T7llvm_O37PrinterC* swiftself %0) #2 {
entry:
  %1 = getelementptr %T7llvm_O37PrinterC, %T7llvm_O37PrinterC* %0, i64 0, i32 0
  tail call void @swift_deallocClassInstance(%swift.refcounted* %1, i64 16, i64 7) #6
  ret void
}

; Function Attrs: nounwind
define hidden swiftcc noalias %T7llvm_O37PrinterC* @"$s7llvm_O37PrinterCACycfC"(%swift.type* swiftself %0) #2 {
entry:
  %1 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %0, i64 16, i64 7) #6
  %2 = bitcast %swift.refcounted* %1 to %T7llvm_O37PrinterC*
  ret %T7llvm_O37PrinterC* %2
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %T7llvm_O37PrinterC* @"$s7llvm_O37PrinterCACycfc"(%T7llvm_O37PrinterC* readnone returned swiftself %0) local_unnamed_addr #1 {
entry:
  ret %T7llvm_O37PrinterC* %0
}

define hidden swiftcc i64 @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itF"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, i64 %2, %T7llvm_O38SolutionC* nocapture readnone swiftself %3) #0 {
entry:
  %4 = tail call swiftcc i64 @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itFTf4nnnd_n"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, i64 %2) #22
  ret i64 %4
}

define internal swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySbG_Tg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, { i32, i32 }* %2) local_unnamed_addr #0 {
entry:
  %3 = icmp slt i64 %1, 0
  br i1 %3, label %28, label %4, !prof !7

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

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

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

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

.lr.ph:                                           ; preds = %12
  %15 = bitcast i64* %13 to %TSa*
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  br label %19

17:                                               ; preds = %7, %5, %._crit_edge
  %18 = phi %Ts28__ContiguousArrayStorageBaseC* [ %9, %7 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %5 ], [ %9, %._crit_edge ]
  ret %Ts28__ContiguousArrayStorageBaseC* %18

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

._crit_edge:                                      ; preds = %19, %12
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  %27 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %26) #21
  br label %17

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

define linkonce_odr hidden swiftcc { i64, i8 } @"$ss21StrideThroughIteratorV4nextxSgyFSi_Tg5"(%Ts21StrideThroughIteratorVySiG* nocapture swiftself dereferenceable(49) %0) local_unnamed_addr #0 {
entry:
  %._current = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 3
  %._current.value._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 3, i32 2, i32 0
  %1 = load i64, i64* %._current.value._value, align 8
  %._stride._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 2, i32 0
  %2 = load i64, i64* %._stride._value, align 8
  %3 = icmp sgt i64 %2, 0
  %._end5._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 1, i32 0
  %4 = load i64, i64* %._end5._value, align 8
  br i1 %3, label %6, label %5

5:                                                ; preds = %entry
  %.not = icmp slt i64 %4, %1
  br i1 %.not, label %9, label %7

6:                                                ; preds = %entry
  %.not17 = icmp slt i64 %1, %4
  br i1 %.not17, label %9, label %7

7:                                                ; preds = %5, %6
  %8 = icmp eq i64 %1, %4
  br i1 %8, label %17, label %23

9:                                                ; preds = %5, %6
  %10 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %1, i64 %2)
  %11 = extractvalue { i64, i1 } %10, 1
  %12 = tail call i64 @llvm.sadd.sat.i64(i64 %1, i64 %2)
  %13 = select i1 %11, i64 -9223372036854775808, i64 0
  %not. = xor i1 %11, true
  %14 = bitcast <{ %TSiSg, [7 x i8], %TSi }>* %._current to i64*
  store i64 %13, i64* %14, align 8
  %15 = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 3, i32 0, i32 1
  %16 = bitcast [1 x i8]* %15 to i1*
  store i1 %not., i1* %16, align 8
  store i64 %12, i64* %._current.value._value, align 8
  br label %23

17:                                               ; preds = %7
  %._didReturnEnd._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 4, i32 0
  %18 = load i1, i1* %._didReturnEnd._value, align 8
  br i1 %18, label %23, label %19

19:                                               ; preds = %17
  %20 = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %0, i64 0, i32 3, i32 0, i32 1
  %21 = bitcast [1 x i8]* %20 to i1*
  %22 = load i1, i1* %21, align 8
  br i1 %22, label %30, label %26

23:                                               ; preds = %7, %17, %26, %30, %9
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8. = phi i8 [ 0, %30 ], [ 0, %9 ], [ 1, %26 ], [ 1, %17 ], [ 1, %7 ]
  %.sroa.0.0 = phi i64 [ %1, %30 ], [ %1, %9 ], [ 0, %26 ], [ 0, %17 ], [ 0, %7 ]
  %24 = insertvalue { i64, i8 } undef, i64 %.sroa.0.0, 0
  %25 = insertvalue { i64, i8 } %24, i8 %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8., 1
  ret { i64, i8 } %25

26:                                               ; preds = %19
  %27 = bitcast <{ %TSiSg, [7 x i8], %TSi }>* %._current to i64*
  %28 = load i64, i64* %27, align 8
  %29 = icmp eq i64 %28, -9223372036854775808
  br i1 %29, label %23, label %30

30:                                               ; preds = %26, %19
  %31 = bitcast i1* %._didReturnEnd._value to i8*
  store i8 1, i8* %31, align 8
  br label %23
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.refcounted* @"$s7llvm_O38SolutionCfd"(%T7llvm_O38SolutionC* readnone swiftself %0) local_unnamed_addr #1 {
entry:
  %1 = getelementptr %T7llvm_O38SolutionC, %T7llvm_O38SolutionC* %0, i64 0, i32 0
  ret %swift.refcounted* %1
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone willreturn
define hidden swiftcc %T7llvm_O38SolutionC* @"$s7llvm_O38SolutionCACycfc"(%T7llvm_O38SolutionC* readnone returned swiftself %0) local_unnamed_addr #1 {
entry:
  ret %T7llvm_O38SolutionC* %0
}

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

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

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

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

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

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

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

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

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

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #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) #6
  %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) #24
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 8
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

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

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

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySsGMD") #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) #6
  %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) #24
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 32
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.sink.split:                                      ; preds = %33
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 1 %30, i8* nonnull align 1 %32, i64 %16, i1 false)
  br label %38

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

39:                                               ; preds = %27
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 %30, i8* nonnull align 1 %32, i64 %16, i1 false)
  br label %40

40:                                               ; preds = %38, %39
  %41 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %41) #6
  ret %Ts28__ContiguousArrayStorageBaseC* %28

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySSGMD") #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) #6
  %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) #24
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

; Function Attrs: noinline
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %0, %swift.bridge* %1, i64 %2) local_unnamed_addr #3 {
entry:
  %3 = alloca %TSS, align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %5 = bitcast %TSS* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %3, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %1, %swift.bridge** %._guts._object._object, align 8
  %6 = bitcast %TSS* %3 to %swift.opaque*
  %7 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #6
  %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 !9

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) #6
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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) #6
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %19) #6
  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) #6
  br label %58

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4:                                                ; preds = %entry
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCys5UInt8VGMD") #20
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #6
  %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) #24
  %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
}

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

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

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

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

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

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

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

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

43:                                               ; preds = %40
  %44 = and i64 %35, 1152921504606846976
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %53, label %63, !prof !7

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

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

56:                                               ; preds = %53, %63
  %57 = phi i64 [ %65, %63 ], [ %55, %53 ]
  %58 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_nTf4xnn_n"(i64 %57, i64 %33, i64 %34, i64 %35, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %59 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not30 = icmp eq %swift.error* %59, null
  call void @llvm.assume(i1 %.not30)
  %60 = extractvalue { i64, i8 } %58, 1
  %61 = and i8 %60, 1
  %62 = icmp ne i8 %61, 0
  store i1 %62, i1* %.sroa.6.0.sroa_cast42, align 8
  br label %66

63:                                               ; preds = %43
  %64 = and i64 %37, 1152921504606846975
  %65 = add nuw nsw i64 %64, 32
  br label %56

66:                                               ; preds = %46, %56
  %.pn = phi { i64, i8 } [ %58, %56 ], [ %48, %46 ]
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  br label %70

67:                                               ; preds = %31
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %68 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %33, i64 %34, i64 %35, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  %69 = extractvalue { i64, i8 } %68, 1
  br label %70

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

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

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

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

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

87:                                               ; preds = %79, %85
  %88 = phi %Ts28__ContiguousArrayStorageBaseC* [ %80, %79 ], [ %.pre45, %85 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %84, i64* %._storage7.count._value, align 8
  %89 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %89 to %TSi*
  %._value9 = getelementptr inbounds %TSi, %TSi* %tailaddr8, i64 %81, i32 0
  store i64 %71, i64* %._value9, align 8
  %90 = icmp eq i64 %32, %16
  br i1 %90, label %91, label %93

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

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

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

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

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

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

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

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

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

2:                                                ; preds = %entry
  %3 = icmp eq i64 %0, 0
  br i1 %3, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %2, %22
  %4 = phi i64 [ %24, %22 ], [ 0, %2 ]
  %5 = phi %Ts28__ContiguousArrayStorageBaseC* [ %23, %22 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %2 ]
  %6 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O37ScannerC10readIntArrSaySiGyFZTf4d_n"()
  %7 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 0
  %8 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %7) #21
  br i1 %8, label %13, label %9

9:                                                ; preds = %.preheader
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 1, i32 0, i32 0, i32 0
  %10 = load i64, i64* %._storage.count._value, align 8, !range !6
  %11 = add nuw nsw i64 %10, 1
  %12 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %11, i1 true, %Ts28__ContiguousArrayStorageBaseC* %5, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %13

13:                                               ; preds = %.preheader, %9
  %14 = phi %Ts28__ContiguousArrayStorageBaseC* [ %12, %9 ], [ %5, %.preheader ]
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  %15 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %._storage1._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 1, i32 0
  %16 = load i64, i64* %._storage1._capacityAndFlags._value, align 8
  %17 = lshr i64 %16, 1
  %18 = add nuw nsw i64 %15, 1
  %.not = icmp ugt i64 %17, %15
  br i1 %.not, label %22, label %19, !prof !9

19:                                               ; preds = %13
  %20 = icmp ugt i64 %16, 1
  %21 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %20, i64 %18, i1 true, %Ts28__ContiguousArrayStorageBaseC* %14, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  br label %22

22:                                               ; preds = %13, %19
  %23 = phi %Ts28__ContiguousArrayStorageBaseC* [ %21, %19 ], [ %14, %13 ]
  %24 = add nuw nsw i64 %4, 1
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %18, i64* %._storage2.count._value, align 8
  %25 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %25 to %TSa*
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %tailaddr, i64 %15, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %6, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %26 = icmp eq i64 %24, %0
  br i1 %26, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %22, %2
  %27 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %2 ], [ %23, %22 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %27

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

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

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

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

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

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

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

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

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

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #25
  %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 #10

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

define linkonce_odr hidden swiftcc i64 @"$s7llvm_O38SolutionC15maxBalancedPathySiSaySaySaySiGGG_S2itFTf4nnnd_n"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, i64 %2) local_unnamed_addr #0 {
entry:
  %3 = alloca %Ts21StrideThroughIteratorVySiG, align 8
  %4 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 6410, %swift.type* nonnull @"$sSbN")
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 6410, i64* %._storage.count._value, align 8
  %5 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 1
  %6 = bitcast %Ts28__ContiguousArrayStorageBaseC* %5 to i8*
  tail call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 1 dereferenceable(6410) %6, i8 0, i64 6410, i1 false)
  %7 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %2, i64 1)
  %8 = extractvalue { i64, i1 } %7, 1
  br i1 %8, label %425, label %9, !prof !7

9:                                                ; preds = %entry
  %10 = extractvalue { i64, i1 } %7, 0
  %11 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySbG_Tg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %4, i64 %10, { i32, i32 }* @"$sSaySbGMD")
  %12 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %1, i64 1)
  %13 = extractvalue { i64, i1 } %12, 1
  br i1 %13, label %426, label %14, !prof !7

14:                                               ; preds = %9
  %15 = extractvalue { i64, i1 } %12, 0
  %16 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySbG_Tg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %11, i64 %15, { i32, i32 }* @"$sSaySaySbGGMD")
  %17 = icmp sgt i64 %2, 0
  br i1 %17, label %18, label %.loopexit287

18:                                               ; preds = %14
  %19 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 0
  %20 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %19) #21
  br i1 %20, label %23, label %21

21:                                               ; preds = %18
  %22 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySbGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %16)
  br label %23

23:                                               ; preds = %18, %21
  %24 = phi %Ts28__ContiguousArrayStorageBaseC* [ %22, %21 ], [ %16, %18 ]
  %._storage164.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 0, i32 1, i32 0, i32 0, i32 0
  %25 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 1
  %tailaddr165._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %25 to %Ts28__ContiguousArrayStorageBaseC**
  br label %.preheader286.preheader

.preheader286.preheader:                          ; preds = %23, %53
  %26 = phi i64 [ 0, %23 ], [ %27, %53 ]
  %27 = add nuw nsw i64 %26, 1
  br label %.preheader286

.preheader286:                                    ; preds = %.preheader286.preheader, %50
  %28 = phi i64 [ %29, %50 ], [ 0, %.preheader286.preheader ]
  %29 = add nuw nsw i64 %28, 1
  %30 = load i64, i64* %._storage164.count._value, align 8, !range !6
  %.not271 = icmp eq i64 %30, 0
  br i1 %.not271, label %489, label %31, !prof !7

31:                                               ; preds = %.preheader286
  %32 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %tailaddr165._buffer._storage, align 8
  %33 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 0, i32 0
  %34 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %33) #21
  store %Ts28__ContiguousArrayStorageBaseC* %32, %Ts28__ContiguousArrayStorageBaseC** %tailaddr165._buffer._storage, align 8
  br i1 %34, label %37, label %35

35:                                               ; preds = %31
  %36 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %32)
  store %Ts28__ContiguousArrayStorageBaseC* %36, %Ts28__ContiguousArrayStorageBaseC** %tailaddr165._buffer._storage, align 8
  br label %37

37:                                               ; preds = %31, %35
  %38 = phi %Ts28__ContiguousArrayStorageBaseC* [ %36, %35 ], [ %32, %31 ]
  %._storage168.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 0, i32 1, i32 0, i32 0, i32 0
  %39 = load i64, i64* %._storage168.count._value, align 8, !range !6
  %.not272 = icmp ult i64 %26, %39
  br i1 %.not272, label %40, label %490, !prof !9

40:                                               ; preds = %37
  %41 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1
  %tailaddr169 = bitcast %Ts28__ContiguousArrayStorageBaseC* %41 to %TSa*
  %._buffer170._storage = getelementptr inbounds %TSa, %TSa* %tailaddr169, i64 %26, i32 0, i32 0
  %42 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer170._storage, align 8
  %43 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %42, i64 0, i32 0
  %44 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %43) #21
  store %Ts28__ContiguousArrayStorageBaseC* %42, %Ts28__ContiguousArrayStorageBaseC** %._buffer170._storage, align 8
  br i1 %44, label %47, label %45

45:                                               ; preds = %40
  %46 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %42)
  store %Ts28__ContiguousArrayStorageBaseC* %46, %Ts28__ContiguousArrayStorageBaseC** %._buffer170._storage, align 8
  br label %47

47:                                               ; preds = %40, %45
  %48 = phi %Ts28__ContiguousArrayStorageBaseC* [ %42, %40 ], [ %46, %45 ]
  %._storage173.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %48, i64 0, i32 1, i32 0, i32 0, i32 0
  %49 = load i64, i64* %._storage173.count._value, align 8, !range !6
  %.not273 = icmp ult i64 %28, %49
  br i1 %.not273, label %50, label %491, !prof !9

50:                                               ; preds = %47
  %51 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %48, i64 1
  %tailaddr174 = bitcast %Ts28__ContiguousArrayStorageBaseC* %51 to %TSb*
  %._value175 = getelementptr inbounds %TSb, %TSb* %tailaddr174, i64 %28, i32 0
  %52 = bitcast i1* %._value175 to i8*
  store i8 1, i8* %52, align 1
  %exitcond.not = icmp eq i64 %29, 6410
  br i1 %exitcond.not, label %53, label %.preheader286

53:                                               ; preds = %50
  %54 = icmp slt i64 %27, %2
  br i1 %54, label %.preheader286.preheader, label %.loopexit287

.loopexit287:                                     ; preds = %53, %14
  %55 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %14 ], [ %24, %53 ]
  %56 = icmp sgt i64 %1, 0
  br i1 %56, label %57, label %.loopexit285

57:                                               ; preds = %.loopexit287
  %58 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %55, i64 0, i32 0
  %59 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %58) #21
  br i1 %59, label %62, label %60

60:                                               ; preds = %57
  %61 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySbGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %55)
  br label %62

62:                                               ; preds = %57, %60
  %63 = phi %Ts28__ContiguousArrayStorageBaseC* [ %61, %60 ], [ %55, %57 ]
  %._storage150.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %63, i64 0, i32 1, i32 0, i32 0, i32 0
  %64 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %63, i64 1
  %tailaddr151 = bitcast %Ts28__ContiguousArrayStorageBaseC* %64 to %TSa*
  br label %.preheader284

.preheader284:                                    ; preds = %62, %93
  %65 = phi i64 [ 0, %62 ], [ %66, %93 ]
  %66 = add nuw nsw i64 %65, 1
  %._buffer152._storage = getelementptr inbounds %TSa, %TSa* %tailaddr151, i64 %65, i32 0, i32 0
  br label %67

67:                                               ; preds = %.preheader284, %90
  %68 = phi i64 [ %69, %90 ], [ 0, %.preheader284 ]
  %69 = add nuw nsw i64 %68, 1
  %70 = load i64, i64* %._storage150.count._value, align 8, !range !6
  %.not268 = icmp ult i64 %65, %70
  br i1 %.not268, label %71, label %486, !prof !9

71:                                               ; preds = %67
  %72 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer152._storage, align 8
  %73 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 0
  %74 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %73) #21
  store %Ts28__ContiguousArrayStorageBaseC* %72, %Ts28__ContiguousArrayStorageBaseC** %._buffer152._storage, align 8
  br i1 %74, label %77, label %75

75:                                               ; preds = %71
  %76 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %72)
  store %Ts28__ContiguousArrayStorageBaseC* %76, %Ts28__ContiguousArrayStorageBaseC** %._buffer152._storage, align 8
  br label %77

77:                                               ; preds = %71, %75
  %78 = phi %Ts28__ContiguousArrayStorageBaseC* [ %72, %71 ], [ %76, %75 ]
  %._storage155.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %78, i64 0, i32 1, i32 0, i32 0, i32 0
  %79 = load i64, i64* %._storage155.count._value, align 8, !range !6
  %.not269 = icmp eq i64 %79, 0
  br i1 %.not269, label %487, label %80, !prof !7

80:                                               ; preds = %77
  %81 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %78, i64 1
  %tailaddr156._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %81 to %Ts28__ContiguousArrayStorageBaseC**
  %82 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %tailaddr156._buffer._storage, align 8
  %83 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %82, i64 0, i32 0
  %84 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %83) #21
  store %Ts28__ContiguousArrayStorageBaseC* %82, %Ts28__ContiguousArrayStorageBaseC** %tailaddr156._buffer._storage, align 8
  br i1 %84, label %87, label %85

85:                                               ; preds = %80
  %86 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %82)
  store %Ts28__ContiguousArrayStorageBaseC* %86, %Ts28__ContiguousArrayStorageBaseC** %tailaddr156._buffer._storage, align 8
  br label %87

87:                                               ; preds = %85, %80
  %88 = phi %Ts28__ContiguousArrayStorageBaseC* [ %86, %85 ], [ %82, %80 ]
  %._storage159.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 0, i32 1, i32 0, i32 0, i32 0
  %89 = load i64, i64* %._storage159.count._value, align 8, !range !6
  %.not270 = icmp ult i64 %68, %89
  br i1 %.not270, label %90, label %488, !prof !9

90:                                               ; preds = %87
  %91 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %88, i64 1
  %tailaddr160 = bitcast %Ts28__ContiguousArrayStorageBaseC* %91 to %TSb*
  %._value161 = getelementptr inbounds %TSb, %TSb* %tailaddr160, i64 %68, i32 0
  %92 = bitcast i1* %._value161 to i8*
  store i8 1, i8* %92, align 1
  %exitcond293.not = icmp eq i64 %69, 6410
  br i1 %exitcond293.not, label %93, label %67

93:                                               ; preds = %90
  %94 = icmp slt i64 %66, %1
  br i1 %94, label %.preheader284, label %.loopexit285

.loopexit285:                                     ; preds = %93, %.loopexit287
  %95 = phi %Ts28__ContiguousArrayStorageBaseC* [ %55, %.loopexit287 ], [ %63, %93 ]
  %96 = bitcast %Ts21StrideThroughIteratorVySiG* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 49, i8* nonnull %96)
  %._start._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 0, i32 0
  store i64 1, i64* %._start._value, align 8
  %._end._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 1, i32 0
  store i64 %1, i64* %._end._value, align 8
  %._stride._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 2, i32 0
  store i64 1, i64* %._stride._value, align 8
  %._current = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 3
  %97 = bitcast <{ %TSiSg, [7 x i8], %TSi }>* %._current to i64*
  store i64 0, i64* %97, align 8
  %98 = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 3, i32 0, i32 1
  %99 = bitcast [1 x i8]* %98 to i1*
  store i1 false, i1* %99, align 8
  %._current.value._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 3, i32 2, i32 0
  store i64 1, i64* %._current.value._value, align 8
  %._didReturnEnd._value = getelementptr inbounds %Ts21StrideThroughIteratorVySiG, %Ts21StrideThroughIteratorVySiG* %3, i64 0, i32 4, i32 0
  %100 = bitcast i1* %._didReturnEnd._value to i8*
  store i8 0, i8* %100, align 8
  %101 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %95, i64 0, i32 0
  %102 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %101) #21
  br i1 %102, label %105, label %103

103:                                              ; preds = %.loopexit285
  %104 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySbGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %95)
  br label %105

105:                                              ; preds = %.loopexit285, %103
  %106 = phi %Ts28__ContiguousArrayStorageBaseC* [ %104, %103 ], [ %95, %.loopexit285 ]
  %107 = call swiftcc { i64, i8 } @"$ss21StrideThroughIteratorV4nextxSgyFSi_Tg5"(%Ts21StrideThroughIteratorVySiG* nocapture nonnull swiftself dereferenceable(49) %3)
  %108 = extractvalue { i64, i8 } %107, 1
  %109 = and i8 %108, 1
  %.not230290 = icmp eq i8 %109, 0
  br i1 %.not230290, label %.preheader.lr.ph, label %._crit_edge

.preheader.lr.ph:                                 ; preds = %105
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %110 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr10 = bitcast %Ts28__ContiguousArrayStorageBaseC* %110 to %TSa*
  %._storage96.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 1, i32 0, i32 0, i32 0
  %111 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 1
  %tailaddr97 = bitcast %Ts28__ContiguousArrayStorageBaseC* %111 to %TSa*
  %112 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 1, i32 0, i32 1
  %._buffer135._storage = bitcast i64* %112 to %Ts28__ContiguousArrayStorageBaseC**
  br label %.preheader

.loopexit283:                                     ; preds = %126
  %113 = call swiftcc { i64, i8 } @"$ss21StrideThroughIteratorV4nextxSgyFSi_Tg5"(%Ts21StrideThroughIteratorVySiG* nocapture nonnull swiftself dereferenceable(49) %3)
  %114 = extractvalue { i64, i8 } %113, 1
  %115 = and i8 %114, 1
  %.not230 = icmp eq i8 %115, 0
  br i1 %.not230, label %.preheader, label %._crit_edge

.preheader:                                       ; preds = %.preheader.lr.ph, %.loopexit283
  %.pn = phi { i64, i8 } [ %107, %.preheader.lr.ph ], [ %113, %.loopexit283 ]
  %116 = extractvalue { i64, i8 } %.pn, 0
  %117 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %116, i64 -1)
  %118 = extractvalue { i64, i1 } %117, 0
  %119 = extractvalue { i64, i1 } %117, 1
  %120 = icmp slt i64 %118, 0
  %._buffer11._storage = getelementptr inbounds %TSa, %TSa* %tailaddr10, i64 %118, i32 0, i32 0
  %121 = icmp eq i64 %116, 1
  %.not280 = icmp eq i64 %118, 0
  %122 = icmp slt i64 %116, 0
  %._buffer98._storage = getelementptr inbounds %TSa, %TSa* %tailaddr97, i64 %116, i32 0, i32 0
  %._buffer126._storage = getelementptr inbounds %TSa, %TSa* %tailaddr97, i64 %118, i32 0, i32 0
  br label %.backedge

.backedge:                                        ; preds = %.backedge.backedge, %.preheader
  %123 = phi i1 [ false, %.preheader ], [ %.ph, %.backedge.backedge ]
  %124 = phi i64 [ 1, %.preheader ], [ %.ph301, %.backedge.backedge ]
  %125 = icmp slt i64 %124, %2
  br i1 %125, label %128, label %126

126:                                              ; preds = %.backedge
  %127 = icmp ne i64 %124, %2
  %brmerge = select i1 %127, i1 true, i1 %123
  br i1 %brmerge, label %.loopexit283, label %130

128:                                              ; preds = %.backedge
  %129 = add nsw i64 %124, 1
  br label %130

130:                                              ; preds = %128, %126
  %.sroa.0.0.ph = phi i64 [ %124, %128 ], [ %2, %126 ]
  %.ph = phi i1 [ %123, %128 ], [ true, %126 ]
  %.ph301 = phi i64 [ %129, %128 ], [ %2, %126 ]
  br i1 %119, label %431, label %131, !prof !7

131:                                              ; preds = %130
  br i1 %120, label %432, label %132, !prof !7

132:                                              ; preds = %131
  %133 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %.not = icmp ult i64 %118, %133
  br i1 %.not, label %134, label %433, !prof !9

134:                                              ; preds = %132
  %135 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer11._storage, align 8
  %136 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %.sroa.0.0.ph, i64 -1)
  %137 = extractvalue { i64, i1 } %136, 0
  %138 = extractvalue { i64, i1 } %136, 1
  br i1 %138, label %434, label %139, !prof !7

139:                                              ; preds = %134
  %140 = icmp slt i64 %137, 0
  br i1 %140, label %435, label %141, !prof !7

141:                                              ; preds = %139
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %135, i64 0, i32 1, i32 0, i32 0, i32 0
  %142 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %.not231 = icmp ult i64 %137, %142
  br i1 %.not231, label %143, label %436, !prof !9

143:                                              ; preds = %141
  %144 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %135, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %144 to %TSa*
  %._buffer14._storage = getelementptr inbounds %TSa, %TSa* %tailaddr13, i64 %137, i32 0, i32 0
  %145 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer14._storage, align 8
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %145, i64 0, i32 1, i32 0, i32 0, i32 0
  %146 = load i64, i64* %._storage15.count._value, align 8, !range !6
  switch i64 %146, label %147 [
    i64 0, label %437
    i64 1, label %438
  ], !prof !8

147:                                              ; preds = %143
  %148 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %145, i64 1
  %tailaddr16._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %148 to i64*
  %149 = load i64, i64* %tailaddr16._value, align 8
  %150 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %145, i64 1, i32 0, i32 1
  %151 = load i64, i64* %150, align 8
  %152 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %149, i64 %151)
  %153 = extractvalue { i64, i1 } %152, 0
  %154 = extractvalue { i64, i1 } %152, 1
  br i1 %154, label %439, label %155, !prof !7

155:                                              ; preds = %147
  %156 = icmp slt i64 %153, 0
  br i1 %156, label %160, label %157

157:                                              ; preds = %155, %160
  %158 = phi i64 [ %162, %160 ], [ %153, %155 ]
  %159 = icmp eq i64 %.sroa.0.0.ph, 1
  %or.cond = select i1 %121, i1 %159, i1 false
  br i1 %or.cond, label %164, label %192

160:                                              ; preds = %155
  %161 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %153)
  %162 = extractvalue { i64, i1 } %161, 0
  %163 = extractvalue { i64, i1 } %161, 1
  br i1 %163, label %485, label %157, !prof !7

164:                                              ; preds = %157
  %165 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %166 = icmp ult i64 %165, 2
  br i1 %166, label %481, label %167, !prof !7

167:                                              ; preds = %164
  %168 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer135._storage, align 8
  %169 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %168, i64 0, i32 0
  %170 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %169) #21
  store %Ts28__ContiguousArrayStorageBaseC* %168, %Ts28__ContiguousArrayStorageBaseC** %._buffer135._storage, align 8
  br i1 %170, label %173, label %171

171:                                              ; preds = %167
  %172 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %168)
  store %Ts28__ContiguousArrayStorageBaseC* %172, %Ts28__ContiguousArrayStorageBaseC** %._buffer135._storage, align 8
  br label %173

173:                                              ; preds = %167, %171
  %174 = phi %Ts28__ContiguousArrayStorageBaseC* [ %168, %167 ], [ %172, %171 ]
  %._storage138.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %174, i64 0, i32 1, i32 0, i32 0, i32 0
  %175 = load i64, i64* %._storage138.count._value, align 8, !range !6
  %176 = icmp ult i64 %175, 2
  br i1 %176, label %482, label %177, !prof !7

177:                                              ; preds = %173
  %178 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %174, i64 1, i32 0, i32 1
  %._buffer140._storage = bitcast i64* %178 to %Ts28__ContiguousArrayStorageBaseC**
  %179 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer140._storage, align 8
  %180 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %179, i64 0, i32 0
  %181 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %180) #21
  store %Ts28__ContiguousArrayStorageBaseC* %179, %Ts28__ContiguousArrayStorageBaseC** %._buffer140._storage, align 8
  br i1 %181, label %184, label %182

182:                                              ; preds = %177
  %183 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %179)
  store %Ts28__ContiguousArrayStorageBaseC* %183, %Ts28__ContiguousArrayStorageBaseC** %._buffer140._storage, align 8
  br label %184

184:                                              ; preds = %177, %182
  %185 = phi %Ts28__ContiguousArrayStorageBaseC* [ %179, %177 ], [ %183, %182 ]
  %186 = icmp slt i64 %158, 0
  br i1 %186, label %483, label %187, !prof !7

187:                                              ; preds = %184
  %._storage143.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 0, i32 1, i32 0, i32 0, i32 0
  %188 = load i64, i64* %._storage143.count._value, align 8, !range !6
  %.not263 = icmp ult i64 %158, %188
  br i1 %.not263, label %189, label %484, !prof !9

189:                                              ; preds = %187
  %190 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 1
  %tailaddr144 = bitcast %Ts28__ContiguousArrayStorageBaseC* %190 to %TSb*
  %._value145 = getelementptr inbounds %TSb, %TSb* %tailaddr144, i64 %158, i32 0
  %191 = bitcast i1* %._value145 to i8*
  store i8 1, i8* %191, align 1
  br label %.backedge.backedge

.backedge.backedge:                               ; preds = %387, %189
  br label %.backedge

192:                                              ; preds = %157
  %.not281 = icmp eq i64 %137, 0
  %193 = icmp slt i64 %.sroa.0.0.ph, 0
  br label %194

194:                                              ; preds = %387, %192
  %195 = phi i64 [ 0, %192 ], [ %196, %387 ]
  %196 = add nuw nsw i64 %195, 1
  %197 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %195, i64 %158)
  %198 = extractvalue { i64, i1 } %197, 0
  %199 = extractvalue { i64, i1 } %197, 1
  br i1 %199, label %440, label %200, !prof !7

200:                                              ; preds = %194
  %201 = icmp slt i64 %198, 6410
  br i1 %201, label %202, label %257

202:                                              ; preds = %200
  br i1 %122, label %468, label %203, !prof !7

203:                                              ; preds = %202
  %204 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %.not252 = icmp ult i64 %116, %204
  br i1 %.not252, label %205, label %469, !prof !9

205:                                              ; preds = %203
  %206 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br i1 %193, label %470, label %207, !prof !7

207:                                              ; preds = %205
  %._storage99.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 1, i32 0, i32 0, i32 0
  %208 = load i64, i64* %._storage99.count._value, align 8, !range !6
  %.not253 = icmp ult i64 %.sroa.0.0.ph, %208
  br i1 %.not253, label %209, label %471, !prof !9

209:                                              ; preds = %207
  %210 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 1
  %tailaddr100 = bitcast %Ts28__ContiguousArrayStorageBaseC* %210 to %TSa*
  %._buffer101._storage = getelementptr inbounds %TSa, %TSa* %tailaddr100, i64 %.sroa.0.0.ph, i32 0, i32 0
  %211 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer101._storage, align 8
  %212 = icmp slt i64 %198, 0
  br i1 %212, label %472, label %213, !prof !7

213:                                              ; preds = %209
  %._storage102.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %211, i64 0, i32 1, i32 0, i32 0, i32 0
  %214 = load i64, i64* %._storage102.count._value, align 8, !range !6
  %.not254 = icmp ult i64 %198, %214
  br i1 %.not254, label %215, label %473, !prof !9

215:                                              ; preds = %213
  %216 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %211, i64 1
  %tailaddr103 = bitcast %Ts28__ContiguousArrayStorageBaseC* %216 to %TSb*
  %._value104 = getelementptr inbounds %TSb, %TSb* %tailaddr103, i64 %198, i32 0
  %217 = load i1, i1* %._value104, align 1
  br i1 %217, label %238, label %218

218:                                              ; preds = %215
  br i1 %.not280, label %230, label %219

219:                                              ; preds = %218
  %.not260 = icmp ult i64 %118, %204
  br i1 %.not260, label %220, label %478, !prof !9

220:                                              ; preds = %219
  %221 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer126._storage, align 8
  %._storage127.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %221, i64 0, i32 1, i32 0, i32 0, i32 0
  %222 = load i64, i64* %._storage127.count._value, align 8, !range !6
  %.not261 = icmp ult i64 %.sroa.0.0.ph, %222
  br i1 %.not261, label %223, label %479, !prof !9

223:                                              ; preds = %220
  %224 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %221, i64 1
  %tailaddr128 = bitcast %Ts28__ContiguousArrayStorageBaseC* %224 to %TSa*
  %._buffer129._storage = getelementptr inbounds %TSa, %TSa* %tailaddr128, i64 %.sroa.0.0.ph, i32 0, i32 0
  %225 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer129._storage, align 8
  %._storage130.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %225, i64 0, i32 1, i32 0, i32 0, i32 0
  %226 = load i64, i64* %._storage130.count._value, align 8, !range !6
  %.not262 = icmp ult i64 %195, %226
  br i1 %.not262, label %227, label %480, !prof !9

227:                                              ; preds = %223
  %228 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %225, i64 1
  %tailaddr131 = bitcast %Ts28__ContiguousArrayStorageBaseC* %228 to %TSb*
  %._value132 = getelementptr inbounds %TSb, %TSb* %tailaddr131, i64 %195, i32 0
  %229 = load i1, i1* %._value132, align 1
  %brmerge187 = select i1 %229, i1 true, i1 %.not281
  br i1 %brmerge187, label %238, label %231

230:                                              ; preds = %218
  br i1 %.not281, label %238, label %231

231:                                              ; preds = %227, %230
  %.not258 = icmp slt i64 %137, %208
  br i1 %.not258, label %232, label %476, !prof !9

232:                                              ; preds = %231
  %._buffer122._storage = getelementptr inbounds %TSa, %TSa* %tailaddr100, i64 %137, i32 0, i32 0
  %233 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer122._storage, align 8
  %._storage123.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %233, i64 0, i32 1, i32 0, i32 0, i32 0
  %234 = load i64, i64* %._storage123.count._value, align 8, !range !6
  %.not259 = icmp ult i64 %195, %234
  br i1 %.not259, label %235, label %477, !prof !9

235:                                              ; preds = %232
  %236 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %233, i64 1
  %tailaddr124 = bitcast %Ts28__ContiguousArrayStorageBaseC* %236 to %TSb*
  %._value125 = getelementptr inbounds %TSb, %TSb* %tailaddr124, i64 %195, i32 0
  %237 = load i1, i1* %._value125, align 1
  br label %238

238:                                              ; preds = %235, %215, %230, %227
  %239 = phi i1 [ %237, %235 ], [ true, %215 ], [ %229, %227 ], [ false, %230 ]
  %240 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 0
  %241 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %240) #21
  store %Ts28__ContiguousArrayStorageBaseC* %206, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br i1 %241, label %244, label %242

242:                                              ; preds = %238
  %243 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %206)
  store %Ts28__ContiguousArrayStorageBaseC* %243, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br label %244

244:                                              ; preds = %238, %242
  %245 = phi %Ts28__ContiguousArrayStorageBaseC* [ %206, %238 ], [ %243, %242 ]
  %._storage110.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %245, i64 0, i32 1, i32 0, i32 0, i32 0
  %246 = load i64, i64* %._storage110.count._value, align 8, !range !6
  %.not256 = icmp ult i64 %.sroa.0.0.ph, %246
  br i1 %.not256, label %247, label %474, !prof !9

247:                                              ; preds = %244
  %248 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %245, i64 1
  %tailaddr111 = bitcast %Ts28__ContiguousArrayStorageBaseC* %248 to %TSa*
  %._buffer112._storage = getelementptr inbounds %TSa, %TSa* %tailaddr111, i64 %.sroa.0.0.ph, i32 0, i32 0
  %249 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer112._storage, align 8
  %250 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %249, i64 0, i32 0
  %251 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %250) #21
  store %Ts28__ContiguousArrayStorageBaseC* %249, %Ts28__ContiguousArrayStorageBaseC** %._buffer112._storage, align 8
  br i1 %251, label %254, label %252

252:                                              ; preds = %247
  %253 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %249)
  store %Ts28__ContiguousArrayStorageBaseC* %253, %Ts28__ContiguousArrayStorageBaseC** %._buffer112._storage, align 8
  br label %254

254:                                              ; preds = %247, %252
  %255 = phi %Ts28__ContiguousArrayStorageBaseC* [ %249, %247 ], [ %253, %252 ]
  %._storage115.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 1, i32 0, i32 0, i32 0
  %256 = load i64, i64* %._storage115.count._value, align 8, !range !6
  %.not257 = icmp ult i64 %198, %256
  br i1 %.not257, label %.thread305, label %475, !prof !9

257:                                              ; preds = %200
  br i1 %.not280, label %326, label %261

.thread305:                                       ; preds = %254
  %258 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 1
  %tailaddr116 = bitcast %Ts28__ContiguousArrayStorageBaseC* %258 to %TSb*
  %._value117 = getelementptr inbounds %TSb, %TSb* %tailaddr116, i64 %198, i32 0
  %259 = bitcast i1* %._value117 to i8*
  %260 = zext i1 %239 to i8
  store i8 %260, i8* %259, align 1
  br i1 %.not280, label %326, label %.thread307

261:                                              ; preds = %257
  br i1 %122, label %454, label %262, !prof !7

262:                                              ; preds = %261
  %263 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %.not242 = icmp ult i64 %116, %263
  br i1 %.not242, label %265, label %455, !prof !9

.thread307:                                       ; preds = %.thread305
  %264 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %.not242308 = icmp ult i64 %116, %264
  br i1 %.not242308, label %.thread309, label %455, !prof !9

265:                                              ; preds = %262
  br i1 %193, label %456, label %.thread309, !prof !7

.thread309:                                       ; preds = %.thread307, %265
  %266 = phi i64 [ %263, %265 ], [ %264, %.thread307 ]
  %267 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  %._storage62.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 1, i32 0, i32 0, i32 0
  %268 = load i64, i64* %._storage62.count._value, align 8, !range !6
  %.not243 = icmp ult i64 %.sroa.0.0.ph, %268
  br i1 %.not243, label %269, label %457, !prof !9

269:                                              ; preds = %.thread309
  %270 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 1
  %tailaddr63 = bitcast %Ts28__ContiguousArrayStorageBaseC* %270 to %TSa*
  %._buffer64._storage = getelementptr inbounds %TSa, %TSa* %tailaddr63, i64 %.sroa.0.0.ph, i32 0, i32 0
  %271 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer64._storage, align 8
  %._storage65.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %271, i64 0, i32 1, i32 0, i32 0, i32 0
  %272 = load i64, i64* %._storage65.count._value, align 8, !range !6
  %.not244 = icmp ult i64 %195, %272
  br i1 %.not244, label %273, label %458, !prof !9

273:                                              ; preds = %269
  %274 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %271, i64 1
  %tailaddr66 = bitcast %Ts28__ContiguousArrayStorageBaseC* %274 to %TSb*
  %._value67 = getelementptr inbounds %TSb, %TSb* %tailaddr66, i64 %195, i32 0
  %275 = load i1, i1* %._value67, align 1
  br i1 %275, label %303, label %276

276:                                              ; preds = %273
  %277 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %195, i64 %158)
  %278 = extractvalue { i64, i1 } %277, 0
  %279 = extractvalue { i64, i1 } %277, 1
  br i1 %279, label %459, label %280, !prof !7

280:                                              ; preds = %276
  %281 = icmp slt i64 %278, 0
  br i1 %281, label %296, label %282

282:                                              ; preds = %280, %296
  %283 = phi i64 [ %298, %296 ], [ %278, %280 ]
  %.not245 = icmp ult i64 %118, %266
  br i1 %.not245, label %284, label %460, !prof !9

284:                                              ; preds = %282
  %285 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer126._storage, align 8
  %._storage69.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 0, i32 1, i32 0, i32 0, i32 0
  %286 = load i64, i64* %._storage69.count._value, align 8, !range !6
  %.not246 = icmp ult i64 %.sroa.0.0.ph, %286
  br i1 %.not246, label %287, label %461, !prof !9

287:                                              ; preds = %284
  %288 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 1
  %tailaddr70 = bitcast %Ts28__ContiguousArrayStorageBaseC* %288 to %TSa*
  %._buffer71._storage = getelementptr inbounds %TSa, %TSa* %tailaddr70, i64 %.sroa.0.0.ph, i32 0, i32 0
  %289 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer71._storage, align 8
  %290 = icmp slt i64 %283, 0
  br i1 %290, label %462, label %291, !prof !7

291:                                              ; preds = %287
  %._storage72.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %289, i64 0, i32 1, i32 0, i32 0, i32 0
  %292 = load i64, i64* %._storage72.count._value, align 8, !range !6
  %.not247 = icmp ult i64 %283, %292
  br i1 %.not247, label %293, label %463, !prof !9

293:                                              ; preds = %291
  %294 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %289, i64 1
  %tailaddr73 = bitcast %Ts28__ContiguousArrayStorageBaseC* %294 to %TSb*
  %._value74 = getelementptr inbounds %TSb, %TSb* %tailaddr73, i64 %283, i32 0
  %295 = load i1, i1* %._value74, align 1
  %.not188 = xor i1 %201, true
  %brmerge189 = select i1 %295, i1 true, i1 %.not188
  br i1 %brmerge189, label %303, label %300

296:                                              ; preds = %280
  %297 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %278)
  %298 = extractvalue { i64, i1 } %297, 0
  %299 = extractvalue { i64, i1 } %297, 1
  br i1 %299, label %467, label %282, !prof !7

300:                                              ; preds = %293
  %.not248 = icmp ult i64 %198, %292
  br i1 %.not248, label %301, label %466, !prof !9

301:                                              ; preds = %300
  %._value95 = getelementptr inbounds %TSb, %TSb* %tailaddr73, i64 %198, i32 0
  %302 = load i1, i1* %._value95, align 1
  br label %303

303:                                              ; preds = %301, %273, %293
  %304 = phi i1 [ %302, %301 ], [ %295, %293 ], [ true, %273 ]
  %305 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %267, i64 0, i32 0
  %306 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %305) #21
  store %Ts28__ContiguousArrayStorageBaseC* %267, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br i1 %306, label %309, label %307

307:                                              ; preds = %303
  %308 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %267)
  store %Ts28__ContiguousArrayStorageBaseC* %308, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br label %309

309:                                              ; preds = %303, %307
  %310 = phi %Ts28__ContiguousArrayStorageBaseC* [ %267, %303 ], [ %308, %307 ]
  %._storage80.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %310, i64 0, i32 1, i32 0, i32 0, i32 0
  %311 = load i64, i64* %._storage80.count._value, align 8, !range !6
  %.not250 = icmp ult i64 %.sroa.0.0.ph, %311
  br i1 %.not250, label %312, label %464, !prof !9

312:                                              ; preds = %309
  %313 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %310, i64 1
  %tailaddr81 = bitcast %Ts28__ContiguousArrayStorageBaseC* %313 to %TSa*
  %._buffer82._storage = getelementptr inbounds %TSa, %TSa* %tailaddr81, i64 %.sroa.0.0.ph, i32 0, i32 0
  %314 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer82._storage, align 8
  %315 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %314, i64 0, i32 0
  %316 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %315) #21
  store %Ts28__ContiguousArrayStorageBaseC* %314, %Ts28__ContiguousArrayStorageBaseC** %._buffer82._storage, align 8
  br i1 %316, label %319, label %317

317:                                              ; preds = %312
  %318 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %314)
  store %Ts28__ContiguousArrayStorageBaseC* %318, %Ts28__ContiguousArrayStorageBaseC** %._buffer82._storage, align 8
  br label %319

319:                                              ; preds = %312, %317
  %320 = phi %Ts28__ContiguousArrayStorageBaseC* [ %314, %312 ], [ %318, %317 ]
  %._storage85.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %320, i64 0, i32 1, i32 0, i32 0, i32 0
  %321 = load i64, i64* %._storage85.count._value, align 8, !range !6
  %.not251 = icmp ult i64 %195, %321
  br i1 %.not251, label %322, label %465, !prof !9

322:                                              ; preds = %319
  %323 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %320, i64 1
  %tailaddr86 = bitcast %Ts28__ContiguousArrayStorageBaseC* %323 to %TSb*
  %._value87 = getelementptr inbounds %TSb, %TSb* %tailaddr86, i64 %195, i32 0
  %324 = bitcast i1* %._value87 to i8*
  %325 = zext i1 %304 to i8
  store i8 %325, i8* %324, align 1
  br label %326

326:                                              ; preds = %.thread305, %257, %322
  br i1 %.not281, label %387, label %327

327:                                              ; preds = %326
  br i1 %122, label %441, label %328, !prof !7

328:                                              ; preds = %327
  %329 = load i64, i64* %._storage96.count._value, align 8, !range !6
  %.not233 = icmp ult i64 %116, %329
  br i1 %.not233, label %330, label %442, !prof !9

330:                                              ; preds = %328
  %331 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br i1 %193, label %443, label %332, !prof !7

332:                                              ; preds = %330
  %._storage26.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %331, i64 0, i32 1, i32 0, i32 0, i32 0
  %333 = load i64, i64* %._storage26.count._value, align 8, !range !6
  %.not234 = icmp ult i64 %.sroa.0.0.ph, %333
  br i1 %.not234, label %334, label %444, !prof !9

334:                                              ; preds = %332
  %335 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %331, i64 1
  %tailaddr27 = bitcast %Ts28__ContiguousArrayStorageBaseC* %335 to %TSa*
  %._buffer28._storage = getelementptr inbounds %TSa, %TSa* %tailaddr27, i64 %.sroa.0.0.ph, i32 0, i32 0
  %336 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  %._storage29.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %336, i64 0, i32 1, i32 0, i32 0, i32 0
  %337 = load i64, i64* %._storage29.count._value, align 8, !range !6
  %.not235 = icmp ult i64 %195, %337
  br i1 %.not235, label %338, label %445, !prof !9

338:                                              ; preds = %334
  %339 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %336, i64 1
  %tailaddr30 = bitcast %Ts28__ContiguousArrayStorageBaseC* %339 to %TSb*
  %._value31 = getelementptr inbounds %TSb, %TSb* %tailaddr30, i64 %195, i32 0
  %340 = load i1, i1* %._value31, align 1
  br i1 %340, label %364, label %341

341:                                              ; preds = %338
  %342 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %195, i64 %158)
  %343 = extractvalue { i64, i1 } %342, 0
  %344 = extractvalue { i64, i1 } %342, 1
  br i1 %344, label %446, label %345, !prof !7

345:                                              ; preds = %341
  %346 = icmp slt i64 %343, 0
  br i1 %346, label %357, label %347

347:                                              ; preds = %345, %357
  %348 = phi i64 [ %359, %357 ], [ %343, %345 ]
  %.not236 = icmp ult i64 %137, %333
  br i1 %.not236, label %349, label %447, !prof !9

349:                                              ; preds = %347
  %._buffer34._storage = getelementptr inbounds %TSa, %TSa* %tailaddr27, i64 %137, i32 0, i32 0
  %350 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer34._storage, align 8
  %351 = icmp slt i64 %348, 0
  br i1 %351, label %448, label %352, !prof !7

352:                                              ; preds = %349
  %._storage35.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %350, i64 0, i32 1, i32 0, i32 0, i32 0
  %353 = load i64, i64* %._storage35.count._value, align 8, !range !6
  %.not237 = icmp ult i64 %348, %353
  br i1 %.not237, label %354, label %449, !prof !9

354:                                              ; preds = %352
  %355 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %350, i64 1
  %tailaddr36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %355 to %TSb*
  %._value37 = getelementptr inbounds %TSb, %TSb* %tailaddr36, i64 %348, i32 0
  %356 = load i1, i1* %._value37, align 1
  %.not191 = xor i1 %201, true
  %brmerge192 = select i1 %356, i1 true, i1 %.not191
  br i1 %brmerge192, label %364, label %361

357:                                              ; preds = %345
  %358 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 0, i64 %343)
  %359 = extractvalue { i64, i1 } %358, 0
  %360 = extractvalue { i64, i1 } %358, 1
  br i1 %360, label %453, label %347, !prof !7

361:                                              ; preds = %354
  %.not238 = icmp ult i64 %198, %353
  br i1 %.not238, label %362, label %452, !prof !9

362:                                              ; preds = %361
  %._value58 = getelementptr inbounds %TSb, %TSb* %tailaddr36, i64 %198, i32 0
  %363 = load i1, i1* %._value58, align 1
  br label %364

364:                                              ; preds = %362, %338, %354
  %365 = phi i1 [ %363, %362 ], [ %356, %354 ], [ true, %338 ]
  %366 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %331, i64 0, i32 0
  %367 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %366) #21
  store %Ts28__ContiguousArrayStorageBaseC* %331, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br i1 %367, label %370, label %368

368:                                              ; preds = %364
  %369 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySbG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %331)
  store %Ts28__ContiguousArrayStorageBaseC* %369, %Ts28__ContiguousArrayStorageBaseC** %._buffer98._storage, align 8
  br label %370

370:                                              ; preds = %364, %368
  %371 = phi %Ts28__ContiguousArrayStorageBaseC* [ %331, %364 ], [ %369, %368 ]
  %._storage43.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %371, i64 0, i32 1, i32 0, i32 0, i32 0
  %372 = load i64, i64* %._storage43.count._value, align 8, !range !6
  %.not240 = icmp ult i64 %.sroa.0.0.ph, %372
  br i1 %.not240, label %373, label %450, !prof !9

373:                                              ; preds = %370
  %374 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %371, i64 1
  %tailaddr44 = bitcast %Ts28__ContiguousArrayStorageBaseC* %374 to %TSa*
  %._buffer45._storage = getelementptr inbounds %TSa, %TSa* %tailaddr44, i64 %.sroa.0.0.ph, i32 0, i32 0
  %375 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer45._storage, align 8
  %376 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %375, i64 0, i32 0
  %377 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %376) #21
  store %Ts28__ContiguousArrayStorageBaseC* %375, %Ts28__ContiguousArrayStorageBaseC** %._buffer45._storage, align 8
  br i1 %377, label %380, label %378

378:                                              ; preds = %373
  %379 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSb_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %375)
  store %Ts28__ContiguousArrayStorageBaseC* %379, %Ts28__ContiguousArrayStorageBaseC** %._buffer45._storage, align 8
  br label %380

380:                                              ; preds = %373, %378
  %381 = phi %Ts28__ContiguousArrayStorageBaseC* [ %375, %373 ], [ %379, %378 ]
  %._storage48.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %381, i64 0, i32 1, i32 0, i32 0, i32 0
  %382 = load i64, i64* %._storage48.count._value, align 8, !range !6
  %.not241 = icmp ult i64 %195, %382
  br i1 %.not241, label %383, label %451, !prof !9

383:                                              ; preds = %380
  %384 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %381, i64 1
  %tailaddr49 = bitcast %Ts28__ContiguousArrayStorageBaseC* %384 to %TSb*
  %._value50 = getelementptr inbounds %TSb, %TSb* %tailaddr49, i64 %195, i32 0
  %385 = bitcast i1* %._value50 to i8*
  %386 = zext i1 %365 to i8
  store i8 %386, i8* %385, align 1
  br label %387

387:                                              ; preds = %326, %383
  %exitcond294.not = icmp eq i64 %196, 6410
  br i1 %exitcond294.not, label %.backedge.backedge, label %194

._crit_edge:                                      ; preds = %.loopexit283, %105
  call void @llvm.lifetime.end.p0i8(i64 49, i8* nonnull %96)
  %388 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 1
  %tailaddr1 = bitcast %Ts28__ContiguousArrayStorageBaseC* %388 to %TSa*
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %tailaddr1, i64 %1, i32 0, i32 0
  %389 = or i64 %2, %1
  %.not264 = icmp sgt i64 %389, -1
  br i1 %.not264, label %390, label %427, !prof !9

390:                                              ; preds = %._crit_edge
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 1, i32 0, i32 0, i32 0
  %391 = load i64, i64* %._storage2.count._value, align 8, !range !6
  %.not265 = icmp sgt i64 %391, %1
  br i1 %.not265, label %392, label %428, !prof !9

392:                                              ; preds = %390
  %393 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %394 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %393, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %394 to %TSa*
  %._buffer4._storage = getelementptr inbounds %TSa, %TSa* %tailaddr3, i64 %2, i32 0, i32 0
  %395 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %396 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %395, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %396 to %TSb*
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %393, i64 0, i32 1, i32 0, i32 0, i32 0
  %397 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %.not266 = icmp sgt i64 %397, %2
  br i1 %.not266, label %398, label %429, !prof !9

398:                                              ; preds = %392
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %395, i64 0, i32 1, i32 0, i32 0, i32 0
  %399 = load i64, i64* %._storage7.count._value, align 8, !range !6
  br label %400

400:                                              ; preds = %421, %398
  %401 = phi i64 [ 0, %398 ], [ %418, %421 ]
  %402 = add nuw nsw i64 %401, 1
  %exitcond295.not = icmp eq i64 %401, %399
  br i1 %exitcond295.not, label %430, label %403, !prof !7

403:                                              ; preds = %400
  %._value8 = getelementptr inbounds %TSb, %TSb* %tailaddr5, i64 %401, i32 0
  %404 = load i1, i1* %._value8, align 1
  br i1 %404, label %422, label %405

405:                                              ; preds = %403
  %406 = add nuw nsw i64 %401, 2
  %exitcond295.not.1 = icmp eq i64 %402, %399
  br i1 %exitcond295.not.1, label %430, label %407, !prof !7

407:                                              ; preds = %405
  %._value8.1 = getelementptr inbounds %TSb, %TSb* %tailaddr5, i64 %402, i32 0
  %408 = load i1, i1* %._value8.1, align 1
  br i1 %408, label %422, label %409

409:                                              ; preds = %407
  %410 = add nuw nsw i64 %401, 3
  %exitcond295.not.2 = icmp eq i64 %406, %399
  br i1 %exitcond295.not.2, label %430, label %411, !prof !7

411:                                              ; preds = %409
  %._value8.2 = getelementptr inbounds %TSb, %TSb* %tailaddr5, i64 %406, i32 0
  %412 = load i1, i1* %._value8.2, align 1
  br i1 %412, label %422, label %413

413:                                              ; preds = %411
  %414 = add nuw nsw i64 %401, 4
  %exitcond295.not.3 = icmp eq i64 %410, %399
  br i1 %exitcond295.not.3, label %430, label %415, !prof !7

415:                                              ; preds = %413
  %._value8.3 = getelementptr inbounds %TSb, %TSb* %tailaddr5, i64 %410, i32 0
  %416 = load i1, i1* %._value8.3, align 1
  br i1 %416, label %422, label %417

417:                                              ; preds = %415
  %418 = add nuw nsw i64 %401, 5
  %exitcond295.not.4 = icmp eq i64 %414, %399
  br i1 %exitcond295.not.4, label %430, label %419, !prof !7

419:                                              ; preds = %417
  %._value8.4 = getelementptr inbounds %TSb, %TSb* %tailaddr5, i64 %414, i32 0
  %420 = load i1, i1* %._value8.4, align 1
  br i1 %420, label %422, label %421

421:                                              ; preds = %419
  %exitcond296.not.4 = icmp eq i64 %418, 6410
  br i1 %exitcond296.not.4, label %422, label %400

422:                                              ; preds = %421, %419, %415, %411, %407, %403
  %423 = phi i64 [ %401, %403 ], [ %402, %407 ], [ %406, %411 ], [ %410, %415 ], [ %414, %419 ], [ 0, %421 ]
  %424 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %424) #6
  ret i64 %423

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

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

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

428:                                              ; preds = %390
  tail call void asm sideeffect "", "n"(i32 3) #6
  tail call void @llvm.trap()
  unreachable

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

430:                                              ; preds = %417, %413, %409, %405, %400
  tail call void asm sideeffect "", "n"(i32 5) #6
  tail call void @llvm.trap()
  unreachable

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

432:                                              ; preds = %131
  tail call void asm sideeffect "", "n"(i32 7) #6
  tail call void @llvm.trap()
  unreachable

433:                                              ; preds = %132
  tail call void asm sideeffect "", "n"(i32 8) #6
  tail call void @llvm.trap()
  unreachable

434:                                              ; preds = %134
  tail call void asm sideeffect "", "n"(i32 9) #6
  tail call void @llvm.trap()
  unreachable

435:                                              ; preds = %139
  tail call void asm sideeffect "", "n"(i32 10) #6
  tail call void @llvm.trap()
  unreachable

436:                                              ; preds = %141
  tail call void asm sideeffect "", "n"(i32 11) #6
  tail call void @llvm.trap()
  unreachable

437:                                              ; preds = %143
  tail call void asm sideeffect "", "n"(i32 12) #6
  tail call void @llvm.trap()
  unreachable

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

439:                                              ; preds = %147
  tail call void asm sideeffect "", "n"(i32 15) #6
  tail call void @llvm.trap()
  unreachable

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

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

442:                                              ; preds = %328
  tail call void asm sideeffect "", "n"(i32 18) #6
  tail call void @llvm.trap()
  unreachable

443:                                              ; preds = %330
  tail call void asm sideeffect "", "n"(i32 19) #6
  tail call void @llvm.trap()
  unreachable

444:                                              ; preds = %332
  tail call void asm sideeffect "", "n"(i32 20) #6
  tail call void @llvm.trap()
  unreachable

445:                                              ; preds = %334
  tail call void asm sideeffect "", "n"(i32 22) #6
  tail call void @llvm.trap()
  unreachable

446:                                              ; preds = %341
  tail call void asm sideeffect "", "n"(i32 23) #6
  tail call void @llvm.trap()
  unreachable

447:                                              ; preds = %347
  tail call void asm sideeffect "", "n"(i32 24) #6
  tail call void @llvm.trap()
  unreachable

448:                                              ; preds = %349
  tail call void asm sideeffect "", "n"(i32 25) #6
  tail call void @llvm.trap()
  unreachable

449:                                              ; preds = %352
  tail call void asm sideeffect "", "n"(i32 26) #6
  tail call void @llvm.trap()
  unreachable

450:                                              ; preds = %370
  tail call void asm sideeffect "", "n"(i32 28) #6
  tail call void @llvm.trap()
  unreachable

451:                                              ; preds = %380
  tail call void asm sideeffect "", "n"(i32 29) #6
  tail call void @llvm.trap()
  unreachable

452:                                              ; preds = %361
  tail call void asm sideeffect "", "n"(i32 32) #6
  tail call void @llvm.trap()
  unreachable

453:                                              ; preds = %357
  tail call void asm sideeffect "", "n"(i32 33) #6
  tail call void @llvm.trap()
  unreachable

454:                                              ; preds = %261
  tail call void asm sideeffect "", "n"(i32 34) #6
  tail call void @llvm.trap()
  unreachable

455:                                              ; preds = %.thread307, %262
  tail call void asm sideeffect "", "n"(i32 35) #6
  tail call void @llvm.trap()
  unreachable

456:                                              ; preds = %265
  tail call void asm sideeffect "", "n"(i32 36) #6
  tail call void @llvm.trap()
  unreachable

457:                                              ; preds = %.thread309
  tail call void asm sideeffect "", "n"(i32 37) #6
  tail call void @llvm.trap()
  unreachable

458:                                              ; preds = %269
  tail call void asm sideeffect "", "n"(i32 39) #6
  tail call void @llvm.trap()
  unreachable

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

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

461:                                              ; preds = %284
  tail call void asm sideeffect "", "n"(i32 42) #6
  tail call void @llvm.trap()
  unreachable

462:                                              ; preds = %287
  tail call void asm sideeffect "", "n"(i32 43) #6
  tail call void @llvm.trap()
  unreachable

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

464:                                              ; preds = %309
  tail call void asm sideeffect "", "n"(i32 46) #6
  tail call void @llvm.trap()
  unreachable

465:                                              ; preds = %319
  tail call void asm sideeffect "", "n"(i32 47) #6
  tail call void @llvm.trap()
  unreachable

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

467:                                              ; preds = %296
  tail call void asm sideeffect "", "n"(i32 51) #6
  tail call void @llvm.trap()
  unreachable

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

469:                                              ; preds = %203
  tail call void asm sideeffect "", "n"(i32 53) #6
  tail call void @llvm.trap()
  unreachable

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

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

472:                                              ; preds = %209
  tail call void asm sideeffect "", "n"(i32 56) #6
  tail call void @llvm.trap()
  unreachable

473:                                              ; preds = %213
  tail call void asm sideeffect "", "n"(i32 57) #6
  tail call void @llvm.trap()
  unreachable

474:                                              ; preds = %244
  tail call void asm sideeffect "", "n"(i32 59) #6
  tail call void @llvm.trap()
  unreachable

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

476:                                              ; preds = %231
  tail call void asm sideeffect "", "n"(i32 61) #6
  tail call void @llvm.trap()
  unreachable

477:                                              ; preds = %232
  tail call void asm sideeffect "", "n"(i32 63) #6
  tail call void @llvm.trap()
  unreachable

478:                                              ; preds = %219
  tail call void asm sideeffect "", "n"(i32 64) #6
  tail call void @llvm.trap()
  unreachable

479:                                              ; preds = %220
  tail call void asm sideeffect "", "n"(i32 65) #6
  tail call void @llvm.trap()
  unreachable

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

481:                                              ; preds = %164
  tail call void asm sideeffect "", "n"(i32 69) #6
  tail call void @llvm.trap()
  unreachable

482:                                              ; preds = %173
  tail call void asm sideeffect "", "n"(i32 71) #6
  tail call void @llvm.trap()
  unreachable

483:                                              ; preds = %184
  tail call void asm sideeffect "", "n"(i32 72) #6
  tail call void @llvm.trap()
  unreachable

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

485:                                              ; preds = %160
  tail call void asm sideeffect "", "n"(i32 74) #6
  tail call void @llvm.trap()
  unreachable

486:                                              ; preds = %67
  tail call void asm sideeffect "", "n"(i32 76) #6
  tail call void @llvm.trap()
  unreachable

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

488:                                              ; preds = %87
  tail call void asm sideeffect "", "n"(i32 79) #6
  tail call void @llvm.trap()
  unreachable

489:                                              ; preds = %.preheader286
  tail call void asm sideeffect "", "n"(i32 81) #6
  tail call void @llvm.trap()
  unreachable

490:                                              ; preds = %37
  tail call void asm sideeffect "", "n"(i32 82) #6
  tail call void @llvm.trap()
  unreachable

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

cacheIsNull:                                      ; preds = %entry
  %2 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledNameAbstract({ i32, i32 }* nonnull @"$sSaySSGMD") #20
  %3 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSayxGSKsMc", %swift.type* %2, i8*** undef) #20
  store atomic i8** %3, i8*** @"$sSaySSGSayxGSKsWL" release, align 8
  br label %cont

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

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

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

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

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

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

; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.metadata_response @"$s7llvm_O37ScannerCMa"(i64 %0) #14 {
entry:
  ret %swift.metadata_response { %swift.type* bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O37ScannerC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37ScannerC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O37ScannerC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37ScannerC* (%swift.type*)* }>* @"$s7llvm_O37ScannerCMf", i32 0, i32 3) to %swift.type*), i64 0 }
}

; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.metadata_response @"$s7llvm_O37PrinterCMa"(i64 %0) #14 {
entry:
  ret %swift.metadata_response { %swift.type* bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O37PrinterC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37PrinterC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O37PrinterC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor }>*, i8*, %T7llvm_O37PrinterC* (%swift.type*)* }>* @"$s7llvm_O37PrinterCMf", i32 0, i32 3) to %swift.type*), i64 0 }
}

; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind readnone willreturn
define hidden swiftcc %swift.metadata_response @"$s7llvm_O38SolutionCMa"(i64 %0) #14 {
entry:
  ret %swift.metadata_response { %swift.type* bitcast (i64* getelementptr inbounds (<{ i8*, void (%T7llvm_O38SolutionC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>*, i8*, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)*, %T7llvm_O38SolutionC* (%swift.type*)* }>, <{ i8*, void (%T7llvm_O38SolutionC*)*, i8**, i64, %swift.type*, i32, i32, i32, i16, i16, i32, i32, <{ i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %swift.method_descriptor, %swift.method_descriptor }>*, i8*, i64 (%Ts28__ContiguousArrayStorageBaseC*, i64, i64, %T7llvm_O38SolutionC*)*, %T7llvm_O38SolutionC* (%swift.type*)* }>* @"$s7llvm_O38SolutionCMf", i32 0, i32 3) to %swift.type*), i64 0 }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: optsize
declare i64 @malloc_usable_size(i8* noundef) local_unnamed_addr #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.smax.i64(i64, i64) #18

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

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

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

; Function Attrs: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain_n(%swift.bridge*, i32) #6

; Function Attrs: nounwind
define hidden swiftcc noalias %T7llvm_O37ScannerC* @"$s7llvm_O37ScannerCACycfC"(%swift.type* swiftself %0) #2 {
  %2 = tail call swiftcc noalias %T7llvm_O37PrinterC* @"$s7llvm_O37PrinterCACycfC"(%swift.type* swiftself %0) #2
  %3 = bitcast %T7llvm_O37PrinterC* %2 to %T7llvm_O37ScannerC*
  ret %T7llvm_O37ScannerC* %3
}

; Function Attrs: nounwind
define hidden swiftcc noalias %T7llvm_O38SolutionC* @"$s7llvm_O38SolutionCACycfC"(%swift.type* swiftself %0) #2 {
  %2 = tail call swiftcc noalias %T7llvm_O37PrinterC* @"$s7llvm_O37PrinterCACycfC"(%swift.type* swiftself %0) #2
  %3 = bitcast %T7llvm_O37PrinterC* %2 to %T7llvm_O38SolutionC*
  ret %T7llvm_O38SolutionC* %3
}

; Function Attrs: nounwind
define hidden swiftcc void @"$s7llvm_O37ScannerCfD"(%T7llvm_O37ScannerC* swiftself %0) #2 {
  %2 = bitcast %T7llvm_O37ScannerC* %0 to %T7llvm_O37PrinterC*
  tail call swiftcc void @"$s7llvm_O37PrinterCfD"(%T7llvm_O37PrinterC* swiftself %2) #2
  ret void
}

; Function Attrs: nounwind
define hidden swiftcc void @"$s7llvm_O38SolutionCfD"(%T7llvm_O38SolutionC* swiftself %0) #2 {
  %2 = bitcast %T7llvm_O38SolutionC* %0 to %T7llvm_O37PrinterC*
  tail call swiftcc void @"$s7llvm_O37PrinterCfD"(%T7llvm_O37PrinterC* swiftself %2) #2
  ret void
}

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

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

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