; LLVM IR from clangen/musikcube :: src/3rdparty/win32_src/pdcurses (color)

; 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.SCREEN = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i32, i32, i32, i32, i32, i32, i64, i32, i32, ptr, i32, i32, i32, i8, i32, i64, i8, i8, %struct.MOUSE_STATUS, i16, i64, ptr, ptr, i8, i8, i32, i32, ptr, i32, i32, ptr, i32, i32, ptr }
%struct.MOUSE_STATUS = type { i32, i32, [9 x i16], i32 }
%struct._win = type { i32, i32, i32, i32, i32, i32, i32, i64, i64, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32 }

@SP = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@curscr = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change = external hidden unnamed_addr constant [60 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @PDC_set_cells_to_refresh_for_attr_change(i64 noundef %0) #1 {
  %2 = alloca i64, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store i64 %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %7 = load ptr, ptr @SP, align 8, !tbaa !9
  %8 = getelementptr inbounds %struct.SCREEN, ptr %7, i32 0, i32 16
  %9 = load i32, ptr %8, align 8, !tbaa !11
  %10 = icmp ne i32 %9, 0
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  br label %13

12:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 323, ptr noundef @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #5
  unreachable

13:                                               ; preds = %11
  %14 = load ptr, ptr @curscr, align 8, !tbaa !9
  %15 = icmp ne ptr %14, null
  br i1 %15, label %16, label %22

16:                                               ; preds = %13
  %17 = load ptr, ptr @curscr, align 8, !tbaa !9
  %18 = getelementptr inbounds %struct._win, ptr %17, i32 0, i32 16
  %19 = load ptr, ptr %18, align 8, !tbaa !17
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %16
  br label %23

22:                                               ; preds = %16, %13
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 324, ptr noundef @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #5
  unreachable

23:                                               ; preds = %21
  %24 = load ptr, ptr @curscr, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct._win, ptr %24, i32 0, i32 9
  %26 = load i8, ptr %25, align 8, !tbaa !19, !range !20, !noundef !21
  %27 = trunc i8 %26 to i1
  br i1 %27, label %100, label %28

28:                                               ; preds = %23
  store i32 0, ptr %4, align 4, !tbaa !22
  br label %29

29:                                               ; preds = %96, %28
  %30 = load i32, ptr %4, align 4, !tbaa !22
  %31 = load ptr, ptr @SP, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.SCREEN, ptr %31, i32 0, i32 16
  %33 = load i32, ptr %32, align 8, !tbaa !11
  %34 = icmp slt i32 %30, %33
  br i1 %34, label %35, label %99

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %36 = load ptr, ptr @curscr, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct._win, ptr %36, i32 0, i32 16
  %38 = load ptr, ptr %37, align 8, !tbaa !17
  %39 = load i32, ptr %4, align 4, !tbaa !22
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds ptr, ptr %38, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  store ptr %42, ptr %5, align 8, !tbaa !9
  %43 = load ptr, ptr %5, align 8, !tbaa !9
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %46

45:                                               ; preds = %35
  br label %47

46:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 330, ptr noundef @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #5
  unreachable

47:                                               ; preds = %45
  store i32 0, ptr %3, align 4, !tbaa !22
  br label %48

48:                                               ; preds = %92, %47
  %49 = load i32, ptr %3, align 4, !tbaa !22
  %50 = load ptr, ptr @SP, align 8, !tbaa !9
  %51 = getelementptr inbounds %struct.SCREEN, ptr %50, i32 0, i32 17
  %52 = load i32, ptr %51, align 4, !tbaa !23
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %54, label %95

54:                                               ; preds = %48
  %55 = load ptr, ptr %5, align 8, !tbaa !9
  %56 = load i64, ptr %55, align 8, !tbaa !5
  %57 = load i64, ptr %2, align 8, !tbaa !5
  %58 = and i64 %56, %57
  %59 = icmp ne i64 %58, 0
  br i1 %59, label %91, label %60

60:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %61 = load i32, ptr %3, align 4, !tbaa !22
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %3, align 4, !tbaa !22
  store i32 %61, ptr %6, align 4, !tbaa !22
  br label %63

63:                                               ; preds = %78, %60
  %64 = load i32, ptr %3, align 4, !tbaa !22
  %65 = load ptr, ptr @SP, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.SCREEN, ptr %65, i32 0, i32 17
  %67 = load i32, ptr %66, align 4, !tbaa !23
  %68 = icmp slt i32 %64, %67
  br i1 %68, label %69, label %76

69:                                               ; preds = %63
  %70 = load ptr, ptr %5, align 8, !tbaa !9
  %71 = load i64, ptr %70, align 8, !tbaa !5
  %72 = load i64, ptr %2, align 8, !tbaa !5
  %73 = and i64 %71, %72
  %74 = icmp ne i64 %73, 0
  %75 = xor i1 %74, true
  br label %76

76:                                               ; preds = %69, %63
  %77 = phi i1 [ false, %63 ], [ %75, %69 ]
  br i1 %77, label %78, label %81

78:                                               ; preds = %76
  %79 = load i32, ptr %3, align 4, !tbaa !22
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %3, align 4, !tbaa !22
  br label %63, !llvm.loop !24

81:                                               ; preds = %76
  %82 = load i32, ptr %4, align 4, !tbaa !22
  %83 = load i32, ptr %6, align 4, !tbaa !22
  %84 = load i32, ptr %3, align 4, !tbaa !22
  %85 = load i32, ptr %6, align 4, !tbaa !22
  %86 = sub nsw i32 %84, %85
  %87 = load ptr, ptr %5, align 8, !tbaa !9
  %88 = load i32, ptr %6, align 4, !tbaa !22
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds i64, ptr %87, i64 %89
  call void @PDC_transform_line(i32 noundef %82, i32 noundef %83, i32 noundef %86, ptr noundef %90)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %91

91:                                               ; preds = %81, %54
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %3, align 4, !tbaa !22
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %3, align 4, !tbaa !22
  br label %48, !llvm.loop !26

95:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %4, align 4, !tbaa !22
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %4, align 4, !tbaa !22
  br label %29, !llvm.loop !27

99:                                               ; preds = %29
  br label %100

100:                                              ; preds = %99, %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret void
}

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

declare void @PDC_transform_line(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #3

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

attributes #0 = { 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 #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 nosync nounwind willreturn memory(argmem: readwrite) }
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 }
attributes #5 = { 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 = !{!"long", !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 = !{!12, !15, i64 32}
!12 = !{!"", !13, i64 0, !13, i64 1, !13, i64 2, !13, i64 3, !13, i64 4, !13, i64 5, !13, i64 6, !13, i64 7, !13, i64 8, !13, i64 9, !14, i64 10, !14, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !6, i64 40, !15, i64 48, !15, i64 52, !10, i64 56, !15, i64 64, !15, i64 68, !15, i64 72, !13, i64 76, !15, i64 80, !6, i64 88, !13, i64 96, !13, i64 97, !16, i64 100, !14, i64 132, !6, i64 136, !10, i64 144, !10, i64 152, !13, i64 160, !13, i64 161, !15, i64 164, !15, i64 168, !10, i64 176, !15, i64 184, !15, i64 188, !10, i64 192, !15, i64 200, !15, i64 204, !10, i64 208}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"", !15, i64 0, !15, i64 4, !7, i64 8, !15, i64 28}
!17 = !{!18, !10, i64 56}
!18 = !{!"_win", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !13, i64 49, !13, i64 50, !13, i64 51, !13, i64 52, !13, i64 53, !13, i64 54, !10, i64 56, !10, i64 64, !10, i64 72, !15, i64 80, !15, i64 84, !15, i64 88, !15, i64 92, !15, i64 96, !10, i64 104, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132}
!19 = !{!18, !13, i64 48}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!15, !15, i64 0}
!23 = !{!12, !15, i64 36}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}


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

@SP = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [91 x i8], align 1
@curscr = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change = external hidden unnamed_addr constant [60 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1

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

; Function Attrs: nounwind uwtable
define dso_local void @PDC_set_cells_to_refresh_for_attr_change(i64 noundef %0) local_unnamed_addr #1 {
  %2 = load ptr, ptr @SP, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %2, i64 32
  %4 = load i32, ptr %3, align 8, !tbaa !9
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %6

5:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 323, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #4
  unreachable

6:                                                ; preds = %1
  %7 = load ptr, ptr @curscr, align 8, !tbaa !5
  %.not21 = icmp eq ptr %7, null
  br i1 %.not21, label %11, label %8

8:                                                ; preds = %6
  %9 = getelementptr inbounds i8, ptr %7, i64 56
  %10 = load ptr, ptr %9, align 8, !tbaa !16
  %.not22 = icmp eq ptr %10, null
  br i1 %.not22, label %11, label %12

11:                                               ; preds = %8, %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 324, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #4
  unreachable

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %7, i64 48
  %14 = load i8, ptr %13, align 8, !tbaa !18, !range !19, !noundef !20
  %15 = trunc nuw i8 %14 to i1
  %16 = icmp slt i32 %4, 1
  %or.cond.not = or i1 %16, %15
  br i1 %or.cond.not, label %.loopexit, label %.lr.ph30

.lr.ph30:                                         ; preds = %12, %._crit_edge
  %17 = phi ptr [ %44, %._crit_edge ], [ %2, %12 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge ], [ 0, %12 ]
  %18 = load ptr, ptr @curscr, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 56
  %20 = load ptr, ptr %19, align 8, !tbaa !16
  %21 = getelementptr inbounds ptr, ptr %20, i64 %indvars.iv
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  %.not23 = icmp eq ptr %22, null
  br i1 %.not23, label %27, label %.preheader26

.preheader26:                                     ; preds = %.lr.ph30
  %23 = getelementptr inbounds i8, ptr %17, i64 36
  %24 = load i32, ptr %23, align 4, !tbaa !21
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader26
  %26 = trunc nuw nsw i64 %indvars.iv to i32
  br label %.lr.ph

27:                                               ; preds = %.lr.ph30
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 330, ptr noundef nonnull @__PRETTY_FUNCTION__.PDC_set_cells_to_refresh_for_attr_change) #4
  unreachable

.lr.ph:                                           ; preds = %.lr.ph.preheader, %37
  %28 = phi ptr [ %38, %37 ], [ %17, %.lr.ph.preheader ]
  %29 = phi ptr [ %39, %37 ], [ %17, %.lr.ph.preheader ]
  %30 = phi i32 [ %42, %37 ], [ %24, %.lr.ph.preheader ]
  %.028 = phi i32 [ %40, %37 ], [ 0, %.lr.ph.preheader ]
  %31 = load i64, ptr %22, align 8, !tbaa !22
  %32 = and i64 %31, %0
  %.not24 = icmp eq i64 %32, 0
  br i1 %.not24, label %.preheader.preheader, label %37

.preheader.preheader:                             ; preds = %.lr.ph
  %33 = add nsw i32 %.028, 1
  %smax = tail call i32 @llvm.smax.i32(i32 %30, i32 %33)
  %34 = sub nsw i32 %smax, %.028
  %35 = sext i32 %.028 to i64
  %36 = getelementptr inbounds i64, ptr %22, i64 %35
  tail call void @PDC_transform_line(i32 noundef %26, i32 noundef %.028, i32 noundef %34, ptr noundef nonnull %36) #5
  %.pre = load ptr, ptr @SP, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %.lr.ph, %.preheader.preheader
  %38 = phi ptr [ %28, %.lr.ph ], [ %.pre, %.preheader.preheader ]
  %39 = phi ptr [ %29, %.lr.ph ], [ %.pre, %.preheader.preheader ]
  %.2 = phi i32 [ %.028, %.lr.ph ], [ %smax, %.preheader.preheader ]
  %40 = add nsw i32 %.2, 1
  %41 = getelementptr inbounds i8, ptr %39, i64 36
  %42 = load i32, ptr %41, align 4, !tbaa !21
  %43 = icmp slt i32 %40, %42
  br i1 %43, label %.lr.ph, label %._crit_edge, !llvm.loop !23

._crit_edge:                                      ; preds = %37, %.preheader26
  %44 = phi ptr [ %17, %.preheader26 ], [ %38, %37 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %45 = getelementptr inbounds i8, ptr %44, i64 32
  %46 = load i32, ptr %45, align 8, !tbaa !9
  %47 = sext i32 %46 to i64
  %48 = icmp slt i64 %indvars.iv.next, %47
  br i1 %48, label %.lr.ph30, label %.loopexit, !llvm.loop !25

.loopexit:                                        ; preds = %._crit_edge, %12
  ret void
}

declare void @PDC_transform_line(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #3

attributes #0 = { 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 #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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn nounwind }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !13, i64 32}
!10 = !{!"", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !11, i64 9, !12, i64 10, !12, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !14, i64 40, !13, i64 48, !13, i64 52, !6, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !11, i64 76, !13, i64 80, !14, i64 88, !11, i64 96, !11, i64 97, !15, i64 100, !12, i64 132, !14, i64 136, !6, i64 144, !6, i64 152, !11, i64 160, !11, i64 161, !13, i64 164, !13, i64 168, !6, i64 176, !13, i64 184, !13, i64 188, !6, i64 192, !13, i64 200, !13, i64 204, !6, i64 208}
!11 = !{!"_Bool", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"", !13, i64 0, !13, i64 4, !7, i64 8, !13, i64 28}
!16 = !{!17, !6, i64 56}
!17 = !{!"_win", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !14, i64 32, !14, i64 40, !11, i64 48, !11, i64 49, !11, i64 50, !11, i64 51, !11, i64 52, !11, i64 53, !11, i64 54, !6, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !13, i64 96, !6, i64 104, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132}
!18 = !{!17, !11, i64 48}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!10, !13, i64 36}
!22 = !{!14, !14, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass