import Foundation

let n = Int(readLine()!)!

var dic: [String] = []
for i in 0 ..< n {
    dic.append(readLine()!)
}

var w: [String: Int] = [:]

for i in 0 ..< n {
    if w[dic[i]] == nil {
        w[dic[i]] = 1
    } else {
        w[dic[i]]! += 1
    }
}

let sorted = w.sorted(by: <).sorted(){ $0.1 > $1.1 }
let max = sorted.first!.value
sorted.forEach {
    if $0.1 < max {
        return
    }
    print($0.0)
}
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2526/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2526/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"

%TSi = type <{ i64 }>
%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%swift.type = type { i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSu = type <{ i64 }>
%TSD = type <{ %TSD8_VariantV }>
%TSD8_VariantV = type <{ %Ts14_BridgeStorageV }>
%Ts14_BridgeStorageV = type <{ %swift.bridge* }>
%swift.bridge = type opaque
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%Ts17_NativeDictionaryV = type <{ %Ts22__RawDictionaryStorageC* }>
%Ts22__RawDictionaryStorageC = type <{ %swift.refcounted, %TSi, %TSi, %Ts4Int8V, %Ts4Int8V, %Ts5Int16V, %Ts5Int32V, %TSi, %TSv, %TSv }>
%Ts4Int8V = type <{ i8 }>
%Ts5Int16V = type <{ i16 }>
%Ts5Int32V = type <{ i32 }>
%TSv = type <{ i8* }>
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.error = type opaque
%Ts6UInt64V = type <{ i64 }>
%Ts5UInt8V = type <{ i8 }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts13_UnsafeBitsetV4WordV = type <{ %TSu }>
%swift.opaque = type opaque
%Ts6HasherV = type <{ %Ts6HasherV5_CoreV }>
%Ts6HasherV5_CoreV = type <{ %Ts6HasherV11_TailBufferV, %Ts6HasherV6_StateV }>
%Ts6HasherV11_TailBufferV = type <{ %Ts6UInt64V }>
%Ts6HasherV6_StateV = type <{ %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V }>
%TSrySS3key_Si5valuetG = type <{ %TSpySS3key_Si5valuetGSg, %TSi }>
%TSpySS3key_Si5valuetGSg = type <{ [8 x i8] }>
%TSD8IteratorV = type <{ %TSD8IteratorV8_VariantO }>
%TSD8IteratorV8_VariantO = type <{ %Ts17_NativeDictionaryV8IteratorV }>
%Ts17_NativeDictionaryV8IteratorV = type <{ %Ts17_NativeDictionaryV, %Ts10_HashTableV8IteratorV }>
%Ts10_HashTableV8IteratorV = type <{ %Ts10_HashTableV, %TSi, %Ts13_UnsafeBitsetV4WordV }>
%Ts10_HashTableV = type <{ %TSp, %TSi }>
%TSp = type <{ i8* }>
%TSnySiG = type <{ %TSi, %TSi }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>

@"$s7llvm_OZ1nSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ3dicSaySSGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1wSDySSSiGvp" = hidden global %TSD zeroinitializer, align 8
@"$s7llvm_OZ6sortedSaySS3key_Si5valuetGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ3maxSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$sSSN" = external global %swift.type, align 8
@"$sSiN" = external global %swift.type, align 8
@"$sSSSHsWP" = external global i8*, align 8
@"$ss17_NativeDictionaryVMn" = external global %swift.type_descriptor, align 4
@"got.$ss17_NativeDictionaryVMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss17_NativeDictionaryVMn"
@"symbolic _____ySSSiG s17_NativeDictionaryV" = linkonce_odr hidden constant <{ i8, i32, [6 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss17_NativeDictionaryVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [6 x i8], i8 }>, <{ i8, i32, [6 x i8], i8 }>* @"symbolic _____ySSSiG s17_NativeDictionaryV", i32 0, i32 1) to i64)) to i32), [6 x i8] c"ySSSiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss17_NativeDictionaryVySSSiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [6 x i8], i8 }>* @"symbolic _____ySSSiG s17_NativeDictionaryV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss17_NativeDictionaryVySSSiGMD" to i64)) to i32), i32 -11 }, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"\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 SS3key_Si5valuet" = linkonce_odr hidden constant <{ [16 x i8], i8 }> <{ [16 x i8] c"SS3key_Si5valuet", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSS3key_Si5valuetMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [16 x i8], i8 }>* @"symbolic SS3key_Si5valuet" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSS3key_Si5valuetMD" to i64)) to i32), i32 -16 }, align 8
@"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySnySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySnySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySnySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySnySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic _____ySS3key_Si5valuetG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [18 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, [18 x i8], i8 }>, <{ i8, i32, [18 x i8], i8 }>* @"symbolic _____ySS3key_Si5valuetG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [18 x i8] c"ySS3key_Si5valuetG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySS3key_Si5valuetGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [18 x i8], i8 }>* @"symbolic _____ySS3key_Si5valuetG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySS3key_Si5valuetGMD" to i64)) to i32), i32 -23 }, align 8
@"symbolic _____ySSG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySSGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@__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 [4 x 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:
  %.sroa.6 = alloca i8, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch3 = alloca [24 x i8], align 8
  %access-scratch7 = alloca [24 x i8], align 8
  %access-scratch12 = alloca [24 x i8], align 8
  %2 = alloca %Ts17_NativeDictionaryV, align 8
  %access-scratch25 = alloca [24 x i8], align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %4 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch43 = alloca [24 x i8], align 8
  %5 = alloca %swift.bridge*, align 8
  %tmpcast = bitcast %swift.bridge** %5 to %Ts17_NativeDictionaryV*
  %6 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %7 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %8 = extractvalue { i64, i64 } %7, 0
  %9 = extractvalue { i64, i64 } %7, 1
  %10 = icmp eq i64 %9, 0
  br i1 %10, label %378, label %11

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

20:                                               ; preds = %11
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %12) #4
  br label %379

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

24:                                               ; preds = %21
  br i1 %14, label %25, label %28

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

25:                                               ; preds = %24
  %26 = and i64 %8, 1152921504606846976
  %27 = icmp eq i64 %26, 0
  br i1 %27, label %37, label %41, !prof !6

28:                                               ; preds = %24
  %29 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %6 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %29)
  %30 = and i64 %9, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %6, i64 0, i32 0, i32 0
  store i64 %8, i64* %.elt._value, align 8
  %.elt67._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %6, i64 0, i32 1, i32 0
  store i64 %30, i64* %.elt67._value, align 8
  %31 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %6 to %Ts5UInt8V*
  %32 = trunc i64 %8 to i8
  %33 = lshr i64 %8, 8
  %34 = trunc i64 %33 to i8
  %35 = lshr i64 %8, 16
  %36 = trunc i64 %35 to i8
  switch i8 %32, label %97 [
    i8 45, label %62
    i8 43, label %99
  ]

37:                                               ; preds = %25
  %38 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %8, %swift.bridge* nonnull %12)
  %39 = extractvalue { i64, i64 } %38, 0
  %40 = extractvalue { i64, i64 } %38, 1
  br label %.thread243

41:                                               ; preds = %25
  %42 = and i64 %9, 1152921504606846975
  %43 = add nuw nsw i64 %42, 32
  br label %.thread243

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

.thread248:                                       ; preds = %62, %99, %97
  %.sroa.6.0.sroa_cast251 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast251, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre252 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %55

.loopexit206.thread:                              ; preds = %136, %142, %133, %139, %145, %100, %107, %104, %110, %63, %71, %67, %74
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %136 ], [ true, %142 ], [ false, %133 ], [ false, %139 ], [ false, %145 ], [ true, %100 ], [ true, %107 ], [ false, %104 ], [ false, %110 ], [ true, %63 ], [ true, %71 ], [ false, %67 ], [ false, %74 ]
  %.sroa.0.0.ph = phi i64 [ 0, %136 ], [ 0, %142 ], [ 0, %133 ], [ %140, %139 ], [ %148, %145 ], [ 0, %100 ], [ 0, %107 ], [ %105, %104 ], [ %113, %110 ], [ 0, %63 ], [ 0, %71 ], [ %69, %67 ], [ %77, %74 ]
  %.sroa.6.0.sroa_cast258 = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph, i1* %.sroa.6.0.sroa_cast258, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre259 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %55

.loopexit206.loopexit.split.loop.exit:            ; preds = %164
  %52 = extractvalue { i64, i1 } %162, 0
  br label %.loopexit206

.loopexit206.loopexit262.split.loop.exit:         ; preds = %93
  %53 = extractvalue { i64, i1 } %91, 0
  br label %.loopexit206

.loopexit206.loopexit265.split.loop.exit:         ; preds = %129
  %54 = extractvalue { i64, i1 } %127, 0
  br label %.loopexit206

.loopexit206:                                     ; preds = %.preheader207, %121, %124, %.preheader204, %85, %88, %.preheader, %156, %159, %.loopexit206.loopexit265.split.loop.exit, %.loopexit206.loopexit262.split.loop.exit, %.loopexit206.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit206.loopexit.split.loop.exit ], [ false, %.loopexit206.loopexit262.split.loop.exit ], [ false, %.loopexit206.loopexit265.split.loop.exit ], [ true, %159 ], [ true, %156 ], [ true, %.preheader ], [ true, %88 ], [ true, %85 ], [ true, %.preheader204 ], [ true, %124 ], [ true, %121 ], [ true, %.preheader207 ]
  %.sroa.0.0 = phi i64 [ %52, %.loopexit206.loopexit.split.loop.exit ], [ %53, %.loopexit206.loopexit262.split.loop.exit ], [ %54, %.loopexit206.loopexit265.split.loop.exit ], [ 0, %159 ], [ 0, %156 ], [ 0, %.preheader ], [ 0, %88 ], [ 0, %85 ], [ 0, %.preheader204 ], [ 0, %124 ], [ 0, %121 ], [ 0, %.preheader207 ]
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %29)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br i1 %23, label %55, label %56

55:                                               ; preds = %.loopexit206.thread, %.thread248, %.thread243, %.loopexit206
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre247 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre245, %.thread243 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit206 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre252, %.thread248 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre259, %.loopexit206.thread ]
  %.sroa.0128.0246 = phi i64 [ %51, %.thread243 ], [ %.sroa.0.0, %.loopexit206 ], [ 0, %.thread248 ], [ %.sroa.0.0.ph, %.loopexit206.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %12) #4
  br label %60

56:                                               ; preds = %.thread, %.loopexit206
  %57 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %8, %swift.bridge* nonnull %12, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %12) #4
  %58 = extractvalue { i64, i8 } %57, 0
  %59 = extractvalue { i64, i8 } %57, 1
  br label %60

60:                                               ; preds = %55, %56
  %61 = phi i64 [ %58, %56 ], [ %.sroa.0128.0246, %55 ]
  %.in.in = phi i8 [ %59, %56 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre247, %55 ]
  %.in = and i8 %.in.in, 1
  %.not176 = icmp eq i8 %.in, 0
  br i1 %.not176, label %168, label %379

62:                                               ; preds = %28
  switch i64 %16, label %63 [
    i64 0, label %395
    i64 1, label %.thread248
  ], !prof !8

63:                                               ; preds = %62
  %64 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %16, i32 0
  %65 = add i8 %34, -48
  %66 = icmp ult i8 %65, 10
  br i1 %66, label %67, label %.loopexit206.thread, !prof !9

67:                                               ; preds = %63
  %68 = zext i8 %65 to i64
  %69 = sub nsw i64 0, %68
  %70 = icmp eq i64 %16, 2
  br i1 %70, label %.loopexit206.thread, label %71

71:                                               ; preds = %67
  %72 = add i8 %36, -48
  %73 = icmp ult i8 %72, 10
  br i1 %73, label %74, label %.loopexit206.thread, !prof !9

74:                                               ; preds = %71
  %75 = mul nsw i64 %68, -10
  %76 = zext i8 %72 to i64
  %77 = sub nsw i64 %75, %76
  %78 = icmp eq i64 %16, 3
  br i1 %78, label %.loopexit206.thread, label %.preheader204.preheader

.preheader204.preheader:                          ; preds = %74
  %79 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 3, i32 0
  br label %.preheader204

.preheader204:                                    ; preds = %.preheader204.preheader, %93
  %80 = phi i8* [ %95, %93 ], [ %79, %.preheader204.preheader ]
  %81 = phi i64 [ %94, %93 ], [ %77, %.preheader204.preheader ]
  %82 = load i8, i8* %80, align 1
  %83 = add i8 %82, -48
  %84 = icmp ult i8 %83, 10
  br i1 %84, label %85, label %.loopexit206, !prof !9

85:                                               ; preds = %.preheader204
  %86 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %81, i64 10)
  %87 = extractvalue { i64, i1 } %86, 1
  br i1 %87, label %.loopexit206, label %88

88:                                               ; preds = %85
  %89 = extractvalue { i64, i1 } %86, 0
  %90 = zext i8 %83 to i64
  %91 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %89, i64 %90)
  %92 = extractvalue { i64, i1 } %91, 1
  br i1 %92, label %.loopexit206, label %93, !prof !6

93:                                               ; preds = %88
  %94 = extractvalue { i64, i1 } %91, 0
  %95 = getelementptr inbounds i8, i8* %80, i64 1
  %96 = icmp eq i8* %95, %64
  br i1 %96, label %.loopexit206.loopexit262.split.loop.exit, label %.preheader204

97:                                               ; preds = %28
  %98 = icmp eq i64 %16, 0
  br i1 %98, label %.thread248, label %133, !prof !6

99:                                               ; preds = %28
  switch i64 %16, label %100 [
    i64 0, label %394
    i64 1, label %.thread248
  ], !prof !8

100:                                              ; preds = %99
  %101 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %16, i32 0
  %102 = add i8 %34, -48
  %103 = icmp ult i8 %102, 10
  br i1 %103, label %104, label %.loopexit206.thread, !prof !9

104:                                              ; preds = %100
  %105 = zext i8 %102 to i64
  %106 = icmp eq i64 %16, 2
  br i1 %106, label %.loopexit206.thread, label %107

107:                                              ; preds = %104
  %108 = add i8 %36, -48
  %109 = icmp ult i8 %108, 10
  br i1 %109, label %110, label %.loopexit206.thread, !prof !9

110:                                              ; preds = %107
  %111 = mul nuw nsw i64 %105, 10
  %112 = zext i8 %108 to i64
  %113 = add nuw nsw i64 %111, %112
  %114 = icmp eq i64 %16, 3
  br i1 %114, label %.loopexit206.thread, label %.preheader207.preheader

.preheader207.preheader:                          ; preds = %110
  %115 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 3, i32 0
  br label %.preheader207

.preheader207:                                    ; preds = %.preheader207.preheader, %129
  %116 = phi i8* [ %131, %129 ], [ %115, %.preheader207.preheader ]
  %117 = phi i64 [ %130, %129 ], [ %113, %.preheader207.preheader ]
  %118 = load i8, i8* %116, align 1
  %119 = add i8 %118, -48
  %120 = icmp ult i8 %119, 10
  br i1 %120, label %121, label %.loopexit206, !prof !9

121:                                              ; preds = %.preheader207
  %122 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %117, i64 10)
  %123 = extractvalue { i64, i1 } %122, 1
  br i1 %123, label %.loopexit206, label %124

124:                                              ; preds = %121
  %125 = extractvalue { i64, i1 } %122, 0
  %126 = zext i8 %119 to i64
  %127 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %125, i64 %126)
  %128 = extractvalue { i64, i1 } %127, 1
  br i1 %128, label %.loopexit206, label %129, !prof !6

129:                                              ; preds = %124
  %130 = extractvalue { i64, i1 } %127, 0
  %131 = getelementptr inbounds i8, i8* %116, i64 1
  %132 = icmp eq i8* %131, %101
  br i1 %132, label %.loopexit206.loopexit265.split.loop.exit, label %.preheader207

133:                                              ; preds = %97
  %134 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 %16, i32 0
  %135 = icmp eq i8* %134, %29
  br i1 %135, label %.loopexit206.thread, label %136

136:                                              ; preds = %133
  %137 = add i8 %32, -48
  %138 = icmp ult i8 %137, 10
  br i1 %138, label %139, label %.loopexit206.thread, !prof !9

139:                                              ; preds = %136
  %140 = zext i8 %137 to i64
  %141 = icmp eq i64 %16, 1
  br i1 %141, label %.loopexit206.thread, label %142

142:                                              ; preds = %139
  %143 = add i8 %34, -48
  %144 = icmp ult i8 %143, 10
  br i1 %144, label %145, label %.loopexit206.thread, !prof !9

145:                                              ; preds = %142
  %146 = mul nuw nsw i64 %140, 10
  %147 = zext i8 %143 to i64
  %148 = add nuw nsw i64 %146, %147
  %149 = icmp eq i64 %16, 2
  br i1 %149, label %.loopexit206.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %145
  %150 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %31, i64 2, i32 0
  br label %.preheader

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

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

159:                                              ; preds = %156
  %160 = extractvalue { i64, i1 } %157, 0
  %161 = zext i8 %154 to i64
  %162 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %160, i64 %161)
  %163 = extractvalue { i64, i1 } %162, 1
  br i1 %163, label %.loopexit206, label %164, !prof !6

164:                                              ; preds = %159
  %165 = extractvalue { i64, i1 } %162, 0
  %166 = getelementptr inbounds i8, i8* %151, i64 1
  %167 = icmp eq i8* %166, %134
  br i1 %167, label %.loopexit206.loopexit.split.loop.exit, label %.preheader

168:                                              ; preds = %60
  store i64 %61, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  %169 = icmp slt i64 %61, 0
  br i1 %169, label %380, label %170, !prof !6

170:                                              ; preds = %168
  %171 = icmp eq i64 %61, 0
  br i1 %171, label %.loopexit201, label %172

172:                                              ; preds = %170
  %173 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %173)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ3dicSaySSGvp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #4
  br label %174

174:                                              ; preds = %212, %172
  %175 = phi i64 [ 0, %172 ], [ %177, %212 ]
  %exitcond.not = icmp eq i64 %175, %61
  br i1 %exitcond.not, label %381, label %176, !prof !6

176:                                              ; preds = %174
  %177 = add nuw nsw i64 %175, 1
  %178 = call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %179 = extractvalue { i64, i64 } %178, 0
  %180 = extractvalue { i64, i64 } %178, 1
  %181 = icmp eq i64 %180, 0
  br i1 %181, label %382, label %182

182:                                              ; preds = %176
  %183 = inttoptr i64 %180 to %swift.bridge*
  %184 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  %185 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %184, i64 0, i32 0
  %186 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %185) #13
  store %Ts28__ContiguousArrayStorageBaseC* %184, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  br i1 %186, label %203, label %199

.loopexit201:                                     ; preds = %212, %170
  %187 = call swiftcc %swift.bridge* @"$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfC"(%Ts28__ContiguousArrayStorageBaseC* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %swift.type* nonnull @"$sSSN", %swift.type* nonnull @"$sSiN", i8** nonnull @"$sSSSHsWP")
  store %swift.bridge* %187, %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  %188 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  %189 = icmp slt i64 %188, 0
  br i1 %189, label %383, label %190, !prof !6

190:                                              ; preds = %.loopexit201
  %191 = icmp eq i64 %188, 0
  br i1 %191, label %.loopexit, label %192

192:                                              ; preds = %190
  %193 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch3, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %193)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ3dicSaySSGvp" to i8*), [24 x i8]* nonnull %access-scratch3, i64 0, i8* null) #4
  %194 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch7, i64 0, i64 0
  %195 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch43, i64 0, i64 0
  %196 = bitcast %swift.bridge** %5 to i8*
  %._storage44 = bitcast %swift.bridge** %5 to %Ts22__RawDictionaryStorageC**
  %197 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch12, i64 0, i64 0
  %198 = bitcast %Ts17_NativeDictionaryV* %2 to i8*
  %._storage13 = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %2, i64 0, i32 0
  br label %216

199:                                              ; preds = %182
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %184, i64 0, i32 1, i32 0, i32 0, i32 0
  %200 = load i64, i64* %._storage.count._value, align 8, !range !10
  %201 = add nuw nsw i64 %200, 1
  %202 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 false, i64 %201, i1 true, %Ts28__ContiguousArrayStorageBaseC* %184)
  store %Ts28__ContiguousArrayStorageBaseC* %202, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  br label %203

203:                                              ; preds = %182, %199
  %204 = phi %Ts28__ContiguousArrayStorageBaseC* [ %184, %182 ], [ %202, %199 ]
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %204, i64 0, i32 1, i32 0, i32 0, i32 0
  %205 = load i64, i64* %._storage1.count._value, align 8, !range !10
  %._storage1._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %204, i64 0, i32 1, i32 0, i32 1, i32 0
  %206 = load i64, i64* %._storage1._capacityAndFlags._value, align 8
  %207 = lshr i64 %206, 1
  %208 = add nuw nsw i64 %205, 1
  %.not = icmp ugt i64 %207, %205
  br i1 %.not, label %212, label %209, !prof !7

209:                                              ; preds = %203
  %210 = icmp ugt i64 %206, 1
  %211 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS_Tg5"(i1 %210, i64 %208, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %204)
  store %Ts28__ContiguousArrayStorageBaseC* %211, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  br label %212

212:                                              ; preds = %203, %209
  %213 = phi %Ts28__ContiguousArrayStorageBaseC* [ %204, %203 ], [ %211, %209 ]
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %213, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %208, i64* %._storage2.count._value, align 8
  %214 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %213, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %214 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %205, i32 0, i32 0, i32 0, i32 0
  store i64 %179, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %205, i32 0, i32 0, i32 1
  store %swift.bridge* %183, %swift.bridge** %._guts._object._object, align 8
  %215 = icmp eq i64 %177, %61
  br i1 %215, label %.loopexit201, label %174

216:                                              ; preds = %285, %192
  %217 = phi i64 [ 0, %192 ], [ %219, %285 ]
  %exitcond217.not = icmp eq i64 %217, %188
  br i1 %exitcond217.not, label %384, label %218, !prof !6

218:                                              ; preds = %216
  %219 = add nuw nsw i64 %217, 1
  %220 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %220, i64 0, i32 1, i32 0, i32 0, i32 0
  %221 = load i64, i64* %._storage4.count._value, align 8, !range !10
  %.not169 = icmp ult i64 %217, %221
  br i1 %.not169, label %222, label %385, !prof !7

222:                                              ; preds = %218
  %223 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %220, i64 1
  %tailaddr5 = bitcast %Ts28__ContiguousArrayStorageBaseC* %223 to %TSS*
  %._guts6._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %217, i32 0, i32 0, i32 0, i32 0
  %224 = load i64, i64* %._guts6._object._countAndFlagsBits._value, align 8
  %._guts6._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr5, i64 %217, i32 0, i32 0, i32 1
  %225 = load %swift.bridge*, %swift.bridge** %._guts6._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %194)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to i8*), [24 x i8]* nonnull %access-scratch7, i64 32, i8* null) #4
  %226 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %Ts22__RawDictionaryStorageC**), align 8
  %._value8 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %226, i64 0, i32 1, i32 0
  %227 = load i64, i64* %._value8, align 8, !range !10
  %228 = icmp eq i64 %227, 0
  br i1 %228, label %234, label %229

229:                                              ; preds = %222
  %230 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %225) #4
  %231 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %224, %swift.bridge* %225, %Ts22__RawDictionaryStorageC* nonnull swiftself %226)
  %232 = extractvalue { i64, i1 } %231, 1
  br i1 %232, label %287, label %233

233:                                              ; preds = %229
  call void @swift_bridgeObjectRelease(%swift.bridge* %225) #4
  br label %234

234:                                              ; preds = %222, %233
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch7) #4
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %194)
  %235 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %235, i64 0, i32 1, i32 0, i32 0, i32 0
  %236 = load i64, i64* %._storage9.count._value, align 8, !range !10
  %.not170 = icmp ult i64 %217, %236
  br i1 %.not170, label %237, label %386, !prof !7

237:                                              ; preds = %234
  %238 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %235, i64 1
  %tailaddr10 = bitcast %Ts28__ContiguousArrayStorageBaseC* %238 to %TSS*
  %._guts11._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr10, i64 %217, i32 0, i32 0, i32 0, i32 0
  %239 = load i64, i64* %._guts11._object._countAndFlagsBits._value, align 8
  %._guts11._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr10, i64 %217, i32 0, i32 0, i32 1
  %240 = load %swift.bridge*, %swift.bridge** %._guts11._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %197)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to i8*), [24 x i8]* nonnull %access-scratch12, i64 33, i8* null) #4
  %241 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %240) #4
  %242 = load %swift.refcounted*, %swift.refcounted** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %swift.refcounted**), align 8
  %243 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %242) #13
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %198)
  %244 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %Ts22__RawDictionaryStorageC**), align 8
  store %Ts22__RawDictionaryStorageC* %244, %Ts22__RawDictionaryStorageC** %._storage13, align 8
  store %swift.bridge* inttoptr (i64 -9223372036854775808 to %swift.bridge*), %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  %245 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %239, %swift.bridge* %240, %Ts22__RawDictionaryStorageC* swiftself %244)
  %246 = extractvalue { i64, i1 } %245, 1
  %._value15 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %244, i64 0, i32 1, i32 0
  %247 = load i64, i64* %._value15, align 8
  %not. = xor i1 %246, true
  %. = zext i1 %not. to i64
  %248 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %247, i64 %.)
  %249 = extractvalue { i64, i1 } %248, 1
  br i1 %249, label %387, label %250, !prof !6

250:                                              ; preds = %237
  %251 = extractvalue { i64, i1 } %248, 0
  %252 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVySSSiGMD") #14
  %253 = call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %243, i64 %251, %swift.type* %252, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %2)
  br i1 %253, label %254, label %260

254:                                              ; preds = %250
  %255 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage13, align 8
  %256 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %239, %swift.bridge* %240, %Ts22__RawDictionaryStorageC* swiftself %255)
  %257 = extractvalue { i64, i1 } %256, 1
  %258 = xor i1 %246, %257
  br i1 %258, label %259, label %260

259:                                              ; preds = %254
  call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSSN")
  unreachable

260:                                              ; preds = %254, %250
  %.pn = phi { i64, i1 } [ %245, %250 ], [ %256, %254 ]
  %261 = extractvalue { i64, i1 } %.pn, 0
  %262 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage13, align 8
  br i1 %246, label %263, label %266

263:                                              ; preds = %260
  %._rawValue38 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %262, i64 0, i32 9, i32 0
  %264 = bitcast i8** %._rawValue38 to %TSi**
  %265 = load %TSi*, %TSi** %264, align 8
  %._value39 = getelementptr inbounds %TSi, %TSi* %265, i64 %261, i32 0
  store i64 1, i64* %._value39, align 8
  br label %283

266:                                              ; preds = %260
  %267 = lshr i64 %261, 6
  %268 = and i64 %261, 63
  %269 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %262, i64 1
  %tailaddr18 = bitcast %Ts22__RawDictionaryStorageC* %269 to %Ts13_UnsafeBitsetV4WordV*
  %270 = shl nuw i64 1, %268
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr18, i64 %267, i32 0, i32 0
  %271 = load i64, i64* %.value._value, align 8
  %272 = or i64 %271, %270
  store i64 %272, i64* %.value._value, align 8
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %262, i64 0, i32 8, i32 0
  %273 = bitcast i8** %._rawValue to %TSS**
  %274 = load %TSS*, %TSS** %273, align 8
  %._guts20._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %274, i64 %261, i32 0, i32 0, i32 0, i32 0
  store i64 %239, i64* %._guts20._object._countAndFlagsBits._value, align 8
  %._guts20._object._object = getelementptr inbounds %TSS, %TSS* %274, i64 %261, i32 0, i32 0, i32 1
  store %swift.bridge* %240, %swift.bridge** %._guts20._object._object, align 8
  %._rawValue21 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %262, i64 0, i32 9, i32 0
  %275 = bitcast i8** %._rawValue21 to %TSi**
  %276 = load %TSi*, %TSi** %275, align 8
  %._value22 = getelementptr inbounds %TSi, %TSi* %276, i64 %261, i32 0
  store i64 1, i64* %._value22, align 8
  %._value23 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %262, i64 0, i32 1, i32 0
  %277 = load i64, i64* %._value23, align 8
  %278 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %277, i64 1)
  %279 = extractvalue { i64, i1 } %278, 1
  br i1 %279, label %388, label %280, !prof !6

280:                                              ; preds = %266
  %281 = extractvalue { i64, i1 } %278, 0
  store i64 %281, i64* %._value23, align 8
  %282 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %240) #4
  br label %283

283:                                              ; preds = %263, %280
  %284 = load %swift.bridge*, %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  store %Ts22__RawDictionaryStorageC* %262, %Ts22__RawDictionaryStorageC** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %Ts22__RawDictionaryStorageC**), align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* %240) #4
  call void @swift_bridgeObjectRelease(%swift.bridge* %284) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %198)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch12) #4
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %197)
  br label %285

285:                                              ; preds = %323, %283
  %286 = icmp eq i64 %219, %188
  br i1 %286, label %.loopexit, label %216

287:                                              ; preds = %229
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch7) #4
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %194)
  call void @swift_bridgeObjectRelease(%swift.bridge* %225) #4
  %288 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3dicSaySSGvp", i64 0, i32 0, i32 0), align 8
  %._storage40.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %288, i64 0, i32 1, i32 0, i32 0, i32 0
  %289 = load i64, i64* %._storage40.count._value, align 8, !range !10
  %.not173 = icmp ult i64 %217, %289
  br i1 %.not173, label %290, label %390, !prof !7

290:                                              ; preds = %287
  %291 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %288, i64 1
  %tailaddr41 = bitcast %Ts28__ContiguousArrayStorageBaseC* %291 to %TSS*
  %._guts42._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr41, i64 %217, i32 0, i32 0, i32 0, i32 0
  %292 = load i64, i64* %._guts42._object._countAndFlagsBits._value, align 8
  %._guts42._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr41, i64 %217, i32 0, i32 0, i32 1
  %293 = load %swift.bridge*, %swift.bridge** %._guts42._object._object, align 8
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %195)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to i8*), [24 x i8]* nonnull %access-scratch43, i64 33, i8* null) #4
  %294 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %293) #4
  %295 = load %swift.refcounted*, %swift.refcounted** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %swift.refcounted**), align 8
  %296 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %295) #13
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %196)
  %297 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %Ts22__RawDictionaryStorageC**), align 8
  store %Ts22__RawDictionaryStorageC* %297, %Ts22__RawDictionaryStorageC** %._storage44, align 8
  store %swift.bridge* inttoptr (i64 -9223372036854775808 to %swift.bridge*), %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  %298 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %293) #4
  %299 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %292, %swift.bridge* %293, %Ts22__RawDictionaryStorageC* swiftself %297)
  %300 = extractvalue { i64, i1 } %299, 1
  %._value46 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %297, i64 0, i32 1, i32 0
  %301 = load i64, i64* %._value46, align 8
  %not.174 = xor i1 %300, true
  %.80 = zext i1 %not.174 to i64
  %302 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %301, i64 %.80)
  %303 = extractvalue { i64, i1 } %302, 1
  br i1 %303, label %391, label %304, !prof !6

304:                                              ; preds = %290
  %305 = extractvalue { i64, i1 } %302, 0
  %306 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVySSSiGMD") #14
  %307 = call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %296, i64 %305, %swift.type* %306, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %tmpcast)
  br i1 %307, label %308, label %314

308:                                              ; preds = %304
  %309 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage44, align 8
  %310 = call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %292, %swift.bridge* %293, %Ts22__RawDictionaryStorageC* swiftself %309)
  %311 = extractvalue { i64, i1 } %310, 1
  %312 = xor i1 %300, %311
  br i1 %312, label %313, label %314

313:                                              ; preds = %308
  call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSSN")
  unreachable

314:                                              ; preds = %308, %304
  %.pn175 = phi { i64, i1 } [ %299, %304 ], [ %310, %308 ]
  %315 = extractvalue { i64, i1 } %.pn175, 0
  br i1 %300, label %316, label %392

316:                                              ; preds = %314
  %317 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage44, align 8
  %._rawValue64 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %317, i64 0, i32 9, i32 0
  %318 = bitcast i8** %._rawValue64 to %TSi**
  %319 = load %TSi*, %TSi** %318, align 8
  %._value65 = getelementptr inbounds %TSi, %TSi* %319, i64 %315, i32 0
  %320 = load i64, i64* %._value65, align 8
  %321 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %320, i64 1)
  %322 = extractvalue { i64, i1 } %321, 1
  br i1 %322, label %393, label %323, !prof !6

323:                                              ; preds = %316
  %324 = extractvalue { i64, i1 } %321, 0
  %325 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage44, align 8
  %._rawValue62 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %325, i64 0, i32 9, i32 0
  %326 = bitcast i8** %._rawValue62 to %TSi**
  %327 = load %TSi*, %TSi** %326, align 8
  %._value63 = getelementptr inbounds %TSi, %TSi* %327, i64 %315, i32 0
  store i64 %324, i64* %._value63, align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* %293) #4
  %328 = load %swift.bridge*, %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  store %Ts22__RawDictionaryStorageC* %325, %Ts22__RawDictionaryStorageC** bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to %Ts22__RawDictionaryStorageC**), align 8
  call void @swift_bridgeObjectRelease(%swift.bridge* %328) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %196)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch43) #4
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %195)
  call void @swift_bridgeObjectRelease(%swift.bridge* %293) #4
  br label %285

.loopexit:                                        ; preds = %285, %190
  %329 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch25, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %329)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSD* @"$s7llvm_OZ1wSDySSSiGvp" to i8*), [24 x i8]* nonnull %access-scratch25, i64 0, i8* null) #4
  %330 = load %swift.bridge*, %swift.bridge** getelementptr inbounds (%TSD, %TSD* @"$s7llvm_OZ1wSDySSSiGvp", i64 0, i32 0, i32 0, i32 0), align 8
  %331 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %331)
  %332 = call %swift.bridge* @swift_bridgeObjectRetain_n(%swift.bridge* %330, i32 2)
  %333 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSDySSSiG_Tg5"(%swift.bridge* %330)
  call void @swift_bridgeObjectRelease(%swift.bridge* %330) #4
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %333, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$sSMsSkRzrlE4sort2byySb7ElementSTQz_ADtKXE_tKFs15ContiguousArrayVySS3key_Si5valuetG_Tg506$sSSSii143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_P23TG5Tf3nnnnpf_nTf3nnpf_nTf1cn_nTm"(%Ts15ContiguousArrayV* nocapture dereferenceable(8) %3, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror, void (%TSrySS3key_Si5valuetG*, %swift.refcounted*, %swift.error**)* @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFSS3key_Si5valuet_Tg506$sSSSih143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_O23TG5Tf3nnnnpf_nTf3nnpf_nTf1cn_n")
  %334 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not171 = icmp eq %swift.error* %334, null
  br i1 %.not171, label %335, label %341

335:                                              ; preds = %.loopexit
  call void @swift_bridgeObjectRelease(%swift.bridge* %330) #4
  %336 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %331)
  %337 = bitcast %Ts15ContiguousArrayV* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %337)
  %._buffer28._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %4, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %336, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  %338 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %336, i64 0, i32 0
  %339 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %338) #13
  call swiftcc void @"$sSMsSkRzrlE4sort2byySb7ElementSTQz_ADtKXE_tKFs15ContiguousArrayVySS3key_Si5valuetG_Tg506$sSSSii143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_P23TG5Tf3nnnnpf_nTf3nnpf_nTf1cn_nTm"(%Ts15ContiguousArrayV* nocapture dereferenceable(8) %4, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror, void (%TSrySS3key_Si5valuetG*, %swift.refcounted*, %swift.error**)* @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFSS3key_Si5valuet_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1cn_n")
  %340 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not172 = icmp eq %swift.error* %340, null
  br i1 %.not172, label %347, label %344

341:                                              ; preds = %.loopexit
  %342 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %343 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %342, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %343) #4
  unreachable

344:                                              ; preds = %335
  %345 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  %346 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %345, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %346) #4
  unreachable

347:                                              ; preds = %335
  call void @swift_release(%swift.refcounted* %338) #4
  %348 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %337)
  store %Ts28__ContiguousArrayStorageBaseC* %348, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6sortedSaySS3key_Si5valuetGvp", i64 0, i32 0, i32 0), align 8
  %._storage31.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 0, i32 1, i32 0, i32 0, i32 0
  %349 = load i64, i64* %._storage31.count._value, align 8, !range !10
  %350 = icmp eq i64 %349, 0
  br i1 %350, label %389, label %351, !prof !6

351:                                              ; preds = %347
  %352 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 1
  %tailaddr32 = bitcast %Ts28__ContiguousArrayStorageBaseC* %352 to <{ %TSS, %TSi }>*
  %tailaddr32.value._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 1, i32 1, i32 0, i32 0, i32 0
  %353 = load i64, i64* %tailaddr32.value._value, align 8
  store i64 %353, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ3maxSivp", i64 0, i32 0), align 8
  %354 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 0, i32 0
  %355 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %354) #13
  br label %357

356:                                              ; preds = %374
  call void @swift_release(%swift.refcounted* %354) #4
  ret i32 0

357:                                              ; preds = %374, %351
  %358 = phi i64 [ %353, %351 ], [ %375, %374 ]
  %359 = phi i64 [ 0, %351 ], [ %376, %374 ]
  %.value33._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %tailaddr32, i64 %359, i32 1, i32 0
  %360 = load i64, i64* %.value33._value, align 8
  %361 = icmp slt i64 %360, %358
  br i1 %361, label %374, label %362

362:                                              ; preds = %357
  %.key._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %tailaddr32, i64 %359, i32 0, i32 0, i32 0, i32 1
  %363 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %.key._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %tailaddr32, i64 %359, i32 0, i32 0, i32 0, i32 0, i32 0
  %364 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %365 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #14
  %366 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %365, i64 64, i64 7) #4
  %367 = bitcast %swift.refcounted* %366 to %Ts28__ContiguousArrayStorageBaseC*
  %368 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %366, i64 1
  %._storage34.count._value = bitcast %swift.refcounted* %368 to i64*
  store i64 1, i64* %._storage34.count._value, align 8
  %._storage34._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %366, i64 1, i32 1
  store i64 2, i64* %._storage34._capacityAndFlags, align 8
  %369 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %366, i64 2
  %370 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %366, i64 3, i32 1
  %371 = bitcast i64* %370 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %371, align 8
  %._guts36._object._countAndFlagsBits._value = bitcast %swift.refcounted* %369 to i64*
  store i64 %364, i64* %._guts36._object._countAndFlagsBits._value, align 8
  %._guts36._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %366, i64 2, i32 1
  %372 = bitcast i64* %._guts36._object._object to %swift.bridge**
  store %swift.bridge* %363, %swift.bridge** %372, align 8
  %373 = call %swift.bridge* @swift_bridgeObjectRetain_n(%swift.bridge* %363, i32 2)
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %367, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  call void @swift_bridgeObjectRelease(%swift.bridge* %363) #4
  call void @swift_release(%swift.refcounted* %366) #4
  %.pre = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ3maxSivp", i64 0, i32 0), align 8
  br label %374

374:                                              ; preds = %357, %362
  %375 = phi i64 [ %358, %357 ], [ %.pre, %362 ]
  %376 = add nuw nsw i64 %359, 1
  %377 = icmp eq i64 %376, %349
  br i1 %377, label %356, label %357

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

379:                                              ; preds = %20, %60
  call void asm sideeffect "", "n"(i32 1) #4
  call void @llvm.trap()
  unreachable

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

381:                                              ; preds = %174
  call void asm sideeffect "", "n"(i32 3) #4
  call void @llvm.trap()
  unreachable

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

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

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

385:                                              ; preds = %218
  call void asm sideeffect "", "n"(i32 9) #4
  call void @llvm.trap()
  unreachable

386:                                              ; preds = %234
  call void asm sideeffect "", "n"(i32 10) #4
  call void @llvm.trap()
  unreachable

387:                                              ; preds = %237
  call void asm sideeffect "", "n"(i32 11) #4
  call void @llvm.trap()
  unreachable

388:                                              ; preds = %266
  call void asm sideeffect "", "n"(i32 12) #4
  call void @llvm.trap()
  unreachable

389:                                              ; preds = %347
  call void asm sideeffect "", "n"(i32 13) #4
  call void @llvm.trap()
  unreachable

390:                                              ; preds = %287
  call void asm sideeffect "", "n"(i32 16) #4
  call void @llvm.trap()
  unreachable

391:                                              ; preds = %290
  call void asm sideeffect "", "n"(i32 17) #4
  call void @llvm.trap()
  unreachable

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

393:                                              ; preds = %316
  call void asm sideeffect "", "n"(i32 19) #4
  call void @llvm.trap()
  unreachable

394:                                              ; preds = %99
  tail call void asm sideeffect "", "n"(i32 21) #4
  tail call void @llvm.trap()
  unreachable

395:                                              ; preds = %62
  tail call void asm sideeffect "", "n"(i32 22) #4
  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
declare swiftcc %swift.bridge* @"$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfC"(%Ts28__ContiguousArrayStorageBaseC*, %swift.type*, %swift.type*, i8**) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSS_Tg5"(i64 %0, %swift.bridge* %1, %Ts22__RawDictionaryStorageC* swiftself %2) local_unnamed_addr #3 {
entry:
  %3 = alloca %Ts6HasherV, align 8
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 7, i32 0
  %4 = load i64, i64* %._value, align 8
  %5 = bitcast %Ts6HasherV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 72, i8* nonnull %5)
  call swiftcc void @"$ss6HasherV5_seedABSi_tcfC"(%Ts6HasherV* noalias nocapture nonnull sret(%Ts6HasherV) %3, i64 %4)
  call swiftcc void @"$sSS4hash4intoys6HasherVz_tF"(%Ts6HasherV* nocapture nonnull dereferenceable(72) %3, i64 %0, %swift.bridge* %1)
  %6 = call swiftcc i64 @"$ss6HasherV9_finalizeSiyF"(%Ts6HasherV* nocapture nonnull swiftself dereferenceable(72) %3)
  call void @llvm.lifetime.end.p0i8(i64 72, i8* nonnull %5)
  %7 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSS_Tg5"(i64 %0, %swift.bridge* %1, i64 %6, %Ts22__RawDictionaryStorageC* swiftself %2)
  ret { i64, i1 } %7
}

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSDySSSiG_Tg5"(%swift.bridge* %0) local_unnamed_addr #0 {
entry:
  %1 = alloca %TSD8IteratorV, align 8
  %2 = bitcast %swift.bridge* %0 to %Ts22__RawDictionaryStorageC*
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 1, i32 0
  %3 = load i64, i64* %._value, align 8, !range !10
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %5, label %7

5:                                                ; preds = %entry, %20
  %6 = phi %Ts28__ContiguousArrayStorageBaseC* [ %21, %20 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %entry ]
  ret %Ts28__ContiguousArrayStorageBaseC* %6

7:                                                ; preds = %entry
  %8 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySS3key_Si5valuetGMD") #14
  %9 = mul i64 %3, 24
  %10 = add i64 %9, 32
  %11 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %8, i64 %10, i64 7) #4
  %12 = bitcast %swift.refcounted* %11 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %12) #15
  %gepdiff = add nsw i64 %call.i, -32
  %13 = sdiv i64 %gepdiff, 24
  %14 = shl nsw i64 %13, 1
  %15 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 1
  %._storage2.count._value = bitcast %swift.refcounted* %15 to i64*
  store i64 %3, i64* %._storage2.count._value, align 8
  %._storage2._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 1, i32 1
  store i64 %14, i64* %._storage2._capacityAndFlags, align 8
  %16 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %11, i64 2
  %17 = ptrtoint %swift.refcounted* %16 to i64
  %18 = bitcast %TSD8IteratorV* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 40, i8* nonnull %18)
  %19 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSDySSSiG_Tg5"(%TSD8IteratorV* noalias nocapture nonnull %1, i64 %17, i64 %3, %swift.bridge* nonnull %0)
  %.not = icmp eq i64 %19, %3
  br i1 %.not, label %20, label %25, !prof !7

20:                                               ; preds = %7
  %21 = bitcast %swift.refcounted* %11 to %Ts28__ContiguousArrayStorageBaseC*
  %.base._storage = getelementptr inbounds %TSD8IteratorV, %TSD8IteratorV* %1, i64 0, i32 0, i32 0, i32 0, i32 0
  %22 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %.base._storage, align 8
  %23 = getelementptr %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %22, i64 0, i32 0
  %24 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* nonnull returned %0) #4
  tail call void @swift_release(%swift.refcounted* %23) #4
  call void @llvm.lifetime.end.p0i8(i64 40, i8* nonnull %18)
  br label %5

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

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

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

16:                                               ; preds = %entry
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 8, i32 0
  %17 = bitcast i8** %._rawValue to %TSS**
  %18 = load %TSS*, %TSS** %17, align 8
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %18, i64 %9, i32 0, i32 0, i32 0, i32 0
  %19 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %18, i64 %9, i32 0, i32 0, i32 1
  %20 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %21 = icmp eq i64 %19, %0
  %22 = icmp eq %swift.bridge* %20, %1
  %or.cond = select i1 %21, i1 %22, i1 false
  br i1 %or.cond, label %.loopexit, label %23

23:                                               ; preds = %16
  %24 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %19, %swift.bridge* %20, i64 %0, %swift.bridge* %1, i8 0)
  br i1 %24, label %.loopexit, label %25

25:                                               ; preds = %23
  %26 = add i64 %9, 1
  %27 = and i64 %26, %8
  %28 = lshr i64 %27, 6
  %.value2._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %28, i32 0, i32 0
  %29 = load i64, i64* %.value2._value, align 8
  %30 = and i64 %27, 63
  %31 = shl nuw i64 1, %30
  %32 = and i64 %29, %31
  %33 = icmp eq i64 %32, 0
  br i1 %33, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %43, %.preheader, %45, %16, %25, %23, %entry
  %34 = phi i64 [ %9, %entry ], [ %9, %23 ], [ %27, %25 ], [ %9, %16 ], [ %38, %43 ], [ %38, %.preheader ], [ %47, %45 ]
  %35 = phi i1 [ false, %entry ], [ true, %23 ], [ false, %25 ], [ true, %16 ], [ true, %43 ], [ true, %.preheader ], [ false, %45 ]
  %36 = insertvalue { i64, i1 } undef, i64 %34, 0
  %37 = insertvalue { i64, i1 } %36, i1 %35, 1
  ret { i64, i1 } %37

.preheader:                                       ; preds = %25, %45
  %38 = phi i64 [ %47, %45 ], [ %27, %25 ]
  %._guts3._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %18, i64 %38, i32 0, i32 0, i32 0, i32 0
  %39 = load i64, i64* %._guts3._object._countAndFlagsBits._value, align 8
  %._guts3._object._object = getelementptr inbounds %TSS, %TSS* %18, i64 %38, i32 0, i32 0, i32 1
  %40 = load %swift.bridge*, %swift.bridge** %._guts3._object._object, align 8
  %41 = icmp eq i64 %39, %0
  %42 = icmp eq %swift.bridge* %40, %1
  %or.cond12 = select i1 %41, i1 %42, i1 false
  br i1 %or.cond12, label %.loopexit, label %43

43:                                               ; preds = %.preheader
  %44 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %39, %swift.bridge* %40, i64 %0, %swift.bridge* %1, i8 0)
  br i1 %44, label %.loopexit, label %45

45:                                               ; preds = %43
  %46 = add i64 %38, 1
  %47 = and i64 %46, %8
  %48 = lshr i64 %47, 6
  %.value4._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %48, i32 0, i32 0
  %49 = load i64, i64* %.value4._value, align 8
  %50 = and i64 %47, 63
  %51 = shl nuw i64 1, %50
  %52 = and i64 %49, %51
  %53 = icmp eq i64 %52, 0
  br i1 %53, label %.loopexit, label %.preheader
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFSS3key_Si5valuet_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1cn_n"(%TSrySS3key_Si5valuetG* nocapture dereferenceable(16) %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %.count._value = getelementptr inbounds %TSrySS3key_Si5valuetG, %TSrySS3key_Si5valuetG* %0, i64 0, i32 1, i32 0
  %3 = load i64, i64* %.count._value, align 8
  %4 = tail call swiftcc i64 @"$ss22_minimumMergeRunLengthyS2iF"(i64 %3)
  %5 = icmp slt i64 %4, %3
  br i1 %5, label %6, label %11

6:                                                ; preds = %entry
  %7 = sdiv i64 %3, 2
  %8 = icmp slt i64 %3, -1
  br i1 %8, label %303, label %9, !prof !6

9:                                                ; preds = %6
  %10 = icmp sgt i64 %3, 1
  br i1 %10, label %.thread242, label %19

11:                                               ; preds = %entry
  %12 = icmp slt i64 %3, 0
  br i1 %12, label %302, label %13, !prof !6

13:                                               ; preds = %11
  %14 = icmp eq i64 %3, 0
  br i1 %14, label %common.ret, label %300

.thread242:                                       ; preds = %9
  %15 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSS3key_Si5valuetMD") #14
  %16 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %7, %swift.type* %15)
  %._storage63.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %7, i64* %._storage63.count._value, align 8
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 1
  %18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %17 to i8*
  br label %.preheader147

19:                                               ; preds = %9
  %20 = icmp eq i64 %3, 1
  br i1 %20, label %.preheader147, label %..loopexit148_crit_edge

..loopexit148_crit_edge:                          ; preds = %19
  %.pre231 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !10
  br label %.loopexit148

.preheader147:                                    ; preds = %.thread242, %19
  %21 = phi i8* [ %18, %.thread242 ], [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %19 ]
  %22 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %.thread242 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %19 ]
  %23 = bitcast %TSrySS3key_Si5valuetG* %0 to i64*
  br label %24

24:                                               ; preds = %.preheader147, %.loopexit
  %25 = phi i64 [ %88, %.loopexit ], [ 0, %.preheader147 ]
  %26 = phi %Ts28__ContiguousArrayStorageBaseC* [ %107, %.loopexit ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.preheader147 ]
  %27 = load i64, i64* %.count._value, align 8
  %28 = add nsw i64 %25, 1
  %29 = icmp slt i64 %28, %27
  br i1 %29, label %30, label %.loopexit144

30:                                               ; preds = %24
  %31 = load i64, i64* %23, align 8
  %32 = inttoptr i64 %31 to <{ %TSS, %TSi }>*
  %.value55._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %28, i32 1, i32 0
  %33 = load i64, i64* %.value55._value, align 8
  %.value56._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %25, i32 1, i32 0
  %34 = load i64, i64* %.value56._value, align 8
  %35 = icmp slt i64 %34, %33
  %36 = add nsw i64 %25, 2
  %37 = icmp slt i64 %36, %27
  br i1 %37, label %.preheader145, label %.loopexit146

.preheader145:                                    ; preds = %30, %43
  %38 = phi i64 [ %40, %43 ], [ %33, %30 ]
  %39 = phi i64 [ %44, %43 ], [ %36, %30 ]
  %.value61._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %39, i32 1, i32 0
  %40 = load i64, i64* %.value61._value, align 8
  %41 = icmp sge i64 %38, %40
  %42 = xor i1 %35, %41
  br i1 %42, label %43, label %.loopexit146

43:                                               ; preds = %.preheader145
  %44 = add nsw i64 %39, 1
  %45 = icmp slt i64 %44, %27
  br i1 %45, label %.preheader145, label %.loopexit146

.loopexit146:                                     ; preds = %43, %.preheader145, %30
  %46 = phi i64 [ %36, %30 ], [ %27, %43 ], [ %39, %.preheader145 ]
  br i1 %35, label %47, label %.loopexit144

47:                                               ; preds = %.loopexit146
  %48 = icmp slt i64 %46, %25
  br i1 %48, label %330, label %49, !prof !6

49:                                               ; preds = %47
  %50 = icmp slt i64 %25, %46
  br i1 %50, label %.preheader143, label %.loopexit144

.preheader143:                                    ; preds = %49, %67
  %51 = phi i64 [ %53, %67 ], [ %46, %49 ]
  %52 = phi i64 [ %68, %67 ], [ %25, %49 ]
  %53 = add nsw i64 %51, -1
  %54 = load i64, i64* %23, align 8
  %55 = icmp eq i64 %52, %53
  br i1 %55, label %67, label %56

56:                                               ; preds = %.preheader143
  %57 = icmp eq i64 %54, 0
  br i1 %57, label %331, label %58

58:                                               ; preds = %56
  %59 = inttoptr i64 %54 to <{ %TSS, %TSi }>*
  %60 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %52
  %61 = bitcast <{ %TSS, %TSi }>* %60 to i8*
  %62 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %53
  %63 = bitcast <{ %TSS, %TSi }>* %62 to i8*
  %.key57._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %60, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %64 = load i64, i64* %.key57._guts._object._countAndFlagsBits._value, align 8
  %.key57._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %52, i32 0, i32 0, i32 0, i32 1
  %65 = load %swift.bridge*, %swift.bridge** %.key57._guts._object._object, align 8
  %.value58._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %52, i32 1, i32 0
  %66 = load i64, i64* %.value58._value, align 8
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %61, i8* noundef nonnull align 8 dereferenceable(24) %63, i64 24, i1 false)
  %.key59._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %62, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %64, i64* %.key59._guts._object._countAndFlagsBits._value, align 8
  %.key59._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %53, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %65, %swift.bridge** %.key59._guts._object._object, align 8
  %.value60._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %59, i64 %53, i32 1, i32 0
  store i64 %66, i64* %.value60._value, align 8
  br label %67

67:                                               ; preds = %.preheader143, %58
  %68 = add nsw i64 %52, 1
  %69 = icmp slt i64 %68, %53
  br i1 %69, label %.preheader143, label %.loopexit144.loopexit

.loopexit144.loopexit:                            ; preds = %67
  %.pre = load i64, i64* %.count._value, align 8
  br label %.loopexit144

.loopexit144:                                     ; preds = %.loopexit144.loopexit, %49, %.loopexit146, %24
  %70 = phi i64 [ %27, %24 ], [ %27, %.loopexit146 ], [ %27, %49 ], [ %.pre, %.loopexit144.loopexit ]
  %71 = phi i64 [ %28, %24 ], [ %46, %.loopexit146 ], [ %46, %49 ], [ %46, %.loopexit144.loopexit ]
  %72 = icmp slt i64 %71, %70
  br i1 %72, label %73, label %.loopexit142

73:                                               ; preds = %.loopexit144
  %74 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %71, i64 %25)
  %75 = extractvalue { i64, i1 } %74, 1
  br i1 %75, label %326, label %76, !prof !6

76:                                               ; preds = %73
  %77 = extractvalue { i64, i1 } %74, 0
  %78 = icmp slt i64 %77, %4
  br i1 %78, label %79, label %.loopexit142

79:                                               ; preds = %76
  %80 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %25, i64 %4)
  %81 = extractvalue { i64, i1 } %80, 1
  br i1 %81, label %327, label %82, !prof !6

82:                                               ; preds = %79
  %83 = extractvalue { i64, i1 } %80, 0
  %84 = tail call i64 @llvm.smin.i64(i64 %83, i64 %70)
  %85 = icmp slt i64 %84, %25
  br i1 %85, label %328, label %86, !prof !6

86:                                               ; preds = %82
  %87 = icmp eq i64 %71, %84
  br i1 %87, label %.loopexit142, label %.preheader

.loopexit142:                                     ; preds = %297, %86, %76, %.loopexit144
  %88 = phi i64 [ %71, %.loopexit144 ], [ %71, %76 ], [ %71, %86 ], [ %84, %297 ]
  %89 = icmp slt i64 %88, %25
  br i1 %89, label %309, label %90, !prof !6

90:                                               ; preds = %.loopexit142
  %91 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 0
  %92 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %91) #13
  br i1 %92, label %97, label %93

93:                                               ; preds = %90
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 1, i32 0, i32 0, i32 0
  %94 = load i64, i64* %._storage13.count._value, align 8, !range !10
  %95 = add nuw nsw i64 %94, 1
  %96 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %95, i1 true, %Ts28__ContiguousArrayStorageBaseC* %26)
  br label %97

97:                                               ; preds = %90, %93
  %98 = phi %Ts28__ContiguousArrayStorageBaseC* [ %96, %93 ], [ %26, %90 ]
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 1, i32 0, i32 0, i32 0
  %99 = load i64, i64* %._storage14.count._value, align 8, !range !10
  %._storage14._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 1, i32 0, i32 1, i32 0
  %100 = load i64, i64* %._storage14._capacityAndFlags._value, align 8
  %101 = lshr i64 %100, 1
  %102 = add nuw nsw i64 %99, 1
  %.not132 = icmp ugt i64 %101, %99
  br i1 %.not132, label %106, label %103, !prof !7

103:                                              ; preds = %97
  %104 = icmp ugt i64 %100, 1
  %105 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 %104, i64 %102, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %98)
  br label %106

106:                                              ; preds = %97, %103
  %107 = phi %Ts28__ContiguousArrayStorageBaseC* [ %105, %103 ], [ %98, %97 ]
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %102, i64* %._storage15.count._value, align 8
  %108 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, i64 1
  %tailaddr16 = bitcast %Ts28__ContiguousArrayStorageBaseC* %108 to %TSnySiG*
  %.lowerBound17._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %99, i32 0, i32 0
  store i64 %25, i64* %.lowerBound17._value, align 8
  %.upperBound18._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %99, i32 1, i32 0
  store i64 %88, i64* %.upperBound18._value, align 8
  %.not140 = icmp eq i64 %99, 0
  br i1 %.not140, label %.loopexit, label %thread-pre-split

thread-pre-split:                                 ; preds = %106
  %.lowerBound47._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %108 to i64*
  %109 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, i64 1, i32 0, i32 1
  %110 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %107, i64 1, i32 0, i32 1
  %.lowerBound40._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %108 to i64*
  br label %111

111:                                              ; preds = %thread-pre-split, %260
  %112 = phi i64 [ %102, %thread-pre-split ], [ %261, %260 ]
  %113 = add nsw i64 %112, -1
  %114 = icmp ult i64 %112, 4
  br i1 %114, label %142, label %115

115:                                              ; preds = %111
  %116 = add nsw i64 %112, -4
  %.lowerBound22._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %116, i32 0, i32 0
  %117 = load i64, i64* %.lowerBound22._value, align 8
  %.upperBound23._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %116, i32 1, i32 0
  %118 = load i64, i64* %.upperBound23._value, align 8
  %119 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %118, i64 %117)
  %120 = extractvalue { i64, i1 } %119, 0
  %121 = extractvalue { i64, i1 } %119, 1
  br i1 %121, label %310, label %122, !prof !6

122:                                              ; preds = %115
  %123 = add nsw i64 %112, -3
  %.lowerBound24._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 0, i32 0
  %124 = load i64, i64* %.lowerBound24._value, align 8
  %.upperBound25._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %123, i32 1, i32 0
  %125 = load i64, i64* %.upperBound25._value, align 8
  %126 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %125, i64 %124)
  %127 = extractvalue { i64, i1 } %126, 0
  %128 = extractvalue { i64, i1 } %126, 1
  br i1 %128, label %311, label %129, !prof !6

129:                                              ; preds = %122
  %130 = add nsw i64 %112, -2
  %.lowerBound26._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %130, i32 0, i32 0
  %131 = load i64, i64* %.lowerBound26._value, align 8
  %.upperBound27._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %130, i32 1, i32 0
  %132 = load i64, i64* %.upperBound27._value, align 8
  %133 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %132, i64 %131)
  %134 = extractvalue { i64, i1 } %133, 1
  br i1 %134, label %312, label %135, !prof !6

135:                                              ; preds = %129
  %136 = extractvalue { i64, i1 } %133, 0
  %137 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %127, i64 %136)
  %138 = extractvalue { i64, i1 } %137, 1
  br i1 %138, label %313, label %139, !prof !6

139:                                              ; preds = %135
  %140 = extractvalue { i64, i1 } %137, 0
  %141 = icmp slt i64 %140, %120
  br i1 %141, label %.thread, label %270

142:                                              ; preds = %111
  %.not141 = icmp eq i64 %112, 3
  br i1 %.not141, label %..thread_crit_edge, label %._crit_edge

..thread_crit_edge:                               ; preds = %142
  %.pre228 = load i64, i64* %110, align 8
  %.pre232 = load i64, i64* %.lowerBound40._value.phi.trans.insert, align 8
  %.pre233 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre228, i64 %.pre232)
  %.pre235 = extractvalue { i64, i1 } %.pre233, 0
  br label %.thread

.thread:                                          ; preds = %..thread_crit_edge, %139
  %.pre-phi236 = phi i64 [ %.pre235, %..thread_crit_edge ], [ %127, %139 ]
  %.pre-phi234 = phi { i64, i1 } [ %.pre233, %..thread_crit_edge ], [ %126, %139 ]
  %143 = extractvalue { i64, i1 } %.pre-phi234, 1
  br i1 %143, label %320, label %144, !prof !6

144:                                              ; preds = %.thread
  %145 = add nsw i64 %112, -2
  %.lowerBound42._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %145, i32 0, i32 0
  %146 = load i64, i64* %.lowerBound42._value, align 8
  %.upperBound43._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %145, i32 1, i32 0
  %147 = load i64, i64* %.upperBound43._value, align 8
  %148 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %147, i64 %146)
  %149 = extractvalue { i64, i1 } %148, 0
  %150 = extractvalue { i64, i1 } %148, 1
  br i1 %150, label %321, label %151, !prof !6

151:                                              ; preds = %144
  %.lowerBound44._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 0, i32 0
  %152 = load i64, i64* %.lowerBound44._value, align 8
  %.upperBound45._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 1, i32 0
  %153 = load i64, i64* %.upperBound45._value, align 8
  %154 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %153, i64 %152)
  %155 = extractvalue { i64, i1 } %154, 0
  %156 = extractvalue { i64, i1 } %154, 1
  br i1 %156, label %322, label %157, !prof !6

157:                                              ; preds = %151
  %158 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %149, i64 %155)
  %159 = extractvalue { i64, i1 } %158, 1
  br i1 %159, label %323, label %160, !prof !6

160:                                              ; preds = %157
  %161 = extractvalue { i64, i1 } %158, 0
  %162 = icmp slt i64 %161, %.pre-phi236
  br i1 %162, label %.thread139, label %268

._crit_edge:                                      ; preds = %142
  %.pre229 = load i64, i64* %.lowerBound47._value.phi.trans.insert, align 8
  %.pre230 = load i64, i64* %109, align 8
  %.pre237 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre230, i64 %.pre229)
  %.pre239 = extractvalue { i64, i1 } %.pre237, 0
  br label %.thread139

.thread139:                                       ; preds = %160, %._crit_edge
  %.pre-phi240 = phi i64 [ %.pre239, %._crit_edge ], [ %149, %160 ]
  %.pre-phi238 = phi { i64, i1 } [ %.pre237, %._crit_edge ], [ %148, %160 ]
  %163 = extractvalue { i64, i1 } %.pre-phi238, 1
  br i1 %163, label %324, label %164, !prof !6

164:                                              ; preds = %.thread139
  %.lowerBound49._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 0, i32 0
  %165 = load i64, i64* %.lowerBound49._value, align 8
  %.upperBound50._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 1, i32 0
  %166 = load i64, i64* %.upperBound50._value, align 8
  %167 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %166, i64 %165)
  %168 = extractvalue { i64, i1 } %167, 1
  br i1 %168, label %325, label %169, !prof !6

169:                                              ; preds = %164
  %170 = extractvalue { i64, i1 } %167, 0
  %171 = icmp slt i64 %170, %.pre-phi240
  br i1 %171, label %.loopexit, label %234

.loopexit:                                        ; preds = %260, %169, %106
  %172 = phi i64 [ 1, %106 ], [ %261, %260 ], [ %112, %169 ]
  %173 = icmp slt i64 %88, %70
  br i1 %173, label %24, label %.loopexit148

.loopexit148:                                     ; preds = %.loopexit, %..loopexit148_crit_edge
  %174 = phi i8* [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %..loopexit148_crit_edge ], [ %21, %.loopexit ]
  %175 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit148_crit_edge ], [ %22, %.loopexit ]
  %176 = phi i64 [ %.pre231, %..loopexit148_crit_edge ], [ %172, %.loopexit ]
  %177 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit148_crit_edge ], [ %107, %.loopexit ]
  %178 = icmp ugt i64 %176, 1
  br i1 %178, label %179, label %.loopexit284

179:                                              ; preds = %.loopexit148
  %180 = bitcast %TSrySS3key_Si5valuetG* %0 to i64*
  %181 = load i64, i64* %180, align 8
  %182 = icmp eq i64 %181, 0
  %183 = inttoptr i64 %181 to <{ %TSS, %TSi }>*
  br label %184

184:                                              ; preds = %217, %179
  %185 = phi i64 [ %176, %179 ], [ %218, %217 ]
  %186 = phi %Ts28__ContiguousArrayStorageBaseC* [ %177, %179 ], [ %212, %217 ]
  %187 = add nsw i64 %185, -1
  %188 = add nsw i64 %185, -2
  %189 = icmp ult i64 %185, 2
  br i1 %189, label %304, label %190, !prof !6

190:                                              ; preds = %184
  %191 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %186, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %191 to %TSnySiG*
  %.lowerBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %188, i32 0, i32 0
  %192 = load i64, i64* %.lowerBound._value, align 8
  %.upperBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %187, i32 1, i32 0
  %193 = load i64, i64* %.upperBound._value, align 8
  br i1 %182, label %305, label %194

194:                                              ; preds = %190
  %.lowerBound4._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %187, i32 0, i32 0
  %195 = load i64, i64* %.lowerBound4._value, align 8
  %196 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %183, i64 %192
  %197 = bitcast <{ %TSS, %TSi }>* %196 to i8*
  %198 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %183, i64 %195
  %199 = bitcast <{ %TSS, %TSi }>* %198 to i8*
  %200 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %183, i64 %193
  %201 = bitcast <{ %TSS, %TSi }>* %200 to i8*
  %202 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1nnnnc_n"(i8* nonnull %197, i8* nonnull %199, i8* nonnull %201, i8* nonnull %174, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %203 = load %swift.error*, %swift.error** %2, align 8
  %.not129 = icmp eq %swift.error* %203, null
  br i1 %.not129, label %204, label %.loopexit283

204:                                              ; preds = %194
  %205 = icmp slt i64 %193, %192
  br i1 %205, label %306, label %206, !prof !6

206:                                              ; preds = %204
  %207 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %186, i64 0, i32 0
  %208 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %207) #13
  br i1 %208, label %211, label %209

209:                                              ; preds = %206
  %210 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %186)
  br label %211

211:                                              ; preds = %206, %209
  %212 = phi %Ts28__ContiguousArrayStorageBaseC* [ %210, %209 ], [ %186, %206 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %212, i64 0, i32 1, i32 0, i32 0, i32 0
  %213 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not130 = icmp ult i64 %188, %213
  br i1 %.not130, label %214, label %307, !prof !7

214:                                              ; preds = %211
  %215 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %212, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %215 to %TSnySiG*
  %.lowerBound8._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %188, i32 0, i32 0
  store i64 %192, i64* %.lowerBound8._value, align 8
  %.upperBound9._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %188, i32 1, i32 0
  store i64 %193, i64* %.upperBound9._value, align 8
  %216 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not131 = icmp ugt i64 %185, %216
  br i1 %.not131, label %308, label %217, !prof !6

217:                                              ; preds = %214
  %218 = add nsw i64 %216, -1
  %219 = sub nsw i64 %218, %187
  %220 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %185
  %221 = bitcast %TSnySiG* %220 to i8*
  %222 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %187
  %223 = bitcast %TSnySiG* %222 to i8*
  %224 = shl nuw i64 %219, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %223, i8* nonnull align 8 %221, i64 %224, i1 false)
  store i64 %218, i64* %._storage6.count._value, align 8
  %225 = icmp ugt i64 %216, 2
  br i1 %225, label %184, label %.loopexit284

.loopexit284:                                     ; preds = %217, %.loopexit148
  %.lcssa257.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %177, %.loopexit148 ], [ %212, %217 ]
  %226 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa257.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %226) #4
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage1.count._value, align 8
  %227 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %227) #4
  br label %common.ret

common.ret:                                       ; preds = %300, %13, %.loopexit284, %232
  ret void

.loopexit283:                                     ; preds = %243, %194
  %.lcssa276.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %186, %194 ], [ %107, %243 ]
  %228 = phi %Ts28__ContiguousArrayStorageBaseC* [ %175, %194 ], [ %22, %243 ]
  %229 = phi %swift.error* [ %203, %194 ], [ %253, %243 ]
  %230 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa276.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %230) #4
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %228, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage5.count._value, align 8
  %231 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %228, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %231) #4
  br label %232

232:                                              ; preds = %300, %.loopexit283
  %233 = phi %swift.error* [ %229, %.loopexit283 ], [ %301, %300 ]
  store %swift.error* %233, %swift.error** %2, align 8
  br label %common.ret

234:                                              ; preds = %275, %268, %169
  %235 = phi i64 [ %113, %169 ], [ %.64, %268 ], [ %.65, %275 ]
  %236 = add nsw i64 %235, -1
  %.not133 = icmp ult i64 %236, %112
  br i1 %.not133, label %237, label %315, !prof !7

237:                                              ; preds = %234
  %.lowerBound31._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %236, i32 0, i32 0
  %238 = load i64, i64* %.lowerBound31._value, align 8
  %239 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %235
  %.upperBound33._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %235, i32 1, i32 0
  %240 = load i64, i64* %.upperBound33._value, align 8
  %241 = load i64, i64* %23, align 8
  %242 = icmp eq i64 %241, 0
  br i1 %242, label %316, label %243

243:                                              ; preds = %237
  %.lowerBound32._value = getelementptr inbounds %TSnySiG, %TSnySiG* %239, i64 0, i32 0, i32 0
  %244 = load i64, i64* %.lowerBound32._value, align 8
  %245 = inttoptr i64 %241 to <{ %TSS, %TSi }>*
  %246 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %245, i64 %238
  %247 = bitcast <{ %TSS, %TSi }>* %246 to i8*
  %248 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %245, i64 %244
  %249 = bitcast <{ %TSS, %TSi }>* %248 to i8*
  %250 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %245, i64 %240
  %251 = bitcast <{ %TSS, %TSi }>* %250 to i8*
  %252 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1nnnnc_n"(i8* nonnull %247, i8* nonnull %249, i8* nonnull %251, i8* nonnull %21, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %253 = load %swift.error*, %swift.error** %2, align 8
  %.not135 = icmp eq %swift.error* %253, null
  br i1 %.not135, label %254, label %.loopexit283

254:                                              ; preds = %243
  %255 = icmp slt i64 %240, %238
  br i1 %255, label %317, label %256, !prof !6

256:                                              ; preds = %254
  %257 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not136 = icmp ult i64 %236, %257
  br i1 %.not136, label %258, label %318, !prof !7

258:                                              ; preds = %256
  store i64 %238, i64* %.lowerBound31._value, align 8
  %.upperBound37._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %236, i32 1, i32 0
  store i64 %240, i64* %.upperBound37._value, align 8
  %259 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not137 = icmp ult i64 %235, %259
  br i1 %.not137, label %260, label %319, !prof !7

260:                                              ; preds = %258
  %261 = add nsw i64 %259, -1
  %262 = sub nsw i64 %261, %235
  %263 = getelementptr inbounds %TSnySiG, %TSnySiG* %239, i64 1
  %264 = bitcast %TSnySiG* %263 to i8*
  %265 = bitcast %TSnySiG* %239 to i8*
  %266 = shl nuw i64 %262, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %265, i8* nonnull align 8 %264, i64 %266, i1 false)
  store i64 %261, i64* %._storage15.count._value, align 8
  %267 = icmp ugt i64 %259, 2
  br i1 %267, label %111, label %.loopexit

268:                                              ; preds = %160
  %269 = icmp slt i64 %.pre-phi236, %155
  %.64 = select i1 %269, i64 %145, i64 %113
  br label %234

270:                                              ; preds = %139
  %.lowerBound28._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 0, i32 0
  %271 = load i64, i64* %.lowerBound28._value, align 8
  %.upperBound29._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %113, i32 1, i32 0
  %272 = load i64, i64* %.upperBound29._value, align 8
  %273 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %272, i64 %271)
  %274 = extractvalue { i64, i1 } %273, 1
  br i1 %274, label %314, label %275, !prof !6

275:                                              ; preds = %270
  %276 = extractvalue { i64, i1 } %273, 0
  %277 = icmp slt i64 %127, %276
  %.65 = select i1 %277, i64 %130, i64 %113
  br label %234

.preheader:                                       ; preds = %86, %297
  %278 = phi i64 [ %298, %297 ], [ %71, %86 ]
  br label %279

279:                                              ; preds = %291, %.preheader
  %280 = phi i64 [ %278, %.preheader ], [ %281, %291 ]
  %281 = add i64 %280, -1
  %282 = load i64, i64* %23, align 8
  %283 = inttoptr i64 %282 to <{ %TSS, %TSi }>*
  %284 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %280
  %.value._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %280, i32 1, i32 0
  %285 = load i64, i64* %.value._value, align 8
  %286 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %281
  %.value51._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %281, i32 1, i32 0
  %287 = load i64, i64* %.value51._value, align 8
  %288 = icmp slt i64 %287, %285
  br i1 %288, label %289, label %297

289:                                              ; preds = %279
  %290 = icmp eq i64 %282, 0
  br i1 %290, label %329, label %291

291:                                              ; preds = %289
  %.key._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %284, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %292 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %280, i32 0, i32 0, i32 0, i32 1
  %293 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %294 = bitcast <{ %TSS, %TSi }>* %286 to i8*
  %295 = bitcast <{ %TSS, %TSi }>* %284 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %295, i8* noundef nonnull align 8 dereferenceable(24) %294, i64 24, i1 false)
  %.key53._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %286, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %292, i64* %.key53._guts._object._countAndFlagsBits._value, align 8
  %.key53._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %283, i64 %281, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %293, %swift.bridge** %.key53._guts._object._object, align 8
  store i64 %285, i64* %.value51._value, align 8
  %296 = icmp eq i64 %281, %25
  br i1 %296, label %297, label %279

297:                                              ; preds = %291, %279
  %298 = add i64 %278, 1
  %299 = icmp eq i64 %298, %84
  br i1 %299, label %.loopexit142, label %.preheader

300:                                              ; preds = %13
  tail call swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySS3key_Si5valuetG_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1nncn_n"(i64 0, i64 %3, i64 1, %TSrySS3key_Si5valuetG* nocapture nonnull dereferenceable(16) %0, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %301 = load %swift.error*, %swift.error** %2, align 8
  %.not = icmp eq %swift.error* %301, null
  br i1 %.not, label %common.ret, label %232

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

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

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

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

306:                                              ; preds = %204
  tail call void asm sideeffect "", "n"(i32 7) #4
  tail call void @llvm.trap()
  unreachable

307:                                              ; preds = %211
  tail call void asm sideeffect "", "n"(i32 8) #4
  tail call void @llvm.trap()
  unreachable

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

309:                                              ; preds = %.loopexit142
  tail call void asm sideeffect "", "n"(i32 12) #4
  tail call void @llvm.trap()
  unreachable

310:                                              ; preds = %115
  tail call void asm sideeffect "", "n"(i32 15) #4
  tail call void @llvm.trap()
  unreachable

311:                                              ; preds = %122
  tail call void asm sideeffect "", "n"(i32 17) #4
  tail call void @llvm.trap()
  unreachable

312:                                              ; preds = %129
  tail call void asm sideeffect "", "n"(i32 19) #4
  tail call void @llvm.trap()
  unreachable

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

314:                                              ; preds = %270
  tail call void asm sideeffect "", "n"(i32 23) #4
  tail call void @llvm.trap()
  unreachable

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

316:                                              ; preds = %237
  tail call void asm sideeffect "", "n"(i32 27) #4
  tail call void @llvm.trap()
  unreachable

317:                                              ; preds = %254
  tail call void asm sideeffect "", "n"(i32 28) #4
  tail call void @llvm.trap()
  unreachable

318:                                              ; preds = %256
  tail call void asm sideeffect "", "n"(i32 29) #4
  tail call void @llvm.trap()
  unreachable

319:                                              ; preds = %258
  tail call void asm sideeffect "", "n"(i32 30) #4
  tail call void @llvm.trap()
  unreachable

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

321:                                              ; preds = %144
  tail call void asm sideeffect "", "n"(i32 36) #4
  tail call void @llvm.trap()
  unreachable

322:                                              ; preds = %151
  tail call void asm sideeffect "", "n"(i32 38) #4
  tail call void @llvm.trap()
  unreachable

323:                                              ; preds = %157
  tail call void asm sideeffect "", "n"(i32 39) #4
  tail call void @llvm.trap()
  unreachable

324:                                              ; preds = %.thread139
  tail call void asm sideeffect "", "n"(i32 44) #4
  tail call void @llvm.trap()
  unreachable

325:                                              ; preds = %164
  tail call void asm sideeffect "", "n"(i32 46) #4
  tail call void @llvm.trap()
  unreachable

326:                                              ; preds = %73
  tail call void asm sideeffect "", "n"(i32 47) #4
  tail call void @llvm.trap()
  unreachable

327:                                              ; preds = %79
  tail call void asm sideeffect "", "n"(i32 48) #4
  tail call void @llvm.trap()
  unreachable

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

329:                                              ; preds = %289
  tail call void asm sideeffect "", "n"(i32 50) #4
  tail call void @llvm.trap()
  unreachable

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

331:                                              ; preds = %56
  tail call void asm sideeffect "", "n"(i32 52) #4
  tail call void @llvm.trap()
  unreachable
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSr15_stableSortImpl2byySbx_xtKXE_tKFSS3key_Si5valuet_Tg506$sSSSih143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_O23TG5Tf3nnnnpf_nTf3nnpf_nTf1cn_n"(%TSrySS3key_Si5valuetG* nocapture dereferenceable(16) %0, %swift.refcounted* swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) local_unnamed_addr #0 {
entry:
  %.count._value = getelementptr inbounds %TSrySS3key_Si5valuetG, %TSrySS3key_Si5valuetG* %0, i64 0, i32 1, i32 0
  %3 = load i64, i64* %.count._value, align 8
  %4 = tail call swiftcc i64 @"$ss22_minimumMergeRunLengthyS2iF"(i64 %3)
  %5 = icmp slt i64 %4, %3
  br i1 %5, label %6, label %11

6:                                                ; preds = %entry
  %7 = sdiv i64 %3, 2
  %8 = icmp slt i64 %3, -1
  br i1 %8, label %342, label %9, !prof !6

9:                                                ; preds = %6
  %10 = icmp sgt i64 %3, 1
  br i1 %10, label %.thread269, label %19

11:                                               ; preds = %entry
  %12 = icmp slt i64 %3, 0
  br i1 %12, label %341, label %13, !prof !6

13:                                               ; preds = %11
  %14 = icmp eq i64 %3, 0
  br i1 %14, label %common.ret, label %339

.thread269:                                       ; preds = %9
  %15 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSS3key_Si5valuetMD") #14
  %16 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %7, %swift.type* %15)
  %._storage79.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %7, i64* %._storage79.count._value, align 8
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 1
  %18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %17 to i8*
  br label %.preheader176

19:                                               ; preds = %9
  %20 = icmp eq i64 %3, 1
  br i1 %20, label %.preheader176, label %..loopexit177_crit_edge

..loopexit177_crit_edge:                          ; preds = %19
  %.pre259 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !10
  br label %.loopexit177

.preheader176:                                    ; preds = %.thread269, %19
  %21 = phi i8* [ %18, %.thread269 ], [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %19 ]
  %22 = phi %Ts28__ContiguousArrayStorageBaseC* [ %16, %.thread269 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %19 ]
  %23 = bitcast %TSrySS3key_Si5valuetG* %0 to i64*
  br label %24

24:                                               ; preds = %.preheader176, %.loopexit
  %25 = phi i64 [ %115, %.loopexit ], [ 0, %.preheader176 ]
  %26 = phi %Ts28__ContiguousArrayStorageBaseC* [ %134, %.loopexit ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.preheader176 ]
  %27 = load i64, i64* %.count._value, align 8
  %28 = add nsw i64 %25, 1
  %29 = icmp slt i64 %28, %27
  br i1 %29, label %30, label %.loopexit173

30:                                               ; preds = %24
  %31 = load i64, i64* %23, align 8
  %32 = inttoptr i64 %31 to <{ %TSS, %TSi }>*
  %.key59._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %28, i32 0, i32 0, i32 0, i32 0, i32 0
  %33 = load i64, i64* %.key59._guts._object._countAndFlagsBits._value, align 8
  %.key59._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %28, i32 0, i32 0, i32 0, i32 1
  %34 = load %swift.bridge*, %swift.bridge** %.key59._guts._object._object, align 8
  %.value60._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %28, i32 1, i32 0
  %35 = load i64, i64* %.value60._value, align 8
  %.key61._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %25, i32 0, i32 0, i32 0, i32 0, i32 0
  %36 = load i64, i64* %.key61._guts._object._countAndFlagsBits._value, align 8
  %.key61._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %25, i32 0, i32 0, i32 0, i32 1
  %37 = load %swift.bridge*, %swift.bridge** %.key61._guts._object._object, align 8
  %.value62._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %25, i32 1, i32 0
  %38 = load i64, i64* %.value62._value, align 8
  %39 = icmp eq i64 %33, %36
  %40 = icmp eq %swift.bridge* %34, %37
  %or.cond = select i1 %39, i1 %40, i1 false
  br i1 %or.cond, label %41, label %47

41:                                               ; preds = %30, %47
  %42 = icmp slt i64 %35, %38
  br label %43

43:                                               ; preds = %41, %49
  %44 = phi i1 [ %50, %49 ], [ %42, %41 ]
  %45 = add nsw i64 %25, 2
  %46 = icmp slt i64 %45, %27
  br i1 %46, label %.preheader174, label %.loopexit175

47:                                               ; preds = %30
  %48 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %33, %swift.bridge* %34, i64 %36, %swift.bridge* %37, i8 0)
  br i1 %48, label %41, label %49

49:                                               ; preds = %47
  %50 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %33, %swift.bridge* %34, i64 %36, %swift.bridge* %37, i8 1)
  br label %43

.preheader174:                                    ; preds = %43, %70
  %51 = phi i64 [ %52, %70 ], [ %28, %43 ]
  %52 = phi i64 [ %71, %70 ], [ %45, %43 ]
  %.key71._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %52, i32 0, i32 0, i32 0, i32 0, i32 0
  %53 = load i64, i64* %.key71._guts._object._countAndFlagsBits._value, align 8
  %.key71._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %52, i32 0, i32 0, i32 0, i32 1
  %54 = load %swift.bridge*, %swift.bridge** %.key71._guts._object._object, align 8
  %.value72._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %52, i32 1, i32 0
  %55 = load i64, i64* %.value72._value, align 8
  %.key73._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %51, i32 0, i32 0, i32 0, i32 0, i32 0
  %56 = load i64, i64* %.key73._guts._object._countAndFlagsBits._value, align 8
  %.key73._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %51, i32 0, i32 0, i32 0, i32 1
  %57 = load %swift.bridge*, %swift.bridge** %.key73._guts._object._object, align 8
  %.value74._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %32, i64 %51, i32 1, i32 0
  %58 = load i64, i64* %.value74._value, align 8
  %59 = icmp eq i64 %53, %56
  %60 = icmp eq %swift.bridge* %54, %57
  %or.cond83 = select i1 %59, i1 %60, i1 false
  br i1 %or.cond83, label %61, label %66

61:                                               ; preds = %.preheader174, %66
  %62 = icmp slt i64 %55, %58
  br label %63

63:                                               ; preds = %61, %68
  %64 = phi i1 [ %69, %68 ], [ %62, %61 ]
  %65 = xor i1 %44, %64
  br i1 %65, label %.loopexit175, label %70

66:                                               ; preds = %.preheader174
  %67 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %53, %swift.bridge* %54, i64 %56, %swift.bridge* %57, i8 0)
  br i1 %67, label %61, label %68

68:                                               ; preds = %66
  %69 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %53, %swift.bridge* %54, i64 %56, %swift.bridge* %57, i8 1)
  br label %63

70:                                               ; preds = %63
  %71 = add nsw i64 %52, 1
  %72 = icmp slt i64 %71, %27
  br i1 %72, label %.preheader174, label %.loopexit175

.loopexit175:                                     ; preds = %70, %63, %43
  %73 = phi i64 [ %45, %43 ], [ %27, %70 ], [ %52, %63 ]
  br i1 %44, label %74, label %.loopexit173

74:                                               ; preds = %.loopexit175
  %75 = icmp slt i64 %73, %25
  br i1 %75, label %369, label %76, !prof !6

76:                                               ; preds = %74
  %77 = icmp slt i64 %25, %73
  br i1 %77, label %.preheader172, label %.loopexit173

.preheader172:                                    ; preds = %76, %94
  %78 = phi i64 [ %80, %94 ], [ %73, %76 ]
  %79 = phi i64 [ %95, %94 ], [ %25, %76 ]
  %80 = add nsw i64 %78, -1
  %81 = load i64, i64* %23, align 8
  %82 = icmp eq i64 %79, %80
  br i1 %82, label %94, label %83

83:                                               ; preds = %.preheader172
  %84 = icmp eq i64 %81, 0
  br i1 %84, label %370, label %85

85:                                               ; preds = %83
  %86 = inttoptr i64 %81 to <{ %TSS, %TSi }>*
  %87 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %79
  %88 = bitcast <{ %TSS, %TSi }>* %87 to i8*
  %89 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %80
  %90 = bitcast <{ %TSS, %TSi }>* %89 to i8*
  %.key67._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %87, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %91 = load i64, i64* %.key67._guts._object._countAndFlagsBits._value, align 8
  %.key67._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %79, i32 0, i32 0, i32 0, i32 1
  %92 = load %swift.bridge*, %swift.bridge** %.key67._guts._object._object, align 8
  %.value68._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %79, i32 1, i32 0
  %93 = load i64, i64* %.value68._value, align 8
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %88, i8* noundef nonnull align 8 dereferenceable(24) %90, i64 24, i1 false)
  %.key69._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %89, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %91, i64* %.key69._guts._object._countAndFlagsBits._value, align 8
  %.key69._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %80, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %92, %swift.bridge** %.key69._guts._object._object, align 8
  %.value70._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %86, i64 %80, i32 1, i32 0
  store i64 %93, i64* %.value70._value, align 8
  br label %94

94:                                               ; preds = %.preheader172, %85
  %95 = add nsw i64 %79, 1
  %96 = icmp slt i64 %95, %80
  br i1 %96, label %.preheader172, label %.loopexit173

.loopexit173:                                     ; preds = %94, %76, %.loopexit175, %24
  %97 = phi i64 [ %28, %24 ], [ %73, %.loopexit175 ], [ %73, %76 ], [ %73, %94 ]
  %98 = load i64, i64* %.count._value, align 8
  %99 = icmp slt i64 %97, %98
  br i1 %99, label %100, label %.loopexit171

100:                                              ; preds = %.loopexit173
  %101 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %97, i64 %25)
  %102 = extractvalue { i64, i1 } %101, 1
  br i1 %102, label %365, label %103, !prof !6

103:                                              ; preds = %100
  %104 = extractvalue { i64, i1 } %101, 0
  %105 = icmp slt i64 %104, %4
  br i1 %105, label %106, label %.loopexit171

106:                                              ; preds = %103
  %107 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %25, i64 %4)
  %108 = extractvalue { i64, i1 } %107, 1
  br i1 %108, label %366, label %109, !prof !6

109:                                              ; preds = %106
  %110 = extractvalue { i64, i1 } %107, 0
  %111 = tail call i64 @llvm.smin.i64(i64 %110, i64 %98)
  %112 = icmp slt i64 %111, %25
  br i1 %112, label %367, label %113, !prof !6

113:                                              ; preds = %109
  %114 = icmp eq i64 %97, %111
  br i1 %114, label %.loopexit171, label %.preheader

.loopexit171:                                     ; preds = %336, %113, %103, %.loopexit173
  %115 = phi i64 [ %97, %.loopexit173 ], [ %97, %103 ], [ %97, %113 ], [ %111, %336 ]
  %116 = icmp slt i64 %115, %25
  br i1 %116, label %348, label %117, !prof !6

117:                                              ; preds = %.loopexit171
  %118 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 0
  %119 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %118) #13
  br i1 %119, label %124, label %120

120:                                              ; preds = %117
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 1, i32 0, i32 0, i32 0
  %121 = load i64, i64* %._storage13.count._value, align 8, !range !10
  %122 = add nuw nsw i64 %121, 1
  %123 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %122, i1 true, %Ts28__ContiguousArrayStorageBaseC* %26)
  br label %124

124:                                              ; preds = %117, %120
  %125 = phi %Ts28__ContiguousArrayStorageBaseC* [ %123, %120 ], [ %26, %117 ]
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %125, i64 0, i32 1, i32 0, i32 0, i32 0
  %126 = load i64, i64* %._storage14.count._value, align 8, !range !10
  %._storage14._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %125, i64 0, i32 1, i32 0, i32 1, i32 0
  %127 = load i64, i64* %._storage14._capacityAndFlags._value, align 8
  %128 = lshr i64 %127, 1
  %129 = add nuw nsw i64 %126, 1
  %.not162 = icmp ugt i64 %128, %126
  br i1 %.not162, label %133, label %130, !prof !7

130:                                              ; preds = %124
  %131 = icmp ugt i64 %127, 1
  %132 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 %131, i64 %129, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %125)
  br label %133

133:                                              ; preds = %124, %130
  %134 = phi %Ts28__ContiguousArrayStorageBaseC* [ %132, %130 ], [ %125, %124 ]
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %129, i64* %._storage15.count._value, align 8
  %135 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 1
  %tailaddr16 = bitcast %Ts28__ContiguousArrayStorageBaseC* %135 to %TSnySiG*
  %.lowerBound17._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %126, i32 0, i32 0
  store i64 %25, i64* %.lowerBound17._value, align 8
  %.upperBound18._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %126, i32 1, i32 0
  store i64 %115, i64* %.upperBound18._value, align 8
  %.not169 = icmp eq i64 %126, 0
  br i1 %.not169, label %.loopexit, label %thread-pre-split

thread-pre-split:                                 ; preds = %133
  %.lowerBound47._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %135 to i64*
  %136 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 1, i32 0, i32 1
  %137 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %134, i64 1, i32 0, i32 1
  %.lowerBound40._value.phi.trans.insert = bitcast %Ts28__ContiguousArrayStorageBaseC* %135 to i64*
  br label %138

138:                                              ; preds = %thread-pre-split, %287
  %139 = phi i64 [ %129, %thread-pre-split ], [ %288, %287 ]
  %140 = add nsw i64 %139, -1
  %141 = icmp ult i64 %139, 4
  br i1 %141, label %169, label %142

142:                                              ; preds = %138
  %143 = add nsw i64 %139, -4
  %.lowerBound22._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %143, i32 0, i32 0
  %144 = load i64, i64* %.lowerBound22._value, align 8
  %.upperBound23._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %143, i32 1, i32 0
  %145 = load i64, i64* %.upperBound23._value, align 8
  %146 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %145, i64 %144)
  %147 = extractvalue { i64, i1 } %146, 0
  %148 = extractvalue { i64, i1 } %146, 1
  br i1 %148, label %349, label %149, !prof !6

149:                                              ; preds = %142
  %150 = add nsw i64 %139, -3
  %.lowerBound24._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %150, i32 0, i32 0
  %151 = load i64, i64* %.lowerBound24._value, align 8
  %.upperBound25._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %150, i32 1, i32 0
  %152 = load i64, i64* %.upperBound25._value, align 8
  %153 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %152, i64 %151)
  %154 = extractvalue { i64, i1 } %153, 0
  %155 = extractvalue { i64, i1 } %153, 1
  br i1 %155, label %350, label %156, !prof !6

156:                                              ; preds = %149
  %157 = add nsw i64 %139, -2
  %.lowerBound26._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %157, i32 0, i32 0
  %158 = load i64, i64* %.lowerBound26._value, align 8
  %.upperBound27._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %157, i32 1, i32 0
  %159 = load i64, i64* %.upperBound27._value, align 8
  %160 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %159, i64 %158)
  %161 = extractvalue { i64, i1 } %160, 1
  br i1 %161, label %351, label %162, !prof !6

162:                                              ; preds = %156
  %163 = extractvalue { i64, i1 } %160, 0
  %164 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %154, i64 %163)
  %165 = extractvalue { i64, i1 } %164, 1
  br i1 %165, label %352, label %166, !prof !6

166:                                              ; preds = %162
  %167 = extractvalue { i64, i1 } %164, 0
  %168 = icmp slt i64 %167, %147
  br i1 %168, label %.thread, label %297

169:                                              ; preds = %138
  %.not170 = icmp eq i64 %139, 3
  br i1 %.not170, label %..thread_crit_edge, label %._crit_edge

..thread_crit_edge:                               ; preds = %169
  %.pre256 = load i64, i64* %137, align 8
  %.pre = load i64, i64* %.lowerBound40._value.phi.trans.insert, align 8
  %.pre260 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre256, i64 %.pre)
  %.pre262 = extractvalue { i64, i1 } %.pre260, 0
  br label %.thread

.thread:                                          ; preds = %..thread_crit_edge, %166
  %.pre-phi263 = phi i64 [ %.pre262, %..thread_crit_edge ], [ %154, %166 ]
  %.pre-phi261 = phi { i64, i1 } [ %.pre260, %..thread_crit_edge ], [ %153, %166 ]
  %170 = extractvalue { i64, i1 } %.pre-phi261, 1
  br i1 %170, label %359, label %171, !prof !6

171:                                              ; preds = %.thread
  %172 = add nsw i64 %139, -2
  %.lowerBound42._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %172, i32 0, i32 0
  %173 = load i64, i64* %.lowerBound42._value, align 8
  %.upperBound43._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %172, i32 1, i32 0
  %174 = load i64, i64* %.upperBound43._value, align 8
  %175 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %174, i64 %173)
  %176 = extractvalue { i64, i1 } %175, 0
  %177 = extractvalue { i64, i1 } %175, 1
  br i1 %177, label %360, label %178, !prof !6

178:                                              ; preds = %171
  %.lowerBound44._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 0, i32 0
  %179 = load i64, i64* %.lowerBound44._value, align 8
  %.upperBound45._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 1, i32 0
  %180 = load i64, i64* %.upperBound45._value, align 8
  %181 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %180, i64 %179)
  %182 = extractvalue { i64, i1 } %181, 0
  %183 = extractvalue { i64, i1 } %181, 1
  br i1 %183, label %361, label %184, !prof !6

184:                                              ; preds = %178
  %185 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %176, i64 %182)
  %186 = extractvalue { i64, i1 } %185, 1
  br i1 %186, label %362, label %187, !prof !6

187:                                              ; preds = %184
  %188 = extractvalue { i64, i1 } %185, 0
  %189 = icmp slt i64 %188, %.pre-phi263
  br i1 %189, label %.thread168, label %295

._crit_edge:                                      ; preds = %169
  %.pre257 = load i64, i64* %.lowerBound47._value.phi.trans.insert, align 8
  %.pre258 = load i64, i64* %136, align 8
  %.pre264 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %.pre258, i64 %.pre257)
  %.pre266 = extractvalue { i64, i1 } %.pre264, 0
  br label %.thread168

.thread168:                                       ; preds = %187, %._crit_edge
  %.pre-phi267 = phi i64 [ %.pre266, %._crit_edge ], [ %176, %187 ]
  %.pre-phi265 = phi { i64, i1 } [ %.pre264, %._crit_edge ], [ %175, %187 ]
  %190 = extractvalue { i64, i1 } %.pre-phi265, 1
  br i1 %190, label %363, label %191, !prof !6

191:                                              ; preds = %.thread168
  %.lowerBound49._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 0, i32 0
  %192 = load i64, i64* %.lowerBound49._value, align 8
  %.upperBound50._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 1, i32 0
  %193 = load i64, i64* %.upperBound50._value, align 8
  %194 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %193, i64 %192)
  %195 = extractvalue { i64, i1 } %194, 1
  br i1 %195, label %364, label %196, !prof !6

196:                                              ; preds = %191
  %197 = extractvalue { i64, i1 } %194, 0
  %198 = icmp slt i64 %197, %.pre-phi267
  br i1 %198, label %.loopexit, label %261

.loopexit:                                        ; preds = %287, %196, %133
  %199 = phi i64 [ 1, %133 ], [ %288, %287 ], [ %139, %196 ]
  %200 = icmp slt i64 %115, %98
  br i1 %200, label %24, label %.loopexit177

.loopexit177:                                     ; preds = %.loopexit, %..loopexit177_crit_edge
  %201 = phi i8* [ bitcast (%struct.HeapMetadata** getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 1, i32 0, i32 0) to i8*), %..loopexit177_crit_edge ], [ %21, %.loopexit ]
  %202 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit177_crit_edge ], [ %22, %.loopexit ]
  %203 = phi i64 [ %.pre259, %..loopexit177_crit_edge ], [ %199, %.loopexit ]
  %204 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %..loopexit177_crit_edge ], [ %134, %.loopexit ]
  %205 = icmp ugt i64 %203, 1
  br i1 %205, label %206, label %.loopexit311

206:                                              ; preds = %.loopexit177
  %207 = bitcast %TSrySS3key_Si5valuetG* %0 to i64*
  %208 = load i64, i64* %207, align 8
  %209 = icmp eq i64 %208, 0
  %210 = inttoptr i64 %208 to <{ %TSS, %TSi }>*
  br label %211

211:                                              ; preds = %244, %206
  %212 = phi i64 [ %203, %206 ], [ %245, %244 ]
  %213 = phi %Ts28__ContiguousArrayStorageBaseC* [ %204, %206 ], [ %239, %244 ]
  %214 = add nsw i64 %212, -1
  %215 = add nsw i64 %212, -2
  %216 = icmp ult i64 %212, 2
  br i1 %216, label %343, label %217, !prof !6

217:                                              ; preds = %211
  %218 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %213, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %218 to %TSnySiG*
  %.lowerBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %215, i32 0, i32 0
  %219 = load i64, i64* %.lowerBound._value, align 8
  %.upperBound._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %214, i32 1, i32 0
  %220 = load i64, i64* %.upperBound._value, align 8
  br i1 %209, label %344, label %221

221:                                              ; preds = %217
  %.lowerBound4._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr3, i64 %214, i32 0, i32 0
  %222 = load i64, i64* %.lowerBound4._value, align 8
  %223 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %210, i64 %219
  %224 = bitcast <{ %TSS, %TSi }>* %223 to i8*
  %225 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %210, i64 %222
  %226 = bitcast <{ %TSS, %TSi }>* %225 to i8*
  %227 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %210, i64 %220
  %228 = bitcast <{ %TSS, %TSi }>* %227 to i8*
  %229 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg506$sSSSij143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_Q23TG5Tf3nnnnpf_nTf3nnpf_nTf1nnnnc_n"(i8* nonnull %224, i8* nonnull %226, i8* nonnull %228, i8* nonnull %201, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %230 = load %swift.error*, %swift.error** %2, align 8
  %.not159 = icmp eq %swift.error* %230, null
  br i1 %.not159, label %231, label %.loopexit310

231:                                              ; preds = %221
  %232 = icmp slt i64 %220, %219
  br i1 %232, label %345, label %233, !prof !6

233:                                              ; preds = %231
  %234 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %213, i64 0, i32 0
  %235 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %234) #13
  br i1 %235, label %238, label %236

236:                                              ; preds = %233
  %237 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %213)
  br label %238

238:                                              ; preds = %233, %236
  %239 = phi %Ts28__ContiguousArrayStorageBaseC* [ %237, %236 ], [ %213, %233 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %239, i64 0, i32 1, i32 0, i32 0, i32 0
  %240 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not160 = icmp ult i64 %215, %240
  br i1 %.not160, label %241, label %346, !prof !7

241:                                              ; preds = %238
  %242 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %239, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %242 to %TSnySiG*
  %.lowerBound8._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %215, i32 0, i32 0
  store i64 %219, i64* %.lowerBound8._value, align 8
  %.upperBound9._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %215, i32 1, i32 0
  store i64 %220, i64* %.upperBound9._value, align 8
  %243 = load i64, i64* %._storage6.count._value, align 8, !range !10
  %.not161 = icmp ugt i64 %212, %243
  br i1 %.not161, label %347, label %244, !prof !6

244:                                              ; preds = %241
  %245 = add nsw i64 %243, -1
  %246 = sub nsw i64 %245, %214
  %247 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %212
  %248 = bitcast %TSnySiG* %247 to i8*
  %249 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr7, i64 %214
  %250 = bitcast %TSnySiG* %249 to i8*
  %251 = shl nuw i64 %246, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %250, i8* nonnull align 8 %248, i64 %251, i1 false)
  store i64 %245, i64* %._storage6.count._value, align 8
  %252 = icmp ugt i64 %243, 2
  br i1 %252, label %211, label %.loopexit311

.loopexit311:                                     ; preds = %244, %.loopexit177
  %.lcssa284.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %204, %.loopexit177 ], [ %239, %244 ]
  %253 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa284.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %253) #4
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %202, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage1.count._value, align 8
  %254 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %202, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %254) #4
  br label %common.ret

common.ret:                                       ; preds = %339, %13, %.loopexit311, %259
  ret void

.loopexit310:                                     ; preds = %270, %221
  %.lcssa303.sink = phi %Ts28__ContiguousArrayStorageBaseC* [ %213, %221 ], [ %134, %270 ]
  %255 = phi %Ts28__ContiguousArrayStorageBaseC* [ %202, %221 ], [ %22, %270 ]
  %256 = phi %swift.error* [ %230, %221 ], [ %280, %270 ]
  %257 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %.lcssa303.sink, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %257) #4
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage5.count._value, align 8
  %258 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %258) #4
  br label %259

259:                                              ; preds = %339, %.loopexit310
  %260 = phi %swift.error* [ %256, %.loopexit310 ], [ %340, %339 ]
  store %swift.error* %260, %swift.error** %2, align 8
  br label %common.ret

261:                                              ; preds = %302, %295, %196
  %262 = phi i64 [ %140, %196 ], [ %.80, %295 ], [ %.81, %302 ]
  %263 = add nsw i64 %262, -1
  %.not163 = icmp ult i64 %263, %139
  br i1 %.not163, label %264, label %354, !prof !7

264:                                              ; preds = %261
  %.lowerBound31._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %263, i32 0, i32 0
  %265 = load i64, i64* %.lowerBound31._value, align 8
  %266 = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %262
  %.upperBound33._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %262, i32 1, i32 0
  %267 = load i64, i64* %.upperBound33._value, align 8
  %268 = load i64, i64* %23, align 8
  %269 = icmp eq i64 %268, 0
  br i1 %269, label %355, label %270

270:                                              ; preds = %264
  %.lowerBound32._value = getelementptr inbounds %TSnySiG, %TSnySiG* %266, i64 0, i32 0, i32 0
  %271 = load i64, i64* %.lowerBound32._value, align 8
  %272 = inttoptr i64 %268 to <{ %TSS, %TSi }>*
  %273 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %272, i64 %265
  %274 = bitcast <{ %TSS, %TSi }>* %273 to i8*
  %275 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %272, i64 %271
  %276 = bitcast <{ %TSS, %TSi }>* %275 to i8*
  %277 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %272, i64 %267
  %278 = bitcast <{ %TSS, %TSi }>* %277 to i8*
  %279 = tail call swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg506$sSSSij143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_Q23TG5Tf3nnnnpf_nTf3nnpf_nTf1nnnnc_n"(i8* nonnull %274, i8* nonnull %276, i8* nonnull %278, i8* nonnull %21, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %280 = load %swift.error*, %swift.error** %2, align 8
  %.not165 = icmp eq %swift.error* %280, null
  br i1 %.not165, label %281, label %.loopexit310

281:                                              ; preds = %270
  %282 = icmp slt i64 %267, %265
  br i1 %282, label %356, label %283, !prof !6

283:                                              ; preds = %281
  %284 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not166 = icmp ult i64 %263, %284
  br i1 %.not166, label %285, label %357, !prof !7

285:                                              ; preds = %283
  store i64 %265, i64* %.lowerBound31._value, align 8
  %.upperBound37._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %263, i32 1, i32 0
  store i64 %267, i64* %.upperBound37._value, align 8
  %286 = load i64, i64* %._storage15.count._value, align 8, !range !10
  %.not167 = icmp ult i64 %262, %286
  br i1 %.not167, label %287, label %358, !prof !7

287:                                              ; preds = %285
  %288 = add nsw i64 %286, -1
  %289 = sub nsw i64 %288, %262
  %290 = getelementptr inbounds %TSnySiG, %TSnySiG* %266, i64 1
  %291 = bitcast %TSnySiG* %290 to i8*
  %292 = bitcast %TSnySiG* %266 to i8*
  %293 = shl nuw i64 %289, 4
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %292, i8* nonnull align 8 %291, i64 %293, i1 false)
  store i64 %288, i64* %._storage15.count._value, align 8
  %294 = icmp ugt i64 %286, 2
  br i1 %294, label %138, label %.loopexit

295:                                              ; preds = %187
  %296 = icmp slt i64 %.pre-phi263, %182
  %.80 = select i1 %296, i64 %172, i64 %140
  br label %261

297:                                              ; preds = %166
  %.lowerBound28._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 0, i32 0
  %298 = load i64, i64* %.lowerBound28._value, align 8
  %.upperBound29._value = getelementptr inbounds %TSnySiG, %TSnySiG* %tailaddr16, i64 %140, i32 1, i32 0
  %299 = load i64, i64* %.upperBound29._value, align 8
  %300 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %299, i64 %298)
  %301 = extractvalue { i64, i1 } %300, 1
  br i1 %301, label %353, label %302, !prof !6

302:                                              ; preds = %297
  %303 = extractvalue { i64, i1 } %300, 0
  %304 = icmp slt i64 %154, %303
  %.81 = select i1 %304, i64 %157, i64 %140
  br label %261

.preheader:                                       ; preds = %113, %336
  %305 = phi i64 [ %337, %336 ], [ %97, %113 ]
  br label %306

306:                                              ; preds = %329, %.preheader
  %307 = phi i64 [ %305, %.preheader ], [ %308, %329 ]
  %308 = add i64 %307, -1
  %309 = load i64, i64* %23, align 8
  %310 = inttoptr i64 %309 to <{ %TSS, %TSi }>*
  %311 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %307
  %.key._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %311, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %312 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %307, i32 0, i32 0, i32 0, i32 1
  %313 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %.value._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %307, i32 1, i32 0
  %314 = load i64, i64* %.value._value, align 8
  %315 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %308
  %.key51._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %315, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %316 = load i64, i64* %.key51._guts._object._countAndFlagsBits._value, align 8
  %.key51._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %308, i32 0, i32 0, i32 0, i32 1
  %317 = load %swift.bridge*, %swift.bridge** %.key51._guts._object._object, align 8
  %.value52._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %310, i64 %308, i32 1, i32 0
  %318 = load i64, i64* %.value52._value, align 8
  %319 = icmp eq i64 %312, %316
  %320 = icmp eq %swift.bridge* %313, %317
  %or.cond91 = select i1 %319, i1 %320, i1 false
  br i1 %or.cond91, label %321, label %323

321:                                              ; preds = %323, %306
  %322 = icmp slt i64 %314, %318
  br i1 %322, label %327, label %336

323:                                              ; preds = %306
  %324 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %312, %swift.bridge* %313, i64 %316, %swift.bridge* %317, i8 0)
  br i1 %324, label %321, label %325

325:                                              ; preds = %323
  %326 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %312, %swift.bridge* %313, i64 %316, %swift.bridge* %317, i8 1)
  br i1 %326, label %327, label %336

327:                                              ; preds = %325, %321
  %328 = icmp eq i64 %309, 0
  br i1 %328, label %368, label %329

329:                                              ; preds = %327
  %330 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %331 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %332 = load i64, i64* %.value._value, align 8
  %333 = bitcast <{ %TSS, %TSi }>* %315 to i8*
  %334 = bitcast <{ %TSS, %TSi }>* %311 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %334, i8* noundef nonnull align 8 dereferenceable(24) %333, i64 24, i1 false)
  store i64 %330, i64* %.key51._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %331, %swift.bridge** %.key51._guts._object._object, align 8
  store i64 %332, i64* %.value52._value, align 8
  %335 = icmp eq i64 %308, %25
  br i1 %335, label %336, label %306

336:                                              ; preds = %325, %329, %321
  %337 = add i64 %305, 1
  %338 = icmp eq i64 %337, %111
  br i1 %338, label %.loopexit171, label %.preheader

339:                                              ; preds = %13
  tail call swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySS3key_Si5valuetG_Tg506$sSSSil143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_S23TG5Tf3nnnnpf_nTf3nnpf_nTf1nncn_n"(i64 0, i64 %3, i64 1, %TSrySS3key_Si5valuetG* nocapture nonnull dereferenceable(16) %0, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %2)
  %340 = load %swift.error*, %swift.error** %2, align 8
  %.not = icmp eq %swift.error* %340, null
  br i1 %.not, label %common.ret, label %259

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

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

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

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

345:                                              ; preds = %231
  tail call void asm sideeffect "", "n"(i32 7) #4
  tail call void @llvm.trap()
  unreachable

346:                                              ; preds = %238
  tail call void asm sideeffect "", "n"(i32 8) #4
  tail call void @llvm.trap()
  unreachable

347:                                              ; preds = %241
  tail call void asm sideeffect "", "n"(i32 9) #4
  tail call void @llvm.trap()
  unreachable

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

349:                                              ; preds = %142
  tail call void asm sideeffect "", "n"(i32 15) #4
  tail call void @llvm.trap()
  unreachable

350:                                              ; preds = %149
  tail call void asm sideeffect "", "n"(i32 17) #4
  tail call void @llvm.trap()
  unreachable

351:                                              ; preds = %156
  tail call void asm sideeffect "", "n"(i32 19) #4
  tail call void @llvm.trap()
  unreachable

352:                                              ; preds = %162
  tail call void asm sideeffect "", "n"(i32 20) #4
  tail call void @llvm.trap()
  unreachable

353:                                              ; preds = %297
  tail call void asm sideeffect "", "n"(i32 23) #4
  tail call void @llvm.trap()
  unreachable

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

355:                                              ; preds = %264
  tail call void asm sideeffect "", "n"(i32 27) #4
  tail call void @llvm.trap()
  unreachable

356:                                              ; preds = %281
  tail call void asm sideeffect "", "n"(i32 28) #4
  tail call void @llvm.trap()
  unreachable

357:                                              ; preds = %283
  tail call void asm sideeffect "", "n"(i32 29) #4
  tail call void @llvm.trap()
  unreachable

358:                                              ; preds = %285
  tail call void asm sideeffect "", "n"(i32 30) #4
  tail call void @llvm.trap()
  unreachable

359:                                              ; preds = %.thread
  tail call void asm sideeffect "", "n"(i32 34) #4
  tail call void @llvm.trap()
  unreachable

360:                                              ; preds = %171
  tail call void asm sideeffect "", "n"(i32 36) #4
  tail call void @llvm.trap()
  unreachable

361:                                              ; preds = %178
  tail call void asm sideeffect "", "n"(i32 38) #4
  tail call void @llvm.trap()
  unreachable

362:                                              ; preds = %184
  tail call void asm sideeffect "", "n"(i32 39) #4
  tail call void @llvm.trap()
  unreachable

363:                                              ; preds = %.thread168
  tail call void asm sideeffect "", "n"(i32 44) #4
  tail call void @llvm.trap()
  unreachable

364:                                              ; preds = %191
  tail call void asm sideeffect "", "n"(i32 46) #4
  tail call void @llvm.trap()
  unreachable

365:                                              ; preds = %100
  tail call void asm sideeffect "", "n"(i32 47) #4
  tail call void @llvm.trap()
  unreachable

366:                                              ; preds = %106
  tail call void asm sideeffect "", "n"(i32 48) #4
  tail call void @llvm.trap()
  unreachable

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

368:                                              ; preds = %327
  tail call void asm sideeffect "", "n"(i32 50) #4
  tail call void @llvm.trap()
  unreachable

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

370:                                              ; preds = %83
  tail call void asm sideeffect "", "n"(i32 52) #4
  tail call void @llvm.trap()
  unreachable
}

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySS3key_Si5valuetG_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1nncn_n"(i64 %0, i64 %1, i64 %2, %TSrySS3key_Si5valuetG* nocapture dereferenceable(16) %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = icmp eq i64 %2, %1
  br i1 %6, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %entry
  %7 = bitcast %TSrySS3key_Si5valuetG* %3 to i64*
  br label %8

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

8:                                                ; preds = %.preheader, %28
  %9 = phi i64 [ %29, %28 ], [ %2, %.preheader ]
  br label %10

10:                                               ; preds = %22, %8
  %11 = phi i64 [ %9, %8 ], [ %12, %22 ]
  %12 = add i64 %11, -1
  %13 = load i64, i64* %7, align 8
  %14 = inttoptr i64 %13 to <{ %TSS, %TSi }>*
  %15 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11
  %.value._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11, i32 1, i32 0
  %16 = load i64, i64* %.value._value, align 8
  %17 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12
  %.value1._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12, i32 1, i32 0
  %18 = load i64, i64* %.value1._value, align 8
  %19 = icmp slt i64 %18, %16
  br i1 %19, label %20, label %28

20:                                               ; preds = %10
  %21 = icmp eq i64 %13, 0
  br i1 %21, label %31, label %22

22:                                               ; preds = %20
  %.key._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %15, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %23 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11, i32 0, i32 0, i32 0, i32 1
  %24 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %25 = bitcast <{ %TSS, %TSi }>* %17 to i8*
  %26 = bitcast <{ %TSS, %TSi }>* %15 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %26, i8* noundef nonnull align 8 dereferenceable(24) %25, i64 24, i1 false)
  %.key3._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %17, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 %23, i64* %.key3._guts._object._countAndFlagsBits._value, align 8
  %.key3._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* %24, %swift.bridge** %.key3._guts._object._object, align 8
  store i64 %16, i64* %.value1._value, align 8
  %27 = icmp eq i64 %12, %0
  br i1 %27, label %28, label %10

28:                                               ; preds = %22, %10
  %29 = add i64 %9, 1
  %30 = icmp eq i64 %29, %1
  br i1 %30, label %.loopexit, label %8

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSMsSKRzrlE14_insertionSort6within9sortedEnd2byySny5IndexSlQzG_AFSb7ElementSTQz_AItKXEtKFSrySS3key_Si5valuetG_Tg506$sSSSil143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_S23TG5Tf3nnnnpf_nTf3nnpf_nTf1nncn_n"(i64 %0, i64 %1, i64 %2, %TSrySS3key_Si5valuetG* nocapture dereferenceable(16) %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = icmp eq i64 %2, %1
  br i1 %6, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %entry
  %7 = bitcast %TSrySS3key_Si5valuetG* %3 to i64*
  br label %8

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

8:                                                ; preds = %.preheader, %40
  %9 = phi i64 [ %41, %40 ], [ %2, %.preheader ]
  br label %10

10:                                               ; preds = %33, %8
  %11 = phi i64 [ %9, %8 ], [ %12, %33 ]
  %12 = add i64 %11, -1
  %13 = load i64, i64* %7, align 8
  %14 = inttoptr i64 %13 to <{ %TSS, %TSi }>*
  %15 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11
  %.key._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %15, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %16 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11, i32 0, i32 0, i32 0, i32 1
  %17 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %.value._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %11, i32 1, i32 0
  %18 = load i64, i64* %.value._value, align 8
  %19 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12
  %.key1._guts._object._countAndFlagsBits._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %19, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %20 = load i64, i64* %.key1._guts._object._countAndFlagsBits._value, align 8
  %.key1._guts._object._object = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12, i32 0, i32 0, i32 0, i32 1
  %21 = load %swift.bridge*, %swift.bridge** %.key1._guts._object._object, align 8
  %.value2._value = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %14, i64 %12, i32 1, i32 0
  %22 = load i64, i64* %.value2._value, align 8
  %23 = icmp eq i64 %16, %20
  %24 = icmp eq %swift.bridge* %17, %21
  %or.cond = select i1 %23, i1 %24, i1 false
  br i1 %or.cond, label %25, label %27

25:                                               ; preds = %27, %10
  %26 = icmp slt i64 %18, %22
  br i1 %26, label %31, label %40

27:                                               ; preds = %10
  %28 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %16, %swift.bridge* %17, i64 %20, %swift.bridge* %21, i8 0)
  br i1 %28, label %25, label %29

29:                                               ; preds = %27
  %30 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %16, %swift.bridge* %17, i64 %20, %swift.bridge* %21, i8 1)
  br i1 %30, label %31, label %40

31:                                               ; preds = %29, %25
  %32 = icmp eq i64 %13, 0
  br i1 %32, label %43, label %33

33:                                               ; preds = %31
  %34 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %35 = load %swift.bridge*, %swift.bridge** %.key._guts._object._object, align 8
  %36 = load i64, i64* %.value._value, align 8
  %37 = bitcast <{ %TSS, %TSi }>* %19 to i8*
  %38 = bitcast <{ %TSS, %TSi }>* %15 to i8*
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %38, i8* noundef nonnull align 8 dereferenceable(24) %37, i64 24, i1 false)
  store i64 %34, i64* %.key1._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %35, %swift.bridge** %.key1._guts._object._object, align 8
  store i64 %36, i64* %.value2._value, align 8
  %39 = icmp eq i64 %12, %0
  br i1 %39, label %40, label %10

40:                                               ; preds = %29, %33, %25
  %41 = add i64 %9, 1
  %42 = icmp eq i64 %41, %1
  br i1 %42, label %.loopexit, label %8

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg545$s7llvm_OZSbSS3key_Si5valuet_SSAB_SiACttXEfU_Tf1nnnnc_n"(i8* %0, i8* %1, i8* %2, i8* %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = ptrtoint i8* %1 to i64
  %7 = ptrtoint i8* %0 to i64
  %8 = sub i64 %6, %7
  %9 = sdiv i64 %8, 24
  %10 = ptrtoint i8* %2 to i64
  %11 = sub i64 %10, %6
  %12 = sdiv i64 %11, 24
  %13 = icmp slt i64 %9, %12
  br i1 %13, label %14, label %26

14:                                               ; preds = %entry
  %15 = bitcast i8* %0 to <{ %TSS, %TSi }>*
  %16 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %15, i64 %9
  %17 = bitcast <{ %TSS, %TSi }>* %16 to i8*
  %18 = icmp ugt i8* %17, %3
  %19 = icmp eq i8* %3, %0
  %or.cond5.i = select i1 %19, i1 %18, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit", label %.sink.split.i

.sink.split.i:                                    ; preds = %14
  %20 = mul nuw nsw i64 %9, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %0, i64 %20, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit": ; preds = %14, %.sink.split.i
  %21 = bitcast i8* %3 to <{ %TSS, %TSi }>*
  %22 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %21, i64 %9
  %23 = bitcast <{ %TSS, %TSi }>* %22 to i8*
  %24 = icmp ugt i8* %23, %3
  %25 = icmp ult i8* %1, %2
  %or.cond = select i1 %24, i1 %25, i1 false
  br i1 %or.cond, label %.preheader, label %.loopexit

26:                                               ; preds = %entry
  %27 = bitcast i8* %1 to <{ %TSS, %TSi }>*
  %28 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %27, i64 %12
  %29 = bitcast <{ %TSS, %TSi }>* %28 to i8*
  %30 = icmp ugt i8* %29, %3
  %31 = icmp eq i8* %3, %1
  %or.cond5.i34 = select i1 %31, i1 %30, i1 false
  br i1 %or.cond5.i34, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36", label %.sink.split.i35

.sink.split.i35:                                  ; preds = %26
  %32 = mul nuw nsw i64 %12, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %1, i64 %32, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36": ; preds = %26, %.sink.split.i35
  %33 = bitcast i8* %3 to <{ %TSS, %TSi }>*
  %34 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %33, i64 %12
  %35 = bitcast <{ %TSS, %TSi }>* %34 to i8*
  %36 = icmp ugt i8* %35, %3
  %37 = icmp ult i8* %0, %1
  %or.cond11 = select i1 %36, i1 %37, i1 false
  br i1 %or.cond11, label %.preheader40, label %.loopexit

.preheader:                                       ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit", %52
  %38 = phi i8* [ %53, %52 ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %39 = phi i8* [ %55, %52 ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %40 = phi i8* [ %54, %52 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %.value2 = getelementptr inbounds i8, i8* %40, i64 16
  %.value2._value = bitcast i8* %.value2 to i64*
  %41 = load i64, i64* %.value2._value, align 8
  %.value3 = getelementptr inbounds i8, i8* %38, i64 16
  %.value3._value = bitcast i8* %.value3 to i64*
  %42 = load i64, i64* %.value3._value, align 8
  %43 = icmp slt i64 %42, %41
  br i1 %43, label %44, label %48

44:                                               ; preds = %.preheader
  %45 = getelementptr inbounds i8, i8* %40, i64 24
  %46 = icmp ult i8* %39, %45
  %47 = icmp eq i8* %39, %40
  %or.cond58 = select i1 %47, i1 %46, i1 false
  br i1 %or.cond58, label %52, label %.sink.split

48:                                               ; preds = %.preheader
  %49 = getelementptr inbounds i8, i8* %38, i64 24
  %50 = icmp ult i8* %39, %49
  %51 = icmp eq i8* %39, %38
  %or.cond59 = select i1 %51, i1 %50, i1 false
  br i1 %or.cond59, label %52, label %.sink.split

.sink.split:                                      ; preds = %44, %48
  %.sink = phi i8* [ %38, %48 ], [ %40, %44 ]
  %.ph = phi i8* [ %49, %48 ], [ %38, %44 ]
  %.ph53 = phi i8* [ %40, %48 ], [ %45, %44 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %39, i8* noundef nonnull align 8 dereferenceable(24) %.sink, i64 24, i1 false)
  br label %52

52:                                               ; preds = %48, %44, %.sink.split
  %53 = phi i8* [ %.ph, %.sink.split ], [ %38, %44 ], [ %49, %48 ]
  %54 = phi i8* [ %.ph53, %.sink.split ], [ %45, %44 ], [ %40, %48 ]
  %55 = getelementptr inbounds i8, i8* %39, i64 24
  %56 = icmp ult i8* %53, %23
  %57 = icmp ult i8* %54, %2
  %or.cond7 = select i1 %56, i1 %57, i1 false
  br i1 %or.cond7, label %.preheader, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %52
  %.pre = bitcast i8* %53 to <{ %TSS, %TSi }>*
  br label %.loopexit

.loopexit:                                        ; preds = %85, %.loopexit.loopexit, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36", %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit"
  %.pre-phi = phi <{ %TSS, %TSi }>* [ %.pre, %.loopexit.loopexit ], [ %33, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ], [ %21, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %33, %85 ]
  %58 = phi i8* [ %23, %.loopexit.loopexit ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ], [ %23, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %86, %85 ]
  %59 = phi i8* [ %53, %.loopexit.loopexit ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %3, %85 ]
  %60 = phi i8* [ %55, %.loopexit.loopexit ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %87, %85 ]
  %61 = ptrtoint i8* %58 to i64
  %62 = ptrtoint i8* %59 to i64
  %63 = sub i64 %61, %62
  %64 = sdiv i64 %63, 24
  %65 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %.pre-phi, i64 %64
  %66 = bitcast <{ %TSS, %TSi }>* %65 to i8*
  %67 = icmp ult i8* %60, %66
  %68 = icmp eq i8* %60, %59
  %or.cond5.i37 = select i1 %68, i1 %67, i1 false
  br i1 %or.cond5.i37, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit39", label %.sink.split.i38

.sink.split.i38:                                  ; preds = %.loopexit
  %69 = mul nuw nsw i64 %64, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %60, i8* align 8 %59, i64 %69, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit39"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit39": ; preds = %.loopexit, %.sink.split.i38
  ret i1 true

.preheader40:                                     ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36", %85
  %70 = phi i8* [ %73, %85 ], [ %2, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ]
  %71 = phi i8* [ %86, %85 ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ]
  %72 = phi i8* [ %87, %85 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit36" ]
  %73 = getelementptr inbounds i8, i8* %70, i64 -24
  %.value = getelementptr inbounds i8, i8* %71, i64 -8
  %.value._value = bitcast i8* %.value to i64*
  %74 = load i64, i64* %.value._value, align 8
  %.value1 = getelementptr inbounds i8, i8* %72, i64 -8
  %.value1._value = bitcast i8* %.value1 to i64*
  %75 = load i64, i64* %.value1._value, align 8
  %76 = icmp slt i64 %75, %74
  br i1 %76, label %77, label %81

77:                                               ; preds = %.preheader40
  %78 = getelementptr inbounds i8, i8* %72, i64 -24
  %79 = icmp ult i8* %73, %72
  %80 = icmp eq i8* %70, %72
  %or.cond60 = select i1 %80, i1 %79, i1 false
  br i1 %or.cond60, label %85, label %.sink.split54

81:                                               ; preds = %.preheader40
  %82 = getelementptr inbounds i8, i8* %71, i64 -24
  %83 = icmp ult i8* %73, %71
  %84 = icmp eq i8* %70, %71
  %or.cond61 = select i1 %84, i1 %83, i1 false
  br i1 %or.cond61, label %85, label %.sink.split54

.sink.split54:                                    ; preds = %77, %81
  %.sink57 = phi i8* [ %82, %81 ], [ %78, %77 ]
  %.ph55 = phi i8* [ %82, %81 ], [ %71, %77 ]
  %.ph56 = phi i8* [ %72, %81 ], [ %78, %77 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %73, i8* noundef nonnull align 8 dereferenceable(24) %.sink57, i64 24, i1 false)
  br label %85

85:                                               ; preds = %81, %77, %.sink.split54
  %86 = phi i8* [ %.ph55, %.sink.split54 ], [ %71, %77 ], [ %82, %81 ]
  %87 = phi i8* [ %.ph56, %.sink.split54 ], [ %78, %77 ], [ %72, %81 ]
  %88 = icmp ugt i8* %86, %3
  %89 = icmp ugt i8* %87, %0
  %or.cond15 = select i1 %88, i1 %89, i1 false
  br i1 %or.cond15, label %.preheader40, label %.loopexit
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i1 @"$ss6_merge3low3mid4high6buffer2bySbSpyxG_A3GSbx_xtKXEtKlFSS3key_Si5valuet_Tg506$sSSSij143Sbs5Error_pIggygydzo_SS3key_Si5valuetSSAB_SiACtSbsAA_pIegnndzo_TR06$sSSSie11SbIegnnnnd_eeF67Ieggygyd_TR43$ss1loiySbx_q_t_x_q_ttSLRzSLR_r0_lFSS_Q23TG5Tf3nnnnpf_nTf3nnpf_nTf1nnnnc_n"(i8* %0, i8* %1, i8* %2, i8* %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = ptrtoint i8* %1 to i64
  %7 = ptrtoint i8* %0 to i64
  %8 = sub i64 %6, %7
  %9 = sdiv i64 %8, 24
  %10 = ptrtoint i8* %2 to i64
  %11 = sub i64 %10, %6
  %12 = sdiv i64 %11, 24
  %13 = icmp slt i64 %9, %12
  br i1 %13, label %14, label %26

14:                                               ; preds = %entry
  %15 = bitcast i8* %0 to <{ %TSS, %TSi }>*
  %16 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %15, i64 %9
  %17 = bitcast <{ %TSS, %TSi }>* %16 to i8*
  %18 = icmp ugt i8* %17, %3
  %19 = icmp eq i8* %3, %0
  %or.cond5.i = select i1 %19, i1 %18, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit", label %.sink.split.i

.sink.split.i:                                    ; preds = %14
  %20 = mul nuw nsw i64 %9, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %0, i64 %20, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit": ; preds = %14, %.sink.split.i
  %21 = bitcast i8* %3 to <{ %TSS, %TSi }>*
  %22 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %21, i64 %9
  %23 = bitcast <{ %TSS, %TSi }>* %22 to i8*
  %24 = icmp ugt i8* %23, %3
  %25 = icmp ult i8* %1, %2
  %or.cond = select i1 %24, i1 %25, i1 false
  br i1 %or.cond, label %.preheader, label %.loopexit

26:                                               ; preds = %entry
  %27 = bitcast i8* %1 to <{ %TSS, %TSi }>*
  %28 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %27, i64 %12
  %29 = bitcast <{ %TSS, %TSi }>* %28 to i8*
  %30 = icmp ugt i8* %29, %3
  %31 = icmp eq i8* %3, %1
  %or.cond5.i51 = select i1 %31, i1 %30, i1 false
  br i1 %or.cond5.i51, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53", label %.sink.split.i52

.sink.split.i52:                                  ; preds = %26
  %32 = mul nuw nsw i64 %12, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %3, i8* align 8 %1, i64 %32, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53": ; preds = %26, %.sink.split.i52
  %33 = bitcast i8* %3 to <{ %TSS, %TSi }>*
  %34 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %33, i64 %12
  %35 = bitcast <{ %TSS, %TSi }>* %34 to i8*
  %36 = icmp ugt i8* %35, %3
  %37 = icmp ult i8* %0, %1
  %or.cond22 = select i1 %36, i1 %37, i1 false
  br i1 %or.cond22, label %.preheader57, label %.loopexit

.preheader:                                       ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit", %65
  %38 = phi i8* [ %66, %65 ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %39 = phi i8* [ %68, %65 ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %40 = phi i8* [ %67, %65 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ]
  %.key5._guts._object._countAndFlagsBits._value = bitcast i8* %40 to i64*
  %41 = load i64, i64* %.key5._guts._object._countAndFlagsBits._value, align 8
  %.key5._guts._object._object = getelementptr inbounds i8, i8* %40, i64 8
  %42 = bitcast i8* %.key5._guts._object._object to %swift.bridge**
  %43 = load %swift.bridge*, %swift.bridge** %42, align 8
  %.value6 = getelementptr inbounds i8, i8* %40, i64 16
  %.value6._value = bitcast i8* %.value6 to i64*
  %44 = load i64, i64* %.value6._value, align 8
  %.key7._guts._object._countAndFlagsBits._value = bitcast i8* %38 to i64*
  %45 = load i64, i64* %.key7._guts._object._countAndFlagsBits._value, align 8
  %.key7._guts._object._object = getelementptr inbounds i8, i8* %38, i64 8
  %46 = bitcast i8* %.key7._guts._object._object to %swift.bridge**
  %47 = load %swift.bridge*, %swift.bridge** %46, align 8
  %.value8 = getelementptr inbounds i8, i8* %38, i64 16
  %.value8._value = bitcast i8* %.value8 to i64*
  %48 = load i64, i64* %.value8._value, align 8
  %49 = icmp eq i64 %41, %45
  %50 = icmp eq %swift.bridge* %43, %47
  %or.cond13 = select i1 %49, i1 %50, i1 false
  br i1 %or.cond13, label %51, label %53

51:                                               ; preds = %53, %.preheader
  %52 = icmp slt i64 %44, %48
  br i1 %52, label %57, label %61

53:                                               ; preds = %.preheader
  %54 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %41, %swift.bridge* %43, i64 %45, %swift.bridge* %47, i8 0)
  br i1 %54, label %51, label %55

55:                                               ; preds = %53
  %56 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %41, %swift.bridge* %43, i64 %45, %swift.bridge* %47, i8 1)
  br i1 %56, label %57, label %61

57:                                               ; preds = %55, %51
  %58 = getelementptr inbounds i8, i8* %40, i64 24
  %59 = icmp ult i8* %39, %58
  %60 = icmp eq i8* %39, %40
  %or.cond75 = select i1 %60, i1 %59, i1 false
  br i1 %or.cond75, label %65, label %.sink.split

61:                                               ; preds = %55, %51
  %62 = getelementptr inbounds i8, i8* %38, i64 24
  %63 = icmp ult i8* %39, %62
  %64 = icmp eq i8* %39, %38
  %or.cond76 = select i1 %64, i1 %63, i1 false
  br i1 %or.cond76, label %65, label %.sink.split

.sink.split:                                      ; preds = %57, %61
  %.sink = phi i8* [ %38, %61 ], [ %40, %57 ]
  %.ph = phi i8* [ %62, %61 ], [ %38, %57 ]
  %.ph70 = phi i8* [ %40, %61 ], [ %58, %57 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %39, i8* noundef nonnull align 8 dereferenceable(24) %.sink, i64 24, i1 false)
  br label %65

65:                                               ; preds = %61, %57, %.sink.split
  %66 = phi i8* [ %.ph, %.sink.split ], [ %38, %57 ], [ %62, %61 ]
  %67 = phi i8* [ %.ph70, %.sink.split ], [ %58, %57 ], [ %40, %61 ]
  %68 = getelementptr inbounds i8, i8* %39, i64 24
  %69 = icmp ult i8* %66, %23
  %70 = icmp ult i8* %67, %2
  %or.cond18 = select i1 %69, i1 %70, i1 false
  br i1 %or.cond18, label %.preheader, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %65
  %.pre = bitcast i8* %66 to <{ %TSS, %TSi }>*
  br label %.loopexit

.loopexit:                                        ; preds = %111, %.loopexit.loopexit, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53", %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit"
  %.pre-phi = phi <{ %TSS, %TSi }>* [ %.pre, %.loopexit.loopexit ], [ %33, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ], [ %21, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %33, %111 ]
  %71 = phi i8* [ %23, %.loopexit.loopexit ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ], [ %23, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %112, %111 ]
  %72 = phi i8* [ %66, %.loopexit.loopexit ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ], [ %3, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %3, %111 ]
  %73 = phi i8* [ %68, %.loopexit.loopexit ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ], [ %0, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit" ], [ %113, %111 ]
  %74 = ptrtoint i8* %71 to i64
  %75 = ptrtoint i8* %72 to i64
  %76 = sub i64 %74, %75
  %77 = sdiv i64 %76, 24
  %78 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %.pre-phi, i64 %77
  %79 = bitcast <{ %TSS, %TSi }>* %78 to i8*
  %80 = icmp ult i8* %73, %79
  %81 = icmp eq i8* %73, %72
  %or.cond5.i54 = select i1 %81, i1 %80, i1 false
  br i1 %or.cond5.i54, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit56", label %.sink.split.i55

.sink.split.i55:                                  ; preds = %.loopexit
  %82 = mul nuw nsw i64 %77, 24
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* align 8 %73, i8* align 8 %72, i64 %82, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit56"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit56": ; preds = %.loopexit, %.sink.split.i55
  ret i1 true

.preheader57:                                     ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53", %111
  %83 = phi i8* [ %86, %111 ], [ %2, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ]
  %84 = phi i8* [ %112, %111 ], [ %35, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ]
  %85 = phi i8* [ %113, %111 ], [ %1, %"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_Tg5.exit53" ]
  %86 = getelementptr inbounds i8, i8* %83, i64 -24
  %87 = getelementptr inbounds i8, i8* %84, i64 -24
  %.key._guts._object._countAndFlagsBits._value = bitcast i8* %87 to i64*
  %88 = load i64, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds i8, i8* %84, i64 -16
  %89 = bitcast i8* %.key._guts._object._object to %swift.bridge**
  %90 = load %swift.bridge*, %swift.bridge** %89, align 8
  %.value = getelementptr inbounds i8, i8* %84, i64 -8
  %.value._value = bitcast i8* %.value to i64*
  %91 = load i64, i64* %.value._value, align 8
  %92 = getelementptr inbounds i8, i8* %85, i64 -24
  %.key1._guts._object._countAndFlagsBits._value = bitcast i8* %92 to i64*
  %93 = load i64, i64* %.key1._guts._object._countAndFlagsBits._value, align 8
  %.key1._guts._object._object = getelementptr inbounds i8, i8* %85, i64 -16
  %94 = bitcast i8* %.key1._guts._object._object to %swift.bridge**
  %95 = load %swift.bridge*, %swift.bridge** %94, align 8
  %.value2 = getelementptr inbounds i8, i8* %85, i64 -8
  %.value2._value = bitcast i8* %.value2 to i64*
  %96 = load i64, i64* %.value2._value, align 8
  %97 = icmp eq i64 %88, %93
  %98 = icmp eq %swift.bridge* %90, %95
  %or.cond23 = select i1 %97, i1 %98, i1 false
  br i1 %or.cond23, label %99, label %101

99:                                               ; preds = %101, %.preheader57
  %100 = icmp slt i64 %91, %96
  br i1 %100, label %105, label %108

101:                                              ; preds = %.preheader57
  %102 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %88, %swift.bridge* %90, i64 %93, %swift.bridge* %95, i8 0)
  br i1 %102, label %99, label %103

103:                                              ; preds = %101
  %104 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %88, %swift.bridge* %90, i64 %93, %swift.bridge* %95, i8 1)
  br i1 %104, label %105, label %108

105:                                              ; preds = %103, %99
  %106 = icmp ult i8* %86, %85
  %107 = icmp eq i8* %83, %85
  %or.cond77 = select i1 %107, i1 %106, i1 false
  br i1 %or.cond77, label %111, label %.sink.split71

108:                                              ; preds = %103, %99
  %109 = icmp ult i8* %86, %84
  %110 = icmp eq i8* %83, %84
  %or.cond78 = select i1 %110, i1 %109, i1 false
  br i1 %or.cond78, label %111, label %.sink.split71

.sink.split71:                                    ; preds = %105, %108
  %.sink74 = phi i8* [ %87, %108 ], [ %92, %105 ]
  %.ph72 = phi i8* [ %87, %108 ], [ %84, %105 ]
  %.ph73 = phi i8* [ %85, %108 ], [ %92, %105 ]
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(24) %86, i8* noundef nonnull align 8 dereferenceable(24) %.sink74, i64 24, i1 false)
  br label %111

111:                                              ; preds = %108, %105, %.sink.split71
  %112 = phi i8* [ %.ph72, %.sink.split71 ], [ %84, %105 ], [ %87, %108 ]
  %113 = phi i8* [ %.ph73, %.sink.split71 ], [ %92, %105 ], [ %85, %108 ]
  %114 = icmp ugt i8* %112, %3
  %115 = icmp ugt i8* %113, %0
  %or.cond28 = select i1 %114, i1 %115, i1 false
  br i1 %or.cond28, label %.preheader57, label %.loopexit
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSnySiG_Tgq5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSnySiG_Tgq5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSS3key_Si5valuet_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 !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS3key_Si5valuet_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSS3key_Si5valuet_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 !6

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 !10
  %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_ContiguousArrayStorageCySS3key_Si5valuetGMD") #14
  %21 = mul i64 %17, 24
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #4
  %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) #15
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 24
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

33:                                               ; preds = %29
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to <{ %TSS, %TSi }>*
  %35 = getelementptr inbounds <{ %TSS, %TSi }>, <{ %TSS, %TSi }>* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to <{ %TSS, %TSi }>*
  %37 = icmp ugt <{ %TSS, %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_SitFSS3key_Si5valuet_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 = mul nuw i64 %16, 24
  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_SitFSS3key_Si5valuet_Tg5.exit"

"$sSp14moveInitialize4from5countySpyxG_SitFSS3key_Si5valuet_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 @"$sSS3key_Si5valuetMD") #14
  %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) #13
  br label %46

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

48:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #4
  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 %47, label %11, !prof !6

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 !10
  %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") #14
  %21 = shl i64 %17, 4
  %22 = add i64 %21, 32
  %23 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %20, i64 %22, i64 7) #4
  %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) #15
  %gepdiff = add nsw i64 %call.i, -32
  %26 = sdiv i64 %gepdiff, 16
  %27 = shl nsw i64 %26, 1
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 %16, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %23, i64 1, i32 1
  store i64 %27, i64* %._storage7._capacityAndFlags, align 8
  br label %29

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare void @swift_endAccess([24 x i8]*) local_unnamed_addr #4

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

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) #16
  %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 #8

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

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

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

; 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 noinline optsize
declare swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type*) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSDySSSiG_Tg5"(%TSD8IteratorV* noalias nocapture %0, i64 %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #0 {
entry:
  %4 = bitcast %swift.bridge* %3 to %Ts22__RawDictionaryStorageC*
  %5 = bitcast %swift.bridge* %3 to i8*
  %6 = getelementptr inbounds i8, i8* %5, i64 64
  %tailaddr = bitcast i8* %6 to %Ts13_UnsafeBitsetV4WordV*
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 3, i32 0
  %7 = load i8, i8* %._value, align 8
  %8 = and i8 %7, 63
  %9 = zext i8 %8 to i64
  %notmask = shl nsw i64 -1, %9
  %tailaddr.value._value = bitcast i8* %6 to i64*
  %10 = load i64, i64* %tailaddr.value._value, align 8
  %11 = sub i64 0, %notmask
  %12 = icmp slt i64 %11, 64
  %13 = and i64 %11, 63
  %notmask24 = shl nsw i64 -1, %13
  %14 = xor i64 %notmask24, -1
  %15 = select i1 %12, i64 %14, i64 -1
  %16 = and i64 %15, %10
  %17 = icmp eq i64 %1, 0
  br i1 %17, label %.loopexit25, label %18

18:                                               ; preds = %entry
  %19 = icmp eq i64 %2, 0
  br i1 %19, label %.loopexit25, label %20

20:                                               ; preds = %18
  %21 = icmp slt i64 %2, 0
  br i1 %21, label %86, label %.lr.ph, !prof !6

.lr.ph:                                           ; preds = %20
  %22 = inttoptr i64 %1 to i8*
  %23 = sub i64 63, %notmask
  %24 = lshr i64 %23, 6
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 8, i32 0
  %25 = bitcast i8** %._rawValue to %TSS**
  %._rawValue1 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 9, i32 0
  %26 = bitcast i8** %._rawValue1 to %TSi**
  %27 = add nsw i64 %24, -1
  br label %73

28:                                               ; preds = %73
  %29 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %75, i64 1)
  %30 = extractvalue { i64, i1 } %29, 0
  %31 = extractvalue { i64, i1 } %29, 1
  br i1 %31, label %87, label %32, !prof !6

32:                                               ; preds = %28
  %33 = icmp slt i64 %30, %24
  br i1 %33, label %51, label %.loopexit25

34:                                               ; preds = %.loopexit, %80
  %35 = phi i64 [ %85, %80 ], [ %63, %.loopexit ]
  %36 = phi i64 [ %75, %80 ], [ %57, %.loopexit ]
  %37 = phi i64 [ %83, %80 ], [ %61, %.loopexit ]
  %38 = load %TSS*, %TSS** %25, align 8
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %38, i64 %35, i32 0, i32 0, i32 0, i32 0
  %39 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %38, i64 %35, i32 0, i32 0, i32 1
  %40 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %41 = load %TSi*, %TSi** %26, align 8
  %._value2 = getelementptr inbounds %TSi, %TSi* %41, i64 %35, i32 0
  %42 = load i64, i64* %._value2, align 8
  %.key._guts._object._countAndFlagsBits._value = bitcast i8* %77 to i64*
  store i64 %39, i64* %.key._guts._object._countAndFlagsBits._value, align 8
  %.key._guts._object._object = getelementptr inbounds i8, i8* %77, i64 8
  %43 = bitcast i8* %.key._guts._object._object to %swift.bridge**
  store %swift.bridge* %40, %swift.bridge** %43, align 8
  %.value = getelementptr inbounds i8, i8* %77, i64 16
  %.value._value = bitcast i8* %.value to i64*
  store i64 %42, i64* %.value._value, align 8
  %44 = icmp eq i64 %78, %2
  br i1 %44, label %48, label %45

45:                                               ; preds = %34
  %46 = getelementptr inbounds i8, i8* %77, i64 24
  %47 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %40) #4
  br label %73

48:                                               ; preds = %34
  %49 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %40) #4
  br label %.loopexit25

.loopexit25.loopexit70.split.loop.exit:           ; preds = %54
  %50 = extractvalue { i64, i1 } %29, 0
  br label %.loopexit25

51:                                               ; preds = %32
  %.value9._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %30, i32 0, i32 0
  %52 = load i64, i64* %.value9._value, align 8
  %53 = icmp eq i64 %52, 0
  br i1 %53, label %54, label %.loopexit

54:                                               ; preds = %51
  %55 = add nsw i64 %30, 1
  %56 = icmp slt i64 %55, %24
  br i1 %56, label %.preheader, label %.loopexit25.loopexit70.split.loop.exit

.loopexit:                                        ; preds = %.preheader, %51
  %57 = phi i64 [ %30, %51 ], [ %64, %.preheader ]
  %58 = phi i64 [ %52, %51 ], [ %65, %.preheader ]
  %59 = tail call i64 @llvm.cttz.i64(i64 %58, i1 false), !range !14
  %60 = add i64 %58, -1
  %61 = and i64 %60, %58
  %62 = shl i64 %57, 6
  %63 = add i64 %59, %62
  br label %34

.preheader:                                       ; preds = %54, %67
  %64 = phi i64 [ %68, %67 ], [ %55, %54 ]
  %.value10._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %64, i32 0, i32 0
  %65 = load i64, i64* %.value10._value, align 8
  %66 = icmp eq i64 %65, 0
  br i1 %66, label %67, label %.loopexit

67:                                               ; preds = %.preheader
  %68 = add nsw i64 %64, 1
  %69 = icmp slt i64 %68, %24
  br i1 %69, label %.preheader, label %.loopexit25

.loopexit25:                                      ; preds = %32, %67, %48, %18, %.loopexit25.loopexit70.split.loop.exit, %entry
  %.sink85 = phi i64 [ 0, %entry ], [ %50, %.loopexit25.loopexit70.split.loop.exit ], [ %36, %48 ], [ 0, %18 ], [ %27, %67 ], [ %75, %32 ]
  %.sink = phi i64 [ %16, %entry ], [ 0, %.loopexit25.loopexit70.split.loop.exit ], [ %37, %48 ], [ %16, %18 ], [ 0, %67 ], [ 0, %32 ]
  %70 = phi i64 [ 0, %entry ], [ %76, %.loopexit25.loopexit70.split.loop.exit ], [ %2, %48 ], [ %2, %18 ], [ %76, %67 ], [ %76, %32 ]
  %71 = xor i64 %notmask, -1
  %72 = bitcast %TSD8IteratorV* %0 to %swift.bridge**
  store %swift.bridge* %3, %swift.bridge** %72, align 8
  %.iterator8.hashTable.words._rawValue = getelementptr inbounds %TSD8IteratorV, %TSD8IteratorV* %0, i64 0, i32 0, i32 0, i32 1, i32 0, i32 0, i32 0
  store i8* %6, i8** %.iterator8.hashTable.words._rawValue, align 8
  %.iterator8.hashTable.bucketMask._value = getelementptr inbounds %TSD8IteratorV, %TSD8IteratorV* %0, i64 0, i32 0, i32 0, i32 1, i32 0, i32 1, i32 0
  store i64 %71, i64* %.iterator8.hashTable.bucketMask._value, align 8
  %.iterator8.wordIndex._value = getelementptr inbounds %TSD8IteratorV, %TSD8IteratorV* %0, i64 0, i32 0, i32 0, i32 1, i32 1, i32 0
  store i64 %.sink85, i64* %.iterator8.wordIndex._value, align 8
  %.iterator8.word.value._value = getelementptr inbounds %TSD8IteratorV, %TSD8IteratorV* %0, i64 0, i32 0, i32 0, i32 1, i32 2, i32 0, i32 0
  store i64 %.sink, i64* %.iterator8.word.value._value, align 8
  ret i64 %70

73:                                               ; preds = %45, %.lr.ph
  %74 = phi i64 [ %16, %.lr.ph ], [ %37, %45 ]
  %75 = phi i64 [ 0, %.lr.ph ], [ %36, %45 ]
  %76 = phi i64 [ 0, %.lr.ph ], [ %78, %45 ]
  %77 = phi i8* [ %22, %.lr.ph ], [ %46, %45 ]
  %78 = add nuw nsw i64 %76, 1
  %79 = icmp eq i64 %74, 0
  br i1 %79, label %28, label %80

80:                                               ; preds = %73
  %81 = tail call i64 @llvm.cttz.i64(i64 %74, i1 true), !range !14
  %82 = add i64 %74, -1
  %83 = and i64 %82, %74
  %84 = shl i64 %75, 6
  %85 = or i64 %81, %84
  br label %34

86:                                               ; preds = %20
  tail call void asm sideeffect "", "n"(i32 0) #4
  tail call void @llvm.trap()
  unreachable

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare i64 @llvm.cttz.i64(i64, i1 immarg) #5

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

; Function Attrs: minsize optsize
declare swiftcc void @"$ss6HasherV5_seedABSi_tcfC"(%Ts6HasherV* noalias nocapture sret(%Ts6HasherV), i64) local_unnamed_addr #0

; Function Attrs: minsize optsize
declare swiftcc void @"$sSS4hash4intoys6HasherVz_tF"(%Ts6HasherV* nocapture dereferenceable(72), i64, %swift.bridge*) local_unnamed_addr #0

; Function Attrs: minsize optsize
declare swiftcc i64 @"$ss6HasherV9_finalizeSiyF"(%Ts6HasherV* nocapture swiftself dereferenceable(72)) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare %swift.bridge* @swift_bridgeObjectRetain_n(%swift.bridge*, i32) #4

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

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

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