; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Doom/mc1-doom/src (p_enemy)

; 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.thinker_s = type { ptr, ptr, %union.actionf_t }
%union.actionf_t = type { ptr }
%struct.mobjinfo_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.mobj_s = type { %struct.thinker_s, i32, i32, i32, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, %struct.mapthing_t, ptr }
%struct.mapthing_t = type { i16, i16, i16, i16, i16 }

@thinkercap = external global %struct.thinker_s, align 8
@finecosine = external global ptr, align 8
@finesine = external global [10240 x i32], align 16
@mobjinfo = external global [137 x %struct.mobjinfo_t], align 16

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

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

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

declare void @P_MobjThinker(ptr noundef) #1

declare void @P_DamageMobj(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @FixedMul(i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @A_SkullAttack(ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local void @A_PainShootSkull(ptr noundef %0, i32 noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  %14 = load ptr, ptr getelementptr inbounds (%struct.thinker_s, ptr @thinkercap, i32 0, i32 1), align 8, !tbaa !11
  store ptr %14, ptr %12, align 8, !tbaa !5
  br label %15

15:                                               ; preds = %31, %2
  %16 = load ptr, ptr %12, align 8, !tbaa !5
  %17 = icmp ne ptr %16, @thinkercap
  br i1 %17, label %18, label %35

18:                                               ; preds = %15
  %19 = load ptr, ptr %12, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.thinker_s, ptr %19, i32 0, i32 2
  %21 = load ptr, ptr %20, align 8, !tbaa !13
  %22 = icmp eq ptr %21, @P_MobjThinker
  br i1 %22, label %23, label %31

23:                                               ; preds = %18
  %24 = load ptr, ptr %12, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.mobj_s, ptr %24, i32 0, i32 20
  %26 = load i32, ptr %25, align 8, !tbaa !14
  %27 = icmp eq i32 %26, 18
  br i1 %27, label %28, label %31

28:                                               ; preds = %23
  %29 = load i32, ptr %11, align 4, !tbaa !9
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %11, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %28, %23, %18
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.thinker_s, ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  store ptr %34, ptr %12, align 8, !tbaa !5
  br label %15, !llvm.loop !18

35:                                               ; preds = %15
  %36 = load i32, ptr %11, align 4, !tbaa !9
  %37 = icmp sgt i32 %36, 20
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  store i32 1, ptr %13, align 4
  br label %101

39:                                               ; preds = %35
  %40 = load i32, ptr %4, align 4, !tbaa !9
  %41 = lshr i32 %40, 19
  store i32 %41, ptr %9, align 4, !tbaa !9
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.mobj_s, ptr %42, i32 0, i32 21
  %44 = load ptr, ptr %43, align 8, !tbaa !20
  %45 = getelementptr inbounds %struct.mobjinfo_t, ptr %44, i32 0, i32 16
  %46 = load i32, ptr %45, align 4, !tbaa !21
  %47 = load i32, ptr getelementptr inbounds (%struct.mobjinfo_t, ptr getelementptr inbounds ([137 x %struct.mobjinfo_t], ptr @mobjinfo, i64 0, i64 18), i32 0, i32 16), align 8, !tbaa !21
  %48 = add nsw i32 %46, %47
  %49 = mul nsw i32 3, %48
  %50 = sdiv i32 %49, 2
  %51 = add nsw i32 262144, %50
  store i32 %51, ptr %10, align 4, !tbaa !9
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.mobj_s, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 8, !tbaa !23
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = load ptr, ptr @finecosine, align 8, !tbaa !5
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %56, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !9
  %61 = call i32 @FixedMul(i32 noundef %55, i32 noundef %60)
  %62 = add nsw i32 %54, %61
  store i32 %62, ptr %5, align 4, !tbaa !9
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.mobj_s, ptr %63, i32 0, i32 2
  %65 = load i32, ptr %64, align 4, !tbaa !24
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = zext i32 %67 to i64
  %69 = getelementptr inbounds [10240 x i32], ptr @finesine, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = call i32 @FixedMul(i32 noundef %66, i32 noundef %70)
  %72 = add nsw i32 %65, %71
  store i32 %72, ptr %6, align 4, !tbaa !9
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.mobj_s, ptr %73, i32 0, i32 3
  %75 = load i32, ptr %74, align 8, !tbaa !25
  %76 = add nsw i32 %75, 524288
  store i32 %76, ptr %7, align 4, !tbaa !9
  %77 = load i32, ptr %5, align 4, !tbaa !9
  %78 = load i32, ptr %6, align 4, !tbaa !9
  %79 = load i32, ptr %7, align 4, !tbaa !9
  %80 = call ptr @P_SpawnMobj(i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef 18)
  store ptr %80, ptr %8, align 8, !tbaa !5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.mobj_s, ptr %82, i32 0, i32 1
  %84 = load i32, ptr %83, align 8, !tbaa !23
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.mobj_s, ptr %85, i32 0, i32 2
  %87 = load i32, ptr %86, align 4, !tbaa !24
  %88 = call i32 @P_TryMove(ptr noundef %81, i32 noundef %84, i32 noundef %87)
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %94, label %90

90:                                               ; preds = %39
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  call void @P_DamageMobj(ptr noundef %91, ptr noundef %92, ptr noundef %93, i32 noundef 10000)
  store i32 1, ptr %13, align 4
  br label %101

94:                                               ; preds = %39
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.mobj_s, ptr %95, i32 0, i32 28
  %97 = load ptr, ptr %96, align 8, !tbaa !26
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.mobj_s, ptr %98, i32 0, i32 28
  store ptr %97, ptr %99, align 8, !tbaa !26
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  call void @A_SkullAttack(ptr noundef %100)
  store i32 0, ptr %13, align 4
  br label %101

101:                                              ; preds = %94, %90, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  %102 = load i32, ptr %13, align 4
  switch i32 %102, label %104 [
    i32 0, label %103
    i32 1, label %103
  ]

103:                                              ; preds = %101, %101
  ret void

104:                                              ; preds = %101
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 = { 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 #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 = !{!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 = !{!12, !6, i64 8}
!12 = !{!"thinker_s", !6, i64 0, !6, i64 8, !7, i64 16}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !10, i64 128}
!15 = !{!"mobj_s", !12, i64 0, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !6, i64 176, !10, i64 184, !10, i64 188, !6, i64 192, !10, i64 200, !16, i64 204, !6, i64 216}
!16 = !{!"", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!15, !6, i64 136}
!21 = !{!22, !10, i64 64}
!22 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88}
!23 = !{!15, !10, i64 24}
!24 = !{!15, !10, i64 28}
!25 = !{!15, !10, i64 32}
!26 = !{!15, !6, i64 176}


; 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.thinker_s = type { ptr, ptr, %union.actionf_t }
%union.actionf_t = type { ptr }
%struct.mobjinfo_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@thinkercap = external global %struct.thinker_s, align 8
@finecosine = external local_unnamed_addr global ptr, align 8
@finesine = external local_unnamed_addr global [10240 x i32], align 16
@mobjinfo = external local_unnamed_addr global [137 x %struct.mobjinfo_t], align 16

declare i32 @P_TryMove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @P_MobjThinker(ptr noundef) #0

declare void @P_DamageMobj(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare ptr @P_SpawnMobj(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @FixedMul(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @A_SkullAttack(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @A_PainShootSkull(ptr noundef %0, i32 noundef %1) local_unnamed_addr #2 {
  %.028 = load ptr, ptr getelementptr inbounds (i8, ptr @thinkercap, i64 8), align 8, !tbaa !5
  %.not29 = icmp eq ptr %.028, @thinkercap
  br i1 %.not29, label %._crit_edge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %2, %11
  %.031 = phi ptr [ %.0, %11 ], [ %.028, %2 ]
  %.02630 = phi i32 [ %.1, %11 ], [ 0, %2 ]
  %3 = getelementptr inbounds i8, ptr %.031, i64 16
  %4 = load ptr, ptr %3, align 8, !tbaa !10
  %5 = icmp eq ptr %4, @P_MobjThinker
  br i1 %5, label %6, label %11

6:                                                ; preds = %.lr.ph
  %7 = getelementptr inbounds i8, ptr %.031, i64 128
  %8 = load i32, ptr %7, align 8, !tbaa !11
  %9 = icmp eq i32 %8, 18
  %10 = zext i1 %9 to i32
  %spec.select = add nsw i32 %.02630, %10
  br label %11

11:                                               ; preds = %6, %.lr.ph
  %.1 = phi i32 [ %.02630, %.lr.ph ], [ %spec.select, %6 ]
  %12 = getelementptr inbounds i8, ptr %.031, i64 8
  %.0 = load ptr, ptr %12, align 8, !tbaa !5
  %.not = icmp eq ptr %.0, @thinkercap
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %11
  %13 = icmp sgt i32 %.1, 20
  br i1 %13, label %52, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %2, %._crit_edge
  %14 = lshr i32 %1, 19
  %15 = getelementptr inbounds i8, ptr %0, i64 136
  %16 = load ptr, ptr %15, align 8, !tbaa !18
  %17 = getelementptr inbounds i8, ptr %16, i64 64
  %18 = load i32, ptr %17, align 4, !tbaa !19
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @mobjinfo, i64 1720), align 8, !tbaa !19
  %20 = add nsw i32 %19, %18
  %21 = mul nsw i32 %20, 3
  %22 = sdiv i32 %21, 2
  %23 = add nsw i32 %22, 262144
  %24 = getelementptr inbounds i8, ptr %0, i64 24
  %25 = load i32, ptr %24, align 8, !tbaa !21
  %26 = load ptr, ptr @finecosine, align 8, !tbaa !22
  %27 = zext nneg i32 %14 to i64
  %28 = getelementptr inbounds i32, ptr %26, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !23
  %30 = tail call i32 @FixedMul(i32 noundef %23, i32 noundef %29)
  %31 = add nsw i32 %30, %25
  %32 = getelementptr inbounds i8, ptr %0, i64 28
  %33 = load i32, ptr %32, align 4, !tbaa !24
  %34 = getelementptr inbounds [10240 x i32], ptr @finesine, i64 0, i64 %27
  %35 = load i32, ptr %34, align 4, !tbaa !23
  %36 = tail call i32 @FixedMul(i32 noundef %23, i32 noundef %35)
  %37 = add nsw i32 %36, %33
  %38 = getelementptr inbounds i8, ptr %0, i64 32
  %39 = load i32, ptr %38, align 8, !tbaa !25
  %40 = add nsw i32 %39, 524288
  %41 = tail call ptr @P_SpawnMobj(i32 noundef %31, i32 noundef %37, i32 noundef %40, i32 noundef 18) #3
  %42 = getelementptr inbounds i8, ptr %41, i64 24
  %43 = load i32, ptr %42, align 8, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %41, i64 28
  %45 = load i32, ptr %44, align 4, !tbaa !24
  %46 = tail call i32 @P_TryMove(ptr noundef %41, i32 noundef %43, i32 noundef %45) #3
  %.not27 = icmp eq i32 %46, 0
  br i1 %.not27, label %47, label %48

47:                                               ; preds = %._crit_edge.thread
  tail call void @P_DamageMobj(ptr noundef nonnull %41, ptr noundef nonnull %0, ptr noundef nonnull %0, i32 noundef 10000) #3
  br label %52

48:                                               ; preds = %._crit_edge.thread
  %49 = getelementptr inbounds i8, ptr %0, i64 176
  %50 = load ptr, ptr %49, align 8, !tbaa !26
  %51 = getelementptr inbounds i8, ptr %41, i64 176
  store ptr %50, ptr %51, align 8, !tbaa !26
  tail call void @A_SkullAttack(ptr noundef nonnull %41)
  br label %52

52:                                               ; preds = %._crit_edge, %48, %47
  ret void
}

attributes #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 = { inlinehint 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 = { 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 = { 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, !7, i64 8}
!6 = !{!"thinker_s", !7, i64 0, !7, i64 8, !8, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!8, !8, i64 0}
!11 = !{!12, !13, i64 128}
!12 = !{!"mobj_s", !6, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !7, i64 40, !7, i64 48, !13, i64 56, !13, i64 60, !13, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !7, i64 136, !13, i64 144, !7, i64 152, !13, i64 160, !13, i64 164, !13, i64 168, !13, i64 172, !7, i64 176, !13, i64 184, !13, i64 188, !7, i64 192, !13, i64 200, !14, i64 204, !7, i64 216}
!13 = !{!"int", !8, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8}
!15 = !{!"short", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!12, !7, i64 136}
!19 = !{!20, !13, i64 64}
!20 = !{!"", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88}
!21 = !{!12, !13, i64 24}
!22 = !{!7, !7, i64 0}
!23 = !{!13, !13, i64 0}
!24 = !{!12, !13, i64 28}
!25 = !{!12, !13, i64 32}
!26 = !{!12, !7, i64 176}


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