import Foundation
let main: () = {
    let N = nextInt()
    let A = listOfInt()
    var dp = [[Int]](repeating: [Int](repeating: 0, count: 2), count: N)
    dp[1][1] = A[1]
    dp[1][0] = A[0]
    for n in 2 ..< N {
        if (n.isEven) {
            if (n < 3) {
                dp[n][1] = A[n] + [dp[n - 2][1], dp[n - 2][0]].max()!
                dp[n][0] = [dp[n - 1][1], dp[n - 1][0]].max()!
            } else {
                dp[n][1] = A[n] + [dp[n - 3][1], dp[n - 3][0], dp[n - 2][1], dp[n - 2][0]].max()!
                dp[n][0] = [dp[n - 1][1], dp[n - 1][0], A[n - 2] + dp[n - 3][0]].max()!
            }
        } else {
            dp[n][1] = A[n] + [dp[n - 2][1], dp[n - 2][0], dp[n - 1][0]].max()!
            dp[n][0] = A[n - 1] + dp[n - 2][0]
        }
    }
    let ans = dp.last!.max()!
    print(ans)
}()

@inlinable func next() -> String { readLine()! }
@inlinable func nextInt() -> Int { Int(next())! }
@inlinable func listOfString() -> [String] { next().split(separator: " ").map(String.init) }
@inlinable func listOfInt() -> [Int] { listOfString().map { Int($0)! } }
extension Int {
    var isEven: Bool { self.isMultiple(of: 2) }
}

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

%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%swift.type = type { i64 }
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.refcounted = type { %swift.type*, i64 }
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%swift.bridge = type opaque
%Ts6UInt64V = type <{ i64 }>
%swift.error = type opaque
%Ts5UInt8V = type <{ i8 }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%TSJ = type <{ %TSS }>
%swift.opaque = type opaque
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>

@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, 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
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____ySSG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySSGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSSN" = external global %swift.type, align 8
@"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
@"$sSsN" = external global %swift.type, align 8
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSiN" = external global %swift.type, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic _____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
@"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
@__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 [10 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 (%Ts28__ContiguousArrayStorageBaseC* ()* @"$s7llvm_OZ12listOfStringSaySSGyF" to i8*), i8* bitcast ({ i64, %swift.bridge* } ()* @"$s7llvm_OZ4nextSSyF" to i8*), i8* bitcast (i64 ()* @"$s7llvm_OZ7nextIntSiyF" to i8*), i8* bitcast (%Ts28__ContiguousArrayStorageBaseC* ()* @"$s7llvm_OZ9listOfIntSaySiGyF" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

; Function Attrs: minsize optsize
define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %reference.raw167.i = alloca [56 x i8], align 8
  %reference.raw56168187.i = alloca [4 x %swift.refcounted], align 8
  %reference.raw86169.i = alloca [56 x i8], align 8
  %reference.raw113170202.i = alloca [3 x %swift.refcounted], align 8
  %reference.raw135171206.i = alloca [3 x %swift.refcounted], align 8
  %2 = getelementptr inbounds [56 x i8], [56 x i8]* %reference.raw167.i, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 56, i8* nonnull %2)
  %3 = bitcast [4 x %swift.refcounted]* %reference.raw56168187.i to i8*
  call void @llvm.lifetime.start.p0i8(i64 64, i8* nonnull %3)
  %4 = getelementptr inbounds [56 x i8], [56 x i8]* %reference.raw86169.i, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 56, i8* nonnull %4)
  %5 = bitcast [3 x %swift.refcounted]* %reference.raw113170202.i to i8*
  call void @llvm.lifetime.start.p0i8(i64 48, i8* nonnull %5)
  %6 = bitcast [3 x %swift.refcounted]* %reference.raw135171206.i to i8*
  call void @llvm.lifetime.start.p0i8(i64 48, i8* nonnull %6)
  %reference.raw135171206.sub.i = getelementptr inbounds [3 x %swift.refcounted], [3 x %swift.refcounted]* %reference.raw135171206.i, i64 0, i64 0
  %reference.raw113170202.sub.i = getelementptr inbounds [3 x %swift.refcounted], [3 x %swift.refcounted]* %reference.raw113170202.i, i64 0, i64 0
  %reference.raw56168187.sub.i = getelementptr inbounds [4 x %swift.refcounted], [4 x %swift.refcounted]* %reference.raw56168187.i, i64 0, i64 0
  %7 = tail call swiftcc i64 @"$s7llvm_OZ7nextIntSiyF"()
  %8 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ9listOfIntSaySiGyF"()
  %9 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2, %swift.type* nonnull @"$sSiN")
  %._storage.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2, i64* %._storage.count._value.i, align 8
  %10 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 1
  %11 = bitcast %Ts28__ContiguousArrayStorageBaseC* %10 to i8*
  tail call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %11, i8 0, i64 16, i1 false)
  %12 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %9, i64 %7)
  %._storage1.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 0, i32 1, i32 0, i32 0, i32 0
  %13 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  %14 = icmp ult i64 %13, 2
  br i1 %14, label %340, label %15, !prof !7

15:                                               ; preds = %entry
  %16 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1
  %tailaddr2.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %16 to %TSi*
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1, i32 0, i32 1
  %18 = load i64, i64* %17, align 8
  %19 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %12, i64 0, i32 0
  %20 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %19) #17
  br i1 %20, label %23, label %21

21:                                               ; preds = %15
  %22 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %12)
  br label %23

23:                                               ; preds = %21, %15
  %24 = phi %Ts28__ContiguousArrayStorageBaseC* [ %22, %21 ], [ %12, %15 ]
  %._storage4.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 0, i32 1, i32 0, i32 0, i32 0
  %25 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %26 = icmp ult i64 %25, 2
  br i1 %26, label %341, label %27, !prof !7

27:                                               ; preds = %23
  %28 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 1, i32 0, i32 1
  %._buffer._storage.i = bitcast i64* %28 to %Ts28__ContiguousArrayStorageBaseC**
  %29 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  %30 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %29, i64 0, i32 0
  %31 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %30) #17
  store %Ts28__ContiguousArrayStorageBaseC* %29, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  br i1 %31, label %34, label %32

32:                                               ; preds = %27
  %33 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %29)
  br label %34

34:                                               ; preds = %32, %27
  %35 = phi %Ts28__ContiguousArrayStorageBaseC* [ %33, %32 ], [ %29, %27 ]
  %._storage7.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 1, i32 0, i32 0, i32 0
  %36 = load i64, i64* %._storage7.count._value.i, align 8, !range !6
  %37 = icmp ult i64 %36, 2
  br i1 %37, label %342, label %38, !prof !7

38:                                               ; preds = %34
  %39 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 1
  %40 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 1, i32 0, i32 1
  store i64 %18, i64* %40, align 8
  %41 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  %.not.i = icmp eq i64 %41, 0
  br i1 %.not.i, label %343, label %42, !prof !7

42:                                               ; preds = %38
  %43 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %44 = icmp ult i64 %43, 2
  br i1 %44, label %344, label %45, !prof !7

45:                                               ; preds = %42
  %tailaddr2._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %16 to i64*
  %46 = load i64, i64* %tailaddr2._value.i, align 8
  %tailaddr11._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %39 to i64*
  store i64 %46, i64* %tailaddr11._value.i, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %35, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  %47 = icmp slt i64 %7, 2
  br i1 %47, label %345, label %48, !prof !7

48:                                               ; preds = %45
  %49 = icmp eq i64 %7, 2
  br i1 %49, label %.loopexit.i, label %.preheader.i

.preheader.i:                                     ; preds = %48
  %50 = bitcast [56 x i8]* %reference.raw167.i to %swift.refcounted*
  %51 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 1
  %tailaddr17.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %51 to %TSa*
  %52 = bitcast [56 x i8]* %reference.raw86169.i to %swift.refcounted*
  %._value112.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 1, i32 1, i32 0, i32 0, i32 0
  %._buffer119._storage.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %51 to %Ts28__ContiguousArrayStorageBaseC**
  %53 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 1, i32 1
  %._buffer128._storage.i = bitcast %Ts10_ArrayBodyV* %53 to %Ts28__ContiguousArrayStorageBaseC**
  br label %54

54:                                               ; preds = %152, %.preheader.i
  %55 = phi i64 [ %57, %152 ], [ 2, %.preheader.i ]
  %exitcond.not = icmp eq i64 %55, %7
  br i1 %exitcond.not, label %346, label %56, !prof !7

56:                                               ; preds = %54
  %57 = add nuw i64 %55, 1
  %58 = and i64 %55, 1
  %59 = icmp eq i64 %58, 0
  br i1 %59, label %68, label %263

.loopexit.i:                                      ; preds = %152, %48
  %60 = call swiftcc i64 @"$sSKsE4last7ElementQzSgvgSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %24)
  %61 = icmp eq i64 %60, 0
  br i1 %61, label %363, label %62

62:                                               ; preds = %.loopexit.i
  %63 = inttoptr i64 %60 to %Ts28__ContiguousArrayStorageBaseC*
  %64 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %63)
  %65 = extractvalue { i64, i8 } %64, 1
  %66 = and i8 %65, 1
  %.not185.i = icmp eq i8 %66, 0
  %67 = inttoptr i64 %60 to %swift.refcounted*
  call void @swift_release(%swift.refcounted* nonnull %67) #5
  br i1 %.not185.i, label %"$s7llvm_OZyyXEfU_.exit", label %364

68:                                               ; preds = %56
  %69 = icmp ult i64 %55, 3
  %70 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  br i1 %69, label %71, label %155

71:                                               ; preds = %68
  %72 = icmp ult i64 %70, 3
  br i1 %72, label %386, label %73, !prof !7

73:                                               ; preds = %71
  %74 = load i64, i64* %._value112.i, align 8
  %75 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #18
  %reference.new114.i = call %swift.refcounted* @swift_initStackObject(%swift.type* %75, %swift.refcounted* nonnull %reference.raw113170202.sub.i) #17
  %76 = bitcast %swift.refcounted* %reference.new114.i to %Ts28__ContiguousArrayStorageBaseC*
  %77 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new114.i, i64 1
  %._storage115.count._value.i = bitcast %swift.refcounted* %77 to i64*
  store i64 2, i64* %._storage115.count._value.i, align 8
  %._storage115._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new114.i, i64 1, i32 1
  store i64 4, i64* %._storage115._capacityAndFlags.i, align 8
  %78 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new114.i, i64 2
  %79 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not203.i = icmp eq i64 %79, 0
  br i1 %.not203.i, label %387, label %80, !prof !7

80:                                               ; preds = %73
  %81 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer119._storage.i, align 8
  %._storage120.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 0, i32 1, i32 0, i32 0, i32 0
  %82 = load i64, i64* %._storage120.count._value.i, align 8, !range !6
  %83 = icmp ult i64 %82, 2
  br i1 %83, label %388, label %84, !prof !7

84:                                               ; preds = %80
  %85 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %81, i64 1, i32 0, i32 1
  %86 = load i64, i64* %85, align 8
  %tailaddr116._value.i = bitcast %swift.refcounted* %78 to i64*
  store i64 %86, i64* %tailaddr116._value.i, align 8
  %87 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer119._storage.i, align 8
  %._storage123.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %87, i64 0, i32 1, i32 0, i32 0, i32 0
  %88 = load i64, i64* %._storage123.count._value.i, align 8, !range !6
  %.not204.i = icmp eq i64 %88, 0
  br i1 %.not204.i, label %389, label %89, !prof !7

89:                                               ; preds = %84
  %90 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new114.i, i64 2, i32 1
  %91 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %87, i64 1
  %tailaddr124._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %91 to i64*
  %92 = load i64, i64* %tailaddr124._value.i, align 8
  store i64 %92, i64* %90, align 8
  %93 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %76)
  %94 = extractvalue { i64, i8 } %93, 1
  %95 = and i8 %94, 1
  %.not205.i = icmp eq i8 %95, 0
  call void @swift_setDeallocating(%swift.refcounted* nonnull %reference.new114.i) #5
  %96 = bitcast %swift.refcounted* %reference.new114.i to i8*
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* %96)
  br i1 %.not205.i, label %97, label %390

97:                                               ; preds = %89
  %98 = extractvalue { i64, i8 } %93, 0
  %99 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %74, i64 %98)
  %100 = extractvalue { i64, i1 } %99, 0
  %101 = extractvalue { i64, i1 } %99, 1
  br i1 %101, label %391, label %102, !prof !7

102:                                              ; preds = %97
  %103 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %104 = icmp ult i64 %103, 3
  br i1 %104, label %392, label %105, !prof !7

105:                                              ; preds = %102
  %106 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  %107 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %106, i64 0, i32 0
  %108 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %107) #17
  store %Ts28__ContiguousArrayStorageBaseC* %106, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  br i1 %108, label %111, label %109

109:                                              ; preds = %105
  %110 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %106)
  store %Ts28__ContiguousArrayStorageBaseC* %110, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  br label %111

111:                                              ; preds = %109, %105
  %112 = phi %Ts28__ContiguousArrayStorageBaseC* [ %106, %105 ], [ %110, %109 ]
  %._storage131.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %112, i64 0, i32 1, i32 0, i32 0, i32 0
  %113 = load i64, i64* %._storage131.count._value.i, align 8, !range !6
  %114 = icmp ult i64 %113, 2
  br i1 %114, label %393, label %115, !prof !7

115:                                              ; preds = %111
  %116 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %112, i64 1, i32 0, i32 1
  store i64 %100, i64* %116, align 8
  %reference.new136.i = call %swift.refcounted* @swift_initStackObject(%swift.type* %75, %swift.refcounted* nonnull %reference.raw135171206.sub.i) #17
  %117 = bitcast %swift.refcounted* %reference.new136.i to %Ts28__ContiguousArrayStorageBaseC*
  %118 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new136.i, i64 1
  %._storage137.count._value.i = bitcast %swift.refcounted* %118 to i64*
  store i64 2, i64* %._storage137.count._value.i, align 8
  %._storage137._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new136.i, i64 1, i32 1
  store i64 4, i64* %._storage137._capacityAndFlags.i, align 8
  %119 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new136.i, i64 2
  %120 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %121 = icmp ult i64 %120, 2
  br i1 %121, label %394, label %122, !prof !7

122:                                              ; preds = %115
  %123 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  %._storage142.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 0, i32 0
  %124 = load i64, i64* %._storage142.count._value.i, align 8, !range !6
  %125 = icmp ult i64 %124, 2
  br i1 %125, label %395, label %126, !prof !7

126:                                              ; preds = %122
  %127 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 1, i32 0, i32 1
  %128 = load i64, i64* %127, align 8
  %tailaddr138._value.i = bitcast %swift.refcounted* %119 to i64*
  store i64 %128, i64* %tailaddr138._value.i, align 8
  %129 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8
  %._storage145.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 0, i32 1, i32 0, i32 0, i32 0
  %130 = load i64, i64* %._storage145.count._value.i, align 8, !range !6
  %.not207.i = icmp eq i64 %130, 0
  br i1 %.not207.i, label %396, label %131, !prof !7

131:                                              ; preds = %126
  %132 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new136.i, i64 2, i32 1
  %133 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 1
  %tailaddr146._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %133 to i64*
  %134 = load i64, i64* %tailaddr146._value.i, align 8
  store i64 %134, i64* %132, align 8
  %135 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %117)
  %136 = extractvalue { i64, i8 } %135, 0
  %137 = extractvalue { i64, i8 } %135, 1
  %138 = and i8 %137, 1
  %.not208.i = icmp eq i8 %138, 0
  call void @swift_setDeallocating(%swift.refcounted* nonnull %reference.new136.i) #5
  %139 = bitcast %swift.refcounted* %reference.new136.i to i8*
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* %139)
  br i1 %.not208.i, label %140, label %397

140:                                              ; preds = %131
  %141 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %142 = icmp ult i64 %141, 3
  br i1 %142, label %398, label %143, !prof !7

143:                                              ; preds = %140
  %144 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  %145 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %144, i64 0, i32 0
  %146 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %145) #17
  store %Ts28__ContiguousArrayStorageBaseC* %144, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  br i1 %146, label %149, label %147

147:                                              ; preds = %143
  %148 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %144)
  store %Ts28__ContiguousArrayStorageBaseC* %148, %Ts28__ContiguousArrayStorageBaseC** %._buffer128._storage.i, align 8
  br label %149

149:                                              ; preds = %147, %143
  %150 = phi %Ts28__ContiguousArrayStorageBaseC* [ %144, %143 ], [ %148, %147 ]
  %._storage153.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 0, i32 1, i32 0, i32 0, i32 0
  %151 = load i64, i64* %._storage153.count._value.i, align 8, !range !6
  %.not209.i = icmp eq i64 %151, 0
  br i1 %.not209.i, label %399, label %152, !prof !7

152:                                              ; preds = %337, %260, %149
  %.sink212.i = phi %Ts28__ContiguousArrayStorageBaseC* [ %261, %260 ], [ %338, %337 ], [ %150, %149 ]
  %.sink.i = phi i64 [ %248, %260 ], [ %329, %337 ], [ %136, %149 ]
  %153 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.sink212.i, i64 1
  %tailaddr154._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %153 to i64*
  store i64 %.sink.i, i64* %tailaddr154._value.i, align 8
  %154 = icmp eq i64 %57, %7
  br i1 %154, label %.loopexit.i, label %54

155:                                              ; preds = %68
  %.not186.i = icmp ult i64 %55, %70
  br i1 %.not186.i, label %156, label %365, !prof !8

156:                                              ; preds = %155
  %._value55.i = getelementptr inbounds %TSi, %TSi* %tailaddr2.i, i64 %55, i32 0
  %157 = load i64, i64* %._value55.i, align 8
  %158 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #18
  %reference.new57.i = call %swift.refcounted* @swift_initStackObject(%swift.type* %158, %swift.refcounted* nonnull %reference.raw56168187.sub.i) #17
  %159 = bitcast %swift.refcounted* %reference.new57.i to %Ts28__ContiguousArrayStorageBaseC*
  %160 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 1
  %._storage58.count._value.i = bitcast %swift.refcounted* %160 to i64*
  store i64 4, i64* %._storage58.count._value.i, align 8
  %._storage58._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 1, i32 1
  store i64 8, i64* %._storage58._capacityAndFlags.i, align 8
  %161 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 2
  %162 = add nsw i64 %55, -3
  %163 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not188.i = icmp ult i64 %162, %163
  br i1 %.not188.i, label %164, label %366, !prof !8

164:                                              ; preds = %156
  %._buffer62._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %162, i32 0, i32 0
  %165 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer62._storage.i, align 8
  %._storage63.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 1, i32 0, i32 0, i32 0
  %166 = load i64, i64* %._storage63.count._value.i, align 8, !range !6
  %167 = icmp ult i64 %166, 2
  br i1 %167, label %367, label %168, !prof !7

168:                                              ; preds = %164
  %169 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 1, i32 0, i32 1
  %170 = load i64, i64* %169, align 8
  %tailaddr59._value.i = bitcast %swift.refcounted* %161 to i64*
  store i64 %170, i64* %tailaddr59._value.i, align 8
  %171 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer62._storage.i, align 8
  %._storage66.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 0, i32 1, i32 0, i32 0, i32 0
  %172 = load i64, i64* %._storage66.count._value.i, align 8, !range !6
  %.not189.i = icmp eq i64 %172, 0
  br i1 %.not189.i, label %368, label %173, !prof !7

173:                                              ; preds = %168
  %174 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 2, i32 1
  %175 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 1
  %tailaddr67._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %175 to i64*
  %176 = load i64, i64* %tailaddr67._value.i, align 8
  store i64 %176, i64* %174, align 8
  %177 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 3
  %178 = add nsw i64 %55, -2
  %.not190.i = icmp ult i64 %178, %163
  br i1 %.not190.i, label %179, label %369, !prof !8

179:                                              ; preds = %173
  %._buffer69._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %178, i32 0, i32 0
  %180 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage.i, align 8
  %._storage70.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 0, i32 1, i32 0, i32 0, i32 0
  %181 = load i64, i64* %._storage70.count._value.i, align 8, !range !6
  %182 = icmp ult i64 %181, 2
  br i1 %182, label %370, label %183, !prof !7

183:                                              ; preds = %179
  %184 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %180, i64 1, i32 0, i32 1
  %185 = load i64, i64* %184, align 8
  %._value73.i = bitcast %swift.refcounted* %177 to i64*
  store i64 %185, i64* %._value73.i, align 8
  %186 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage.i, align 8
  %._storage74.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %186, i64 0, i32 1, i32 0, i32 0, i32 0
  %187 = load i64, i64* %._storage74.count._value.i, align 8, !range !6
  %.not191.i = icmp eq i64 %187, 0
  br i1 %.not191.i, label %371, label %188, !prof !7

188:                                              ; preds = %183
  %189 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new57.i, i64 3, i32 1
  %190 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %186, i64 1
  %tailaddr75._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %190 to i64*
  %191 = load i64, i64* %tailaddr75._value.i, align 8
  store i64 %191, i64* %189, align 8
  %192 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %159)
  %193 = extractvalue { i64, i8 } %192, 1
  %194 = and i8 %193, 1
  %.not192.i = icmp eq i8 %194, 0
  call void @swift_setDeallocating(%swift.refcounted* nonnull %reference.new57.i) #5
  %195 = bitcast %swift.refcounted* %reference.new57.i to i8*
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* %195)
  br i1 %.not192.i, label %196, label %372

196:                                              ; preds = %188
  %197 = extractvalue { i64, i8 } %192, 0
  %198 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %157, i64 %197)
  %199 = extractvalue { i64, i1 } %198, 0
  %200 = extractvalue { i64, i1 } %198, 1
  br i1 %200, label %373, label %201, !prof !7

201:                                              ; preds = %196
  %202 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not193.i = icmp ult i64 %55, %202
  br i1 %.not193.i, label %203, label %374, !prof !8

203:                                              ; preds = %201
  %._buffer79._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %55, i32 0, i32 0
  %204 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  %205 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %204, i64 0, i32 0
  %206 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %205) #17
  store %Ts28__ContiguousArrayStorageBaseC* %204, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  br i1 %206, label %209, label %207

207:                                              ; preds = %203
  %208 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %204)
  store %Ts28__ContiguousArrayStorageBaseC* %208, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  br label %209

209:                                              ; preds = %207, %203
  %210 = phi %Ts28__ContiguousArrayStorageBaseC* [ %204, %203 ], [ %208, %207 ]
  %._storage82.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %210, i64 0, i32 1, i32 0, i32 0, i32 0
  %211 = load i64, i64* %._storage82.count._value.i, align 8, !range !6
  %212 = icmp ult i64 %211, 2
  br i1 %212, label %375, label %213, !prof !7

213:                                              ; preds = %209
  %214 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %210, i64 1, i32 0, i32 1
  store i64 %199, i64* %214, align 8
  %reference.new87.i = call %swift.refcounted* @swift_initStackObject(%swift.type* %158, %swift.refcounted* nonnull %52) #17
  %215 = bitcast %swift.refcounted* %reference.new87.i to %Ts28__ContiguousArrayStorageBaseC*
  %216 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new87.i, i64 1
  %._storage88.count._value.i = bitcast %swift.refcounted* %216 to i64*
  store i64 3, i64* %._storage88.count._value.i, align 8
  %._storage88._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new87.i, i64 1, i32 1
  store i64 6, i64* %._storage88._capacityAndFlags.i, align 8
  %217 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new87.i, i64 2
  %218 = add nsw i64 %55, -1
  %219 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not194.i = icmp ult i64 %218, %219
  br i1 %.not194.i, label %220, label %376, !prof !8

220:                                              ; preds = %213
  %._buffer92._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %218, i32 0, i32 0
  %221 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer92._storage.i, align 8
  %._storage93.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %221, i64 0, i32 1, i32 0, i32 0, i32 0
  %222 = load i64, i64* %._storage93.count._value.i, align 8, !range !6
  %223 = icmp ult i64 %222, 2
  br i1 %223, label %377, label %224, !prof !7

224:                                              ; preds = %220
  %225 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %221, i64 1, i32 0, i32 1
  %226 = load i64, i64* %225, align 8
  %tailaddr89._value.i = bitcast %swift.refcounted* %217 to i64*
  store i64 %226, i64* %tailaddr89._value.i, align 8
  %227 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer92._storage.i, align 8
  %._storage96.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %227, i64 0, i32 1, i32 0, i32 0, i32 0
  %228 = load i64, i64* %._storage96.count._value.i, align 8, !range !6
  %.not195.i = icmp eq i64 %228, 0
  br i1 %.not195.i, label %378, label %229, !prof !7

229:                                              ; preds = %224
  %230 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new87.i, i64 2, i32 1
  %231 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %227, i64 1
  %tailaddr97._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %231 to i64*
  %232 = load i64, i64* %tailaddr97._value.i, align 8
  store i64 %232, i64* %230, align 8
  %233 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new87.i, i64 3
  %234 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  %.not196.i = icmp ult i64 %178, %234
  br i1 %.not196.i, label %235, label %379, !prof !8

235:                                              ; preds = %229
  %._value99.i = getelementptr inbounds %TSi, %TSi* %tailaddr2.i, i64 %178, i32 0
  %236 = load i64, i64* %._value99.i, align 8
  %.not197.i = icmp ult i64 %162, %219
  br i1 %.not197.i, label %237, label %380, !prof !8

237:                                              ; preds = %235
  %238 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer62._storage.i, align 8
  %._storage101.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 0, i32 1, i32 0, i32 0, i32 0
  %239 = load i64, i64* %._storage101.count._value.i, align 8, !range !6
  %.not198.i = icmp eq i64 %239, 0
  br i1 %.not198.i, label %381, label %240, !prof !7

240:                                              ; preds = %237
  %241 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 1
  %tailaddr102._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %241 to i64*
  %242 = load i64, i64* %tailaddr102._value.i, align 8
  %243 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %236, i64 %242)
  %244 = extractvalue { i64, i1 } %243, 1
  br i1 %244, label %382, label %245, !prof !7

245:                                              ; preds = %240
  %246 = extractvalue { i64, i1 } %243, 0
  %._value103.i = bitcast %swift.refcounted* %233 to i64*
  store i64 %246, i64* %._value103.i, align 8
  %247 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %215)
  %248 = extractvalue { i64, i8 } %247, 0
  %249 = extractvalue { i64, i8 } %247, 1
  %250 = and i8 %249, 1
  %.not199.i = icmp eq i8 %250, 0
  call void @swift_setDeallocating(%swift.refcounted* nonnull %reference.new87.i) #5
  %251 = bitcast %swift.refcounted* %reference.new87.i to i8*
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* %251)
  br i1 %.not199.i, label %252, label %383

252:                                              ; preds = %245
  %253 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not200.i = icmp ult i64 %55, %253
  br i1 %.not200.i, label %254, label %384, !prof !8

254:                                              ; preds = %252
  %255 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  %256 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 0
  %257 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %256) #17
  store %Ts28__ContiguousArrayStorageBaseC* %255, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  br i1 %257, label %260, label %258

258:                                              ; preds = %254
  %259 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %255)
  store %Ts28__ContiguousArrayStorageBaseC* %259, %Ts28__ContiguousArrayStorageBaseC** %._buffer79._storage.i, align 8
  br label %260

260:                                              ; preds = %258, %254
  %261 = phi %Ts28__ContiguousArrayStorageBaseC* [ %255, %254 ], [ %259, %258 ]
  %._storage109.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %261, i64 0, i32 1, i32 0, i32 0, i32 0
  %262 = load i64, i64* %._storage109.count._value.i, align 8, !range !6
  %.not201.i = icmp eq i64 %262, 0
  br i1 %.not201.i, label %385, label %152, !prof !7

263:                                              ; preds = %56
  %264 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  %.not173.i = icmp ult i64 %55, %264
  br i1 %.not173.i, label %265, label %347, !prof !8

265:                                              ; preds = %263
  %._value13.i = getelementptr inbounds %TSi, %TSi* %tailaddr2.i, i64 %55, i32 0
  %266 = load i64, i64* %._value13.i, align 8
  %267 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #18
  %reference.new.i = call %swift.refcounted* @swift_initStackObject(%swift.type* %267, %swift.refcounted* nonnull %50) #17
  %268 = bitcast %swift.refcounted* %reference.new.i to %Ts28__ContiguousArrayStorageBaseC*
  %269 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new.i, i64 1
  %._storage14.count._value.i = bitcast %swift.refcounted* %269 to i64*
  store i64 3, i64* %._storage14.count._value.i, align 8
  %._storage14._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new.i, i64 1, i32 1
  store i64 6, i64* %._storage14._capacityAndFlags.i, align 8
  %270 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new.i, i64 2
  %271 = add nsw i64 %55, -2
  %272 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not174.i = icmp ult i64 %271, %272
  br i1 %.not174.i, label %273, label %348, !prof !8

273:                                              ; preds = %265
  %._buffer18._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %271, i32 0, i32 0
  %274 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage.i, align 8
  %._storage19.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %274, i64 0, i32 1, i32 0, i32 0, i32 0
  %275 = load i64, i64* %._storage19.count._value.i, align 8, !range !6
  %276 = icmp ult i64 %275, 2
  br i1 %276, label %349, label %277, !prof !7

277:                                              ; preds = %273
  %278 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %274, i64 1, i32 0, i32 1
  %279 = load i64, i64* %278, align 8
  %tailaddr15._value.i = bitcast %swift.refcounted* %270 to i64*
  store i64 %279, i64* %tailaddr15._value.i, align 8
  %280 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage.i, align 8
  %._storage22.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %280, i64 0, i32 1, i32 0, i32 0, i32 0
  %281 = load i64, i64* %._storage22.count._value.i, align 8, !range !6
  %.not175.i = icmp eq i64 %281, 0
  br i1 %.not175.i, label %350, label %282, !prof !7

282:                                              ; preds = %277
  %283 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new.i, i64 2, i32 1
  %284 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %280, i64 1
  %tailaddr23._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %284 to i64*
  %285 = load i64, i64* %tailaddr23._value.i, align 8
  store i64 %285, i64* %283, align 8
  %286 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %reference.new.i, i64 3
  %287 = add nsw i64 %55, -1
  %.not176.i = icmp ult i64 %287, %272
  br i1 %.not176.i, label %288, label %351, !prof !8

288:                                              ; preds = %282
  %._buffer25._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %287, i32 0, i32 0
  %289 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage.i, align 8
  %._storage26.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %289, i64 0, i32 1, i32 0, i32 0, i32 0
  %290 = load i64, i64* %._storage26.count._value.i, align 8, !range !6
  %.not177.i = icmp eq i64 %290, 0
  br i1 %.not177.i, label %352, label %291, !prof !7

291:                                              ; preds = %288
  %292 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %289, i64 1
  %tailaddr27._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %292 to i64*
  %293 = load i64, i64* %tailaddr27._value.i, align 8
  %._value28.i = bitcast %swift.refcounted* %286 to i64*
  store i64 %293, i64* %._value28.i, align 8
  %294 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %268)
  %295 = extractvalue { i64, i8 } %294, 1
  %296 = and i8 %295, 1
  %.not178.i = icmp eq i8 %296, 0
  call void @swift_setDeallocating(%swift.refcounted* nonnull %reference.new.i) #5
  %297 = bitcast %swift.refcounted* %reference.new.i to i8*
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* %297)
  br i1 %.not178.i, label %298, label %353

298:                                              ; preds = %291
  %299 = extractvalue { i64, i8 } %294, 0
  %300 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %266, i64 %299)
  %301 = extractvalue { i64, i1 } %300, 0
  %302 = extractvalue { i64, i1 } %300, 1
  br i1 %302, label %354, label %303, !prof !7

303:                                              ; preds = %298
  %304 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not179.i = icmp ult i64 %55, %304
  br i1 %.not179.i, label %305, label %355, !prof !8

305:                                              ; preds = %303
  %._buffer31._storage.i = getelementptr inbounds %TSa, %TSa* %tailaddr17.i, i64 %55, i32 0, i32 0
  %306 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  %307 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %306, i64 0, i32 0
  %308 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %307) #17
  store %Ts28__ContiguousArrayStorageBaseC* %306, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  br i1 %308, label %311, label %309

309:                                              ; preds = %305
  %310 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %306)
  store %Ts28__ContiguousArrayStorageBaseC* %310, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  br label %311

311:                                              ; preds = %309, %305
  %312 = phi %Ts28__ContiguousArrayStorageBaseC* [ %306, %305 ], [ %310, %309 ]
  %._storage34.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %312, i64 0, i32 1, i32 0, i32 0, i32 0
  %313 = load i64, i64* %._storage34.count._value.i, align 8, !range !6
  %314 = icmp ult i64 %313, 2
  br i1 %314, label %356, label %315, !prof !7

315:                                              ; preds = %311
  %316 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %312, i64 1, i32 0, i32 1
  store i64 %301, i64* %316, align 8
  %317 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  %318 = load i64, i64* %._storage1.count._value.i, align 8, !range !6
  %.not180.i = icmp ult i64 %287, %318
  br i1 %.not180.i, label %319, label %357, !prof !8

319:                                              ; preds = %315
  %._value38.i = getelementptr inbounds %TSi, %TSi* %tailaddr2.i, i64 %287, i32 0
  %320 = load i64, i64* %._value38.i, align 8
  %321 = load i64, i64* %._storage4.count._value.i, align 8, !range !6
  %.not181.i = icmp ult i64 %271, %321
  br i1 %.not181.i, label %322, label %358, !prof !8

322:                                              ; preds = %319
  %323 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage.i, align 8
  %._storage42.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %323, i64 0, i32 1, i32 0, i32 0, i32 0
  %324 = load i64, i64* %._storage42.count._value.i, align 8, !range !6
  %.not182.i = icmp eq i64 %324, 0
  br i1 %.not182.i, label %359, label %325, !prof !7

325:                                              ; preds = %322
  %326 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %323, i64 1
  %tailaddr43._value.i = bitcast %Ts28__ContiguousArrayStorageBaseC* %326 to i64*
  %327 = load i64, i64* %tailaddr43._value.i, align 8
  %328 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %320, i64 %327)
  %329 = extractvalue { i64, i1 } %328, 0
  %330 = extractvalue { i64, i1 } %328, 1
  br i1 %330, label %360, label %331, !prof !7

331:                                              ; preds = %325
  %.not183.i = icmp ult i64 %55, %321
  br i1 %.not183.i, label %332, label %361, !prof !8

332:                                              ; preds = %331
  %333 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %317, i64 0, i32 0
  %334 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %333) #17
  store %Ts28__ContiguousArrayStorageBaseC* %317, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  br i1 %334, label %337, label %335

335:                                              ; preds = %332
  %336 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %317)
  store %Ts28__ContiguousArrayStorageBaseC* %336, %Ts28__ContiguousArrayStorageBaseC** %._buffer31._storage.i, align 8
  br label %337

337:                                              ; preds = %335, %332
  %338 = phi %Ts28__ContiguousArrayStorageBaseC* [ %317, %332 ], [ %336, %335 ]
  %._storage49.count._value.i = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %338, i64 0, i32 1, i32 0, i32 0, i32 0
  %339 = load i64, i64* %._storage49.count._value.i, align 8, !range !6
  %.not184.i = icmp eq i64 %339, 0
  br i1 %.not184.i, label %362, label %152, !prof !7

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

"$s7llvm_OZyyXEfU_.exit":                         ; preds = %62
  %400 = extractvalue { i64, i8 } %64, 0
  %401 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #18
  %402 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %401, i64 64, i64 7) #5
  %403 = bitcast %swift.refcounted* %402 to %Ts28__ContiguousArrayStorageBaseC*
  %404 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 1
  %._storage52.count._value.i = bitcast %swift.refcounted* %404 to i64*
  store i64 1, i64* %._storage52.count._value.i, align 8
  %._storage52._capacityAndFlags.i = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 1, i32 1
  store i64 2, i64* %._storage52._capacityAndFlags.i, align 8
  %405 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 2
  %406 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 3, i32 1
  %407 = bitcast i64* %406 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %407, align 8
  %._value54.i = bitcast %swift.refcounted* %405 to i64*
  store i64 %400, i64* %._value54.i, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %403, 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* %402) #5
  %408 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %8, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %408) #5
  %409 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %24, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %409) #5
  call void @llvm.lifetime.end.p0i8(i64 56, i8* nonnull %2)
  call void @llvm.lifetime.end.p0i8(i64 64, i8* nonnull %3)
  call void @llvm.lifetime.end.p0i8(i64 56, i8* nonnull %4)
  call void @llvm.lifetime.end.p0i8(i64 48, i8* nonnull %5)
  call void @llvm.lifetime.end.p0i8(i64 48, i8* nonnull %6)
  ret i32 0
}

; Function Attrs: minsize optsize
define protected swiftcc i64 @"$s7llvm_OZ7nextIntSiyF"() #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %0 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %1 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %2 = extractvalue { i64, i64 } %1, 0
  %3 = extractvalue { i64, i64 } %1, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %119, label %5

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

14:                                               ; preds = %5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %6) #5
  br label %120

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

18:                                               ; preds = %15
  br i1 %8, label %19, label %22

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

19:                                               ; preds = %18
  %20 = and i64 %2, 1152921504606846976
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %93, label %97, !prof !7

22:                                               ; preds = %18
  %23 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %23)
  %24 = and i64 %3, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %0, i64 0, i32 0, i32 0
  store i64 %2, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %0, i64 0, i32 1, i32 0
  store i64 %24, i64* %.elt1._value, align 8
  %25 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %0 to %Ts5UInt8V*
  %26 = trunc i64 %2 to i8
  switch i8 %26, label %49 [
    i8 45, label %27
    i8 43, label %51
  ]

27:                                               ; preds = %22
  switch i64 %10, label %28 [
    i64 0, label %122
    i64 1, label %.thread108
  ], !prof !9

28:                                               ; preds = %27
  %29 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %25, i64 1, i32 0
  %30 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %25, i64 %10, i32 0
  br label %31

31:                                               ; preds = %28, %45
  %32 = phi i8* [ %29, %28 ], [ %47, %45 ]
  %33 = phi i64 [ 0, %28 ], [ %46, %45 ]
  %34 = load i8, i8* %32, align 1
  %35 = add i8 %34, -48
  %36 = icmp ult i8 %35, 10
  br i1 %36, label %37, label %.loopexit, !prof !10

37:                                               ; preds = %31
  %38 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %33, i64 10)
  %39 = extractvalue { i64, i1 } %38, 1
  br i1 %39, label %.loopexit, label %40

40:                                               ; preds = %37
  %41 = extractvalue { i64, i1 } %38, 0
  %42 = zext i8 %35 to i64
  %43 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %41, i64 %42)
  %44 = extractvalue { i64, i1 } %43, 1
  br i1 %44, label %.loopexit, label %45, !prof !7

45:                                               ; preds = %40
  %46 = extractvalue { i64, i1 } %43, 0
  %47 = getelementptr inbounds i8, i8* %32, i64 1
  %48 = icmp eq i8* %47, %30
  br i1 %48, label %.loopexit114.split.loop.exit135, label %31

49:                                               ; preds = %22
  %50 = icmp eq i64 %10, 0
  br i1 %50, label %.thread108, label %73, !prof !7

51:                                               ; preds = %22
  switch i64 %10, label %52 [
    i64 0, label %121
    i64 1, label %.thread108
  ], !prof !9

52:                                               ; preds = %51
  %53 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %25, i64 1, i32 0
  %54 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %25, i64 %10, i32 0
  br label %55

55:                                               ; preds = %52, %69
  %56 = phi i8* [ %53, %52 ], [ %71, %69 ]
  %57 = phi i64 [ 0, %52 ], [ %70, %69 ]
  %58 = load i8, i8* %56, align 1
  %59 = add i8 %58, -48
  %60 = icmp ult i8 %59, 10
  br i1 %60, label %61, label %.loopexit, !prof !10

61:                                               ; preds = %55
  %62 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %57, i64 10)
  %63 = extractvalue { i64, i1 } %62, 1
  br i1 %63, label %.loopexit, label %64

64:                                               ; preds = %61
  %65 = extractvalue { i64, i1 } %62, 0
  %66 = zext i8 %59 to i64
  %67 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %65, i64 %66)
  %68 = extractvalue { i64, i1 } %67, 1
  br i1 %68, label %.loopexit, label %69, !prof !7

69:                                               ; preds = %64
  %70 = extractvalue { i64, i1 } %67, 0
  %71 = getelementptr inbounds i8, i8* %56, i64 1
  %72 = icmp eq i8* %71, %54
  br i1 %72, label %.loopexit117.split.loop.exit126, label %55

73:                                               ; preds = %49
  %74 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %25, i64 %10, i32 0
  %75 = icmp eq i8* %74, %23
  br i1 %75, label %.thread108, label %.preheader

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

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

84:                                               ; preds = %81
  %85 = extractvalue { i64, i1 } %82, 0
  %86 = zext i8 %79 to i64
  %87 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %85, i64 %86)
  %88 = extractvalue { i64, i1 } %87, 1
  br i1 %88, label %.loopexit, 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, %74
  br i1 %92, label %.loopexit.split.loop.exit145, label %.preheader

93:                                               ; preds = %19
  %94 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %2, %swift.bridge* nonnull %6)
  %95 = extractvalue { i64, i64 } %94, 0
  %96 = extractvalue { i64, i64 } %94, 1
  br label %.thread103

97:                                               ; preds = %19
  %98 = and i64 %3, 1152921504606846975
  %99 = add nuw nsw i64 %98, 32
  br label %.thread103

.thread103:                                       ; preds = %97, %93
  %100 = phi i64 [ %99, %97 ], [ %95, %93 ]
  %101 = phi i64 [ %11, %97 ], [ %96, %93 ]
  %102 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tgq5"(i64 %100, i64 %101, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %103 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not57 = icmp eq %swift.error* %103, null
  tail call void @llvm.assume(i1 %.not57)
  %104 = extractvalue { i64, i8 } %102, 1
  %105 = and i8 %104, 1
  %106 = icmp ne i8 %105, 0
  %107 = extractvalue { i64, i8 } %102, 0
  %.sroa.6.0.sroa_cast97 = bitcast i8* %.sroa.6 to i1*
  store i1 %106, i1* %.sroa.6.0.sroa_cast97, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre105 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %111

.thread108:                                       ; preds = %27, %51, %49, %73
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ false, %73 ], [ true, %49 ], [ true, %51 ], [ true, %27 ]
  %.sroa.6.0.sroa_cast111 = 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_cast111, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %23)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre112 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %111

.loopexit.split.loop.exit145:                     ; preds = %89
  %108 = extractvalue { i64, i1 } %87, 0
  br label %.loopexit

.loopexit114.split.loop.exit135:                  ; preds = %45
  %109 = extractvalue { i64, i1 } %43, 0
  br label %.loopexit

.loopexit117.split.loop.exit126:                  ; preds = %69
  %110 = extractvalue { i64, i1 } %67, 0
  br label %.loopexit

.loopexit:                                        ; preds = %61, %64, %55, %37, %40, %31, %81, %84, %.preheader, %.loopexit117.split.loop.exit126, %.loopexit114.split.loop.exit135, %.loopexit.split.loop.exit145
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit.split.loop.exit145 ], [ false, %.loopexit114.split.loop.exit135 ], [ false, %.loopexit117.split.loop.exit126 ], [ true, %.preheader ], [ true, %84 ], [ true, %81 ], [ true, %31 ], [ true, %40 ], [ true, %37 ], [ true, %55 ], [ true, %64 ], [ true, %61 ]
  %.sroa.0.0 = phi i64 [ %108, %.loopexit.split.loop.exit145 ], [ %109, %.loopexit114.split.loop.exit135 ], [ %110, %.loopexit117.split.loop.exit126 ], [ 0, %.preheader ], [ 0, %84 ], [ 0, %81 ], [ 0, %31 ], [ 0, %40 ], [ 0, %37 ], [ 0, %55 ], [ 0, %64 ], [ 0, %61 ]
  %.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 %23)
  %.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 %17, label %111, label %112

111:                                              ; preds = %.thread108, %.thread103, %.loopexit
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre107 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre105, %.thread103 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre112, %.thread108 ]
  %.sroa.036.0106 = phi i64 [ %107, %.thread103 ], [ %.sroa.0.0, %.loopexit ], [ 0, %.thread108 ]
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %6) #5
  br label %116

112:                                              ; preds = %.thread, %.loopexit
  %113 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tgq5"(i64 %2, %swift.bridge* nonnull %6, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %6) #5
  %114 = extractvalue { i64, i8 } %113, 0
  %115 = extractvalue { i64, i8 } %113, 1
  br label %116

116:                                              ; preds = %111, %112
  %117 = phi i64 [ %114, %112 ], [ %.sroa.036.0106, %111 ]
  %.in.in = phi i8 [ %115, %112 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre107, %111 ]
  %.in = and i8 %.in.in, 1
  %.not = icmp eq i8 %.in, 0
  br i1 %.not, label %118, label %120

118:                                              ; preds = %116
  ret i64 %117

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define protected swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ9listOfIntSaySiGyF"() #0 {
entry:
  %0 = alloca %Ts15ContiguousArrayV, align 8
  %.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 %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12listOfStringSaySSGyF"()
  %._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
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %5, label %7

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

7:                                                ; preds = %entry
  %8 = bitcast %Ts15ContiguousArrayV* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %8)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %0, 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_Tgq5"(i1 false, i64 %3, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %9 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %9 to %TSS*
  %10 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %1 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %1, i64 0, i32 0, i32 0
  %.elt10._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %1, i64 0, i32 1, i32 0
  %11 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %1 to %Ts5UInt8V*
  %12 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %11, i64 1, i32 0
  %13 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %11, i64 2, i32 0
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast144 = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast131 = bitcast i8* %.sroa.6 to i1*
  br label %16

14:                                               ; preds = %5, %164
  %15 = phi %Ts28__ContiguousArrayStorageBaseC* [ %161, %164 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %5 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %15

16:                                               ; preds = %7, %160
  %17 = phi i64 [ 0, %7 ], [ %18, %160 ]
  %18 = add nuw nsw i64 %17, 1
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %17, i32 0, i32 0, i32 0, i32 0
  %19 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %17, i32 0, i32 0, i32 1
  %20 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %21 = ptrtoint %swift.bridge* %20 to i64
  %22 = and i64 %21, 2305843009213693952
  %23 = icmp eq i64 %22, 0
  %24 = lshr i64 %21, 56
  %25 = and i64 %24, 15
  %26 = and i64 %19, 281474976710655
  %27 = select i1 %23, i64 %26, i64 %25
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %166, label %29, !prof !7

29:                                               ; preds = %16
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %30 = and i64 %21, 1152921504606846976
  %31 = icmp eq i64 %30, 0
  br i1 %31, label %32, label %.thread, !prof !8

32:                                               ; preds = %29
  br i1 %23, label %33, label %36

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

33:                                               ; preds = %32
  %34 = and i64 %19, 1152921504606846976
  %35 = icmp eq i64 %34, 0
  br i1 %35, label %120, label %124, !prof !7

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %10)
  %37 = and i64 %21, 72057594037927935
  store i64 %19, i64* %.elt._value, align 8
  store i64 %37, i64* %.elt10._value, align 8
  %38 = trunc i64 %19 to i8
  %39 = lshr i64 %19, 8
  %40 = trunc i64 %39 to i8
  switch i8 %38, label %67 [
    i8 45, label %41
    i8 43, label %69
  ]

41:                                               ; preds = %36
  switch i64 %25, label %42 [
    i64 0, label %169
    i64 1, label %.thread141
  ], !prof !9

42:                                               ; preds = %41
  %43 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %11, i64 %25, i32 0
  %44 = add i8 %40, -48
  %45 = icmp ult i8 %44, 10
  br i1 %45, label %46, label %.thread141, !prof !10

46:                                               ; preds = %42
  %47 = zext i8 %44 to i64
  %48 = sub nsw i64 0, %47
  %49 = icmp eq i64 %25, 2
  br i1 %49, label %.thread141, label %.preheader103

.preheader103:                                    ; preds = %46, %63
  %50 = phi i8* [ %65, %63 ], [ %13, %46 ]
  %51 = phi i64 [ %64, %63 ], [ %48, %46 ]
  %52 = load i8, i8* %50, align 1
  %53 = add i8 %52, -48
  %54 = icmp ult i8 %53, 10
  br i1 %54, label %55, label %.loopexit, !prof !10

55:                                               ; preds = %.preheader103
  %56 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %51, i64 10)
  %57 = extractvalue { i64, i1 } %56, 1
  br i1 %57, label %.loopexit, label %58

58:                                               ; preds = %55
  %59 = extractvalue { i64, i1 } %56, 0
  %60 = zext i8 %53 to i64
  %61 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %59, i64 %60)
  %62 = extractvalue { i64, i1 } %61, 1
  br i1 %62, label %.loopexit, label %63, !prof !7

63:                                               ; preds = %58
  %64 = extractvalue { i64, i1 } %61, 0
  %65 = getelementptr inbounds i8, i8* %50, i64 1
  %66 = icmp eq i8* %65, %43
  br i1 %66, label %.loopexit148.split.loop.exit170, label %.preheader103

67:                                               ; preds = %36
  %68 = icmp eq i64 %25, 0
  br i1 %68, label %.thread141, label %94, !prof !7

69:                                               ; preds = %36
  switch i64 %25, label %70 [
    i64 0, label %168
    i64 1, label %.thread141
  ], !prof !9

70:                                               ; preds = %69
  %71 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %11, i64 %25, i32 0
  %72 = add i8 %40, -48
  %73 = icmp ult i8 %72, 10
  br i1 %73, label %74, label %.thread141, !prof !10

74:                                               ; preds = %70
  %75 = zext i8 %72 to i64
  %76 = icmp eq i64 %25, 2
  br i1 %76, label %.thread141, label %.preheader106

.preheader106:                                    ; preds = %74, %90
  %77 = phi i8* [ %92, %90 ], [ %13, %74 ]
  %78 = phi i64 [ %91, %90 ], [ %75, %74 ]
  %79 = load i8, i8* %77, align 1
  %80 = add i8 %79, -48
  %81 = icmp ult i8 %80, 10
  br i1 %81, label %82, label %.loopexit, !prof !10

82:                                               ; preds = %.preheader106
  %83 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %78, i64 10)
  %84 = extractvalue { i64, i1 } %83, 1
  br i1 %84, label %.loopexit, label %85

85:                                               ; preds = %82
  %86 = extractvalue { i64, i1 } %83, 0
  %87 = zext i8 %80 to i64
  %88 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %86, i64 %87)
  %89 = extractvalue { i64, i1 } %88, 1
  br i1 %89, label %.loopexit, label %90, !prof !7

90:                                               ; preds = %85
  %91 = extractvalue { i64, i1 } %88, 0
  %92 = getelementptr inbounds i8, i8* %77, i64 1
  %93 = icmp eq i8* %92, %71
  br i1 %93, label %.loopexit151.split.loop.exit160, label %.preheader106

94:                                               ; preds = %67
  %95 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %11, i64 %25, i32 0
  %96 = icmp eq i8* %95, %10
  br i1 %96, label %.thread141, label %97

97:                                               ; preds = %94
  %98 = add i8 %38, -48
  %99 = icmp ult i8 %98, 10
  br i1 %99, label %100, label %.thread141, !prof !10

100:                                              ; preds = %97
  %101 = zext i8 %98 to i64
  %102 = icmp eq i64 %25, 1
  br i1 %102, label %.thread141, label %.preheader

.preheader:                                       ; preds = %100, %116
  %103 = phi i8* [ %118, %116 ], [ %12, %100 ]
  %104 = phi i64 [ %117, %116 ], [ %101, %100 ]
  %105 = load i8, i8* %103, align 1
  %106 = add i8 %105, -48
  %107 = icmp ult i8 %106, 10
  br i1 %107, label %108, label %.loopexit, !prof !10

108:                                              ; preds = %.preheader
  %109 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %104, i64 10)
  %110 = extractvalue { i64, i1 } %109, 1
  br i1 %110, label %.loopexit, label %111

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

116:                                              ; preds = %111
  %117 = extractvalue { i64, i1 } %114, 0
  %118 = getelementptr inbounds i8, i8* %103, i64 1
  %119 = icmp eq i8* %118, %95
  br i1 %119, label %.loopexit.split.loop.exit180, label %.preheader

120:                                              ; preds = %33
  %121 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %122 = extractvalue { i64, i64 } %121, 0
  %123 = extractvalue { i64, i64 } %121, 1
  br label %.thread138

124:                                              ; preds = %33
  %125 = and i64 %21, 1152921504606846975
  %126 = add nuw nsw i64 %125, 32
  br label %.thread138

.thread138:                                       ; preds = %124, %120
  %127 = phi i64 [ %126, %124 ], [ %122, %120 ]
  %128 = phi i64 [ %26, %124 ], [ %123, %120 ]
  %129 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tgq5"(i64 %127, i64 %128, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %130 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not83 = icmp eq %swift.error* %130, null
  call void @llvm.assume(i1 %.not83)
  %131 = extractvalue { i64, i8 } %129, 1
  %132 = and i8 %131, 1
  %133 = icmp ne i8 %132, 0
  %134 = extractvalue { i64, i8 } %129, 0
  store i1 %133, i1* %.sroa.6.0.sroa_cast131, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre140 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %143

.thread141:                                       ; preds = %41, %46, %42, %69, %74, %70, %67, %100, %94, %97
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %97 ], [ false, %94 ], [ false, %100 ], [ true, %67 ], [ true, %70 ], [ false, %74 ], [ true, %69 ], [ true, %42 ], [ false, %46 ], [ true, %41 ]
  %.sroa.0.0.ph = phi i64 [ 0, %97 ], [ 0, %94 ], [ %101, %100 ], [ 0, %67 ], [ 0, %70 ], [ %75, %74 ], [ 0, %69 ], [ 0, %42 ], [ %48, %46 ], [ 0, %41 ]
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph, i1* %.sroa.6.0.sroa_cast144, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %10)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre145 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %143

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

.loopexit148.split.loop.exit170:                  ; preds = %63
  %136 = extractvalue { i64, i1 } %61, 0
  br label %.loopexit

.loopexit151.split.loop.exit160:                  ; preds = %90
  %137 = extractvalue { i64, i1 } %88, 0
  br label %.loopexit

.loopexit:                                        ; preds = %85, %82, %.preheader106, %58, %55, %.preheader103, %111, %108, %.preheader, %.loopexit151.split.loop.exit160, %.loopexit148.split.loop.exit170, %.loopexit.split.loop.exit180
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit.split.loop.exit180 ], [ false, %.loopexit148.split.loop.exit170 ], [ false, %.loopexit151.split.loop.exit160 ], [ true, %.preheader ], [ true, %108 ], [ true, %111 ], [ true, %.preheader103 ], [ true, %55 ], [ true, %58 ], [ true, %.preheader106 ], [ true, %82 ], [ true, %85 ]
  %.sroa.0.0 = phi i64 [ %135, %.loopexit.split.loop.exit180 ], [ %136, %.loopexit148.split.loop.exit170 ], [ %137, %.loopexit151.split.loop.exit160 ], [ 0, %.preheader ], [ 0, %108 ], [ 0, %111 ], [ 0, %.preheader103 ], [ 0, %55 ], [ 0, %58 ], [ 0, %.preheader106 ], [ 0, %82 ], [ 0, %85 ]
  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 %10)
  %.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 %31, label %143, label %138

138:                                              ; preds = %.thread, %.loopexit
  %139 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %20) #5
  %140 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tgq5"(i64 %19, %swift.bridge* %20, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #5
  %141 = extractvalue { i64, i8 } %140, 0
  %142 = extractvalue { i64, i8 } %140, 1
  br label %143

143:                                              ; preds = %.thread141, %.thread138, %.loopexit, %138
  %144 = phi i64 [ %141, %138 ], [ %.sroa.0.0, %.loopexit ], [ %134, %.thread138 ], [ %.sroa.0.0.ph, %.thread141 ]
  %.in.in = phi i8 [ %142, %138 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre140, %.thread138 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre145, %.thread141 ]
  %.in = and i8 %.in.in, 1
  %.not82 = icmp eq i8 %.in, 0
  br i1 %.not82, label %145, label %167

145:                                              ; preds = %143
  %146 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %147 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %146, i64 0, i32 0
  %148 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %147) #17
  br i1 %148, label %152, label %149

149:                                              ; preds = %145
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %146, i64 0, i32 1, i32 0, i32 0, i32 0
  %150 = load i64, i64* %._storage4.count._value, align 8, !range !6
  %151 = add nuw nsw i64 %150, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tgq5"(i1 false, i64 %151, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %152

152:                                              ; preds = %145, %149
  %153 = phi %Ts28__ContiguousArrayStorageBaseC* [ %146, %145 ], [ %.pre, %149 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %153, i64 0, i32 1, i32 0, i32 0, i32 0
  %154 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %153, i64 0, i32 1, i32 0, i32 1, i32 0
  %155 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %156 = lshr i64 %155, 1
  %157 = add nuw nsw i64 %154, 1
  %.not81 = icmp ugt i64 %156, %154
  br i1 %.not81, label %160, label %158, !prof !8

158:                                              ; preds = %152
  %159 = icmp ugt i64 %155, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tgq5"(i1 %159, i64 %157, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %.pre135 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %160

160:                                              ; preds = %152, %158
  %161 = phi %Ts28__ContiguousArrayStorageBaseC* [ %153, %152 ], [ %.pre135, %158 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %161, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %157, i64* %._storage6.count._value, align 8
  %162 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %161, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %162 to %TSi*
  %._value8 = getelementptr inbounds %TSi, %TSi* %tailaddr7, i64 %154, i32 0
  store i64 %144, i64* %._value8, align 8
  %163 = icmp eq i64 %18, %3
  br i1 %163, label %164, label %16

164:                                              ; preds = %160
  %165 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %2, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %165) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %8)
  br label %14

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #0 {
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 = icmp eq i64 %1, 0
  br i1 %2, label %.loopexit, label %3

3:                                                ; preds = %entry
  %4 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %4 to %TSi*
  %tailaddr._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %4 to i64*
  %5 = load i64, i64* %tailaddr._value, align 8
  %6 = icmp eq i64 %1, 1
  br i1 %6, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %3, %.preheader
  %7 = phi i64 [ %10, %.preheader ], [ %5, %3 ]
  %8 = phi i64 [ %11, %.preheader ], [ 1, %3 ]
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr, i64 %8, i32 0
  %9 = load i64, i64* %._value, align 8
  %10 = tail call i64 @llvm.smax.i64(i64 %7, i64 %9)
  %11 = add i64 %8, 1
  %12 = icmp eq i64 %11, %1
  br i1 %12, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %3, %entry
  %13 = phi i64 [ 0, %entry ], [ %5, %3 ], [ %10, %.preheader ]
  %14 = zext i1 %2 to i8
  %15 = insertvalue { i64, i8 } undef, i64 %13, 0
  %16 = insertvalue { i64, i8 } %15, i8 %14, 1
  ret { i64, i8 } %16
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSKsE4last7ElementQzSgvgSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #0 {
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 = icmp eq i64 %1, 0
  br i1 %2, label %10, label %3

3:                                                ; preds = %entry
  %4 = add nsw i64 %1, -1
  %5 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %5 to %TSa*
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %tailaddr, i64 %4, i32 0, i32 0
  %6 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %7 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %6 to i64
  %8 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %6, i64 0, i32 0
  %9 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %8) #17
  br label %10

10:                                               ; preds = %entry, %3
  %11 = phi i64 [ %7, %3 ], [ 0, %entry ]
  ret i64 %11
}

; Function Attrs: minsize optsize
define protected swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4nextSSyF"() #0 {
entry:
  %0 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %1 = extractvalue { i64, i64 } %0, 1
  %2 = icmp eq i64 %1, 0
  br i1 %2, label %8, label %3

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

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

; Function Attrs: minsize optsize
define protected swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12listOfStringSaySSGyF"() #0 {
entry:
  %0 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %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 %16, label %4

4:                                                ; preds = %entry
  %5 = extractvalue { i64, i64 } %1, 0
  %6 = inttoptr i64 %2 to %swift.bridge*
  %7 = bitcast %TSJ* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %7)
  %._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()
  %8 = alloca [24 x i8], align 16
  %9 = bitcast [24 x i8]* %8 to %swift.opaque*
  %10 = getelementptr inbounds [24 x i8], [24 x i8]* %8, i64 0, i64 16
  %11 = bitcast i8* %10 to %TSJ**
  store %TSJ* %0, %TSJ** %11, align 16
  %12 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %6) #5
  %13 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tgq5"(i64 9223372036854775807, i1 true, i8* nonnull bitcast (i1 (%TSJ*, %swift.refcounted*, %swift.error**)* @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TGq5TA" to i8*), %swift.opaque* nonnull %9, i64 %5, %swift.bridge* nonnull %6, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %6) #5
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %7)
  %14 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySsG_SSTgq5022$sSsSSs5Error_pIggozo_D69SSsAA_pIegnrzo_TR41$s7llvm_OZ12listOfStringSaySSGyFSSSshcfu_Tf3nnpf_nTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %13, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %15 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %13, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %15) #5
  ret %Ts28__ContiguousArrayStorageBaseC* %14

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySsG_SSTgq5022$sSsSSs5Error_pIggozo_D69SSsAA_pIegnrzo_TR41$s7llvm_OZ12listOfStringSaySSGyFSSSshcfu_Tf3nnpf_nTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage.count._value, align 8, !range !6
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %10, label %6

6:                                                ; preds = %entry
  %7 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %7)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tgq5"(i1 false, i64 %4, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %8 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %9 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  br label %12

10:                                               ; preds = %entry, %36
  %11 = phi %Ts28__ContiguousArrayStorageBaseC* [ %33, %36 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  ret %Ts28__ContiguousArrayStorageBaseC* %11

12:                                               ; preds = %6, %32
  %13 = phi i64 [ 0, %6 ], [ %15, %32 ]
  %14 = phi %Ts28__ContiguousArrayStorageBaseC* [ %8, %6 ], [ %33, %32 ]
  %15 = add nuw nsw i64 %13, 1
  %16 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %9, i64 %13
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %16 to i64*
  %17 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 0, i32 1
  %18 = load i64, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, 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
  %19 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %20 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  %21 = load %swift.bridge*, %swift.bridge** %20, align 8
  %22 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %21) #5
  %23 = tail call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %17, i64 %18, i64 %19, %swift.bridge* %21)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %21) #5
  %24 = extractvalue { i64, %swift.bridge* } %23, 0
  %25 = extractvalue { i64, %swift.bridge* } %23, 1
  store %Ts28__ContiguousArrayStorageBaseC* %14, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 0, i32 0
  %26 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %._storage3._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 1, i32 0, i32 1, i32 0
  %27 = load i64, i64* %._storage3._capacityAndFlags._value, align 8
  %28 = lshr i64 %27, 1
  %29 = add nuw nsw i64 %26, 1
  %.not10 = icmp ugt i64 %28, %26
  br i1 %.not10, label %32, label %30, !prof !8

30:                                               ; preds = %12
  %31 = icmp ugt i64 %27, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tgq5"(i1 %31, i64 %29, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %32

32:                                               ; preds = %12, %30
  %33 = phi %Ts28__ContiguousArrayStorageBaseC* [ %14, %12 ], [ %.pre, %30 ]
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %29, i64* %._storage4.count._value, align 8
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %26, i32 0, i32 0, i32 0, i32 0
  store i64 %24, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %26, i32 0, i32 0, i32 1
  store %swift.bridge* %25, %swift.bridge** %._guts._object._object, align 8
  %35 = icmp eq i64 %15, %4
  br i1 %35, label %36, label %12

36:                                               ; preds = %32
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %7)
  br label %10
}

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #4 {
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_SiSbtFSaySiG_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tgq5"(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) #5
  tail call void @llvm.trap()
  unreachable

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

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

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

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

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

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

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

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

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

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

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

40:                                               ; preds = %27
  %41 = and i64 %2, 1152921504606846976
  %42 = icmp eq i64 %41, 0
  br i1 %42, label %46, label %43, !prof !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) #5
  tail call void @llvm.trap()
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %20 = phi i64 [ %9, %entry ], [ %16, %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 %20, 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 %20, 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 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFADSRys5UInt8VGXEfU_AHSiADs5Error_pSSRszsAER_r0_lIetyyrzo_Tpq5Si_Tgq5"(i64 %31, i64 %28, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull 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* %19) #5
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  br label %47

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %20, %swift.bridge* %19)
  %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 %20, 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 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFADSRys5UInt8VGXEfU_AHSiADs5Error_pSSRszsAER_r0_lIetyyrzo_Tpq5Si_Tgq5"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull 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* %19) #5
  br label %47

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

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

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

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

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

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

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

8:                                                ; preds = %entry
  %9 = icmp eq i64 %1, 0
  br i1 %9, label %.loopexit, label %10, !prof !7

10:                                               ; preds = %8
  %11 = icmp sgt i64 %2, 10
  %12 = trunc i64 %2 to i8
  %13 = add i8 %12, 48
  %14 = add i8 %12, 55
  %15 = add i8 %12, 87
  %16 = select i1 %11, i8 %15, i8 97
  %17 = select i1 %11, i8 %14, i8 65
  %18 = select i1 %11, i8 58, i8 %13
  %19 = icmp eq i64 %0, 0
  br i1 %19, label %.loopexit, label %20

20:                                               ; preds = %10
  %21 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %22 = icmp eq i8* %21, %5
  br i1 %22, label %.loopexit, label %.lr.ph85

.lr.ph85:                                         ; preds = %20, %43
  %23 = phi i64 [ %44, %43 ], [ 0, %20 ]
  %24 = phi i8* [ %45, %43 ], [ %5, %20 ]
  %25 = load i8, i8* %24, align 1
  %26 = icmp ugt i8 %25, 47
  %27 = icmp ult i8 %25, %18
  %or.cond = select i1 %26, i1 %27, i1 false
  br i1 %or.cond, label %34, label %28, !prof !10

28:                                               ; preds = %.lr.ph85
  %29 = icmp ugt i8 %25, 64
  %30 = icmp ult i8 %25, %17
  %or.cond7 = select i1 %29, i1 %30, i1 false
  br i1 %or.cond7, label %34, label %31, !prof !10

31:                                               ; preds = %28
  %32 = icmp ugt i8 %25, 96
  %33 = icmp ult i8 %25, %16
  %or.cond8 = select i1 %32, i1 %33, i1 false
  br i1 %or.cond8, label %34, label %.loopexit, !prof !10

34:                                               ; preds = %.lr.ph85, %28, %31
  %.sink = phi i8 [ -87, %31 ], [ -55, %28 ], [ -48, %.lr.ph85 ]
  %35 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %23, i64 %2)
  %36 = extractvalue { i64, i1 } %35, 1
  br i1 %36, label %.loopexit, label %37

37:                                               ; preds = %34
  %38 = add i8 %25, %.sink
  %39 = extractvalue { i64, i1 } %35, 0
  %40 = zext i8 %38 to i64
  %41 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %39, i64 %40)
  %42 = extractvalue { i64, i1 } %41, 1
  br i1 %42, label %.loopexit, label %43, !prof !7

43:                                               ; preds = %37
  %44 = extractvalue { i64, i1 } %41, 0
  %45 = getelementptr inbounds i8, i8* %24, i64 1
  %46 = icmp eq i8* %45, %21
  br i1 %46, label %.loopexit.loopexit.split.loop.exit, label %.lr.ph85

47:                                               ; preds = %entry
  %48 = icmp slt i64 %1, 1
  br i1 %48, label %146, label %49, !prof !7

49:                                               ; preds = %47
  %50 = icmp eq i64 %0, 0
  %51 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %52 = ptrtoint i8* %51 to i64
  %53 = select i1 %50, i64 0, i64 %52
  %54 = add nsw i64 %1, -1
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %.loopexit, label %56, !prof !7

56:                                               ; preds = %49
  %57 = icmp sgt i64 %2, 10
  %58 = trunc i64 %2 to i8
  %59 = add i8 %58, 48
  %60 = add i8 %58, 55
  %61 = add i8 %58, 87
  %62 = select i1 %57, i8 %61, i8 97
  %63 = select i1 %57, i8 %60, i8 65
  %64 = select i1 %57, i8 58, i8 %59
  br i1 %50, label %.loopexit, label %65

65:                                               ; preds = %56
  %66 = inttoptr i64 %53 to %Ts5UInt8V*
  %67 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %66, i64 %54, i32 0
  %68 = inttoptr i64 %53 to i8*
  %69 = icmp eq i8* %67, %68
  br i1 %69, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %65, %90
  %70 = phi i64 [ %91, %90 ], [ 0, %65 ]
  %71 = phi i8* [ %92, %90 ], [ %68, %65 ]
  %72 = load i8, i8* %71, align 1
  %73 = icmp ugt i8 %72, 47
  %74 = icmp ult i8 %72, %64
  %or.cond9 = select i1 %73, i1 %74, i1 false
  br i1 %or.cond9, label %81, label %75, !prof !10

75:                                               ; preds = %.lr.ph
  %76 = icmp ugt i8 %72, 64
  %77 = icmp ult i8 %72, %63
  %or.cond10 = select i1 %76, i1 %77, i1 false
  br i1 %or.cond10, label %81, label %78, !prof !10

78:                                               ; preds = %75
  %79 = icmp ugt i8 %72, 96
  %80 = icmp ult i8 %72, %62
  %or.cond11 = select i1 %79, i1 %80, i1 false
  br i1 %or.cond11, label %81, label %.loopexit, !prof !10

81:                                               ; preds = %.lr.ph, %75, %78
  %.sink137 = phi i8 [ -87, %78 ], [ -55, %75 ], [ -48, %.lr.ph ]
  %82 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %70, i64 %2)
  %83 = extractvalue { i64, i1 } %82, 1
  br i1 %83, label %.loopexit, label %84

84:                                               ; preds = %81
  %85 = add i8 %72, %.sink137
  %86 = extractvalue { i64, i1 } %82, 0
  %87 = zext i8 %85 to i64
  %88 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %86, i64 %87)
  %89 = extractvalue { i64, i1 } %88, 1
  br i1 %89, label %.loopexit, label %90, !prof !7

90:                                               ; preds = %84
  %91 = extractvalue { i64, i1 } %88, 0
  %92 = getelementptr inbounds i8, i8* %71, i64 1
  %93 = icmp eq i8* %92, %67
  br i1 %93, label %.loopexit.loopexit105.split.loop.exit, label %.lr.ph

94:                                               ; preds = %entry
  %95 = icmp slt i64 %1, 1
  br i1 %95, label %147, label %96, !prof !7

96:                                               ; preds = %94
  %97 = icmp eq i64 %0, 0
  %98 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 1, i32 0
  %99 = ptrtoint i8* %98 to i64
  %100 = select i1 %97, i64 0, i64 %99
  %101 = add nsw i64 %1, -1
  %102 = icmp eq i64 %101, 0
  br i1 %102, label %.loopexit, label %103, !prof !7

103:                                              ; preds = %96
  %104 = icmp sgt i64 %2, 10
  %105 = trunc i64 %2 to i8
  %106 = add i8 %105, 48
  %107 = add i8 %105, 55
  %108 = add i8 %105, 87
  %109 = select i1 %104, i8 %108, i8 97
  %110 = select i1 %104, i8 %107, i8 65
  %111 = select i1 %104, i8 58, i8 %106
  br i1 %97, label %.loopexit, label %112

112:                                              ; preds = %103
  %113 = inttoptr i64 %100 to %Ts5UInt8V*
  %114 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %113, i64 %101, i32 0
  %115 = inttoptr i64 %100 to i8*
  %116 = icmp eq i8* %114, %115
  br i1 %116, label %.loopexit, label %.lr.ph83

.lr.ph83:                                         ; preds = %112, %137
  %117 = phi i64 [ %138, %137 ], [ 0, %112 ]
  %118 = phi i8* [ %139, %137 ], [ %115, %112 ]
  %119 = load i8, i8* %118, align 1
  %120 = icmp ugt i8 %119, 47
  %121 = icmp ult i8 %119, %111
  %or.cond12 = select i1 %120, i1 %121, i1 false
  br i1 %or.cond12, label %128, label %122, !prof !10

122:                                              ; preds = %.lr.ph83
  %123 = icmp ugt i8 %119, 64
  %124 = icmp ult i8 %119, %110
  %or.cond13 = select i1 %123, i1 %124, i1 false
  br i1 %or.cond13, label %128, label %125, !prof !10

125:                                              ; preds = %122
  %126 = icmp ugt i8 %119, 96
  %127 = icmp ult i8 %119, %109
  %or.cond14 = select i1 %126, i1 %127, i1 false
  br i1 %or.cond14, label %128, label %.loopexit, !prof !10

128:                                              ; preds = %.lr.ph83, %122, %125
  %.sink138 = phi i8 [ -87, %125 ], [ -55, %122 ], [ -48, %.lr.ph83 ]
  %129 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %117, i64 %2)
  %130 = extractvalue { i64, i1 } %129, 1
  br i1 %130, label %.loopexit, label %131

131:                                              ; preds = %128
  %132 = add i8 %119, %.sink138
  %133 = extractvalue { i64, i1 } %129, 0
  %134 = zext i8 %132 to i64
  %135 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %133, i64 %134)
  %136 = extractvalue { i64, i1 } %135, 1
  br i1 %136, label %.loopexit, label %137, !prof !7

137:                                              ; preds = %131
  %138 = extractvalue { i64, i1 } %135, 0
  %139 = getelementptr inbounds i8, i8* %118, i64 1
  %140 = icmp eq i8* %139, %114
  br i1 %140, label %.loopexit.loopexit102.split.loop.exit, label %.lr.ph83

.loopexit.loopexit.split.loop.exit:               ; preds = %43
  %141 = extractvalue { i64, i1 } %41, 0
  br label %.loopexit

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

.loopexit.loopexit105.split.loop.exit:            ; preds = %90
  %143 = extractvalue { i64, i1 } %88, 0
  br label %.loopexit

.loopexit:                                        ; preds = %78, %84, %81, %125, %131, %128, %31, %37, %34, %.loopexit.loopexit105.split.loop.exit, %.loopexit.loopexit102.split.loop.exit, %.loopexit.loopexit.split.loop.exit, %96, %103, %112, %49, %56, %65, %8, %10, %20
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i8 [ 0, %20 ], [ 0, %10 ], [ 1, %8 ], [ 0, %65 ], [ 0, %56 ], [ 1, %49 ], [ 0, %112 ], [ 0, %103 ], [ 1, %96 ], [ 0, %.loopexit.loopexit.split.loop.exit ], [ 0, %.loopexit.loopexit102.split.loop.exit ], [ 0, %.loopexit.loopexit105.split.loop.exit ], [ 1, %34 ], [ 1, %37 ], [ 1, %31 ], [ 1, %128 ], [ 1, %131 ], [ 1, %125 ], [ 1, %81 ], [ 1, %84 ], [ 1, %78 ]
  %.sroa.0.0 = phi i64 [ 0, %20 ], [ 0, %10 ], [ 0, %8 ], [ 0, %65 ], [ 0, %56 ], [ 0, %49 ], [ 0, %112 ], [ 0, %103 ], [ 0, %96 ], [ %141, %.loopexit.loopexit.split.loop.exit ], [ %142, %.loopexit.loopexit102.split.loop.exit ], [ %143, %.loopexit.loopexit105.split.loop.exit ], [ 0, %34 ], [ 0, %37 ], [ 0, %31 ], [ 0, %128 ], [ 0, %131 ], [ 0, %125 ], [ 0, %81 ], [ 0, %84 ], [ 0, %78 ]
  %144 = insertvalue { i64, i8 } undef, i64 %.sroa.0.0, 0
  %145 = insertvalue { i64, i8 } %144, i8 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., 1
  ret { i64, i8 } %145

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize mustprogress nofree noinline nounwind optsize readonly willreturn
define linkonce_odr hidden %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* %0) local_unnamed_addr #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) #21
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn
declare %swift.refcounted* @swift_initStackObject(%swift.type*, %swift.refcounted*) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind willreturn
declare void @swift_setDeallocating(%swift.refcounted*) local_unnamed_addr #7

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

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

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

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

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

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