; LLVM IR from ekoontz/graphlab :: src/graphlab/extern/metis/libmetis (mpmetis)

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

@.str = external hidden unnamed_addr constant [18 x i8], align 1

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

declare void @libmetis__InitRandom(i64 noundef) #1

declare void @libmetis__AllocateWorkSpace(ptr noundef, ptr noundef, i64 noundef) #1

declare void @libmetis__InitTimers(ptr noundef) #1

declare double @gk_CPUSeconds() #1

declare void @libmetis__PrintTimers(ptr noundef) #1

declare void @libmetis__FreeWorkSpace(ptr noundef, ptr noundef) #1

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

declare ptr @gk_fmalloc(i64 noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @libmetis__MCHMlevelRecursiveBisection(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) #3

declare void @gk_free(ptr noundef, ...) #1

declare void @libmetis__SetUpGraph2(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @METIS_mCHPartGraphRecursiveInternal(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) #3 {
  %12 = alloca ptr, align 8
  %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 i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca %struct.graphdef, align 8
  %26 = alloca %struct.controldef, align 8
  %27 = alloca ptr, align 8
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store ptr %2, ptr %14, align 8, !tbaa !5
  store ptr %3, ptr %15, align 8, !tbaa !5
  store ptr %4, ptr %16, align 8, !tbaa !5
  store ptr %5, ptr %17, align 8, !tbaa !5
  store ptr %6, ptr %18, align 8, !tbaa !5
  store ptr %7, ptr %19, align 8, !tbaa !5
  store ptr %8, ptr %20, align 8, !tbaa !5
  store ptr %9, ptr %21, align 8, !tbaa !5
  store ptr %10, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 248, ptr %25) #4
  call void @llvm.lifetime.start.p0(i64 280, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %28 = load ptr, ptr %12, align 8, !tbaa !5
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = load ptr, ptr %13, align 8, !tbaa !5
  %31 = load i64, ptr %30, align 8, !tbaa !9
  %32 = load ptr, ptr %14, align 8, !tbaa !5
  %33 = load ptr, ptr %15, align 8, !tbaa !5
  %34 = load ptr, ptr %16, align 8, !tbaa !5
  %35 = load ptr, ptr %17, align 8, !tbaa !5
  call void @libmetis__SetUpGraph2(ptr noundef %25, i64 noundef %29, i64 noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34, ptr noundef %35)
  %36 = load ptr, ptr %20, align 8, !tbaa !5
  %37 = getelementptr inbounds i64, ptr %36, i64 0
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = icmp eq i64 %38, 0
  br i1 %39, label %40, label %45

40:                                               ; preds = %11
  %41 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 2
  store i64 3, ptr %41, align 8, !tbaa !11
  %42 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 3
  store i64 1, ptr %42, align 8, !tbaa !16
  %43 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 4
  store i64 1, ptr %43, align 8, !tbaa !17
  %44 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  store i64 0, ptr %44, align 8, !tbaa !18
  br label %62

45:                                               ; preds = %11
  %46 = load ptr, ptr %20, align 8, !tbaa !5
  %47 = getelementptr inbounds i64, ptr %46, i64 1
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 2
  store i64 %48, ptr %49, align 8, !tbaa !11
  %50 = load ptr, ptr %20, align 8, !tbaa !5
  %51 = getelementptr inbounds i64, ptr %50, i64 2
  %52 = load i64, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 3
  store i64 %52, ptr %53, align 8, !tbaa !16
  %54 = load ptr, ptr %20, align 8, !tbaa !5
  %55 = getelementptr inbounds i64, ptr %54, i64 3
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 4
  store i64 %56, ptr %57, align 8, !tbaa !17
  %58 = load ptr, ptr %20, align 8, !tbaa !5
  %59 = getelementptr inbounds i64, ptr %58, i64 4
  %60 = load i64, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  store i64 %60, ptr %61, align 8, !tbaa !18
  br label %62

62:                                               ; preds = %45, %40
  %63 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 7
  store i64 1, ptr %63, align 8, !tbaa !19
  %64 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 0
  store i64 100, ptr %64, align 8, !tbaa !20
  %65 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 0
  %66 = load i64, ptr %65, align 8, !tbaa !20
  %67 = sitofp i64 %66 to double
  %68 = fmul double 1.000000e+00, %67
  %69 = fdiv double 1.500000e+00, %68
  %70 = fptrunc double %69 to float
  %71 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 6
  store float %70, ptr %71, align 8, !tbaa !21
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = load i64, ptr %72, align 8, !tbaa !9
  %74 = call ptr @gk_fmalloc(i64 noundef %73, ptr noundef @.str)
  store ptr %74, ptr %27, align 8, !tbaa !5
  %75 = load ptr, ptr %27, align 8, !tbaa !5
  %76 = load ptr, ptr %19, align 8, !tbaa !5
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = load i64, ptr %77, align 8, !tbaa !9
  %79 = mul i64 4, %78
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %75, ptr align 1 %76, i64 %79, i1 false)
  call void @libmetis__InitRandom(i64 noundef -1)
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  %81 = load i64, ptr %80, align 8, !tbaa !9
  call void @libmetis__AllocateWorkSpace(ptr noundef %26, ptr noundef %25, i64 noundef %81)
  %82 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  %83 = load i64, ptr %82, align 8, !tbaa !18
  %84 = and i64 %83, 1
  %85 = icmp ne i64 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %62
  call void @libmetis__InitTimers(ptr noundef %26)
  br label %87

87:                                               ; preds = %86, %62
  %88 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  %89 = load i64, ptr %88, align 8, !tbaa !18
  %90 = and i64 %89, 1
  %91 = icmp ne i64 %90, 0
  br i1 %91, label %92, label %97

92:                                               ; preds = %87
  %93 = call double @gk_CPUSeconds()
  %94 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 12
  %95 = load double, ptr %94, align 8, !tbaa !22
  %96 = fsub double %95, %93
  store double %96, ptr %94, align 8, !tbaa !22
  br label %97

97:                                               ; preds = %92, %87
  %98 = load ptr, ptr %18, align 8, !tbaa !5
  %99 = load i64, ptr %98, align 8, !tbaa !9
  %100 = load ptr, ptr %22, align 8, !tbaa !5
  %101 = load ptr, ptr %27, align 8, !tbaa !5
  %102 = call i64 @libmetis__MCHMlevelRecursiveBisection(ptr noundef %26, ptr noundef %25, i64 noundef %99, ptr noundef %100, ptr noundef %101, i64 noundef 0)
  %103 = load ptr, ptr %21, align 8, !tbaa !5
  store i64 %102, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  %105 = load i64, ptr %104, align 8, !tbaa !18
  %106 = and i64 %105, 1
  %107 = icmp ne i64 %106, 0
  br i1 %107, label %108, label %113

108:                                              ; preds = %97
  %109 = call double @gk_CPUSeconds()
  %110 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 12
  %111 = load double, ptr %110, align 8, !tbaa !22
  %112 = fadd double %111, %109
  store double %112, ptr %110, align 8, !tbaa !22
  br label %113

113:                                              ; preds = %108, %97
  %114 = getelementptr inbounds %struct.controldef, ptr %26, i32 0, i32 1
  %115 = load i64, ptr %114, align 8, !tbaa !18
  %116 = and i64 %115, 1
  %117 = icmp ne i64 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %113
  call void @libmetis__PrintTimers(ptr noundef %26)
  br label %119

119:                                              ; preds = %118, %113
  call void @libmetis__FreeWorkSpace(ptr noundef %26, ptr noundef %25)
  call void (ptr, ...) @gk_free(ptr noundef %27, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 280, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 248, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"controldef", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !14, i64 88, !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, !15, i64 232, !15, i64 240, !15, i64 248, !15, i64 256, !15, i64 264, !15, i64 272}
!13 = !{!"float", !7, i64 0}
!14 = !{!"workspacedef", !6, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !6, i64 48, !6, i64 56}
!15 = !{!"double", !7, i64 0}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !10, i64 8}
!19 = !{!12, !10, i64 56}
!20 = !{!12, !10, i64 0}
!21 = !{!12, !13, i64 48}
!22 = !{!12, !15, i64 152}


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

@.str = external hidden unnamed_addr constant [18 x i8], align 1

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

declare void @libmetis__InitRandom(i64 noundef) local_unnamed_addr #1

declare void @libmetis__AllocateWorkSpace(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

declare void @libmetis__InitTimers(ptr noundef) local_unnamed_addr #1

declare double @gk_CPUSeconds() local_unnamed_addr #1

declare void @libmetis__PrintTimers(ptr noundef) local_unnamed_addr #1

declare void @libmetis__FreeWorkSpace(ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare ptr @gk_fmalloc(i64 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @libmetis__MCHMlevelRecursiveBisection(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare void @gk_free(ptr noundef, ...) local_unnamed_addr #1

declare void @libmetis__SetUpGraph2(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @METIS_mCHPartGraphRecursiveInternal(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 nocapture noundef writeonly %9, ptr noundef %10) local_unnamed_addr #3 {
  %12 = alloca %struct.graphdef, align 8
  %13 = alloca %struct.controldef, align 8
  %14 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 248, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %15 = load i64, ptr %0, align 8, !tbaa !5
  %16 = load i64, ptr %1, align 8, !tbaa !5
  call void @libmetis__SetUpGraph2(ptr noundef nonnull %12, i64 noundef %15, i64 noundef %16, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #4
  %17 = load i64, ptr %8, align 8, !tbaa !5
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %26, label %19

19:                                               ; preds = %11
  %20 = getelementptr inbounds i8, ptr %8, i64 8
  %21 = load <2 x i64>, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %8, i64 24
  %23 = load i64, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %8, i64 32
  %25 = load i64, ptr %24, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %11, %19
  %.sink21 = phi i64 [ %23, %19 ], [ 1, %11 ]
  %.sink = phi i64 [ %25, %19 ], [ 0, %11 ]
  %27 = phi <2 x i64> [ %21, %19 ], [ <i64 3, i64 1>, %11 ]
  %28 = getelementptr inbounds i8, ptr %13, i64 16
  store <2 x i64> %27, ptr %28, align 8
  %29 = getelementptr inbounds i8, ptr %13, i64 32
  store i64 %.sink21, ptr %29, align 8
  %30 = getelementptr inbounds i8, ptr %13, i64 8
  store i64 %.sink, ptr %30, align 8
  %31 = getelementptr inbounds i8, ptr %13, i64 56
  store i64 1, ptr %31, align 8, !tbaa !9
  store i64 100, ptr %13, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %13, i64 48
  store float 0x3F8EB851E0000000, ptr %32, align 8, !tbaa !16
  %33 = load i64, ptr %1, align 8, !tbaa !5
  %34 = call ptr @gk_fmalloc(i64 noundef %33, ptr noundef nonnull @.str) #4
  store ptr %34, ptr %14, align 8, !tbaa !17
  %35 = load i64, ptr %1, align 8, !tbaa !5
  %36 = shl i64 %35, 2
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %34, ptr align 1 %7, i64 %36, i1 false)
  call void @libmetis__InitRandom(i64 noundef -1) #4
  %37 = load i64, ptr %6, align 8, !tbaa !5
  call void @libmetis__AllocateWorkSpace(ptr noundef nonnull %13, ptr noundef nonnull %12, i64 noundef %37) #4
  %38 = load i64, ptr %30, align 8, !tbaa !18
  %39 = and i64 %38, 1
  %.not = icmp eq i64 %39, 0
  br i1 %.not, label %.thread, label %40

40:                                               ; preds = %26
  call void @libmetis__InitTimers(ptr noundef nonnull %13) #4
  %.pre = load i64, ptr %30, align 8, !tbaa !18
  %.pre25 = and i64 %.pre, 1
  %41 = icmp eq i64 %.pre25, 0
  br i1 %41, label %.thread, label %42

42:                                               ; preds = %40
  %43 = call double @gk_CPUSeconds() #4
  %44 = getelementptr inbounds i8, ptr %13, i64 152
  %45 = load double, ptr %44, align 8, !tbaa !19
  %46 = fsub double %45, %43
  store double %46, ptr %44, align 8, !tbaa !19
  br label %.thread

.thread:                                          ; preds = %26, %42, %40
  %47 = load i64, ptr %6, align 8, !tbaa !5
  %48 = call i64 @libmetis__MCHMlevelRecursiveBisection(ptr noundef nonnull %13, ptr noundef nonnull %12, i64 noundef %47, ptr noundef %10, ptr noundef %34, i64 noundef 0)
  store i64 %48, ptr %9, align 8, !tbaa !5
  %49 = load i64, ptr %30, align 8, !tbaa !18
  %50 = and i64 %49, 1
  %.not19 = icmp eq i64 %50, 0
  br i1 %.not19, label %.thread29, label %51

51:                                               ; preds = %.thread
  %52 = call double @gk_CPUSeconds() #4
  %53 = getelementptr inbounds i8, ptr %13, i64 152
  %54 = load double, ptr %53, align 8, !tbaa !19
  %55 = fadd double %52, %54
  store double %55, ptr %53, align 8, !tbaa !19
  %.pre24 = load i64, ptr %30, align 8, !tbaa !18
  %.pre26 = and i64 %.pre24, 1
  %56 = icmp eq i64 %.pre26, 0
  br i1 %56, label %.thread29, label %57

57:                                               ; preds = %51
  call void @libmetis__PrintTimers(ptr noundef nonnull %13) #4
  br label %.thread29

.thread29:                                        ; preds = %.thread, %57, %51
  call void @libmetis__FreeWorkSpace(ptr noundef nonnull %13, ptr noundef nonnull %12) #4
  call void (ptr, ...) @gk_free(ptr noundef nonnull %14, ptr noundef null) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 248, ptr nonnull %12) #4
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 56}
!10 = !{!"controldef", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !11, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !12, i64 88, !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, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !14, i64 272}
!11 = !{!"float", !7, i64 0}
!12 = !{!"workspacedef", !13, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !13, i64 32, !6, i64 40, !13, i64 48, !13, i64 56}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!10, !6, i64 0}
!16 = !{!10, !11, i64 48}
!17 = !{!13, !13, i64 0}
!18 = !{!10, !6, i64 8}
!19 = !{!10, !14, i64 152}


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