; LLVM IR from paintdream/DontStarveLuaJIT :: src/luajit/src (lj_err)

; 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.lua_State = type { %union.anon.4 }
%union.anon.4 = type { %struct.anon.5, [320 x i8] }
%struct.anon.5 = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, ptr, ptr, %struct.MRef, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, i32 }
%struct.MRef = type { i32 }
%struct.GCRef = type { i32 }
%struct.GG_State = type { %struct.lua_State, %struct.global_State, %struct.jit_State, [64 x i16], [243 x ptr], [57 x i32] }
%struct.global_State = type { ptr, i32, i32, ptr, ptr, %struct.GCState, i32, %struct.SBuf, %struct.GCstr, i8, i8, i8, i8, %struct.GCRef, %union.TValue, %union.TValue, %union.TValue, %struct.Node, %struct.GCupval, i32, i32, ptr, ptr, ptr, i32, i32, %struct.GCRef, %struct.MRef, %struct.MRef, [38 x %struct.GCRef] }
%struct.GCState = type { i32, i32, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, i32, i32, i32, i32 }
%struct.SBuf = type { %struct.MRef, %struct.MRef, %struct.MRef, %struct.MRef }
%struct.GCstr = type { %struct.GCRef, i8, i8, i8, i8, i32, i32 }
%union.TValue = type { i64 }
%struct.Node = type { %union.TValue, %union.TValue, %struct.MRef, %struct.MRef }
%struct.GCupval = type { %struct.GCRef, i8, i8, i8, i8, %union.anon, %struct.MRef, i32 }
%union.anon = type { %union.TValue }
%struct.jit_State = type { %struct.GCtrace, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i8, i8, %struct.IRType1, i8, %struct.FoldState, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.MRef, [5 x %union.TValue], ptr, i32, i32, i32, i32, ptr, ptr, i32, i32, i8, ptr, i32, i32, ptr, [100 x i16], [255 x i32], [15 x i32], [16 x ptr], [64 x %struct.HotPenalty], i32, i32, [16 x %struct.BPropEntry], i32, %struct.ScEvEntry, ptr, i32, i32, ptr, i32, i32, ptr, ptr, ptr, i64, i64, %union.TValue, ptr, i32, i32 }
%struct.GCtrace = type { %struct.GCRef, i8, i8, i8, i8, i32, %struct.GCRef, ptr, i32, i16, i16, ptr, ptr, %struct.GCRef, %struct.MRef, i32, i32, ptr, i32, i16, i16, i16, i16, i16, i16, i16, i8, i8 }
%struct.IRType1 = type { i8 }
%struct.FoldState = type { %union.IRIns, %union.IRIns, %union.IRIns }
%union.IRIns = type { %struct.anon.7 }
%struct.anon.7 = type { i32, %struct.IRType1, i8, i8, i8 }
%struct.HotPenalty = type { %struct.MRef, i16, i16 }
%struct.BPropEntry = type { i16, i16, i32 }
%struct.ScEvEntry = type { %struct.MRef, i16, i16, i16, i16, %struct.IRType1, i8 }
%struct.anon = type { %union.anon.0, i32 }
%union.anon.0 = type { %struct.GCRef }

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: noinline nounwind uwtable
declare hidden ptr @lj_err_str(ptr noundef, i32 noundef) #2

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

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @lj_err_throw(ptr noundef, i32 noundef) #3

; Function Attrs: noinline noreturn nounwind uwtable
define hidden void @lj_err_run(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = call i64 @finderrfunc(ptr noundef %6)
  store i64 %7, ptr %3, align 8, !tbaa !9
  %8 = load i64, ptr %3, align 8, !tbaa !9
  %9 = icmp ne i64 %8, 0
  br i1 %9, label %10, label %74

10:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.lua_State, ptr %11, i32 0, i32 0
  %13 = getelementptr inbounds %struct.anon.5, ptr %12, i32 0, i32 10
  %14 = getelementptr inbounds %struct.MRef, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 4, !tbaa !11
  %16 = zext i32 %15 to i64
  %17 = inttoptr i64 %16 to ptr
  %18 = load i64, ptr %3, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %17, i64 %18
  store ptr %19, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.lua_State, ptr %20, i32 0, i32 0
  %22 = getelementptr inbounds %struct.anon.5, ptr %21, i32 0, i32 8
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  store ptr %23, ptr %5, align 8, !tbaa !5
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.lua_State, ptr %24, i32 0, i32 0
  %26 = getelementptr inbounds %struct.anon.5, ptr %25, i32 0, i32 5
  %27 = getelementptr inbounds %struct.MRef, ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !11
  %29 = zext i32 %28 to i64
  %30 = inttoptr i64 %29 to ptr
  %31 = getelementptr inbounds i8, ptr %30, i64 -384
  %32 = getelementptr inbounds %struct.GG_State, ptr %31, i32 0, i32 2
  %33 = getelementptr inbounds %struct.jit_State, ptr %32, i32 0, i32 16
  %34 = load i32, ptr %33, align 4, !tbaa !12
  %35 = and i32 %34, -17
  store i32 %35, ptr %33, align 4, !tbaa !12
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.anon, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !11
  %39 = icmp eq i32 %38, -9
  br i1 %39, label %40, label %47

40:                                               ; preds = %10
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.lua_State, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %struct.anon.5, ptr %42, i32 0, i32 4
  %44 = load i8, ptr %43, align 1, !tbaa !11
  %45 = zext i8 %44 to i32
  %46 = icmp eq i32 %45, 5
  br i1 %46, label %47, label %54

47:                                               ; preds = %40, %10
  %48 = load ptr, ptr %2, align 8, !tbaa !5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %union.TValue, ptr %49, i64 -1
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = call ptr @lj_err_str(ptr noundef %51, i32 noundef 18)
  call void @setstrV(ptr noundef %48, ptr noundef %50, ptr noundef %52)
  %53 = load ptr, ptr %2, align 8, !tbaa !5
  call void @lj_err_throw(ptr noundef %53, i32 noundef 5) #7
  unreachable

54:                                               ; preds = %40
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.lua_State, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.anon.5, ptr %56, i32 0, i32 4
  store i8 5, ptr %57, align 1, !tbaa !11
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = load ptr, ptr %5, align 8, !tbaa !5
  %60 = getelementptr inbounds %union.TValue, ptr %59, i64 0
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %union.TValue, ptr %61, i64 -1
  call void @copyTV(ptr noundef %58, ptr noundef %60, ptr noundef %62)
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %union.TValue, ptr %64, i64 -1
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  call void @copyTV(ptr noundef %63, ptr noundef %65, ptr noundef %66)
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %union.TValue, ptr %67, i64 1
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.lua_State, ptr %69, i32 0, i32 0
  %71 = getelementptr inbounds %struct.anon.5, ptr %70, i32 0, i32 8
  store ptr %68, ptr %71, align 8, !tbaa !11
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  call void @lj_vm_call(ptr noundef %72, ptr noundef %73, i32 noundef 2)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %74

74:                                               ; preds = %54, %1
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  call void @lj_err_throw(ptr noundef %75, i32 noundef 2) #7
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden i64 @finderrfunc(ptr noundef) #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @copyTV(ptr noundef, ptr noundef, ptr noundef) #1

declare hidden void @lj_vm_call(ptr noundef, ptr noundef, i32 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline 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 = { noinline 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 = { noinline noreturn 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 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 #5 = { "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 #6 = { nounwind }
attributes #7 = { noreturn }

!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 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !16, i64 988}
!13 = !{!"GG_State", !14, i64 0, !15, i64 384, !24, i64 800, !7, i64 3312, !7, i64 3440, !7, i64 5384}
!14 = !{!"lua_State", !7, i64 0}
!15 = !{!"global_State", !6, i64 0, !16, i64 8, !16, i64 12, !6, i64 16, !6, i64 24, !17, i64 32, !16, i64 88, !20, i64 92, !21, i64 108, !7, i64 124, !7, i64 125, !7, i64 126, !7, i64 127, !18, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !22, i64 160, !23, i64 184, !16, i64 208, !16, i64 212, !6, i64 216, !6, i64 224, !6, i64 232, !16, i64 240, !16, i64 244, !18, i64 248, !19, i64 252, !19, i64 256, !7, i64 260}
!16 = !{!"int", !7, i64 0}
!17 = !{!"GCState", !16, i64 0, !16, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !16, i64 12, !18, i64 16, !19, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52}
!18 = !{!"GCRef", !16, i64 0}
!19 = !{!"MRef", !16, i64 0}
!20 = !{!"SBuf", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!21 = !{!"GCstr", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !16, i64 8, !16, i64 12}
!22 = !{!"Node", !7, i64 0, !7, i64 8, !19, i64 16, !19, i64 20}
!23 = !{!"GCupval", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !19, i64 16, !16, i64 20}
!24 = !{!"jit_State", !25, i64 0, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !16, i64 136, !16, i64 140, !16, i64 144, !7, i64 148, !7, i64 149, !27, i64 150, !7, i64 151, !28, i64 152, !6, i64 176, !16, i64 184, !16, i64 188, !16, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !19, i64 212, !7, i64 216, !6, i64 256, !16, i64 264, !16, i64 268, !16, i64 272, !16, i64 276, !6, i64 280, !6, i64 288, !16, i64 296, !16, i64 300, !7, i64 304, !6, i64 312, !16, i64 320, !16, i64 324, !6, i64 328, !7, i64 336, !7, i64 536, !7, i64 1556, !7, i64 1616, !7, i64 1744, !16, i64 2256, !16, i64 2260, !7, i64 2264, !16, i64 2392, !29, i64 2396, !6, i64 2416, !16, i64 2424, !16, i64 2428, !6, i64 2432, !16, i64 2440, !16, i64 2444, !6, i64 2448, !6, i64 2456, !6, i64 2464, !10, i64 2472, !10, i64 2480, !7, i64 2488, !6, i64 2496, !16, i64 2504, !16, i64 2508}
!25 = !{!"GCtrace", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !16, i64 8, !18, i64 12, !6, i64 16, !16, i64 24, !26, i64 28, !26, i64 30, !6, i64 32, !6, i64 40, !18, i64 48, !19, i64 52, !16, i64 56, !16, i64 60, !6, i64 64, !16, i64 72, !26, i64 76, !26, i64 78, !26, i64 80, !26, i64 82, !26, i64 84, !26, i64 86, !26, i64 88, !7, i64 90, !7, i64 91}
!26 = !{!"short", !7, i64 0}
!27 = !{!"IRType1", !7, i64 0}
!28 = !{!"FoldState", !7, i64 0, !7, i64 8, !7, i64 16}
!29 = !{!"ScEvEntry", !19, i64 0, !26, i64 4, !26, i64 6, !26, i64 8, !26, i64 10, !27, i64 12, !7, i64 13}


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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: noinline nounwind uwtable
declare hidden ptr @lj_err_str(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @lj_err_throw(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: noinline noreturn nounwind uwtable
define hidden void @lj_err_run(ptr noundef %0) local_unnamed_addr #2 {
  %2 = tail call i64 @finderrfunc(ptr noundef %0)
  %.not = icmp eq i64 %2, 0
  br i1 %.not, label %31, label %3

3:                                                ; preds = %1
  %4 = getelementptr inbounds i8, ptr %0, i64 36
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = zext i32 %5 to i64
  %7 = inttoptr i64 %6 to ptr
  %8 = getelementptr inbounds i8, ptr %7, i64 %2
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = load i32, ptr %11, align 8, !tbaa !5
  %13 = zext i32 %12 to i64
  %14 = inttoptr i64 %13 to ptr
  %15 = getelementptr inbounds i8, ptr %14, i64 604
  %16 = load i32, ptr %15, align 4, !tbaa !8
  %17 = and i32 %16, -17
  store i32 %17, ptr %15, align 4, !tbaa !8
  %18 = getelementptr inbounds i8, ptr %8, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp eq i32 %19, -9
  br i1 %20, label %21, label %25

21:                                               ; preds = %3
  %22 = getelementptr inbounds i8, ptr %0, i64 7
  %23 = load i8, ptr %22, align 1, !tbaa !5
  %24 = icmp eq i8 %23, 5
  br i1 %24, label %25, label %28

25:                                               ; preds = %21, %3
  %26 = getelementptr inbounds i8, ptr %10, i64 -8
  %27 = tail call ptr @lj_err_str(ptr noundef nonnull %0, i32 noundef 18)
  tail call void @setstrV(ptr noundef nonnull %0, ptr noundef nonnull %26, ptr noundef %27)
  tail call void @lj_err_throw(ptr noundef nonnull %0, i32 noundef 5) #5
  unreachable

28:                                               ; preds = %21
  store i8 5, ptr %22, align 1, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %10, i64 -8
  tail call void @copyTV(ptr noundef nonnull %0, ptr noundef %10, ptr noundef nonnull %29)
  tail call void @copyTV(ptr noundef nonnull %0, ptr noundef nonnull %29, ptr noundef nonnull %8)
  %30 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %30, ptr %9, align 8, !tbaa !5
  tail call void @lj_vm_call(ptr noundef nonnull %0, ptr noundef %10, i32 noundef 2) #6
  br label %31

31:                                               ; preds = %28, %1
  tail call void @lj_err_throw(ptr noundef %0, i32 noundef 2) #5
  unreachable
}

; Function Attrs: nounwind uwtable
declare hidden i64 @finderrfunc(ptr noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @copyTV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare hidden void @lj_vm_call(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { alwaysinline 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 = { noinline 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 = { noinline noreturn 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 = { "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 #5 = { noreturn }
attributes #6 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !13, i64 988}
!9 = !{!"GG_State", !10, i64 0, !11, i64 384, !21, i64 800, !6, i64 3312, !6, i64 3440, !6, i64 5384}
!10 = !{!"lua_State", !6, i64 0}
!11 = !{!"global_State", !12, i64 0, !13, i64 8, !13, i64 12, !12, i64 16, !12, i64 24, !14, i64 32, !13, i64 88, !17, i64 92, !18, i64 108, !6, i64 124, !6, i64 125, !6, i64 126, !6, i64 127, !15, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !19, i64 160, !20, i64 184, !13, i64 208, !13, i64 212, !12, i64 216, !12, i64 224, !12, i64 232, !13, i64 240, !13, i64 244, !15, i64 248, !16, i64 252, !16, i64 256, !6, i64 260}
!12 = !{!"any pointer", !6, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = !{!"GCState", !13, i64 0, !13, i64 4, !6, i64 8, !6, i64 9, !6, i64 10, !6, i64 11, !13, i64 12, !15, i64 16, !16, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52}
!15 = !{!"GCRef", !13, i64 0}
!16 = !{!"MRef", !13, i64 0}
!17 = !{!"SBuf", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!18 = !{!"GCstr", !15, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !13, i64 8, !13, i64 12}
!19 = !{!"Node", !6, i64 0, !6, i64 8, !16, i64 16, !16, i64 20}
!20 = !{!"GCupval", !15, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8, !16, i64 16, !13, i64 20}
!21 = !{!"jit_State", !22, i64 0, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !13, i64 136, !13, i64 140, !13, i64 144, !6, i64 148, !6, i64 149, !24, i64 150, !6, i64 151, !25, i64 152, !12, i64 176, !13, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !13, i64 204, !13, i64 208, !16, i64 212, !6, i64 216, !12, i64 256, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !12, i64 280, !12, i64 288, !13, i64 296, !13, i64 300, !6, i64 304, !12, i64 312, !13, i64 320, !13, i64 324, !12, i64 328, !6, i64 336, !6, i64 536, !6, i64 1556, !6, i64 1616, !6, i64 1744, !13, i64 2256, !13, i64 2260, !6, i64 2264, !13, i64 2392, !26, i64 2396, !12, i64 2416, !13, i64 2424, !13, i64 2428, !12, i64 2432, !13, i64 2440, !13, i64 2444, !12, i64 2448, !12, i64 2456, !12, i64 2464, !27, i64 2472, !27, i64 2480, !6, i64 2488, !12, i64 2496, !13, i64 2504, !13, i64 2508}
!22 = !{!"GCtrace", !15, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !13, i64 8, !15, i64 12, !12, i64 16, !13, i64 24, !23, i64 28, !23, i64 30, !12, i64 32, !12, i64 40, !15, i64 48, !16, i64 52, !13, i64 56, !13, i64 60, !12, i64 64, !13, i64 72, !23, i64 76, !23, i64 78, !23, i64 80, !23, i64 82, !23, i64 84, !23, i64 86, !23, i64 88, !6, i64 90, !6, i64 91}
!23 = !{!"short", !6, i64 0}
!24 = !{!"IRType1", !6, i64 0}
!25 = !{!"FoldState", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!"ScEvEntry", !16, i64 0, !23, i64 4, !23, i64 6, !23, i64 8, !23, i64 10, !24, i64 12, !6, i64 13}
!27 = !{!"long", !6, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,TailCallElimPass