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

%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.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* }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts18ReversedCollectionVySSG = type <{ %TSS }>
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>
%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"

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

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

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

; Function Attrs: minsize optsize
define hidden swiftcc void @"$s7llvm_OZ4mainyyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %Ts15ContiguousArrayV, align 8
  %1 = alloca %Ts15ContiguousArrayV, align 8
  %2 = alloca %TSS, align 8
  %3 = alloca %Ts18ReversedCollectionVySSG, 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 %245, label %7

7:                                                ; preds = %entry
  %8 = extractvalue { i64, i64 } %4, 0
  %9 = inttoptr i64 %5 to %swift.bridge*
  %10 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSS_Tgq5"(i64 %8, %swift.bridge* nonnull %9)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %9) #5
  %11 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %12 = extractvalue { i64, i64 } %11, 1
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %246, label %14

14:                                               ; preds = %7
  %15 = extractvalue { i64, i64 } %11, 0
  %16 = inttoptr i64 %12 to %swift.bridge*
  %17 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSS_Tgq5"(i64 %15, %swift.bridge* nonnull %16)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %16) #5
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 0, i32 1, i32 0, i32 0, i32 0
  %18 = load i64, i64* %._storage.count._value, align 8, !range !6
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 0, i32 1, i32 0, i32 0, i32 0
  %19 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %20 = add nuw nsw i64 %18, 1
  %21 = bitcast %Ts15ContiguousArrayV* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %21)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %0, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %20, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %22 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %23 = add nuw nsw i64 %19, 1
  %24 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  %._buffer3._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, i64 0, i32 0, i32 0
  br label %36

25:                                               ; preds = %86
  %26 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %47, i64 0, i32 0
  %27 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %26) #18
  br i1 %27, label %30, label %28

28:                                               ; preds = %25
  %29 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %47)
  br label %30

30:                                               ; preds = %25, %28
  %31 = phi %Ts28__ContiguousArrayStorageBaseC* [ %29, %28 ], [ %47, %25 ]
  %32 = icmp eq i64 %19, 0
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %TSJ*
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 1
  %tailaddr14 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSJ*
  %._storage79.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 1, i32 0, i32 0, i32 0
  %35 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 1
  %tailaddr80 = bitcast %Ts28__ContiguousArrayStorageBaseC* %35 to %TSa*
  br label %88

36:                                               ; preds = %83, %14
  %37 = phi i64 [ 0, %14 ], [ %41, %83 ]
  %38 = phi i64 [ 0, %14 ], [ %84, %83 ]
  %39 = phi i1 [ false, %14 ], [ %49, %83 ]
  %40 = phi %Ts28__ContiguousArrayStorageBaseC* [ %22, %14 ], [ %47, %83 ]
  %41 = add nuw nsw i64 %37, 1
  br i1 %39, label %247, label %42

42:                                               ; preds = %36
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %24)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %23, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %43 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br label %50

44:                                               ; preds = %74
  %45 = icmp ugt i64 %76, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 %45, i64 %78, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %.pre172 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %46

46:                                               ; preds = %74, %44
  %47 = phi %Ts28__ContiguousArrayStorageBaseC* [ %40, %74 ], [ %.pre172, %44 ]
  %._storage10.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %47, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %78, i64* %._storage10.count._value, align 8
  %48 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %47, i64 1
  %tailaddr11 = bitcast %Ts28__ContiguousArrayStorageBaseC* %48 to %TSa*
  %._buffer12._storage = getelementptr inbounds %TSa, %TSa* %tailaddr11, i64 %75, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %64, %Ts28__ContiguousArrayStorageBaseC** %._buffer12._storage, align 8
  %49 = icmp eq i64 %38, %18
  br i1 %49, label %83, label %79

50:                                               ; preds = %71, %42
  %51 = phi i64 [ 0, %42 ], [ %55, %71 ]
  %52 = phi i64 [ 0, %42 ], [ %72, %71 ]
  %53 = phi i1 [ false, %42 ], [ %66, %71 ]
  %54 = phi %Ts28__ContiguousArrayStorageBaseC* [ %43, %42 ], [ %64, %71 ]
  %55 = add nuw nsw i64 %51, 1
  br i1 %53, label %248, label %56

56:                                               ; preds = %50
  store %Ts28__ContiguousArrayStorageBaseC* %54, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %54, i64 0, i32 1, i32 0, i32 0, i32 0
  %57 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %54, i64 0, i32 1, i32 0, i32 1, i32 0
  %58 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %59 = lshr i64 %58, 1
  %60 = add nuw nsw i64 %57, 1
  %.not = icmp ugt i64 %59, %57
  br i1 %.not, label %63, label %61, !prof !7

61:                                               ; preds = %56
  %62 = icmp ugt i64 %58, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %62, i64 %60, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer3._storage, align 8
  br label %63

63:                                               ; preds = %56, %61
  %64 = phi %Ts28__ContiguousArrayStorageBaseC* [ %54, %56 ], [ %.pre, %61 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %64, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %60, i64* %._storage7.count._value, align 8
  %65 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %64, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %65 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr, i64 %57, i32 0
  store i64 0, i64* %._value, align 8
  %66 = icmp eq i64 %52, %19
  br i1 %66, label %71, label %67

67:                                               ; preds = %63
  %68 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %52, i64 1)
  %69 = extractvalue { i64, i1 } %68, 0
  %70 = extractvalue { i64, i1 } %68, 1
  br i1 %70, label %249, label %71, !prof !8

71:                                               ; preds = %67, %63
  %72 = phi i64 [ 0, %63 ], [ %69, %67 ]
  %73 = icmp eq i64 %51, %19
  br i1 %73, label %74, label %50

74:                                               ; preds = %71
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %24)
  store %Ts28__ContiguousArrayStorageBaseC* %40, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 1, i32 0, i32 0, i32 0
  %75 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %._storage9._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 1, i32 0, i32 1, i32 0
  %76 = load i64, i64* %._storage9._capacityAndFlags._value, align 8
  %77 = lshr i64 %76, 1
  %78 = add nuw nsw i64 %75, 1
  %.not142 = icmp ugt i64 %77, %75
  br i1 %.not142, label %46, label %44, !prof !7

79:                                               ; preds = %46
  %80 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %38, i64 1)
  %81 = extractvalue { i64, i1 } %80, 0
  %82 = extractvalue { i64, i1 } %80, 1
  br i1 %82, label %250, label %83, !prof !8

83:                                               ; preds = %79, %46
  %84 = phi i64 [ 0, %46 ], [ %81, %79 ]
  %85 = icmp eq i64 %37, %18
  br i1 %85, label %86, label %36

86:                                               ; preds = %83
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %21)
  %87 = icmp eq i64 %18, 0
  br i1 %87, label %.loopexit167, label %25

88:                                               ; preds = %.loopexit166, %30
  %89 = phi i64 [ 0, %30 ], [ %91, %.loopexit166 ]
  %exitcond.not = icmp eq i64 %89, %18
  br i1 %exitcond.not, label %251, label %90, !prof !8

90:                                               ; preds = %88
  %91 = add nuw nsw i64 %89, 1
  br i1 %32, label %.loopexit166, label %92

92:                                               ; preds = %90
  %93 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not165 = icmp ult i64 %89, %93
  br i1 %.not165, label %.preheader, label %252, !prof !7

.preheader:                                       ; preds = %92
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr13, i64 %89, i32 0, i32 0, i32 0, i32 0, i32 0
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr13, i64 %89, i32 0, i32 0, i32 0, i32 1
  %._buffer81._storage = getelementptr inbounds %TSa, %TSa* %tailaddr80, i64 %91, i32 0, i32 0
  %._buffer85._storage = getelementptr inbounds %TSa, %TSa* %tailaddr80, i64 %89, i32 0, i32 0
  br label %95

.loopexit166:                                     ; preds = %172, %90
  %94 = icmp eq i64 %91, %18
  br i1 %94, label %.loopexit167, label %88

95:                                               ; preds = %.preheader, %172
  %96 = phi i64 [ %97, %172 ], [ 0, %.preheader ]
  %97 = add nuw nsw i64 %96, 1
  %98 = load i64, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %99 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %._str15._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr14, i64 %96, i32 0, i32 0, i32 0, i32 0, i32 0
  %100 = load i64, i64* %._str15._guts._object._countAndFlagsBits._value, align 8
  %._str15._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr14, i64 %96, i32 0, i32 0, i32 0, i32 1
  %101 = load %swift.bridge*, %swift.bridge** %._str15._guts._object._object, align 8
  %102 = icmp eq i64 %98, %100
  %103 = icmp eq %swift.bridge* %99, %101
  %or.cond164 = select i1 %102, i1 %103, i1 false
  br i1 %or.cond164, label %106, label %104

104:                                              ; preds = %95
  %105 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %98, %swift.bridge* %99, i64 %100, %swift.bridge* %101, i8 0)
  br i1 %105, label %106, label %133

106:                                              ; preds = %95, %104
  %107 = load i64, i64* %._storage79.count._value, align 8, !range !6
  %.not159 = icmp ult i64 %91, %107
  br i1 %.not159, label %108, label %269, !prof !7

108:                                              ; preds = %106
  %109 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  %._storage82.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %109, i64 0, i32 1, i32 0, i32 0, i32 0
  %110 = load i64, i64* %._storage82.count._value, align 8, !range !6
  %.not160 = icmp ult i64 %97, %110
  br i1 %.not160, label %111, label %270, !prof !7

111:                                              ; preds = %108
  %112 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %109, i64 1
  %tailaddr83 = bitcast %Ts28__ContiguousArrayStorageBaseC* %112 to %TSi*
  %._value84 = getelementptr inbounds %TSi, %TSi* %tailaddr83, i64 %97, i32 0
  %113 = load i64, i64* %._value84, align 8
  %114 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer85._storage, align 8
  %._storage86.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %114, i64 0, i32 1, i32 0, i32 0, i32 0
  %115 = load i64, i64* %._storage86.count._value, align 8, !range !6
  %.not162 = icmp ult i64 %96, %115
  br i1 %.not162, label %116, label %271, !prof !7

116:                                              ; preds = %111
  %117 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %114, i64 1
  %tailaddr87 = bitcast %Ts28__ContiguousArrayStorageBaseC* %117 to %TSi*
  %._value88 = getelementptr inbounds %TSi, %TSi* %tailaddr87, i64 %96, i32 0
  %118 = load i64, i64* %._value88, align 8
  %119 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %118, i64 1)
  %120 = extractvalue { i64, i1 } %119, 1
  br i1 %120, label %272, label %121, !prof !8

121:                                              ; preds = %116
  %122 = extractvalue { i64, i1 } %119, 0
  %123 = tail call i64 @llvm.smax.i64(i64 %122, i64 %113)
  %124 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %109, i64 0, i32 0
  %125 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %124) #18
  store %Ts28__ContiguousArrayStorageBaseC* %109, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  br i1 %125, label %128, label %126

126:                                              ; preds = %121
  %127 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %109)
  store %Ts28__ContiguousArrayStorageBaseC* %127, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  br label %128

128:                                              ; preds = %121, %126
  %129 = phi %Ts28__ContiguousArrayStorageBaseC* [ %109, %121 ], [ %127, %126 ]
  %._storage94.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 0, i32 1, i32 0, i32 0, i32 0
  %130 = load i64, i64* %._storage94.count._value, align 8, !range !6
  %.not163 = icmp ult i64 %97, %130
  br i1 %.not163, label %131, label %273, !prof !7

131:                                              ; preds = %128
  %132 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 1
  %tailaddr95 = bitcast %Ts28__ContiguousArrayStorageBaseC* %132 to %TSi*
  %._value96 = getelementptr inbounds %TSi, %TSi* %tailaddr95, i64 %97, i32 0
  store i64 %123, i64* %._value96, align 8
  br label %133

133:                                              ; preds = %104, %131
  %134 = load i64, i64* %._storage79.count._value, align 8, !range !6
  %.not144 = icmp ult i64 %91, %134
  br i1 %.not144, label %135, label %253, !prof !7

135:                                              ; preds = %133
  %136 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 1, i32 0, i32 0, i32 0
  %137 = load i64, i64* %._storage19.count._value, align 8, !range !6
  %.not145 = icmp ult i64 %97, %137
  br i1 %.not145, label %138, label %254, !prof !7

138:                                              ; preds = %135
  %139 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 1
  %tailaddr20 = bitcast %Ts28__ContiguousArrayStorageBaseC* %139 to %TSi*
  %._value21 = getelementptr inbounds %TSi, %TSi* %tailaddr20, i64 %97, i32 0
  %140 = load i64, i64* %._value21, align 8
  %._value24 = getelementptr inbounds %TSi, %TSi* %tailaddr20, i64 %96, i32 0
  %141 = load i64, i64* %._value24, align 8
  %142 = tail call i64 @llvm.smax.i64(i64 %141, i64 %140)
  %143 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %136, i64 0, i32 0
  %144 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %143) #18
  store %Ts28__ContiguousArrayStorageBaseC* %136, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  br i1 %144, label %147, label %145

145:                                              ; preds = %138
  %146 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %136)
  store %Ts28__ContiguousArrayStorageBaseC* %146, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  br label %147

147:                                              ; preds = %138, %145
  %148 = phi %Ts28__ContiguousArrayStorageBaseC* [ %136, %138 ], [ %146, %145 ]
  %._storage30.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %148, i64 0, i32 1, i32 0, i32 0, i32 0
  %149 = load i64, i64* %._storage30.count._value, align 8, !range !6
  %.not147 = icmp ult i64 %97, %149
  br i1 %.not147, label %150, label %255, !prof !7

150:                                              ; preds = %147
  %151 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %148, i64 1
  %tailaddr31 = bitcast %Ts28__ContiguousArrayStorageBaseC* %151 to %TSi*
  %._value32 = getelementptr inbounds %TSi, %TSi* %tailaddr31, i64 %97, i32 0
  store i64 %142, i64* %._value32, align 8
  %152 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  %153 = load i64, i64* %._storage79.count._value, align 8, !range !6
  %.not148 = icmp ult i64 %91, %153
  br i1 %.not148, label %154, label %256, !prof !7

154:                                              ; preds = %150
  %._storage37.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %152, i64 0, i32 1, i32 0, i32 0, i32 0
  %155 = load i64, i64* %._storage37.count._value, align 8, !range !6
  %.not149 = icmp ult i64 %97, %155
  br i1 %.not149, label %156, label %257, !prof !7

156:                                              ; preds = %154
  %157 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer85._storage, align 8
  %._storage41.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %157, i64 0, i32 1, i32 0, i32 0, i32 0
  %158 = load i64, i64* %._storage41.count._value, align 8, !range !6
  %.not151 = icmp ult i64 %97, %158
  br i1 %.not151, label %159, label %258, !prof !7

159:                                              ; preds = %156
  %160 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %152, i64 1
  %tailaddr38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %160 to %TSi*
  %._value39 = getelementptr inbounds %TSi, %TSi* %tailaddr38, i64 %97, i32 0
  %161 = load i64, i64* %._value39, align 8
  %162 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %157, i64 1
  %tailaddr42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %162 to %TSi*
  %._value43 = getelementptr inbounds %TSi, %TSi* %tailaddr42, i64 %97, i32 0
  %163 = load i64, i64* %._value43, align 8
  %164 = tail call i64 @llvm.smax.i64(i64 %163, i64 %161)
  %165 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %152, i64 0, i32 0
  %166 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %165) #18
  store %Ts28__ContiguousArrayStorageBaseC* %152, %Ts28__ContiguousArrayStorageBaseC** %._buffer81._storage, align 8
  br i1 %166, label %169, label %167

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

169:                                              ; preds = %159, %167
  %170 = phi %Ts28__ContiguousArrayStorageBaseC* [ %152, %159 ], [ %168, %167 ]
  %._storage49.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 0, i32 1, i32 0, i32 0, i32 0
  %171 = load i64, i64* %._storage49.count._value, align 8, !range !6
  %.not152 = icmp ult i64 %97, %171
  br i1 %.not152, label %172, label %259, !prof !7

172:                                              ; preds = %169
  %173 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %170, i64 1
  %tailaddr50 = bitcast %Ts28__ContiguousArrayStorageBaseC* %173 to %TSi*
  %._value51 = getelementptr inbounds %TSi, %TSi* %tailaddr50, i64 %97, i32 0
  store i64 %164, i64* %._value51, align 8
  %174 = icmp eq i64 %97, %19
  br i1 %174, label %.loopexit166, label %95

.loopexit167:                                     ; preds = %.loopexit166, %86
  %175 = phi %Ts28__ContiguousArrayStorageBaseC* [ %47, %86 ], [ %31, %.loopexit166 ]
  %176 = bitcast %TSS* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %176)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %2, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts._object._object, align 8
  %177 = icmp ne i64 %18, 0
  %178 = icmp ne i64 %19, 0
  %or.cond = select i1 %177, i1 %178, i1 false
  br i1 %or.cond, label %179, label %.loopexit

179:                                              ; preds = %.loopexit167
  %180 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 1
  %tailaddr61 = bitcast %Ts28__ContiguousArrayStorageBaseC* %180 to %TSa*
  %._storage62.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 1, i32 0, i32 0, i32 0
  %181 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 1
  %tailaddr77 = bitcast %Ts28__ContiguousArrayStorageBaseC* %181 to %TSJ*
  br label %182

182:                                              ; preds = %203, %179
  %183 = phi i64 [ %18, %179 ], [ %204, %203 ]
  %184 = phi i64 [ %19, %179 ], [ %205, %203 ]
  %185 = load i64, i64* %._storage62.count._value, align 8, !range !6
  %.not153 = icmp slt i64 %183, %185
  br i1 %.not153, label %186, label %260, !prof !7

186:                                              ; preds = %182
  %._buffer63._storage = getelementptr inbounds %TSa, %TSa* %tailaddr61, i64 %183, i32 0, i32 0
  %187 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer63._storage, align 8
  %._storage64.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %187, i64 0, i32 1, i32 0, i32 0, i32 0
  %188 = load i64, i64* %._storage64.count._value, align 8, !range !6
  %.not154 = icmp slt i64 %184, %188
  br i1 %.not154, label %189, label %261, !prof !7

189:                                              ; preds = %186
  %190 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %187, i64 1
  %tailaddr65 = bitcast %Ts28__ContiguousArrayStorageBaseC* %190 to %TSi*
  %._value66 = getelementptr inbounds %TSi, %TSi* %tailaddr65, i64 %184, i32 0
  %191 = load i64, i64* %._value66, align 8
  %192 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %183, i64 -1)
  %193 = extractvalue { i64, i1 } %192, 0
  %194 = extractvalue { i64, i1 } %192, 1
  br i1 %194, label %262, label %195, !prof !8

195:                                              ; preds = %189
  %.not155 = icmp ult i64 %193, %185
  br i1 %.not155, label %196, label %263, !prof !7

196:                                              ; preds = %195
  %._buffer67._storage = getelementptr inbounds %TSa, %TSa* %tailaddr61, i64 %193, i32 0, i32 0
  %197 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer67._storage, align 8
  %._storage68.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %197, i64 0, i32 1, i32 0, i32 0, i32 0
  %198 = load i64, i64* %._storage68.count._value, align 8, !range !6
  %.not156 = icmp slt i64 %184, %198
  br i1 %.not156, label %199, label %264, !prof !7

199:                                              ; preds = %196
  %200 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %197, i64 1
  %tailaddr69 = bitcast %Ts28__ContiguousArrayStorageBaseC* %200 to %TSi*
  %._value70 = getelementptr inbounds %TSi, %TSi* %tailaddr69, i64 %184, i32 0
  %201 = load i64, i64* %._value70, align 8
  %202 = icmp eq i64 %191, %201
  br i1 %202, label %203, label %208

203:                                              ; preds = %215, %199, %220
  %204 = phi i64 [ %193, %220 ], [ %193, %199 ], [ %183, %215 ]
  %205 = phi i64 [ %210, %220 ], [ %184, %199 ], [ %210, %215 ]
  %206 = icmp sgt i64 %204, 0
  %207 = icmp sgt i64 %205, 0
  %or.cond106 = select i1 %206, i1 %207, i1 false
  br i1 %or.cond106, label %182, label %.loopexit.loopexit

208:                                              ; preds = %199
  %209 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %184, i64 -1)
  %210 = extractvalue { i64, i1 } %209, 0
  %211 = extractvalue { i64, i1 } %209, 1
  br i1 %211, label %265, label %212, !prof !8

212:                                              ; preds = %208
  %213 = icmp slt i64 %210, 0
  br i1 %213, label %266, label %214, !prof !8

214:                                              ; preds = %212
  %.not157 = icmp ult i64 %210, %188
  br i1 %.not157, label %215, label %267, !prof !7

215:                                              ; preds = %214
  %._value76 = getelementptr inbounds %TSi, %TSi* %tailaddr65, i64 %210, i32 0
  %216 = load i64, i64* %._value76, align 8
  %217 = icmp eq i64 %191, %216
  br i1 %217, label %203, label %218

218:                                              ; preds = %215
  %219 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not158 = icmp ult i64 %193, %219
  br i1 %.not158, label %220, label %268, !prof !7

220:                                              ; preds = %218
  %._str78._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr77, i64 %193, i32 0, i32 0, i32 0, i32 0, i32 0
  %221 = load i64, i64* %._str78._guts._object._countAndFlagsBits._value, align 8
  %._str78._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr77, i64 %193, i32 0, i32 0, i32 0, i32 1
  %222 = load %swift.bridge*, %swift.bridge** %._str78._guts._object._object, align 8
  %223 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %222) #5
  call swiftcc void @"$sSS6appendyySJF"(i64 %221, %swift.bridge* %222, %TSS* nocapture nonnull swiftself dereferenceable(16) %2)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %222) #5
  br label %203

.loopexit.loopexit:                               ; preds = %203
  %.pre173 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %.pre174 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.loopexit167
  %224 = phi %swift.bridge* [ %.pre174, %.loopexit.loopexit ], [ inttoptr (i64 -2305843009213693952 to %swift.bridge*), %.loopexit167 ]
  %225 = phi i64 [ %.pre173, %.loopexit.loopexit ], [ 0, %.loopexit167 ]
  %226 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #17
  %227 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %226, i64 64, i64 7) #5
  %228 = bitcast %swift.refcounted* %227 to %Ts28__ContiguousArrayStorageBaseC*
  %229 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %227, i64 1
  %._storage56.count._value = bitcast %swift.refcounted* %229 to i64*
  store i64 1, i64* %._storage56.count._value, align 8
  %._storage56._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %227, i64 1, i32 1
  store i64 2, i64* %._storage56._capacityAndFlags, align 8
  %230 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %227, i64 2
  %231 = bitcast %Ts18ReversedCollectionVySSG* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %231)
  %._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts18ReversedCollectionVySSG, %Ts18ReversedCollectionVySSG* %3, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %225, i64* %._base._guts._object._countAndFlagsBits._value, align 8
  %._base._guts._object._object = getelementptr inbounds %Ts18ReversedCollectionVySSG, %Ts18ReversedCollectionVySSG* %3, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %224, %swift.bridge** %._base._guts._object._object, align 8
  %232 = bitcast %Ts18ReversedCollectionVySSG* %3 to %swift.opaque*
  %233 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %224) #5
  %234 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss18ReversedCollectionVySSGMD") #17
  %235 = call i8** @"$sSaySsGSayxGSlsWlTm"(i8*** @"$ss18ReversedCollectionVySSGAByxGSTsWL", { i32, i32 }* @"$ss18ReversedCollectionVySSGMD", %swift.protocol_conformance_descriptor* @"$ss18ReversedCollectionVyxGSTsMc")
  %236 = call swiftcc { i64, %swift.bridge* } @"$sSSySSxcSTRzSJ7ElementRtzlufC"(%swift.opaque* noalias nocapture nonnull %232, %swift.type* %234, i8** %235)
  %237 = extractvalue { i64, %swift.bridge* } %236, 0
  %238 = extractvalue { i64, %swift.bridge* } %236, 1
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %231)
  %239 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %227, i64 3, i32 1
  %240 = bitcast i64* %239 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %240, align 8
  %._guts59._object._countAndFlagsBits._value = bitcast %swift.refcounted* %230 to i64*
  store i64 %237, i64* %._guts59._object._countAndFlagsBits._value, align 8
  %._guts59._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %227, i64 2, i32 1
  %241 = bitcast i64* %._guts59._object._object to %swift.bridge**
  store %swift.bridge* %238, %swift.bridge** %241, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %228, 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* %227) #5
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %224) #5
  %242 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %242) #5
  %243 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %243) #5
  %244 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %244) #5
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %176)
  ret void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
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: minsize noinline optsize
define linkonce_odr hidden swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %0, i64 %1, i1 %2, %Ts15ContiguousArrayV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #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: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #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 %49, label %11, !prof !8

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #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
  br i1 %0, label %32, label %42

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #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 !6
  %17 = tail call i64 @llvm.smax.i64(i64 %15, i64 %16)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %29, label %19

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySaySiGGMD") #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
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSa*
  %35 = getelementptr inbounds %TSa, %TSa* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %TSa*
  %37 = icmp ugt %TSa* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", label %.sink.split.i

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

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

42:                                               ; preds = %29
  %43 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySiGMD") #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 = %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", %42
  %47 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %47) #5
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3) local_unnamed_addr #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 %45, label %11, !prof !8

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

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

19:                                               ; preds = %14
  %20 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySsGMD") #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 %40

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSS_Tgq5"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %TSS8IteratorV, align 8
  %3 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %0, %swift.bridge* %1)
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %14, label %5

5:                                                ; preds = %entry
  %6 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCSJ_Tgq5"(i64 %3, i64 0)
  %7 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %6, i64 1
  %8 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %7 to i64
  %9 = bitcast %TSS8IteratorV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %9)
  %10 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #5
  %11 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSS_Tgq5"(%TSS8IteratorV* noalias nocapture nonnull %2, i64 %8, i64 %3, i64 %0, %swift.bridge* %1)
  %.not = icmp eq i64 %11, %3
  br i1 %.not, label %12, label %16, !prof !7

12:                                               ; preds = %5
  %._guts._object._object = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %2, i64 0, i32 0, i32 0, i32 1
  %13 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %13) #5
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %9)
  br label %14

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$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: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV19_uninitializedCount15minimumCapacityAByxGSi_SitcfCSJ_Tgq5"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = tail call i64 @llvm.smax.i64(i64 %1, i64 %0)
  %3 = icmp eq i64 %2, 0
  br i1 %3, label %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: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5"(%TSJ* noalias nocapture dereferenceable(16) %0, %TSJ* noalias nocapture dereferenceable(16) %1, %swift.refcounted* swiftself %2, %swift.error** noalias nocapture swifterror dereferenceable(8) %3) local_unnamed_addr #0 {
entry:
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %0, i64 0, i32 0, i32 0, i32 0, i32 1
  %5 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %._str1._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._str1._guts._object._countAndFlagsBits._value, align 8
  %._str1._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %1, i64 0, i32 0, i32 0, i32 0, i32 1
  %7 = load %swift.bridge*, %swift.bridge** %._str1._guts._object._object, align 8
  %8 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_Tg5"(i64 %4, %swift.bridge* %5, i64 %6, %swift.bridge* %7, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3) #20
  ret i1 %8
}

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

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

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

; Function Attrs: minsize optsize
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 !9)
  %._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 !9, !noalias !12
  %._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 !9, !noalias !12
  %._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 !9, !noalias !12
  %._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 !9, !noalias !12
  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 !9
  ret void
}

; Function Attrs: minsize mustprogress nofree noinline nounwind optsize 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: minsize mustprogress nofree noinline nounwind optsize 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

; 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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn
declare %swift.refcounted* @swift_retain(%swift.refcounted* returned) local_unnamed_addr #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 = { minsize optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { cold noreturn nounwind }
attributes #2 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #3 = { minsize noinline optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #5 = { nounwind }
attributes #6 = { minsize mustprogress nofree noinline nounwind optsize readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { minsize nofree noinline nosync nounwind optsize readnone "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #13 = { minsize nounwind optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{i64 0, i64 9223372036854775807}
!7 = !{!"branch_weights", i32 2000, i32 1}
!8 = !{!"branch_weights", i32 1, i32 2000}
!9 = !{!10}
!10 = distinct !{!10, !11, !"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTR: argument 1"}
!11 = distinct !{!11, !"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTR"}
!12 = !{!13, !14}
!13 = distinct !{!13, !11, !"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTR: argument 0"}
!14 = distinct !{!14, !11, !"$sSsxs5Error_pIggrzo_SsxsAA_pIegnrzo_lTR: argument 2"}
