; LLVM IR from aap/librw :: skeleton/skeleton.ll (ZN2sk6InitRWEv)

; 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.sk::Globals" = type { ptr, i32, i32, i32 }
%"struct.rw::EngineOpenParams" = type opaque
%"struct.rw::SubSystemInfo" = type { [80 x i8] }
%"struct.rw::VideoMode" = type { i32, i32, i32, i32 }

@_ZN2sk7globalsE = external dso_local global %"struct.sk::Globals", align 8
@engineOpenParams = external global %"struct.rw::EngineOpenParams", align 1
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2sk6InitRWEv() #0 {
  %1 = alloca i1, align 1
  %2 = alloca %"struct.rw::SubSystemInfo", align 1
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"struct.rw::VideoMode", align 4
  %7 = alloca i32, align 4
  %8 = call noundef i32 @_ZN2rw6Engine4initEPNS_15MemoryFunctionsE(ptr noundef null)
  %9 = icmp ne i32 %8, 0
  br i1 %9, label %11, label %10

10:                                               ; preds = %0
  store i1 false, ptr %1, align 1
  br label %97

11:                                               ; preds = %0
  %12 = call noundef i32 @_Z15AppEventHandlerN2sk5EventEPv(i32 noundef 4, ptr noundef null)
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %11
  store i1 false, ptr %1, align 1
  br label %97

15:                                               ; preds = %11
  %16 = call noundef i32 @_ZN2rw6Engine4openEPNS_16EngineOpenParamsE(ptr noundef @engineOpenParams)
  %17 = icmp ne i32 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %15
  store i1 false, ptr %1, align 1
  br label %97

19:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 80, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %20 = call noundef i32 @_ZN2rw6Engine16getNumSubSystemsEv()
  store i32 %20, ptr %4, align 4, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %34, %19
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %37

25:                                               ; preds = %21
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = call noundef ptr @_ZN2rw6Engine16getSubSystemInfoEPNS_13SubSystemInfoEi(ptr noundef %2, i32 noundef %26)
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %33

29:                                               ; preds = %25
  %30 = getelementptr inbounds %"struct.rw::SubSystemInfo", ptr %2, i32 0, i32 0
  %31 = getelementptr inbounds [80 x i8], ptr %30, i64 0, i64 0
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %31)
  br label %33

33:                                               ; preds = %29, %25
  br label %34

34:                                               ; preds = %33
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %3, align 4, !tbaa !5
  br label %21, !llvm.loop !9

37:                                               ; preds = %21
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sub nsw i32 %38, 1
  %40 = call noundef i32 @_ZN2rw6Engine12setSubSystemEi(i32 noundef %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 -1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #3
  %41 = call noundef i32 @_ZN2rw6Engine16getNumVideoModesEv()
  store i32 %41, ptr %4, align 4, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %75, %37
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %78

46:                                               ; preds = %42
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = call noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef %6, i32 noundef %47)
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %74

50:                                               ; preds = %46
  %51 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 0
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = icmp eq i32 %52, 1920
  br i1 %53, label %54, label %64

54:                                               ; preds = %50
  %55 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 1
  %56 = load i32, ptr %55, align 4, !tbaa !13
  %57 = icmp eq i32 %56, 1080
  br i1 %57, label %58, label %64

58:                                               ; preds = %54
  %59 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 2
  %60 = load i32, ptr %59, align 4, !tbaa !14
  %61 = icmp eq i32 %60, 32
  br i1 %61, label %62, label %64

62:                                               ; preds = %58
  %63 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %63, ptr %5, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %62, %58, %54, %50
  %65 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 0
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !13
  %69 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 2
  %70 = load i32, ptr %69, align 4, !tbaa !14
  %71 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 3
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %72)
  br label %74

74:                                               ; preds = %64, %46
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %3, align 4, !tbaa !5
  br label %42, !llvm.loop !16

78:                                               ; preds = %42
  %79 = call noundef i32 @_ZN2rw6Engine19getCurrentVideoModeEv()
  %80 = call noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef %6, i32 noundef %79)
  %81 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 3
  %82 = load i32, ptr %81, align 4, !tbaa !15
  %83 = and i32 %82, 1
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %90

85:                                               ; preds = %78
  %86 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 0
  %87 = load i32, ptr %86, align 4, !tbaa !11
  store i32 %87, ptr getelementptr inbounds (%"struct.sk::Globals", ptr @_ZN2sk7globalsE, i32 0, i32 1), align 8, !tbaa !17
  %88 = getelementptr inbounds %"struct.rw::VideoMode", ptr %6, i32 0, i32 1
  %89 = load i32, ptr %88, align 4, !tbaa !13
  store i32 %89, ptr getelementptr inbounds (%"struct.sk::Globals", ptr @_ZN2sk7globalsE, i32 0, i32 2), align 4, !tbaa !20
  br label %90

90:                                               ; preds = %85, %78
  %91 = call noundef i32 @_ZN2rw6Engine5startEv()
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %94, label %93

93:                                               ; preds = %90
  store i1 false, ptr %1, align 1
  store i32 1, ptr %7, align 4
  br label %96

94:                                               ; preds = %90
  %95 = call noundef i32 @_ZN2rw7Charset4openEv()
  call void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef @.str.2)
  store i1 true, ptr %1, align 1
  store i32 1, ptr %7, align 4
  br label %96

96:                                               ; preds = %94, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 80, ptr %2) #3
  br label %97

97:                                               ; preds = %96, %18, %14, %10
  %98 = load i1, ptr %1, align 1
  ret i1 %98
}

declare noundef i32 @_ZN2rw6Engine4initEPNS_15MemoryFunctionsE(ptr noundef) #1

declare noundef i32 @_Z15AppEventHandlerN2sk5EventEPv(i32 noundef, ptr noundef) #1

declare noundef i32 @_ZN2rw6Engine4openEPNS_16EngineOpenParamsE(ptr noundef) #1

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

declare noundef i32 @_ZN2rw6Engine16getNumSubSystemsEv() #1

declare noundef ptr @_ZN2rw6Engine16getSubSystemInfoEPNS_13SubSystemInfoEi(ptr noundef, i32 noundef) #1

declare i32 @printf(ptr noundef, ...) #1

declare noundef i32 @_ZN2rw6Engine12setSubSystemEi(i32 noundef) #1

declare noundef i32 @_ZN2rw6Engine16getNumVideoModesEv() #1

declare noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef, i32 noundef) #1

declare noundef i32 @_ZN2rw6Engine19getCurrentVideoModeEv() #1

declare noundef i32 @_ZN2rw6Engine5startEv() #1

declare noundef i32 @_ZN2rw7Charset4openEv() #1

declare void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef) #1

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

attributes #0 = { mustprogress 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 = { "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 }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN2rw9VideoModeE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!13 = !{!12, !6, i64 4}
!14 = !{!12, !6, i64 8}
!15 = !{!12, !6, i64 12}
!16 = distinct !{!16, !10}
!17 = !{!18, !6, i64 8}
!18 = !{!"_ZTSN2sk7GlobalsE", !19, i64 0, !6, i64 8, !6, i64 12, !6, i64 16}
!19 = !{!"any pointer", !7, i64 0}
!20 = !{!18, !6, i64 12}


; 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.sk::Globals" = type { ptr, i32, i32, i32 }
%"struct.rw::EngineOpenParams" = type opaque
%"struct.rw::SubSystemInfo" = type { [80 x i8] }
%"struct.rw::VideoMode" = type { i32, i32, i32, i32 }

@_ZN2sk7globalsE = external dso_local local_unnamed_addr global %"struct.sk::Globals", align 8
@engineOpenParams = external global %"struct.rw::EngineOpenParams", align 1
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2sk6InitRWEv() local_unnamed_addr #0 {
  %1 = alloca %"struct.rw::SubSystemInfo", align 1
  %2 = alloca %"struct.rw::VideoMode", align 8
  %3 = tail call noundef i32 @_ZN2rw6Engine4initEPNS_15MemoryFunctionsE(ptr noundef null)
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %46, label %4

4:                                                ; preds = %0
  %5 = tail call noundef i32 @_Z15AppEventHandlerN2sk5EventEPv(i32 noundef 4, ptr noundef null)
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %46, label %7

7:                                                ; preds = %4
  %8 = tail call noundef i32 @_ZN2rw6Engine4openEPNS_16EngineOpenParamsE(ptr noundef nonnull @engineOpenParams)
  %.not18 = icmp eq i32 %8, 0
  br i1 %.not18, label %46, label %9

9:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %1) #4
  %10 = tail call noundef i32 @_ZN2rw6Engine16getNumSubSystemsEv()
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %9, %15
  %.023 = phi i32 [ %16, %15 ], [ 0, %9 ]
  %12 = call noundef ptr @_ZN2rw6Engine16getSubSystemInfoEPNS_13SubSystemInfoEi(ptr noundef nonnull %1, i32 noundef %.023)
  %.not22 = icmp eq ptr %12, null
  br i1 %.not22, label %15, label %13

13:                                               ; preds = %.lr.ph
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef nonnull %1)
  br label %15

15:                                               ; preds = %.lr.ph, %13
  %16 = add nuw nsw i32 %.023, 1
  %exitcond.not = icmp eq i32 %16, %10
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !5

._crit_edge:                                      ; preds = %15, %9
  %17 = add nsw i32 %10, -1
  %18 = call noundef i32 @_ZN2rw6Engine12setSubSystemEi(i32 noundef %17)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %19 = call noundef i32 @_ZN2rw6Engine16getNumVideoModesEv()
  %20 = icmp sgt i32 %19, 0
  br i1 %20, label %.lr.ph26, label %._crit_edge27

.lr.ph26:                                         ; preds = %._crit_edge
  %21 = getelementptr inbounds i8, ptr %2, i64 4
  %22 = getelementptr inbounds i8, ptr %2, i64 8
  %23 = getelementptr inbounds i8, ptr %2, i64 12
  br label %24

24:                                               ; preds = %.lr.ph26, %32
  %.124 = phi i32 [ 0, %.lr.ph26 ], [ %33, %32 ]
  %25 = call noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef nonnull %2, i32 noundef %.124)
  %.not21 = icmp eq ptr %25, null
  br i1 %.not21, label %32, label %26

26:                                               ; preds = %24
  %27 = load i32, ptr %2, align 8, !tbaa !7
  %28 = load i32, ptr %21, align 4
  %29 = load i32, ptr %22, align 8
  %30 = load i32, ptr %23, align 4, !tbaa !12
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30)
  br label %32

32:                                               ; preds = %24, %26
  %33 = add nuw nsw i32 %.124, 1
  %exitcond28.not = icmp eq i32 %33, %19
  br i1 %exitcond28.not, label %._crit_edge27, label %24, !llvm.loop !13

._crit_edge27:                                    ; preds = %32, %._crit_edge
  %34 = call noundef i32 @_ZN2rw6Engine19getCurrentVideoModeEv()
  %35 = call noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef nonnull %2, i32 noundef %34)
  %36 = getelementptr inbounds i8, ptr %2, i64 12
  %37 = load i32, ptr %36, align 4, !tbaa !12
  %38 = and i32 %37, 1
  %.not19 = icmp eq i32 %38, 0
  br i1 %.not19, label %41, label %39

39:                                               ; preds = %._crit_edge27
  %40 = load <2 x i32>, ptr %2, align 8, !tbaa !14
  store <2 x i32> %40, ptr getelementptr inbounds (i8, ptr @_ZN2sk7globalsE, i64 8), align 8, !tbaa !14
  br label %41

41:                                               ; preds = %39, %._crit_edge27
  %42 = call noundef i32 @_ZN2rw6Engine5startEv()
  %.not20 = icmp ne i32 %42, 0
  br i1 %.not20, label %43, label %45

43:                                               ; preds = %41
  %44 = call noundef i32 @_ZN2rw7Charset4openEv()
  call void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef nonnull @.str.2)
  br label %45

45:                                               ; preds = %41, %43
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %1) #4
  br label %46

46:                                               ; preds = %7, %4, %0, %45
  %.116 = phi i1 [ %.not20, %45 ], [ false, %0 ], [ false, %4 ], [ false, %7 ]
  ret i1 %.116
}

declare noundef i32 @_ZN2rw6Engine4initEPNS_15MemoryFunctionsE(ptr noundef) local_unnamed_addr #1

declare noundef i32 @_Z15AppEventHandlerN2sk5EventEPv(i32 noundef, ptr noundef) local_unnamed_addr #1

declare noundef i32 @_ZN2rw6Engine4openEPNS_16EngineOpenParamsE(ptr noundef) local_unnamed_addr #1

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

declare noundef i32 @_ZN2rw6Engine16getNumSubSystemsEv() local_unnamed_addr #1

declare noundef ptr @_ZN2rw6Engine16getSubSystemInfoEPNS_13SubSystemInfoEi(ptr noundef, i32 noundef) local_unnamed_addr #1

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

declare noundef i32 @_ZN2rw6Engine12setSubSystemEi(i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN2rw6Engine16getNumVideoModesEv() local_unnamed_addr #1

declare noundef ptr @_ZN2rw6Engine16getVideoModeInfoEPNS_9VideoModeEi(ptr noundef, i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN2rw6Engine19getCurrentVideoModeEv() local_unnamed_addr #1

declare noundef i32 @_ZN2rw6Engine5startEv() local_unnamed_addr #1

declare noundef i32 @_ZN2rw7Charset4openEv() local_unnamed_addr #1

declare void @_ZN2rw5Image13setSearchPathEPKc(ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress 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 = { "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 = { 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 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"_ZTSN2rw9VideoModeE", !9, i64 0, !9, i64 4, !9, i64 8, !9, i64 12}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!8, !9, i64 12}
!13 = distinct !{!13, !6}
!14 = !{!9, !9, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass