import std.stdio, std.string, std.range, std.conv, std.array, std.algorithm, std.math, std.typecons;

void main() {
    const N = readln.chomp.to!long;
    auto Hs = readln.split.to!(long[]);
    foreach_reverse(i; 0..N-1) {
        if (Hs[i] > Hs[i+1]+1) {
            writeln("No");
            return;
        } else if (Hs[i] == Hs[i+1]+1) {
            Hs[i]--;
        }
    }
    writeln("Yes");
}


; ModuleID = '/data/TheStack_IR/OJ_Samples/Collated/D/Source_5477/source.d'
source_filename = "/data/TheStack_IR/OJ_Samples/Collated/D/Source_5477/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 opaque
%1 = type opaque
%2 = type { i32, i32, i64, [2 x %object.ModuleInfo*], [7 x 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.TypeInfo = type { [19 x i8*]*, i8* }
%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 }>
%object.TypeInfo_Array = type { [19 x i8*]*, i8*, %object.TypeInfo* }
%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 }>
%std.conv.ConvOverflowException = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32 }>
%std.conv.ConvException = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32 }>
%object.TypeInfo_Const = type { [19 x i8*]*, i8*, %object.TypeInfo* }
%object.TypeInfo_Struct = type { [19 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64 (i8*)*, i1 (i8*, i8*)*, i32 (i8*, i8*)*, { i64, i8* } (i8*)*, i32, [4 x i8], void (i8*)*, void (i8*)*, i32, [4 x i8], %object.TypeInfo*, %object.TypeInfo*, i8* }
%std.exception.ErrnoException = type <{ [10 x i8*]*, i8*, { i64, i8* }, { i64, i8* }, i64, %object.Throwable.TraceInfo*, %object.Throwable*, i32, i32 }>
%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] }
%nest.split = type { i8, [7 x i8], %"std.array.Appender!(string[]).Appender", { i64, i8* }, i64 }
%"std.array.Appender!(string[]).Appender" = type { %"std.array.Appender!(string[]).Appender.Data"* }
%"std.array.Appender!(string[]).Appender.Data" = type { i64, { i64, { i64, i8* }* }, i8, [7 x i8] }
%std.stdio.File.LockingTextWriter = type { %std.stdio.File, i32, i16, [4 x i8], [6 x i8], i64 }
%nest.decodeImpl = type { i8*, i64 }
%"std.array.Appender!string.Appender" = type { %"std.array.Appender!string.Appender.Data"* }
%"std.array.Appender!string.Appender.Data" = type { i64, { i64, i8* }, i8, [7 x i8] }
%core.memory.BlkInfo_ = type { i8*, i64, i32, [4 x i8] }
%core.memory.GC.Stats = type { i64, i64, i64 }
%"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S" = type { { i64, i8* } }
%"std.array.Appender!(long[]).Appender" = type { %"std.array.Appender!(long[]).Appender.Data"* }
%"std.array.Appender!(long[]).Appender.Data" = type { i64, { i64, i64* }, i8, [7 x i8] }
%"core.internal.lifetime.emplaceRef!(long, long, long).emplaceRef.S" = type { i64 }
%nest.decodeImpl.7 = type { i8*, i64 }

@.str = private unnamed_addr constant [61 x i8] c"/data/TheStack_IR/OJ_Samples/Collated/D/Source_5477/source.d\00" ; [#uses = 1]
@.str.1 = private unnamed_addr constant [3 x i8] c"No\00" ; [#uses = 1]
@.str.2 = private unnamed_addr constant [4 x i8] c"Yes\00" ; [#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]
@_D12TypeInfo_Aya6__initZ = external global %object.TypeInfo_Array ; [#uses = 1]
@.str.6 = private unnamed_addr constant [56 x i8] c"Attempting to fetch the front of an empty array of char\00" ; [#uses = 1]
@.str.7 = private unnamed_addr constant [63 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/primitives.d\00" ; [#uses = 1]
@.str.8 = private unnamed_addr constant [45 x i8] c"Attempted to decode past the end of a string\00" ; [#uses = 1]
@.str.9 = private unnamed_addr constant [50 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/utf.d\00" ; [#uses = 1]
@.str.10 = private unnamed_addr constant [23 x i8] c"Invalid UTF-8 sequence\00" ; [#uses = 1]
@_D3std3utf12UTFException7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 10]
@_D3std3utf12UTFException6__vtblZ = external constant [11 x i8*] ; [#uses = 10]
@_D3std3utf12UTFException6__initZ = external local_unnamed_addr constant %std.utf.UTFException, align 8 ; [#uses = 1]
@_D3std4conv21ConvOverflowException7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 1]
@_D3std4conv21ConvOverflowException6__vtblZ = external constant [10 x i8*] ; [#uses = 1]
@_D3std4conv21ConvOverflowException6__initZ = external local_unnamed_addr constant %std.conv.ConvOverflowException, align 8 ; [#uses = 1]
@.str.12 = private unnamed_addr constant [32 x i8] c"Overflow in integral conversion\00" ; [#uses = 1]
@.str.13 = private unnamed_addr constant [51 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/std/conv.d\00" ; [#uses = 1]
@.str.14 = private unnamed_addr constant [57 x i8] c"Attempting to fetch the front of an empty array of ubyte\00" ; [#uses = 1]
@.str.15 = private unnamed_addr constant [59 x i8] c"Attempting to popFront() past the end of an array of ubyte\00" ; [#uses = 1]
@.str.16 = private unnamed_addr constant [70 x i8] c"Unexpected end of input when converting from type string to type long\00" ; [#uses = 1]
@.str.17 = private unnamed_addr constant [62 x i8] c"Unexpected '\\n' when converting from type string to type long\00" ; [#uses = 1]
@.str.18 = private unnamed_addr constant [13 x i8] c"Unexpected '\00" ; [#uses = 1]
@.str.19 = private unnamed_addr constant [48 x i8] c"' when converting from type string to type long\00" ; [#uses = 1]
@_D3std4conv13ConvException7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 1]
@_D3std4conv13ConvException6__vtblZ = external constant [10 x i8*] ; [#uses = 1]
@_D3std4conv13ConvException6__initZ = external local_unnamed_addr constant %std.conv.ConvException, align 8 ; [#uses = 1]
@_D11TypeInfo_xm6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* @_D10TypeInfo_m6__initZ } ; [#uses = 4]
@_D14TypeInfo_Const6__vtblZ = external constant [19 x i8*] ; [#uses = 7]
@_D10TypeInfo_m6__initZ = external global %object.TypeInfo ; [#uses = 1]
@_D12TypeInfo_xAa6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axa6__initZ to %object.TypeInfo*) } ; [#uses = 2]
@_D11TypeInfo_xb6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* @_D10TypeInfo_b6__initZ } ; [#uses = 4]
@_D10TypeInfo_b6__initZ = external global %object.TypeInfo ; [#uses = 1]
@_D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ = linkonce_odr global %object.TypeInfo_Struct { [19 x i8*]* @_D15TypeInfo_Struct6__vtblZ, i8* null, { i64, i8* } { i64 35, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.20, i32 0, i32 0) }, { i64, i8* } { i64 32, i8* null }, i64 (i8*)* bitcast (i64 (%"std.array.Appender!string.Appender.Data"*)* @_D3std5array__T8AppenderTAyaZQo4Data9__xtoHashFNbNeKxSQCaQBz__TQBwTQBqZQCeQBrZm to i64 (i8*)*), i1 (i8*, i8*)* bitcast (i1 (%"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"*)* @_D3std5array__T8AppenderTAyaZQo4Data11__xopEqualsFKxSQBzQBy__TQBvTQBpZQCdQBqKxQBaZb to i1 (i8*, i8*)*), i32 (i8*, i8*)* null, { i64, i8* } (i8*)* null, i32 1, [4 x i8] zeroinitializer, void (i8*)* null, void (i8*)* null, i32 8, [4 x i8] zeroinitializer, %object.TypeInfo* null, %object.TypeInfo* null, i8* bitcast ([2 x i64]* @_D6object__T10RTInfoImplVAmA2i32i4ZQxyG2m to i8*) } ; [#uses = 1]
@_D15TypeInfo_Struct6__vtblZ = external constant [19 x i8*] ; [#uses = 3]
@.str.20 = private unnamed_addr constant [36 x i8] c"S3std5array__T8AppenderTAyaZQo4Data\00" ; [#uses = 1]
@_D6object__T10RTInfoImplVAmA2i32i4ZQxyG2m = weak_odr constant [2 x i64] [i64 32, i64 4], align 8 ; [#uses = 1]
@.str.21 = private unnamed_addr constant [58 x i8] c"the reallocation would exceed the available pointer range\00" ; [#uses = 1]
@.str.22 = 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]
@.str.23 = private unnamed_addr constant [7 x i8] c"char[]\00" ; [#uses = 1]
@.str.24 = private unnamed_addr constant [68 x i8] c"/usr/lib/ldc/x86_64-linux-gnu/include/d/core/internal/array/utils.d\00" ; [#uses = 1]
@.str.25 = private unnamed_addr constant [41 x i8] c"Encoding a surrogate code point in UTF-8\00" ; [#uses = 1]
@.str.26 = private unnamed_addr constant [40 x i8] c"Encoding an invalid code point in UTF-8\00" ; [#uses = 1]
@_D6object9Throwable7__ClassZ = external global %object.TypeInfo_Class ; [#uses = 2]
@_D14TypeInfo_xAAya6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D14TypeInfo_AxAya6__initZ to %object.TypeInfo*) } ; [#uses = 2]
@_D14TypeInfo_AxAya6__initZ = linkonce_odr global %object.TypeInfo_Array { [19 x i8*]* @_D14TypeInfo_Array6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Const* @_D13TypeInfo_xAya6__initZ to %object.TypeInfo*) } ; [#uses = 1]
@_D14TypeInfo_Array6__vtblZ = external constant [19 x i8*] ; [#uses = 3]
@_D13TypeInfo_xAya6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Aya6__initZ to %object.TypeInfo*) } ; [#uses = 3]
@_D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ = linkonce_odr global %object.TypeInfo_Struct { [19 x i8*]* @_D15TypeInfo_Struct6__vtblZ, i8* null, { i64, i8* } { i64 36, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.27, i32 0, i32 0) }, { i64, i8* } { i64 32, i8* null }, i64 (i8*)* bitcast (i64 (%"std.array.Appender!(string[]).Appender.Data"*)* @_D3std5array__T8AppenderTAAyaZQp4Data9__xtoHashFNbNeKxSQCbQCa__TQBxTQBrZQCfQBrZm to i64 (i8*)*), i1 (i8*, i8*)* bitcast (i1 (%"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"*)* @_D3std5array__T8AppenderTAAyaZQp4Data11__xopEqualsFKxSQCaQBz__TQBwTQBqZQCeQBqKxQBaZb to i1 (i8*, i8*)*), i32 (i8*, i8*)* null, { i64, i8* } (i8*)* null, i32 1, [4 x i8] zeroinitializer, void (i8*)* null, void (i8*)* null, i32 8, [4 x i8] zeroinitializer, %object.TypeInfo* null, %object.TypeInfo* null, i8* bitcast ([2 x i64]* @_D6object__T10RTInfoImplVAmA2i32i4ZQxyG2m to i8*) } ; [#uses = 1]
@.str.27 = private unnamed_addr constant [37 x i8] c"S3std5array__T8AppenderTAAyaZQp4Data\00" ; [#uses = 1]
@.str.28 = private unnamed_addr constant [54 x i8] c"Attempting to shrink Appender with newlength > length\00" ; [#uses = 1]
@.str.29 = private unnamed_addr constant [60 x i8] c"Attempting to shrink empty Appender with non-zero newlength\00" ; [#uses = 1]
@_D13TypeInfo_AAya6__initZ = linkonce_odr global %object.TypeInfo_Array { [19 x i8*]* @_D14TypeInfo_Array6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Aya6__initZ to %object.TypeInfo*) } ; [#uses = 1]
@.str.30 = private unnamed_addr constant [9 x i8] c"string[]\00" ; [#uses = 1]
@_D6object__T10RTInfoImplVAmA2i16i2ZQxyG2m = weak_odr local_unnamed_addr constant [2 x i64] [i64 16, i64 2], align 8 ; [#uses = 0]
@_D6object__T10RTInfoImplVAmA2i8i1ZQwyG2m = weak_odr local_unnamed_addr constant [2 x i64] [i64 8, i64 1], align 8 ; [#uses = 0]
@_D12TypeInfo_xAl6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D12TypeInfo_Axl6__initZ to %object.TypeInfo*) } ; [#uses = 2]
@_D12TypeInfo_Axl6__initZ = linkonce_odr global %object.TypeInfo_Array { [19 x i8*]* @_D14TypeInfo_Array6__vtblZ, i8* null, %object.TypeInfo* bitcast (%object.TypeInfo_Const* @_D11TypeInfo_xl6__initZ to %object.TypeInfo*) } ; [#uses = 1]
@_D11TypeInfo_xl6__initZ = linkonce_odr global %object.TypeInfo_Const { [19 x i8*]* @_D14TypeInfo_Const6__vtblZ, i8* null, %object.TypeInfo* @_D10TypeInfo_l6__initZ } ; [#uses = 1]
@_D10TypeInfo_l6__initZ = external global %object.TypeInfo ; [#uses = 1]
@_D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ = linkonce_odr global %object.TypeInfo_Struct { [19 x i8*]* @_D15TypeInfo_Struct6__vtblZ, i8* null, { i64, i8* } { i64 34, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.31, i32 0, i32 0) }, { i64, i8* } { i64 32, i8* null }, i64 (i8*)* bitcast (i64 (%"std.array.Appender!(long[]).Appender.Data"*)* @_D3std5array__T8AppenderTAlZQn4Data9__xtoHashFNbNeKxSQBzQBy__TQBvTQBpZQCdQBrZm to i64 (i8*)*), i1 (i8*, i8*)* bitcast (i1 (%"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"*)* @_D3std5array__T8AppenderTAlZQn4Data11__xopEqualsFKxSQByQBx__TQBuTQBoZQCcQBqKxQBaZb to i1 (i8*, i8*)*), i32 (i8*, i8*)* null, { i64, i8* } (i8*)* null, i32 1, [4 x i8] zeroinitializer, void (i8*)* null, void (i8*)* null, i32 8, [4 x i8] zeroinitializer, %object.TypeInfo* null, %object.TypeInfo* null, i8* bitcast ([2 x i64]* @_D6object__T10RTInfoImplVAmA2i32i4ZQxyG2m to i8*) } ; [#uses = 1]
@.str.31 = private unnamed_addr constant [35 x i8] c"S3std5array__T8AppenderTAlZQn4Data\00" ; [#uses = 1]
@_D11TypeInfo_Al6__initZ = external global %object.TypeInfo_Array ; [#uses = 1]
@.str.32 = private unnamed_addr constant [7 x i8] c"long[]\00" ; [#uses = 1]
@_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.33 = private unnamed_addr constant [41 x i8] c"Encoding an invalid code point in UTF-32\00" ; [#uses = 1]
@_D3std5array12__ModuleInfoZ = external global %0 ; [#uses = 1]
@_D4core6memory12__ModuleInfoZ = external global %1 ; [#uses = 1]
@_D6source12__ModuleInfoZ = global %2 { i32 -2147482624, i32 0, i64 2, [2 x %object.ModuleInfo*] [%object.ModuleInfo* bitcast (%0* @_D3std5array12__ModuleInfoZ to %object.ModuleInfo*), %object.ModuleInfo* bitcast (%1* @_D4core6memory12__ModuleInfoZ to %object.ModuleInfo*)], [7 x i8] c"source\00" } ; [#uses = 1]
@_D6source11__moduleRefZ = linkonce_odr hidden global %object.ModuleInfo* bitcast (%2* @_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 {
  %1 = tail call { i64, i8* } @_D3std5stdio__T6readlnTAyaZQmFwZQj(i32 10) #3 ; [#uses = 1]
  %2 = tail call { i64, i8* } @_D3std6string__T5chompTAyaZQlFNaNbNiNfQpZQs({ i64, i8* } %1) #3 ; [#uses = 1]
  %3 = tail call i64 @_D3std4conv__T6toImplTlTAyaZQoFNaNfQlZl({ i64, i8* } %2) #3 ; [#uses = 2]
  %4 = tail call { i64, i8* } @_D3std5stdio__T6readlnTAyaZQmFwZQj(i32 10) #3 ; [#uses = 1]
  %5 = tail call { i64, { i64, i8* }* } @_D3std5array__T5splitTAyaZQlFNaNfQlZAQp({ i64, i8* } %4) #3 ; [#uses = 1]
  %6 = tail call { i64, i64* } @_D3std4conv__T6toImplTAlTAAyaZQqFNaNfQmZQs({ i64, { i64, i8* }* } %5) #3 ; [#uses = 2]
  %.ptr = extractvalue { i64, i64* } %6, 1        ; [#uses = 2]
  %.len = extractvalue { i64, i64* } %6, 0        ; [#uses = 4]
  %7 = add i64 %3, -1                             ; [#uses = 2]
  %8 = icmp sgt i64 %7, 0                         ; [#uses = 1]
  br i1 %8, label %forbody.preheader, label %endfor

forbody.preheader:                                ; preds = %0
  %9 = add i64 %3, -2                             ; [#uses = 1]
  br label %forbody

forbody:                                          ; preds = %forbody.preheader, %forinc
  %10 = phi i64 [ %18, %forinc ], [ %9, %forbody.preheader ] ; [#uses = 6, type = i64]
  %__key204.043 = phi i64 [ %10, %forinc ], [ %7, %forbody.preheader ] ; [#uses = 3, type = i64]
  %bounds.cmp = icmp ult i64 %10, %.len           ; [#uses = 1]
  br i1 %bounds.cmp, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %forbody
  %11 = getelementptr inbounds i64, i64* %.ptr, i64 %10 ; [#uses = 2, type = i64*]
  %bounds.cmp4 = icmp ult i64 %__key204.043, %.len ; [#uses = 1]
  br i1 %bounds.cmp4, label %bounds.ok5, label %bounds.fail6

bounds.ok5:                                       ; preds = %bounds.ok
  %12 = getelementptr inbounds i64, i64* %.ptr, i64 %__key204.043 ; [#uses = 1, type = i64*]
  %13 = load i64, i64* %12, align 8               ; [#uses = 2]
  %14 = add i64 %13, 1                            ; [#uses = 2]
  %15 = load i64, i64* %11, align 8               ; [#uses = 2]
  %16 = icmp sgt i64 %15, %14                     ; [#uses = 1]
  br i1 %16, label %if, label %bounds.ok15

if:                                               ; preds = %bounds.ok5
  tail call void @_D3std5stdio__T7writelnTAyaZQnFNfQjZv({ i64, i8* } { i64 2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i32 0, i32 0) }) #3
  ret i32 0

bounds.ok15:                                      ; preds = %bounds.ok5
  %17 = icmp eq i64 %15, %14                      ; [#uses = 1]
  br i1 %17, label %bounds.ok22, label %forinc

bounds.ok22:                                      ; preds = %bounds.ok15
  store i64 %13, i64* %11, align 8
  br label %forinc

bounds.fail6:                                     ; preds = %bounds.ok
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 60, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i32 0, i32 0) }, i32 7, i64 %__key204.043, i64 %.len) #2
  unreachable

bounds.fail:                                      ; preds = %forbody
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 60, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str, i32 0, i32 0) }, i32 7, i64 %10, i64 %.len) #2
  unreachable

forinc:                                           ; preds = %bounds.ok22, %bounds.ok15
  %18 = add i64 %10, -1                           ; [#uses = 1]
  %19 = icmp sgt i64 %10, 0                       ; [#uses = 1]
  br i1 %19, label %forbody, label %endfor

endfor:                                           ; preds = %forinc, %0
  tail call void @_D3std5stdio__T7writelnTAyaZQnFNfQjZv({ i64, i8* } { i64 3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i32 0, i32 0) }) #3
  ret i32 0
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T2toTlZ__TQjTAyaZQqFNaNfQlZl({ i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call i64 @_D3std4conv__T6toImplTlTAyaZQoFNaNfQlZl({ i64, i8* } %_param_0_arg) #3 ; [#uses = 1]
  ret i64 %1
}

; [#uses = 1]
; 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() #3 ; [#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) }) #15
  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) #3 ; [#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) #3 ; [#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 = 0]
; Function Attrs: uwtable
define weak_odr { i64, i64* } @_D3std4conv__T2toTAlZ__TQkTAAyaZQsFNaNfQmZQy({ i64, { i64, i8* }* } %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i64* } @_D3std4conv__T6toImplTAlTAAyaZQqFNaNfQmZQs({ i64, { i64, i8* }* } %_param_0_arg) #3 ; [#uses = 1]
  ret { i64, i64* } %1
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr { i64, { i64, i8* }* } @_D3std5array__T5splitTAyaZQlFNaNfQlZAQp({ i64, i8* } %s_arg) local_unnamed_addr #1 {
  %arr.i.i.i = alloca { i64, { i64, i8* }* }, align 8 ; [#uses = 2, size/byte = 16]
  %arr.i.i = alloca { i64, { i64, i8* }* }, align 8 ; [#uses = 3, size/byte = 16]
  %.frame = alloca %nest.split, align 8           ; [#uses = 6, size/byte = 40]
  %s_arg.fca.0.extract = extractvalue { i64, i8* } %s_arg, 0 ; [#uses = 2]
  %s_arg.fca.1.extract = extractvalue { i64, i8* } %s_arg, 1 ; [#uses = 2]
  %inword = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 0 ; [#uses = 3, type = i8*]
  %result = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 2 ; [#uses = 3, type = %"std.array.Appender!(string[]).Appender"*]
  %.sroa.03.0..sroa_idx = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 3, i32 0 ; [#uses = 3, type = i64*]
  store i64 %s_arg.fca.0.extract, i64* %.sroa.03.0..sroa_idx, align 8
  %.sroa.2.0..sroa_idx4 = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 3, i32 1 ; [#uses = 3, type = i8**]
  store i8* %s_arg.fca.1.extract, i8** %.sroa.2.0..sroa_idx4, align 8
  %istart = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 4 ; [#uses = 2, type = i64*]
  store i64 0, i64* %istart, align 8
  store i8 0, i8* %inword, align 8
  %1 = bitcast { i64, { i64, i8* }* }* %arr.i.i to i8* ; [#uses = 3]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %1)
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
  %.gc_struct.i.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %2 = bitcast { i64, { i64, i8* }* }* %arr.i.i.i to i8* ; [#uses = 3]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i.i, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %2)
  %3 = bitcast { i64, { i64, i8* }* }* %arr.i.i.i to { i64, i8* }* ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %4 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D13TypeInfo_AAya6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %3) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %2)
  %.not.i = icmp eq i64 %4, 0                     ; [#uses = 1]
  br i1 %.not.i, label %_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo.exit, label %if.i.i

if.i.i:                                           ; preds = %0
  %arr_arg.fca.0.gep.i.i = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr.i.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %5 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAAyaTQeZ18_d_arraysetlengthTFNaNbNeMNkKQBnmZm(i64 %4, { i64, { i64, i8* }* }* nonnull dereferenceable(16) %arr.i.i) #16 ; [#uses = 0]
  %.len3.pre.i.i = load i64, i64* %arr_arg.fca.0.gep.i.i, align 8 ; [#uses = 1]
  %.fca.0.load.pre = load i64, i64* %.sroa.03.0..sroa_idx, align 8 ; [#uses = 1]
  %.fca.1.load.pre = load i8*, i8** %.sroa.2.0..sroa_idx4, align 8 ; [#uses = 1]
  br label %_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo.exit

_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo.exit: ; preds = %0, %if.i.i
  %.fca.1.load = phi i8* [ %.fca.1.load.pre, %if.i.i ], [ %s_arg.fca.1.extract, %0 ] ; [#uses = 1, type = i8*]
  %.fca.0.load = phi i64 [ %.fca.0.load.pre, %if.i.i ], [ %s_arg.fca.0.extract, %0 ] ; [#uses = 1, type = i64]
  %.len3.i.i = phi i64 [ %.len3.pre.i.i, %if.i.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %6 = bitcast i8* %.gc_struct.i.i to i64*        ; [#uses = 1]
  store i64 %.len3.i.i, i64* %6, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %1)
  %.sroa.0.0..sroa_idx = getelementptr inbounds %nest.split, %nest.split* %.frame, i64 0, i32 2, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %7 = bitcast %"std.array.Appender!(string[]).Appender.Data"** %.sroa.0.0..sroa_idx to i8** ; [#uses = 1]
  store i8* %.gc_struct.i.i, i8** %7, align 8
  %.fca.0.insert = insertvalue { i64, i8* } undef, i64 %.fca.0.load, 0 ; [#uses = 1]
  %.fca.1.insert = insertvalue { i64, i8* } %.fca.0.insert, i8* %.fca.1.load, 1 ; [#uses = 1]
  %8 = insertvalue { i8*, i32 (i8*, i8*, i8*)* } undef, i8* %inword, 0 ; [#uses = 1]
  %.func = insertvalue { i8*, i32 (i8*, i8*, i8*)* } %8, i32 (i8*, i8*, i8*)* bitcast (i32 (i8*, i32*, i64*)* @_D3std5array__T5splitTAyaZQlFNaNfQlZ14__foreachbody5MFNaNbNfKmKwZi to i32 (i8*, i8*, i8*)*), 1 ; [#uses = 1]
  %9 = call i32 @_aApplycd2({ i64, i8* } %.fca.1.insert, { i8*, i32 (i8*, i8*, i8*)* } %.func) #3 ; [#uses = 0]
  %10 = load i8, i8* %inword, align 8, !range !21 ; [#uses = 1]
  %.not = icmp eq i8 %10, 0                       ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo.exit
  %11 = load i64, i64* %istart, align 8           ; [#uses = 4]
  %.len = load i64, i64* %.sroa.03.0..sroa_idx, align 8 ; [#uses = 4]
  %bounds.cmp.lo.not = icmp ult i64 %.len, %11    ; [#uses = 1]
  br i1 %bounds.cmp.lo.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %if
  %.ptr = load i8*, i8** %.sroa.2.0..sroa_idx4, align 8 ; [#uses = 1]
  call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %result, i64 1) #1
  %12 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %result, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %13 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %12, align 8 ; [#uses = 2]
  %14 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %13, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i.i = load i64, i64* %14, align 8       ; [#uses = 4]
  %15 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %13, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.ptr.i.i.i.i = load { i64, i8* }*, { i64, i8* }** %15, align 8 ; [#uses = 3]
  %16 = add i64 %.len.i.i.i, 1                    ; [#uses = 2]
  %bounds.cmp.not.i.i.i = icmp eq i64 %.len.i.i.i, -1 ; [#uses = 1]
  br i1 %bounds.cmp.not.i.i.i, label %bounds.fail.i.i.i, label %_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit

bounds.fail.i.i.i:                                ; preds = %bounds.ok
  call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %16) #2
  unreachable

_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit: ; preds = %bounds.ok
  %17 = sub i64 %.len, %11                        ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr, i64 %11 ; [#uses = 1, type = i8*]
  %18 = ptrtoint i8* %lowerbound to i64           ; [#uses = 1]
  %19 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i.i, i64 %.len.i.i.i, i32 1 ; [#uses = 1, type = i8**]
  %20 = bitcast i8** %19 to i64*                  ; [#uses = 1]
  %21 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i.i, i64 %.len.i.i.i, i32 0 ; [#uses = 1, type = i64*]
  store i64 %17, i64* %21, align 8
  store i64 %18, i64* %20, align 8
  %22 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %12, align 8 ; [#uses = 2]
  %23 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %22, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %16, i64* %23, align 8
  %24 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %22, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %.ptr.i.i.i.i, { i64, i8* }** %24, align 8
  br label %endif

bounds.fail:                                      ; preds = %if
  call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 1831, i64 %11, i64 %.len, i64 %.len) #2
  unreachable

endif:                                            ; preds = %_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo.exit, %_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit
  %25 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %result, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %26 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %25, align 8 ; [#uses = 3]
  %.not.i.i = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %26, null ; [#uses = 1]
  br i1 %.not.i.i, label %_D3std5array__T8AppenderTAAyaZQp4dataMNgFNaNbNdNiNeZANgAya.exit, label %condtrue.i.i

condtrue.i.i:                                     ; preds = %endif
  %.fca.0.gep2.phi.trans.insert.i.i = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %26, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre.i.i = load i64, i64* %.fca.0.gep2.phi.trans.insert.i.i, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert.i.i = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %26, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.fca.1.load.pre.i.i = load { i64, i8* }*, { i64, i8* }** %.fca.1.gep3.phi.trans.insert.i.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAAyaZQp4dataMNgFNaNbNdNiNeZANgAya.exit

_D3std5array__T8AppenderTAAyaZQp4dataMNgFNaNbNdNiNeZANgAya.exit: ; preds = %endif, %condtrue.i.i
  %.fca.1.load.i.i = phi { i64, i8* }* [ %.fca.1.load.pre.i.i, %condtrue.i.i ], [ null, %endif ] ; [#uses = 1, type = { i64, i8* }*]
  %.fca.0.load.i.i = phi i64 [ %.fca.0.load.pre.i.i, %condtrue.i.i ], [ 0, %endif ] ; [#uses = 1, type = i64]
  %.fca.0.insert.i.i = insertvalue { i64, { i64, i8* }* } undef, i64 %.fca.0.load.i.i, 0 ; [#uses = 1]
  %.fca.1.insert9.i.i = insertvalue { i64, { i64, i8* }* } %.fca.0.insert.i.i, { i64, i8* }* %.fca.1.load.i.i, 1 ; [#uses = 1]
  ret { i64, { i64, i8* }* } %.fca.1.insert9.i.i
}

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

; [#uses = 2]
; 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]
  %__tmpfordtor207 = alloca %std.stdio.File, align 8 ; [#uses = 4, size/byte = 24]
  call void @_D3std5stdio13trustedStdoutFNdNeZSQBgQBf4File(%std.stdio.File* noalias nonnull sret align 8 %__tmpfordtor207) #3
  invoke void @_D3std5stdio4File17lockingTextWriterMFNfZSQBoQBnQBk17LockingTextWriter(%std.stdio.File.LockingTextWriter* noalias nonnull sret align 8 %w, %std.stdio.File* nonnull %__tmpfordtor207) #3
          to label %toElem.success unwind label %dtor.__tmpfordtor207

toElem.success:                                   ; preds = %0
  call void @_D3std5stdio4File6__dtorMFNfZv(%std.stdio.File* nonnull %__tmpfordtor207) #3
  %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) #3 ; [#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) }) #15
          to label %.noexc unwind label %finally.loopexit.split-lp

.noexc:                                           ; preds = %if1.i
  unreachable

forbody.i:                                        ; preds = %forcond.preheader.i, %.noexc5
  %__key210.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 %__key210.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) #3
          to label %.noexc5 unwind label %finally.loopexit

.noexc5:                                          ; preds = %forbody.i
  %11 = add nuw i64 %__key210.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) #3
          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) #3
          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) #3 ; [#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) #3
          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) #3
          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) #3
  br label %eh.resume

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

dtor.__tmpfordtor207:                             ; 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 %__tmpfordtor207) #3
  br label %eh.resume

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

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

; [#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*)) #3 ; [#uses = 1]
  ret i32 %1
}

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

; [#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) }) #15
  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) #3 ; [#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) #3 ; [#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) }) #15
  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) #3 ; [#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) #3 ; [#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) #15
  unreachable

endif:                                            ; preds = %0
  ret i1 true
}

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

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

; [#uses = 8]
; 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) #5 ; [#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) #3 ; [#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) #3
  %.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) #3 ; [#uses = 0]
  %9 = bitcast %object.Object* %.newclass_gc_alloc to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %9) #2
  unreachable
}

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

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

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

; [#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) #3 ; [#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) #3
  ret { i64, i8* } %1
}

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

; [#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) #3 ; [#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) #3
  ret { i64, i8* } %1
}

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

; [#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
  %__key156.015 = phi i64 [ %4, %forbody ], [ 0, %0 ] ; [#uses = 2, type = i64]
  %2 = getelementptr inbounds i8, i8* %a_arg.fca.1.extract, i64 %__key156.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) #5 ; [#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 %__key156.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]
; Function Attrs: uwtable
declare { i64, i8* } @_d_arrayappendcTX(%object.TypeInfo*, { i64, i8* }* dereferenceable(16), i64) local_unnamed_addr #5

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i32 @_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a = alloca { i64, i8* }, align 8               ; [#uses = 3, size/byte = 16]
  %i = alloca i64, align 8                        ; [#uses = 2, size/byte = 8]
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 2]
  %a_arg.fca.0.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %a_arg.fca.0.extract, i64* %a_arg.fca.0.gep, align 8
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  %a_arg.fca.1.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %a_arg.fca.1.extract, i8** %a_arg.fca.1.gep, align 8
  %.not = icmp eq i64 %a_arg.fca.0.extract, 0     ; [#uses = 1]
  br i1 %.not, label %assertFailed, label %assertPassed

assertPassed:                                     ; preds = %0
  store i64 0, i64* %i, align 8
  %1 = call i32 @_D3std3utf__T6decodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDhFNaNeKQnKmZw(i64* nonnull dereferenceable(8) %i, { i64, i8* }* nonnull dereferenceable(16) %a) #3 ; [#uses = 1]
  ret i32 %1

assertFailed:                                     ; preds = %0
  tail call void @_d_assert_msg({ i64, i8* } { i64 55, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.6, i32 0, i32 0) }, { i64, i8* } { i64 62, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i32 0, i32 0) }, i32 2502) #2
  unreachable
}

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

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

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

if:                                               ; preds = %bounds.ok
  %8 = add nuw i64 %2, 1                          ; [#uses = 1]
  store i64 %8, i64* %index, align 8
  %.len2 = load i64, i64* %1, align 8             ; [#uses = 2]
  %bounds.cmp3 = icmp ult i64 %2, %.len2          ; [#uses = 1]
  br i1 %bounds.cmp3, label %bounds.ok4, label %bounds.fail5

bounds.ok4:                                       ; preds = %if
  %.ptr6 = load i8*, i8** %4, align 8             ; [#uses = 1]
  %9 = getelementptr inbounds i8, i8* %.ptr6, i64 %2 ; [#uses = 1, type = i8*]
  %10 = load i8, i8* %9, align 1                  ; [#uses = 1]
  %11 = zext i8 %10 to i32                        ; [#uses = 1]
  br label %label.__returnLabel

bounds.fail5:                                     ; preds = %if
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 1184, i64 %2, i64 %.len2) #2
  unreachable

else:                                             ; preds = %bounds.ok
  %12 = tail call i32 @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaKQlKmZw(i64* nonnull dereferenceable(8) %index, { i64, i8* }* nonnull dereferenceable(16) %str) #3 ; [#uses = 1]
  br label %label.__returnLabel

label.__returnLabel:                              ; preds = %else, %bounds.ok4
  %__result.0 = phi i32 [ %11, %bounds.ok4 ], [ %12, %else ] ; [#uses = 2, type = i32]
  %13 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %__result.0) #3 ; [#uses = 1]
  br i1 %13, label %assertPassed9, label %assertFailed10

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

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

assertFailed:                                     ; preds = %0
  tail call void @_d_assert_msg({ i64, i8* } { i64 44, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i32 0, i32 0) }, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 1175) #2
  unreachable
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i32 @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFNaKQlKmZw(i64* dereferenceable(8) %index, { i64, i8* }* dereferenceable(16) %str) local_unnamed_addr #1 {
  %.frame = alloca %nest.decodeImpl, align 8      ; [#uses = 15, size/byte = 16]
  %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 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %.ptr = load i8*, i8** %1, align 8              ; [#uses = 1]
  %2 = load i64, i64* %index, align 8             ; [#uses = 4]
  %3 = getelementptr inbounds i8, i8* %.ptr, i64 %2 ; [#uses = 5, type = i8*]
  store i8* %3, i8** %pstr, align 8
  %4 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %str, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %4, align 8              ; [#uses = 1]
  %5 = sub i64 %.len, %2                          ; [#uses = 4]
  store i64 %5, i64* %length, align 8
  %6 = load i8, i8* %3, align 1                   ; [#uses = 4]
  %7 = zext i8 %6 to i32                          ; [#uses = 3]
  %8 = and i32 %7, 192                            ; [#uses = 1]
  %.not = icmp eq i32 %8, 192                     ; [#uses = 1]
  br i1 %.not, label %endif, label %if

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

if35:                                             ; preds = %endif33
  %72 = shl nuw nsw i32 %47, 6                    ; [#uses = 1]
  %73 = and i32 %67, 63                           ; [#uses = 1]
  %.masked = and i32 %72, 2097088                 ; [#uses = 1]
  %74 = or i32 %73, %.masked                      ; [#uses = 2]
  %75 = and i32 %25, 496                          ; [#uses = 1]
  %76 = icmp eq i32 %75, 0                        ; [#uses = 1]
  br i1 %76, label %if37, label %endif38

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

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

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

endif41:                                          ; preds = %endif38
  ret i32 %74

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

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

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

; [#uses = 10]
; Function Attrs: uwtable
define weak_odr %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ10invalidUTFMFNaNbZCQFgQFf12UTFException(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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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.9, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #2
  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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.exit

_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 22, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i32 0, i32 0) }) #3 ; [#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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.exit
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %std.utf.UTFException* @_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException({ 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.9, i32 0, i32 0) }, i32 1544, i64 %str_arg.fca.0.extract, i64 %str_arg.fca.0.extract) #2
  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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } %msg_arg) #3 ; [#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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ11outOfBoundsMFNaNbZCQFhQFg12UTFException(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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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.9, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #2
  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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.exit

_D3std3utf__T10decodeImplVbi1VEQBd8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 44, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i32 0, i32 0) }) #3 ; [#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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.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_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDrFKQjKmZ__T9exceptionTQBcZQpFNaNbNfQBpQDsZCQFvQFu12UTFException.exit
}

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

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

; [#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 = 3]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T6toImplTlTAyaZQoFNaNfQlZl({ i64, i8* } %value_arg) local_unnamed_addr #1 personality i32 (i32, i32, i64, i8*, i8*)* @_d_eh_personality {
  %value = alloca { i64, i8* }, align 8           ; [#uses = 3, size/byte = 16]
  %value_arg.fca.0.extract = extractvalue { i64, i8* } %value_arg, 0 ; [#uses = 1]
  %value_arg.fca.0.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %value, i64 0, i32 0 ; [#uses = 3, type = i64*]
  store i64 %value_arg.fca.0.extract, i64* %value_arg.fca.0.gep, align 8
  %value_arg.fca.1.extract = extractvalue { i64, i8* } %value_arg, 1 ; [#uses = 1]
  %value_arg.fca.1.gep = getelementptr inbounds { i64, i8* }, { i64, i8* }* %value, i64 0, i32 1 ; [#uses = 2, type = i8**]
  store i8* %value_arg.fca.1.extract, i8** %value_arg.fca.1.gep, align 8
  %1 = invoke i64 @_D3std4conv__T5parseTlTAyaVEQBa8typecons__T4FlagVQBaa7_646f436f756e74ZQBbi0ZQCkFNaNfKQCkZl({ i64, i8* }* nonnull dereferenceable(16) %value) #1
          to label %if unwind label %landingPad4  ; [#uses = 1]

return:                                           ; preds = %if
  ret i64 %1

catch.object.Throwable:                           ; preds = %landingPad4
  %2 = call %object.Throwable* @_d_eh_enter_catch(i8* %8) ; [#uses = 1]
  invoke void @_d_throw_exception(%object.Throwable* %2) #2
          to label %postinvoke unwind label %endif.thread

postinvoke:                                       ; preds = %catch.object.Throwable
  unreachable

endif.thread:                                     ; preds = %catch.object.Throwable
  %3 = landingpad { i8*, i32 }
          cleanup                                 ; [#uses = 1]
  %4 = extractvalue { i8*, i32 } %3, 0            ; [#uses = 1]
  br label %eh.resume

if:                                               ; preds = %0
  %.len.i = load i64, i64* %value_arg.fca.0.gep, align 8 ; [#uses = 2]
  %.not.i = icmp eq i64 %.len.i, 0                ; [#uses = 1]
  br i1 %.not.i, label %return, label %if1

if.thread:                                        ; preds = %landingPad4
  %.len.i25 = load i64, i64* %value_arg.fca.0.gep, align 8 ; [#uses = 2]
  %.not.i26 = icmp eq i64 %.len.i25, 0            ; [#uses = 1]
  br i1 %.not.i26, label %eh.resume, label %if1

if1:                                              ; preds = %if.thread, %if
  %.len.i30 = phi i64 [ %.len.i25, %if.thread ], [ %.len.i, %if ] ; [#uses = 1, type = i64]
  %.fca.0.insert = insertvalue { i64, i8* } undef, i64 %.len.i30, 0 ; [#uses = 1]
  %.fca.1.load = load i8*, i8** %value_arg.fca.1.gep, align 8 ; [#uses = 1]
  %.fca.1.insert = insertvalue { i64, i8* } %.fca.0.insert, i8* %.fca.1.load, 1 ; [#uses = 1]
  %5 = call %std.conv.ConvException* @_D3std4conv__T9convErrorTAyaTlZQrFNaNfQnQpmZCQBrQBq13ConvException(i64 1967, { i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i32 0, i32 0) }, { i64, i8* } %.fca.1.insert) #1 ; [#uses = 1]
  %6 = bitcast %std.conv.ConvException* %5 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %6) #2
  unreachable

eh.resume:                                        ; preds = %if.thread, %endif.thread
  %eh.ptr.01121 = phi i8* [ %4, %endif.thread ], [ %8, %if.thread ] ; [#uses = 1, type = i8*]
  call void @_Unwind_Resume(i8* %eh.ptr.01121)
  unreachable

landingPad4:                                      ; preds = %0
  %7 = landingpad { i8*, i32 }
          cleanup
          catch %object.TypeInfo_Class* @_D6object9Throwable7__ClassZ ; [#uses = 2]
  %8 = extractvalue { i8*, i32 } %7, 0            ; [#uses = 2]
  %9 = extractvalue { i8*, i32 } %7, 1            ; [#uses = 1]
  %10 = call i32 @llvm.eh.typeid.for(i8* bitcast (%object.TypeInfo_Class* @_D6object9Throwable7__ClassZ to i8*)) ; [#uses = 1]
  %11 = icmp eq i32 %9, %10                       ; [#uses = 1]
  br i1 %11, label %catch.object.Throwable, label %if.thread
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i64 @_D3std4conv__T5parseTlTAyaVEQBa8typecons__T4FlagVQBaa7_646f436f756e74ZQBbi0ZQCkFNaNfKQCkZl({ i64, i8* }* dereferenceable(16) %s) local_unnamed_addr #1 {
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %s, i64 0, i32 0 ; [#uses = 2, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt53 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %s, i64 0, i32 1 ; [#uses = 2, type = i8**]
  %.unpack54 = load i8*, i8** %.elt53, align 8    ; [#uses = 3]
  %1 = ptrtoint i8* %.unpack54 to i64             ; [#uses = 2]
  %.not.i = icmp eq i64 %.unpack, 0               ; [#uses = 1]
  br i1 %.not.i, label %label.Lerr, label %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit

_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit: ; preds = %0
  %2 = load i8, i8* %.unpack54, align 1           ; [#uses = 2]
  switch i8 %2, label %switchend [
    i8 45, label %case
    i8 43, label %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66
  ]

case:                                             ; preds = %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit
  br label %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66

_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66: ; preds = %case, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit
  %sign.0 = phi i8 [ 0, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit ], [ 1, %case ] ; [#uses = 1, type = i8]
  %lowerbound.i64 = getelementptr inbounds i8, i8* %.unpack54, i64 1 ; [#uses = 2, type = i8*]
  %3 = add i64 %.unpack, -1                       ; [#uses = 2]
  %4 = ptrtoint i8* %lowerbound.i64 to i64        ; [#uses = 2]
  %.not.i68 = icmp eq i64 %3, 0                   ; [#uses = 1]
  br i1 %.not.i68, label %label.Lerr, label %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74

_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74: ; preds = %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66
  %5 = load i8, i8* %lowerbound.i64, align 1      ; [#uses = 1]
  br label %switchend

switchend:                                        ; preds = %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74
  %source.sroa.15.0 = phi i64 [ %1, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit ], [ %4, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74 ] ; [#uses = 2, type = i64]
  %source.sroa.0.0 = phi i64 [ %.unpack, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit ], [ %3, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74 ] ; [#uses = 3, type = i64]
  %sign.1 = phi i8 [ 0, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit ], [ %sign.0, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74 ] ; [#uses = 2, type = i8]
  %c.0.in = phi i8 [ %2, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit ], [ %5, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit74 ] ; [#uses = 1, type = i8]
  %c.0 = zext i8 %c.0.in to i32                   ; [#uses = 1]
  %6 = add nsw i32 %c.0, -48                      ; [#uses = 2]
  %7 = icmp ult i32 %6, 10                        ; [#uses = 1]
  br i1 %7, label %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80, label %label.Lerr

_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80: ; preds = %switchend
  %8 = zext i32 %6 to i64                         ; [#uses = 2]
  %9 = inttoptr i64 %source.sroa.15.0 to i8*      ; [#uses = 2]
  %source.sroa.0.196 = add i64 %source.sroa.0.0, -1 ; [#uses = 2]
  %source.sroa.15.1.in97 = getelementptr inbounds i8, i8* %9, i64 1 ; [#uses = 2, type = i8*]
  %.not.i8298 = icmp eq i64 %source.sroa.0.196, 0 ; [#uses = 1]
  br i1 %.not.i8298, label %endfor, label %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph

_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph: ; preds = %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80
  %narrow = add nuw nsw i8 %sign.1, 7             ; [#uses = 1]
  %10 = zext i8 %narrow to i32                    ; [#uses = 1]
  %scevgep = getelementptr i8, i8* %9, i64 %source.sroa.0.0 ; [#uses = 1, type = i8*]
  br label %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71

_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71: ; preds = %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit
  %source.sroa.15.1.in102 = phi i8* [ %source.sroa.15.1.in97, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph ], [ %source.sroa.15.1.in, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ] ; [#uses = 3, type = i8*]
  %source.sroa.0.1101 = phi i64 [ %source.sroa.0.196, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph ], [ %source.sroa.0.1, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ] ; [#uses = 2, type = i64]
  %v.099 = phi i64 [ %8, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71.lr.ph ], [ %20, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ] ; [#uses = 5, type = i64]
  %11 = load i8, i8* %source.sroa.15.1.in102, align 1 ; [#uses = 1]
  %12 = zext i8 %11 to i32                        ; [#uses = 1]
  %13 = add nsw i32 %12, -48                      ; [#uses = 3]
  %14 = icmp ugt i32 %13, 9                       ; [#uses = 1]
  br i1 %14, label %endfor, label %endif10

endif10:                                          ; preds = %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71
  %15 = icmp sgt i64 %v.099, -1                   ; [#uses = 1]
  br i1 %15, label %andand, label %else

andand:                                           ; preds = %endif10
  %16 = icmp slt i64 %v.099, 922337203685477580   ; [#uses = 1]
  br i1 %16, label %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit, label %oror

oror:                                             ; preds = %andand
  %17 = icmp ne i64 %v.099, 922337203685477580    ; [#uses = 1]
  %.not56 = icmp ugt i32 %13, %10                 ; [#uses = 1]
  %or.cond = or i1 %17, %.not56                   ; [#uses = 1]
  br i1 %or.cond, label %else, label %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit

_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit: ; preds = %oror, %andand
  %18 = mul nuw nsw i64 %v.099, 10                ; [#uses = 1]
  %19 = zext i32 %13 to i64                       ; [#uses = 1]
  %20 = add nuw i64 %18, %19                      ; [#uses = 2]
  %source.sroa.0.1 = add i64 %source.sroa.0.1101, -1 ; [#uses = 2]
  %source.sroa.15.1.in = getelementptr inbounds i8, i8* %source.sroa.15.1.in102, i64 1 ; [#uses = 1, type = i8*]
  %.not.i82 = icmp eq i64 %source.sroa.0.1, 0     ; [#uses = 1]
  br i1 %.not.i82, label %endfor, label %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71

else:                                             ; preds = %oror, %endif10
  %.newclass_gc_alloc = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std4conv21ConvOverflowException7__ClassZ) #5 ; [#uses = 5]
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %std.conv.ConvOverflowException* ; [#uses = 1]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [10 x i8*]** ; [#uses = 1]
  store [10 x i8*]* @_D3std4conv21ConvOverflowException6__vtblZ, [10 x i8*]** %vtbl, align 8
  %21 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %21, align 8
  %22 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, i64 1 ; [#uses = 1, type = %object.Object*]
  %23 = bitcast %object.Object* %22 to i8*        ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(60) %23, i8* nonnull align 8 dereferenceable(60) bitcast ({ i64, i8* }* getelementptr inbounds (%std.conv.ConvOverflowException, %std.conv.ConvOverflowException* @_D3std4conv21ConvOverflowException6__initZ, i64 0, i32 2) to i8*), i64 60, i1 false)
  %24 = tail call %std.conv.ConvOverflowException* @_D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaQdmZCQCdQCcQCa(%std.conv.ConvOverflowException* nonnull returned %.newclass_gc, i64 2480, { i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i32 0, i32 0) }, { i64, i8* } { i64 31, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i32 0, i32 0) }) #3 ; [#uses = 0]
  %25 = bitcast %object.Object* %.newclass_gc_alloc to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %25) #2
  unreachable

endfor:                                           ; preds = %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80
  %v.0.lcssa = phi i64 [ %8, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80 ], [ %20, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ], [ %v.099, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71 ] ; [#uses = 2, type = i64]
  %source.sroa.0.1.lcssa = phi i64 [ 0, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80 ], [ 0, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ], [ %source.sroa.0.1101, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71 ] ; [#uses = 1, type = i64]
  %source.sroa.15.1.in.lcssa = phi i8* [ %source.sroa.15.1.in97, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit80 ], [ %scevgep, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit ], [ %source.sroa.15.1.in102, %_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh.exit71 ] ; [#uses = 1, type = i8*]
  %source.sroa.15.1 = ptrtoint i8* %source.sroa.15.1.in.lcssa to i64 ; [#uses = 1]
  %.not = icmp eq i8 %sign.1, 0                   ; [#uses = 1]
  %negval = sub i64 0, %v.0.lcssa                 ; [#uses = 1]
  %spec.select = select i1 %.not, i64 %v.0.lcssa, i64 %negval ; [#uses = 1]
  store i64 %source.sroa.0.1.lcssa, i64* %.elt, align 8
  %26 = bitcast i8** %.elt53 to i64*              ; [#uses = 1]
  store i64 %source.sroa.15.1, i64* %26, align 8
  ret i64 %spec.select

label.Lerr:                                       ; preds = %switchend, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66, %0
  %source.sroa.15.2 = phi i64 [ %1, %0 ], [ %source.sroa.15.0, %switchend ], [ %4, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66 ] ; [#uses = 1, type = i64]
  %source.sroa.0.2 = phi i64 [ 0, %0 ], [ %source.sroa.0.0, %switchend ], [ 0, %_D3std5range10primitives__T8popFrontThZQmFNaNbNiNfMKANghZv.exit66 ] ; [#uses = 1, type = i64]
  %27 = inttoptr i64 %source.sroa.15.2 to i8*     ; [#uses = 1]
  %28 = insertvalue { i64, i8* } undef, i64 %source.sroa.0.2, 0 ; [#uses = 1]
  %29 = insertvalue { i64, i8* } %28, i8* %27, 1  ; [#uses = 1]
  %30 = tail call %std.conv.ConvException* @_D3std4conv__T9convErrorTAyaTlZQrFNaNfQnQpmZCQBrQBq13ConvException(i64 2500, { i64, i8* } { i64 50, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i32 0, i32 0) }, { i64, i8* } %29) #3 ; [#uses = 1]
  %31 = bitcast %std.conv.ConvException* %30 to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %31) #2
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std6string__T14representationTyaZQuFNaNbNiNfAyaZAyh({ i64, i8* } %s_arg) local_unnamed_addr #1 {
  ret { i64, i8* } %s_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5range10primitives__T5emptyTAyhZQlFNaNbNdNiNfMKQtZb({ 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 = 0]
; Function Attrs: uwtable
define weak_odr i8* @_D3std5range10primitives__T5frontThZQjFNaNbNcNdNiNfMNkANghZNgh({ i64, i8* } %a_arg) local_unnamed_addr #1 {
  %a_arg.fca.0.extract = extractvalue { i64, i8* } %a_arg, 0 ; [#uses = 1]
  %.not = icmp eq i64 %a_arg.fca.0.extract, 0     ; [#uses = 1]
  br i1 %.not, label %assertFailed, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %a_arg.fca.1.extract = extractvalue { i64, i8* } %a_arg, 1 ; [#uses = 1]
  ret i8* %a_arg.fca.1.extract

assertFailed:                                     ; preds = %0
  tail call void @_d_assert_msg({ i64, i8* } { i64 56, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.14, i32 0, i32 0) }, { i64, i8* } { i64 62, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i32 0, i32 0) }, i32 2472) #2
  unreachable
}

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

bounds.ok:                                        ; preds = %0
  %2 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a, i64 0, i32 1 ; [#uses = 2, type = i8**]
  %.ptr = load i8*, i8** %2, align 8              ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr, i64 1 ; [#uses = 1, type = i8*]
  %3 = add i64 %.len, -1                          ; [#uses = 1]
  store i64 %3, i64* %1, align 8
  store i8* %lowerbound, i8** %2, align 8
  ret void

assertFailed:                                     ; preds = %0
  tail call void @_d_assert_msg({ i64, i8* } { i64 58, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.15, i32 0, i32 0) }, { i64, i8* } { i64 62, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i32 0, i32 0) }, i32 2275) #2
  unreachable
}

; [#uses = 1]
declare %std.conv.ConvOverflowException* @_D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaQdmZCQCdQCcQCa(%std.conv.ConvOverflowException* nonnull returned, i64, { i64, i8* }, { i64, i8* }) local_unnamed_addr #3

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr %std.conv.ConvException* @_D3std4conv__T9convErrorTAyaTlZQrFNaNfQnQpmZCQBrQBq13ConvException(i64 %ln_arg, { i64, i8* } %fn_arg, { i64, i8* } %source_arg) local_unnamed_addr #1 {
  %a.i = alloca { i64, i8* }, align 8             ; [#uses = 4, size/byte = 16]
  %i.i = alloca i64, align 8                      ; [#uses = 3, size/byte = 8]
  %.lval_copy_for_ImplicitByvalRewrite = alloca { i64, i8* }, align 8 ; [#uses = 3, size/byte = 16]
  %source_arg.fca.0.extract = extractvalue { i64, i8* } %source_arg, 0 ; [#uses = 2]
  %.not.i = icmp eq i64 %source_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %.not.i, label %endif, label %_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit

_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit: ; preds = %0
  %source_arg.fca.1.extract = extractvalue { i64, i8* } %source_arg, 1 ; [#uses = 1]
  %1 = bitcast { i64, i8* }* %a.i to i8*          ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %1)
  %2 = bitcast i64* %i.i to i8*                   ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 8, i8* nonnull %2)
  %a_arg.fca.0.gep.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %source_arg.fca.0.extract, i64* %a_arg.fca.0.gep.i, align 8
  %a_arg.fca.1.gep.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %a.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %source_arg.fca.1.extract, i8** %a_arg.fca.1.gep.i, align 8
  store i64 0, i64* %i.i, align 8
  %3 = call i32 @_D3std3utf__T6decodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0TAxaZQDhFNaNeKQnKmZw(i64* nonnull dereferenceable(8) %i.i, { i64, i8* }* nonnull dereferenceable(16) %a.i) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %1)
  call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull %2)
  %4 = icmp eq i32 %3, 10                         ; [#uses = 1]
  br i1 %4, label %endif, label %else3

else3:                                            ; preds = %_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit
  %5 = call { i64, i8* } @_D3std4conv__T8textImplTAyaTQeTwTQjZQwFNaNfQtwQwZQz({ i64, i8* } { i64 47, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.19, i32 0, i32 0) }, i32 %3, { i64, i8* } { i64 12, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.18, i32 0, i32 0) }) #3 ; [#uses = 2]
  %.ptr6 = extractvalue { i64, i8* } %5, 1        ; [#uses = 1]
  %.len7 = extractvalue { i64, i8* } %5, 0        ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit, %0, %else3
  %msg.sroa.0.0 = phi i64 [ %.len7, %else3 ], [ 69, %0 ], [ 61, %_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit ] ; [#uses = 1, type = i64]
  %msg.sroa.5.0 = phi i8* [ %.ptr6, %else3 ], [ getelementptr inbounds ([70 x i8], [70 x i8]* @.str.16, i64 0, i64 0), %0 ], [ getelementptr inbounds ([62 x i8], [62 x i8]* @.str.17, i64 0, i64 0), %_D3std5range10primitives__T5frontTaZQjFNaNdNfMAxaZw.exit ] ; [#uses = 1, type = i8*]
  %.newclass_gc_alloc = call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std4conv13ConvException7__ClassZ) #5 ; [#uses = 4]
  %.newclass_gc = bitcast %object.Object* %.newclass_gc_alloc to %std.conv.ConvException* ; [#uses = 2]
  %vtbl = bitcast %object.Object* %.newclass_gc_alloc to [10 x i8*]** ; [#uses = 1]
  store [10 x i8*]* @_D3std4conv13ConvException6__vtblZ, [10 x i8*]** %vtbl, align 8
  %6 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc, 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, i64 1 ; [#uses = 1, type = %object.Object*]
  %8 = bitcast %object.Object* %7 to i8*          ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(60) %8, i8* nonnull align 8 dereferenceable(60) bitcast ({ i64, i8* }* getelementptr inbounds (%std.conv.ConvException, %std.conv.ConvException* @_D3std4conv13ConvException6__initZ, i64 0, i32 2) to i8*), i64 60, 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.sroa.0.0, i64* %msg.sroa.0.0..sroa_idx, align 8
  %msg.sroa.5.0..sroa_idx9 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* %msg.sroa.5.0, i8** %msg.sroa.5.0..sroa_idx9, align 8
  %9 = call %std.conv.ConvException* @_D3std4conv13ConvException8__mixin26__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCyQCxQCv(%std.conv.ConvException* nonnull returned %.newclass_gc, %object.Throwable* null, i64 %ln_arg, { i64, i8* } %fn_arg, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite) #3 ; [#uses = 0]
  ret %std.conv.ConvException* %.newclass_gc
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T4textTAyaZQkFNaNbNiNfQpZQs({ i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
  ret { i64, i8* } %_param_0_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T4textTAyaTwTQgZQpFNaNfQqwQtZQw({ i64, i8* } %_param_2_arg, i32 %_param_1_arg, { i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
  %1 = tail call { i64, i8* } @_D3std4conv__T8textImplTAyaTQeTwTQjZQwFNaNfQtwQwZQz({ i64, i8* } %_param_2_arg, i32 %_param_1_arg, { i64, i8* } %_param_0_arg) #3 ; [#uses = 1]
  ret { i64, i8* } %1
}

; [#uses = 1]
declare %std.conv.ConvException* @_D3std4conv13ConvException8__mixin26__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCyQCxQCv(%std.conv.ConvException* nonnull returned, %object.Throwable*, i64, { i64, i8* }, { i64, i8* }* byval align 8) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T8textImplTAyaTQeZQrFNaNbNiNfQsZQv({ i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
  ret { i64, i8* } %_param_0_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T2toTAyaZ__TQlTQkZQrFNaNbNiNfQyZQBb({ i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
  ret { i64, i8* } %_param_0_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T6toImplTAyaTQeZQpFNaNbNiNfQsZQv({ i64, i8* } %value_arg) local_unnamed_addr #1 {
  ret { i64, i8* } %value_arg
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std4conv__T8textImplTAyaTQeTwTQjZQwFNaNfQtwQwZQz({ i64, i8* } %_param_2_arg, i32 %_param_1_arg, { i64, i8* } %_param_0_arg) local_unnamed_addr #1 {
_D3std5array__T8AppenderTAyaZQo7reserveMFNaNbNfmZv.exit:
  %app = alloca %"std.array.Appender!string.Appender", align 8 ; [#uses = 6, size/byte = 8]
  %.gc_struct.i.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 2]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i.i, i8 0, i64 32, i1 false)
  %.sroa.0.0..sroa_idx = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %app, i64 0, i32 0 ; [#uses = 4, type = %"std.array.Appender!string.Appender.Data"**]
  %0 = bitcast %"std.array.Appender!string.Appender"* %app to i8** ; [#uses = 1]
  store i8* %.gc_struct.i.i, i8** %0, align 8
  call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %app, i64 60) #3
  %items_arg.fca.0.extract.i = extractvalue { i64, i8* } %_param_0_arg, 0 ; [#uses = 4]
  call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %app, i64 %items_arg.fca.0.extract.i) #1
  %1 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 2]
  %2 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %1, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i.i.i = load i8*, i8** %2, align 8        ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %1, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i.i = load i64, i64* %3, align 8        ; [#uses = 4]
  %4 = add i64 %.len.i.i.i, %items_arg.fca.0.extract.i ; [#uses = 4]
  %bounds.cmp.lo.not.i = icmp ult i64 %4, %.len.i.i.i ; [#uses = 1]
  br i1 %bounds.cmp.lo.not.i, label %bounds.fail.i, label %_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit

bounds.fail.i:                                    ; preds = %_D3std5array__T8AppenderTAyaZQo7reserveMFNaNbNfmZv.exit
  call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3571, i64 %.len.i.i.i, i64 %4, i64 %4) #2
  unreachable

_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit: ; preds = %_D3std5array__T8AppenderTAyaZQo7reserveMFNaNbNfmZv.exit
  %items_arg.fca.1.extract.i = extractvalue { i64, i8* } %_param_0_arg, 1 ; [#uses = 1]
  %lowerbound.i = getelementptr inbounds i8, i8* %.ptr.i.i.i, i64 %.len.i.i.i ; [#uses = 1, type = i8*]
  call void @_d_array_slice_copy(i8* nocapture %lowerbound.i, i64 %items_arg.fca.0.extract.i, i8* nocapture %items_arg.fca.1.extract.i, i64 %items_arg.fca.0.extract.i, i64 1) #5
  %5 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 2]
  %6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %4, i64* %6, align 8
  %7 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.ptr.i.i.i, i8** %7, align 8
  call void @_D3std5array__T8AppenderTAyaZQo__T3putTwZQhMFNaNfwZv(%"std.array.Appender!string.Appender"* nonnull %app, i32 %_param_1_arg) #3
  %items_arg.fca.0.extract.i3 = extractvalue { i64, i8* } %_param_2_arg, 0 ; [#uses = 4]
  call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %app, i64 %items_arg.fca.0.extract.i3) #1
  %8 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 2]
  %9 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %8, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i.i.i4 = load i8*, i8** %9, align 8       ; [#uses = 3]
  %10 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %8, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i.i5 = load i64, i64* %10, align 8      ; [#uses = 4]
  %11 = add i64 %.len.i.i.i5, %items_arg.fca.0.extract.i3 ; [#uses = 5]
  %bounds.cmp.lo.not.i6 = icmp ult i64 %11, %.len.i.i.i5 ; [#uses = 1]
  br i1 %bounds.cmp.lo.not.i6, label %bounds.fail.i9, label %_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit10

bounds.fail.i9:                                   ; preds = %_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit
  call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3571, i64 %.len.i.i.i5, i64 %11, i64 %11) #2
  unreachable

_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit10: ; preds = %_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv.exit
  %items_arg.fca.1.extract.i7 = extractvalue { i64, i8* } %_param_2_arg, 1 ; [#uses = 1]
  %lowerbound.i8 = getelementptr inbounds i8, i8* %.ptr.i.i.i4, i64 %.len.i.i.i5 ; [#uses = 1, type = i8*]
  call void @_d_array_slice_copy(i8* nocapture %lowerbound.i8, i64 %items_arg.fca.0.extract.i3, i8* nocapture %items_arg.fca.1.extract.i7, i64 %items_arg.fca.0.extract.i3, i64 1) #5
  %12 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 3]
  %13 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %12, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %11, i64* %13, align 8
  %14 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %12, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.ptr.i.i.i4, i8** %14, align 8
  %.not.i.i = icmp eq %"std.array.Appender!string.Appender.Data"* %12, null ; [#uses = 2]
  %spec.select = select i1 %.not.i.i, i64 0, i64 %11 ; [#uses = 1]
  %spec.select11 = select i1 %.not.i.i, i8* null, i8* %.ptr.i.i.i4 ; [#uses = 1]
  %.fca.0.insert7.i.i = insertvalue { i64, i8* } undef, i64 %spec.select, 0 ; [#uses = 1]
  %.fca.1.insert10.i.i = insertvalue { i64, i8* } %.fca.0.insert7.i.i, i8* %spec.select11, 1 ; [#uses = 1]
  ret { i64, i8* } %.fca.1.insert10.i.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!string.Appender" @_D3std5array__T8appenderTAyaZQoFNaNbNfZSQBmQBl__T8AppenderTQBiZQo() local_unnamed_addr #1 {
  %.gc_struct.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 2]
  %1 = bitcast i8* %.gc_struct.i to %"std.array.Appender!string.Appender.Data"* ; [#uses = 1]
  %.fca.0.insert = insertvalue %"std.array.Appender!string.Appender" undef, %"std.array.Appender!string.Appender.Data"* %1, 0 ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i, i8 0, i64 32, i1 false)
  ret %"std.array.Appender!string.Appender" %.fca.0.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAyaZQo7reserveMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %newCapacity_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!string.Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %endif.sink.split, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = icmp ult i64 %4, %newCapacity_arg          ; [#uses = 1]
  br i1 %5, label %if1, label %endif

if1:                                              ; preds = %if
  %6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 1]
  %7 = sub i64 %newCapacity_arg, %.len            ; [#uses = 1]
  br label %endif.sink.split

endif.sink.split:                                 ; preds = %0, %if1
  %.sink = phi i64 [ %7, %if1 ], [ %newCapacity_arg, %0 ] ; [#uses = 1, type = i64]
  tail call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %.sink) #3
  br label %endif

endif:                                            ; preds = %endif.sink.split, %if
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFNaNbNfQBbZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, { i64, i8* } %items_arg) local_unnamed_addr #1 {
  %items_arg.fca.0.extract = extractvalue { i64, i8* } %items_arg, 0 ; [#uses = 4]
  tail call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %items_arg.fca.0.extract) #1
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i.i = load i8*, i8** %3, align 8          ; [#uses = 2]
  %4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i = load i64, i64* %4, align 8          ; [#uses = 4]
  %5 = add i64 %.len.i.i, %items_arg.fca.0.extract ; [#uses = 4]
  %bounds.cmp.lo.not = icmp ult i64 %5, %.len.i.i ; [#uses = 1]
  br i1 %bounds.cmp.lo.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %items_arg.fca.1.extract = extractvalue { i64, i8* } %items_arg, 1 ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr.i.i, i64 %.len.i.i ; [#uses = 1, type = i8*]
  tail call void @_d_array_slice_copy(i8* nocapture %lowerbound, i64 %items_arg.fca.0.extract, i8* nocapture %items_arg.fca.1.extract, i64 %items_arg.fca.0.extract, i64 1) #5
  %6 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %7 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %6, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %5, i64* %7, align 8
  %8 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %6, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.ptr.i.i, i8** %8, align 8
  ret void

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3571, i64 %.len.i.i, i64 %5, i64 %5) #2
  unreachable
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAyaZQo__T3putTwZQhMFNaNfwZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i32 %item_arg) local_unnamed_addr #1 {
  %encoded = alloca i32, align 4                  ; [#uses = 3, size/byte = 4]
  %tmpcast = bitcast i32* %encoded to [4 x i8]*   ; [#uses = 1]
  store i32 -1, i32* %encoded, align 4
  %1 = call i64 @_D3std3utf__T6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm(i32 %item_arg, [4 x i8]* nonnull dereferenceable(4) %tmpcast) #3 ; [#uses = 6]
  %bounds.cmp.up = icmp ult i64 %1, 5             ; [#uses = 1]
  br i1 %bounds.cmp.up, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %0
  call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %1) #1
  %2 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!string.Appender.Data"**]
  %3 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %2, align 8 ; [#uses = 2]
  %4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %3, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i.i.i = load i8*, i8** %4, align 8        ; [#uses = 2]
  %5 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %3, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i.i = load i64, i64* %5, align 8        ; [#uses = 4]
  %6 = add i64 %.len.i.i.i, %1                    ; [#uses = 4]
  %bounds.cmp.lo.not.i = icmp ult i64 %6, %.len.i.i.i ; [#uses = 1]
  br i1 %bounds.cmp.lo.not.i, label %bounds.fail.i, label %_D3std5array__T8AppenderTAyaZQo__T3putTAaZQiMFNaNbNfQnZv.exit

bounds.fail.i:                                    ; preds = %bounds.ok
  call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3571, i64 %.len.i.i.i, i64 %6, i64 %6) #2
  unreachable

_D3std5array__T8AppenderTAyaZQo__T3putTAaZQiMFNaNbNfQnZv.exit: ; preds = %bounds.ok
  %7 = bitcast i32* %encoded to i8*               ; [#uses = 1]
  %lowerbound.i = getelementptr inbounds i8, i8* %.ptr.i.i.i, i64 %.len.i.i.i ; [#uses = 1, type = i8*]
  call void @_d_array_slice_copy(i8* nocapture %lowerbound.i, i64 %1, i8* nocapture nonnull %7, i64 %1, i64 1) #5
  %8 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %2, align 8 ; [#uses = 2]
  %9 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %8, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %6, i64* %9, align 8
  %10 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %8, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.ptr.i.i.i, i8** %10, align 8
  ret void

bounds.fail:                                      ; preds = %0
  call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3504, i64 0, i64 %1, i64 4) #2
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T8AppenderTAyaZQo4dataMNgFNaNbNdNiNeZQBa(%"std.array.Appender!string.Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not.i = icmp eq %"std.array.Appender!string.Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not.i, label %_D3std5array__T8AppenderTAyaZQo7opSliceMNgFNaNbNdNiNeZQBd.exit, label %condtrue.i

condtrue.i:                                       ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i = load i64, i64* %3, align 8            ; [#uses = 1]
  %4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i = load i8*, i8** %4, align 8            ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAyaZQo7opSliceMNgFNaNbNdNiNeZQBd.exit

_D3std5array__T8AppenderTAyaZQo7opSliceMNgFNaNbNdNiNeZQBd.exit: ; preds = %0, %condtrue.i
  %condtmp.0.sroa.phi14.sroa.speculated.i = phi i64 [ %.len.i, %condtrue.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %condtmp.0.sroa.phi17.sroa.speculated.i = phi i8* [ %.ptr.i, %condtrue.i ], [ null, %0 ] ; [#uses = 1, type = i8*]
  %.fca.0.insert7.i = insertvalue { i64, i8* } undef, i64 %condtmp.0.sroa.phi14.sroa.speculated.i, 0 ; [#uses = 1]
  %.fca.1.insert10.i = insertvalue { i64, i8* } %.fca.0.insert7.i, i8* %condtmp.0.sroa.phi17.sroa.speculated.i, 1 ; [#uses = 1]
  ret { i64, i8* } %.fca.1.insert10.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!string.Appender"* @_D3std5array__T8AppenderTAyaZQo6__ctorMFNaNbNcNeQxZSQByQBx__TQBuTQBoZQCc(%"std.array.Appender!string.Appender"* nonnull returned %.this_arg, { i64, i8* } %arr_arg) local_unnamed_addr #1 {
  %arr_arg.fca.0.extract = extractvalue { i64, i8* } %arr_arg, 0 ; [#uses = 2]
  %arr_arg.fca.1.extract = extractvalue { i64, i8* } %arr_arg, 1 ; [#uses = 1]
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 5]
  %1 = bitcast i8* %.gc_struct to i64*            ; [#uses = 1]
  %2 = getelementptr inbounds i8, i8* %.gc_struct, i64 8 ; [#uses = 1, type = i8*]
  %.repack = bitcast i8* %2 to i64*               ; [#uses = 1]
  %.repack4 = getelementptr inbounds i8, i8* %.gc_struct, i64 16 ; [#uses = 1, type = i8*]
  %3 = bitcast i8* %.repack4 to i8**              ; [#uses = 1]
  %4 = bitcast %"std.array.Appender!string.Appender"* %.this_arg to i8** ; [#uses = 1]
  %5 = getelementptr inbounds i8, i8* %.gc_struct, i64 24 ; [#uses = 1, type = i8*]
  %6 = bitcast i8* %5 to i64*                     ; [#uses = 1]
  store i64 0, i64* %6, align 8
  store i8* %.gc_struct, i8** %4, align 8
  store i64 %arr_arg.fca.0.extract, i64* %.repack, align 8
  store i8* %arr_arg.fca.1.extract, i8** %3, align 8
  store i64 %arr_arg.fca.0.extract, i64* %1, align 8
  ret %"std.array.Appender!string.Appender"* %.this_arg
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5array__T8AppenderTAyaZQo4Data11__xopEqualsFKxSQBzQBy__TQBvTQBpZQCdQBqKxQBaZb(%"std.array.Appender!string.Appender.Data"* dereferenceable(32) %q, %"std.array.Appender!string.Appender.Data"* dereferenceable(32) %p) #1 {
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %2 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %q, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %3 = load i64, i64* %1, align 8                 ; [#uses = 1]
  %4 = load i64, i64* %2, align 8                 ; [#uses = 1]
  %5 = icmp eq i64 %3, %4                         ; [#uses = 1]
  br i1 %5, label %andand, label %andandend2

andand:                                           ; preds = %0
  %.elt = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.unpack5 = load i8*, i8** %.elt4, align 8      ; [#uses = 1]
  %.elt6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %q, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack7 = load i64, i64* %.elt6, align 8      ; [#uses = 1]
  %.elt8 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %q, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.unpack9 = load i8*, i8** %.elt8, align 8      ; [#uses = 1]
  %.not.i = icmp eq i64 %.unpack, %.unpack7       ; [#uses = 1]
  br i1 %.not.i, label %endif.i, label %andandend2

endif.i:                                          ; preds = %andand
  %6 = icmp eq i64 %.unpack, 0                    ; [#uses = 1]
  br i1 %6, label %andand1, label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit

_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit: ; preds = %endif.i
  %bcmp.i = tail call i32 @bcmp(i8* %.unpack5, i8* %.unpack9, i64 %.unpack) ; [#uses = 1]
  %7 = icmp eq i32 %bcmp.i, 0                     ; [#uses = 1]
  br i1 %7, label %andand1, label %andandend2

andand1:                                          ; preds = %endif.i, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit
  %8 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %9 = load i8, i8* %8, align 1, !range !21       ; [#uses = 1]
  %10 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %q, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %11 = load i8, i8* %10, align 1, !range !21     ; [#uses = 1]
  %12 = icmp eq i8 %9, %11                        ; [#uses = 1]
  br label %andandend2

andandend2:                                       ; preds = %andand, %0, %andand1, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit
  %andandval3 = phi i1 [ false, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit ], [ %12, %andand1 ], [ false, %0 ], [ false, %andand ] ; [#uses = 1, type = i1]
  ret i1 %andandval3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb({ i64, i8* } %rhs_arg, { i64, i8* } %lhs_arg) local_unnamed_addr #1 {
  %lhs_arg.fca.0.extract = extractvalue { i64, i8* } %lhs_arg, 0 ; [#uses = 3]
  %lhs_arg.fca.1.extract = extractvalue { i64, i8* } %lhs_arg, 1 ; [#uses = 1]
  %rhs_arg.fca.0.extract = extractvalue { i64, i8* } %rhs_arg, 0 ; [#uses = 1]
  %rhs_arg.fca.1.extract = extractvalue { i64, i8* } %rhs_arg, 1 ; [#uses = 1]
  %.not = icmp eq i64 %lhs_arg.fca.0.extract, %rhs_arg.fca.0.extract ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %0, %endif, %oror
  %merge = phi i1 [ false, %0 ], [ true, %endif ], [ %2, %oror ] ; [#uses = 1, type = i1]
  ret i1 %merge

endif:                                            ; preds = %0
  %1 = icmp eq i64 %lhs_arg.fca.0.extract, 0      ; [#uses = 1]
  br i1 %1, label %if, label %oror

oror:                                             ; preds = %endif
  %bcmp = tail call i32 @bcmp(i8* %lhs_arg.fca.1.extract, i8* %rhs_arg.fca.1.extract, i64 %lhs_arg.fca.0.extract) ; [#uses = 1]
  %2 = icmp eq i32 %bcmp, 0                       ; [#uses = 1]
  br label %if
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAyaZQo4Data9__xtoHashFNbNeKxSQCaQBz__TQBwTQBqZQCeQBrZm(%"std.array.Appender!string.Appender.Data"* dereferenceable(32) %p) #1 {
unrolledstmt:
  %0 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xm6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl" = getelementptr inbounds [19 x i8*], [19 x i8*]* %0, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %1 = bitcast i8** %"getHash@vtbl" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %2 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %1, align 8 ; [#uses = 1]
  %3 = bitcast %"std.array.Appender!string.Appender.Data"* %p to i8* ; [#uses = 1]
  %4 = tail call i64 %2(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xm6__initZ, i8* nonnull %3) ; [#uses = 1]
  %5 = mul i64 %4, 33                             ; [#uses = 1]
  %6 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D12TypeInfo_xAa6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl3" = getelementptr inbounds [19 x i8*], [19 x i8*]* %6, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %7 = bitcast i8** %"getHash@vtbl3" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %8 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %7, align 8 ; [#uses = 1]
  %9 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 1 ; [#uses = 1, type = { i64, i8* }*]
  %10 = bitcast { i64, i8* }* %9 to i8*           ; [#uses = 1]
  %11 = tail call i64 %8(%object.TypeInfo_Const* nonnull @_D12TypeInfo_xAa6__initZ, i8* nonnull %10) ; [#uses = 1]
  %12 = add i64 %11, %5                           ; [#uses = 1]
  %13 = mul i64 %12, 33                           ; [#uses = 1]
  %14 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xb6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl5" = getelementptr inbounds [19 x i8*], [19 x i8*]* %14, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %15 = bitcast i8** %"getHash@vtbl5" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %16 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %15, align 8 ; [#uses = 1]
  %17 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %18 = tail call i64 %16(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xb6__initZ, i8* nonnull %17) ; [#uses = 1]
  %19 = add i64 %18, %13                          ; [#uses = 1]
  ret i64 %19
}

; [#uses = 12]
; Function Attrs: uwtable
declare noalias i8* @_d_newitemT(%object.TypeInfo*) local_unnamed_addr #5

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

; [#uses = 9]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %nelems_arg) local_unnamed_addr #1 {
  %.sret_tmp = alloca %core.memory.BlkInfo_, align 8 ; [#uses = 3, size/byte = 24]
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 6, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!string.Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %if, label %endif

if:                                               ; preds = %0
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %3 = bitcast %"std.array.Appender!string.Appender"* %.this_arg to i8** ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct, i8 0, i64 32, i1 false)
  store i8* %.gc_struct, i8** %3, align 8
  %4 = bitcast i8* %.gc_struct to %"std.array.Appender!string.Appender.Data"* ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %if, %0
  %5 = phi %"std.array.Appender!string.Appender.Data"* [ %4, %if ], [ %2, %0 ] ; [#uses = 4, type = %"std.array.Appender!string.Appender.Data"*]
  %6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 5]
  %7 = add i64 %.len, %nelems_arg                 ; [#uses = 5]
  %8 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %9 = load i64, i64* %8, align 8                 ; [#uses = 4]
  %.not30 = icmp ult i64 %9, %7                   ; [#uses = 1]
  br i1 %.not30, label %endif4, label %if3

if3:                                              ; preds = %endif
  ret void

endif4:                                           ; preds = %endif
  %10 = icmp eq i64 %9, 0                         ; [#uses = 1]
  br i1 %10, label %if.i, label %endif.i

if.i:                                             ; preds = %endif4
  %11 = icmp ugt i64 %7, 8                        ; [#uses = 1]
  %spec.select.i.i = select i1 %11, i64 %7, i64 8 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm.exit

endif.i:                                          ; preds = %endif4
  %12 = tail call i64 @llvm.ctlz.i64(i64 %9, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %13 = trunc i64 %12 to i16                      ; [#uses = 1]
  %.rhs.trunc.i = sub nuw nsw i16 64, %13         ; [#uses = 1]
  %14 = udiv i16 1000, %.rhs.trunc.i              ; [#uses = 1]
  %.zext.i = zext i16 %14 to i64                  ; [#uses = 2]
  %15 = icmp ult i64 %.zext.i, 100                ; [#uses = 1]
  %16 = select i1 %15, i64 %.zext.i, i64 100      ; [#uses = 1]
  %spec.store.select.i = add nuw nsw i64 %16, 100 ; [#uses = 1]
  %17 = mul i64 %spec.store.select.i, %9          ; [#uses = 1]
  %18 = add i64 %17, 99                           ; [#uses = 1]
  %19 = udiv i64 %18, 100                         ; [#uses = 2]
  %20 = icmp ugt i64 %19, %7                      ; [#uses = 1]
  %b_arg.a_arg.i.i = select i1 %20, i64 %19, i64 %7 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm.exit

_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm.exit: ; preds = %endif.i, %if.i
  %21 = phi i64 [ %spec.select.i.i, %if.i ], [ %b_arg.a_arg.i.i, %endif.i ] ; [#uses = 2, type = i64]
  %22 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %23 = load i8, i8* %22, align 1, !range !21     ; [#uses = 1]
  %.not31 = icmp eq i8 %23, 0                     ; [#uses = 1]
  br i1 %.not31, label %endif11, label %if5

if5:                                              ; preds = %_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm.exit
  %24 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %5, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i39 = load i8*, i8** %24, align 8         ; [#uses = 1]
  %25 = sub i64 %21, %.len                        ; [#uses = 1]
  %26 = tail call i64 @gc_extend(i8* %.ptr.i39, i64 %nelems_arg, i64 %25, %object.TypeInfo* null) #3 ; [#uses = 2]
  %.not34 = icmp eq i64 %26, 0                    ; [#uses = 1]
  br i1 %.not34, label %endif11, label %if7

if7:                                              ; preds = %if5
  %27 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 1]
  %28 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %27, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %26, i64* %28, align 8
  ret void

endif11:                                          ; preds = %_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm.exit, %if5
  call void @gc_qalloc(%core.memory.BlkInfo_* noalias nonnull sret align 8 %.sret_tmp, i64 %21, i32 2, %object.TypeInfo* null) #3
  %.frame.sroa.16.40..sroa_idx = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 0 ; [#uses = 1, type = i8**]
  %.frame.sroa.16.40.copyload = load i8*, i8** %.frame.sroa.16.40..sroa_idx, align 8 ; [#uses = 2]
  %.frame.sroa.19.40..sroa_idx49 = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 1 ; [#uses = 1, type = i64*]
  %.frame.sroa.19.40.copyload = load i64, i64* %.frame.sroa.19.40..sroa_idx49, align 8 ; [#uses = 1]
  %29 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 1]
  %30 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %29, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.frame.sroa.19.40.copyload, i64* %30, align 8
  %.not33 = icmp eq i64 %.len, 0                  ; [#uses = 1]
  br i1 %.not33, label %endif16, label %if15

if15:                                             ; preds = %endif11
  %31 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 1]
  %32 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %31, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i = load i8*, i8** %32, align 8           ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.frame.sroa.16.40.copyload, i8* align 1 %.ptr.i, i64 %.len, i1 false) #3
  br label %endif16

endif16:                                          ; preds = %endif11, %if15
  %33 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %34 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %33, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len, i64* %34, align 8
  %35 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %33, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.frame.sroa.16.40.copyload, i8** %35, align 8
  %36 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 1]
  %37 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %36, i64 0, i32 2 ; [#uses = 1, type = i8*]
  store i8 1, i8* %37, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAyaZQo8capacityMxFNaNbNdNiNfZm(%"std.array.Appender!string.Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!string.Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %condtmp.0.sroa.speculate.load.condtrue = load i64, i64* %3, align 8 ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %condtmp.0.sroa.speculated = phi i64 [ %condtmp.0.sroa.speculate.load.condtrue, %condtrue ], [ 0, %0 ] ; [#uses = 1, type = i64]
  ret i64 %condtmp.0.sroa.speculated
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T8AppenderTAyaZQo7opSliceMNgFNaNbNdNiNeZQBd(%"std.array.Appender!string.Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!string.Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 1]
  %4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr = load i8*, i8** %4, align 8              ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %condtmp.0.sroa.phi14.sroa.speculated = phi i64 [ %.len, %condtrue ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %condtmp.0.sroa.phi17.sroa.speculated = phi i8* [ %.ptr, %condtrue ], [ null, %0 ] ; [#uses = 1, type = i8*]
  %.fca.0.insert7 = insertvalue { i64, i8* } undef, i64 %condtmp.0.sroa.phi14.sroa.speculated, 0 ; [#uses = 1]
  %.fca.1.insert10 = insertvalue { i64, i8* } %.fca.0.insert7, i8* %condtmp.0.sroa.phi17.sroa.speculated, 1 ; [#uses = 1]
  ret { i64, i8* } %.fca.1.insert10
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T19appenderNewCapacityVmi1ZQBaFNaNbNiNfmmZm(i64 %reqLen_arg, i64 %curLen_arg) local_unnamed_addr #1 {
  %1 = icmp eq i64 %curLen_arg, 0                 ; [#uses = 1]
  br i1 %1, label %if, label %endif

if:                                               ; preds = %0
  %2 = icmp ugt i64 %reqLen_arg, 8                ; [#uses = 1]
  %spec.select.i = select i1 %2, i64 %reqLen_arg, i64 8 ; [#uses = 1]
  ret i64 %spec.select.i

endif:                                            ; preds = %0
  %3 = tail call i64 @llvm.ctlz.i64(i64 %curLen_arg, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %4 = trunc i64 %3 to i16                        ; [#uses = 1]
  %.rhs.trunc = sub nuw nsw i16 64, %4            ; [#uses = 1]
  %5 = udiv i16 1000, %.rhs.trunc                 ; [#uses = 1]
  %.zext = zext i16 %5 to i64                     ; [#uses = 2]
  %6 = icmp ult i64 %.zext, 100                   ; [#uses = 1]
  %7 = select i1 %6, i64 %.zext, i64 100          ; [#uses = 1]
  %spec.store.select = add nuw nsw i64 %7, 100    ; [#uses = 1]
  %8 = mul i64 %spec.store.select, %curLen_arg    ; [#uses = 1]
  %9 = add i64 %8, 99                             ; [#uses = 1]
  %10 = udiv i64 %9, 100                          ; [#uses = 2]
  %11 = icmp ugt i64 %10, %reqLen_arg             ; [#uses = 1]
  %b_arg.a_arg.i = select i1 %11, i64 %10, i64 %reqLen_arg ; [#uses = 1]
  ret i64 %b_arg.a_arg.i
}

; [#uses = 3]
declare i64 @gc_extend(i8*, i64, i64, %object.TypeInfo*) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: alwaysinline uwtable
define weak_odr i64 @_D4core10checkedint__T4muluZQgFNaNbNiNfmmKbZm(i8* dereferenceable(1) %overflow, i64 %y_arg, i64 %x_arg) local_unnamed_addr #8 {
  %1 = tail call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %x_arg, i64 %y_arg) #9 ; [#uses = 2]
  %2 = extractvalue { i64, i1 } %1, 0             ; [#uses = 1]
  %3 = extractvalue { i64, i1 } %1, 1             ; [#uses = 1]
  %4 = zext i1 %3 to i8                           ; [#uses = 1]
  %5 = load i8, i8* %overflow, align 1, !range !21 ; [#uses = 1]
  %6 = or i8 %5, %4                               ; [#uses = 1]
  store i8 %6, i8* %overflow, align 1
  ret i64 %2
}

; [#uses = 3]
; Function Attrs: nounwind readnone speculatable willreturn
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #9

; [#uses = 3]
declare void @gc_qalloc(%core.memory.BlkInfo_* noalias sret align 8, i64, i32, %object.TypeInfo*) local_unnamed_addr #3

; [#uses = 1]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAaTaZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %newlength_arg, { i64, i8* }* dereferenceable(16) %arr) local_unnamed_addr #10 {
  %1 = tail call { i64, i8* } @_d_arraysetlengthiT(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Aa6__initZ to %object.TypeInfo*), i64 %newlength_arg, { i64, i8* }* nonnull %arr) #3 ; [#uses = 0]
  %2 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %arr, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %2, align 8              ; [#uses = 1]
  ret i64 %.len
}

; [#uses = 1]
declare { i64, i8* } @_d_arraysetlengthiT(%object.TypeInfo*, i64, { i64, i8* }*) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array5utils__T16_d_HookTraceImplTAaS_DQCbQBzQBt8capacity__T22_d_arraysetlengthTImplHTQCaTaZ18_d_arraysetlengthTFNaNbNeMNkKQDlmZmVAyaa79_43616e6e6f7420726573697a652061727261797320696620636f6d70696c696e6720776974686f757420737570706f727420666f722072756e74696d65207479706520696e666f726d6174696f6e21ZQKvFNaNbNeQGuiQGyMNkKQKxmZm(i64 %_param_4_arg, { i64, i8* }* dereferenceable(16) %_param_3, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* }* byval align 8 %file) local_unnamed_addr #10 {
finally:
  %.sret_tmp = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  %.sret_tmp1 = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp) #3
  %0 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %1 = load i64, i64* %0, align 8                 ; [#uses = 1]
  %2 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAaTaZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %_param_4_arg, { i64, i8* }* nonnull dereferenceable(16) %_param_3) #10 ; [#uses = 1]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp1) #3
  %3 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp1, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = sub i64 %4, %1                             ; [#uses = 2]
  %.not = icmp eq i64 %5, 0                       ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %finally
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 1]
  %6 = insertvalue { i64, i8* } undef, i64 %.unpack, 0 ; [#uses = 1]
  %.elt7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %.unpack8 = load i8*, i8** %.elt7, align 8      ; [#uses = 1]
  %7 = insertvalue { i64, i8* } %6, i8* %.unpack8, 1 ; [#uses = 1]
  %8 = call i64 @_D4core8internal5array5utils14accumulatePureFNaNbAyaiQeQgmZm(i64 %5, { i64, i8* } { i64 6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i32 0, i32 0) }, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* } %7) #3 ; [#uses = 1]
  %.not9 = icmp eq i64 %8, 0                      ; [#uses = 1]
  br i1 %.not9, label %assertFailed, label %endif

assertFailed:                                     ; preds = %if
  call void @_d_assert({ i64, i8* } { i64 67, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.24, i32 0, i32 0) }, i32 86) #2
  unreachable

endif:                                            ; preds = %finally, %if
  ret i64 %2
}

; [#uses = 6]
declare void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias sret align 8) local_unnamed_addr #3

; [#uses = 3]
declare i64 @_D4core8internal5array5utils14accumulatePureFNaNbAyaiQeQgmZm(i64, { i64, i8* }, { i64, i8* }, i32, { i64, i8* }) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std9algorithm10comparison__T3maxTmTiZQjFNaNbNiNfmiZm(i32 %_param_1_arg, i64 %_param_0_arg) local_unnamed_addr #1 {
condend:
  %0 = icmp sgt i32 %_param_1_arg, -1             ; [#uses = 1]
  br i1 %0, label %_D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb.exit, label %_D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb.exit.thread

_D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb.exit: ; preds = %condend
  %1 = zext i32 %_param_1_arg to i64              ; [#uses = 2]
  %2 = icmp ugt i64 %1, %_param_0_arg             ; [#uses = 1]
  %spec.select = select i1 %2, i64 %1, i64 %_param_0_arg ; [#uses = 1]
  ret i64 %spec.select

_D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb.exit.thread: ; preds = %condend
  ret i64 %_param_0_arg
}

; [#uses = 6]
; Function Attrs: nounwind readnone speculatable willreturn
declare i64 @llvm.ctlz.i64(i64, i1 immarg) #9

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std9algorithm10comparison__T3maxTmTmZQjFNaNbNiNfmmZm(i64 %b_arg, i64 %a_arg) local_unnamed_addr #1 {
condend:
  %0 = icmp ult i64 %a_arg, %b_arg                ; [#uses = 1]
  %b_arg.a_arg = select i1 %0, i64 %b_arg, i64 %a_arg ; [#uses = 1]
  ret i64 %b_arg.a_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std10functional__T6safeOpVAyaa1_3cZ__TQuTmTiZQBbFNaNbNiNfKmKiZb(i32* dereferenceable(4) %b, i64* dereferenceable(8) %a) local_unnamed_addr #1 {
  %1 = load i32, i32* %b, align 4                 ; [#uses = 2]
  %2 = icmp sgt i32 %1, -1                        ; [#uses = 1]
  br i1 %2, label %andand, label %andandend

andand:                                           ; preds = %0
  %3 = load i64, i64* %a, align 8                 ; [#uses = 1]
  %4 = zext i32 %1 to i64                         ; [#uses = 1]
  %5 = icmp ult i64 %3, %4                        ; [#uses = 1]
  br label %andandend

andandend:                                        ; preds = %andand, %0
  %andandval = phi i1 [ false, %0 ], [ %5, %andand ] ; [#uses = 1, type = i1]
  ret i1 %andandval
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std10functional__T6safeOpVAyaa1_3cZ__T8unsafeOpTmTiZQoFNaNbNiNfmiZb(i32 %b_arg, i64 %a_arg) local_unnamed_addr #1 {
  %1 = sext i32 %b_arg to i64                     ; [#uses = 1]
  %2 = icmp ugt i64 %1, %a_arg                    ; [#uses = 1]
  ret i1 %2
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i64 @_D3std3utf__T6encodeVEQu8typecons__T4FlagVAyaa19_7573655265706c6163656d656e744463686172ZQCai0ZQDdFNaNfJG4awZm(i32 %c_arg, [4 x i8]* dereferenceable(4) %buf) local_unnamed_addr #1 {
  %.lval_copy_for_ImplicitByvalRewrite.i38 = alloca { i64, i8* }, align 8 ; [#uses = 4, size/byte = 16]
  %.lval_copy_for_ImplicitByvalRewrite.i = alloca { i64, i8* }, align 8 ; [#uses = 4, size/byte = 16]
  %arrayliteral.i = alloca [1 x i32], align 4     ; [#uses = 4, size/byte = 4]
  %1 = bitcast [4 x i8]* %buf to i32*             ; [#uses = 1]
  store i32 -1, i32* %1, align 1
  %2 = icmp ult i32 %c_arg, 128                   ; [#uses = 1]
  br i1 %2, label %if, label %endif

if:                                               ; preds = %0
  %3 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #3 ; [#uses = 1]
  br i1 %3, label %assertPassed, label %assertFailed

assertPassed:                                     ; preds = %if
  %4 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 0 ; [#uses = 1, type = i8*]
  %5 = trunc i32 %c_arg to i8                     ; [#uses = 1]
  store i8 %5, i8* %4, align 1
  ret i64 1

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

endif:                                            ; preds = %0
  %6 = icmp ult i32 %c_arg, 2048                  ; [#uses = 1]
  br i1 %6, label %if1, label %endif2

if1:                                              ; preds = %endif
  %7 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #3 ; [#uses = 1]
  br i1 %7, label %assertPassed3, label %assertFailed4

assertPassed3:                                    ; preds = %if1
  %8 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 0 ; [#uses = 1, type = i8*]
  %9 = lshr i32 %c_arg, 6                         ; [#uses = 1]
  %10 = trunc i32 %9 to i8                        ; [#uses = 1]
  %11 = or i8 %10, -64                            ; [#uses = 1]
  store i8 %11, i8* %8, align 1
  %12 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 1 ; [#uses = 1, type = i8*]
  %13 = trunc i32 %c_arg to i8                    ; [#uses = 1]
  %14 = and i8 %13, 63                            ; [#uses = 1]
  %15 = or i8 %14, -128                           ; [#uses = 1]
  store i8 %15, i8* %12, align 1
  ret i64 2

assertFailed4:                                    ; preds = %if1
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 2324) #2
  unreachable

endif2:                                           ; preds = %endif
  %16 = icmp ult i32 %c_arg, 65536                ; [#uses = 1]
  br i1 %16, label %if6, label %endif7

if6:                                              ; preds = %endif2
  %17 = and i32 %c_arg, -2048                     ; [#uses = 1]
  %18 = icmp eq i32 %17, 55296                    ; [#uses = 1]
  br i1 %18, label %if8, label %endif9

if8:                                              ; preds = %if6
  %19 = bitcast { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i to i8* ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %19)
  %20 = bitcast [1 x i32]* %arrayliteral.i to i8* ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %20)
  %.newclass_gc_alloc.i = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #5 ; [#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
  %21 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %21, align 8
  %22 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i, i64 1 ; [#uses = 1, type = %object.Object*]
  %23 = bitcast %object.Object* %22 to i8*        ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %23, 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.25, i64 0, i64 0), i8** %msg.sroa.2.0..sroa_idx1.i, align 8
  %24 = 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.9, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite.i) #3 ; [#uses = 0]
  %25 = load [11 x i8*]*, [11 x i8*]** %vtbl.i, align 8 ; [#uses = 1]
  %"setSequence@vtbl.i" = getelementptr inbounds [11 x i8*], [11 x i8*]* %25, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %26 = bitcast i8** %"setSequence@vtbl.i" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %27 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %26, align 8 ; [#uses = 1]
  %28 = getelementptr inbounds [1 x i32], [1 x i32]* %arrayliteral.i, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 %c_arg, i32* %28, align 4
  %29 = insertvalue { i64, i32* } { i64 1, i32* undef }, i32* %28, 1 ; [#uses = 1]
  %30 = call %std.utf.UTFException* %27(%std.utf.UTFException* nonnull %.newclass_gc.i, { i64, i32* } %29) ; [#uses = 1]
  %31 = bitcast %std.utf.UTFException* %30 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %31) #2
  unreachable

endif9:                                           ; preds = %if6
  %32 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #3 ; [#uses = 1]
  br i1 %32, label %label.L3, label %assertFailed11

label.L3:                                         ; preds = %endif9
  %33 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 0 ; [#uses = 1, type = i8*]
  %34 = lshr i32 %c_arg, 12                       ; [#uses = 1]
  %35 = trunc i32 %34 to i8                       ; [#uses = 1]
  %36 = or i8 %35, -32                            ; [#uses = 1]
  store i8 %36, i8* %33, align 1
  %37 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 1 ; [#uses = 1, type = i8*]
  %38 = lshr i32 %c_arg, 6                        ; [#uses = 1]
  %39 = trunc i32 %38 to i8                       ; [#uses = 1]
  %40 = and i8 %39, 63                            ; [#uses = 1]
  %41 = or i8 %40, -128                           ; [#uses = 1]
  store i8 %41, i8* %37, align 1
  %42 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 2 ; [#uses = 1, type = i8*]
  %43 = trunc i32 %c_arg to i8                    ; [#uses = 1]
  %44 = and i8 %43, 63                            ; [#uses = 1]
  %45 = or i8 %44, -128                           ; [#uses = 1]
  store i8 %45, i8* %42, align 1
  ret i64 3

assertFailed11:                                   ; preds = %endif9
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 2334) #2
  unreachable

endif7:                                           ; preds = %endif2
  %46 = icmp ult i32 %c_arg, 1114112              ; [#uses = 1]
  %47 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #3 ; [#uses = 2]
  br i1 %46, label %if13, label %endif14

if13:                                             ; preds = %endif7
  br i1 %47, label %assertPassed15, label %assertFailed16

assertPassed15:                                   ; preds = %if13
  %48 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 0 ; [#uses = 1, type = i8*]
  %49 = lshr i32 %c_arg, 18                       ; [#uses = 1]
  %50 = trunc i32 %49 to i8                       ; [#uses = 1]
  %51 = or i8 %50, -16                            ; [#uses = 1]
  store i8 %51, i8* %48, align 1
  %52 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 1 ; [#uses = 1, type = i8*]
  %53 = lshr i32 %c_arg, 12                       ; [#uses = 1]
  %54 = trunc i32 %53 to i8                       ; [#uses = 1]
  %55 = and i8 %54, 63                            ; [#uses = 1]
  %56 = or i8 %55, -128                           ; [#uses = 1]
  store i8 %56, i8* %52, align 1
  %57 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 2 ; [#uses = 1, type = i8*]
  %58 = lshr i32 %c_arg, 6                        ; [#uses = 1]
  %59 = trunc i32 %58 to i8                       ; [#uses = 1]
  %60 = and i8 %59, 63                            ; [#uses = 1]
  %61 = or i8 %60, -128                           ; [#uses = 1]
  store i8 %61, i8* %57, align 1
  %62 = getelementptr inbounds [4 x i8], [4 x i8]* %buf, i64 0, i64 3 ; [#uses = 1, type = i8*]
  %63 = trunc i32 %c_arg to i8                    ; [#uses = 1]
  %64 = and i8 %63, 63                            ; [#uses = 1]
  %65 = or i8 %64, -128                           ; [#uses = 1]
  store i8 %65, i8* %62, align 1
  ret i64 4

assertFailed16:                                   ; preds = %if13
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 2343) #2
  unreachable

endif14:                                          ; preds = %endif7
  br i1 %47, label %assertFailed19, label %assertPassed18

assertPassed18:                                   ; preds = %endif14
  %66 = bitcast { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i38 to i8* ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %66)
  %67 = bitcast [1 x i32]* %arrayliteral.i to i8* ; [#uses = 1]
  call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %67)
  %.newclass_gc_alloc.i40 = tail call noalias %object.Object* @_d_allocclass(%object.TypeInfo_Class* nonnull @_D3std3utf12UTFException7__ClassZ) #5 ; [#uses = 4]
  %.newclass_gc.i41 = bitcast %object.Object* %.newclass_gc_alloc.i40 to %std.utf.UTFException* ; [#uses = 2]
  %vtbl.i42 = bitcast %object.Object* %.newclass_gc_alloc.i40 to [11 x i8*]** ; [#uses = 2]
  store [11 x i8*]* @_D3std3utf12UTFException6__vtblZ, [11 x i8*]** %vtbl.i42, align 8
  %68 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i40, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* null, i8** %68, align 8
  %69 = getelementptr inbounds %object.Object, %object.Object* %.newclass_gc_alloc.i40, i64 1 ; [#uses = 1, type = %object.Object*]
  %70 = bitcast %object.Object* %69 to i8*        ; [#uses = 1]
  tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 1 dereferenceable(96) %70, 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.i43 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i38, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 39, i64* %msg.sroa.0.0..sroa_idx.i43, align 8
  %msg.sroa.2.0..sroa_idx1.i44 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.lval_copy_for_ImplicitByvalRewrite.i38, i64 0, i32 1 ; [#uses = 1, type = i8**]
  store i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.26, i64 0, i64 0), i8** %msg.sroa.2.0..sroa_idx1.i44, align 8
  %71 = tail call %std.utf.UTFException* @_D3std3utf12UTFException6__ctorMFNaNbNiNfAyaQdmC6object9ThrowableZCQCnQCmQCl(%std.utf.UTFException* nonnull returned %.newclass_gc.i41, %object.Throwable* null, i64 2301, { i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite.i38) #3 ; [#uses = 0]
  %72 = load [11 x i8*]*, [11 x i8*]** %vtbl.i42, align 8 ; [#uses = 1]
  %"setSequence@vtbl.i45" = getelementptr inbounds [11 x i8*], [11 x i8*]* %72, i64 0, i64 10 ; [#uses = 1, type = i8**]
  %73 = bitcast i8** %"setSequence@vtbl.i45" to %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** ; [#uses = 1]
  %74 = load %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })*, %std.utf.UTFException* (%std.utf.UTFException*, { i64, i32* })** %73, align 8 ; [#uses = 1]
  %75 = getelementptr inbounds [1 x i32], [1 x i32]* %arrayliteral.i, i64 0, i64 0 ; [#uses = 2, type = i32*]
  store i32 %c_arg, i32* %75, align 4
  %76 = insertvalue { i64, i32* } { i64 1, i32* undef }, i32* %75, 1 ; [#uses = 1]
  %77 = call %std.utf.UTFException* %74(%std.utf.UTFException* nonnull %.newclass_gc.i41, { i64, i32* } %76) ; [#uses = 1]
  %78 = bitcast %std.utf.UTFException* %77 to %object.Throwable* ; [#uses = 1]
  call void @_d_throw_exception(%object.Throwable* %78) #2
  unreachable

assertFailed19:                                   ; preds = %endif14
  tail call void @_d_assert({ i64, i8* } { i64 49, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.9, i32 0, i32 0) }, i32 2351) #2
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAyaZQo__T3putTAaZQiMFNaNbNfQnZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, { i64, i8* } %items_arg) local_unnamed_addr #1 {
  %items_arg.fca.0.extract = extractvalue { i64, i8* } %items_arg, 0 ; [#uses = 4]
  tail call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %.this_arg, i64 %items_arg.fca.0.extract) #1
  %1 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!string.Appender.Data"**]
  %2 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i.i = load i8*, i8** %3, align 8          ; [#uses = 2]
  %4 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i = load i64, i64* %4, align 8          ; [#uses = 4]
  %5 = add i64 %.len.i.i, %items_arg.fca.0.extract ; [#uses = 4]
  %bounds.cmp.lo.not = icmp ult i64 %5, %.len.i.i ; [#uses = 1]
  br i1 %bounds.cmp.lo.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %items_arg.fca.1.extract = extractvalue { i64, i8* } %items_arg, 1 ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr.i.i, i64 %.len.i.i ; [#uses = 1, type = i8*]
  tail call void @_d_array_slice_copy(i8* nocapture %lowerbound, i64 %items_arg.fca.0.extract, i8* nocapture %items_arg.fca.1.extract, i64 %items_arg.fca.0.extract, i64 1) #5
  %6 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %1, align 8 ; [#uses = 2]
  %7 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %6, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %5, i64* %7, align 8
  %8 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %6, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  store i8* %.ptr.i.i, i8** %8, align 8
  ret void

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3571, i64 %.len.i.i, i64 %5, i64 %5) #2
  unreachable
}

; [#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) #5 ; [#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.9, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite) #3 ; [#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) #2
  unreachable
}

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

; [#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 = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T8AppenderTAyaZQo__T3putTAaZQiMFQhZ10bigDataFunMFNaNbNfmZQBg(i8* nonnull %.nest_arg, i64 %extra_arg) local_unnamed_addr #1 {
  %this = bitcast i8* %.nest_arg to %"std.array.Appender!string.Appender"** ; [#uses = 2]
  %1 = load %"std.array.Appender!string.Appender"*, %"std.array.Appender!string.Appender"** %this, align 8 ; [#uses = 1]
  tail call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %1, i64 %extra_arg) #1
  %2 = load %"std.array.Appender!string.Appender"*, %"std.array.Appender!string.Appender"** %this, align 8 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %2, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %4 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %3, align 8 ; [#uses = 2]
  %5 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %4, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i = load i8*, i8** %5, align 8            ; [#uses = 1]
  %6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %4, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i = load i64, i64* %6, align 8            ; [#uses = 1]
  %7 = add i64 %.len.i, %extra_arg                ; [#uses = 1]
  %8 = insertvalue { i64, i8* } undef, i64 %7, 0  ; [#uses = 1]
  %9 = insertvalue { i64, i8* } %8, i8* %.ptr.i, 1 ; [#uses = 1]
  ret { i64, i8* } %9
}

; [#uses = 5]
; Function Attrs: uwtable
declare void @_d_array_slice_copy(i8* nocapture, i64, i8* nocapture, i64, i64) local_unnamed_addr #5

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* } @_D3std5array__T8AppenderTAyaZQo__T3putTQoZQiMFQvZ10bigDataFunMFNaNbNfmZAa(i8* nonnull %.nest_arg, i64 %extra_arg) local_unnamed_addr #1 {
  %this = bitcast i8* %.nest_arg to %"std.array.Appender!string.Appender"** ; [#uses = 2]
  %1 = load %"std.array.Appender!string.Appender"*, %"std.array.Appender!string.Appender"** %this, align 8 ; [#uses = 1]
  tail call void @_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv(%"std.array.Appender!string.Appender"* nonnull %1, i64 %extra_arg) #1
  %2 = load %"std.array.Appender!string.Appender"*, %"std.array.Appender!string.Appender"** %this, align 8 ; [#uses = 1]
  %3 = getelementptr inbounds %"std.array.Appender!string.Appender", %"std.array.Appender!string.Appender"* %2, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!string.Appender.Data"**]
  %4 = load %"std.array.Appender!string.Appender.Data"*, %"std.array.Appender!string.Appender.Data"** %3, align 8 ; [#uses = 2]
  %5 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %4, i64 0, i32 1, i32 1 ; [#uses = 1, type = i8**]
  %.ptr.i = load i8*, i8** %5, align 8            ; [#uses = 1]
  %6 = getelementptr inbounds %"std.array.Appender!string.Appender.Data", %"std.array.Appender!string.Appender.Data"* %4, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i = load i64, i64* %6, align 8            ; [#uses = 1]
  %7 = add i64 %.len.i, %extra_arg                ; [#uses = 1]
  %8 = insertvalue { i64, i8* } undef, i64 %7, 0  ; [#uses = 1]
  %9 = insertvalue { i64, i8* } %8, i8* %.ptr.i, 1 ; [#uses = 1]
  ret { i64, i8* } %9
}

; [#uses = 1]
; Function Attrs: nounwind uwtable
declare %object.Throwable* @_d_eh_enter_catch(i8*) local_unnamed_addr #11

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

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

; [#uses = 1]
; Function Attrs: nounwind readnone
declare i32 @llvm.eh.typeid.for(i8*) #12

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!(string[]).Appender" @_D3std5array__T8appenderTAAyaZQpFNaNbNfZSQBnQBm__T8AppenderTQBjZQo() local_unnamed_addr #1 {
  %arr.i.i = alloca { i64, { i64, i8* }* }, align 8 ; [#uses = 3, size/byte = 16]
  %arr.i = alloca { i64, { i64, i8* }* }, align 8 ; [#uses = 4, size/byte = 16]
  %1 = bitcast { i64, { i64, i8* }* }* %arr.i to i8* ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %1)
  %2 = bitcast { i64, { i64, i8* }* }* %arr.i to i8* ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %.gc_struct.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %3 = bitcast { i64, { i64, i8* }* }* %arr.i.i to i8* ; [#uses = 2]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %3)
  %4 = bitcast { i64, { i64, i8* }* }* %arr.i.i to { i64, i8* }* ; [#uses = 1]
  %5 = bitcast { i64, { i64, i8* }* }* %arr.i.i to i8* ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %6 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D13TypeInfo_AAya6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %4) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %3)
  %.not = icmp eq i64 %6, 0                       ; [#uses = 1]
  br i1 %.not, label %_D3std5array__T8AppenderTAAyaZQp6__ctorMFNaNbNcNeQyZSQBzQBy__TQBvTQBpZQCd.exit, label %if.i

if.i:                                             ; preds = %0
  %arr_arg.fca.0.gep.i = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %7 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAAyaTQeZ18_d_arraysetlengthTFNaNbNeMNkKQBnmZm(i64 %6, { i64, { i64, i8* }* }* nonnull dereferenceable(16) %arr.i) #16 ; [#uses = 0]
  %.len3.pre.i = load i64, i64* %arr_arg.fca.0.gep.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAAyaZQp6__ctorMFNaNbNcNeQyZSQBzQBy__TQBvTQBpZQCd.exit

_D3std5array__T8AppenderTAAyaZQp6__ctorMFNaNbNcNeQyZSQBzQBy__TQBvTQBpZQCd.exit: ; preds = %0, %if.i
  %.len3.i = phi i64 [ %.len3.pre.i, %if.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %8 = bitcast i8* %.gc_struct.i to %"std.array.Appender!(string[]).Appender.Data"* ; [#uses = 1]
  %9 = bitcast i8* %.gc_struct.i to i64*          ; [#uses = 1]
  store i64 %.len3.i, i64* %9, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %1)
  %.fca.0.insert = insertvalue %"std.array.Appender!(string[]).Appender" undef, %"std.array.Appender!(string[]).Appender.Data"* %8, 0 ; [#uses = 1]
  ret %"std.array.Appender!(string[]).Appender" %.fca.0.insert
}

; [#uses = 1]
declare i32 @_aApplycd2({ i64, i8* }, { i8*, i32 (i8*, i8*, i8*)* }) local_unnamed_addr #3

; [#uses = 1]
; Function Attrs: uwtable
define linkonce_odr i32 @_D3std5array__T5splitTAyaZQlFNaNfQlZ14__foreachbody5MFNaNbNfKmKwZi(i8* nonnull %.nest_arg, i32* dereferenceable(4) %__applyArg1, i64* dereferenceable(8) %__applyArg0) #1 {
  %1 = load i32, i32* %__applyArg1, align 4       ; [#uses = 1]
  %2 = load i64, i64* %__applyArg0, align 8       ; [#uses = 5]
  %3 = tail call zeroext i1 @_D3std3uni7isWhiteFNaNbNiNfwZb(i32 %1) #3 ; [#uses = 1]
  %4 = load i8, i8* %.nest_arg, align 1, !range !21 ; [#uses = 1]
  %.not = icmp eq i8 %4, 0                        ; [#uses = 2]
  br i1 %3, label %if, label %else

if:                                               ; preds = %0
  br i1 %.not, label %endif, label %if1

if1:                                              ; preds = %if
  %s = getelementptr inbounds i8, i8* %.nest_arg, i64 16 ; [#uses = 1, type = i8*]
  %istart = getelementptr inbounds i8, i8* %.nest_arg, i64 32 ; [#uses = 1, type = i8*]
  %5 = bitcast i8* %istart to i64*                ; [#uses = 1]
  %6 = load i64, i64* %5, align 8                 ; [#uses = 4]
  %7 = bitcast i8* %s to i64*                     ; [#uses = 1]
  %.len = load i64, i64* %7, align 8              ; [#uses = 2]
  %bounds.cmp.up = icmp ule i64 %2, %.len         ; [#uses = 1]
  %bounds.cmp.lo = icmp uge i64 %2, %6            ; [#uses = 1]
  %8 = and i1 %bounds.cmp.lo, %bounds.cmp.up      ; [#uses = 1]
  br i1 %8, label %bounds.ok, label %bounds.fail

bounds.ok:                                        ; preds = %if1
  %result = getelementptr inbounds i8, i8* %.nest_arg, i64 8 ; [#uses = 2, type = i8*]
  %9 = bitcast i8* %result to %"std.array.Appender!(string[]).Appender"* ; [#uses = 1]
  %10 = getelementptr inbounds i8, i8* %.nest_arg, i64 24 ; [#uses = 1, type = i8*]
  %11 = bitcast i8* %10 to i8**                   ; [#uses = 1]
  %.ptr = load i8*, i8** %11, align 8             ; [#uses = 1]
  tail call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %9, i64 1) #1
  %12 = bitcast i8* %result to %"std.array.Appender!(string[]).Appender.Data"** ; [#uses = 2]
  %13 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %12, align 8 ; [#uses = 2]
  %14 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %13, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i.i = load i64, i64* %14, align 8       ; [#uses = 4]
  %15 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %13, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.ptr.i.i.i.i = load { i64, i8* }*, { i64, i8* }** %15, align 8 ; [#uses = 3]
  %16 = add i64 %.len.i.i.i, 1                    ; [#uses = 2]
  %bounds.cmp.not.i.i.i = icmp eq i64 %.len.i.i.i, -1 ; [#uses = 1]
  br i1 %bounds.cmp.not.i.i.i, label %bounds.fail.i.i.i, label %_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit

bounds.fail.i.i.i:                                ; preds = %bounds.ok
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %16) #2
  unreachable

_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit: ; preds = %bounds.ok
  %17 = sub i64 %2, %6                            ; [#uses = 1]
  %lowerbound = getelementptr inbounds i8, i8* %.ptr, i64 %6 ; [#uses = 1, type = i8*]
  %18 = ptrtoint i8* %lowerbound to i64           ; [#uses = 1]
  %19 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i.i, i64 %.len.i.i.i, i32 1 ; [#uses = 1, type = i8**]
  %20 = bitcast i8** %19 to i64*                  ; [#uses = 1]
  %21 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i.i, i64 %.len.i.i.i, i32 0 ; [#uses = 1, type = i64*]
  store i64 %17, i64* %21, align 8
  store i64 %18, i64* %20, align 8
  %22 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %12, align 8 ; [#uses = 2]
  %23 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %22, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %16, i64* %23, align 8
  %24 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %22, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %.ptr.i.i.i.i, { i64, i8* }** %24, align 8
  store i8 0, i8* %.nest_arg, align 1
  br label %endif

bounds.fail:                                      ; preds = %if1
  tail call void @_d_arraybounds_slice({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 1817, i64 %6, i64 %2, i64 %.len) #2
  unreachable

else:                                             ; preds = %0
  br i1 %.not, label %if5, label %endif

if5:                                              ; preds = %else
  %istart7 = getelementptr inbounds i8, i8* %.nest_arg, i64 32 ; [#uses = 1, type = i8*]
  %25 = bitcast i8* %istart7 to i64*              ; [#uses = 1]
  store i64 %2, i64* %25, align 8
  store i8 1, i8* %.nest_arg, align 1
  br label %endif

endif:                                            ; preds = %if, %else, %if5, %_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv.exit
  ret i32 0
}

; [#uses = 1]
declare zeroext i1 @_D3std3uni7isWhiteFNaNbNiNfwZb(i32) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5range10primitives__T3putTSQBf5array__T8AppenderTAAyaZQpTQhZQBnFNaNbNfKQBtQyZv({ i64, i8* } %e_arg, %"std.array.Appender!(string[]).Appender"* dereferenceable(8) %r) local_unnamed_addr #1 {
  tail call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %r, i64 1) #1
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %r, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i.i = load i64, i64* %3, align 8          ; [#uses = 4]
  %4 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.ptr.i.i.i = load { i64, i8* }*, { i64, i8* }** %4, align 8 ; [#uses = 3]
  %5 = add i64 %.len.i.i, 1                       ; [#uses = 2]
  %bounds.cmp.not.i.i = icmp eq i64 %.len.i.i, -1 ; [#uses = 1]
  br i1 %bounds.cmp.not.i.i, label %bounds.fail.i.i, label %_D3std5range10primitives__T5doPutTSQBh5array__T8AppenderTAAyaZQpTQhZQBpFNaNbNfKQBtKQzZv.exit

bounds.fail.i.i:                                  ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %5) #2
  unreachable

_D3std5range10primitives__T5doPutTSQBh5array__T8AppenderTAAyaZQpTQhZQBpFNaNbNfKQBtKQzZv.exit: ; preds = %0
  %e_arg.fca.1.extract = extractvalue { i64, i8* } %e_arg, 1 ; [#uses = 1]
  %6 = ptrtoint i8* %e_arg.fca.1.extract to i64   ; [#uses = 1]
  %e_arg.fca.0.extract = extractvalue { i64, i8* } %e_arg, 0 ; [#uses = 1]
  %7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i, i64 %.len.i.i, i32 1 ; [#uses = 1, type = i8**]
  %8 = bitcast i8** %7 to i64*                    ; [#uses = 1]
  %9 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i.i, i64 %.len.i.i, i32 0 ; [#uses = 1, type = i64*]
  store i64 %e_arg.fca.0.extract, i64* %9, align 8
  store i64 %6, i64* %8, align 8
  %10 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %11 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %10, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %5, i64* %11, align 8
  %12 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %10, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %.ptr.i.i.i, { i64, i8* }** %12, align 8
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, { i64, i8* }* } @_D3std5array__T8AppenderTAAyaZQp4dataMNgFNaNbNdNiNeZANgAya(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not.i = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not.i, label %_D3std5array__T8AppenderTAAyaZQp7opSliceMNgFNaNbNdNiNeZANgAya.exit, label %condtrue.i

condtrue.i:                                       ; preds = %0
  %.fca.0.gep2.phi.trans.insert.i = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre.i = load i64, i64* %.fca.0.gep2.phi.trans.insert.i, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert.i = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.fca.1.load.pre.i = load { i64, i8* }*, { i64, i8* }** %.fca.1.gep3.phi.trans.insert.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAAyaZQp7opSliceMNgFNaNbNdNiNeZANgAya.exit

_D3std5array__T8AppenderTAAyaZQp7opSliceMNgFNaNbNdNiNeZANgAya.exit: ; preds = %0, %condtrue.i
  %.fca.1.load.i = phi { i64, i8* }* [ %.fca.1.load.pre.i, %condtrue.i ], [ null, %0 ] ; [#uses = 1, type = { i64, i8* }*]
  %.fca.0.load.i = phi i64 [ %.fca.0.load.pre.i, %condtrue.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %.fca.0.insert.i = insertvalue { i64, { i64, i8* }* } undef, i64 %.fca.0.load.i, 0 ; [#uses = 1]
  %.fca.1.insert9.i = insertvalue { i64, { i64, i8* }* } %.fca.0.insert.i, { i64, i8* }* %.fca.1.load.i, 1 ; [#uses = 1]
  ret { i64, { i64, i8* }* } %.fca.1.insert9.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!(string[]).Appender"* @_D3std5array__T8AppenderTAAyaZQp6__ctorMFNaNbNcNeQyZSQBzQBy__TQBvTQBpZQCd(%"std.array.Appender!(string[]).Appender"* nonnull returned %.this_arg, { i64, { i64, i8* }* } %arr_arg) local_unnamed_addr #1 {
  %arr.i = alloca { i64, { i64, i8* }* }, align 8 ; [#uses = 4, size/byte = 16]
  %arr = alloca { i64, { i64, i8* }* }, align 8   ; [#uses = 3, size/byte = 16]
  %arr_arg.fca.0.extract = extractvalue { i64, { i64, i8* }* } %arr_arg, 0 ; [#uses = 5]
  %arr_arg.fca.0.gep = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr, i64 0, i32 0 ; [#uses = 2, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep, align 8
  %arr_arg.fca.1.extract = extractvalue { i64, { i64, i8* }* } %arr_arg, 1 ; [#uses = 2]
  %arr_arg.fca.1.gep = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr, i64 0, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %arr_arg.fca.1.extract, { i64, i8* }** %arr_arg.fca.1.gep, align 8
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 4]
  %1 = getelementptr inbounds i8, i8* %.gc_struct, i64 8 ; [#uses = 1, type = i8*]
  %.repack = bitcast i8* %1 to i64*               ; [#uses = 1]
  %.repack5 = getelementptr inbounds i8, i8* %.gc_struct, i64 16 ; [#uses = 1, type = i8*]
  %2 = bitcast %"std.array.Appender!(string[]).Appender"* %.this_arg to i8** ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct, i8 0, i64 32, i1 false)
  store i8* %.gc_struct, i8** %2, align 8
  %3 = ptrtoint { i64, i8* }* %arr_arg.fca.1.extract to i64 ; [#uses = 2]
  store i64 %arr_arg.fca.0.extract, i64* %.repack, align 8
  %4 = bitcast i8* %.repack5 to i64*              ; [#uses = 1]
  store i64 %3, i64* %4, align 8
  %5 = bitcast { i64, { i64, i8* }* }* %arr.i to i8* ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %arr_arg.fca.0.gep.i = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep.i, align 8
  %arr_arg.fca.1.gep.i = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr.i, i64 0, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %6 = bitcast { i64, i8* }** %arr_arg.fca.1.gep.i to i64* ; [#uses = 1]
  store i64 %3, i64* %6, align 8
  %7 = bitcast { i64, { i64, i8* }* }* %arr.i to { i64, i8* }* ; [#uses = 1]
  %8 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D13TypeInfo_AAya6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %7) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %9 = icmp ugt i64 %8, %arr_arg.fca.0.extract    ; [#uses = 1]
  br i1 %9, label %if, label %endif

if:                                               ; preds = %0
  %10 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAAyaTQeZ18_d_arraysetlengthTFNaNbNeMNkKQBnmZm(i64 %8, { i64, { i64, i8* }* }* nonnull dereferenceable(16) %arr) #16 ; [#uses = 0]
  %.len3.pre = load i64, i64* %arr_arg.fca.0.gep, align 8 ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %if, %0
  %.len3 = phi i64 [ %.len3.pre, %if ], [ %arr_arg.fca.0.extract, %0 ] ; [#uses = 1, type = i64]
  %11 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %12 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %11, align 8 ; [#uses = 1]
  %13 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %12, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len3, i64* %13, align 8
  ret %"std.array.Appender!(string[]).Appender"* %.this_arg
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5array__T8AppenderTAAyaZQp4Data11__xopEqualsFKxSQCaQBz__TQBwTQBqZQCeQBqKxQBaZb(%"std.array.Appender!(string[]).Appender.Data"* dereferenceable(32) %q, %"std.array.Appender!(string[]).Appender.Data"* dereferenceable(32) %p) #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %2 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %q, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %3 = load i64, i64* %1, align 8                 ; [#uses = 1]
  %4 = load i64, i64* %2, align 8                 ; [#uses = 1]
  %5 = icmp eq i64 %3, %4                         ; [#uses = 1]
  br i1 %5, label %andand, label %andandend2

andand:                                           ; preds = %0
  %.elt = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt4 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.unpack5 = load { i64, i8* }*, { i64, i8* }** %.elt4, align 8 ; [#uses = 2]
  %.elt6 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %q, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack7 = load i64, i64* %.elt6, align 8      ; [#uses = 1]
  %.elt8 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %q, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.unpack9 = load { i64, i8* }*, { i64, i8* }** %.elt8, align 8 ; [#uses = 2]
  %.not.i = icmp eq i64 %.unpack, %.unpack7       ; [#uses = 1]
  br i1 %.not.i, label %endif.i, label %andandend2

endif.i:                                          ; preds = %andand
  %6 = icmp eq i64 %.unpack, 0                    ; [#uses = 1]
  br i1 %6, label %andand1, label %forbody.i

forbody.i:                                        ; preds = %endif.i, %forinc.i
  %__key193.030.i = phi i64 [ %9, %forinc.i ], [ 0, %endif.i ] ; [#uses = 5, type = i64]
  %.elt.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.unpack5, i64 %__key193.030.i, i32 0 ; [#uses = 1, type = i64*]
  %.unpack.i = load i64, i64* %.elt.i, align 8    ; [#uses = 3]
  %.elt20.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.unpack5, i64 %__key193.030.i, i32 1 ; [#uses = 1, type = i8**]
  %.unpack21.i = load i8*, i8** %.elt20.i, align 8 ; [#uses = 1]
  %.elt22.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.unpack9, i64 %__key193.030.i, i32 0 ; [#uses = 1, type = i64*]
  %.unpack23.i = load i64, i64* %.elt22.i, align 8 ; [#uses = 1]
  %.elt24.i = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.unpack9, i64 %__key193.030.i, i32 1 ; [#uses = 1, type = i8**]
  %.unpack25.i = load i8*, i8** %.elt24.i, align 8 ; [#uses = 1]
  %.not.i.i = icmp eq i64 %.unpack.i, %.unpack23.i ; [#uses = 1]
  br i1 %.not.i.i, label %endif.i.i, label %andandend2

endif.i.i:                                        ; preds = %forbody.i
  %7 = icmp eq i64 %.unpack.i, 0                  ; [#uses = 1]
  br i1 %7, label %forinc.i, label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit.i

_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit.i: ; preds = %endif.i.i
  %bcmp.i.i = tail call i32 @bcmp(i8* %.unpack21.i, i8* %.unpack25.i, i64 %.unpack.i) ; [#uses = 1]
  %8 = icmp eq i32 %bcmp.i.i, 0                   ; [#uses = 1]
  br i1 %8, label %forinc.i, label %andandend2

forinc.i:                                         ; preds = %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit.i, %endif.i.i
  %9 = add nuw i64 %__key193.030.i, 1             ; [#uses = 2]
  %exitcond.not.i = icmp eq i64 %9, %.unpack      ; [#uses = 1]
  br i1 %exitcond.not.i, label %andand1, label %forbody.i

andand1:                                          ; preds = %forinc.i, %endif.i
  %10 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %11 = load i8, i8* %10, align 1, !range !21     ; [#uses = 1]
  %12 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %q, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %13 = load i8, i8* %12, align 1, !range !21     ; [#uses = 1]
  %14 = icmp eq i8 %11, %13                       ; [#uses = 1]
  br label %andandend2

andandend2:                                       ; preds = %forbody.i, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit.i, %andand, %0, %andand1
  %andandval3 = phi i1 [ %14, %andand1 ], [ false, %0 ], [ false, %andand ], [ false, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit.i ], [ false, %forbody.i ] ; [#uses = 1, type = i1]
  ret i1 %andandval3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D4core8internal5array8equality__T8__equalsTxAyaTxQfZQtFNaNbNiNfMAxQwMQfZb({ i64, { i64, i8* }* } %rhs_arg, { i64, { i64, i8* }* } %lhs_arg) local_unnamed_addr #1 {
  %lhs_arg.fca.0.extract = extractvalue { i64, { i64, i8* }* } %lhs_arg, 0 ; [#uses = 3]
  %rhs_arg.fca.0.extract = extractvalue { i64, { i64, i8* }* } %rhs_arg, 0 ; [#uses = 1]
  %.not = icmp eq i64 %lhs_arg.fca.0.extract, %rhs_arg.fca.0.extract ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit, %forbody, %forinc, %0, %endif
  %merge = phi i1 [ false, %0 ], [ true, %endif ], [ true, %forinc ], [ false, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit ], [ false, %forbody ] ; [#uses = 1, type = i1]
  ret i1 %merge

endif:                                            ; preds = %0
  %1 = icmp eq i64 %lhs_arg.fca.0.extract, 0      ; [#uses = 1]
  br i1 %1, label %if, label %forbody.lr.ph

forbody.lr.ph:                                    ; preds = %endif
  %r_arg.fca.1.extract.i = extractvalue { i64, { i64, i8* }* } %lhs_arg, 1 ; [#uses = 2]
  %r_arg.fca.1.extract.i26 = extractvalue { i64, { i64, i8* }* } %rhs_arg, 1 ; [#uses = 2]
  br label %forbody

forbody:                                          ; preds = %forinc, %forbody.lr.ph
  %__key193.030 = phi i64 [ 0, %forbody.lr.ph ], [ %4, %forinc ] ; [#uses = 5, type = i64]
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %r_arg.fca.1.extract.i, i64 %__key193.030, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt20 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %r_arg.fca.1.extract.i, i64 %__key193.030, i32 1 ; [#uses = 1, type = i8**]
  %.unpack21 = load i8*, i8** %.elt20, align 8    ; [#uses = 1]
  %.elt22 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %r_arg.fca.1.extract.i26, i64 %__key193.030, i32 0 ; [#uses = 1, type = i64*]
  %.unpack23 = load i64, i64* %.elt22, align 8    ; [#uses = 1]
  %.elt24 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %r_arg.fca.1.extract.i26, i64 %__key193.030, i32 1 ; [#uses = 1, type = i8**]
  %.unpack25 = load i8*, i8** %.elt24, align 8    ; [#uses = 1]
  %.not.i = icmp eq i64 %.unpack, %.unpack23      ; [#uses = 1]
  br i1 %.not.i, label %endif.i, label %if

endif.i:                                          ; preds = %forbody
  %2 = icmp eq i64 %.unpack, 0                    ; [#uses = 1]
  br i1 %2, label %forinc, label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit

_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit: ; preds = %endif.i
  %bcmp.i = tail call i32 @bcmp(i8* %.unpack21, i8* %.unpack25, i64 %.unpack) ; [#uses = 1]
  %3 = icmp eq i32 %bcmp.i, 0                     ; [#uses = 1]
  br i1 %3, label %forinc, label %if

forinc:                                           ; preds = %endif.i, %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit
  %4 = add nuw i64 %__key193.030, 1               ; [#uses = 2]
  %exitcond.not = icmp eq i64 %4, %lhs_arg.fca.0.extract ; [#uses = 1]
  br i1 %exitcond.not, label %if, label %forbody
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAAyaZQp4Data9__xtoHashFNbNeKxSQCbQCa__TQBxTQBrZQCfQBrZm(%"std.array.Appender!(string[]).Appender.Data"* dereferenceable(32) %p) #1 {
unrolledstmt:
  %0 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xm6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl" = getelementptr inbounds [19 x i8*], [19 x i8*]* %0, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %1 = bitcast i8** %"getHash@vtbl" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %2 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %1, align 8 ; [#uses = 1]
  %3 = bitcast %"std.array.Appender!(string[]).Appender.Data"* %p to i8* ; [#uses = 1]
  %4 = tail call i64 %2(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xm6__initZ, i8* nonnull %3) ; [#uses = 1]
  %5 = mul i64 %4, 33                             ; [#uses = 1]
  %6 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D14TypeInfo_xAAya6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl3" = getelementptr inbounds [19 x i8*], [19 x i8*]* %6, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %7 = bitcast i8** %"getHash@vtbl3" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %8 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %7, align 8 ; [#uses = 1]
  %9 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 1 ; [#uses = 1, type = { i64, { i64, i8* }* }*]
  %10 = bitcast { i64, { i64, i8* }* }* %9 to i8* ; [#uses = 1]
  %11 = tail call i64 %8(%object.TypeInfo_Const* nonnull @_D14TypeInfo_xAAya6__initZ, i8* nonnull %10) ; [#uses = 1]
  %12 = add i64 %11, %5                           ; [#uses = 1]
  %13 = mul i64 %12, 33                           ; [#uses = 1]
  %14 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xb6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl5" = getelementptr inbounds [19 x i8*], [19 x i8*]* %14, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %15 = bitcast i8** %"getHash@vtbl5" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %16 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %15, align 8 ; [#uses = 1]
  %17 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %18 = tail call i64 %16(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xb6__initZ, i8* nonnull %17) ; [#uses = 1]
  %19 = add i64 %18, %13                          ; [#uses = 1]
  ret i64 %19
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D6object__T8capacityTAyaZQoFNaNbNdNeAQqZm({ i64, { i64, i8* }* } %arr_arg) local_unnamed_addr #1 {
  %arr = alloca { i64, { i64, i8* }* }, align 8   ; [#uses = 3, size/byte = 16]
  %arr_arg.fca.0.extract = extractvalue { i64, { i64, i8* }* } %arr_arg, 0 ; [#uses = 1]
  %arr_arg.fca.0.gep = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep, align 8
  %arr_arg.fca.1.extract = extractvalue { i64, { i64, i8* }* } %arr_arg, 1 ; [#uses = 1]
  %arr_arg.fca.1.gep = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr, i64 0, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %arr_arg.fca.1.extract, { i64, i8* }** %arr_arg.fca.1.gep, align 8
  %1 = bitcast { i64, { i64, i8* }* }* %arr to { i64, i8* }* ; [#uses = 1]
  %2 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D13TypeInfo_AAya6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %1) #3 ; [#uses = 1]
  ret i64 %2
}

; [#uses = 4]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAAyaTQeZ18_d_arraysetlengthTFNaNbNeMNkKQBnmZm(i64 %newlength_arg, { i64, { i64, i8* }* }* dereferenceable(16) %arr) local_unnamed_addr #10 {
  %1 = bitcast { i64, { i64, i8* }* }* %arr to { i64, i8* }* ; [#uses = 1]
  %2 = tail call { i64, i8* } @_d_arraysetlengthT(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D13TypeInfo_AAya6__initZ to %object.TypeInfo*), i64 %newlength_arg, { i64, i8* }* nonnull %1) #3 ; [#uses = 0]
  %3 = getelementptr inbounds { i64, { i64, i8* }* }, { i64, { i64, i8* }* }* %arr, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 1]
  ret i64 %.len
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAAyaZQp7reserveMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, i64 %newCapacity_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %endif.sink.split, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = icmp ult i64 %4, %newCapacity_arg          ; [#uses = 1]
  br i1 %5, label %if1, label %endif

if1:                                              ; preds = %if
  %6 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 1]
  %7 = sub i64 %newCapacity_arg, %.len            ; [#uses = 1]
  br label %endif.sink.split

endif.sink.split:                                 ; preds = %0, %if1
  %.sink = phi i64 [ %7, %if1 ], [ %newCapacity_arg, %0 ] ; [#uses = 1, type = i64]
  tail call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, i64 %.sink) #3
  br label %endif

endif:                                            ; preds = %endif.sink.split, %if
  ret void
}

; [#uses = 6]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, i64 %nelems_arg) local_unnamed_addr #1 {
  %.sret_tmp = alloca %core.memory.BlkInfo_, align 8 ; [#uses = 3, size/byte = 24]
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 6, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %if, label %endif

if:                                               ; preds = %0
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %3 = bitcast %"std.array.Appender!(string[]).Appender"* %.this_arg to i8** ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct, i8 0, i64 32, i1 false)
  store i8* %.gc_struct, i8** %3, align 8
  %4 = bitcast i8* %.gc_struct to %"std.array.Appender!(string[]).Appender.Data"* ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %if, %0
  %5 = phi %"std.array.Appender!(string[]).Appender.Data"* [ %4, %if ], [ %2, %0 ] ; [#uses = 4, type = %"std.array.Appender!(string[]).Appender.Data"*]
  %6 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %5, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 5]
  %7 = add i64 %.len, %nelems_arg                 ; [#uses = 5]
  %8 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %5, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %9 = load i64, i64* %8, align 8                 ; [#uses = 4]
  %.not30 = icmp ult i64 %9, %7                   ; [#uses = 1]
  br i1 %.not30, label %endif4, label %if3

if3:                                              ; preds = %endif
  ret void

endif4:                                           ; preds = %endif
  %10 = icmp eq i64 %9, 0                         ; [#uses = 1]
  br i1 %10, label %if.i, label %endif.i

if.i:                                             ; preds = %endif4
  %11 = icmp ugt i64 %7, 8                        ; [#uses = 1]
  %spec.select.i.i = select i1 %11, i64 %7, i64 8 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm.exit

endif.i:                                          ; preds = %endif4
  %12 = shl i64 %9, 4                             ; [#uses = 1]
  %13 = tail call i64 @llvm.ctlz.i64(i64 %12, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %14 = trunc i64 %13 to i16                      ; [#uses = 1]
  %.rhs.trunc.i = sub nuw nsw i16 64, %14         ; [#uses = 1]
  %15 = udiv i16 1000, %.rhs.trunc.i              ; [#uses = 1]
  %.zext.i = zext i16 %15 to i64                  ; [#uses = 2]
  %16 = icmp ult i64 %.zext.i, 100                ; [#uses = 1]
  %17 = select i1 %16, i64 %.zext.i, i64 100      ; [#uses = 1]
  %spec.store.select.i = add nuw nsw i64 %17, 100 ; [#uses = 1]
  %18 = mul i64 %spec.store.select.i, %9          ; [#uses = 1]
  %19 = add i64 %18, 99                           ; [#uses = 1]
  %20 = udiv i64 %19, 100                         ; [#uses = 2]
  %21 = icmp ugt i64 %20, %7                      ; [#uses = 1]
  %b_arg.a_arg.i.i = select i1 %21, i64 %20, i64 %7 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm.exit

_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm.exit: ; preds = %endif.i, %if.i
  %22 = phi i64 [ %spec.select.i.i, %if.i ], [ %b_arg.a_arg.i.i, %endif.i ] ; [#uses = 2, type = i64]
  %23 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %5, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %24 = load i8, i8* %23, align 1, !range !21     ; [#uses = 1]
  %.not31 = icmp eq i8 %24, 0                     ; [#uses = 1]
  br i1 %.not31, label %endif6, label %if5

if5:                                              ; preds = %_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm.exit
  %25 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %5, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %26 = bitcast { i64, i8* }** %25 to i8**        ; [#uses = 1]
  %.ptr1.i39 = load i8*, i8** %26, align 8        ; [#uses = 1]
  %27 = shl i64 %nelems_arg, 4                    ; [#uses = 1]
  %28 = sub i64 %22, %.len                        ; [#uses = 1]
  %29 = shl i64 %28, 4                            ; [#uses = 1]
  %30 = tail call i64 @gc_extend(i8* %.ptr1.i39, i64 %27, i64 %29, %object.TypeInfo* null) #3 ; [#uses = 2]
  %.not34 = icmp eq i64 %30, 0                    ; [#uses = 1]
  br i1 %.not34, label %endif6, label %if7

if7:                                              ; preds = %if5
  %31 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %32 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %31, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %33 = lshr i64 %30, 4                           ; [#uses = 1]
  store i64 %33, i64* %32, align 8
  ret void

endif6:                                           ; preds = %if5, %_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm.exit
  %34 = tail call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %22, i64 16) #9 ; [#uses = 2]
  %35 = extractvalue { i64, i1 } %34, 1           ; [#uses = 1]
  br i1 %35, label %assertFailed, label %endif11

assertFailed:                                     ; preds = %endif6
  tail call void @_d_assert_msg({ i64, i8* } { i64 57, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i32 0, i32 0) }, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3452) #2
  unreachable

endif11:                                          ; preds = %endif6
  %36 = extractvalue { i64, i1 } %34, 0           ; [#uses = 1]
  call void @gc_qalloc(%core.memory.BlkInfo_* noalias nonnull sret align 8 %.sret_tmp, i64 %36, i32 0, %object.TypeInfo* null) #3
  %.frame.sroa.16.40..sroa_idx = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 0 ; [#uses = 1, type = i8**]
  %.frame.sroa.16.40.copyload = load i8*, i8** %.frame.sroa.16.40..sroa_idx, align 8 ; [#uses = 2]
  %.frame.sroa.19.40..sroa_idx49 = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 1 ; [#uses = 1, type = i64*]
  %.frame.sroa.19.40.copyload = load i64, i64* %.frame.sroa.19.40..sroa_idx49, align 8 ; [#uses = 1]
  %37 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %38 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %37, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %39 = lshr i64 %.frame.sroa.19.40.copyload, 4   ; [#uses = 1]
  store i64 %39, i64* %38, align 8
  %.not33 = icmp eq i64 %.len, 0                  ; [#uses = 1]
  br i1 %.not33, label %endif16, label %if15

if15:                                             ; preds = %endif11
  %40 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %41 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %40, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %42 = bitcast { i64, i8* }** %41 to i8**        ; [#uses = 1]
  %.ptr1.i = load i8*, i8** %42, align 8          ; [#uses = 1]
  %43 = shl i64 %.len, 4                          ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.frame.sroa.16.40.copyload, i8* align 1 %.ptr1.i, i64 %43, i1 false) #3
  br label %endif16

endif16:                                          ; preds = %endif11, %if15
  %44 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %45 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %44, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len, i64* %45, align 8
  %46 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %44, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %47 = bitcast { i64, i8* }** %46 to i8**        ; [#uses = 1]
  store i8* %.frame.sroa.16.40.copyload, i8** %47, align 8
  %48 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %49 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %48, i64 0, i32 2 ; [#uses = 1, type = i8*]
  store i8 1, i8* %49, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAAyaZQp8capacityMxFNaNbNdNiNfZm(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %condtmp.0.sroa.speculate.load.condtrue = load i64, i64* %3, align 8 ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %condtmp.0.sroa.speculated = phi i64 [ %condtmp.0.sroa.speculate.load.condtrue, %condtrue ], [ 0, %0 ] ; [#uses = 1, type = i64]
  ret i64 %condtmp.0.sroa.speculated
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, { i64, i8* }* } @_D3std5array__T8AppenderTAAyaZQp7opSliceMNgFNaNbNdNiNeZANgAya(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %.fca.0.gep2.phi.trans.insert = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre = load i64, i64* %.fca.0.gep2.phi.trans.insert, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.fca.1.load.pre = load { i64, i8* }*, { i64, i8* }** %.fca.1.gep3.phi.trans.insert, align 8 ; [#uses = 1]
  br label %condend

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

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T19appenderNewCapacityVmi16ZQBbFNaNbNiNfmmZm(i64 %reqLen_arg, i64 %curLen_arg) local_unnamed_addr #1 {
  %1 = icmp eq i64 %curLen_arg, 0                 ; [#uses = 1]
  br i1 %1, label %if, label %endif

if:                                               ; preds = %0
  %2 = icmp ugt i64 %reqLen_arg, 8                ; [#uses = 1]
  %spec.select.i = select i1 %2, i64 %reqLen_arg, i64 8 ; [#uses = 1]
  ret i64 %spec.select.i

endif:                                            ; preds = %0
  %3 = shl i64 %curLen_arg, 4                     ; [#uses = 1]
  %4 = tail call i64 @llvm.ctlz.i64(i64 %3, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %5 = trunc i64 %4 to i16                        ; [#uses = 1]
  %.rhs.trunc = sub nuw nsw i16 64, %5            ; [#uses = 1]
  %6 = udiv i16 1000, %.rhs.trunc                 ; [#uses = 1]
  %.zext = zext i16 %6 to i64                     ; [#uses = 2]
  %7 = icmp ult i64 %.zext, 100                   ; [#uses = 1]
  %8 = select i1 %7, i64 %.zext, i64 100          ; [#uses = 1]
  %spec.store.select = add nuw nsw i64 %8, 100    ; [#uses = 1]
  %9 = mul i64 %spec.store.select, %curLen_arg    ; [#uses = 1]
  %10 = add i64 %9, 99                            ; [#uses = 1]
  %11 = udiv i64 %10, 100                         ; [#uses = 2]
  %12 = icmp ugt i64 %11, %reqLen_arg             ; [#uses = 1]
  %b_arg.a_arg.i = select i1 %12, i64 %11, i64 %reqLen_arg ; [#uses = 1]
  ret i64 %b_arg.a_arg.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAAyaZQp5clearMFNaNbNiNeZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 0, i64* %3, align 8
  br label %endif

endif:                                            ; preds = %0, %if
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAAyaZQp8shrinkToMFNaNemZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, i64 %newlength_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(string[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %else, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 2, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 1]
  %.not6 = icmp ult i64 %.len, %newlength_arg     ; [#uses = 1]
  br i1 %.not6, label %if.i, label %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit

if.i:                                             ; preds = %if
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 53, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.28, i32 0, i32 0) }, i64 3644, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }) #15
  unreachable

_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit: ; preds = %if
  store i64 %newlength_arg, i64* %3, align 8
  br label %endif

else:                                             ; preds = %0
  %4 = icmp eq i64 %newlength_arg, 0              ; [#uses = 1]
  br i1 %4, label %endif, label %if.i4

if.i4:                                            ; preds = %else
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 59, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.29, i32 0, i32 0) }, i64 3648, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }) #15
  unreachable

endif:                                            ; preds = %else, %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit
  ret void
}

; [#uses = 2]
declare { i64, i8* } @_d_arraysetlengthT(%object.TypeInfo*, i64, { i64, i8* }*) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array5utils__T16_d_HookTraceImplTAAyaS_DQCdQCbQBv8capacity__T22_d_arraysetlengthTImplHTQCcTQCfZ18_d_arraysetlengthTFNaNbNeMNkKQDpmZmVQDva79_43616e6e6f7420726573697a652061727261797320696620636f6d70696c696e6720776974686f757420737570706f727420666f722072756e74696d65207479706520696e666f726d6174696f6e21ZQKzFNaNbNeQKpiQKtMNkKQLbmZm(i64 %_param_4_arg, { i64, { i64, i8* }* }* dereferenceable(16) %_param_3, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* }* byval align 8 %file) local_unnamed_addr #10 {
finally:
  %.sret_tmp = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  %.sret_tmp1 = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp) #3
  %0 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %1 = load i64, i64* %0, align 8                 ; [#uses = 1]
  %2 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAAyaTQeZ18_d_arraysetlengthTFNaNbNeMNkKQBnmZm(i64 %_param_4_arg, { i64, { i64, i8* }* }* nonnull dereferenceable(16) %_param_3) #10 ; [#uses = 1]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp1) #3
  %3 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp1, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = sub i64 %4, %1                             ; [#uses = 2]
  %.not = icmp eq i64 %5, 0                       ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %finally
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 1]
  %6 = insertvalue { i64, i8* } undef, i64 %.unpack, 0 ; [#uses = 1]
  %.elt7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %.unpack8 = load i8*, i8** %.elt7, align 8      ; [#uses = 1]
  %7 = insertvalue { i64, i8* } %6, i8* %.unpack8, 1 ; [#uses = 1]
  %8 = call i64 @_D4core8internal5array5utils14accumulatePureFNaNbAyaiQeQgmZm(i64 %5, { i64, i8* } { i64 8, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.30, i32 0, i32 0) }, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* } %7) #3 ; [#uses = 1]
  %.not9 = icmp eq i64 %8, 0                      ; [#uses = 1]
  br i1 %.not9, label %assertFailed, label %endif

assertFailed:                                     ; preds = %if
  call void @_d_assert({ i64, i8* } { i64 67, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.24, i32 0, i32 0) }, i32 86) #2
  unreachable

endif:                                            ; preds = %finally, %if
  ret i64 %2
}

; [#uses = 8]
declare i64 @_d_arraysetcapacity(%object.TypeInfo*, i64, { i64, i8* }*) local_unnamed_addr #3

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5range10primitives__T5doPutTSQBh5array__T8AppenderTAAyaZQpTQhZQBpFNaNbNfKQBtKQzZv({ i64, i8* }* dereferenceable(16) %e, %"std.array.Appender!(string[]).Appender"* dereferenceable(8) %r) local_unnamed_addr #1 {
  %1 = bitcast { i64, i8* }* %e to <2 x i64>*     ; [#uses = 1]
  %2 = load <2 x i64>, <2 x i64>* %1, align 8     ; [#uses = 1]
  tail call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %r, i64 1) #1
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %r, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %4 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %3, align 8 ; [#uses = 2]
  %5 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %4, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i = load i64, i64* %5, align 8            ; [#uses = 3]
  %6 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %4, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.ptr.i.i = load { i64, i8* }*, { i64, i8* }** %6, align 8 ; [#uses = 2]
  %7 = add i64 %.len.i, 1                         ; [#uses = 2]
  %bounds.cmp.not.i = icmp eq i64 %.len.i, -1     ; [#uses = 1]
  br i1 %bounds.cmp.not.i, label %bounds.fail.i, label %_D3std5array__T8AppenderTAAyaZQp__T3putTQoZQiMFNaNbNfQBbZv.exit

bounds.fail.i:                                    ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %7) #2
  unreachable

_D3std5array__T8AppenderTAAyaZQp__T3putTQoZQiMFNaNbNfQBbZv.exit: ; preds = %0
  %8 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i.i, i64 %.len.i, i32 0 ; [#uses = 1, type = i64*]
  %9 = bitcast i64* %8 to <2 x i64>*              ; [#uses = 1]
  store <2 x i64> %2, <2 x i64>* %9, align 8
  %10 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %3, align 8 ; [#uses = 2]
  %11 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %10, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %7, i64* %11, align 8
  %12 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %10, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %.ptr.i.i, { i64, i8* }** %12, align 8
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAAyaZQp__T3putTQoZQiMFNaNbNfQBbZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, { i64, i8* } %item_arg) local_unnamed_addr #1 {
  tail call void @_D3std5array__T8AppenderTAAyaZQp13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(string[]).Appender"* nonnull %.this_arg, i64 1) #1
  %1 = getelementptr inbounds %"std.array.Appender!(string[]).Appender", %"std.array.Appender!(string[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!(string[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 5]
  %4 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  %.ptr.i = load { i64, i8* }*, { i64, i8* }** %4, align 8 ; [#uses = 4]
  %5 = add i64 %.len, 1                           ; [#uses = 2]
  %bounds.cmp.not = icmp eq i64 %.len, -1         ; [#uses = 1]
  br i1 %bounds.cmp.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %item_arg.fca.1.extract = extractvalue { i64, i8* } %item_arg, 1 ; [#uses = 1]
  %6 = ptrtoint i8* %item_arg.fca.1.extract to i64 ; [#uses = 1]
  %item_arg.fca.0.extract = extractvalue { i64, i8* } %item_arg, 0 ; [#uses = 1]
  %7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i, i64 %.len, i32 1 ; [#uses = 1, type = i8**]
  %8 = bitcast i8** %7 to i64*                    ; [#uses = 1]
  store i64 0, i64* %8, align 1
  %9 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i, i64 %.len, i32 0 ; [#uses = 1, type = i64*]
  store i64 %item_arg.fca.0.extract, i64* %9, align 8
  %10 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %.ptr.i, i64 %.len, i32 1 ; [#uses = 1, type = i8**]
  %11 = bitcast i8** %10 to i64*                  ; [#uses = 1]
  store i64 %6, i64* %11, align 8
  %12 = load %"std.array.Appender!(string[]).Appender.Data"*, %"std.array.Appender!(string[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %13 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %12, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %5, i64* %13, align 8
  %14 = getelementptr inbounds %"std.array.Appender!(string[]).Appender.Data", %"std.array.Appender!(string[]).Appender.Data"* %12, i64 0, i32 1, i32 1 ; [#uses = 1, type = { i64, i8* }**]
  store { i64, i8* }* %.ptr.i, { i64, i8* }** %14, align 8
  ret void

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %5) #2
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i8* }* @_D4core8lifetime__T7emplaceTAyaTQeZQqFNaNbNiNfPQtKQwZQh({ i64, i8* }* dereferenceable(16) %_param_1, { i64, i8* }* %chunk_arg) local_unnamed_addr #1 {
  %1 = bitcast { i64, i8* }* %chunk_arg to i8*    ; [#uses = 1]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 1 dereferenceable(16) %1, i8 0, i64 16, i1 false) #3
  %2 = bitcast { i64, i8* }* %_param_1 to <2 x i64>* ; [#uses = 1]
  %3 = load <2 x i64>, <2 x i64>* %2, align 8     ; [#uses = 1]
  %4 = bitcast { i64, i8* }* %chunk_arg to <2 x i64>* ; [#uses = 1]
  store <2 x i64> %3, <2 x i64>* %4, align 8
  ret { i64, i8* }* %chunk_arg
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D4core8internal8lifetime__T10emplaceRefTAyaTQeTQhZQxFNaNbNiNfKQwKQzZv({ i64, i8* }* dereferenceable(16) %_param_1, { i64, i8* }* dereferenceable(16) %chunk) local_unnamed_addr #1 {
  %1 = bitcast { i64, i8* }* %chunk to i8*        ; [#uses = 1]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 1 dereferenceable(16) %1, i8 0, i64 16, i1 false) #3
  %2 = bitcast { i64, i8* }* %_param_1 to <2 x i64>* ; [#uses = 1]
  %3 = load <2 x i64>, <2 x i64>* %2, align 8     ; [#uses = 1]
  %4 = bitcast { i64, i8* }* %chunk to <2 x i64>* ; [#uses = 1]
  store <2 x i64> %3, <2 x i64>* %4, align 8
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D4core8internal8lifetime__T10emplaceRefTAyaTQeTQhZQxFKQoKQrZ1S11__xopEqualsFKxSQDaQCyQCs__TQCmTQCdTQChTQClZQDcFKQCuKQCyZQCiKxQBvZb(%"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* dereferenceable(16) %q, %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* dereferenceable(16) %p) local_unnamed_addr #1 {
  %.elt = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %p, i64 0, i32 0, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt1 = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %p, i64 0, i32 0, i32 1 ; [#uses = 1, type = i8**]
  %.unpack2 = load i8*, i8** %.elt1, align 8      ; [#uses = 1]
  %.elt3 = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %q, i64 0, i32 0, i32 0 ; [#uses = 1, type = i64*]
  %.unpack4 = load i64, i64* %.elt3, align 8      ; [#uses = 1]
  %.elt5 = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %q, i64 0, i32 0, i32 1 ; [#uses = 1, type = i8**]
  %.unpack6 = load i8*, i8** %.elt5, align 8      ; [#uses = 1]
  %.not.i = icmp eq i64 %.unpack, %.unpack4       ; [#uses = 1]
  br i1 %.not.i, label %endif.i, label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit

endif.i:                                          ; preds = %0
  %1 = icmp eq i64 %.unpack, 0                    ; [#uses = 1]
  br i1 %1, label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit, label %oror.i

oror.i:                                           ; preds = %endif.i
  %bcmp.i = tail call i32 @bcmp(i8* %.unpack2, i8* %.unpack6, i64 %.unpack) ; [#uses = 1]
  %2 = icmp eq i32 %bcmp.i, 0                     ; [#uses = 1]
  br label %_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit

_D4core8internal5array8equality__T8__equalsTaTaZQoFNaNbNiNeMxAaMxQeZb.exit: ; preds = %0, %endif.i, %oror.i
  %merge.i = phi i1 [ false, %0 ], [ true, %endif.i ], [ %2, %oror.i ] ; [#uses = 1, type = i1]
  ret i1 %merge.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D4core8internal8lifetime__T10emplaceRefTAyaTQeTQhZQxFKQoKQrZ1S9__xtoHashFNbNeKxSQDbQCzQCt__TQCnTQCeTQCiTQCmZQDdFKQCvKQCzZQCjZm(%"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* dereferenceable(16) %p) local_unnamed_addr #1 {
unrolledstmt:
  %0 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D13TypeInfo_xAya6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl" = getelementptr inbounds [19 x i8*], [19 x i8*]* %0, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %1 = bitcast i8** %"getHash@vtbl" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %2 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %1, align 8 ; [#uses = 1]
  %3 = bitcast %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %p to i8* ; [#uses = 1]
  %4 = tail call i64 %2(%object.TypeInfo_Const* nonnull @_D13TypeInfo_xAya6__initZ, i8* nonnull %3) ; [#uses = 1]
  ret i64 %4
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D4core8internal8lifetime__T18emplaceInitializerTSQBwQBuQBo__T10emplaceRefTAyaTQeTQhZQxFKQoKQrZ1SZQCsFNaNbNiNeMKQClZv(%"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* dereferenceable(16) %chunk) local_unnamed_addr #1 {
  %1 = bitcast %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %chunk to i8* ; [#uses = 1]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 1 dereferenceable(16) %1, i8 0, i64 16, i1 false) #3
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* @_D4core8internal8lifetime__T10emplaceRefTAyaTQeTQhZQxFKQoKQrZ1S__T6__ctorZQiMFNaNbNcNiNfKQBwZSQDoQDmQDg__TQDaTQCrTQCvTQCzZQDqFKQDiKQDmZQCw(%"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* nonnull returned %.this_arg, { i64, i8* }* dereferenceable(16) %_param_0) local_unnamed_addr #1 {
  %1 = bitcast { i64, i8* }* %_param_0 to <2 x i64>* ; [#uses = 1]
  %2 = load <2 x i64>, <2 x i64>* %1, align 8     ; [#uses = 1]
  %3 = bitcast %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %.this_arg to <2 x i64>* ; [#uses = 1]
  store <2 x i64> %2, <2 x i64>* %3, align 8
  ret %"core.internal.lifetime.emplaceRef!(string, string, string).emplaceRef.S"* %.this_arg
}

; [#uses = 0]
; Function Attrs: alwaysinline uwtable
define weak_odr { i64, i8* }* @_D4core8internal5array8equality__T2atTxAyaZQjFNaNbNcNiNeAxQtmZxQy(i64 %i_arg, { i64, { i64, i8* }* } %r_arg) local_unnamed_addr #8 {
  %r_arg.fca.1.extract = extractvalue { i64, { i64, i8* }* } %r_arg, 1 ; [#uses = 1]
  %1 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %r_arg.fca.1.extract, i64 %i_arg ; [#uses = 1, type = { i64, i8* }*]
  ret { i64, i8* }* %1
}

; [#uses = 2]
; Function Attrs: uwtable
define weak_odr { i64, i64* } @_D3std4conv__T6toImplTAlTAAyaZQqFNaNfQmZQs({ i64, { i64, i8* }* } %value_arg) local_unnamed_addr #1 {
  %arr.i.i.i = alloca { i64, i64* }, align 8      ; [#uses = 2, size/byte = 16]
  %arr.i.i = alloca { i64, i64* }, align 8        ; [#uses = 3, size/byte = 16]
  %w = alloca %"std.array.Appender!(long[]).Appender", align 8 ; [#uses = 5, size/byte = 8]
  %value_arg.fca.0.extract = extractvalue { i64, { i64, i8* }* } %value_arg, 0 ; [#uses = 5]
  %value_arg.fca.1.extract = extractvalue { i64, { i64, i8* }* } %value_arg, 1 ; [#uses = 2]
  %1 = bitcast { i64, i64* }* %arr.i.i to i8*     ; [#uses = 3]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %1)
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %1, i8 0, i64 16, i1 false)
  %.gc_struct.i.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 5]
  %2 = bitcast { i64, i64* }* %arr.i.i.i to i8*   ; [#uses = 3]
  tail call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i.i, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %2)
  %3 = bitcast { i64, i64* }* %arr.i.i.i to { i64, i8* }* ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %4 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Al6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %3) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %2)
  %.not.i = icmp eq i64 %4, 0                     ; [#uses = 1]
  br i1 %.not.i, label %_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo.exit, label %if.i.i

if.i.i:                                           ; preds = %0
  %arr_arg.fca.0.gep.i.i = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr.i.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %5 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAlTlZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %4, { i64, i64* }* nonnull dereferenceable(16) %arr.i.i) #16 ; [#uses = 0]
  %.len3.pre.i.i = load i64, i64* %arr_arg.fca.0.gep.i.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo.exit

_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo.exit: ; preds = %0, %if.i.i
  %6 = phi i64 [ %.len3.pre.i.i, %if.i.i ], [ 0, %0 ] ; [#uses = 2, type = i64]
  %7 = bitcast i8* %.gc_struct.i.i to i64*        ; [#uses = 1]
  store i64 %6, i64* %7, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %1)
  %.sroa.0.0..sroa_idx = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %w, i64 0, i32 0 ; [#uses = 3, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %8 = bitcast %"std.array.Appender!(long[]).Appender"* %w to i8** ; [#uses = 1]
  store i8* %.gc_struct.i.i, i8** %8, align 8
  %.not.i9 = icmp eq i8* %.gc_struct.i.i, null    ; [#uses = 1]
  br i1 %.not.i9, label %else.i, label %if.i

if.i:                                             ; preds = %_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo.exit
  %9 = icmp ult i64 %6, %value_arg.fca.0.extract  ; [#uses = 1]
  br i1 %9, label %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.thread, label %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit

_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.thread: ; preds = %if.i
  %10 = getelementptr inbounds i8, i8* %.gc_struct.i.i, i64 8 ; [#uses = 1, type = i8*]
  %11 = bitcast i8* %10 to i64*                   ; [#uses = 1]
  %.len.i = load i64, i64* %11, align 8           ; [#uses = 1]
  %12 = sub i64 %value_arg.fca.0.extract, %.len.i ; [#uses = 1]
  call void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %w, i64 %12) #3
  br label %forbody.preheader

else.i:                                           ; preds = %_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo.exit
  call void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %w, i64 %value_arg.fca.0.extract) #3
  br label %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit

_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit: ; preds = %if.i, %else.i
  %.not = icmp eq i64 %value_arg.fca.0.extract, 0 ; [#uses = 1]
  br i1 %.not, label %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.endfor_crit_edge, label %forbody.preheader

forbody.preheader:                                ; preds = %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.thread, %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit
  br label %forbody

_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.endfor_crit_edge: ; preds = %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit
  %.pre = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 1]
  br label %endfor

forbody:                                          ; preds = %forbody.preheader, %_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit
  %__key201.011 = phi i64 [ %24, %_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit ], [ 0, %forbody.preheader ] ; [#uses = 3, type = i64]
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %value_arg.fca.1.extract, i64 %__key201.011, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 1]
  %13 = insertvalue { i64, i8* } undef, i64 %.unpack, 0 ; [#uses = 1]
  %.elt7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %value_arg.fca.1.extract, i64 %__key201.011, i32 1 ; [#uses = 1, type = i8**]
  %.unpack8 = load i8*, i8** %.elt7, align 8      ; [#uses = 1]
  %14 = insertvalue { i64, i8* } %13, i8* %.unpack8, 1 ; [#uses = 1]
  %15 = call i64 @_D3std4conv__T6toImplTlTAyaZQoFNaNfQlZl({ i64, i8* } %14) #3 ; [#uses = 1]
  call void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %w, i64 1) #1
  %16 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 2]
  %17 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %16, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len.i10 = load i64, i64* %17, align 8         ; [#uses = 3]
  %18 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %16, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %.ptr.i.i = load i64*, i64** %18, align 8       ; [#uses = 2]
  %19 = add i64 %.len.i10, 1                      ; [#uses = 2]
  %bounds.cmp.not.i = icmp eq i64 %.len.i10, -1   ; [#uses = 1]
  br i1 %bounds.cmp.not.i, label %bounds.fail.i, label %_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit

bounds.fail.i:                                    ; preds = %forbody
  call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %19) #2
  unreachable

_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit: ; preds = %forbody
  %20 = getelementptr inbounds i64, i64* %.ptr.i.i, i64 %.len.i10 ; [#uses = 1, type = i64*]
  store i64 %15, i64* %20, align 8
  %21 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %.sroa.0.0..sroa_idx, align 8 ; [#uses = 3]
  %22 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %21, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %19, i64* %22, align 8
  %23 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %21, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  store i64* %.ptr.i.i, i64** %23, align 8
  %24 = add nuw i64 %__key201.011, 1              ; [#uses = 2]
  %exitcond.not = icmp eq i64 %24, %value_arg.fca.0.extract ; [#uses = 1]
  br i1 %exitcond.not, label %endfor, label %forbody

endfor:                                           ; preds = %_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit, %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.endfor_crit_edge
  %25 = phi %"std.array.Appender!(long[]).Appender.Data"* [ %.pre, %_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv.exit.endfor_crit_edge ], [ %21, %_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv.exit ] ; [#uses = 3, type = %"std.array.Appender!(long[]).Appender.Data"*]
  %.not.i.i = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %25, null ; [#uses = 1]
  br i1 %.not.i.i, label %_D3std5array__T8AppenderTAlZQn4dataMNgFNaNbNdNiNeZANgl.exit, label %condtrue.i.i

condtrue.i.i:                                     ; preds = %endfor
  %.fca.0.gep2.phi.trans.insert.i.i = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %25, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre.i.i = load i64, i64* %.fca.0.gep2.phi.trans.insert.i.i, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert.i.i = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %25, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %.fca.1.load.pre.i.i = load i64*, i64** %.fca.1.gep3.phi.trans.insert.i.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAlZQn4dataMNgFNaNbNdNiNeZANgl.exit

_D3std5array__T8AppenderTAlZQn4dataMNgFNaNbNdNiNeZANgl.exit: ; preds = %endfor, %condtrue.i.i
  %.fca.1.load.i.i = phi i64* [ %.fca.1.load.pre.i.i, %condtrue.i.i ], [ null, %endfor ] ; [#uses = 1, type = i64*]
  %.fca.0.load.i.i = phi i64 [ %.fca.0.load.pre.i.i, %condtrue.i.i ], [ 0, %endfor ] ; [#uses = 1, type = i64]
  %.fca.0.insert.i.i = insertvalue { i64, i64* } undef, i64 %.fca.0.load.i.i, 0 ; [#uses = 1]
  %.fca.1.insert9.i.i = insertvalue { i64, i64* } %.fca.0.insert.i.i, i64* %.fca.1.load.i.i, 1 ; [#uses = 1]
  ret { i64, i64* } %.fca.1.insert9.i.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!(long[]).Appender" @_D3std5array__T8appenderTAlZQnFNaNbNfZSQBlQBk__T8AppenderTQBhZQo() local_unnamed_addr #1 {
  %arr.i.i = alloca { i64, i64* }, align 8        ; [#uses = 3, size/byte = 16]
  %arr.i = alloca { i64, i64* }, align 8          ; [#uses = 4, size/byte = 16]
  %1 = bitcast { i64, i64* }* %arr.i to i8*       ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %1)
  %2 = bitcast { i64, i64* }* %arr.i to i8*       ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %2, i8 0, i64 16, i1 false)
  %.gc_struct.i = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %3 = bitcast { i64, i64* }* %arr.i.i to i8*     ; [#uses = 2]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct.i, i8 0, i64 32, i1 false)
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %3)
  %4 = bitcast { i64, i64* }* %arr.i.i to { i64, i8* }* ; [#uses = 1]
  %5 = bitcast { i64, i64* }* %arr.i.i to i8*     ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  %6 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Al6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %4) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %3)
  %.not = icmp eq i64 %6, 0                       ; [#uses = 1]
  br i1 %.not, label %_D3std5array__T8AppenderTAlZQn6__ctorMFNaNbNcNeQwZSQBxQBw__TQBtTQBnZQCb.exit, label %if.i

if.i:                                             ; preds = %0
  %arr_arg.fca.0.gep.i = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %7 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAlTlZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %6, { i64, i64* }* nonnull dereferenceable(16) %arr.i) #16 ; [#uses = 0]
  %.len3.pre.i = load i64, i64* %arr_arg.fca.0.gep.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAlZQn6__ctorMFNaNbNcNeQwZSQBxQBw__TQBtTQBnZQCb.exit

_D3std5array__T8AppenderTAlZQn6__ctorMFNaNbNcNeQwZSQBxQBw__TQBtTQBnZQCb.exit: ; preds = %0, %if.i
  %.len3.i = phi i64 [ %.len3.pre.i, %if.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %8 = bitcast i8* %.gc_struct.i to %"std.array.Appender!(long[]).Appender.Data"* ; [#uses = 1]
  %9 = bitcast i8* %.gc_struct.i to i64*          ; [#uses = 1]
  store i64 %.len3.i, i64* %9, align 8
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %1)
  %.fca.0.insert = insertvalue %"std.array.Appender!(long[]).Appender" undef, %"std.array.Appender!(long[]).Appender.Data"* %8, 0 ; [#uses = 1]
  ret %"std.array.Appender!(long[]).Appender" %.fca.0.insert
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAlZQn7reserveMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 %newCapacity_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %endif.sink.split, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = icmp ult i64 %4, %newCapacity_arg          ; [#uses = 1]
  br i1 %5, label %if1, label %endif

if1:                                              ; preds = %if
  %6 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 1]
  %7 = sub i64 %newCapacity_arg, %.len            ; [#uses = 1]
  br label %endif.sink.split

endif.sink.split:                                 ; preds = %0, %if1
  %.sink = phi i64 [ %7, %if1 ], [ %newCapacity_arg, %0 ] ; [#uses = 1, type = i64]
  tail call void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 %.sink) #3
  br label %endif

endif:                                            ; preds = %endif.sink.split, %if
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAlZQn__T3putTlZQhMFNaNbNflZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 %item_arg) local_unnamed_addr #1 {
  tail call void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 1) #1
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 2, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %3 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 3]
  %4 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %.ptr.i = load i64*, i64** %4, align 8          ; [#uses = 2]
  %5 = add i64 %.len, 1                           ; [#uses = 2]
  %bounds.cmp.not = icmp eq i64 %.len, -1         ; [#uses = 1]
  br i1 %bounds.cmp.not, label %bounds.fail, label %bounds.ok

bounds.ok:                                        ; preds = %0
  %6 = getelementptr inbounds i64, i64* %.ptr.i, i64 %.len ; [#uses = 1, type = i64*]
  store i64 %item_arg, i64* %6, align 8
  %7 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %8 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %7, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %5, i64* %8, align 8
  %9 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %7, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  store i64* %.ptr.i, i64** %9, align 8
  ret void

bounds.fail:                                      ; preds = %0
  tail call void @_d_arraybounds_index({ i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3515, i64 -1, i64 %5) #2
  unreachable
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i64* } @_D3std5array__T8AppenderTAlZQn4dataMNgFNaNbNdNiNeZANgl(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not.i = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not.i, label %_D3std5array__T8AppenderTAlZQn7opSliceMNgFNaNbNdNiNeZANgl.exit, label %condtrue.i

condtrue.i:                                       ; preds = %0
  %.fca.0.gep2.phi.trans.insert.i = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre.i = load i64, i64* %.fca.0.gep2.phi.trans.insert.i, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert.i = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %.fca.1.load.pre.i = load i64*, i64** %.fca.1.gep3.phi.trans.insert.i, align 8 ; [#uses = 1]
  br label %_D3std5array__T8AppenderTAlZQn7opSliceMNgFNaNbNdNiNeZANgl.exit

_D3std5array__T8AppenderTAlZQn7opSliceMNgFNaNbNdNiNeZANgl.exit: ; preds = %0, %condtrue.i
  %.fca.1.load.i = phi i64* [ %.fca.1.load.pre.i, %condtrue.i ], [ null, %0 ] ; [#uses = 1, type = i64*]
  %.fca.0.load.i = phi i64 [ %.fca.0.load.pre.i, %condtrue.i ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %.fca.0.insert.i = insertvalue { i64, i64* } undef, i64 %.fca.0.load.i, 0 ; [#uses = 1]
  %.fca.1.insert9.i = insertvalue { i64, i64* } %.fca.0.insert.i, i64* %.fca.1.load.i, 1 ; [#uses = 1]
  ret { i64, i64* } %.fca.1.insert9.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr %"std.array.Appender!(long[]).Appender"* @_D3std5array__T8AppenderTAlZQn6__ctorMFNaNbNcNeQwZSQBxQBw__TQBtTQBnZQCb(%"std.array.Appender!(long[]).Appender"* nonnull returned %.this_arg, { i64, i64* } %arr_arg) local_unnamed_addr #1 {
  %arr.i = alloca { i64, i64* }, align 8          ; [#uses = 4, size/byte = 16]
  %arr = alloca { i64, i64* }, align 8            ; [#uses = 3, size/byte = 16]
  %arr_arg.fca.0.extract = extractvalue { i64, i64* } %arr_arg, 0 ; [#uses = 5]
  %arr_arg.fca.0.gep = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr, i64 0, i32 0 ; [#uses = 2, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep, align 8
  %arr_arg.fca.1.extract = extractvalue { i64, i64* } %arr_arg, 1 ; [#uses = 2]
  %arr_arg.fca.1.gep = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr, i64 0, i32 1 ; [#uses = 1, type = i64**]
  store i64* %arr_arg.fca.1.extract, i64** %arr_arg.fca.1.gep, align 8
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 4]
  %1 = getelementptr inbounds i8, i8* %.gc_struct, i64 8 ; [#uses = 1, type = i8*]
  %.repack = bitcast i8* %1 to i64*               ; [#uses = 1]
  %.repack5 = getelementptr inbounds i8, i8* %.gc_struct, i64 16 ; [#uses = 1, type = i8*]
  %2 = bitcast %"std.array.Appender!(long[]).Appender"* %.this_arg to i8** ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct, i8 0, i64 32, i1 false)
  store i8* %.gc_struct, i8** %2, align 8
  %3 = ptrtoint i64* %arr_arg.fca.1.extract to i64 ; [#uses = 2]
  store i64 %arr_arg.fca.0.extract, i64* %.repack, align 8
  %4 = bitcast i8* %.repack5 to i64*              ; [#uses = 1]
  store i64 %3, i64* %4, align 8
  %5 = bitcast { i64, i64* }* %arr.i to i8*       ; [#uses = 2]
  call void @llvm.lifetime.start.p0i8(i64 16, i8* nonnull %5)
  %arr_arg.fca.0.gep.i = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr.i, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep.i, align 8
  %arr_arg.fca.1.gep.i = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr.i, i64 0, i32 1 ; [#uses = 1, type = i64**]
  %6 = bitcast i64** %arr_arg.fca.1.gep.i to i64* ; [#uses = 1]
  store i64 %3, i64* %6, align 8
  %7 = bitcast { i64, i64* }* %arr.i to { i64, i8* }* ; [#uses = 1]
  %8 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Al6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %7) #3 ; [#uses = 2]
  call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %5)
  %9 = icmp ugt i64 %8, %arr_arg.fca.0.extract    ; [#uses = 1]
  br i1 %9, label %if, label %endif

if:                                               ; preds = %0
  %10 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAlTlZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %8, { i64, i64* }* nonnull dereferenceable(16) %arr) #16 ; [#uses = 0]
  %.len3.pre = load i64, i64* %arr_arg.fca.0.gep, align 8 ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %if, %0
  %.len3 = phi i64 [ %.len3.pre, %if ], [ %arr_arg.fca.0.extract, %0 ] ; [#uses = 1, type = i64]
  %11 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %12 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %11, align 8 ; [#uses = 1]
  %13 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %12, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len3, i64* %13, align 8
  ret %"std.array.Appender!(long[]).Appender"* %.this_arg
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D3std5array__T8AppenderTAlZQn4Data11__xopEqualsFKxSQByQBx__TQBuTQBoZQCcQBqKxQBaZb(%"std.array.Appender!(long[]).Appender.Data"* dereferenceable(32) %q, %"std.array.Appender!(long[]).Appender.Data"* dereferenceable(32) %p) #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %2 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %q, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %3 = load i64, i64* %1, align 8                 ; [#uses = 1]
  %4 = load i64, i64* %2, align 8                 ; [#uses = 1]
  %5 = icmp eq i64 %3, %4                         ; [#uses = 1]
  br i1 %5, label %andand, label %andandend2

andand:                                           ; preds = %0
  %.elt = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 3]
  %.elt4 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %6 = bitcast i64** %.elt4 to i8**               ; [#uses = 1]
  %.unpack513 = load i8*, i8** %6, align 8        ; [#uses = 1]
  %.elt6 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %q, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.unpack7 = load i64, i64* %.elt6, align 8      ; [#uses = 1]
  %.elt8 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %q, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %7 = bitcast i64** %.elt8 to i8**               ; [#uses = 1]
  %.unpack914 = load i8*, i8** %7, align 8        ; [#uses = 1]
  %.not.i = icmp eq i64 %.unpack, %.unpack7       ; [#uses = 1]
  br i1 %.not.i, label %endif.i, label %andandend2

endif.i:                                          ; preds = %andand
  %8 = icmp eq i64 %.unpack, 0                    ; [#uses = 1]
  br i1 %8, label %andand1, label %_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb.exit

_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb.exit: ; preds = %endif.i
  %9 = shl i64 %.unpack, 3                        ; [#uses = 1]
  %bcmp.i = tail call i32 @bcmp(i8* %.unpack513, i8* %.unpack914, i64 %9) ; [#uses = 1]
  %10 = icmp eq i32 %bcmp.i, 0                    ; [#uses = 1]
  br i1 %10, label %andand1, label %andandend2

andand1:                                          ; preds = %endif.i, %_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb.exit
  %11 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %12 = load i8, i8* %11, align 1, !range !21     ; [#uses = 1]
  %13 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %q, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %14 = load i8, i8* %13, align 1, !range !21     ; [#uses = 1]
  %15 = icmp eq i8 %12, %14                       ; [#uses = 1]
  br label %andandend2

andandend2:                                       ; preds = %andand, %0, %andand1, %_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb.exit
  %andandval3 = phi i1 [ false, %_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb.exit ], [ %15, %andand1 ], [ false, %0 ], [ false, %andand ] ; [#uses = 1, type = i1]
  ret i1 %andandval3
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr zeroext i1 @_D4core8internal5array8equality__T8__equalsTlTlZQoFNaNbNiNeMxAlMxQeZb({ i64, i64* } %rhs_arg, { i64, i64* } %lhs_arg) local_unnamed_addr #1 {
  %lhs_arg.fca.0.extract = extractvalue { i64, i64* } %lhs_arg, 0 ; [#uses = 3]
  %lhs_arg.fca.1.extract = extractvalue { i64, i64* } %lhs_arg, 1 ; [#uses = 1]
  %rhs_arg.fca.0.extract = extractvalue { i64, i64* } %rhs_arg, 0 ; [#uses = 1]
  %rhs_arg.fca.1.extract = extractvalue { i64, i64* } %rhs_arg, 1 ; [#uses = 1]
  %.not = icmp eq i64 %lhs_arg.fca.0.extract, %rhs_arg.fca.0.extract ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %0, %endif, %oror
  %merge = phi i1 [ false, %0 ], [ true, %endif ], [ %5, %oror ] ; [#uses = 1, type = i1]
  ret i1 %merge

endif:                                            ; preds = %0
  %1 = icmp eq i64 %lhs_arg.fca.0.extract, 0      ; [#uses = 1]
  br i1 %1, label %if, label %oror

oror:                                             ; preds = %endif
  %2 = bitcast i64* %lhs_arg.fca.1.extract to i8* ; [#uses = 1]
  %3 = bitcast i64* %rhs_arg.fca.1.extract to i8* ; [#uses = 1]
  %4 = shl i64 %lhs_arg.fca.0.extract, 3          ; [#uses = 1]
  %bcmp = tail call i32 @bcmp(i8* %2, i8* %3, i64 %4) ; [#uses = 1]
  %5 = icmp eq i32 %bcmp, 0                       ; [#uses = 1]
  br label %if
}

; [#uses = 1]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAlZQn4Data9__xtoHashFNbNeKxSQBzQBy__TQBvTQBpZQCdQBrZm(%"std.array.Appender!(long[]).Appender.Data"* dereferenceable(32) %p) #1 {
unrolledstmt:
  %0 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xm6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl" = getelementptr inbounds [19 x i8*], [19 x i8*]* %0, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %1 = bitcast i8** %"getHash@vtbl" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %2 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %1, align 8 ; [#uses = 1]
  %3 = bitcast %"std.array.Appender!(long[]).Appender.Data"* %p to i8* ; [#uses = 1]
  %4 = tail call i64 %2(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xm6__initZ, i8* nonnull %3) ; [#uses = 1]
  %5 = mul i64 %4, 33                             ; [#uses = 1]
  %6 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D12TypeInfo_xAl6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl3" = getelementptr inbounds [19 x i8*], [19 x i8*]* %6, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %7 = bitcast i8** %"getHash@vtbl3" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %8 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %7, align 8 ; [#uses = 1]
  %9 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 1 ; [#uses = 1, type = { i64, i64* }*]
  %10 = bitcast { i64, i64* }* %9 to i8*          ; [#uses = 1]
  %11 = tail call i64 %8(%object.TypeInfo_Const* nonnull @_D12TypeInfo_xAl6__initZ, i8* nonnull %10) ; [#uses = 1]
  %12 = add i64 %11, %5                           ; [#uses = 1]
  %13 = mul i64 %12, 33                           ; [#uses = 1]
  %14 = load [19 x i8*]*, [19 x i8*]** getelementptr inbounds (%object.TypeInfo_Const, %object.TypeInfo_Const* @_D11TypeInfo_xb6__initZ, i64 0, i32 0), align 8 ; [#uses = 1]
  %"getHash@vtbl5" = getelementptr inbounds [19 x i8*], [19 x i8*]* %14, i64 0, i64 5 ; [#uses = 1, type = i8**]
  %15 = bitcast i8** %"getHash@vtbl5" to i64 (%object.TypeInfo_Const*, i8*)** ; [#uses = 1]
  %16 = load i64 (%object.TypeInfo_Const*, i8*)*, i64 (%object.TypeInfo_Const*, i8*)** %15, align 8 ; [#uses = 1]
  %17 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %p, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %18 = tail call i64 %16(%object.TypeInfo_Const* nonnull @_D11TypeInfo_xb6__initZ, i8* nonnull %17) ; [#uses = 1]
  %19 = add i64 %18, %13                          ; [#uses = 1]
  ret i64 %19
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D6object__T8capacityTlZQmFNaNbNdNeAlZm({ i64, i64* } %arr_arg) local_unnamed_addr #1 {
  %arr = alloca { i64, i64* }, align 8            ; [#uses = 3, size/byte = 16]
  %arr_arg.fca.0.extract = extractvalue { i64, i64* } %arr_arg, 0 ; [#uses = 1]
  %arr_arg.fca.0.gep = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 %arr_arg.fca.0.extract, i64* %arr_arg.fca.0.gep, align 8
  %arr_arg.fca.1.extract = extractvalue { i64, i64* } %arr_arg, 1 ; [#uses = 1]
  %arr_arg.fca.1.gep = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr, i64 0, i32 1 ; [#uses = 1, type = i64**]
  store i64* %arr_arg.fca.1.extract, i64** %arr_arg.fca.1.gep, align 8
  %1 = bitcast { i64, i64* }* %arr to { i64, i8* }* ; [#uses = 1]
  %2 = call i64 @_d_arraysetcapacity(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Al6__initZ to %object.TypeInfo*), i64 0, { i64, i8* }* nonnull %1) #3 ; [#uses = 1]
  ret i64 %2
}

; [#uses = 4]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAlTlZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %newlength_arg, { i64, i64* }* dereferenceable(16) %arr) local_unnamed_addr #10 {
  %1 = bitcast { i64, i64* }* %arr to { i64, i8* }* ; [#uses = 1]
  %2 = tail call { i64, i8* } @_d_arraysetlengthT(%object.TypeInfo* bitcast (%object.TypeInfo_Array* @_D11TypeInfo_Al6__initZ to %object.TypeInfo*), i64 %newlength_arg, { i64, i8* }* nonnull %1) #3 ; [#uses = 0]
  %3 = getelementptr inbounds { i64, i64* }, { i64, i64* }* %arr, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 1]
  ret i64 %.len
}

; [#uses = 5]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAlZQn13ensureAddableMFNaNbNfmZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 %nelems_arg) local_unnamed_addr #1 {
  %.sret_tmp = alloca %core.memory.BlkInfo_, align 8 ; [#uses = 3, size/byte = 24]
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 6, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %if, label %endif

if:                                               ; preds = %0
  %.gc_struct = tail call noalias i8* @_d_newitemT(%object.TypeInfo* bitcast (%object.TypeInfo_Struct* @_D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ to %object.TypeInfo*)) #5 ; [#uses = 3]
  %3 = bitcast %"std.array.Appender!(long[]).Appender"* %.this_arg to i8** ; [#uses = 1]
  call void @llvm.memset.p0i8.i64(i8* nonnull align 8 dereferenceable(32) %.gc_struct, i8 0, i64 32, i1 false)
  store i8* %.gc_struct, i8** %3, align 8
  %4 = bitcast i8* %.gc_struct to %"std.array.Appender!(long[]).Appender.Data"* ; [#uses = 1]
  br label %endif

endif:                                            ; preds = %if, %0
  %5 = phi %"std.array.Appender!(long[]).Appender.Data"* [ %4, %if ], [ %2, %0 ] ; [#uses = 4, type = %"std.array.Appender!(long[]).Appender.Data"*]
  %6 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %5, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.len = load i64, i64* %6, align 8              ; [#uses = 5]
  %7 = add i64 %.len, %nelems_arg                 ; [#uses = 5]
  %8 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %5, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %9 = load i64, i64* %8, align 8                 ; [#uses = 4]
  %.not30 = icmp ult i64 %9, %7                   ; [#uses = 1]
  br i1 %.not30, label %endif4, label %if3

if3:                                              ; preds = %endif
  ret void

endif4:                                           ; preds = %endif
  %10 = icmp eq i64 %9, 0                         ; [#uses = 1]
  br i1 %10, label %if.i, label %endif.i

if.i:                                             ; preds = %endif4
  %11 = icmp ugt i64 %7, 8                        ; [#uses = 1]
  %spec.select.i.i = select i1 %11, i64 %7, i64 8 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm.exit

endif.i:                                          ; preds = %endif4
  %12 = shl i64 %9, 3                             ; [#uses = 1]
  %13 = tail call i64 @llvm.ctlz.i64(i64 %12, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %14 = trunc i64 %13 to i16                      ; [#uses = 1]
  %.rhs.trunc.i = sub nuw nsw i16 64, %14         ; [#uses = 1]
  %15 = udiv i16 1000, %.rhs.trunc.i              ; [#uses = 1]
  %.zext.i = zext i16 %15 to i64                  ; [#uses = 2]
  %16 = icmp ult i64 %.zext.i, 100                ; [#uses = 1]
  %17 = select i1 %16, i64 %.zext.i, i64 100      ; [#uses = 1]
  %spec.store.select.i = add nuw nsw i64 %17, 100 ; [#uses = 1]
  %18 = mul i64 %spec.store.select.i, %9          ; [#uses = 1]
  %19 = add i64 %18, 99                           ; [#uses = 1]
  %20 = udiv i64 %19, 100                         ; [#uses = 2]
  %21 = icmp ugt i64 %20, %7                      ; [#uses = 1]
  %b_arg.a_arg.i.i = select i1 %21, i64 %20, i64 %7 ; [#uses = 1]
  br label %_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm.exit

_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm.exit: ; preds = %endif.i, %if.i
  %22 = phi i64 [ %spec.select.i.i, %if.i ], [ %b_arg.a_arg.i.i, %endif.i ] ; [#uses = 2, type = i64]
  %23 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %5, i64 0, i32 2 ; [#uses = 1, type = i8*]
  %24 = load i8, i8* %23, align 1, !range !21     ; [#uses = 1]
  %.not31 = icmp eq i8 %24, 0                     ; [#uses = 1]
  br i1 %.not31, label %endif6, label %if5

if5:                                              ; preds = %_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm.exit
  %25 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %5, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %26 = bitcast i64** %25 to i8**                 ; [#uses = 1]
  %.ptr1.i39 = load i8*, i8** %26, align 8        ; [#uses = 1]
  %27 = shl i64 %nelems_arg, 3                    ; [#uses = 1]
  %28 = sub i64 %22, %.len                        ; [#uses = 1]
  %29 = shl i64 %28, 3                            ; [#uses = 1]
  %30 = tail call i64 @gc_extend(i8* %.ptr1.i39, i64 %27, i64 %29, %object.TypeInfo* null) #3 ; [#uses = 2]
  %.not34 = icmp eq i64 %30, 0                    ; [#uses = 1]
  br i1 %.not34, label %endif6, label %if7

if7:                                              ; preds = %if5
  %31 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %32 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %31, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %33 = lshr i64 %30, 3                           ; [#uses = 1]
  store i64 %33, i64* %32, align 8
  ret void

endif6:                                           ; preds = %if5, %_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm.exit
  %34 = tail call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %22, i64 8) #9 ; [#uses = 2]
  %35 = extractvalue { i64, i1 } %34, 1           ; [#uses = 1]
  br i1 %35, label %assertFailed, label %endif11

assertFailed:                                     ; preds = %endif6
  tail call void @_d_assert_msg({ i64, i8* } { i64 57, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.21, i32 0, i32 0) }, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }, i32 3452) #2
  unreachable

endif11:                                          ; preds = %endif6
  %36 = extractvalue { i64, i1 } %34, 0           ; [#uses = 1]
  call void @gc_qalloc(%core.memory.BlkInfo_* noalias nonnull sret align 8 %.sret_tmp, i64 %36, i32 2, %object.TypeInfo* null) #3
  %.frame.sroa.16.40..sroa_idx = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 0 ; [#uses = 1, type = i8**]
  %.frame.sroa.16.40.copyload = load i8*, i8** %.frame.sroa.16.40..sroa_idx, align 8 ; [#uses = 2]
  %.frame.sroa.19.40..sroa_idx49 = getelementptr inbounds %core.memory.BlkInfo_, %core.memory.BlkInfo_* %.sret_tmp, i64 0, i32 1 ; [#uses = 1, type = i64*]
  %.frame.sroa.19.40.copyload = load i64, i64* %.frame.sroa.19.40..sroa_idx49, align 8 ; [#uses = 1]
  %37 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %38 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %37, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %39 = lshr i64 %.frame.sroa.19.40.copyload, 3   ; [#uses = 1]
  store i64 %39, i64* %38, align 8
  %.not33 = icmp eq i64 %.len, 0                  ; [#uses = 1]
  br i1 %.not33, label %endif16, label %if15

if15:                                             ; preds = %endif11
  %40 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %41 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %40, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %42 = bitcast i64** %41 to i8**                 ; [#uses = 1]
  %.ptr1.i = load i8*, i8** %42, align 8          ; [#uses = 1]
  %43 = shl i64 %.len, 3                          ; [#uses = 1]
  call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 1 %.frame.sroa.16.40.copyload, i8* align 1 %.ptr1.i, i64 %43, i1 false) #3
  br label %endif16

endif16:                                          ; preds = %endif11, %if15
  %44 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %45 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %44, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 %.len, i64* %45, align 8
  %46 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %44, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %47 = bitcast i64** %46 to i8**                 ; [#uses = 1]
  store i8* %.frame.sroa.16.40.copyload, i8** %47, align 8
  %48 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 1]
  %49 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %48, i64 0, i32 2 ; [#uses = 1, type = i8*]
  store i8 1, i8* %49, align 1
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T8AppenderTAlZQn8capacityMxFNaNbNdNiNfZm(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %condtmp.0.sroa.speculate.load.condtrue = load i64, i64* %3, align 8 ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %condtmp.0.sroa.speculated = phi i64 [ %condtmp.0.sroa.speculate.load.condtrue, %condtrue ], [ 0, %0 ] ; [#uses = 1, type = i64]
  ret i64 %condtmp.0.sroa.speculated
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr { i64, i64* } @_D3std5array__T8AppenderTAlZQn7opSliceMNgFNaNbNdNiNeZANgl(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 3]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %condend, label %condtrue

condtrue:                                         ; preds = %0
  %.fca.0.gep2.phi.trans.insert = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  %.fca.0.load.pre = load i64, i64* %.fca.0.gep2.phi.trans.insert, align 8 ; [#uses = 1]
  %.fca.1.gep3.phi.trans.insert = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 1 ; [#uses = 1, type = i64**]
  %.fca.1.load.pre = load i64*, i64** %.fca.1.gep3.phi.trans.insert, align 8 ; [#uses = 1]
  br label %condend

condend:                                          ; preds = %0, %condtrue
  %.fca.1.load = phi i64* [ %.fca.1.load.pre, %condtrue ], [ null, %0 ] ; [#uses = 1, type = i64*]
  %.fca.0.load = phi i64 [ %.fca.0.load.pre, %condtrue ], [ 0, %0 ] ; [#uses = 1, type = i64]
  %.fca.0.insert = insertvalue { i64, i64* } undef, i64 %.fca.0.load, 0 ; [#uses = 1]
  %.fca.1.insert9 = insertvalue { i64, i64* } %.fca.0.insert, i64* %.fca.1.load, 1 ; [#uses = 1]
  ret { i64, i64* } %.fca.1.insert9
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64 @_D3std5array__T19appenderNewCapacityVmi8ZQBaFNaNbNiNfmmZm(i64 %reqLen_arg, i64 %curLen_arg) local_unnamed_addr #1 {
  %1 = icmp eq i64 %curLen_arg, 0                 ; [#uses = 1]
  br i1 %1, label %if, label %endif

if:                                               ; preds = %0
  %2 = icmp ugt i64 %reqLen_arg, 8                ; [#uses = 1]
  %spec.select.i = select i1 %2, i64 %reqLen_arg, i64 8 ; [#uses = 1]
  ret i64 %spec.select.i

endif:                                            ; preds = %0
  %3 = shl i64 %curLen_arg, 3                     ; [#uses = 1]
  %4 = tail call i64 @llvm.ctlz.i64(i64 %3, i1 immarg true) #9, !range !22 ; [#uses = 1]
  %5 = trunc i64 %4 to i16                        ; [#uses = 1]
  %.rhs.trunc = sub nuw nsw i16 64, %5            ; [#uses = 1]
  %6 = udiv i16 1000, %.rhs.trunc                 ; [#uses = 1]
  %.zext = zext i16 %6 to i64                     ; [#uses = 2]
  %7 = icmp ult i64 %.zext, 100                   ; [#uses = 1]
  %8 = select i1 %7, i64 %.zext, i64 100          ; [#uses = 1]
  %spec.store.select = add nuw nsw i64 %8, 100    ; [#uses = 1]
  %9 = mul i64 %spec.store.select, %curLen_arg    ; [#uses = 1]
  %10 = add i64 %9, 99                            ; [#uses = 1]
  %11 = udiv i64 %10, 100                         ; [#uses = 2]
  %12 = icmp ugt i64 %11, %reqLen_arg             ; [#uses = 1]
  %b_arg.a_arg.i = select i1 %12, i64 %11, i64 %reqLen_arg ; [#uses = 1]
  ret i64 %b_arg.a_arg.i
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAlZQn5clearMFNaNbNiNeZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 1, type = i64*]
  store i64 0, i64* %3, align 8
  br label %endif

endif:                                            ; preds = %0, %if
  ret void
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D3std5array__T8AppenderTAlZQn8shrinkToMFNaNemZv(%"std.array.Appender!(long[]).Appender"* nonnull %.this_arg, i64 %newlength_arg) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"std.array.Appender!(long[]).Appender", %"std.array.Appender!(long[]).Appender"* %.this_arg, i64 0, i32 0 ; [#uses = 1, type = %"std.array.Appender!(long[]).Appender.Data"**]
  %2 = load %"std.array.Appender!(long[]).Appender.Data"*, %"std.array.Appender!(long[]).Appender.Data"** %1, align 8 ; [#uses = 2]
  %.not = icmp eq %"std.array.Appender!(long[]).Appender.Data"* %2, null ; [#uses = 1]
  br i1 %.not, label %else, label %if

if:                                               ; preds = %0
  %3 = getelementptr inbounds %"std.array.Appender!(long[]).Appender.Data", %"std.array.Appender!(long[]).Appender.Data"* %2, i64 0, i32 1, i32 0 ; [#uses = 2, type = i64*]
  %.len = load i64, i64* %3, align 8              ; [#uses = 1]
  %.not6 = icmp ult i64 %.len, %newlength_arg     ; [#uses = 1]
  br i1 %.not6, label %if.i, label %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit

if.i:                                             ; preds = %if
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 53, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.28, i32 0, i32 0) }, i64 3644, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }) #15
  unreachable

_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit: ; preds = %if
  store i64 %newlength_arg, i64* %3, align 8
  br label %endif

else:                                             ; preds = %0
  %4 = icmp eq i64 %newlength_arg, 0              ; [#uses = 1]
  br i1 %4, label %endif, label %if.i4

if.i4:                                            ; preds = %else
  tail call void @_D3std9exception__T7bailOutHTC9ExceptionZQwFNaNfAyamMAxaZNn({ i64, i8* } { i64 59, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.29, i32 0, i32 0) }, i64 3648, { i64, i8* } { i64 51, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.22, i32 0, i32 0) }) #15
  unreachable

endif:                                            ; preds = %else, %_D3std9exception__T7enforceZ__TQmTbZQrFNaNfbLAxaAyamZb.exit
  ret void
}

; [#uses = 0]
; Function Attrs: noinline uwtable
define weak_odr i64 @_D4core8internal5array5utils__T16_d_HookTraceImplTAlS_DQCbQBzQBt8capacity__T22_d_arraysetlengthTImplHTQCaTlZ18_d_arraysetlengthTFNaNbNeMNkKQDlmZmVAyaa79_43616e6e6f7420726573697a652061727261797320696620636f6d70696c696e6720776974686f757420737570706f727420666f722072756e74696d65207479706520696e666f726d6174696f6e21ZQKvFNaNbNeQGuiQGyMNkKQKxmZm(i64 %_param_4_arg, { i64, i64* }* dereferenceable(16) %_param_3, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* }* byval align 8 %file) local_unnamed_addr #10 {
finally:
  %.sret_tmp = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  %.sret_tmp1 = alloca %core.memory.GC.Stats, align 8 ; [#uses = 2, size/byte = 24]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp) #3
  %0 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %1 = load i64, i64* %0, align 8                 ; [#uses = 1]
  %2 = call i64 @_D4core8internal5array8capacity__T22_d_arraysetlengthTImplHTAlTlZ18_d_arraysetlengthTFNaNbNeMNkKQBkmZm(i64 %_param_4_arg, { i64, i64* }* nonnull dereferenceable(16) %_param_3) #10 ; [#uses = 1]
  call void @_D4core8internal5array5utils11gcStatsPureFNaNbZSQBu6memory2GC5Stats(%core.memory.GC.Stats* noalias nonnull sret align 8 %.sret_tmp1) #3
  %3 = getelementptr inbounds %core.memory.GC.Stats, %core.memory.GC.Stats* %.sret_tmp1, i64 0, i32 2 ; [#uses = 1, type = i64*]
  %4 = load i64, i64* %3, align 8                 ; [#uses = 1]
  %5 = sub i64 %4, %1                             ; [#uses = 2]
  %.not = icmp eq i64 %5, 0                       ; [#uses = 1]
  br i1 %.not, label %endif, label %if

if:                                               ; preds = %finally
  %.elt = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 0 ; [#uses = 1, type = i64*]
  %.unpack = load i64, i64* %.elt, align 8        ; [#uses = 1]
  %6 = insertvalue { i64, i8* } undef, i64 %.unpack, 0 ; [#uses = 1]
  %.elt7 = getelementptr inbounds { i64, i8* }, { i64, i8* }* %file, i64 0, i32 1 ; [#uses = 1, type = i8**]
  %.unpack8 = load i8*, i8** %.elt7, align 8      ; [#uses = 1]
  %7 = insertvalue { i64, i8* } %6, i8* %.unpack8, 1 ; [#uses = 1]
  %8 = call i64 @_D4core8internal5array5utils14accumulatePureFNaNbAyaiQeQgmZm(i64 %5, { i64, i8* } { i64 6, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.32, i32 0, i32 0) }, { i64, i8* } %funcname_arg, i32 %line_arg, { i64, i8* } %7) #3 ; [#uses = 1]
  %.not9 = icmp eq i64 %8, 0                      ; [#uses = 1]
  br i1 %.not9, label %assertFailed, label %endif

assertFailed:                                     ; preds = %if
  call void @_d_assert({ i64, i8* } { i64 67, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.24, i32 0, i32 0) }, i32 86) #2
  unreachable

endif:                                            ; preds = %finally, %if
  ret i64 %2
}

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr i64* @_D4core8lifetime__T7emplaceTlTlZQnFNaNbNiNfPlKlZQf(i64* dereferenceable(8) %_param_1, i64* %chunk_arg) local_unnamed_addr #1 {
  store i64 0, i64* %chunk_arg, align 1
  %1 = load i64, i64* %_param_1, align 8          ; [#uses = 1]
  store i64 %1, i64* %chunk_arg, align 8
  ret i64* %chunk_arg
}

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

; [#uses = 0]
; Function Attrs: uwtable
define weak_odr void @_D4core8internal8lifetime__T18emplaceInitializerTSQBwQBuQBo__T10emplaceRefTlTlTlZQtFKlKlZ1SZQCmFNaNbNiNeKQCeZv(%"core.internal.lifetime.emplaceRef!(long, long, long).emplaceRef.S"* dereferenceable(8) %chunk) local_unnamed_addr #1 {
  %1 = getelementptr inbounds %"core.internal.lifetime.emplaceRef!(long, long, long).emplaceRef.S", %"core.internal.lifetime.emplaceRef!(long, long, long).emplaceRef.S"* %chunk, i64 0, i32 0 ; [#uses = 1, type = i64*]
  store i64 0, i64* %1, align 1
  ret void
}

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

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

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

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

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

; [#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) #3 ; [#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) }) #15
  unreachable

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

forbody:                                          ; preds = %forcond.preheader, %forbody
  %__key210.010 = phi i64 [ %11, %forbody ], [ 0, %forcond.preheader ] ; [#uses = 2, type = i64]
  %9 = getelementptr inbounds i8, i8* %writeme_arg.fca.1.extract, i64 %__key210.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) #3
  %11 = add nuw i64 %__key210.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) #3
  %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) #3 ; [#uses = 1]
  %6 = tail call i32 @fputc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %5) #3 ; [#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) #3 ; [#uses = 1]
  %9 = tail call i32 @fputwc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %8) #3 ; [#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) #3 ; [#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) #3 ; [#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) #3 ; [#uses = 1]
  %34 = call i32 @fputwc_unlocked(i32 %32, %core.stdc.stdio._IO_FILE* %33) #3 ; [#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) #2
  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) #2
  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) #2
  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) #3 ; [#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) #15
  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) #3
  %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) #3 ; [#uses = 1]
  %6 = tail call i32 @fputc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %5) #3 ; [#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) #3 ; [#uses = 1]
  %9 = tail call i32 @fputwc_unlocked(i32 %4, %core.stdc.stdio._IO_FILE* %8) #3 ; [#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) #3 ; [#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) #3 ; [#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) #3 ; [#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) #3 ; [#uses = 1]
  %34 = call i32 @fputwc_unlocked(i32 %32, %core.stdc.stdio._IO_FILE* %33) #3 ; [#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) #2
  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) #2
  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) #2
  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 #13

; [#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) #5 ; [#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) #3 ; [#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) #3
  %.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) #3 ; [#uses = 0]
  %6 = bitcast %object.Object* %.newclass_gc_alloc to %object.Throwable* ; [#uses = 1]
  tail call void @_d_throw_exception(%object.Throwable* %6) #2
  unreachable
}

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

; [#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) #3 ; [#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 #13

; [#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) #3 ; [#uses = 1]
  ret i32 %1
}

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

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

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

; [#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) #3 ; [#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.9, i32 0, i32 0) }, i32 403, i64 0, i64 0) #2
  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) #3 ; [#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) #5 ; [#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.33, 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.9, i32 0, i32 0) }, { i64, i8* }* nonnull byval align 8 %.lval_copy_for_ImplicitByvalRewrite.i) #3 ; [#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) #2
  unreachable

else:                                             ; preds = %arrayinit.cond
  %17 = tail call zeroext i1 @_D3std3utf12isValidDcharFNaNbNiNfwZb(i32 %c_arg) #3 ; [#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.9, i32 0, i32 0) }, i32 2506) #2
  unreachable

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

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

; [#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.9, i32 0, i32 0) }, i32 1292, i64 0, i64 0) #2
  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) #3 ; [#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.9, i32 0, i32 0) }, i32 1299, i64 %11, i64 %.len14, i64 %.len14) #2
  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) #3 ; [#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.9, i32 0, i32 0) }, i32 1285) #2
  unreachable

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

; [#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.7, 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.7, %nest.decodeImpl.7* %.frame, i64 0, i32 0 ; [#uses = 1, type = i8**]
  %length = getelementptr inbounds %nest.decodeImpl.7, %nest.decodeImpl.7* %.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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  unreachable

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

if25:                                             ; preds = %endif23
  %54 = bitcast %nest.decodeImpl.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  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.7* %.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) #2
  unreachable

endif41:                                          ; preds = %endif38
  ret i32 %72

unrolledend:                                      ; preds = %endif33
  %83 = bitcast %nest.decodeImpl.7* %.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) #2
  unreachable
}

; [#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.9, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #2
  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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 22, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i32 0, i32 0) }) #3 ; [#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.9, i32 0, i32 0) }, i32 1544, i64 %str_arg.fca.0.extract, i64 %str_arg.fca.0.extract) #2
  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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } %msg_arg) #3 ; [#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.9, i32 0, i32 0) }, i32 1544, i64 %1, i64 %1) #2
  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) #5 ; [#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.9, i32 0, i32 0) }, i64 %.lcssa, { i64, i8* } { i64 44, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i32 0, i32 0) }) #3 ; [#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 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) #3 ; [#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) #3 ; [#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 #5

; [#uses = 7]
; Function Attrs: nofree nounwind readonly
declare i32 @bcmp(i8* nocapture, i8* nocapture, i64) local_unnamed_addr #14

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

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

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 = { cold noreturn uwtable }
attributes #3 = { "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #4 = { noreturn uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #5 = { uwtable }
attributes #6 = { argmemonly nounwind willreturn }
attributes #7 = { argmemonly nounwind willreturn writeonly }
attributes #8 = { alwaysinline uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #9 = { nounwind readnone speculatable willreturn "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #10 = { noinline uwtable "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #11 = { nounwind uwtable }
attributes #12 = { nounwind readnone }
attributes #13 = { nofree nounwind "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #14 = { nofree nounwind readonly }
attributes #15 = { noreturn "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }
attributes #16 = { noinline "frame-pointer"="none" "target-cpu"="x86-64" "target-features"="+cx16" }

!llvm.ldc.typeinfo._D9Exception7__ClassZ = !{!0}
!llvm.ldc.classinfo._D9Exception7__ClassZ = !{!1}
!llvm.ldc.typeinfo._D12TypeInfo_Axa6__initZ = !{!2}
!llvm.ldc.typeinfo._D12TypeInfo_Aya6__initZ = !{!2}
!llvm.ldc.typeinfo._D3std3utf12UTFException7__ClassZ = !{!3}
!llvm.ldc.classinfo._D3std3utf12UTFException7__ClassZ = !{!4}
!llvm.ldc.typeinfo._D3std4conv21ConvOverflowException7__ClassZ = !{!5}
!llvm.ldc.classinfo._D3std4conv21ConvOverflowException7__ClassZ = !{!6}
!llvm.ldc.typeinfo._D3std4conv13ConvException7__ClassZ = !{!7}
!llvm.ldc.classinfo._D3std4conv13ConvException7__ClassZ = !{!8}
!llvm.ldc.typeinfo._D11TypeInfo_xm6__initZ = !{!9}
!llvm.ldc.typeinfo._D10TypeInfo_m6__initZ = !{!9}
!llvm.ldc.typeinfo._D12TypeInfo_xAa6__initZ = !{!2}
!llvm.ldc.typeinfo._D11TypeInfo_xb6__initZ = !{!10}
!llvm.ldc.typeinfo._D10TypeInfo_b6__initZ = !{!10}
!llvm.ldc.typeinfo._D44TypeInfo_S3std5array__T8AppenderTAyaZQo4Data6__initZ = !{!11}
!llvm.ldc.typeinfo._D11TypeInfo_Aa6__initZ = !{!2}
!llvm.ldc.typeinfo._D6object9Throwable7__ClassZ = !{!12}
!llvm.ldc.classinfo._D6object9Throwable7__ClassZ = !{!13}
!llvm.ldc.typeinfo._D14TypeInfo_xAAya6__initZ = !{!14}
!llvm.ldc.typeinfo._D14TypeInfo_AxAya6__initZ = !{!14}
!llvm.ldc.typeinfo._D13TypeInfo_xAya6__initZ = !{!2}
!llvm.ldc.typeinfo._D45TypeInfo_S3std5array__T8AppenderTAAyaZQp4Data6__initZ = !{!15}
!llvm.ldc.typeinfo._D13TypeInfo_AAya6__initZ = !{!14}
!llvm.ldc.typeinfo._D12TypeInfo_xAl6__initZ = !{!16}
!llvm.ldc.typeinfo._D12TypeInfo_Axl6__initZ = !{!16}
!llvm.ldc.typeinfo._D11TypeInfo_xl6__initZ = !{!9}
!llvm.ldc.typeinfo._D10TypeInfo_l6__initZ = !{!9}
!llvm.ldc.typeinfo._D43TypeInfo_S3std5array__T8AppenderTAlZQn4Data6__initZ = !{!17}
!llvm.ldc.typeinfo._D11TypeInfo_Al6__initZ = !{!16}
!llvm.ldc.typeinfo._D3std9exception14ErrnoException7__ClassZ = !{!18}
!llvm.ldc.classinfo._D3std9exception14ErrnoException7__ClassZ = !{!19}
!llvm.ident = !{!20}

!0 = !{%object.Exception* undef}
!1 = !{%object.Exception undef, i1 false}
!2 = !{{ i64, i8* } undef}
!3 = !{%std.utf.UTFException* undef}
!4 = !{%std.utf.UTFException undef, i1 false}
!5 = !{%std.conv.ConvOverflowException* undef}
!6 = !{%std.conv.ConvOverflowException undef, i1 false}
!7 = !{%std.conv.ConvException* undef}
!8 = !{%std.conv.ConvException undef, i1 false}
!9 = !{i64 undef}
!10 = !{i1 undef}
!11 = !{%"std.array.Appender!string.Appender.Data" undef}
!12 = !{%object.Throwable* undef}
!13 = !{%object.Throwable undef, i1 true}
!14 = !{{ i64, { i64, i8* }* } undef}
!15 = !{%"std.array.Appender!(string[]).Appender.Data" undef}
!16 = !{{ i64, i64* } undef}
!17 = !{%"std.array.Appender!(long[]).Appender.Data" undef}
!18 = !{%std.exception.ErrnoException* undef}
!19 = !{%std.exception.ErrnoException undef, i1 false}
!20 = !{!"ldc version 1.28.0"}
!21 = !{i8 0, i8 2}
!22 = !{i64 0, i64 65}
