; LLVM IR from hans-ob1/neural_cam_ros :: src/detector (maxpool_layer)

; 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.layer = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, i32, float, float, float, float, float, float, float, i32, i32, float, i32, i32, i32, i32, float, float, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.network_state = type { ptr, ptr, ptr, ptr, i32, i32, %struct.network }
%struct.network = type { ptr, i32, i32, ptr, float, i32, float, float, ptr, i32, ptr, i32, float, float, float, float, i32, i32, i32, ptr, ptr, i32, i32, i32, float, float, float, i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, ptr }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [62 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

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

; Function Attrs: nounwind uwtable
define dso_local void @make_maxpool_layer(ptr dead_on_unwind noalias writable sret(%struct.layer) align 8 %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #1 {
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 %1, ptr %9, align 4, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !5
  store i32 %6, ptr %14, align 4, !tbaa !5
  store i32 %7, ptr %15, align 4, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 808, i1 false)
  %17 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 0
  store i32 3, ptr %17, align 8, !tbaa !9
  %18 = load i32, ptr %9, align 4, !tbaa !5
  %19 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 11
  store i32 %18, ptr %19, align 8, !tbaa !14
  %20 = load i32, ptr %10, align 4, !tbaa !5
  %21 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 17
  store i32 %20, ptr %21, align 8, !tbaa !15
  %22 = load i32, ptr %11, align 4, !tbaa !5
  %23 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 18
  store i32 %22, ptr %23, align 4, !tbaa !16
  %24 = load i32, ptr %12, align 4, !tbaa !5
  %25 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 19
  store i32 %24, ptr %25, align 8, !tbaa !17
  %26 = load i32, ptr %15, align 4, !tbaa !5
  %27 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 30
  store i32 %26, ptr %27, align 4, !tbaa !18
  %28 = load i32, ptr %11, align 4, !tbaa !5
  %29 = load i32, ptr %15, align 4, !tbaa !5
  %30 = mul nsw i32 2, %29
  %31 = add nsw i32 %28, %30
  %32 = load i32, ptr %14, align 4, !tbaa !5
  %33 = sdiv i32 %31, %32
  %34 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 21
  store i32 %33, ptr %34, align 8, !tbaa !19
  %35 = load i32, ptr %10, align 4, !tbaa !5
  %36 = load i32, ptr %15, align 4, !tbaa !5
  %37 = mul nsw i32 2, %36
  %38 = add nsw i32 %35, %37
  %39 = load i32, ptr %14, align 4, !tbaa !5
  %40 = sdiv i32 %38, %39
  %41 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 20
  store i32 %40, ptr %41, align 4, !tbaa !20
  %42 = load i32, ptr %12, align 4, !tbaa !5
  %43 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 22
  store i32 %42, ptr %43, align 4, !tbaa !21
  %44 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 20
  %45 = load i32, ptr %44, align 4, !tbaa !20
  %46 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 21
  %47 = load i32, ptr %46, align 8, !tbaa !19
  %48 = mul nsw i32 %45, %47
  %49 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 22
  %50 = load i32, ptr %49, align 4, !tbaa !21
  %51 = mul nsw i32 %48, %50
  %52 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 15
  store i32 %51, ptr %52, align 8, !tbaa !22
  %53 = load i32, ptr %10, align 4, !tbaa !5
  %54 = load i32, ptr %11, align 4, !tbaa !5
  %55 = mul nsw i32 %53, %54
  %56 = load i32, ptr %12, align 4, !tbaa !5
  %57 = mul nsw i32 %55, %56
  %58 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 14
  store i32 %57, ptr %58, align 4, !tbaa !23
  %59 = load i32, ptr %13, align 4, !tbaa !5
  %60 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 26
  store i32 %59, ptr %60, align 4, !tbaa !24
  %61 = load i32, ptr %14, align 4, !tbaa !5
  %62 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 28
  store i32 %61, ptr %62, align 4, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %63 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 20
  %64 = load i32, ptr %63, align 4, !tbaa !20
  %65 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 21
  %66 = load i32, ptr %65, align 8, !tbaa !19
  %67 = mul nsw i32 %64, %66
  %68 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 22
  %69 = load i32, ptr %68, align 4, !tbaa !21
  %70 = mul nsw i32 %67, %69
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = mul nsw i32 %70, %71
  store i32 %72, ptr %16, align 4, !tbaa !5
  %73 = load i32, ptr %16, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = call noalias ptr @calloc(i64 noundef %74, i64 noundef 4) #6
  %76 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 79
  store ptr %75, ptr %76, align 8, !tbaa !26
  %77 = load i32, ptr %16, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = call noalias ptr @calloc(i64 noundef %78, i64 noundef 4) #6
  %80 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 101
  store ptr %79, ptr %80, align 8, !tbaa !27
  %81 = load i32, ptr %16, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = call noalias ptr @calloc(i64 noundef %82, i64 noundef 4) #6
  %84 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 100
  store ptr %83, ptr %84, align 8, !tbaa !28
  %85 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 3
  store ptr @forward_maxpool_layer, ptr %85, align 8, !tbaa !29
  %86 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 4
  store ptr @backward_maxpool_layer, ptr %86, align 8, !tbaa !30
  %87 = load ptr, ptr @stderr, align 8, !tbaa !31
  %88 = load i32, ptr %13, align 4, !tbaa !5
  %89 = load i32, ptr %13, align 4, !tbaa !5
  %90 = load i32, ptr %14, align 4, !tbaa !5
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = load i32, ptr %10, align 4, !tbaa !5
  %93 = load i32, ptr %12, align 4, !tbaa !5
  %94 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 21
  %95 = load i32, ptr %94, align 8, !tbaa !19
  %96 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 20
  %97 = load i32, ptr %96, align 4, !tbaa !20
  %98 = getelementptr inbounds %struct.layer, ptr %0, i32 0, i32 22
  %99 = load i32, ptr %98, align 4, !tbaa !21
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str, i32 noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92, i32 noundef %93, i32 noundef %95, i32 noundef %97, i32 noundef %99) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  ret void
}

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @forward_maxpool_layer(ptr noundef byval(%struct.layer) align 8, ptr noundef byval(%struct.network_state) align 8) #1

; Function Attrs: nounwind uwtable
declare dso_local void @backward_maxpool_layer(ptr noundef byval(%struct.layer) align 8, ptr noundef byval(%struct.network_state) align 8) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nounwind allocsize(0,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 #4 = { 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0,1) }

!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 0}
!10 = !{!"layer", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !6, i64 84, !6, i64 88, !6, i64 92, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !6, i64 120, !6, i64 124, !6, i64 128, !6, i64 132, !6, i64 136, !6, i64 140, !6, i64 144, !6, i64 148, !6, i64 152, !6, i64 156, !6, i64 160, !6, i64 164, !6, i64 168, !6, i64 172, !6, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !12, i64 204, !6, i64 208, !6, i64 212, !6, i64 216, !6, i64 220, !6, i64 224, !6, i64 228, !6, i64 232, !6, i64 236, !6, i64 240, !6, i64 244, !6, i64 248, !6, i64 252, !12, i64 256, !12, i64 260, !12, i64 264, !6, i64 268, !12, i64 272, !12, i64 276, !12, i64 280, !12, i64 284, !12, i64 288, !12, i64 292, !12, i64 296, !6, i64 300, !6, i64 304, !12, i64 308, !6, i64 312, !6, i64 316, !6, i64 320, !6, i64 324, !12, i64 328, !12, i64 332, !12, i64 336, !11, i64 344, !11, i64 352, !11, i64 360, !11, i64 368, !11, i64 376, !11, i64 384, !11, i64 392, !11, i64 400, !11, i64 408, !11, i64 416, !11, i64 424, !11, i64 432, !11, i64 440, !11, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !11, i64 520, !11, i64 528, !11, i64 536, !11, i64 544, !11, i64 552, !11, i64 560, !11, i64 568, !11, i64 576, !11, i64 584, !11, i64 592, !11, i64 600, !11, i64 608, !11, i64 616, !11, i64 624, !11, i64 632, !11, i64 640, !11, i64 648, !11, i64 656, !11, i64 664, !11, i64 672, !11, i64 680, !11, i64 688, !11, i64 696, !11, i64 704, !11, i64 712, !11, i64 720, !11, i64 728, !11, i64 736, !11, i64 744, !11, i64 752, !11, i64 760, !11, i64 768, !11, i64 776, !11, i64 784, !11, i64 792, !13, i64 800}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !6, i64 72}
!15 = !{!10, !6, i64 96}
!16 = !{!10, !6, i64 100}
!17 = !{!10, !6, i64 104}
!18 = !{!10, !6, i64 148}
!19 = !{!10, !6, i64 112}
!20 = !{!10, !6, i64 108}
!21 = !{!10, !6, i64 116}
!22 = !{!10, !6, i64 88}
!23 = !{!10, !6, i64 84}
!24 = !{!10, !6, i64 132}
!25 = !{!10, !6, i64 140}
!26 = !{!10, !11, i64 352}
!27 = !{!10, !11, i64 528}
!28 = !{!10, !11, i64 520}
!29 = !{!10, !11, i64 16}
!30 = !{!10, !11, i64 24}
!31 = !{!11, !11, i64 0}


; 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.layer = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, i32, float, float, float, float, float, float, float, i32, i32, float, i32, i32, i32, i32, float, float, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64 }
%struct.network_state = type { ptr, ptr, ptr, ptr, i32, i32, %struct.network }
%struct.network = type { ptr, i32, i32, ptr, float, i32, float, float, ptr, i32, ptr, i32, float, float, float, float, i32, i32, i32, ptr, ptr, i32, i32, i32, float, float, float, i32, i32, i32, i32, i32, i32, float, float, float, float, float, i32, ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [62 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local void @make_maxpool_layer(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.layer) align 8 %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #0 {
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(808) %0, i8 0, i64 808, i1 false)
  store i32 3, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %1, ptr %9, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %2, ptr %10, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 %3, ptr %11, align 4, !tbaa !15
  %12 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 %4, ptr %12, align 8, !tbaa !16
  %13 = getelementptr inbounds i8, ptr %0, i64 148
  store i32 %7, ptr %13, align 4, !tbaa !17
  %14 = shl nsw i32 %7, 1
  %15 = add nsw i32 %14, %3
  %16 = sdiv i32 %15, %6
  %17 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %16, ptr %17, align 8, !tbaa !18
  %18 = add nsw i32 %14, %2
  %19 = sdiv i32 %18, %6
  %20 = getelementptr inbounds i8, ptr %0, i64 108
  store i32 %19, ptr %20, align 4, !tbaa !19
  %21 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 %4, ptr %21, align 4, !tbaa !20
  %22 = mul i32 %16, %4
  %23 = mul i32 %22, %19
  %24 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 %23, ptr %24, align 8, !tbaa !21
  %25 = mul nsw i32 %3, %2
  %26 = mul nsw i32 %25, %4
  %27 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %26, ptr %27, align 4, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %0, i64 132
  store i32 %5, ptr %28, align 4, !tbaa !23
  %29 = getelementptr inbounds i8, ptr %0, i64 140
  store i32 %6, ptr %29, align 4, !tbaa !24
  %30 = mul nsw i32 %23, %1
  %31 = sext i32 %30 to i64
  %32 = tail call noalias ptr @calloc(i64 noundef %31, i64 noundef 4) #5
  %33 = getelementptr inbounds i8, ptr %0, i64 352
  store ptr %32, ptr %33, align 8, !tbaa !25
  %34 = tail call noalias ptr @calloc(i64 noundef %31, i64 noundef 4) #5
  %35 = getelementptr inbounds i8, ptr %0, i64 528
  store ptr %34, ptr %35, align 8, !tbaa !26
  %36 = tail call noalias ptr @calloc(i64 noundef %31, i64 noundef 4) #5
  %37 = getelementptr inbounds i8, ptr %0, i64 520
  store ptr %36, ptr %37, align 8, !tbaa !27
  %38 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr @forward_maxpool_layer, ptr %38, align 8, !tbaa !28
  %39 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr @backward_maxpool_layer, ptr %39, align 8, !tbaa !29
  %40 = load ptr, ptr @stderr, align 8, !tbaa !30
  %41 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %40, ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %5, i32 noundef %6, i32 noundef %3, i32 noundef %2, i32 noundef %4, i32 noundef %16, i32 noundef %19, i32 noundef %4) #6
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @forward_maxpool_layer(ptr noundef byval(%struct.layer) align 8, ptr noundef byval(%struct.network_state) align 8) #3

; Function Attrs: nounwind uwtable
declare dso_local void @backward_maxpool_layer(ptr noundef byval(%struct.layer) align 8, ptr noundef byval(%struct.network_state) align 8) #3

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

attributes #0 = { nofree 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 nounwind willreturn memory(argmem: write) }
attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(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 = { nofree 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 #5 = { nounwind allocsize(0,1) }
attributes #6 = { cold 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, !7, i64 0}
!6 = !{!"layer", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !7, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !7, i64 300, !7, i64 304, !11, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !11, i64 328, !11, i64 332, !11, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !10, i64 376, !10, i64 384, !10, i64 392, !10, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !10, i64 544, !10, i64 552, !10, i64 560, !10, i64 568, !10, i64 576, !10, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !10, i64 616, !10, i64 624, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !10, i64 672, !10, i64 680, !10, i64 688, !10, i64 696, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !10, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !10, i64 792, !12, i64 800}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 72}
!14 = !{!6, !7, i64 96}
!15 = !{!6, !7, i64 100}
!16 = !{!6, !7, i64 104}
!17 = !{!6, !7, i64 148}
!18 = !{!6, !7, i64 112}
!19 = !{!6, !7, i64 108}
!20 = !{!6, !7, i64 116}
!21 = !{!6, !7, i64 88}
!22 = !{!6, !7, i64 84}
!23 = !{!6, !7, i64 132}
!24 = !{!6, !7, i64 140}
!25 = !{!6, !10, i64 352}
!26 = !{!6, !10, i64 528}
!27 = !{!6, !10, i64 520}
!28 = !{!6, !10, i64 16}
!29 = !{!6, !10, i64 24}
!30 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,TailCallElimPass