import Foundation

func main() {
    let s = readLine()! .map { String($0) }
    print(s.filter { $0 == "A" }.count == 0 || s.filter { $0 == "B" }.count == 0 ? "No": "Yes")
}
main()

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

%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%swift.type = type { i64 }
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%Ts22_ContiguousArrayBufferV = type <{ %Ts28__ContiguousArrayStorageBaseC* }>
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%swift.refcounted = type { %swift.type*, i64 }
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSi = type <{ i64 }>
%TSu = type <{ i64 }>
%swift.bridge = type opaque
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%swift.opaque = type opaque

@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, 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
@"$sSSN" = external global %swift.type, align 8
@"\01l_entry_point" = private constant { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (i32 (i32, i8**)* @main to i64), i64 ptrtoint ({ i32, i32 }* @"\01l_entry_point" to i64)) to i32), i32 0 }, section "swift5_entry", align 4
@"symbolic _____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 [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [4 x i8*] [i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

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

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

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

11:                                               ; preds = %7
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  br label %38

12:                                               ; preds = %7
  %13 = bitcast %Ts15ContiguousArrayV* %0 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %13)
  %._buffer._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %0, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %14 = tail call i64 @llvm.smax.i64(i64 %9, i64 0)
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %14, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %15 = icmp slt i64 %9, 0
  br i1 %15, label %138, label %16, !prof !6

16:                                               ; preds = %12
  %17 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %18

18:                                               ; preds = %16, %31
  %19 = phi i64 [ 0, %16 ], [ %33, %31 ]
  %20 = phi i64 [ 15, %16 ], [ %35, %31 ]
  %21 = phi %Ts28__ContiguousArrayStorageBaseC* [ %17, %16 ], [ %32, %31 ]
  %22 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %20, i64 %4, %swift.bridge* nonnull %8)
  %23 = extractvalue { i64, %swift.bridge* } %22, 0
  %24 = extractvalue { i64, %swift.bridge* } %22, 1
  store %Ts28__ContiguousArrayStorageBaseC* %21, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 1, i32 0, i32 0, i32 0
  %25 = load i64, i64* %._storage.count._value, align 8, !range !7
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %21, i64 0, i32 1, i32 0, i32 1, i32 0
  %26 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %27 = lshr i64 %26, 1
  %28 = add nuw nsw i64 %25, 1
  %.not = icmp ugt i64 %27, %25
  br i1 %.not, label %31, label %29, !prof !8

29:                                               ; preds = %18
  %30 = icmp ugt i64 %26, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %30, i64 %28, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %0)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %31

31:                                               ; preds = %18, %29
  %32 = phi %Ts28__ContiguousArrayStorageBaseC* [ %21, %18 ], [ %.pre, %29 ]
  %33 = add nuw i64 %19, 1
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %28, i64* %._storage3.count._value, align 8
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %25, i32 0, i32 0, i32 0, i32 0
  store i64 %23, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %25, i32 0, i32 0, i32 1
  store %swift.bridge* %24, %swift.bridge** %._guts._object._object, align 8
  %35 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %20, i64 %4, %swift.bridge* nonnull %8)
  %36 = icmp eq i64 %33, %9
  br i1 %36, label %37, label %18

37:                                               ; preds = %31
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %13)
  br label %38

38:                                               ; preds = %11, %37
  %39 = phi %Ts28__ContiguousArrayStorageBaseC* [ %32, %37 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %11 ]
  %40 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #11
  %41 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %40, i64 64, i64 7) #4
  %42 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %41, i64 1
  %._storage4.count._value = bitcast %swift.refcounted* %42 to i64*
  store i64 1, i64* %._storage4.count._value, align 8
  %._storage4._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %41, i64 1, i32 1
  store i64 2, i64* %._storage4._capacityAndFlags, align 8
  %43 = bitcast %Ts15ContiguousArrayV* %1 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %43)
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 1, i32 0, i32 0, i32 0
  %44 = load i64, i64* %._storage5.count._value, align 8, !range !7
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %.thread, label %46

46:                                               ; preds = %38
  %47 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 1
  %tailaddr6 = bitcast %Ts28__ContiguousArrayStorageBaseC* %47 to %TSS*
  %48 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 0
  %._buffer28._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %1, i64 0, i32 0, i32 0
  %49 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %48) #12
  br label %57

50:                                               ; preds = %84
  tail call void @swift_release(%swift.refcounted* %48) #4
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %43)
  %._storage8.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 1, i32 0, i32 0, i32 0
  %51 = load i64, i64* %._storage8.count._value, align 8, !range !7
  %52 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %52) #4
  %53 = icmp eq i64 %51, 0
  br i1 %53, label %128, label %88

.thread:                                          ; preds = %38
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %43)
  %54 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !7
  tail call void @swift_release(%swift.refcounted* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %swift.refcounted*)) #4
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %128, label %.thread64

.thread64:                                        ; preds = %.thread
  %56 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %56)
  br label %91

57:                                               ; preds = %84, %46
  %58 = phi i64 [ 0, %46 ], [ %86, %84 ]
  %59 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %46 ], [ %85, %84 ]
  %._guts7._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr6, i64 %58, i32 0, i32 0, i32 0, i32 0
  %60 = load i64, i64* %._guts7._object._countAndFlagsBits._value, align 8
  %._guts7._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr6, i64 %58, i32 0, i32 0, i32 1
  %61 = load %swift.bridge*, %swift.bridge** %._guts7._object._object, align 8
  %62 = icmp eq i64 %60, 65
  %63 = icmp eq %swift.bridge* %61, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %62, i1 %63, i1 false
  br i1 %or.cond, label %66, label %64

64:                                               ; preds = %57
  %65 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %60, %swift.bridge* %61, i64 65, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %65, label %66, label %84

66:                                               ; preds = %57, %64
  %67 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %59, i64 0, i32 0
  %68 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %61) #4
  %69 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %67) #12
  store %Ts28__ContiguousArrayStorageBaseC* %59, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  br i1 %69, label %73, label %70

70:                                               ; preds = %66
  %._storage29.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %59, i64 0, i32 1, i32 0, i32 0, i32 0
  %71 = load i64, i64* %._storage29.count._value, align 8, !range !7
  %72 = add nuw nsw i64 %71, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %72, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre69 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  br label %73

73:                                               ; preds = %66, %70
  %74 = phi %Ts28__ContiguousArrayStorageBaseC* [ %59, %66 ], [ %.pre69, %70 ]
  %._storage31.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 0, i32 0
  %75 = load i64, i64* %._storage31.count._value, align 8, !range !7
  %._storage31._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %74, i64 0, i32 1, i32 0, i32 1, i32 0
  %76 = load i64, i64* %._storage31._capacityAndFlags._value, align 8
  %77 = lshr i64 %76, 1
  %78 = add nuw nsw i64 %75, 1
  %.not60 = icmp ugt i64 %77, %75
  br i1 %.not60, label %81, label %79, !prof !8

79:                                               ; preds = %73
  %80 = icmp ugt i64 %76, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %80, i64 %78, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %1)
  %.pre70 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer28._storage, align 8
  br label %81

81:                                               ; preds = %73, %79
  %82 = phi %Ts28__ContiguousArrayStorageBaseC* [ %74, %73 ], [ %.pre70, %79 ]
  %._storage32.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %82, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %78, i64* %._storage32.count._value, align 8
  %83 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %82, i64 1
  %tailaddr33 = bitcast %Ts28__ContiguousArrayStorageBaseC* %83 to %TSS*
  %._guts34._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr33, i64 %75, i32 0, i32 0, i32 0, i32 0
  store i64 %60, i64* %._guts34._object._countAndFlagsBits._value, align 8
  %._guts34._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr33, i64 %75, i32 0, i32 0, i32 1
  store %swift.bridge* %61, %swift.bridge** %._guts34._object._object, align 8
  br label %84

84:                                               ; preds = %64, %81
  %85 = phi %Ts28__ContiguousArrayStorageBaseC* [ %82, %81 ], [ %59, %64 ]
  %86 = add nuw nsw i64 %58, 1
  %87 = icmp eq i64 %86, %44
  br i1 %87, label %50, label %57

88:                                               ; preds = %50
  %89 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %89)
  %._buffer18._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %2, i64 0, i32 0, i32 0
  %90 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %48) #12
  br label %96

91:                                               ; preds = %.thread64, %127
  %92 = phi %Ts28__ContiguousArrayStorageBaseC* [ %124, %127 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %.thread64 ]
  %.pre-phi = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %.pre-phi)
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 1, i32 0, i32 0, i32 0
  %93 = load i64, i64* %._storage12.count._value, align 8, !range !7
  %94 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %92, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %94) #4
  %95 = icmp eq i64 %93, 0
  %spec.select = select i1 %95, i64 28494, i64 7562585
  %spec.select62 = select i1 %95, %swift.bridge* inttoptr (i64 -2161727821137838080 to %swift.bridge*), %swift.bridge* inttoptr (i64 -2089670227099910144 to %swift.bridge*)
  br label %128

96:                                               ; preds = %123, %88
  %97 = phi i64 [ 0, %88 ], [ %125, %123 ]
  %98 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %88 ], [ %124, %123 ]
  %._guts11._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr6, i64 %97, i32 0, i32 0, i32 0, i32 0
  %99 = load i64, i64* %._guts11._object._countAndFlagsBits._value, align 8
  %._guts11._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr6, i64 %97, i32 0, i32 0, i32 1
  %100 = load %swift.bridge*, %swift.bridge** %._guts11._object._object, align 8
  %101 = icmp eq i64 %99, 66
  %102 = icmp eq %swift.bridge* %100, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond61 = select i1 %101, i1 %102, i1 false
  br i1 %or.cond61, label %105, label %103

103:                                              ; preds = %96
  %104 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %99, %swift.bridge* %100, i64 66, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  br i1 %104, label %105, label %123

105:                                              ; preds = %96, %103
  %106 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 0
  %107 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %100) #4
  %108 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %106) #12
  store %Ts28__ContiguousArrayStorageBaseC* %98, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage, align 8
  br i1 %108, label %112, label %109

109:                                              ; preds = %105
  %._storage19.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %98, i64 0, i32 1, i32 0, i32 0, i32 0
  %110 = load i64, i64* %._storage19.count._value, align 8, !range !7
  %111 = add nuw nsw i64 %110, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %111, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre71 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage, align 8
  br label %112

112:                                              ; preds = %105, %109
  %113 = phi %Ts28__ContiguousArrayStorageBaseC* [ %98, %105 ], [ %.pre71, %109 ]
  %._storage21.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 0, i32 0
  %114 = load i64, i64* %._storage21.count._value, align 8, !range !7
  %._storage21._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %113, i64 0, i32 1, i32 0, i32 1, i32 0
  %115 = load i64, i64* %._storage21._capacityAndFlags._value, align 8
  %116 = lshr i64 %115, 1
  %117 = add nuw nsw i64 %114, 1
  %.not59 = icmp ugt i64 %116, %114
  br i1 %.not59, label %120, label %118, !prof !8

118:                                              ; preds = %112
  %119 = icmp ugt i64 %115, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %119, i64 %117, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre72 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer18._storage, align 8
  br label %120

120:                                              ; preds = %112, %118
  %121 = phi %Ts28__ContiguousArrayStorageBaseC* [ %113, %112 ], [ %.pre72, %118 ]
  %._storage22.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %117, i64* %._storage22.count._value, align 8
  %122 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 1
  %tailaddr23 = bitcast %Ts28__ContiguousArrayStorageBaseC* %122 to %TSS*
  %._guts24._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr23, i64 %114, i32 0, i32 0, i32 0, i32 0
  store i64 %99, i64* %._guts24._object._countAndFlagsBits._value, align 8
  %._guts24._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr23, i64 %114, i32 0, i32 0, i32 1
  store %swift.bridge* %100, %swift.bridge** %._guts24._object._object, align 8
  br label %123

123:                                              ; preds = %103, %120
  %124 = phi %Ts28__ContiguousArrayStorageBaseC* [ %121, %120 ], [ %98, %103 ]
  %125 = add nuw nsw i64 %97, 1
  %126 = icmp eq i64 %125, %44
  br i1 %126, label %127, label %96

127:                                              ; preds = %123
  tail call void @swift_release(%swift.refcounted* %48) #4
  br label %91

128:                                              ; preds = %.thread, %91, %50
  %129 = phi i64 [ 28494, %50 ], [ %spec.select, %91 ], [ 28494, %.thread ]
  %130 = phi %swift.bridge* [ inttoptr (i64 -2161727821137838080 to %swift.bridge*), %50 ], [ %spec.select62, %91 ], [ inttoptr (i64 -2161727821137838080 to %swift.bridge*), %.thread ]
  %131 = bitcast %swift.refcounted* %41 to %Ts28__ContiguousArrayStorageBaseC*
  %132 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %41, i64 2
  %133 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %41, i64 3, i32 1
  %134 = bitcast i64* %133 to %swift.type**
  store %swift.type* @"$sSSN", %swift.type** %134, align 8
  %._guts15._object._countAndFlagsBits._value = bitcast %swift.refcounted* %132 to i64*
  store i64 %129, i64* %._guts15._object._countAndFlagsBits._value, align 8
  %._guts15._object._object = getelementptr inbounds %swift.refcounted, %swift.refcounted* %41, i64 2, i32 1
  %135 = bitcast i64* %._guts15._object._object to %swift.bridge**
  store %swift.bridge* %130, %swift.bridge** %135, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %131, 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* %41) #4
  %136 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %39, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %136) #4
  ret void

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

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

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

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

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

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

; Function Attrs: noinline
define linkonce_odr hidden swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_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_SiSbtFSS_Tg5"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %4)
  store %Ts28__ContiguousArrayStorageBaseC* %5, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: 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) #8

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

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

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