func main() {
    let S = Array(readLine()!)
    let n = S.count
    let A: Set = ["dream", "dreamer", "erase", "eraser"]
    
    var s = ""
    for i in 1...n {
        s.insert(S[n - i], at: s.startIndex)
        if s.count > 7 {
            print("NO")
            return
        }
        if A.contains(s) {
            s = ""
        }
    }
    
    if s.count == 0 {
        print("YES")
    } else {
        print("NO")
    }
}

main()

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

%struct._SwiftEmptySetSingleton = type { %struct.HeapObject, %struct._SwiftSetBodyStorage, i64 }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftSetBodyStorage = type { i64, i64, i8, i8, i16, i32, i64, i8* }
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%Ts23_ContiguousArrayStorageCySSG_tailelems0c = type { [1 x i64], %Ts23_ContiguousArrayStorageCySSG_tailelems0 }
%Ts23_ContiguousArrayStorageCySSG_tailelems0 = type <{ %swift.refcounted, %Ts10_ArrayBodyV, %TSS, %TSS, %TSS, %TSS }>
%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 }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.bridge = type opaque
%swift.type_descriptor = type opaque
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%TSJ = type <{ %TSS }>
%Ts6HasherV = type <{ %Ts6HasherV5_CoreV }>
%Ts6HasherV5_CoreV = type <{ %Ts6HasherV11_TailBufferV, %Ts6HasherV6_StateV }>
%Ts6HasherV11_TailBufferV = type <{ %Ts6UInt64V }>
%Ts6HasherV6_StateV = type <{ %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V, %Ts6UInt64V }>
%Ts15__RawSetStorageC = type <{ %swift.refcounted, %TSi, %TSi, %Ts4Int8V, %Ts4Int8V, %Ts5Int16V, %Ts5Int32V, %TSi, %TSv }>
%Ts4Int8V = type <{ i8 }>
%Ts5Int16V = type <{ i16 }>
%Ts5Int32V = type <{ i32 }>
%TSv = type <{ i8* }>
%Ts13_UnsafeBitsetV4WordV = type <{ %TSu }>
%Ts11_SetStorageC = type <{ %swift.refcounted, %TSi, %TSi, %Ts4Int8V, %Ts4Int8V, %Ts5Int16V, %Ts5Int32V, %TSi, %TSv }>
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>

@_swiftEmptySetSingleton = external global %struct._SwiftEmptySetSingleton, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$s7llvm_OZ4mainyyFTv_" = internal global %Ts23_ContiguousArrayStorageCySSG_tailelems0c { [1 x i64] zeroinitializer, %Ts23_ContiguousArrayStorageCySSG_tailelems0 <{ %swift.refcounted zeroinitializer, %Ts10_ArrayBodyV <{ %TSo22_SwiftArrayBodyStorageV <{ %TSi <{ i64 4 }>, %TSu <{ i64 8 }> }> }>, %TSS <{ %Ts11_StringGutsV <{ %Ts13_StringObjectV <{ %Ts6UInt64V <{ i64 469785473636 }>, %swift.bridge* inttoptr (i64 -1945555039024054272 to %swift.bridge*) }> }> }>, %TSS <{ %Ts11_StringGutsV <{ %Ts13_StringObjectV <{ %Ts6UInt64V <{ i64 32199667804893796 }>, %swift.bridge* inttoptr (i64 -1801439850948198400 to %swift.bridge*) }> }> }>, %TSS <{ %Ts11_StringGutsV <{ %Ts13_StringObjectV <{ %Ts6UInt64V <{ i64 435727463013 }>, %swift.bridge* inttoptr (i64 -1945555039024054272 to %swift.bridge*) }> }> }>, %TSS <{ %Ts11_StringGutsV <{ %Ts13_StringObjectV <{ %Ts6UInt64V <{ i64 125780053029477 }>, %swift.bridge* inttoptr (i64 -1873497444986126336 to %swift.bridge*) }> }> }> }> }, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____ySSG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySSGMD" to i64)) to i32), i32 -9 }, align 8
@"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
@"$sSSN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"$ss11_SetStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss11_SetStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss11_SetStorageCMn"
@"symbolic _____ySSG s11_SetStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss11_SetStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s11_SetStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySSG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss11_SetStorageCySSGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySSG s11_SetStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss11_SetStorageCySSGMD" to i64)) to i32), i32 -9 }, align 8
@"symbolic _____ySJG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySJG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySJG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySJGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySJG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySJGMD" to i64)) to i32), i32 -9 }, align 8
@__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 [4 x 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:
  tail call swiftcc void @"$s7llvm_OZ4mainyyF"()
  ret i32 0
}

; Function Attrs: minsize optsize
define hidden swiftcc void @"$s7llvm_OZ4mainyyF"() local_unnamed_addr #0 {
entry:
  %0 = alloca %TSS, align 8
  %1 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %2 = extractvalue { i64, i64 } %1, 1
  %3 = icmp eq i64 %2, 0
  br i1 %3, label %72, label %4

4:                                                ; preds = %entry
  %5 = extractvalue { i64, i64 } %1, 0
  %6 = inttoptr i64 %2 to %swift.bridge*
  %7 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSS_Tgq5"(i64 %5, %swift.bridge* nonnull %6)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %6) #2
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %7, i64 0, i32 1, i32 0, i32 0, i32 0
  %8 = load i64, i64* %._storage.count._value, align 8, !range !6
  %9 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySSGMD") #10
  %staticref = tail call %swift.refcounted* @swift_initStaticObject(%swift.type* %9, %swift.refcounted* nonnull getelementptr inbounds (%Ts23_ContiguousArrayStorageCySSG_tailelems0c, %Ts23_ContiguousArrayStorageCySSG_tailelems0c* @"$s7llvm_OZ4mainyyFTv_", i64 0, i32 1, i32 0)) #11
  %10 = bitcast %swift.refcounted* %staticref to %Ts28__ContiguousArrayStorageBaseC*
  %11 = tail call swiftcc %swift.bridge* @"$sSh21_nonEmptyArrayLiteralShyxGSayxG_tcfCSS_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %10)
  %12 = bitcast %TSS* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %12)
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %0, i64 0, i32 0, i32 0, i32 0, i32 0
  store i64 0, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %0, i64 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts._object._object, align 8
  %13 = icmp eq i64 %8, 0
  br i1 %13, label %73, label %14, !prof !7

14:                                               ; preds = %4
  %15 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp ugt i64 %8, %15
  br i1 %.not, label %74, label %16, !prof !7

16:                                               ; preds = %14
  %17 = add nsw i64 %8, -1
  %18 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %7, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %18 to %TSJ*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr, i64 %17, i32 0, i32 0, i32 0, i32 0, i32 0
  %19 = load i64, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr, i64 %17, i32 0, i32 0, i32 0, i32 1
  %20 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %21 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %20) #2
  call swiftcc void @"$sSS6insert_2atySJ_SS5IndexVtF"(i64 %19, %swift.bridge* %20, i64 15, %TSS* nocapture nonnull swiftself dereferenceable(16) %0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #2
  %22 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %23 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %24 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %23) #2
  %25 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %22, %swift.bridge* %23)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %23) #2
  %26 = icmp sgt i64 %25, 7
  br i1 %26, label %.loopexit, label %.preheader

27:                                               ; preds = %.preheader, %56
  %28 = phi i64 [ 0, %56 ], [ %51, %.preheader ]
  %29 = phi %swift.bridge* [ inttoptr (i64 -2305843009213693952 to %swift.bridge*), %56 ], [ %52, %.preheader ]
  br i1 %53, label %57, label %30

30:                                               ; preds = %27
  %31 = add nuw nsw i64 %.sink, 1
  %32 = sub nsw i64 %8, %31
  %33 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not34 = icmp ult i64 %32, %33
  br i1 %.not34, label %34, label %75, !prof !8

34:                                               ; preds = %30
  %._str4._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr, i64 %32, i32 0, i32 0, i32 0, i32 0, i32 0
  %35 = load i64, i64* %._str4._guts._object._countAndFlagsBits._value, align 8
  %._str4._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr, i64 %32, i32 0, i32 0, i32 0, i32 1
  %36 = load %swift.bridge*, %swift.bridge** %._str4._guts._object._object, align 8
  %37 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %36) #2
  call swiftcc void @"$sSS6insert_2atySJ_SS5IndexVtF"(i64 %35, %swift.bridge* %36, i64 15, %TSS* nocapture nonnull swiftself dereferenceable(16) %0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %36) #2
  %38 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %39 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %40 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %39) #2
  %41 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %38, %swift.bridge* %39)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %39) #2
  %42 = icmp sgt i64 %41, 7
  br i1 %42, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %34, %16
  %43 = phi %swift.bridge* [ %23, %16 ], [ %39, %34 ]
  %44 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #10
  %45 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %44, i64 64, i64 7) #2
  %46 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %45, i64 1
  %._storage6.count._value = bitcast %swift.refcounted* %46 to i64*
  store i64 1, i64* %._storage6.count._value, align 8
  %._storage6._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %45, i64 1, i32 1
  store i64 2, i64* %._storage6._capacityAndFlags, align 8
  %47 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %45, i64 2
  %48 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %45, i64 3, i32 1
  %49 = bitcast i64* %48 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %49, align 8
  %._guts9._object._countAndFlagsBits._value = bitcast %swift.refcounted* %47 to i64*
  store i64 20302, i64* %._guts9._object._countAndFlagsBits._value, align 8
  %._guts9._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %45, i64 2, i32 1
  %50 = bitcast i64* %._guts9._object._object to %swift.bridge**
  store %swift.bridge* inttoptr (i64 -2161727821137838080 to %swift.bridge*), %swift.bridge** %50, align 8
  br label %70

.preheader:                                       ; preds = %16, %34
  %.sink = phi i64 [ %31, %34 ], [ 1, %16 ]
  %51 = phi i64 [ %38, %34 ], [ %22, %16 ]
  %52 = phi %swift.bridge* [ %39, %34 ], [ %23, %16 ]
  %53 = icmp eq i64 %8, %.sink
  %54 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %52) #2
  %55 = tail call swiftcc i1 @"$sSh8containsySbxFSS_Tg5"(i64 %51, %swift.bridge* %52, %swift.bridge* %11)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %52) #2
  br i1 %55, label %56, label %27

56:                                               ; preds = %.preheader
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %52) #2
  store i64 0, i64* %._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._guts._object._object, align 8
  br label %27

57:                                               ; preds = %27
  %58 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %29) #2
  %59 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %28, %swift.bridge* %29)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %29) #2
  %60 = icmp eq i64 %59, 0
  %61 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #10
  %62 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %61, i64 64, i64 7) #2
  %63 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %62, i64 1
  %._storage16.count._value = bitcast %swift.refcounted* %63 to i64*
  store i64 1, i64* %._storage16.count._value, align 8
  %._storage16._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %62, i64 1, i32 1
  store i64 2, i64* %._storage16._capacityAndFlags, align 8
  %64 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %62, i64 2
  %65 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %62, i64 3, i32 1
  %66 = bitcast i64* %65 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %66, align 8
  %._guts19._object._countAndFlagsBits._value = bitcast %swift.refcounted* %64 to i64*
  %._guts19._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %62, i64 2, i32 1
  %67 = bitcast i64* %._guts19._object._object to %swift.bridge**
  br i1 %60, label %68, label %69

68:                                               ; preds = %57
  store i64 5457241, i64* %._guts19._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2089670227099910144 to %swift.bridge*), %swift.bridge** %67, align 8
  br label %70

69:                                               ; preds = %57
  store i64 20302, i64* %._guts19._object._countAndFlagsBits._value, align 8
  store %swift.bridge* inttoptr (i64 -2161727821137838080 to %swift.bridge*), %swift.bridge** %67, align 8
  br label %70

70:                                               ; preds = %68, %69, %.loopexit
  %.sink68 = phi %swift.refcounted* [ %62, %68 ], [ %62, %69 ], [ %45, %.loopexit ]
  %.lcssa.sink = phi %swift.bridge* [ %29, %68 ], [ %29, %69 ], [ %43, %.loopexit ]
  %.sink69 = bitcast %swift.refcounted* %.sink68 to %Ts28__ContiguousArrayStorageBaseC*
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %.sink69, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i64 10, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*))
  tail call void @swift_release(%swift.refcounted* %.sink68) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %11) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %.lcssa.sink) #2
  %71 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %7, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %71) #2
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %12)
  ret void

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

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

74:                                               ; preds = %14
  tail call void asm sideeffect "", "n"(i32 3) #2
  tail call void @llvm.trap()
  unreachable

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

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

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

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

7:                                                ; preds = %entry
  %._value1 = getelementptr inbounds %Ts15__RawSetStorageC, %Ts15__RawSetStorageC* %4, i64 0, i32 7, i32 0
  %8 = load i64, i64* %._value1, align 8
  %9 = bitcast %Ts6HasherV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 72, i8* nonnull %9)
  call swiftcc void @"$ss6HasherV5_seedABSi_tcfC"(%Ts6HasherV* noalias nocapture nonnull sret(%Ts6HasherV) %3, i64 %8)
  call swiftcc void @"$sSS4hash4intoys6HasherVz_tF"(%Ts6HasherV* nocapture nonnull dereferenceable(72) %3, i64 %0, %swift.bridge* %1)
  %10 = call swiftcc i64 @"$ss6HasherV9_finalizeSiyF"(%Ts6HasherV* nocapture nonnull swiftself dereferenceable(72) %3)
  call void @llvm.lifetime.end.p0i8(i64 72, i8* nonnull %9)
  %._value2 = getelementptr inbounds %Ts15__RawSetStorageC, %Ts15__RawSetStorageC* %4, i64 0, i32 3, i32 0
  %11 = load i8, i8* %._value2, align 8
  %12 = and i8 %11, 63
  %13 = zext i8 %12 to i64
  %notmask = shl nsw i64 -1, %13
  %14 = xor i64 %notmask, -1
  %15 = and i64 %10, %14
  %16 = bitcast %swift.bridge* %2 to i8*
  %17 = getelementptr inbounds i8, i8* %16, i64 56
  %tailaddr = bitcast i8* %17 to %Ts13_UnsafeBitsetV4WordV*
  %18 = lshr i64 %15, 6
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %18, i32 0, i32 0
  %19 = load i64, i64* %.value._value, align 8
  %20 = and i64 %15, 63
  %21 = shl nuw i64 1, %20
  %22 = and i64 %21, %19
  %23 = icmp eq i64 %22, 0
  br i1 %23, label %.loopexit, label %25

.loopexit:                                        ; preds = %48, %.preheader, %50, %25, %34, %32, %7, %entry
  %24 = phi i1 [ false, %entry ], [ false, %7 ], [ true, %32 ], [ false, %34 ], [ true, %25 ], [ true, %48 ], [ true, %.preheader ], [ false, %50 ]
  ret i1 %24

25:                                               ; preds = %7
  %._rawValue = getelementptr inbounds %Ts15__RawSetStorageC, %Ts15__RawSetStorageC* %4, i64 0, i32 8, i32 0
  %26 = bitcast i8** %._rawValue to %TSS**
  %27 = load %TSS*, %TSS** %26, align 8
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %27, i64 %15, i32 0, i32 0, i32 0, i32 0
  %28 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %27, i64 %15, i32 0, i32 0, i32 1
  %29 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %30 = icmp eq i64 %28, %0
  %31 = icmp eq %swift.bridge* %29, %1
  %or.cond = select i1 %30, i1 %31, i1 false
  br i1 %or.cond, label %.loopexit, label %32

32:                                               ; preds = %25
  %33 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %28, %swift.bridge* %29, i64 %0, %swift.bridge* %1, i8 0)
  br i1 %33, label %.loopexit, label %34

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

.preheader:                                       ; preds = %34, %50
  %43 = phi i64 [ %52, %50 ], [ %36, %34 ]
  %._guts5._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %27, i64 %43, i32 0, i32 0, i32 0, i32 0
  %44 = load i64, i64* %._guts5._object._countAndFlagsBits._value, align 8
  %._guts5._object._object = getelementptr inbounds %TSS, %TSS* %27, i64 %43, i32 0, i32 0, i32 1
  %45 = load %swift.bridge*, %swift.bridge** %._guts5._object._object, align 8
  %46 = icmp eq i64 %44, %0
  %47 = icmp eq %swift.bridge* %45, %1
  %or.cond14 = select i1 %46, i1 %47, i1 false
  br i1 %or.cond14, label %.loopexit, label %48

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

50:                                               ; preds = %48
  %51 = add i64 %43, 1
  %52 = and i64 %51, %14
  %53 = lshr i64 %52, 6
  %.value6._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %53, i32 0, i32 0
  %54 = load i64, i64* %.value6._value, align 8
  %55 = and i64 %52, 63
  %56 = shl nuw i64 1, %55
  %57 = and i64 %54, %56
  %58 = icmp eq i64 %57, 0
  br i1 %58, label %.loopexit, label %.preheader
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc %swift.bridge* @"$sSh21_nonEmptyArrayLiteralShyxGSayxG_tcfCSS_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #0 {
entry:
  %1 = alloca %Ts6HasherV, align 8
  %._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
  %3 = icmp eq i64 %2, 0
  br i1 %3, label %.loopexit29, label %4

4:                                                ; preds = %entry
  %5 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss11_SetStorageCySSGMD") #10
  %6 = tail call swiftcc %Ts11_SetStorageC* @"$ss11_SetStorageC8allocate8capacityAByxGSi_tFZ"(i64 %2, %swift.type* swiftself %5)
  %7 = bitcast %Ts11_SetStorageC* %6 to %Ts15__RawSetStorageC*
  %8 = getelementptr inbounds %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 1
  %tailaddr = bitcast %Ts11_SetStorageC* %8 to %Ts13_UnsafeBitsetV4WordV*
  %9 = getelementptr inbounds %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 0, i32 8
  %._value = getelementptr inbounds %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 0, i32 3, i32 0
  %10 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 1
  %tailaddr1 = bitcast %Ts28__ContiguousArrayStorageBaseC* %10 to %TSS*
  %11 = getelementptr %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 0, i32 0
  %._value2 = getelementptr inbounds %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 0, i32 7, i32 0
  %12 = bitcast %Ts6HasherV* %1 to i8*
  %13 = bitcast %TSv* %9 to %TSS**
  %._value12 = getelementptr inbounds %Ts11_SetStorageC, %Ts11_SetStorageC* %6, i64 0, i32 1, i32 0
  %14 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %11) #11
  br label %19

.loopexit29:                                      ; preds = %68, %entry
  %15 = phi %Ts15__RawSetStorageC* [ bitcast (%struct._SwiftEmptySetSingleton* @_swiftEmptySetSingleton to %Ts15__RawSetStorageC*), %entry ], [ %7, %68 ]
  %16 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %16) #2
  %17 = getelementptr %Ts15__RawSetStorageC, %Ts15__RawSetStorageC* %15, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %17) #2
  %18 = bitcast %Ts15__RawSetStorageC* %15 to %swift.bridge*
  ret %swift.bridge* %18

19:                                               ; preds = %68, %4
  %20 = phi i64 [ 0, %4 ], [ %25, %68 ]
  %21 = load i64, i64* %._storage.count._value, align 8, !range !6
  %.not = icmp ult i64 %20, %21
  br i1 %.not, label %22, label %87, !prof !8

22:                                               ; preds = %19
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr1, i64 %20, i32 0, i32 0, i32 0, i32 0
  %23 = load i64, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr1, i64 %20, i32 0, i32 0, i32 1
  %24 = load %swift.bridge*, %swift.bridge** %._guts._object._object, align 8
  %25 = add nuw nsw i64 %20, 1
  %26 = load i64, i64* %._value2, align 8
  call void @llvm.lifetime.start.p0i8(i64 72, i8* nonnull %12)
  call swiftcc void @"$ss6HasherV5_seedABSi_tcfC"(%Ts6HasherV* noalias nocapture nonnull sret(%Ts6HasherV) %1, i64 %26)
  %27 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %24) #2
  call swiftcc void @"$sSS4hash4intoys6HasherVz_tF"(%Ts6HasherV* nocapture nonnull dereferenceable(72) %1, i64 %23, %swift.bridge* %24)
  %28 = call swiftcc i64 @"$ss6HasherV9_finalizeSiyF"(%Ts6HasherV* nocapture nonnull swiftself dereferenceable(72) %1)
  call void @llvm.lifetime.end.p0i8(i64 72, i8* nonnull %12)
  %29 = load i8, i8* %._value, align 8
  %30 = and i8 %29, 63
  %31 = zext i8 %30 to i64
  %notmask = shl nsw i64 -1, %31
  %32 = xor i64 %notmask, -1
  %33 = and i64 %28, %32
  %34 = lshr i64 %33, 6
  %.value._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %34, i32 0, i32 0
  %35 = load i64, i64* %.value._value, align 8
  %36 = and i64 %33, 63
  %37 = shl nuw i64 1, %36
  %38 = and i64 %37, %35
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %.loopexit, label %40

40:                                               ; preds = %22
  %41 = load %TSS*, %TSS** %13, align 8
  %._guts3._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %41, i64 %33, i32 0, i32 0, i32 0, i32 0
  %42 = load i64, i64* %._guts3._object._countAndFlagsBits._value, align 8
  %._guts3._object._object = getelementptr inbounds %TSS, %TSS* %41, i64 %33, i32 0, i32 0, i32 1
  %43 = load %swift.bridge*, %swift.bridge** %._guts3._object._object, align 8
  %44 = icmp eq i64 %42, %23
  %45 = icmp eq %swift.bridge* %43, %24
  %or.cond = select i1 %44, i1 %45, i1 false
  br i1 %or.cond, label %58, label %47

46:                                               ; preds = %47
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %24) #2
  br label %68

47:                                               ; preds = %40
  %48 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %42, %swift.bridge* %43, i64 %23, %swift.bridge* %24, i8 0)
  br i1 %48, label %46, label %49

49:                                               ; preds = %47
  %50 = add i64 %33, 1
  %51 = and i64 %50, %32
  %52 = lshr i64 %51, 6
  %.value5._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %52, i32 0, i32 0
  %53 = load i64, i64* %.value5._value, align 8
  %54 = and i64 %51, 63
  %55 = shl nuw i64 1, %54
  %56 = and i64 %53, %55
  %57 = icmp eq i64 %56, 0
  br i1 %57, label %.loopexit, label %.preheader

58:                                               ; preds = %40
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %24) #2
  br label %68

.loopexit:                                        ; preds = %77, %49, %22
  %.pre-phi25 = phi i64 [ %55, %49 ], [ %37, %22 ], [ %83, %77 ]
  %59 = phi i64 [ %53, %49 ], [ %35, %22 ], [ %81, %77 ]
  %.pre-phi = phi i64 [ %52, %49 ], [ %34, %22 ], [ %80, %77 ]
  %60 = phi i64 [ %51, %49 ], [ %33, %22 ], [ %79, %77 ]
  %.value8._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %.pre-phi, i32 0, i32 0
  %61 = or i64 %.pre-phi25, %59
  store i64 %61, i64* %.value8._value, align 8
  %62 = load %TSS*, %TSS** %13, align 8
  %._guts11._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %62, i64 %60, i32 0, i32 0, i32 0, i32 0
  store i64 %23, i64* %._guts11._object._countAndFlagsBits._value, align 8
  %._guts11._object._object = getelementptr inbounds %TSS, %TSS* %62, i64 %60, i32 0, i32 0, i32 1
  store %swift.bridge* %24, %swift.bridge** %._guts11._object._object, align 8
  %63 = load i64, i64* %._value12, align 8
  %64 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %63, i64 1)
  %65 = extractvalue { i64, i1 } %64, 1
  br i1 %65, label %88, label %66, !prof !7

66:                                               ; preds = %.loopexit
  %67 = extractvalue { i64, i1 } %64, 0
  store i64 %67, i64* %._value12, align 8
  br label %68

68:                                               ; preds = %58, %46, %86, %66
  %69 = icmp eq i64 %25, %2
  br i1 %69, label %.loopexit29, label %19

.preheader:                                       ; preds = %49, %77
  %70 = phi i64 [ %79, %77 ], [ %51, %49 ]
  %._guts6._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %41, i64 %70, i32 0, i32 0, i32 0, i32 0
  %71 = load i64, i64* %._guts6._object._countAndFlagsBits._value, align 8
  %._guts6._object._object = getelementptr inbounds %TSS, %TSS* %41, i64 %70, i32 0, i32 0, i32 1
  %72 = load %swift.bridge*, %swift.bridge** %._guts6._object._object, align 8
  %73 = icmp eq i64 %71, %23
  %74 = icmp eq %swift.bridge* %72, %24
  %or.cond23 = select i1 %73, i1 %74, i1 false
  br i1 %or.cond23, label %86, label %75

75:                                               ; preds = %.preheader
  %76 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %71, %swift.bridge* %72, i64 %23, %swift.bridge* %24, i8 0)
  br i1 %76, label %86, label %77

77:                                               ; preds = %75
  %78 = add i64 %70, 1
  %79 = and i64 %78, %32
  %80 = lshr i64 %79, 6
  %.value7._value = getelementptr inbounds %Ts13_UnsafeBitsetV4WordV, %Ts13_UnsafeBitsetV4WordV* %tailaddr, i64 %80, i32 0, i32 0
  %81 = load i64, i64* %.value7._value, align 8
  %82 = and i64 %79, 63
  %83 = shl nuw i64 1, %82
  %84 = and i64 %81, %83
  %85 = icmp eq i64 %84, 0
  br i1 %85, label %.loopexit, label %.preheader

86:                                               ; preds = %.preheader, %75
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %24) #2
  br label %68

87:                                               ; preds = %19
  tail call void asm sideeffect "", "n"(i32 1) #2
  tail call void @llvm.trap()
  unreachable

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc void @"$sSS6insert_2atySJ_SS5IndexVtF"(i64, %swift.bridge*, i64, %TSS* nocapture swiftself dereferenceable(16)) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 = { nounwind }
attributes #3 = { 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 #4 = { argmemonly nounwind }
attributes #5 = { mustprogress nounwind willreturn }
attributes #6 = { argmemonly mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #8 = { 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 #9 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #10 = { nounwind readonly }
attributes #11 = { nounwind willreturn }
attributes #12 = { argmemonly nounwind readonly }
attributes #13 = { nounwind optsize }

!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}
