; LLVM IR from tangjz/acm-icpc :: poj (4001)

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

@g = external dso_local global [11 x [11 x i8]], align 16
@_ZL2dx = external hidden constant [4 x i32], align 16
@_ZL2dy = external hidden constant [4 x i32], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9checkmateii(i32 noundef, i32 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca [2 x i8], align 1
  %8 = alloca i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #5
  br label %11

11:                                               ; preds = %81, %0
  %12 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
  %13 = icmp eq i32 %12, 3
  br i1 %13, label %14, label %23

14:                                               ; preds = %11
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = icmp ne i32 %15, 0
  br i1 %16, label %17, label %23

17:                                               ; preds = %14
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = load i32, ptr %4, align 4, !tbaa !5
  %22 = icmp ne i32 %21, 0
  br label %23

23:                                               ; preds = %20, %17, %14, %11
  %24 = phi i1 [ false, %17 ], [ false, %14 ], [ false, %11 ], [ %22, %20 ]
  br i1 %24, label %25, label %87

25:                                               ; preds = %23
  call void @llvm.memset.p0.i64(ptr align 16 @g, i8 0, i64 121, i1 false)
  br label %26

26:                                               ; preds = %30, %25
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = add nsw i32 %27, -1
  store i32 %28, ptr %2, align 4, !tbaa !5
  %29 = icmp ne i32 %27, 0
  br i1 %29, label %30, label %41

30:                                               ; preds = %26
  %31 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %31, ptr noundef %5, ptr noundef %6)
  %33 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = load i32, ptr %5, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [11 x [11 x i8]], ptr @g, i64 0, i64 %36
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [11 x i8], ptr %37, i64 0, i64 %39
  store i8 %34, ptr %40, align 1, !tbaa !9
  br label %26, !llvm.loop !10

41:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 1, ptr %8, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %77, %41
  %43 = load i32, ptr %9, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 4
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 6, ptr %10, align 4
  br label %80

46:                                               ; preds = %42
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = load i32, ptr %9, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [4 x i32], ptr @_ZL2dx, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = add nsw i32 %47, %51
  store i32 %52, ptr %5, align 4, !tbaa !5
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = load i32, ptr %9, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [4 x i32], ptr @_ZL2dy, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = add nsw i32 %53, %57
  store i32 %58, ptr %6, align 4, !tbaa !5
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = icmp slt i32 %59, 1
  br i1 %60, label %70, label %61

61:                                               ; preds = %46
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = icmp sgt i32 %62, 3
  br i1 %63, label %70, label %64

64:                                               ; preds = %61
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = icmp slt i32 %65, 4
  br i1 %66, label %70, label %67

67:                                               ; preds = %64
  %68 = load i32, ptr %6, align 4, !tbaa !5
  %69 = icmp sgt i32 %68, 6
  br i1 %69, label %70, label %71

70:                                               ; preds = %67, %64, %61, %46
  br label %77

71:                                               ; preds = %67
  %72 = load i32, ptr %5, align 4, !tbaa !5
  %73 = load i32, ptr %6, align 4, !tbaa !5
  %74 = call noundef zeroext i1 @_Z9checkmateii(i32 noundef %72, i32 noundef %73)
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  store i8 0, ptr %8, align 1, !tbaa !12
  store i32 6, ptr %10, align 4
  br label %80

76:                                               ; preds = %71
  br label %77

77:                                               ; preds = %76, %70
  %78 = load i32, ptr %9, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %9, align 4, !tbaa !5
  br label %42, !llvm.loop !14

80:                                               ; preds = %75, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %81

81:                                               ; preds = %80
  %82 = load i8, ptr %8, align 1, !tbaa !12, !range !15, !noundef !16
  %83 = trunc i8 %82 to i1
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, ptr @.str.2, ptr @.str.3
  %86 = call i32 @puts(ptr noundef %85)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %11, !llvm.loop !17

87:                                               ; preds = %23
  store i32 0, ptr %1, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %88 = load i32, ptr %1, align 4
  ret i32 %88
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

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

declare i32 @puts(ptr noundef) #3

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = distinct !{!14, !11}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !11}


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

@g = external dso_local local_unnamed_addr global [11 x [11 x i8]], align 16
@_ZL2dx = external hidden local_unnamed_addr constant [4 x i32], align 16
@_ZL2dy = external hidden local_unnamed_addr constant [4 x i32], align 16
@.str = external hidden unnamed_addr constant [7 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z9checkmateii(i32 noundef, i32 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca [2 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %6) #5
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %8 = icmp eq i32 %7, 3
  %9 = load i32, ptr %1, align 4
  %10 = icmp ne i32 %9, 0
  %or.cond22 = select i1 %8, i1 %10, i1 false
  %11 = load i32, ptr %2, align 4
  %12 = icmp ne i32 %11, 0
  %or.cond323 = select i1 %or.cond22, i1 %12, i1 false
  %13 = load i32, ptr %3, align 4
  %14 = icmp ne i32 %13, 0
  %or.cond1124 = select i1 %or.cond323, i1 %14, i1 false
  br i1 %or.cond1124, label %.lr.ph25.preheader, label %.critedge

.lr.ph25.preheader:                               ; preds = %0
  %15 = load i32, ptr @_ZL2dx, align 16
  %16 = load i32, ptr @_ZL2dy, align 16
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dx, i64 4), align 4
  %18 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dy, i64 4), align 4
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dx, i64 8), align 8
  %20 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dy, i64 8), align 8
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dx, i64 12), align 4
  %22 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL2dy, i64 12), align 4
  br label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %72, %.lr.ph25.preheader
  %23 = phi i32 [ %9, %.lr.ph25.preheader ], [ %77, %72 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(121) @g, i8 0, i64 121, i1 false)
  %24 = add nsw i32 %23, -1
  store i32 %24, ptr %1, align 4, !tbaa !5
  br label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  %.pre27 = load i32, ptr %3, align 4, !tbaa !5
  %25 = add nsw i32 %15, %.pre
  store i32 %25, ptr %4, align 4, !tbaa !5
  %26 = add nsw i32 %16, %.pre27
  store i32 %26, ptr %5, align 4, !tbaa !5
  %27 = add i32 %25, -4
  %or.cond5 = icmp ult i32 %27, -3
  %28 = add i32 %26, -7
  %29 = icmp ult i32 %28, -3
  %or.cond9 = select i1 %or.cond5, i1 true, i1 %29
  br i1 %or.cond9, label %41, label %39

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %30 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %6, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %31 = load i8, ptr %6, align 1, !tbaa !9
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = load i32, ptr %5, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [11 x [11 x i8]], ptr @g, i64 0, i64 %33, i64 %35
  store i8 %31, ptr %36, align 1, !tbaa !9
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = add nsw i32 %37, -1
  store i32 %38, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %.preheader, label %.lr.ph, !llvm.loop !10

39:                                               ; preds = %.preheader
  %40 = call noundef zeroext i1 @_Z9checkmateii(i32 noundef %25, i32 noundef %26)
  br i1 %40, label %._crit_edge, label %72

._crit_edge:                                      ; preds = %39
  %.pre28 = load i32, ptr %2, align 4, !tbaa !5
  %.pre29 = load i32, ptr %3, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %._crit_edge, %.preheader
  %42 = phi i32 [ %.pre29, %._crit_edge ], [ %.pre27, %.preheader ]
  %43 = phi i32 [ %.pre28, %._crit_edge ], [ %.pre, %.preheader ]
  %44 = add nsw i32 %17, %43
  store i32 %44, ptr %4, align 4, !tbaa !5
  %45 = add nsw i32 %18, %42
  store i32 %45, ptr %5, align 4, !tbaa !5
  %46 = add i32 %44, -4
  %or.cond5.1 = icmp ult i32 %46, -3
  %47 = add i32 %45, -7
  %48 = icmp ult i32 %47, -3
  %or.cond9.1 = select i1 %or.cond5.1, i1 true, i1 %48
  br i1 %or.cond9.1, label %51, label %49

49:                                               ; preds = %41
  %50 = call noundef zeroext i1 @_Z9checkmateii(i32 noundef %44, i32 noundef %45)
  br i1 %50, label %._crit_edge30, label %72

._crit_edge30:                                    ; preds = %49
  %.pre31 = load i32, ptr %2, align 4, !tbaa !5
  %.pre32 = load i32, ptr %3, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %._crit_edge30, %41
  %52 = phi i32 [ %.pre32, %._crit_edge30 ], [ %42, %41 ]
  %53 = phi i32 [ %.pre31, %._crit_edge30 ], [ %43, %41 ]
  %54 = add nsw i32 %19, %53
  store i32 %54, ptr %4, align 4, !tbaa !5
  %55 = add nsw i32 %20, %52
  store i32 %55, ptr %5, align 4, !tbaa !5
  %56 = add i32 %54, -4
  %or.cond5.2 = icmp ult i32 %56, -3
  %57 = add i32 %55, -7
  %58 = icmp ult i32 %57, -3
  %or.cond9.2 = select i1 %or.cond5.2, i1 true, i1 %58
  br i1 %or.cond9.2, label %61, label %59

59:                                               ; preds = %51
  %60 = call noundef zeroext i1 @_Z9checkmateii(i32 noundef %54, i32 noundef %55)
  br i1 %60, label %._crit_edge33, label %72

._crit_edge33:                                    ; preds = %59
  %.pre34 = load i32, ptr %2, align 4, !tbaa !5
  %.pre35 = load i32, ptr %3, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %._crit_edge33, %51
  %62 = phi i32 [ %.pre35, %._crit_edge33 ], [ %52, %51 ]
  %63 = phi i32 [ %.pre34, %._crit_edge33 ], [ %53, %51 ]
  %64 = add nsw i32 %21, %63
  store i32 %64, ptr %4, align 4, !tbaa !5
  %65 = add nsw i32 %22, %62
  store i32 %65, ptr %5, align 4, !tbaa !5
  %66 = add i32 %64, -4
  %or.cond5.3 = icmp ult i32 %66, -3
  %67 = add i32 %65, -7
  %68 = icmp ult i32 %67, -3
  %or.cond9.3 = select i1 %or.cond5.3, i1 true, i1 %68
  br i1 %or.cond9.3, label %71, label %69

69:                                               ; preds = %61
  %70 = call noundef zeroext i1 @_Z9checkmateii(i32 noundef %64, i32 noundef %65)
  br i1 %70, label %71, label %72

71:                                               ; preds = %69, %61
  br label %72

72:                                               ; preds = %71, %69, %59, %49, %39
  %73 = phi ptr [ @.str.3, %39 ], [ @.str.3, %49 ], [ @.str.3, %59 ], [ @.str.3, %69 ], [ @.str.2, %71 ]
  %74 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %73)
  %75 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %76 = icmp eq i32 %75, 3
  %77 = load i32, ptr %1, align 4
  %78 = icmp ne i32 %77, 0
  %or.cond = select i1 %76, i1 %78, i1 false
  %79 = load i32, ptr %2, align 4
  %80 = icmp ne i32 %79, 0
  %or.cond3 = select i1 %or.cond, i1 %80, i1 false
  %81 = load i32, ptr %3, align 4
  %82 = icmp ne i32 %81, 0
  %or.cond11 = select i1 %or.cond3, i1 %82, i1 false
  br i1 %or.cond11, label %.lr.ph.preheader, label %.critedge, !llvm.loop !12

.critedge:                                        ; preds = %72, %0
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0
}

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

; 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 i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

attributes #0 = { mustprogress 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 = { mustprogress norecurse 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 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}


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