func main(text1: String = readLine()!, text2: String = readLine()!) {
    let text2Count = text2.count
    var result = text2Count
    for text1Index in text1.indices {
        if text1[text1Index...].count < text2Count { break }
        var difference = 0
        for (character1, character2) in zip(text1[text1Index...], text2) where character1 != character2 {
            difference += 1
        }
        if result > difference {
            result = difference
        }
    }
    print(result)
}

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

%swift.type_descriptor = type opaque
%swift.type = type { i64 }
%swift.bridge = type opaque
%Ts12Zip2SequenceV8IteratorVySsSS_G = type <{ %Ts16IndexingIteratorVySsG, %TSS8IteratorV, %TSb }>
%Ts16IndexingIteratorVySsG = type <{ %TSs, %TSS5IndexV }>
%TSs = type <{ %Ts5SliceVySSG }>
%Ts5SliceVySSG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%Ts6UInt64V = type <{ i64 }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>
%TSi = type <{ i64 }>
%TSb = type <{ i1 }>
%swift.refcounted = type { %swift.type*, i64 }
%Ts28__ContiguousArrayStorageBaseC = type <{ %swift.refcounted, %Ts10_ArrayBodyV }>
%Ts10_ArrayBodyV = type <{ %TSo22_SwiftArrayBodyStorageV }>
%TSo22_SwiftArrayBodyStorageV = type <{ %TSi, %TSu }>
%TSu = type <{ i64 }>

@"$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
@__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:
  %2 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %3 = extractvalue { i64, i64 } %2, 1
  %4 = icmp eq i64 %3, 0
  br i1 %4, label %14, label %5

5:                                                ; preds = %entry
  %6 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %7 = extractvalue { i64, i64 } %6, 1
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %15, label %9

9:                                                ; preds = %5
  %10 = extractvalue { i64, i64 } %6, 0
  %11 = inttoptr i64 %3 to %swift.bridge*
  %12 = extractvalue { i64, i64 } %2, 0
  %13 = inttoptr i64 %7 to %swift.bridge*
  tail call swiftcc void @"$s7llvm_OZ4main5text15text2ySS_SStF"(i64 %12, %swift.bridge* nonnull %11, i64 %10, %swift.bridge* nonnull %13)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %11) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %13) #2
  ret i32 0

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

15:                                               ; preds = %5
  tail call void asm sideeffect "", "n"(i32 1) #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 hidden swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4main5text15text2ySS_SStFfA0_"() local_unnamed_addr #0 {
  %1 = tail call swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4main5text15text2ySS_SStFfA_Tm"() #0
  %2 = extractvalue { i64, %swift.bridge* } %1, 0
  %3 = insertvalue { i64, %swift.bridge* } undef, i64 %2, 0
  %4 = extractvalue { i64, %swift.bridge* } %1, 1
  %5 = insertvalue { i64, %swift.bridge* } %3, %swift.bridge* %4, 1
  ret { i64, %swift.bridge* } %5
}

; Function Attrs: minsize optsize
define internal swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4main5text15text2ySS_SStFfA_Tm"() local_unnamed_addr #0 {
entry:
  %0 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %1 = extractvalue { i64, i64 } %0, 1
  %2 = icmp eq i64 %1, 0
  br i1 %2, label %8, label %3

3:                                                ; preds = %entry
  %4 = extractvalue { i64, i64 } %0, 0
  %5 = inttoptr i64 %1 to %swift.bridge*
  %6 = insertvalue { i64, %swift.bridge* } undef, i64 %4, 0
  %7 = insertvalue { i64, %swift.bridge* } %6, %swift.bridge* %5, 1
  ret { i64, %swift.bridge* } %7

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

; Function Attrs: minsize optsize
define hidden swiftcc void @"$s7llvm_OZ4main5text15text2ySS_SStF"(i64 %0, %swift.bridge* %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #0 {
entry:
  %4 = alloca %Ts12Zip2SequenceV8IteratorVySsSS_G, align 8
  %5 = tail call swiftcc i64 @"$sSS5countSivg"(i64 %2, %swift.bridge* %3)
  %6 = tail call swiftcc { i64, %swift.bridge*, i64, i64 } @"$sSlsSIyxG7IndicesRtzrlE7indicesAAvgSS_Tg5"(i64 %0, %swift.bridge* %1)
  %7 = extractvalue { i64, %swift.bridge*, i64, i64 } %6, 0
  %8 = extractvalue { i64, %swift.bridge*, i64, i64 } %6, 1
  %9 = extractvalue { i64, %swift.bridge*, i64, i64 } %6, 2
  %10 = extractvalue { i64, %swift.bridge*, i64, i64 } %6, 3
  %11 = lshr i64 %10, 14
  %12 = lshr i64 %9, 14
  %13 = icmp eq i64 %12, %11
  br i1 %13, label %.loopexit80, label %14

14:                                               ; preds = %entry
  %15 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %9, i64 %7, %swift.bridge* %8)
  %16 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %17 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSlsEy11SubSequenceQzqd__cSXRd__5BoundQyd__5IndexRtzluigSS_s16PartialRangeFromVySSAEVGTg5"(i64 %9, i64 %0, %swift.bridge* %1)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %1) #2
  %18 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 0
  %19 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 1
  %20 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 2
  %21 = extractvalue { i64, i64, i64, %swift.bridge* } %17, 3
  %22 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %21) #2
  %23 = tail call swiftcc i64 @"$sSs8distance4from2toSiSS5IndexV_AEtF"(i64 %18, i64 %19, i64 %18, i64 %19, i64 %20, %swift.bridge* %21)
  call void @swift_bridgeObjectRelease_n(%swift.bridge* %21, i32 2)
  %24 = icmp slt i64 %23, %5
  br i1 %24, label %.loopexit80, label %25

25:                                               ; preds = %14
  %26 = ptrtoint %swift.bridge* %3 to i64
  %27 = and i64 %26, 2305843009213693952
  %28 = icmp eq i64 %27, 0
  %29 = ptrtoint %swift.bridge* %1 to i64
  %30 = and i64 %29, 2305843009213693952
  %31 = icmp eq i64 %30, 0
  %32 = and i64 %29, 1152921504606846976
  %33 = icmp ne i64 %32, 0
  %34 = bitcast %Ts12Zip2SequenceV8IteratorVySsSS_G* %4 to i8*
  %35 = lshr i64 %29, 56
  %36 = and i64 %35, 15
  %37 = select i1 %31, i64 %0, i64 %36
  %38 = shl i64 %37, 16
  %39 = and i64 %0, 576460752303423488
  %40 = icmp eq i64 %39, 0
  %or.cond = select i1 %33, i1 %40, i1 false
  %.v = select i1 %or.cond, i64 11, i64 7
  %41 = or i64 %38, %.v
  %42 = lshr exact i64 %38, 14
  %._baseStream1._elements._slice._startIndex._rawBits._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0
  %._baseStream1._elements._slice._endIndex._rawBits._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 0, i32 0, i32 0, i32 1, i32 0, i32 0
  %._baseStream1._elements._slice._base._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 0, i32 0
  %._baseStream1._elements._slice._base._guts._object._object = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 0, i32 0, i32 0, i32 2, i32 0, i32 0, i32 1
  %._baseStream1._position._rawBits._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 0, i32 1, i32 0, i32 0
  %43 = lshr i64 %26, 56
  %44 = and i64 %43, 15
  %45 = and i64 %2, 281474976710655
  %46 = select i1 %28, i64 %45, i64 %44
  %._baseStream2 = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 1
  %._baseStream2._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSS8IteratorV, %TSS8IteratorV* %._baseStream2, i64 0, i32 0, i32 0, i32 0, i32 0
  %._baseStream2._guts._object._object = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 1, i32 0, i32 0, i32 1
  %._baseStream2._position._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 1, i32 1, i32 0
  %._baseStream2._end._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 1, i32 2, i32 0
  %._reachedEnd._value = getelementptr inbounds %Ts12Zip2SequenceV8IteratorVySsSS_G, %Ts12Zip2SequenceV8IteratorVySsSS_G* %4, i64 0, i32 2, i32 0
  %47 = bitcast i1* %._reachedEnd._value to i8*
  br label %48

48:                                               ; preds = %105, %25
  %49 = phi i64 [ %5, %25 ], [ %98, %105 ]
  %50 = phi i64 [ %15, %25 ], [ %103, %105 ]
  %51 = phi i64 [ %9, %25 ], [ %50, %105 ]
  call void @llvm.lifetime.start.p0i8(i64 73, i8* nonnull %34)
  %52 = lshr i64 %51, 14
  %53 = icmp ult i64 %42, %52
  br i1 %53, label %123, label %54, !prof !6

54:                                               ; preds = %48
  %55 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %56 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %51, i64 %41, i64 %0, %swift.bridge* %1)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %1) #2
  %57 = extractvalue { i64, i64, i64, %swift.bridge* } %56, 0
  %58 = extractvalue { i64, i64, i64, %swift.bridge* } %56, 1
  %59 = extractvalue { i64, i64, i64, %swift.bridge* } %56, 2
  %60 = extractvalue { i64, i64, i64, %swift.bridge* } %56, 3
  store i64 %57, i64* %._baseStream1._elements._slice._startIndex._rawBits._value, align 8
  store i64 %58, i64* %._baseStream1._elements._slice._endIndex._rawBits._value, align 8
  store i64 %59, i64* %._baseStream1._elements._slice._base._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %60, %swift.bridge** %._baseStream1._elements._slice._base._guts._object._object, align 8
  store i64 %57, i64* %._baseStream1._position._rawBits._value, align 8
  store i64 %2, i64* %._baseStream2._guts._object._countAndFlagsBits._value, align 8
  store %swift.bridge* %3, %swift.bridge** %._baseStream2._guts._object._object, align 8
  store i64 0, i64* %._baseStream2._position._value, align 8
  store i64 %46, i64* %._baseStream2._end._value, align 8
  store i8 0, i8* %47, align 8
  %.unshifted = xor i64 %57, %58
  %61 = icmp ult i64 %.unshifted, 16384
  %62 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %3) #2
  br i1 %61, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %54, %92
  %63 = phi i64 [ %90, %92 ], [ 0, %54 ]
  %64 = phi i64 [ %70, %92 ], [ %57, %54 ]
  %65 = phi i64 [ %93, %92 ], [ %58, %54 ]
  %66 = tail call swiftcc { i64, %swift.bridge* } @"$sSsySJSS5IndexVcig"(i64 %64, i64 %57, i64 %58, i64 %59, %swift.bridge* %60)
  %67 = extractvalue { i64, %swift.bridge* } %66, 0
  %68 = extractvalue { i64, %swift.bridge* } %66, 1
  %69 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %60) #2
  %70 = tail call swiftcc i64 @"$sSs5index5afterSS5IndexVAD_tF"(i64 %64, i64 %57, i64 %65, i64 %59, %swift.bridge* %60)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %60) #2
  %71 = call swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture nonnull swiftself dereferenceable(32) %._baseStream2)
  %72 = extractvalue { i64, i64 } %71, 0
  %73 = extractvalue { i64, i64 } %71, 1
  %74 = icmp eq i64 %73, 0
  br i1 %74, label %75, label %77

75:                                               ; preds = %.preheader
  %76 = extractvalue { i64, %swift.bridge* } %66, 1
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %76) #2
  br label %.loopexit

77:                                               ; preds = %.preheader
  %78 = inttoptr i64 %73 to %swift.bridge*
  %79 = icmp eq i64 %67, %72
  %80 = ptrtoint %swift.bridge* %68 to i64
  %81 = icmp eq i64 %73, %80
  %or.cond33 = select i1 %79, i1 %81, i1 false
  br i1 %or.cond33, label %82, label %83

82:                                               ; preds = %77
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %68) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %78) #2
  br label %89

83:                                               ; preds = %77
  %84 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %67, %swift.bridge* %68, i64 %72, %swift.bridge* nonnull %78, i8 0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %68) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %78) #2
  br i1 %84, label %89, label %85

85:                                               ; preds = %83
  %86 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %63, i64 1)
  %87 = extractvalue { i64, i1 } %86, 0
  %88 = extractvalue { i64, i1 } %86, 1
  br i1 %88, label %125, label %89, !prof !6

89:                                               ; preds = %85, %83, %82
  %90 = phi i64 [ %63, %82 ], [ %63, %83 ], [ %87, %85 ]
  %91 = load i1, i1* %._reachedEnd._value, align 8
  br i1 %91, label %.loopexit, label %92

92:                                               ; preds = %89
  %93 = load i64, i64* %._baseStream1._elements._slice._endIndex._rawBits._value, align 8
  %.unshifted31 = xor i64 %93, %70
  %94 = icmp ult i64 %.unshifted31, 16384
  br i1 %94, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %89, %92, %75, %54
  %95 = phi i64 [ %63, %75 ], [ 0, %54 ], [ %90, %92 ], [ %90, %89 ]
  %96 = load %swift.bridge*, %swift.bridge** %._baseStream1._elements._slice._base._guts._object._object, align 8
  %97 = load %swift.bridge*, %swift.bridge** %._baseStream2._guts._object._object, align 8
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %97) #2
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %96) #2
  call void @llvm.lifetime.end.p0i8(i64 73, i8* nonnull %34)
  %98 = tail call i64 @llvm.smin.i64(i64 %95, i64 %49)
  %99 = lshr i64 %50, 14
  %100 = icmp eq i64 %99, %11
  br i1 %100, label %.loopexit80, label %101

101:                                              ; preds = %.loopexit
  %102 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %8) #2
  %103 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %50, i64 %7, %swift.bridge* %8)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %8) #2
  %104 = icmp ult i64 %42, %99
  br i1 %104, label %124, label %105, !prof !6

105:                                              ; preds = %101
  %106 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %1) #2
  %107 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %50, i64 %41, i64 %0, %swift.bridge* %1)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %1) #2
  %108 = extractvalue { i64, i64, i64, %swift.bridge* } %107, 0
  %109 = extractvalue { i64, i64, i64, %swift.bridge* } %107, 1
  %110 = extractvalue { i64, i64, i64, %swift.bridge* } %107, 2
  %111 = extractvalue { i64, i64, i64, %swift.bridge* } %107, 3
  %112 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %111) #2
  %113 = tail call swiftcc i64 @"$sSs8distance4from2toSiSS5IndexV_AEtF"(i64 %108, i64 %109, i64 %108, i64 %109, i64 %110, %swift.bridge* %111)
  call void @swift_bridgeObjectRelease_n(%swift.bridge* %111, i32 2)
  %114 = icmp slt i64 %113, %5
  br i1 %114, label %.loopexit80, label %48

.loopexit80:                                      ; preds = %.loopexit, %105, %entry, %14
  %115 = phi i64 [ %5, %14 ], [ %5, %entry ], [ %98, %105 ], [ %98, %.loopexit ]
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %8) #2
  %116 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #8
  %117 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %116, i64 64, i64 7) #2
  %118 = bitcast %swift.refcounted* %117 to %Ts28__ContiguousArrayStorageBaseC*
  %119 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %117, i64 1
  %._storage.count._value = bitcast %swift.refcounted* %119 to i64*
  store i64 1, i64* %._storage.count._value, align 8
  %._storage._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %117, i64 1, i32 1
  store i64 2, i64* %._storage._capacityAndFlags, align 8
  %120 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %117, i64 2
  %121 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %117, i64 3, i32 1
  %122 = bitcast i64* %121 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %122, align 8
  %._value10 = bitcast %swift.refcounted* %120 to i64*
  store i64 %115, i64* %._value10, align 8
  tail call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %118, 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* %117) #2
  ret void

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i64, i64, %swift.bridge* } @"$sSlsEy11SubSequenceQzqd__cSXRd__5BoundQyd__5IndexRtzluigSS_s16PartialRangeFromVySSAEVGTg5"(i64 %0, i64 %1, %swift.bridge* %2) local_unnamed_addr #0 {
entry:
  %3 = ptrtoint %swift.bridge* %2 to i64
  %4 = and i64 %3, 2305843009213693952
  %5 = icmp eq i64 %4, 0
  %6 = lshr i64 %3, 56
  %7 = and i64 %6, 15
  %8 = select i1 %5, i64 %1, i64 %7
  %9 = shl i64 %8, 16
  %10 = lshr exact i64 %9, 14
  %11 = lshr i64 %0, 14
  %12 = icmp ult i64 %10, %11
  br i1 %12, label %20, label %13, !prof !6

13:                                               ; preds = %entry
  %14 = and i64 %3, 1152921504606846976
  %15 = icmp ne i64 %14, 0
  %16 = and i64 %1, 576460752303423488
  %17 = icmp eq i64 %16, 0
  %or.cond = select i1 %15, i1 %17, i1 false
  %.v = select i1 %or.cond, i64 11, i64 7
  %18 = or i64 %9, %.v
  %19 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %0, i64 %18, i64 %1, %swift.bridge* %2)
  ret { i64, i64, i64, %swift.bridge* } %19

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, i64 } @"$sSS8IteratorV4nextSJSgyF"(%TSS8IteratorV* nocapture swiftself dereferenceable(32)) 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 #4 {
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) #9
  %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 #5

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

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

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

; Function Attrs: nounwind
declare void @swift_bridgeObjectRelease_n(%swift.bridge*, i32) #2

; Function Attrs: minsize optsize
define hidden swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4main5text15text2ySS_SStFfA_"() local_unnamed_addr #0 {
  %1 = tail call swiftcc { i64, %swift.bridge* } @"$s7llvm_OZ4main5text15text2ySS_SStFfA0_"() #0
  %2 = extractvalue { i64, %swift.bridge* } %1, 0
  %3 = insertvalue { i64, %swift.bridge* } poison, i64 %2, 0
  %4 = extractvalue { i64, %swift.bridge* } %1, 1
  %5 = insertvalue { i64, %swift.bridge* } %3, %swift.bridge* %4, 1
  ret { i64, %swift.bridge* } %5
}

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

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

!0 = !{!"standard-library", i1 false}
!1 = !{i32 1, !"wchar_size", i32 4}
!2 = !{i32 8, !"PIC Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 4, !"Objective-C Garbage Collection", i32 84477696}
!5 = !{i32 1, !"Swift Version", i32 7}
!6 = !{!"branch_weights", i32 1, i32 2000}
