import Foundation

let S = readLine()!.map { String($0) }
let T = readLine()!.map { String($0) }

var resutl = 0
for tmp in 0 ..< S.count {
    if S[tmp] != T[tmp] { resutl += 1}
}

print(resutl)
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2929/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2929/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 }
%swift.type_descriptor = type opaque
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%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

@"$s7llvm_OZ1SSaySSGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1TSaySSGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ6resutlSivp" = hidden global %TSi zeroinitializer, align 8
@_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
@"$sSiN" = 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
@"$sSSN" = external global %swift.type, align 8
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [4 x i8*] [i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

; Function Attrs: minsize optsize
define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch19 = alloca [24 x i8], align 8
  %4 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %5 = extractvalue { i64, i64 } %4, 0
  %6 = extractvalue { i64, i64 } %4, 1
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %117, label %8

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

12:                                               ; preds = %8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %9) #5
  br label %19

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

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

19:                                               ; preds = %12, %48
  %20 = phi %Ts28__ContiguousArrayStorageBaseC* [ %43, %48 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %12 ]
  store %Ts28__ContiguousArrayStorageBaseC* %20, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1SSaySSGvp", i64 0, i32 0, i32 0), align 8
  %21 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %22 = extractvalue { i64, i64 } %21, 0
  %23 = extractvalue { i64, i64 } %21, 1
  %24 = icmp eq i64 %23, 0
  br i1 %24, label %119, label %25

25:                                               ; preds = %19
  %26 = inttoptr i64 %23 to %swift.bridge*
  %27 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %22, %swift.bridge* nonnull %26)
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %49, label %50

29:                                               ; preds = %17, %42
  %30 = phi i64 [ 0, %17 ], [ %44, %42 ]
  %31 = phi i64 [ 15, %17 ], [ %46, %42 ]
  %32 = phi %Ts28__ContiguousArrayStorageBaseC* [ %18, %17 ], [ %43, %42 ]
  %33 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %31, i64 %5, %swift.bridge* nonnull %9)
  %34 = extractvalue { i64, %swift.bridge* } %33, 0
  %35 = extractvalue { i64, %swift.bridge* } %33, 1
  store %Ts28__ContiguousArrayStorageBaseC* %32, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 0, i32 1, i32 0, i32 0, i32 0
  %36 = load i64, i64* %._storage.count._value, align 8, !range !7
  %._storage._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 0, i32 1, i32 0, i32 1, i32 0
  %37 = load i64, i64* %._storage._capacityAndFlags._value, align 8
  %38 = lshr i64 %37, 1
  %39 = add nuw nsw i64 %36, 1
  %.not = icmp ugt i64 %38, %36
  br i1 %.not, label %42, label %40, !prof !8

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

42:                                               ; preds = %29, %40
  %43 = phi %Ts28__ContiguousArrayStorageBaseC* [ %32, %29 ], [ %.pre, %40 ]
  %44 = add nuw i64 %30, 1
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %43, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %39, i64* %._storage3.count._value, align 8
  %45 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %43, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %45 to %TSS*
  %._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %36, i32 0, i32 0, i32 0, i32 0
  store i64 %34, i64* %._guts._object._countAndFlagsBits._value, align 8
  %._guts._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr, i64 %36, i32 0, i32 0, i32 1
  store %swift.bridge* %35, %swift.bridge** %._guts._object._object, align 8
  %46 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %31, i64 %5, %swift.bridge* nonnull %9)
  %47 = icmp eq i64 %44, %10
  br i1 %47, label %48, label %29

48:                                               ; preds = %42
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %9) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %14)
  br label %19

49:                                               ; preds = %25
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %26) #5
  br label %56

50:                                               ; preds = %25
  %51 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %51)
  %._buffer4._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %52 = tail call i64 @llvm.smax.i64(i64 %27, i64 0)
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 false, i64 %52, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %53 = icmp slt i64 %27, 0
  br i1 %53, label %120, label %54, !prof !6

54:                                               ; preds = %50
  %55 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  br label %65

56:                                               ; preds = %49, %84
  %57 = phi %Ts28__ContiguousArrayStorageBaseC* [ %79, %84 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %49 ]
  store %Ts28__ContiguousArrayStorageBaseC* %57, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1TSaySSGvp", i64 0, i32 0, i32 0), align 8
  store i64 0, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ6resutlSivp", i64 0, i32 0), align 8
  %58 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1SSaySSGvp", i64 0, i32 0, i32 0), align 8
  %._storage11.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %58, i64 0, i32 1, i32 0, i32 0, i32 0
  %59 = load i64, i64* %._storage11.count._value, align 8, !range !7
  %60 = icmp eq i64 %59, 0
  br i1 %60, label %.loopexit, label %61

61:                                               ; preds = %56
  %62 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %58, i64 1
  %tailaddr12 = bitcast %Ts28__ContiguousArrayStorageBaseC* %62 to %TSS*
  %63 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %57, i64 1
  %tailaddr13 = bitcast %Ts28__ContiguousArrayStorageBaseC* %63 to %TSS*
  %._storage14.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %57, i64 0, i32 1, i32 0, i32 0, i32 0
  %64 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %64)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_OZ6resutlSivp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #5
  br label %94

65:                                               ; preds = %54, %78
  %66 = phi i64 [ 0, %54 ], [ %80, %78 ]
  %67 = phi i64 [ 15, %54 ], [ %82, %78 ]
  %68 = phi %Ts28__ContiguousArrayStorageBaseC* [ %55, %54 ], [ %79, %78 ]
  %69 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %67, i64 %22, %swift.bridge* nonnull %26)
  %70 = extractvalue { i64, %swift.bridge* } %69, 0
  %71 = extractvalue { i64, %swift.bridge* } %69, 1
  store %Ts28__ContiguousArrayStorageBaseC* %68, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %68, i64 0, i32 1, i32 0, i32 0, i32 0
  %72 = load i64, i64* %._storage7.count._value, align 8, !range !7
  %._storage7._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %68, i64 0, i32 1, i32 0, i32 1, i32 0
  %73 = load i64, i64* %._storage7._capacityAndFlags._value, align 8
  %74 = lshr i64 %73, 1
  %75 = add nuw nsw i64 %72, 1
  %.not40 = icmp ugt i64 %74, %72
  br i1 %.not40, label %78, label %76, !prof !8

76:                                               ; preds = %65
  %77 = icmp ugt i64 %73, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSS_Tg5"(i1 %77, i64 %75, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre45 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  br label %78

78:                                               ; preds = %65, %76
  %79 = phi %Ts28__ContiguousArrayStorageBaseC* [ %68, %65 ], [ %.pre45, %76 ]
  %80 = add nuw i64 %66, 1
  %._storage8.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %79, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %75, i64* %._storage8.count._value, align 8
  %81 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %79, i64 1
  %tailaddr9 = bitcast %Ts28__ContiguousArrayStorageBaseC* %81 to %TSS*
  %._guts10._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr9, i64 %72, i32 0, i32 0, i32 0, i32 0
  store i64 %70, i64* %._guts10._object._countAndFlagsBits._value, align 8
  %._guts10._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr9, i64 %72, i32 0, i32 0, i32 1
  store %swift.bridge* %71, %swift.bridge** %._guts10._object._object, align 8
  %82 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %67, i64 %22, %swift.bridge* nonnull %26)
  %83 = icmp eq i64 %80, %27
  br i1 %83, label %84, label %65

84:                                               ; preds = %78
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %26) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %51)
  br label %56

.loopexit:                                        ; preds = %114, %56
  %85 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #12
  %86 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %85, i64 64, i64 7) #5
  %87 = bitcast %swift.refcounted* %86 to %Ts28__ContiguousArrayStorageBaseC*
  %88 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %86, i64 1
  %._storage17.count._value = bitcast %swift.refcounted* %88 to i64*
  store i64 1, i64* %._storage17.count._value, align 8
  %._storage17._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %86, i64 1, i32 1
  store i64 2, i64* %._storage17._capacityAndFlags, align 8
  %89 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %86, i64 2
  %90 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch19, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %90)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_OZ6resutlSivp" to i8*), [24 x i8]* nonnull %access-scratch19, i64 0, i8* null) #5
  %91 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ6resutlSivp", i64 0, i32 0), align 8
  %92 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %86, i64 3, i32 1
  %93 = bitcast i64* %92 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %93, align 8
  %._value = bitcast %swift.refcounted* %89 to i64*
  store i64 %91, i64* %._value, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %87, 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* %86) #5
  ret i32 0

94:                                               ; preds = %61, %114
  %95 = phi i64 [ 0, %61 ], [ %115, %114 ]
  %96 = load i64, i64* %._storage11.count._value, align 8, !range !7
  %.not41 = icmp ult i64 %95, %96
  br i1 %.not41, label %97, label %121, !prof !8

97:                                               ; preds = %94
  %._guts15._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr12, i64 %95, i32 0, i32 0, i32 0, i32 0
  %98 = load i64, i64* %._guts15._object._countAndFlagsBits._value, align 8
  %._guts15._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr12, i64 %95, i32 0, i32 0, i32 1
  %99 = load %swift.bridge*, %swift.bridge** %._guts15._object._object, align 8
  %100 = load i64, i64* %._storage14.count._value, align 8, !range !7
  %.not42 = icmp ult i64 %95, %100
  br i1 %.not42, label %101, label %122, !prof !8

101:                                              ; preds = %97
  %._guts16._object._countAndFlagsBits._value = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %95, i32 0, i32 0, i32 0, i32 0
  %102 = load i64, i64* %._guts16._object._countAndFlagsBits._value, align 8
  %._guts16._object._object = getelementptr inbounds %TSS, %TSS* %tailaddr13, i64 %95, i32 0, i32 0, i32 1
  %103 = load %swift.bridge*, %swift.bridge** %._guts16._object._object, align 8
  %104 = icmp eq i64 %98, %102
  %105 = icmp eq %swift.bridge* %99, %103
  %or.cond = select i1 %104, i1 %105, i1 false
  br i1 %or.cond, label %114, label %106

106:                                              ; preds = %101
  %107 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %98, %swift.bridge* %99, i64 %102, %swift.bridge* %103, i8 0)
  br i1 %107, label %114, label %108

108:                                              ; preds = %106
  %109 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ6resutlSivp", i64 0, i32 0), align 8
  %110 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %109, i64 1)
  %111 = extractvalue { i64, i1 } %110, 1
  br i1 %111, label %123, label %112, !prof !6

112:                                              ; preds = %108
  %113 = extractvalue { i64, i1 } %110, 0
  store i64 %113, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ6resutlSivp", i64 0, i32 0), align 8
  br label %114

114:                                              ; preds = %101, %106, %112
  %115 = add nuw nsw i64 %95, 1
  %116 = icmp eq i64 %115, %59
  br i1 %116, label %.loopexit, label %94

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

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

119:                                              ; preds = %19
  tail call void asm sideeffect "", "n"(i32 3) #5
  tail call void @llvm.trap()
  unreachable

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

121:                                              ; preds = %94
  call void asm sideeffect "", "n"(i32 8) #5
  call void @llvm.trap()
  unreachable

122:                                              ; preds = %97
  call void asm sideeffect "", "n"(i32 9) #5
  call void @llvm.trap()
  unreachable

123:                                              ; preds = %108
  call void asm sideeffect "", "n"(i32 10) #5
  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
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: minsize noinline optsize
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
}

; 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: mustprogress nocallback nofree nosync nounwind readnone speculatable willreturn
declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64) #4

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

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

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

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

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

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

; 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 #5

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

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

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

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

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !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") #12
  %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) #5
  %24 = bitcast %swift.refcounted* %23 to %Ts28__ContiguousArrayStorageBaseC*
  %25 = bitcast %swift.refcounted* %23 to i8*
  %call.i = tail call i64 @malloc_usable_size(i8* noundef %25) #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
  %34 = bitcast %Ts28__ContiguousArrayStorageBaseC* %32 to %TSS*
  %35 = getelementptr inbounds %TSS, %TSS* %34, i64 %16
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %31 to %TSS*
  %37 = icmp ugt %TSS* %35, %36
  %38 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %30, %3
  %or.cond5.i = select i1 %38, i1 %37, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSS_Tg5.exit", label %.sink.split.i

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

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

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

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

47:                                               ; preds = %8
  tail call void asm sideeffect "", "n"(i32 0) #5
  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 #8

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

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

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

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

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