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

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

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

32:                                               ; preds = %12
  %33 = load ptr, ptr %13, align 8, !tbaa !5
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = load ptr, ptr %15, align 8, !tbaa !5
  call void @__Change2CNumbering(i32 noundef %34, ptr noundef %35, ptr noundef %36)
  br label %37

37:                                               ; preds = %32, %12
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = load i32, ptr %38, align 4, !tbaa !9
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = load ptr, ptr %15, align 8, !tbaa !5
  %42 = load ptr, ptr %16, align 8, !tbaa !5
  %43 = load ptr, ptr %17, align 8, !tbaa !5
  %44 = load ptr, ptr %18, align 8, !tbaa !5
  %45 = load i32, ptr %44, align 4, !tbaa !9
  call void @__SetUpGraph(ptr noundef %27, i32 noundef 2, i32 noundef %39, i32 noundef 1, ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %43, i32 noundef %45)
  %46 = load ptr, ptr %22, align 8, !tbaa !5
  %47 = getelementptr inbounds i32, ptr %46, i64 0
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %55

50:                                               ; preds = %37
  %51 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 2
  store i32 3, ptr %51, align 8, !tbaa !11
  %52 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 3
  store i32 1, ptr %52, align 4, !tbaa !16
  %53 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 4
  store i32 3, ptr %53, align 8, !tbaa !17
  %54 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  store i32 0, ptr %54, align 4, !tbaa !18
  br label %72

55:                                               ; preds = %37
  %56 = load ptr, ptr %22, align 8, !tbaa !5
  %57 = getelementptr inbounds i32, ptr %56, i64 1
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 2
  store i32 %58, ptr %59, align 8, !tbaa !11
  %60 = load ptr, ptr %22, align 8, !tbaa !5
  %61 = getelementptr inbounds i32, ptr %60, i64 2
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 3
  store i32 %62, ptr %63, align 4, !tbaa !16
  %64 = load ptr, ptr %22, align 8, !tbaa !5
  %65 = getelementptr inbounds i32, ptr %64, i64 3
  %66 = load i32, ptr %65, align 4, !tbaa !9
  %67 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 4
  store i32 %66, ptr %67, align 8, !tbaa !17
  %68 = load ptr, ptr %22, align 8, !tbaa !5
  %69 = getelementptr inbounds i32, ptr %68, i64 4
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  store i32 %70, ptr %71, align 4, !tbaa !18
  br label %72

72:                                               ; preds = %55, %50
  %73 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 7
  store i32 2, ptr %73, align 4, !tbaa !19
  %74 = load ptr, ptr %20, align 8, !tbaa !5
  %75 = load i32, ptr %74, align 4, !tbaa !9
  %76 = mul nsw i32 20, %75
  %77 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 0
  store i32 %76, ptr %77, align 8, !tbaa !20
  %78 = getelementptr inbounds %struct.graphdef, ptr %27, i32 0, i32 5
  %79 = load ptr, ptr %78, align 8, !tbaa !21
  %80 = icmp ne ptr %79, null
  br i1 %80, label %81, label %87

81:                                               ; preds = %72
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = getelementptr inbounds %struct.graphdef, ptr %27, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !21
  %86 = call i32 @__idxsum(i32 noundef %83, ptr noundef %85)
  br label %90

87:                                               ; preds = %72
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = load i32, ptr %88, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %87, %81
  %91 = phi i32 [ %86, %81 ], [ %89, %87 ]
  %92 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 0
  %93 = load i32, ptr %92, align 8, !tbaa !20
  %94 = sdiv i32 %91, %93
  %95 = sitofp i32 %94 to double
  %96 = fmul double 1.500000e+00, %95
  %97 = fptosi double %96 to i32
  %98 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 5
  store i32 %97, ptr %98, align 4, !tbaa !23
  %99 = load ptr, ptr %22, align 8, !tbaa !5
  %100 = getelementptr inbounds i32, ptr %99, i64 7
  %101 = load i32, ptr %100, align 4, !tbaa !9
  call void @__InitRandom(i32 noundef %101)
  %102 = load ptr, ptr %20, align 8, !tbaa !5
  %103 = load i32, ptr %102, align 4, !tbaa !9
  call void @__AllocateWorkSpace(ptr noundef %28, ptr noundef %27, i32 noundef %103)
  %104 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  %105 = load i32, ptr %104, align 4, !tbaa !18
  %106 = and i32 %105, 1
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %90
  call void @__InitTimers(ptr noundef %28)
  br label %109

109:                                              ; preds = %108, %90
  %110 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  %111 = load i32, ptr %110, align 4, !tbaa !18
  %112 = and i32 %111, 1
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %119

114:                                              ; preds = %109
  %115 = call double @__seconds()
  %116 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 12
  %117 = load double, ptr %116, align 8, !tbaa !24
  %118 = fsub double %117, %115
  store double %118, ptr %116, align 8, !tbaa !24
  br label %119

119:                                              ; preds = %114, %109
  %120 = load ptr, ptr %20, align 8, !tbaa !5
  %121 = load i32, ptr %120, align 4, !tbaa !9
  %122 = load ptr, ptr %24, align 8, !tbaa !5
  %123 = load ptr, ptr %21, align 8, !tbaa !5
  %124 = call i32 @__MlevelKWayPartitioning(ptr noundef %28, ptr noundef %27, i32 noundef %121, ptr noundef %122, ptr noundef %123, float noundef 0x3FF07AE140000000)
  %125 = load ptr, ptr %23, align 8, !tbaa !5
  store i32 %124, ptr %125, align 4, !tbaa !9
  %126 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !18
  %128 = and i32 %127, 1
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %130, label %135

130:                                              ; preds = %119
  %131 = call double @__seconds()
  %132 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 12
  %133 = load double, ptr %132, align 8, !tbaa !24
  %134 = fadd double %133, %131
  store double %134, ptr %132, align 8, !tbaa !24
  br label %135

135:                                              ; preds = %130, %119
  %136 = getelementptr inbounds %struct.controldef, ptr %28, i32 0, i32 1
  %137 = load i32, ptr %136, align 4, !tbaa !18
  %138 = and i32 %137, 1
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %135
  call void @__PrintTimers(ptr noundef %28)
  br label %141

141:                                              ; preds = %140, %135
  call void @__FreeWorkSpace(ptr noundef %28, ptr noundef %27)
  %142 = load ptr, ptr %19, align 8, !tbaa !5
  %143 = load i32, ptr %142, align 4, !tbaa !9
  %144 = icmp eq i32 %143, 1
  br i1 %144, label %145, label %151

145:                                              ; preds = %141
  %146 = load ptr, ptr %13, align 8, !tbaa !5
  %147 = load i32, ptr %146, align 4, !tbaa !9
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = load ptr, ptr %24, align 8, !tbaa !5
  call void @__Change2FNumbering(i32 noundef %147, ptr noundef %148, ptr noundef %149, ptr noundef %150)
  br label %151

151:                                              ; preds = %145, %141
  call void @llvm.lifetime.end.p0(i64 232, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 216, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  ret void
}

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

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 @__idxsum(i32 noundef, ptr 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

declare i32 @__MlevelKWayPartitioning(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, float noundef) #2

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

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 = { "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 = !{!22, !6, i64 32}
!22 = !{!"graphdef", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !6, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208}
!23 = !{!12, !10, i64 20}
!24 = !{!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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

19:                                               ; preds = %17, %12
  %20 = load i32, ptr %0, align 4, !tbaa !5
  %21 = load i32, ptr %5, align 4, !tbaa !5
  call void @__SetUpGraph(ptr noundef nonnull %13, i32 noundef 2, i32 noundef %20, i32 noundef 1, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %21) #3
  %22 = load i32, ptr %9, align 4, !tbaa !5
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %27, label %24

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %9, i64 4
  %26 = load <4 x i32>, ptr %25, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %19, %24
  %28 = phi <4 x i32> [ %26, %24 ], [ <i32 3, i32 1, i32 3, i32 0>, %19 ]
  %29 = getelementptr inbounds i8, ptr %14, i64 4
  %30 = shufflevector <4 x i32> %28, <4 x i32> poison, <4 x i32> <i32 3, i32 0, i32 1, i32 2>
  store <4 x i32> %30, ptr %29, align 4
  %31 = getelementptr inbounds i8, ptr %14, i64 28
  store i32 2, ptr %31, align 4, !tbaa !9
  %32 = load i32, ptr %7, align 4, !tbaa !5
  %33 = mul nsw i32 %32, 20
  store i32 %33, ptr %14, align 8, !tbaa !15
  %34 = getelementptr inbounds i8, ptr %13, i64 32
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %.not = icmp eq ptr %35, null
  %36 = load i32, ptr %0, align 4, !tbaa !5
  br i1 %.not, label %39, label %37

37:                                               ; preds = %27
  %38 = call i32 @__idxsum(i32 noundef %36, ptr noundef nonnull %35) #3
  br label %39

39:                                               ; preds = %27, %37
  %40 = phi i32 [ %38, %37 ], [ %36, %27 ]
  %41 = sdiv i32 %40, %33
  %42 = sitofp i32 %41 to double
  %43 = fmul double %42, 1.500000e+00
  %44 = fptosi double %43 to i32
  %45 = getelementptr inbounds i8, ptr %14, i64 20
  store i32 %44, ptr %45, align 4, !tbaa !18
  %46 = getelementptr inbounds i8, ptr %9, i64 28
  %47 = load i32, ptr %46, align 4, !tbaa !5
  call void @__InitRandom(i32 noundef %47) #3
  %48 = load i32, ptr %7, align 4, !tbaa !5
  call void @__AllocateWorkSpace(ptr noundef nonnull %14, ptr noundef nonnull %13, i32 noundef %48) #3
  %49 = load i32, ptr %29, align 4, !tbaa !19
  %50 = and i32 %49, 1
  %.not29 = icmp eq i32 %50, 0
  br i1 %.not29, label %.thread, label %51

51:                                               ; preds = %39
  call void @__InitTimers(ptr noundef nonnull %14) #3
  %.pre = load i32, ptr %29, align 4, !tbaa !19
  %.pre37 = and i32 %.pre, 1
  %52 = icmp eq i32 %.pre37, 0
  br i1 %52, label %.thread, label %53

53:                                               ; preds = %51
  %54 = call double @__seconds() #3
  %55 = getelementptr inbounds i8, ptr %14, i64 104
  %56 = load double, ptr %55, align 8, !tbaa !20
  %57 = fsub double %56, %54
  store double %57, ptr %55, align 8, !tbaa !20
  br label %.thread

.thread:                                          ; preds = %39, %53, %51
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = call i32 @__MlevelKWayPartitioning(ptr noundef nonnull %14, ptr noundef nonnull %13, i32 noundef %58, ptr noundef %11, ptr noundef %8, float noundef 0x3FF07AE140000000) #3
  store i32 %59, ptr %10, align 4, !tbaa !5
  %60 = load i32, ptr %29, align 4, !tbaa !19
  %61 = and i32 %60, 1
  %.not31 = icmp eq i32 %61, 0
  br i1 %.not31, label %.thread41, label %62

62:                                               ; preds = %.thread
  %63 = call double @__seconds() #3
  %64 = getelementptr inbounds i8, ptr %14, i64 104
  %65 = load double, ptr %64, align 8, !tbaa !20
  %66 = fadd double %63, %65
  store double %66, ptr %64, align 8, !tbaa !20
  %.pre36 = load i32, ptr %29, align 4, !tbaa !19
  %.pre38 = and i32 %.pre36, 1
  %67 = icmp eq i32 %.pre38, 0
  br i1 %67, label %.thread41, label %68

68:                                               ; preds = %62
  call void @__PrintTimers(ptr noundef nonnull %14) #3
  br label %.thread41

.thread41:                                        ; preds = %.thread, %68, %62
  call void @__FreeWorkSpace(ptr noundef nonnull %14, ptr noundef nonnull %13) #3
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = icmp eq i32 %69, 1
  br i1 %70, label %71, label %73

71:                                               ; preds = %.thread41
  %72 = load i32, ptr %0, align 4, !tbaa !5
  call void @__Change2FNumbering(i32 noundef %72, ptr noundef %1, ptr noundef %2, ptr noundef %11) #3
  br label %73

73:                                               ; preds = %71, %.thread41
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %14) #3
  call void @llvm.lifetime.end.p0(i64 216, ptr nonnull %13) #3
  ret void
}

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

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 @__idxsum(i32 noundef, ptr 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

declare i32 @__MlevelKWayPartitioning(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress 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 = { "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 = !{!17, !13, i64 32}
!17 = !{!"graphdef", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 20, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !6, i64 88, !6, i64 92, !13, i64 96, !13, i64 104, !6, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !6, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208}
!18 = !{!10, !6, i64 20}
!19 = !{!10, !6, i64 4}
!20 = !{!10, !14, i64 104}


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