; LLVM IR from siconos/siconos :: externals/lbl/metis4 (mkmetis)

; 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.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }
%struct.controldef = type { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @METIS_mCPartGraphKway(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %struct.graphdef, align 8
  %30 = alloca %struct.controldef, align 8
  store ptr %0, ptr %14, align 8, !tbaa !5
  store ptr %1, ptr %15, align 8, !tbaa !5
  store ptr %2, ptr %16, align 8, !tbaa !5
  store ptr %3, ptr %17, align 8, !tbaa !5
  store ptr %4, ptr %18, align 8, !tbaa !5
  store ptr %5, ptr %19, align 8, !tbaa !5
  store ptr %6, ptr %20, align 8, !tbaa !5
  store ptr %7, ptr %21, align 8, !tbaa !5
  store ptr %8, ptr %22, align 8, !tbaa !5
  store ptr %9, ptr %23, align 8, !tbaa !5
  store ptr %10, ptr %24, align 8, !tbaa !5
  store ptr %11, ptr %25, align 8, !tbaa !5
  store ptr %12, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.start.p0(i64 216, ptr %29) #3
  call void @llvm.lifetime.start.p0(i64 232, ptr %30) #3
  %31 = load ptr, ptr %21, align 8, !tbaa !5
  %32 = load i32, ptr %31, align 4, !tbaa !9
  %33 = icmp eq i32 %32, 1
  br i1 %33, label %34, label %39

34:                                               ; preds = %13
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = load i32, ptr %35, align 4, !tbaa !9
  %37 = load ptr, ptr %16, align 8, !tbaa !5
  %38 = load ptr, ptr %17, align 8, !tbaa !5
  call void @__Change2CNumbering(i32 noundef %36, ptr noundef %37, ptr noundef %38)
  br label %39

39:                                               ; preds = %34, %13
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = load i32, ptr %40, align 4, !tbaa !9
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = load ptr, ptr %16, align 8, !tbaa !5
  %45 = load ptr, ptr %17, align 8, !tbaa !5
  %46 = load ptr, ptr %18, align 8, !tbaa !5
  %47 = load ptr, ptr %19, align 8, !tbaa !5
  %48 = load ptr, ptr %20, align 8, !tbaa !5
  %49 = load i32, ptr %48, align 4, !tbaa !9
  call void @__SetUpGraph(ptr noundef %29, i32 noundef 2, i32 noundef %41, i32 noundef %43, ptr noundef %44, ptr noundef %45, ptr noundef %46, ptr noundef %47, i32 noundef %49)
  %50 = load ptr, ptr %24, align 8, !tbaa !5
  %51 = getelementptr inbounds i32, ptr %50, i64 0
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %59

54:                                               ; preds = %39
  %55 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 2
  store i32 5, ptr %55, align 8, !tbaa !11
  %56 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 3
  store i32 2, ptr %56, align 4, !tbaa !16
  %57 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 4
  store i32 1, ptr %57, align 8, !tbaa !17
  %58 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  store i32 0, ptr %58, align 4, !tbaa !18
  br label %76

59:                                               ; preds = %39
  %60 = load ptr, ptr %24, align 8, !tbaa !5
  %61 = getelementptr inbounds i32, ptr %60, i64 1
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 2
  store i32 %62, ptr %63, align 8, !tbaa !11
  %64 = load ptr, ptr %24, align 8, !tbaa !5
  %65 = getelementptr inbounds i32, ptr %64, i64 2
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 3
  store i32 %66, ptr %67, align 4, !tbaa !16
  %68 = load ptr, ptr %24, align 8, !tbaa !5
  %69 = getelementptr inbounds i32, ptr %68, i64 3
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 4
  store i32 %70, ptr %71, align 8, !tbaa !17
  %72 = load ptr, ptr %24, align 8, !tbaa !5
  %73 = getelementptr inbounds i32, ptr %72, i64 4
  %74 = load i32, ptr %73, align 4, !tbaa !9
  %75 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  store i32 %74, ptr %75, align 4, !tbaa !18
  br label %76

76:                                               ; preds = %59, %54
  %77 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 7
  store i32 2, ptr %77, align 4, !tbaa !19
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = load i32, ptr %78, align 4, !tbaa !9
  %80 = load ptr, ptr %22, align 8, !tbaa !5
  %81 = load i32, ptr %80, align 4, !tbaa !9
  %82 = call i32 @__ilog2(i32 noundef %81)
  %83 = mul nsw i32 20, %82
  %84 = sdiv i32 %79, %83
  %85 = load ptr, ptr %22, align 8, !tbaa !5
  %86 = load i32, ptr %85, align 4, !tbaa !9
  %87 = mul nsw i32 30, %86
  %88 = icmp sge i32 %84, %87
  br i1 %88, label %89, label %97

89:                                               ; preds = %76
  %90 = load ptr, ptr %14, align 8, !tbaa !5
  %91 = load i32, ptr %90, align 4, !tbaa !9
  %92 = load ptr, ptr %22, align 8, !tbaa !5
  %93 = load i32, ptr %92, align 4, !tbaa !9
  %94 = call i32 @__ilog2(i32 noundef %93)
  %95 = mul nsw i32 20, %94
  %96 = sdiv i32 %91, %95
  br label %101

97:                                               ; preds = %76
  %98 = load ptr, ptr %22, align 8, !tbaa !5
  %99 = load i32, ptr %98, align 4, !tbaa !9
  %100 = mul nsw i32 30, %99
  br label %101

101:                                              ; preds = %97, %89
  %102 = phi i32 [ %96, %89 ], [ %100, %97 ]
  %103 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 0
  store i32 %102, ptr %103, align 8, !tbaa !20
  %104 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 0
  %105 = load i32, ptr %104, align 8, !tbaa !20
  %106 = sitofp i32 %105 to double
  %107 = fmul double 1.000000e+00, %106
  %108 = fdiv double 1.500000e+00, %107
  %109 = fptrunc double %108 to float
  %110 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 6
  store float %109, ptr %110, align 8, !tbaa !21
  call void @__InitRandom(i32 noundef -1)
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  call void @__AllocateWorkSpace(ptr noundef %30, ptr noundef %29, i32 noundef %112)
  %113 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  %114 = load i32, ptr %113, align 4, !tbaa !18
  %115 = and i32 %114, 1
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %118

117:                                              ; preds = %101
  call void @__InitTimers(ptr noundef %30)
  br label %118

118:                                              ; preds = %117, %101
  %119 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  %120 = load i32, ptr %119, align 4, !tbaa !18
  %121 = and i32 %120, 1
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %128

123:                                              ; preds = %118
  %124 = call double @__seconds()
  %125 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 12
  %126 = load double, ptr %125, align 8, !tbaa !22
  %127 = fsub double %126, %124
  store double %127, ptr %125, align 8, !tbaa !22
  br label %128

128:                                              ; preds = %123, %118
  %129 = load ptr, ptr %22, align 8, !tbaa !5
  %130 = load i32, ptr %129, align 4, !tbaa !9
  %131 = load ptr, ptr %26, align 8, !tbaa !5
  %132 = load ptr, ptr %23, align 8, !tbaa !5
  %133 = call i32 @__MCMlevelKWayPartitioning(ptr noundef %30, ptr noundef %29, i32 noundef %130, ptr noundef %131, ptr noundef %132)
  %134 = load ptr, ptr %25, align 8, !tbaa !5
  store i32 %133, ptr %134, align 4, !tbaa !9
  %135 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !18
  %137 = and i32 %136, 1
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %139, label %144

139:                                              ; preds = %128
  %140 = call double @__seconds()
  %141 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 12
  %142 = load double, ptr %141, align 8, !tbaa !22
  %143 = fadd double %142, %140
  store double %143, ptr %141, align 8, !tbaa !22
  br label %144

144:                                              ; preds = %139, %128
  %145 = getelementptr inbounds %struct.controldef, ptr %30, i32 0, i32 1
  %146 = load i32, ptr %145, align 4, !tbaa !18
  %147 = and i32 %146, 1
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %149, label %150

149:                                              ; preds = %144
  call void @__PrintTimers(ptr noundef %30)
  br label %150

150:                                              ; preds = %149, %144
  call void @__FreeWorkSpace(ptr noundef %30, ptr noundef %29)
  %151 = load ptr, ptr %21, align 8, !tbaa !5
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = icmp eq i32 %152, 1
  br i1 %153, label %154, label %160

154:                                              ; preds = %150
  %155 = load ptr, ptr %14, align 8, !tbaa !5
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = load ptr, ptr %16, align 8, !tbaa !5
  %158 = load ptr, ptr %17, align 8, !tbaa !5
  %159 = load ptr, ptr %26, align 8, !tbaa !5
  call void @__Change2FNumbering(i32 noundef %156, ptr noundef %157, ptr noundef %158, ptr noundef %159)
  br label %160

160:                                              ; preds = %154, %150
  call void @llvm.lifetime.end.p0(i64 232, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 216, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  ret void
}

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

declare void @__Change2CNumbering(i32 noundef, ptr noundef, ptr noundef) #2

declare void @__SetUpGraph(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @__ilog2(i32 noundef) #2

declare void @__InitRandom(i32 noundef) #2

declare void @__AllocateWorkSpace(ptr noundef, ptr noundef, i32 noundef) #2

declare void @__InitTimers(ptr noundef) #2

declare double @__seconds() #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @__MCMlevelKWayPartitioning(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #0

declare void @__PrintTimers(ptr noundef) #2

declare void @__FreeWorkSpace(ptr noundef, ptr noundef) #2

declare void @__Change2FNumbering(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nocallback nofree nosync 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 }

!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, !10, i64 8}
!12 = !{!"controldef", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !13, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !14, i64 48, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224}
!13 = !{!"float", !7, i64 0}
!14 = !{!"workspacedef", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !6, i64 48}
!15 = !{!"double", !7, i64 0}
!16 = !{!12, !10, i64 12}
!17 = !{!12, !10, i64 16}
!18 = !{!12, !10, i64 4}
!19 = !{!12, !10, i64 28}
!20 = !{!12, !10, i64 0}
!21 = !{!12, !13, i64 24}
!22 = !{!12, !15, i64 104}


; 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.graphdef = type { ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }
%struct.controldef = type { i32, i32, i32, i32, i32, i32, float, i32, i32, i32, i32, %struct.workspacedef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%struct.workspacedef = type { ptr, i32, i32, ptr, ptr, i32, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @METIS_mCPartGraphKway(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8, ptr noundef %9, ptr nocapture noundef readonly %10, ptr nocapture noundef writeonly %11, ptr noundef %12) local_unnamed_addr #0 {
  %14 = alloca %struct.graphdef, align 8
  %15 = alloca %struct.controldef, align 8
  call void @llvm.lifetime.start.p0(i64 216, ptr nonnull %14) #3
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %15) #3
  %16 = load i32, ptr %7, align 4, !tbaa !5
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %18, label %20

18:                                               ; preds = %13
  %19 = load i32, ptr %0, align 4, !tbaa !5
  tail call void @__Change2CNumbering(i32 noundef %19, ptr noundef %2, ptr noundef %3) #3
  br label %20

20:                                               ; preds = %18, %13
  %21 = load i32, ptr %0, align 4, !tbaa !5
  %22 = load i32, ptr %1, align 4, !tbaa !5
  %23 = load i32, ptr %6, align 4, !tbaa !5
  call void @__SetUpGraph(ptr noundef nonnull %14, i32 noundef 2, i32 noundef %21, i32 noundef %22, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %23) #3
  %24 = load i32, ptr %10, align 4, !tbaa !5
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %29, label %26

26:                                               ; preds = %20
  %27 = getelementptr inbounds i8, ptr %10, i64 4
  %28 = load <4 x i32>, ptr %27, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %20, %26
  %30 = phi <4 x i32> [ %28, %26 ], [ <i32 5, i32 2, i32 1, i32 0>, %20 ]
  %31 = getelementptr inbounds i8, ptr %15, i64 4
  %32 = shufflevector <4 x i32> %30, <4 x i32> poison, <4 x i32> <i32 3, i32 0, i32 1, i32 2>
  store <4 x i32> %32, ptr %31, align 4
  %33 = getelementptr inbounds i8, ptr %15, i64 28
  store i32 2, ptr %33, align 4, !tbaa !9
  %34 = load i32, ptr %0, align 4, !tbaa !5
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %36 = call i32 @__ilog2(i32 noundef %35) #3
  %37 = mul nsw i32 %36, 20
  %38 = sdiv i32 %34, %37
  %39 = load i32, ptr %8, align 4, !tbaa !5
  %40 = mul nsw i32 %39, 30
  %.not = icmp slt i32 %38, %40
  br i1 %.not, label %46, label %41

41:                                               ; preds = %29
  %42 = load i32, ptr %0, align 4, !tbaa !5
  %43 = call i32 @__ilog2(i32 noundef %39) #3
  %44 = mul nsw i32 %43, 20
  %45 = sdiv i32 %42, %44
  br label %46

46:                                               ; preds = %29, %41
  %47 = phi i32 [ %45, %41 ], [ %40, %29 ]
  store i32 %47, ptr %15, align 8, !tbaa !15
  %48 = sitofp i32 %47 to double
  %49 = fdiv double 1.500000e+00, %48
  %50 = fptrunc double %49 to float
  %51 = getelementptr inbounds i8, ptr %15, i64 24
  store float %50, ptr %51, align 8, !tbaa !16
  call void @__InitRandom(i32 noundef -1) #3
  %52 = load i32, ptr %8, align 4, !tbaa !5
  call void @__AllocateWorkSpace(ptr noundef nonnull %15, ptr noundef nonnull %14, i32 noundef %52) #3
  %53 = load i32, ptr %31, align 4, !tbaa !17
  %54 = and i32 %53, 1
  %.not32 = icmp eq i32 %54, 0
  br i1 %.not32, label %.thread, label %55

55:                                               ; preds = %46
  call void @__InitTimers(ptr noundef nonnull %15) #3
  %.pre = load i32, ptr %31, align 4, !tbaa !17
  %.pre40 = and i32 %.pre, 1
  %56 = icmp eq i32 %.pre40, 0
  br i1 %56, label %.thread, label %57

57:                                               ; preds = %55
  %58 = call double @__seconds() #3
  %59 = getelementptr inbounds i8, ptr %15, i64 104
  %60 = load double, ptr %59, align 8, !tbaa !18
  %61 = fsub double %60, %58
  store double %61, ptr %59, align 8, !tbaa !18
  br label %.thread

.thread:                                          ; preds = %46, %57, %55
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = call i32 @__MCMlevelKWayPartitioning(ptr noundef nonnull %15, ptr noundef nonnull %14, i32 noundef %62, ptr noundef %12, ptr noundef %9)
  store i32 %63, ptr %11, align 4, !tbaa !5
  %64 = load i32, ptr %31, align 4, !tbaa !17
  %65 = and i32 %64, 1
  %.not34 = icmp eq i32 %65, 0
  br i1 %.not34, label %.thread44, label %66

66:                                               ; preds = %.thread
  %67 = call double @__seconds() #3
  %68 = getelementptr inbounds i8, ptr %15, i64 104
  %69 = load double, ptr %68, align 8, !tbaa !18
  %70 = fadd double %67, %69
  store double %70, ptr %68, align 8, !tbaa !18
  %.pre39 = load i32, ptr %31, align 4, !tbaa !17
  %.pre41 = and i32 %.pre39, 1
  %71 = icmp eq i32 %.pre41, 0
  br i1 %71, label %.thread44, label %72

72:                                               ; preds = %66
  call void @__PrintTimers(ptr noundef nonnull %15) #3
  br label %.thread44

.thread44:                                        ; preds = %.thread, %72, %66
  call void @__FreeWorkSpace(ptr noundef nonnull %15, ptr noundef nonnull %14) #3
  %73 = load i32, ptr %7, align 4, !tbaa !5
  %74 = icmp eq i32 %73, 1
  br i1 %74, label %75, label %77

75:                                               ; preds = %.thread44
  %76 = load i32, ptr %0, align 4, !tbaa !5
  call void @__Change2FNumbering(i32 noundef %76, ptr noundef %2, ptr noundef %3, ptr noundef %12) #3
  br label %77

77:                                               ; preds = %75, %.thread44
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %15) #3
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %14) #3
  ret void
}

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

declare void @__Change2CNumbering(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @__SetUpGraph(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @__ilog2(i32 noundef) local_unnamed_addr #2

declare void @__InitRandom(i32 noundef) local_unnamed_addr #2

declare void @__AllocateWorkSpace(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @__InitTimers(ptr noundef) local_unnamed_addr #2

declare double @__seconds() local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @__MCMlevelKWayPartitioning(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @__PrintTimers(ptr noundef) local_unnamed_addr #2

declare void @__FreeWorkSpace(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @__Change2FNumbering(i32 noundef, ptr noundef, ptr noundef, ptr noundef) 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) #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 nocallback nofree nosync 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 }

!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, !6, i64 28}
!10 = !{!"controldef", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !11, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !12, i64 48, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224}
!11 = !{!"float", !7, i64 0}
!12 = !{!"workspacedef", !13, i64 0, !6, i64 8, !6, i64 12, !13, i64 16, !13, i64 24, !6, i64 32, !13, i64 40, !13, i64 48}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !11, i64 24}
!17 = !{!10, !6, i64 4}
!18 = !{!10, !14, i64 104}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass