; LLVM IR from QiaoLiuHit/LSOTB-TIR :: vlfeat-0.9.19/src (test_heap-def)

; 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._S = type { i32 }
%struct._H = type { i64, ptr }

@__const.main.data = external hidden unnamed_addr constant [9 x float], align 16
@__const.main.data_s = external hidden unnamed_addr constant [4 x %struct._S], align 16
@__const.main.data_s_track = external hidden unnamed_addr constant [4 x %struct._S], align 16
@__const.main.data_h = external hidden unnamed_addr constant [4 x i32], align 16
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare i32 @printf(ptr noundef, ...) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca [9 x float], align 16
  %9 = alloca [4 x %struct._S], align 16
  %10 = alloca [4 x %struct._S], align 16
  %11 = alloca [4 x i32], align 16
  %12 = alloca %struct._H, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 36, ptr %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.data, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.main.data_s, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.main.data_s_track, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.data_h, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #5
  %13 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 0
  store i64 0, ptr %13, align 8, !tbaa !13
  %14 = getelementptr inbounds [4 x i32], ptr %11, i64 0, i64 0
  %15 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 1
  store ptr %14, ptr %15, align 8, !tbaa !15
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %17

17:                                               ; preds = %28, %2
  %18 = load i64, ptr %6, align 8, !tbaa !11
  %19 = icmp ult i64 %18, 9
  br i1 %19, label %20, label %31

20:                                               ; preds = %17
  %21 = load i64, ptr %6, align 8, !tbaa !11
  %22 = load i64, ptr %6, align 8, !tbaa !11
  %23 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 %22
  %24 = load float, ptr %23, align 4, !tbaa !16
  %25 = fpext float %24 to double
  %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21, double noundef %25)
  %27 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 0
  call void @vl_heap_float_push(ptr noundef %27, ptr noundef %7)
  br label %28

28:                                               ; preds = %20
  %29 = load i64, ptr %6, align 8, !tbaa !11
  %30 = add i64 %29, 1
  store i64 %30, ptr %6, align 8, !tbaa !11
  br label %17, !llvm.loop !18

31:                                               ; preds = %17
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %44, %31
  %34 = load i64, ptr %6, align 8, !tbaa !11
  %35 = icmp ult i64 %34, 9
  br i1 %35, label %36, label %47

36:                                               ; preds = %33
  %37 = load i64, ptr %6, align 8, !tbaa !11
  %38 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 0
  %39 = call i64 @vl_heap_float_pop(ptr noundef %38, ptr noundef %7)
  %40 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 %39
  %41 = load float, ptr %40, align 4, !tbaa !16
  %42 = fpext float %41 to double
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %37, double noundef %42)
  br label %44

44:                                               ; preds = %36
  %45 = load i64, ptr %6, align 8, !tbaa !11
  %46 = add i64 %45, 1
  store i64 %46, ptr %6, align 8, !tbaa !11
  br label %33, !llvm.loop !20

47:                                               ; preds = %33
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %49

49:                                               ; preds = %54, %47
  %50 = load i64, ptr %6, align 8, !tbaa !11
  %51 = icmp ult i64 %50, 9
  br i1 %51, label %52, label %57

52:                                               ; preds = %49
  %53 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 0
  call void @vl_heap_float_push(ptr noundef %53, ptr noundef %7)
  br label %54

54:                                               ; preds = %52
  %55 = load i64, ptr %6, align 8, !tbaa !11
  %56 = add i64 %55, 1
  store i64 %56, ptr %6, align 8, !tbaa !11
  br label %49, !llvm.loop !21

57:                                               ; preds = %49
  %58 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 3
  %59 = load float, ptr %58, align 4, !tbaa !16
  %60 = fpext float %59 to double
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %60, double noundef 9.010000e+00)
  %62 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 3
  store float 0x4022051EC0000000, ptr %62, align 4, !tbaa !16
  %63 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 0
  %64 = load i64, ptr %7, align 8, !tbaa !11
  call void @vl_heap_float_update(ptr noundef %63, i64 noundef %64, i64 noundef 3)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %76, %57
  %66 = load i64, ptr %6, align 8, !tbaa !11
  %67 = icmp ult i64 %66, 9
  br i1 %67, label %68, label %79

68:                                               ; preds = %65
  %69 = load i64, ptr %6, align 8, !tbaa !11
  %70 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 0
  %71 = call i64 @vl_heap_float_pop(ptr noundef %70, ptr noundef %7)
  %72 = getelementptr inbounds [9 x float], ptr %8, i64 0, i64 %71
  %73 = load float, ptr %72, align 4, !tbaa !16
  %74 = fpext float %73 to double
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef %69, double noundef %74)
  br label %76

76:                                               ; preds = %68
  %77 = load i64, ptr %6, align 8, !tbaa !11
  %78 = add i64 %77, 1
  store i64 %78, ptr %6, align 8, !tbaa !11
  br label %65, !llvm.loop !22

79:                                               ; preds = %65
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  store i64 0, ptr %7, align 8, !tbaa !11
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %81

81:                                               ; preds = %92, %79
  %82 = load i64, ptr %6, align 8, !tbaa !11
  %83 = icmp ult i64 %82, 4
  br i1 %83, label %84, label %95

84:                                               ; preds = %81
  %85 = load i64, ptr %6, align 8, !tbaa !11
  %86 = load i64, ptr %6, align 8, !tbaa !11
  %87 = getelementptr inbounds [4 x %struct._S], ptr %9, i64 0, i64 %86
  %88 = getelementptr inbounds %struct._S, ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 4, !tbaa !23
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %85, i32 noundef %89)
  %91 = getelementptr inbounds [4 x %struct._S], ptr %9, i64 0, i64 0
  call void @s_heap_push(ptr noundef %91, ptr noundef %7)
  br label %92

92:                                               ; preds = %84
  %93 = load i64, ptr %6, align 8, !tbaa !11
  %94 = add i64 %93, 1
  store i64 %94, ptr %6, align 8, !tbaa !11
  br label %81, !llvm.loop !25

95:                                               ; preds = %81
  %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %97

97:                                               ; preds = %108, %95
  %98 = load i64, ptr %6, align 8, !tbaa !11
  %99 = icmp ult i64 %98, 4
  br i1 %99, label %100, label %111

100:                                              ; preds = %97
  %101 = load i64, ptr %6, align 8, !tbaa !11
  %102 = getelementptr inbounds [4 x %struct._S], ptr %9, i64 0, i64 0
  %103 = call i64 @s_heap_pop(ptr noundef %102, ptr noundef %7)
  %104 = getelementptr inbounds [4 x %struct._S], ptr %9, i64 0, i64 %103
  %105 = getelementptr inbounds %struct._S, ptr %104, i32 0, i32 0
  %106 = load i32, ptr %105, align 4, !tbaa !23
  %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %101, i32 noundef %106)
  br label %108

108:                                              ; preds = %100
  %109 = load i64, ptr %6, align 8, !tbaa !11
  %110 = add i64 %109, 1
  store i64 %110, ptr %6, align 8, !tbaa !11
  br label %97, !llvm.loop !26

111:                                              ; preds = %97
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
  store i64 0, ptr %7, align 8, !tbaa !11
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %113

113:                                              ; preds = %124, %111
  %114 = load i64, ptr %6, align 8, !tbaa !11
  %115 = icmp ult i64 %114, 4
  br i1 %115, label %116, label %127

116:                                              ; preds = %113
  %117 = load i64, ptr %6, align 8, !tbaa !11
  %118 = load i64, ptr %6, align 8, !tbaa !11
  %119 = getelementptr inbounds [4 x %struct._S], ptr %10, i64 0, i64 %118
  %120 = getelementptr inbounds %struct._S, ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 4, !tbaa !23
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %117, i32 noundef %121)
  %123 = getelementptr inbounds [4 x %struct._S], ptr %10, i64 0, i64 0
  call void @track_s_heap_push(ptr noundef %123, ptr noundef %7)
  br label %124

124:                                              ; preds = %116
  %125 = load i64, ptr %6, align 8, !tbaa !11
  %126 = add i64 %125, 1
  store i64 %126, ptr %6, align 8, !tbaa !11
  br label %113, !llvm.loop !27

127:                                              ; preds = %113
  %128 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %129

129:                                              ; preds = %140, %127
  %130 = load i64, ptr %6, align 8, !tbaa !11
  %131 = icmp ult i64 %130, 4
  br i1 %131, label %132, label %143

132:                                              ; preds = %129
  %133 = load i64, ptr %6, align 8, !tbaa !11
  %134 = getelementptr inbounds [4 x %struct._S], ptr %10, i64 0, i64 0
  %135 = call i64 @track_s_heap_pop(ptr noundef %134, ptr noundef %7)
  %136 = getelementptr inbounds [4 x %struct._S], ptr %10, i64 0, i64 %135
  %137 = getelementptr inbounds %struct._S, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 4, !tbaa !23
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %133, i32 noundef %138)
  br label %140

140:                                              ; preds = %132
  %141 = load i64, ptr %6, align 8, !tbaa !11
  %142 = add i64 %141, 1
  store i64 %142, ptr %6, align 8, !tbaa !11
  br label %129, !llvm.loop !28

143:                                              ; preds = %129
  %144 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  store i64 0, ptr %7, align 8, !tbaa !11
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %145

145:                                              ; preds = %157, %143
  %146 = load i64, ptr %6, align 8, !tbaa !11
  %147 = icmp ult i64 %146, 4
  br i1 %147, label %148, label %160

148:                                              ; preds = %145
  %149 = load i64, ptr %6, align 8, !tbaa !11
  %150 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 1
  %151 = load ptr, ptr %150, align 8, !tbaa !15
  %152 = load i64, ptr %6, align 8, !tbaa !11
  %153 = getelementptr inbounds i32, ptr %151, i64 %152
  %154 = load i32, ptr %153, align 4, !tbaa !5
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %149, i32 noundef %154)
  %156 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 0
  call void @h_heap_push(ptr noundef %12, ptr noundef %156)
  br label %157

157:                                              ; preds = %148
  %158 = load i64, ptr %6, align 8, !tbaa !11
  %159 = add i64 %158, 1
  store i64 %159, ptr %6, align 8, !tbaa !11
  br label %145, !llvm.loop !29

160:                                              ; preds = %145
  %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %162

162:                                              ; preds = %174, %160
  %163 = load i64, ptr %6, align 8, !tbaa !11
  %164 = icmp ult i64 %163, 4
  br i1 %164, label %165, label %177

165:                                              ; preds = %162
  %166 = load i64, ptr %6, align 8, !tbaa !11
  %167 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 1
  %168 = load ptr, ptr %167, align 8, !tbaa !15
  %169 = getelementptr inbounds %struct._H, ptr %12, i32 0, i32 0
  %170 = call i64 @h_heap_pop(ptr noundef %12, ptr noundef %169)
  %171 = getelementptr inbounds i32, ptr %168, i64 %170
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i64 noundef %166, i32 noundef %172)
  br label %174

174:                                              ; preds = %165
  %175 = load i64, ptr %6, align 8, !tbaa !11
  %176 = add i64 %175, 1
  store i64 %176, ptr %6, align 8, !tbaa !11
  br label %162, !llvm.loop !30

177:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  ret i32 0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_heap_float_push(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @vl_heap_float_pop(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_heap_float_update(ptr noundef, i64 noundef, i64 noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @s_heap_push(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @s_heap_pop(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @track_s_heap_push(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @track_s_heap_pop(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @h_heap_push(ptr noundef, ptr noundef) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @h_heap_pop(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = { inlinehint 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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_H", !12, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!24, !6, i64 0}
!24 = !{!"_S", !6, i64 0}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}


; 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._S = type { i32 }
%struct._H = type { i64, ptr }

@__const.main.data = external hidden unnamed_addr constant [9 x float], align 16
@__const.main.data_s = external hidden unnamed_addr constant [4 x %struct._S], align 16
@__const.main.data_s_track = external hidden unnamed_addr constant [4 x %struct._S], align 16
@__const.main.data_h = external hidden unnamed_addr constant [4 x i32], align 16
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [50 x 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #3 {
  %3 = alloca i64, align 8
  %4 = alloca [9 x float], align 16
  %5 = alloca [4 x %struct._S], align 16
  %6 = alloca [4 x %struct._S], align 16
  %7 = alloca [4 x i32], align 16
  %8 = alloca %struct._H, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(36) %4, ptr noundef nonnull align 16 dereferenceable(36) @__const.main.data, i64 36, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.data_s, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.data_s_track, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) @__const.main.data_h, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  store i64 0, ptr %8, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %7, ptr %9, align 8, !tbaa !12
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %11 = load float, ptr %4, align 16, !tbaa !13
  %12 = fpext float %11 to double
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 0, double noundef %12)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %14 = getelementptr inbounds i8, ptr %4, i64 4
  %15 = load float, ptr %14, align 4, !tbaa !13
  %16 = fpext float %15 to double
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 1, double noundef %16)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %18 = getelementptr inbounds i8, ptr %4, i64 8
  %19 = load float, ptr %18, align 8, !tbaa !13
  %20 = fpext float %19 to double
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 2, double noundef %20)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %22 = getelementptr inbounds i8, ptr %4, i64 12
  %23 = load float, ptr %22, align 4, !tbaa !13
  %24 = fpext float %23 to double
  %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 3, double noundef %24)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %26 = getelementptr inbounds i8, ptr %4, i64 16
  %27 = load float, ptr %26, align 16, !tbaa !13
  %28 = fpext float %27 to double
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 4, double noundef %28)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %30 = getelementptr inbounds i8, ptr %4, i64 20
  %31 = load float, ptr %30, align 4, !tbaa !13
  %32 = fpext float %31 to double
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 5, double noundef %32)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %34 = getelementptr inbounds i8, ptr %4, i64 24
  %35 = load float, ptr %34, align 8, !tbaa !13
  %36 = fpext float %35 to double
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 6, double noundef %36)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %38 = getelementptr inbounds i8, ptr %4, i64 28
  %39 = load float, ptr %38, align 4, !tbaa !13
  %40 = fpext float %39 to double
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 7, double noundef %40)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %42 = getelementptr inbounds i8, ptr %4, i64 32
  %43 = load float, ptr %42, align 16, !tbaa !13
  %44 = fpext float %43 to double
  %45 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef 8, double noundef %44)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %47 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %48 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %47
  %49 = load float, ptr %48, align 4, !tbaa !13
  %50 = fpext float %49 to double
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 0, double noundef %50)
  %52 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %53 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %52
  %54 = load float, ptr %53, align 4, !tbaa !13
  %55 = fpext float %54 to double
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 1, double noundef %55)
  %57 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %58 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %57
  %59 = load float, ptr %58, align 4, !tbaa !13
  %60 = fpext float %59 to double
  %61 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 2, double noundef %60)
  %62 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %63 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !13
  %65 = fpext float %64 to double
  %66 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 3, double noundef %65)
  %67 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %68 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %67
  %69 = load float, ptr %68, align 4, !tbaa !13
  %70 = fpext float %69 to double
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 4, double noundef %70)
  %72 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %73 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %72
  %74 = load float, ptr %73, align 4, !tbaa !13
  %75 = fpext float %74 to double
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 5, double noundef %75)
  %77 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %78 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %77
  %79 = load float, ptr %78, align 4, !tbaa !13
  %80 = fpext float %79 to double
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 6, double noundef %80)
  %82 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %83 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %82
  %84 = load float, ptr %83, align 4, !tbaa !13
  %85 = fpext float %84 to double
  %86 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 7, double noundef %85)
  %87 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %88 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !13
  %90 = fpext float %89 to double
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i64 noundef 8, double noundef %90)
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  call void @vl_heap_float_push(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %93 = load float, ptr %22, align 4, !tbaa !13
  %94 = fpext float %93 to double
  %95 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %94, double noundef 9.010000e+00)
  store float 0x4022051EC0000000, ptr %22, align 4, !tbaa !13
  %96 = load i64, ptr %3, align 8, !tbaa !5
  call void @vl_heap_float_update(ptr noundef nonnull %4, i64 noundef %96, i64 noundef 3)
  %97 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %98 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !13
  %100 = fpext float %99 to double
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 0, double noundef %100)
  %102 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %103 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %102
  %104 = load float, ptr %103, align 4, !tbaa !13
  %105 = fpext float %104 to double
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 1, double noundef %105)
  %107 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %108 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %107
  %109 = load float, ptr %108, align 4, !tbaa !13
  %110 = fpext float %109 to double
  %111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 2, double noundef %110)
  %112 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %113 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !13
  %115 = fpext float %114 to double
  %116 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 3, double noundef %115)
  %117 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %118 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %117
  %119 = load float, ptr %118, align 4, !tbaa !13
  %120 = fpext float %119 to double
  %121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 4, double noundef %120)
  %122 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %123 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %122
  %124 = load float, ptr %123, align 4, !tbaa !13
  %125 = fpext float %124 to double
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 5, double noundef %125)
  %127 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %128 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %127
  %129 = load float, ptr %128, align 4, !tbaa !13
  %130 = fpext float %129 to double
  %131 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 6, double noundef %130)
  %132 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %133 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %132
  %134 = load float, ptr %133, align 4, !tbaa !13
  %135 = fpext float %134 to double
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 7, double noundef %135)
  %137 = call i64 @vl_heap_float_pop(ptr noundef nonnull %4, ptr noundef nonnull %3)
  %138 = getelementptr inbounds [9 x float], ptr %4, i64 0, i64 %137
  %139 = load float, ptr %138, align 4, !tbaa !13
  %140 = fpext float %139 to double
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i64 noundef 8, double noundef %140)
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  store i64 0, ptr %3, align 8, !tbaa !5
  %143 = load i32, ptr %5, align 16, !tbaa !15
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %143)
  call void @s_heap_push(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %145 = getelementptr inbounds i8, ptr %5, i64 4
  %146 = load i32, ptr %145, align 4, !tbaa !15
  %147 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %146)
  call void @s_heap_push(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %148 = getelementptr inbounds i8, ptr %5, i64 8
  %149 = load i32, ptr %148, align 8, !tbaa !15
  %150 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %149)
  call void @s_heap_push(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %151 = getelementptr inbounds i8, ptr %5, i64 12
  %152 = load i32, ptr %151, align 4, !tbaa !15
  %153 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %152)
  call void @s_heap_push(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10)
  %155 = call i64 @s_heap_pop(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %156 = getelementptr inbounds [4 x %struct._S], ptr %5, i64 0, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !15
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %157)
  %159 = call i64 @s_heap_pop(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %160 = getelementptr inbounds [4 x %struct._S], ptr %5, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !15
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %161)
  %163 = call i64 @s_heap_pop(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %164 = getelementptr inbounds [4 x %struct._S], ptr %5, i64 0, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !15
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %165)
  %167 = call i64 @s_heap_pop(ptr noundef nonnull %5, ptr noundef nonnull %3)
  %168 = getelementptr inbounds [4 x %struct._S], ptr %5, i64 0, i64 %167
  %169 = load i32, ptr %168, align 4, !tbaa !15
  %170 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %169)
  %171 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11)
  store i64 0, ptr %3, align 8, !tbaa !5
  %172 = load i32, ptr %6, align 16, !tbaa !15
  %173 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %172)
  call void @track_s_heap_push(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %174 = getelementptr inbounds i8, ptr %6, i64 4
  %175 = load i32, ptr %174, align 4, !tbaa !15
  %176 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %175)
  call void @track_s_heap_push(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %177 = getelementptr inbounds i8, ptr %6, i64 8
  %178 = load i32, ptr %177, align 8, !tbaa !15
  %179 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %178)
  call void @track_s_heap_push(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %180 = getelementptr inbounds i8, ptr %6, i64 12
  %181 = load i32, ptr %180, align 4, !tbaa !15
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %181)
  call void @track_s_heap_push(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12)
  %184 = call i64 @track_s_heap_pop(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %185 = getelementptr inbounds [4 x %struct._S], ptr %6, i64 0, i64 %184
  %186 = load i32, ptr %185, align 4, !tbaa !15
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %186)
  %188 = call i64 @track_s_heap_pop(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %189 = getelementptr inbounds [4 x %struct._S], ptr %6, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !15
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %190)
  %192 = call i64 @track_s_heap_pop(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %193 = getelementptr inbounds [4 x %struct._S], ptr %6, i64 0, i64 %192
  %194 = load i32, ptr %193, align 4, !tbaa !15
  %195 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %194)
  %196 = call i64 @track_s_heap_pop(ptr noundef nonnull %6, ptr noundef nonnull %3)
  %197 = getelementptr inbounds [4 x %struct._S], ptr %6, i64 0, i64 %196
  %198 = load i32, ptr %197, align 4, !tbaa !15
  %199 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %198)
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  store i64 0, ptr %3, align 8, !tbaa !5
  %201 = load ptr, ptr %9, align 8, !tbaa !12
  %202 = load i32, ptr %201, align 4, !tbaa !18
  %203 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %202)
  call void @h_heap_push(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %204 = load ptr, ptr %9, align 8, !tbaa !12
  %205 = getelementptr inbounds i8, ptr %204, i64 4
  %206 = load i32, ptr %205, align 4, !tbaa !18
  %207 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %206)
  call void @h_heap_push(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %208 = load ptr, ptr %9, align 8, !tbaa !12
  %209 = getelementptr inbounds i8, ptr %208, i64 8
  %210 = load i32, ptr %209, align 4, !tbaa !18
  %211 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %210)
  call void @h_heap_push(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %212 = load ptr, ptr %9, align 8, !tbaa !12
  %213 = getelementptr inbounds i8, ptr %212, i64 12
  %214 = load i32, ptr %213, align 4, !tbaa !18
  %215 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %214)
  call void @h_heap_push(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %216 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  %217 = load ptr, ptr %9, align 8, !tbaa !12
  %218 = call i64 @h_heap_pop(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %219 = getelementptr inbounds i32, ptr %217, i64 %218
  %220 = load i32, ptr %219, align 4, !tbaa !18
  %221 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 0, i32 noundef %220)
  %222 = load ptr, ptr %9, align 8, !tbaa !12
  %223 = call i64 @h_heap_pop(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %224 = getelementptr inbounds i32, ptr %222, i64 %223
  %225 = load i32, ptr %224, align 4, !tbaa !18
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 1, i32 noundef %225)
  %227 = load ptr, ptr %9, align 8, !tbaa !12
  %228 = call i64 @h_heap_pop(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %229 = getelementptr inbounds i32, ptr %227, i64 %228
  %230 = load i32, ptr %229, align 4, !tbaa !18
  %231 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 2, i32 noundef %230)
  %232 = load ptr, ptr %9, align 8, !tbaa !12
  %233 = call i64 @h_heap_pop(ptr noundef nonnull %8, ptr noundef nonnull %8)
  %234 = getelementptr inbounds i32, ptr %232, i64 %233
  %235 = load i32, ptr %234, align 4, !tbaa !18
  %236 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, i64 noundef 3, i32 noundef %235)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i32 0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_heap_float_push(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @vl_heap_float_pop(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_heap_float_update(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @s_heap_push(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @s_heap_pop(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @track_s_heap_push(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @track_s_heap_pop(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @h_heap_push(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @h_heap_pop(ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree 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 #3 = { 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 = { inlinehint 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 }

!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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_H", !6, i64 0, !11, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !17, i64 0}
!16 = !{!"_S", !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!17, !17, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass