; LLVM IR from ihucos/plash :: recall (recall_main)

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

@.str.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@stderr = external global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@pl_array = external global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @command_accepts_image_id(ptr noundef) #0

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @command_prints_image_id(ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local i32 @recall_main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca [4 x ptr], align 8
  %11 = alloca ptr, align 8
  %12 = alloca [5 x ptr], align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %13 = call i32 @getsid(i32 noundef 0) #6
  %14 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %6, ptr noundef @.str.13, i32 noundef %13) #6
  %15 = icmp eq i32 %14, -1
  br i1 %15, label %16, label %18

16:                                               ; preds = %2
  %17 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.14)
  br label %18

18:                                               ; preds = %16, %2
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = icmp sle i32 %19, 1
  br i1 %20, label %21, label %24

21:                                               ; preds = %18
  %22 = load ptr, ptr @stderr, align 8, !tbaa !9
  %23 = call i32 @fputs(ptr noundef @.str.15, ptr noundef %22)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %112

24:                                               ; preds = %18
  %25 = call ptr @pl_array_add(ptr noundef @.str.16)
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i64 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  %29 = call i32 @strcmp(ptr noundef %28, ptr noundef @.str.17) #7
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %45

31:                                               ; preds = %24
  %32 = load ptr, ptr %5, align 8, !tbaa !9
  %33 = getelementptr inbounds ptr, ptr %32, i64 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = call ptr @pl_array_add(ptr noundef %34)
  %36 = load ptr, ptr %5, align 8, !tbaa !9
  %37 = getelementptr inbounds ptr, ptr %36, i64 2
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = call ptr @pl_array_add(ptr noundef %38)
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = getelementptr inbounds ptr, ptr %40, i64 2
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  store ptr %42, ptr %7, align 8, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = getelementptr inbounds ptr, ptr %43, i32 1
  store ptr %44, ptr %5, align 8, !tbaa !9
  br label %53

45:                                               ; preds = %24
  %46 = load ptr, ptr %5, align 8, !tbaa !9
  %47 = getelementptr inbounds ptr, ptr %46, i64 1
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = call ptr @pl_array_add(ptr noundef %48)
  %50 = load ptr, ptr %5, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 1
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  store ptr %52, ptr %7, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %45, %31
  %54 = load ptr, ptr %7, align 8, !tbaa !9
  %55 = call i32 @command_accepts_image_id(ptr noundef %54)
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %74

57:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store ptr @.str.16, ptr %10, align 8, !tbaa !9
  %58 = getelementptr inbounds ptr, ptr %10, i64 1
  store ptr @.str.18, ptr %58, align 8, !tbaa !9
  %59 = getelementptr inbounds ptr, ptr %10, i64 2
  %60 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %60, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds ptr, ptr %10, i64 3
  store ptr null, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds [4 x ptr], ptr %10, i64 0, i64 0
  %63 = call ptr @pl_check_output(ptr noundef %62)
  %64 = call ptr @pl_firstline(ptr noundef %63)
  store ptr %64, ptr %9, align 8, !tbaa !9
  %65 = load ptr, ptr %9, align 8, !tbaa !9
  %66 = call i32 @strcmp(ptr noundef %65, ptr noundef @.str.19) #7
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %71

68:                                               ; preds = %57
  %69 = call ptr @__errno_location() #8
  store i32 0, ptr %69, align 4, !tbaa !5
  %70 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.20)
  br label %71

71:                                               ; preds = %68, %57
  %72 = load ptr, ptr %9, align 8, !tbaa !9
  %73 = call ptr @pl_array_add(ptr noundef %72)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %74

74:                                               ; preds = %71, %53
  %75 = load ptr, ptr %5, align 8, !tbaa !9
  %76 = getelementptr inbounds ptr, ptr %75, i32 1
  store ptr %76, ptr %5, align 8, !tbaa !9
  br label %77

77:                                               ; preds = %82, %74
  %78 = load ptr, ptr %5, align 8, !tbaa !9
  %79 = getelementptr inbounds ptr, ptr %78, i32 1
  store ptr %79, ptr %5, align 8, !tbaa !9
  %80 = load ptr, ptr %78, align 8, !tbaa !9
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %86

82:                                               ; preds = %77
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = call ptr @pl_array_add(ptr noundef %84)
  br label %77, !llvm.loop !11

86:                                               ; preds = %77
  %87 = call ptr @pl_array_add(ptr noundef null)
  %88 = load ptr, ptr %7, align 8, !tbaa !9
  %89 = call i32 @command_prints_image_id(ptr noundef %88)
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %104

91:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %92 = load ptr, ptr @pl_array, align 8, !tbaa !9
  %93 = call ptr @pl_check_output(ptr noundef %92)
  %94 = call ptr @pl_firstline(ptr noundef %93)
  store ptr %94, ptr %11, align 8, !tbaa !9
  store ptr @.str.16, ptr %12, align 8, !tbaa !9
  %95 = getelementptr inbounds ptr, ptr %12, i64 1
  store ptr @.str.18, ptr %95, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %12, i64 2
  %97 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %97, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds ptr, ptr %12, i64 3
  %99 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %99, ptr %98, align 8, !tbaa !9
  %100 = getelementptr inbounds ptr, ptr %12, i64 4
  store ptr null, ptr %100, align 8, !tbaa !9
  %101 = getelementptr inbounds [5 x ptr], ptr %12, i64 0, i64 0
  %102 = call ptr @pl_check_output(ptr noundef %101)
  %103 = call ptr @pl_firstline(ptr noundef %102)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %111

104:                                              ; preds = %86
  %105 = load ptr, ptr @pl_array, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 0
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = load ptr, ptr @pl_array, align 8, !tbaa !9
  %109 = call i32 @execvp(ptr noundef %107, ptr noundef %108) #6
  %110 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.21)
  br label %111

111:                                              ; preds = %104, %91
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %112

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

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #3

; Function Attrs: nounwind
declare i32 @getsid(i32 noundef) #3

declare i32 @pl_fatal(ptr noundef, ...) #4

declare i32 @fputs(ptr noundef, ptr noundef) #4

declare ptr @pl_array_add(ptr noundef) #4

declare ptr @pl_firstline(ptr noundef) #4

declare ptr @pl_check_output(ptr noundef) #4

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #5

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

; Function Attrs: nounwind
declare i32 @execvp(ptr noundef, ptr noundef) #3

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 = { nounwind willreturn memory(read) "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { nounwind willreturn memory(none) "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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind willreturn memory(none) }

!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, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; 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.13 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [35 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.16 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@pl_array = external local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @recall_main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca [4 x ptr], align 8
  %5 = alloca [5 x ptr], align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %6 = tail call i32 @getsid(i32 noundef 0) #7
  %7 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %3, ptr noundef nonnull @.str.13, i32 noundef %6) #7
  %8 = icmp eq i32 %7, -1
  br i1 %8, label %9, label %11

9:                                                ; preds = %2
  %10 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.14) #7
  br label %11

11:                                               ; preds = %9, %2
  %12 = icmp slt i32 %0, 2
  br i1 %12, label %13, label %16

13:                                               ; preds = %11
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = call i32 @fputs(ptr noundef nonnull @.str.15, ptr noundef %14) #8
  br label %67

16:                                               ; preds = %11
  %17 = call ptr @pl_array_add(ptr noundef nonnull @.str.16) #7
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %19, ptr noundef nonnull dereferenceable(1) @.str.17) #9
  %21 = icmp eq i32 %20, 0
  %22 = call ptr @pl_array_add(ptr noundef %19) #7
  br i1 %21, label %23, label %27

23:                                               ; preds = %16
  %24 = getelementptr inbounds i8, ptr %1, i64 16
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = call ptr @pl_array_add(ptr noundef %25) #7
  br label %27

27:                                               ; preds = %16, %23
  %.017.in = phi ptr [ %24, %23 ], [ %18, %16 ]
  %.016 = phi ptr [ %18, %23 ], [ %1, %16 ]
  %.017 = load ptr, ptr %.017.in, align 8, !tbaa !5
  %28 = call i32 @command_accepts_image_id(ptr noundef %.017)
  %.not = icmp eq i32 %28, 0
  br i1 %.not, label %43, label %29

29:                                               ; preds = %27
  store ptr @.str.16, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr @.str.18, ptr %30, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %4, i64 16
  %32 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %32, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %4, i64 24
  store ptr null, ptr %33, align 8, !tbaa !5
  %34 = call ptr @pl_check_output(ptr noundef nonnull %4) #7
  %35 = call ptr @pl_firstline(ptr noundef %34) #7
  %36 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %35, ptr noundef nonnull dereferenceable(1) @.str.19) #9
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %41

38:                                               ; preds = %29
  %39 = tail call ptr @__errno_location() #10
  store i32 0, ptr %39, align 4, !tbaa !9
  %40 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.20) #7
  br label %41

41:                                               ; preds = %38, %29
  %42 = call ptr @pl_array_add(ptr noundef %35) #7
  br label %43

43:                                               ; preds = %41, %27
  %44 = getelementptr inbounds i8, ptr %.016, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %.not1820 = icmp eq ptr %45, null
  br i1 %.not1820, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %43, %.lr.ph
  %.121 = phi ptr [ %46, %.lr.ph ], [ %44, %43 ]
  %46 = getelementptr inbounds i8, ptr %.121, i64 8
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = call ptr @pl_array_add(ptr noundef %47) #7
  %49 = load ptr, ptr %46, align 8, !tbaa !5
  %.not18 = icmp eq ptr %49, null
  br i1 %.not18, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %43
  %50 = call ptr @pl_array_add(ptr noundef null) #7
  %51 = call i32 @command_prints_image_id(ptr noundef %.017)
  %.not19 = icmp eq i32 %51, 0
  %52 = load ptr, ptr @pl_array, align 8, !tbaa !5
  br i1 %.not19, label %63, label %53

53:                                               ; preds = %._crit_edge
  %54 = call ptr @pl_check_output(ptr noundef %52) #7
  %55 = call ptr @pl_firstline(ptr noundef %54) #7
  store ptr @.str.16, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %5, i64 8
  store ptr @.str.18, ptr %56, align 8, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %5, i64 16
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %58, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %5, i64 24
  store ptr %55, ptr %59, align 8, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %5, i64 32
  store ptr null, ptr %60, align 8, !tbaa !5
  %61 = call ptr @pl_check_output(ptr noundef nonnull %5) #7
  %62 = call ptr @pl_firstline(ptr noundef %61) #7
  br label %67

63:                                               ; preds = %._crit_edge
  %64 = load ptr, ptr %52, align 8, !tbaa !5
  %65 = call i32 @execvp(ptr noundef %64, ptr noundef nonnull %52) #7
  %66 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.21) #7
  br label %67

67:                                               ; preds = %53, %63, %13
  %.0 = phi i32 [ 1, %13 ], [ 0, %63 ], [ 0, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  ret i32 %.0
}

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @getsid(i32 noundef) local_unnamed_addr #3

declare i32 @pl_fatal(ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #5

declare ptr @pl_array_add(ptr noundef) local_unnamed_addr #4

declare ptr @pl_firstline(ptr noundef) local_unnamed_addr #4

declare ptr @pl_check_output(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #6

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

; Function Attrs: nofree nounwind
declare i32 @execvp(ptr noundef, ptr noundef) local_unnamed_addr #5

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 nofree nounwind willreturn memory(argmem: read) "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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 #6 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #7 = { nounwind }
attributes #8 = { cold }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { nounwind willreturn memory(none) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass