; LLVM IR from yangfengzzz/DigitalVox4 :: editor/crude_json.ll (ZNK10crude_json5value4dumpERNS0_14dump_context_tEi)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"struct.crude_json::value" = type { %"union.std::aligned_storage<48, 8>::type", i32, [4 x i8] }
%"union.std::aligned_storage<48, 8>::type" = type { [48 x i8] }
%"struct.crude_json::value::dump_context_t" = type <{ %"class.std::__cxx11::basic_ostringstream", i32, i8, [3 x i8] }>
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_string", %"struct.crude_json::value" }

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10object_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value9array_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value11boolean_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10number_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %0, ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %20 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %21 = load ptr, ptr %4, align 8
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %22, i32 noundef %23)
  %24 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 1
  %25 = load i32, ptr %24, align 8, !tbaa !11
  switch i32 %25, label %297 [
    i32 0, label %26
    i32 1, label %30
    i32 2, label %96
    i32 3, label %150
    i32 4, label %276
    i32 5, label %290
  ]

26:                                               ; preds = %3
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %27, i32 0, i32 0
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.3)
  br label %298

30:                                               ; preds = %3
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %31, i32 0, i32 0
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %32, i8 noundef signext 123)
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %34)
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  store i8 1, ptr %7, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %35 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %36 = call noundef ptr @_ZN10crude_json5value10object_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %35)
  store ptr %36, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %37) #6
  %39 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %9, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %40) #6
  %42 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %10, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  br label %43

43:                                               ; preds = %83, %30
  %44 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %44, label %46, label %45

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %85

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %47 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  store ptr %47, ptr %11, align 8, !tbaa !5
  %48 = load i8, ptr %7, align 1, !tbaa !14, !range !16, !noundef !17
  %49 = trunc i8 %48 to i1
  br i1 %49, label %55, label %50

50:                                               ; preds = %46
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %51, i32 0, i32 0
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %52, i8 noundef signext 44)
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %54)
  br label %56

55:                                               ; preds = %46
  store i8 0, ptr %7, align 1, !tbaa !14
  br label %56

56:                                               ; preds = %55, %50
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %57, i32 noundef %59)
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %60, i32 0, i32 0
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %61, i8 noundef signext 34)
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.std::pair", ptr %63, i32 0, i32 0
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(32) %64)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef @.str.4)
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.std::pair", ptr %67, i32 0, i32 1
  %69 = call noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52) %68)
  br i1 %69, label %75, label %70

70:                                               ; preds = %56
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t15write_separatorEv(ptr noundef nonnull align 8 dereferenceable(381) %71)
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.std::pair", ptr %72, i32 0, i32 1
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %73, ptr noundef nonnull align 8 dereferenceable(381) %74, i32 noundef 0)
  br label %82

75:                                               ; preds = %56
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %76)
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.std::pair", ptr %77, i32 0, i32 1
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = load i32, ptr %6, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %78, ptr noundef nonnull align 8 dereferenceable(381) %79, i32 noundef %81)
  br label %82

82:                                               ; preds = %75, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %83

83:                                               ; preds = %82
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %43

85:                                               ; preds = %45
  %86 = load i8, ptr %7, align 1, !tbaa !14, !range !16, !noundef !17
  %87 = trunc i8 %86 to i1
  br i1 %87, label %90, label %88

88:                                               ; preds = %85
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %89)
  br label %90

90:                                               ; preds = %88, %85
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %91, i32 noundef %92)
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %93, i32 0, i32 0
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %94, i8 noundef signext 125)
  br label %298

96:                                               ; preds = %3
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %97, i32 0, i32 0
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %98, i8 noundef signext 91)
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %100)
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 1, ptr %12, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %101 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %102 = call noundef ptr @_ZN10crude_json5value9array_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %101)
  store ptr %102, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = call ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #6
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %14, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = call ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #6
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.6", ptr %15, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %137, %96
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %110, label %112, label %111

111:                                              ; preds = %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %139

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %113 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  store ptr %113, ptr %16, align 8, !tbaa !5
  %114 = load i8, ptr %12, align 1, !tbaa !14, !range !16, !noundef !17
  %115 = trunc i8 %114 to i1
  br i1 %115, label %121, label %116

116:                                              ; preds = %112
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %117, i32 0, i32 0
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %118, i8 noundef signext 44)
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %120)
  br label %122

121:                                              ; preds = %112
  store i8 0, ptr %12, align 1, !tbaa !14
  br label %122

122:                                              ; preds = %121, %116
  %123 = load ptr, ptr %16, align 8, !tbaa !5
  %124 = call noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52) %123)
  br i1 %124, label %131, label %125

125:                                              ; preds = %122
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  %127 = load i32, ptr %6, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %126, i32 noundef %128)
  %129 = load ptr, ptr %16, align 8, !tbaa !5
  %130 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %129, ptr noundef nonnull align 8 dereferenceable(381) %130, i32 noundef 0)
  br label %136

131:                                              ; preds = %122
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = load i32, ptr %6, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %132, ptr noundef nonnull align 8 dereferenceable(381) %133, i32 noundef %135)
  br label %136

136:                                              ; preds = %131, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %137

137:                                              ; preds = %136
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %109

139:                                              ; preds = %111
  %140 = load i8, ptr %12, align 1, !tbaa !14, !range !16, !noundef !17
  %141 = trunc i8 %140 to i1
  br i1 %141, label %144, label %142

142:                                              ; preds = %139
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %143)
  br label %144

144:                                              ; preds = %142, %139
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = load i32, ptr %6, align 4, !tbaa !9
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %145, i32 noundef %146)
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %147, i32 0, i32 0
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %148, i8 noundef signext 93)
  br label %298

150:                                              ; preds = %3
  %151 = load ptr, ptr %5, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %151, i32 0, i32 0
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %152, i8 noundef signext 34)
  %154 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %155 = call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %154)
  %156 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %155, ptr noundef @.str.5, i64 noundef 0) #6
  %157 = icmp ne i64 %156, -1
  br i1 %157, label %163, label %158

158:                                              ; preds = %150
  %159 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %160 = call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %159)
  %161 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %160, i8 noundef signext 0, i64 noundef 0) #6
  %162 = icmp ne i64 %161, -1
  br i1 %162, label %163, label %266

163:                                              ; preds = %158, %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %164 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %165 = call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %164)
  store ptr %165, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %166 = load ptr, ptr %17, align 8, !tbaa !5
  %167 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %166) #6
  %168 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %18, i32 0, i32 0
  store ptr %167, ptr %168, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %169) #6
  %171 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %19, i32 0, i32 0
  store ptr %170, ptr %171, align 8
  br label %172

172:                                              ; preds = %263, %163
  %173 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %173, label %175, label %174

174:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %265

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %176 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %177 = load i8, ptr %176, align 1, !tbaa !18
  store i8 %177, ptr %20, align 1, !tbaa !18
  %178 = load i8, ptr %20, align 1, !tbaa !18
  %179 = sext i8 %178 to i32
  %180 = icmp eq i32 %179, 34
  br i1 %180, label %181, label %185

181:                                              ; preds = %175
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %182, i32 0, i32 0
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef @.str.6)
  br label %262

185:                                              ; preds = %175
  %186 = load i8, ptr %20, align 1, !tbaa !18
  %187 = sext i8 %186 to i32
  %188 = icmp eq i32 %187, 92
  br i1 %188, label %189, label %193

189:                                              ; preds = %185
  %190 = load ptr, ptr %5, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %190, i32 0, i32 0
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef @.str.7)
  br label %261

193:                                              ; preds = %185
  %194 = load i8, ptr %20, align 1, !tbaa !18
  %195 = sext i8 %194 to i32
  %196 = icmp eq i32 %195, 47
  br i1 %196, label %197, label %201

197:                                              ; preds = %193
  %198 = load ptr, ptr %5, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %198, i32 0, i32 0
  %200 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @.str.8)
  br label %260

201:                                              ; preds = %193
  %202 = load i8, ptr %20, align 1, !tbaa !18
  %203 = sext i8 %202 to i32
  %204 = icmp eq i32 %203, 8
  br i1 %204, label %205, label %209

205:                                              ; preds = %201
  %206 = load ptr, ptr %5, align 8, !tbaa !5
  %207 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %206, i32 0, i32 0
  %208 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef @.str.9)
  br label %259

209:                                              ; preds = %201
  %210 = load i8, ptr %20, align 1, !tbaa !18
  %211 = sext i8 %210 to i32
  %212 = icmp eq i32 %211, 12
  br i1 %212, label %213, label %217

213:                                              ; preds = %209
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %214, i32 0, i32 0
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef @.str.10)
  br label %258

217:                                              ; preds = %209
  %218 = load i8, ptr %20, align 1, !tbaa !18
  %219 = sext i8 %218 to i32
  %220 = icmp eq i32 %219, 10
  br i1 %220, label %221, label %225

221:                                              ; preds = %217
  %222 = load ptr, ptr %5, align 8, !tbaa !5
  %223 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %222, i32 0, i32 0
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef @.str.11)
  br label %257

225:                                              ; preds = %217
  %226 = load i8, ptr %20, align 1, !tbaa !18
  %227 = sext i8 %226 to i32
  %228 = icmp eq i32 %227, 13
  br i1 %228, label %229, label %233

229:                                              ; preds = %225
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %230, i32 0, i32 0
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef @.str.12)
  br label %256

233:                                              ; preds = %225
  %234 = load i8, ptr %20, align 1, !tbaa !18
  %235 = sext i8 %234 to i32
  %236 = icmp eq i32 %235, 9
  br i1 %236, label %237, label %241

237:                                              ; preds = %233
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %238, i32 0, i32 0
  %240 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef @.str.13)
  br label %255

241:                                              ; preds = %233
  %242 = load i8, ptr %20, align 1, !tbaa !18
  %243 = sext i8 %242 to i32
  %244 = icmp eq i32 %243, 0
  br i1 %244, label %245, label %249

245:                                              ; preds = %241
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %246, i32 0, i32 0
  %248 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @.str.14)
  br label %254

249:                                              ; preds = %241
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %250, i32 0, i32 0
  %252 = load i8, ptr %20, align 1, !tbaa !18
  %253 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %251, i8 noundef signext %252)
  br label %254

254:                                              ; preds = %249, %245
  br label %255

255:                                              ; preds = %254, %237
  br label %256

256:                                              ; preds = %255, %229
  br label %257

257:                                              ; preds = %256, %221
  br label %258

258:                                              ; preds = %257, %213
  br label %259

259:                                              ; preds = %258, %205
  br label %260

260:                                              ; preds = %259, %197
  br label %261

261:                                              ; preds = %260, %189
  br label %262

262:                                              ; preds = %261, %181
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %263

263:                                              ; preds = %262
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %172

265:                                              ; preds = %174
  br label %272

266:                                              ; preds = %158
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %267, i32 0, i32 0
  %269 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %270 = call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %269)
  %271 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef nonnull align 8 dereferenceable(32) %270)
  br label %272

272:                                              ; preds = %266, %265
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %273, i32 0, i32 0
  %275 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %274, i8 noundef signext 34)
  br label %298

276:                                              ; preds = %3
  %277 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %278 = call noundef ptr @_ZN10crude_json5value11boolean_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %277)
  %279 = load i8, ptr %278, align 1, !tbaa !14, !range !16, !noundef !17
  %280 = trunc i8 %279 to i1
  br i1 %280, label %281, label %285

281:                                              ; preds = %276
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %282, i32 0, i32 0
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef @.str.15)
  br label %289

285:                                              ; preds = %276
  %286 = load ptr, ptr %5, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %286, i32 0, i32 0
  %288 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %287, ptr noundef @.str.16)
  br label %289

289:                                              ; preds = %285, %281
  br label %298

290:                                              ; preds = %3
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.crude_json::value::dump_context_t", ptr %291, i32 0, i32 0
  %293 = getelementptr inbounds %"struct.crude_json::value", ptr %21, i32 0, i32 0
  %294 = call noundef ptr @_ZN10crude_json5value10number_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %293)
  %295 = load double, ptr %294, align 8, !tbaa !19
  %296 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %292, double noundef %295)
  br label %298

297:                                              ; preds = %3
  br label %298

298:                                              ; preds = %297, %290, %289, %272, %144, %90, %26
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t15write_separatorEv(ptr noundef nonnull align 8 dereferenceable(381)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) #0 align 2

; Function Attrs: nounwind
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #2 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 48}
!12 = !{!"_ZTSN10crude_json5valueE", !7, i64 0, !13, i64 48}
!13 = !{!"_ZTSN10crude_json6type_tE", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"double", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.6" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10object_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value9array_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value11boolean_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN10crude_json5value10number_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %0, ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.6", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  tail call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %2)
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %11 = load i32, ptr %10, align 8, !tbaa !5
  switch i32 %11, label %117 [
    i32 0, label %12
    i32 1, label %14
    i32 2, label %41
    i32 3, label %63
    i32 4, label %105
    i32 5, label %113
  ]

12:                                               ; preds = %3
  %13 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.3)
  br label %117

14:                                               ; preds = %3
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 123)
  tail call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  %16 = tail call noundef ptr @_ZN10crude_json5value10object_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %17 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  store ptr %17, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %18 = tail call ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #6
  store ptr %18, ptr %5, align 8
  %19 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %19, label %.lr.ph85, label %._crit_edge86.thread

._crit_edge86.thread:                             ; preds = %14
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %39

.lr.ph85:                                         ; preds = %14
  %20 = add nsw i32 %2, 1
  br label %22

._crit_edge86:                                    ; preds = %35
  %21 = trunc nuw i8 %.1 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br i1 %21, label %39, label %38

22:                                               ; preds = %.lr.ph85, %35
  %.083 = phi i8 [ 1, %.lr.ph85 ], [ %.1, %35 ]
  %23 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %24 = trunc nuw i8 %.083 to i1
  br i1 %24, label %27, label %25

25:                                               ; preds = %22
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 44)
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %27

27:                                               ; preds = %22, %25
  %.1 = phi i8 [ %.083, %25 ], [ 0, %22 ]
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %20)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 34)
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(32) %23)
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.4)
  %31 = getelementptr inbounds i8, ptr %23, i64 32
  %32 = call noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52) %31)
  br i1 %32, label %34, label %33

33:                                               ; preds = %27
  call void @_ZN10crude_json5value14dump_context_t15write_separatorEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %35

34:                                               ; preds = %27
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %35

35:                                               ; preds = %34, %33
  %.sink = phi i32 [ %20, %34 ], [ 0, %33 ]
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %31, ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %.sink)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %37 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %37, label %22, label %._crit_edge86

38:                                               ; preds = %._crit_edge86
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %39

39:                                               ; preds = %._crit_edge86.thread, %38, %._crit_edge86
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %2)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 125)
  br label %117

41:                                               ; preds = %3
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 91)
  tail call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  %43 = tail call noundef ptr @_ZN10crude_json5value9array_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %44 = tail call ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  store ptr %44, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %45 = tail call ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #6
  store ptr %45, ptr %7, align 8
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %46, label %.lr.ph81, label %._crit_edge82.thread

._crit_edge82.thread:                             ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %61

.lr.ph81:                                         ; preds = %41
  %47 = add nsw i32 %2, 1
  br label %49

._crit_edge82:                                    ; preds = %57
  %48 = trunc nuw i8 %.176 to i1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br i1 %48, label %61, label %60

49:                                               ; preds = %.lr.ph81, %57
  %.07579 = phi i8 [ 1, %.lr.ph81 ], [ %.176, %57 ]
  %50 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %51 = trunc nuw i8 %.07579 to i1
  br i1 %51, label %54, label %52

52:                                               ; preds = %49
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 44)
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %54

54:                                               ; preds = %49, %52
  %.176 = phi i8 [ %.07579, %52 ], [ 0, %49 ]
  %55 = call noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52) %50)
  br i1 %55, label %57, label %56

56:                                               ; preds = %54
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %47)
  br label %57

57:                                               ; preds = %54, %56
  %.sink90 = phi i32 [ 0, %56 ], [ %47, %54 ]
  call void @_ZNK10crude_json5value4dumpERNS0_14dump_context_tEi(ptr noundef nonnull align 8 dereferenceable(52) %50, ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %.sink90)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %59, label %49, label %._crit_edge82

60:                                               ; preds = %._crit_edge82
  call void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381) %1)
  br label %61

61:                                               ; preds = %._crit_edge82.thread, %60, %._crit_edge82
  call void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381) %1, i32 noundef %2)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 93)
  br label %117

63:                                               ; preds = %3
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 34)
  %65 = tail call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %66 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull @.str.5, i64 noundef 0) #6
  %.not = icmp eq i64 %66, -1
  br i1 %.not, label %67, label %70

67:                                               ; preds = %63
  %68 = tail call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %69 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32) %68, i8 noundef signext 0, i64 noundef 0) #6
  %.not78 = icmp eq i64 %69, -1
  br i1 %.not78, label %100, label %70

70:                                               ; preds = %67, %63
  %71 = tail call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %72 = tail call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %71) #6
  store ptr %72, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %73 = tail call ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %71) #6
  store ptr %73, ptr %9, align 8
  %74 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %74, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %97, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %103

.lr.ph:                                           ; preds = %70, %97
  %75 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %76 = load i8, ptr %75, align 1, !tbaa !10
  switch i8 %76, label %95 [
    i8 34, label %77
    i8 92, label %79
    i8 47, label %81
    i8 8, label %83
    i8 12, label %85
    i8 10, label %87
    i8 13, label %89
    i8 9, label %91
    i8 0, label %93
  ]

77:                                               ; preds = %.lr.ph
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.6)
  br label %97

79:                                               ; preds = %.lr.ph
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.7)
  br label %97

81:                                               ; preds = %.lr.ph
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.8)
  br label %97

83:                                               ; preds = %.lr.ph
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.9)
  br label %97

85:                                               ; preds = %.lr.ph
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.10)
  br label %97

87:                                               ; preds = %.lr.ph
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.11)
  br label %97

89:                                               ; preds = %.lr.ph
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.12)
  br label %97

91:                                               ; preds = %.lr.ph
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.13)
  br label %97

93:                                               ; preds = %.lr.ph
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.14)
  br label %97

95:                                               ; preds = %.lr.ph
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext %76)
  br label %97

97:                                               ; preds = %79, %83, %87, %91, %95, %93, %89, %85, %81, %77
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %99 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %99, label %.lr.ph, label %._crit_edge

100:                                              ; preds = %67
  %101 = tail call noundef ptr @_ZN10crude_json5value10string_ptrB5cxx11ERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %102 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(32) %101)
  br label %103

103:                                              ; preds = %100, %._crit_edge
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1, i8 noundef signext 34)
  br label %117

105:                                              ; preds = %3
  %106 = tail call noundef ptr @_ZN10crude_json5value11boolean_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %107 = load i8, ptr %106, align 1, !tbaa !11, !range !13, !noundef !14
  %108 = trunc nuw i8 %107 to i1
  br i1 %108, label %109, label %111

109:                                              ; preds = %105
  %110 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.15)
  br label %117

111:                                              ; preds = %105
  %112 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull @.str.16)
  br label %117

113:                                              ; preds = %3
  %114 = tail call noundef ptr @_ZN10crude_json5value10number_ptrERKNSt15aligned_storageILm48ELm8EE4typeE(ptr noundef nonnull align 8 dereferenceable(48) %0)
  %115 = load double, ptr %114, align 8, !tbaa !15
  %116 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %1, double noundef %115)
  br label %117

117:                                              ; preds = %3, %109, %111, %113, %103, %61, %39, %12
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t12write_indentEi(ptr noundef nonnull align 8 dereferenceable(381), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t15write_separatorEv(ptr noundef nonnull align 8 dereferenceable(381)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10crude_json5value14dump_context_t13write_newlineEv(ptr noundef nonnull align 8 dereferenceable(381)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueESt4lessIS5_ESaISt4pairIKS5_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK10crude_json5value13is_structuredEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN10crude_json5valueEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIN10crude_json5valueESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(52) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN10crude_json5valueESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13find_first_ofEPKcm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !9, i64 48}
!6 = !{!"_ZTSN10crude_json5valueE", !7, i64 0, !9, i64 48}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"_ZTSN10crude_json6type_tE", !7, i64 0}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass