; LLVM IR from intel/cryptography-primitives :: sources/ippcp/gfpec (pcpgfpxmethod_com_mul)

; 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._gsModEngine = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, i32, i32, ptr }
%struct._gsModMethod = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local ptr @cpGFpxMul_com(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct._gsModEngine, ptr %21, i32 0, i32 1
  %23 = load i32, ptr %22, align 8, !tbaa !9
  store i32 %23, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct._gsModEngine, ptr %24, i32 0, i32 8
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  store ptr %26, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %27 = load i32, ptr %9, align 4, !tbaa !13
  %28 = sub nsw i32 %27, 1
  store i32 %28, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct._gsModEngine, ptr %29, i32 0, i32 3
  %31 = load i32, ptr %30, align 8, !tbaa !15
  store i32 %31, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %32 = load i32, ptr %11, align 4, !tbaa !13
  store i32 %32, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = call ptr @gsModPoolAlloc(ptr noundef %33, i32 noundef 2)
  store ptr %34, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct._gsModEngine, ptr %36, i32 0, i32 5
  %38 = load i32, ptr %37, align 8, !tbaa !16
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i64, ptr %35, i64 %39
  store ptr %40, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct._gsModEngine, ptr %41, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  store ptr %43, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %44 = load ptr, ptr %16, align 8, !tbaa !5
  %45 = call ptr @gsModPoolAlloc(ptr noundef %44, i32 noundef 1)
  store ptr %45, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %46 = load ptr, ptr %16, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct._gsModEngine, ptr %46, i32 0, i32 3
  %48 = load i32, ptr %47, align 8, !tbaa !15
  store i32 %48, ptr %18, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i32, ptr %18, align 4, !tbaa !13
  %51 = load i32, ptr %13, align 4, !tbaa !13
  %52 = mul nsw i32 %50, %51
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i64, ptr %49, i64 %53
  store ptr %54, ptr %19, align 8, !tbaa !5
  %55 = load ptr, ptr %14, align 8, !tbaa !5
  %56 = load i32, ptr %12, align 4, !tbaa !13
  %57 = call ptr @cpGFpElementPad(ptr noundef %55, i32 noundef %56, i64 noundef 0)
  %58 = load ptr, ptr %15, align 8, !tbaa !5
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = load ptr, ptr %19, align 8, !tbaa !5
  %61 = load ptr, ptr %8, align 8, !tbaa !5
  %62 = call ptr @cpGFpxMul_GFE(ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
  %63 = load i32, ptr %13, align 4, !tbaa !13
  %64 = sub nsw i32 %63, 1
  store i32 %64, ptr %13, align 4, !tbaa !13
  br label %65

65:                                               ; preds = %140, %4
  %66 = load i32, ptr %13, align 4, !tbaa !13
  %67 = icmp sge i32 %66, 0
  br i1 %67, label %68, label %143

68:                                               ; preds = %65
  %69 = load ptr, ptr %17, align 8, !tbaa !5
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = load i32, ptr %18, align 4, !tbaa !13
  %72 = load i32, ptr %11, align 4, !tbaa !13
  %73 = mul nsw i32 %71, %72
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i64, ptr %70, i64 %74
  %76 = load i32, ptr %18, align 4, !tbaa !13
  %77 = call ptr @cpGFpElementCopy(ptr noundef %69, ptr noundef %75, i32 noundef %76)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %78 = load i32, ptr %11, align 4, !tbaa !13
  store i32 %78, ptr %20, align 4, !tbaa !13
  br label %79

79:                                               ; preds = %98, %68
  %80 = load i32, ptr %20, align 4, !tbaa !13
  %81 = icmp sge i32 %80, 1
  br i1 %81, label %82, label %101

82:                                               ; preds = %79
  %83 = load ptr, ptr %15, align 8, !tbaa !5
  %84 = load i32, ptr %18, align 4, !tbaa !13
  %85 = load i32, ptr %20, align 4, !tbaa !13
  %86 = mul nsw i32 %84, %85
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds i64, ptr %83, i64 %87
  %89 = load ptr, ptr %15, align 8, !tbaa !5
  %90 = load i32, ptr %18, align 4, !tbaa !13
  %91 = load i32, ptr %20, align 4, !tbaa !13
  %92 = sub nsw i32 %91, 1
  %93 = mul nsw i32 %90, %92
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i64, ptr %89, i64 %94
  %96 = load i32, ptr %18, align 4, !tbaa !13
  %97 = call ptr @cpGFpElementCopy(ptr noundef %88, ptr noundef %95, i32 noundef %96)
  br label %98

98:                                               ; preds = %82
  %99 = load i32, ptr %20, align 4, !tbaa !13
  %100 = add nsw i32 %99, -1
  store i32 %100, ptr %20, align 4, !tbaa !13
  br label %79, !llvm.loop !18

101:                                              ; preds = %79
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = load i32, ptr %18, align 4, !tbaa !13
  %104 = call ptr @cpGFpElementPad(ptr noundef %102, i32 noundef %103, i64 noundef 0)
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  %105 = load ptr, ptr %14, align 8, !tbaa !5
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = call ptr @cpGFpxMul_GFE(ptr noundef %105, ptr noundef %106, ptr noundef %107, ptr noundef %108)
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct._gsModEngine, ptr %110, i32 0, i32 6
  %112 = load ptr, ptr %111, align 8, !tbaa !20
  %113 = getelementptr inbounds %struct._gsModMethod, ptr %112, i32 0, i32 6
  %114 = load ptr, ptr %113, align 8, !tbaa !21
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = call ptr %114(ptr noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %118)
  %120 = load i32, ptr %18, align 4, !tbaa !13
  %121 = load ptr, ptr %19, align 8, !tbaa !5
  %122 = sext i32 %120 to i64
  %123 = sub i64 0, %122
  %124 = getelementptr inbounds i64, ptr %121, i64 %123
  store ptr %124, ptr %19, align 8, !tbaa !5
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %6, align 8, !tbaa !5
  %127 = load ptr, ptr %19, align 8, !tbaa !5
  %128 = load ptr, ptr %8, align 8, !tbaa !5
  %129 = call ptr @cpGFpxMul_GFE(ptr noundef %125, ptr noundef %126, ptr noundef %127, ptr noundef %128)
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct._gsModEngine, ptr %130, i32 0, i32 6
  %132 = load ptr, ptr %131, align 8, !tbaa !20
  %133 = getelementptr inbounds %struct._gsModMethod, ptr %132, i32 0, i32 5
  %134 = load ptr, ptr %133, align 8, !tbaa !23
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = load ptr, ptr %14, align 8, !tbaa !5
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = call ptr %134(ptr noundef %135, ptr noundef %136, ptr noundef %137, ptr noundef %138)
  br label %140

140:                                              ; preds = %101
  %141 = load i32, ptr %13, align 4, !tbaa !13
  %142 = add nsw i32 %141, -1
  store i32 %142, ptr %13, align 4, !tbaa !13
  br label %65, !llvm.loop !24

143:                                              ; preds = %65
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = load ptr, ptr %15, align 8, !tbaa !5
  %146 = load i32, ptr %12, align 4, !tbaa !13
  %147 = call ptr @cpGFpElementCopy(ptr noundef %144, ptr noundef %145, i32 noundef %146)
  %148 = load ptr, ptr %16, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %148, i32 noundef 1)
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %149, i32 noundef 2)
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret ptr %150
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @gsModPoolAlloc(ptr noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementPad(ptr noundef, i32 noundef, i64 noundef) #2

declare ptr @cpGFpxMul_GFE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementCopy(ptr noundef, ptr noundef, i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @gsModPoolFree(ptr noundef, i32 noundef) #2

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 = { inlinehint 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 #3 = { "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, !11, i64 8}
!10 = !{!"_gsModEngine", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !12, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !6, i64 104}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 48}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 24}
!17 = !{!10, !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!10, !6, i64 32}
!21 = !{!22, !6, i64 48}
!22 = !{!"_gsModMethod", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!23 = !{!22, !6, i64 40}
!24 = distinct !{!24, !19}


; 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 ptr @cpGFpxMul_com(ptr noundef returned %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %3, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %3, i64 48
  %8 = load ptr, ptr %7, align 8, !tbaa !12
  %9 = add nsw i32 %6, -1
  %10 = getelementptr inbounds i8, ptr %3, i64 16
  %11 = load i32, ptr %10, align 8, !tbaa !13
  %12 = tail call ptr @gsModPoolAlloc(ptr noundef %3, i32 noundef 2)
  %13 = getelementptr inbounds i8, ptr %3, i64 24
  %14 = load i32, ptr %13, align 8, !tbaa !14
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds i64, ptr %12, i64 %15
  %17 = load ptr, ptr %3, align 8, !tbaa !15
  %18 = tail call ptr @gsModPoolAlloc(ptr noundef %17, i32 noundef 1)
  %19 = getelementptr inbounds i8, ptr %17, i64 16
  %20 = load i32, ptr %19, align 8, !tbaa !13
  %21 = mul nsw i32 %20, %9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i64, ptr %2, i64 %22
  %24 = tail call ptr @cpGFpElementPad(ptr noundef %12, i32 noundef %11, i64 noundef 0)
  %25 = tail call ptr @cpGFpxMul_GFE(ptr noundef %16, ptr noundef %1, ptr noundef %23, ptr noundef nonnull %3) #3
  %26 = icmp sgt i32 %6, 1
  br i1 %26, label %.lr.ph.us.preheader, label %._crit_edge72

.lr.ph.us.preheader:                              ; preds = %4
  %27 = getelementptr inbounds i64, ptr %16, i64 %22
  %28 = getelementptr inbounds i8, ptr %3, i64 32
  %29 = sext i32 %20 to i64
  %30 = sub nsw i64 0, %29
  %31 = add nsw i32 %6, -2
  %32 = zext nneg i32 %6 to i64
  %33 = add nsw i64 %32, -1
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %.06569.us = phi ptr [ %48, %._crit_edge.us ], [ %23, %.lr.ph.us.preheader ]
  %.06668.us = phi i32 [ %54, %._crit_edge.us ], [ %31, %.lr.ph.us.preheader ]
  %34 = tail call ptr @cpGFpElementCopy(ptr noundef %18, ptr noundef %27, i32 noundef %20)
  br label %35

35:                                               ; preds = %.lr.ph.us, %35
  %indvars.iv = phi i64 [ %33, %.lr.ph.us ], [ %indvars.iv.next, %35 ]
  %36 = mul nsw i64 %indvars.iv, %29
  %37 = getelementptr inbounds i64, ptr %16, i64 %36
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %38 = mul nsw i64 %indvars.iv.next, %29
  %39 = getelementptr inbounds i64, ptr %16, i64 %38
  %40 = tail call ptr @cpGFpElementCopy(ptr noundef %37, ptr noundef %39, i32 noundef %20)
  %41 = icmp sgt i64 %indvars.iv, 1
  br i1 %41, label %35, label %._crit_edge.us, !llvm.loop !16

._crit_edge.us:                                   ; preds = %35
  %42 = tail call ptr @cpGFpElementPad(ptr noundef %16, i32 noundef %20, i64 noundef 0)
  %43 = tail call ptr @cpGFpxMul_GFE(ptr noundef %12, ptr noundef %8, ptr noundef %18, ptr noundef nonnull %3) #3
  %44 = load ptr, ptr %28, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %44, i64 48
  %46 = load ptr, ptr %45, align 8, !tbaa !19
  %47 = tail call ptr %46(ptr noundef %16, ptr noundef %16, ptr noundef %12, ptr noundef nonnull %3) #3
  %48 = getelementptr inbounds i64, ptr %.06569.us, i64 %30
  %49 = tail call ptr @cpGFpxMul_GFE(ptr noundef %12, ptr noundef %1, ptr noundef %48, ptr noundef nonnull %3) #3
  %50 = load ptr, ptr %28, align 8, !tbaa !18
  %51 = getelementptr inbounds i8, ptr %50, i64 40
  %52 = load ptr, ptr %51, align 8, !tbaa !21
  %53 = tail call ptr %52(ptr noundef %16, ptr noundef %16, ptr noundef %12, ptr noundef nonnull %3) #3
  %54 = add nsw i32 %.06668.us, -1
  %55 = icmp sgt i32 %.06668.us, 0
  br i1 %55, label %.lr.ph.us, label %._crit_edge72, !llvm.loop !22

._crit_edge72:                                    ; preds = %._crit_edge.us, %4
  %56 = tail call ptr @cpGFpElementCopy(ptr noundef %0, ptr noundef %16, i32 noundef %11)
  tail call void @gsModPoolFree(ptr noundef %17, i32 noundef 1)
  tail call void @gsModPoolFree(ptr noundef nonnull %3, i32 noundef 2)
  ret ptr %0
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @gsModPoolAlloc(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementPad(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1

declare ptr @cpGFpxMul_GFE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementCopy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @gsModPoolFree(ptr noundef, i32 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 = { inlinehint 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, !10, i64 8}
!6 = !{!"_gsModEngine", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !11, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !10, i64 96, !10, i64 100, !7, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!6, !7, i64 48}
!13 = !{!6, !10, i64 16}
!14 = !{!6, !10, i64 24}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!6, !7, i64 32}
!19 = !{!20, !7, i64 48}
!20 = !{!"_gsModMethod", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80}
!21 = !{!20, !7, i64 40}
!22 = distinct !{!22, !17}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass