; LLVM IR from p4lang/p4c :: backends/tofino/bf-asm/json_diff.ll (Z10print_diffPN4json3mapES1_i)

; 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = type { ptr }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::pair.50" = type { ptr, %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.18" }
%"struct.std::_Head_base.18" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL13show_deletion = external hidden global i8, align 1
@_ZL13show_addition = external hidden global i8, align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL8sort_map = external hidden global i8, align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_prefixiPKc(i32 noundef, ptr noundef) #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) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr, i32 noundef, ptr noundef) #2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19sort_map_print_diffPN4json3mapES1_i(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10print_diffPN4json3mapES1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::_List_iterator", align 8
  %8 = alloca %"struct.std::_List_iterator", align 8
  %9 = alloca %"struct.std::_List_iterator", align 8
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_List_iterator", align 8
  %13 = alloca %"struct.std::_List_iterator", align 8
  %14 = alloca %"struct.std::_List_iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_List_iterator", align 8
  %18 = alloca %"struct.std::_List_iterator", align 8
  %19 = alloca %"struct.std::_List_iterator", align 8
  %20 = alloca %"struct.std::_List_iterator", align 8
  %21 = alloca %"struct.std::_List_iterator", align 8
  %22 = alloca %"struct.std::_List_iterator", align 8
  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
  %23 = load i8, ptr @_ZL8sort_map, align 1, !tbaa !11, !range !13, !noundef !14
  %24 = trunc i8 %23 to i1
  br i1 %24, label %25, label %29

25:                                               ; preds = %3
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z19sort_map_print_diffPN4json3mapES1_i(ptr noundef %26, ptr noundef %27, i32 noundef %28)
  br label %243

29:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %31) #5
  %33 = getelementptr inbounds %"struct.std::_List_iterator", ptr %7, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %35) #5
  %37 = getelementptr inbounds %"struct.std::_List_iterator", ptr %8, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = add nsw i32 %39, 2
  store i32 %40, ptr %6, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %187, %104, %78, %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %42, i64 8
  %44 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %43) #5
  %45 = getelementptr inbounds %"struct.std::_List_iterator", ptr %9, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  %46 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  br i1 %46, label %47, label %53

47:                                               ; preds = %41
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  %50 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %49) #5
  %51 = getelementptr inbounds %"struct.std::_List_iterator", ptr %10, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %53

53:                                               ; preds = %47, %41
  %54 = phi i1 [ false, %41 ], [ %52, %47 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br i1 %54, label %55, label %192

55:                                               ; preds = %53
  %56 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %57 = getelementptr inbounds %"struct.std::pair.50", ptr %56, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %59 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %60 = getelementptr inbounds %"struct.std::pair.50", ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !15
  %62 = load ptr, ptr %58, align 8, !tbaa !23
  %63 = getelementptr inbounds ptr, ptr %62, i64 2
  %64 = load ptr, ptr %63, align 8
  %65 = call noundef zeroext i1 %64(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(8) %61)
  br i1 %65, label %66, label %81

66:                                               ; preds = %55
  %67 = load i8, ptr @_ZL13show_deletion, align 1, !tbaa !11, !range !13, !noundef !14
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %78

69:                                               ; preds = %66
  %70 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %71 = getelementptr inbounds %"struct.std::pair.50", ptr %70, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8, !tbaa !15
  %73 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %72)
  br i1 %73, label %78, label %74

74:                                               ; preds = %69
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !25
  %75 = load i32, ptr %6, align 4, !tbaa !9
  %76 = getelementptr inbounds %"struct.std::_List_iterator", ptr %11, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %77, i32 noundef %75, ptr noundef @.str.18)
  br label %78

78:                                               ; preds = %74, %69, %66
  %79 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0) #5
  %80 = getelementptr inbounds %"struct.std::_List_iterator", ptr %12, i32 0, i32 0
  store ptr %79, ptr %80, align 8
  br label %41, !llvm.loop !26

81:                                               ; preds = %55
  %82 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %83 = getelementptr inbounds %"struct.std::pair.50", ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %86 = getelementptr inbounds %"struct.std::pair.50", ptr %85, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !15
  %88 = load ptr, ptr %84, align 8, !tbaa !23
  %89 = getelementptr inbounds ptr, ptr %88, i64 2
  %90 = load ptr, ptr %89, align 8
  %91 = call noundef zeroext i1 %90(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(8) %87)
  br i1 %91, label %92, label %107

92:                                               ; preds = %81
  %93 = load i8, ptr @_ZL13show_addition, align 1, !tbaa !11, !range !13, !noundef !14
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %104

95:                                               ; preds = %92
  %96 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %97 = getelementptr inbounds %"struct.std::pair.50", ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !15
  %99 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %98)
  br i1 %99, label %104, label %100

100:                                              ; preds = %95
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !25
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = getelementptr inbounds %"struct.std::_List_iterator", ptr %13, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %103, i32 noundef %101, ptr noundef @.str.19)
  br label %104

104:                                              ; preds = %100, %95, %92
  %105 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #5
  %106 = getelementptr inbounds %"struct.std::_List_iterator", ptr %14, i32 0, i32 0
  store ptr %105, ptr %106, align 8
  br label %41, !llvm.loop !26

107:                                              ; preds = %81
  %108 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %109 = getelementptr inbounds %"struct.std::pair.50", ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8, !tbaa !15
  %111 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %110)
  br i1 %111, label %187, label %112

112:                                              ; preds = %107
  %113 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %114 = getelementptr inbounds %"struct.std::pair.50", ptr %113, i32 0, i32 1
  %115 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %116 = getelementptr inbounds %"struct.std::pair.50", ptr %115, i32 0, i32 1
  %117 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %118 = getelementptr inbounds %"struct.std::pair.50", ptr %117, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !15
  %120 = call noundef zeroext i1 @_Z5equivRSt10unique_ptrIN4json3objESt14default_deleteIS1_EES5_PS1_(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef %119)
  br i1 %120, label %187, label %121

121:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %122 = load i32, ptr %6, align 4, !tbaa !9
  %123 = sub nsw i32 80, %122
  store i32 %123, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %124 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %125 = getelementptr inbounds %"struct.std::pair.50", ptr %124, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !15
  %127 = load ptr, ptr %126, align 8, !tbaa !23
  %128 = getelementptr inbounds ptr, ptr %127, i64 9
  %129 = load ptr, ptr %128, align 8
  %130 = call noundef zeroext i1 %129(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull align 4 dereferenceable(4) %15)
  br i1 %130, label %131, label %173

131:                                              ; preds = %121
  %132 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %132, ptr %16, align 4, !tbaa !9
  %133 = icmp ne i32 %132, 0
  br i1 %133, label %134, label %173

134:                                              ; preds = %131
  %135 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %136 = getelementptr inbounds %"struct.std::pair.50", ptr %135, i32 0, i32 1
  %137 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %136) #5
  br i1 %137, label %138, label %173

138:                                              ; preds = %134
  %139 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %140 = getelementptr inbounds %"struct.std::pair.50", ptr %139, i32 0, i32 1
  %141 = call noundef ptr @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %140) #5
  %142 = load ptr, ptr %141, align 8, !tbaa !23
  %143 = getelementptr inbounds ptr, ptr %142, i64 9
  %144 = load ptr, ptr %143, align 8
  %145 = call noundef zeroext i1 %144(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull align 4 dereferenceable(4) %15)
  br i1 %145, label %146, label %173

146:                                              ; preds = %138
  %147 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %148 = getelementptr inbounds %"struct.std::pair.50", ptr %147, i32 0, i32 1
  %149 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %148) #5
  br i1 %149, label %150, label %173

150:                                              ; preds = %146
  %151 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %152 = getelementptr inbounds %"struct.std::pair.50", ptr %151, i32 0, i32 1
  %153 = call noundef ptr @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #5
  %154 = load ptr, ptr %153, align 8, !tbaa !23
  %155 = getelementptr inbounds ptr, ptr %154, i64 9
  %156 = load ptr, ptr %155, align 8
  %157 = call noundef zeroext i1 %156(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 4 dereferenceable(4) %16)
  br i1 %157, label %158, label %173

158:                                              ; preds = %150
  %159 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %160 = getelementptr inbounds %"struct.std::pair.50", ptr %159, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8, !tbaa !15
  %162 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %161, i32 noundef %162, ptr noundef @.str.18, ptr noundef @.str.16)
  %163 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %164 = getelementptr inbounds %"struct.std::pair.50", ptr %163, i32 0, i32 1
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %164)
  %166 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %167 = getelementptr inbounds %"struct.std::pair.50", ptr %166, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8, !tbaa !15
  %169 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %168, i32 noundef %169, ptr noundef @.str.19, ptr noundef @.str.16)
  %170 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %171 = getelementptr inbounds %"struct.std::pair.50", ptr %170, i32 0, i32 1
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %171)
  br label %186

173:                                              ; preds = %150, %146, %138, %134, %131, %121
  %174 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %175 = getelementptr inbounds %"struct.std::pair.50", ptr %174, i32 0, i32 0
  %176 = load ptr, ptr %175, align 8, !tbaa !15
  %177 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %176, i32 noundef %177, ptr noundef @.str.20, ptr noundef @.str.21)
  %178 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %179 = getelementptr inbounds %"struct.std::pair.50", ptr %178, i32 0, i32 1
  %180 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %181 = getelementptr inbounds %"struct.std::pair.50", ptr %180, i32 0, i32 1
  %182 = load i32, ptr %6, align 4, !tbaa !9
  %183 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %184 = getelementptr inbounds %"struct.std::pair.50", ptr %183, i32 0, i32 0
  %185 = load ptr, ptr %184, align 8, !tbaa !15
  call void @_Z10print_diffRSt10unique_ptrIN4json3objESt14default_deleteIS1_EES5_iPS1_(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull align 8 dereferenceable(8) %181, i32 noundef %182, ptr noundef %185)
  br label %186

186:                                              ; preds = %173, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %187

187:                                              ; preds = %186, %112, %107
  %188 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0) #5
  %189 = getelementptr inbounds %"struct.std::_List_iterator", ptr %17, i32 0, i32 0
  store ptr %188, ptr %189, align 8
  %190 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #5
  %191 = getelementptr inbounds %"struct.std::_List_iterator", ptr %18, i32 0, i32 0
  store ptr %190, ptr %191, align 8
  br label %41, !llvm.loop !26

192:                                              ; preds = %53
  %193 = load i8, ptr @_ZL13show_deletion, align 1, !tbaa !11, !range !13, !noundef !14
  %194 = trunc i8 %193 to i1
  br i1 %194, label %195, label %215

195:                                              ; preds = %192
  br label %196

196:                                              ; preds = %212, %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds i8, ptr %197, i64 8
  %199 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %198) #5
  %200 = getelementptr inbounds %"struct.std::_List_iterator", ptr %19, i32 0, i32 0
  store ptr %199, ptr %200, align 8
  %201 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br i1 %201, label %202, label %214

202:                                              ; preds = %196
  %203 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %204 = getelementptr inbounds %"struct.std::pair.50", ptr %203, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8, !tbaa !15
  %206 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %205)
  br i1 %206, label %211, label %207

207:                                              ; preds = %202
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %7, i64 8, i1 false), !tbaa.struct !25
  %208 = load i32, ptr %6, align 4, !tbaa !9
  %209 = getelementptr inbounds %"struct.std::_List_iterator", ptr %20, i32 0, i32 0
  %210 = load ptr, ptr %209, align 8
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %210, i32 noundef %208, ptr noundef @.str.18)
  br label %211

211:                                              ; preds = %207, %202
  br label %212

212:                                              ; preds = %211
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br label %196, !llvm.loop !28

214:                                              ; preds = %196
  br label %215

215:                                              ; preds = %214, %192
  %216 = load i8, ptr @_ZL13show_addition, align 1, !tbaa !11, !range !13, !noundef !14
  %217 = trunc i8 %216 to i1
  br i1 %217, label %218, label %238

218:                                              ; preds = %215
  br label %219

219:                                              ; preds = %235, %218
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %220 = load ptr, ptr %5, align 8, !tbaa !5
  %221 = getelementptr inbounds i8, ptr %220, i64 8
  %222 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %221) #5
  %223 = getelementptr inbounds %"struct.std::_List_iterator", ptr %21, i32 0, i32 0
  store ptr %222, ptr %223, align 8
  %224 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br i1 %224, label %225, label %237

225:                                              ; preds = %219
  %226 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %227 = getelementptr inbounds %"struct.std::pair.50", ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %227, align 8, !tbaa !15
  %229 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %228)
  br i1 %229, label %234, label %230

230:                                              ; preds = %225
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %8, i64 8, i1 false), !tbaa.struct !25
  %231 = load i32, ptr %6, align 4, !tbaa !9
  %232 = getelementptr inbounds %"struct.std::_List_iterator", ptr %22, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %233, i32 noundef %231, ptr noundef @.str.19)
  br label %234

234:                                              ; preds = %230, %225
  br label %235

235:                                              ; preds = %234
  %236 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br label %219, !llvm.loop !29

237:                                              ; preds = %219
  br label %238

238:                                              ; preds = %237, %215
  %239 = load i32, ptr %6, align 4, !tbaa !9
  %240 = sub nsw i32 %239, 2
  store i32 %240, ptr %6, align 4, !tbaa !9
  %241 = load i32, ptr %6, align 4, !tbaa !9
  call void @_Z9do_prefixiPKc(i32 noundef %241, ptr noundef @.str.20)
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 125)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %243

243:                                              ; preds = %238, %25
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSSt4pairIKPN4json3objESt10unique_ptrIS1_St14default_deleteIS1_EEE", !6, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt10unique_ptrIN4json3objESt14default_deleteIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt15__uniq_ptr_dataIN4json3objESt14default_deleteIS1_ELb1ELb1EE", !19, i64 0}
!19 = !{!"_ZTSSt15__uniq_ptr_implIN4json3objESt14default_deleteIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt5tupleIJPN4json3objESt14default_deleteIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSSt11_Tuple_implILm0EJPN4json3objESt14default_deleteIS1_EEE", !22, i64 0}
!22 = !{!"_ZTSSt10_Head_baseILm0EPN4json3objELb0EE", !6, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}
!25 = !{i64 0, i64 8, !5}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = distinct !{!29, !27}


; 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"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 }
%"class.std::locale" = type { ptr }
%"struct.std::_List_iterator" = type { ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL13show_deletion = external hidden local_unnamed_addr global i8, align 1
@_ZL13show_addition = external hidden local_unnamed_addr global i8, align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZL8sort_map = external hidden local_unnamed_addr global i8, align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_prefixiPKc(i32 noundef, ptr noundef) local_unnamed_addr #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 #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr, i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z19sort_map_print_diffPN4json3mapES1_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10print_diffPN4json3mapES1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #2 {
  %4 = alloca %"struct.std::_List_iterator", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"struct.std::_List_iterator", align 8
  %7 = alloca %"struct.std::_List_iterator", align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = load i8, ptr @_ZL8sort_map, align 1, !tbaa !5, !range !9, !noundef !10
  %13 = trunc nuw i8 %12 to i1
  br i1 %13, label %14, label %15

14:                                               ; preds = %3
  tail call void @_Z19sort_map_print_diffPN4json3mapES1_i(ptr noundef %0, ptr noundef %1, i32 noundef %2)
  br label %158

15:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = tail call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %16) #4
  store ptr %17, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = tail call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(72) %18) #4
  store ptr %19, ptr %5, align 8
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
  %21 = add nsw i32 %2, 2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %22 = tail call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %16) #4
  store ptr %22, ptr %6, align 8
  %23 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  br i1 %23, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %15
  %24 = sub nsw i32 78, %2
  br label %25

25:                                               ; preds = %.lr.ph, %.backedge
  %26 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %18) #4
  store ptr %26, ptr %7, align 8
  %27 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br i1 %27, label %28, label %.loopexit29

28:                                               ; preds = %25
  %29 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = load ptr, ptr %30, align 8, !tbaa !20
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef zeroext i1 %35(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %32)
  br i1 %36, label %37, label %48

37:                                               ; preds = %28
  %38 = load i8, ptr @_ZL13show_deletion, align 1, !tbaa !5, !range !9, !noundef !10
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %40, label %.backedge

40:                                               ; preds = %37
  %41 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %42)
  br i1 %43, label %.backedge, label %44

44:                                               ; preds = %40
  %.sroa.07.0.copyload = load ptr, ptr %4, align 8, !tbaa !22
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %.sroa.07.0.copyload, i32 noundef %21, ptr noundef nonnull @.str.18)
  br label %.backedge

.backedge:                                        ; preds = %37, %40, %44, %57, %60, %64, %131
  %.sink = phi ptr [ %5, %131 ], [ %5, %64 ], [ %5, %60 ], [ %5, %57 ], [ %4, %44 ], [ %4, %40 ], [ %4, %37 ]
  %45 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %.sink, i32 noundef 0) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %46 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %16) #4
  store ptr %46, ptr %6, align 8
  %47 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  br i1 %47, label %25, label %.critedge, !llvm.loop !23

48:                                               ; preds = %28
  %49 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %50 = load ptr, ptr %49, align 8, !tbaa !11
  %51 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %52 = load ptr, ptr %51, align 8, !tbaa !11
  %53 = load ptr, ptr %50, align 8, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  %55 = load ptr, ptr %54, align 8
  %56 = call noundef zeroext i1 %55(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(8) %52)
  br i1 %56, label %57, label %65

57:                                               ; preds = %48
  %58 = load i8, ptr @_ZL13show_addition, align 1, !tbaa !5, !range !9, !noundef !10
  %59 = trunc nuw i8 %58 to i1
  br i1 %59, label %60, label %.backedge

60:                                               ; preds = %57
  %61 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  %63 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %62)
  br i1 %63, label %.backedge, label %64

64:                                               ; preds = %60
  %.sroa.05.0.copyload = load ptr, ptr %5, align 8, !tbaa !22
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %.sroa.05.0.copyload, i32 noundef %21, ptr noundef nonnull @.str.19)
  br label %.backedge

65:                                               ; preds = %48
  %66 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %67 = load ptr, ptr %66, align 8, !tbaa !11
  %68 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %67)
  br i1 %68, label %131, label %69

69:                                               ; preds = %65
  %70 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %75 = load ptr, ptr %74, align 8, !tbaa !11
  %76 = call noundef zeroext i1 @_Z5equivRSt10unique_ptrIN4json3objESt14default_deleteIS1_EES5_PS1_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef %75)
  br i1 %76, label %131, label %77

77:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  store i32 %24, ptr %8, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  %78 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %79 = load ptr, ptr %78, align 8, !tbaa !11
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = getelementptr inbounds i8, ptr %80, i64 72
  %82 = load ptr, ptr %81, align 8
  %83 = call noundef zeroext i1 %82(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 4 dereferenceable(4) %8)
  br i1 %83, label %84, label %121

84:                                               ; preds = %77
  %85 = load i32, ptr %8, align 4, !tbaa !25
  store i32 %85, ptr %9, align 4, !tbaa !25
  %.not = icmp eq i32 %85, 0
  br i1 %.not, label %121, label %86

86:                                               ; preds = %84
  %87 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #4
  br i1 %89, label %90, label %121

90:                                               ; preds = %86
  %91 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %92 = getelementptr inbounds i8, ptr %91, i64 8
  %93 = call noundef ptr @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %92) #4
  %94 = load ptr, ptr %93, align 8, !tbaa !20
  %95 = getelementptr inbounds i8, ptr %94, i64 72
  %96 = load ptr, ptr %95, align 8
  %97 = call noundef zeroext i1 %96(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 4 dereferenceable(4) %8)
  br i1 %97, label %98, label %121

98:                                               ; preds = %90
  %99 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #4
  br i1 %101, label %102, label %121

102:                                              ; preds = %98
  %103 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %104 = getelementptr inbounds i8, ptr %103, i64 8
  %105 = call noundef ptr @_ZNKSt10unique_ptrIN4json3objESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %104) #4
  %106 = load ptr, ptr %105, align 8, !tbaa !20
  %107 = getelementptr inbounds i8, ptr %106, i64 72
  %108 = load ptr, ptr %107, align 8
  %109 = call noundef zeroext i1 %108(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 4 dereferenceable(4) %9)
  br i1 %109, label %110, label %121

110:                                              ; preds = %102
  %111 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %112, i32 noundef %21, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.16)
  %113 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %114 = getelementptr inbounds i8, ptr %113, i64 8
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %114)
  %116 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %117 = load ptr, ptr %116, align 8, !tbaa !11
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %117, i32 noundef %21, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.16)
  %118 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %119 = getelementptr inbounds i8, ptr %118, i64 8
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4jsonlsERSoRKSt10unique_ptrINS_3objESt14default_deleteIS2_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %119)
  br label %130

121:                                              ; preds = %102, %98, %90, %86, %84, %77
  %122 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %123 = load ptr, ptr %122, align 8, !tbaa !11
  call void @_Z9do_outputPN4json3objEiPKcS3_(ptr noundef %123, i32 noundef %21, ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21)
  %124 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %125 = getelementptr inbounds i8, ptr %124, i64 8
  %126 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %127 = getelementptr inbounds i8, ptr %126, i64 8
  %128 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %129 = load ptr, ptr %128, align 8, !tbaa !11
  call void @_Z10print_diffRSt10unique_ptrIN4json3objESt14default_deleteIS1_EES5_iPS1_(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull align 8 dereferenceable(8) %127, i32 noundef %21, ptr noundef %129)
  br label %130

130:                                              ; preds = %121, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  br label %131

131:                                              ; preds = %130, %69, %65
  %132 = call ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #4
  br label %.backedge

.critedge:                                        ; preds = %.backedge, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  br label %.loopexit29

.loopexit29:                                      ; preds = %25, %.critedge
  %133 = load i8, ptr @_ZL13show_deletion, align 1, !tbaa !5, !range !9, !noundef !10
  %134 = trunc nuw i8 %133 to i1
  br i1 %134, label %.preheader27, label %.loopexit28

.preheader27:                                     ; preds = %.loopexit29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %135 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %16) #4
  store ptr %135, ptr %10, align 8
  %136 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br i1 %136, label %.lr.ph30, label %.loopexit28

.lr.ph30:                                         ; preds = %.preheader27, %141
  %137 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %138 = load ptr, ptr %137, align 8, !tbaa !11
  %139 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %138)
  br i1 %139, label %141, label %140

140:                                              ; preds = %.lr.ph30
  %.sroa.01.0.copyload = load ptr, ptr %4, align 8, !tbaa !22
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %.sroa.01.0.copyload, i32 noundef %21, ptr noundef nonnull @.str.18)
  br label %141

141:                                              ; preds = %.lr.ph30, %140
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %143 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %16) #4
  store ptr %143, ptr %10, align 8
  %144 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br i1 %144, label %.lr.ph30, label %.loopexit28, !llvm.loop !27

.loopexit28:                                      ; preds = %141, %.preheader27, %.loopexit29
  %145 = load i8, ptr @_ZL13show_addition, align 1, !tbaa !5, !range !9, !noundef !10
  %146 = trunc nuw i8 %145 to i1
  br i1 %146, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %.loopexit28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %147 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %18) #4
  store ptr %147, ptr %11, align 8
  %148 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %148, label %.lr.ph31, label %.loopexit

.lr.ph31:                                         ; preds = %.preheader, %153
  %149 = call noundef ptr @_ZNKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  %150 = load ptr, ptr %149, align 8, !tbaa !11
  %151 = call noundef zeroext i1 @_Z6ignorePN4json3objE(ptr noundef %150)
  br i1 %151, label %153, label %152

152:                                              ; preds = %.lr.ph31
  %.sroa.0.0.copyload = load ptr, ptr %5, align 8, !tbaa !22
  call void @_Z9do_outputSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEiPKc(ptr %.sroa.0.0.copyload, i32 noundef %21, ptr noundef nonnull @.str.19)
  br label %153

153:                                              ; preds = %.lr.ph31, %152
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %155 = call ptr @_ZN2P411ordered_mapIPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EENS2_7ptrlessESaISt4pairIKS3_S7_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(72) %18) #4
  store ptr %155, ptr %11, align 8
  %156 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  br i1 %156, label %.lr.ph31, label %.loopexit, !llvm.loop !28

.loopexit:                                        ; preds = %153, %.preheader, %.loopexit28
  call void @_Z9do_prefixiPKc(i32 noundef %2, ptr noundef nonnull @.str.20)
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 125)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  br label %158

158:                                              ; preds = %.loopexit, %14
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorISt4pairIKPN4json3objESt10unique_ptrIS2_St14default_deleteIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSSt4pairIKPN4json3objESt10unique_ptrIS1_St14default_deleteIS1_EEE", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ZTSSt10unique_ptrIN4json3objESt14default_deleteIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt15__uniq_ptr_dataIN4json3objESt14default_deleteIS1_ELb1ELb1EE", !16, i64 0}
!16 = !{!"_ZTSSt15__uniq_ptr_implIN4json3objESt14default_deleteIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt5tupleIJPN4json3objESt14default_deleteIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSSt11_Tuple_implILm0EJPN4json3objESt14default_deleteIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_Head_baseILm0EPN4json3objELb0EE", !13, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !8, i64 0}
!22 = !{!13, !13, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!26, !26, i64 0}
!26 = !{!"int", !7, i64 0}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}


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