import Foundation

func readWords<T>(_ f: (Substring) -> T) -> [T] {
    return readLine()!.split(separator: " ").map(f)
}

func main() {
    let s = Array(readLine()!)
    let t = Array(readLine()!)

    let sn = s.count
    let tn = t.count

    var dp = (0...sn).map { i in (0...tn).map { j in 0 }}

    for i in 0..<sn {
        for j in 0..<tn {
            if s[i] == t[j] {
                dp[i+1][j+1] = max(dp[i+1][j+1], dp[i][j] + 1)
            }
            dp[i+1][j+1] = max(dp[i+1][j+1], dp[i+1][j])
            dp[i+1][j+1] = max(dp[i+1][j+1], dp[i][j+1])
        }
    }

    var ans = ""
    var (i, j) = (sn, tn)
    while i > 0 && j > 0 {
        if dp[i][j] == dp[i-1][j] {
            i -= 1
        } else if dp[i][j] == dp[i][j-1] {
            j -= 1
        } else {
            ans.append(s[i-1])
            i -= 1
            j -= 1
        }
    }

    print(String(ans.reversed()))

}


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

%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%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 }>
%swift.opaque = type opaque
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%swift.error = type opaque
%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts18ReversedCollectionVySSG = type <{ %TSS }>
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>
%TSS5IndexV = type <{ %Ts6UInt64V }>

@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySsGMD" to i64)) to i32), i32 -6 }, align 8
@"$sSaySsGSayxGSlsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSayxGSlsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$ss18ReversedCollectionVMn" = external global %swift.type_descriptor, align 4
@"got.$ss18ReversedCollectionVMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss18ReversedCollectionVMn"
@"symbolic _____ySSG s18ReversedCollectionV" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss18ReversedCollectionVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s18ReversedCollectionV", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss18ReversedCollectionVySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s18ReversedCollectionV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss18ReversedCollectionVySSGMD" to i64)) to i32), i32 -9 }, align 8
@"$ss18ReversedCollectionVySSGAByxGSTsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$ss18ReversedCollectionVyxGSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSSN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySiGMD" to i64)) to i32), i32 -6 }, align 8
@"symbolic _____ySJG 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 _____ySJG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySJG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySJGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySJG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySJGMD" to i64)) to i32), i32 -9 }, align 8
@"\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
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [6 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

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

define hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_O39readWordsySayxGxSsXElF"(i8* %0, %swift.opaque* %1, %swift.type* %T) local_unnamed_addr #0 {
entry:
  %2 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %3 = alloca %TSa, align 8
  %4 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %5 = extractvalue { i64, i64 } %4, 1
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %30, label %7

7:                                                ; preds = %entry
  %8 = extractvalue { i64, i64 } %4, 0
  %9 = inttoptr i64 %5 to %swift.bridge*
  %10 = bitcast %TSJ* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %10)
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %2, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 32, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %2, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2233785415175766016 to %swift.bridge*), %swift.bridge** %._str._guts._object._object, align 8
  %spsave = tail call i8* @llvm.stacksave()
  %11 = alloca [24 x i8], align 16
  %12 = bitcast [24 x i8]* %11 to %swift.opaque*
  %13 = getelementptr inbounds [24 x i8], [24 x i8]* %11, i64 0, i64 16
  %14 = bitcast i8* %13 to %TSJ**
  store %TSJ* %2, %TSJ** %14, align 16
  %15 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %9) #5
  %16 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg5"(i64 9223372036854775807, i1 true, i8* nonnull bitcast (i1 (%TSJ*, %swift.refcounted*, %swift.error**)* @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA" to i8*), %swift.opaque* nonnull %12, i64 %8, %swift.bridge* nonnull %9, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %9) #5
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %10)
  %17 = bitcast %TSa* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %17)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %16, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %spsave1 = call i8* @llvm.stacksave()
  %18 = alloca [40 x i8], align 16
  %19 = bitcast [40 x i8]* %18 to %swift.opaque*
  %20 = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 16
  %21 = bitcast i8* %20 to %swift.type**
  store %swift.type* %T, %swift.type** %21, align 16
  %22 = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 24
  %.fn = bitcast i8* %22 to i8**
  store i8* %0, i8** %.fn, align 8
  %.data = getelementptr inbounds [40 x i8], [40 x i8]* %18, i64 0, i64 32
  %23 = bitcast i8* %.data to %swift.opaque**
  store %swift.opaque* %1, %swift.opaque** %23, align 16
  %24 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySsGMD") #17
  %25 = call i8** @"$sSaySsGSayxGSlsWlTm"(i8*** @"$sSaySsGSayxGSlsWL", { i32, i32 }* @"$sSaySsGMD", %swift.protocol_conformance_descriptor* @"$sSayxGSlsMc")
  %26 = bitcast %TSa* %3 to %swift.opaque*
  %27 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlF"(i8* nonnull bitcast (void (%swift.opaque*, %TSs*, %swift.refcounted*, %swift.error**)* @"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTRTA" to i8*), %swift.opaque* nonnull %19, %swift.type* %24, %swift.type* %T, i8** %25, %swift.opaque* noalias nocapture nonnull swiftself %26, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %28 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %29 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %28, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %29) #5
  call void @llvm.stackrestore(i8* %spsave1)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %17)
  ret %Ts28__ContiguousArrayStorageBaseC* %27

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

declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlF"(i8*, %swift.opaque*, %swift.type*, %swift.type*, i8**, %swift.opaque* noalias nocapture swiftself, %swift.error** noalias nocapture swifterror dereferenceable(8)) local_unnamed_addr #0

define hidden swiftcc void @"$s7llvm_O34mainyyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %TSS8IteratorV, align 8
  %1 = alloca %TSS8IteratorV, align 8
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %4 = alloca %TSS, align 8
  %5 = alloca %Ts18ReversedCollectionVySSG, align 8
  %6 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %7 = extractvalue { i64, i64 } %6, 0
  %8 = extractvalue { i64, i64 } %6, 1
  %9 = icmp eq i64 %8, 0
  br i1 %9, label %281, label %10

10:                                               ; preds = %entry
  %11 = inttoptr i64 %8 to %swift.bridge*
  %12 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %7, %swift.bridge* nonnull %11)
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %14, label %15

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

15:                                               ; preds = %10
  %16 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCSJ_Tgq5Tf4nnd_n"(i64 %12, i64 0)
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 1
  %18 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %17 to i64
  %19 = bitcast %TSS8IteratorV* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %19)
  %20 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %11) #5
  %21 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSS_Tgq5"(%TSS8IteratorV* noalias nocapture nonnull %0, i64 %18, i64 %12, i64 %7, %swift.bridge* nonnull %11)
  %.not = icmp eq i64 %21, %12
  br i1 %.not, label %22, label %282, !prof !6

22:                                               ; preds = %15
  %._guts._object._object = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %0, i64 0, i32 0, i32 0, i32 1
  %23 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %11) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %23) #5
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %19)
  br label %24

24:                                               ; preds = %14, %22
  %25 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %22 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %14 ]
  %26 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %27 = extractvalue { i64, i64 } %26, 0
  %28 = extractvalue { i64, i64 } %26, 1
  %29 = icmp eq i64 %28, 0
  br i1 %29, label %283, label %30

30:                                               ; preds = %24
  %31 = inttoptr i64 %28 to %swift.bridge*
  %32 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %27, %swift.bridge* nonnull %31)
  %33 = icmp eq i64 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %31) #5
  br label %44

35:                                               ; preds = %30
  %36 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCSJ_Tgq5Tf4nnd_n"(i64 %32, i64 0)
  %37 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %36, i64 1
  %38 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %37 to i64
  %39 = bitcast %TSS8IteratorV* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %39)
  %40 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %31) #5
  %41 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSS_Tgq5"(%TSS8IteratorV* noalias nocapture nonnull %1, i64 %38, i64 %32, i64 %27, %swift.bridge* nonnull %31)
  %.not154 = icmp eq i64 %41, %32
  br i1 %.not154, label %42, label %284, !prof !6

42:                                               ; preds = %35
  %._guts2._object._object = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %1, i64 0, i32 0, i32 0, i32 1
  %43 = load %swift.bridge*, %swift.bridge** %._guts2._object._object, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %31) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %43) #5
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %39)
  br label %44

44:                                               ; preds = %34, %42
  %45 = phi %Ts28__ContiguousArrayStorageBaseC* [ %36, %42 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %34 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 0, i32 1, i32 0, i32 0, i32 0
  %46 = load i64, i64* %._storage.count._value, align 8, !range !7
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 1, i32 0, i32 0, i32 0
  %47 = load i64, i64* %._storage3.count._value, align 8, !range !7
  %48 = add nuw nsw i64 %46, 1
  %49 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %49)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %2, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %48, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %50 = add nuw nsw i64 %47, 1
  %51 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  %._buffer6._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  br label %62

52:                                               ; preds = %125
  %53 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %80, i64 0, i32 0
  %54 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %53) #18
  br i1 %54, label %.lr.ph, label %55

55:                                               ; preds = %52
  %56 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %80)
  br label %.lr.ph

.lr.ph:                                           ; preds = %52, %55
  %57 = phi %Ts28__ContiguousArrayStorageBaseC* [ %56, %55 ], [ %80, %52 ]
  %58 = icmp eq i64 %47, 0
  %59 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 1
  %tailaddr22 = bitcast %Ts28__ContiguousArrayStorageBaseC* %59 to %TSJ*
  %60 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 1
  %tailaddr23 = bitcast %Ts28__ContiguousArrayStorageBaseC* %60 to %TSJ*
  %._storage89.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %57, i64 0, i32 1, i32 0, i32 0, i32 0
  %61 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %57, i64 1
  %tailaddr90 = bitcast %Ts28__ContiguousArrayStorageBaseC* %61 to %TSa*
  br label %128

62:                                               ; preds = %122, %44
  %63 = phi i64 [ 0, %44 ], [ %66, %122 ]
  %64 = phi i64 [ 0, %44 ], [ %123, %122 ]
  %65 = phi i1 [ false, %44 ], [ %82, %122 ]
  %66 = add nuw nsw i64 %63, 1
  br i1 %65, label %285, label %67

67:                                               ; preds = %62
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %51)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer6._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %50, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  br label %83

68:                                               ; preds = %114
  %._storage16.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %115, i64 0, i32 1, i32 0, i32 0, i32 0
  %69 = load i64, i64* %._storage16.count._value, align 8, !range !7
  %70 = add nuw nsw i64 %69, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %70, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre194 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %71

71:                                               ; preds = %114, %68
  %72 = phi %Ts28__ContiguousArrayStorageBaseC* [ %115, %114 ], [ %.pre194, %68 ]
  %._storage17.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 1, i32 0, i32 0, i32 0
  %73 = load i64, i64* %._storage17.count._value, align 8, !range !7
  %._storage17._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %72, i64 0, i32 1, i32 0, i32 1, i32 0
  %74 = load i64, i64* %._storage17._capacityAndFlags._value, align 8
  %75 = lshr i64 %74, 1
  %76 = add nuw nsw i64 %73, 1
  %.not158 = icmp ugt i64 %75, %73
  br i1 %.not158, label %79, label %77, !prof !6

77:                                               ; preds = %71
  %78 = icmp ugt i64 %74, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 %78, i64 %76, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre195 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %79

79:                                               ; preds = %71, %77
  %80 = phi %Ts28__ContiguousArrayStorageBaseC* [ %72, %71 ], [ %.pre195, %77 ]
  %._storage18.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %80, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %76, i64* %._storage18.count._value, align 8
  %81 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %80, i64 1
  %tailaddr19 = bitcast %Ts28__ContiguousArrayStorageBaseC* %81 to %TSa*
  %._buffer20._storage = getelementptr inbounds %TSa, %TSa* %tailaddr19, i64 %73, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %104, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  %82 = icmp eq i64 %64, %46
  br i1 %82, label %122, label %118

83:                                               ; preds = %111, %67
  %84 = phi i64 [ 0, %67 ], [ %87, %111 ]
  %85 = phi i64 [ 0, %67 ], [ %112, %111 ]
  %86 = phi i1 [ false, %67 ], [ %106, %111 ]
  %87 = add nuw nsw i64 %84, 1
  br i1 %86, label %286, label %88

88:                                               ; preds = %83
  %89 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer6._storage, align 8
  %90 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 0, i32 0
  %91 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %90) #18
  br i1 %91, label %95, label %92

92:                                               ; preds = %88
  %._storage10.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %89, i64 0, i32 1, i32 0, i32 0, i32 0
  %93 = load i64, i64* %._storage10.count._value, align 8, !range !7
  %94 = add nuw nsw i64 %93, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %94, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer6._storage, align 8
  br label %95

95:                                               ; preds = %88, %92
  %96 = phi %Ts28__ContiguousArrayStorageBaseC* [ %89, %88 ], [ %.pre, %92 ]
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 0, i32 0
  %97 = load i64, i64* %._storage11.count._value, align 8, !range !7
  %._storage11._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %96, i64 0, i32 1, i32 0, i32 1, i32 0
  %98 = load i64, i64* %._storage11._capacityAndFlags._value, align 8
  %99 = lshr i64 %98, 1
  %100 = add nuw nsw i64 %97, 1
  %.not157 = icmp ugt i64 %99, %97
  br i1 %.not157, label %103, label %101, !prof !6

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

103:                                              ; preds = %95, %101
  %104 = phi %Ts28__ContiguousArrayStorageBaseC* [ %96, %95 ], [ %.pre193, %101 ]
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %104, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %100, i64* %._storage12.count._value, align 8
  %105 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %104, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %105 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr13, i64 %97, i32 0
  store i64 0, i64* %._value, align 8
  %106 = icmp eq i64 %85, %47
  br i1 %106, label %111, label %107

107:                                              ; preds = %103
  %108 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %85, i64 1)
  %109 = extractvalue { i64, i1 } %108, 0
  %110 = extractvalue { i64, i1 } %108, 1
  br i1 %110, label %287, label %111, !prof !8

111:                                              ; preds = %107, %103
  %112 = phi i64 [ 0, %103 ], [ %109, %107 ]
  %113 = icmp eq i64 %84, %47
  br i1 %113, label %114, label %83

114:                                              ; preds = %111
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %51)
  %115 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %116 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %115, i64 0, i32 0
  %117 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %116) #18
  br i1 %117, label %71, label %68

118:                                              ; preds = %79
  %119 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %64, i64 1)
  %120 = extractvalue { i64, i1 } %119, 0
  %121 = extractvalue { i64, i1 } %119, 1
  br i1 %121, label %288, label %122, !prof !8

122:                                              ; preds = %118, %79
  %123 = phi i64 [ 0, %79 ], [ %120, %118 ]
  %124 = icmp eq i64 %63, %46
  br i1 %124, label %125, label %62

125:                                              ; preds = %122
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %49)
  %126 = icmp eq i64 %46, 0
  br i1 %126, label %.thread, label %52

.thread:                                          ; preds = %125
  %127 = bitcast %TSS* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %127)
  %._guts65._object._object182 = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts65._object._object182, align 8
  br label %.loopexit

128:                                              ; preds = %.lr.ph, %.backedge
  %129 = phi i64 [ 0, %.lr.ph ], [ %130, %.backedge ]
  %130 = add nuw nsw i64 %129, 1
  br i1 %58, label %.loopexit188.thread, label %131

131:                                              ; preds = %128
  %132 = load i64, i64* %._storage.count._value, align 8, !range !7
  %.not186 = icmp ult i64 %129, %132
  br i1 %.not186, label %.preheader, label %289, !prof !6

.preheader:                                       ; preds = %131
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr22, i64 %129, i32 0, i32 0, i32 0, i32 0, i32 0
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr22, i64 %129, i32 0, i32 0, i32 0, i32 1
  %._buffer91._storage = getelementptr inbounds %TSa, %TSa* %tailaddr90, i64 %130, i32 0, i32 0
  %._buffer95._storage = getelementptr inbounds %TSa, %TSa* %tailaddr90, i64 %129, i32 0, i32 0
  br label %136

.loopexit188:                                     ; preds = %213
  %133 = icmp eq i64 %130, %46
  br i1 %133, label %216, label %.backedge

.backedge:                                        ; preds = %.loopexit188, %.loopexit188.thread
  %exitcond.not = icmp eq i64 %130, %46
  br i1 %exitcond.not, label %._crit_edge, label %128, !prof !8

.loopexit188.thread:                              ; preds = %128
  %134 = icmp eq i64 %130, %46
  br i1 %134, label %.thread197, label %.backedge

.thread197:                                       ; preds = %.loopexit188.thread
  %135 = bitcast %TSS* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %135)
  %._guts65._object._object199 = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts65._object._object199, align 8
  br label %.loopexit

136:                                              ; preds = %.preheader, %213
  %137 = phi i64 [ %138, %213 ], [ 0, %.preheader ]
  %138 = add nuw nsw i64 %137, 1
  %139 = load i64, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %140 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %._str24._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr23, i64 %137, i32 0, i32 0, i32 0, i32 0, i32 0
  %141 = load i64, i64* %._str24._guts._object._countAndFlagsBits._value, align 8
  %._str24._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr23, i64 %137, i32 0, i32 0, i32 0, i32 1
  %142 = load %swift.bridge*, %swift.bridge** %._str24._guts._object._object, align 8
  %143 = icmp eq i64 %139, %141
  %144 = icmp eq %swift.bridge* %140, %142
  %or.cond180 = select i1 %143, i1 %144, i1 false
  br i1 %or.cond180, label %147, label %145

145:                                              ; preds = %136
  %146 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %139, %swift.bridge* %140, i64 %141, %swift.bridge* %142, i8 0)
  br i1 %146, label %147, label %174

147:                                              ; preds = %136, %145
  %148 = load i64, i64* %._storage89.count._value, align 8, !range !7
  %.not175 = icmp ult i64 %130, %148
  br i1 %.not175, label %149, label %306, !prof !6

149:                                              ; preds = %147
  %150 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  %._storage92.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 0, i32 1, i32 0, i32 0, i32 0
  %151 = load i64, i64* %._storage92.count._value, align 8, !range !7
  %.not176 = icmp ult i64 %138, %151
  br i1 %.not176, label %152, label %307, !prof !6

152:                                              ; preds = %149
  %153 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 1
  %tailaddr93 = bitcast %Ts28__ContiguousArrayStorageBaseC* %153 to %TSi*
  %._value94 = getelementptr inbounds %TSi, %TSi* %tailaddr93, i64 %138, i32 0
  %154 = load i64, i64* %._value94, align 8
  %155 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer95._storage, align 8
  %._storage96.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %155, i64 0, i32 1, i32 0, i32 0, i32 0
  %156 = load i64, i64* %._storage96.count._value, align 8, !range !7
  %.not178 = icmp ult i64 %137, %156
  br i1 %.not178, label %157, label %308, !prof !6

157:                                              ; preds = %152
  %158 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %155, i64 1
  %tailaddr97 = bitcast %Ts28__ContiguousArrayStorageBaseC* %158 to %TSi*
  %._value98 = getelementptr inbounds %TSi, %TSi* %tailaddr97, i64 %137, i32 0
  %159 = load i64, i64* %._value98, align 8
  %160 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %159, i64 1)
  %161 = extractvalue { i64, i1 } %160, 1
  br i1 %161, label %309, label %162, !prof !8

162:                                              ; preds = %157
  %163 = extractvalue { i64, i1 } %160, 0
  %164 = tail call i64 @llvm.smax.i64(i64 %163, i64 %154)
  %165 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 0, i32 0
  %166 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %165) #18
  store %Ts28__ContiguousArrayStorageBaseC* %150, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br i1 %166, label %169, label %167

167:                                              ; preds = %162
  %168 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %150)
  store %Ts28__ContiguousArrayStorageBaseC* %168, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br label %169

169:                                              ; preds = %162, %167
  %170 = phi %Ts28__ContiguousArrayStorageBaseC* [ %150, %162 ], [ %168, %167 ]
  %._storage104.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 0, i32 1, i32 0, i32 0, i32 0
  %171 = load i64, i64* %._storage104.count._value, align 8, !range !7
  %.not179 = icmp ult i64 %138, %171
  br i1 %.not179, label %172, label %310, !prof !6

172:                                              ; preds = %169
  %173 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 1
  %tailaddr105 = bitcast %Ts28__ContiguousArrayStorageBaseC* %173 to %TSi*
  %._value106 = getelementptr inbounds %TSi, %TSi* %tailaddr105, i64 %138, i32 0
  store i64 %164, i64* %._value106, align 8
  br label %174

174:                                              ; preds = %145, %172
  %175 = load i64, i64* %._storage89.count._value, align 8, !range !7
  %.not160 = icmp ult i64 %130, %175
  br i1 %.not160, label %176, label %290, !prof !6

176:                                              ; preds = %174
  %177 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  %._storage28.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %177, i64 0, i32 1, i32 0, i32 0, i32 0
  %178 = load i64, i64* %._storage28.count._value, align 8, !range !7
  %.not161 = icmp ult i64 %138, %178
  br i1 %.not161, label %179, label %291, !prof !6

179:                                              ; preds = %176
  %180 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %177, i64 1
  %tailaddr29 = bitcast %Ts28__ContiguousArrayStorageBaseC* %180 to %TSi*
  %._value30 = getelementptr inbounds %TSi, %TSi* %tailaddr29, i64 %138, i32 0
  %181 = load i64, i64* %._value30, align 8
  %._value33 = getelementptr inbounds %TSi, %TSi* %tailaddr29, i64 %137, i32 0
  %182 = load i64, i64* %._value33, align 8
  %183 = tail call i64 @llvm.smax.i64(i64 %182, i64 %181)
  %184 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %177, i64 0, i32 0
  %185 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %184) #18
  store %Ts28__ContiguousArrayStorageBaseC* %177, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br i1 %185, label %188, label %186

186:                                              ; preds = %179
  %187 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %177)
  store %Ts28__ContiguousArrayStorageBaseC* %187, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br label %188

188:                                              ; preds = %179, %186
  %189 = phi %Ts28__ContiguousArrayStorageBaseC* [ %177, %179 ], [ %187, %186 ]
  %._storage39.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %189, i64 0, i32 1, i32 0, i32 0, i32 0
  %190 = load i64, i64* %._storage39.count._value, align 8, !range !7
  %.not163 = icmp ult i64 %138, %190
  br i1 %.not163, label %191, label %292, !prof !6

191:                                              ; preds = %188
  %192 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %189, i64 1
  %tailaddr40 = bitcast %Ts28__ContiguousArrayStorageBaseC* %192 to %TSi*
  %._value41 = getelementptr inbounds %TSi, %TSi* %tailaddr40, i64 %138, i32 0
  store i64 %183, i64* %._value41, align 8
  %193 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  %194 = load i64, i64* %._storage89.count._value, align 8, !range !7
  %.not164 = icmp ult i64 %130, %194
  br i1 %.not164, label %195, label %293, !prof !6

195:                                              ; preds = %191
  %._storage46.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %193, i64 0, i32 1, i32 0, i32 0, i32 0
  %196 = load i64, i64* %._storage46.count._value, align 8, !range !7
  %.not165 = icmp ult i64 %138, %196
  br i1 %.not165, label %197, label %294, !prof !6

197:                                              ; preds = %195
  %198 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer95._storage, align 8
  %._storage50.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %198, i64 0, i32 1, i32 0, i32 0, i32 0
  %199 = load i64, i64* %._storage50.count._value, align 8, !range !7
  %.not167 = icmp ult i64 %138, %199
  br i1 %.not167, label %200, label %295, !prof !6

200:                                              ; preds = %197
  %201 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %193, i64 1
  %tailaddr47 = bitcast %Ts28__ContiguousArrayStorageBaseC* %201 to %TSi*
  %._value48 = getelementptr inbounds %TSi, %TSi* %tailaddr47, i64 %138, i32 0
  %202 = load i64, i64* %._value48, align 8
  %203 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %198, i64 1
  %tailaddr51 = bitcast %Ts28__ContiguousArrayStorageBaseC* %203 to %TSi*
  %._value52 = getelementptr inbounds %TSi, %TSi* %tailaddr51, i64 %138, i32 0
  %204 = load i64, i64* %._value52, align 8
  %205 = tail call i64 @llvm.smax.i64(i64 %204, i64 %202)
  %206 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %193, i64 0, i32 0
  %207 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %206) #18
  store %Ts28__ContiguousArrayStorageBaseC* %193, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br i1 %207, label %210, label %208

208:                                              ; preds = %200
  %209 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %193)
  store %Ts28__ContiguousArrayStorageBaseC* %209, %Ts28__ContiguousArrayStorageBaseC** %._buffer91._storage, align 8
  br label %210

210:                                              ; preds = %200, %208
  %211 = phi %Ts28__ContiguousArrayStorageBaseC* [ %193, %200 ], [ %209, %208 ]
  %._storage58.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %211, i64 0, i32 1, i32 0, i32 0, i32 0
  %212 = load i64, i64* %._storage58.count._value, align 8, !range !7
  %.not168 = icmp ult i64 %138, %212
  br i1 %.not168, label %213, label %296, !prof !6

213:                                              ; preds = %210
  %214 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %211, i64 1
  %tailaddr59 = bitcast %Ts28__ContiguousArrayStorageBaseC* %214 to %TSi*
  %._value60 = getelementptr inbounds %TSi, %TSi* %tailaddr59, i64 %138, i32 0
  store i64 %205, i64* %._value60, align 8
  %215 = icmp eq i64 %138, %47
  br i1 %215, label %.loopexit188, label %136

216:                                              ; preds = %.loopexit188
  %217 = bitcast %TSS* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %217)
  %._guts65._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 0, i64* %._guts65._object._countAndFlagsBits._value, align 8
  %._guts65._object._object = getelementptr inbounds %TSS, %TSS* %4, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts65._object._object, align 8
  br i1 %58, label %.loopexit, label %.preheader202

.preheader202:                                    ; preds = %216, %238
  %218 = phi i64 [ %239, %238 ], [ %46, %216 ]
  %219 = phi i64 [ %240, %238 ], [ %47, %216 ]
  %220 = load i64, i64* %._storage89.count._value, align 8, !range !7
  %.not169 = icmp slt i64 %218, %220
  br i1 %.not169, label %221, label %297, !prof !6

221:                                              ; preds = %.preheader202
  %._buffer73._storage = getelementptr inbounds %TSa, %TSa* %tailaddr90, i64 %218, i32 0, i32 0
  %222 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer73._storage, align 8
  %._storage74.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %222, i64 0, i32 1, i32 0, i32 0, i32 0
  %223 = load i64, i64* %._storage74.count._value, align 8, !range !7
  %.not170 = icmp slt i64 %219, %223
  br i1 %.not170, label %224, label %298, !prof !6

224:                                              ; preds = %221
  %225 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %222, i64 1
  %tailaddr75 = bitcast %Ts28__ContiguousArrayStorageBaseC* %225 to %TSi*
  %._value76 = getelementptr inbounds %TSi, %TSi* %tailaddr75, i64 %219, i32 0
  %226 = load i64, i64* %._value76, align 8
  %227 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %218, i64 -1)
  %228 = extractvalue { i64, i1 } %227, 0
  %229 = extractvalue { i64, i1 } %227, 1
  br i1 %229, label %299, label %230, !prof !8

230:                                              ; preds = %224
  %.not171 = icmp ult i64 %228, %220
  br i1 %.not171, label %231, label %300, !prof !6

231:                                              ; preds = %230
  %._buffer77._storage = getelementptr inbounds %TSa, %TSa* %tailaddr90, i64 %228, i32 0, i32 0
  %232 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer77._storage, align 8
  %._storage78.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %232, i64 0, i32 1, i32 0, i32 0, i32 0
  %233 = load i64, i64* %._storage78.count._value, align 8, !range !7
  %.not172 = icmp slt i64 %219, %233
  br i1 %.not172, label %234, label %301, !prof !6

234:                                              ; preds = %231
  %235 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %232, i64 1
  %tailaddr79 = bitcast %Ts28__ContiguousArrayStorageBaseC* %235 to %TSi*
  %._value80 = getelementptr inbounds %TSi, %TSi* %tailaddr79, i64 %219, i32 0
  %236 = load i64, i64* %._value80, align 8
  %237 = icmp eq i64 %226, %236
  br i1 %237, label %238, label %243

238:                                              ; preds = %250, %234, %255
  %239 = phi i64 [ %228, %255 ], [ %228, %234 ], [ %218, %250 ]
  %240 = phi i64 [ %245, %255 ], [ %219, %234 ], [ %245, %250 ]
  %241 = icmp sgt i64 %239, 0
  %242 = icmp sgt i64 %240, 0
  %or.cond116 = select i1 %241, i1 %242, i1 false
  br i1 %or.cond116, label %.preheader202, label %.loopexit.loopexit

243:                                              ; preds = %234
  %244 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %219, i64 -1)
  %245 = extractvalue { i64, i1 } %244, 0
  %246 = extractvalue { i64, i1 } %244, 1
  br i1 %246, label %302, label %247, !prof !8

247:                                              ; preds = %243
  %248 = icmp slt i64 %245, 0
  br i1 %248, label %303, label %249, !prof !8

249:                                              ; preds = %247
  %.not173 = icmp ult i64 %245, %223
  br i1 %.not173, label %250, label %304, !prof !6

250:                                              ; preds = %249
  %._value86 = getelementptr inbounds %TSi, %TSi* %tailaddr75, i64 %245, i32 0
  %251 = load i64, i64* %._value86, align 8
  %252 = icmp eq i64 %226, %251
  br i1 %252, label %238, label %253

253:                                              ; preds = %250
  %254 = load i64, i64* %._storage.count._value, align 8, !range !7
  %.not174 = icmp ult i64 %228, %254
  br i1 %.not174, label %255, label %305, !prof !6

255:                                              ; preds = %253
  %._str88._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr22, i64 %228, i32 0, i32 0, i32 0, i32 0, i32 0
  %256 = load i64, i64* %._str88._guts._object._countAndFlagsBits._value, align 8
  %._str88._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr22, i64 %228, i32 0, i32 0, i32 0, i32 1
  %257 = load %swift.bridge*, %swift.bridge** %._str88._guts._object._object, align 8
  %258 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %257) #5
  call swiftcc void @"$sSS6appendyySJF"(i64 %256, %swift.bridge* %257, %TSS* nocapture nonnull swiftself dereferenceable(16) %4)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %257) #5
  br label %238

.loopexit.loopexit:                               ; preds = %238
  %.pre196 = load i64, i64* %._guts65._object._countAndFlagsBits._value, align 8
  br label %.loopexit

.loopexit:                                        ; preds = %.thread197, %.loopexit.loopexit, %.thread, %216
  %259 = phi i64 [ 0, %.thread ], [ 0, %216 ], [ %.pre196, %.loopexit.loopexit ], [ 0, %.thread197 ]
  %._guts65._object._object185 = phi %swift.bridge** [ %._guts65._object._object182, %.thread ], [ %._guts65._object._object, %216 ], [ %._guts65._object._object, %.loopexit.loopexit ], [ %._guts65._object._object199, %.thread197 ]
  %260 = phi %Ts28__ContiguousArrayStorageBaseC* [ %80, %.thread ], [ %57, %216 ], [ %57, %.loopexit.loopexit ], [ %57, %.thread197 ]
  %.pre-phi = bitcast %TSS* %4 to i8*
  %261 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #17
  %262 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %261, i64 64, i64 7) #5
  %263 = bitcast %swift.refcounted* %262 to %Ts28__ContiguousArrayStorageBaseC*
  %264 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %262, i64 1
  %._storage66.count._value = bitcast %swift.refcounted* %264 to i64*
  store i64 1, i64* %._storage66.count._value, align 8
  %._storage66._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %262, i64 1, i32 1
  store i64 2, i64* %._storage66._capacityAndFlags, align 8
  %265 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %262, i64 2
  %266 = load %swift.bridge*, %swift.bridge** %._guts65._object._object185, align 8
  %267 = bitcast %Ts18ReversedCollectionVySSG* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %267)
  %._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts18ReversedCollectionVySSG, %Ts18ReversedCollectionVySSG* %5, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %259, i64* %._base._guts._object._countAndFlagsBits._value, align 8
  %._base._guts._object._object = getelementptr inbounds %Ts18ReversedCollectionVySSG, %Ts18ReversedCollectionVySSG* %5, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %266, %swift.bridge** %._base._guts._object._object, align 8
  %268 = bitcast %Ts18ReversedCollectionVySSG* %5 to %swift.opaque*
  %269 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %266) #5
  %270 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss18ReversedCollectionVySSGMD") #17
  %271 = call i8** @"$sSaySsGSayxGSlsWlTm"(i8*** @"$ss18ReversedCollectionVySSGAByxGSTsWL", { i32, i32 }* @"$ss18ReversedCollectionVySSGMD", %swift.protocol_conformance_descriptor* @"$ss18ReversedCollectionVyxGSTsMc")
  %272 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %268, %swift.type* %270, i8** %271)
  %273 = extractvalue { i64, %swift.bridge* } %272, 0
  %274 = extractvalue { i64, %swift.bridge* } %272, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %267)
  %275 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %262, i64 3, i32 1
  %276 = bitcast i64* %275 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %276, align 8
  %._guts69._object._countAndFlagsBits._value = bitcast %swift.refcounted* %265 to i64*
  store i64 %273, i64* %._guts69._object._countAndFlagsBits._value, align 8
  %._guts69._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %262, i64 2, i32 1
  %277 = bitcast i64* %._guts69._object._object to %swift.bridge**
  store %swift.bridge* %274, %swift.bridge** %277, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %263, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  tail call void @swift_release(%swift.refcounted* %262) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %266) #5
  %278 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %45, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %278) #5
  %279 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %279) #5
  %280 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %260, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %280) #5
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %.pre-phi)
  ret void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; 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

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

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

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

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

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

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

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

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

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

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

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

62:                                               ; preds = %59
  %63 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %49, i64 %42, i64 %4, %swift.bridge* %5)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #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
  %68 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %50, i64 0, i32 0
  %69 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %68) #18
  br i1 %69, label %74, label %70

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !7
  %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") #17
  %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 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to i8*
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to i8*
  br i1 %0, label %35, label %42

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

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

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

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

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

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

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

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

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

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

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !7
  %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") #17
  %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
  %tailaddr4 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSa*
  %34 = getelementptr inbounds %TSa, %TSa* %tailaddr4, i64 %16
  %35 = bitcast %TSa* %34 to %Ts28__ContiguousArrayStorageBaseC*
  %36 = icmp ult %Ts28__ContiguousArrayStorageBaseC* %31, %35
  %37 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond14 = select i1 %37, i1 %36, i1 false
  br i1 %or.cond14, label %41, label %.sink.split

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

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

42:                                               ; preds = %29
  %43 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySiGMD") #17
  %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) #18
  br label %46

46:                                               ; preds = %41, %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: noinline
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #3 {
entry:
  br i1 %2, label %4, label %14

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

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

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

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !7
  %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") #17
  %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 %41

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16:                                               ; preds = %entry
  %17 = icmp eq i64 %2, 0
  br i1 %17, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %16
  %18 = icmp slt i64 %2, 0
  br i1 %18, label %42, label %.lr.ph.split.preheader, !prof !8

.lr.ph.split.preheader:                           ; preds = %.lr.ph
  %19 = inttoptr i64 %1 to %TSJ*
  br label %20

20:                                               ; preds = %26, %.lr.ph.split.preheader
  %21 = phi i64 [ %27, %26 ], [ 0, %.lr.ph.split.preheader ]
  %22 = phi %TSJ* [ %30, %26 ], [ %19, %.lr.ph.split.preheader ]
  %23 = call swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture nonnull swiftself dereferenceable(32) %5)
  %24 = extractvalue { i64, i64 } %23, 1
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %26

26:                                               ; preds = %20
  %27 = add nuw nsw i64 %21, 1
  %28 = extractvalue { i64, i64 } %23, 0
  %29 = inttoptr i64 %24 to %swift.bridge*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %22, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %28, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %22, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %29, %swift.bridge** %._str._guts._object._object, align 8
  %30 = getelementptr inbounds %TSJ, %TSJ* %22, i64 1
  %31 = icmp eq i64 %27, %2
  br i1 %31, label %._crit_edge.loopexit, label %20

._crit_edge.loopexit:                             ; preds = %26
  %.pre = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %.pre25 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %32 = bitcast i64* %._position._value to <2 x i64>*
  %33 = load <2 x i64>, <2 x i64>* %32, align 8
  br label %._crit_edge

34:                                               ; preds = %20
  %35 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %36 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %37 = bitcast i64* %._position._value to <2 x i64>*
  %38 = load <2 x i64>, <2 x i64>* %37, align 8
  br label %._crit_edge

._crit_edge:                                      ; preds = %16, %._crit_edge.loopexit, %entry, %34
  %.sink31 = phi i64 [ %35, %34 ], [ %3, %entry ], [ %.pre, %._crit_edge.loopexit ], [ %3, %16 ]
  %.sink30 = phi %swift.bridge* [ %36, %34 ], [ %4, %entry ], [ %.pre25, %._crit_edge.loopexit ], [ %4, %16 ]
  %39 = phi i64 [ %21, %34 ], [ 0, %entry ], [ %2, %._crit_edge.loopexit ], [ %2, %16 ]
  %40 = phi <2 x i64> [ %38, %34 ], [ %15, %entry ], [ %33, %._crit_edge.loopexit ], [ %15, %16 ]
  %._guts13._object._countAndFlagsBits._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %0, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 %.sink31, i64* %._guts13._object._countAndFlagsBits._value, align 8
  %._guts13._object._object = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %0, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* %.sink30, %swift.bridge** %._guts13._object._object, align 8
  %._position14._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %0, i64 0, i32 1, i32 0
  %41 = bitcast i64* %._position14._value to <2 x i64>*
  store <2 x i64> %40, <2 x i64>* %41, align 8
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %6)
  ret i64 %39

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

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

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

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

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

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

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

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

define internal swiftcc void @"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTRTA"(%swift.opaque* noalias nocapture sret(%swift.opaque) %0, %TSs* noalias nocapture readonly dereferenceable(32) %1, %swift.refcounted* nocapture readonly swiftself %2, %swift.error** noalias nocapture swifterror dereferenceable(8) %3) #0 {
entry:
  %4 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1, i32 1
  %5 = bitcast i64* %4 to void (%swift.opaque*, i64, i64, i64, %swift.bridge*, %swift.refcounted*, %swift.error**)**
  %6 = load void (%swift.opaque*, i64, i64, i64, %swift.bridge*, %swift.refcounted*, %swift.error**)*, void (%swift.opaque*, i64, i64, i64, %swift.bridge*, %swift.refcounted*, %swift.error**)** %5, align 8
  %.data = getelementptr inbounds i64, i64* %4, i64 1
  %7 = bitcast i64* %.data to %swift.refcounted**
  %8 = load %swift.refcounted*, %swift.refcounted** %7, align 8
  tail call void @llvm.experimental.noalias.scope.decl(metadata !15)
  %._slice._startIndex._rawBits._value.i = getelementptr inbounds %TSs, %TSs* %1, i64 0, i32 0, i32 0, i32 0, i32 0
  %9 = load i64, i64* %._slice._startIndex._rawBits._value.i, align 8, !alias.scope !15, !noalias !18
  %._slice._endIndex._rawBits._value.i = getelementptr inbounds %TSs, %TSs* %1, i64 0, i32 0, i32 1, i32 0, i32 0
  %10 = load i64, i64* %._slice._endIndex._rawBits._value.i, align 8, !alias.scope !15, !noalias !18
  %._slice._base._guts._object._countAndFlagsBits._value.i = getelementptr inbounds %TSs, %TSs* %1, i64 0, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0
  %11 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value.i, align 8, !alias.scope !15, !noalias !18
  %._slice._base._guts._object._object.i = getelementptr inbounds %TSs, %TSs* %1, i64 0, i32 0, i32 2, i32 0, i32 0, i32 1
  %12 = load %swift.bridge*, %swift.bridge** %._slice._base._guts._object._object.i, align 8, !alias.scope !15, !noalias !18
  tail call swiftcc void %6(%swift.opaque* noalias nocapture sret(%swift.opaque) %0, i64 %9, i64 %10, i64 %11, %swift.bridge* %12, %swift.refcounted* swiftself %8, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3) #20, !noalias !15
  ret void
}

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

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

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

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

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

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

; Function Attrs: nofree nounwind readonly
declare i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor*, %swift.type*, i8***) local_unnamed_addr #8

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree noinline nosync nounwind readnone
define internal i8** @"$sSaySsGSayxGSlsWlTm"(i8*** %0, { i32, i32 }* %1, %swift.protocol_conformance_descriptor* %2) local_unnamed_addr #11 {
entry:
  %3 = load i8**, i8*** %0, align 8
  %4 = icmp eq i8** %3, null
  br i1 %4, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledNameAbstract({ i32, i32 }* nonnull %1) #17
  %6 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull %2, %swift.type* %5, i8*** undef) #17
  store atomic i8** %6, i8*** %0 release, align 8
  br label %cont

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

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

declare swiftcc void @"$sSS6appendyySJF"(i64, %swift.bridge*, %TSS* nocapture swiftself dereferenceable(16)) local_unnamed_addr #0

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

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

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

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

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

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

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

declare swiftcc { 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 #10

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

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

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

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