; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Doom/mc1-doom/src (r_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"

%struct.player_s = type { ptr, i32, %struct.ticcmd_t, i32, i32, i32, i32, i32, i32, i32, [6 x i32], [6 x i32], i32, [4 x i32], i32, i32, [9 x i32], [4 x i32], [4 x i32], i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, [2 x %struct.pspdef_t], i32 }
%struct.ticcmd_t = type { i8, i8, i16, i16, i8, i8 }
%struct.pspdef_t = type { ptr, 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.thinker_s = type { ptr, ptr, %union.actionf_t }
%union.actionf_t = type { ptr }
%struct.mapthing_t = type { i16, i16, i16, i16, i16 }

@validcount = external dso_local global i32, align 4
@finesine = external global [10240 x i32], align 16
@finecosine = external dso_local global ptr, align 8
@viewx = external dso_local global i32, align 4
@viewy = external dso_local global i32, align 4
@viewangle = external dso_local global i32, align 4
@colormaps = external global ptr, align 8
@framecount = external dso_local global i32, align 4
@viewplayer = external dso_local global ptr, align 8
@viewangleoffset = external dso_local global i32, align 4
@extralight = external dso_local global i32, align 4
@viewz = external dso_local global i32, align 4
@viewsin = external dso_local global i32, align 4
@viewcos = external dso_local global i32, align 4
@sscount = external dso_local global i32, align 4
@fixedcolormap = external dso_local global ptr, align 8
@scalelightfixed = external dso_local global [48 x ptr], align 16
@walllights = external global ptr, align 8

; 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

; Function Attrs: nounwind uwtable
define dso_local void @R_SetupFrame(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %4, ptr @viewplayer, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.player_s, ptr %5, i32 0, i32 0
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  %8 = getelementptr inbounds %struct.mobj_s, ptr %7, i32 0, i32 1
  %9 = load i32, ptr %8, align 8, !tbaa !14
  store i32 %9, ptr @viewx, align 4, !tbaa !18
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.player_s, ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.mobj_s, ptr %12, i32 0, i32 2
  %14 = load i32, ptr %13, align 4, !tbaa !19
  store i32 %14, ptr @viewy, align 4, !tbaa !18
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.player_s, ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  %18 = getelementptr inbounds %struct.mobj_s, ptr %17, i32 0, i32 6
  %19 = load i32, ptr %18, align 8, !tbaa !20
  %20 = load i32, ptr @viewangleoffset, align 4, !tbaa !18
  %21 = add i32 %19, %20
  store i32 %21, ptr @viewangle, align 4, !tbaa !18
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.player_s, ptr %22, i32 0, i32 30
  %24 = load i32, ptr %23, align 8, !tbaa !21
  store i32 %24, ptr @extralight, align 4, !tbaa !18
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.player_s, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 4, !tbaa !22
  store i32 %27, ptr @viewz, align 4, !tbaa !18
  %28 = load i32, ptr @viewangle, align 4, !tbaa !18
  %29 = lshr i32 %28, 19
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds [10240 x i32], ptr @finesine, i64 0, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !18
  store i32 %32, ptr @viewsin, align 4, !tbaa !18
  %33 = load ptr, ptr @finecosine, align 8, !tbaa !5
  %34 = load i32, ptr @viewangle, align 4, !tbaa !18
  %35 = lshr i32 %34, 19
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds i32, ptr %33, i64 %36
  %38 = load i32, ptr %37, align 4, !tbaa !18
  store i32 %38, ptr @viewcos, align 4, !tbaa !18
  store i32 0, ptr @sscount, align 4, !tbaa !18
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.player_s, ptr %39, i32 0, i32 31
  %41 = load i32, ptr %40, align 4, !tbaa !23
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %64

43:                                               ; preds = %1
  %44 = load ptr, ptr @colormaps, align 8, !tbaa !5
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.player_s, ptr %45, i32 0, i32 31
  %47 = load i32, ptr %46, align 4, !tbaa !23
  %48 = mul nsw i32 %47, 256
  %49 = sext i32 %48 to i64
  %50 = mul i64 %49, 1
  %51 = getelementptr inbounds i8, ptr %44, i64 %50
  store ptr %51, ptr @fixedcolormap, align 8, !tbaa !5
  store ptr @scalelightfixed, ptr @walllights, align 8, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !18
  br label %52

52:                                               ; preds = %60, %43
  %53 = load i32, ptr %3, align 4, !tbaa !18
  %54 = icmp slt i32 %53, 48
  br i1 %54, label %55, label %63

55:                                               ; preds = %52
  %56 = load ptr, ptr @fixedcolormap, align 8, !tbaa !5
  %57 = load i32, ptr %3, align 4, !tbaa !18
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [48 x ptr], ptr @scalelightfixed, i64 0, i64 %58
  store ptr %56, ptr %59, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %55
  %61 = load i32, ptr %3, align 4, !tbaa !18
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %3, align 4, !tbaa !18
  br label %52, !llvm.loop !24

63:                                               ; preds = %52
  br label %65

64:                                               ; preds = %1
  store ptr null, ptr @fixedcolormap, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %64, %63
  %66 = load i32, ptr @framecount, align 4, !tbaa !18
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr @framecount, align 4, !tbaa !18
  %68 = load i32, ptr @validcount, align 4, !tbaa !18
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr @validcount, align 4, !tbaa !18
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !6, i64 0}
!10 = !{!"player_s", !6, i64 0, !11, i64 8, !12, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 72, !11, i64 96, !7, i64 100, !11, i64 116, !11, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !6, i64 224, !11, i64 232, !11, i64 236, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !7, i64 264, !11, i64 312}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 1, !13, i64 2, !13, i64 4, !7, i64 6, !7, i64 7}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !11, i64 24}
!15 = !{!"mobj_s", !16, i64 0, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !6, i64 176, !11, i64 184, !11, i64 188, !6, i64 192, !11, i64 200, !17, i64 204, !6, i64 216}
!16 = !{!"thinker_s", !6, i64 0, !6, i64 8, !7, i64 16}
!17 = !{!"", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!15, !11, i64 28}
!20 = !{!15, !11, i64 56}
!21 = !{!10, !11, i64 248}
!22 = !{!10, !11, i64 20}
!23 = !{!10, !11, i64 252}
!24 = distinct !{!24, !25}
!25 = !{!"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"

@validcount = external dso_local local_unnamed_addr global i32, align 4
@finesine = external local_unnamed_addr global [10240 x i32], align 16
@finecosine = external dso_local local_unnamed_addr global ptr, align 8
@viewx = external dso_local local_unnamed_addr global i32, align 4
@viewy = external dso_local local_unnamed_addr global i32, align 4
@viewangle = external dso_local local_unnamed_addr global i32, align 4
@colormaps = external local_unnamed_addr global ptr, align 8
@framecount = external dso_local local_unnamed_addr global i32, align 4
@viewplayer = external dso_local local_unnamed_addr global ptr, align 8
@viewangleoffset = external dso_local local_unnamed_addr global i32, align 4
@extralight = external dso_local local_unnamed_addr global i32, align 4
@viewz = external dso_local local_unnamed_addr global i32, align 4
@viewsin = external dso_local local_unnamed_addr global i32, align 4
@viewcos = external dso_local local_unnamed_addr global i32, align 4
@sscount = external dso_local local_unnamed_addr global i32, align 4
@fixedcolormap = external dso_local local_unnamed_addr global ptr, align 8
@scalelightfixed = external dso_local global [48 x ptr], align 16
@walllights = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) uwtable
define dso_local void @R_SetupFrame(ptr noundef %0) local_unnamed_addr #0 {
  store ptr %0, ptr @viewplayer, align 8, !tbaa !5
  %2 = load ptr, ptr %0, align 8, !tbaa !9
  %3 = getelementptr inbounds i8, ptr %2, i64 24
  %4 = load i32, ptr %3, align 8, !tbaa !14
  store i32 %4, ptr @viewx, align 4, !tbaa !18
  %5 = getelementptr inbounds i8, ptr %2, i64 28
  %6 = load i32, ptr %5, align 4, !tbaa !19
  store i32 %6, ptr @viewy, align 4, !tbaa !18
  %7 = getelementptr inbounds i8, ptr %2, i64 56
  %8 = load i32, ptr %7, align 8, !tbaa !20
  %9 = load i32, ptr @viewangleoffset, align 4, !tbaa !18
  %10 = add i32 %9, %8
  store i32 %10, ptr @viewangle, align 4, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %0, i64 248
  %12 = load i32, ptr %11, align 8, !tbaa !21
  store i32 %12, ptr @extralight, align 4, !tbaa !18
  %13 = getelementptr inbounds i8, ptr %0, i64 20
  %14 = load i32, ptr %13, align 4, !tbaa !22
  store i32 %14, ptr @viewz, align 4, !tbaa !18
  %15 = lshr i32 %10, 19
  %16 = zext nneg i32 %15 to i64
  %17 = getelementptr inbounds [10240 x i32], ptr @finesine, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !18
  store i32 %18, ptr @viewsin, align 4, !tbaa !18
  %19 = load ptr, ptr @finecosine, align 8, !tbaa !5
  %20 = getelementptr inbounds i32, ptr %19, i64 %16
  %21 = load i32, ptr %20, align 4, !tbaa !18
  store i32 %21, ptr @viewcos, align 4, !tbaa !18
  store i32 0, ptr @sscount, align 4, !tbaa !18
  %22 = getelementptr inbounds i8, ptr %0, i64 252
  %23 = load i32, ptr %22, align 4, !tbaa !23
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %28, label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %1
  %24 = load ptr, ptr @colormaps, align 8, !tbaa !5
  %25 = shl nsw i32 %23, 8
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds i8, ptr %24, i64 %26
  store ptr %27, ptr @fixedcolormap, align 8, !tbaa !5
  store ptr @scalelightfixed, ptr @walllights, align 8, !tbaa !5
  store ptr %27, ptr @scalelightfixed, align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 8), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 16), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 24), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 32), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 40), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 48), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 56), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 64), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 72), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 80), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 88), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 96), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 104), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 112), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 120), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 128), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 136), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 144), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 152), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 160), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 168), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 176), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 184), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 192), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 200), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 208), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 216), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 224), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 232), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 240), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 248), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 256), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 264), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 272), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 280), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 288), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 296), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 304), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 312), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 320), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 328), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 336), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 344), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 352), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 360), align 8, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 368), align 16, !tbaa !5
  store ptr %27, ptr getelementptr inbounds (i8, ptr @scalelightfixed, i64 376), align 8, !tbaa !5
  br label %.loopexit

28:                                               ; preds = %1
  store ptr null, ptr @fixedcolormap, align 8, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %28
  %29 = load i32, ptr @framecount, align 4, !tbaa !18
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr @framecount, align 4, !tbaa !18
  %31 = load i32, ptr @validcount, align 4, !tbaa !18
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr @validcount, align 4, !tbaa !18
  ret void
}

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: read, inaccessiblemem: none) 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" }

!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, !6, i64 0}
!10 = !{!"player_s", !6, i64 0, !11, i64 8, !12, i64 12, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48, !7, i64 72, !11, i64 96, !7, i64 100, !11, i64 116, !11, i64 120, !7, i64 124, !7, i64 160, !7, i64 176, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !6, i64 224, !11, i64 232, !11, i64 236, !6, i64 240, !11, i64 248, !11, i64 252, !11, i64 256, !7, i64 264, !11, i64 312}
!11 = !{!"int", !7, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 1, !13, i64 2, !13, i64 4, !7, i64 6, !7, i64 7}
!13 = !{!"short", !7, i64 0}
!14 = !{!15, !11, i64 24}
!15 = !{!"mobj_s", !16, i64 0, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 40, !6, i64 48, !11, i64 56, !11, i64 60, !11, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !6, i64 176, !11, i64 184, !11, i64 188, !6, i64 192, !11, i64 200, !17, i64 204, !6, i64 216}
!16 = !{!"thinker_s", !6, i64 0, !6, i64 8, !7, i64 16}
!17 = !{!"", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !13, i64 8}
!18 = !{!11, !11, i64 0}
!19 = !{!15, !11, i64 28}
!20 = !{!15, !11, i64 56}
!21 = !{!10, !11, i64 248}
!22 = !{!10, !11, i64 20}
!23 = !{!10, !11, i64 252}


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