import std.stdio, std.string, std.conv, std.array, std.algorithm;

void main() {
   int count;
   while (true) {
      auto x = readln.chomp;
      if (x == "0") break;
      writeln("Case " ~ to!string(++count) ~ ": " ~ x);
   }
}
; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/D/Source_3678/source.d'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/D/Source_3678/source.d"
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-pc-linux-gnu"

%0 = type { i32, i32, [7 x i8] }
%object.TypeInfo_Array = type { [19 x i8*]*, i8*, %object.TypeInfo* }
%object.TypeInfo = type { [19 x i8*]*, i8* }
%object.TypeInfo_Class = type { [20 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, { i64, i8** }, { i64, %object.Interface* }, %object.TypeInfo_Class*, i8*, void (%object.Object*)*, i32, [4 x i8], i8*, { i64, %object.OffsetTypeInfo* }, void (%object.Object*)*, i8* }
%object.Interface = type { %object.TypeInfo_Class*, { i64, i8** }, i64 }
%object.OffsetTypeInfo = type { i64, %object.TypeInfo* }
%object.Object = type { [5 x i8*]*, i8* }
%object.Exception = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32 }>
%object.Throwable.TraceInfo = type { [4 x i8*]* }
%object.Throwable = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32 }>
%"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S" = type { i8 }
%std.exception.ErrnoException = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32, i32 }>
%std.utf.UTFException = type <{ [11 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32, [4 x i8], i64, [4 x i32], i64 }>
%object.ModuleInfo = type { i32, i32 }
%std.stdio.File = type { %std.stdio.File.Impl*, { i64, i8* } }
%std.stdio.File.Impl = type { %core.stdc.stdio._IO_FILE*, i32, i8, [3 x i8], i32, [4 x i8] }
%core.stdc.stdio._IO_FILE = type { i32, [4 x i8], i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %core.stdc.stdio._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], [4 x i8], i8*, i64, i8*, i8*, %core.stdc.stdio._IO_FILE*, i8*, i64, i32, [20 x i8] }
%std.stdio.File.LockingTextWriter = type { %std.stdio.File, i32, i16, [4 x i8], [6 x i8], i64 }
%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result" = type { i32, i32, [11 x i8], [1 x i8] }
%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result" = type { i32, i8, [3 x i8] }
%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result" = type { i32, i8, [3 x i8] }
%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result" = type { i32, i8, [3 x i8] }
%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result" = type { i32, i8, [3 x i8] }
%nest.decodeImpl = type { i8*, i64 }

@.str = private unnamed_addr constant [2 x i8] c"0\00" ; [#uses = 1]
@.str.1 = private unnamed_addr constant [3 x i8] c": \00" ; [#uses = 1]
@.str.2 = private unnamed_addr constant [6 x i8] c"Case \00" ; [#uses = 1]
@_D12TypeInfo_Aya6__initZ = external global %object.TypeInfo_Array ; [#uses = 1]
@.str.3 = private unnamed_addr constant [39 x i8] c"Attempt to read from an unopened file.\00" ; [#uses = 1]
@.str.4 = private unnamed_addr constant [52 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/stdio.d\00" ; [#uses = 1]
@_D9Exception7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 1]
@_D9Exception6__vtblZ = external constant [10 x i8*] ; [#uses = 1]
@_D9Exception6__initZ = external local_unnamed_addr constant %object.Exception, align 8 ; [#uses = 1]
@.str.5 = private unnamed_addr constant [19 x i8] c"Enforcement failed\00" ; [#uses = 1]
@_D12TypeInfo_Axa6__initZ = external global %object.TypeInfo_Array ; [#uses = 1]
@.str.7 = private unnamed_addr constant [30 x i8] c"radix must be in range [2,36]\00" ; [#uses = 1]
@.str.8 = private unnamed_addr constant [51 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/conv.d\00" ; [#uses = 1]
@.str.9 = private unnamed_addr constant [52 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/array.d\00" ; [#uses = 1]
@_D11TypeInfo_Aa6__initZ = external global %object.TypeInfo_Array ; [#uses = 1]
@_D4core8internal8lifetime__T10emplaceRefTaTaTaZQtFKaKaZ1S6__initZ = weak_odr local_unnamed_addr constant %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S" { i8 -1 }, align 1 ; [#uses = 0]
@_D3std9exception14ErrnoException7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 1]
@_D3std9exception14ErrnoException6__vtblZ = external constant [10 x i8*] ; [#uses = 1]
@_D3std9exception14ErrnoException6__initZ = external local_unnamed_addr constant %std.exception.ErrnoException, align 8 ; [#uses = 1]
@.str.10 = private unnamed_addr constant [50 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/utf.d\00" ; [#uses = 1]
@.str.11 = private unnamed_addr constant [23 x i8] c"Invalid UTF-8 sequence\00" ; [#uses = 1]
@.str.12 = private unnamed_addr constant [45 x i8] c"Attempted to decode past the end of a string\00" ; [#uses = 1]
@_D3std3utf12UTFException7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 5]
@_D3std3utf12UTFException6__vtblZ = external constant [11 x i8*] ; [#uses = 5]
@_D3std3utf12UTFException6__initZ = external local_unnamed_addr constant %std.utf.UTFException, align 8 ; [#uses = 1]
@.str.13 = private unnamed_addr constant [41 x i8] c"Encoding an invalid code point in UTF-32\00" ; [#uses = 1]
@_D6source12__ModuleInfoZ = global %0 { i32 -2147483644, i32 0, [7 x i8] c"source\00" } ; [#uses = 1]
@_D6source11__moduleRefZ = linkonce_odr hidden global %object.ModuleInfo* bitcast (%0* @_D6source12__ModuleInfoZ to %object.ModuleInfo*), section "__minfo" ; [#uses = 1]
@__start___minfo = external hidden global %object.ModuleInfo* ; [#uses = 1]
@__stop___minfo = external hidden global %object.ModuleInfo* ; [#uses = 1]
@ldc.dso_slot = linkonce_odr hidden global i8* null ; [#uses = 1]
@llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @ldc.register_dso, i8* bitcast (void ()* @ldc.register_dso to i8*) }] ; [#uses = 0]
@llvm.global_dtors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @ldc.register_dso, i8* bitcast (void ()* @ldc.register_dso to i8*) }] ; [#uses = 0]
@llvm.used = appending global [1 x i8*] [i8* bitcast (%object.ModuleInfo** @_D6source11__moduleRefZ to i8*)], section "llvm.metadata" ; [#uses = 0]

; [#uses = 1]
; Function Attrs: uwtable
define i32 @_Dmain({ i64, { i64, i8* }* } %unnamed) #0 {
  %.slicearray = alloca [4 x { i64, i8* }], align 8 ; [#uses = 9, size/byte = 64]
  %1 = call { i64, i8* } @_D3std5stdio__T6readlnTAyaZQmFwZQj(i32 10) #2 ; [#uses = 1]
  %2 = call { i64, i8* } @_D3std6string__T5chompTAyaZQlFNaNbNiNfQpZQs({ i64, i8* } %1) #2 ; [#uses = 2]
  %3 = call zeroext i1 @_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb({ i64, i8* } { i64 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0) }, { i64, i8* } %2) #2 ; [#uses = 1]
  br i1 %3, label %endfor, label %endif.lr.ph

endif.lr.ph:                                      ; preds = %0
  %.fca.0.gep = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %.fca.0.gep11 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep13 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 1, i32 1 ; [#uses = 1, type = i8**]
  %.fca.0.gep15 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 2, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep17 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 2, i32 1 ; [#uses = 1, type = i8**]
  %.fca.0.gep19 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 3, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep21 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 3, i32 1 ; [#uses = 1, type = i8**]
  %4 = getelementptr inbounds [4 x { i64, i8* }], [4 x { i64, i8* }]* %.slicearray, i64 0, i64 0 ; [#uses = 1, type = { i64, i8* }*]
  %.fca.1.insert = insertvalue { i64, { i64, i8* }* } { i64 4, { i64, i8* }* undef }, { i64, i8* }* %4, 1 ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %endif.lr.ph, %endif
  %5 = phi { i64, i8* } [ %2, %endif.lr.ph ], [ %9, %endif ] ; [#uses = 2, type = { i64, i8* }]
  %count.046 = phi i32 [ 0, %endif.lr.ph ], [ %6, %endif ] ; [#uses = 1, type = i32]
  %.len = extractvalue { i64, i8* } %5, 0         ; [#uses = 1]
  %.ptr = extractvalue { i64, i8* } %5, 1         ; [#uses = 1]
  %6 = add i32 %count.046, 1                      ; [#uses = 2]
  %7 = call { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNbNeikEQBm5ascii10LetterCaseZQBo(i1 zeroext false, i32 10, i32 %6) #2 ; [#uses = 2]
  %.ptr2 = extractvalue { i64, i8* } %7, 1        ; [#uses = 1]
  %.len3 = extractvalue { i64, i8* } %7, 0        ; [#uses = 1]
  store i64 5, i64* %.fca.0.gep, align 8
  store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %.fca.1.gep, align 8
  store i64 %.len3, i64* %.fca.0.gep11, align 8
  store i8* %.ptr2, i8** %.fca.1.gep13, align 8
  store i64 2, i64* %.fca.0.gep15, align 8
  store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %.fca.1.gep17, align 8
  store i64 %.len, i64* %.fca.0.gep19, align 8
  store i8* %.ptr, i8** %.fca.1.gep21, align 8
  %.appendedArray = call { i64, i8* } @_d_arraycatnTX(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Aya6__initZ to %object.TypeInfo*), { i64, { i64, i8* }* } %.fca.1.insert) #3 ; [#uses = 1]
  call void @_D3std5stdio__T7writelnTAyaZQnFNfQjZv({ i64, i8* } %.appendedArray) #2
  %8 = call { i64, i8* } @_D3std5stdio__T6readlnTAyaZQmFwZQj(i32 10) #2 ; [#uses = 1]
  %9 = call { i64, i8* } @_D3std6string__T5chompTAyaZQlFNaNbNiNfQpZQs({ i64, i8* } %8) #2 ; [#uses = 2]
  %10 = call zeroext i1 @_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb({ i64, i8* } { i64 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0) }, { i64, i8* } %9) #2 ; [#uses = 1]
  br i1 %10, label %endfor, label %endif

endfor:                                           ; preds = %endif, %0
  ret i32 0
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std6string__T5chompTAyaZQlFNaNbNiNfQpZQs({ i64, i8* } %str_arg) local_unnamed_addr #1 {
  %str_arg.fca.0.extract = extractvalue { i64, i8* } %str_arg, 0 ; [#uses = 9]
  %str_arg.fca.1.extract = extractvalue { i64, i8* } %str_arg, 1 ; [#uses = 9]
  %.not.i = icmp eq i64 %str_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %.not.i, label %if, label %bounds.ok78

if:                                               ; preds = %case22, %bounds.ok29, %bounds.ok38, %case52, %andand54, %bounds.ok78, %0
  ret { i64, i8* } %str_arg

bounds.ok78:                                      ; preds = %0
  %1 = add i64 %str_arg.fca.0.extract, -1         ; [#uses = 2]
  %2 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %1 ; [#uses = 1, type = i8*]
  %3 = load i8, i8* %2, align 1                   ; [#uses = 1]
  switch i8 %3, label %if [
    i8 10, label %case
    i8 13, label %bounds.ok14
    i8 11, label %bounds.ok14
    i8 12, label %bounds.ok14
    i8 -88, label %case22
    i8 -87, label %case22
    i8 -123, label %case52
  ]

case:                                             ; preds = %bounds.ok78
  %4 = icmp ugt i64 %str_arg.fca.0.extract, 1     ; [#uses = 1]
  br i1 %4, label %andand, label %bounds.ok14

andand:                                           ; preds = %case
  %5 = add i64 %str_arg.fca.0.extract, -2         ; [#uses = 2]
  %6 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %5 ; [#uses = 1, type = i8*]
  %7 = load i8, i8* %6, align 1                   ; [#uses = 1]
  %8 = icmp eq i8 %7, 13                          ; [#uses = 1]
  br i1 %8, label %bounds.ok6, label %bounds.ok14

bounds.ok6:                                       ; preds = %andand
  %9 = insertvalue { i64, i8* } undef, i64 %5, 0  ; [#uses = 1]
  %10 = insertvalue { i64, i8* } %9, i8* %str_arg.fca.1.extract, 1 ; [#uses = 1]
  ret { i64, i8* } %10

bounds.ok14:                                      ; preds = %bounds.ok78, %case, %andand, %bounds.ok78, %bounds.ok78
  %11 = insertvalue { i64, i8* } undef, i64 %1, 0 ; [#uses = 1]
  %12 = insertvalue { i64, i8* } %11, i8* %str_arg.fca.1.extract, 1 ; [#uses = 1]
  ret { i64, i8* } %12

case22:                                           ; preds = %bounds.ok78, %bounds.ok78
  %13 = icmp ugt i64 %str_arg.fca.0.extract, 2    ; [#uses = 1]
  br i1 %13, label %bounds.ok29, label %if

bounds.ok29:                                      ; preds = %case22
  %14 = add i64 %str_arg.fca.0.extract, -2        ; [#uses = 1]
  %15 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %14 ; [#uses = 1, type = i8*]
  %16 = load i8, i8* %15, align 1                 ; [#uses = 1]
  %17 = icmp eq i8 %16, -128                      ; [#uses = 1]
  br i1 %17, label %bounds.ok38, label %if

bounds.ok38:                                      ; preds = %bounds.ok29
  %18 = add i64 %str_arg.fca.0.extract, -3        ; [#uses = 2]
  %19 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %18 ; [#uses = 1, type = i8*]
  %20 = load i8, i8* %19, align 1                 ; [#uses = 1]
  %21 = icmp eq i8 %20, -30                       ; [#uses = 1]
  br i1 %21, label %bounds.ok45, label %if

bounds.ok45:                                      ; preds = %bounds.ok38
  %22 = insertvalue { i64, i8* } undef, i64 %18, 0 ; [#uses = 1]
  %23 = insertvalue { i64, i8* } %22, i8* %str_arg.fca.1.extract, 1 ; [#uses = 1]
  ret { i64, i8* } %23

case52:                                           ; preds = %bounds.ok78
  %24 = icmp ugt i64 %str_arg.fca.0.extract, 1    ; [#uses = 1]
  br i1 %24, label %andand54, label %if

andand54:                                         ; preds = %case52
  %25 = add i64 %str_arg.fca.0.extract, -2        ; [#uses = 2]
  %26 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %25 ; [#uses = 1, type = i8*]
  %27 = load i8, i8* %26, align 1                 ; [#uses = 1]
  %28 = icmp eq i8 %27, -62                       ; [#uses = 1]
  br i1 %28, label %bounds.ok66, label %if

bounds.ok66:                                      ; preds = %andand54
  %29 = insertvalue { i64, i8* } undef, i64 %25, 0 ; [#uses = 1]
  %30 = insertvalue { i64, i8* } %29, i8* %str_arg.fca.1.extract, 1 ; [#uses = 1]
  ret { i64, i8* } %30
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5stdio__T6readlnTAyaZQmFwZQj(i32 %terminator_arg) local_unnamed_addr #1 {
  %buf.i = alloca { i64, i8* }, align 8           ; [#uses = 4, size/byte = 16]
  %1 = tail call %std.stdio.File* @_D3std5stdio__T10makeGlobalVEQBbQBa13StdFileHandlea21_636f72652e737464632e737464696f2e737464696eZQDeFNbNcNdNiZSQEfQEe4File() #2 ; [#uses = 1]
  %2 = bitcast { i64, i8* }* %buf.i to i8*        ; [#uses = 3]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %2)
  %3 = getelementptr inbounds %std.stdio.File, %std.stdio.File* %1, i64 0, i32 0 ; [#uses = 4, type = %std.stdio.File.Impl**]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %4 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %3, align 8 ; [#uses = 3]
  %.not.i.i = icmp eq %std.stdio.File.Impl* %4, null ; [#uses = 1]
  br i1 %.not.i.i, label %if.i.i.i, label %andandend.i.i

andandend.i.i:                                    ; preds = %0
  %5 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %4, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %6 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %5, align 8 ; [#uses = 2]
  %.not9.i.i = icmp eq %core.stdc.stdio._IO_FILE* %6, null ; [#uses = 1]
  br i1 %.not9.i.i, label %if.i.i.i, label %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i.i

if.i.i.i:                                         ; preds = %andandend.i.i, %0
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 38, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i32 0, i32 0) }, i64 2083, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }) #11
  unreachable

_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i.i: ; preds = %andandend.i.i
  %7 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %4, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %8 = load i32, i32* %7, align 4                 ; [#uses = 1]
  %9 = icmp eq i32 %8, 0                          ; [#uses = 1]
  br i1 %9, label %if.i.i, label %_D3std5stdio4File__T6readlnTAyaZQmMFwZQk.exit

if.i.i:                                           ; preds = %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i.i
  %10 = tail call i32 @fwide(%core.stdc.stdio._IO_FILE* nonnull %6, i32 0) #2 ; [#uses = 2]
  %11 = icmp slt i32 %10, 0                       ; [#uses = 1]
  br i1 %11, label %if1.i.i, label %else.i.i

if1.i.i:                                          ; preds = %if.i.i
  %12 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %3, align 8 ; [#uses = 1]
  %13 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %12, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 1, i32* %13, align 4
  br label %_D3std5stdio4File__T6readlnTAyaZQmMFwZQk.exit

else.i.i:                                         ; preds = %if.i.i
  %.not7.i.i = icmp eq i32 %10, 0                 ; [#uses = 1]
  br i1 %.not7.i.i, label %_D3std5stdio4File__T6readlnTAyaZQmMFwZQk.exit, label %if3.i.i

if3.i.i:                                          ; preds = %else.i.i
  %14 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %3, align 8 ; [#uses = 1]
  %15 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %14, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 2, i32* %15, align 4
  br label %_D3std5stdio4File__T6readlnTAyaZQmMFwZQk.exit

_D3std5stdio4File__T6readlnTAyaZQmMFwZQk.exit:    ; preds = %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i.i, %if1.i.i, %else.i.i, %if3.i.i
  %.fca.0.gep.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %buf.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %buf.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %16 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %3, align 8 ; [#uses = 2]
  %17 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %16, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %18 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %17, align 8 ; [#uses = 1]
  %19 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %16, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %20 = load i32, i32* %19, align 4               ; [#uses = 1]
  %21 = call i64 @_D3std5stdio10readlnImplFPOS4core4stdcQBg8_IO_FILEKAawEQCbQCa4File11OrientationZm(i32 %20, i32 %terminator_arg, { i64, i8* }* nonnull dereferenceable(16) %buf.i, %core.stdc.stdio._IO_FILE* %18) #2 ; [#uses = 0]
  %.len.i = load i64, i64* %.fca.0.gep.i, align 8 ; [#uses = 1]
  %.ptr.i = load i8*, i8** %.fca.1.gep.i, align 8 ; [#uses = 1]
  %22 = insertvalue { i64, i8* } undef, i64 %.len.i, 0 ; [#uses = 1]
  %23 = insertvalue { i64, i8* } %22, i8* %.ptr.i, 1 ; [#uses = 1]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %2)
  ret { i64, i8* } %23
}

; [#uses = 2]
declare zeroext i1 @_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb({ i64, i8* }, { i64, i8* }) local_unnamed_addr #2

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr void @_D3std5stdio__T7writelnTAyaZQnFNfQjZv({ i64, i8* } %_param_0_arg) local_unnamed_addr #1 personality i32 (i32, i32, i64, i8*, i8*)* @_d_eh_personality {
  %w = alloca %std.stdio.File.LockingTextWriter, align 8 ; [#uses = 9, size/byte = 48]
  %__tmpfordtor220 = alloca %std.stdio.File, align 8 ; [#uses = 4, size/byte = 24]
  call void @_D3std5stdio13trustedStdoutFNdNeZSQBgQBf4File(%std.stdio.File* noalias nonnull sret align 8 %__tmpfordtor220) #2
  invoke void @_D3std5stdio4File17lockingTextWriterMFNfZSQBoQBnQBk17LockingTextWriter(%std.stdio.File.LockingTextWriter* noalias nonnull sret align 8 %w, %std.stdio.File* nonnull %__tmpfordtor220) #2
          to label %toElem.success unwind label %dtor.__tmpfordtor220

toElem.success:                                   ; preds = %0
  call void @_D3std5stdio4File6__dtorMFNfZv(%std.stdio.File* nonnull %__tmpfordtor220) #2
  %writeme_arg.fca.0.extract.i = extractvalue { i64, i8* } %_param_0_arg, 0 ; [#uses = 4]
  %writeme_arg.fca.1.extract.i = extractvalue { i64, i8* } %_param_0_arg, 1 ; [#uses = 2]
  %1 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %w, i64 0, i32 1 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 8                 ; [#uses = 1]
  %3 = icmp slt i32 %2, 1                         ; [#uses = 1]
  br i1 %3, label %if.i, label %forcond.preheader.i

forcond.preheader.i:                              ; preds = %toElem.success
  %.not11.i = icmp eq i64 %writeme_arg.fca.0.extract.i, 0 ; [#uses = 1]
  br i1 %.not11.i, label %postinvoke2, label %forbody.i

if.i:                                             ; preds = %toElem.success
  %4 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %w, i64 0, i32 0, i32 0 ; [#uses = 1, type = %std.stdio.File.Impl**]
  %5 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %4, align 8 ; [#uses = 1]
  %6 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %5, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %7 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %6, align 8 ; [#uses = 1]
  %8 = call i64 @fwrite(i8* %writeme_arg.fca.1.extract.i, i64 1, i64 %writeme_arg.fca.0.extract.i, %core.stdc.stdio._IO_FILE* %7) #2 ; [#uses = 1]
  %.not.i = icmp eq i64 %8, %writeme_arg.fca.0.extract.i ; [#uses = 1]
  br i1 %.not.i, label %postinvoke2, label %if1.i

if1.i:                                            ; preds = %if.i
  invoke void @_D3std9exception__T7bailOutHTCQBcQBb14ErrnoExceptionZQBiFNfAyamMAxaZNn({ i64, i8* } zeroinitializer, i64 3263, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }) #11
          to label %.noexc unwind label %finally.loopexit.split-lp

.noexc:                                           ; preds = %if1.i
  unreachable

forbody.i:                                        ; preds = %forcond.preheader.i, %.noexc5
  %__key223.010.i = phi i64 [ %11, %.noexc5 ], [ 0, %forcond.preheader.i ] ; [#uses = 2, type = i64]
  %9 = getelementptr inbounds i8, i8* %writeme_arg.fca.1.extract.i, i64 %__key223.010.i ; [#uses = 1, type = i8*]
  %10 = load i8, i8* %9, align 1                  ; [#uses = 1]
  invoke void @_D3std5stdio4File17LockingTextWriter__T3putTyaZQiMFNfyaZv(%std.stdio.File.LockingTextWriter* nonnull %w, i8 zeroext %10) #2
          to label %.noexc5 unwind label %finally.loopexit

.noexc5:                                          ; preds = %forbody.i
  %11 = add nuw i64 %__key223.010.i, 1            ; [#uses = 2]
  %exitcond.not.i = icmp eq i64 %11, %writeme_arg.fca.0.extract.i ; [#uses = 1]
  br i1 %exitcond.not.i, label %postinvoke2, label %forbody.i

postinvoke2:                                      ; preds = %.noexc5, %if.i, %forcond.preheader.i
  invoke void @_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv(%std.stdio.File.LockingTextWriter* nonnull %w) #2
          to label %.noexc8 unwind label %finally.loopexit.split-lp

.noexc8:                                          ; preds = %postinvoke2
  %12 = load i32, i32* %1, align 8                ; [#uses = 1]
  %13 = icmp slt i32 %12, 1                       ; [#uses = 1]
  br i1 %13, label %if.i6, label %else.i

if.i6:                                            ; preds = %.noexc8
  %14 = invoke %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %w) #2
          to label %.noexc9 unwind label %finally.loopexit.split-lp ; [#uses = 1]

.noexc9:                                          ; preds = %if.i6
  %15 = call i32 @fputc_unlocked(i32 10, %core.stdc.stdio._IO_FILE* %14) #2 ; [#uses = 0]
  br label %try.success

else.i:                                           ; preds = %.noexc8
  %16 = invoke %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %w) #2
          to label %.noexc10 unwind label %finally.loopexit.split-lp ; [#uses = 1]

.noexc10:                                         ; preds = %else.i
  %17 = invoke i32 @fputwc_unlocked(i32 10, %core.stdc.stdio._IO_FILE* %16) #2
          to label %try.success unwind label %finally.loopexit.split-lp ; [#uses = 0]

finally.loopexit:                                 ; preds = %forbody.i
  %lpad.loopexit = landingpad { i8*, i32 }
          cleanup                                 ; [#uses = 1]
  br label %finally

finally.loopexit.split-lp:                        ; preds = %.noexc10, %else.i, %if.i6, %postinvoke2, %if1.i
  %lpad.loopexit.split-lp = landingpad { i8*, i32 }
          cleanup                                 ; [#uses = 1]
  br label %finally

finally:                                          ; preds = %finally.loopexit.split-lp, %finally.loopexit
  %lpad.phi = phi { i8*, i32 } [ %lpad.loopexit, %finally.loopexit ], [ %lpad.loopexit.split-lp, %finally.loopexit.split-lp ] ; [#uses = 1, type = { i8*, i32 }]
  %18 = extractvalue { i8*, i32 } %lpad.phi, 0    ; [#uses = 1]
  call void @_D3std5stdio4File17LockingTextWriter10__aggrDtorMFNeZv(%std.stdio.File.LockingTextWriter* nonnull %w) #2
  br label %eh.resume

try.success:                                      ; preds = %.noexc10, %.noexc9
  call void @_D3std5stdio4File17LockingTextWriter10__aggrDtorMFNeZv(%std.stdio.File.LockingTextWriter* nonnull %w) #2
  ret void

dtor.__tmpfordtor220:                             ; preds = %0
  %19 = landingpad { i8*, i32 }
          cleanup                                 ; [#uses = 1]
  %20 = extractvalue { i8*, i32 } %19, 0          ; [#uses = 1]
  call void @_D3std5stdio4File6__dtorMFNfZv(%std.stdio.File* nonnull %__tmpfordtor220) #2
  br label %eh.resume

eh.resume:                                        ; preds = %dtor.__tmpfordtor220, %finally
  %eh.ptr.2 = phi i8* [ %18, %finally ], [ %20, %dtor.__tmpfordtor220 ] ; [#uses = 1, type = i8*]
  call void @_Unwind_Resume(i8* %eh.ptr.2)
  unreachable
}

; [#uses = 1]
; Function Attrs: uwtable
declare { i64, i8* } @_d_arraycatnTX(%object.TypeInfo*, { i64, { i64, i8* }* }) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T2toTAyaZ__TQlTiZQqFNaNbNfiZQx(i32 %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNbNeikEQBm5ascii10LetterCaseZQBo(i1 zeroext false, i32 10, i32 %_param_0_arg) #2 ; [#uses = 1]
  ret { i64, i8* } %1
}

; [#uses = 1]
declare i32 @_d_run_main(i32, i8**, i8*) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define i32 @main(i32 %argc_arg, i8** %argv_arg) local_unnamed_addr #1 {
  %1 = tail call i32 @_d_run_main(i32 %argc_arg, i8** %argv_arg, i8* bitcast (i32 ({ i64, { i64, i8* }* })* @_Dmain to i8*)) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 1]
declare %std.stdio.File* @_D3std5stdio__T10makeGlobalVEQBbQBa13StdFileHandlea21_636f72652e737464632e737464696f2e737464696eZQDeFNbNcNdNiZSQEfQEe4File() local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5stdio4File__T6readlnTAyaZQmMFwZQk(%std.stdio.File* nonnull %.this_arg, i32 %terminator_arg) local_unnamed_addr #1 {
  %buf = alloca { i64, i8* }, align 8             ; [#uses = 4, size/byte = 16]
  %1 = getelementptr inbounds %std.stdio.File, %std.stdio.File* %.this_arg, i64 0, i32 0 ; [#uses = 4, type = %std.stdio.File.Impl**]
  %2 = bitcast { i64, i8* }* %buf to i8*          ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %3 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 3]
  %.not.i = icmp eq %std.stdio.File.Impl* %3, null ; [#uses = 1]
  br i1 %.not.i, label %if.i.i, label %andandend.i

andandend.i:                                      ; preds = %0
  %4 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %3, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %5 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %4, align 8 ; [#uses = 2]
  %.not9.i = icmp eq %core.stdc.stdio._IO_FILE* %5, null ; [#uses = 1]
  br i1 %.not9.i, label %if.i.i, label %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i

if.i.i:                                           ; preds = %andandend.i, %0
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 38, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i32 0, i32 0) }, i64 2083, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }) #11
  unreachable

_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i: ; preds = %andandend.i
  %6 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %3, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %7 = load i32, i32* %6, align 4                 ; [#uses = 1]
  %8 = icmp eq i32 %7, 0                          ; [#uses = 1]
  br i1 %8, label %if.i, label %_D3std5stdio4File__T6readlnTaZQkMFKAawZm.exit

if.i:                                             ; preds = %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i
  %9 = tail call i32 @fwide(%core.stdc.stdio._IO_FILE* nonnull %5, i32 0) #2 ; [#uses = 2]
  %10 = icmp slt i32 %9, 0                        ; [#uses = 1]
  br i1 %10, label %if1.i, label %else.i

if1.i:                                            ; preds = %if.i
  %11 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 1]
  %12 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %11, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 1, i32* %12, align 4
  br label %_D3std5stdio4File__T6readlnTaZQkMFKAawZm.exit

else.i:                                           ; preds = %if.i
  %.not7.i = icmp eq i32 %9, 0                    ; [#uses = 1]
  br i1 %.not7.i, label %_D3std5stdio4File__T6readlnTaZQkMFKAawZm.exit, label %if3.i

if3.i:                                            ; preds = %else.i
  %13 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 1]
  %14 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %13, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 2, i32* %14, align 4
  br label %_D3std5stdio4File__T6readlnTaZQkMFKAawZm.exit

_D3std5stdio4File__T6readlnTaZQkMFKAawZm.exit:    ; preds = %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit.i, %if1.i, %else.i, %if3.i
  %.fca.0.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %buf, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.fca.1.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %buf, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %15 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 2]
  %16 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %15, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %17 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %16, align 8 ; [#uses = 1]
  %18 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %15, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %19 = load i32, i32* %18, align 4               ; [#uses = 1]
  %20 = call i64 @_D3std5stdio10readlnImplFPOS4core4stdcQBg8_IO_FILEKAawEQCbQCa4File11OrientationZm(i32 %19, i32 %terminator_arg, { i64, i8* }* nonnull dereferenceable(16) %buf, %core.stdc.stdio._IO_FILE* %17) #2 ; [#uses = 0]
  %.len = load i64, i64* %.fca.0.gep, align 8     ; [#uses = 1]
  %.ptr = load i8*, i8** %.fca.1.gep, align 8     ; [#uses = 1]
  %21 = insertvalue { i64, i8* } undef, i64 %.len, 0 ; [#uses = 1]
  %22 = insertvalue { i64, i8* } %21, i8* %.ptr, 1 ; [#uses = 1]
  ret { i64, i8* } %22
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5stdio4File__T6readlnTaZQkMFKAawZm(%std.stdio.File* nonnull %.this_arg, i32 %terminator_arg, { i64, i8* }* dereferenceable(16) %buf) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %std.stdio.File, %std.stdio.File* %.this_arg, i64 0, i32 0 ; [#uses = 4, type = %std.stdio.File.Impl**]
  %2 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %std.stdio.File.Impl* %2, null  ; [#uses = 1]
  br i1 %.not, label %if.i, label %andandend

andandend:                                        ; preds = %0
  %3 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %2, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %4 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %3, align 8 ; [#uses = 2]
  %.not9 = icmp eq %core.stdc.stdio._IO_FILE* %4, null ; [#uses = 1]
  br i1 %.not9, label %if.i, label %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit

if.i:                                             ; preds = %andandend, %0
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 38, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i32 0, i32 0) }, i64 2083, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }) #11
  unreachable

_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit: ; preds = %andandend
  %5 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %2, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %6 = load i32, i32* %5, align 4                 ; [#uses = 1]
  %7 = icmp eq i32 %6, 0                          ; [#uses = 1]
  br i1 %7, label %if, label %endif

if:                                               ; preds = %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit
  %8 = tail call i32 @fwide(%core.stdc.stdio._IO_FILE* nonnull %4, i32 0) #2 ; [#uses = 2]
  %9 = icmp slt i32 %8, 0                         ; [#uses = 1]
  br i1 %9, label %if1, label %else

if1:                                              ; preds = %if
  %10 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 1]
  %11 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %10, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 1, i32* %11, align 4
  br label %endif

else:                                             ; preds = %if
  %.not7 = icmp eq i32 %8, 0                      ; [#uses = 1]
  br i1 %.not7, label %endif, label %if3

if3:                                              ; preds = %else
  %12 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 1]
  %13 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %12, i64 0, i32 4 ; [#uses = 1, type = i32*]
  store i32 2, i32* %13, align 4
  br label %endif

endif:                                            ; preds = %else, %if1, %if3, %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit
  %14 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %1, align 8 ; [#uses = 2]
  %15 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %14, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %16 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %15, align 8 ; [#uses = 1]
  %17 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %14, i64 0, i32 4 ; [#uses = 1, type = i32*]
  %18 = load i32, i32* %17, align 4               ; [#uses = 1]
  %19 = tail call i64 @_D3std5stdio10readlnImplFPOS4core4stdcQBg8_IO_FILEKAawEQCbQCa4File11OrientationZm(i32 %18, i32 %terminator_arg, { i64, i8* }* nonnull dereferenceable(16) %buf, %core.stdc.stdio._IO_FILE* %16) #2 ; [#uses = 1]
  ret i64 %19
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb(i64 %line_arg, { i64, i8* } %file_arg, { i8*, { i64, i8* } (i8*)* } %msg_arg, i1 zeroext %value_arg) local_unnamed_addr #1 {
  br i1 %value_arg, label %endif, label %if

if:                                               ; preds = %0
  %msg_arg.fca.1.extract = extractvalue { i8*, { i64, i8* } (i8*)* } %msg_arg, 1 ; [#uses = 1]
  %msg_arg.fca.0.extract = extractvalue { i8*, { i64, i8* } (i8*)* } %msg_arg, 0 ; [#uses = 1]
  %1 = tail call { i64, i8* } %msg_arg.fca.1.extract(i8* nonnull %msg_arg.fca.0.extract) ; [#uses = 1]
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } %1, i64 %line_arg, { i64, i8* } %file_arg) #11
  unreachable

endif:                                            ; preds = %0
  ret i1 true
}

; [#uses = 3]
declare i32 @fwide(%core.stdc.stdio._IO_FILE*, i32) local_unnamed_addr #2

; [#uses = 3]
declare i64 @_D3std5stdio10readlnImplFPOS4core4stdcQBg8_IO_FILEKAawEQCbQCa4File11OrientationZm(i32, i32, { i64, i8* }* dereferenceable(16), %core.stdc.stdio._IO_FILE*) local_unnamed_addr #2

; [#uses = 4]
; Function Attrs: noreturn uwtable
define weak_odr void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } %msg_arg, i64 %line_arg, { i64, i8* } %file_arg) local_unnamed_addr #4 {
  %.makelvaluetmp = alloca { i64, i8* }, align 8  ; [#uses = 2, size/byte = 16]
  %.makelvaluetmp2 = alloca { i64, i8* }, align 8 ; [#uses = 2, size/byte = 16]
  %msg_arg.fca.1.extract = extractvalue { i64, i8* } %msg_arg, 1 ; [#uses = 2]
  %.newclass_gc_alloc = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D9Exception7__ClassZ) #3 ; [#uses = 5]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [10 x i8*]** ; [#uses = 1]
  store [10 x i8*]* @_D9Exception6__vtblZ, [10 x i8*]** %vtbl, align 8
  %1 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %1, align 8
  %2 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 1 ; [#uses = 1, type = %object.Object*]
  %3 = bitcast %object.Object* %2 to i8*          ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(60) %3, i8* nonnull align 8 dereferenceable(60) bitcast ({ i64, i8* }* getelementptr inbounds (%object.Exception, %object.Exception* @_D9Exception6__initZ, i64 0, i32 2) to i8*), i64 60, i1 false)
  %.not = icmp eq i8* %msg_arg.fca.1.extract, null ; [#uses = 1]
  br i1 %.not, label %condfalse, label %condtrue

condtrue:                                         ; preds = %0
  %a_arg.fca.0.extract.i.i = extractvalue { i64, i8* } %msg_arg, 0 ; [#uses = 2]
  %4 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract.i.i) #2 ; [#uses = 2]
  %.ptr.i.i = extractvalue { i64, i8* } %4, 1     ; [#uses = 2]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i.i, i8* nonnull align 1 %msg_arg.fca.1.extract, i64 %a_arg.fca.0.extract.i.i, i1 false) #2
  %.len = extractvalue { i64, i8* } %4, 0         ; [#uses = 1]
  %5 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.makelvaluetmp, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len, i64* %5, align 8
  br label %condend

condfalse:                                        ; preds = %0
  %6 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.makelvaluetmp2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 18, i64* %6, align 8
  br label %condend

condend:                                          ; preds = %condfalse, %condtrue
  %.makelvaluetmp2.sink = phi { i64, i8* }* [ %.makelvaluetmp2, %condfalse ], [ %.makelvaluetmp, %condtrue ] ; [#uses = 2, type = { i64, i8* }*]
  %.sink = phi i8* [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), %condfalse ], [ %.ptr.i.i, %condtrue ] ; [#uses = 1, type = i8*]
  %7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.makelvaluetmp2.sink, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.sink, i8** %7, align 8
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %object.Exception* ; [#uses = 1]
  %8 = tail call %object.Exception* @_D6object9Exception6__ctorMFNaNbNiNfAyaQdmCQBp9ThrowableZCQBx(%object.Exception* nonnull returned %.newclass_gc, %object.Throwable* null, i64 %line_arg, { i64, i8* } %file_arg, { i64, i8* }* nonnull byval align 8 %.makelvaluetmp2.sink) #2 ; [#uses = 0]
  %9 = bitcast %object.Object* %.newclass_gc_alloc to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %9) #6
  unreachable
}

; [#uses = 7]
; Function Attrs: uwtable
declare noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class*) local_unnamed_addr #3

; [#uses = 20]
; Function Attrs: argmemonly nounwind willreturn
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* noalias nocapture writeonly, i8* noalias nocapture readonly, i64, i1 immarg) #5

; [#uses = 1]
declare %object.Exception* @_D6object9Exception6__ctorMFNaNbNiNfAyaQdmCQBp9ThrowableZCQBx(%object.Exception* nonnull returned, %object.Throwable*, i64, { i64, i8* }, { i64, i8* }* byval align 8) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T4idupTxaZQjFNaNbNdNfAxaZAya({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a_arg.fca.0.extract.i = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract.i = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract.i) #2 ; [#uses = 2]
  %.ptr.i = extractvalue { i64, i8* } %1, 1       ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i, i8* align 1 %a_arg.fca.1.extract.i, i64 %a_arg.fca.0.extract.i, i1 false) #2
  ret { i64, i8* } %1
}

; [#uses = 17]
; Function Attrs: cold noreturn uwtable
declare void @_d_throw_exception(%object.Throwable*) local_unnamed_addr #6

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T4_dupTxaTyaZQmFNaNbNeMAxaZAya({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract) #2 ; [#uses = 2]
  %.ptr = extractvalue { i64, i8* } %1, 1         ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr, i8* align 1 %a_arg.fca.1.extract, i64 %a_arg.fca.0.extract, i1 false) #2
  ret { i64, i8* } %1
}

; [#uses = 20]
declare { i64, i8* } @_d_newarrayU(%object.TypeInfo*, i64) local_unnamed_addr #7

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T8_dupCtfeTxaTyaZQqFNaNbNfMAxaZAya({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %res = alloca { i64, i8* }, align 8             ; [#uses = 4, size/byte = 16]
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %.fca.0.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %res, i64 0, i32 0 ; [#uses = 2, type = i64*]
  %.fca.1.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %res, i64 0, i32 1 ; [#uses = 2, type = i8**]
  %.not = icmp eq i64 %a_arg.fca.0.extract, 0     ; [#uses = 1]
  %1 = bitcast { i64, i8* }* %res to i8*          ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
  br i1 %.not, label %endfor, label %forbody

forbody:                                          ; preds = %0, %forbody
  %__key155.015 = phi i64 [ %4, %forbody ], [ 0, %0 ] ; [#uses = 2, type = i64]
  %2 = getelementptr inbounds i8, i8* %a_arg.fca.1.extract, i64 %__key155.015 ; [#uses = 1, type = i8*]
  %.appendedArray = call { i64, i8* } @_d_arrayappendcTX(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Aya6__initZ to %object.TypeInfo*), { i64, i8* }* nonnull dereferenceable(16) %res, i64 1) #3 ; [#uses = 0]
  %.len3 = load i64, i64* %.fca.0.gep, align 8    ; [#uses = 1]
  %.ptr4 = load i8*, i8** %.fca.1.gep, align 8    ; [#uses = 1]
  %.lastIndex = add i64 %.len3, -1                ; [#uses = 1]
  %.lastElem = getelementptr inbounds i8, i8* %.ptr4, i64 %.lastIndex ; [#uses = 1, type = i8*]
  %3 = load i8, i8* %2, align 1                   ; [#uses = 1]
  store i8 %3, i8* %.lastElem, align 1
  %4 = add nuw i64 %__key155.015, 1               ; [#uses = 2]
  %exitcond.not = icmp eq i64 %4, %a_arg.fca.0.extract ; [#uses = 1]
  br i1 %exitcond.not, label %endfor.loopexit, label %forbody

endfor.loopexit:                                  ; preds = %forbody
  %.fca.0.load.pre = load i64, i64* %.fca.0.gep, align 8 ; [#uses = 1]
  %.fca.1.load.pre = load i8*, i8** %.fca.1.gep, align 8 ; [#uses = 1]
  br label %endfor

endfor:                                           ; preds = %endfor.loopexit, %0
  %.fca.1.load = phi i8* [ %.fca.1.load.pre, %endfor.loopexit ], [ null, %0 ] ; [#uses = 1, type = i8*]
  %.fca.0.load = phi i64 [ %.fca.0.load.pre, %endfor.loopexit ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %.fca.0.insert = insertvalue { i64, i8* } undef, i64 %.fca.0.load, 0 ; [#uses = 1]
  %.fca.1.insert14 = insertvalue { i64, i8* } %.fca.0.insert, i8* %.fca.1.load, 1 ; [#uses = 1]
  ret { i64, i8* } %.fca.1.insert14
}

; [#uses = 2]
; Function Attrs: uwtable
declare { i64, i8* } @_d_arrayappendcTX(%object.TypeInfo*, { i64, i8* }* dereferenceable(16), i64) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5range10primitives__T5emptyTAyaZQlFNaNbNdNiNfMKQtZb({ i64, i8* }* dereferenceable(16) %a) local_unnamed_addr #1 {
  %1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %1, align 8              ; [#uses = 1]
  %.not = icmp eq i64 %.len, 0                    ; [#uses = 1]
  ret i1 %.not
}

; [#uses = 29]
; Function Attrs: cold noreturn uwtable
declare void @_d_arraybounds_index({ i64, i8* }, i32, i64, i64) local_unnamed_addr #6

; [#uses = 3]
; Function Attrs: cold noreturn uwtable
declare void @_d_arraybounds_slice({ i64, i8* }, i32, i64, i64, i64) local_unnamed_addr #6

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNbNfiZQr(i32 %value_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNbNeikEQBm5ascii10LetterCaseZQBo(i1 zeroext false, i32 10, i32 %value_arg) #2 ; [#uses = 1]
  ret { i64, i8* } %1
}

; [#uses = 3]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNbNeikEQBm5ascii10LetterCaseZQBo(i1 zeroext %letterCase_arg, i32 %radix_arg, i32 %value_arg) local_unnamed_addr #1 {
andandend:
  %buffer.i = alloca [24 x i8], align 1           ; [#uses = 3, size/byte = 24]
  %__r195.i = alloca %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", align 4 ; [#uses = 5, size/byte = 20]
  %.sret_tmp27.sroa.6 = alloca { [11 x i8], [1 x i8] }, align 8 ; [#uses = 1, size/byte = 12]
  %.sret_tmp = alloca %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", align 4 ; [#uses = 5, size/byte = 20]
  %radix_arg.off = add i32 %radix_arg, -2         ; [#uses = 3]
  %0 = icmp ult i32 %radix_arg.off, 35            ; [#uses = 1]
  br i1 %0, label %assertPassed, label %assertFailed

assertPassed:                                     ; preds = %andandend
  %1 = lshr i32 %radix_arg.off, 1                 ; [#uses = 1]
  %2 = shl i32 %radix_arg.off, 31                 ; [#uses = 1]
  %3 = or i32 %1, %2                              ; [#uses = 1]
  switch i32 %3, label %default [
    i32 4, label %case
    i32 7, label %case3
    i32 0, label %case9
    i32 3, label %forcond.i.i93
  ]

case:                                             ; preds = %assertPassed
  %4 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_tmp to i8* ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 4 dereferenceable(20) %4, i8 0, i64 20, i1 false), !alias.scope !8
  call void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result10initializeMFNaNbNiNfiZv(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.sret_tmp, i32 %value_arg) #1
  %.sret_tmp27.sroa.6.0.sroa_idx114 = getelementptr inbounds { [11 x i8], [1 x i8] }, { [11 x i8], [1 x i8] }* %.sret_tmp27.sroa.6, i64 0, i32 0, i64 0 ; [#uses = 4, type = i8*]
  call void @llvm.lifetime.start.p0i8(i64 12, i8* nonnull %.sret_tmp27.sroa.6.0.sroa_idx114)
  %5 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195.i to i8* ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 20, i8* nonnull %5)
  %.sret_tmp27.sroa.0.0..sroa_idx103 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_tmp, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %.sret_tmp27.sroa.0.0.copyload104 = load i32, i32* %.sret_tmp27.sroa.0.0..sroa_idx103, align 4 ; [#uses = 4]
  %.sret_tmp27.sroa.5.0..sroa_idx107 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_tmp, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %.sret_tmp27.sroa.5.0.copyload108 = load i32, i32* %.sret_tmp27.sroa.5.0..sroa_idx107, align 4 ; [#uses = 3]
  %.sret_tmp27.sroa.6.0..sroa_idx110 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_tmp, i64 0, i32 2, i64 0 ; [#uses = 1, type = i8*]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 8 dereferenceable(12) %.sret_tmp27.sroa.6.0.sroa_idx114, i8* nonnull align 4 dereferenceable(12) %.sret_tmp27.sroa.6.0..sroa_idx110, i64 12, i1 false)
  %6 = sub i32 %.sret_tmp27.sroa.5.0.copyload108, %.sret_tmp27.sroa.0.0.copyload104 ; [#uses = 2]
  %7 = icmp eq i32 %6, 0                          ; [#uses = 1]
  br i1 %7, label %_D3std5array__TQjTSQr4conv__T7toCharsVii10TaVEQBs5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6ResultZQDkFNaNbNfQDiZAa.exit, label %endif.i

endif.i:                                          ; preds = %case
  %8 = zext i32 %6 to i64                         ; [#uses = 1]
  %9 = call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %8) #7 ; [#uses = 4]
  %.ptr1.i = extractvalue { i64, i8* } %9, 1      ; [#uses = 1]
  %.len.i = extractvalue { i64, i8* } %9, 0       ; [#uses = 3]
  %.sret_tmp27.sroa.0.0..sroa_idx = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195.i, i64 0, i32 0 ; [#uses = 3, type = i32*]
  store i32 %.sret_tmp27.sroa.0.0.copyload104, i32* %.sret_tmp27.sroa.0.0..sroa_idx, align 4
  %.sret_tmp27.sroa.5.0..sroa_idx106 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195.i, i64 0, i32 1 ; [#uses = 2, type = i32*]
  store i32 %.sret_tmp27.sroa.5.0.copyload108, i32* %.sret_tmp27.sroa.5.0..sroa_idx106, align 4
  %.sret_tmp27.sroa.6.0..sroa_idx = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195.i, i64 0, i32 2, i64 0 ; [#uses = 1, type = i8*]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 4 dereferenceable(12) %.sret_tmp27.sroa.6.0..sroa_idx, i8* nonnull align 8 dereferenceable(12) %.sret_tmp27.sroa.6.0.sroa_idx114, i64 12, i1 false)
  %10 = icmp eq i32 %.sret_tmp27.sroa.5.0.copyload108, %.sret_tmp27.sroa.0.0.copyload104 ; [#uses = 1]
  br i1 %10, label %_D3std5array__TQjTSQr4conv__T7toCharsVii10TaVEQBs5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i

forbody.i:                                        ; preds = %endif.i, %bounds.ok.i
  %11 = phi i32 [ %19, %bounds.ok.i ], [ %.sret_tmp27.sroa.0.0.copyload104, %endif.i ] ; [#uses = 3, type = i32]
  %i.014.i = phi i64 [ %17, %bounds.ok.i ], [ 0, %endif.i ] ; [#uses = 3, type = i64]
  %12 = zext i32 %11 to i64                       ; [#uses = 1]
  %bounds.cmp.i.i = icmp ult i32 %11, 11          ; [#uses = 1]
  br i1 %bounds.cmp.i.i, label %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit.i, label %bounds.fail.i.i

bounds.fail.i.i:                                  ; preds = %forbody.i
  %13 = zext i32 %11 to i64                       ; [#uses = 1]
  call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5713, i64 %13, i64 11) #6
  unreachable

_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit.i: ; preds = %forbody.i
  %exitcond.not.i = icmp eq i64 %i.014.i, %.len.i ; [#uses = 1]
  br i1 %exitcond.not.i, label %bounds.fail.i, label %bounds.ok.i

bounds.ok.i:                                      ; preds = %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit.i
  %14 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195.i, i64 0, i32 2, i64 %12 ; [#uses = 1, type = i8*]
  %15 = load i8, i8* %14, align 1                 ; [#uses = 1]
  %16 = getelementptr inbounds i8, i8* %.ptr1.i, i64 %i.014.i ; [#uses = 1, type = i8*]
  store i8 %15, i8* %16, align 1
  %17 = add i64 %i.014.i, 1                       ; [#uses = 1]
  %18 = load i32, i32* %.sret_tmp27.sroa.0.0..sroa_idx, align 4 ; [#uses = 1]
  %19 = add i32 %18, 1                            ; [#uses = 3]
  store i32 %19, i32* %.sret_tmp27.sroa.0.0..sroa_idx, align 4
  %20 = load i32, i32* %.sret_tmp27.sroa.5.0..sroa_idx106, align 4 ; [#uses = 1]
  %21 = icmp eq i32 %20, %19                      ; [#uses = 1]
  br i1 %21, label %_D3std5array__TQjTSQr4conv__T7toCharsVii10TaVEQBs5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i

bounds.fail.i:                                    ; preds = %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit.i
  call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len.i, i64 %.len.i) #6
  unreachable

_D3std5array__TQjTSQr4conv__T7toCharsVii10TaVEQBs5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6ResultZQDkFNaNbNfQDiZAa.exit: ; preds = %bounds.ok.i, %case, %endif.i
  %merge.i = phi { i64, i8* } [ zeroinitializer, %case ], [ %9, %endif.i ], [ %9, %bounds.ok.i ] ; [#uses = 1, type = { i64, i8* }]
  call void @llvm.lifetime.end.p0i8(i64 12, i8* nonnull %.sret_tmp27.sroa.6.0.sroa_idx114)
  call void @llvm.lifetime.end.p0i8(i64 20, i8* nonnull %5)
  ret { i64, i8* } %merge.i

case3:                                            ; preds = %assertPassed
  br i1 %letterCase_arg, label %forcond.i.i41, label %forcond.i.i

forcond.i.i:                                      ; preds = %case3, %forcond.i.i
  %value.0.i.i = phi i32 [ %22, %forcond.i.i ], [ %value_arg, %case3 ] ; [#uses = 1, type = i32]
  %len.0.i.i = phi i8 [ %23, %forcond.i.i ], [ 1, %case3 ] ; [#uses = 3, type = i8]
  %22 = lshr i32 %value.0.i.i, 4                  ; [#uses = 2]
  %.not.i.i = icmp eq i32 %22, 0                  ; [#uses = 1]
  %23 = add nuw nsw i8 %len.0.i.i, 1              ; [#uses = 1]
  br i1 %.not.i.i, label %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result.exit, label %forcond.i.i

_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result.exit: ; preds = %forcond.i.i
  %.structliteral.sroa.3.0.insert.ext.i = zext i8 %len.0.i.i to i64 ; [#uses = 2]
  %24 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %.structliteral.sroa.3.0.insert.ext.i) #7 ; [#uses = 3]
  %.ptr1.i31 = extractvalue { i64, i8* } %24, 1   ; [#uses = 1]
  %.len.i32 = extractvalue { i64, i8* } %24, 0    ; [#uses = 3]
  %25 = zext i8 %len.0.i.i to i32                 ; [#uses = 1]
  br label %forbody.i35

forbody.i35:                                      ; preds = %bounds.ok.i36, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result.exit
  %indvars.iv.i = phi i32 [ %25, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result.exit ], [ %indvars.iv.next.i, %bounds.ok.i36 ] ; [#uses = 2, type = i32]
  %i.017.i = phi i64 [ 0, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result.exit ], [ %35, %bounds.ok.i36 ] ; [#uses = 3, type = i64]
  %26 = shl nuw nsw i32 %indvars.iv.i, 2          ; [#uses = 1]
  %27 = add nsw i32 %26, -4                       ; [#uses = 1]
  %28 = lshr i32 %value_arg, %27                  ; [#uses = 1]
  %29 = and i32 %28, 15                           ; [#uses = 2]
  %30 = trunc i32 %29 to i8                       ; [#uses = 2]
  %exitcond.not.i34 = icmp eq i64 %i.017.i, %.len.i32 ; [#uses = 1]
  br i1 %exitcond.not.i34, label %bounds.fail.i37, label %bounds.ok.i36

bounds.ok.i36:                                    ; preds = %forbody.i35
  %31 = icmp ult i32 %29, 10                      ; [#uses = 1]
  %32 = or i8 %30, 48                             ; [#uses = 1]
  %33 = add nuw nsw i8 %30, 55                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i.i.i = select i1 %31, i8 %32, i8 %33 ; [#uses = 1]
  %34 = getelementptr inbounds i8, i8* %.ptr1.i31, i64 %i.017.i ; [#uses = 1, type = i8*]
  store i8 %condtmp.0.sroa.speculated.i.i.i, i8* %34, align 1
  %35 = add nuw nsw i64 %i.017.i, 1               ; [#uses = 2]
  %indvars.iv.next.i = add i32 %indvars.iv.i, -1  ; [#uses = 1]
  %exitcond19.i = icmp eq i64 %35, %.structliteral.sroa.3.0.insert.ext.i ; [#uses = 1]
  br i1 %exitcond19.i, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i35

bounds.fail.i37:                                  ; preds = %forbody.i35
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len.i32, i64 %.len.i32) #6
  unreachable

_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit: ; preds = %bounds.ok.i75, %bounds.ok.i88, %bounds.ok.i36, %bounds.ok.i58, %endif.i80, %case9
  %merge.i30 = phi { i64, i8* } [ zeroinitializer, %case9 ], [ %53, %endif.i80 ], [ %38, %bounds.ok.i58 ], [ %24, %bounds.ok.i36 ], [ %53, %bounds.ok.i88 ], [ %64, %bounds.ok.i75 ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge.i30

forcond.i.i41:                                    ; preds = %case3, %forcond.i.i41
  %value.0.i.i38 = phi i32 [ %36, %forcond.i.i41 ], [ %value_arg, %case3 ] ; [#uses = 1, type = i32]
  %len.0.i.i39 = phi i8 [ %37, %forcond.i.i41 ], [ 1, %case3 ] ; [#uses = 3, type = i8]
  %36 = lshr i32 %value.0.i.i38, 4                ; [#uses = 2]
  %.not.i.i40 = icmp eq i32 %36, 0                ; [#uses = 1]
  %37 = add nuw nsw i8 %len.0.i.i39, 1            ; [#uses = 1]
  br i1 %.not.i.i40, label %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result.exit, label %forcond.i.i41

_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result.exit: ; preds = %forcond.i.i41
  %.structliteral.sroa.3.0.insert.ext.i42 = zext i8 %len.0.i.i39 to i64 ; [#uses = 2]
  %38 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %.structliteral.sroa.3.0.insert.ext.i42) #7 ; [#uses = 3]
  %.ptr1.i47 = extractvalue { i64, i8* } %38, 1   ; [#uses = 1]
  %.len.i48 = extractvalue { i64, i8* } %38, 0    ; [#uses = 3]
  %39 = zext i8 %len.0.i.i39 to i32               ; [#uses = 1]
  br label %forbody.i54

forbody.i54:                                      ; preds = %bounds.ok.i58, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result.exit
  %indvars.iv.i51 = phi i32 [ %39, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result.exit ], [ %indvars.iv.next.i56, %bounds.ok.i58 ] ; [#uses = 2, type = i32]
  %i.017.i52 = phi i64 [ 0, %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result.exit ], [ %49, %bounds.ok.i58 ] ; [#uses = 3, type = i64]
  %40 = shl nuw nsw i32 %indvars.iv.i51, 2        ; [#uses = 1]
  %41 = add nsw i32 %40, -4                       ; [#uses = 1]
  %42 = lshr i32 %value_arg, %41                  ; [#uses = 1]
  %43 = and i32 %42, 15                           ; [#uses = 2]
  %44 = trunc i32 %43 to i8                       ; [#uses = 2]
  %exitcond.not.i53 = icmp eq i64 %i.017.i52, %.len.i48 ; [#uses = 1]
  br i1 %exitcond.not.i53, label %bounds.fail.i59, label %bounds.ok.i58

bounds.ok.i58:                                    ; preds = %forbody.i54
  %45 = icmp ult i32 %43, 10                      ; [#uses = 1]
  %46 = or i8 %44, 48                             ; [#uses = 1]
  %47 = add nuw nsw i8 %44, 87                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i.i.i55 = select i1 %45, i8 %46, i8 %47 ; [#uses = 1]
  %48 = getelementptr inbounds i8, i8* %.ptr1.i47, i64 %i.017.i52 ; [#uses = 1, type = i8*]
  store i8 %condtmp.0.sroa.speculated.i.i.i55, i8* %48, align 1
  %49 = add nuw nsw i64 %i.017.i52, 1             ; [#uses = 2]
  %indvars.iv.next.i56 = add i32 %indvars.iv.i51, -1 ; [#uses = 1]
  %exitcond19.i57 = icmp eq i64 %49, %.structliteral.sroa.3.0.insert.ext.i42 ; [#uses = 1]
  br i1 %exitcond19.i57, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i54

bounds.fail.i59:                                  ; preds = %forbody.i54
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len.i48, i64 %.len.i48) #6
  unreachable

case9:                                            ; preds = %assertPassed
  %50 = lshr i32 %value_arg, 1                    ; [#uses = 1]
  %51 = tail call i32 @llvm.ctlz.i32(i32 %50, i1 false), !range !11 ; [#uses = 1]
  %narrow.i = sub nuw nsw i32 33, %51             ; [#uses = 4]
  %.structliteral.sroa.3.0.insert.ext.i60 = zext i32 %narrow.i to i64 ; [#uses = 2]
  %52 = icmp eq i32 %narrow.i, 0                  ; [#uses = 1]
  br i1 %52, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %endif.i80

endif.i80:                                        ; preds = %case9
  %53 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %.structliteral.sroa.3.0.insert.ext.i60) #7 ; [#uses = 4]
  %.ptr1.i78 = extractvalue { i64, i8* } %53, 1   ; [#uses = 1]
  %.len.i79 = extractvalue { i64, i8* } %53, 0    ; [#uses = 3]
  %__r211.sroa.2.0.extract.trunc.i = trunc i32 %narrow.i to i8 ; [#uses = 1]
  %54 = icmp eq i8 %__r211.sroa.2.0.extract.trunc.i, 0 ; [#uses = 1]
  br i1 %54, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i86

forbody.i86:                                      ; preds = %endif.i80, %bounds.ok.i88
  %indvars.iv.i83 = phi i32 [ %55, %bounds.ok.i88 ], [ %narrow.i, %endif.i80 ] ; [#uses = 1, type = i32]
  %i.017.i84 = phi i64 [ %61, %bounds.ok.i88 ], [ 0, %endif.i80 ] ; [#uses = 3, type = i64]
  %exitcond.not.i85 = icmp eq i64 %i.017.i84, %.len.i79 ; [#uses = 1]
  br i1 %exitcond.not.i85, label %bounds.fail.i89, label %bounds.ok.i88

bounds.ok.i88:                                    ; preds = %forbody.i86
  %55 = add i32 %indvars.iv.i83, -1               ; [#uses = 2]
  %56 = lshr i32 %value_arg, %55                  ; [#uses = 1]
  %57 = trunc i32 %56 to i8                       ; [#uses = 1]
  %58 = and i8 %57, 1                             ; [#uses = 1]
  %59 = or i8 %58, 48                             ; [#uses = 1]
  %60 = getelementptr inbounds i8, i8* %.ptr1.i78, i64 %i.017.i84 ; [#uses = 1, type = i8*]
  store i8 %59, i8* %60, align 1
  %61 = add nuw nsw i64 %i.017.i84, 1             ; [#uses = 2]
  %exitcond19.i87 = icmp eq i64 %61, %.structliteral.sroa.3.0.insert.ext.i60 ; [#uses = 1]
  br i1 %exitcond19.i87, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i86

bounds.fail.i89:                                  ; preds = %forbody.i86
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len.i79, i64 %.len.i79) #6
  unreachable

forcond.i.i93:                                    ; preds = %assertPassed, %forcond.i.i93
  %value.0.i.i90 = phi i32 [ %62, %forcond.i.i93 ], [ %value_arg, %assertPassed ] ; [#uses = 1, type = i32]
  %len.0.i.i91 = phi i8 [ %63, %forcond.i.i93 ], [ 1, %assertPassed ] ; [#uses = 3, type = i8]
  %62 = lshr i32 %value.0.i.i90, 3                ; [#uses = 2]
  %.not.i.i92 = icmp eq i32 %62, 0                ; [#uses = 1]
  %63 = add nuw nsw i8 %len.0.i.i91, 1            ; [#uses = 1]
  br i1 %.not.i.i92, label %_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result.exit, label %forcond.i.i93

_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result.exit: ; preds = %forcond.i.i93
  %.structliteral.sroa.3.0.insert.ext.i94 = zext i8 %len.0.i.i91 to i64 ; [#uses = 2]
  %64 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %.structliteral.sroa.3.0.insert.ext.i94) #7 ; [#uses = 3]
  %.ptr1.i65 = extractvalue { i64, i8* } %64, 1   ; [#uses = 1]
  %.len.i66 = extractvalue { i64, i8* } %64, 0    ; [#uses = 3]
  %65 = zext i8 %len.0.i.i91 to i32               ; [#uses = 1]
  br label %forbody.i72

forbody.i72:                                      ; preds = %bounds.ok.i75, %_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result.exit
  %indvars.iv.i69 = phi i32 [ %65, %_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result.exit ], [ %indvars.iv.next.i73, %bounds.ok.i75 ] ; [#uses = 2, type = i32]
  %i.017.i70 = phi i64 [ 0, %_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result.exit ], [ %73, %bounds.ok.i75 ] ; [#uses = 3, type = i64]
  %exitcond.not.i71 = icmp eq i64 %i.017.i70, %.len.i66 ; [#uses = 1]
  br i1 %exitcond.not.i71, label %bounds.fail.i76, label %bounds.ok.i75

bounds.ok.i75:                                    ; preds = %forbody.i72
  %66 = mul nuw nsw i32 %indvars.iv.i69, 3        ; [#uses = 1]
  %67 = add nsw i32 %66, -3                       ; [#uses = 1]
  %68 = lshr i32 %value_arg, %67                  ; [#uses = 1]
  %69 = trunc i32 %68 to i8                       ; [#uses = 1]
  %70 = and i8 %69, 7                             ; [#uses = 1]
  %71 = or i8 %70, 48                             ; [#uses = 1]
  %72 = getelementptr inbounds i8, i8* %.ptr1.i65, i64 %i.017.i70 ; [#uses = 1, type = i8*]
  store i8 %71, i8* %72, align 1
  %73 = add nuw nsw i64 %i.017.i70, 1             ; [#uses = 2]
  %indvars.iv.next.i73 = add i32 %indvars.iv.i69, -1 ; [#uses = 1]
  %exitcond19.i74 = icmp eq i64 %73, %.structliteral.sroa.3.0.insert.ext.i94 ; [#uses = 1]
  br i1 %exitcond19.i74, label %_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa.exit, label %forbody.i72

bounds.fail.i76:                                  ; preds = %forbody.i72
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len.i66, i64 %.len.i66) #6
  unreachable

default:                                          ; preds = %assertPassed
  %74 = getelementptr inbounds [24 x i8], [24 x i8]* %buffer.i, i64 0, i64 0 ; [#uses = 2, type = i8*]
  call void @llvm.lifetime.start.p0i8(i64 24, i8* nonnull %74)
  %..i = select i1 %letterCase_arg, i32 87, i32 55 ; [#uses = 1]
  br label %dowhile.i

dowhile.i:                                        ; preds = %bounds.ok.i28, %default
  %index.0.i = phi i64 [ 24, %default ], [ %77, %bounds.ok.i28 ] ; [#uses = 2, type = i64]
  %mValue.0.i = phi i32 [ %value_arg, %default ], [ %76, %bounds.ok.i28 ] ; [#uses = 3, type = i32]
  %75 = urem i32 %mValue.0.i, %radix_arg          ; [#uses = 2]
  %76 = udiv i32 %mValue.0.i, %radix_arg          ; [#uses = 1]
  %77 = add nsw i64 %index.0.i, -1                ; [#uses = 4]
  %bounds.cmp.i = icmp ult i64 %77, 24            ; [#uses = 1]
  br i1 %bounds.cmp.i, label %bounds.ok.i28, label %bounds.fail.i29

bounds.ok.i28:                                    ; preds = %dowhile.i
  %78 = and i32 %75, 254                          ; [#uses = 1]
  %79 = icmp ult i32 %78, 10                      ; [#uses = 1]
  %...i = select i1 %79, i32 48, i32 %..i         ; [#uses = 1]
  %80 = add i32 %...i, %75                        ; [#uses = 1]
  %81 = trunc i32 %80 to i8                       ; [#uses = 1]
  %82 = getelementptr inbounds [24 x i8], [24 x i8]* %buffer.i, i64 0, i64 %77 ; [#uses = 1, type = i8*]
  store i8 %81, i8* %82, align 1
  %.not19.i = icmp ult i32 %mValue.0.i, %radix_arg ; [#uses = 1]
  br i1 %.not19.i, label %_D3std4conv__T6toImplTAyaTiZQoFNaNeikEQBk5ascii10LetterCaseZ__T20toStringRadixConvertVmi24ZQBcMFNaNbkZQDc.exit, label %dowhile.i

bounds.fail.i29:                                  ; preds = %dowhile.i
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 1451, i64 -1, i64 24) #6
  unreachable

_D3std4conv__T6toImplTAyaTiZQoFNaNeikEQBk5ascii10LetterCaseZ__T20toStringRadixConvertVmi24ZQBcMFNaNbkZQDc.exit: ; preds = %bounds.ok.i28
  %83 = getelementptr inbounds [24 x i8], [24 x i8]* %buffer.i, i64 0, i64 %77 ; [#uses = 1, type = i8*]
  %84 = sub nuw nsw i64 25, %index.0.i            ; [#uses = 2]
  %85 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %84) #7 ; [#uses = 2]
  %.ptr.i.i.i = extractvalue { i64, i8* } %85, 1  ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i.i.i, i8* nonnull align 1 %83, i64 %84, i1 false) #2
  call void @llvm.lifetime.end.p0i8(i64 24, i8* nonnull %74)
  ret { i64, i8* } %85

assertFailed:                                     ; preds = %andandend
  tail call void @_d_assert_msg({ i64, i8* } { i64 29, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.7, i32 0, i32 0) }, { i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 1431) #6
  unreachable
}

; [#uses = 1]
; Function Attrs: cold noreturn uwtable
declare void @_d_assert_msg({ i64, i8* }, { i64, i8* }, i32) local_unnamed_addr #6

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__TQjTSQr4conv__T7toCharsVii10TaVEQBs5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6ResultZQDkFNaNbNfQDiZAa(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* byval align 4 %r) local_unnamed_addr #1 {
  %__r195 = alloca %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", align 4 ; [#uses = 4, size/byte = 20]
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %r, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %r, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %4 = load i32, i32* %3, align 4                 ; [#uses = 1]
  %5 = sub i32 %2, %4                             ; [#uses = 2]
  %6 = icmp eq i32 %5, 0                          ; [#uses = 1]
  br i1 %6, label %if, label %endif

if:                                               ; preds = %bounds.ok, %endif, %0
  %merge = phi { i64, i8* } [ zeroinitializer, %0 ], [ %8, %endif ], [ %8, %bounds.ok ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge

endif:                                            ; preds = %0
  %7 = zext i32 %5 to i64                         ; [#uses = 1]
  %8 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %7) #7 ; [#uses = 4]
  %.ptr1 = extractvalue { i64, i8* } %8, 1        ; [#uses = 1]
  %.len = extractvalue { i64, i8* } %8, 0         ; [#uses = 3]
  %9 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195 to i8* ; [#uses = 1]
  %10 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %r to i8* ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 4 dereferenceable(20) %9, i8* nonnull align 4 dereferenceable(20) %10, i64 20, i1 false)
  %11 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195, i64 0, i32 1 ; [#uses = 2, type = i32*]
  %12 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195, i64 0, i32 0 ; [#uses = 3, type = i32*]
  %13 = load i32, i32* %11, align 4               ; [#uses = 1]
  %14 = load i32, i32* %12, align 4               ; [#uses = 2]
  %15 = icmp eq i32 %13, %14                      ; [#uses = 1]
  br i1 %15, label %if, label %forbody

forbody:                                          ; preds = %endif, %bounds.ok
  %16 = phi i32 [ %24, %bounds.ok ], [ %14, %endif ] ; [#uses = 3, type = i32]
  %i.014 = phi i64 [ %22, %bounds.ok ], [ 0, %endif ] ; [#uses = 3, type = i64]
  %17 = zext i32 %16 to i64                       ; [#uses = 1]
  %bounds.cmp.i = icmp ult i32 %16, 11            ; [#uses = 1]
  br i1 %bounds.cmp.i, label %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit, label %bounds.fail.i

bounds.fail.i:                                    ; preds = %forbody
  %18 = zext i32 %16 to i64                       ; [#uses = 1]
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5713, i64 %18, i64 11) #6
  unreachable

_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit: ; preds = %forbody
  %exitcond.not = icmp eq i64 %i.014, %.len       ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit
  %19 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %__r195, i64 0, i32 2, i64 %17 ; [#uses = 1, type = i8*]
  %20 = load i8, i8* %19, align 1                 ; [#uses = 1]
  %21 = getelementptr inbounds i8, i8* %.ptr1, i64 %i.014 ; [#uses = 1, type = i8*]
  store i8 %20, i8* %21, align 1
  %22 = add i64 %i.014, 1                         ; [#uses = 1]
  %23 = load i32, i32* %12, align 4               ; [#uses = 1]
  %24 = add i32 %23, 1                            ; [#uses = 3]
  store i32 %24, i32* %12, align 4
  %25 = load i32, i32* %11, align 4               ; [#uses = 1]
  %26 = icmp eq i32 %25, %24                      ; [#uses = 1]
  br i1 %26, label %if, label %forbody

bounds.fail:                                      ; preds = %_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa.exit
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len, i64 %.len) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZSQCsQCr__TQCpVii10TaVQCki1TiZQDiFNaNbNiNfiZ6Result(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* noalias sret align 4 %.sret_arg, i32 %value_arg) local_unnamed_addr #1 {
  %1 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_arg to i8* ; [#uses = 1]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 4 dereferenceable(20) %1, i8 0, i64 20, i1 false)
  tail call void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result10initializeMFNaNbNiNfiZv(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.sret_arg, i32 %value_arg) #1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa(i64 %r_arg) local_unnamed_addr #1 {
  %r.sroa.2.0.extract.shift = lshr i64 %r_arg, 32 ; [#uses = 4]
  %1 = and i64 %r.sroa.2.0.extract.shift, 255     ; [#uses = 2]
  %2 = icmp eq i64 %1, 0                          ; [#uses = 1]
  br i1 %2, label %if, label %endif

if:                                               ; preds = %bounds.ok, %endif, %0
  %merge = phi { i64, i8* } [ zeroinitializer, %0 ], [ %3, %endif ], [ %3, %bounds.ok ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge

endif:                                            ; preds = %0
  %3 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %1) #7 ; [#uses = 4]
  %.ptr1 = extractvalue { i64, i8* } %3, 1        ; [#uses = 1]
  %.len = extractvalue { i64, i8* } %3, 0         ; [#uses = 3]
  %__r201.sroa.0.0.extract.trunc = trunc i64 %r_arg to i32 ; [#uses = 1]
  %__r201.sroa.2.0.extract.trunc = trunc i64 %r.sroa.2.0.extract.shift to i8 ; [#uses = 1]
  %4 = icmp eq i8 %__r201.sroa.2.0.extract.trunc, 0 ; [#uses = 1]
  br i1 %4, label %if, label %forbody.preheader

forbody.preheader:                                ; preds = %endif
  %5 = trunc i64 %r.sroa.2.0.extract.shift to i32 ; [#uses = 1]
  %6 = and i32 %5, 255                            ; [#uses = 1]
  %wide.trip.count = and i64 %r.sroa.2.0.extract.shift, 255 ; [#uses = 1]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %bounds.ok
  %indvars.iv = phi i32 [ %6, %forbody.preheader ], [ %indvars.iv.next, %bounds.ok ] ; [#uses = 2, type = i32]
  %i.017 = phi i64 [ 0, %forbody.preheader ], [ %16, %bounds.ok ] ; [#uses = 3, type = i64]
  %7 = shl nuw nsw i32 %indvars.iv, 2             ; [#uses = 1]
  %8 = add nsw i32 %7, -4                         ; [#uses = 1]
  %9 = lshr i32 %__r201.sroa.0.0.extract.trunc, %8 ; [#uses = 1]
  %10 = and i32 %9, 15                            ; [#uses = 2]
  %11 = trunc i32 %10 to i8                       ; [#uses = 2]
  %exitcond.not = icmp eq i64 %i.017, %.len       ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %forbody
  %12 = icmp ult i32 %10, 10                      ; [#uses = 1]
  %13 = or i8 %11, 48                             ; [#uses = 1]
  %14 = add nuw nsw i8 %11, 55                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i.i = select i1 %12, i8 %13, i8 %14 ; [#uses = 1]
  %15 = getelementptr inbounds i8, i8* %.ptr1, i64 %i.017 ; [#uses = 1, type = i8*]
  store i8 %condtmp.0.sroa.speculated.i.i, i8* %15, align 1
  %16 = add nuw nsw i64 %i.017, 1                 ; [#uses = 2]
  %indvars.iv.next = add i32 %indvars.iv, -1      ; [#uses = 1]
  %exitcond19 = icmp eq i64 %16, %wide.trip.count ; [#uses = 1]
  br i1 %exitcond19, label %if, label %forbody

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len, i64 %.len) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki0TkZQDiFNaNbNiNfkZ6Result(i32 %value_arg) local_unnamed_addr #1 {
  br label %forcond.i

forcond.i:                                        ; preds = %forcond.i, %0
  %value.0.i = phi i32 [ %value_arg, %0 ], [ %1, %forcond.i ] ; [#uses = 1, type = i32]
  %len.0.i = phi i8 [ 1, %0 ], [ %2, %forcond.i ] ; [#uses = 2, type = i8]
  %1 = lshr i32 %value.0.i, 4                     ; [#uses = 2]
  %.not.i = icmp eq i32 %1, 0                     ; [#uses = 1]
  %2 = add nuw nsw i8 %len.0.i, 1                 ; [#uses = 1]
  br i1 %.not.i, label %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi0TkZQEkFNaNbNiNfkZQCt.exit, label %forcond.i

_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi0TkZQEkFNaNbNiNfkZQCt.exit: ; preds = %forcond.i
  %.structliteral.sroa.3.0.insert.ext = zext i8 %len.0.i to i64 ; [#uses = 1]
  %.structliteral.sroa.3.0.insert.shift = shl nuw nsw i64 %.structliteral.sroa.3.0.insert.ext, 32 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.ext = zext i32 %value_arg to i64 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.insert = or i64 %.structliteral.sroa.3.0.insert.shift, %.structliteral.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %.structliteral.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std4conv__T8unsignedTkZQmFNaNbNiNfkZk(i32 %x_arg) local_unnamed_addr #1 {
  ret i32 %x_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std4conv__T8unsignedTiZQmFNaNbNiNfiZk(i32 %x_arg) local_unnamed_addr #1 {
  ret i32 %x_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__TQjTSQr4conv__T7toCharsVii16TaVEQBs5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6ResultZQDkFNaNbNfQDiZAa(i64 %r_arg) local_unnamed_addr #1 {
  %r.sroa.2.0.extract.shift = lshr i64 %r_arg, 32 ; [#uses = 4]
  %1 = and i64 %r.sroa.2.0.extract.shift, 255     ; [#uses = 2]
  %2 = icmp eq i64 %1, 0                          ; [#uses = 1]
  br i1 %2, label %if, label %endif

if:                                               ; preds = %bounds.ok, %endif, %0
  %merge = phi { i64, i8* } [ zeroinitializer, %0 ], [ %3, %endif ], [ %3, %bounds.ok ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge

endif:                                            ; preds = %0
  %3 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %1) #7 ; [#uses = 4]
  %.ptr1 = extractvalue { i64, i8* } %3, 1        ; [#uses = 1]
  %.len = extractvalue { i64, i8* } %3, 0         ; [#uses = 3]
  %__r206.sroa.0.0.extract.trunc = trunc i64 %r_arg to i32 ; [#uses = 1]
  %__r206.sroa.2.0.extract.trunc = trunc i64 %r.sroa.2.0.extract.shift to i8 ; [#uses = 1]
  %4 = icmp eq i8 %__r206.sroa.2.0.extract.trunc, 0 ; [#uses = 1]
  br i1 %4, label %if, label %forbody.preheader

forbody.preheader:                                ; preds = %endif
  %5 = trunc i64 %r.sroa.2.0.extract.shift to i32 ; [#uses = 1]
  %6 = and i32 %5, 255                            ; [#uses = 1]
  %wide.trip.count = and i64 %r.sroa.2.0.extract.shift, 255 ; [#uses = 1]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %bounds.ok
  %indvars.iv = phi i32 [ %6, %forbody.preheader ], [ %indvars.iv.next, %bounds.ok ] ; [#uses = 2, type = i32]
  %i.017 = phi i64 [ 0, %forbody.preheader ], [ %16, %bounds.ok ] ; [#uses = 3, type = i64]
  %7 = shl nuw nsw i32 %indvars.iv, 2             ; [#uses = 1]
  %8 = add nsw i32 %7, -4                         ; [#uses = 1]
  %9 = lshr i32 %__r206.sroa.0.0.extract.trunc, %8 ; [#uses = 1]
  %10 = and i32 %9, 15                            ; [#uses = 2]
  %11 = trunc i32 %10 to i8                       ; [#uses = 2]
  %exitcond.not = icmp eq i64 %i.017, %.len       ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %forbody
  %12 = icmp ult i32 %10, 10                      ; [#uses = 1]
  %13 = or i8 %11, 48                             ; [#uses = 1]
  %14 = add nuw nsw i8 %11, 87                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i.i = select i1 %12, i8 %13, i8 %14 ; [#uses = 1]
  %15 = getelementptr inbounds i8, i8* %.ptr1, i64 %i.017 ; [#uses = 1, type = i8*]
  store i8 %condtmp.0.sroa.speculated.i.i, i8* %15, align 1
  %16 = add nuw nsw i64 %i.017, 1                 ; [#uses = 2]
  %indvars.iv.next = add i32 %indvars.iv, -1      ; [#uses = 1]
  %exitcond19 = icmp eq i64 %16, %wide.trip.count ; [#uses = 1]
  br i1 %exitcond19, label %if, label %forbody

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len, i64 %.len) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZSQCsQCr__TQCpVii16TaVQCki1TkZQDiFNaNbNiNfkZ6Result(i32 %value_arg) local_unnamed_addr #1 {
  br label %forcond.i

forcond.i:                                        ; preds = %forcond.i, %0
  %value.0.i = phi i32 [ %value_arg, %0 ], [ %1, %forcond.i ] ; [#uses = 1, type = i32]
  %len.0.i = phi i8 [ 1, %0 ], [ %2, %forcond.i ] ; [#uses = 2, type = i8]
  %1 = lshr i32 %value.0.i, 4                     ; [#uses = 2]
  %.not.i = icmp eq i32 %1, 0                     ; [#uses = 1]
  %2 = add nuw nsw i8 %len.0.i, 1                 ; [#uses = 1]
  br i1 %.not.i, label %_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi1TkZQEkFNaNbNiNfkZQCt.exit, label %forcond.i

_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi1TkZQEkFNaNbNiNfkZQCt.exit: ; preds = %forcond.i
  %.structliteral.sroa.3.0.insert.ext = zext i8 %len.0.i to i64 ; [#uses = 1]
  %.structliteral.sroa.3.0.insert.shift = shl nuw nsw i64 %.structliteral.sroa.3.0.insert.ext, 32 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.ext = zext i32 %value_arg to i64 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.insert = or i64 %.structliteral.sroa.3.0.insert.shift, %.structliteral.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %.structliteral.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__TQjTSQr4conv__T7toCharsVii2TaVEQBr5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6ResultZQDjFNaNbNfQDhZAa(i64 %r_arg) local_unnamed_addr #1 {
  %r.sroa.2.0.extract.shift = lshr i64 %r_arg, 32 ; [#uses = 4]
  %1 = and i64 %r.sroa.2.0.extract.shift, 255     ; [#uses = 2]
  %2 = icmp eq i64 %1, 0                          ; [#uses = 1]
  br i1 %2, label %if, label %endif

if:                                               ; preds = %bounds.ok, %endif, %0
  %merge = phi { i64, i8* } [ zeroinitializer, %0 ], [ %3, %endif ], [ %3, %bounds.ok ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge

endif:                                            ; preds = %0
  %3 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %1) #7 ; [#uses = 4]
  %.ptr1 = extractvalue { i64, i8* } %3, 1        ; [#uses = 1]
  %.len = extractvalue { i64, i8* } %3, 0         ; [#uses = 3]
  %__r211.sroa.0.0.extract.trunc = trunc i64 %r_arg to i32 ; [#uses = 1]
  %__r211.sroa.2.0.extract.trunc = trunc i64 %r.sroa.2.0.extract.shift to i8 ; [#uses = 1]
  %4 = icmp eq i8 %__r211.sroa.2.0.extract.trunc, 0 ; [#uses = 1]
  br i1 %4, label %if, label %forbody.preheader

forbody.preheader:                                ; preds = %endif
  %5 = trunc i64 %r.sroa.2.0.extract.shift to i32 ; [#uses = 1]
  %6 = and i32 %5, 255                            ; [#uses = 1]
  %wide.trip.count = and i64 %r.sroa.2.0.extract.shift, 255 ; [#uses = 1]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %bounds.ok
  %indvars.iv = phi i32 [ %6, %forbody.preheader ], [ %7, %bounds.ok ] ; [#uses = 1, type = i32]
  %i.017 = phi i64 [ 0, %forbody.preheader ], [ %13, %bounds.ok ] ; [#uses = 3, type = i64]
  %exitcond.not = icmp eq i64 %i.017, %.len       ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %forbody
  %7 = add i32 %indvars.iv, -1                    ; [#uses = 2]
  %8 = lshr i32 %__r211.sroa.0.0.extract.trunc, %7 ; [#uses = 1]
  %9 = trunc i32 %8 to i8                         ; [#uses = 1]
  %10 = and i8 %9, 1                              ; [#uses = 1]
  %11 = or i8 %10, 48                             ; [#uses = 1]
  %12 = getelementptr inbounds i8, i8* %.ptr1, i64 %i.017 ; [#uses = 1, type = i8*]
  store i8 %11, i8* %12, align 1
  %13 = add nuw nsw i64 %i.017, 1                 ; [#uses = 2]
  %exitcond19 = icmp eq i64 %13, %wide.trip.count ; [#uses = 1]
  br i1 %exitcond19, label %if, label %forbody

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len, i64 %.len) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii2TaVQCji1TkZQDgFNaNbNiNfkZ6Result(i32 %value_arg) local_unnamed_addr #1 {
  %1 = lshr i32 %value_arg, 1                     ; [#uses = 1]
  %2 = tail call i32 @llvm.ctlz.i32(i32 %1, i1 false), !range !11 ; [#uses = 1]
  %narrow = sub nuw nsw i32 33, %2                ; [#uses = 1]
  %.structliteral.sroa.3.0.insert.ext = zext i32 %narrow to i64 ; [#uses = 1]
  %.structliteral.sroa.3.0.insert.shift = shl nuw nsw i64 %.structliteral.sroa.3.0.insert.ext, 32 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.ext = zext i32 %value_arg to i64 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.insert = or i64 %.structliteral.sroa.3.0.insert.shift, %.structliteral.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %.structliteral.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__TQjTSQr4conv__T7toCharsVii8TaVEQBr5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6ResultZQDjFNaNbNfQDhZAa(i64 %r_arg) local_unnamed_addr #1 {
  %r.sroa.2.0.extract.shift = lshr i64 %r_arg, 32 ; [#uses = 4]
  %1 = and i64 %r.sroa.2.0.extract.shift, 255     ; [#uses = 2]
  %2 = icmp eq i64 %1, 0                          ; [#uses = 1]
  br i1 %2, label %if, label %endif

if:                                               ; preds = %bounds.ok, %endif, %0
  %merge = phi { i64, i8* } [ zeroinitializer, %0 ], [ %3, %endif ], [ %3, %bounds.ok ] ; [#uses = 1, type = { i64, i8* }]
  ret { i64, i8* } %merge

endif:                                            ; preds = %0
  %3 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %1) #7 ; [#uses = 4]
  %.ptr1 = extractvalue { i64, i8* } %3, 1        ; [#uses = 1]
  %.len = extractvalue { i64, i8* } %3, 0         ; [#uses = 3]
  %__r216.sroa.0.0.extract.trunc = trunc i64 %r_arg to i32 ; [#uses = 1]
  %__r216.sroa.2.0.extract.trunc = trunc i64 %r.sroa.2.0.extract.shift to i8 ; [#uses = 1]
  %4 = icmp eq i8 %__r216.sroa.2.0.extract.trunc, 0 ; [#uses = 1]
  br i1 %4, label %if, label %forbody.preheader

forbody.preheader:                                ; preds = %endif
  %5 = trunc i64 %r.sroa.2.0.extract.shift to i32 ; [#uses = 1]
  %6 = and i32 %5, 255                            ; [#uses = 1]
  %wide.trip.count = and i64 %r.sroa.2.0.extract.shift, 255 ; [#uses = 1]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %bounds.ok
  %indvars.iv = phi i32 [ %6, %forbody.preheader ], [ %indvars.iv.next, %bounds.ok ] ; [#uses = 2, type = i32]
  %i.017 = phi i64 [ 0, %forbody.preheader ], [ %14, %bounds.ok ] ; [#uses = 3, type = i64]
  %exitcond.not = icmp eq i64 %i.017, %.len       ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %forbody
  %7 = mul nuw nsw i32 %indvars.iv, 3             ; [#uses = 1]
  %8 = add nsw i32 %7, -3                         ; [#uses = 1]
  %9 = lshr i32 %__r216.sroa.0.0.extract.trunc, %8 ; [#uses = 1]
  %10 = trunc i32 %9 to i8                        ; [#uses = 1]
  %11 = and i8 %10, 7                             ; [#uses = 1]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  %13 = getelementptr inbounds i8, i8* %.ptr1, i64 %i.017 ; [#uses = 1, type = i8*]
  store i8 %12, i8* %13, align 1
  %14 = add nuw nsw i64 %i.017, 1                 ; [#uses = 2]
  %indvars.iv.next = add i32 %indvars.iv, -1      ; [#uses = 1]
  %exitcond19 = icmp eq i64 %14, %wide.trip.count ; [#uses = 1]
  br i1 %exitcond19, label %if, label %forbody

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i32 0, i32 0) }, i32 132, i64 %.len, i64 %.len) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZSQCrQCq__TQCoVii8TaVQCji1TkZQDgFNaNbNiNfkZ6Result(i32 %value_arg) local_unnamed_addr #1 {
  br label %forcond.i

forcond.i:                                        ; preds = %forcond.i, %0
  %value.0.i = phi i32 [ %value_arg, %0 ], [ %1, %forcond.i ] ; [#uses = 1, type = i32]
  %len.0.i = phi i8 [ 1, %0 ], [ %2, %forcond.i ] ; [#uses = 2, type = i8]
  %1 = lshr i32 %value.0.i, 3                     ; [#uses = 2]
  %.not.i = icmp eq i32 %1, 0                     ; [#uses = 1]
  %2 = add nuw nsw i8 %len.0.i, 1                 ; [#uses = 1]
  br i1 %.not.i, label %_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDtQDs__TQDqVii8TaVQDli1TkZQEiFNaNbNiNfkZQCs.exit, label %forcond.i

_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDtQDs__TQDqVii8TaVQDli1TkZQEiFNaNbNiNfkZQCs.exit: ; preds = %forcond.i
  %.structliteral.sroa.3.0.insert.ext = zext i8 %len.0.i to i64 ; [#uses = 1]
  %.structliteral.sroa.3.0.insert.shift = shl nuw nsw i64 %.structliteral.sroa.3.0.insert.ext, 32 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.ext = zext i32 %value_arg to i64 ; [#uses = 1]
  %.structliteral.sroa.0.0.insert.insert = or i64 %.structliteral.sroa.3.0.insert.shift, %.structliteral.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %.structliteral.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T6toImplTAyaTiZQoFNaNeikEQBk5ascii10LetterCaseZ__T20toStringRadixConvertVmi24ZQBcMFNaNbkZQDc(i8* nonnull %.nest_arg, i32 %runtimeRadix_arg) local_unnamed_addr #1 {
condend:
  %buffer = alloca [24 x i8], align 1             ; [#uses = 2, size/byte = 24]
  %value = bitcast i8* %.nest_arg to i32*         ; [#uses = 1]
  %0 = load i32, i32* %value, align 4             ; [#uses = 1]
  %1 = getelementptr inbounds i8, i8* %.nest_arg, i64 4 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1, !range !12       ; [#uses = 1]
  %.not = icmp eq i8 %2, 0                        ; [#uses = 1]
  %. = select i1 %.not, i32 55, i32 87            ; [#uses = 1]
  br label %dowhile

dowhile:                                          ; preds = %bounds.ok, %condend
  %index.0 = phi i64 [ 24, %condend ], [ %5, %bounds.ok ] ; [#uses = 2, type = i64]
  %mValue.0 = phi i32 [ %0, %condend ], [ %4, %bounds.ok ] ; [#uses = 3, type = i32]
  %3 = urem i32 %mValue.0, %runtimeRadix_arg      ; [#uses = 2]
  %4 = udiv i32 %mValue.0, %runtimeRadix_arg      ; [#uses = 1]
  %5 = add nsw i64 %index.0, -1                   ; [#uses = 4]
  %bounds.cmp = icmp ult i64 %5, 24               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %dowhile
  %6 = and i32 %3, 254                            ; [#uses = 1]
  %7 = icmp ult i32 %6, 10                        ; [#uses = 1]
  %.. = select i1 %7, i32 48, i32 %.              ; [#uses = 1]
  %8 = add i32 %.., %3                            ; [#uses = 1]
  %9 = trunc i32 %8 to i8                         ; [#uses = 1]
  %10 = getelementptr inbounds [24 x i8], [24 x i8]* %buffer, i64 0, i64 %5 ; [#uses = 1, type = i8*]
  store i8 %9, i8* %10, align 1
  %.not19 = icmp ult i32 %mValue.0, %runtimeRadix_arg ; [#uses = 1]
  br i1 %.not19, label %bounds.ok8, label %dowhile

bounds.fail:                                      ; preds = %dowhile
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 1451, i64 -1, i64 24) #6
  unreachable

bounds.ok8:                                       ; preds = %bounds.ok
  %11 = getelementptr inbounds [24 x i8], [24 x i8]* %buffer, i64 0, i64 %5 ; [#uses = 1, type = i8*]
  %12 = sub nuw nsw i64 25, %index.0              ; [#uses = 2]
  %13 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %12) #7 ; [#uses = 2]
  %.ptr.i.i = extractvalue { i64, i8* } %13, 1    ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i.i, i8* nonnull align 1 %11, i64 %12, i1 false) #2
  ret { i64, i8* } %13
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result10initializeMFNaNbNiNfiZv(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg, i32 %value_arg) local_unnamed_addr #1 {
  %1 = icmp slt i32 %value_arg, 10                ; [#uses = 1]
  br i1 %1, label %if, label %forbody.preheader

if:                                               ; preds = %0
  %2 = icmp sgt i32 %value_arg, -1                ; [#uses = 1]
  br i1 %2, label %if1, label %endif

if1:                                              ; preds = %if
  %3 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 0, i32* %3, align 4
  %4 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  store i32 1, i32* %4, align 4
  %5 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 0 ; [#uses = 1, type = i8*]
  %6 = trunc i32 %value_arg to i8                 ; [#uses = 1]
  %7 = add nuw nsw i8 %6, 48                      ; [#uses = 1]
  store i8 %7, i8* %5, align 1
  ret void

endif:                                            ; preds = %if
  %negval = sub i32 0, %value_arg                 ; [#uses = 3]
  %8 = icmp ugt i32 %negval, 9                    ; [#uses = 1]
  br i1 %8, label %forbody.preheader, label %if6.thread

if6.thread:                                       ; preds = %endif
  %9 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 10 ; [#uses = 1, type = i8*]
  %10 = trunc i32 %negval to i8                   ; [#uses = 1]
  %11 = add nuw nsw i8 %10, 48                    ; [#uses = 1]
  store i8 %11, i8* %9, align 1
  br label %bounds.ok9

forbody.preheader:                                ; preds = %0, %endif
  %neg.044 = phi i1 [ true, %endif ], [ false, %0 ] ; [#uses = 1, type = i1]
  %value.042 = phi i32 [ %negval, %endif ], [ %value_arg, %0 ] ; [#uses = 1, type = i32]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %bounds.ok
  %bounds.cmp30 = phi i1 [ %bounds.cmp, %bounds.ok ], [ true, %forbody.preheader ] ; [#uses = 1, type = i1]
  %12 = phi i64 [ %20, %bounds.ok ], [ 10, %forbody.preheader ] ; [#uses = 2, type = i64]
  %i.029 = phi i32 [ %18, %bounds.ok ], [ 10, %forbody.preheader ] ; [#uses = 2, type = i32]
  %value.128 = phi i32 [ %17, %bounds.ok ], [ %value.042, %forbody.preheader ] ; [#uses = 3, type = i32]
  br i1 %bounds.cmp30, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %forbody
  %13 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %12 ; [#uses = 1, type = i8*]
  %14 = urem i32 %value.128, 10                   ; [#uses = 1]
  %15 = trunc i32 %14 to i8                       ; [#uses = 1]
  %16 = or i8 %15, 48                             ; [#uses = 1]
  store i8 %16, i8* %13, align 1
  %17 = udiv i32 %value.128, 10                   ; [#uses = 2]
  %18 = add nsw i32 %i.029, -1                    ; [#uses = 5]
  %19 = icmp ugt i32 %value.128, 99               ; [#uses = 1]
  %20 = zext i32 %18 to i64                       ; [#uses = 1]
  %bounds.cmp = icmp ult i32 %18, 11              ; [#uses = 2]
  br i1 %19, label %forbody, label %endfor

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5693, i64 %12, i64 11) #6
  unreachable

endfor:                                           ; preds = %bounds.ok
  %21 = zext i32 %18 to i64                       ; [#uses = 2]
  br i1 %bounds.cmp, label %bounds.ok4, label %bounds.fail5

bounds.ok4:                                       ; preds = %endfor
  %22 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %21 ; [#uses = 1, type = i8*]
  %23 = trunc i32 %17 to i8                       ; [#uses = 1]
  %24 = add nuw nsw i8 %23, 48                    ; [#uses = 1]
  store i8 %24, i8* %22, align 1
  br i1 %neg.044, label %if6, label %endif7

if6:                                              ; preds = %bounds.ok4
  %25 = add nsw i32 %i.029, -2                    ; [#uses = 3]
  %26 = zext i32 %25 to i64                       ; [#uses = 2]
  %bounds.cmp8 = icmp ult i32 %25, 11             ; [#uses = 1]
  br i1 %bounds.cmp8, label %bounds.ok9, label %bounds.fail10

bounds.ok9:                                       ; preds = %if6.thread, %if6
  %27 = phi i64 [ 9, %if6.thread ], [ %26, %if6 ] ; [#uses = 1, type = i64]
  %28 = phi i32 [ 9, %if6.thread ], [ %25, %if6 ] ; [#uses = 1, type = i32]
  %29 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %27 ; [#uses = 1, type = i8*]
  store i8 45, i8* %29, align 1
  br label %endif7

bounds.fail10:                                    ; preds = %if6
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5700, i64 %26, i64 11) #6
  unreachable

endif7:                                           ; preds = %bounds.ok9, %bounds.ok4
  %i.1 = phi i32 [ %28, %bounds.ok9 ], [ %18, %bounds.ok4 ] ; [#uses = 1, type = i32]
  %30 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 %i.1, i32* %30, align 4
  %31 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  store i32 11, i32* %31, align 4
  ret void

bounds.fail5:                                     ; preds = %endfor
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5697, i64 %21, i64 11) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result6lengthMFNaNbNdNiNfZm(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %4 = load i32, i32* %3, align 4                 ; [#uses = 1]
  %5 = sub i32 %2, %4                             ; [#uses = 1]
  %6 = zext i32 %5 to i64                         ; [#uses = 1]
  ret i64 %6
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5emptyMFNaNbNdNiNfZb(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %3 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %4 = load i32, i32* %2, align 4                 ; [#uses = 1]
  %5 = icmp eq i32 %3, %4                         ; [#uses = 1]
  ret i1 %5
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result5frontMFNaNbNdNiNfZa(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 2]
  %3 = zext i32 %2 to i64                         ; [#uses = 2]
  %bounds.cmp = icmp ult i32 %2, 11               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %0
  %4 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %3 ; [#uses = 1, type = i8*]
  %5 = load i8, i8* %4, align 1                   ; [#uses = 1]
  ret i8 %5

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5713, i64 %3, i64 11) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result8popFrontMFNaNbNiNfZv(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = add i32 %2, 1                              ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result4backMFNaNbNdNiNfZa(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = add i32 %2, -1                             ; [#uses = 2]
  %4 = zext i32 %3 to i64                         ; [#uses = 2]
  %bounds.cmp = icmp ult i32 %3, 11               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %0
  %5 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %4 ; [#uses = 1, type = i8*]
  %6 = load i8, i8* %5, align 1                   ; [#uses = 1]
  ret i8 %6

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5717, i64 %4, i64 11) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result7popBackMFNaNbNiNfZv(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = add i32 %2, -1                             ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result4saveMFNaNbNdNiNfZSQDrQDq__TQDoVii10TaVQDji1TiZQEhFNaNbNiNfiZQCq(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* noalias sret align 4 %.sret_arg, %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_arg to i8* ; [#uses = 1]
  %2 = bitcast %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg to i8* ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 4 dereferenceable(20) %1, i8* nonnull align 1 dereferenceable(20) %2, i64 20, i1 false)
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result7opIndexMFNaNbNiNfmZa(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg, i64 %i_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = zext i32 %2 to i64                         ; [#uses = 1]
  %4 = add i64 %3, %i_arg                         ; [#uses = 3]
  %bounds.cmp = icmp ult i64 %4, 11               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %0
  %5 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 %4 ; [#uses = 1, type = i8*]
  %6 = load i8, i8* %5, align 1                   ; [#uses = 1]
  ret i8 %6

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i32 0, i32 0) }, i32 5723, i64 %4, i64 11) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZ6Result7opSliceMFNaNbNiNfmmZSQDuQDt__TQDrVii10TaVQDmi1TiZQEkFNaNbNiNfiZQCt(%"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* noalias sret align 4 %.sret_arg, %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* nonnull %.this_arg, i64 %upr_arg, i64 %lwr_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_arg, i64 0, i32 2, i64 0 ; [#uses = 1, type = i8*]
  %2 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 2, i64 0 ; [#uses = 1, type = i8*]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 4 dereferenceable(11) %1, i8* nonnull align 1 dereferenceable(11) %2, i64 11, i1 false)
  %3 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %4 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %5 = load i32, i32* %4, align 4                 ; [#uses = 2]
  %6 = trunc i64 %lwr_arg to i32                  ; [#uses = 1]
  %7 = add i32 %5, %6                             ; [#uses = 1]
  store i32 %7, i32* %3, align 4
  %8 = getelementptr inbounds %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result", %"std.conv.toChars!(10, char, LetterCase.lower, int).toChars.Result"* %.sret_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %9 = trunc i64 %upr_arg to i32                  ; [#uses = 1]
  %10 = add i32 %5, %9                            ; [#uses = 1]
  store i32 %10, i32* %8, align 4
  ret void
}

; [#uses = 6]
; Function Attrs: argmemonly nounwind willreturn writeonly
declare void @llvm.memset.p0i8.i64(i8* nocapture writeonly, i8, i64, i1 immarg) #8

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T18uninitializedArrayTAaTmZQBaFNaNbNemZQr(i64 %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %_param_0_arg) #7 ; [#uses = 1]
  ret { i64, i8* } %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D4core8internal8lifetime__T10emplaceRefTaTaTaZQtFNaNbNiNfKaKaZv(i8* dereferenceable(1) %_param_1, i8* dereferenceable(1) %chunk) local_unnamed_addr #1 {
  store i8 -1, i8* %chunk, align 1
  %1 = load i8, i8* %_param_1, align 1            ; [#uses = 1]
  store i8 %1, i8* %chunk, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T14arrayAllocImplVbi0TAaTmZQBaFNaNbmZQp(i64 %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %_param_0_arg) #7 ; [#uses = 1]
  ret { i64, i8* } %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D4core8internal8lifetime__T18emplaceInitializerTSQBwQBuQBo__T10emplaceRefTaTaTaZQtFKaKaZ1SZQCmFNaNbNiNeKQCeZv(%"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* dereferenceable(1) %chunk) local_unnamed_addr #1 {
  %.structliteral.sroa.0.0..sroa_idx = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* %chunk, i64 0, i32 0 ; [#uses = 1, type = i8*]
  store i8 -1, i8* %.structliteral.sroa.0.0..sroa_idx, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* @_D4core8internal8lifetime__T10emplaceRefTaTaTaZQtFKaKaZ1S__T6__ctorZQiMFNaNbNcNiNfKaZSQDgQDeQCy__TQCsTaTaTaZQDcFKaKaZQCk(%"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* nonnull returned %.this_arg, i8* dereferenceable(1) %_param_0) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %_param_0, align 1            ; [#uses = 1]
  store i8 %2, i8* %1, align 1
  ret %"core.internal.lifetime.emplaceRef!(char, char, char).emplaceRef.S"* %.this_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi0TkZQEkFNaNbNiNfkZQCt(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull returned %.this_arg, i32 %value_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 %value_arg, i32* %1, align 4
  br label %forcond

forcond:                                          ; preds = %forcond, %0
  %value.0 = phi i32 [ %value_arg, %0 ], [ %2, %forcond ] ; [#uses = 1, type = i32]
  %len.0 = phi i8 [ 1, %0 ], [ %3, %forcond ]     ; [#uses = 2, type = i8]
  %2 = lshr i32 %value.0, 4                       ; [#uses = 2]
  %.not = icmp eq i32 %2, 0                       ; [#uses = 1]
  %3 = add nuw nsw i8 %len.0, 1                   ; [#uses = 1]
  br i1 %.not, label %endfor, label %forcond

endfor:                                           ; preds = %forcond
  %4 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  store i8 %len.0, i8* %4, align 1
  ret %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result6lengthMFNaNbNdNiNfZm(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i64                          ; [#uses = 1]
  ret i64 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result5emptyMFNaNbNdNiNfZb(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = icmp eq i8 %2, 0                           ; [#uses = 1]
  ret i1 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result5frontMFNaNbNdNiNfZa(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i32                          ; [#uses = 1]
  %6 = shl nuw nsw i32 %5, 2                      ; [#uses = 1]
  %7 = add nsw i32 %6, -4                         ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = and i32 %8, 15                             ; [#uses = 2]
  %10 = icmp ult i32 %9, 10                       ; [#uses = 1]
  %11 = trunc i32 %9 to i8                        ; [#uses = 2]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  %13 = add nuw nsw i8 %11, 55                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i = select i1 %10, i8 %12, i8 %13 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result7opIndexMFNaNbNiNfmZa(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg, i64 %i_arg) local_unnamed_addr #1 {
condend:
  %0 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %1 = load i32, i32* %0, align 4                 ; [#uses = 1]
  %2 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %3 = load i8, i8* %2, align 1                   ; [#uses = 1]
  %4 = zext i8 %3 to i64                          ; [#uses = 1]
  %5 = xor i64 %i_arg, 1073741823                 ; [#uses = 1]
  %6 = add i64 %5, %4                             ; [#uses = 1]
  %.tr = trunc i64 %6 to i32                      ; [#uses = 1]
  %7 = shl i32 %.tr, 2                            ; [#uses = 1]
  %8 = lshr i32 %1, %7                            ; [#uses = 1]
  %9 = and i32 %8, 15                             ; [#uses = 2]
  %10 = icmp ult i32 %9, 10                       ; [#uses = 1]
  %11 = trunc i32 %9 to i8                        ; [#uses = 2]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  %13 = add nuw nsw i8 %11, 55                    ; [#uses = 1]
  %condtmp.0.sroa.speculated = select i1 %10, i8 %12, i8 %13 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result8popFrontMFNaNbNiNfZv(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = add i8 %2, -1                              ; [#uses = 1]
  store i8 %3, i8* %1, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result4backMFNaNbNdNiNfZa(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i32                          ; [#uses = 2]
  %4 = add nuw nsw i32 %3, 1073741823             ; [#uses = 1]
  %5 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %6 = load i32, i32* %5, align 4                 ; [#uses = 1]
  %7 = xor i32 %4, 1073741823                     ; [#uses = 1]
  %8 = add nuw i32 %7, %3                         ; [#uses = 1]
  %9 = shl i32 %8, 2                              ; [#uses = 1]
  %10 = lshr i32 %6, %9                           ; [#uses = 1]
  %11 = and i32 %10, 15                           ; [#uses = 2]
  %12 = icmp ult i32 %11, 10                      ; [#uses = 1]
  %13 = trunc i32 %11 to i8                       ; [#uses = 2]
  %14 = or i8 %13, 48                             ; [#uses = 1]
  %15 = add nuw nsw i8 %13, 55                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i = select i1 %12, i8 %14, i8 %15 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result7popBackMFNaNbNiNfZv(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = lshr i32 %2, 4                             ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  %4 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %5 = load i8, i8* %4, align 1                   ; [#uses = 1]
  %6 = add i8 %5, -1                              ; [#uses = 1]
  store i8 %6, i8* %4, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result4saveMFNaNbNdNiNfZSQDrQDq__TQDoVii16TaVQDji0TkZQEhFNaNbNiNfkZQCq(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast = bitcast %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg to i64* ; [#uses = 1]
  %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload = load i64, i64* %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast, align 1 ; [#uses = 1]
  ret i64 %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei0TkZQBrFNaNbNiNfkZ6Result7opSliceMFNaNbNiNfmmZSQDuQDt__TQDrVii16TaVQDmi0TkZQEkFNaNbNiNfkZQCt(%"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* nonnull %.this_arg, i64 %upr_arg, i64 %lwr_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.upper, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = sub i64 %5, %upr_arg                       ; [#uses = 1]
  %.tr = trunc i64 %6 to i32                      ; [#uses = 1]
  %7 = shl i32 %.tr, 2                            ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = sub i64 %upr_arg, %lwr_arg                 ; [#uses = 1]
  %result.sroa.2.0.insert.ext = shl i64 %9, 32    ; [#uses = 1]
  %result.sroa.2.0.insert.shift = and i64 %result.sroa.2.0.insert.ext, 1095216660480 ; [#uses = 1]
  %result.sroa.0.0.insert.ext = zext i32 %8 to i64 ; [#uses = 1]
  %result.sroa.0.0.insert.insert = or i64 %result.sroa.2.0.insert.shift, %result.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %result.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDuQDt__TQDrVii16TaVQDmi1TkZQEkFNaNbNiNfkZQCt(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull returned %.this_arg, i32 %value_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 %value_arg, i32* %1, align 4
  br label %forcond

forcond:                                          ; preds = %forcond, %0
  %value.0 = phi i32 [ %value_arg, %0 ], [ %2, %forcond ] ; [#uses = 1, type = i32]
  %len.0 = phi i8 [ 1, %0 ], [ %3, %forcond ]     ; [#uses = 2, type = i8]
  %2 = lshr i32 %value.0, 4                       ; [#uses = 2]
  %.not = icmp eq i32 %2, 0                       ; [#uses = 1]
  %3 = add nuw nsw i8 %len.0, 1                   ; [#uses = 1]
  br i1 %.not, label %endfor, label %forcond

endfor:                                           ; preds = %forcond
  %4 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  store i8 %len.0, i8* %4, align 1
  ret %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result6lengthMFNaNbNdNiNfZm(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i64                          ; [#uses = 1]
  ret i64 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result5emptyMFNaNbNdNiNfZb(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = icmp eq i8 %2, 0                           ; [#uses = 1]
  ret i1 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result5frontMFNaNbNdNiNfZa(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i32                          ; [#uses = 1]
  %6 = shl nuw nsw i32 %5, 2                      ; [#uses = 1]
  %7 = add nsw i32 %6, -4                         ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = and i32 %8, 15                             ; [#uses = 2]
  %10 = icmp ult i32 %9, 10                       ; [#uses = 1]
  %11 = trunc i32 %9 to i8                        ; [#uses = 2]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  %13 = add nuw nsw i8 %11, 87                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i = select i1 %10, i8 %12, i8 %13 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result7opIndexMFNaNbNiNfmZa(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %i_arg) local_unnamed_addr #1 {
condend:
  %0 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %1 = load i32, i32* %0, align 4                 ; [#uses = 1]
  %2 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %3 = load i8, i8* %2, align 1                   ; [#uses = 1]
  %4 = zext i8 %3 to i64                          ; [#uses = 1]
  %5 = xor i64 %i_arg, 1073741823                 ; [#uses = 1]
  %6 = add i64 %5, %4                             ; [#uses = 1]
  %.tr = trunc i64 %6 to i32                      ; [#uses = 1]
  %7 = shl i32 %.tr, 2                            ; [#uses = 1]
  %8 = lshr i32 %1, %7                            ; [#uses = 1]
  %9 = and i32 %8, 15                             ; [#uses = 2]
  %10 = icmp ult i32 %9, 10                       ; [#uses = 1]
  %11 = trunc i32 %9 to i8                        ; [#uses = 2]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  %13 = add nuw nsw i8 %11, 87                    ; [#uses = 1]
  %condtmp.0.sroa.speculated = select i1 %10, i8 %12, i8 %13 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result8popFrontMFNaNbNiNfZv(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = add i8 %2, -1                              ; [#uses = 1]
  store i8 %3, i8* %1, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result4backMFNaNbNdNiNfZa(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i32                          ; [#uses = 2]
  %4 = add nuw nsw i32 %3, 1073741823             ; [#uses = 1]
  %5 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %6 = load i32, i32* %5, align 4                 ; [#uses = 1]
  %7 = xor i32 %4, 1073741823                     ; [#uses = 1]
  %8 = add nuw i32 %7, %3                         ; [#uses = 1]
  %9 = shl i32 %8, 2                              ; [#uses = 1]
  %10 = lshr i32 %6, %9                           ; [#uses = 1]
  %11 = and i32 %10, 15                           ; [#uses = 2]
  %12 = icmp ult i32 %11, 10                      ; [#uses = 1]
  %13 = trunc i32 %11 to i8                       ; [#uses = 2]
  %14 = or i8 %13, 48                             ; [#uses = 1]
  %15 = add nuw nsw i8 %13, 87                    ; [#uses = 1]
  %condtmp.0.sroa.speculated.i = select i1 %12, i8 %14, i8 %15 ; [#uses = 1]
  ret i8 %condtmp.0.sroa.speculated.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result7popBackMFNaNbNiNfZv(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = lshr i32 %2, 4                             ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  %4 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %5 = load i8, i8* %4, align 1                   ; [#uses = 1]
  %6 = add i8 %5, -1                              ; [#uses = 1]
  store i8 %6, i8* %4, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result4saveMFNaNbNdNiNfZSQDrQDq__TQDoVii16TaVQDji1TkZQEhFNaNbNiNfkZQCq(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast = bitcast %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg to i64* ; [#uses = 1]
  %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload = load i64, i64* %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast, align 1 ; [#uses = 1]
  ret i64 %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii16TaVEQBd5ascii10LetterCasei1TkZQBrFNaNbNiNfkZ6Result7opSliceMFNaNbNiNfmmZSQDuQDt__TQDrVii16TaVQDmi1TkZQEkFNaNbNiNfkZQCt(%"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %upr_arg, i64 %lwr_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(16, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = sub i64 %5, %upr_arg                       ; [#uses = 1]
  %.tr = trunc i64 %6 to i32                      ; [#uses = 1]
  %7 = shl i32 %.tr, 2                            ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = sub i64 %upr_arg, %lwr_arg                 ; [#uses = 1]
  %result.sroa.2.0.insert.ext = shl i64 %9, 32    ; [#uses = 1]
  %result.sroa.2.0.insert.shift = and i64 %result.sroa.2.0.insert.ext, 1095216660480 ; [#uses = 1]
  %result.sroa.0.0.insert.ext = zext i32 %8 to i64 ; [#uses = 1]
  %result.sroa.0.0.insert.insert = or i64 %result.sroa.2.0.insert.shift, %result.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %result.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDtQDs__TQDqVii2TaVQDli1TkZQEiFNaNbNiNfkZQCs(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull returned %.this_arg, i32 %value_arg) local_unnamed_addr #1 {
endfor:
  %0 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 %value_arg, i32* %0, align 4
  %1 = lshr i32 %value_arg, 1                     ; [#uses = 1]
  %2 = call i32 @llvm.ctlz.i32(i32 %1, i1 false), !range !11 ; [#uses = 1]
  %3 = trunc i32 %2 to i8                         ; [#uses = 1]
  %4 = sub nsw i8 33, %3                          ; [#uses = 1]
  %5 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  store i8 %4, i8* %5, align 1
  ret %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6lengthMFNaNbNdNiNfZm(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i64                          ; [#uses = 1]
  ret i64 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result5emptyMFNaNbNdNiNfZb(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = icmp eq i8 %2, 0                           ; [#uses = 1]
  ret i1 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result5frontMFNaNbNdNiNfZa(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i32                          ; [#uses = 1]
  %6 = add nsw i32 %5, -1                         ; [#uses = 1]
  %7 = lshr i32 %2, %6                            ; [#uses = 1]
  %8 = trunc i32 %7 to i8                         ; [#uses = 1]
  %9 = and i8 %8, 1                               ; [#uses = 1]
  %10 = or i8 %9, 48                              ; [#uses = 1]
  ret i8 %10
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7opIndexMFNaNbNiNfmZa(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %i_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = xor i64 %i_arg, 4294967295                 ; [#uses = 1]
  %7 = add i64 %6, %5                             ; [#uses = 1]
  %8 = trunc i64 %7 to i32                        ; [#uses = 1]
  %9 = lshr i32 %2, %8                            ; [#uses = 1]
  %10 = trunc i32 %9 to i8                        ; [#uses = 1]
  %11 = and i8 %10, 1                             ; [#uses = 1]
  %12 = or i8 %11, 48                             ; [#uses = 1]
  ret i8 %12
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result8popFrontMFNaNbNiNfZv(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = add i8 %2, -1                              ; [#uses = 1]
  store i8 %3, i8* %1, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result4backMFNaNbNdNiNfZa(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = trunc i32 %2 to i8                         ; [#uses = 1]
  %4 = and i8 %3, 1                               ; [#uses = 1]
  %5 = or i8 %4, 48                               ; [#uses = 1]
  ret i8 %5
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7popBackMFNaNbNiNfZv(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = lshr i32 %2, 1                             ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  %4 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %5 = load i8, i8* %4, align 1                   ; [#uses = 1]
  %6 = add i8 %5, -1                              ; [#uses = 1]
  store i8 %6, i8* %4, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result4saveMFNaNbNdNiNfZSQDqQDp__TQDnVii2TaVQDii1TkZQEfFNaNbNiNfkZQCp(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast = bitcast %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg to i64* ; [#uses = 1]
  %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload = load i64, i64* %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast, align 1 ; [#uses = 1]
  ret i64 %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii2TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7opSliceMFNaNbNiNfmmZSQDtQDs__TQDqVii2TaVQDli1TkZQEiFNaNbNiNfkZQCs(%"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %upr_arg, i64 %lwr_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(2, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = sub i64 %5, %upr_arg                       ; [#uses = 1]
  %7 = trunc i64 %6 to i32                        ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = sub i64 %upr_arg, %lwr_arg                 ; [#uses = 1]
  %result.sroa.2.0.insert.ext = shl i64 %9, 32    ; [#uses = 1]
  %result.sroa.2.0.insert.shift = and i64 %result.sroa.2.0.insert.ext, 1095216660480 ; [#uses = 1]
  %result.sroa.0.0.insert.ext = zext i32 %8 to i64 ; [#uses = 1]
  %result.sroa.0.0.insert.insert = or i64 %result.sroa.2.0.insert.shift, %result.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %result.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6__ctorMFNaNbNcNiNfkZSQDtQDs__TQDqVii8TaVQDli1TkZQEiFNaNbNiNfkZQCs(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull returned %.this_arg, i32 %value_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  store i32 %value_arg, i32* %1, align 4
  br label %forcond

forcond:                                          ; preds = %forcond, %0
  %value.0 = phi i32 [ %value_arg, %0 ], [ %2, %forcond ] ; [#uses = 1, type = i32]
  %len.0 = phi i8 [ 1, %0 ], [ %3, %forcond ]     ; [#uses = 2, type = i8]
  %2 = lshr i32 %value.0, 3                       ; [#uses = 2]
  %.not = icmp eq i32 %2, 0                       ; [#uses = 1]
  %3 = add nuw nsw i8 %len.0, 1                   ; [#uses = 1]
  br i1 %.not, label %endfor, label %forcond

endfor:                                           ; preds = %forcond
  %4 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  store i8 %len.0, i8* %4, align 1
  ret %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result6lengthMFNaNbNdNiNfZm(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = zext i8 %2 to i64                          ; [#uses = 1]
  ret i64 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result5emptyMFNaNbNdNiNfZb(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = icmp eq i8 %2, 0                           ; [#uses = 1]
  ret i1 %3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result5frontMFNaNbNdNiNfZa(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i32                          ; [#uses = 1]
  %6 = mul nuw nsw i32 %5, 3                      ; [#uses = 1]
  %7 = add nsw i32 %6, -3                         ; [#uses = 1]
  %8 = lshr i32 %2, %7                            ; [#uses = 1]
  %9 = trunc i32 %8 to i8                         ; [#uses = 1]
  %10 = and i8 %9, 7                              ; [#uses = 1]
  %11 = or i8 %10, 48                             ; [#uses = 1]
  ret i8 %11
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7opIndexMFNaNbNiNfmZa(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %i_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = xor i64 %i_arg, 4294967295                 ; [#uses = 1]
  %7 = add i64 %6, %5                             ; [#uses = 1]
  %8 = trunc i64 %7 to i32                        ; [#uses = 1]
  %9 = mul i32 %8, 3                              ; [#uses = 1]
  %10 = lshr i32 %2, %9                           ; [#uses = 1]
  %11 = trunc i32 %10 to i8                       ; [#uses = 1]
  %12 = and i8 %11, 7                             ; [#uses = 1]
  %13 = or i8 %12, 48                             ; [#uses = 1]
  ret i8 %13
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result8popFrontMFNaNbNiNfZv(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %2 = load i8, i8* %1, align 1                   ; [#uses = 1]
  %3 = add i8 %2, -1                              ; [#uses = 1]
  store i8 %3, i8* %1, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i8 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result4backMFNaNbNdNiNfZa(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = trunc i32 %2 to i8                         ; [#uses = 1]
  %4 = and i8 %3, 7                               ; [#uses = 1]
  %5 = or i8 %4, 48                               ; [#uses = 1]
  ret i8 %5
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7popBackMFNaNbNiNfZv(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = lshr i32 %2, 3                             ; [#uses = 1]
  store i32 %3, i32* %1, align 4
  %4 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 2, type = i8*]
  %5 = load i8, i8* %4, align 1                   ; [#uses = 1]
  %6 = add i8 %5, -1                              ; [#uses = 1]
  store i8 %6, i8* %4, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result4saveMFNaNbNdNiNfZSQDqQDp__TQDnVii8TaVQDii1TkZQEfFNaNbNiNfkZQCp(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg) local_unnamed_addr #1 {
  %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast = bitcast %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg to i64* ; [#uses = 1]
  %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload = load i64, i64* %.BaseBitcastABIRewrite_padded_arg_storage.0..sroa_cast, align 1 ; [#uses = 1]
  ret i64 %.BaseBitcastABIRewrite_padded_arg_storage.0.copyload
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T7toCharsVii8TaVEQBc5ascii10LetterCasei1TkZQBqFNaNbNiNfkZ6Result7opSliceMFNaNbNiNfmmZSQDtQDs__TQDqVii8TaVQDli1TkZQEiFNaNbNiNfkZQCs(%"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* nonnull %.this_arg, i64 %upr_arg, i64 %lwr_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result", %"std.conv.toChars!(8, char, LetterCase.lower, uint).toChars.Result"* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = zext i8 %4 to i64                          ; [#uses = 1]
  %6 = sub i64 %5, %upr_arg                       ; [#uses = 1]
  %7 = trunc i64 %6 to i32                        ; [#uses = 1]
  %8 = mul i32 %7, 3                              ; [#uses = 1]
  %9 = lshr i32 %2, %8                            ; [#uses = 1]
  %10 = sub i64 %upr_arg, %lwr_arg                ; [#uses = 1]
  %result.sroa.2.0.insert.ext = shl i64 %10, 32   ; [#uses = 1]
  %result.sroa.2.0.insert.shift = and i64 %result.sroa.2.0.insert.ext, 1095216660480 ; [#uses = 1]
  %result.sroa.0.0.insert.ext = zext i32 %9 to i64 ; [#uses = 1]
  %result.sroa.0.0.insert.insert = or i64 %result.sroa.2.0.insert.shift, %result.sroa.0.0.insert.ext ; [#uses = 1]
  ret i64 %result.sroa.0.0.insert.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T3dupTaZQhFNaNbNdNfAxaZAa({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a_arg.fca.0.extract.i = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract.i = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract.i) #7 ; [#uses = 2]
  %.ptr.i = extractvalue { i64, i8* } %1, 1       ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i, i8* align 1 %a_arg.fca.1.extract.i, i64 %a_arg.fca.0.extract.i, i1 false) #2
  ret { i64, i8* } %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T4_dupTxaTaZQlFNaNbNeMAxaZAa({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %1 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract) #7 ; [#uses = 2]
  %.ptr = extractvalue { i64, i8* } %1, 1         ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr, i8* align 1 %a_arg.fca.1.extract, i64 %a_arg.fca.0.extract, i1 false) #2
  ret { i64, i8* } %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D6object__T8_dupCtfeTxaTaZQpFNaNbNfMAxaZAa({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %res = alloca { i64, i8* }, align 8             ; [#uses = 4, size/byte = 16]
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %.fca.0.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %res, i64 0, i32 0 ; [#uses = 2, type = i64*]
  %.fca.1.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %res, i64 0, i32 1 ; [#uses = 2, type = i8**]
  %.not = icmp eq i64 %a_arg.fca.0.extract, 0     ; [#uses = 1]
  %1 = bitcast { i64, i8* }* %res to i8*          ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
  br i1 %.not, label %endfor, label %forbody

forbody:                                          ; preds = %0, %forbody
  %__key218.015 = phi i64 [ %4, %forbody ], [ 0, %0 ] ; [#uses = 2, type = i64]
  %2 = getelementptr inbounds i8, i8* %a_arg.fca.1.extract, i64 %__key218.015 ; [#uses = 1, type = i8*]
  %.appendedArray = call { i64, i8* } @_d_arrayappendcTX(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), { i64, i8* }* nonnull dereferenceable(16) %res, i64 1) #3 ; [#uses = 0]
  %.len3 = load i64, i64* %.fca.0.gep, align 8    ; [#uses = 1]
  %.ptr4 = load i8*, i8** %.fca.1.gep, align 8    ; [#uses = 1]
  %.lastIndex = add i64 %.len3, -1                ; [#uses = 1]
  %.lastElem = getelementptr inbounds i8, i8* %.ptr4, i64 %.lastIndex ; [#uses = 1, type = i8*]
  %3 = load i8, i8* %2, align 1                   ; [#uses = 1]
  store i8 %3, i8* %.lastElem, align 1
  %4 = add nuw i64 %__key218.015, 1               ; [#uses = 2]
  %exitcond.not = icmp eq i64 %4, %a_arg.fca.0.extract ; [#uses = 1]
  br i1 %exitcond.not, label %endfor.loopexit, label %forbody

endfor.loopexit:                                  ; preds = %forbody
  %.fca.0.load.pre = load i64, i64* %.fca.0.gep, align 8 ; [#uses = 1]
  %.fca.1.load.pre = load i8*, i8** %.fca.1.gep, align 8 ; [#uses = 1]
  br label %endfor

endfor:                                           ; preds = %endfor.loopexit, %0
  %.fca.1.load = phi i8* [ %.fca.1.load.pre, %endfor.loopexit ], [ null, %0 ] ; [#uses = 1, type = i8*]
  %.fca.0.load = phi i64 [ %.fca.0.load.pre, %endfor.loopexit ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %.fca.0.insert = insertvalue { i64, i8* } undef, i64 %.fca.0.load, 0 ; [#uses = 1]
  %.fca.1.insert14 = insertvalue { i64, i8* } %.fca.0.insert, i8* %.fca.1.load, 1 ; [#uses = 1]
  ret { i64, i8* } %.fca.1.insert14
}

; [#uses = 1]
declare void @_D3std5stdio13trustedStdoutFNdNeZSQBgQBf4File(%std.stdio.File* noalias sret align 8) local_unnamed_addr #2

; [#uses = 2]
declare void @_D3std5stdio4File6__dtorMFNfZv(%std.stdio.File* nonnull) local_unnamed_addr #2

; [#uses = 1]
declare void @_D3std5stdio4File17lockingTextWriterMFNfZSQBoQBnQBk17LockingTextWriter(%std.stdio.File.LockingTextWriter* noalias sret align 8, %std.stdio.File* nonnull) local_unnamed_addr #2

; [#uses = 1]
; Function Attrs: uwtable
declare i32 @_d_eh_personality(i32, i32, i64, i8*, i8*) #3

; [#uses = 1]
; Function Attrs: cold noreturn uwtable
declare void @_Unwind_Resume(i8*) local_unnamed_addr #6

; [#uses = 2]
declare void @_D3std5stdio4File17LockingTextWriter10__aggrDtorMFNeZv(%std.stdio.File.LockingTextWriter* nonnull) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5stdio4File17LockingTextWriter__T3putTAyaZQjMFNfMQlZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg, { i64, i8* } %writeme_arg) local_unnamed_addr #1 {
  %writeme_arg.fca.0.extract = extractvalue { i64, i8* } %writeme_arg, 0 ; [#uses = 4]
  %writeme_arg.fca.1.extract = extractvalue { i64, i8* } %writeme_arg, 1 ; [#uses = 2]
  %1 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = icmp slt i32 %2, 1                         ; [#uses = 1]
  br i1 %3, label %if, label %forcond.preheader

forcond.preheader:                                ; preds = %0
  %.not11 = icmp eq i64 %writeme_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %.not11, label %endif2, label %forbody

if:                                               ; preds = %0
  %4 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 0, i32 0 ; [#uses = 1, type = %std.stdio.File.Impl**]
  %5 = load %std.stdio.File.Impl*, %std.stdio.File.Impl** %4, align 8 ; [#uses = 1]
  %6 = getelementptr inbounds %std.stdio.File.Impl, %std.stdio.File.Impl* %5, i64 0, i32 0 ; [#uses = 1, type = %core.stdc.stdio._IO_FILE**]
  %7 = load %core.stdc.stdio._IO_FILE*, %core.stdc.stdio._IO_FILE** %6, align 8 ; [#uses = 1]
  %8 = tail call i64 @fwrite(i8* %writeme_arg.fca.1.extract, i64 1, i64 %writeme_arg.fca.0.extract, %core.stdc.stdio._IO_FILE* %7) #2 ; [#uses = 1]
  %.not = icmp eq i64 %8, %writeme_arg.fca.0.extract ; [#uses = 1]
  br i1 %.not, label %endif2, label %if1

if1:                                              ; preds = %if
  tail call void @_D3std9exception__T7bailOutHTCQBcQBb14ErrnoExceptionZQBiFNfAyamMAxaZNn({ i64, i8* } zeroinitializer, i64 3263, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }) #11
  unreachable

endif2:                                           ; preds = %forbody, %forcond.preheader, %if
  ret void

forbody:                                          ; preds = %forcond.preheader, %forbody
  %__key223.010 = phi i64 [ %11, %forbody ], [ 0, %forcond.preheader ] ; [#uses = 2, type = i64]
  %9 = getelementptr inbounds i8, i8* %writeme_arg.fca.1.extract, i64 %__key223.010 ; [#uses = 1, type = i8*]
  %10 = load i8, i8* %9, align 1                  ; [#uses = 1]
  tail call void @_D3std5stdio4File17LockingTextWriter__T3putTyaZQiMFNfyaZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg, i8 zeroext %10) #2
  %11 = add nuw i64 %__key223.010, 1              ; [#uses = 2]
  %exitcond.not = icmp eq i64 %11, %writeme_arg.fca.0.extract ; [#uses = 1]
  br i1 %exitcond.not, label %endif2, label %forbody
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5stdio4File17LockingTextWriter__T3putTaZQhMFNfaZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg, i8 zeroext %c_arg) local_unnamed_addr #1 {
  %numCodeUnits.i = alloca i64, align 8           ; [#uses = 3, size/byte = 8]
  %str = alloca { i64, i8* }, align 8             ; [#uses = 3, size/byte = 16]
  %wbuf = alloca [1 x i32], align 4               ; [#uses = 2, size/byte = 4]
  tail call void @_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2
  %1 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = icmp slt i32 %2, 1                         ; [#uses = 1]
  %4 = zext i8 %c_arg to i32                      ; [#uses = 2]
  br i1 %3, label %if, label %else

if:                                               ; preds = %0
  %5 = tail call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %6 = tail call i32 @fputc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %5) #2 ; [#uses = 0]
  br label %endif

else:                                             ; preds = %0
  %7 = icmp sgt i8 %c_arg, -1                     ; [#uses = 1]
  br i1 %7, label %if1, label %else3

if1:                                              ; preds = %else
  %8 = tail call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %9 = tail call i32 @fputwc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %8) #2 ; [#uses = 0]
  br label %endif

else3:                                            ; preds = %else
  %10 = icmp ugt i8 %c_arg, -65                   ; [#uses = 1]
  %11 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 3 ; [#uses = 2, type = [4 x i8]*]
  br i1 %10, label %if4, label %else6

if4:                                              ; preds = %else3
  %12 = getelementptr inbounds [4 x i8], [4 x i8]* %11, i64 0, i64 0 ; [#uses = 1, type = i8*]
  store i8 %c_arg, i8* %12, align 1
  %13 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 5 ; [#uses = 1, type = i64*]
  store i64 1, i64* %13, align 8
  br label %endif

else6:                                            ; preds = %else3
  %14 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 5 ; [#uses = 5, type = i64*]
  %15 = load i64, i64* %14, align 8               ; [#uses = 3]
  %bounds.cmp = icmp ult i64 %15, 4               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %else6
  %16 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 3, i64 %15 ; [#uses = 1, type = i8*]
  store i8 %c_arg, i8* %16, align 1
  %17 = load i64, i64* %14, align 8               ; [#uses = 1]
  %18 = add i64 %17, 1                            ; [#uses = 2]
  store i64 %18, i64* %14, align 8
  %19 = getelementptr [4 x i8], [4 x i8]* %11, i64 0, i64 0 ; [#uses = 2, type = i8*]
  %20 = load i8, i8* %19, align 1                 ; [#uses = 2]
  %21 = icmp sgt i8 %20, -1                       ; [#uses = 1]
  br i1 %21, label %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit, label %else.i

else.i:                                           ; preds = %bounds.ok
  %22 = tail call i32 @_D3std3utf10strideImplFNaNeamZk(i64 0, i8 zeroext %20) #2 ; [#uses = 1]
  %phi.cast = zext i32 %22 to i64                 ; [#uses = 1]
  %.pre = load i64, i64* %14, align 8             ; [#uses = 1]
  br label %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit

_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit:         ; preds = %bounds.ok, %else.i
  %23 = phi i64 [ %.pre, %else.i ], [ %18, %bounds.ok ] ; [#uses = 4, type = i64]
  %24 = phi i64 [ %phi.cast, %else.i ], [ 1, %bounds.ok ] ; [#uses = 1, type = i64]
  %25 = icmp eq i64 %23, %24                      ; [#uses = 1]
  br i1 %25, label %if7, label %endif

if7:                                              ; preds = %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit
  %bounds.cmp.up = icmp ult i64 %23, 5            ; [#uses = 1]
  br i1 %bounds.cmp.up, label %bounds.ok9, label %bounds.fail10

bounds.ok9:                                       ; preds = %if7
  %26 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %23, i64* %26, align 8
  %27 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %19, i8** %27, align 8
  %28 = bitcast i64* %numCodeUnits.i to i8*       ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %28)
  store i64 0, i64* %numCodeUnits.i, align 8
  %29 = call i32 @_D3std3utf__T11decodeFrontVEQBa8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAaZQDnFNaNeKQmJmZw(i64* nonnull dereferenceable(8) %numCodeUnits.i, { i64, i8* }* nonnull dereferenceable(16) %str) #2 ; [#uses = 1]
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %28)
  %30 = getelementptr inbounds [1 x i32], [1 x i32]* %wbuf, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 65535, i32* %30, align 4
  %31 = call i64 @_D3std3utf__T6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG1wwZm(i32 %29, [1 x i32]* nonnull dereferenceable(4) %wbuf) #1 ; [#uses = 2]
  %.not = icmp eq i64 %31, 0                      ; [#uses = 1]
  br i1 %.not, label %endfor, label %forbody.lr.ph

forbody.lr.ph:                                    ; preds = %bounds.ok9
  %.not25 = icmp eq i64 %31, 1                    ; [#uses = 1]
  %32 = load i32, i32* %30, align 4               ; [#uses = 1]
  %33 = call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %34 = call i32 @fputwc_unlocked(i32 %32, %core.stdc.stdio._IO_FILE* %33) #2 ; [#uses = 0]
  br i1 %.not25, label %endfor, label %bounds.ok12.us

bounds.ok12.us:                                   ; preds = %forbody.lr.ph
  call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3310, i64 1, i64 1) #6
  unreachable

endfor:                                           ; preds = %forbody.lr.ph, %bounds.ok9
  store i64 0, i64* %14, align 8
  br label %endif

bounds.fail10:                                    ; preds = %if7
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3305, i64 0, i64 %23, i64 4) #6
  unreachable

bounds.fail:                                      ; preds = %else6
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3301, i64 %15, i64 4) #6
  unreachable

endif:                                            ; preds = %if1, %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit, %endfor, %if4, %if
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5stdio__T13trustedFwriteTaZQsFNbNiNePOS4core4stdcQBx8_IO_FILExAaZm({ i64, i8* } %obj_arg, %core.stdc.stdio._IO_FILE* %f_arg) local_unnamed_addr #1 {
  %obj_arg.fca.0.extract = extractvalue { i64, i8* } %obj_arg, 0 ; [#uses = 1]
  %obj_arg.fca.1.extract = extractvalue { i64, i8* } %obj_arg, 1 ; [#uses = 1]
  %1 = tail call i64 @fwrite(i8* %obj_arg.fca.1.extract, i64 1, i64 %obj_arg.fca.0.extract, %core.stdc.stdio._IO_FILE* %f_arg) #2 ; [#uses = 1]
  ret i64 %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std9exception__T7enforceHTCQBcQBb14ErrnoExceptionZ__TQBlTiZQBrFNfiLAxaAyamZi(i64 %line_arg, { i64, i8* } %file_arg, { i8*, { i64, i8* } (i8*)* } %msg_arg, i32 %value_arg) local_unnamed_addr #1 {
  %.not = icmp eq i32 %value_arg, 0               ; [#uses = 1]
  br i1 %.not, label %if, label %endif

if:                                               ; preds = %0
  %msg_arg.fca.1.extract = extractvalue { i8*, { i64, i8* } (i8*)* } %msg_arg, 1 ; [#uses = 1]
  %msg_arg.fca.0.extract = extractvalue { i8*, { i64, i8* } (i8*)* } %msg_arg, 0 ; [#uses = 1]
  %1 = tail call { i64, i8* } %msg_arg.fca.1.extract(i8* nonnull %msg_arg.fca.0.extract) ; [#uses = 1]
  tail call void @_D3std9exception__T7bailOutHTCQBcQBb14ErrnoExceptionZQBiFNfAyamMAxaZNn({ i64, i8* } %1, i64 %line_arg, { i64, i8* } %file_arg) #11
  unreachable

endif:                                            ; preds = %0
  ret i32 %value_arg
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr void @_D3std5stdio4File17LockingTextWriter__T3putTyaZQiMFNfyaZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg, i8 zeroext %c_arg) local_unnamed_addr #1 {
  %numCodeUnits.i = alloca i64, align 8           ; [#uses = 3, size/byte = 8]
  %str = alloca { i64, i8* }, align 8             ; [#uses = 3, size/byte = 16]
  %wbuf = alloca [1 x i32], align 4               ; [#uses = 2, size/byte = 4]
  tail call void @_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2
  %1 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 1 ; [#uses = 1, type = i32*]
  %2 = load i32, i32* %1, align 4                 ; [#uses = 1]
  %3 = icmp slt i32 %2, 1                         ; [#uses = 1]
  %4 = zext i8 %c_arg to i32                      ; [#uses = 2]
  br i1 %3, label %if, label %else

if:                                               ; preds = %0
  %5 = tail call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %6 = tail call i32 @fputc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %5) #2 ; [#uses = 0]
  br label %endif

else:                                             ; preds = %0
  %7 = icmp sgt i8 %c_arg, -1                     ; [#uses = 1]
  br i1 %7, label %if1, label %else3

if1:                                              ; preds = %else
  %8 = tail call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %9 = tail call i32 @fputwc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %8) #2 ; [#uses = 0]
  br label %endif

else3:                                            ; preds = %else
  %10 = icmp ugt i8 %c_arg, -65                   ; [#uses = 1]
  %11 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 3 ; [#uses = 2, type = [4 x i8]*]
  br i1 %10, label %if4, label %else6

if4:                                              ; preds = %else3
  %12 = getelementptr inbounds [4 x i8], [4 x i8]* %11, i64 0, i64 0 ; [#uses = 1, type = i8*]
  store i8 %c_arg, i8* %12, align 1
  %13 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 5 ; [#uses = 1, type = i64*]
  store i64 1, i64* %13, align 8
  br label %endif

else6:                                            ; preds = %else3
  %14 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 5 ; [#uses = 5, type = i64*]
  %15 = load i64, i64* %14, align 8               ; [#uses = 3]
  %bounds.cmp = icmp ult i64 %15, 4               ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %else6
  %16 = getelementptr inbounds %std.stdio.File.LockingTextWriter, %std.stdio.File.LockingTextWriter* %.this_arg, i64 0, i32 3, i64 %15 ; [#uses = 1, type = i8*]
  store i8 %c_arg, i8* %16, align 1
  %17 = load i64, i64* %14, align 8               ; [#uses = 1]
  %18 = add i64 %17, 1                            ; [#uses = 2]
  store i64 %18, i64* %14, align 8
  %19 = getelementptr [4 x i8], [4 x i8]* %11, i64 0, i64 0 ; [#uses = 2, type = i8*]
  %20 = load i8, i8* %19, align 1                 ; [#uses = 2]
  %21 = icmp sgt i8 %20, -1                       ; [#uses = 1]
  br i1 %21, label %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit, label %else.i

else.i:                                           ; preds = %bounds.ok
  %22 = tail call i32 @_D3std3utf10strideImplFNaNeamZk(i64 0, i8 zeroext %20) #2 ; [#uses = 1]
  %phi.cast = zext i32 %22 to i64                 ; [#uses = 1]
  %.pre = load i64, i64* %14, align 8             ; [#uses = 1]
  br label %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit

_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit:         ; preds = %bounds.ok, %else.i
  %23 = phi i64 [ %.pre, %else.i ], [ %18, %bounds.ok ] ; [#uses = 4, type = i64]
  %24 = phi i64 [ %phi.cast, %else.i ], [ 1, %bounds.ok ] ; [#uses = 1, type = i64]
  %25 = icmp eq i64 %23, %24                      ; [#uses = 1]
  br i1 %25, label %if7, label %endif

if7:                                              ; preds = %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit
  %bounds.cmp.up = icmp ult i64 %23, 5            ; [#uses = 1]
  br i1 %bounds.cmp.up, label %bounds.ok9, label %bounds.fail10

bounds.ok9:                                       ; preds = %if7
  %26 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %23, i64* %26, align 8
  %27 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %19, i8** %27, align 8
  %28 = bitcast i64* %numCodeUnits.i to i8*       ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %28)
  store i64 0, i64* %numCodeUnits.i, align 8
  %29 = call i32 @_D3std3utf__T11decodeFrontVEQBa8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAaZQDnFNaNeKQmJmZw(i64* nonnull dereferenceable(8) %numCodeUnits.i, { i64, i8* }* nonnull dereferenceable(16) %str) #2 ; [#uses = 1]
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %28)
  %30 = getelementptr inbounds [1 x i32], [1 x i32]* %wbuf, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 65535, i32* %30, align 4
  %31 = call i64 @_D3std3utf__T6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG1wwZm(i32 %29, [1 x i32]* nonnull dereferenceable(4) %wbuf) #2 ; [#uses = 2]
  %.not = icmp eq i64 %31, 0                      ; [#uses = 1]
  br i1 %.not, label %endfor, label %forbody.lr.ph

forbody.lr.ph:                                    ; preds = %bounds.ok9
  %.not25 = icmp eq i64 %31, 1                    ; [#uses = 1]
  %32 = load i32, i32* %30, align 4               ; [#uses = 1]
  %33 = call %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull %.this_arg) #2 ; [#uses = 1]
  %34 = call i32 @fputwc_unlocked(i32 %32, %core.stdc.stdio._IO_FILE* %33) #2 ; [#uses = 0]
  br i1 %.not25, label %endfor, label %bounds.ok12.us

bounds.ok12.us:                                   ; preds = %forbody.lr.ph
  call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3310, i64 1, i64 1) #6
  unreachable

endfor:                                           ; preds = %forbody.lr.ph, %bounds.ok9
  store i64 0, i64* %14, align 8
  br label %endif

bounds.fail10:                                    ; preds = %if7
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3305, i64 0, i64 %23, i64 4) #6
  unreachable

bounds.fail:                                      ; preds = %else6
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i32 0, i32 0) }, i32 3301, i64 %15, i64 4) #6
  unreachable

endif:                                            ; preds = %if1, %_D3std3utf__T6strideTAaZQlFNaNfQkZk.exit, %endfor, %if4, %if
  ret void
}

; [#uses = 3]
; Function Attrs: nofree nounwind
declare i64 @fwrite(i8* nocapture, i64, i64, %core.stdc.stdio._IO_FILE* nocapture) local_unnamed_addr #9

; [#uses = 3]
; Function Attrs: noreturn uwtable
define weak_odr void @_D3std9exception__T7bailOutHTCQBcQBb14ErrnoExceptionZQBiFNfAyamMAxaZNn({ i64, i8* } %msg_arg, i64 %line_arg, { i64, i8* } %file_arg) local_unnamed_addr #4 {
  %msg_arg.fca.1.extract = extractvalue { i64, i8* } %msg_arg, 1 ; [#uses = 2]
  %.newclass_gc_alloc = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std9exception14ErrnoException7__ClassZ) #3 ; [#uses = 5]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [10 x i8*]** ; [#uses = 1]
  store [10 x i8*]* @_D3std9exception14ErrnoException6__vtblZ, [10 x i8*]** %vtbl, align 8
  %1 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %1, align 8
  %2 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 1 ; [#uses = 1, type = %object.Object*]
  %3 = bitcast %object.Object* %2 to i8*          ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(64) %3, i8* nonnull align 8 dereferenceable(64) bitcast ({ i64, i8* }* getelementptr inbounds (%std.exception.ErrnoException, %std.exception.ErrnoException* @_D3std9exception14ErrnoException6__initZ, i64 0, i32 2) to i8*), i64 64, i1 false)
  %.not = icmp eq i8* %msg_arg.fca.1.extract, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %a_arg.fca.0.extract.i.i = extractvalue { i64, i8* } %msg_arg, 0 ; [#uses = 2]
  %4 = tail call { i64, i8* } @_d_newarrayU(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*), i64 %a_arg.fca.0.extract.i.i) #2 ; [#uses = 2]
  %.ptr.i.i = extractvalue { i64, i8* } %4, 1     ; [#uses = 2]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.ptr.i.i, i8* nonnull align 1 %msg_arg.fca.1.extract, i64 %a_arg.fca.0.extract.i.i, i1 false) #2
  %.len = extractvalue { i64, i8* } %4, 0         ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %condtmp.0.sroa.phi.sroa.speculated = phi i64 [ %.len, %condtrue ], [ 18, %0 ] ; [#uses = 1, type = i64]
  %condtmp.0.sroa.phi7.sroa.speculated = phi i8* [ %.ptr.i.i, %condtrue ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @.str.5, i64 0, i64 0), %0 ] ; [#uses = 1, type = i8*]
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %std.exception.ErrnoException* ; [#uses = 1]
  %.fca.0.insert5 = insertvalue { i64, i8* } undef, i64 %condtmp.0.sroa.phi.sroa.speculated, 0 ; [#uses = 1]
  %.fca.1.insert6 = insertvalue { i64, i8* } %.fca.0.insert5, i8* %condtmp.0.sroa.phi7.sroa.speculated, 1 ; [#uses = 1]
  %5 = tail call %std.exception.ErrnoException* @_D3std9exception14ErrnoException6__ctorMFNfAyaQdmZCQBxQBwQBp(%std.exception.ErrnoException* nonnull returned %.newclass_gc, i64 %line_arg, { i64, i8* } %file_arg, { i64, i8* } %.fca.1.insert6) #2 ; [#uses = 0]
  %6 = bitcast %object.Object* %.newclass_gc_alloc to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %6) #6
  unreachable
}

; [#uses = 1]
declare %std.exception.ErrnoException* @_D3std9exception14ErrnoException6__ctorMFNfAyaQdmZCQBxQBwQBp(%std.exception.ErrnoException* nonnull returned, i64, { i64, i8* }, { i64, i8* }) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std5stdio4File17LockingTextWriter__T3putTyaZQiMFNfyaZ12trustedFPUTCFNbNiNeiPS4core4stdcQDg8_IO_FILEZi(%core.stdc.stdio._IO_FILE* %h_arg, i32 %ch_arg) local_unnamed_addr #1 {
  %1 = tail call i32 @fputc_unlocked(i32 %ch_arg, %core.stdc.stdio._IO_FILE* %h_arg) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 5]
; Function Attrs: nofree nounwind
declare i32 @fputc_unlocked(i32, %core.stdc.stdio._IO_FILE* nocapture) local_unnamed_addr #9

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std5stdio4File17LockingTextWriter__T3putTyaZQiMFNfyaZ13trustedFPUTWCFNbNiNewPS4core4stdcQDh8_IO_FILEZw(%core.stdc.stdio._IO_FILE* %h_arg, i32 %ch_arg) local_unnamed_addr #1 {
  %1 = tail call i32 @fputwc_unlocked(i32 %ch_arg, %core.stdc.stdio._IO_FILE* %h_arg) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 7]
declare i32 @fputwc_unlocked(i32, %core.stdc.stdio._IO_FILE*) local_unnamed_addr #2

; [#uses = 3]
declare void @_D3std5stdio4File17LockingTextWriter26highSurrogateShouldBeEmptyMFNfZv(%std.stdio.File.LockingTextWriter* nonnull) local_unnamed_addr #2

; [#uses = 8]
declare %core.stdc.stdio._IO_FILE* @_D3std5stdio4File17LockingTextWriter7handle_MFNdNeZPS4core4stdcQCf8_IO_FILE(%std.stdio.File.LockingTextWriter* nonnull) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T6strideTAaZQlFNaNfQkZk({ i64, i8* } %str_arg) local_unnamed_addr #1 {
  %str_arg.fca.0.extract = extractvalue { i64, i8* } %str_arg, 0 ; [#uses = 1]
  %bounds.cmp.not = icmp eq i64 %str_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %bounds.cmp.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %str_arg.fca.1.extract = extractvalue { i64, i8* } %str_arg, 1 ; [#uses = 1]
  %1 = load i8, i8* %str_arg.fca.1.extract, align 1 ; [#uses = 2]
  %2 = icmp sgt i8 %1, -1                         ; [#uses = 1]
  br i1 %2, label %if, label %else

if:                                               ; preds = %bounds.ok
  ret i32 1

else:                                             ; preds = %bounds.ok
  %3 = tail call i32 @_D3std3utf10strideImplFNaNeamZk(i64 0, i8 zeroext %1) #2 ; [#uses = 1]
  ret i32 %3

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 403, i64 0, i64 0) #6
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T11decodeFrontVEQBa8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAaZQDnFNaNfKQmZw({ i64, i8* }* dereferenceable(16) %str) local_unnamed_addr #1 {
  %numCodeUnits = alloca i64, align 8             ; [#uses = 2, size/byte = 8]
  store i64 0, i64* %numCodeUnits, align 8
  %1 = call i32 @_D3std3utf__T11decodeFrontVEQBa8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAaZQDnFNaNeKQmJmZw(i64* nonnull dereferenceable(8) %numCodeUnits, { i64, i8* }* nonnull dereferenceable(16) %str) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr i64 @_D3std3utf__T6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG1wwZm(i32 %c_arg, [1 x i32]* dereferenceable(4) %buf) local_unnamed_addr #1 {
arrayinit.cond:
  %.lval_copy_for_ImplicitByvalRewrite.i = alloca { i64, i8* }, align 8 ; [#uses = 4, size/byte = 16]
  %arrayliteral.i = alloca [1 x i32], align 4     ; [#uses = 2, size/byte = 4]
  %0 = getelementptr inbounds [1 x i32], [1 x i32]* %buf, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 65535, i32* %0, align 4
  %1 = and i32 %c_arg, -2048                      ; [#uses = 1]
  %2 = icmp eq i32 %1, 55296                      ; [#uses = 1]
  %3 = icmp ugt i32 %c_arg, 1114111               ; [#uses = 1]
  %ororval = or i1 %3, %2                         ; [#uses = 1]
  br i1 %ororval, label %if, label %else

if:                                               ; preds = %arrayinit.cond
  %4 = bitcast { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i to i8* ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %4)
  %5 = bitcast [1 x i32]* %arrayliteral.i to i8*  ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %5)
  %.newclass_gc_alloc.i = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #3 ; [#uses = 4]
  %.newclass_gc.i = bitcast %object.Object* %.newclass_gc_alloc.i to %std.utf.UTFException* ; [#uses = 2]
  %vtbl.i = bitcast %object.Object* %.newclass_gc_alloc.i to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl.i, align 8
  %6 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %6, align 8
  %7 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 1 ; [#uses = 1, type = %object.Object*]
  %8 = bitcast %object.Object* %7 to i8*          ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %8, i8* nonnull align 8 dereferenceable(96) bitcast ({ i64, i8* }* getelementptr inbounds (%std.utf.UTFException, %std.utf.UTFException* @_D3std3utf12UTFException6__initZ, i64 0, i32 2) to i8*), i64 96, i1 false)
  %msg.sroa.0.0..sroa_idx.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 40, i64* %msg.sroa.0.0..sroa_idx.i, align 8
  %msg.sroa.2.0..sroa_idx1.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0), i8** %msg.sroa.2.0..sroa_idx1.i, align 8
  %9 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCnQCmQCl(%std.utf.UTFException* nonnull returned %.newclass_gc.i, %object.Throwable* null, i64 2301, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite.i) #2 ; [#uses = 0]
  %10 = load [11 x i8*]*, [11 x i8*]** %vtbl.i, align 8 ; [#uses = 1]
  %"setSequence@vtbl.i" = getelementptr inbounds [11 x i8*], [11 x i8*]* %10, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %11 = bitcast i8** %"setSequence@vtbl.i" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %12 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %11, align 8 ; [#uses = 1]
  %13 = getelementptr inbounds [1 x i32], [1 x i32]* %arrayliteral.i, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 %c_arg, i32* %13, align 4
  %14 = insertvalue { i64, i32* } { i64 1, i32* undef }, i32* %13, 1 ; [#uses = 1]
  %15 = call %std.utf.UTFException* %12(%std.utf.UTFException* nonnull %.newclass_gc.i, { i64, i32* } %14) ; [#uses = 1]
  %16 = bitcast %std.utf.UTFException* %15 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %16) #6
  unreachable

else:                                             ; preds = %arrayinit.cond
  %17 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #2 ; [#uses = 1]
  br i1 %17, label %endif, label %assertFailed

assertFailed:                                     ; preds = %else
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 2506) #6
  unreachable

endif:                                            ; preds = %else
  store i32 %c_arg, i32* %0, align 4
  ret i64 1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5range10primitives__T5emptyTAaZQkFNaNbNdNiNfMKQsZb({ i64, i8* }* dereferenceable(16) %a) local_unnamed_addr #1 {
  %1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %1, align 8              ; [#uses = 1]
  %.not = icmp eq i64 %.len, 0                    ; [#uses = 1]
  ret i1 %.not
}

; [#uses = 3]
declare i32 @_D3std3utf10strideImplFNaNeamZk(i64, i8 zeroext) local_unnamed_addr #2

; [#uses = 3]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T11decodeFrontVEQBa8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAaZQDnFNaNeKQmJmZw(i64* dereferenceable(8) %numCodeUnits, { i64, i8* }* dereferenceable(16) %str) local_unnamed_addr #1 {
  store i64 0, i64* %numCodeUnits, align 8
  %1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 0 ; [#uses = 5, type = i64*]
  %.len.i = load i64, i64* %1, align 8            ; [#uses = 2]
  %.not.i = icmp eq i64 %.len.i, 0                ; [#uses = 1]
  br i1 %.not.i, label %assertFailed, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %2 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 1 ; [#uses = 5, type = i8**]
  %.ptr = load i8*, i8** %2, align 8              ; [#uses = 2]
  %3 = load i8, i8* %.ptr, align 1                ; [#uses = 1]
  %4 = icmp sgt i8 %3, -1                         ; [#uses = 1]
  br i1 %4, label %if, label %else

if:                                               ; preds = %bounds.ok
  store i64 1, i64* %numCodeUnits, align 8
  %.len1 = load i64, i64* %1, align 8             ; [#uses = 2]
  %bounds.cmp2.not = icmp eq i64 %.len1, 0        ; [#uses = 1]
  br i1 %bounds.cmp2.not, label %bounds.fail4, label %bounds.ok3

bounds.ok3:                                       ; preds = %if
  %.ptr5 = load i8*, i8** %2, align 8             ; [#uses = 2]
  %5 = load i8, i8* %.ptr5, align 1               ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr5, i64 1 ; [#uses = 1, type = i8*]
  %6 = add i64 %.len1, -1                         ; [#uses = 1]
  store i64 %6, i64* %1, align 8
  store i8* %lowerbound, i8** %2, align 8
  %7 = zext i8 %5 to i32                          ; [#uses = 1]
  br label %label.__returnLabel

bounds.fail4:                                     ; preds = %if
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1292, i64 0, i64 0) #6
  unreachable

else:                                             ; preds = %bounds.ok
  %8 = insertvalue { i64, i8* } undef, i64 %.len.i, 0 ; [#uses = 1]
  %9 = insertvalue { i64, i8* } %8, i8* %.ptr, 1  ; [#uses = 1]
  %10 = tail call i32 @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaQkKmZw(i64* nonnull dereferenceable(8) %numCodeUnits, { i64, i8* } %9) #2 ; [#uses = 1]
  %11 = load i64, i64* %numCodeUnits, align 8     ; [#uses = 4]
  %.len14 = load i64, i64* %1, align 8            ; [#uses = 4]
  %bounds.cmp.lo18.not = icmp ult i64 %.len14, %11 ; [#uses = 1]
  br i1 %bounds.cmp.lo18.not, label %bounds.fail16, label %bounds.ok15

bounds.ok15:                                      ; preds = %else
  %.ptr19 = load i8*, i8** %2, align 8            ; [#uses = 1]
  %lowerbound20 = getelementptr inbounds i8, i8* %.ptr19, i64 %11 ; [#uses = 1, type = i8*]
  %12 = sub i64 %.len14, %11                      ; [#uses = 1]
  store i64 %12, i64* %1, align 8
  store i8* %lowerbound20, i8** %2, align 8
  br label %label.__returnLabel

bounds.fail16:                                    ; preds = %else
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1299, i64 %11, i64 %.len14, i64 %.len14) #6
  unreachable

label.__returnLabel:                              ; preds = %bounds.ok15, %bounds.ok3
  %__result.0 = phi i32 [ %7, %bounds.ok3 ], [ %10, %bounds.ok15 ] ; [#uses = 2, type = i32]
  %13 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %__result.0) #2 ; [#uses = 1]
  br i1 %13, label %assertPassed23, label %assertFailed24

assertPassed23:                                   ; preds = %label.__returnLabel
  ret i32 %__result.0

assertFailed24:                                   ; preds = %label.__returnLabel
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1285) #6
  unreachable

assertFailed:                                     ; preds = %0
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1281) #6
  unreachable
}

; [#uses = 3]
; Function Attrs: cold noreturn uwtable
declare void @_d_assert({ i64, i8* }, i32) local_unnamed_addr #6

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaQkKmZw(i64* dereferenceable(8) %index, { i64, i8* } %str_arg) local_unnamed_addr #1 {
  %.frame = alloca %nest.decodeImpl, align 8      ; [#uses = 15, size/byte = 16]
  %str_arg.fca.0.extract = extractvalue { i64, i8* } %str_arg, 0 ; [#uses = 1]
  %str_arg.fca.1.extract = extractvalue { i64, i8* } %str_arg, 1 ; [#uses = 1]
  %pstr = getelementptr inbounds %nest.decodeImpl, %nest.decodeImpl* %.frame, i64 0, i32 0 ; [#uses = 1, type = i8**]
  %length = getelementptr inbounds %nest.decodeImpl, %nest.decodeImpl* %.frame, i64 0, i32 1 ; [#uses = 1, type = i64*]
  %1 = load i64, i64* %index, align 8             ; [#uses = 4]
  %2 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 %1 ; [#uses = 5, type = i8*]
  store i8* %2, i8** %pstr, align 8
  %3 = sub i64 %str_arg.fca.0.extract, %1         ; [#uses = 4]
  store i64 %3, i64* %length, align 8
  %4 = load i8, i8* %2, align 1                   ; [#uses = 4]
  %5 = zext i8 %4 to i32                          ; [#uses = 3]
  %6 = and i32 %5, 192                            ; [#uses = 1]
  %.not = icmp eq i32 %6, 192                     ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %0
  %7 = bitcast %nest.decodeImpl* %.frame to i8*   ; [#uses = 1]
  %8 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %7) #1 ; [#uses = 1]
  %9 = bitcast %std.utf.UTFException* %8 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %9) #6
  unreachable

endif:                                            ; preds = %0
  %10 = icmp eq i64 %3, 1                         ; [#uses = 1]
  br i1 %10, label %if3, label %endif4

if3:                                              ; preds = %endif
  %11 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %12 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ11outOfBoundsMFNaNbZCQFgQFf12UTFException(i8* nonnull %11) #1 ; [#uses = 1]
  %13 = bitcast %std.utf.UTFException* %12 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %13) #6
  unreachable

endif4:                                           ; preds = %endif
  %14 = getelementptr inbounds i8, i8* %2, i64 1  ; [#uses = 1, type = i8*]
  %15 = load i8, i8* %14, align 1                 ; [#uses = 1]
  %16 = zext i8 %15 to i32                        ; [#uses = 2]
  %17 = and i32 %16, 192                          ; [#uses = 1]
  %.not75 = icmp eq i32 %17, 128                  ; [#uses = 1]
  br i1 %.not75, label %endif7, label %if6

if6:                                              ; preds = %endif4
  %18 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %19 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %18) #1 ; [#uses = 1]
  %20 = bitcast %std.utf.UTFException* %19 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %20) #6
  unreachable

endif7:                                           ; preds = %endif4
  %21 = shl nuw nsw i32 %5, 6                     ; [#uses = 1]
  %22 = and i32 %16, 63                           ; [#uses = 1]
  %23 = or i32 %22, %21                           ; [#uses = 4]
  %.mask79 = and i8 %4, 32                        ; [#uses = 1]
  %24 = icmp eq i8 %.mask79, 0                    ; [#uses = 1]
  br i1 %24, label %if9, label %unrolledstmt1

if9:                                              ; preds = %endif7
  %25 = and i32 %5, 30                            ; [#uses = 1]
  %26 = icmp eq i32 %25, 0                        ; [#uses = 1]
  br i1 %26, label %if11, label %endif12

if11:                                             ; preds = %if9
  %27 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %28 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %27) #1 ; [#uses = 1]
  %29 = bitcast %std.utf.UTFException* %28 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %29) #6
  unreachable

endif12:                                          ; preds = %if9
  %30 = and i32 %23, 2047                         ; [#uses = 1]
  %31 = add i64 %1, 2                             ; [#uses = 1]
  store i64 %31, i64* %index, align 8
  ret i32 %30

unrolledstmt1:                                    ; preds = %endif7
  %32 = icmp eq i64 %3, 2                         ; [#uses = 1]
  br i1 %32, label %if14, label %endif15

if14:                                             ; preds = %unrolledstmt1
  %33 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %34 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ11outOfBoundsMFNaNbZCQFgQFf12UTFException(i8* nonnull %33) #1 ; [#uses = 1]
  %35 = bitcast %std.utf.UTFException* %34 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %35) #6
  unreachable

endif15:                                          ; preds = %unrolledstmt1
  %36 = getelementptr inbounds i8, i8* %2, i64 2  ; [#uses = 1, type = i8*]
  %37 = load i8, i8* %36, align 1                 ; [#uses = 1]
  %38 = zext i8 %37 to i32                        ; [#uses = 2]
  %39 = and i32 %38, 192                          ; [#uses = 1]
  %.not76 = icmp eq i32 %39, 128                  ; [#uses = 1]
  br i1 %.not76, label %endif18, label %if17

if17:                                             ; preds = %endif15
  %40 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %41 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %40) #1 ; [#uses = 1]
  %42 = bitcast %std.utf.UTFException* %41 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %42) #6
  unreachable

endif18:                                          ; preds = %endif15
  %43 = shl nuw nsw i32 %23, 6                    ; [#uses = 1]
  %44 = and i32 %38, 63                           ; [#uses = 1]
  %45 = or i32 %44, %43                           ; [#uses = 2]
  %.mask80 = and i8 %4, 16                        ; [#uses = 1]
  %46 = icmp eq i8 %.mask80, 0                    ; [#uses = 1]
  br i1 %46, label %if20, label %unrolledstmt2

if20:                                             ; preds = %endif18
  %47 = and i32 %45, 65535                        ; [#uses = 2]
  %48 = and i32 %23, 992                          ; [#uses = 1]
  %49 = icmp eq i32 %48, 0                        ; [#uses = 1]
  br i1 %49, label %if22, label %endif23

if22:                                             ; preds = %if20
  %50 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %51 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %50) #1 ; [#uses = 1]
  %52 = bitcast %std.utf.UTFException* %51 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %52) #6
  unreachable

endif23:                                          ; preds = %if20
  %53 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %47) #2 ; [#uses = 1]
  br i1 %53, label %endif26, label %if25

if25:                                             ; preds = %endif23
  %54 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %55 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %54) #1 ; [#uses = 1]
  %56 = bitcast %std.utf.UTFException* %55 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %56) #6
  unreachable

endif26:                                          ; preds = %endif23
  %57 = load i64, i64* %index, align 8            ; [#uses = 1]
  %58 = add i64 %57, 3                            ; [#uses = 1]
  store i64 %58, i64* %index, align 8
  ret i32 %47

unrolledstmt2:                                    ; preds = %endif18
  %59 = icmp eq i64 %3, 3                         ; [#uses = 1]
  br i1 %59, label %if29, label %endif30

if29:                                             ; preds = %unrolledstmt2
  %60 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %61 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ11outOfBoundsMFNaNbZCQFgQFf12UTFException(i8* nonnull %60) #1 ; [#uses = 1]
  %62 = bitcast %std.utf.UTFException* %61 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %62) #6
  unreachable

endif30:                                          ; preds = %unrolledstmt2
  %63 = getelementptr inbounds i8, i8* %2, i64 3  ; [#uses = 1, type = i8*]
  %64 = load i8, i8* %63, align 1                 ; [#uses = 1]
  %65 = zext i8 %64 to i32                        ; [#uses = 2]
  %66 = and i32 %65, 192                          ; [#uses = 1]
  %.not77 = icmp eq i32 %66, 128                  ; [#uses = 1]
  br i1 %.not77, label %endif33, label %if32

if32:                                             ; preds = %endif30
  %67 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %68 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %67) #1 ; [#uses = 1]
  %69 = bitcast %std.utf.UTFException* %68 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %69) #6
  unreachable

endif33:                                          ; preds = %endif30
  %.mask = and i8 %4, 8                           ; [#uses = 1]
  %.not78 = icmp eq i8 %.mask, 0                  ; [#uses = 1]
  br i1 %.not78, label %if35, label %unrolledend

if35:                                             ; preds = %endif33
  %70 = shl nuw nsw i32 %45, 6                    ; [#uses = 1]
  %71 = and i32 %65, 63                           ; [#uses = 1]
  %.masked = and i32 %70, 2097088                 ; [#uses = 1]
  %72 = or i32 %71, %.masked                      ; [#uses = 2]
  %73 = and i32 %23, 496                          ; [#uses = 1]
  %74 = icmp eq i32 %73, 0                        ; [#uses = 1]
  br i1 %74, label %if37, label %endif38

if37:                                             ; preds = %if35
  %75 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %76 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %75) #1 ; [#uses = 1]
  %77 = bitcast %std.utf.UTFException* %76 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %77) #6
  unreachable

endif38:                                          ; preds = %if35
  %78 = add i64 %1, 4                             ; [#uses = 1]
  store i64 %78, i64* %index, align 8
  %79 = icmp ugt i32 %72, 1114111                 ; [#uses = 1]
  br i1 %79, label %if40, label %endif41

if40:                                             ; preds = %endif38
  %80 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %81 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %80) #1 ; [#uses = 1]
  %82 = bitcast %std.utf.UTFException* %81 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %82) #6
  unreachable

endif41:                                          ; preds = %endif38
  ret i32 %72

unrolledend:                                      ; preds = %endif33
  %83 = bitcast %nest.decodeImpl* %.frame to i8*  ; [#uses = 1]
  %84 = call %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %83) #1 ; [#uses = 1]
  %85 = bitcast %std.utf.UTFException* %84 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %85) #6
  unreachable
}

; [#uses = 3]
declare zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32) local_unnamed_addr #2

; [#uses = 10]
; Function Attrs: uwtable
define weak_odr %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ10invalidUTFMFNaNbZCQFfQFe12UTFException(i8* nonnull %.nest_arg) local_unnamed_addr #1 {
bounds.ok.i:
  %sequence.i = alloca [4 x i32], align 4         ; [#uses = 6, size/byte = 16]
  %pstr = bitcast i8* %.nest_arg to i8**          ; [#uses = 1]
  %length = getelementptr inbounds i8, i8* %.nest_arg, i64 8 ; [#uses = 1, type = i8*]
  %0 = bitcast i8* %length to i64*                ; [#uses = 1]
  %1 = load i64, i64* %0, align 8                 ; [#uses = 9]
  %2 = load i8*, i8** %pstr, align 8              ; [#uses = 7]
  %3 = bitcast [4 x i32]* %sequence.i to i8*      ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %3)
  %exitcond.not.i = icmp eq i64 %1, 0             ; [#uses = 1]
  br i1 %exitcond.not.i, label %bounds.fail3.i, label %bounds.ok2.i

bounds.ok2.i:                                     ; preds = %bounds.ok.i
  %4 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %5 = load i8, i8* %2, align 1                   ; [#uses = 1]
  %6 = zext i8 %5 to i32                          ; [#uses = 1]
  store i32 %6, i32* %4, align 4
  %.not = icmp eq i64 %1, 1                       ; [#uses = 1]
  br i1 %.not, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit, label %bounds.ok9.i

bounds.fail3.i:                                   ; preds = %bounds.ok.i.3, %bounds.ok.i.2, %bounds.ok.i.1, %bounds.ok.i
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #6
  unreachable

bounds.ok9.i:                                     ; preds = %bounds.ok2.i
  %7 = getelementptr inbounds i8, i8* %2, i64 1   ; [#uses = 1, type = i8*]
  %8 = load i8, i8* %7, align 1                   ; [#uses = 1]
  %9 = and i8 %8, -64                             ; [#uses = 1]
  %10 = icmp eq i8 %9, -128                       ; [#uses = 1]
  br i1 %10, label %bounds.ok.i.1, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit: ; preds = %bounds.ok2.i.3, %bounds.ok2.i, %bounds.ok9.i.2, %bounds.ok2.i.2, %bounds.ok9.i.1, %bounds.ok2.i.1, %bounds.ok9.i
  %.lcssa = phi i64 [ 1, %bounds.ok2.i ], [ 1, %bounds.ok9.i ], [ 2, %bounds.ok2.i.1 ], [ 2, %bounds.ok9.i.1 ], [ 3, %bounds.ok2.i.2 ], [ 3, %bounds.ok9.i.2 ], [ 4, %bounds.ok2.i.3 ] ; [#uses = 2, type = i64]
  %.newclass_gc_alloc.i = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #3 ; [#uses = 4]
  %.newclass_gc.i = bitcast %object.Object* %.newclass_gc_alloc.i to %std.utf.UTFException* ; [#uses = 2]
  %vtbl.i = bitcast %object.Object* %.newclass_gc_alloc.i to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl.i, align 8
  %11 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %11, align 8
  %12 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 1 ; [#uses = 1, type = %object.Object*]
  %13 = bitcast %object.Object* %12 to i8*        ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %13, i8* nonnull align 8 dereferenceable(96) bitcast ({ i64, i8* }* getelementptr inbounds (%std.utf.UTFException, %std.utf.UTFException* @_D3std3utf12UTFException6__initZ, i64 0, i32 2) to i8*), i64 96, i1 false)
  %14 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk(%std.utf.UTFException* nonnull returned %.newclass_gc.i, %object.Throwable* null, i64 1547, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 22, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i32 0, i32 0) }) #2 ; [#uses = 0]
  %15 = load [11 x i8*]*, [11 x i8*]** %vtbl.i, align 8 ; [#uses = 1]
  %"setSequence@vtbl.i" = getelementptr inbounds [11 x i8*], [11 x i8*]* %15, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %16 = bitcast i8** %"setSequence@vtbl.i" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %17 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %16, align 8 ; [#uses = 1]
  %18 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %19 = insertvalue { i64, i32* } undef, i64 %.lcssa, 0 ; [#uses = 1]
  %20 = insertvalue { i64, i32* } %19, i32* %18, 1 ; [#uses = 1]
  %21 = call %std.utf.UTFException* %17(%std.utf.UTFException* nonnull %.newclass_gc.i, { i64, i32* } %20) ; [#uses = 1]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %3)
  ret %std.utf.UTFException* %21

bounds.ok.i.1:                                    ; preds = %bounds.ok9.i
  %exitcond.not.i.1 = icmp eq i64 %1, 1           ; [#uses = 1]
  br i1 %exitcond.not.i.1, label %bounds.fail3.i, label %bounds.ok2.i.1

bounds.ok2.i.1:                                   ; preds = %bounds.ok.i.1
  %22 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 1 ; [#uses = 1, type = i32*]
  %23 = getelementptr inbounds i8, i8* %2, i64 1  ; [#uses = 1, type = i8*]
  %24 = load i8, i8* %23, align 1                 ; [#uses = 1]
  %25 = zext i8 %24 to i32                        ; [#uses = 1]
  store i32 %25, i32* %22, align 4
  %26 = icmp ugt i64 %1, 2                        ; [#uses = 1]
  br i1 %26, label %bounds.ok9.i.1, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok9.i.1:                                   ; preds = %bounds.ok2.i.1
  %27 = getelementptr inbounds i8, i8* %2, i64 2  ; [#uses = 1, type = i8*]
  %28 = load i8, i8* %27, align 1                 ; [#uses = 1]
  %29 = and i8 %28, -64                           ; [#uses = 1]
  %30 = icmp eq i8 %29, -128                      ; [#uses = 1]
  br i1 %30, label %bounds.ok.i.2, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok.i.2:                                    ; preds = %bounds.ok9.i.1
  %exitcond.not.i.2 = icmp eq i64 %1, 2           ; [#uses = 1]
  br i1 %exitcond.not.i.2, label %bounds.fail3.i, label %bounds.ok2.i.2

bounds.ok2.i.2:                                   ; preds = %bounds.ok.i.2
  %31 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 2 ; [#uses = 1, type = i32*]
  %32 = getelementptr inbounds i8, i8* %2, i64 2  ; [#uses = 1, type = i8*]
  %33 = load i8, i8* %32, align 1                 ; [#uses = 1]
  %34 = zext i8 %33 to i32                        ; [#uses = 1]
  store i32 %34, i32* %31, align 4
  %35 = icmp ugt i64 %1, 3                        ; [#uses = 1]
  br i1 %35, label %bounds.ok9.i.2, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok9.i.2:                                   ; preds = %bounds.ok2.i.2
  %36 = getelementptr inbounds i8, i8* %2, i64 3  ; [#uses = 1, type = i8*]
  %37 = load i8, i8* %36, align 1                 ; [#uses = 1]
  %38 = and i8 %37, -64                           ; [#uses = 1]
  %39 = icmp eq i8 %38, -128                      ; [#uses = 1]
  br i1 %39, label %bounds.ok.i.3, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok.i.3:                                    ; preds = %bounds.ok9.i.2
  %exitcond.not.i.3 = icmp eq i64 %1, 3           ; [#uses = 1]
  br i1 %exitcond.not.i.3, label %bounds.fail3.i, label %bounds.ok2.i.3

bounds.ok2.i.3:                                   ; preds = %bounds.ok.i.3
  %40 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 3 ; [#uses = 1, type = i32*]
  %41 = getelementptr inbounds i8, i8* %2, i64 3  ; [#uses = 1, type = i8*]
  %42 = load i8, i8* %41, align 1                 ; [#uses = 1]
  %43 = zext i8 %42 to i32                        ; [#uses = 1]
  store i32 %43, i32* %40, align 4
  br label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException({ i64, i8* } %msg_arg, { i64, i8* } %str_arg) local_unnamed_addr #1 {
bounds.ok:
  %sequence = alloca [4 x i32], align 4           ; [#uses = 5, size/byte = 16]
  %str_arg.fca.0.extract = extractvalue { i64, i8* } %str_arg, 0 ; [#uses = 9]
  %str_arg.fca.1.extract = extractvalue { i64, i8* } %str_arg, 1 ; [#uses = 7]
  %exitcond.not = icmp eq i64 %str_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %exitcond.not, label %bounds.fail3, label %bounds.ok2

bounds.ok2:                                       ; preds = %bounds.ok
  %0 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %1 = load i8, i8* %str_arg.fca.1.extract, align 1 ; [#uses = 1]
  %2 = zext i8 %1 to i32                          ; [#uses = 1]
  store i32 %2, i32* %0, align 4
  %.not = icmp eq i64 %str_arg.fca.0.extract, 1   ; [#uses = 1]
  br i1 %.not, label %enddowhile, label %bounds.ok9

bounds.fail3:                                     ; preds = %bounds.ok.3, %bounds.ok.2, %bounds.ok.1, %bounds.ok
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1544, i64 %str_arg.fca.0.extract, i64 %str_arg.fca.0.extract) #6
  unreachable

bounds.ok9:                                       ; preds = %bounds.ok2
  %3 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 1 ; [#uses = 1, type = i8*]
  %4 = load i8, i8* %3, align 1                   ; [#uses = 1]
  %5 = and i8 %4, -64                             ; [#uses = 1]
  %6 = icmp eq i8 %5, -128                        ; [#uses = 1]
  br i1 %6, label %bounds.ok.1, label %enddowhile

enddowhile:                                       ; preds = %bounds.ok2.3, %bounds.ok2, %bounds.ok9.2, %bounds.ok2.2, %bounds.ok9.1, %bounds.ok2.1, %bounds.ok9
  %.lcssa = phi i64 [ 1, %bounds.ok2 ], [ 1, %bounds.ok9 ], [ 2, %bounds.ok2.1 ], [ 2, %bounds.ok9.1 ], [ 3, %bounds.ok2.2 ], [ 3, %bounds.ok9.2 ], [ 4, %bounds.ok2.3 ] ; [#uses = 2, type = i64]
  %.newclass_gc_alloc = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #3 ; [#uses = 4]
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %std.utf.UTFException* ; [#uses = 2]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl, align 8
  %7 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %7, align 8
  %8 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 1 ; [#uses = 1, type = %object.Object*]
  %9 = bitcast %object.Object* %8 to i8*          ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %9, i8* nonnull align 8 dereferenceable(96) bitcast ({ i64, i8* }* getelementptr inbounds (%std.utf.UTFException, %std.utf.UTFException* @_D3std3utf12UTFException6__initZ, i64 0, i32 2) to i8*), i64 96, i1 false)
  %10 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk(%std.utf.UTFException* nonnull returned %.newclass_gc, %object.Throwable* null, i64 1547, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } %msg_arg) #2 ; [#uses = 0]
  %11 = load [11 x i8*]*, [11 x i8*]** %vtbl, align 8 ; [#uses = 1]
  %"setSequence@vtbl" = getelementptr inbounds [11 x i8*], [11 x i8*]* %11, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %12 = bitcast i8** %"setSequence@vtbl" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %13 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %12, align 8 ; [#uses = 1]
  %14 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %15 = insertvalue { i64, i32* } undef, i64 %.lcssa, 0 ; [#uses = 1]
  %16 = insertvalue { i64, i32* } %15, i32* %14, 1 ; [#uses = 1]
  %17 = call %std.utf.UTFException* %13(%std.utf.UTFException* nonnull %.newclass_gc, { i64, i32* } %16) ; [#uses = 1]
  ret %std.utf.UTFException* %17

bounds.ok.1:                                      ; preds = %bounds.ok9
  %exitcond.not.1 = icmp eq i64 %str_arg.fca.0.extract, 1 ; [#uses = 1]
  br i1 %exitcond.not.1, label %bounds.fail3, label %bounds.ok2.1

bounds.ok2.1:                                     ; preds = %bounds.ok.1
  %18 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence, i64 0, i64 1 ; [#uses = 1, type = i32*]
  %19 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 1 ; [#uses = 1, type = i8*]
  %20 = load i8, i8* %19, align 1                 ; [#uses = 1]
  %21 = zext i8 %20 to i32                        ; [#uses = 1]
  store i32 %21, i32* %18, align 4
  %22 = icmp ugt i64 %str_arg.fca.0.extract, 2    ; [#uses = 1]
  br i1 %22, label %bounds.ok9.1, label %enddowhile

bounds.ok9.1:                                     ; preds = %bounds.ok2.1
  %23 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 2 ; [#uses = 1, type = i8*]
  %24 = load i8, i8* %23, align 1                 ; [#uses = 1]
  %25 = and i8 %24, -64                           ; [#uses = 1]
  %26 = icmp eq i8 %25, -128                      ; [#uses = 1]
  br i1 %26, label %bounds.ok.2, label %enddowhile

bounds.ok.2:                                      ; preds = %bounds.ok9.1
  %exitcond.not.2 = icmp eq i64 %str_arg.fca.0.extract, 2 ; [#uses = 1]
  br i1 %exitcond.not.2, label %bounds.fail3, label %bounds.ok2.2

bounds.ok2.2:                                     ; preds = %bounds.ok.2
  %27 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence, i64 0, i64 2 ; [#uses = 1, type = i32*]
  %28 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 2 ; [#uses = 1, type = i8*]
  %29 = load i8, i8* %28, align 1                 ; [#uses = 1]
  %30 = zext i8 %29 to i32                        ; [#uses = 1]
  store i32 %30, i32* %27, align 4
  %31 = icmp ugt i64 %str_arg.fca.0.extract, 3    ; [#uses = 1]
  br i1 %31, label %bounds.ok9.2, label %enddowhile

bounds.ok9.2:                                     ; preds = %bounds.ok2.2
  %32 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 3 ; [#uses = 1, type = i8*]
  %33 = load i8, i8* %32, align 1                 ; [#uses = 1]
  %34 = and i8 %33, -64                           ; [#uses = 1]
  %35 = icmp eq i8 %34, -128                      ; [#uses = 1]
  br i1 %35, label %bounds.ok.3, label %enddowhile

bounds.ok.3:                                      ; preds = %bounds.ok9.2
  %exitcond.not.3 = icmp eq i64 %str_arg.fca.0.extract, 3 ; [#uses = 1]
  br i1 %exitcond.not.3, label %bounds.fail3, label %bounds.ok2.3

bounds.ok2.3:                                     ; preds = %bounds.ok.3
  %36 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence, i64 0, i64 3 ; [#uses = 1, type = i32*]
  %37 = getelementptr inbounds i8, i8* %str_arg.fca.1.extract, i64 3 ; [#uses = 1, type = i8*]
  %38 = load i8, i8* %37, align 1                 ; [#uses = 1]
  %39 = zext i8 %38 to i32                        ; [#uses = 1]
  store i32 %39, i32* %36, align 4
  br label %enddowhile
}

; [#uses = 3]
; Function Attrs: uwtable
define weak_odr %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ11outOfBoundsMFNaNbZCQFgQFf12UTFException(i8* nonnull %.nest_arg) local_unnamed_addr #1 {
bounds.ok.i:
  %sequence.i = alloca [4 x i32], align 4         ; [#uses = 6, size/byte = 16]
  %pstr = bitcast i8* %.nest_arg to i8**          ; [#uses = 1]
  %length = getelementptr inbounds i8, i8* %.nest_arg, i64 8 ; [#uses = 1, type = i8*]
  %0 = bitcast i8* %length to i64*                ; [#uses = 1]
  %1 = load i64, i64* %0, align 8                 ; [#uses = 9]
  %2 = load i8*, i8** %pstr, align 8              ; [#uses = 7]
  %3 = bitcast [4 x i32]* %sequence.i to i8*      ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %3)
  %exitcond.not.i = icmp eq i64 %1, 0             ; [#uses = 1]
  br i1 %exitcond.not.i, label %bounds.fail3.i, label %bounds.ok2.i

bounds.ok2.i:                                     ; preds = %bounds.ok.i
  %4 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %5 = load i8, i8* %2, align 1                   ; [#uses = 1]
  %6 = zext i8 %5 to i32                          ; [#uses = 1]
  store i32 %6, i32* %4, align 4
  %.not = icmp eq i64 %1, 1                       ; [#uses = 1]
  br i1 %.not, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit, label %bounds.ok9.i

bounds.fail3.i:                                   ; preds = %bounds.ok.i.3, %bounds.ok.i.2, %bounds.ok.i.1, %bounds.ok.i
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #6
  unreachable

bounds.ok9.i:                                     ; preds = %bounds.ok2.i
  %7 = getelementptr inbounds i8, i8* %2, i64 1   ; [#uses = 1, type = i8*]
  %8 = load i8, i8* %7, align 1                   ; [#uses = 1]
  %9 = and i8 %8, -64                             ; [#uses = 1]
  %10 = icmp eq i8 %9, -128                       ; [#uses = 1]
  br i1 %10, label %bounds.ok.i.1, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit: ; preds = %bounds.ok2.i.3, %bounds.ok2.i, %bounds.ok9.i.2, %bounds.ok2.i.2, %bounds.ok9.i.1, %bounds.ok2.i.1, %bounds.ok9.i
  %.lcssa = phi i64 [ 1, %bounds.ok2.i ], [ 1, %bounds.ok9.i ], [ 2, %bounds.ok2.i.1 ], [ 2, %bounds.ok9.i.1 ], [ 3, %bounds.ok2.i.2 ], [ 3, %bounds.ok9.i.2 ], [ 4, %bounds.ok2.i.3 ] ; [#uses = 2, type = i64]
  %.newclass_gc_alloc.i = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #3 ; [#uses = 4]
  %.newclass_gc.i = bitcast %object.Object* %.newclass_gc_alloc.i to %std.utf.UTFException* ; [#uses = 2]
  %vtbl.i = bitcast %object.Object* %.newclass_gc_alloc.i to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl.i, align 8
  %11 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %11, align 8
  %12 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 1 ; [#uses = 1, type = %object.Object*]
  %13 = bitcast %object.Object* %12 to i8*        ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %13, i8* nonnull align 8 dereferenceable(96) bitcast ({ i64, i8* }* getelementptr inbounds (%std.utf.UTFException, %std.utf.UTFException* @_D3std3utf12UTFException6__initZ, i64 0, i32 2) to i8*), i64 96, i1 false)
  %14 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk(%std.utf.UTFException* nonnull returned %.newclass_gc.i, %object.Throwable* null, i64 1547, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 44, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i32 0, i32 0) }) #2 ; [#uses = 0]
  %15 = load [11 x i8*]*, [11 x i8*]** %vtbl.i, align 8 ; [#uses = 1]
  %"setSequence@vtbl.i" = getelementptr inbounds [11 x i8*], [11 x i8*]* %15, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %16 = bitcast i8** %"setSequence@vtbl.i" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %17 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %16, align 8 ; [#uses = 1]
  %18 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 0 ; [#uses = 1, type = i32*]
  %19 = insertvalue { i64, i32* } undef, i64 %.lcssa, 0 ; [#uses = 1]
  %20 = insertvalue { i64, i32* } %19, i32* %18, 1 ; [#uses = 1]
  %21 = call %std.utf.UTFException* %17(%std.utf.UTFException* nonnull %.newclass_gc.i, { i64, i32* } %20) ; [#uses = 1]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %3)
  ret %std.utf.UTFException* %21

bounds.ok.i.1:                                    ; preds = %bounds.ok9.i
  %exitcond.not.i.1 = icmp eq i64 %1, 1           ; [#uses = 1]
  br i1 %exitcond.not.i.1, label %bounds.fail3.i, label %bounds.ok2.i.1

bounds.ok2.i.1:                                   ; preds = %bounds.ok.i.1
  %22 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 1 ; [#uses = 1, type = i32*]
  %23 = getelementptr inbounds i8, i8* %2, i64 1  ; [#uses = 1, type = i8*]
  %24 = load i8, i8* %23, align 1                 ; [#uses = 1]
  %25 = zext i8 %24 to i32                        ; [#uses = 1]
  store i32 %25, i32* %22, align 4
  %26 = icmp ugt i64 %1, 2                        ; [#uses = 1]
  br i1 %26, label %bounds.ok9.i.1, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok9.i.1:                                   ; preds = %bounds.ok2.i.1
  %27 = getelementptr inbounds i8, i8* %2, i64 2  ; [#uses = 1, type = i8*]
  %28 = load i8, i8* %27, align 1                 ; [#uses = 1]
  %29 = and i8 %28, -64                           ; [#uses = 1]
  %30 = icmp eq i8 %29, -128                      ; [#uses = 1]
  br i1 %30, label %bounds.ok.i.2, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok.i.2:                                    ; preds = %bounds.ok9.i.1
  %exitcond.not.i.2 = icmp eq i64 %1, 2           ; [#uses = 1]
  br i1 %exitcond.not.i.2, label %bounds.fail3.i, label %bounds.ok2.i.2

bounds.ok2.i.2:                                   ; preds = %bounds.ok.i.2
  %31 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 2 ; [#uses = 1, type = i32*]
  %32 = getelementptr inbounds i8, i8* %2, i64 2  ; [#uses = 1, type = i8*]
  %33 = load i8, i8* %32, align 1                 ; [#uses = 1]
  %34 = zext i8 %33 to i32                        ; [#uses = 1]
  store i32 %34, i32* %31, align 4
  %35 = icmp ugt i64 %1, 3                        ; [#uses = 1]
  br i1 %35, label %bounds.ok9.i.2, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok9.i.2:                                   ; preds = %bounds.ok2.i.2
  %36 = getelementptr inbounds i8, i8* %2, i64 3  ; [#uses = 1, type = i8*]
  %37 = load i8, i8* %36, align 1                 ; [#uses = 1]
  %38 = and i8 %37, -64                           ; [#uses = 1]
  %39 = icmp eq i8 %38, -128                      ; [#uses = 1]
  br i1 %39, label %bounds.ok.i.3, label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit

bounds.ok.i.3:                                    ; preds = %bounds.ok9.i.2
  %exitcond.not.i.3 = icmp eq i64 %1, 3           ; [#uses = 1]
  br i1 %exitcond.not.i.3, label %bounds.fail3.i, label %bounds.ok2.i.3

bounds.ok2.i.3:                                   ; preds = %bounds.ok.i.3
  %40 = getelementptr inbounds [4 x i32], [4 x i32]* %sequence.i, i64 0, i64 3 ; [#uses = 1, type = i32*]
  %41 = getelementptr inbounds i8, i8* %2, i64 3  ; [#uses = 1, type = i8*]
  %42 = load i8, i8* %41, align 1                 ; [#uses = 1]
  %43 = zext i8 %42 to i32                        ; [#uses = 1]
  store i32 %43, i32* %40, align 4
  br label %_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFQiKmZ__T9exceptionTQBbZQpFNaNbNfQBoQDrZCQFuQFt12UTFException.exit
}

; [#uses = 3]
declare %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNfAyamQemC6object9ThrowableZCQCmQClQCk(%std.utf.UTFException* nonnull returned, %object.Throwable*, i64, { i64, i8* }, i64, { i64, i8* }) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T13_utfExceptionVEQBc8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDmFNaNfQCiwZw(i32 %c_arg, { i64, i8* } %msg_arg) local_unnamed_addr #1 {
  %.lval_copy_for_ImplicitByvalRewrite = alloca { i64, i8* }, align 8 ; [#uses = 3, size/byte = 16]
  %arrayliteral = alloca [1 x i32], align 4       ; [#uses = 1, size/byte = 4]
  %msg_arg.fca.0.extract = extractvalue { i64, i8* } %msg_arg, 0 ; [#uses = 1]
  %msg_arg.fca.1.extract = extractvalue { i64, i8* } %msg_arg, 1 ; [#uses = 1]
  %.newclass_gc_alloc = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #3 ; [#uses = 4]
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %std.utf.UTFException* ; [#uses = 2]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl, align 8
  %1 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %1, align 8
  %2 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 1 ; [#uses = 1, type = %object.Object*]
  %3 = bitcast %object.Object* %2 to i8*          ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %3, i8* nonnull align 8 dereferenceable(96) bitcast ({ i64, i8* }* getelementptr inbounds (%std.utf.UTFException, %std.utf.UTFException* @_D3std3utf12UTFException6__initZ, i64 0, i32 2) to i8*), i64 96, i1 false)
  %msg.sroa.0.0..sroa_idx = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %msg_arg.fca.0.extract, i64* %msg.sroa.0.0..sroa_idx, align 8
  %msg.sroa.2.0..sroa_idx1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %msg_arg.fca.1.extract, i8** %msg.sroa.2.0..sroa_idx1, align 8
  %4 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCnQCmQCl(%std.utf.UTFException* nonnull returned %.newclass_gc, %object.Throwable* null, i64 2301, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite) #2 ; [#uses = 0]
  %5 = load [11 x i8*]*, [11 x i8*]** %vtbl, align 8 ; [#uses = 1]
  %"setSequence@vtbl" = getelementptr inbounds [11 x i8*], [11 x i8*]* %5, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %6 = bitcast i8** %"setSequence@vtbl" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %7 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %6, align 8 ; [#uses = 1]
  %8 = getelementptr inbounds [1 x i32], [1 x i32]* %arrayliteral, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 %c_arg, i32* %8, align 4
  %9 = insertvalue { i64, i32* } { i64 1, i32* undef }, i32* %8, 1 ; [#uses = 1]
  %10 = call %std.utf.UTFException* %7(%std.utf.UTFException* nonnull %.newclass_gc, { i64, i32* } %9) ; [#uses = 1]
  %11 = bitcast %std.utf.UTFException* %10 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %11) #6
  unreachable
}

; [#uses = 2]
declare %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCnQCmQCl(%std.utf.UTFException* nonnull returned, %object.Throwable*, i64, { i64, i8* }, { i64, i8* }* byval align 8) local_unnamed_addr #2

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std5stdio4File17LockingTextWriter__T3putTaZQhMFNfaZ12trustedFPUTCFNbNiNeiPS4core4stdcQDe8_IO_FILEZi(%core.stdc.stdio._IO_FILE* %h_arg, i32 %ch_arg) local_unnamed_addr #1 {
  %1 = tail call i32 @fputc_unlocked(i32 %ch_arg, %core.stdc.stdio._IO_FILE* %h_arg) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std5stdio4File17LockingTextWriter__T3putTaZQhMFNfaZ13trustedFPUTWCFNbNiNewPS4core4stdcQDf8_IO_FILEZw(%core.stdc.stdio._IO_FILE* %h_arg, i32 %ch_arg) local_unnamed_addr #1 {
  %1 = tail call i32 @fputwc_unlocked(i32 %ch_arg, %core.stdc.stdio._IO_FILE* %h_arg) #2 ; [#uses = 1]
  ret i32 %1
}

; [#uses = 2]
define linkonce_odr hidden void @ldc.register_dso() {
  %1 = alloca { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }, align 8 ; [#uses = 5, size/byte = 32]
  %2 = getelementptr inbounds { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }, { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }* %1, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 1, i64* %2, align 8
  %3 = getelementptr inbounds { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }, { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }* %1, i64 0, i32 1 ; [#uses = 1, type = i8***]
  store i8** @ldc.dso_slot, i8*** %3, align 8
  %4 = getelementptr inbounds { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }, { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }* %1, i64 0, i32 2 ; [#uses = 1, type = %object.ModuleInfo***]
  store %object.ModuleInfo** @__start___minfo, %object.ModuleInfo*** %4, align 8
  %5 = getelementptr inbounds { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }, { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }* %1, i64 0, i32 3 ; [#uses = 1, type = %object.ModuleInfo***]
  store %object.ModuleInfo** @__stop___minfo, %object.ModuleInfo*** %5, align 8
  %6 = bitcast { i64, i8**, %object.ModuleInfo**, %object.ModuleInfo** }* %1 to i8* ; [#uses = 1]
  call void @_d_dso_registry(i8* nonnull %6)
  ret void
}

; [#uses = 1]
; Function Attrs: uwtable
declare void @_d_dso_registry(i8*) local_unnamed_addr #3

; [#uses = 10]
; Function Attrs: argmemonly nounwind willreturn
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) #5

; [#uses = 8]
; Function Attrs: argmemonly nounwind willreturn
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) #5

; [#uses = 3]
; Function Attrs: nounwind readnone speculatable willreturn
declare i32 @llvm.ctlz.i32(i32, i1 immarg) #10

attributes #0 = { uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16,+cx16" }
attributes #1 = { uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #2 = { "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #3 = { uwtable }
attributes #4 = { noreturn uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #5 = { argmemonly nounwind willreturn }
attributes #6 = { cold noreturn uwtable }
attributes #7 = { "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16,+cx16" }
attributes #8 = { argmemonly nounwind willreturn writeonly }
attributes #9 = { nofree nounwind "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #10 = { nounwind readnone speculatable willreturn }
attributes #11 = { noreturn "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }

!llvm.ldc.typeinfo._D12TypeInfo_Aya6__initZ = !{!0}
!llvm.ldc.typeinfo._D9Exception7__ClassZ = !{!1}
!llvm.ldc.classinfo._D9Exception7__ClassZ = !{!2}
!llvm.ldc.typeinfo._D12TypeInfo_Axa6__initZ = !{!0}
!llvm.ldc.typeinfo._D11TypeInfo_Aa6__initZ = !{!0}
!llvm.ldc.typeinfo._D3std9exception14ErrnoException7__ClassZ = !{!3}
!llvm.ldc.classinfo._D3std9exception14ErrnoException7__ClassZ = !{!4}
!llvm.ldc.typeinfo._D3std3utf12UTFException7__ClassZ = !{!5}
!llvm.ldc.classinfo._D3std3utf12UTFException7__ClassZ = !{!6}
!llvm.ident = !{!7}

!0 = !{{ i64, i8* } undef}
!1 = !{%object.Exception* undef}
!2 = !{%object.Exception undef, i1 false}
!3 = !{%std.exception.ErrnoException* undef}
!4 = !{%std.exception.ErrnoException undef, i1 false}
!5 = !{%std.utf.UTFException* undef}
!6 = !{%std.utf.UTFException undef, i1 false}
!7 = !{!"ldc version 1.28.0"}
!8 = !{!9}
!9 = distinct !{!9, !10, !"_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZSQCsQCr__TQCpVii10TaVQCki1TiZQDiFNaNbNiNfiZ6Result: %.sret_arg"}
!10 = distinct !{!10, !"_D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TiZQBrFNaNbNiNfiZSQCsQCr__TQCpVii10TaVQCki1TiZQDiFNaNbNiNfiZ6Result"}
!11 = !{i32 1, i32 33}
!12 = !{i8 0, i8 2}
