import Foundation
let mod = Int(1e9)+7

let k = Array(readLine()!)
let d = Int(readLine()!)!

var dp = [[[Int]]](repeating: [[Int]](repeating: [Int](repeating: -1,
                                                       count: 2),
                                      count: 10010),
                   count: 110)




func dfs(_ cs: Int, _ pos: Int, _ isOnUpper: Bool) -> Int {
    if pos == k.count {
        return cs == 0 ? 1 : 0
    }
    let upperBound = isOnUpper ? Int("\(k[pos])")! : 9
    guard dp[cs][pos][isOnUpper ? 0 : 1] == -1 else {
        return dp[cs][pos][isOnUpper ? 0 : 1]
    }
    
    var res = 0
    for i in stride(from: 0, through: upperBound, by: 1) {
        res += dfs((cs+i)%d, pos+1, isOnUpper && i == upperBound)
        if res >= mod {
            res -= mod
        }
    }
    
    dp[cs][pos][isOnUpper ? 0 : 1] = res
    return res
}

let res = dfs(0,0, true)-1
print(res < 0 ? mod + res : res)
//print(brute(String(k), d))

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

%TSi = type <{ i64 }>
%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 }>
%TSu = type <{ i64 }>
%struct._SwiftEmptyArrayStorage = type { %struct.HeapObject, %struct._SwiftArrayBodyStorage }
%struct.HeapObject = type { %struct.HeapMetadata*, %struct.InlineRefCountsPlaceholder }
%struct.HeapMetadata = type opaque
%struct.InlineRefCountsPlaceholder = type { i64 }
%struct._SwiftArrayBodyStorage = type { i64, i64 }
%swift.type_descriptor = type opaque
%Ts6UInt64V = type <{ i64 }>
%swift.error = type opaque
%swift.bridge = type opaque
%Ts5UInt8V = type <{ i8 }>
%Ts26DefaultStringInterpolationV = type <{ %TSS }>
%TSS = type <{ %Ts11_StringGutsV }>
%Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
%Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
%TSJ = type <{ %TSS }>
%swift.opaque = type opaque
%Ts16IndexingIteratorVySs8UTF8ViewVG = type <{ %TSs8UTF8ViewV, %TSS5IndexV }>
%TSs8UTF8ViewV = type <{ %Ts5SliceVySS8UTF8ViewVG }>
%Ts5SliceVySS8UTF8ViewVG = type <{ %TSS5IndexV, %TSS5IndexV, %TSS8UTF8ViewV }>
%TSS8UTF8ViewV = type <{ %Ts11_StringGutsV }>
%TSS5IndexV = type <{ %Ts6UInt64V }>
%TSS8IteratorV = type <{ %Ts11_StringGutsV, %TSi, %TSi }>

@"$s7llvm_OZ3modSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ1kSaySJGvp" = hidden local_unnamed_addr global %TSa zeroinitializer, align 8
@"$s7llvm_OZ1dSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@"$s7llvm_OZ2dpSaySaySaySiGGGvp" = hidden global %TSa zeroinitializer, align 8
@"$s7llvm_OZ3resSivp" = hidden local_unnamed_addr global %TSi zeroinitializer, align 8
@_swiftEmptyArrayStorage = external global %struct._SwiftEmptyArrayStorage, align 8
@"$sSiN" = external global %swift.type, align 8
@"symbolic SaySiG" = linkonce_odr hidden constant <{ [6 x i8], i8 }> <{ [6 x i8] c"SaySiG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySiGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [6 x i8], i8 }>* @"symbolic SaySiG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySiGMD" to i64)) to i32), i32 -6 }, align 8
@"symbolic SaySaySiGG" = linkonce_odr hidden constant <{ [10 x i8], i8 }> <{ [10 x i8] c"SaySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$sSaySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [10 x i8], i8 }>* @"symbolic SaySaySiGG" to i64), i64 ptrtoint ({ i32, i32 }* @"$sSaySaySiGGMD" to i64)) to i32), i32 -10 }, align 8
@"$ss23_ContiguousArrayStorageCMn" = external global %swift.type_descriptor, align 4
@"got.$ss23_ContiguousArrayStorageCMn" = private unnamed_addr constant %swift.type_descriptor* @"$ss23_ContiguousArrayStorageCMn"
@"symbolic _____yypG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"yypG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCyypGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____yypG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCyypGMD" to i64)) to i32), i32 -9 }, align 8
@"$ss26DefaultStringInterpolationVN" = external global %swift.type, align 8
@"$ss26DefaultStringInterpolationVs16TextOutputStreamsWP" = external global i8*, 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 _____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 _____ySaySiGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [8 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, [8 x i8], i8 }>, <{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [8 x i8] c"ySaySiGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySiGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [8 x i8], i8 }>* @"symbolic _____ySaySiGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD" to i64)) to i32), i32 -13 }, align 8
@"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [12 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, [12 x i8], i8 }>, <{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [12 x i8] c"ySaySaySiGGG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySaySaySiGGGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [12 x i8], i8 }>* @"symbolic _____ySaySaySiGGG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySaySiGGGMD" to i64)) to i32), i32 -17 }, 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 _____ySJG s23_ContiguousArrayStorageC" = linkonce_odr hidden constant <{ i8, i32, [4 x i8], i8 }> <{ i8 2, i32 trunc (i64 sub (i64 ptrtoint (%swift.type_descriptor** @"got.$ss23_ContiguousArrayStorageCMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, [4 x i8], i8 }>, <{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySJG s23_ContiguousArrayStorageC", i32 0, i32 1) to i64)) to i32), [4 x i8] c"ySJG", i8 0 }>, section "swift5_typeref", no_sanitize_address, align 2
@"$ss23_ContiguousArrayStorageCySJGMD" = linkonce_odr hidden global { i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, [4 x i8], i8 }>* @"symbolic _____ySJG s23_ContiguousArrayStorageC" to i64), i64 ptrtoint ({ i32, i32 }* @"$ss23_ContiguousArrayStorageCySJGMD" to i64)) to i32), i32 -9 }, align 8
@__swift_reflection_version = linkonce_odr hidden constant i16 3
@_swift1_autolink_entries = private constant [172 x i8] c"-lFoundation\00-lswiftCore\00-lswift_StringProcessing\00-lswift_RegexParser\00-lswift_Concurrency\00-lswiftGlibc\00-lm\00-lpthread\00-lutil\00-ldl\00-lswiftDispatch\00-ldispatch\00-lBlocksRuntime\00", section ".swift1_autolink_entries", no_sanitize_address, align 8
@llvm.compiler.used = appending global [4 x i8*] [i8* bitcast ({ i32, i32 }* @"\01l_entry_point" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*), i8* getelementptr inbounds ([172 x i8], [172 x i8]* @_swift1_autolink_entries, i32 0, i32 0), i8* bitcast (i32 (i32, i8**)* @main to i8*)], section "llvm.metadata"

; Function Attrs: minsize optsize
define protected i32 @main(i32 %0, i8** nocapture readnone %1) #0 {
entry:
  %.sroa.6 = alloca i8, align 8
  %2 = alloca <{ %Ts6UInt64V, %Ts6UInt64V }>, align 8
  %swifterror = alloca swifterror %swift.error*, align 8
  store %swift.error* null, %swift.error** %swifterror, align 8
  store i64 1000000007, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ3modSivp", i64 0, i32 0), align 8
  %3 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %4 = extractvalue { i64, i64 } %3, 1
  %5 = icmp eq i64 %4, 0
  br i1 %5, label %219, label %6

6:                                                ; preds = %entry
  %7 = extractvalue { i64, i64 } %3, 0
  %8 = inttoptr i64 %4 to %swift.bridge*
  %9 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss32_copyCollectionToContiguousArrayys0dE0Vy7ElementQzGxSlRzlFSS_Tgq5"(i64 %7, %swift.bridge* nonnull %8)
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %8) #3
  store %Ts28__ContiguousArrayStorageBaseC* %9, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1kSaySJGvp", i64 0, i32 0, i32 0), align 8
  %10 = tail call swiftcc { i64, i64 } @"$ss8readLine16strippingNewlineSSSgSb_tF"(i1 true)
  %11 = extractvalue { i64, i64 } %10, 0
  %12 = extractvalue { i64, i64 } %10, 1
  %13 = icmp eq i64 %12, 0
  br i1 %13, label %220, label %14

14:                                               ; preds = %6
  %15 = inttoptr i64 %12 to %swift.bridge*
  %16 = and i64 %12, 2305843009213693952
  %17 = icmp eq i64 %16, 0
  %18 = lshr i64 %12, 56
  %19 = and i64 %18, 15
  %20 = and i64 %11, 281474976710655
  %21 = select i1 %17, i64 %20, i64 %19
  %22 = icmp eq i64 %21, 0
  br i1 %22, label %23, label %24, !prof !6

23:                                               ; preds = %14
  tail call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %15) #3
  br label %221

24:                                               ; preds = %14
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %25 = and i64 %12, 1152921504606846976
  %26 = icmp eq i64 %25, 0
  br i1 %26, label %27, label %.thread, !prof !7

27:                                               ; preds = %24
  br i1 %17, label %28, label %31

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

28:                                               ; preds = %27
  %29 = and i64 %11, 1152921504606846976
  %30 = icmp eq i64 %29, 0
  br i1 %30, label %40, label %44, !prof !6

31:                                               ; preds = %27
  %32 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %32)
  %33 = and i64 %12, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 0, i32 0
  store i64 %11, i64* %.elt._value, align 8
  %.elt11._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %2, i64 0, i32 1, i32 0
  store i64 %33, i64* %.elt11._value, align 8
  %34 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %2 to %Ts5UInt8V*
  %35 = trunc i64 %11 to i8
  %36 = lshr i64 %11, 8
  %37 = trunc i64 %36 to i8
  %38 = lshr i64 %11, 16
  %39 = trunc i64 %38 to i8
  switch i8 %35, label %100 [
    i8 45, label %65
    i8 43, label %102
  ]

40:                                               ; preds = %28
  %41 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %11, %swift.bridge* nonnull %15)
  %42 = extractvalue { i64, i64 } %41, 0
  %43 = extractvalue { i64, i64 } %41, 1
  br label %.thread148

44:                                               ; preds = %28
  %45 = and i64 %12, 1152921504606846975
  %46 = add nuw nsw i64 %45, 32
  br label %.thread148

.thread148:                                       ; preds = %44, %40
  %47 = phi i64 [ %46, %44 ], [ %42, %40 ]
  %48 = phi i64 [ %20, %44 ], [ %43, %40 ]
  %49 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %47, i64 %48, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %50 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not93 = icmp eq %swift.error* %50, null
  tail call void @llvm.assume(i1 %.not93)
  %51 = extractvalue { i64, i8 } %49, 1
  %52 = and i8 %51, 1
  %53 = icmp ne i8 %52, 0
  %54 = extractvalue { i64, i8 } %49, 0
  %.sroa.6.0.sroa_cast142 = bitcast i8* %.sroa.6 to i1*
  store i1 %53, i1* %.sroa.6.0.sroa_cast142, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre150 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %58

.thread153:                                       ; preds = %65, %102, %100
  %.sroa.6.0.sroa_cast156 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast156, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %32)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre157 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %58

.loopexit115.thread:                              ; preds = %139, %145, %136, %142, %148, %103, %110, %107, %113, %66, %74, %70, %77
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %139 ], [ true, %145 ], [ false, %136 ], [ false, %142 ], [ false, %148 ], [ true, %103 ], [ true, %110 ], [ false, %107 ], [ false, %113 ], [ true, %66 ], [ true, %74 ], [ false, %70 ], [ false, %77 ]
  %.sroa.0.0.ph = phi i64 [ 0, %139 ], [ 0, %145 ], [ 0, %136 ], [ %143, %142 ], [ %151, %148 ], [ 0, %103 ], [ 0, %110 ], [ %108, %107 ], [ %116, %113 ], [ 0, %66 ], [ 0, %74 ], [ %72, %70 ], [ %80, %77 ]
  %.sroa.6.0.sroa_cast160 = 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_cast160, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %32)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre161 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %58

.loopexit115.loopexit.split.loop.exit:            ; preds = %167
  %55 = extractvalue { i64, i1 } %165, 0
  br label %.loopexit115

.loopexit115.loopexit164.split.loop.exit:         ; preds = %96
  %56 = extractvalue { i64, i1 } %94, 0
  br label %.loopexit115

.loopexit115.loopexit167.split.loop.exit:         ; preds = %132
  %57 = extractvalue { i64, i1 } %130, 0
  br label %.loopexit115

.loopexit115:                                     ; preds = %.preheader116, %124, %127, %.preheader113, %88, %91, %.preheader, %159, %162, %.loopexit115.loopexit167.split.loop.exit, %.loopexit115.loopexit164.split.loop.exit, %.loopexit115.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit115.loopexit.split.loop.exit ], [ false, %.loopexit115.loopexit164.split.loop.exit ], [ false, %.loopexit115.loopexit167.split.loop.exit ], [ true, %162 ], [ true, %159 ], [ true, %.preheader ], [ true, %91 ], [ true, %88 ], [ true, %.preheader113 ], [ true, %127 ], [ true, %124 ], [ true, %.preheader116 ]
  %.sroa.0.0 = phi i64 [ %55, %.loopexit115.loopexit.split.loop.exit ], [ %56, %.loopexit115.loopexit164.split.loop.exit ], [ %57, %.loopexit115.loopexit167.split.loop.exit ], [ 0, %162 ], [ 0, %159 ], [ 0, %.preheader ], [ 0, %91 ], [ 0, %88 ], [ 0, %.preheader113 ], [ 0, %127 ], [ 0, %124 ], [ 0, %.preheader116 ]
  %.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 %32)
  %.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 %26, label %58, label %59

58:                                               ; preds = %.loopexit115.thread, %.thread153, %.thread148, %.loopexit115
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre152 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre150, %.thread148 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit115 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre157, %.thread153 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre161, %.loopexit115.thread ]
  %.sroa.058.0151 = phi i64 [ %54, %.thread148 ], [ %.sroa.0.0, %.loopexit115 ], [ 0, %.thread153 ], [ %.sroa.0.0.ph, %.loopexit115.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %15) #3
  br label %63

59:                                               ; preds = %.thread, %.loopexit115
  %60 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %11, %swift.bridge* nonnull %15, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* nonnull %15) #3
  %61 = extractvalue { i64, i8 } %60, 0
  %62 = extractvalue { i64, i8 } %60, 1
  br label %63

63:                                               ; preds = %58, %59
  %64 = phi i64 [ %61, %59 ], [ %.sroa.058.0151, %58 ]
  %.in.in = phi i8 [ %62, %59 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre152, %58 ]
  %.in = and i8 %.in.in, 1
  %.not = icmp eq i8 %.in, 0
  br i1 %.not, label %171, label %221

65:                                               ; preds = %31
  switch i64 %19, label %66 [
    i64 0, label %224
    i64 1, label %.thread153
  ], !prof !8

66:                                               ; preds = %65
  %67 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 %19, i32 0
  %68 = add i8 %37, -48
  %69 = icmp ult i8 %68, 10
  br i1 %69, label %70, label %.loopexit115.thread, !prof !9

70:                                               ; preds = %66
  %71 = zext i8 %68 to i64
  %72 = sub nsw i64 0, %71
  %73 = icmp eq i64 %19, 2
  br i1 %73, label %.loopexit115.thread, label %74

74:                                               ; preds = %70
  %75 = add i8 %39, -48
  %76 = icmp ult i8 %75, 10
  br i1 %76, label %77, label %.loopexit115.thread, !prof !9

77:                                               ; preds = %74
  %78 = mul nsw i64 %71, -10
  %79 = zext i8 %75 to i64
  %80 = sub nsw i64 %78, %79
  %81 = icmp eq i64 %19, 3
  br i1 %81, label %.loopexit115.thread, label %.preheader113.preheader

.preheader113.preheader:                          ; preds = %77
  %82 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 3, i32 0
  br label %.preheader113

.preheader113:                                    ; preds = %.preheader113.preheader, %96
  %83 = phi i8* [ %98, %96 ], [ %82, %.preheader113.preheader ]
  %84 = phi i64 [ %97, %96 ], [ %80, %.preheader113.preheader ]
  %85 = load i8, i8* %83, align 1
  %86 = add i8 %85, -48
  %87 = icmp ult i8 %86, 10
  br i1 %87, label %88, label %.loopexit115, !prof !9

88:                                               ; preds = %.preheader113
  %89 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %84, i64 10)
  %90 = extractvalue { i64, i1 } %89, 1
  br i1 %90, label %.loopexit115, label %91

91:                                               ; preds = %88
  %92 = extractvalue { i64, i1 } %89, 0
  %93 = zext i8 %86 to i64
  %94 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %92, i64 %93)
  %95 = extractvalue { i64, i1 } %94, 1
  br i1 %95, label %.loopexit115, label %96, !prof !6

96:                                               ; preds = %91
  %97 = extractvalue { i64, i1 } %94, 0
  %98 = getelementptr inbounds i8, i8* %83, i64 1
  %99 = icmp eq i8* %98, %67
  br i1 %99, label %.loopexit115.loopexit164.split.loop.exit, label %.preheader113

100:                                              ; preds = %31
  %101 = icmp eq i64 %19, 0
  br i1 %101, label %.thread153, label %136, !prof !6

102:                                              ; preds = %31
  switch i64 %19, label %103 [
    i64 0, label %223
    i64 1, label %.thread153
  ], !prof !8

103:                                              ; preds = %102
  %104 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 %19, i32 0
  %105 = add i8 %37, -48
  %106 = icmp ult i8 %105, 10
  br i1 %106, label %107, label %.loopexit115.thread, !prof !9

107:                                              ; preds = %103
  %108 = zext i8 %105 to i64
  %109 = icmp eq i64 %19, 2
  br i1 %109, label %.loopexit115.thread, label %110

110:                                              ; preds = %107
  %111 = add i8 %39, -48
  %112 = icmp ult i8 %111, 10
  br i1 %112, label %113, label %.loopexit115.thread, !prof !9

113:                                              ; preds = %110
  %114 = mul nuw nsw i64 %108, 10
  %115 = zext i8 %111 to i64
  %116 = add nuw nsw i64 %114, %115
  %117 = icmp eq i64 %19, 3
  br i1 %117, label %.loopexit115.thread, label %.preheader116.preheader

.preheader116.preheader:                          ; preds = %113
  %118 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 3, i32 0
  br label %.preheader116

.preheader116:                                    ; preds = %.preheader116.preheader, %132
  %119 = phi i8* [ %134, %132 ], [ %118, %.preheader116.preheader ]
  %120 = phi i64 [ %133, %132 ], [ %116, %.preheader116.preheader ]
  %121 = load i8, i8* %119, align 1
  %122 = add i8 %121, -48
  %123 = icmp ult i8 %122, 10
  br i1 %123, label %124, label %.loopexit115, !prof !9

124:                                              ; preds = %.preheader116
  %125 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %120, i64 10)
  %126 = extractvalue { i64, i1 } %125, 1
  br i1 %126, label %.loopexit115, label %127

127:                                              ; preds = %124
  %128 = extractvalue { i64, i1 } %125, 0
  %129 = zext i8 %122 to i64
  %130 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %128, i64 %129)
  %131 = extractvalue { i64, i1 } %130, 1
  br i1 %131, label %.loopexit115, label %132, !prof !6

132:                                              ; preds = %127
  %133 = extractvalue { i64, i1 } %130, 0
  %134 = getelementptr inbounds i8, i8* %119, i64 1
  %135 = icmp eq i8* %134, %104
  br i1 %135, label %.loopexit115.loopexit167.split.loop.exit, label %.preheader116

136:                                              ; preds = %100
  %137 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 %19, i32 0
  %138 = icmp eq i8* %137, %32
  br i1 %138, label %.loopexit115.thread, label %139

139:                                              ; preds = %136
  %140 = add i8 %35, -48
  %141 = icmp ult i8 %140, 10
  br i1 %141, label %142, label %.loopexit115.thread, !prof !9

142:                                              ; preds = %139
  %143 = zext i8 %140 to i64
  %144 = icmp eq i64 %19, 1
  br i1 %144, label %.loopexit115.thread, label %145

145:                                              ; preds = %142
  %146 = add i8 %37, -48
  %147 = icmp ult i8 %146, 10
  br i1 %147, label %148, label %.loopexit115.thread, !prof !9

148:                                              ; preds = %145
  %149 = mul nuw nsw i64 %143, 10
  %150 = zext i8 %146 to i64
  %151 = add nuw nsw i64 %149, %150
  %152 = icmp eq i64 %19, 2
  br i1 %152, label %.loopexit115.thread, label %.preheader.preheader

.preheader.preheader:                             ; preds = %148
  %153 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %34, i64 2, i32 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %167
  %154 = phi i8* [ %169, %167 ], [ %153, %.preheader.preheader ]
  %155 = phi i64 [ %168, %167 ], [ %151, %.preheader.preheader ]
  %156 = load i8, i8* %154, align 1
  %157 = add i8 %156, -48
  %158 = icmp ult i8 %157, 10
  br i1 %158, label %159, label %.loopexit115, !prof !9

159:                                              ; preds = %.preheader
  %160 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %155, i64 10)
  %161 = extractvalue { i64, i1 } %160, 1
  br i1 %161, label %.loopexit115, label %162

162:                                              ; preds = %159
  %163 = extractvalue { i64, i1 } %160, 0
  %164 = zext i8 %157 to i64
  %165 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %163, i64 %164)
  %166 = extractvalue { i64, i1 } %165, 1
  br i1 %166, label %.loopexit115, label %167, !prof !6

167:                                              ; preds = %162
  %168 = extractvalue { i64, i1 } %165, 0
  %169 = getelementptr inbounds i8, i8* %154, i64 1
  %170 = icmp eq i8* %169, %137
  br i1 %170, label %.loopexit115.loopexit.split.loop.exit, label %.preheader

171:                                              ; preds = %63
  store i64 %64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1dSivp", i64 0, i32 0), align 8
  %172 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 2, %swift.type* nonnull @"$sSiN")
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %172, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 2, i64* %._storage.count._value, align 8
  %173 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %172, i64 1
  %174 = bitcast %Ts28__ContiguousArrayStorageBaseC* %173 to i8*
  call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %174, i8 -1, i64 16, i1 false)
  %175 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySiGMD") #14
  %176 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 10010, %swift.type* %175)
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %176, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 10010, i64* %._storage2.count._value, align 8
  %177 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %176, i64 1
  %tailaddr3._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %177 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %172, %Ts28__ContiguousArrayStorageBaseC** %tailaddr3._buffer._storage, align 8
  %178 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %176, i64 1, i32 0, i32 1
  %179 = bitcast i64* %178 to %TSa*
  %._buffer._storage124 = bitcast i64* %178 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %172, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage124, align 8
  %180 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %172, i64 0, i32 0
  br label %189

181:                                              ; preds = %189
  %182 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %180) #15
  %183 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$sSaySaySiGGMD") #14
  %184 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64 110, %swift.type* %183)
  %._storage4.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %184, i64 0, i32 1, i32 0, i32 0, i32 0
  store i64 110, i64* %._storage4.count._value, align 8
  %185 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %184, i64 1
  %tailaddr5._buffer._storage = bitcast %Ts28__ContiguousArrayStorageBaseC* %185 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %176, %Ts28__ContiguousArrayStorageBaseC** %tailaddr5._buffer._storage, align 8
  %186 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %184, i64 1, i32 0, i32 1
  %187 = bitcast i64* %186 to %TSa*
  %._buffer6._storage125 = bitcast i64* %186 to %Ts28__ContiguousArrayStorageBaseC**
  store %Ts28__ContiguousArrayStorageBaseC* %176, %Ts28__ContiguousArrayStorageBaseC** %._buffer6._storage125, align 8
  %188 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %176, i64 0, i32 0
  br label %212

189:                                              ; preds = %171, %189
  %190 = phi i64 [ 2, %171 ], [ %193, %189 ]
  %191 = phi %TSa* [ %179, %171 ], [ %192, %189 ]
  %192 = getelementptr inbounds %TSa, %TSa* %191, i64 1
  %193 = add nuw nsw i64 %190, 1
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %192, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %172, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %194 = icmp eq i64 %193, 10010
  %195 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %180) #15
  br i1 %194, label %181, label %189

196:                                              ; preds = %212
  store %Ts28__ContiguousArrayStorageBaseC* %184, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %197 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %188) #15
  %198 = call swiftcc i64 @"$s7llvm_OZ3dfsyS2i_SiSbtF"(i64 0, i64 0, i1 true)
  %199 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %198, i64 -1)
  %200 = extractvalue { i64, i1 } %199, 1
  br i1 %200, label %222, label %201, !prof !6

201:                                              ; preds = %196
  %202 = extractvalue { i64, i1 } %199, 0
  store i64 %202, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ3resSivp", i64 0, i32 0), align 8
  %203 = call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull @"$ss23_ContiguousArrayStorageCyypGMD") #14
  %204 = call noalias %swift.refcounted* @swift_allocObject(%swift.type* %203, i64 64, i64 7) #3
  %205 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %204, i64 1
  %._storage7.count._value = bitcast %swift.refcounted* %205 to i64*
  store i64 1, i64* %._storage7.count._value, align 8
  %._storage7._capacityAndFlags = getelementptr inbounds %swift.refcounted, %swift.refcounted* %204, i64 1, i32 1
  store i64 2, i64* %._storage7._capacityAndFlags, align 8
  %206 = icmp slt i64 %202, 0
  %207 = add nsw i64 %202, 1000000007
  %spec.select = select i1 %206, i64 %207, i64 %202
  %208 = bitcast %swift.refcounted* %204 to %Ts28__ContiguousArrayStorageBaseC*
  %209 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %204, i64 2
  %210 = getelementptr inbounds %swift.refcounted, %swift.refcounted* %204, i64 3, i32 1
  %211 = bitcast i64* %210 to %swift.type**
  store %swift.type* @"$sSiN", %swift.type** %211, align 8
  %._value9 = bitcast %swift.refcounted* %209 to i64*
  store i64 %spec.select, i64* %._value9, align 8
  call swiftcc void @"$ss5print_9separator10terminatoryypd_S2StF"(%Ts28__ContiguousArrayStorageBaseC* %208, 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 %204) #3
  ret i32 0

212:                                              ; preds = %181, %212
  %213 = phi i64 [ 2, %181 ], [ %216, %212 ]
  %214 = phi %TSa* [ %187, %181 ], [ %215, %212 ]
  %215 = getelementptr inbounds %TSa, %TSa* %214, i64 1
  %216 = add nuw nsw i64 %213, 1
  %._buffer6._storage = getelementptr inbounds %TSa, %TSa* %215, i64 0, i32 0, i32 0
  store %Ts28__ContiguousArrayStorageBaseC* %176, %Ts28__ContiguousArrayStorageBaseC** %._buffer6._storage, align 8
  %217 = icmp eq i64 %216, 110
  %218 = call %swift.refcounted* @swift_retain(%swift.refcounted* returned %188) #15
  br i1 %217, label %196, label %212

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

220:                                              ; preds = %6
  tail call void asm sideeffect "", "n"(i32 4) #3
  tail call void @llvm.trap()
  unreachable

221:                                              ; preds = %23, %63
  call void asm sideeffect "", "n"(i32 5) #3
  call void @llvm.trap()
  unreachable

222:                                              ; preds = %196
  call void asm sideeffect "", "n"(i32 6) #3
  call void @llvm.trap()
  unreachable

223:                                              ; preds = %102
  tail call void asm sideeffect "", "n"(i32 8) #3
  tail call void @llvm.trap()
  unreachable

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

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

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

; Function Attrs: minsize optsize
define hidden swiftcc i64 @"$s7llvm_OZ3dfsyS2i_SiSbtF"(i64 %0, i64 %1, i1 %2) local_unnamed_addr #0 {
entry:
  %access-scratch = alloca [24 x i8], align 8
  %3 = alloca %Ts26DefaultStringInterpolationV, align 8
  %.sroa.6 = alloca i8, 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 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ1kSaySJGvp", i64 0, i32 0, i32 0), align 8
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 0, i32 1, i32 0, i32 0, i32 0
  %6 = load i64, i64* %._storage.count._value, align 8, !range !10
  %7 = icmp eq i64 %6, %1
  br i1 %7, label %8, label %10

8:                                                ; preds = %entry
  %9 = icmp eq i64 %0, 0
  %. = zext i1 %9 to i64
  br label %265

10:                                               ; preds = %entry
  br i1 %2, label %11, label %177

11:                                               ; preds = %10
  %12 = bitcast %Ts26DefaultStringInterpolationV* %3 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %12)
  %._storage30._guts._object._countAndFlagsBits._value = getelementptr inbounds %Ts26DefaultStringInterpolationV, %Ts26DefaultStringInterpolationV* %3, i64 0, i32 0, i32 0, i32 0, i32 0, i32 0
  store i64 0, i64* %._storage30._guts._object._countAndFlagsBits._value, align 8
  %._storage30._guts._object._object = getelementptr inbounds %Ts26DefaultStringInterpolationV, %Ts26DefaultStringInterpolationV* %3, i64 0, i32 0, i32 0, i32 0, i32 1
  store %swift.bridge* inttoptr (i64 -2305843009213693952 to %swift.bridge*), %swift.bridge** %._storage30._guts._object._object, align 8
  %.not142 = icmp ugt i64 %6, %1
  br i1 %.not142, label %13, label %280, !prof !7

13:                                               ; preds = %11
  %14 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %5, i64 1
  %tailaddr31 = bitcast %Ts28__ContiguousArrayStorageBaseC* %14 to %TSJ*
  %._str._guts._object._countAndFlagsBits._value = getelementptr inbounds %TSJ, %TSJ* %tailaddr31, i64 %1, i32 0, i32 0, i32 0, i32 0, i32 0
  %15 = load i64, i64* %._str._guts._object._countAndFlagsBits._value, align 8
  %._str._guts._object._object = getelementptr inbounds %TSJ, %TSJ* %tailaddr31, i64 %1, i32 0, i32 0, i32 0, i32 1
  %16 = load %swift.bridge*, %swift.bridge** %._str._guts._object._object, align 8
  %17 = bitcast %Ts26DefaultStringInterpolationV* %3 to %swift.opaque*
  %18 = tail call %swift.bridge* @swift_bridgeObjectRetain(%swift.bridge* returned %16) #3
  call swiftcc void @"$sSJ5write2toyxz_ts16TextOutputStreamRzlF"(%swift.opaque* nocapture nonnull %17, i64 %15, %swift.bridge* %16, %swift.type* nonnull @"$ss26DefaultStringInterpolationVN", i8** nonnull @"$ss26DefaultStringInterpolationVs16TextOutputStreamsWP")
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %16) #3
  %19 = load i64, i64* %._storage30._guts._object._countAndFlagsBits._value, align 8
  %20 = load %swift.bridge*, %swift.bridge** %._storage30._guts._object._object, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %12)
  %21 = ptrtoint %swift.bridge* %20 to i64
  %22 = and i64 %21, 2305843009213693952
  %23 = icmp eq i64 %22, 0
  %24 = lshr i64 %21, 56
  %25 = and i64 %24, 15
  %26 = and i64 %19, 281474976710655
  %27 = select i1 %23, i64 %26, i64 %25
  %28 = icmp eq i64 %27, 0
  br i1 %28, label %29, label %30, !prof !6

29:                                               ; preds = %13
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %20) #3
  br label %281

30:                                               ; preds = %13
  call void @llvm.lifetime.start.p0i8(i64 1, i8* nonnull %.sroa.6)
  %31 = and i64 %21, 1152921504606846976
  %32 = icmp eq i64 %31, 0
  br i1 %32, label %33, label %.thread, !prof !7

33:                                               ; preds = %30
  br i1 %23, label %34, label %37

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

34:                                               ; preds = %33
  %35 = and i64 %19, 1152921504606846976
  %36 = icmp eq i64 %35, 0
  br i1 %36, label %46, label %50, !prof !6

37:                                               ; preds = %33
  %38 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to i8*
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %38)
  %39 = and i64 %21, 72057594037927935
  %.elt._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 0, i32 0
  store i64 %19, i64* %.elt._value, align 8
  %.elt35._value = getelementptr inbounds <{ %Ts6UInt64V, %Ts6UInt64V }>, <{ %Ts6UInt64V, %Ts6UInt64V }>* %4, i64 0, i32 1, i32 0
  store i64 %39, i64* %.elt35._value, align 8
  %40 = bitcast <{ %Ts6UInt64V, %Ts6UInt64V }>* %4 to %Ts5UInt8V*
  %41 = trunc i64 %19 to i8
  %42 = lshr i64 %19, 8
  %43 = trunc i64 %42 to i8
  %44 = lshr i64 %19, 16
  %45 = trunc i64 %44 to i8
  switch i8 %41, label %106 [
    i8 45, label %71
    i8 43, label %108
  ]

46:                                               ; preds = %34
  %47 = tail call swiftcc { i64, i64 } @"$ss13_StringObjectV10sharedUTF8SRys5UInt8VGvg"(i64 %19, %swift.bridge* %20)
  %48 = extractvalue { i64, i64 } %47, 0
  %49 = extractvalue { i64, i64 } %47, 1
  br label %.thread219

50:                                               ; preds = %34
  %51 = and i64 %21, 1152921504606846975
  %52 = add nuw nsw i64 %51, 32
  br label %.thread219

.thread219:                                       ; preds = %50, %46
  %53 = phi i64 [ %52, %50 ], [ %48, %46 ]
  %54 = phi i64 [ %26, %50 ], [ %49, %46 ]
  %55 = call swiftcc { i64, i8 } @"$ss17FixedWidthIntegerPsE_5radixxSgqd___SitcSyRd__lufcADSRys5UInt8VGXEfU_AGSiADs5Error_psAARzSSRsd__r__lIetyyrzo_Tpq5Si_Tg5Tm"(i64 %53, i64 %54, i64 10, %swift.refcounted* swiftself undef, %swift.error** noalias nocapture swifterror dereferenceable(8) %swifterror)
  %56 = load %swift.error*, %swift.error** %swifterror, align 8
  %.not144 = icmp eq %swift.error* %56, null
  tail call void @llvm.assume(i1 %.not144)
  %57 = extractvalue { i64, i8 } %55, 1
  %58 = and i8 %57, 1
  %59 = icmp ne i8 %58, 0
  %60 = extractvalue { i64, i8 } %55, 0
  %.sroa.6.0.sroa_cast209 = bitcast i8* %.sroa.6 to i1*
  store i1 %59, i1* %.sroa.6.0.sroa_cast209, align 8
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre221 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %64

.thread224:                                       ; preds = %71, %108, %106
  %.sroa.6.0.sroa_cast227 = bitcast i8* %.sroa.6 to i1*
  store i1 true, i1* %.sroa.6.0.sroa_cast227, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %38)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre228 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %64

.loopexit172.thread:                              ; preds = %145, %151, %142, %148, %154, %109, %116, %113, %119, %72, %80, %76, %83
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8..ph = phi i1 [ true, %145 ], [ true, %151 ], [ false, %142 ], [ false, %148 ], [ false, %154 ], [ true, %109 ], [ true, %116 ], [ false, %113 ], [ false, %119 ], [ true, %72 ], [ true, %80 ], [ false, %76 ], [ false, %83 ]
  %.sroa.0.0.ph = phi i64 [ 0, %145 ], [ 0, %151 ], [ 0, %142 ], [ %149, %148 ], [ %157, %154 ], [ 0, %109 ], [ 0, %116 ], [ %114, %113 ], [ %122, %119 ], [ 0, %72 ], [ 0, %80 ], [ %78, %76 ], [ %86, %83 ]
  %.sroa.6.0.sroa_cast237 = 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_cast237, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %38)
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre238 = load i8, i8* %.sroa.6, align 8
  call void @llvm.lifetime.end.p0i8(i64 1, i8* nonnull %.sroa.6)
  br label %64

.loopexit172.loopexit.split.loop.exit:            ; preds = %173
  %61 = extractvalue { i64, i1 } %171, 0
  br label %.loopexit172

.loopexit172.loopexit241.split.loop.exit:         ; preds = %102
  %62 = extractvalue { i64, i1 } %100, 0
  br label %.loopexit172

.loopexit172.loopexit244.split.loop.exit:         ; preds = %138
  %63 = extractvalue { i64, i1 } %136, 0
  br label %.loopexit172

.loopexit172:                                     ; preds = %.preheader173, %130, %133, %.preheader170, %94, %97, %.preheader168, %165, %168, %.loopexit172.loopexit244.split.loop.exit, %.loopexit172.loopexit241.split.loop.exit, %.loopexit172.loopexit.split.loop.exit
  %.sroa.15.0..sroa.15.0..sroa.15.0..sroa.15.8. = phi i1 [ false, %.loopexit172.loopexit.split.loop.exit ], [ false, %.loopexit172.loopexit241.split.loop.exit ], [ false, %.loopexit172.loopexit244.split.loop.exit ], [ true, %168 ], [ true, %165 ], [ true, %.preheader168 ], [ true, %97 ], [ true, %94 ], [ true, %.preheader170 ], [ true, %133 ], [ true, %130 ], [ true, %.preheader173 ]
  %.sroa.0.0 = phi i64 [ %61, %.loopexit172.loopexit.split.loop.exit ], [ %62, %.loopexit172.loopexit241.split.loop.exit ], [ %63, %.loopexit172.loopexit244.split.loop.exit ], [ 0, %168 ], [ 0, %165 ], [ 0, %.preheader168 ], [ 0, %97 ], [ 0, %94 ], [ 0, %.preheader170 ], [ 0, %133 ], [ 0, %130 ], [ 0, %.preheader173 ]
  %.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 %38)
  %.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 %32, label %64, label %65

64:                                               ; preds = %.loopexit172.thread, %.thread224, %.thread219, %.loopexit172
  %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre223 = phi i8 [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre221, %.thread219 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre, %.loopexit172 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre228, %.thread224 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre238, %.loopexit172.thread ]
  %.sroa.086.0222 = phi i64 [ %60, %.thread219 ], [ %.sroa.0.0, %.loopexit172 ], [ 0, %.thread224 ], [ %.sroa.0.0.ph, %.loopexit172.thread ]
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #3
  br label %69

65:                                               ; preds = %.thread, %.loopexit172
  %66 = call swiftcc { i64, i8 } @"$ss13_parseInteger5ascii5radixq_Sgx_SitSyRzs010FixedWidthB0R_r0_lFSSSiADSSRszsAER_r0_lIetgyr_Tpq5Si_Tg5"(i64 %19, %swift.bridge* %20, i64 10)
  call void @swift_bridgeObjectRelease(%swift.bridge* %20) #3
  %67 = extractvalue { i64, i8 } %66, 0
  %68 = extractvalue { i64, i8 } %66, 1
  br label %69

69:                                               ; preds = %64, %65
  %70 = phi i64 [ %67, %65 ], [ %.sroa.086.0222, %64 ]
  %.in.in = phi i8 [ %68, %65 ], [ %.sroa.6.0..sroa.6.0..sroa.6.0..sroa.6.8..pre223, %64 ]
  %.in = and i8 %.in.in, 1
  %.not143 = icmp eq i8 %.in, 0
  br i1 %.not143, label %177, label %281

71:                                               ; preds = %37
  switch i64 %25, label %72 [
    i64 0, label %283
    i64 1, label %.thread224
  ], !prof !8

72:                                               ; preds = %71
  %73 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 %25, i32 0
  %74 = add i8 %43, -48
  %75 = icmp ult i8 %74, 10
  br i1 %75, label %76, label %.loopexit172.thread, !prof !9

76:                                               ; preds = %72
  %77 = zext i8 %74 to i64
  %78 = sub nsw i64 0, %77
  %79 = icmp eq i64 %25, 2
  br i1 %79, label %.loopexit172.thread, label %80

80:                                               ; preds = %76
  %81 = add i8 %45, -48
  %82 = icmp ult i8 %81, 10
  br i1 %82, label %83, label %.loopexit172.thread, !prof !9

83:                                               ; preds = %80
  %84 = mul nsw i64 %77, -10
  %85 = zext i8 %81 to i64
  %86 = sub nsw i64 %84, %85
  %87 = icmp eq i64 %25, 3
  br i1 %87, label %.loopexit172.thread, label %.preheader170.preheader

.preheader170.preheader:                          ; preds = %83
  %88 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 3, i32 0
  br label %.preheader170

.preheader170:                                    ; preds = %.preheader170.preheader, %102
  %89 = phi i8* [ %104, %102 ], [ %88, %.preheader170.preheader ]
  %90 = phi i64 [ %103, %102 ], [ %86, %.preheader170.preheader ]
  %91 = load i8, i8* %89, align 1
  %92 = add i8 %91, -48
  %93 = icmp ult i8 %92, 10
  br i1 %93, label %94, label %.loopexit172, !prof !9

94:                                               ; preds = %.preheader170
  %95 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %90, i64 10)
  %96 = extractvalue { i64, i1 } %95, 1
  br i1 %96, label %.loopexit172, label %97

97:                                               ; preds = %94
  %98 = extractvalue { i64, i1 } %95, 0
  %99 = zext i8 %92 to i64
  %100 = call { i64, i1 } @llvm.ssub.with.overflow.i64(i64 %98, i64 %99)
  %101 = extractvalue { i64, i1 } %100, 1
  br i1 %101, label %.loopexit172, label %102, !prof !6

102:                                              ; preds = %97
  %103 = extractvalue { i64, i1 } %100, 0
  %104 = getelementptr inbounds i8, i8* %89, i64 1
  %105 = icmp eq i8* %104, %73
  br i1 %105, label %.loopexit172.loopexit241.split.loop.exit, label %.preheader170

106:                                              ; preds = %37
  %107 = icmp eq i64 %25, 0
  br i1 %107, label %.thread224, label %142, !prof !6

108:                                              ; preds = %37
  switch i64 %25, label %109 [
    i64 0, label %282
    i64 1, label %.thread224
  ], !prof !8

109:                                              ; preds = %108
  %110 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 %25, i32 0
  %111 = add i8 %43, -48
  %112 = icmp ult i8 %111, 10
  br i1 %112, label %113, label %.loopexit172.thread, !prof !9

113:                                              ; preds = %109
  %114 = zext i8 %111 to i64
  %115 = icmp eq i64 %25, 2
  br i1 %115, label %.loopexit172.thread, label %116

116:                                              ; preds = %113
  %117 = add i8 %45, -48
  %118 = icmp ult i8 %117, 10
  br i1 %118, label %119, label %.loopexit172.thread, !prof !9

119:                                              ; preds = %116
  %120 = mul nuw nsw i64 %114, 10
  %121 = zext i8 %117 to i64
  %122 = add nuw nsw i64 %120, %121
  %123 = icmp eq i64 %25, 3
  br i1 %123, label %.loopexit172.thread, label %.preheader173.preheader

.preheader173.preheader:                          ; preds = %119
  %124 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 3, i32 0
  br label %.preheader173

.preheader173:                                    ; preds = %.preheader173.preheader, %138
  %125 = phi i8* [ %140, %138 ], [ %124, %.preheader173.preheader ]
  %126 = phi i64 [ %139, %138 ], [ %122, %.preheader173.preheader ]
  %127 = load i8, i8* %125, align 1
  %128 = add i8 %127, -48
  %129 = icmp ult i8 %128, 10
  br i1 %129, label %130, label %.loopexit172, !prof !9

130:                                              ; preds = %.preheader173
  %131 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %126, i64 10)
  %132 = extractvalue { i64, i1 } %131, 1
  br i1 %132, label %.loopexit172, label %133

133:                                              ; preds = %130
  %134 = extractvalue { i64, i1 } %131, 0
  %135 = zext i8 %128 to i64
  %136 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %134, i64 %135)
  %137 = extractvalue { i64, i1 } %136, 1
  br i1 %137, label %.loopexit172, label %138, !prof !6

138:                                              ; preds = %133
  %139 = extractvalue { i64, i1 } %136, 0
  %140 = getelementptr inbounds i8, i8* %125, i64 1
  %141 = icmp eq i8* %140, %110
  br i1 %141, label %.loopexit172.loopexit244.split.loop.exit, label %.preheader173

142:                                              ; preds = %106
  %143 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 %25, i32 0
  %144 = icmp eq i8* %143, %38
  br i1 %144, label %.loopexit172.thread, label %145

145:                                              ; preds = %142
  %146 = add i8 %41, -48
  %147 = icmp ult i8 %146, 10
  br i1 %147, label %148, label %.loopexit172.thread, !prof !9

148:                                              ; preds = %145
  %149 = zext i8 %146 to i64
  %150 = icmp eq i64 %25, 1
  br i1 %150, label %.loopexit172.thread, label %151

151:                                              ; preds = %148
  %152 = add i8 %43, -48
  %153 = icmp ult i8 %152, 10
  br i1 %153, label %154, label %.loopexit172.thread, !prof !9

154:                                              ; preds = %151
  %155 = mul nuw nsw i64 %149, 10
  %156 = zext i8 %152 to i64
  %157 = add nuw nsw i64 %155, %156
  %158 = icmp eq i64 %25, 2
  br i1 %158, label %.loopexit172.thread, label %.preheader168.preheader

.preheader168.preheader:                          ; preds = %154
  %159 = getelementptr inbounds %Ts5UInt8V, %Ts5UInt8V* %40, i64 2, i32 0
  br label %.preheader168

.preheader168:                                    ; preds = %.preheader168.preheader, %173
  %160 = phi i8* [ %175, %173 ], [ %159, %.preheader168.preheader ]
  %161 = phi i64 [ %174, %173 ], [ %157, %.preheader168.preheader ]
  %162 = load i8, i8* %160, align 1
  %163 = add i8 %162, -48
  %164 = icmp ult i8 %163, 10
  br i1 %164, label %165, label %.loopexit172, !prof !9

165:                                              ; preds = %.preheader168
  %166 = call { i64, i1 } @llvm.smul.with.overflow.i64(i64 %161, i64 10)
  %167 = extractvalue { i64, i1 } %166, 1
  br i1 %167, label %.loopexit172, label %168

168:                                              ; preds = %165
  %169 = extractvalue { i64, i1 } %166, 0
  %170 = zext i8 %163 to i64
  %171 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %169, i64 %170)
  %172 = extractvalue { i64, i1 } %171, 1
  br i1 %172, label %.loopexit172, label %173, !prof !6

173:                                              ; preds = %168
  %174 = extractvalue { i64, i1 } %171, 0
  %175 = getelementptr inbounds i8, i8* %160, i64 1
  %176 = icmp eq i8* %175, %143
  br i1 %176, label %.loopexit172.loopexit.split.loop.exit, label %.preheader168

177:                                              ; preds = %10, %69
  %178 = phi i64 [ 0, %69 ], [ 1, %10 ]
  %179 = phi i64 [ %70, %69 ], [ 9, %10 ]
  %180 = getelementptr inbounds [24 x i8], [24 x i8]* %access-scratch, i64 0, i64 0
  call void @llvm.lifetime.start.p0i8(i64 -1, i8* nonnull %180)
  call void @swift_beginAccess(i8* nonnull bitcast (%TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp" to i8*), [24 x i8]* nonnull %access-scratch, i64 1, i8* null) #3
  %181 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %182 = icmp slt i64 %0, 0
  br i1 %182, label %267, label %183, !prof !6

183:                                              ; preds = %177
  %._storage1.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 0, i32 1, i32 0, i32 0, i32 0
  %184 = load i64, i64* %._storage1.count._value, align 8, !range !10
  %.not134 = icmp ugt i64 %184, %0
  br i1 %.not134, label %185, label %268, !prof !7

185:                                              ; preds = %183
  %186 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %181, i64 1
  %tailaddr = bitcast %Ts28__ContiguousArrayStorageBaseC* %186 to %TSa*
  %._buffer._storage = getelementptr inbounds %TSa, %TSa* %tailaddr, i64 %0, i32 0, i32 0
  %187 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer._storage, align 8
  %188 = icmp slt i64 %1, 0
  br i1 %188, label %269, label %189, !prof !6

189:                                              ; preds = %185
  %._storage2.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %187, i64 0, i32 1, i32 0, i32 0, i32 0
  %190 = load i64, i64* %._storage2.count._value, align 8, !range !10
  %.not135 = icmp ugt i64 %190, %1
  br i1 %.not135, label %191, label %270, !prof !7

191:                                              ; preds = %189
  %192 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %187, i64 1
  %tailaddr3 = bitcast %Ts28__ContiguousArrayStorageBaseC* %192 to %TSa*
  %._buffer4._storage = getelementptr inbounds %TSa, %TSa* %tailaddr3, i64 %1, i32 0, i32 0
  %193 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer4._storage, align 8
  %._storage5.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %193, i64 0, i32 1, i32 0, i32 0, i32 0
  %194 = load i64, i64* %._storage5.count._value, align 8, !range !10
  %.not136 = icmp ult i64 %178, %194
  br i1 %.not136, label %195, label %271, !prof !7

195:                                              ; preds = %191
  %196 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %193, i64 1
  %tailaddr6 = bitcast %Ts28__ContiguousArrayStorageBaseC* %196 to %TSi*
  %._value = getelementptr inbounds %TSi, %TSi* %tailaddr6, i64 %178, i32 0
  %197 = load i64, i64* %._value, align 8
  %198 = icmp eq i64 %197, -1
  br i1 %198, label %.preheader, label %262

.preheader:                                       ; preds = %195
  %199 = add nuw nsw i64 %1, 1
  br label %200

200:                                              ; preds = %.preheader, %227
  %201 = phi i64 [ %spec.select, %227 ], [ 0, %.preheader ]
  %202 = phi i1 [ %.ph, %227 ], [ false, %.preheader ]
  %203 = phi i64 [ %.ph230, %227 ], [ 0, %.preheader ]
  %204 = icmp slt i64 %203, %179
  br i1 %204, label %207, label %205

205:                                              ; preds = %200
  %206 = icmp ne i64 %203, %179
  %brmerge = select i1 %206, i1 true, i1 %202
  br i1 %brmerge, label %231, label %209

207:                                              ; preds = %200
  %208 = add nsw i64 %203, 1
  br label %209

209:                                              ; preds = %207, %205
  %.sroa.096.0.ph = phi i64 [ %203, %207 ], [ %179, %205 ]
  %.ph = phi i1 [ %202, %207 ], [ true, %205 ]
  %.ph230 = phi i64 [ %208, %207 ], [ %179, %205 ]
  %210 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %0, i64 %.sroa.096.0.ph)
  %211 = extractvalue { i64, i1 } %210, 0
  %212 = extractvalue { i64, i1 } %210, 1
  br i1 %212, label %276, label %213, !prof !6

213:                                              ; preds = %209
  %214 = load i64, i64* getelementptr inbounds (%TSi, %TSi* @"$s7llvm_OZ1dSivp", i64 0, i32 0), align 8
  %215 = icmp eq i64 %214, 0
  br i1 %215, label %277, label %216, !prof !6

216:                                              ; preds = %213
  %217 = icmp eq i64 %211, -9223372036854775808
  %218 = icmp eq i64 %214, -1
  %219 = select i1 %217, i1 %218, i1 false
  br i1 %219, label %278, label %220, !prof !6

220:                                              ; preds = %216
  %221 = icmp eq i64 %.sroa.096.0.ph, %179
  %222 = select i1 %2, i1 %221, i1 false
  %223 = srem i64 %211, %214
  %224 = call swiftcc i64 @"$s7llvm_OZ3dfsyS2i_SiSbtF"(i64 %223, i64 %199, i1 %222)
  %225 = call { i64, i1 } @llvm.sadd.with.overflow.i64(i64 %201, i64 %224)
  %226 = extractvalue { i64, i1 } %225, 1
  br i1 %226, label %279, label %227, !prof !6

227:                                              ; preds = %220
  %228 = extractvalue { i64, i1 } %225, 0
  %229 = icmp slt i64 %228, 1000000007
  %230 = add i64 %228, -1000000007
  %spec.select = select i1 %229, i64 %228, i64 %230
  br label %200

231:                                              ; preds = %205
  %not.138 = xor i1 %2, true
  %.51 = zext i1 %not.138 to i64
  %232 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  %233 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %232, i64 0, i32 0
  %234 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %233) #15
  store %Ts28__ContiguousArrayStorageBaseC* %232, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br i1 %234, label %237, label %235

235:                                              ; preds = %231
  %236 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %232)
  store %Ts28__ContiguousArrayStorageBaseC* %236, %Ts28__ContiguousArrayStorageBaseC** getelementptr inbounds (%TSa, %TSa* @"$s7llvm_OZ2dpSaySaySaySiGGGvp", i64 0, i32 0, i32 0), align 8
  br label %237

237:                                              ; preds = %231, %235
  %238 = phi %Ts28__ContiguousArrayStorageBaseC* [ %232, %231 ], [ %236, %235 ]
  %._storage13.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 0, i32 1, i32 0, i32 0, i32 0
  %239 = load i64, i64* %._storage13.count._value, align 8, !range !10
  %.not = icmp sgt i64 %239, %0
  br i1 %.not, label %240, label %273, !prof !7

240:                                              ; preds = %237
  %241 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %238, i64 1
  %tailaddr14 = bitcast %Ts28__ContiguousArrayStorageBaseC* %241 to %TSa*
  %._buffer15._storage = getelementptr inbounds %TSa, %TSa* %tailaddr14, i64 %0, i32 0, i32 0
  %242 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer15._storage, align 8
  %243 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %242, i64 0, i32 0
  %244 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %243) #15
  store %Ts28__ContiguousArrayStorageBaseC* %242, %Ts28__ContiguousArrayStorageBaseC** %._buffer15._storage, align 8
  br i1 %244, label %247, label %245

245:                                              ; preds = %240
  %246 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %242)
  store %Ts28__ContiguousArrayStorageBaseC* %246, %Ts28__ContiguousArrayStorageBaseC** %._buffer15._storage, align 8
  br label %247

247:                                              ; preds = %240, %245
  %248 = phi %Ts28__ContiguousArrayStorageBaseC* [ %242, %240 ], [ %246, %245 ]
  %._storage18.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %248, i64 0, i32 1, i32 0, i32 0, i32 0
  %249 = load i64, i64* %._storage18.count._value, align 8, !range !10
  %.not139 = icmp sgt i64 %249, %1
  br i1 %.not139, label %250, label %274, !prof !7

250:                                              ; preds = %247
  %251 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %248, i64 1
  %tailaddr19 = bitcast %Ts28__ContiguousArrayStorageBaseC* %251 to %TSa*
  %._buffer20._storage = getelementptr inbounds %TSa, %TSa* %tailaddr19, i64 %1, i32 0, i32 0
  %252 = load %Ts28__ContiguousArrayStorageBaseC*, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  %253 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %252, i64 0, i32 0
  %254 = call zeroext i1 @swift_isUniquelyReferenced_nonNull_native(%swift.refcounted* %253) #15
  store %Ts28__ContiguousArrayStorageBaseC* %252, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  br i1 %254, label %257, label %255

255:                                              ; preds = %250
  %256 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %252)
  store %Ts28__ContiguousArrayStorageBaseC* %256, %Ts28__ContiguousArrayStorageBaseC** %._buffer20._storage, align 8
  br label %257

257:                                              ; preds = %250, %255
  %258 = phi %Ts28__ContiguousArrayStorageBaseC* [ %252, %250 ], [ %256, %255 ]
  %._storage23.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %258, i64 0, i32 1, i32 0, i32 0, i32 0
  %259 = load i64, i64* %._storage23.count._value, align 8, !range !10
  %.not140 = icmp ugt i64 %259, %.51
  br i1 %.not140, label %260, label %275, !prof !7

260:                                              ; preds = %257
  %261 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %258, i64 1
  %tailaddr24 = bitcast %Ts28__ContiguousArrayStorageBaseC* %261 to %TSi*
  %._value25 = getelementptr inbounds %TSi, %TSi* %tailaddr24, i64 %.51, i32 0
  store i64 %201, i64* %._value25, align 8
  br label %265

262:                                              ; preds = %195
  %not. = xor i1 %2, true
  %.52 = zext i1 %not. to i64
  %.not137 = icmp ugt i64 %194, %.52
  br i1 %.not137, label %263, label %272, !prof !7

263:                                              ; preds = %262
  %._value12 = getelementptr inbounds %TSi, %TSi* %tailaddr6, i64 %.52, i32 0
  %264 = load i64, i64* %._value12, align 8
  br label %265

265:                                              ; preds = %8, %260, %263
  %266 = phi i64 [ %264, %263 ], [ %201, %260 ], [ %., %8 ]
  ret i64 %266

267:                                              ; preds = %177
  call void asm sideeffect "", "n"(i32 0) #3
  call void @llvm.trap()
  unreachable

268:                                              ; preds = %183
  call void asm sideeffect "", "n"(i32 1) #3
  call void @llvm.trap()
  unreachable

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

270:                                              ; preds = %189
  call void asm sideeffect "", "n"(i32 3) #3
  call void @llvm.trap()
  unreachable

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

272:                                              ; preds = %262
  call void asm sideeffect "", "n"(i32 8) #3
  call void @llvm.trap()
  unreachable

273:                                              ; preds = %237
  call void asm sideeffect "", "n"(i32 9) #3
  call void @llvm.trap()
  unreachable

274:                                              ; preds = %247
  call void asm sideeffect "", "n"(i32 10) #3
  call void @llvm.trap()
  unreachable

275:                                              ; preds = %257
  call void asm sideeffect "", "n"(i32 12) #3
  call void @llvm.trap()
  unreachable

276:                                              ; preds = %209
  call void asm sideeffect "", "n"(i32 13) #3
  call void @llvm.trap()
  unreachable

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

278:                                              ; preds = %216
  call void asm sideeffect "", "n"(i32 15) #3
  call void @llvm.trap()
  unreachable

279:                                              ; preds = %220
  call void asm sideeffect "", "n"(i32 17) #3
  call void @llvm.trap()
  unreachable

280:                                              ; preds = %11
  tail call void asm sideeffect "", "n"(i32 18) #3
  tail call void @llvm.trap()
  unreachable

281:                                              ; preds = %29, %69
  call void asm sideeffect "", "n"(i32 19) #3
  call void @llvm.trap()
  unreachable

282:                                              ; preds = %108
  tail call void asm sideeffect "", "n"(i32 20) #3
  tail call void @llvm.trap()
  unreachable

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

; 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 #2 {
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) #3
  %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 !7

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) #3
  %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 !6

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) #3
  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) #3
  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 !6

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

147:                                              ; preds = %8
  tail call void asm sideeffect "", "n"(i32 1) #3
  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 #2 {
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) #3
  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 #2 {
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 !7

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

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) #3
  tail call void @swift_bridgeObjectRelease(%swift.bridge* %19) #3
  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 !10
  %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) #3
  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 !6

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) #3
  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 !6

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

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

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

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

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) #3
  tail call void @llvm.trap()
  unreachable

45:                                               ; preds = %33
  tail call void asm sideeffect "", "n"(i32 1) #3
  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") #14
  %6 = add i64 %2, 32
  %7 = tail call noalias %swift.refcounted* @swift_allocObject(%swift.type* %5, i64 %6, i64 7) #3
  %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) #16
  %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 !6

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

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

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

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

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

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) #3
  tail call void @llvm.trap()
  unreachable

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

94:                                               ; preds = %76
  tail call void asm sideeffect "", "n"(i32 3) #3
  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 #2 {
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_consumeAndCreateNewAByxGyFSi_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #2 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !10
  %2 = tail call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSi_Tg5"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0)
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySiG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #2 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !10
  %2 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySiGGMD", { i32, i32 }* @"$sSaySiGMD")
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; Function Attrs: minsize noinline optsize
define linkonce_odr hidden swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNewAByxGyFSaySaySiGG_Tg5"(%Ts28__ContiguousArrayStorageBaseC* %0) local_unnamed_addr #2 {
entry:
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %0, i64 0, i32 1, i32 0, i32 0, i32 0
  %1 = load i64, i64* %._storage.count._value, align 8, !range !10
  %2 = call swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 false, i64 %1, i1 false, %Ts28__ContiguousArrayStorageBaseC* %0, { i32, i32 }* @"$ss23_ContiguousArrayStorageCySaySaySiGGGMD", { i32, i32 }* @"$sSaySaySiGGMD")
  ret %Ts28__ContiguousArrayStorageBaseC* %2
}

; 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 #2 {
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 !6

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

14:                                               ; preds = %4, %11, %entry
  %15 = phi i64 [ %1, %entry ], [ %13, %11 ], [ %6, %4 ]
  %._storage.count._value = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 1, i32 0, i32 0, i32 0
  %16 = load i64, i64* %._storage.count._value, align 8, !range !10
  %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") #14
  %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) #3
  %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) #16
  %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) #3
  ret %Ts28__ContiguousArrayStorageBaseC* %30

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

; Function Attrs: minsize noinline optsize
define internal swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$ss22_ContiguousArrayBufferV20_consumeAndCreateNew14bufferIsUnique15minimumCapacity13growForAppendAByxGSb_SiSbtFSaySiG_Tg5Tm"(i1 %0, i64 %1, i1 %2, %Ts28__ContiguousArrayStorageBaseC* %3, { i32, i32 }* %4, { i32, i32 }* %5) local_unnamed_addr #2 {
entry:
  br i1 %2, label %6, label %16

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

10:                                               ; preds = %6
  %11 = add nuw i64 %8, 4611686018427387904
  %12 = icmp slt i64 %11, 0
  br i1 %12, label %50, label %13, !prof !6

13:                                               ; preds = %10
  %14 = and i64 %7, -2
  %15 = tail call i64 @llvm.smax.i64(i64 %14, i64 %1)
  br label %16

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

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

31:                                               ; preds = %16, %21
  %32 = phi %Ts28__ContiguousArrayStorageBaseC* [ %26, %21 ], [ bitcast (%struct._SwiftEmptyArrayStorage* @_swiftEmptyArrayStorage to %Ts28__ContiguousArrayStorageBaseC*), %16 ]
  %33 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %32, i64 1
  %34 = getelementptr inbounds %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 1
  br i1 %0, label %35, label %44

35:                                               ; preds = %31
  %36 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %TSa*
  %37 = getelementptr inbounds %TSa, %TSa* %36, i64 %18
  %38 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %TSa*
  %39 = icmp ugt %TSa* %37, %38
  %40 = icmp eq %Ts28__ContiguousArrayStorageBaseC* %32, %3
  %or.cond5.i = select i1 %40, i1 %39, i1 false
  br i1 %or.cond5.i, label %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", label %.sink.split.i

.sink.split.i:                                    ; preds = %35
  %41 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to i8*
  %42 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to i8*
  %43 = shl nuw i64 %18, 3
  tail call void @llvm.memmove.p0i8.p0i8.i64(i8* nonnull align 8 %42, i8* nonnull align 8 %41, i64 %43, i1 false)
  br label %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit"

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

44:                                               ; preds = %31
  %45 = tail call %swift.type* @__swift_instantiateConcreteTypeFromMangledName({ i32, i32 }* nonnull %5) #14
  %46 = bitcast %Ts28__ContiguousArrayStorageBaseC* %33 to %swift.opaque*
  %47 = bitcast %Ts28__ContiguousArrayStorageBaseC* %34 to %swift.opaque*
  tail call void @swift_arrayInitWithCopy(%swift.opaque* nonnull %46, %swift.opaque* nonnull %47, i64 %18, %swift.type* %45) #15
  br label %48

48:                                               ; preds = %"$sSp14moveInitialize4from5countySpyxG_SitFSaySiG_Tg5.exit", %44
  %49 = getelementptr %Ts28__ContiguousArrayStorageBaseC, %Ts28__ContiguousArrayStorageBaseC* %3, i64 0, i32 0
  tail call void @swift_release(%swift.refcounted* %49) #3
  ret %Ts28__ContiguousArrayStorageBaseC* %32

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

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

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

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

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

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

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

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

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

; Function Attrs: minsize noinline optsize
declare swiftcc %Ts28__ContiguousArrayStorageBaseC* @"$sSa28_allocateBufferUninitialized15minimumCapacitys016_ContiguousArrayB0VyxGSi_tFZ"(i64, %swift.type*) local_unnamed_addr #2

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

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

7:                                                ; preds = %entry
  %8 = ashr i64 %2, 32
  %9 = sub nsw i64 0, %8
  %sext = shl i64 %2, 32
  %10 = ashr exact i64 %sext, 32
  %11 = ptrtoint { i32, i32 }* %0 to i64
  %12 = add i64 %10, %11
  %13 = inttoptr i64 %12 to i8*
  %14 = tail call swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8* %13, i64 %9, %swift.type_descriptor* null, i8** null) #17
  %15 = ptrtoint %swift.type* %14 to i64
  store atomic i64 %15, i64* %1 monotonic, align 8
  br label %4
}

; Function Attrs: argmemonly nounwind
declare swiftcc %swift.type* @swift_getTypeByMangledNameInContext2(i8*, i64, %swift.type_descriptor*, i8**) local_unnamed_addr #6

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

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

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

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

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

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

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

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

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

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

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

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

; 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) #9

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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