let nmq = readLine()!.split(separator: " ").map { Int($0)! }
let (n, m, q) = (nmq[0], nmq[1], nmq[2])
var a = Array(repeating: 0, count: q)
var b = Array(repeating: 0, count: q)
var c = Array(repeating: 0, count: q)
var d = Array(repeating: 0, count: q)
(0..<q).forEach { i in
  let abcd = readLine()!.split(separator: " ").map { Int($0)! }
  a[i] = abcd[0] - 1
  b[i] = abcd[1] - 1
  c[i] = abcd[2]
  d[i] = abcd[3]
}

func combinations<T: Collection>(_ collection: T, _ length: Int) -> [[T.Element]]? {
  let collection = Array(collection)
  let count = collection.count
  if count < length { return nil }
  var dict = [Int: [Int: [[T.Element]]]]()
  func r(_ index: Int, _ length: Int) -> [[T.Element]] {
    if let result = dict[index]?[length] { return result }
    if length == 0 || index + length > count { return [[]] }
    let result = (index...(count-length)).flatMap { i in
      r(i + 1, length - 1).map { item in [collection[i]] + item }
    }
    dict[index] = dict[index] ?? [Int: [[T.Element]]]()
    dict[index]?[length] = result
    return result
  }
  return r(0, length)
}

let result = combinations(1...m+n-1, n)?.map {
  $0.enumerated().map { $1 - $0 }
}.map { (array: [Int]) -> Int in
  (0..<q).filter {
    array[b[$0]] - array[a[$0]] == c[$0]
  }.map { d[$0] }.reduce(0, +)
}.max() ?? -1

print(result)

; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1267/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_1267/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"

%TSa = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%swift.type = type { i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%struct._SwiftEmptyDictionarySingleton = type { %struct.HeapObject, %struct._SwiftDictionaryBodyStorage, i64 }
%struct._SwiftDictionaryBodyStorage = type { i64, i64, i8, i8, i16, i32, i64, i8*, i8* }
%swift.type_descriptor = type opaque
%swift.protocol_requirement = type { i32, i32 }
%swift.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.protocol_conformance_descriptor = type { i32, i32, i32, i32 }
%TSJ = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%swift.error = type opaque
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.opaque = type opaque
%swift.metadata_response = type { %swift.type*, i64 }
%TSD = type <{ %TSD8_VariantV }>
%TSD8_VariantV = type <{ %Ts14_BridgeStorageV }>
%Ts14_BridgeStorageV = type <{ %swift.bridge* }>
%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* }>
%TSDySiSaySaySiGGGSg = type <{ [8 x i8] }>
%TSNySiG = type <{ %TSi, %TSi }>
%Ts23_ContiguousArrayStorageC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%TSq.1 = type <{}>
%"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame" = type { [32 x i8], i8* }
%Ts16IndexingIteratorVySNySiGG = type <{ %TSNySiG, %TSNsSxRzSZ6StrideRpzrlE5IndexOySi_G }>
%TSNsSxRzSZ6StrideRpzrlE5IndexOySi_G = type <{ [8 x i8], [1 x i8] }>
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%Ts5UInt8V = type <{ i8 }>
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame" = type { [32 x i8], [32 x i8], i8*, i8* }
%"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame" = type { i64, i64, %Ts17_NativeDictionaryV*, i64, i1 }
%Ts13_UnsafeBitsetV4WordV = type <{ %TSu }>
%swift.vwtable = type { i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i64, i64, i32, i32 }

@"$s7llvm_OZ3nmqSaySiGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1nSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ1mSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ1qSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ1aSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1bSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1cSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1dSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ6resultSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@_swiftEmptyDictionarySingleton = external global %struct._SwiftEmptyDictionarySingleton, 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
@"$sSiN" = external global %swift.type, align 8
@"$sSTTL" = external global %swift.protocol_requirement, align 4
@"$s7ElementSTTl" = external global %swift.protocol_requirement, align 4
@"symbolic SDySiSDySiSaySay7ElementSTQzGGGG" = linkonce_odr hidden constant <{ [32 x i8], i8 }> <{ [32 x i8] c"SDySiSDySiSaySay7ElementSTQzGGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [32 x i8], i8 }>* @"symbolic SDySiSDySiSaySay7ElementSTQzGGGG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSiSHsWP" = external global i8*, 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 SNySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SNySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSNySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SNySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSNySiGMD" to i64)) to i32), i32 -6 }, align 8
@"$sSNySiGSNyxGSTsSxRzSZ6StrideRpzrlWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSNyxGSTsSxRzSZ6StrideRpzrlMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSiSxsWP" = external global i8*, align 8
@"$sS2iSZsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSiSZsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSayxGSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$sSayxGSlsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"symbolic _____yyXlG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [5 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, [5 x i8], i8 }>, <{ i8, i32, [5 x i8], i8 }>* @"symbolic _____yyXlG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [5 x i8] c"yyXlG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyyXlGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [5 x i8], i8 }>* @"symbolic _____yyXlG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyyXlGMD" to i64)) to i32), i32 -10 }, align 8
@"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic SaySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySiGMD" to i64)) to i32), i32 -6 }, align 8
@"symbolic SDySiSDySiSaySaySiGGGG" = linkonce_odr hidden constant <{ [22 x i8], i8 }> <{ [22 x i8] c"SDySiSDySiSaySaySiGGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [22 x i8], i8 }>* @"symbolic SDySiSDySiSaySaySiGGGG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@"$ss17_NativeDictionaryVMn" = external global %swift.type_descriptor, align 4
@"got.$ss17_NativeDictionaryVMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss17_NativeDictionaryVMn"
@"symbolic _____ySiSaySaySiGGG s17_NativeDictionaryV" = linkonce_odr hidden constant <{ i8, i32, [14 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, [14 x i8], i8 }>, <{ i8, i32, [14 x i8], i8 }>* @"symbolic _____ySiSaySaySiGGG s17_NativeDictionaryV", i32 0, i32 1) to i64)) to i32), [14 x i8] c"ySiSaySaySiGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss17_NativeDictionaryVySiSaySaySiGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [14 x i8], i8 }>* @"symbolic _____ySiSaySaySiGGG s17_NativeDictionaryV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss17_NativeDictionaryVySiSaySaySiGGGMD" to i64)) to i32), i32 -19 }, align 8
@"symbolic _____ySiSDySiSaySaySiGGGG s17_NativeDictionaryV" = linkonce_odr hidden constant <{ i8, i32, [20 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, [20 x i8], i8 }>, <{ i8, i32, [20 x i8], i8 }>* @"symbolic _____ySiSDySiSaySaySiGGGG s17_NativeDictionaryV", i32 0, i32 1) to i64)) to i32), [20 x i8] c"ySiSDySiSaySaySiGGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss17_NativeDictionaryVySiSDySiSaySaySiGGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [20 x i8], i8 }>* @"symbolic _____ySiSDySiSaySaySiGGGG s17_NativeDictionaryV" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss17_NativeDictionaryVySiSDySiSaySaySiGGGGMD" to i64)) to i32), i32 -25 }, align 8
@"symbolic SDySiSaySaySiGGG" = linkonce_odr hidden constant <{ [16 x i8], i8 }> <{ [16 x i8] c"SDySiSaySaySiGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSDySiSaySaySiGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [16 x i8], i8 }>* @"symbolic SDySiSaySaySiGGG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSDySiSaySaySiGGGMD" to i64)) to i32), i32 -16 }, align 8
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"$sSsN" = external global %swift.type, align 8
@"$sSss25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sS2sSTsWL" = linkonce_odr hidden local_unnamed_addr global i8** null, align 8
@"$sSsSTsMc" = external global %swift.protocol_conformance_descriptor, align 4
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.5" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.5", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.7 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.6, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.5" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.8" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.8", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.10 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.9, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.8" to i8*) }, align 8
@"symbolic _____ySsG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySsGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySsG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySsGMD" to i64)) to i32), i32 -9 }, align 8
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [77 x i8] c"-lswift_Concurrency\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [8 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.5" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.8" to i8*), i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([77 x i8], [77 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:
  %2 = alloca %TSJ, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %.sroa.6 = alloca i8, align 8
  %4 = alloca %TSi, align 8
  %5 = alloca %Ts15ContiguousArrayV, align 8
  %6 = alloca %Ts15ContiguousArrayV, align 8
  %7 = alloca %Ts15ContiguousArrayV, align 8
  %8 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch54 = alloca [24 x i8], align 8
  %access-scratch55 = alloca [24 x i8], align 8
  %9 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch73 = alloca [24 x i8], align 8
  %10 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %11 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %12 = extractvalue { i64, i64 } %11, 1
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %408, label %14

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

26:                                               ; preds = %14
  %27 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %27) #6
  br label %37

28:                                               ; preds = %14
  %29 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %29)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %24, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %30 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1
  %tailaddr._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %30 to i64*
  %31 = load i64, i64* %tailaddr._slice._startIndex._rawBits._value, align 8
  %tailaddr._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1, i32 0, i32 1
  %32 = load i64, i64* %tailaddr._slice._endIndex, align 8
  %.unshifted = xor i64 %32, %31
  %33 = icmp ult i64 %.unshifted, 16384
  br i1 %33, label %409, label %34, !prof !7

34:                                               ; preds = %28
  %tailaddr._slice._base._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1, i32 1, i32 0, i32 1
  %tailaddr._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 1, i32 1, i32 0, i32 0, i32 0
  %35 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %10 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %10, i64 0, i32 0, i32 0
  %.elt103._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %10, i64 0, i32 1, i32 0
  %36 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %10 to i64
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast196 = bitcast i8* %.sroa.6 to i1*
  br label %61

37:                                               ; preds = %26, %126
  %38 = phi %Ts28__ContiguousArrayStorageBaseC* [ %123, %126 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %26 ]
  store %Ts28__ContiguousArrayStorageBaseC* %38, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3nmqSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 0, i32 1, i32 0, i32 0, i32 0
  %39 = load i64, i64* %._storage11.count._value, align 8, !range !6
  %.not153 = icmp eq i64 %39, 0
  br i1 %.not153, label %412, label %40, !prof !7

40:                                               ; preds = %37
  %41 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1
  %tailaddr12._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %41 to i64*
  %42 = load i64, i64* %tailaddr12._value, align 8
  store i64 %42, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  %43 = icmp eq i64 %39, 1
  br i1 %43, label %413, label %44, !prof !7

44:                                               ; preds = %40
  %45 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1, i32 0, i32 1
  %46 = load i64, i64* %45, align 8
  store i64 %46, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1mSivp", i64 0, i32 0), align 8
  %47 = icmp ult i64 %39, 3
  br i1 %47, label %414, label %48, !prof !7

48:                                               ; preds = %44
  %._value14 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 1, i32 1, i32 0, i32 0, i32 0
  %49 = load i64, i64* %._value14, align 8
  store i64 %49, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1qSivp", i64 0, i32 0), align 8
  %50 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 0, i64 %49)
  store %Ts28__ContiguousArrayStorageBaseC* %50, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSaySiGvp", i64 0, i32 0, i32 0), align 8
  %51 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1qSivp", i64 0, i32 0), align 8
  %52 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 0, i64 %51)
  store %Ts28__ContiguousArrayStorageBaseC* %52, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  %53 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1qSivp", i64 0, i32 0), align 8
  %54 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 0, i64 %53)
  store %Ts28__ContiguousArrayStorageBaseC* %54, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1cSaySiGvp", i64 0, i32 0, i32 0), align 8
  %55 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1qSivp", i64 0, i32 0), align 8
  %56 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa9repeating5countSayxGx_SitcfCSi_Tg5"(i64 0, i64 %55)
  store %Ts28__ContiguousArrayStorageBaseC* %56, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1dSaySiGvp", i64 0, i32 0, i32 0), align 8
  %57 = icmp slt i64 %55, 0
  br i1 %57, label %415, label %58, !prof !7

58:                                               ; preds = %48
  %59 = icmp eq i64 %55, 0
  br i1 %59, label %.loopexit176, label %.preheader

.preheader:                                       ; preds = %58
  %60 = bitcast %TSi* %4 to i8*
  %._value15 = getelementptr inbounds %TSi, %TSi* %4, i64 0, i32 0
  br label %153

61:                                               ; preds = %133, %34
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %133 ], [ %tailaddr._slice._base._guts._object._object, %34 ]
  %62 = phi i64 [ %134, %133 ], [ 1, %34 ]
  %63 = phi i64 [ %130, %133 ], [ %31, %34 ]
  %64 = phi i64 [ %131, %133 ], [ %32, %34 ]
  %.in226 = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %133 ], [ %tailaddr._slice._base._guts._object._countAndFlagsBits._value, %34 ]
  %.sink.in = bitcast %TSu* %.sink.in.in to %swift.bridge**
  %.sink = load %swift.bridge*, %swift.bridge** %.sink.in, align 8
  %65 = load i64, i64* %.in226, align 8
  %66 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %.sink) #6
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %67 = ptrtoint %swift.bridge* %.sink to i64
  %68 = and i64 %67, 1152921504606846976
  %69 = icmp eq i64 %68, 0
  br i1 %69, label %70, label %102, !prof !8

70:                                               ; preds = %61
  %71 = and i64 %67, 2305843009213693952
  %72 = icmp eq i64 %71, 0
  br i1 %72, label %73, label %76

73:                                               ; preds = %70
  %74 = and i64 %65, 1152921504606846976
  %75 = icmp eq i64 %74, 0
  br i1 %75, label %85, label %89, !prof !7

76:                                               ; preds = %70
  %77 = lshr i64 %67, 56
  %78 = and i64 %77, 15
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %35)
  %79 = and i64 %67, 72057594037927935
  store i64 %65, i64* %.elt._value, align 8
  store i64 %79, i64* %.elt103._value, align 8
  %80 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_n"(i64 %36, i64 %78, i64 %63, i64 %64, i64 %65, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %81 = extractvalue { i64, i8 } %80, 1
  %82 = and i8 %81, 1
  %83 = icmp ne i8 %82, 0
  %84 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not169 = icmp eq %swift.error* %84, null
  call void @llvm.assume(i1 %.not169)
  store i1 %83, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %35)
  br label %101

85:                                               ; preds = %73
  %86 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %65, %swift.bridge* %.sink)
  %87 = extractvalue { i64, i64 } %86, 0
  %88 = extractvalue { i64, i64 } %86, 1
  br label %93

89:                                               ; preds = %73
  %90 = and i64 %67, 1152921504606846975
  %91 = add nuw nsw i64 %90, 32
  %92 = and i64 %65, 281474976710655
  br label %93

93:                                               ; preds = %85, %89
  %94 = phi i64 [ %91, %89 ], [ %87, %85 ]
  %95 = phi i64 [ %92, %89 ], [ %88, %85 ]
  %96 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_n"(i64 %94, i64 %95, i64 %63, i64 %64, i64 %65, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %97 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not170 = icmp eq %swift.error* %97, null
  call void @llvm.assume(i1 %.not170)
  %98 = extractvalue { i64, i8 } %96, 1
  %99 = and i8 %98, 1
  %100 = icmp ne i8 %99, 0
  store i1 %100, i1* %.sroa.6.0.sroa_cast196, align 8
  br label %101

101:                                              ; preds = %76, %93
  %.pn = phi { i64, i8 } [ %96, %93 ], [ %80, %76 ]
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  br label %105

102:                                              ; preds = %61
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %103 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %63, i64 %64, i64 %65, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  %104 = extractvalue { i64, i8 } %103, 1
  br label %105

105:                                              ; preds = %101, %102
  %.pn227 = phi { i64, i8 } [ %103, %102 ], [ %.pn, %101 ]
  %.in.in = phi i8 [ %104, %102 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %101 ]
  %106 = extractvalue { i64, i8 } %.pn227, 0
  %.in = and i8 %.in.in, 1
  %.not168 = icmp eq i8 %.in, 0
  br i1 %.not168, label %107, label %410

107:                                              ; preds = %105
  %108 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %109 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %108, i64 0, i32 0
  %110 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %109) #21
  br i1 %110, label %114, label %111

111:                                              ; preds = %107
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %108, i64 0, i32 1, i32 0, i32 0, i32 0
  %112 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %113 = add nuw nsw i64 %112, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %113, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %114

114:                                              ; preds = %107, %111
  %115 = phi %Ts28__ContiguousArrayStorageBaseC* [ %108, %107 ], [ %.pre, %111 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %115, i64 0, i32 1, i32 0, i32 0, i32 0
  %116 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %115, i64 0, i32 1, i32 0, i32 1, i32 0
  %117 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %118 = lshr i64 %117, 1
  %119 = add nuw nsw i64 %116, 1
  %.not = icmp ugt i64 %118, %116
  br i1 %.not, label %122, label %120, !prof !8

120:                                              ; preds = %114
  %121 = icmp ugt i64 %117, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %121, i64 %119, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre199 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %122

122:                                              ; preds = %114, %120
  %123 = phi %Ts28__ContiguousArrayStorageBaseC* [ %115, %114 ], [ %.pre199, %120 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %119, i64* %._storage7.count._value, align 8
  %124 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %123, i64 1
  %tailaddr8 = bitcast %Ts28__ContiguousArrayStorageBaseC* %124 to %TSi*
  %._value9 = getelementptr inbounds %TSi, %TSi* %tailaddr8, i64 %116, i32 0
  store i64 %106, i64* %._value9, align 8
  %125 = icmp eq i64 %62, %24
  br i1 %125, label %126, label %128

126:                                              ; preds = %122
  %127 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %127) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %29)
  br label %37

128:                                              ; preds = %122
  %129 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %30, i64 %62
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %129 to i64*
  %130 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 0, i32 0, i32 1
  %131 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted152 = xor i64 %131, %130
  %132 = icmp ult i64 %.unshifted152, 16384
  br i1 %132, label %411, label %133, !prof !7

133:                                              ; preds = %128
  %134 = add nuw nsw i64 %62, 1
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %129, i64 0, i32 1
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  br label %61

.loopexit176:                                     ; preds = %153, %58
  %135 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1mSivp", i64 0, i32 0), align 8
  %136 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  %137 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %135, i64 %136)
  %138 = extractvalue { i64, i1 } %137, 1
  br i1 %138, label %416, label %139, !prof !7

139:                                              ; preds = %.loopexit176
  %140 = extractvalue { i64, i1 } %137, 0
  %141 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %140, i64 -1)
  %142 = extractvalue { i64, i1 } %141, 0
  %143 = extractvalue { i64, i1 } %141, 1
  br i1 %143, label %417, label %144, !prof !7

144:                                              ; preds = %139
  %145 = icmp slt i64 %142, 1
  br i1 %145, label %418, label %146, !prof !7

146:                                              ; preds = %144
  %147 = call swiftcc i64 @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlFSNySiG_Tg5"(i64 1, i64 %142, i64 %136)
  %148 = icmp eq i64 %147, 0
  br i1 %148, label %400, label %149

149:                                              ; preds = %146
  %150 = inttoptr i64 %147 to %Ts28__ContiguousArrayStorageBaseC*
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %150, i64 0, i32 1, i32 0, i32 0, i32 0
  %151 = load i64, i64* %._storage19.count._value, align 8, !range !6
  %152 = icmp eq i64 %151, 0
  br i1 %152, label %157, label %159

153:                                              ; preds = %.preheader, %153
  %154 = phi i64 [ %155, %153 ], [ 0, %.preheader ]
  %155 = add nuw nsw i64 %154, 1
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %60)
  store i64 %154, i64* %._value15, align 8
  call swiftcc void @"$s7llvm_OZySiXEfU0_"(%TSi* noalias nocapture nonnull dereferenceable(8) %4, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %60)
  %156 = icmp eq i64 %155, %55
  br i1 %156, label %.loopexit176, label %153

157:                                              ; preds = %149
  %158 = inttoptr i64 %147 to %swift.refcounted*
  call void @swift_release(%swift.refcounted* nonnull %158) #6
  br label %164

159:                                              ; preds = %149
  %160 = bitcast %Ts15ContiguousArrayV* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %160)
  %._buffer20._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %5, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %151, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %5)
  %161 = inttoptr i64 %147 to i8*
  %162 = getelementptr inbounds i8, i8* %161, i64 32
  %tailaddr23 = bitcast i8* %162 to %TSa*
  %163 = bitcast %Ts15ContiguousArrayV* %6 to i8*
  %._buffer25._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %6, i64 0, i32 0, i32 0
  br label %168

164:                                              ; preds = %157, %230
  %165 = phi %Ts28__ContiguousArrayStorageBaseC* [ %200, %230 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %157 ]
  %._storage45.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 1, i32 0, i32 0, i32 0
  %166 = load i64, i64* %._storage45.count._value, align 8, !range !6
  %167 = icmp eq i64 %166, 0
  br i1 %167, label %232, label %234

168:                                              ; preds = %159, %199
  %169 = phi i64 [ 0, %159 ], [ %170, %199 ]
  %170 = add nuw nsw i64 %169, 1
  %._buffer24._storage = getelementptr inbounds %TSa, %TSa* %tailaddr23, i64 %169, i32 0, i32 0
  %171 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer24._storage, align 8
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %163)
  %172 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage, align 8
  %173 = bitcast %Ts28__ContiguousArrayStorageBaseC* %171 to %swift.refcounted*
  %174 = call %swift.refcounted* @swift_retain_n(%swift.refcounted* %173, i32 2)
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 0, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %._storage28.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 0, i32 1, i32 0, i32 0, i32 0
  %175 = load i64, i64* %._storage28.count._value, align 8, !range !6
  %176 = icmp eq i64 %175, 0
  br i1 %176, label %180, label %177

177:                                              ; preds = %168
  %178 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %171, i64 1
  %tailaddr29 = bitcast %Ts28__ContiguousArrayStorageBaseC* %178 to %TSi*
  %179 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %172) #21
  br label %203

180:                                              ; preds = %168
  %181 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage, align 8
  br label %182

182:                                              ; preds = %180, %229
  %183 = phi %Ts28__ContiguousArrayStorageBaseC* [ %225, %229 ], [ %181, %180 ]
  %184 = bitcast %Ts28__ContiguousArrayStorageBaseC* %171 to %swift.refcounted*
  call void @swift_release_n(%swift.refcounted* %184, i32 2)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %163)
  %185 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  %186 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 0, i32 0
  %187 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %186) #21
  br i1 %187, label %191, label %188

188:                                              ; preds = %182
  %._storage39.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %185, i64 0, i32 1, i32 0, i32 0, i32 0
  %189 = load i64, i64* %._storage39.count._value, align 8, !range !6
  %190 = add nuw nsw i64 %189, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %190, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %5)
  %.pre202 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  br label %191

191:                                              ; preds = %182, %188
  %192 = phi %Ts28__ContiguousArrayStorageBaseC* [ %185, %182 ], [ %.pre202, %188 ]
  %._storage40.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %192, i64 0, i32 1, i32 0, i32 0, i32 0
  %193 = load i64, i64* %._storage40.count._value, align 8, !range !6
  %._storage40._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %192, i64 0, i32 1, i32 0, i32 1, i32 0
  %194 = load i64, i64* %._storage40._capacityAndFlags._value, align 8
  %195 = lshr i64 %194, 1
  %196 = add nuw nsw i64 %193, 1
  %.not156 = icmp ugt i64 %195, %193
  br i1 %.not156, label %199, label %197, !prof !8

197:                                              ; preds = %191
  %198 = icmp ugt i64 %194, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 %198, i64 %196, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %5)
  %.pre203 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  br label %199

199:                                              ; preds = %191, %197
  %200 = phi %Ts28__ContiguousArrayStorageBaseC* [ %192, %191 ], [ %.pre203, %197 ]
  %._storage41.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %200, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %196, i64* %._storage41.count._value, align 8
  %201 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %200, i64 1
  %tailaddr42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %201 to %TSa*
  %._buffer43._storage = getelementptr inbounds %TSa, %TSa* %tailaddr42, i64 %193, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %183, %Ts28__ContiguousArrayStorageBaseC** %._buffer43._storage, align 8
  %202 = icmp eq i64 %170, %151
  br i1 %202, label %230, label %168

203:                                              ; preds = %224, %177
  %204 = phi i64 [ 0, %177 ], [ %226, %224 ]
  %._value30 = getelementptr inbounds %TSi, %TSi* %tailaddr29, i64 %204, i32 0
  %205 = load i64, i64* %._value30, align 8
  %206 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %205, i64 %204)
  %207 = extractvalue { i64, i1 } %206, 0
  %208 = extractvalue { i64, i1 } %206, 1
  br i1 %208, label %419, label %209, !prof !7

209:                                              ; preds = %203
  %210 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage, align 8
  %211 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %210, i64 0, i32 0
  %212 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %211) #21
  br i1 %212, label %216, label %213

213:                                              ; preds = %209
  %._storage32.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %210, i64 0, i32 1, i32 0, i32 0, i32 0
  %214 = load i64, i64* %._storage32.count._value, align 8, !range !6
  %215 = add nuw nsw i64 %214, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %215, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %.pre200 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage, align 8
  br label %216

216:                                              ; preds = %209, %213
  %217 = phi %Ts28__ContiguousArrayStorageBaseC* [ %210, %209 ], [ %.pre200, %213 ]
  %._storage33.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %217, i64 0, i32 1, i32 0, i32 0, i32 0
  %218 = load i64, i64* %._storage33.count._value, align 8, !range !6
  %._storage33._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %217, i64 0, i32 1, i32 0, i32 1, i32 0
  %219 = load i64, i64* %._storage33._capacityAndFlags._value, align 8
  %220 = lshr i64 %219, 1
  %221 = add nuw nsw i64 %218, 1
  %.not155 = icmp ugt i64 %220, %218
  br i1 %.not155, label %224, label %222, !prof !8

222:                                              ; preds = %216
  %223 = icmp ugt i64 %219, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %223, i64 %221, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %6)
  %.pre201 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer25._storage, align 8
  br label %224

224:                                              ; preds = %216, %222
  %225 = phi %Ts28__ContiguousArrayStorageBaseC* [ %217, %216 ], [ %.pre201, %222 ]
  %226 = add nuw nsw i64 %204, 1
  %._storage34.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %225, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %221, i64* %._storage34.count._value, align 8
  %227 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %225, i64 1
  %tailaddr35 = bitcast %Ts28__ContiguousArrayStorageBaseC* %227 to %TSi*
  %._value36 = getelementptr inbounds %TSi, %TSi* %tailaddr35, i64 %218, i32 0
  store i64 %207, i64* %._value36, align 8
  %228 = icmp eq i64 %226, %175
  br i1 %228, label %229, label %203

229:                                              ; preds = %224
  call void @swift_release(%swift.refcounted* %172) #6
  br label %182

230:                                              ; preds = %199
  %231 = inttoptr i64 %147 to %swift.refcounted*
  call void @swift_release(%swift.refcounted* nonnull %231) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %160)
  br label %164

232:                                              ; preds = %164
  %233 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %233) #6
  br label %243

234:                                              ; preds = %164
  %235 = bitcast %Ts15ContiguousArrayV* %7 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %235)
  %._buffer46._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %7, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer46._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %166, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %7)
  %236 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 1
  %tailaddr49 = bitcast %Ts28__ContiguousArrayStorageBaseC* %236 to %TSa*
  %237 = bitcast %Ts15ContiguousArrayV* %8 to i8*
  %._buffer51._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %8, i64 0, i32 0, i32 0
  %238 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  %239 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch54, i64 0, i64 0
  %240 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch55, i64 0, i64 0
  %241 = bitcast %Ts15ContiguousArrayV* %9 to i8*
  %._buffer69._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %9, i64 0, i32 0, i32 0
  %242 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch73, i64 0, i64 0
  br label %250

243:                                              ; preds = %232, %398
  %244 = phi %Ts28__ContiguousArrayStorageBaseC* [ %383, %398 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %232 ]
  %245 = call swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* nonnull %244)
  %246 = extractvalue { i64, i8 } %245, 1
  %247 = and i8 %246, 1
  %.not166 = icmp eq i8 %247, 0
  %248 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %244, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %248) #6
  %249 = extractvalue { i64, i8 } %245, 0
  %spec.select = select i1 %.not166, i64 %249, i64 -1
  br label %400

250:                                              ; preds = %234, %382
  %251 = phi i64 [ 0, %234 ], [ %252, %382 ]
  %252 = add nuw nsw i64 %251, 1
  %._buffer50._storage = getelementptr inbounds %TSa, %TSa* %tailaddr49, i64 %251, i32 0, i32 0
  %253 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer50._storage, align 8
  %254 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1qSivp", i64 0, i32 0), align 8
  %255 = icmp slt i64 %254, 0
  br i1 %255, label %420, label %256, !prof !7

256:                                              ; preds = %250
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %237)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer51._storage, align 8
  %257 = icmp eq i64 %254, 0
  br i1 %257, label %262, label %258

258:                                              ; preds = %256
  %259 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %253, i64 1
  %tailaddr52 = bitcast %Ts28__ContiguousArrayStorageBaseC* %259 to %TSi*
  %._storage53.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %253, i64 0, i32 1, i32 0, i32 0, i32 0
  %260 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %253, i64 0, i32 0
  %261 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %260) #21
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %238)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1bSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #6
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %239)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1aSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch54, i64 0, i8* null) #6
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %240)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1cSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch55, i64 0, i8* null) #6
  %.pre205 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %268

262:                                              ; preds = %256
  %263 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %253, i64 0, i32 0
  %264 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %263) #21
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %317
  %.pre208 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer51._storage, align 8
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %262
  %265 = phi %Ts28__ContiguousArrayStorageBaseC* [ %.pre208, %.loopexit.loopexit ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %262 ]
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %237)
  %._storage68.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %265, i64 0, i32 1, i32 0, i32 0, i32 0
  %266 = load i64, i64* %._storage68.count._value, align 8, !range !6
  %267 = icmp eq i64 %266, 0
  br i1 %267, label %323, label %325

268:                                              ; preds = %258, %317
  %269 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %258 ], [ %318, %317 ]
  %270 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %258 ], [ %319, %317 ]
  %271 = phi %Ts28__ContiguousArrayStorageBaseC* [ %.pre205, %258 ], [ %320, %317 ]
  %272 = phi i64 [ 0, %258 ], [ %321, %317 ]
  %._storage56.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %271, i64 0, i32 1, i32 0, i32 0, i32 0
  %273 = load i64, i64* %._storage56.count._value, align 8, !range !6
  %.not158 = icmp ult i64 %272, %273
  br i1 %.not158, label %274, label %421, !prof !8

274:                                              ; preds = %268
  %275 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %271, i64 1
  %tailaddr57 = bitcast %Ts28__ContiguousArrayStorageBaseC* %275 to %TSi*
  %._value58 = getelementptr inbounds %TSi, %TSi* %tailaddr57, i64 %272, i32 0
  %276 = load i64, i64* %._value58, align 8
  %277 = icmp slt i64 %276, 0
  br i1 %277, label %422, label %278, !prof !7

278:                                              ; preds = %274
  %279 = load i64, i64* %._storage53.count._value, align 8, !range !6
  %.not159 = icmp ult i64 %276, %279
  br i1 %.not159, label %280, label %423, !prof !8

280:                                              ; preds = %278
  %._value59 = getelementptr inbounds %TSi, %TSi* %tailaddr52, i64 %276, i32 0
  %281 = load i64, i64* %._value59, align 8
  %282 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage60.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %282, i64 0, i32 1, i32 0, i32 0, i32 0
  %283 = load i64, i64* %._storage60.count._value, align 8, !range !6
  %.not160 = icmp ult i64 %272, %283
  br i1 %.not160, label %284, label %424, !prof !8

284:                                              ; preds = %280
  %285 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %282, i64 1
  %tailaddr61 = bitcast %Ts28__ContiguousArrayStorageBaseC* %285 to %TSi*
  %._value62 = getelementptr inbounds %TSi, %TSi* %tailaddr61, i64 %272, i32 0
  %286 = load i64, i64* %._value62, align 8
  %.not161 = icmp ult i64 %286, %279
  br i1 %.not161, label %287, label %425, !prof !8

287:                                              ; preds = %284
  %._value63 = getelementptr inbounds %TSi, %TSi* %tailaddr52, i64 %286, i32 0
  %288 = load i64, i64* %._value63, align 8
  %289 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %281, i64 %288)
  %290 = extractvalue { i64, i1 } %289, 0
  %291 = extractvalue { i64, i1 } %289, 1
  br i1 %291, label %426, label %292, !prof !7

292:                                              ; preds = %287
  %293 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1cSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage64.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %293, i64 0, i32 1, i32 0, i32 0, i32 0
  %294 = load i64, i64* %._storage64.count._value, align 8, !range !6
  %.not162 = icmp ult i64 %272, %294
  br i1 %.not162, label %295, label %427, !prof !8

295:                                              ; preds = %292
  %296 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %293, i64 1
  %tailaddr65 = bitcast %Ts28__ContiguousArrayStorageBaseC* %296 to %TSi*
  %._value66 = getelementptr inbounds %TSi, %TSi* %tailaddr65, i64 %272, i32 0
  %297 = load i64, i64* %._value66, align 8
  %298 = icmp eq i64 %290, %297
  br i1 %298, label %299, label %317

299:                                              ; preds = %295
  %300 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %270, i64 0, i32 0
  %301 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %300) #21
  br i1 %301, label %305, label %302

302:                                              ; preds = %299
  %._storage97.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %270, i64 0, i32 1, i32 0, i32 0, i32 0
  %303 = load i64, i64* %._storage97.count._value, align 8, !range !6
  %304 = add nuw nsw i64 %303, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %304, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %8)
  %.pre206 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer51._storage, align 8
  br label %305

305:                                              ; preds = %299, %302
  %306 = phi %Ts28__ContiguousArrayStorageBaseC* [ %269, %299 ], [ %.pre206, %302 ]
  %307 = phi %Ts28__ContiguousArrayStorageBaseC* [ %270, %299 ], [ %.pre206, %302 ]
  %._storage98.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %307, i64 0, i32 1, i32 0, i32 0, i32 0
  %308 = load i64, i64* %._storage98.count._value, align 8, !range !6
  %._storage98._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %307, i64 0, i32 1, i32 0, i32 1, i32 0
  %309 = load i64, i64* %._storage98._capacityAndFlags._value, align 8
  %310 = lshr i64 %309, 1
  %311 = add nuw nsw i64 %308, 1
  %.not167 = icmp ugt i64 %310, %308
  br i1 %.not167, label %314, label %312, !prof !8

312:                                              ; preds = %305
  %313 = icmp ugt i64 %309, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %313, i64 %311, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %8)
  %.pre207 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer51._storage, align 8
  br label %314

314:                                              ; preds = %305, %312
  %315 = phi %Ts28__ContiguousArrayStorageBaseC* [ %306, %305 ], [ %.pre207, %312 ]
  %._storage99.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %315, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %311, i64* %._storage99.count._value, align 8
  %316 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %315, i64 1
  %tailaddr100 = bitcast %Ts28__ContiguousArrayStorageBaseC* %316 to %TSi*
  %._value101 = getelementptr inbounds %TSi, %TSi* %tailaddr100, i64 %308, i32 0
  store i64 %272, i64* %._value101, align 8
  %.pre204 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %317

317:                                              ; preds = %295, %314
  %318 = phi %Ts28__ContiguousArrayStorageBaseC* [ %269, %295 ], [ %315, %314 ]
  %319 = phi %Ts28__ContiguousArrayStorageBaseC* [ %270, %295 ], [ %315, %314 ]
  %320 = phi %Ts28__ContiguousArrayStorageBaseC* [ %271, %295 ], [ %.pre204, %314 ]
  %321 = add nuw nsw i64 %272, 1
  %322 = icmp eq i64 %321, %254
  br i1 %322, label %.loopexit.loopexit, label %268

323:                                              ; preds = %.loopexit
  %324 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %265, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %324) #6
  br label %327

325:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %241)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %266, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %9)
  %326 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %265, i64 1
  %tailaddr72 = bitcast %Ts28__ContiguousArrayStorageBaseC* %326 to %TSi*
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %242)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1dSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch73, i64 0, i8* null) #6
  br label %331

327:                                              ; preds = %323, %360
  %328 = phi %Ts28__ContiguousArrayStorageBaseC* [ %356, %360 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %323 ]
  %._storage85.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %328, i64 0, i32 1, i32 0, i32 0, i32 0
  %329 = load i64, i64* %._storage85.count._value, align 8, !range !6
  %330 = icmp eq i64 %329, 0
  br i1 %330, label %364, label %362

331:                                              ; preds = %355, %325
  %332 = phi i64 [ 0, %325 ], [ %357, %355 ]
  %._value74 = getelementptr inbounds %TSi, %TSi* %tailaddr72, i64 %332, i32 0
  %333 = load i64, i64* %._value74, align 8
  %334 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1dSaySiGvp", i64 0, i32 0, i32 0), align 8
  %335 = icmp slt i64 %333, 0
  br i1 %335, label %428, label %336, !prof !7

336:                                              ; preds = %331
  %._storage75.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %334, i64 0, i32 1, i32 0, i32 0, i32 0
  %337 = load i64, i64* %._storage75.count._value, align 8, !range !6
  %.not163 = icmp ult i64 %333, %337
  br i1 %.not163, label %338, label %429, !prof !8

338:                                              ; preds = %336
  %339 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %334, i64 1
  %tailaddr76 = bitcast %Ts28__ContiguousArrayStorageBaseC* %339 to %TSi*
  %._value77 = getelementptr inbounds %TSi, %TSi* %tailaddr76, i64 %333, i32 0
  %340 = load i64, i64* %._value77, align 8
  %341 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage, align 8
  %342 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 0
  %343 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %342) #21
  br i1 %343, label %347, label %344

344:                                              ; preds = %338
  %._storage79.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %341, i64 0, i32 1, i32 0, i32 0, i32 0
  %345 = load i64, i64* %._storage79.count._value, align 8, !range !6
  %346 = add nuw nsw i64 %345, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %346, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %9)
  %.pre209 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage, align 8
  br label %347

347:                                              ; preds = %338, %344
  %348 = phi %Ts28__ContiguousArrayStorageBaseC* [ %341, %338 ], [ %.pre209, %344 ]
  %._storage80.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 0, i32 1, i32 0, i32 0, i32 0
  %349 = load i64, i64* %._storage80.count._value, align 8, !range !6
  %._storage80._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %348, i64 0, i32 1, i32 0, i32 1, i32 0
  %350 = load i64, i64* %._storage80._capacityAndFlags._value, align 8
  %351 = lshr i64 %350, 1
  %352 = add nuw nsw i64 %349, 1
  %.not164 = icmp ugt i64 %351, %349
  br i1 %.not164, label %355, label %353, !prof !8

353:                                              ; preds = %347
  %354 = icmp ugt i64 %350, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %354, i64 %352, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %9)
  %.pre210 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer69._storage, align 8
  br label %355

355:                                              ; preds = %347, %353
  %356 = phi %Ts28__ContiguousArrayStorageBaseC* [ %348, %347 ], [ %.pre210, %353 ]
  %357 = add nuw nsw i64 %332, 1
  %._storage81.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %356, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %352, i64* %._storage81.count._value, align 8
  %358 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %356, i64 1
  %tailaddr82 = bitcast %Ts28__ContiguousArrayStorageBaseC* %358 to %TSi*
  %._value83 = getelementptr inbounds %TSi, %TSi* %tailaddr82, i64 %349, i32 0
  store i64 %340, i64* %._value83, align 8
  %359 = icmp eq i64 %357, %266
  br i1 %359, label %360, label %331

360:                                              ; preds = %355
  %361 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %265, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %361) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %241)
  br label %327

362:                                              ; preds = %327
  %363 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %328, i64 1
  %tailaddr86 = bitcast %Ts28__ContiguousArrayStorageBaseC* %363 to %TSi*
  br label %386

364:                                              ; preds = %327, %396
  %365 = phi i64 [ %397, %396 ], [ 0, %327 ]
  %366 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %328, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %366) #6
  %367 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %253, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %367) #6
  %368 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer46._storage, align 8
  %369 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %368, i64 0, i32 0
  %370 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %369) #21
  br i1 %370, label %374, label %371

371:                                              ; preds = %364
  %._storage89.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %368, i64 0, i32 1, i32 0, i32 0, i32 0
  %372 = load i64, i64* %._storage89.count._value, align 8, !range !6
  %373 = add nuw nsw i64 %372, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %373, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %7)
  %.pre211 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer46._storage, align 8
  br label %374

374:                                              ; preds = %364, %371
  %375 = phi %Ts28__ContiguousArrayStorageBaseC* [ %368, %364 ], [ %.pre211, %371 ]
  %._storage90.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %375, i64 0, i32 1, i32 0, i32 0, i32 0
  %376 = load i64, i64* %._storage90.count._value, align 8, !range !6
  %._storage90._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %375, i64 0, i32 1, i32 0, i32 1, i32 0
  %377 = load i64, i64* %._storage90._capacityAndFlags._value, align 8
  %378 = lshr i64 %377, 1
  %379 = add nuw nsw i64 %376, 1
  %.not165 = icmp ugt i64 %378, %376
  br i1 %.not165, label %382, label %380, !prof !8

380:                                              ; preds = %374
  %381 = icmp ugt i64 %377, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %381, i64 %379, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %7)
  %.pre212 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer46._storage, align 8
  br label %382

382:                                              ; preds = %374, %380
  %383 = phi %Ts28__ContiguousArrayStorageBaseC* [ %375, %374 ], [ %.pre212, %380 ]
  %._storage91.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %383, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %379, i64* %._storage91.count._value, align 8
  %384 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %383, i64 1
  %tailaddr92 = bitcast %Ts28__ContiguousArrayStorageBaseC* %384 to %TSi*
  %._value93 = getelementptr inbounds %TSi, %TSi* %tailaddr92, i64 %376, i32 0
  store i64 %365, i64* %._value93, align 8
  %385 = icmp eq i64 %252, %166
  br i1 %385, label %398, label %250

386:                                              ; preds = %392, %362
  %387 = phi i64 [ 0, %362 ], [ %394, %392 ]
  %388 = phi i64 [ 0, %362 ], [ %393, %392 ]
  %._value87 = getelementptr inbounds %TSi, %TSi* %tailaddr86, i64 %387, i32 0
  %389 = load i64, i64* %._value87, align 8
  %390 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %388, i64 %389)
  %391 = extractvalue { i64, i1 } %390, 1
  br i1 %391, label %430, label %392, !prof !7

392:                                              ; preds = %386
  %393 = extractvalue { i64, i1 } %390, 0
  %394 = add nuw nsw i64 %387, 1
  %395 = icmp eq i64 %394, %329
  br i1 %395, label %396, label %386

396:                                              ; preds = %392
  %397 = extractvalue { i64, i1 } %390, 0
  br label %364

398:                                              ; preds = %382
  %399 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %399) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %235)
  br label %243

400:                                              ; preds = %243, %146
  %storemerge = phi i64 [ -1, %146 ], [ %spec.select, %243 ]
  store i64 %storemerge, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ6resultSivp", i64 0, i32 0), align 8
  %401 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #22
  %402 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %401, i64 64, i64 7) #6
  %403 = bitcast %swift.refcounted* %402 to %Ts28__ContiguousArrayStorageBaseC*
  %404 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 1
  %._storage16.count._value = bitcast %swift.refcounted* %404 to i64*
  store i64 1, i64* %._storage16.count._value, align 8
  %._storage16._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 1, i32 1
  store i64 2, i64* %._storage16._capacityAndFlags, align 8
  %405 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 2
  %406 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %402, i64 3, i32 1
  %407 = bitcast i64* %406 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %407, align 8
  %._value18 = bitcast %swift.refcounted* %405 to i64*
  store i64 %storemerge, i64* %._value18, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %403, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  call void @swift_release(%swift.refcounted* %402) #6
  ret i32 0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9:                                                ; preds = %entry
  %10 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %10) #6
  br label %15

11:                                               ; preds = %entry
  %12 = bitcast %Ts15ContiguousArrayV* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %12)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %5, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 false, i64 %7, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %5)
  %13 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %13 to %TSa*
  %14 = icmp slt i64 %2, 0
  br i1 %14, label %48, label %17, !prof !7

15:                                               ; preds = %9, %46
  %16 = phi %Ts28__ContiguousArrayStorageBaseC* [ %43, %46 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %9 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %16

17:                                               ; preds = %11
  %18 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %19 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 1
  %tailaddr2 = bitcast %Ts28__ContiguousArrayStorageBaseC* %19 to %TSi*
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 1, i32 0, i32 0, i32 0
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr2, i64 %2, i32 0
  %20 = bitcast %swift.refcounted** %6 to i8*
  %._buffer7._storage = bitcast %swift.refcounted** %6 to %Ts28__ContiguousArrayStorageBaseC**
  br label %21

21:                                               ; preds = %17, %42
  %22 = phi i64 [ 0, %17 ], [ %24, %42 ]
  %23 = phi %Ts28__ContiguousArrayStorageBaseC* [ %18, %17 ], [ %43, %42 ]
  %24 = add nuw nsw i64 %22, 1
  %._buffer4._storage = getelementptr inbounds %TSa, %TSa* %tailaddr, i64 %22, i32 0, i32 0
  %25 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %26 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #22
  %27 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %26, i64 40, i64 7) #6
  %28 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %27, i64 1
  %._storage5.count._value = bitcast %swift.refcounted* %28 to i64*
  store i64 1, i64* %._storage5.count._value, align 8
  %._storage5._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %27, i64 1, i32 1
  store i64 2, i64* %._storage5._capacityAndFlags, align 8
  %29 = load i64, i64* %._storage3.count._value, align 8, !range !6
  %.not19 = icmp sgt i64 %29, %2
  br i1 %.not19, label %30, label %49, !prof !8

30:                                               ; preds = %21
  %31 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %27, i64 2
  %32 = load i64, i64* %._value, align 8
  %tailaddr6._value = bitcast %swift.refcounted* %31 to i64*
  store i64 %32, i64* %tailaddr6._value, align 8
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %20)
  store %swift.refcounted* %27, %swift.refcounted** %6, align 8
  %33 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 0, i32 0
  %34 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %33) #21
  call swiftcc void @"$sSa6append10contentsOfyqd__n_t7ElementQyd__RszSTRd__lFSi_SaySiGTg5"(%Ts28__ContiguousArrayStorageBaseC* %25, %TSa* nocapture nonnull swiftself dereferenceable(8) %tmpcast)
  %35 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer7._storage, align 8
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %20)
  store %Ts28__ContiguousArrayStorageBaseC* %23, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage10.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 0, i32 1, i32 0, i32 0, i32 0
  %36 = load i64, i64* %._storage10.count._value, align 8, !range !6
  %._storage10._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %23, i64 0, i32 1, i32 0, i32 1, i32 0
  %37 = load i64, i64* %._storage10._capacityAndFlags._value, align 8
  %38 = lshr i64 %37, 1
  %39 = add nuw nsw i64 %36, 1
  %.not20 = icmp ugt i64 %38, %36
  br i1 %.not20, label %42, label %40, !prof !8

40:                                               ; preds = %30
  %41 = icmp ugt i64 %37, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSaySiG_Tg5"(i1 %41, i64 %39, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %5)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %42

42:                                               ; preds = %30, %40
  %43 = phi %Ts28__ContiguousArrayStorageBaseC* [ %23, %30 ], [ %.pre, %40 ]
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %43, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %39, i64* %._storage11.count._value, align 8
  %44 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %43, i64 1
  %tailaddr12 = bitcast %Ts28__ContiguousArrayStorageBaseC* %44 to %TSa*
  %._buffer13._storage = getelementptr inbounds %TSa, %TSa* %tailaddr12, i64 %36, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %35, %Ts28__ContiguousArrayStorageBaseC** %._buffer13._storage, align 8
  %45 = icmp eq i64 %24, %7
  br i1 %45, label %46, label %21

46:                                               ; preds = %42
  %47 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %1, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %47) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %12)
  br label %15

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

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

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

; Function Attrs: minsize optsize
declare swiftcc void @"$sSayxSicig"(%swift.opaque* noalias nocapture sret(%swift.opaque), i64, %Ts28__ContiguousArrayStorageBaseC*, %swift.type*) local_unnamed_addr #0

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

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

4:                                                ; preds = %3
  %5 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 %1, %swift.type* nonnull @"$sSiN")
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %1, i64* %._storage.count._value, align 8
  %6 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 1
  %7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %6 to %TSi*
  br label %9

.thread:                                          ; preds = %9, %3
  %8 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %3 ], [ %5, %9 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %8

9:                                                ; preds = %9, %4
  %10 = phi %TSi* [ %14, %9 ], [ %7, %4 ]
  %11 = phi i64 [ %12, %9 ], [ 0, %4 ]
  %12 = add nuw nsw i64 %11, 1
  %._value = getelementptr inbounds %TSi, %TSi* %10, i64 0, i32 0
  store i64 %0, i64* %._value, align 8
  %13 = icmp eq i64 %12, %1
  %14 = getelementptr inbounds %TSi, %TSi* %10, i64 1
  br i1 %13, label %.thread, label %9

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

; Function Attrs: minsize optsize
define internal swiftcc void @"$s7llvm_OZySiXEfU0_"(%TSi* noalias nocapture readonly dereferenceable(8) %0, %swift.error** noalias nocapture swifterror dereferenceable(8) %1) unnamed_addr #0 {
entry:
  %2 = alloca %TSJ, align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %.sroa.6 = alloca i8, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch18 = alloca [24 x i8], align 8
  %access-scratch23 = alloca [24 x i8], align 8
  %access-scratch28 = alloca [24 x i8], align 8
  %4 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %._value = getelementptr inbounds %TSi, %TSi* %0, i64 0, i32 0
  %5 = load i64, i64* %._value, align 8
  %6 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %7 = extractvalue { i64, i64 } %6, 1
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %180, label %9

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

21:                                               ; preds = %9
  %22 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %22) #6
  br label %32

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

29:                                               ; preds = %23
  %tailaddr._slice._base._guts._object._object = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 1, i32 1, i32 0, i32 1
  %tailaddr._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 1, i32 1, i32 0, i32 0, i32 0
  %30 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  %.elt32._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  %31 = ptrtoint <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i64
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  %.sroa.6.0.sroa_cast68 = bitcast i8* %.sroa.6 to i1*
  br label %106

32:                                               ; preds = %21, %171
  %33 = phi %Ts28__ContiguousArrayStorageBaseC* [ %168, %171 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %21 ]
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 1, i32 0, i32 0, i32 0
  %34 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %.not49 = icmp eq i64 %34, 0
  br i1 %.not49, label %184, label %35, !prof !7

35:                                               ; preds = %32
  %36 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1
  %tailaddr13._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %36 to i64*
  %37 = load i64, i64* %tailaddr13._value, align 8
  %38 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %37, i64 -1)
  %39 = extractvalue { i64, i1 } %38, 0
  %40 = extractvalue { i64, i1 } %38, 1
  br i1 %40, label %185, label %41, !prof !7

41:                                               ; preds = %35
  %42 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %42)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1aSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #6
  %43 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSaySiGvp", i64 0, i32 0, i32 0), align 8
  %44 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %43, i64 0, i32 0
  %45 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %44) #21
  store %Ts28__ContiguousArrayStorageBaseC* %43, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %45, label %48, label %46

46:                                               ; preds = %41
  %47 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %43)
  store %Ts28__ContiguousArrayStorageBaseC* %47, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1aSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %48

48:                                               ; preds = %41, %46
  %49 = phi %Ts28__ContiguousArrayStorageBaseC* [ %43, %41 ], [ %47, %46 ]
  %50 = icmp slt i64 %5, 0
  br i1 %50, label %186, label %51, !prof !7

51:                                               ; preds = %48
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %49, i64 0, i32 1, i32 0, i32 0, i32 0
  %52 = load i64, i64* %._storage14.count._value, align 8, !range !6
  %.not50 = icmp ult i64 %5, %52
  br i1 %.not50, label %53, label %187, !prof !8

53:                                               ; preds = %51
  %54 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %49, i64 1
  %tailaddr15 = bitcast %Ts28__ContiguousArrayStorageBaseC* %54 to %TSi*
  %._value16 = getelementptr inbounds %TSi, %TSi* %tailaddr15, i64 %5, i32 0
  store i64 %39, i64* %._value16, align 8
  %55 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %56 = icmp ult i64 %55, 2
  br i1 %56, label %188, label %57, !prof !7

57:                                               ; preds = %53
  %58 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1, i32 0, i32 1
  %59 = load i64, i64* %58, align 8
  %60 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %59, i64 -1)
  %61 = extractvalue { i64, i1 } %60, 0
  %62 = extractvalue { i64, i1 } %60, 1
  br i1 %62, label %189, label %63, !prof !7

63:                                               ; preds = %57
  %64 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch18, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %64)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1bSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch18, i64 1, i8* null) #6
  %65 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  %66 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %65, i64 0, i32 0
  %67 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %66) #21
  store %Ts28__ContiguousArrayStorageBaseC* %65, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %67, label %70, label %68

68:                                               ; preds = %63
  %69 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %65)
  store %Ts28__ContiguousArrayStorageBaseC* %69, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1bSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %70

70:                                               ; preds = %63, %68
  %71 = phi %Ts28__ContiguousArrayStorageBaseC* [ %65, %63 ], [ %69, %68 ]
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %71, i64 0, i32 1, i32 0, i32 0, i32 0
  %72 = load i64, i64* %._storage19.count._value, align 8, !range !6
  %.not51 = icmp ult i64 %5, %72
  br i1 %.not51, label %73, label %190, !prof !8

73:                                               ; preds = %70
  %74 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %71, i64 1
  %tailaddr20 = bitcast %Ts28__ContiguousArrayStorageBaseC* %74 to %TSi*
  %._value21 = getelementptr inbounds %TSi, %TSi* %tailaddr20, i64 %5, i32 0
  store i64 %61, i64* %._value21, align 8
  %75 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %76 = icmp ult i64 %75, 3
  br i1 %76, label %191, label %77, !prof !7

77:                                               ; preds = %73
  %._value22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1, i32 1, i32 0, i32 0, i32 0
  %78 = load i64, i64* %._value22, align 8
  %79 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch23, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %79)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1cSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch23, i64 1, i8* null) #6
  %80 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1cSaySiGvp", i64 0, i32 0, i32 0), align 8
  %81 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %80, i64 0, i32 0
  %82 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %81) #21
  store %Ts28__ContiguousArrayStorageBaseC* %80, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1cSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %82, label %85, label %83

83:                                               ; preds = %77
  %84 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %80)
  store %Ts28__ContiguousArrayStorageBaseC* %84, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1cSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %85

85:                                               ; preds = %77, %83
  %86 = phi %Ts28__ContiguousArrayStorageBaseC* [ %80, %77 ], [ %84, %83 ]
  %._storage24.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 1, i32 0, i32 0, i32 0
  %87 = load i64, i64* %._storage24.count._value, align 8, !range !6
  %.not52 = icmp ult i64 %5, %87
  br i1 %.not52, label %88, label %192, !prof !8

88:                                               ; preds = %85
  %89 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 1
  %tailaddr25 = bitcast %Ts28__ContiguousArrayStorageBaseC* %89 to %TSi*
  %._value26 = getelementptr inbounds %TSi, %TSi* %tailaddr25, i64 %5, i32 0
  store i64 %78, i64* %._value26, align 8
  %90 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %91 = icmp ult i64 %90, 4
  br i1 %91, label %193, label %92, !prof !7

92:                                               ; preds = %88
  %._value27 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 1, i32 1, i32 0, i32 1, i32 0
  %93 = load i64, i64* %._value27, align 8
  %94 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch28, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %94)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ1dSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch28, i64 1, i8* null) #6
  %95 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1dSaySiGvp", i64 0, i32 0, i32 0), align 8
  %96 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %95, i64 0, i32 0
  %97 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %96) #21
  store %Ts28__ContiguousArrayStorageBaseC* %95, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1dSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %97, label %100, label %98

98:                                               ; preds = %92
  %99 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %95)
  store %Ts28__ContiguousArrayStorageBaseC* %99, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1dSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %100

100:                                              ; preds = %92, %98
  %101 = phi %Ts28__ContiguousArrayStorageBaseC* [ %95, %92 ], [ %99, %98 ]
  %._storage29.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %101, i64 0, i32 1, i32 0, i32 0, i32 0
  %102 = load i64, i64* %._storage29.count._value, align 8, !range !6
  %.not53 = icmp ult i64 %5, %102
  br i1 %.not53, label %103, label %194, !prof !8

103:                                              ; preds = %100
  %104 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %101, i64 1
  %tailaddr30 = bitcast %Ts28__ContiguousArrayStorageBaseC* %104 to %TSi*
  %._value31 = getelementptr inbounds %TSi, %TSi* %tailaddr30, i64 %5, i32 0
  store i64 %93, i64* %._value31, align 8
  %105 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %33, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %105) #6
  ret void

106:                                              ; preds = %178, %29
  %.sink.in.in = phi %TSu* [ %._slice._base._guts._object._object, %178 ], [ %tailaddr._slice._base._guts._object._object, %29 ]
  %107 = phi i64 [ %179, %178 ], [ 1, %29 ]
  %108 = phi i64 [ %175, %178 ], [ %26, %29 ]
  %109 = phi i64 [ %176, %178 ], [ %27, %29 ]
  %.in77 = phi i64* [ %._slice._base._guts._object._countAndFlagsBits._value, %178 ], [ %tailaddr._slice._base._guts._object._countAndFlagsBits._value, %29 ]
  %.sink.in = bitcast %TSu* %.sink.in.in to %swift.bridge**
  %.sink = load %swift.bridge*, %swift.bridge** %.sink.in, align 8
  %110 = load i64, i64* %.in77, align 8
  %111 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %.sink) #6
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %112 = ptrtoint %swift.bridge* %.sink to i64
  %113 = and i64 %112, 1152921504606846976
  %114 = icmp eq i64 %113, 0
  br i1 %114, label %115, label %147, !prof !8

115:                                              ; preds = %106
  %116 = and i64 %112, 2305843009213693952
  %117 = icmp eq i64 %116, 0
  br i1 %117, label %118, label %121

118:                                              ; preds = %115
  %119 = and i64 %110, 1152921504606846976
  %120 = icmp eq i64 %119, 0
  br i1 %120, label %130, label %134, !prof !7

121:                                              ; preds = %115
  %122 = lshr i64 %112, 56
  %123 = and i64 %122, 15
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %30)
  %124 = and i64 %112, 72057594037927935
  store i64 %110, i64* %.elt._value, align 8
  store i64 %124, i64* %.elt32._value, align 8
  %125 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_n"(i64 %31, i64 %123, i64 %108, i64 %109, i64 %110, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %1)
  %126 = extractvalue { i64, i8 } %125, 1
  %127 = and i8 %126, 1
  %128 = icmp ne i8 %127, 0
  %129 = load %swift.error*, %swift.error** %1, align 8
  %.not55 = icmp eq %swift.error* %129, null
  call void @llvm.assume(i1 %.not55)
  store i1 %128, i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %30)
  br label %146

130:                                              ; preds = %118
  %131 = call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %110, %swift.bridge* %.sink)
  %132 = extractvalue { i64, i64 } %131, 0
  %133 = extractvalue { i64, i64 } %131, 1
  br label %138

134:                                              ; preds = %118
  %135 = and i64 %112, 1152921504606846975
  %136 = add nuw nsw i64 %135, 32
  %137 = and i64 %110, 281474976710655
  br label %138

138:                                              ; preds = %130, %134
  %139 = phi i64 [ %136, %134 ], [ %132, %130 ]
  %140 = phi i64 [ %137, %134 ], [ %133, %130 ]
  %141 = call swiftcc { i64, i8 } @"$ss5SliceV32withContiguousStorageIfAvailableyqd__Sgqd__SRy7ElementQzGKXEKlFqd__AGKXEfU_SRys5UInt8VGABySS8UTF8ViewVGSRyxGq_s5Error_pr0_lyAIqd__Isgyrzo_qd__sAO_pALRszr__lIetyggrzo_Tpq5SiSg_Tg5061$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5H15VGXEfU_Si_SsTG5SiTf1nnc_n"(i64 %139, i64 %140, i64 %108, i64 %109, i64 %110, %swift.bridge* %.sink, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %1)
  %142 = load %swift.error*, %swift.error** %1, align 8
  %.not56 = icmp eq %swift.error* %142, null
  call void @llvm.assume(i1 %.not56)
  %143 = extractvalue { i64, i8 } %141, 1
  %144 = and i8 %143, 1
  %145 = icmp ne i8 %144, 0
  store i1 %145, i1* %.sroa.6.0.sroa_cast68, align 8
  br label %146

146:                                              ; preds = %121, %138
  %.pn = phi { i64, i8 } [ %141, %138 ], [ %125, %121 ]
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  br label %150

147:                                              ; preds = %106
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  %148 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSs_SiTg5"(i64 %108, i64 %109, i64 %110, %swift.bridge* %.sink, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %.sink) #6
  %149 = extractvalue { i64, i8 } %148, 1
  br label %150

150:                                              ; preds = %146, %147
  %.pn78 = phi { i64, i8 } [ %148, %147 ], [ %.pn, %146 ]
  %.in.in = phi i8 [ %149, %147 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %146 ]
  %151 = extractvalue { i64, i8 } %.pn78, 0
  %.in = and i8 %.in.in, 1
  %.not54 = icmp eq i8 %.in, 0
  br i1 %.not54, label %152, label %182

152:                                              ; preds = %150
  %153 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %154 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %153, i64 0, i32 0
  %155 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %154) #21
  br i1 %155, label %159, label %156

156:                                              ; preds = %152
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %153, i64 0, i32 1, i32 0, i32 0, i32 0
  %157 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %158 = add nuw nsw i64 %157, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %158, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %159

159:                                              ; preds = %152, %156
  %160 = phi %Ts28__ContiguousArrayStorageBaseC* [ %153, %152 ], [ %.pre, %156 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %160, i64 0, i32 1, i32 0, i32 0, i32 0
  %161 = load i64, i64* %._storage7.count._value, align 8, !range !6
  %._storage7._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %160, i64 0, i32 1, i32 0, i32 1, i32 0
  %162 = load i64, i64* %._storage7._capacityAndFlags._value, align 8
  %163 = lshr i64 %162, 1
  %164 = add nuw nsw i64 %161, 1
  %.not = icmp ugt i64 %163, %161
  br i1 %.not, label %167, label %165, !prof !8

165:                                              ; preds = %159
  %166 = icmp ugt i64 %162, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %166, i64 %164, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre71 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %167

167:                                              ; preds = %159, %165
  %168 = phi %Ts28__ContiguousArrayStorageBaseC* [ %160, %159 ], [ %.pre71, %165 ]
  %._storage8.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %168, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %164, i64* %._storage8.count._value, align 8
  %169 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %168, i64 1
  %tailaddr9 = bitcast %Ts28__ContiguousArrayStorageBaseC* %169 to %TSi*
  %._value10 = getelementptr inbounds %TSi, %TSi* %tailaddr9, i64 %161, i32 0
  store i64 %151, i64* %._value10, align 8
  %170 = icmp eq i64 %107, %19
  br i1 %170, label %171, label %173

171:                                              ; preds = %167
  %172 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %18, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %172) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %24)
  br label %32

173:                                              ; preds = %167
  %174 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %25, i64 %107
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %174 to i64*
  %175 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %174, i64 0, i32 0, i32 1
  %176 = load i64, i64* %._slice._endIndex, align 8
  %.unshifted48 = xor i64 %176, %175
  %177 = icmp ult i64 %.unshifted48, 16384
  br i1 %177, label %183, label %178, !prof !7

178:                                              ; preds = %173
  %179 = add nuw nsw i64 %107, 1
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %174, i64 0, i32 1
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  br label %106

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlFSNySiG_Tg5"(i64 %0, i64 %1, i64 %2) local_unnamed_addr #0 {
entry:
  %3 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSNySiG_Tg5"(i64 %0, i64 %1)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage.count._value, align 8, !range !6
  %5 = icmp slt i64 %4, %2
  br i1 %5, label %6, label %8

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

8:                                                ; preds = %entry
  %9 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata.3, i64 0, i32 2), i64 24, i64 7) #6
  %10 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %9, i64 1
  %._variant.object.rawValue = bitcast %swift.refcounted* %10 to %swift.bridge**
  store %swift.bridge* bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %swift.bridge** %._variant.object.rawValue, align 8
  %11 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFSNySiG_Tg5"(i64 0, i64 %2, %swift.refcounted* %9, i64 %4, %Ts28__ContiguousArrayStorageBaseC* nonnull %3)
  tail call void @swift_release(%swift.refcounted* %9) #6
  %12 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %12) #6
  %13 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %11 to i64
  br label %14

14:                                               ; preds = %6, %8
  %15 = phi i64 [ %13, %8 ], [ 0, %6 ]
  ret i64 %15
}

; Function Attrs: minsize optsize
define hidden swiftcc i64 @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF"(%swift.opaque* noalias nocapture %0, i64 %1, %swift.type* %T, i8** %T.Collection) local_unnamed_addr #0 {
entry:
  %2 = getelementptr inbounds %swift.type, %swift.type* %T, i64 -1
  %3 = bitcast %swift.type* %2 to i8***
  %T.valueWitnesses = load i8**, i8*** %3, align 8, !invariant.load !9, !dereferenceable !10
  %4 = getelementptr inbounds i8*, i8** %T.valueWitnesses, i64 8
  %5 = bitcast i8** %4 to i64*
  %size = load i64, i64* %5, align 8, !invariant.load !9
  %6 = alloca i8, i64 %size, align 16
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %6)
  %7 = bitcast i8* %6 to %swift.opaque*
  %8 = getelementptr inbounds i8*, i8** %T.valueWitnesses, i64 2
  %9 = bitcast i8** %8 to %swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)**
  %10 = load %swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)*, %swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)** %9, align 8, !invariant.load !9
  %11 = call %swift.opaque* %10(%swift.opaque* noalias nonnull %7, %swift.opaque* noalias %0, %swift.type* %T) #6
  %12 = getelementptr inbounds i8*, i8** %T.Collection, i64 1
  %13 = bitcast i8** %12 to i8***
  %14 = load i8**, i8*** %13, align 8, !invariant.load !9
  %15 = call swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness(i64 0, i8** %14, %swift.type* %T, %swift.protocol_requirement* nonnull @"$sSTTL", %swift.protocol_requirement* nonnull @"$s7ElementSTTl") #23
  %T.Element = extractvalue %swift.metadata_response %15, 0
  %16 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSaySayxGqd__c7ElementQyd__RszSTRd__lufC"(%swift.opaque* noalias nocapture nonnull %7, %swift.type* %T.Element, %swift.type* %T, i8** %14)
  %17 = call swiftcc i64 @"$sSa5countSivg"(%Ts28__ContiguousArrayStorageBaseC* %16, %swift.type* %T.Element)
  %18 = icmp slt i64 %17, %1
  br i1 %18, label %19, label %21

19:                                               ; preds = %entry
  %20 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %20) #6
  br label %34

21:                                               ; preds = %entry
  %22 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* nonnull getelementptr inbounds (%swift.full_boxmetadata, %swift.full_boxmetadata* @metadata, i64 0, i32 2), i64 24, i64 7) #6
  %23 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %22, i64 1
  %24 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 255, %swift.type* %T.Element) #24
  %25 = extractvalue %swift.metadata_response %24, 0
  %26 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 255, %swift.type* %25) #24
  %27 = extractvalue %swift.metadata_response %26, 0
  %28 = call swiftcc %swift.metadata_response @"$sSDMa"(i64 0, %swift.type* nonnull @"$sSiN", %swift.type* %27, i8** nonnull @"$sSiSHsWP") #24
  %29 = extractvalue %swift.metadata_response %28, 0
  %30 = call swiftcc %swift.bridge* @"$sS2Dyxq_GycfC"(%swift.type* nonnull @"$sSiN", %swift.type* %29, i8** nonnull @"$sSiSHsWP")
  %._variant.object.rawValue = bitcast %swift.refcounted* %23 to %swift.bridge**
  store %swift.bridge* %30, %swift.bridge** %._variant.object.rawValue, align 8
  %31 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlF"(i64 0, i64 %1, %swift.refcounted* %22, i64 %17, %Ts28__ContiguousArrayStorageBaseC* %16, %swift.type* nonnull %T, i8** nonnull %T.Collection)
  call void @swift_release(%swift.refcounted* %22) #6
  %32 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %16, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %32) #6
  %33 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %31 to i64
  br label %34

34:                                               ; preds = %19, %21
  %35 = phi i64 [ %33, %21 ], [ 0, %19 ]
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %6)
  ret i64 %35
}

; Function Attrs: minsize optsize
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSaySayxGqd__c7ElementQyd__RszSTRd__lufC"(%swift.opaque* noalias nocapture, %swift.type*, %swift.type*, i8**) local_unnamed_addr #0

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

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

; Function Attrs: minsize optsize
define internal swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFSNySiG_Tg5"(i64 %0, i64 %1, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4) unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %access-scratch1 = alloca [24 x i8], align 8
  %access-scratch3 = alloca [24 x i8], align 8
  %access-scratch5 = alloca [24 x i8], align 8
  %5 = alloca [32 x i8], align 8
  %6 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1
  %7 = bitcast %swift.refcounted* %6 to %TSD*
  %8 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %8)
  %9 = bitcast %swift.refcounted* %6 to i8*
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch, i64 32, i8* null) #6
  %._variant = bitcast %swift.refcounted* %6 to %TSD8_VariantV*
  %._variant.object.rawValue = bitcast %swift.refcounted* %6 to %swift.bridge**
  %10 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  %11 = call swiftcc i64 @"$sSDyq_SgxcigSi_SDySiSaySaySiGGGTg5"(i64 %0, %swift.bridge* %10)
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %14

13:                                               ; preds = %entry
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %8)
  br label %20

14:                                               ; preds = %entry
  %15 = inttoptr i64 %11 to %swift.bridge*
  %16 = call swiftcc i64 @"$sSDyq_SgxcigSi_SaySaySiGGTg5"(i64 %1, %swift.bridge* nonnull %15)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %8)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %15) #6
  %17 = icmp eq i64 %16, 0
  br i1 %17, label %20, label %18

18:                                               ; preds = %14
  %19 = inttoptr i64 %16 to %Ts28__ContiguousArrayStorageBaseC*
  br label %34

20:                                               ; preds = %14, %13
  %21 = icmp eq i64 %1, 0
  br i1 %21, label %28, label %22

22:                                               ; preds = %20
  %23 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %0, i64 %1)
  %24 = extractvalue { i64, i1 } %23, 1
  br i1 %24, label %68, label %25, !prof !7

25:                                               ; preds = %22
  %26 = extractvalue { i64, i1 } %23, 0
  %27 = icmp sgt i64 %26, %3
  br i1 %27, label %28, label %36

28:                                               ; preds = %25, %20
  %29 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySaySiGGMD") #22
  %30 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %29, i64 40, i64 7) #6
  %31 = bitcast %swift.refcounted* %30 to %Ts28__ContiguousArrayStorageBaseC*
  %32 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %30, i64 1
  %._storage.count._value = bitcast %swift.refcounted* %32 to i64*
  store i64 1, i64* %._storage.count._value, align 8
  %._storage._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %30, i64 1, i32 1
  store i64 2, i64* %._storage._capacityAndFlags, align 8
  %33 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %30, i64 2
  %tailaddr._buffer._storage = bitcast %swift.refcounted* %33 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %tailaddr._buffer._storage, align 8
  br label %34

34:                                               ; preds = %18, %28, %62, %64
  %35 = phi %Ts28__ContiguousArrayStorageBaseC* [ %46, %64 ], [ %46, %62 ], [ %31, %28 ], [ %19, %18 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %35

36:                                               ; preds = %25
  %37 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %3, i64 %1)
  %38 = extractvalue { i64, i1 } %37, 0
  %39 = extractvalue { i64, i1 } %37, 1
  br i1 %39, label %69, label %40, !prof !7

40:                                               ; preds = %36
  %41 = icmp slt i64 %38, %0
  br i1 %41, label %70, label %42, !prof !7

42:                                               ; preds = %40
  %43 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 0, i32 0
  %44 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %43) #21
  %45 = call %swift.refcounted* @swift_retain(%swift.refcounted* nonnull returned %2) #21
  %46 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lFSNySiG_SaySaySiGGTg5032$s7llvm_OZ12combinationsySaySay7c27QzGGSgx_SitSlRzlF1rL_yAFSi_jkL20FAFSiXEfU_SNySiG_TG5SDySiSDySiSaySayABSTQzGGGGz_AF_SlRzlXXSiAGSiTf1cn_n"(i64 %0, i64 %38, %swift.refcounted* nonnull %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4, i64 %1, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %47 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch1, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %47)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch1, i64 32, i8* null) #6
  %48 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  %49 = call swiftcc i64 @"$sSDyq_SgxcigSi_SDySiSaySaySiGGGTg5"(i64 %0, %swift.bridge* %48)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch1) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %47)
  %50 = icmp eq i64 %49, 0
  %51 = inttoptr i64 %49 to %swift.bridge*
  %52 = select i1 %50, %swift.bridge* bitcast (%struct._SwiftEmptyDictionarySingleton* @_swiftEmptyDictionarySingleton to %swift.bridge*), %swift.bridge* %51
  %53 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch3, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %53)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch3, i64 33, i8* null) #6
  call swiftcc void bitcast (void (%Ts28__ContiguousArrayStorageBaseC*, i64, %TSD8_VariantV*, void (%Ts28__ContiguousArrayStorageBaseC*, i64, i1, %Ts17_NativeDictionaryV*)*)* @"$sSD8_VariantV8setValue_6forKeyyq_n_xtFSi_SaySaySiGGTg5Tm" to void (%swift.bridge*, i64, %TSD8_VariantV*, void (%swift.bridge*, i64, i1, %Ts17_NativeDictionaryV*)*)*)(%swift.bridge* %52, i64 %0, %TSD8_VariantV* nocapture swiftself dereferenceable(8) %._variant, void (%swift.bridge*, i64, i1, %Ts17_NativeDictionaryV*)* @"$ss17_NativeDictionaryV8setValue_6forKey8isUniqueyq_n_xSbtFSi_SDySiSaySaySiGGGTg5")
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch3) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %53)
  %54 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch5, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %54)
  call void @swift_beginAccess(i8* nonnull %9, [24 x i8]* nonnull %access-scratch5, i64 33, i8* null) #6
  %55 = getelementptr inbounds [32 x i8], [32 x i8]* %5, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %55)
  %56 = call swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5"(i8* noalias nonnull dereferenceable(32) %55, i64 %0, %TSD* nocapture nonnull swiftself dereferenceable(8) %7)
  %57 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %56, 0
  %58 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %56, 1
  %59 = bitcast %TSDySiSaySaySiGGGSg* %58 to i64*
  %60 = load i64, i64* %59, align 8
  %61 = icmp eq i64 %60, 0
  br i1 %61, label %62, label %64

62:                                               ; preds = %42
  %63 = bitcast i8* %57 to void (i8*, i1)*
  call swiftcc void %63(i8* noalias nonnull dereferenceable(32) %55, i1 false)
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %55)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch5) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %54)
  br label %34

64:                                               ; preds = %42
  %._variant6 = bitcast %TSDySiSaySaySiGGGSg* %58 to %TSD8_VariantV*
  %65 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %46, i64 0, i32 0
  %66 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %65) #21
  call swiftcc void @"$sSD8_VariantV8setValue_6forKeyyq_n_xtFSi_SaySaySiGGTg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %46, i64 %1, %TSD8_VariantV* nocapture swiftself dereferenceable(8) %._variant6, void (%Ts28__ContiguousArrayStorageBaseC*, i64, i1, %Ts17_NativeDictionaryV*)* @"$ss17_NativeDictionaryV8setValue_6forKey8isUniqueyq_n_xSbtFSi_SaySaySiGGTg5")
  %67 = bitcast i8* %57 to void (i8*, i1)*
  call swiftcc void %67(i8* noalias nonnull dereferenceable(32) %55, i1 false)
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %55)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch5) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %54)
  br label %34

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

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

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

; Function Attrs: minsize optsize
define internal swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlF"(i64 %0, i64 %1, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4, %swift.type* %T, i8** %T.Collection) unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %5 = alloca i64, align 8
  %6 = alloca %TSi, align 8
  %7 = alloca i64, align 8
  %8 = alloca %TSi, align 8
  %9 = alloca %TSNySiG, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %access-scratch4 = alloca [24 x i8], align 8
  %10 = alloca i64, align 8
  %11 = alloca %TSi, align 8
  %12 = alloca i64, align 8
  %13 = alloca %TSi, align 8
  %access-scratch8 = alloca [24 x i8], align 8
  %access-scratch9 = alloca [24 x i8], align 8
  %14 = alloca %TSi, align 8
  %15 = alloca [32 x i8], align 8
  %16 = alloca i64, align 8
  %17 = alloca %TSi, align 8
  %18 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1
  %19 = bitcast %swift.refcounted* %18 to %TSD*
  %20 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %20)
  %21 = bitcast %swift.refcounted* %18 to i8*
  call void @swift_beginAccess(i8* nonnull %21, [24 x i8]* nonnull %access-scratch, i64 32, i8* null) #6
  %22 = bitcast i64* %5 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %22)
  %._variant.object.rawValue = bitcast %swift.refcounted* %18 to %swift.bridge**
  %23 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  %24 = bitcast %TSi* %6 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %24)
  %._value = getelementptr inbounds %TSi, %TSi* %6, i64 0, i32 0
  store i64 %0, i64* %._value, align 8
  %25 = bitcast %TSi* %6 to %swift.opaque*
  %26 = getelementptr inbounds i8*, i8** %T.Collection, i64 1
  %27 = bitcast i8** %26 to i8***
  %28 = load i8**, i8*** %27, align 8, !invariant.load !9
  %29 = call swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness(i64 255, i8** %28, %swift.type* %T, %swift.protocol_requirement* nonnull @"$sSTTL", %swift.protocol_requirement* nonnull @"$s7ElementSTTl") #23
  %T.Element = extractvalue %swift.metadata_response %29, 0
  %30 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 255, %swift.type* %T.Element) #24
  %31 = extractvalue %swift.metadata_response %30, 0
  %32 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 255, %swift.type* %31) #24
  %33 = extractvalue %swift.metadata_response %32, 0
  %34 = call swiftcc %swift.metadata_response @"$sSDMa"(i64 0, %swift.type* nonnull @"$sSiN", %swift.type* %33, i8** nonnull @"$sSiSHsWP") #24
  %35 = extractvalue %swift.metadata_response %34, 0
  %36 = bitcast i64* %5 to %swift.opaque*
  call swiftcc void @"$sSDyq_Sgxcig"(%swift.opaque* noalias nocapture nonnull sret(%swift.opaque) %36, %swift.opaque* noalias nocapture nonnull %25, %swift.bridge* %23, %swift.type* nonnull @"$sSiN", %swift.type* %35, i8** nonnull @"$sSiSHsWP")
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %24)
  %37 = load i64, i64* %5, align 8
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %51, label %39

39:                                               ; preds = %entry
  %40 = inttoptr i64 %37 to %swift.bridge*
  %41 = bitcast i64* %7 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %41)
  %42 = bitcast %TSi* %8 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %42)
  %._value1 = getelementptr inbounds %TSi, %TSi* %8, i64 0, i32 0
  store i64 %1, i64* %._value1, align 8
  %43 = bitcast %TSi* %8 to %swift.opaque*
  %44 = call swiftcc %swift.metadata_response @swift_checkMetadataState(i64 0, %swift.type* %33) #25
  %45 = extractvalue %swift.metadata_response %44, 0
  %46 = bitcast i64* %7 to %swift.opaque*
  call swiftcc void @"$sSDyq_Sgxcig"(%swift.opaque* noalias nocapture nonnull sret(%swift.opaque) %46, %swift.opaque* noalias nocapture nonnull %43, %swift.bridge* nonnull %40, %swift.type* nonnull @"$sSiN", %swift.type* %45, i8** nonnull @"$sSiSHsWP")
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %40) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %42)
  %47 = load i64, i64* %7, align 8
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %20)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %41)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %22)
  %48 = icmp eq i64 %47, 0
  br i1 %48, label %52, label %49

49:                                               ; preds = %39
  %50 = inttoptr i64 %47 to %Ts28__ContiguousArrayStorageBaseC*
  br label %142

51:                                               ; preds = %entry
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %22)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %20)
  br label %52

52:                                               ; preds = %39, %51
  %53 = icmp eq i64 %1, 0
  br i1 %53, label %60, label %54

54:                                               ; preds = %52
  %55 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %0, i64 %1)
  %56 = extractvalue { i64, i1 } %55, 1
  br i1 %56, label %144, label %57, !prof !7

57:                                               ; preds = %54
  %58 = extractvalue { i64, i1 } %55, 0
  %59 = icmp sgt i64 %58, %3
  br i1 %59, label %60, label %74

60:                                               ; preds = %57, %52
  %61 = call swiftcc %swift.metadata_response @"$ss23_ContiguousArrayStorageCMa"(i64 0, %swift.type* %31) #24
  %62 = extractvalue %swift.metadata_response %61, 0
  %63 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %62, i64 40, i64 7) #6
  %.asUnsubstituted = bitcast %swift.refcounted* %63 to %Ts23_ContiguousArrayStorageC*
  %64 = call swiftcc { %Ts28__ContiguousArrayStorageBaseC*, i8* } @"$sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZ"(%Ts23_ContiguousArrayStorageC* %.asUnsubstituted, i64 1)
  %65 = extractvalue { %Ts28__ContiguousArrayStorageBaseC*, i8* } %64, 0
  %66 = extractvalue { %Ts28__ContiguousArrayStorageBaseC*, i8* } %64, 1
  %67 = call swiftcc %swift.metadata_response @swift_checkMetadataState(i64 0, %swift.type* %T.Element) #25
  %68 = extractvalue %swift.metadata_response %67, 0
  %69 = call swiftcc { %Ts28__ContiguousArrayStorageBaseC*, i8* } @"$sSa22_allocateUninitializedySayxG_SpyxGtSiFZ"(i64 0, %swift.type* %68)
  %70 = extractvalue { %Ts28__ContiguousArrayStorageBaseC*, i8* } %69, 0
  %._buffer12._storage = bitcast i8* %66 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %70, %Ts28__ContiguousArrayStorageBaseC** %._buffer12._storage, align 8
  %71 = call swiftcc %swift.metadata_response @swift_checkMetadataState(i64 0, %swift.type* %31) #25
  %72 = extractvalue %swift.metadata_response %71, 0
  %73 = call swiftcc %swift.metadata_response @"$sSaMa"(i64 0, %swift.type* %72) #24
  br label %142

74:                                               ; preds = %57
  %75 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %3, i64 %1)
  %76 = extractvalue { i64, i1 } %75, 0
  %77 = extractvalue { i64, i1 } %75, 1
  br i1 %77, label %145, label %78, !prof !7

78:                                               ; preds = %74
  %79 = icmp slt i64 %76, %0
  br i1 %79, label %146, label %80, !prof !7

80:                                               ; preds = %78
  %81 = bitcast %TSNySiG* %9 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %81)
  %.lowerBound._value = getelementptr inbounds %TSNySiG, %TSNySiG* %9, i64 0, i32 0, i32 0
  store i64 %0, i64* %.lowerBound._value, align 8
  %.upperBound._value = getelementptr inbounds %TSNySiG, %TSNySiG* %9, i64 0, i32 1, i32 0
  store i64 %76, i64* %.upperBound._value, align 8
  %spsave = call i8* @llvm.stacksave()
  %82 = alloca [64 x i8], align 16
  %83 = bitcast [64 x i8]* %82 to %swift.opaque*
  %84 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 16
  %85 = bitcast i8* %84 to %swift.type**
  store %swift.type* %T, %swift.type** %85, align 16
  %86 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 24
  %87 = bitcast i8* %86 to i8***
  store i8** %T.Collection, i8*** %87, align 8
  %88 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 32
  %89 = bitcast i8* %88 to %swift.refcounted**
  store %swift.refcounted* %2, %swift.refcounted** %89, align 16
  %90 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 40
  %._value2 = bitcast i8* %90 to i64*
  store i64 %3, i64* %._value2, align 8
  %91 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 48
  %._buffer._storage = bitcast i8* %91 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %4, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 16
  %92 = getelementptr inbounds [64 x i8], [64 x i8]* %82, i64 0, i64 56
  %._value3 = bitcast i8* %92 to i64*
  store i64 %1, i64* %._value3, align 8
  %93 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSNySiGMD") #22
  %94 = call swiftcc %swift.metadata_response @swift_checkMetadataState(i64 0, %swift.type* %33) #25
  %95 = extractvalue %swift.metadata_response %94, 0
  %96 = tail call i8** @"$sSNySiGSNyxGSTsSxRzSZ6StrideRpzrlWl"() #24
  %97 = call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSayxGSTsMc", %swift.type* %95, i8*** undef) #22
  %98 = bitcast %TSNySiG* %9 to %swift.opaque*
  %99 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF"(i8* nonnull bitcast (void (%TSa*, %TSi*, %swift.refcounted*, %swift.error**)* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_TA" to i8*), %swift.opaque* nonnull %83, %swift.type* %93, %swift.type* %95, i8** %96, i8** %97, %swift.opaque* noalias nocapture nonnull swiftself %98, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %81)
  %100 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch4, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %100)
  call void @swift_beginAccess(i8* nonnull %21, [24 x i8]* nonnull %access-scratch4, i64 32, i8* null) #6
  %101 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  %102 = bitcast i64* %10 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %102)
  %103 = bitcast %TSi* %11 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %103)
  %._value6 = getelementptr inbounds %TSi, %TSi* %11, i64 0, i32 0
  store i64 %0, i64* %._value6, align 8
  %104 = bitcast %TSi* %11 to %swift.opaque*
  %105 = bitcast i64* %10 to %swift.opaque*
  call swiftcc void @"$sSDyq_Sgxcig"(%swift.opaque* noalias nocapture nonnull sret(%swift.opaque) %105, %swift.opaque* noalias nocapture nonnull %104, %swift.bridge* %101, %swift.type* nonnull @"$sSiN", %swift.type* %35, i8** nonnull @"$sSiSHsWP")
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %103)
  %106 = load i64, i64* %10, align 8
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch4) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %100)
  %107 = icmp eq i64 %106, 0
  br i1 %107, label %108, label %111

108:                                              ; preds = %80
  %109 = call swiftcc %swift.bridge* @"$sS2Dyxq_GycfC"(%swift.type* nonnull @"$sSiN", %swift.type* %95, i8** nonnull @"$sSiSHsWP")
  %110 = ptrtoint %swift.bridge* %109 to i64
  br label %111

111:                                              ; preds = %80, %108
  %112 = phi i64 [ %110, %108 ], [ %106, %80 ]
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %102)
  %113 = bitcast i64* %12 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %113)
  store i64 %112, i64* %12, align 8
  %114 = bitcast %TSi* %13 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %114)
  %._value7 = getelementptr inbounds %TSi, %TSi* %13, i64 0, i32 0
  store i64 %0, i64* %._value7, align 8
  %115 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch8, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %115)
  call void @swift_beginAccess(i8* nonnull %21, [24 x i8]* nonnull %access-scratch8, i64 33, i8* null) #6
  %116 = bitcast i64* %12 to %TSq.1*
  %117 = bitcast %TSi* %13 to %swift.opaque*
  %118 = call swiftcc %swift.metadata_response @"$sSDMa"(i64 0, %swift.type* nonnull @"$sSiN", %swift.type* %35, i8** nonnull @"$sSiSHsWP") #24
  %119 = extractvalue %swift.metadata_response %118, 0
  call swiftcc void @"$sSDyq_Sgxcis"(%TSq.1* noalias nocapture nonnull %116, %swift.opaque* noalias nocapture nonnull %117, %swift.type* %119, %TSD* nocapture nonnull swiftself dereferenceable(8) %19)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch8) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %115)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %114)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %113)
  %120 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch9, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %120)
  call void @swift_beginAccess(i8* nonnull %21, [24 x i8]* nonnull %access-scratch9, i64 33, i8* null) #6
  %121 = bitcast %TSi* %14 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %121)
  %._value10 = getelementptr inbounds %TSi, %TSi* %14, i64 0, i32 0
  store i64 %0, i64* %._value10, align 8
  %122 = getelementptr inbounds [32 x i8], [32 x i8]* %15, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %122)
  %123 = bitcast %TSi* %14 to %swift.opaque*
  %124 = call swiftcc { i8*, %TSq.1* } @"$sSDyq_SgxciM"(i8* noalias nonnull dereferenceable(32) %122, %swift.opaque* noalias nocapture nonnull %123, %swift.type* %119, %TSD* nocapture nonnull swiftself dereferenceable(8) %19)
  %125 = extractvalue { i8*, %TSq.1* } %124, 0
  %126 = extractvalue { i8*, %TSq.1* } %124, 1
  %127 = bitcast %TSq.1* %126 to i64*
  %128 = load i64, i64* %127, align 8
  %129 = icmp eq i64 %128, 0
  br i1 %129, label %140, label %130

130:                                              ; preds = %111
  %131 = bitcast %TSq.1* %126 to %TSD*
  %132 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %99 to i64
  %133 = bitcast i64* %16 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %133)
  store i64 %132, i64* %16, align 8
  %134 = bitcast %TSi* %17 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %134)
  %._value11 = getelementptr inbounds %TSi, %TSi* %17, i64 0, i32 0
  store i64 %1, i64* %._value11, align 8
  %135 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %99, i64 0, i32 0
  %136 = bitcast i64* %16 to %TSq.1*
  %137 = bitcast %TSi* %17 to %swift.opaque*
  %138 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %135) #21
  call swiftcc void @"$sSDyq_Sgxcis"(%TSq.1* noalias nocapture nonnull %136, %swift.opaque* noalias nocapture nonnull %137, %swift.type* %35, %TSD* nocapture swiftself dereferenceable(8) %131)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %134)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %133)
  %139 = bitcast i8* %125 to void (i8*, i1)*
  call swiftcc void %139(i8* noalias nonnull dereferenceable(32) %122, i1 false)
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %122)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch9) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %120)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %121)
  br label %142

140:                                              ; preds = %111
  %141 = bitcast i8* %125 to void (i8*, i1)*
  call swiftcc void %141(i8* noalias nonnull dereferenceable(32) %122, i1 false)
  call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %122)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %121)
  call void @swift_endAccess([24 x i8]* nonnull %access-scratch9) #6
  call void @llvm.lifetime.end.p0i8(i64 -1, i8* nonnull %120)
  br label %142

142:                                              ; preds = %49, %60, %140, %130
  %143 = phi %Ts28__ContiguousArrayStorageBaseC* [ %99, %130 ], [ %99, %140 ], [ %65, %60 ], [ %50, %49 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %143

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSDyq_SgxcigSi_SDySiSaySaySiGGGTg5"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = bitcast %swift.bridge* %1 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 !6
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %8, label %5

5:                                                ; preds = %entry
  %6 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %0, %Ts22__RawDictionaryStorageC* nonnull swiftself %2)
  %7 = extractvalue { i64, i1 } %6, 1
  br i1 %7, label %10, label %8

8:                                                ; preds = %5, %entry, %10
  %9 = phi i64 [ %15, %10 ], [ 0, %entry ], [ 0, %5 ]
  ret i64 %9

10:                                               ; preds = %5
  %11 = extractvalue { i64, i1 } %6, 0
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 9, i32 0
  %12 = bitcast i8** %._rawValue to %TSD**
  %13 = load %TSD*, %TSD** %12, align 8
  %._variant.object.rawValue = getelementptr inbounds %TSD, %TSD* %13, i64 %11, i32 0, i32 0, i32 0
  %14 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  %15 = ptrtoint %swift.bridge* %14 to i64
  %16 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %14) #6
  br label %8
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSDyq_SgxcigSi_SaySaySiGGTg5"(i64 %0, %swift.bridge* %1) local_unnamed_addr #0 {
entry:
  %2 = bitcast %swift.bridge* %1 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 !6
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %8, label %5

5:                                                ; preds = %entry
  %6 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %0, %Ts22__RawDictionaryStorageC* nonnull swiftself %2)
  %7 = extractvalue { i64, i1 } %6, 1
  br i1 %7, label %10, label %8

8:                                                ; preds = %5, %entry, %10
  %9 = phi i64 [ %15, %10 ], [ 0, %entry ], [ 0, %5 ]
  ret i64 %9

10:                                               ; preds = %5
  %11 = extractvalue { i64, i1 } %6, 0
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 9, i32 0
  %12 = bitcast i8** %._rawValue to %TSa**
  %13 = load %TSa*, %TSa** %12, align 8
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %13, i64 %11, i32 0, i32 0
  %14 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %15 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %14 to i64
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %14, i64 0, i32 0
  %17 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %16) #21
  br label %8
}

; Function Attrs: minsize optsize
declare swiftcc void @"$sSDyq_Sgxcig"(%swift.opaque* noalias nocapture sret(%swift.opaque), %swift.opaque* noalias nocapture, %swift.bridge*, %swift.type*, %swift.type*, i8**) local_unnamed_addr #0

; Function Attrs: minsize optsize
define internal swiftcc void @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_"(%TSa* noalias nocapture writeonly sret(%TSa) %0, %TSi* noalias nocapture readonly dereferenceable(8) %1, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4, i64 %5, %swift.type* %T, i8** %T.Collection, %swift.error** noalias nocapture swifterror dereferenceable(8) %6) unnamed_addr #0 {
entry:
  %7 = alloca %TSa, align 8
  %._value = getelementptr inbounds %TSi, %TSi* %1, i64 0, i32 0
  %8 = load i64, i64* %._value, align 8
  %9 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %8, i64 1)
  %10 = extractvalue { i64, i1 } %9, 1
  br i1 %10, label %42, label %11, !prof !7

11:                                               ; preds = %entry
  %12 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %5, i64 -1)
  %13 = extractvalue { i64, i1 } %12, 1
  br i1 %13, label %43, label %14, !prof !7

14:                                               ; preds = %11
  %15 = extractvalue { i64, i1 } %12, 0
  %16 = extractvalue { i64, i1 } %9, 0
  %17 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlF"(i64 %16, i64 %15, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4, %swift.type* %T, i8** %T.Collection)
  %18 = bitcast %TSa* %7 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %18)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %7, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %17, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %spsave = tail call i8* @llvm.stacksave()
  %19 = alloca [48 x i8], align 16
  %20 = bitcast [48 x i8]* %19 to %swift.opaque*
  %21 = getelementptr inbounds [48 x i8], [48 x i8]* %19, i64 0, i64 16
  %22 = bitcast i8* %21 to %swift.type**
  store %swift.type* %T, %swift.type** %22, align 16
  %23 = getelementptr inbounds [48 x i8], [48 x i8]* %19, i64 0, i64 24
  %24 = bitcast i8* %23 to i8***
  store i8** %T.Collection, i8*** %24, align 8
  %25 = getelementptr inbounds [48 x i8], [48 x i8]* %19, i64 0, i64 32
  %._buffer1._storage = bitcast i8* %25 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %4, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage, align 16
  %26 = getelementptr inbounds [48 x i8], [48 x i8]* %19, i64 0, i64 40
  %._value2 = bitcast i8* %26 to i64*
  store i64 %8, i64* %._value2, align 8
  %27 = getelementptr inbounds i8*, i8** %T.Collection, i64 1
  %28 = bitcast i8** %27 to i8***
  %29 = load i8**, i8*** %28, align 8, !invariant.load !9
  %30 = tail call swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness(i64 255, i8** %29, %swift.type* %T, %swift.protocol_requirement* nonnull @"$sSTTL", %swift.protocol_requirement* nonnull @"$s7ElementSTTl") #23
  %T.Element = extractvalue %swift.metadata_response %30, 0
  %31 = tail call swiftcc %swift.metadata_response @"$sSaMa"(i64 255, %swift.type* %T.Element) #24
  %32 = extractvalue %swift.metadata_response %31, 0
  %33 = tail call swiftcc %swift.metadata_response @"$sSaMa"(i64 0, %swift.type* %32) #24
  %34 = extractvalue %swift.metadata_response %33, 0
  %35 = tail call swiftcc %swift.metadata_response @swift_checkMetadataState(i64 0, %swift.type* %32) #25
  %36 = extractvalue %swift.metadata_response %35, 0
  %37 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSayxGSlsMc", %swift.type* %34, i8*** undef) #22
  %38 = bitcast %TSa* %7 to %swift.opaque*
  %39 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlF"(i8* nonnull bitcast (void (%TSa*, %TSa*, %swift.refcounted*, %swift.error**)* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_A2EXEfU_TA" to i8*), %swift.opaque* nonnull %20, %swift.type* %34, %swift.type* %36, i8** %37, %swift.opaque* noalias nocapture nonnull swiftself %38, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %6)
  %40 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %41 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %40, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %41) #6
  call void @llvm.stackrestore(i8* %spsave)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %18)
  %._buffer4._storage = getelementptr inbounds %TSa, %TSa* %0, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %39, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  ret void

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

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

; Function Attrs: minsize optsize
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa1poiySayxGAB_ABtFZ"(%Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC*, %swift.type*) local_unnamed_addr #0

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lFSNySiG_SaySaySiGGTg5032$s7llvm_OZ12combinationsySaySay7c27QzGGSgx_SitSlRzlF1rL_yAFSi_jkL20FAFSiXEfU_SNySiG_TG5SDySiSDySiSaySayABSTQzGGGGz_AF_SlRzlXXSiAGSiTf1cn_n"(i64 %0, i64 %1, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4, i64 %5, %swift.refcounted* swiftself %6, %swift.error** noalias nocapture swifterror dereferenceable(8) %7) local_unnamed_addr #0 {
entry:
  %8 = alloca %TSa, align 8
  %9 = bitcast %TSa* %8 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %9)
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %8, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %10 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %5, i64 -1)
  %11 = extractvalue { i64, i1 } %10, 0
  %12 = extractvalue { i64, i1 } %10, 1
  br i1 %12, label %27, label %.preheader, !prof !7

.preheader:                                       ; preds = %entry
  %13 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 0, i32 0
  br label %14

14:                                               ; preds = %.preheader, %18
  %15 = phi i64 [ %19, %18 ], [ %0, %.preheader ]
  %16 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %15, i64 1)
  %17 = extractvalue { i64, i1 } %16, 1
  br i1 %17, label %28, label %18, !prof !7

18:                                               ; preds = %14
  %19 = extractvalue { i64, i1 } %16, 0
  %20 = icmp eq i64 %15, %1
  %21 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFSNySiG_Tg5"(i64 %19, i64 %11, %swift.refcounted* %2, i64 %3, %Ts28__ContiguousArrayStorageBaseC* %4)
  %22 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %13) #21
  %23 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE3mapySayqd__Gqd__7ElementQzKXEKlFSaySaySiGG_AETg5032$s7llvm_OZ12combinationsySaySay7b27QzGGSgx_SitSlRzlF1rL_yAFSi_ijK28FAFSiXEfU_A2EXEfU_SNySiG_TG5AESiTf1cn_n"(%Ts28__ContiguousArrayStorageBaseC* %21, %Ts28__ContiguousArrayStorageBaseC* %4, i64 %15, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %7)
  %24 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %24) #6
  call swiftcc void @"$sSa6append10contentsOfyqd__n_t7ElementQyd__RszSTRd__lFSaySiG_SayAEGTg5"(%Ts28__ContiguousArrayStorageBaseC* %23, %TSa* nocapture nonnull swiftself dereferenceable(8) %8)
  br i1 %20, label %25, label %14

25:                                               ; preds = %18
  tail call void @swift_release(%swift.refcounted* %2) #6
  %26 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %9)
  tail call void @swift_release(%swift.refcounted* %13) #6
  ret %Ts28__ContiguousArrayStorageBaseC* %26

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

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

; Function Attrs: minsize optsize
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSTsE7flatMapySay7ElementQyd__Gqd__ABQzKXEKSTRd__lF"(i8*, %swift.opaque*, %swift.type*, %swift.type*, i8**, i8**, %swift.opaque* noalias nocapture swiftself, %swift.error** noalias nocapture swifterror dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: minsize optsize
declare swiftcc void @"$sSDyq_Sgxcis"(%TSq.1* noalias nocapture, %swift.opaque* noalias nocapture, %swift.type*, %TSD* nocapture swiftself dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5"(i8* noalias dereferenceable(32) %0, i64 %1, %TSD* nocapture swiftself dereferenceable(8) %2) local_unnamed_addr #3 {
coro.return:
  %3 = tail call dereferenceable_or_null(40) i8* @malloc(i64 40)
  %4 = bitcast i8* %0 to i8**
  store i8* %3, i8** %4, align 8
  %FramePtr = bitcast i8* %3 to %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"*
  %._variant = getelementptr inbounds %TSD, %TSD* %2, i64 0, i32 0
  %5 = getelementptr inbounds %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0, i64 0
  tail call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %5)
  %6 = tail call swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5"(i8* noalias nonnull dereferenceable(32) %5, i64 %1, %TSD8_VariantV* nocapture nonnull swiftself dereferenceable(8) %._variant)
  %7 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %6, 0
  %.spill.addr = getelementptr inbounds %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1
  store i8* %7, i8** %.spill.addr, align 8
  %8 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %6, 1
  %9 = insertvalue { i8*, %TSDySiSaySaySiGGGSg* } { i8* bitcast (void (i8*, i1)* @"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.resume.0" to i8*), %TSDySiSaySaySiGGGSg* undef }, %TSDySiSaySaySiGGGSg* %8, 1
  ret { i8*, %TSDySiSaySaySiGGGSg* } %9
}

; Function Attrs: minsize optsize
define internal swiftcc void @"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.resume.0"(i8* noalias nocapture nonnull readonly align 8 dereferenceable(32) %0, i1 %1) #0 {
entryresume.0:
  %2 = bitcast i8* %0 to %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"**
  %FramePtr = load %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"*, %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"** %2, align 8
  %.reload.addr = getelementptr inbounds %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1
  %3 = bitcast i8** %.reload.addr to void (i8*, i1)**
  %.reload1 = load void (i8*, i1)*, void (i8*, i1)** %3, align 8
  %4 = getelementptr %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSDyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0, i64 0
  tail call swiftcc void %.reload1(i8* noalias nonnull dereferenceable(32) %4, i1 false)
  tail call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %4)
  tail call void @free(i8* %4)
  ret void
}

; Function Attrs: minsize optsize
declare swiftcc { i8*, %TSq.1* } @"$sSDyq_SgxciM"(i8* noalias dereferenceable(32), %swift.opaque* noalias nocapture, %swift.type*, %TSD* nocapture swiftself dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$sSTsSL7ElementRpzrlE3maxABSgyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #0 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !6
  %2 = icmp eq i64 %1, 0
  br i1 %2, label %.loopexit, label %3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSNySiG_Tg5"(i64 %0, i64 %1) local_unnamed_addr #0 {
entry:
  %2 = alloca %Ts16IndexingIteratorVySNySiGG, align 8
  %3 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %1, i64 %0)
  %4 = extractvalue { i64, i1 } %3, 1
  br i1 %4, label %33, label %5, !prof !7

5:                                                ; preds = %entry
  %6 = extractvalue { i64, i1 } %3, 0
  %7 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %6, i64 1)
  %8 = extractvalue { i64, i1 } %7, 0
  %9 = extractvalue { i64, i1 } %7, 1
  br i1 %9, label %34, label %10, !prof !7

10:                                               ; preds = %5
  %11 = icmp eq i64 %8, 0
  br i1 %11, label %14, label %12

12:                                               ; preds = %10
  %13 = icmp sgt i64 %8, 0
  br i1 %13, label %16, label %26

14:                                               ; preds = %10, %32
  %15 = phi %Ts28__ContiguousArrayStorageBaseC* [ %27, %32 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %10 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %15

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

26:                                               ; preds = %12, %16
  %27 = phi %Ts28__ContiguousArrayStorageBaseC* [ %21, %16 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %12 ]
  %28 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %27, i64 1
  %29 = ptrtoint %Ts28__ContiguousArrayStorageBaseC* %28 to i64
  %30 = bitcast %Ts16IndexingIteratorVySNySiGG* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 25, i8* nonnull %30)
  %31 = call swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSNySiG_Tg5"(%Ts16IndexingIteratorVySNySiGG* noalias nocapture nonnull %2, i64 %29, i64 %8, i64 %0, i64 %1)
  %.not = icmp eq i64 %31, %8
  br i1 %.not, label %32, label %35, !prof !8

32:                                               ; preds = %26
  call void @llvm.lifetime.end.p0i8(i64 25, i8* nonnull %30)
  br label %14

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %swift.type* @"$ss29getContiguousArrayStorageType3fors01_bcD0CyxGmxm_tlF"(%swift.type* %0, %swift.type* %Element) local_unnamed_addr #3 {
entry:
  %1 = bitcast %swift.type* %Element to i8*
  %2 = tail call { i8* } @dynamic_cast_existential_0_class_conditional(i8* %1, %swift.type* %Element)
  %3 = extractvalue { i8* } %2, 0
  %.not = icmp eq i8* %3, null
  br i1 %.not, label %4, label %7

4:                                                ; preds = %entry
  %5 = tail call swiftcc %swift.metadata_response @"$ss23_ContiguousArrayStorageCMa"(i64 0, %swift.type* %Element) #24
  %6 = extractvalue %swift.metadata_response %5, 0
  br label %9

7:                                                ; preds = %entry
  %8 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyyXlGMD") #22
  br label %9

9:                                                ; preds = %7, %4
  %10 = phi %swift.type* [ %6, %4 ], [ %8, %7 ]
  ret %swift.type* %10
}

; Function Attrs: minsize optsize
declare swiftcc { %Ts28__ContiguousArrayStorageBaseC*, i8* } @"$sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZ"(%Ts23_ContiguousArrayStorageC*, i64) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; 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) #6
  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 !8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; 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") #22
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #6
  %8 = bitcast %swift.refcounted* %7 to %Ts28__ContiguousArrayStorageBaseC*
  %9 = bitcast %swift.refcounted* %7 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %9) #26
  %gepdiff = shl i64 %call.i, 1
  %10 = add i64 %gepdiff, -64
  %11 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1
  %._storage1.count._value = bitcast %swift.refcounted* %11 to i64*
  store i64 %0, i64* %._storage1.count._value, align 8
  %._storage1._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %7, i64 1, i32 1
  store i64 %10, i64* %._storage1._capacityAndFlags, align 8
  br label %12

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %0, %Ts22__RawDictionaryStorageC* swiftself %1) local_unnamed_addr #3 {
entry:
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %1, i64 0, i32 7, i32 0
  %2 = load i64, i64* %._value, align 8
  %3 = tail call swiftcc i64 @"$ss6HasherV5_hash4seed_S2i_s6UInt64VtFZ"(i64 %2, i64 %0)
  %4 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4find_9hashValues10_HashTableV6BucketV6bucket_Sb5foundtx_SitSHRzlFSi_Tg5"(i64 %0, i64 %3, %Ts22__RawDictionaryStorageC* swiftself %1)
  ret { i64, i1 } %4
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSa6append10contentsOfyqd__n_t7ElementQyd__RszSTRd__lFSaySiG_SayAEGTg5"(%Ts28__ContiguousArrayStorageBaseC* %0, %TSa* nocapture swiftself dereferenceable(8) %1) local_unnamed_addr #0 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %2 = load i64, i64* %._storage.count._value, align 8, !range !6
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  %3 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %5 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %4, i64 %2)
  %6 = extractvalue { i64, i1 } %5, 0
  %7 = extractvalue { i64, i1 } %5, 1
  br i1 %7, label %43, label %8, !prof !7

8:                                                ; preds = %entry
  %9 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  %10 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %9) #21
  store %Ts28__ContiguousArrayStorageBaseC* %3, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %10, label %11, label %15

11:                                               ; preds = %8
  %._storage11._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %12 = load i64, i64* %._storage11._capacityAndFlags._value, align 8
  %13 = lshr i64 %12, 1
  %14 = icmp slt i64 %13, %6
  br i1 %14, label %15, label %19, !prof !7

15:                                               ; preds = %11, %8
  %16 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %16, i64 %6)
  %18 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5"(i1 %10, i64 %17, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %3)
  store %Ts28__ContiguousArrayStorageBaseC* %18, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %19

19:                                               ; preds = %11, %15
  %20 = phi %Ts28__ContiguousArrayStorageBaseC* [ %18, %15 ], [ %3, %11 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 0, i32 1, i32 0, i32 0, i32 0
  %21 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %22 = icmp eq i64 %2, 0
  br i1 %22, label %41, label %23

23:                                               ; preds = %19
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 0, i32 1, i32 0, i32 1, i32 0
  %24 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %25 = lshr i64 %24, 1
  %26 = sub nsw i64 %25, %21
  %27 = icmp slt i64 %26, %2
  br i1 %27, label %44, label %28, !prof !7

28:                                               ; preds = %23
  %29 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %29 to %TSa*
  %30 = getelementptr inbounds %TSa, %TSa* %tailaddr, i64 %21
  %31 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %32 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySiGMD") #22
  %33 = bitcast %TSa* %30 to %swift.opaque*
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %33, %swift.opaque* nonnull %34, i64 %2, %swift.type* %32) #21
  %35 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 1, i32 0, i32 0, i32 0
  %36 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %37 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %36, i64 %2)
  %38 = extractvalue { i64, i1 } %37, 1
  br i1 %38, label %45, label %39, !prof !7

39:                                               ; preds = %28
  %40 = extractvalue { i64, i1 } %37, 0
  store i64 %40, i64* %._storage9.count._value, align 8
  br label %41

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSa6append10contentsOfyqd__n_t7ElementQyd__RszSTRd__lFSi_SaySiGTg5"(%Ts28__ContiguousArrayStorageBaseC* %0, %TSa* nocapture swiftself dereferenceable(8) %1) local_unnamed_addr #0 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %2 = load i64, i64* %._storage.count._value, align 8, !range !6
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  %3 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %4 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %5 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %4, i64 %2)
  %6 = extractvalue { i64, i1 } %5, 0
  %7 = extractvalue { i64, i1 } %5, 1
  br i1 %7, label %43, label %8, !prof !7

8:                                                ; preds = %entry
  %9 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  %10 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %9) #21
  store %Ts28__ContiguousArrayStorageBaseC* %3, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br i1 %10, label %11, label %15

11:                                               ; preds = %8
  %._storage11._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 1, i32 0
  %12 = load i64, i64* %._storage11._capacityAndFlags._value, align 8
  %13 = lshr i64 %12, 1
  %14 = icmp slt i64 %13, %6
  br i1 %14, label %15, label %19, !prof !7

15:                                               ; preds = %11, %8
  %16 = load i64, i64* %._storage1.count._value, align 8, !range !6
  %17 = tail call i64 @llvm.smax.i64(i64 %16, i64 %6)
  %18 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %10, i64 %17, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %3)
  store %Ts28__ContiguousArrayStorageBaseC* %18, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %19

19:                                               ; preds = %11, %15
  %20 = phi %Ts28__ContiguousArrayStorageBaseC* [ %18, %15 ], [ %3, %11 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 0, i32 1, i32 0, i32 0, i32 0
  %21 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %22 = icmp eq i64 %2, 0
  br i1 %22, label %41, label %23

23:                                               ; preds = %19
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 0, i32 1, i32 0, i32 1, i32 0
  %24 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %25 = lshr i64 %24, 1
  %26 = sub nsw i64 %25, %21
  %27 = icmp slt i64 %26, %2
  br i1 %27, label %44, label %28, !prof !7

28:                                               ; preds = %23
  %29 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %20, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %29 to %TSi*
  %30 = getelementptr inbounds %TSi, %TSi* %tailaddr, i64 %21
  %31 = bitcast %TSi* %30 to i8*
  %32 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %33 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to i8*
  %34 = shl nuw i64 %2, 3
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 %31, i8* nonnull align 8 %33, i64 %34, i1 false)
  %35 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %35, i64 0, i32 1, i32 0, i32 0, i32 0
  %36 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %37 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %36, i64 %2)
  %38 = extractvalue { i64, i1 } %37, 1
  br i1 %38, label %45, label %39, !prof !7

39:                                               ; preds = %28
  %40 = extractvalue { i64, i1 } %37, 0
  store i64 %40, i64* %._storage9.count._value, align 8
  br label %41

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

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

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

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

; Function Attrs: minsize optsize
define internal swiftcc void @"$sSD8_VariantV8setValue_6forKeyyq_n_xtFSi_SaySaySiGGTg5Tm"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, %TSD8_VariantV* nocapture swiftself dereferenceable(8) %2, void (%Ts28__ContiguousArrayStorageBaseC*, i64, i1, %Ts17_NativeDictionaryV*)* %3) local_unnamed_addr #0 {
entry:
  %4 = alloca %swift.bridge*, align 8
  %tmpcast = bitcast %swift.bridge** %4 to %Ts17_NativeDictionaryV*
  %.object.rawValue = getelementptr inbounds %TSD8_VariantV, %TSD8_VariantV* %2, i64 0, i32 0, i32 0
  %5 = bitcast %TSD8_VariantV* %2 to %swift.refcounted**
  %6 = load %swift.refcounted*, %swift.refcounted** %5, align 8
  %7 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %6) #21
  %8 = bitcast %swift.bridge** %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %8)
  %9 = bitcast %TSD8_VariantV* %2 to %Ts22__RawDictionaryStorageC**
  %10 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %9, align 8
  %._storage = bitcast %swift.bridge** %4 to %Ts22__RawDictionaryStorageC**
  store %Ts22__RawDictionaryStorageC* %10, %Ts22__RawDictionaryStorageC** %._storage, align 8
  store %swift.bridge* inttoptr (i64 -9223372036854775808 to %swift.bridge*), %swift.bridge** %.object.rawValue, align 8
  call swiftcc void %3(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, i1 %7, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %tmpcast)
  %11 = load %swift.bridge*, %swift.bridge** %4, align 8
  %12 = load %swift.bridge*, %swift.bridge** %.object.rawValue, align 8
  store %swift.bridge* %11, %swift.bridge** %.object.rawValue, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %12) #6
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %8)
  ret void
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5"(i8* noalias dereferenceable(32) %0, i64 %1, %TSD8_VariantV* nocapture swiftself dereferenceable(8) %2) local_unnamed_addr #3 {
coro.return:
  %3 = tail call dereferenceable_or_null(80) i8* @malloc(i64 80)
  %4 = bitcast i8* %0 to i8**
  store i8* %3, i8** %4, align 8
  %FramePtr = bitcast i8* %3 to %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"*
  %5 = bitcast %TSD8_VariantV* %2 to %swift.refcounted**
  %6 = load %swift.refcounted*, %swift.refcounted** %5, align 8
  %7 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %6) #21
  %8 = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0, i64 0
  tail call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %8)
  %9 = tail call swiftcc { i8*, %Ts17_NativeDictionaryV* } @"$sSD8_VariantV8asNatives01_C10DictionaryVyxq_GvMSi_SDySiSaySaySiGGGTg5"(i8* noalias nonnull dereferenceable(32) %8, %TSD8_VariantV* nocapture nonnull swiftself dereferenceable(8) %2)
  %10 = extractvalue { i8*, %Ts17_NativeDictionaryV* } %9, 0
  %.spill.addr = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  store i8* %10, i8** %.spill.addr, align 8
  %11 = extractvalue { i8*, %Ts17_NativeDictionaryV* } %9, 1
  %12 = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1, i64 0
  tail call void @llvm.lifetime.start.p0i8(i64 32, i8* nonnull %12)
  %13 = tail call swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5"(i8* noalias nonnull dereferenceable(32) %12, i64 %1, i1 %7, %Ts17_NativeDictionaryV* nocapture swiftself dereferenceable(8) %11)
  %14 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %13, 0
  %.spill.addr1 = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  store i8* %14, i8** %.spill.addr1, align 8
  %15 = extractvalue { i8*, %TSDySiSaySaySiGGGSg* } %13, 1
  %16 = insertvalue { i8*, %TSDySiSaySaySiGGGSg* } { i8* bitcast (void (i8*, i1)* @"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.resume.0" to i8*), %TSDySiSaySaySiGGGSg* undef }, %TSDySiSaySaySiGGGSg* %15, 1
  ret { i8*, %TSDySiSaySaySiGGGSg* } %16
}

; Function Attrs: minsize optsize
define internal swiftcc void @"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.resume.0"(i8* noalias nocapture nonnull readonly align 8 dereferenceable(32) %0, i1 %1) #0 {
entryresume.0:
  %2 = bitcast i8* %0 to %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"**
  %FramePtr = load %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"*, %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"** %2, align 8
  %.reload.addr2 = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  %3 = bitcast i8** %.reload.addr2 to void (i8*, i1)**
  %.reload31 = load void (i8*, i1)*, void (i8*, i1)** %3, align 8
  %.reload.addr = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  %4 = bitcast i8** %.reload.addr to void (i8*, i1)**
  %.reload2 = load void (i8*, i1)*, void (i8*, i1)** %4, align 8
  %5 = getelementptr inbounds %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1, i64 0
  %6 = getelementptr %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame", %"$sSD8_VariantVyq_SgxciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0, i64 0
  tail call swiftcc void %.reload31(i8* noalias nonnull dereferenceable(32) %5, i1 false)
  tail call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %5)
  tail call swiftcc void %.reload2(i8* noalias nonnull dereferenceable(32) %6, i1 false)
  tail call void @llvm.lifetime.end.p0i8(i64 32, i8* nonnull %6)
  tail call void @free(i8* %6)
  ret void
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i8*, %Ts17_NativeDictionaryV* } @"$sSD8_VariantV8asNatives01_C10DictionaryVyxq_GvMSi_SDySiSaySaySiGGGTg5"(i8* noalias dereferenceable(32) %0, %TSD8_VariantV* swiftself dereferenceable(8) %1) local_unnamed_addr #3 {
coro.return:
  %2 = bitcast i8* %0 to %Ts17_NativeDictionaryV*
  %.spill.addr = getelementptr inbounds i8, i8* %0, i64 8
  %3 = bitcast i8* %.spill.addr to %TSD8_VariantV**
  store %TSD8_VariantV* %1, %TSD8_VariantV** %3, align 8
  tail call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %0)
  %.object.rawValue = getelementptr inbounds %TSD8_VariantV, %TSD8_VariantV* %1, i64 0, i32 0, i32 0
  %4 = bitcast %TSD8_VariantV* %1 to %Ts22__RawDictionaryStorageC**
  %5 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %4, align 8
  %._storage = bitcast i8* %0 to %Ts22__RawDictionaryStorageC**
  store %Ts22__RawDictionaryStorageC* %5, %Ts22__RawDictionaryStorageC** %._storage, align 8
  store %swift.bridge* inttoptr (i64 -9223372036854775808 to %swift.bridge*), %swift.bridge** %.object.rawValue, align 8
  %6 = insertvalue { i8*, %Ts17_NativeDictionaryV* } { i8* bitcast (void (i8*, i1)* @"$sSD8_VariantV8asNatives01_C10DictionaryVyxq_GvMSi_SDySiSaySaySiGGGTg5.resume.0" to i8*), %Ts17_NativeDictionaryV* undef }, %Ts17_NativeDictionaryV* %2, 1
  ret { i8*, %Ts17_NativeDictionaryV* } %6
}

; Function Attrs: minsize nounwind optsize
define internal swiftcc void @"$sSD8_VariantV8asNatives01_C10DictionaryVyxq_GvMSi_SDySiSaySaySiGGGTg5.resume.0"(i8* noalias nonnull align 8 dereferenceable(32) %0, i1 %1) #4 {
entryresume.0:
  %.reload.addr = getelementptr inbounds i8, i8* %0, i64 8
  %2 = bitcast i8* %.reload.addr to %TSD8_VariantV**
  %.reload = load %TSD8_VariantV*, %TSD8_VariantV** %2, align 8
  %._storage8 = bitcast i8* %0 to %Ts22__RawDictionaryStorageC**
  %3 = bitcast %TSD8_VariantV* %.reload to %Ts22__RawDictionaryStorageC**
  %.object.rawValue7 = getelementptr inbounds %TSD8_VariantV, %TSD8_VariantV* %.reload, i64 0, i32 0, i32 0
  %4 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage8, align 8
  %5 = load %swift.bridge*, %swift.bridge** %.object.rawValue7, align 8
  %6 = getelementptr %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 0
  %7 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %6) #21
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %5) #6
  store %Ts22__RawDictionaryStorageC* %4, %Ts22__RawDictionaryStorageC** %3, align 8
  tail call void @swift_release(%swift.refcounted* %6) #6
  tail call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %0)
  ret void
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i8*, %TSDySiSaySaySiGGGSg* } @"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5"(i8* noalias dereferenceable(32) %0, i64 %1, i1 %2, %Ts17_NativeDictionaryV* swiftself dereferenceable(8) %3) local_unnamed_addr #3 {
PostSpill:
  %4 = tail call dereferenceable_or_null(40) i8* @malloc(i64 40)
  %5 = bitcast i8* %0 to i8**
  store i8* %4, i8** %5, align 8
  %FramePtr = bitcast i8* %4 to %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"*
  %6 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0
  %.spill.addr20 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  store %Ts17_NativeDictionaryV* %3, %Ts17_NativeDictionaryV** %.spill.addr20, align 8
  %.spill.addr = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1
  store i64 %1, i64* %.spill.addr, align 8
  %._storage = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %3, i64 0, i32 0
  %7 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %8 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %7)
  %9 = extractvalue { i64, i1 } %8, 1
  %.spill.addr29 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 4
  store i1 %9, i1* %.spill.addr29, align 1
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %7, i64 0, i32 1, i32 0
  %10 = load i64, i64* %._value, align 8
  %not. = xor i1 %9, true
  %. = zext i1 %not. to i64
  %11 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %10, i64 %.)
  %12 = extractvalue { i64, i1 } %11, 1
  br i1 %12, label %32, label %13, !prof !7

13:                                               ; preds = %PostSpill
  %14 = extractvalue { i64, i1 } %11, 0
  %15 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVySiSDySiSaySaySiGGGGMD") #22
  %16 = tail call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %2, i64 %14, %swift.type* %15, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %3)
  br i1 %16, label %17, label %.from.12

17:                                               ; preds = %13
  %18 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %19 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %18)
  %20 = extractvalue { i64, i1 } %19, 1
  %21 = xor i1 %9, %20
  br i1 %21, label %22, label %.from.12

22:                                               ; preds = %17
  tail call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSiN")
  unreachable

.from.12:                                         ; preds = %17, %13
  %.pn = phi { i64, i1 } [ %8, %13 ], [ %19, %17 ]
  %23 = extractvalue { i64, i1 } %.pn, 0
  %.spill.addr38 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  store i64 %23, i64* %.spill.addr38, align 8
  tail call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %4)
  br i1 %9, label %24, label %29

24:                                               ; preds = %.from.12
  %25 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %._rawValue7 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %25, i64 0, i32 9, i32 0
  %26 = bitcast i8** %._rawValue7 to %TSD**
  %27 = load %TSD*, %TSD** %26, align 8
  %._variant8.object.rawValue = getelementptr inbounds %TSD, %TSD* %27, i64 %23, i32 0, i32 0, i32 0
  %28 = load %swift.bridge*, %swift.bridge** %._variant8.object.rawValue, align 8
  %._variant9.object.rawValue = bitcast i8* %4 to %swift.bridge**
  store %swift.bridge* %28, %swift.bridge** %._variant9.object.rawValue, align 8
  br label %coro.return

29:                                               ; preds = %.from.12
  store i64 0, i64* %6, align 8
  br label %coro.return

coro.return:                                      ; preds = %24, %29
  %30 = bitcast i8* %4 to %TSDySiSaySaySiGGGSg*
  %31 = insertvalue { i8*, %TSDySiSaySaySiGGGSg* } { i8* bitcast (void (i8*, i1)* @"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.resume.0" to i8*), %TSDySiSaySaySiGGGSg* undef }, %TSDySiSaySaySiGGGSg* %30, 1
  ret { i8*, %TSDySiSaySaySiGGGSg* } %31

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

; Function Attrs: minsize optsize
define internal swiftcc void @"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.resume.0"(i8* noalias nocapture nonnull readonly align 8 dereferenceable(32) %0, i1 %1) #0 {
entryresume.0:
  %2 = bitcast i8* %0 to %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"**
  %FramePtr = load %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"*, %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"** %2, align 8
  %3 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 0
  %4 = load i64, i64* %3, align 8
  %5 = icmp eq i64 %4, 0
  %.reload.addr36 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 4
  %.reload37 = load i1, i1* %.reload.addr36, align 1
  br i1 %1, label %18, label %6

6:                                                ; preds = %entryresume.0
  br i1 %5, label %10, label %7

7:                                                ; preds = %6
  %.reload.addr23 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  %.reload24 = load %Ts17_NativeDictionaryV*, %Ts17_NativeDictionaryV** %.reload.addr23, align 8
  %._storage16 = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %.reload24, i64 0, i32 0
  %8 = inttoptr i64 %4 to %swift.bridge*
  %9 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage16, align 8
  %.reload.addr41 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  %.reload42 = load i64, i64* %.reload.addr41, align 8
  br i1 %.reload37, label %11, label %14

10:                                               ; preds = %6
  br i1 %.reload37, label %15, label %CoroEnd

11:                                               ; preds = %7
  %._rawValue5 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %9, i64 0, i32 9, i32 0
  %12 = bitcast i8** %._rawValue5 to %TSD**
  %13 = load %TSD*, %TSD** %12, align 8
  %._variant6.object.rawValue = getelementptr inbounds %TSD, %TSD* %13, i64 %.reload42, i32 0, i32 0, i32 0
  store %swift.bridge* %8, %swift.bridge** %._variant6.object.rawValue, align 8
  br label %CoroEnd

14:                                               ; preds = %7
  %.reload.addr = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1
  %.reload = load i64, i64* %.reload.addr, align 8
  tail call swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SDySiSaySaySiGGGTg5"(i64 %.reload42, i64 %.reload, %swift.bridge* nonnull %8, %Ts22__RawDictionaryStorageC* %9)
  br label %CoroEnd

15:                                               ; preds = %10
  %.reload.addr47 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  %.reload48 = load i64, i64* %.reload.addr47, align 8
  %.reload.addr27 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  %.reload28 = load %Ts17_NativeDictionaryV*, %Ts17_NativeDictionaryV** %.reload.addr27, align 8
  %._storage14 = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %.reload28, i64 0, i32 0
  %16 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage14, align 8
  %17 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSDySiSaySaySiGGGMD") #22
  tail call swiftcc void @"$ss17_NativeDictionaryV7_delete2atys10_HashTableV6BucketV_tF"(i64 %.reload48, %Ts22__RawDictionaryStorageC* %16, %swift.type* nonnull @"$sSiN", %swift.type* %17, i8** nonnull @"$sSiSHsWP")
  br label %CoroEnd

18:                                               ; preds = %entryresume.0
  br i1 %5, label %22, label %19

19:                                               ; preds = %18
  %.reload.addr21 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  %.reload22 = load %Ts17_NativeDictionaryV*, %Ts17_NativeDictionaryV** %.reload.addr21, align 8
  %._storage17 = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %.reload22, i64 0, i32 0
  %20 = inttoptr i64 %4 to %swift.bridge*
  %21 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage17, align 8
  %.reload.addr39 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  %.reload40 = load i64, i64* %.reload.addr39, align 8
  br i1 %.reload37, label %23, label %26

22:                                               ; preds = %18
  br i1 %.reload37, label %32, label %CoroEnd

23:                                               ; preds = %19
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %21, i64 0, i32 9, i32 0
  %24 = bitcast i8** %._rawValue to %TSD**
  %25 = load %TSD*, %TSD** %24, align 8
  %._variant.object.rawValue = getelementptr inbounds %TSD, %TSD* %25, i64 %.reload40, i32 0, i32 0, i32 0
  store %swift.bridge* %20, %swift.bridge** %._variant.object.rawValue, align 8
  br label %CoroEnd

26:                                               ; preds = %19
  %.reload.addr18 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 1
  %.reload19 = load i64, i64* %.reload.addr18, align 8
  tail call swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SDySiSaySaySiGGGTg5"(i64 %.reload40, i64 %.reload19, %swift.bridge* nonnull %20, %Ts22__RawDictionaryStorageC* %21)
  br label %CoroEnd

CoroEnd:                                          ; preds = %22, %23, %26, %32, %10, %11, %14, %15
  %27 = bitcast %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr to i8*
  %28 = load i64, i64* %3, align 8
  %29 = inttoptr i64 %4 to %swift.bridge*
  %30 = inttoptr i64 %28 to %swift.bridge*
  %31 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %29) #6
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %30) #6
  tail call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %27)
  %.pre-phi = bitcast %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr to i8*
  tail call void @free(i8* %.pre-phi)
  ret void

32:                                               ; preds = %22
  %.reload.addr43 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 3
  %.reload44 = load i64, i64* %.reload.addr43, align 8
  %.reload.addr25 = getelementptr inbounds %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame", %"$ss17_NativeDictionaryV_8isUniqueq_Sgx_SbtciMSi_SDySiSaySaySiGGGTg5.Frame"* %FramePtr, i64 0, i32 2
  %.reload26 = load %Ts17_NativeDictionaryV*, %Ts17_NativeDictionaryV** %.reload.addr25, align 8
  %._storage15 = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %.reload26, i64 0, i32 0
  %33 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage15, align 8
  %34 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSDySiSaySaySiGGGMD") #22
  tail call swiftcc void @"$ss17_NativeDictionaryV7_delete2atys10_HashTableV6BucketV_tF"(i64 %.reload44, %Ts22__RawDictionaryStorageC* %33, %swift.type* nonnull @"$sSiN", %swift.type* %34, i8** nonnull @"$sSiSHsWP")
  br label %CoroEnd
}

; 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_SitSHRzlFSi_Tg5"(i64 %0, i64 %1, %Ts22__RawDictionaryStorageC* swiftself %2) local_unnamed_addr #3 {
entry:
  %3 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 1
  %tailaddr = bitcast %Ts22__RawDictionaryStorageC* %3 to %Ts13_UnsafeBitsetV4WordV*
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 3, i32 0
  %4 = load i8, i8* %._value, align 8
  %5 = and i8 %4, 63
  %6 = zext i8 %5 to i64
  %notmask = shl nsw i64 -1, %6
  %7 = xor i64 %notmask, -1
  %8 = and i64 %7, %1
  %9 = lshr i64 %8, 6
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %9, i32 0, i32 0
  %10 = load i64, i64* %.value._value, align 8
  %11 = and i64 %8, 63
  %12 = shl nuw i64 1, %11
  %13 = and i64 %12, %10
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %.loopexit, label %15

15:                                               ; preds = %entry
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %2, i64 0, i32 8, i32 0
  %16 = bitcast i8** %._rawValue to %TSi**
  %17 = load %TSi*, %TSi** %16, align 8
  %._value1 = getelementptr inbounds %TSi, %TSi* %17, i64 %8, i32 0
  %18 = load i64, i64* %._value1, align 8
  %19 = icmp eq i64 %18, %0
  br i1 %19, label %.loopexit, label %20

20:                                               ; preds = %15
  %21 = add i64 %8, 1
  %22 = and i64 %21, %7
  %23 = lshr i64 %22, 6
  %.value2._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %23, i32 0, i32 0
  %24 = load i64, i64* %.value2._value, align 8
  %25 = and i64 %22, 63
  %26 = shl nuw i64 1, %25
  %27 = and i64 %24, %26
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %36, %20, %15, %entry
  %29 = phi i64 [ %8, %entry ], [ %8, %15 ], [ %22, %20 ], [ %33, %.preheader ], [ %38, %36 ]
  %30 = phi i1 [ false, %entry ], [ true, %15 ], [ false, %20 ], [ %35, %36 ], [ %35, %.preheader ]
  %31 = insertvalue { i64, i1 } undef, i64 %29, 0
  %32 = insertvalue { i64, i1 } %31, i1 %30, 1
  ret { i64, i1 } %32

.preheader:                                       ; preds = %20, %36
  %33 = phi i64 [ %38, %36 ], [ %22, %20 ]
  %._value3 = getelementptr inbounds %TSi, %TSi* %17, i64 %33, i32 0
  %34 = load i64, i64* %._value3, align 8
  %35 = icmp eq i64 %34, %0
  br i1 %35, label %.loopexit, label %36

36:                                               ; preds = %.preheader
  %37 = add i64 %33, 1
  %38 = and i64 %37, %7
  %39 = lshr i64 %38, 6
  %.value4._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %39, i32 0, i32 0
  %40 = load i64, i64* %.value4._value, align 8
  %41 = and i64 %38, 63
  %42 = shl nuw i64 1, %41
  %43 = and i64 %40, %42
  %44 = icmp eq i64 %43, 0
  br i1 %44, label %.loopexit, label %.preheader
}

; Function Attrs: minsize optsize
declare swiftcc void @"$ss17_NativeDictionaryV7_delete2atys10_HashTableV6BucketV_tF"(i64, %Ts22__RawDictionaryStorageC*, %swift.type*, %swift.type*, i8**) local_unnamed_addr #0

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SaySaySiGGTg5"(i64 %0, i64 %1, %Ts28__ContiguousArrayStorageBaseC* %2, %Ts22__RawDictionaryStorageC* %3) local_unnamed_addr #0 {
entry:
  %4 = lshr i64 %0, 6
  %5 = and i64 %0, 63
  %6 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 1
  %tailaddr = bitcast %Ts22__RawDictionaryStorageC* %6 to %Ts13_UnsafeBitsetV4WordV*
  %7 = shl nuw i64 1, %5
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %4, i32 0, i32 0
  %8 = load i64, i64* %.value._value, align 8
  %9 = or i64 %8, %7
  store i64 %9, i64* %.value._value, align 8
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 8, i32 0
  %10 = bitcast i8** %._rawValue to %TSi**
  %11 = load %TSi*, %TSi** %10, align 8
  %._value = getelementptr inbounds %TSi, %TSi* %11, i64 %0, i32 0
  store i64 %1, i64* %._value, align 8
  %._rawValue2 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 9, i32 0
  %12 = bitcast i8** %._rawValue2 to %TSa**
  %13 = load %TSa*, %TSa** %12, align 8
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %13, i64 %0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %2, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._value3 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 1, i32 0
  %14 = load i64, i64* %._value3, align 8
  %15 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %14, i64 1)
  %16 = extractvalue { i64, i1 } %15, 1
  br i1 %16, label %19, label %17, !prof !7

17:                                               ; preds = %entry
  %18 = extractvalue { i64, i1 } %15, 0
  store i64 %18, i64* %._value3, align 8
  ret void

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SDySiSaySaySiGGGTg5"(i64 %0, i64 %1, %swift.bridge* %2, %Ts22__RawDictionaryStorageC* %3) local_unnamed_addr #0 {
entry:
  %4 = lshr i64 %0, 6
  %5 = and i64 %0, 63
  %6 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 1
  %tailaddr = bitcast %Ts22__RawDictionaryStorageC* %6 to %Ts13_UnsafeBitsetV4WordV*
  %7 = shl nuw i64 1, %5
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %4, i32 0, i32 0
  %8 = load i64, i64* %.value._value, align 8
  %9 = or i64 %8, %7
  store i64 %9, i64* %.value._value, align 8
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 8, i32 0
  %10 = bitcast i8** %._rawValue to %TSi**
  %11 = load %TSi*, %TSi** %10, align 8
  %._value = getelementptr inbounds %TSi, %TSi* %11, i64 %0, i32 0
  store i64 %1, i64* %._value, align 8
  %._rawValue2 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 9, i32 0
  %12 = bitcast i8** %._rawValue2 to %TSD**
  %13 = load %TSD*, %TSD** %12, align 8
  %._variant.object.rawValue = getelementptr inbounds %TSD, %TSD* %13, i64 %0, i32 0, i32 0, i32 0
  store %swift.bridge* %2, %swift.bridge** %._variant.object.rawValue, align 8
  %._value3 = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %3, i64 0, i32 1, i32 0
  %14 = load i64, i64* %._value3, align 8
  %15 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %14, i64 1)
  %16 = extractvalue { i64, i1 } %15, 1
  br i1 %16, label %19, label %17, !prof !7

17:                                               ; preds = %entry
  %18 = extractvalue { i64, i1 } %15, 0
  store i64 %18, i64* %._value3, align 8
  ret void

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$ss17_NativeDictionaryV8setValue_6forKey8isUniqueyq_n_xSbtFSi_SaySaySiGGTg5"(%Ts28__ContiguousArrayStorageBaseC* %0, i64 %1, i1 %2, %Ts17_NativeDictionaryV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #0 {
entry:
  %._storage = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %3, i64 0, i32 0
  %4 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %5 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %4)
  %6 = extractvalue { i64, i1 } %5, 1
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 1, i32 0
  %7 = load i64, i64* %._value, align 8
  %not. = xor i1 %6, true
  %. = zext i1 %not. to i64
  %8 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %7, i64 %.)
  %9 = extractvalue { i64, i1 } %8, 1
  br i1 %9, label %30, label %10, !prof !7

10:                                               ; preds = %entry
  %11 = extractvalue { i64, i1 } %8, 0
  %12 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVySiSaySaySiGGGMD") #22
  %13 = tail call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %2, i64 %11, %swift.type* %12, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %3)
  br i1 %13, label %14, label %20

14:                                               ; preds = %10
  %15 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %16 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %15)
  %17 = extractvalue { i64, i1 } %16, 1
  %18 = xor i1 %6, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  tail call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSiN")
  unreachable

20:                                               ; preds = %14, %10
  %.pn = phi { i64, i1 } [ %5, %10 ], [ %16, %14 ]
  %21 = extractvalue { i64, i1 } %.pn, 0
  %22 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  br i1 %6, label %23, label %28

23:                                               ; preds = %20
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %22, i64 0, i32 9, i32 0
  %24 = bitcast i8** %._rawValue to %TSa**
  %25 = load %TSa*, %TSa** %24, align 8
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %25, i64 %21, i32 0, i32 0
  %26 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %27 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %26, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %27) #6
  store %Ts28__ContiguousArrayStorageBaseC* %0, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %29

28:                                               ; preds = %20
  tail call swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SaySaySiGGTg5"(i64 %21, i64 %1, %Ts28__ContiguousArrayStorageBaseC* %0, %Ts22__RawDictionaryStorageC* %22)
  br label %29

29:                                               ; preds = %23, %28
  ret void

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$ss17_NativeDictionaryV8setValue_6forKey8isUniqueyq_n_xSbtFSi_SDySiSaySaySiGGGTg5"(%swift.bridge* %0, i64 %1, i1 %2, %Ts17_NativeDictionaryV* nocapture swiftself dereferenceable(8) %3) local_unnamed_addr #0 {
entry:
  %._storage = getelementptr inbounds %Ts17_NativeDictionaryV, %Ts17_NativeDictionaryV* %3, i64 0, i32 0
  %4 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %5 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %4)
  %6 = extractvalue { i64, i1 } %5, 1
  %._value = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %4, i64 0, i32 1, i32 0
  %7 = load i64, i64* %._value, align 8
  %not. = xor i1 %6, true
  %. = zext i1 %not. to i64
  %8 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %7, i64 %.)
  %9 = extractvalue { i64, i1 } %8, 1
  br i1 %9, label %29, label %10, !prof !7

10:                                               ; preds = %entry
  %11 = extractvalue { i64, i1 } %8, 0
  %12 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss17_NativeDictionaryVySiSDySiSaySaySiGGGGMD") #22
  %13 = tail call swiftcc i1 @"$ss17_NativeDictionaryV12ensureUnique02isD08capacityS2b_SitF"(i1 %2, i64 %11, %swift.type* %12, %Ts17_NativeDictionaryV* nocapture nonnull swiftself dereferenceable(8) %3)
  br i1 %13, label %14, label %20

14:                                               ; preds = %10
  %15 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  %16 = tail call swiftcc { i64, i1 } @"$ss22__RawDictionaryStorageC4findys10_HashTableV6BucketV6bucket_Sb5foundtxSHRzlFSi_Tg5"(i64 %1, %Ts22__RawDictionaryStorageC* swiftself %15)
  %17 = extractvalue { i64, i1 } %16, 1
  %18 = xor i1 %6, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  tail call swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type* nonnull @"$sSiN")
  unreachable

20:                                               ; preds = %14, %10
  %.pn = phi { i64, i1 } [ %5, %10 ], [ %16, %14 ]
  %21 = extractvalue { i64, i1 } %.pn, 0
  %22 = load %Ts22__RawDictionaryStorageC*, %Ts22__RawDictionaryStorageC** %._storage, align 8
  br i1 %6, label %23, label %27

23:                                               ; preds = %20
  %._rawValue = getelementptr inbounds %Ts22__RawDictionaryStorageC, %Ts22__RawDictionaryStorageC* %22, i64 0, i32 9, i32 0
  %24 = bitcast i8** %._rawValue to %TSD**
  %25 = load %TSD*, %TSD** %24, align 8
  %._variant.object.rawValue = getelementptr inbounds %TSD, %TSD* %25, i64 %21, i32 0, i32 0, i32 0
  %26 = load %swift.bridge*, %swift.bridge** %._variant.object.rawValue, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %26) #6
  store %swift.bridge* %0, %swift.bridge** %._variant.object.rawValue, align 8
  br label %28

27:                                               ; preds = %20
  tail call swiftcc void @"$ss17_NativeDictionaryV7_insert2at3key5valueys10_HashTableV6BucketV_xnq_ntFSi_SDySiSaySaySiGGGTg5"(i64 %21, i64 %1, %swift.bridge* %0, %Ts22__RawDictionaryStorageC* %22)
  br label %28

28:                                               ; preds = %23, %27
  ret void

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc i64 @"$sSTsE21_copySequenceContents12initializing8IteratorQz_SitSry7ElementQzG_tFSNySiG_Tg5"(%Ts16IndexingIteratorVySNySiGG* noalias nocapture %0, i64 %1, i64 %2, i64 %3, i64 %4) local_unnamed_addr #0 {
entry:
  %5 = icmp eq i64 %1, 0
  br i1 %5, label %.loopexit, label %6

6:                                                ; preds = %entry
  %7 = icmp eq i64 %2, 0
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %6
  %9 = icmp slt i64 %2, 0
  br i1 %9, label %29, label %.lr.ph.preheader, !prof !7

.lr.ph.preheader:                                 ; preds = %8
  %10 = inttoptr i64 %1 to i8*
  br label %11

11:                                               ; preds = %.lr.ph.preheader, %.lr.ph
  %12 = phi i64 [ 1, %.lr.ph.preheader ], [ %28, %.lr.ph ]
  %13 = phi i8* [ %10, %.lr.ph.preheader ], [ %27, %.lr.ph ]
  %14 = phi i64 [ %3, %.lr.ph.preheader ], [ %21, %.lr.ph ]
  %15 = icmp eq i64 %14, %4
  br i1 %15, label %20, label %16

16:                                               ; preds = %11
  %17 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %14, i64 1)
  %18 = extractvalue { i64, i1 } %17, 0
  %19 = extractvalue { i64, i1 } %17, 1
  br i1 %19, label %30, label %20, !prof !7

20:                                               ; preds = %16, %11
  %21 = phi i64 [ 0, %11 ], [ %18, %16 ]
  %._value = bitcast i8* %13 to i64*
  store i64 %14, i64* %._value, align 8
  %22 = icmp eq i64 %12, %2
  br i1 %22, label %.loopexit, label %.lr.ph

.loopexit:                                        ; preds = %.lr.ph, %20, %6, %entry
  %.sink43 = phi i64 [ %3, %entry ], [ %3, %6 ], [ %21, %20 ], [ %21, %.lr.ph ]
  %.sink = phi i1 [ false, %entry ], [ false, %6 ], [ true, %.lr.ph ], [ %15, %20 ]
  %23 = phi i64 [ 0, %entry ], [ %2, %6 ], [ %12, %.lr.ph ], [ %2, %20 ]
  %._elements3.lowerBound._value = getelementptr inbounds %Ts16IndexingIteratorVySNySiGG, %Ts16IndexingIteratorVySNySiGG* %0, i64 0, i32 0, i32 0, i32 0
  store i64 %3, i64* %._elements3.lowerBound._value, align 8
  %._elements3.upperBound._value = getelementptr inbounds %Ts16IndexingIteratorVySNySiGG, %Ts16IndexingIteratorVySNySiGG* %0, i64 0, i32 0, i32 1, i32 0
  store i64 %4, i64* %._elements3.upperBound._value, align 8
  %._position4 = getelementptr inbounds %Ts16IndexingIteratorVySNySiGG, %Ts16IndexingIteratorVySNySiGG* %0, i64 0, i32 1
  %24 = bitcast %TSNsSxRzSZ6StrideRpzrlE5IndexOySi_G* %._position4 to i64*
  store i64 %.sink43, i64* %24, align 8
  %25 = getelementptr inbounds %Ts16IndexingIteratorVySNySiGG, %Ts16IndexingIteratorVySNySiGG* %0, i64 0, i32 1, i32 1
  %26 = bitcast [1 x i8]* %25 to i1*
  store i1 %.sink, i1* %26, align 8
  ret i64 %23

.lr.ph:                                           ; preds = %20
  %27 = getelementptr inbounds i8, i8* %13, i64 8
  %28 = add nuw nsw i64 %12, 1
  br i1 %15, label %.loopexit, label %11

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #28
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

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

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

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

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

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

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

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

21:                                               ; preds = %entry, %19
  %22 = phi i64 [ %20, %19 ], [ %2, %entry ]
  br i1 %11, label %23, label %212, !prof !8

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

25:                                               ; preds = %23, %221
  %26 = phi i64 [ %222, %221 ], [ %24, %23 ]
  br i1 %18, label %27, label %29, !prof !7

27:                                               ; preds = %25
  %28 = tail call swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %2, i64 %4, %swift.bridge* %5)
  br label %29

29:                                               ; preds = %25, %27
  %30 = phi i64 [ %28, %27 ], [ %2, %25 ]
  %31 = and i64 %3, 12
  %32 = icmp eq i64 %31, %16
  br i1 %32, label %33, label %35, !prof !7

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

35:                                               ; preds = %29, %33
  %36 = phi i64 [ %34, %33 ], [ %3, %29 ]
  br i1 %11, label %37, label %41

37:                                               ; preds = %35
  %38 = lshr i64 %36, 16
  %39 = lshr i64 %30, 16
  %40 = sub nsw i64 %38, %39
  br label %50

41:                                               ; preds = %35
  %42 = and i64 %9, 2305843009213693952
  %43 = icmp eq i64 %42, 0
  %44 = lshr i64 %9, 56
  %45 = and i64 %44, 15
  %46 = and i64 %4, 281474976710655
  %47 = select i1 %43, i64 %46, i64 %45
  %48 = lshr i64 %30, 16
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %224, label %207, !prof !7

50:                                               ; preds = %37, %210
  %51 = phi i64 [ %211, %210 ], [ %40, %37 ]
  %52 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %26, i64 %51)
  %53 = extractvalue { i64, i1 } %52, 0
  %54 = extractvalue { i64, i1 } %52, 1
  br i1 %54, label %226, label %55, !prof !7

55:                                               ; preds = %50
  %56 = icmp slt i64 %53, %26
  br i1 %56, label %227, label %57, !prof !7

57:                                               ; preds = %55
  %58 = icmp eq i64 %0, 0
  %59 = inttoptr i64 %0 to %Ts5UInt8V*
  %60 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %59, i64 %26, i32 0
  %61 = ptrtoint i8* %60 to i64
  %62 = select i1 %58, i64 0, i64 %61
  %63 = sub i64 %53, %26
  %64 = inttoptr i64 %62 to i8*
  %65 = inttoptr i64 %62 to %Ts5UInt8V*
  %._value1 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 0, i32 0
  %66 = load i8, i8* %._value1, align 1
  switch i8 %66, label %130 [
    i8 45, label %67
    i8 43, label %121
  ]

67:                                               ; preds = %57
  %68 = icmp slt i64 %63, 1
  br i1 %68, label %229, label %69, !prof !7

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

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

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

.loopexit.loopexit83.split.loop.exit:             ; preds = %117
  %86 = extractvalue { i64, i1 } %115, 0
  br label %.loopexit

.loopexit.loopexit86.split.loop.exit:             ; preds = %166
  %87 = extractvalue { i64, i1 } %164, 0
  br label %.loopexit

.loopexit:                                        ; preds = %160, %157, %154, %111, %108, %105, %197, %194, %191, %.loopexit.loopexit86.split.loop.exit, %.loopexit.loopexit83.split.loop.exit, %.loopexit.loopexit.split.loop.exit, %170, %180, %130, %132, %141, %123, %76, %92, %69
  %88 = phi i64 [ 0, %69 ], [ 0, %76 ], [ 0, %92 ], [ 0, %123 ], [ 0, %132 ], [ 0, %141 ], [ 0, %130 ], [ 0, %170 ], [ 0, %180 ], [ %85, %.loopexit.loopexit.split.loop.exit ], [ %86, %.loopexit.loopexit83.split.loop.exit ], [ %87, %.loopexit.loopexit86.split.loop.exit ], [ 0, %191 ], [ 0, %194 ], [ 0, %197 ], [ 0, %105 ], [ 0, %108 ], [ 0, %111 ], [ 0, %154 ], [ 0, %157 ], [ 0, %160 ]
  %89 = phi i8 [ 1, %69 ], [ 0, %76 ], [ 0, %92 ], [ 1, %123 ], [ 0, %132 ], [ 0, %141 ], [ 1, %130 ], [ 0, %170 ], [ 0, %180 ], [ 0, %.loopexit.loopexit.split.loop.exit ], [ 0, %.loopexit.loopexit83.split.loop.exit ], [ 0, %.loopexit.loopexit86.split.loop.exit ], [ 1, %191 ], [ 1, %194 ], [ 1, %197 ], [ 1, %105 ], [ 1, %108 ], [ 1, %111 ], [ 1, %154 ], [ 1, %157 ], [ 1, %160 ]
  %90 = insertvalue { i64, i8 } undef, i64 %88, 0
  %91 = insertvalue { i64, i8 } %90, i8 %89, 1
  ret { i64, i8 } %91

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

.preheader41:                                     ; preds = %92, %117
  %97 = phi i8* [ %119, %117 ], [ %95, %92 ]
  %98 = phi i64 [ %118, %117 ], [ 0, %92 ]
  %99 = load i8, i8* %97, align 1
  %100 = icmp ugt i8 %99, 47
  %101 = icmp ult i8 %99, %84
  %or.cond = select i1 %100, i1 %101, i1 false
  br i1 %or.cond, label %108, label %102, !prof !11

102:                                              ; preds = %.preheader41
  %103 = icmp ugt i8 %99, 64
  %104 = icmp ult i8 %99, %83
  %or.cond5 = select i1 %103, i1 %104, i1 false
  br i1 %or.cond5, label %108, label %105, !prof !11

105:                                              ; preds = %102
  %106 = icmp ugt i8 %99, 96
  %107 = icmp ult i8 %99, %82
  %or.cond6 = select i1 %106, i1 %107, i1 false
  br i1 %or.cond6, label %108, label %.loopexit, !prof !11

108:                                              ; preds = %105, %.preheader41, %102
  %.sink = phi i8 [ -55, %102 ], [ -48, %.preheader41 ], [ -87, %105 ]
  %109 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %98, i64 %6)
  %110 = extractvalue { i64, i1 } %109, 1
  br i1 %110, label %.loopexit, label %111

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

117:                                              ; preds = %111
  %118 = extractvalue { i64, i1 } %115, 0
  %119 = getelementptr inbounds i8, i8* %97, i64 1
  %120 = icmp eq i8* %119, %94
  br i1 %120, label %.loopexit.loopexit83.split.loop.exit, label %.preheader41

121:                                              ; preds = %57
  %122 = icmp slt i64 %63, 1
  br i1 %122, label %228, label %123, !prof !7

123:                                              ; preds = %121
  %124 = icmp eq i64 %62, 0
  %125 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %65, i64 1, i32 0
  %126 = ptrtoint i8* %125 to i64
  %127 = select i1 %124, i64 0, i64 %126
  %128 = add nsw i64 %63, -1
  %129 = icmp eq i64 %128, 0
  br i1 %129, label %.loopexit, label %132, !prof !7

130:                                              ; preds = %57
  %131 = icmp eq i64 %53, %26
  br i1 %131, label %.loopexit, label %170, !prof !7

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

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

.preheader45:                                     ; preds = %141, %166
  %146 = phi i8* [ %168, %166 ], [ %144, %141 ]
  %147 = phi i64 [ %167, %166 ], [ 0, %141 ]
  %148 = load i8, i8* %146, align 1
  %149 = icmp ugt i8 %148, 47
  %150 = icmp ult i8 %148, %140
  %or.cond7 = select i1 %149, i1 %150, i1 false
  br i1 %or.cond7, label %157, label %151, !prof !11

151:                                              ; preds = %.preheader45
  %152 = icmp ugt i8 %148, 64
  %153 = icmp ult i8 %148, %139
  %or.cond8 = select i1 %152, i1 %153, i1 false
  br i1 %or.cond8, label %157, label %154, !prof !11

154:                                              ; preds = %151
  %155 = icmp ugt i8 %148, 96
  %156 = icmp ult i8 %148, %138
  %or.cond9 = select i1 %155, i1 %156, i1 false
  br i1 %or.cond9, label %157, label %.loopexit, !prof !11

157:                                              ; preds = %154, %.preheader45, %151
  %.sink118 = phi i8 [ -55, %151 ], [ -48, %.preheader45 ], [ -87, %154 ]
  %158 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %147, i64 %6)
  %159 = extractvalue { i64, i1 } %158, 1
  br i1 %159, label %.loopexit, label %160

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

166:                                              ; preds = %160
  %167 = extractvalue { i64, i1 } %164, 0
  %168 = getelementptr inbounds i8, i8* %146, i64 1
  %169 = icmp eq i8* %168, %143
  br i1 %169, label %.loopexit.loopexit86.split.loop.exit, label %.preheader45

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

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

.preheader:                                       ; preds = %180, %203
  %183 = phi i8* [ %205, %203 ], [ %64, %180 ]
  %184 = phi i64 [ %204, %203 ], [ 0, %180 ]
  %185 = load i8, i8* %183, align 1
  %186 = icmp ugt i8 %185, 47
  %187 = icmp ult i8 %185, %178
  %or.cond10 = select i1 %186, i1 %187, i1 false
  br i1 %or.cond10, label %194, label %188, !prof !11

188:                                              ; preds = %.preheader
  %189 = icmp ugt i8 %185, 64
  %190 = icmp ult i8 %185, %177
  %or.cond11 = select i1 %189, i1 %190, i1 false
  br i1 %or.cond11, label %194, label %191, !prof !11

191:                                              ; preds = %188
  %192 = icmp ugt i8 %185, 96
  %193 = icmp ult i8 %185, %176
  %or.cond12 = select i1 %192, i1 %193, i1 false
  br i1 %or.cond12, label %194, label %.loopexit, !prof !11

194:                                              ; preds = %191, %.preheader, %188
  %.sink119 = phi i8 [ -55, %188 ], [ -48, %.preheader ], [ -87, %191 ]
  %195 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %184, i64 %6)
  %196 = extractvalue { i64, i1 } %195, 1
  br i1 %196, label %.loopexit, label %197

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

203:                                              ; preds = %197
  %204 = extractvalue { i64, i1 } %201, 0
  %205 = getelementptr inbounds i8, i8* %183, i64 1
  %206 = icmp eq i8* %205, %181
  br i1 %206, label %.loopexit.loopexit.split.loop.exit, label %.preheader

207:                                              ; preds = %41
  %208 = lshr i64 %36, 16
  %209 = icmp ult i64 %47, %208
  br i1 %209, label %225, label %210, !prof !7

210:                                              ; preds = %207
  %211 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 %30, i64 %36, i64 %4, %swift.bridge* %5)
  br label %50

212:                                              ; preds = %21
  %213 = and i64 %9, 2305843009213693952
  %214 = icmp eq i64 %213, 0
  %215 = and i64 %4, 281474976710655
  %216 = lshr i64 %9, 56
  %217 = and i64 %216, 15
  %218 = select i1 %214, i64 %215, i64 %217
  %219 = lshr i64 %22, 16
  %220 = icmp ult i64 %218, %219
  br i1 %220, label %223, label %221, !prof !7

221:                                              ; preds = %212
  %222 = tail call swiftcc i64 @"$sSS8UTF8ViewV16_foreignDistance4from2toSiSS5IndexV_AGtF"(i64 15, i64 %22, i64 %4, %swift.bridge* %5)
  br label %25

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn
declare swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness(i64, i8**, %swift.type*, %swift.protocol_requirement*, %swift.protocol_requirement*) local_unnamed_addr #11

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

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

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

; Function Attrs: minsize optsize
declare swiftcc %swift.metadata_response @"$sSDMa"(i64, %swift.type*, %swift.type*, i8**) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind readonly willreturn
declare swiftcc %swift.metadata_response @swift_checkMetadataState(i64, %swift.type*) local_unnamed_addr #12

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

; Function Attrs: minsize optsize
define internal swiftcc void @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_TA"(%TSa* noalias nocapture writeonly sret(%TSa) %0, %TSi* noalias nocapture readonly dereferenceable(8) %1, %swift.refcounted* nocapture readonly swiftself %2, %swift.error** noalias nocapture swifterror dereferenceable(8) %3) #0 {
entry:
  %4 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1, i32 0
  %T = load %swift.type*, %swift.type** %4, align 8
  %5 = getelementptr inbounds %swift.type*, %swift.type** %4, i64 1
  %6 = bitcast %swift.type** %5 to i8***
  %T.Collection = load i8**, i8*** %6, align 8
  %7 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 2
  %8 = bitcast %swift.refcounted* %7 to %swift.refcounted**
  %9 = load %swift.refcounted*, %swift.refcounted** %8, align 8
  %10 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 2, i32 1
  %11 = load i64, i64* %10, align 8
  %12 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 3
  %._buffer._storage = bitcast %swift.refcounted* %12 to %Ts28__ContiguousArrayStorageBaseC**
  %13 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %14 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 3, i32 1
  %15 = load i64, i64* %14, align 8
  tail call swiftcc void @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_"(%TSa* noalias nocapture sret(%TSa) %0, %TSi* noalias nocapture nonnull dereferenceable(8) %1, %swift.refcounted* %9, i64 %11, %Ts28__ContiguousArrayStorageBaseC* %13, i64 %15, %swift.type* %T, i8** %T.Collection, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %3)
  ret void
}

; Function Attrs: minsize nofree noinline nosync nounwind optsize readnone
define linkonce_odr hidden i8** @"$sSNySiGSNyxGSTsSxRzSZ6StrideRpzrlWl"() local_unnamed_addr #13 {
entry:
  %conditional.requirement.buffer = alloca [2 x i8**], align 8
  %0 = load i8**, i8*** @"$sSNySiGSNyxGSTsSxRzSZ6StrideRpzrlWL", align 8
  %1 = icmp eq i8** %0, null
  br i1 %1, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %2 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledNameAbstract({ i32, i32 }* nonnull @"$sSNySiGMD") #22
  %3 = tail call i8** @"$sS2iSZsWl"() #24
  %4 = getelementptr inbounds [2 x i8**], [2 x i8**]* %conditional.requirement.buffer, i64 0, i64 0
  store i8** @"$sSiSxsWP", i8*** %4, align 8
  %5 = getelementptr inbounds [2 x i8**], [2 x i8**]* %conditional.requirement.buffer, i64 0, i64 1
  store i8** %3, i8*** %5, align 8
  %6 = call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSNyxGSTsSxRzSZ6StrideRpzrlMc", %swift.type* %2, i8*** nonnull %4) #22
  store atomic i8** %6, i8*** @"$sSNySiGSNyxGSTsSxRzSZ6StrideRpzrlWL" release, align 8
  br label %cont

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

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

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

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContextInMetadataState2(i64 255, i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #28
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

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

; Function Attrs: minsize nofree noinline nosync nounwind optsize readnone
define linkonce_odr hidden i8** @"$sS2iSZsWl"() local_unnamed_addr #13 {
entry:
  %0 = load i8**, i8*** @"$sS2iSZsWL", align 8
  %1 = icmp eq i8** %0, null
  br i1 %1, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %2 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSiSZsMc", %swift.type* nonnull @"$sSiN", i8*** undef) #22
  store atomic i8** %2, i8*** @"$sS2iSZsWL" release, align 8
  br label %cont

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

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

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

; Function Attrs: minsize optsize
define internal swiftcc void @"$s7llvm_OZ12combinationsySaySay7ElementQzGGSgx_SitSlRzlF1rL_yAFSi_SitSlRzlFAFSiXEfU_A2EXEfU_TA"(%TSa* noalias nocapture writeonly sret(%TSa) %0, %TSa* noalias nocapture readonly dereferenceable(8) %1, %swift.refcounted* nocapture readonly swiftself %2, %swift.error** noalias nocapture readnone swifterror dereferenceable(8) %3) #0 {
entry:
  %4 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 1, i32 0
  %T = load %swift.type*, %swift.type** %4, align 8
  %5 = getelementptr inbounds %swift.type*, %swift.type** %4, i64 1
  %6 = bitcast %swift.type** %5 to i8***
  %T.Collection = load i8**, i8*** %6, align 8
  %7 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 2
  %._buffer._storage = bitcast %swift.refcounted* %7 to %Ts28__ContiguousArrayStorageBaseC**
  %8 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %9 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %2, i64 2, i32 1
  %10 = load i64, i64* %9, align 8
  tail call void @llvm.experimental.noalias.scope.decl(metadata !15)
  tail call void @llvm.experimental.noalias.scope.decl(metadata !18)
  %._buffer._storage.i = getelementptr inbounds %TSa, %TSa* %1, i64 0, i32 0, i32 0
  %11 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage.i, align 8, !alias.scope !18, !noalias !15
  %12 = getelementptr inbounds i8*, i8** %T.Collection, i64 1
  %13 = bitcast i8** %12 to i8***
  %14 = load i8**, i8*** %13, align 8, !invariant.load !9, !noalias !20
  %15 = tail call swiftcc %swift.metadata_response @swift_getAssociatedTypeWitness(i64 0, i8** %14, %swift.type* %T, %swift.protocol_requirement* nonnull @"$sSTTL", %swift.protocol_requirement* nonnull @"$s7ElementSTTl") #23
  %T.Element.i = extractvalue %swift.metadata_response %15, 0
  %16 = tail call swiftcc %swift.type* @"$ss29getContiguousArrayStorageType3fors01_bcD0CyxGmxm_tlF"(%swift.type* %T.Element.i, %swift.type* %T.Element.i)
  %17 = bitcast %swift.type* %16 to i8*
  %18 = getelementptr inbounds %swift.type, %swift.type* %16, i64 3
  %19 = bitcast %swift.type* %18 to i32*
  %20 = load i32, i32* %19, align 8, !noalias !20
  %21 = zext i32 %20 to i64
  %22 = getelementptr inbounds i8, i8* %17, i64 28
  %23 = bitcast i8* %22 to i16*
  %24 = load i16, i16* %23, align 4, !noalias !20
  %25 = zext i16 %24 to i64
  %26 = getelementptr inbounds %swift.type, %swift.type* %T.Element.i, i64 -1
  %27 = bitcast %swift.type* %26 to %swift.vwtable**
  %T.Element.valueWitnesses2.i = load %swift.vwtable*, %swift.vwtable** %27, align 8, !invariant.load !9, !dereferenceable !10
  %28 = getelementptr inbounds %swift.vwtable, %swift.vwtable* %T.Element.valueWitnesses2.i, i64 0, i32 9
  %stride.i = load i64, i64* %28, align 8, !invariant.load !9, !noalias !20
  %29 = getelementptr inbounds %swift.vwtable, %swift.vwtable* %T.Element.valueWitnesses2.i, i64 0, i32 10
  %flags.i = load i32, i32* %29, align 8, !invariant.load !9, !noalias !20
  %30 = and i32 %flags.i, 255
  %flags.alignmentMask.i = zext i32 %30 to i64
  %31 = add nuw nsw i64 %flags.alignmentMask.i, %21
  %32 = xor i64 %flags.alignmentMask.i, -1
  %33 = and i64 %31, %32
  %34 = add i64 %33, %stride.i
  %35 = or i64 %flags.alignmentMask.i, %25
  %36 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %16, i64 %34, i64 %35) #6, !noalias !20
  %.asUnsubstituted.i = bitcast %swift.refcounted* %36 to %Ts23_ContiguousArrayStorageC*
  %37 = tail call swiftcc { %Ts28__ContiguousArrayStorageBaseC*, i8* } @"$sSa13_adoptStorage_5countSayxG_SpyxGts016_ContiguousArrayB0CyxGn_SitFZ"(%Ts23_ContiguousArrayStorageC* %.asUnsubstituted.i, i64 1), !noalias !20
  %38 = extractvalue { %Ts28__ContiguousArrayStorageBaseC*, i8* } %37, 0
  %39 = extractvalue { %Ts28__ContiguousArrayStorageBaseC*, i8* } %37, 1
  %40 = bitcast i8* %39 to %swift.opaque*
  tail call swiftcc void @"$sSayxSicig"(%swift.opaque* noalias nocapture sret(%swift.opaque) %40, i64 %10, %Ts28__ContiguousArrayStorageBaseC* %8, %swift.type* %T.Element.i)
  %41 = tail call swiftcc %swift.metadata_response @"$sSaMa"(i64 0, %swift.type* %T.Element.i) #24
  %42 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa1poiySayxGAB_ABtFZ"(%Ts28__ContiguousArrayStorageBaseC* %38, %Ts28__ContiguousArrayStorageBaseC* %11, %swift.type* %T.Element.i)
  %43 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %38, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %43) #6
  %._buffer1._storage.i = getelementptr inbounds %TSa, %TSa* %0, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %42, %Ts28__ContiguousArrayStorageBaseC** %._buffer1._storage.i, align 8, !alias.scope !15, !noalias !18
  ret void
}

; Function Attrs: minsize nounwind optsize
define linkonce_odr hidden { i8* } @dynamic_cast_existential_0_class_conditional(i8* %0, %swift.type* %1) local_unnamed_addr #4 {
entry:
  %2 = tail call zeroext i1 @swift_isClassType(%swift.type* %1) #23
  %.fca.0.insert = insertvalue { i8* } poison, i8* %0, 0
  %spec.select = select i1 %2, { i8* } %.fca.0.insert, { i8* } zeroinitializer
  ret { i8* } %spec.select
}

; Function Attrs: mustprogress nofree nosync nounwind readnone willreturn
declare zeroext i1 @swift_isClassType(%swift.type*) local_unnamed_addr #11

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

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

; 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: mustprogress nounwind willreturn
declare void @swift_arrayInitWithCopy(%swift.opaque*, %swift.opaque*, i64, %swift.type*) local_unnamed_addr #7

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

; Function Attrs: minsize noinline optsize
declare swiftcc void @"$ss53KEY_TYPE_OF_DICTIONARY_VIOLATES_HASHABLE_REQUIREMENTSys5NeverOypXpF"(%swift.type*) local_unnamed_addr #3

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

; Function Attrs: inaccessiblememonly mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0)
declare noalias noundef i8* @malloc(i64 noundef) local_unnamed_addr #16

; Function Attrs: inaccessiblemem_or_argmemonly mustprogress nounwind willreturn allockind("free")
declare void @free(i8* allocptr nocapture noundef) local_unnamed_addr #17

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

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

; 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 nofree noinline nosync nounwind optsize readnone
define linkonce_odr hidden i8** @"$sS2sSTsWl"() local_unnamed_addr #13 {
entry:
  %0 = load i8**, i8*** @"$sS2sSTsWL", align 8
  %1 = icmp eq i8** %0, null
  br i1 %1, label %cacheIsNull, label %cont

cacheIsNull:                                      ; preds = %entry
  %2 = tail call i8** @swift_getWitnessTable(%swift.protocol_conformance_descriptor* nonnull @"$sSsSTsMc", %swift.type* nonnull @"$sSsN", i8*** undef) #22
  store atomic i8** %2, i8*** @"$sS2sSTsWL" release, align 8
  br label %cont

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

; 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, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64, i64, i64, %swift.bridge*) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare %swift.refcounted* @swift_retain_n(%swift.refcounted* returned, i32) #6

; Function Attrs: nounwind
declare void @swift_release_n(%swift.refcounted*, i32) #6

; Function Attrs: minsize nounwind optsize
define private swiftcc void @objectdestroy.2(%swift.refcounted* swiftself %0) #4 {
  tail call swiftcc void @objectdestroy(%swift.refcounted* swiftself %0) #4
  ret void
}

; Function Attrs: minsize optsize
define internal swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA.4"(%TSJ* noalias nocapture dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) #0 {
  %4 = tail call swiftcc i1 @"$sSlsSQ7ElementRpzrlE5split9separator9maxSplits25omittingEmptySubsequencesSay11SubSequenceQzGAB_SiSbtFSbABXEfU_SS_TG5TA"(%TSJ* noalias nocapture dereferenceable(16) %0, %swift.refcounted* nocapture readonly swiftself %1, %swift.error** noalias nocapture swifterror dereferenceable(8) %2) #0
  ret i1 %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 = { minsize nounwind optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #6 = { nounwind }
attributes #7 = { mustprogress nounwind willreturn }
attributes #8 = { mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #9 = { minsize mustprogress nofree noinline nounwind optsize readonly willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { argmemonly nounwind }
attributes #11 = { mustprogress nofree nosync nounwind readnone willreturn }
attributes #12 = { mustprogress nofree nounwind readonly willreturn }
attributes #13 = { minsize nofree noinline nosync nounwind optsize readnone "frame-pointer"="non-leaf" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #14 = { nofree nounwind readonly }
attributes #15 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #16 = { inaccessiblememonly mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) "alloc-family"="malloc" }
attributes #17 = { inaccessiblemem_or_argmemonly mustprogress nounwind willreturn allockind("free") "alloc-family"="malloc" }
attributes #18 = { 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 #19 = { inaccessiblememonly nocallback nofree nosync nounwind willreturn }
attributes #20 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #21 = { nounwind willreturn }
attributes #22 = { nounwind readonly }
attributes #23 = { nounwind readnone willreturn }
attributes #24 = { nounwind readnone }
attributes #25 = { nounwind readonly willreturn }
attributes #26 = { nounwind optsize }
attributes #27 = { noinline }
attributes #28 = { argmemonly nounwind readonly }

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

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