; LLVM IR from CLASS-SZ/class_sz :: class-sz/source (background)

; 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.background = type { double, double, double, double, double, double, double, i32, double, double, double, double, i16, double, double, double, double, double, double, double, double, double, i16, double, double, ptr, i32, i32, double, i32, ptr, ptr, double, ptr, double, ptr, double, ptr, double, ptr, ptr, ptr, double, double, double, double, i32, ptr, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i16, i16, i16, i16, i16, [2048 x i8], i16, [2048 x i8] }

; 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: nounwind uwtable
define dso_local i32 @background_free_input(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.background, ptr %4, i32 0, i32 32
  %6 = load double, ptr %5, align 8, !tbaa !9
  %7 = fcmp une double %6, 0.000000e+00
  br i1 %7, label %8, label %133

8:                                                ; preds = %1
  store i32 0, ptr %3, align 4, !tbaa !14
  br label %9

9:                                                ; preds = %51, %8
  %10 = load i32, ptr %3, align 4, !tbaa !14
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.background, ptr %11, i32 0, i32 29
  %13 = load i32, ptr %12, align 8, !tbaa !15
  %14 = icmp slt i32 %10, %13
  br i1 %14, label %15, label %54

15:                                               ; preds = %9
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.background, ptr %16, i32 0, i32 135
  %18 = load ptr, ptr %17, align 8, !tbaa !16
  %19 = load i32, ptr %3, align 4, !tbaa !14
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds ptr, ptr %18, i64 %20
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  call void @free(ptr noundef %22) #3
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.background, ptr %23, i32 0, i32 136
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  %26 = load i32, ptr %3, align 4, !tbaa !14
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds ptr, ptr %25, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  call void @free(ptr noundef %29) #3
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.background, ptr %30, i32 0, i32 133
  %32 = load ptr, ptr %31, align 8, !tbaa !18
  %33 = load i32, ptr %3, align 4, !tbaa !14
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds ptr, ptr %32, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  call void @free(ptr noundef %36) #3
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.background, ptr %37, i32 0, i32 134
  %39 = load ptr, ptr %38, align 8, !tbaa !19
  %40 = load i32, ptr %3, align 4, !tbaa !14
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  call void @free(ptr noundef %43) #3
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.background, ptr %44, i32 0, i32 137
  %46 = load ptr, ptr %45, align 8, !tbaa !20
  %47 = load i32, ptr %3, align 4, !tbaa !14
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds ptr, ptr %46, i64 %48
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  call void @free(ptr noundef %50) #3
  br label %51

51:                                               ; preds = %15
  %52 = load i32, ptr %3, align 4, !tbaa !14
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !14
  br label %9, !llvm.loop !21

54:                                               ; preds = %9
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.background, ptr %55, i32 0, i32 130
  %57 = load ptr, ptr %56, align 8, !tbaa !23
  call void @free(ptr noundef %57) #3
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.background, ptr %58, i32 0, i32 131
  %60 = load ptr, ptr %59, align 8, !tbaa !24
  call void @free(ptr noundef %60) #3
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.background, ptr %61, i32 0, i32 132
  %63 = load ptr, ptr %62, align 8, !tbaa !25
  call void @free(ptr noundef %63) #3
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.background, ptr %64, i32 0, i32 135
  %66 = load ptr, ptr %65, align 8, !tbaa !16
  call void @free(ptr noundef %66) #3
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.background, ptr %67, i32 0, i32 136
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  call void @free(ptr noundef %69) #3
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.background, ptr %70, i32 0, i32 133
  %72 = load ptr, ptr %71, align 8, !tbaa !18
  call void @free(ptr noundef %72) #3
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.background, ptr %73, i32 0, i32 134
  %75 = load ptr, ptr %74, align 8, !tbaa !19
  call void @free(ptr noundef %75) #3
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.background, ptr %76, i32 0, i32 137
  %78 = load ptr, ptr %77, align 8, !tbaa !20
  call void @free(ptr noundef %78) #3
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.background, ptr %79, i32 0, i32 139
  %81 = load ptr, ptr %80, align 8, !tbaa !26
  call void @free(ptr noundef %81) #3
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.background, ptr %82, i32 0, i32 138
  %84 = load ptr, ptr %83, align 8, !tbaa !27
  call void @free(ptr noundef %84) #3
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.background, ptr %85, i32 0, i32 30
  %87 = load ptr, ptr %86, align 8, !tbaa !28
  call void @free(ptr noundef %87) #3
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.background, ptr %88, i32 0, i32 35
  %90 = load ptr, ptr %89, align 8, !tbaa !29
  call void @free(ptr noundef %90) #3
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.background, ptr %91, i32 0, i32 37
  %93 = load ptr, ptr %92, align 8, !tbaa !30
  call void @free(ptr noundef %93) #3
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.background, ptr %94, i32 0, i32 33
  %96 = load ptr, ptr %95, align 8, !tbaa !31
  call void @free(ptr noundef %96) #3
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.background, ptr %97, i32 0, i32 31
  %99 = load ptr, ptr %98, align 8, !tbaa !32
  call void @free(ptr noundef %99) #3
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.background, ptr %100, i32 0, i32 47
  %102 = load ptr, ptr %101, align 8, !tbaa !33
  call void @free(ptr noundef %102) #3
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.background, ptr %103, i32 0, i32 140
  %105 = load ptr, ptr %104, align 8, !tbaa !34
  call void @free(ptr noundef %105) #3
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.background, ptr %106, i32 0, i32 40
  %108 = load ptr, ptr %107, align 8, !tbaa !35
  %109 = icmp ne ptr %108, null
  br i1 %109, label %110, label %114

110:                                              ; preds = %54
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.background, ptr %111, i32 0, i32 40
  %113 = load ptr, ptr %112, align 8, !tbaa !35
  call void @free(ptr noundef %113) #3
  br label %114

114:                                              ; preds = %110, %54
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.background, ptr %115, i32 0, i32 41
  %117 = load ptr, ptr %116, align 8, !tbaa !36
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %123

119:                                              ; preds = %114
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.background, ptr %120, i32 0, i32 41
  %122 = load ptr, ptr %121, align 8, !tbaa !36
  call void @free(ptr noundef %122) #3
  br label %123

123:                                              ; preds = %119, %114
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.background, ptr %124, i32 0, i32 39
  %126 = load ptr, ptr %125, align 8, !tbaa !37
  %127 = icmp ne ptr %126, null
  br i1 %127, label %128, label %132

128:                                              ; preds = %123
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.background, ptr %129, i32 0, i32 39
  %131 = load ptr, ptr %130, align 8, !tbaa !37
  call void @free(ptr noundef %131) #3
  br label %132

132:                                              ; preds = %128, %123
  br label %133

133:                                              ; preds = %132, %1
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.background, ptr %134, i32 0, i32 21
  %136 = load double, ptr %135, align 8, !tbaa !38
  %137 = fcmp une double %136, 0.000000e+00
  br i1 %137, label %138, label %148

138:                                              ; preds = %133
  %139 = load ptr, ptr %2, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.background, ptr %139, i32 0, i32 25
  %141 = load ptr, ptr %140, align 8, !tbaa !39
  %142 = icmp ne ptr %141, null
  br i1 %142, label %143, label %147

143:                                              ; preds = %138
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.background, ptr %144, i32 0, i32 25
  %146 = load ptr, ptr %145, align 8, !tbaa !39
  call void @free(ptr noundef %146) #3
  br label %147

147:                                              ; preds = %143, %138
  br label %148

148:                                              ; preds = %147, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret i32 0
}

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

!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/C++ TBAA"}
!9 = !{!10, !11, i64 248}
!10 = !{!"background", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !13, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !13, i64 176, !11, i64 184, !11, i64 192, !6, i64 200, !12, i64 208, !12, i64 212, !11, i64 216, !12, i64 224, !6, i64 232, !6, i64 240, !11, i64 248, !6, i64 256, !11, i64 264, !6, i64 272, !11, i64 280, !6, i64 288, !11, i64 296, !6, i64 304, !6, i64 312, !6, i64 320, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !12, i64 360, !6, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !12, i64 464, !12, i64 468, !12, i64 472, !12, i64 476, !12, i64 480, !12, i64 484, !12, i64 488, !12, i64 492, !12, i64 496, !12, i64 500, !12, i64 504, !12, i64 508, !12, i64 512, !12, i64 516, !12, i64 520, !12, i64 524, !12, i64 528, !12, i64 532, !12, i64 536, !12, i64 540, !12, i64 544, !12, i64 548, !12, i64 552, !12, i64 556, !12, i64 560, !12, i64 564, !12, i64 568, !12, i64 572, !12, i64 576, !12, i64 580, !12, i64 584, !12, i64 588, !12, i64 592, !12, i64 596, !12, i64 600, !12, i64 604, !12, i64 608, !12, i64 612, !12, i64 616, !12, i64 620, !12, i64 624, !12, i64 628, !6, i64 632, !6, i64 640, !6, i64 648, !6, i64 656, !6, i64 664, !12, i64 672, !12, i64 676, !12, i64 680, !12, i64 684, !12, i64 688, !12, i64 692, !12, i64 696, !12, i64 700, !12, i64 704, !12, i64 708, !12, i64 712, !12, i64 716, !12, i64 720, !13, i64 724, !13, i64 726, !13, i64 728, !13, i64 730, !13, i64 732, !13, i64 734, !13, i64 736, !13, i64 738, !13, i64 740, !13, i64 742, !13, i64 744, !6, i64 752, !6, i64 760, !6, i64 768, !6, i64 776, !6, i64 784, !6, i64 792, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !13, i64 840, !13, i64 842, !13, i64 844, !13, i64 846, !13, i64 848, !13, i64 850, !7, i64 852, !13, i64 2900, !7, i64 2902}
!11 = !{!"double", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !12, i64 224}
!16 = !{!10, !6, i64 792}
!17 = !{!10, !6, i64 800}
!18 = !{!10, !6, i64 776}
!19 = !{!10, !6, i64 784}
!20 = !{!10, !6, i64 808}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!10, !6, i64 752}
!24 = !{!10, !6, i64 760}
!25 = !{!10, !6, i64 768}
!26 = !{!10, !6, i64 824}
!27 = !{!10, !6, i64 816}
!28 = !{!10, !6, i64 232}
!29 = !{!10, !6, i64 272}
!30 = !{!10, !6, i64 288}
!31 = !{!10, !6, i64 256}
!32 = !{!10, !6, i64 240}
!33 = !{!10, !6, i64 368}
!34 = !{!10, !6, i64 832}
!35 = !{!10, !6, i64 312}
!36 = !{!10, !6, i64 320}
!37 = !{!10, !6, i64 304}
!38 = !{!10, !11, i64 168}
!39 = !{!10, !6, i64 200}


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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @background_free_input(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 248
  %3 = load double, ptr %2, align 8, !tbaa !5
  %4 = fcmp une double %3, 0.000000e+00
  br i1 %4, label %.preheader, label %77

.preheader:                                       ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 224
  %6 = load i32, ptr %5, align 8, !tbaa !13
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %8 = getelementptr inbounds i8, ptr %0, i64 792
  %9 = getelementptr inbounds i8, ptr %0, i64 800
  %10 = getelementptr inbounds i8, ptr %0, i64 776
  %11 = getelementptr inbounds i8, ptr %0, i64 784
  %12 = getelementptr inbounds i8, ptr %0, i64 808
  br label %13

13:                                               ; preds = %.lr.ph, %13
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %13 ]
  %14 = load ptr, ptr %8, align 8, !tbaa !14
  %15 = getelementptr inbounds ptr, ptr %14, i64 %indvars.iv
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  tail call void @free(ptr noundef %16) #2
  %17 = load ptr, ptr %9, align 8, !tbaa !16
  %18 = getelementptr inbounds ptr, ptr %17, i64 %indvars.iv
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  tail call void @free(ptr noundef %19) #2
  %20 = load ptr, ptr %10, align 8, !tbaa !17
  %21 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  tail call void @free(ptr noundef %22) #2
  %23 = load ptr, ptr %11, align 8, !tbaa !18
  %24 = getelementptr inbounds ptr, ptr %23, i64 %indvars.iv
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  tail call void @free(ptr noundef %25) #2
  %26 = load ptr, ptr %12, align 8, !tbaa !19
  %27 = getelementptr inbounds ptr, ptr %26, i64 %indvars.iv
  %28 = load ptr, ptr %27, align 8, !tbaa !15
  tail call void @free(ptr noundef %28) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = load i32, ptr %5, align 8, !tbaa !13
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next, %30
  br i1 %31, label %13, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %13, %.preheader
  %32 = getelementptr inbounds i8, ptr %0, i64 752
  %33 = load ptr, ptr %32, align 8, !tbaa !22
  tail call void @free(ptr noundef %33) #2
  %34 = getelementptr inbounds i8, ptr %0, i64 760
  %35 = load ptr, ptr %34, align 8, !tbaa !23
  tail call void @free(ptr noundef %35) #2
  %36 = getelementptr inbounds i8, ptr %0, i64 768
  %37 = load ptr, ptr %36, align 8, !tbaa !24
  tail call void @free(ptr noundef %37) #2
  %38 = getelementptr inbounds i8, ptr %0, i64 792
  %39 = load ptr, ptr %38, align 8, !tbaa !14
  tail call void @free(ptr noundef %39) #2
  %40 = getelementptr inbounds i8, ptr %0, i64 800
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  tail call void @free(ptr noundef %41) #2
  %42 = getelementptr inbounds i8, ptr %0, i64 776
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  tail call void @free(ptr noundef %43) #2
  %44 = getelementptr inbounds i8, ptr %0, i64 784
  %45 = load ptr, ptr %44, align 8, !tbaa !18
  tail call void @free(ptr noundef %45) #2
  %46 = getelementptr inbounds i8, ptr %0, i64 808
  %47 = load ptr, ptr %46, align 8, !tbaa !19
  tail call void @free(ptr noundef %47) #2
  %48 = getelementptr inbounds i8, ptr %0, i64 824
  %49 = load ptr, ptr %48, align 8, !tbaa !25
  tail call void @free(ptr noundef %49) #2
  %50 = getelementptr inbounds i8, ptr %0, i64 816
  %51 = load ptr, ptr %50, align 8, !tbaa !26
  tail call void @free(ptr noundef %51) #2
  %52 = getelementptr inbounds i8, ptr %0, i64 232
  %53 = load ptr, ptr %52, align 8, !tbaa !27
  tail call void @free(ptr noundef %53) #2
  %54 = getelementptr inbounds i8, ptr %0, i64 272
  %55 = load ptr, ptr %54, align 8, !tbaa !28
  tail call void @free(ptr noundef %55) #2
  %56 = getelementptr inbounds i8, ptr %0, i64 288
  %57 = load ptr, ptr %56, align 8, !tbaa !29
  tail call void @free(ptr noundef %57) #2
  %58 = getelementptr inbounds i8, ptr %0, i64 256
  %59 = load ptr, ptr %58, align 8, !tbaa !30
  tail call void @free(ptr noundef %59) #2
  %60 = getelementptr inbounds i8, ptr %0, i64 240
  %61 = load ptr, ptr %60, align 8, !tbaa !31
  tail call void @free(ptr noundef %61) #2
  %62 = getelementptr inbounds i8, ptr %0, i64 368
  %63 = load ptr, ptr %62, align 8, !tbaa !32
  tail call void @free(ptr noundef %63) #2
  %64 = getelementptr inbounds i8, ptr %0, i64 832
  %65 = load ptr, ptr %64, align 8, !tbaa !33
  tail call void @free(ptr noundef %65) #2
  %66 = getelementptr inbounds i8, ptr %0, i64 312
  %67 = load ptr, ptr %66, align 8, !tbaa !34
  %.not = icmp eq ptr %67, null
  br i1 %.not, label %69, label %68

68:                                               ; preds = %._crit_edge
  tail call void @free(ptr noundef nonnull %67) #2
  br label %69

69:                                               ; preds = %68, %._crit_edge
  %70 = getelementptr inbounds i8, ptr %0, i64 320
  %71 = load ptr, ptr %70, align 8, !tbaa !35
  %.not43 = icmp eq ptr %71, null
  br i1 %.not43, label %73, label %72

72:                                               ; preds = %69
  tail call void @free(ptr noundef nonnull %71) #2
  br label %73

73:                                               ; preds = %72, %69
  %74 = getelementptr inbounds i8, ptr %0, i64 304
  %75 = load ptr, ptr %74, align 8, !tbaa !36
  %.not44 = icmp eq ptr %75, null
  br i1 %.not44, label %77, label %76

76:                                               ; preds = %73
  tail call void @free(ptr noundef nonnull %75) #2
  br label %77

77:                                               ; preds = %73, %76, %1
  %78 = getelementptr inbounds i8, ptr %0, i64 168
  %79 = load double, ptr %78, align 8, !tbaa !37
  %80 = fcmp une double %79, 0.000000e+00
  br i1 %80, label %81, label %85

81:                                               ; preds = %77
  %82 = getelementptr inbounds i8, ptr %0, i64 200
  %83 = load ptr, ptr %82, align 8, !tbaa !38
  %.not45 = icmp eq ptr %83, null
  br i1 %.not45, label %85, label %84

84:                                               ; preds = %81
  tail call void @free(ptr noundef nonnull %83) #2
  br label %85

85:                                               ; preds = %81, %84, %77
  ret i32 0
}

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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, !7, i64 248}
!6 = !{!"background", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !11, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !11, i64 176, !7, i64 184, !7, i64 192, !12, i64 200, !10, i64 208, !10, i64 212, !7, i64 216, !10, i64 224, !12, i64 232, !12, i64 240, !7, i64 248, !12, i64 256, !7, i64 264, !12, i64 272, !7, i64 280, !12, i64 288, !7, i64 296, !12, i64 304, !12, i64 312, !12, i64 320, !7, i64 328, !7, i64 336, !7, i64 344, !7, i64 352, !10, i64 360, !12, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !10, i64 548, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !10, i64 592, !10, i64 596, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !10, i64 672, !10, i64 676, !10, i64 680, !10, i64 684, !10, i64 688, !10, i64 692, !10, i64 696, !10, i64 700, !10, i64 704, !10, i64 708, !10, i64 712, !10, i64 716, !10, i64 720, !11, i64 724, !11, i64 726, !11, i64 728, !11, i64 730, !11, i64 732, !11, i64 734, !11, i64 736, !11, i64 738, !11, i64 740, !11, i64 742, !11, i64 744, !12, i64 752, !12, i64 760, !12, i64 768, !12, i64 776, !12, i64 784, !12, i64 792, !12, i64 800, !12, i64 808, !12, i64 816, !12, i64 824, !12, i64 832, !11, i64 840, !11, i64 842, !11, i64 844, !11, i64 846, !11, i64 848, !11, i64 850, !8, i64 852, !11, i64 2900, !8, i64 2902}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !10, i64 224}
!14 = !{!6, !12, i64 792}
!15 = !{!12, !12, i64 0}
!16 = !{!6, !12, i64 800}
!17 = !{!6, !12, i64 776}
!18 = !{!6, !12, i64 784}
!19 = !{!6, !12, i64 808}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !12, i64 752}
!23 = !{!6, !12, i64 760}
!24 = !{!6, !12, i64 768}
!25 = !{!6, !12, i64 824}
!26 = !{!6, !12, i64 816}
!27 = !{!6, !12, i64 232}
!28 = !{!6, !12, i64 272}
!29 = !{!6, !12, i64 288}
!30 = !{!6, !12, i64 256}
!31 = !{!6, !12, i64 240}
!32 = !{!6, !12, i64 368}
!33 = !{!6, !12, i64 832}
!34 = !{!6, !12, i64 312}
!35 = !{!6, !12, i64 320}
!36 = !{!6, !12, i64 304}
!37 = !{!6, !7, i64 168}
!38 = !{!6, !12, i64 200}


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