; LLVM IR from bjourne/fast_snn_fpga :: src (npy)

; 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.npy_arr = type { i32, i32, i8, i32, [10 x i32], i32, ptr, i32 }

@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.npy_save = external hidden unnamed_addr constant [44 x i8], align 1

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

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

; Function Attrs: nounwind
declare i32 @sprintf(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

; Function Attrs: nounwind uwtable
declare dso_local i64 @npy_n_elements(ptr noundef) #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

declare i32 @fclose(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @npy_save(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [2048 x i8], align 16
  %9 = alloca [256 x i8], align 16
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call noalias ptr @fopen(ptr noundef %17, ptr noundef @.str.19)
  store ptr %18, ptr %6, align 8, !tbaa !5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp ne ptr %19, null
  br i1 %20, label %22, label %21

21:                                               ; preds = %2
  store i32 1, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %132

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 2048, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 256, ptr %9) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  call void @npy_format_dims(ptr noundef %23, ptr noundef %24)
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 60, ptr %10, align 1, !tbaa !9
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.npy_arr, ptr %25, i32 0, i32 2
  %27 = load i8, ptr %26, align 8, !tbaa !10
  %28 = sext i8 %27 to i32
  %29 = icmp eq i32 %28, 83
  br i1 %29, label %35, label %30

30:                                               ; preds = %22
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.npy_arr, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 4, !tbaa !13
  %34 = icmp eq i32 %33, 1
  br i1 %34, label %35, label %36

35:                                               ; preds = %30, %22
  store i8 124, ptr %10, align 1, !tbaa !9
  br label %36

36:                                               ; preds = %35, %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store ptr @.str.20, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %37 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %38 = getelementptr inbounds i8, ptr %37, i64 10
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  %40 = load i8, ptr %10, align 1, !tbaa !9
  %41 = sext i8 %40 to i32
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.npy_arr, ptr %42, i32 0, i32 2
  %44 = load i8, ptr %43, align 8, !tbaa !10
  %45 = sext i8 %44 to i32
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.npy_arr, ptr %46, i32 0, i32 3
  %48 = load i32, ptr %47, align 4, !tbaa !13
  %49 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
  %50 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef %39, i32 noundef %41, i32 noundef %45, i32 noundef %48, ptr noundef %49) #6
  %51 = sext i32 %50 to i64
  store i64 %51, ptr %12, align 8, !tbaa !14
  %52 = load i64, ptr %12, align 8, !tbaa !14
  %53 = add i64 %52, 10
  store i64 %53, ptr %12, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %54 = load i64, ptr %12, align 8, !tbaa !14
  %55 = sub i64 64, %54
  %56 = load i64, ptr %12, align 8, !tbaa !14
  %57 = udiv i64 %56, 64
  %58 = mul i64 %57, 64
  %59 = add i64 %55, %58
  store i64 %59, ptr %13, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %60 = load i64, ptr %12, align 8, !tbaa !14
  %61 = load i64, ptr %13, align 8, !tbaa !14
  %62 = add i64 %60, %61
  store i64 %62, ptr %14, align 8, !tbaa !14
  %63 = load i64, ptr %14, align 8, !tbaa !14
  %64 = icmp ult i64 %63, 65535
  br i1 %64, label %65, label %66

65:                                               ; preds = %36
  br label %67

66:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.5, i32 noundef 241, ptr noundef @__PRETTY_FUNCTION__.npy_save) #7
  unreachable

67:                                               ; preds = %65
  %68 = load i64, ptr %12, align 8, !tbaa !14
  %69 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 %68
  %70 = load i64, ptr %13, align 8, !tbaa !14
  call void @llvm.memset.p0.i64(ptr align 1 %69, i8 32, i64 %70, i1 false)
  %71 = load i64, ptr %14, align 8, !tbaa !14
  %72 = sub i64 %71, 1
  %73 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 %72
  store i8 10, ptr %73, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %74 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  store ptr %74, ptr %15, align 8, !tbaa !5
  %75 = load ptr, ptr %15, align 8, !tbaa !5
  %76 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %75, ptr noundef @.str.7) #6
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = sext i32 %76 to i64
  %79 = getelementptr inbounds i8, ptr %77, i64 %78
  store ptr %79, ptr %15, align 8, !tbaa !5
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.npy_arr, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !16
  %83 = trunc i32 %82 to i8
  %84 = load ptr, ptr %15, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i32 1
  store ptr %85, ptr %15, align 8, !tbaa !5
  store i8 %83, ptr %84, align 1, !tbaa !9
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.npy_arr, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !17
  %89 = trunc i32 %88 to i8
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %90, i32 1
  store ptr %91, ptr %15, align 8, !tbaa !5
  store i8 %89, ptr %90, align 1, !tbaa !9
  %92 = load i64, ptr %14, align 8, !tbaa !14
  %93 = sub i64 %92, 10
  %94 = and i64 %93, 255
  %95 = trunc i64 %94 to i8
  %96 = load ptr, ptr %15, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i32 1
  store ptr %97, ptr %15, align 8, !tbaa !5
  store i8 %95, ptr %96, align 1, !tbaa !9
  %98 = load i64, ptr %14, align 8, !tbaa !14
  %99 = sub i64 %98, 10
  %100 = lshr i64 %99, 8
  %101 = trunc i64 %100 to i8
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i32 1
  store ptr %103, ptr %15, align 8, !tbaa !5
  store i8 %101, ptr %102, align 1, !tbaa !9
  %104 = getelementptr inbounds [2048 x i8], ptr %8, i64 0, i64 0
  %105 = load i64, ptr %14, align 8, !tbaa !14
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = call i64 @fwrite(ptr noundef %104, i64 noundef 1, i64 noundef %105, ptr noundef %106)
  %108 = load i64, ptr %14, align 8, !tbaa !14
  %109 = icmp ne i64 %107, %108
  br i1 %109, label %110, label %111

110:                                              ; preds = %67
  store i32 5, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %131

111:                                              ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = call i64 @npy_n_elements(ptr noundef %112)
  store i64 %113, ptr %16, align 8, !tbaa !14
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.npy_arr, ptr %114, i32 0, i32 6
  %116 = load ptr, ptr %115, align 8, !tbaa !18
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.npy_arr, ptr %117, i32 0, i32 3
  %119 = load i32, ptr %118, align 4, !tbaa !13
  %120 = sext i32 %119 to i64
  %121 = load i64, ptr %16, align 8, !tbaa !14
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = call i64 @fwrite(ptr noundef %116, i64 noundef %120, i64 noundef %121, ptr noundef %122)
  %124 = load i64, ptr %16, align 8, !tbaa !14
  %125 = icmp ne i64 %123, %124
  br i1 %125, label %126, label %127

126:                                              ; preds = %111
  store i32 6, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %130

127:                                              ; preds = %111
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = call i32 @fclose(ptr noundef %128)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %130

130:                                              ; preds = %127, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %131

131:                                              ; preds = %130, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %8) #6
  br label %132

132:                                              ; preds = %131, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %133 = load i32, ptr %3, align 4
  ret i32 %133
}

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

declare i64 @fwrite(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

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 = { 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 #3 = { noreturn 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 #4 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!7, !7, i64 0}
!10 = !{!11, !7, i64 8}
!11 = !{!"", !12, i64 0, !12, i64 4, !7, i64 8, !12, i64 12, !7, i64 16, !12, i64 56, !6, i64 64, !12, i64 72}
!12 = !{!"int", !7, i64 0}
!13 = !{!11, !12, i64 12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!11, !12, i64 0}
!17 = !{!11, !12, i64 4}
!18 = !{!11, !6, i64 64}


; 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"

@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@__PRETTY_FUNCTION__.npy_save = external hidden unnamed_addr constant [44 x i8], align 1

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) 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

; Function Attrs: nounwind uwtable
declare dso_local i64 @npy_n_elements(ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 7) i32 @npy_save(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca [2048 x i8], align 16
  %4 = alloca [256 x i8], align 16
  %5 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.19)
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %52, label %._crit_edge

._crit_edge:                                      ; preds = %2
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #5
  call void @npy_format_dims(ptr noundef %0, ptr noundef nonnull %4)
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i8, ptr %6, align 8, !tbaa !5
  %8 = icmp eq i8 %7, 83
  %.phi.trans.insert.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 12
  %.pre.pre = load i32, ptr %.phi.trans.insert.phi.trans.insert, align 4, !tbaa !11
  %9 = icmp eq i32 %.pre.pre, 1
  %10 = or i1 %8, %9
  %.038 = select i1 %10, i32 124, i32 60
  %11 = getelementptr inbounds i8, ptr %3, i64 10
  %12 = sext i8 %7 to i32
  %13 = getelementptr inbounds i8, ptr %0, i64 12
  %14 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.20, i32 noundef %.038, i32 noundef %12, i32 noundef %.pre.pre, ptr noundef nonnull %4) #5
  %15 = sext i32 %14 to i64
  %16 = add nsw i64 %15, 10
  %17 = and i64 %16, -64
  %reass.sub = sub nsw i64 %17, %15
  %18 = add nsw i64 %reass.sub, 54
  %19 = add nsw i64 %18, %16
  %20 = icmp ult i64 %19, 65535
  br i1 %20, label %22, label %21

21:                                               ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.5, i32 noundef 241, ptr noundef nonnull @__PRETTY_FUNCTION__.npy_save) #6
  unreachable

22:                                               ; preds = %._crit_edge
  %23 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 %16
  call void @llvm.memset.p0.i64(ptr nonnull align 1 %23, i8 32, i64 %18, i1 false)
  %24 = add nsw i64 %19, -1
  %25 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 %24
  store i8 10, ptr %25, align 1, !tbaa !12
  %26 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) @.str.7) #5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i8, ptr %3, i64 %27
  %29 = load i32, ptr %0, align 8, !tbaa !13
  %30 = trunc i32 %29 to i8
  %31 = getelementptr inbounds i8, ptr %28, i64 1
  store i8 %30, ptr %28, align 1, !tbaa !12
  %32 = getelementptr inbounds i8, ptr %0, i64 4
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = trunc i32 %33 to i8
  %35 = getelementptr inbounds i8, ptr %28, i64 2
  store i8 %34, ptr %31, align 1, !tbaa !12
  %36 = trunc i64 %17 to i8
  %37 = or disjoint i8 %36, 54
  %38 = getelementptr inbounds i8, ptr %28, i64 3
  store i8 %37, ptr %35, align 1, !tbaa !12
  %39 = lshr i64 %16, 8
  %40 = trunc i64 %39 to i8
  store i8 %40, ptr %38, align 1, !tbaa !12
  %41 = call i64 @fwrite(ptr noundef nonnull %3, i64 noundef 1, i64 noundef %19, ptr noundef nonnull %5)
  %.not41 = icmp eq i64 %41, %19
  br i1 %.not41, label %42, label %51

42:                                               ; preds = %22
  %43 = call i64 @npy_n_elements(ptr noundef nonnull %0)
  %44 = getelementptr inbounds i8, ptr %0, i64 64
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = load i32, ptr %13, align 4, !tbaa !11
  %47 = sext i32 %46 to i64
  %48 = call i64 @fwrite(ptr noundef %45, i64 noundef %47, i64 noundef %43, ptr noundef nonnull %5)
  %.not42 = icmp eq i64 %48, %43
  br i1 %.not42, label %49, label %51

49:                                               ; preds = %42
  %50 = call i32 @fclose(ptr noundef nonnull %5)
  br label %51

51:                                               ; preds = %49, %42, %22
  %.1 = phi i32 [ 5, %22 ], [ 0, %49 ], [ 6, %42 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #5
  br label %52

52:                                               ; preds = %2, %51
  %.2 = phi i32 [ %.1, %51 ], [ 1, %2 ]
  ret i32 %.2
}

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

; Function Attrs: nofree nounwind
declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { noreturn 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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, !8, i64 8}
!6 = !{!"", !7, i64 0, !7, i64 4, !8, i64 8, !7, i64 12, !8, i64 16, !7, i64 56, !10, i64 64, !7, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 12}
!12 = !{!8, !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !7, i64 4}
!15 = !{!6, !10, i64 64}


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