; LLVM IR from CLASS-SZ/class_sz :: class-sz/hyrec (hydrogen)

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

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

declare ptr @create_1D_array(i32 noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @solveTXeqB(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #4 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %17 = load i32, ptr %12, align 4, !tbaa !9
  %18 = call ptr @create_1D_array(i32 noundef %17)
  store ptr %18, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %19 = load i32, ptr %12, align 4, !tbaa !9
  %20 = call ptr @create_1D_array(i32 noundef %19)
  store ptr %20, ptr %16, align 8, !tbaa !5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds double, ptr %21, i64 0
  %23 = load double, ptr %22, align 8, !tbaa !11
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = getelementptr inbounds double, ptr %24, i64 0
  %26 = load double, ptr %25, align 8, !tbaa !11
  %27 = fdiv double %23, %26
  %28 = load ptr, ptr %15, align 8, !tbaa !5
  %29 = getelementptr inbounds double, ptr %28, i64 0
  store double %27, ptr %29, align 8, !tbaa !11
  %30 = load ptr, ptr %11, align 8, !tbaa !5
  %31 = getelementptr inbounds double, ptr %30, i64 0
  %32 = load double, ptr %31, align 8, !tbaa !11
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds double, ptr %33, i64 0
  %35 = load double, ptr %34, align 8, !tbaa !11
  %36 = fdiv double %32, %35
  %37 = load ptr, ptr %16, align 8, !tbaa !5
  %38 = getelementptr inbounds double, ptr %37, i64 0
  store double %36, ptr %38, align 8, !tbaa !11
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %97, %6
  %40 = load i32, ptr %13, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = icmp ult i32 %40, %41
  br i1 %42, label %43, label %100

43:                                               ; preds = %39
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds double, ptr %44, i64 %46
  %48 = load double, ptr %47, align 8, !tbaa !11
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds double, ptr %49, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = load i32, ptr %13, align 4, !tbaa !9
  %56 = sub nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds double, ptr %54, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !11
  %60 = fneg double %53
  %61 = call double @llvm.fmuladd.f64(double %60, double %59, double %48)
  store double %61, ptr %14, align 8, !tbaa !11
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load i32, ptr %13, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %62, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = load double, ptr %14, align 8, !tbaa !11
  %68 = fdiv double %66, %67
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds double, ptr %69, i64 %71
  store double %68, ptr %72, align 8, !tbaa !11
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = load i32, ptr %13, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = load i32, ptr %13, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds double, ptr %78, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !11
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  %84 = load i32, ptr %13, align 4, !tbaa !9
  %85 = sub nsw i32 %84, 1
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %83, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !11
  %89 = fneg double %82
  %90 = call double @llvm.fmuladd.f64(double %89, double %88, double %77)
  %91 = load double, ptr %14, align 8, !tbaa !11
  %92 = fdiv double %90, %91
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds double, ptr %93, i64 %95
  store double %92, ptr %96, align 8, !tbaa !11
  br label %97

97:                                               ; preds = %43
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr %13, align 4, !tbaa !9
  br label %39, !llvm.loop !13

100:                                              ; preds = %39
  %101 = load ptr, ptr %16, align 8, !tbaa !5
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = sub i32 %102, 1
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %101, i64 %104
  %106 = load double, ptr %105, align 8, !tbaa !11
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = sub i32 %108, 1
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds double, ptr %107, i64 %110
  store double %106, ptr %111, align 8, !tbaa !11
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = sub i32 %112, 2
  store i32 %113, ptr %13, align 4, !tbaa !9
  br label %114

114:                                              ; preds = %140, %100
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = icmp sge i32 %115, 0
  br i1 %116, label %117, label %143

117:                                              ; preds = %114
  %118 = load ptr, ptr %16, align 8, !tbaa !5
  %119 = load i32, ptr %13, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  %122 = load double, ptr %121, align 8, !tbaa !11
  %123 = load ptr, ptr %15, align 8, !tbaa !5
  %124 = load i32, ptr %13, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !11
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load i32, ptr %13, align 4, !tbaa !9
  %130 = add nsw i32 %129, 1
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds double, ptr %128, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !11
  %134 = fneg double %127
  %135 = call double @llvm.fmuladd.f64(double %134, double %133, double %122)
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = load i32, ptr %13, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds double, ptr %136, i64 %138
  store double %135, ptr %139, align 8, !tbaa !11
  br label %140

140:                                              ; preds = %117
  %141 = load i32, ptr %13, align 4, !tbaa !9
  %142 = add nsw i32 %141, -1
  store i32 %142, ptr %13, align 4, !tbaa !9
  br label %114, !llvm.loop !15

143:                                              ; preds = %114
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  call void @free(ptr noundef %144) #5
  %145 = load ptr, ptr %16, align 8, !tbaa !5
  call void @free(ptr noundef %145) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 "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 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

declare ptr @create_1D_array(i32 noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @solveTXeqB(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #3 {
  %7 = tail call ptr @create_1D_array(i32 noundef %5) #4
  %8 = tail call ptr @create_1D_array(i32 noundef %5) #4
  %9 = load double, ptr %1, align 8, !tbaa !5
  %10 = load double, ptr %0, align 8, !tbaa !5
  %11 = fdiv double %9, %10
  store double %11, ptr %7, align 8, !tbaa !5
  %12 = load double, ptr %4, align 8, !tbaa !5
  %13 = load double, ptr %0, align 8, !tbaa !5
  %14 = fdiv double %12, %13
  store double %14, ptr %8, align 8, !tbaa !5
  %15 = icmp ugt i32 %5, 1
  br i1 %15, label %.lr.ph.lver.check, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %6
  %16 = add nsw i32 %5, -1
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds double, ptr %8, i64 %17
  %19 = load double, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds double, ptr %3, i64 %17
  store double %19, ptr %20, align 8, !tbaa !5
  br label %._crit_edge52

.lr.ph.lver.check:                                ; preds = %6
  %wide.trip.count = zext i32 %5 to i64
  %21 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep57 = getelementptr i8, ptr %7, i64 %21
  %scevgep58 = getelementptr i8, ptr %8, i64 %21
  %bound0 = icmp ult ptr %7, %scevgep58
  %bound1 = icmp ult ptr %8, %scevgep57
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph.lver.orig, label %.lr.ph.ph

.lr.ph.lver.orig:                                 ; preds = %.lr.ph.lver.check, %.lr.ph.lver.orig
  %indvars.iv.lver.orig = phi i64 [ %indvars.iv.next.lver.orig, %.lr.ph.lver.orig ], [ 1, %.lr.ph.lver.check ]
  %22 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.lver.orig
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.lver.orig
  %25 = load double, ptr %24, align 8, !tbaa !5
  %26 = add nsw i64 %indvars.iv.lver.orig, -1
  %27 = getelementptr inbounds double, ptr %7, i64 %26
  %28 = load double, ptr %27, align 8, !tbaa !5
  %29 = fneg double %25
  %30 = tail call double @llvm.fmuladd.f64(double %29, double %28, double %23)
  %31 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.lver.orig
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = fdiv double %32, %30
  %34 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.lver.orig
  store double %33, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds double, ptr %4, i64 %indvars.iv.lver.orig
  %36 = load double, ptr %35, align 8, !tbaa !5
  %37 = load double, ptr %24, align 8, !tbaa !5
  %38 = getelementptr inbounds double, ptr %8, i64 %26
  %39 = load double, ptr %38, align 8, !tbaa !5
  %40 = fneg double %37
  %41 = tail call double @llvm.fmuladd.f64(double %40, double %39, double %36)
  %42 = fdiv double %41, %30
  %43 = getelementptr inbounds double, ptr %8, i64 %indvars.iv.lver.orig
  store double %42, ptr %43, align 8, !tbaa !5
  %indvars.iv.next.lver.orig = add nuw nsw i64 %indvars.iv.lver.orig, 1
  %exitcond.not.lver.orig = icmp eq i64 %indvars.iv.next.lver.orig, %wide.trip.count
  br i1 %exitcond.not.lver.orig, label %._crit_edge, label %.lr.ph.lver.orig, !llvm.loop !9

.lr.ph.ph:                                        ; preds = %.lr.ph.lver.check
  %load_initial60 = load double, ptr %7, align 8
  %load_initial62 = load double, ptr %8, align 8
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.ph, %.lr.ph
  %store_forwarded63 = phi double [ %load_initial62, %.lr.ph.ph ], [ %59, %.lr.ph ]
  %store_forwarded61 = phi double [ %load_initial60, %.lr.ph.ph ], [ %52, %.lr.ph ]
  %indvars.iv = phi i64 [ 1, %.lr.ph.ph ], [ %indvars.iv.next, %.lr.ph ]
  %44 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  %45 = load double, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %47 = load double, ptr %46, align 8, !tbaa !5
  %48 = fneg double %47
  %49 = tail call double @llvm.fmuladd.f64(double %48, double %store_forwarded61, double %45)
  %50 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %51 = load double, ptr %50, align 8, !tbaa !5
  %52 = fdiv double %51, %49
  %53 = getelementptr inbounds double, ptr %7, i64 %indvars.iv
  store double %52, ptr %53, align 8, !tbaa !5
  %54 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = load double, ptr %46, align 8, !tbaa !5
  %57 = fneg double %56
  %58 = tail call double @llvm.fmuladd.f64(double %57, double %store_forwarded63, double %55)
  %59 = fdiv double %58, %49
  %60 = getelementptr inbounds double, ptr %8, i64 %indvars.iv
  store double %59, ptr %60, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph.lver.orig
  %61 = add i32 %5, -1
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %8, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !5
  %65 = getelementptr inbounds double, ptr %3, i64 %62
  store double %64, ptr %65, align 8, !tbaa !5
  %66 = add i32 %5, -2
  %67 = icmp sgt i32 %66, -1
  br i1 %67, label %.lr.ph51.preheader, label %._crit_edge52

.lr.ph51.preheader:                               ; preds = %._crit_edge
  %68 = zext nneg i32 %66 to i64
  %69 = shl nuw nsw i64 %68, 3
  %70 = getelementptr i8, ptr %3, i64 %69
  %scevgep = getelementptr i8, ptr %70, i64 8
  %load_initial = load double, ptr %scevgep, align 8
  %71 = and i64 %68, 1
  %lcmp.mod.not.not = icmp eq i64 %71, 0
  br i1 %lcmp.mod.not.not, label %.lr.ph51.prol, label %.lr.ph51.prol.loopexit

.lr.ph51.prol:                                    ; preds = %.lr.ph51.preheader
  %72 = getelementptr inbounds double, ptr %8, i64 %68
  %73 = load double, ptr %72, align 8, !tbaa !5
  %74 = getelementptr inbounds double, ptr %7, i64 %68
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %3, i64 %68
  %77 = fneg double %75
  %78 = tail call double @llvm.fmuladd.f64(double %77, double %load_initial, double %73)
  store double %78, ptr %76, align 8, !tbaa !5
  %indvars.iv.next55.prol = add nsw i64 %68, -1
  br label %.lr.ph51.prol.loopexit

.lr.ph51.prol.loopexit:                           ; preds = %.lr.ph51.prol, %.lr.ph51.preheader
  %store_forwarded.unr = phi double [ %load_initial, %.lr.ph51.preheader ], [ %78, %.lr.ph51.prol ]
  %indvars.iv54.unr = phi i64 [ %68, %.lr.ph51.preheader ], [ %indvars.iv.next55.prol, %.lr.ph51.prol ]
  %79 = icmp eq i32 %66, 0
  br i1 %79, label %._crit_edge52, label %.lr.ph51

.lr.ph51:                                         ; preds = %.lr.ph51.prol.loopexit, %.lr.ph51
  %store_forwarded = phi double [ %93, %.lr.ph51 ], [ %store_forwarded.unr, %.lr.ph51.prol.loopexit ]
  %indvars.iv54 = phi i64 [ %indvars.iv.next55.1, %.lr.ph51 ], [ %indvars.iv54.unr, %.lr.ph51.prol.loopexit ]
  %80 = getelementptr inbounds double, ptr %8, i64 %indvars.iv54
  %81 = load double, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds double, ptr %7, i64 %indvars.iv54
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = getelementptr inbounds double, ptr %3, i64 %indvars.iv54
  %85 = fneg double %83
  %86 = tail call double @llvm.fmuladd.f64(double %85, double %store_forwarded, double %81)
  store double %86, ptr %84, align 8, !tbaa !5
  %indvars.iv.next55 = add nsw i64 %indvars.iv54, -1
  %87 = getelementptr inbounds double, ptr %8, i64 %indvars.iv.next55
  %88 = load double, ptr %87, align 8, !tbaa !5
  %89 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next55
  %90 = load double, ptr %89, align 8, !tbaa !5
  %91 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next55
  %92 = fneg double %90
  %93 = tail call double @llvm.fmuladd.f64(double %92, double %86, double %88)
  store double %93, ptr %91, align 8, !tbaa !5
  %indvars.iv.next55.1 = add nsw i64 %indvars.iv54, -2
  %.not.1 = icmp eq i64 %indvars.iv.next55, 0
  br i1 %.not.1, label %._crit_edge52, label %.lr.ph51, !llvm.loop !11

._crit_edge52:                                    ; preds = %.lr.ph51.prol.loopexit, %.lr.ph51, %._crit_edge.thread, %._crit_edge
  tail call void @free(ptr noundef nonnull %7) #4
  tail call void @free(ptr noundef nonnull %8) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { "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 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 #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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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