import Foundation

let arr=readLine()!.split{$0==" "}.map{Int(String($0))!}
var n=arr[0]
var k=arr[1]
var count:[Int] = []
var count2:[Int] = []

for i in 1...n {
    count.append(i)
}
for _ in 0..<k {
    let d = Int(readLine()!)!
    let j=readLine()!.split{$0==" "}.map{Int(String($0))!}
    for i in 0..<d {
        count2.append(j[i])
    }
}
let result = count2.reduce([], { $0.contains($1) ? $0 : $0 + [$1] })
print(count.count - result.count)
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2874/llvm_OZ.ll'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/Swift/Source_2874/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 }>
%T10Foundation9IndexPathV = type <{ %T10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLO }>
%T10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLO = type <{ [16 x i8], [1 x i8] }>
%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.full_boxmetadata = type { void (%swift.refcounted*)*, i8**, %swift.type, i32, i8* }
%swift.error = type opaque
%Ts15ContiguousArrayV = type <{ %Ts22_ContiguousArrayBufferV }>
%swift.bridge = type opaque
%Ts6UInt64V = type <{ i64 }>
%Ts5UInt8V = type <{ i8 }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%swift.opaque = type opaque
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>

@"$s7llvm_OZ3arrSaySiGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1nSivp" = hidden global %TSi zeroinitializer, align 8
@"$s7llvm_OZ1kSivp" = hidden global %TSi zeroinitializer, align 8
@"$s7llvm_OZ5countSaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ6count2SaySiGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ6result10Foundation9IndexPathVvp" = hidden local_unnamed_addr global %T10Foundation9IndexPathV zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$sSiN" = external global %swift.type, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____ySiG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySiG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySiGMD" to i64)) to i32), i32 -9 }, align 8
@"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
@"\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
@"$sSSN" = external global %swift.type, align 8
@"$sSSs25LosslessStringConvertiblesWP" = external global i8*, align 8
@"$sSSSTsWP" = external global i8*, align 8
@"$ss5UInt8VMn" = external global %swift.type_descriptor, align 4
@"got.$ss5UInt8VMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss5UInt8VMn"
@"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" = linkonce_odr hidden constant <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 1) to i64)) to i32), [1 x i8] c"y", i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss5UInt8VMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>, <{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V", i32 0, i32 4) to i64)) to i32), [1 x i8] c"G", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCys5UInt8VGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [1 x i8], i8, i32, [1 x i8], i8 }>* @"symbolic _____y_____G s23_ContiguousArrayStorageC s5UInt8V" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCys5UInt8VGMD" to i64)) to i32), i32 -12 }, align 8
@"symbolic SaySsG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySsG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySsG" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*) }, align 8
@"$sSS5IndexVMn" = external global %swift.type_descriptor, align 4
@"got.$sSS5IndexVMn" = private unnamed_addr constant %swift.type_descriptor* @"$sSS5IndexVMn"
@"symbolic _____ SS5IndexV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$sSS5IndexVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"\01l__swift5_reflection_descriptor.1" = private constant { i32, i32, i32, i32 } { i32 1, i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ SS5IndexV" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i32, i32 }, { i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1", i32 0, i32 3) to i64)) to i32) }, section "swift5_capture", no_sanitize_address, align 4
@metadata.3 = private constant %swift.full_boxmetadata { void (%swift.refcounted*)* @objectdestroy.2, i8** null, %swift.type { i64 1024 }, i32 16, i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*) }, align 8
@__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 [6 x i8*] [i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor" to i8*), i8* bitcast ({ i32, i32, i32, i32 }* @"\01l__swift5_reflection_descriptor.1" to i8*), i8* bitcast ({ i32, i32 }* @"\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:
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %2 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch = alloca [24 x i8], align 8
  %access-scratch14 = alloca [24 x i8], align 8
  %access-scratch20 = alloca [24 x i8], align 8
  %3 = alloca %Ts15ContiguousArrayV, align 8
  %access-scratch43 = alloca [24 x i8], align 8
  %access-scratch50 = alloca [24 x i8], align 8
  %4 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %5 = extractvalue { i64, i64 } %4, 1
  %6 = icmp eq i64 %5, 0
  br i1 %6, label %398, label %7

7:                                                ; preds = %entry
  %8 = extractvalue { i64, i64 } %4, 0
  %9 = inttoptr i64 %5 to %swift.bridge*
  %10 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg519$s7llvm_OZSbSJXEfU_Tf1nncn_n"(i64 9223372036854775807, i1 true, i64 %8, %swift.bridge* nonnull %9, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture nonnull swifterror dereferenceable(8) %swifterror)
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 0, i32 1, i32 0, i32 0, i32 0
  %11 = load i64, i64* %._storage.count._value, align 8, !range !6
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %15

13:                                               ; preds = %7
  %14 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %14) #5
  br label %18

15:                                               ; preds = %7
  %16 = bitcast %Ts15ContiguousArrayV* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %16)
  %._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
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %11, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %17 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 1
  br label %33

18:                                               ; preds = %13, %69
  %19 = phi %Ts28__ContiguousArrayStorageBaseC* [ %66, %69 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %13 ]
  store %Ts28__ContiguousArrayStorageBaseC* %19, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ3arrSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage9.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 0, i32 1, i32 0, i32 0, i32 0
  %20 = load i64, i64* %._storage9.count._value, align 8, !range !6
  %.not127 = icmp eq i64 %20, 0
  br i1 %.not127, label %400, label %21, !prof !7

21:                                               ; preds = %18
  %22 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1
  %tailaddr10._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %22 to i64*
  %23 = load i64, i64* %tailaddr10._value, align 8
  store i64 %23, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  %24 = icmp eq i64 %20, 1
  br i1 %24, label %401, label %25, !prof !7

25:                                               ; preds = %21
  %26 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %19, i64 1, i32 0, i32 1
  %27 = load i64, i64* %26, align 8
  store i64 %27, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1kSivp", i64 0, i32 0), align 8
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  %28 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %28)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_OZ1nSivp" to i8*), [24 x i8]* nonnull %access-scratch, i64 0, i8* null) #5
  %29 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1nSivp", i64 0, i32 0), align 8
  %30 = icmp slt i64 %29, 1
  br i1 %30, label %402, label %31, !prof !7

31:                                               ; preds = %25
  %32 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch14, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %32)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ5countSaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch14, i64 1, i8* null) #5
  call swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSi_Tg5Tm"(%TSa* nocapture swiftself dereferenceable(8) @"$s7llvm_OZ5countSaySiGvp", %Ts28__ContiguousArrayStorageBaseC* (i1, i64, i1, %Ts28__ContiguousArrayStorageBaseC*)* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5")
  call swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSi_Tg5Tm"(%TSa* nocapture swiftself dereferenceable(8) @"$s7llvm_OZ5countSaySiGvp", %Ts28__ContiguousArrayStorageBaseC* (i1, i64, i1, %Ts28__ContiguousArrayStorageBaseC*)* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5")
  br label %83

33:                                               ; preds = %15, %65
  %34 = phi i64 [ 0, %15 ], [ %35, %65 ]
  %35 = add nuw nsw i64 %34, 1
  %36 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %17, i64 %34
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %36 to i64*
  %37 = load i64, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %36, i64 0, i32 0, i32 1
  %38 = load i64, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %36, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  %39 = load i64, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %40 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  %41 = load %swift.bridge*, %swift.bridge** %40, align 8
  %42 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %41) #5
  %43 = tail call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %37, i64 %38, i64 %39, %swift.bridge* %41)
  %44 = extractvalue { i64, %swift.bridge* } %43, 0
  %45 = extractvalue { i64, %swift.bridge* } %43, 1
  %46 = tail call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsEyxSgSScfCSi_Tg5"(i64 %44, %swift.bridge* %45, %swift.type* nonnull swiftself @"$sSiN")
  %47 = extractvalue { i64, i8 } %46, 0
  %48 = extractvalue { i64, i8 } %46, 1
  %49 = and i8 %48, 1
  %.not125 = icmp eq i8 %49, 0
  br i1 %.not125, label %50, label %399

50:                                               ; preds = %33
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %41) #5
  %51 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %52 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %51, i64 0, i32 0
  %53 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %52) #15
  br i1 %53, label %57, label %54

54:                                               ; preds = %50
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %51, i64 0, i32 1, i32 0, i32 0, i32 0
  %55 = load i64, i64* %._storage4.count._value, align 8, !range !6
  %56 = add nuw nsw i64 %55, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %56, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %57

57:                                               ; preds = %50, %54
  %58 = phi %Ts28__ContiguousArrayStorageBaseC* [ %51, %50 ], [ %.pre, %54 ]
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %58, i64 0, i32 1, i32 0, i32 0, i32 0
  %59 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %._storage5._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %58, i64 0, i32 1, i32 0, i32 1, i32 0
  %60 = load i64, i64* %._storage5._capacityAndFlags._value, align 8
  %61 = lshr i64 %60, 1
  %62 = add nuw nsw i64 %59, 1
  %.not126 = icmp ugt i64 %61, %59
  br i1 %.not126, label %65, label %63, !prof !8

63:                                               ; preds = %57
  %64 = icmp ugt i64 %60, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %64, i64 %62, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %2)
  %.pre155 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %65

65:                                               ; preds = %57, %63
  %66 = phi %Ts28__ContiguousArrayStorageBaseC* [ %58, %57 ], [ %.pre155, %63 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %66, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %62, i64* %._storage6.count._value, align 8
  %67 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %66, i64 1
  %tailaddr7 = bitcast %Ts28__ContiguousArrayStorageBaseC* %67 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr7, i64 %59, i32 0
  store i64 %47, i64* %._value, align 8
  %68 = icmp eq i64 %35, %11
  br i1 %68, label %69, label %33

69:                                               ; preds = %65
  %70 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %10, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %70) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %16)
  br label %18

71:                                               ; preds = %101
  %72 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %84, i64 1)
  %73 = extractvalue { i64, i1 } %72, 0
  %74 = extractvalue { i64, i1 } %72, 1
  br i1 %74, label %403, label %83, !prof !7

75:                                               ; preds = %101
  %76 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch20, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %76)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSi* @"$s7llvm_OZ1kSivp" to i8*), [24 x i8]* nonnull %access-scratch20, i64 0, i8* null) #5
  %77 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1kSivp", i64 0, i32 0), align 8
  %78 = icmp slt i64 %77, 0
  br i1 %78, label %404, label %79, !prof !7

79:                                               ; preds = %75
  %80 = icmp eq i64 %77, 0
  br i1 %80, label %.loopexit, label %.preheader139

.preheader139:                                    ; preds = %79
  %81 = bitcast %Ts15ContiguousArrayV* %3 to i8*
  %._buffer29._storage = getelementptr inbounds %Ts15ContiguousArrayV, %Ts15ContiguousArrayV* %3, i64 0, i32 0, i32 0
  %82 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch43, i64 0, i64 0
  br label %105

83:                                               ; preds = %71, %31
  %84 = phi i64 [ 1, %31 ], [ %73, %71 ]
  %85 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  %86 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 0
  %87 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %86) #15
  store %Ts28__ContiguousArrayStorageBaseC* %85, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %87, label %92, label %88

88:                                               ; preds = %83
  %._storage15.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %85, i64 0, i32 1, i32 0, i32 0, i32 0
  %89 = load i64, i64* %._storage15.count._value, align 8, !range !6
  %90 = add nuw nsw i64 %89, 1
  %91 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %90, i1 true, %Ts28__ContiguousArrayStorageBaseC* %85)
  store %Ts28__ContiguousArrayStorageBaseC* %91, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %92

92:                                               ; preds = %83, %88
  %93 = phi %Ts28__ContiguousArrayStorageBaseC* [ %85, %83 ], [ %91, %88 ]
  %._storage16.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %93, i64 0, i32 1, i32 0, i32 0, i32 0
  %94 = load i64, i64* %._storage16.count._value, align 8, !range !6
  %._storage16._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %93, i64 0, i32 1, i32 0, i32 1, i32 0
  %95 = load i64, i64* %._storage16._capacityAndFlags._value, align 8
  %96 = lshr i64 %95, 1
  %97 = add nuw nsw i64 %94, 1
  %.not128 = icmp ugt i64 %96, %94
  br i1 %.not128, label %101, label %98, !prof !8

98:                                               ; preds = %92
  %99 = icmp ugt i64 %95, 1
  %100 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %99, i64 %97, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %93)
  store %Ts28__ContiguousArrayStorageBaseC* %100, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %101

101:                                              ; preds = %92, %98
  %102 = phi %Ts28__ContiguousArrayStorageBaseC* [ %93, %92 ], [ %100, %98 ]
  %103 = icmp eq i64 %84, %29
  %._storage17.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %102, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %97, i64* %._storage17.count._value, align 8
  %104 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %102, i64 1
  %tailaddr18 = bitcast %Ts28__ContiguousArrayStorageBaseC* %104 to %TSi*
  %._value19 = getelementptr inbounds %TSi, %TSi* %tailaddr18, i64 %94, i32 0
  store i64 %84, i64* %._value19, align 8
  br i1 %103, label %75, label %71

105:                                              ; preds = %.preheader139, %.loopexit168
  %106 = phi i64 [ %108, %.loopexit168 ], [ 0, %.preheader139 ]
  %exitcond154.not = icmp eq i64 %106, %77
  br i1 %exitcond154.not, label %405, label %107, !prof !7

107:                                              ; preds = %105
  %108 = add nuw nsw i64 %106, 1
  %109 = call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %110 = extractvalue { i64, i64 } %109, 1
  %111 = icmp eq i64 %110, 0
  br i1 %111, label %406, label %112

112:                                              ; preds = %107
  %113 = extractvalue { i64, i64 } %109, 0
  %114 = inttoptr i64 %110 to %swift.bridge*
  %115 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsEyxSgSScfCSi_Tg5"(i64 %113, %swift.bridge* nonnull %114, %swift.type* nonnull swiftself @"$sSiN")
  %116 = extractvalue { i64, i8 } %115, 0
  %117 = extractvalue { i64, i8 } %115, 1
  %118 = and i8 %117, 1
  %.not129 = icmp eq i8 %118, 0
  br i1 %.not129, label %119, label %407

119:                                              ; preds = %112
  %120 = call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %121 = extractvalue { i64, i64 } %120, 0
  %122 = extractvalue { i64, i64 } %120, 1
  %123 = icmp eq i64 %122, 0
  br i1 %123, label %408, label %124

124:                                              ; preds = %119
  %125 = inttoptr i64 %122 to %swift.bridge*
  %126 = and i64 %122, 2305843009213693952
  %127 = icmp eq i64 %126, 0
  %128 = lshr i64 %122, 56
  %129 = and i64 %128, 15
  %130 = and i64 %121, 281474976710655
  %131 = select i1 %127, i64 %130, i64 %129
  %132 = icmp eq i64 %131, 0
  br i1 %132, label %133, label %137

133:                                              ; preds = %124
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %125) #5
  %134 = load i64, i64* getelementptr inbounds (%struct._SwiftEmptyArrayStorage, %struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage, i64 0, i32 1, i32 0), align 8, !range !6
  %135 = icmp eq i64 %134, 0
  br i1 %135, label %136, label %237

136:                                              ; preds = %133
  call void @swift_release(%swift.refcounted* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %swift.refcounted*)) #5
  br label %241

137:                                              ; preds = %124
  %138 = shl nuw i64 %131, 16
  %139 = and i64 %122, 1152921504606846976
  %140 = icmp ne i64 %139, 0
  %141 = and i64 %121, 576460752303423488
  %142 = icmp eq i64 %141, 0
  %or.cond79 = select i1 %140, i1 %142, i1 false
  %.v = select i1 %or.cond79, i64 11, i64 7
  %143 = or i64 %138, %.v
  %144 = shl nuw nsw i64 %131, 2
  br label %177

145:                                              ; preds = %199
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %125) #5
  %._storage28.count._value.phi.trans.insert = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 1, i32 0, i32 0, i32 0
  %.pre156 = load i64, i64* %._storage28.count._value.phi.trans.insert, align 8, !range !6
  %146 = icmp eq i64 %.pre156, 0
  br i1 %146, label %147, label %237

147:                                              ; preds = %145
  %148 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %148) #5
  br label %241

149:                                              ; preds = %199
  %150 = lshr i64 %205, 14
  %151 = icmp ult i64 %144, %150
  br i1 %151, label %409, label %152, !prof !7

152:                                              ; preds = %149
  %153 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %205, i64 %143, i64 %121, %swift.bridge* nonnull %125)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %125) #5
  %154 = extractvalue { i64, i64, i64, %swift.bridge* } %153, 0
  %155 = extractvalue { i64, i64, i64, %swift.bridge* } %153, 1
  %156 = extractvalue { i64, i64, i64, %swift.bridge* } %153, 2
  %157 = extractvalue { i64, i64, i64, %swift.bridge* } %153, 3
  %158 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 0
  %159 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %158) #15
  br i1 %159, label %164, label %160

160:                                              ; preds = %152
  %._storage23.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %206, i64 0, i32 1, i32 0, i32 0, i32 0
  %161 = load i64, i64* %._storage23.count._value, align 8, !range !6
  %162 = add nuw nsw i64 %161, 1
  %163 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %162, i1 true, %Ts28__ContiguousArrayStorageBaseC* %206)
  br label %164

164:                                              ; preds = %152, %160
  %165 = phi %Ts28__ContiguousArrayStorageBaseC* [ %163, %160 ], [ %206, %152 ]
  %._storage24.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 1, i32 0, i32 0, i32 0
  %166 = load i64, i64* %._storage24.count._value, align 8, !range !6
  %._storage24._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %165, i64 0, i32 1, i32 0, i32 1, i32 0
  %167 = load i64, i64* %._storage24._capacityAndFlags._value, align 8
  %168 = lshr i64 %167, 1
  %169 = add nuw nsw i64 %166, 1
  %.not130 = icmp ugt i64 %168, %166
  br i1 %.not130, label %.thread, label %170, !prof !8

170:                                              ; preds = %164
  %171 = icmp ugt i64 %167, 1
  %172 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %171, i64 %169, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %165)
  br label %.thread

.thread:                                          ; preds = %170, %164
  %173 = phi %Ts28__ContiguousArrayStorageBaseC* [ %172, %170 ], [ %165, %164 ]
  %._storage25.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %169, i64* %._storage25.count._value, align 8
  %174 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %173, i64 1
  %175 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %174, i64 %166
  %._slice27._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %175 to i64*
  store i64 %154, i64* %._slice27._startIndex._rawBits._value, align 8
  %._slice27._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 0, i32 1
  store i64 %155, i64* %._slice27._endIndex, align 8
  %._slice27._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %175, i64 0, i32 1
  %._slice27._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice27._base, i64 0, i32 0, i32 0, i32 0
  store i64 %156, i64* %._slice27._base._guts._object._countAndFlagsBits._value, align 8
  %._slice27._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice27._base, i64 0, i32 0, i32 1
  %176 = bitcast %TSu* %._slice27._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %157, %swift.bridge** %176, align 8
  br label %237

177:                                              ; preds = %202, %137
  %178 = phi i64 [ 15, %137 ], [ %203, %202 ]
  %179 = phi i64 [ 15, %137 ], [ %204, %202 ]
  %180 = phi i64 [ 15, %137 ], [ %205, %202 ]
  %181 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %137 ], [ %206, %202 ]
  %182 = call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %178, i64 %121, %swift.bridge* nonnull %125)
  %183 = extractvalue { i64, %swift.bridge* } %182, 0
  %184 = extractvalue { i64, %swift.bridge* } %182, 1
  %185 = icmp eq i64 %183, 32
  %186 = icmp eq %swift.bridge* %184, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond = select i1 %185, i1 %186, i1 false
  br i1 %or.cond, label %187, label %188

187:                                              ; preds = %177
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*)) #5
  br label %190

188:                                              ; preds = %177
  %189 = call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %183, %swift.bridge* %184, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  call void @swift_bridgeObjectRelease(%swift.bridge* %184) #5
  br i1 %189, label %190, label %194

190:                                              ; preds = %188, %187
  %191 = lshr i64 %179, 14
  %192 = lshr i64 %178, 14
  %193 = icmp eq i64 %191, %192
  br i1 %193, label %196, label %209

194:                                              ; preds = %188
  %195 = call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %178, i64 %121, %swift.bridge* nonnull %125)
  br label %202

196:                                              ; preds = %190, %232
  %197 = phi %Ts28__ContiguousArrayStorageBaseC* [ %233, %232 ], [ %181, %190 ]
  %198 = call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %178, i64 %121, %swift.bridge* nonnull %125)
  br label %202

199:                                              ; preds = %202
  %200 = lshr i64 %204, 14
  %201 = icmp eq i64 %200, %144
  br i1 %201, label %145, label %149

202:                                              ; preds = %196, %194
  %203 = phi i64 [ %195, %194 ], [ %198, %196 ]
  %204 = phi i64 [ %179, %194 ], [ %198, %196 ]
  %205 = phi i64 [ %180, %194 ], [ %198, %196 ]
  %206 = phi %Ts28__ContiguousArrayStorageBaseC* [ %181, %194 ], [ %197, %196 ]
  %207 = lshr i64 %203, 14
  %208 = icmp eq i64 %207, %144
  br i1 %208, label %199, label %177

209:                                              ; preds = %190
  %210 = icmp ult i64 %192, %191
  br i1 %210, label %415, label %211, !prof !7

211:                                              ; preds = %209
  %212 = call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %179, i64 %178, i64 %121, %swift.bridge* nonnull %125)
  %213 = extractvalue { i64, i64, i64, %swift.bridge* } %212, 0
  %214 = extractvalue { i64, i64, i64, %swift.bridge* } %212, 1
  %215 = extractvalue { i64, i64, i64, %swift.bridge* } %212, 2
  %216 = extractvalue { i64, i64, i64, %swift.bridge* } %212, 3
  %217 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 0, i32 0
  %218 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %217) #15
  br i1 %218, label %223, label %219

219:                                              ; preds = %211
  %._storage61.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 0, i32 1, i32 0, i32 0, i32 0
  %220 = load i64, i64* %._storage61.count._value, align 8, !range !6
  %221 = add nuw nsw i64 %220, 1
  %222 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %221, i1 true, %Ts28__ContiguousArrayStorageBaseC* %181)
  br label %223

223:                                              ; preds = %211, %219
  %224 = phi %Ts28__ContiguousArrayStorageBaseC* [ %222, %219 ], [ %181, %211 ]
  %._storage62.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %224, i64 0, i32 1, i32 0, i32 0, i32 0
  %225 = load i64, i64* %._storage62.count._value, align 8, !range !6
  %._storage62._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %224, i64 0, i32 1, i32 0, i32 1, i32 0
  %226 = load i64, i64* %._storage62._capacityAndFlags._value, align 8
  %227 = lshr i64 %226, 1
  %228 = add nuw nsw i64 %225, 1
  %.not137 = icmp ugt i64 %227, %225
  br i1 %.not137, label %232, label %229, !prof !8

229:                                              ; preds = %223
  %230 = icmp ugt i64 %226, 1
  %231 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %230, i64 %228, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %224)
  br label %232

232:                                              ; preds = %223, %229
  %233 = phi %Ts28__ContiguousArrayStorageBaseC* [ %231, %229 ], [ %224, %223 ]
  %._storage63.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %233, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %228, i64* %._storage63.count._value, align 8
  %234 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %233, i64 1
  %235 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %234, i64 %225
  %._slice65._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %235 to i64*
  store i64 %213, i64* %._slice65._startIndex._rawBits._value, align 8
  %._slice65._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %235, i64 0, i32 0, i32 1
  store i64 %214, i64* %._slice65._endIndex, align 8
  %._slice65._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %235, i64 0, i32 1
  %._slice65._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice65._base, i64 0, i32 0, i32 0, i32 0
  store i64 %215, i64* %._slice65._base._guts._object._countAndFlagsBits._value, align 8
  %._slice65._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice65._base, i64 0, i32 0, i32 1
  %236 = bitcast %TSu* %._slice65._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %216, %swift.bridge** %236, align 8
  br label %196

237:                                              ; preds = %.thread, %145, %133
  %238 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %133 ], [ %206, %145 ], [ %173, %.thread ]
  %239 = phi i64 [ %134, %133 ], [ %.pre156, %145 ], [ %169, %.thread ]
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %81)
  store %Ts28__ContiguousArrayStorageBaseC* bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %Ts28__ContiguousArrayStorageBaseC** %._buffer29._storage, align 8
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %239, i1 false, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %240 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 1
  br label %251

241:                                              ; preds = %136, %147, %288
  %242 = phi %Ts28__ContiguousArrayStorageBaseC* [ %285, %288 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %147 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %136 ]
  %243 = icmp slt i64 %116, 0
  br i1 %243, label %412, label %244, !prof !7

244:                                              ; preds = %241
  %245 = icmp eq i64 %116, 0
  br i1 %245, label %.loopexit168, label %246

246:                                              ; preds = %244
  %._storage41.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %242, i64 0, i32 1, i32 0, i32 0, i32 0
  %247 = load i64, i64* %._storage41.count._value, align 8, !range !6
  %248 = add nsw i64 %116, -1
  %.not135 = icmp ult i64 %248, %247
  br i1 %.not135, label %249, label %413, !prof !8

249:                                              ; preds = %246
  %250 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %242, i64 1
  %tailaddr42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %250 to %TSi*
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %82)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ6count2SaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch43, i64 1, i8* null) #5
  br label %292

251:                                              ; preds = %284, %237
  %252 = phi i64 [ 0, %237 ], [ %254, %284 ]
  %exitcond.not = icmp eq i64 %252, %239
  br i1 %exitcond.not, label %410, label %253, !prof !7

253:                                              ; preds = %251
  %254 = add nuw nsw i64 %252, 1
  %255 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %240, i64 %252
  %._slice33._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %255 to i64*
  %256 = load i64, i64* %._slice33._startIndex._rawBits._value, align 8
  %._slice33._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 0, i32 1
  %257 = load i64, i64* %._slice33._endIndex, align 8
  %._slice33._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %255, i64 0, i32 1
  %._slice33._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice33._base, i64 0, i32 0, i32 0, i32 0
  %258 = load i64, i64* %._slice33._base._guts._object._countAndFlagsBits._value, align 8
  %._slice33._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice33._base, i64 0, i32 0, i32 1
  %259 = bitcast %TSu* %._slice33._base._guts._object._object to %swift.bridge**
  %260 = load %swift.bridge*, %swift.bridge** %259, align 8
  %261 = call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %260) #5
  %262 = call swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64 %256, i64 %257, i64 %258, %swift.bridge* %260)
  %263 = extractvalue { i64, %swift.bridge* } %262, 0
  %264 = extractvalue { i64, %swift.bridge* } %262, 1
  %265 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsEyxSgSScfCSi_Tg5"(i64 %263, %swift.bridge* %264, %swift.type* nonnull swiftself @"$sSiN")
  %266 = extractvalue { i64, i8 } %265, 0
  %267 = extractvalue { i64, i8 } %265, 1
  %268 = and i8 %267, 1
  %.not132 = icmp eq i8 %268, 0
  br i1 %.not132, label %269, label %411

269:                                              ; preds = %253
  call void @swift_bridgeObjectRelease(%swift.bridge* %260) #5
  %270 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer29._storage, align 8
  %271 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %270, i64 0, i32 0
  %272 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %271) #15
  br i1 %272, label %276, label %273

273:                                              ; preds = %269
  %._storage35.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %270, i64 0, i32 1, i32 0, i32 0, i32 0
  %274 = load i64, i64* %._storage35.count._value, align 8, !range !6
  %275 = add nuw nsw i64 %274, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 false, i64 %275, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre157 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer29._storage, align 8
  br label %276

276:                                              ; preds = %269, %273
  %277 = phi %Ts28__ContiguousArrayStorageBaseC* [ %270, %269 ], [ %.pre157, %273 ]
  %._storage36.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %277, i64 0, i32 1, i32 0, i32 0, i32 0
  %278 = load i64, i64* %._storage36.count._value, align 8, !range !6
  %._storage36._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %277, i64 0, i32 1, i32 0, i32 1, i32 0
  %279 = load i64, i64* %._storage36._capacityAndFlags._value, align 8
  %280 = lshr i64 %279, 1
  %281 = add nuw nsw i64 %278, 1
  %.not133 = icmp ugt i64 %280, %278
  br i1 %.not133, label %284, label %282, !prof !8

282:                                              ; preds = %276
  %283 = icmp ugt i64 %279, 1
  call swiftcc void @"$ss15ContiguousArrayV16_createNewBuffer14bufferIsUnique15minimumCapacity13growForAppendySb_SiSbtFSi_Tg5"(i1 %283, i64 %281, i1 true, %Ts15ContiguousArrayV* nocapture nonnull swiftself dereferenceable(8) %3)
  %.pre158 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer29._storage, align 8
  br label %284

284:                                              ; preds = %276, %282
  %285 = phi %Ts28__ContiguousArrayStorageBaseC* [ %277, %276 ], [ %.pre158, %282 ]
  %._storage37.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %281, i64* %._storage37.count._value, align 8
  %286 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %285, i64 1
  %tailaddr38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %286 to %TSi*
  %._value39 = getelementptr inbounds %TSi, %TSi* %tailaddr38, i64 %278, i32 0
  store i64 %266, i64* %._value39, align 8
  %287 = icmp eq i64 %254, %239
  br i1 %287, label %288, label %251

288:                                              ; preds = %284
  %289 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %289) #5
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %81)
  br label %241

.loopexit168:                                     ; preds = %311, %244
  %290 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %242, i64 0, i32 0
  call void @swift_release(%swift.refcounted* %290) #5
  %291 = icmp eq i64 %108, %77
  br i1 %291, label %.loopexit, label %105

292:                                              ; preds = %311, %249
  %293 = phi i64 [ 0, %249 ], [ %313, %311 ]
  %._value44 = getelementptr inbounds %TSi, %TSi* %tailaddr42, i64 %293, i32 0
  %294 = load i64, i64* %._value44, align 8
  %295 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  %296 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %295, i64 0, i32 0
  %297 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %296) #15
  store %Ts28__ContiguousArrayStorageBaseC* %295, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  br i1 %297, label %302, label %298

298:                                              ; preds = %292
  %._storage45.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %295, i64 0, i32 1, i32 0, i32 0, i32 0
  %299 = load i64, i64* %._storage45.count._value, align 8, !range !6
  %300 = add nuw nsw i64 %299, 1
  %301 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %300, i1 true, %Ts28__ContiguousArrayStorageBaseC* %295)
  store %Ts28__ContiguousArrayStorageBaseC* %301, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %302

302:                                              ; preds = %292, %298
  %303 = phi %Ts28__ContiguousArrayStorageBaseC* [ %295, %292 ], [ %301, %298 ]
  %._storage46.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %303, i64 0, i32 1, i32 0, i32 0, i32 0
  %304 = load i64, i64* %._storage46.count._value, align 8, !range !6
  %._storage46._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %303, i64 0, i32 1, i32 0, i32 1, i32 0
  %305 = load i64, i64* %._storage46._capacityAndFlags._value, align 8
  %306 = lshr i64 %305, 1
  %307 = add nuw nsw i64 %304, 1
  %.not136 = icmp ugt i64 %306, %304
  br i1 %.not136, label %311, label %308, !prof !8

308:                                              ; preds = %302
  %309 = icmp ugt i64 %305, 1
  %310 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 %309, i64 %307, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %303)
  store %Ts28__ContiguousArrayStorageBaseC* %310, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  br label %311

311:                                              ; preds = %302, %308
  %312 = phi %Ts28__ContiguousArrayStorageBaseC* [ %303, %302 ], [ %310, %308 ]
  %313 = add nuw nsw i64 %293, 1
  %._storage47.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %312, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %307, i64* %._storage47.count._value, align 8
  %314 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %312, i64 1
  %tailaddr48 = bitcast %Ts28__ContiguousArrayStorageBaseC* %314 to %TSi*
  %._value49 = getelementptr inbounds %TSi, %TSi* %tailaddr48, i64 %304, i32 0
  store i64 %294, i64* %._value49, align 8
  %315 = icmp eq i64 %313, %116
  br i1 %315, label %.loopexit168, label %292

.loopexit:                                        ; preds = %.loopexit168, %79
  %316 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch50, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %316)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ6count2SaySiGvp" to i8*), [24 x i8]* nonnull %access-scratch50, i64 0, i8* null) #5
  %317 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ6count2SaySiGvp", i64 0, i32 0, i32 0), align 8
  %318 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %317, i64 0, i32 0
  %319 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %318) #15
  %320 = call swiftcc { i64, i64, i8 } @"$s10Foundation9IndexPathV12arrayLiteralACSid_tcfC"(%Ts28__ContiguousArrayStorageBaseC* nonnull bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*))
  %321 = extractvalue { i64, i64, i8 } %320, 0
  %322 = extractvalue { i64, i64, i8 } %320, 1
  %323 = extractvalue { i64, i64, i8 } %320, 2
  %._storage51.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %317, i64 0, i32 1, i32 0, i32 0, i32 0
  %324 = load i64, i64* %._storage51.count._value, align 8, !range !6
  %325 = icmp eq i64 %324, 0
  br i1 %325, label %326, label %327

326:                                              ; preds = %.loopexit
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOy"(i64 %321, i64 %322, i8 %323)
  br label %377

327:                                              ; preds = %.loopexit
  %328 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %317, i64 1
  %tailaddr52 = bitcast %Ts28__ContiguousArrayStorageBaseC* %328 to %TSi*
  %329 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %318) #15
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOy"(i64 %321, i64 %322, i8 %323)
  br label %330

330:                                              ; preds = %327, %371
  %331 = phi i64 [ 0, %327 ], [ %336, %371 ]
  %332 = phi i64 [ %321, %327 ], [ %372, %371 ]
  %333 = phi i64 [ %322, %327 ], [ %373, %371 ]
  %334 = phi i8 [ %323, %327 ], [ %374, %371 ]
  %._value53 = getelementptr inbounds %TSi, %TSi* %tailaddr52, i64 %331, i32 0
  %335 = load i64, i64* %._value53, align 8
  %336 = add nuw nsw i64 %331, 1
  %337 = call swiftcc { i64, i64, i8, i64 } @"$s10Foundation9IndexPathV12makeIterators08IndexingE0VyACGyF"(i64 %332, i64 %333, i8 %334)
  %338 = extractvalue { i64, i64, i8, i64 } %337, 0
  %339 = extractvalue { i64, i64, i8, i64 } %337, 1
  %340 = extractvalue { i64, i64, i8, i64 } %337, 2
  %341 = extractvalue { i64, i64, i8, i64 } %337, 3
  %342 = call swiftcc i64 @"$s10Foundation9IndexPathV03endB0Sivg"(i64 %338, i64 %339, i8 %340)
  %343 = icmp eq i64 %341, %342
  br i1 %343, label %.loopexit167, label %344

344:                                              ; preds = %330
  %345 = call swiftcc i64 @"$s10Foundation9IndexPathVyS2icig"(i64 %341, i64 %338, i64 %339, i8 %340)
  %346 = call swiftcc i64 @"$s10Foundation9IndexPathV5index5afterS2i_tF"(i64 %341, i64 %338, i64 %339, i8 %340)
  %347 = icmp eq i64 %345, %335
  br i1 %347, label %.loopexit166, label %348

348:                                              ; preds = %344
  %349 = call swiftcc i64 @"$s10Foundation9IndexPathV03endB0Sivg"(i64 %338, i64 %339, i8 %340)
  %350 = icmp eq i64 %346, %349
  br i1 %350, label %.loopexit167, label %.preheader

.loopexit166:                                     ; preds = %.preheader, %344
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %338, i64 %339, i8 %340)
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOy"(i64 %332, i64 %333, i8 %334)
  br label %371

.preheader:                                       ; preds = %348, %355
  %351 = phi i64 [ %353, %355 ], [ %346, %348 ]
  %352 = call swiftcc i64 @"$s10Foundation9IndexPathVyS2icig"(i64 %351, i64 %338, i64 %339, i8 %340)
  %353 = call swiftcc i64 @"$s10Foundation9IndexPathV5index5afterS2i_tF"(i64 %351, i64 %338, i64 %339, i8 %340)
  %354 = icmp eq i64 %352, %335
  br i1 %354, label %.loopexit166, label %355

355:                                              ; preds = %.preheader
  %356 = call swiftcc i64 @"$s10Foundation9IndexPathV03endB0Sivg"(i64 %338, i64 %339, i8 %340)
  %357 = icmp eq i64 %353, %356
  br i1 %357, label %.loopexit167, label %.preheader

.loopexit167:                                     ; preds = %355, %348, %330
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %338, i64 %339, i8 %340)
  %358 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCySiGMD") #16
  %359 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %358, i64 40, i64 7) #5
  %360 = bitcast %swift.refcounted* %359 to %Ts28__ContiguousArrayStorageBaseC*
  %361 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %359, i64 1
  %._storage54.count._value = bitcast %swift.refcounted* %361 to i64*
  store i64 1, i64* %._storage54.count._value, align 8
  %._storage54._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %359, i64 1, i32 1
  store i64 2, i64* %._storage54._capacityAndFlags, align 8
  %362 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %359, i64 2
  %tailaddr55._value = bitcast %swift.refcounted* %362 to i64*
  store i64 %335, i64* %tailaddr55._value, align 8
  %363 = call swiftcc { i64, i64, i8 } @"$s10Foundation9IndexPathV12arrayLiteralACSid_tcfC"(%Ts28__ContiguousArrayStorageBaseC* %360)
  %364 = extractvalue { i64, i64, i8 } %363, 0
  %365 = extractvalue { i64, i64, i8 } %363, 1
  %366 = extractvalue { i64, i64, i8 } %363, 2
  %367 = call swiftcc { i64, i64, i8 } @"$s10Foundation9IndexPathV1poiyA2C_ACtFZ"(i64 %332, i64 %333, i8 %334, i64 %364, i64 %365, i8 %366)
  %368 = extractvalue { i64, i64, i8 } %367, 0
  %369 = extractvalue { i64, i64, i8 } %367, 1
  %370 = extractvalue { i64, i64, i8 } %367, 2
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %364, i64 %365, i8 %366)
  br label %371

371:                                              ; preds = %.loopexit166, %.loopexit167
  %372 = phi i64 [ %368, %.loopexit167 ], [ %332, %.loopexit166 ]
  %373 = phi i64 [ %369, %.loopexit167 ], [ %333, %.loopexit166 ]
  %374 = phi i8 [ %370, %.loopexit167 ], [ %334, %.loopexit166 ]
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %332, i64 %333, i8 %334)
  %375 = icmp eq i64 %336, %324
  br i1 %375, label %376, label %330

376:                                              ; preds = %371
  call void @swift_release(%swift.refcounted* %318) #5
  br label %377

377:                                              ; preds = %326, %376
  %378 = phi i64 [ %372, %376 ], [ %321, %326 ]
  %379 = phi i64 [ %373, %376 ], [ %322, %326 ]
  %380 = phi i8 [ %374, %376 ], [ %323, %326 ]
  store i64 %378, i64* bitcast (%T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp" to i64*), align 8
  store i64 %379, i64* bitcast (i8* getelementptr inbounds (%T10Foundation9IndexPathV, %T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp", i64 0, i32 0, i32 0, i64 8) to i64*), align 8
  store i8 %380, i8* getelementptr inbounds (%T10Foundation9IndexPathV, %T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp", i64 0, i32 0, i32 1, i64 0), align 8
  call void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %321, i64 %322, i8 %323)
  call void @swift_release(%swift.refcounted* %318) #5
  %381 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #16
  %382 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %381, i64 64, i64 7) #5
  %383 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %382, i64 1
  %._storage56.count._value = bitcast %swift.refcounted* %383 to i64*
  store i64 1, i64* %._storage56.count._value, align 8
  %._storage56._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %382, i64 1, i32 1
  store i64 2, i64* %._storage56._capacityAndFlags, align 8
  %384 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ5countSaySiGvp", i64 0, i32 0, i32 0), align 8
  %._storage58.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %384, i64 0, i32 1, i32 0, i32 0, i32 0
  %385 = load i64, i64* %._storage58.count._value, align 8, !range !6
  %386 = load i64, i64* bitcast (%T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp" to i64*), align 8
  %387 = load i64, i64* bitcast (i8* getelementptr inbounds (%T10Foundation9IndexPathV, %T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp", i64 0, i32 0, i32 0, i64 8) to i64*), align 8
  %388 = load i8, i8* getelementptr inbounds (%T10Foundation9IndexPathV, %T10Foundation9IndexPathV* @"$s7llvm_OZ6result10Foundation9IndexPathVvp", i64 0, i32 0, i32 1, i64 0), align 8
  %389 = call swiftcc i64 @"$s10Foundation9IndexPathV5countSivg"(i64 %386, i64 %387, i8 %388)
  %390 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %385, i64 %389)
  %391 = extractvalue { i64, i1 } %390, 1
  br i1 %391, label %414, label %392, !prof !7

392:                                              ; preds = %377
  %393 = extractvalue { i64, i1 } %390, 0
  %394 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %382, i64 2
  %395 = bitcast %swift.refcounted* %382 to %Ts28__ContiguousArrayStorageBaseC*
  %396 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %382, i64 3, i32 1
  %397 = bitcast i64* %396 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %397, align 8
  %._value59 = bitcast %swift.refcounted* %394 to i64*
  store i64 %393, i64* %._value59, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %395, 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* nonnull %382) #5
  ret i32 0

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

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

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

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

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

403:                                              ; preds = %71
  call void asm sideeffect "", "n"(i32 7) #5
  call void @llvm.trap()
  unreachable

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

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

406:                                              ; preds = %107
  call void asm sideeffect "", "n"(i32 11) #5
  call void @llvm.trap()
  unreachable

407:                                              ; preds = %112
  call void asm sideeffect "", "n"(i32 12) #5
  call void @llvm.trap()
  unreachable

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

409:                                              ; preds = %149
  call void asm sideeffect "", "n"(i32 14) #5
  call void @llvm.trap()
  unreachable

410:                                              ; preds = %251
  call void asm sideeffect "", "n"(i32 15) #5
  call void @llvm.trap()
  unreachable

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

412:                                              ; preds = %241
  call void asm sideeffect "", "n"(i32 18) #5
  call void @llvm.trap()
  unreachable

413:                                              ; preds = %246
  call void asm sideeffect "", "n"(i32 20) #5
  call void @llvm.trap()
  unreachable

414:                                              ; preds = %377
  call void asm sideeffect "", "n"(i32 22) #5
  call void @llvm.trap()
  unreachable

415:                                              ; preds = %209
  call void asm sideeffect "", "n"(i32 23) #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
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKFSS_Tg519$s7llvm_OZSbSJXEfU_Tf1nncn_n"(i64 %0, i1 %1, i64 %2, %swift.bridge* %3, %swift.refcounted* swiftself %4, %swift.error** noalias nocapture swifterror dereferenceable(8) %5) local_unnamed_addr #0 {
entry:
  %6 = icmp slt i64 %0, 0
  br i1 %6, label %134, label %7, !prof !7

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

._crit_edge:                                      ; preds = %7
  %.pre40 = lshr i64 %.pre, 56
  %.pre42 = and i64 %.pre40, 15
  br label %21

14:                                               ; preds = %7
  %15 = icmp eq i64 %.pre38, 0
  %16 = lshr i64 %.pre, 56
  %17 = and i64 %16, 15
  %18 = and i64 %2, 281474976710655
  %19 = select i1 %15, i64 %18, i64 %17
  %20 = icmp eq i64 %19, 0
  br i1 %20, label %21, label %36

21:                                               ; preds = %._crit_edge, %14
  %.pre-phi43 = phi i64 [ %.pre42, %._crit_edge ], [ %17, %14 ]
  %22 = icmp eq i64 %.pre38, 0
  %23 = select i1 %22, i64 %2, i64 %.pre-phi43
  %24 = shl i64 %23, 16
  %25 = and i64 %.pre, 1152921504606846976
  %26 = icmp ne i64 %25, 0
  %27 = and i64 %2, 576460752303423488
  %28 = icmp eq i64 %27, 0
  %or.cond = select i1 %26, i1 %28, i1 false
  %.v33 = select i1 %or.cond, i64 11, i64 7
  %29 = or i64 %24, %.v33
  %30 = tail call swiftcc i1 @"$sSlsE5split9maxSplits25omittingEmptySubsequences14whereSeparatorSay11SubSequenceQzGSi_S2b7ElementQzKXEtKF17appendSubsequenceL_3endSb5IndexQz_tSlRzlFSS_Tg5"(i64 %29, %swift.refcounted* nonnull %11, i1 %1, %swift.refcounted* nonnull %8, i64 %2, %swift.bridge* %3)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %3) #5
  %31 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %32 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %31, i64 0, i32 0
  %33 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %32) #15
  tail call void @swift_release(%swift.refcounted* nonnull %8) #5
  tail call void @swift_release(%swift.refcounted* nonnull %11) #5
  br label %34

34:                                               ; preds = %21, %45
  %35 = phi %Ts28__ContiguousArrayStorageBaseC* [ %46, %45 ], [ %31, %21 ]
  ret %Ts28__ContiguousArrayStorageBaseC* %35

36:                                               ; preds = %14
  %37 = shl nuw i64 %19, 16
  %38 = and i64 %.pre, 1152921504606846976
  %39 = icmp ne i64 %38, 0
  %40 = and i64 %2, 576460752303423488
  %41 = icmp eq i64 %40, 0
  %or.cond22 = select i1 %39, i1 %41, i1 false
  %.v = select i1 %or.cond22, i64 11, i64 7
  %42 = or i64 %37, %.v
  %43 = shl nuw nsw i64 %19, 2
  %.not23 = xor i1 %1, true
  br label %65

44:                                               ; preds = %92
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %3) #5
  br label %45

45:                                               ; preds = %44, %52
  %46 = phi %Ts28__ContiguousArrayStorageBaseC* [ %60, %52 ], [ %95, %44 ]
  %47 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %46, i64 0, i32 0
  %48 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %47) #15
  tail call void @swift_release(%swift.refcounted* %8) #5
  tail call void @swift_release(%swift.refcounted* %11) #5
  br label %34

49:                                               ; preds = %92
  %50 = lshr i64 %94, 14
  %51 = icmp ult i64 %43, %50
  br i1 %51, label %135, label %52, !prof !7

52:                                               ; preds = %49
  %53 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %94, i64 %42, i64 %2, %swift.bridge* %3)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %3) #5
  %54 = extractvalue { i64, i64, i64, %swift.bridge* } %53, 0
  %55 = extractvalue { i64, i64, i64, %swift.bridge* } %53, 1
  %56 = extractvalue { i64, i64, i64, %swift.bridge* } %53, 2
  %57 = extractvalue { i64, i64, i64, %swift.bridge* } %53, 3
  call swiftcc void @"$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFSi_Tg5Tm"(%TSa* nocapture swiftself dereferenceable(8) %10, %Ts28__ContiguousArrayStorageBaseC* (i1, i64, i1, %Ts28__ContiguousArrayStorageBaseC*)* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5")
  %58 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %58, i64 0, i32 1, i32 0, i32 0, i32 0
  %59 = load i64, i64* %._storage.count._value, align 8, !range !6
  tail call swiftcc void @"$sSa36_reserveCapacityAssumingUniqueBuffer8oldCountySi_tFSs_Tg5"(i64 %59, %TSa* nocapture nonnull swiftself dereferenceable(8) %10)
  %60 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %61 = add nuw nsw i64 %59, 1
  %._storage3.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %60, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %61, i64* %._storage3.count._value, align 8
  %62 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %60, i64 1
  %63 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %62, i64 %59
  %._slice._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %63 to i64*
  store i64 %54, i64* %._slice._startIndex._rawBits._value, align 8
  %._slice._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %63, i64 0, i32 0, i32 1
  store i64 %55, i64* %._slice._endIndex, align 8
  %._slice._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %63, i64 0, i32 1
  %._slice._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 0, i32 0
  store i64 %56, i64* %._slice._base._guts._object._countAndFlagsBits._value, align 8
  %._slice._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice._base, i64 0, i32 0, i32 1
  %64 = bitcast %TSu* %._slice._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %57, %swift.bridge** %64, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %60, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %45

65:                                               ; preds = %98, %36
  %66 = phi i64 [ 15, %36 ], [ %99, %98 ]
  %67 = phi i64 [ 15, %36 ], [ %100, %98 ]
  %68 = phi i64 [ 15, %36 ], [ %101, %98 ]
  %69 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %102, %98 ]
  %70 = phi %Ts28__ContiguousArrayStorageBaseC* [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %36 ], [ %103, %98 ]
  %71 = tail call swiftcc { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64 %66, i64 %2, %swift.bridge* %3)
  %72 = extractvalue { i64, %swift.bridge* } %71, 0
  %73 = extractvalue { i64, %swift.bridge* } %71, 1
  %74 = icmp eq i64 %72, 32
  %75 = icmp eq %swift.bridge* %73, inttoptr (i64 -2233785415175766016 to %swift.bridge*)
  %or.cond37 = select i1 %74, i1 %75, i1 false
  br i1 %or.cond37, label %76, label %77

76:                                               ; preds = %65
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*)) #5
  br label %79

77:                                               ; preds = %65
  %78 = tail call swiftcc i1 @"$ss27_stringCompareWithSmolCheck__9expectingSbs11_StringGutsV_ADs01_G16ComparisonResultOtF"(i64 %72, %swift.bridge* %73, i64 32, %swift.bridge* nonnull inttoptr (i64 -2233785415175766016 to %swift.bridge*), i8 0)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %73) #5
  br i1 %78, label %79, label %83

79:                                               ; preds = %77, %76
  %80 = lshr i64 %67, 14
  %81 = lshr i64 %66, 14
  %82 = icmp ne i64 %80, %81
  %brmerge = select i1 %82, i1 true, i1 %.not23
  br i1 %brmerge, label %106, label %85

83:                                               ; preds = %77
  %84 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %66, i64 %2, %swift.bridge* %3)
  br label %98

85:                                               ; preds = %79, %129
  %86 = phi %Ts28__ContiguousArrayStorageBaseC* [ %130, %129 ], [ %69, %79 ]
  %87 = phi %Ts28__ContiguousArrayStorageBaseC* [ %130, %129 ], [ %70, %79 ]
  %88 = tail call swiftcc i64 @"$sSS5index5afterSS5IndexVAD_tF"(i64 %66, i64 %2, %swift.bridge* %3)
  store i64 %88, i64* %._rawBits._value, align 8
  br i1 %brmerge, label %89, label %98

89:                                               ; preds = %85
  %._storage12.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %86, i64 0, i32 1, i32 0, i32 0, i32 0
  %90 = load i64, i64* %._storage12.count._value, align 8, !range !6
  %91 = icmp eq i64 %90, %0
  br i1 %91, label %92, label %98

92:                                               ; preds = %98, %89
  %93 = phi i64 [ %88, %89 ], [ %100, %98 ]
  %94 = phi i64 [ %88, %89 ], [ %101, %98 ]
  %95 = phi %Ts28__ContiguousArrayStorageBaseC* [ %87, %89 ], [ %103, %98 ]
  %96 = lshr i64 %93, 14
  %97 = icmp ne i64 %96, %43
  %brmerge36 = select i1 %97, i1 true, i1 %.not23
  br i1 %brmerge36, label %49, label %44

98:                                               ; preds = %89, %85, %83
  %99 = phi i64 [ %84, %83 ], [ %88, %85 ], [ %88, %89 ]
  %100 = phi i64 [ %67, %83 ], [ %88, %85 ], [ %88, %89 ]
  %101 = phi i64 [ %68, %83 ], [ %88, %85 ], [ %88, %89 ]
  %102 = phi %Ts28__ContiguousArrayStorageBaseC* [ %69, %83 ], [ %86, %85 ], [ %86, %89 ]
  %103 = phi %Ts28__ContiguousArrayStorageBaseC* [ %70, %83 ], [ %87, %85 ], [ %87, %89 ]
  %104 = lshr i64 %99, 14
  %105 = icmp eq i64 %104, %43
  br i1 %105, label %92, label %65

106:                                              ; preds = %79
  %107 = icmp ult i64 %81, %80
  br i1 %107, label %136, label %108, !prof !7

108:                                              ; preds = %106
  %109 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSSySsSnySS5IndexVGcig"(i64 %67, i64 %66, i64 %2, %swift.bridge* %3)
  %110 = extractvalue { i64, i64, i64, %swift.bridge* } %109, 0
  %111 = extractvalue { i64, i64, i64, %swift.bridge* } %109, 1
  %112 = extractvalue { i64, i64, i64, %swift.bridge* } %109, 2
  %113 = extractvalue { i64, i64, i64, %swift.bridge* } %109, 3
  %114 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %69, i64 0, i32 0
  %115 = tail call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %114) #15
  br i1 %115, label %120, label %116

116:                                              ; preds = %108
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %69, i64 0, i32 1, i32 0, i32 0, i32 0
  %117 = load i64, i64* %._storage5.count._value, align 8, !range !6
  %118 = add nuw nsw i64 %117, 1
  %119 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 false, i64 %118, i1 true, %Ts28__ContiguousArrayStorageBaseC* %69)
  br label %120

120:                                              ; preds = %108, %116
  %121 = phi %Ts28__ContiguousArrayStorageBaseC* [ %119, %116 ], [ %69, %108 ]
  %._storage6.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 0, i32 1, i32 0, i32 0, i32 0
  %122 = load i64, i64* %._storage6.count._value, align 8, !range !6
  %._storage6._capacityAndFlags._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %121, i64 0, i32 1, i32 0, i32 1, i32 0
  %123 = load i64, i64* %._storage6._capacityAndFlags._value, align 8
  %124 = lshr i64 %123, 1
  %125 = add nuw nsw i64 %122, 1
  %.not = icmp ugt i64 %124, %122
  br i1 %.not, label %129, label %126, !prof !8

126:                                              ; preds = %120
  %127 = icmp ugt i64 %123, 1
  %128 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSs_Tg5"(i1 %127, i64 %125, i1 true, %Ts28__ContiguousArrayStorageBaseC* nonnull %121)
  br label %129

129:                                              ; preds = %120, %126
  %130 = phi %Ts28__ContiguousArrayStorageBaseC* [ %128, %126 ], [ %121, %120 ]
  %._storage7.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %130, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 %125, i64* %._storage7.count._value, align 8
  %131 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %130, i64 1
  %132 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %131, i64 %122
  %._slice9._startIndex._rawBits._value = bitcast %Ts28__ContiguousArrayStorageBaseC* %132 to i64*
  store i64 %110, i64* %._slice9._startIndex._rawBits._value, align 8
  %._slice9._endIndex = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %132, i64 0, i32 0, i32 1
  store i64 %111, i64* %._slice9._endIndex, align 8
  %._slice9._base = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %132, i64 0, i32 1
  %._slice9._base._guts._object._countAndFlagsBits._value = getelementptr %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice9._base, i64 0, i32 0, i32 0, i32 0
  store i64 %112, i64* %._slice9._base._guts._object._countAndFlagsBits._value, align 8
  %._slice9._base._guts._object._object = getelementptr inbounds %Ts10_ArrayBodyV, %Ts10_ArrayBodyV* %._slice9._base, i64 0, i32 0, i32 1
  %133 = bitcast %TSu* %._slice9._base._guts._object._object to %swift.bridge**
  store %swift.bridge* %113, %swift.bridge** %133, align 8
  store %Ts28__ContiguousArrayStorageBaseC* %130, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  br label %85

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

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

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

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

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsEyxSgSScfCSi_Tg5"(i64 %0, %swift.bridge* %1, %swift.type* swiftself %2) local_unnamed_addr #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %3 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  %4 = ptrtoint %swift.bridge* %1 to i64
  %5 = and i64 %4, 2305843009213693952
  %6 = icmp eq i64 %5, 0
  %7 = lshr i64 %4, 56
  %8 = and i64 %7, 15
  %9 = and i64 %0, 281474976710655
  %10 = select i1 %6, i64 %9, i64 %8
  %11 = icmp eq i64 %10, 0
  br i1 %11, label %12, label %13, !prof !7

12:                                               ; preds = %entry
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %1) #5
  br label %127

13:                                               ; preds = %entry
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %14 = and i64 %4, 1152921504606846976
  %15 = icmp eq i64 %14, 0
  br i1 %15, label %16, label %.thread, !prof !8

16:                                               ; preds = %13
  br i1 %6, label %17, label %20

.thread:                                          ; preds = %13
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %133

17:                                               ; preds = %16
  %18 = and i64 %0, 1152921504606846976
  %19 = icmp eq i64 %18, 0
  br i1 %19, label %109, label %113, !prof !7

20:                                               ; preds = %16
  %21 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %21)
  %22 = and i64 %4, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %3, i64 0, i32 0, i32 0
  store i64 %0, i64* %.elt._value, align 8
  %.elt1._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %3, i64 0, i32 1, i32 0
  store i64 %22, i64* %.elt1._value, align 8
  %23 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %3 to %Ts5UInt8V*
  %24 = trunc i64 %0 to i8
  %25 = lshr i64 %0, 8
  %26 = trunc i64 %25 to i8
  switch i8 %24, label %54 [
    i8 45, label %27
    i8 43, label %56
  ]

27:                                               ; preds = %20
  switch i64 %8, label %28 [
    i64 0, label %140
    i64 1, label %.thread126
  ], !prof !9

28:                                               ; preds = %27
  %29 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %8, i32 0
  %30 = add i8 %26, -48
  %31 = icmp ult i8 %30, 10
  br i1 %31, label %32, label %.thread126, !prof !10

32:                                               ; preds = %28
  %33 = zext i8 %30 to i64
  %34 = sub nsw i64 0, %33
  %35 = icmp eq i64 %8, 2
  br i1 %35, label %.thread126, label %.preheader88.preheader

.preheader88.preheader:                           ; preds = %32
  %36 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 2, i32 0
  br label %.preheader88

.preheader88:                                     ; preds = %.preheader88.preheader, %50
  %37 = phi i8* [ %52, %50 ], [ %36, %.preheader88.preheader ]
  %38 = phi i64 [ %51, %50 ], [ %34, %.preheader88.preheader ]
  %39 = load i8, i8* %37, align 1
  %40 = add i8 %39, -48
  %41 = icmp ult i8 %40, 10
  br i1 %41, label %42, label %.loopexit, !prof !10

42:                                               ; preds = %.preheader88
  %43 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %38, i64 10)
  %44 = extractvalue { i64, i1 } %43, 1
  br i1 %44, label %.loopexit, label %45

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

50:                                               ; preds = %45
  %51 = extractvalue { i64, i1 } %48, 0
  %52 = getelementptr inbounds i8, i8* %37, i64 1
  %53 = icmp eq i8* %52, %29
  br i1 %53, label %.loopexit133.split.loop.exit154, label %.preheader88

54:                                               ; preds = %20
  %55 = icmp eq i64 %8, 0
  br i1 %55, label %.thread126, label %82, !prof !7

56:                                               ; preds = %20
  switch i64 %8, label %57 [
    i64 0, label %139
    i64 1, label %.thread126
  ], !prof !9

57:                                               ; preds = %56
  %58 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %8, i32 0
  %59 = add i8 %26, -48
  %60 = icmp ult i8 %59, 10
  br i1 %60, label %61, label %.thread126, !prof !10

61:                                               ; preds = %57
  %62 = zext i8 %59 to i64
  %63 = icmp eq i64 %8, 2
  br i1 %63, label %.thread126, label %.preheader91.preheader

.preheader91.preheader:                           ; preds = %61
  %64 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 2, i32 0
  br label %.preheader91

.preheader91:                                     ; preds = %.preheader91.preheader, %78
  %65 = phi i8* [ %80, %78 ], [ %64, %.preheader91.preheader ]
  %66 = phi i64 [ %79, %78 ], [ %62, %.preheader91.preheader ]
  %67 = load i8, i8* %65, align 1
  %68 = add i8 %67, -48
  %69 = icmp ult i8 %68, 10
  br i1 %69, label %70, label %.loopexit, !prof !10

70:                                               ; preds = %.preheader91
  %71 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %66, i64 10)
  %72 = extractvalue { i64, i1 } %71, 1
  br i1 %72, label %.loopexit, label %73

73:                                               ; preds = %70
  %74 = extractvalue { i64, i1 } %71, 0
  %75 = zext i8 %68 to i64
  %76 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %74, i64 %75)
  %77 = extractvalue { i64, i1 } %76, 1
  br i1 %77, label %.loopexit, label %78, !prof !7

78:                                               ; preds = %73
  %79 = extractvalue { i64, i1 } %76, 0
  %80 = getelementptr inbounds i8, i8* %65, i64 1
  %81 = icmp eq i8* %80, %58
  br i1 %81, label %.loopexit136.split.loop.exit145, label %.preheader91

82:                                               ; preds = %54
  %83 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 %8, i32 0
  %84 = icmp eq i8* %83, %21
  br i1 %84, label %.thread126, label %85

85:                                               ; preds = %82
  %86 = add i8 %24, -48
  %87 = icmp ult i8 %86, 10
  br i1 %87, label %88, label %.thread126, !prof !10

88:                                               ; preds = %85
  %89 = zext i8 %86 to i64
  %90 = icmp eq i64 %8, 1
  br i1 %90, label %.thread126, label %.preheader.preheader

.preheader.preheader:                             ; preds = %88
  %91 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %23, i64 1, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %105
  %92 = phi i8* [ %107, %105 ], [ %91, %.preheader.preheader ]
  %93 = phi i64 [ %106, %105 ], [ %89, %.preheader.preheader ]
  %94 = load i8, i8* %92, align 1
  %95 = add i8 %94, -48
  %96 = icmp ult i8 %95, 10
  br i1 %96, label %97, label %.loopexit, !prof !10

97:                                               ; preds = %.preheader
  %98 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %93, i64 10)
  %99 = extractvalue { i64, i1 } %98, 1
  br i1 %99, label %.loopexit, label %100

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

105:                                              ; preds = %100
  %106 = extractvalue { i64, i1 } %103, 0
  %107 = getelementptr inbounds i8, i8* %92, i64 1
  %108 = icmp eq i8* %107, %83
  br i1 %108, label %.loopexit.split.loop.exit164, label %.preheader

109:                                              ; preds = %17
  %110 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %0, %swift.bridge* %1)
  %111 = extractvalue { i64, i64 } %110, 0
  %112 = extractvalue { i64, i64 } %110, 1
  br label %.thread121

113:                                              ; preds = %17
  %114 = and i64 %4, 1152921504606846975
  %115 = add nuw nsw i64 %114, 32
  br label %.thread121

.thread121:                                       ; preds = %113, %109
  %116 = phi i64 [ %115, %113 ], [ %111, %109 ]
  %117 = phi i64 [ %9, %113 ], [ %112, %109 ]
  %118 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %116, i64 %117, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %119 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not = icmp eq %swift.error* %119, null
  tail call void @llvm.assume(i1 %.not)
  %120 = extractvalue { i64, i8 } %118, 1
  %121 = and i8 %120, 1
  %122 = icmp ne i8 %121, 0
  %123 = extractvalue { i64, i8 } %118, 0
  %.sroa.6.0.sroa_cast115 = bitcast i8* %.sroa.6 to i1*
  store i1 %122, i1* %.sroa.6.0.sroa_cast115, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre123 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %132

.thread126:                                       ; preds = %27, %32, %28, %56, %61, %57, %54, %88, %82, %85
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %85 ], [ false, %82 ], [ false, %88 ], [ true, %54 ], [ true, %57 ], [ false, %61 ], [ true, %56 ], [ true, %28 ], [ false, %32 ], [ true, %27 ]
  %.sroa.0.0.ph = phi i64 [ 0, %85 ], [ 0, %82 ], [ %89, %88 ], [ 0, %54 ], [ 0, %57 ], [ %62, %61 ], [ 0, %56 ], [ 0, %28 ], [ %34, %32 ], [ 0, %27 ]
  %.sroa.6.0.sroa_cast129 = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph, i1* %.sroa.6.0.sroa_cast129, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %21)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre130 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %132

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

.loopexit133.split.loop.exit154:                  ; preds = %50
  %125 = extractvalue { i64, i1 } %48, 0
  br label %.loopexit

.loopexit136.split.loop.exit145:                  ; preds = %78
  %126 = extractvalue { i64, i1 } %76, 0
  br label %.loopexit

.loopexit:                                        ; preds = %73, %70, %.preheader91, %45, %42, %.preheader88, %100, %97, %.preheader, %.loopexit136.split.loop.exit145, %.loopexit133.split.loop.exit154, %.loopexit.split.loop.exit164
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit.split.loop.exit164 ], [ false, %.loopexit133.split.loop.exit154 ], [ false, %.loopexit136.split.loop.exit145 ], [ true, %.preheader ], [ true, %97 ], [ true, %100 ], [ true, %.preheader88 ], [ true, %42 ], [ true, %45 ], [ true, %.preheader91 ], [ true, %70 ], [ true, %73 ]
  %.sroa.0.0 = phi i64 [ %124, %.loopexit.split.loop.exit164 ], [ %125, %.loopexit133.split.loop.exit154 ], [ %126, %.loopexit136.split.loop.exit145 ], [ 0, %.preheader ], [ 0, %97 ], [ 0, %100 ], [ 0, %.preheader88 ], [ 0, %42 ], [ 0, %45 ], [ 0, %.preheader91 ], [ 0, %70 ], [ 0, %73 ]
  %.sroa.6.0.sroa_cast = bitcast i8* %.sroa.6 to i1*
  store i1 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., i1* %.sroa.6.0.sroa_cast, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %21)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br i1 %15, label %132, label %133

127:                                              ; preds = %137, %12
  %128 = phi i64 [ 0, %12 ], [ %., %137 ]
  %129 = phi i8 [ 1, %12 ], [ %.in, %137 ]
  %130 = insertvalue { i64, i8 } undef, i64 %128, 0
  %131 = insertvalue { i64, i8 } %130, i8 %129, 1
  ret { i64, i8 } %131

132:                                              ; preds = %.thread126, %.thread121, %.loopexit
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre125 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre123, %.thread121 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre130, %.thread126 ]
  %.sroa.042.0124 = phi i64 [ %123, %.thread121 ], [ %.sroa.0.0, %.loopexit ], [ %.sroa.0.0.ph, %.thread126 ]
  call void @swift_bridgeObjectRelease(%swift.bridge* %1) #5
  br label %137

133:                                              ; preds = %.thread, %.loopexit
  %134 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %0, %swift.bridge* %1, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %1) #5
  %135 = extractvalue { i64, i8 } %134, 0
  %136 = extractvalue { i64, i8 } %134, 1
  br label %137

137:                                              ; preds = %132, %133
  %138 = phi i64 [ %135, %133 ], [ %.sroa.042.0124, %132 ]
  %.in.in = phi i8 [ %136, %133 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre125, %132 ]
  %.in = and i8 %.in.in, 1
  %.not68 = icmp eq i8 %.in, 0
  %. = select i1 %.not68, i64 %138, i64 0
  br label %127

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

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

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

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

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

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

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

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

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

9:                                                ; preds = %entry, %5
  ret void
}

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

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

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

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

14:                                               ; preds = %entry
  %15 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %9, %swift.bridge* %10)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %10) #5
  %16 = extractvalue { i64, %swift.bridge* } %15, 0
  %17 = extractvalue { i64, %swift.bridge* } %15, 1
  %.pre = ptrtoint %swift.bridge* %17 to i64
  br label %18

18:                                               ; preds = %entry, %14
  %.pre-phi = phi i64 [ %11, %entry ], [ %.pre, %14 ]
  %19 = phi i64 [ %9, %entry ], [ %16, %14 ]
  %20 = phi %swift.bridge* [ %10, %entry ], [ %17, %14 ]
  %21 = and i64 %.pre-phi, 2305843009213693952
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %26

23:                                               ; preds = %18
  %24 = and i64 %19, 1152921504606846976
  %25 = icmp eq i64 %24, 0
  br i1 %25, label %34, label %38, !prof !7

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

34:                                               ; preds = %23
  %35 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %36 = extractvalue { i64, i64 } %35, 0
  %37 = extractvalue { i64, i64 } %35, 1
  br label %42

38:                                               ; preds = %23
  %39 = and i64 %.pre-phi, 1152921504606846975
  %40 = add nuw nsw i64 %39, 32
  %41 = and i64 %19, 281474976710655
  br label %42

42:                                               ; preds = %34, %38
  %43 = phi i64 [ %40, %38 ], [ %36, %34 ]
  %44 = phi i64 [ %41, %38 ], [ %37, %34 ]
  %45 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %43, i64 %44, i64 %2, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %46 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not7 = icmp eq %swift.error* %46, null
  tail call void @llvm.assume(i1 %.not7)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #5
  br label %47

47:                                               ; preds = %42, %26
  %.pn = phi { i64, i8 } [ %32, %26 ], [ %45, %42 ]
  %.in.in = extractvalue { i64, i8 } %.pn, 1
  %.in = and i8 %.in.in, 1
  %48 = insertvalue { i64, i8 } %.pn, i8 %.in, 1
  ret { i64, i8 } %48
}

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

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

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

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

.loopexit76.loopexit.split.loop.exit:             ; preds = %139
  %26 = extractvalue { i64, i1 } %137, 0
  br label %.loopexit76

.loopexit76.loopexit99.split.loop.exit:           ; preds = %53
  %27 = extractvalue { i64, i1 } %51, 0
  br label %.loopexit76

.loopexit76.loopexit102.split.loop.exit:          ; preds = %102
  %28 = extractvalue { i64, i1 } %100, 0
  br label %.loopexit76

.loopexit76:                                      ; preds = %96, %93, %106, %47, %44, %57, %133, %130, %143, %.loopexit76.loopexit102.split.loop.exit, %.loopexit76.loopexit99.split.loop.exit, %.loopexit76.loopexit.split.loop.exit, %119, %109, %69, %80, %71, %62, %31, %17, %10
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i8 [ 1, %10 ], [ 0, %17 ], [ 0, %31 ], [ 1, %62 ], [ 0, %71 ], [ 0, %80 ], [ 1, %69 ], [ 0, %109 ], [ 0, %119 ], [ 0, %.loopexit76.loopexit.split.loop.exit ], [ 0, %.loopexit76.loopexit99.split.loop.exit ], [ 0, %.loopexit76.loopexit102.split.loop.exit ], [ 1, %143 ], [ 1, %130 ], [ 1, %133 ], [ 1, %57 ], [ 1, %44 ], [ 1, %47 ], [ 1, %106 ], [ 1, %93 ], [ 1, %96 ]
  %.sroa.0.0 = phi i64 [ 0, %10 ], [ 0, %17 ], [ 0, %31 ], [ 0, %62 ], [ 0, %71 ], [ 0, %80 ], [ 0, %69 ], [ 0, %109 ], [ 0, %119 ], [ %26, %.loopexit76.loopexit.split.loop.exit ], [ %27, %.loopexit76.loopexit99.split.loop.exit ], [ %28, %.loopexit76.loopexit102.split.loop.exit ], [ 0, %143 ], [ 0, %130 ], [ 0, %133 ], [ 0, %57 ], [ 0, %44 ], [ 0, %47 ], [ 0, %106 ], [ 0, %93 ], [ 0, %96 ]
  %29 = insertvalue { i64, i8 } undef, i64 %.sroa.0.0, 0
  %30 = insertvalue { i64, i8 } %29, i8 %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8., 1
  ret { i64, i8 } %30

31:                                               ; preds = %17
  %32 = inttoptr i64 %14 to %Ts5UInt8V*
  %33 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %32, i64 %15, i32 0
  %34 = inttoptr i64 %14 to i8*
  %35 = icmp eq i8* %33, %34
  br i1 %35, label %.loopexit76, label %.preheader75

.preheader75:                                     ; preds = %31, %53
  %36 = phi i8* [ %55, %53 ], [ %34, %31 ]
  %37 = phi i64 [ %54, %53 ], [ 0, %31 ]
  %38 = load i8, i8* %36, align 1
  %39 = icmp ugt i8 %38, 47
  %40 = icmp ult i8 %38, %25
  %or.cond = select i1 %39, i1 %40, i1 false
  br i1 %or.cond, label %44, label %41, !prof !10

41:                                               ; preds = %.preheader75
  %42 = icmp ugt i8 %38, 64
  %43 = icmp ult i8 %38, %24
  %or.cond7 = select i1 %42, i1 %43, i1 false
  br i1 %or.cond7, label %44, label %57, !prof !10

44:                                               ; preds = %.preheader75, %57, %41
  %.sink = phi i8 [ -55, %41 ], [ -87, %57 ], [ -48, %.preheader75 ]
  %45 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %37, i64 %2)
  %46 = extractvalue { i64, i1 } %45, 1
  br i1 %46, label %.loopexit76, label %47

47:                                               ; preds = %44
  %48 = add i8 %38, %.sink
  %49 = extractvalue { i64, i1 } %45, 0
  %50 = zext i8 %48 to i64
  %51 = tail call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %49, i64 %50)
  %52 = extractvalue { i64, i1 } %51, 1
  br i1 %52, label %.loopexit76, label %53, !prof !7

53:                                               ; preds = %47
  %54 = extractvalue { i64, i1 } %51, 0
  %55 = getelementptr inbounds i8, i8* %36, i64 1
  %56 = icmp eq i8* %55, %33
  br i1 %56, label %.loopexit76.loopexit99.split.loop.exit, label %.preheader75

57:                                               ; preds = %41
  %58 = icmp ugt i8 %38, 96
  %59 = icmp ult i8 %38, %23
  %or.cond8 = select i1 %58, i1 %59, i1 false
  br i1 %or.cond8, label %44, label %.loopexit76, !prof !10

60:                                               ; preds = %entry
  %61 = icmp slt i64 %1, 1
  br i1 %61, label %146, label %62, !prof !7

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

69:                                               ; preds = %entry
  %70 = icmp eq i64 %1, 0
  br i1 %70, label %.loopexit76, label %109, !prof !7

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

80:                                               ; preds = %71
  %81 = inttoptr i64 %66 to %Ts5UInt8V*
  %82 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %81, i64 %67, i32 0
  %83 = inttoptr i64 %66 to i8*
  %84 = icmp eq i8* %82, %83
  br i1 %84, label %.loopexit76, label %.preheader77

.preheader77:                                     ; preds = %80, %102
  %85 = phi i8* [ %104, %102 ], [ %83, %80 ]
  %86 = phi i64 [ %103, %102 ], [ 0, %80 ]
  %87 = load i8, i8* %85, align 1
  %88 = icmp ugt i8 %87, 47
  %89 = icmp ult i8 %87, %79
  %or.cond9 = select i1 %88, i1 %89, i1 false
  br i1 %or.cond9, label %93, label %90, !prof !10

90:                                               ; preds = %.preheader77
  %91 = icmp ugt i8 %87, 64
  %92 = icmp ult i8 %87, %78
  %or.cond10 = select i1 %91, i1 %92, i1 false
  br i1 %or.cond10, label %93, label %106, !prof !10

93:                                               ; preds = %.preheader77, %106, %90
  %.sink134 = phi i8 [ -55, %90 ], [ -87, %106 ], [ -48, %.preheader77 ]
  %94 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %86, i64 %2)
  %95 = extractvalue { i64, i1 } %94, 1
  br i1 %95, label %.loopexit76, label %96

96:                                               ; preds = %93
  %97 = add i8 %87, %.sink134
  %98 = extractvalue { i64, i1 } %94, 0
  %99 = zext i8 %97 to i64
  %100 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %98, i64 %99)
  %101 = extractvalue { i64, i1 } %100, 1
  br i1 %101, label %.loopexit76, label %102, !prof !7

102:                                              ; preds = %96
  %103 = extractvalue { i64, i1 } %100, 0
  %104 = getelementptr inbounds i8, i8* %85, i64 1
  %105 = icmp eq i8* %104, %82
  br i1 %105, label %.loopexit76.loopexit102.split.loop.exit, label %.preheader77

106:                                              ; preds = %90
  %107 = icmp ugt i8 %87, 96
  %108 = icmp ult i8 %87, %77
  %or.cond11 = select i1 %107, i1 %108, i1 false
  br i1 %or.cond11, label %93, label %.loopexit76, !prof !10

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

119:                                              ; preds = %109
  %120 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %6, i64 %1, i32 0
  %121 = icmp eq i8* %120, %5
  br i1 %121, label %.loopexit76, label %.preheader

.preheader:                                       ; preds = %119, %139
  %122 = phi i8* [ %141, %139 ], [ %5, %119 ]
  %123 = phi i64 [ %140, %139 ], [ 0, %119 ]
  %124 = load i8, i8* %122, align 1
  %125 = icmp ugt i8 %124, 47
  %126 = icmp ult i8 %124, %117
  %or.cond12 = select i1 %125, i1 %126, i1 false
  br i1 %or.cond12, label %130, label %127, !prof !10

127:                                              ; preds = %.preheader
  %128 = icmp ugt i8 %124, 64
  %129 = icmp ult i8 %124, %116
  %or.cond13 = select i1 %128, i1 %129, i1 false
  br i1 %or.cond13, label %130, label %143, !prof !10

130:                                              ; preds = %.preheader, %143, %127
  %.sink135 = phi i8 [ -55, %127 ], [ -87, %143 ], [ -48, %.preheader ]
  %131 = tail call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %123, i64 %2)
  %132 = extractvalue { i64, i1 } %131, 1
  br i1 %132, label %.loopexit76, label %133

133:                                              ; preds = %130
  %134 = add i8 %124, %.sink135
  %135 = extractvalue { i64, i1 } %131, 0
  %136 = zext i8 %134 to i64
  %137 = tail call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %135, i64 %136)
  %138 = extractvalue { i64, i1 } %137, 1
  br i1 %138, label %.loopexit76, label %139, !prof !7

139:                                              ; preds = %133
  %140 = extractvalue { i64, i1 } %137, 0
  %141 = getelementptr inbounds i8, i8* %122, i64 1
  %142 = icmp eq i8* %141, %120
  br i1 %142, label %.loopexit76.loopexit.split.loop.exit, label %.preheader

143:                                              ; preds = %127
  %144 = icmp ugt i8 %124, 96
  %145 = icmp ult i8 %124, %115
  %or.cond14 = select i1 %144, i1 %145, i1 false
  br i1 %or.cond14, label %130, label %.loopexit76, !prof !10

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingyS2SFZ"(i64 %0, %swift.bridge* %1) local_unnamed_addr #3 {
entry:
  %2 = tail call swiftcc { i64, i64, i64, %swift.bridge* } @"$sSlsEy11SubSequenceQzys15UnboundedRange_OXEcigSS_Tgq5"(i8* nonnull bitcast (void ()* @"$sSS8_copyingyS2SFZys15UnboundedRange_Ocfu_" to i8*), %swift.opaque* null, i64 %0, %swift.bridge* %1)
  %3 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 0
  %4 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 1
  %5 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 2
  %6 = extractvalue { i64, i64, i64, %swift.bridge* } %2, 3
  %7 = tail call swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %3, i64 %4, i64 %5, %swift.bridge* %6)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %6) #5
  ret { i64, %swift.bridge* } %7
}

; Function Attrs: minsize optsize
define linkonce_odr hidden swiftcc void @"$sSS8_copyingyS2SFZys15UnboundedRange_Ocfu_"() #0 {
entry:
  unreachable
}

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc { i64, %swift.bridge* } @"$sSS8_copyingySSSsFZ"(i64 %0, i64 %1, i64 %2, %swift.bridge* %3) local_unnamed_addr #3 {
entry:
  %4 = alloca %Ts16IndexingIteratorVySs8UTF8ViewVG, align 8
  %5 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %6 = ptrtoint %swift.bridge* %3 to i64
  %7 = and i64 %6, 1152921504606846976
  %8 = icmp eq i64 %7, 0
  br i1 %8, label %27, label %9, !prof !8

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc i64 @"$ss11_StringGutsV27_slowEnsureMatchingEncodingySS5IndexVAEF"(i64 %0, i64 %1, %swift.bridge* %2) local_unnamed_addr #3 {
entry:
  %3 = ptrtoint %swift.bridge* %2 to i64
  %4 = and i64 %3, 1152921504606846976
  %5 = icmp ne i64 %4, 0
  %6 = and i64 %1, 576460752303423488
  %7 = icmp eq i64 %6, 0
  %or.cond = select i1 %5, i1 %7, i1 false
  %8 = lshr i64 %0, 16
  %9 = lshr i64 %0, 14
  %10 = and i64 %9, 3
  %11 = icmp eq i64 %10, 0
  br i1 %or.cond, label %12, label %25

12:                                               ; preds = %entry
  %13 = tail call swiftcc i64 @"$sSS8UTF8ViewV13_foreignIndex_8offsetBySS0D0VAF_SitF"(i64 15, i64 %8, i64 %1, %swift.bridge* %2)
  br i1 %11, label %18, label %14

14:                                               ; preds = %12
  %15 = shl nuw nsw i64 %10, 16
  %16 = add i64 %13, %15
  %17 = and i64 %16, -65536
  br label %22

18:                                               ; preds = %12
  %19 = and i64 %13, -4
  %20 = and i64 %0, 3
  %21 = or i64 %19, %20
  br label %22

22:                                               ; preds = %18, %14
  %23 = phi i64 [ %17, %14 ], [ %21, %18 ]
  %24 = or i64 %23, 8
  br label %38

25:                                               ; preds = %entry
  %26 = tail call swiftcc i64 @"$sSS9UTF16ViewV5index_8offsetBySS5IndexVAF_SitF"(i64 15, i64 %8, i64 %1, %swift.bridge* %2)
  br i1 %11, label %31, label %27

27:                                               ; preds = %25
  %28 = shl nuw nsw i64 %10, 16
  %29 = add i64 %26, %28
  %30 = and i64 %29, -65536
  br label %35

31:                                               ; preds = %25
  %32 = and i64 %26, -4
  %33 = and i64 %0, 3
  %34 = or i64 %32, %33
  br label %35

35:                                               ; preds = %31, %27
  %36 = phi i64 [ %30, %27 ], [ %34, %31 ]
  %37 = or i64 %36, 4
  br label %38

38:                                               ; preds = %22, %35
  %39 = phi i64 [ %37, %35 ], [ %24, %22 ]
  ret i64 %39
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, %swift.bridge* } @"$sSS14_fromSubstringySSSshFZ"(i64, 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 %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned) local_unnamed_addr #5

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

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

; Function Attrs: nounwind
declare void @swift_release(%swift.refcounted*) 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 { i64, %swift.bridge* } @"$sSSySJSS5IndexVcig"(i64, i64, %swift.bridge*) local_unnamed_addr #0

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline nounwind optsize
define linkonce_odr hidden void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOy"(i64 %0, i64 %1, i8 %2) local_unnamed_addr #7 {
entry:
  %.not = icmp eq i8 %2, 2
  br i1 %.not, label %3, label %7

3:                                                ; preds = %entry
  %4 = inttoptr i64 %0 to %Ts28__ContiguousArrayStorageBaseC*
  %5 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %4, i64 0, i32 0
  %6 = tail call %swift.refcounted* @swift_retain(%swift.refcounted* returned %5) #15
  br label %7

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

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

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

; Function Attrs: minsize noinline nounwind optsize
define linkonce_odr hidden void @"$s10Foundation9IndexPathV7Storage33_99E5384770E52278DCADDB8A2FD5C86ELLOWOe"(i64 %0, i64 %1, i8 %2) local_unnamed_addr #7 {
entry:
  %.not = icmp eq i8 %2, 2
  br i1 %.not, label %3, label %6

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

6:                                                ; preds = %3, %entry
  ret void
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind willreturn
declare void @swift_arrayInitWithCopy(%swift.opaque*, %swift.opaque*, i64, %swift.type*) local_unnamed_addr #6

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

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

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

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

; Function Attrs: minsize optsize
declare swiftcc { i64, %swift.bridge* } @"$sSSySSxcs25LosslessStringConvertibleRzSTRzSJ7ElementSTRtzlufC"(%swift.opaque* noalias nocapture, %swift.type*, i8**, i8**) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

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

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 = { mustprogress nounwind willreturn }
attributes #7 = { minsize noinline nounwind optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { argmemonly nounwind }
attributes #10 = { argmemonly mustprogress nocallback nofree nounwind willreturn }
attributes #11 = { minsize nounwind optsize "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #12 = { 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 #13 = { inaccessiblememonly nocallback nofree nosync nounwind willreturn }
attributes #14 = { nocallback nofree nosync nounwind readnone speculatable willreturn }
attributes #15 = { nounwind willreturn }
attributes #16 = { nounwind readonly }
attributes #17 = { nounwind optsize }
attributes #18 = { argmemonly nounwind readonly }

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

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