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

; 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.GG_State = type { %struct.lua_State, %struct.global_State, %struct.jit_State, [64 x i16], [243 x ptr], [57 x i32] }
%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.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.6, %struct.MRef, i32 }
%union.anon.6 = 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.0 }
%struct.anon.0 = 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.RecordFFData = type { ptr, i64, i32 }
%struct.GCcdata = type { %struct.GCRef, i8, i8, i16 }
%struct.CType = type { i32, i32, i16, i16, %struct.GCRef }
%struct.anon.1 = type { %union.anon, i32 }
%union.anon = type { %struct.GCRef }
%struct.anon.2 = type { %struct.GCRef, %union.FrameLink }
%union.FrameLink = type { i32 }

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

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_rawchild(ptr noundef, ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_ir_set_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) #2

declare hidden i32 @lj_opt_fold(ptr noundef) #3

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

declare hidden i32 @lj_ir_kint64(ptr noundef, i64 noundef) #3

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

declare hidden ptr @lj_ctype_getfieldq(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare hidden i32 @lj_ir_kgc(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_child(ptr noundef, ptr noundef) #2

declare hidden i32 @lj_ir_kint(ptr noundef, i32 noundef) #3

; Function Attrs: noreturn
declare hidden void @lj_trace_err(ptr noundef, i32 noundef) #4

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

; Function Attrs: nounwind uwtable
define hidden void @recff_cdata_arith(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca [2 x i32], align 4
  %7 = alloca [2 x ptr], align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 -800
  %23 = getelementptr inbounds %struct.GG_State, ptr %22, i32 0, i32 1
  %24 = getelementptr inbounds %struct.global_State, ptr %23, i32 0, i32 28
  %25 = getelementptr inbounds %struct.MRef, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 8, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = inttoptr i64 %27 to ptr
  store ptr %28, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !28
  br label %29

29:                                               ; preds = %348, %2
  %30 = load i32, ptr %8, align 4, !tbaa !28
  %31 = icmp ult i32 %30, 2
  br i1 %31, label %32, label %351

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.jit_State, ptr %33, i32 0, i32 5
  %35 = load ptr, ptr %34, align 8, !tbaa !29
  %36 = load i32, ptr %8, align 4, !tbaa !28
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %35, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !28
  store i32 %39, ptr %9, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = call ptr @ctype_get(ptr noundef %40, i32 noundef 14)
  store ptr %41, ptr %10, align 8, !tbaa !5
  %42 = load i32, ptr %9, align 4, !tbaa !28
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %46, label %44

44:                                               ; preds = %32
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  call void @lj_trace_err(ptr noundef %45, i32 noundef 11) #6
  unreachable

46:                                               ; preds = %32
  %47 = load i32, ptr %9, align 4, !tbaa !28
  %48 = and i32 %47, 520093696
  %49 = icmp eq i32 %48, 167772160
  br i1 %49, label %50, label %210

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = load i32, ptr %9, align 4, !tbaa !28
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.RecordFFData, ptr %53, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8, !tbaa !30
  %56 = load i32, ptr %8, align 4, !tbaa !28
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds %union.TValue, ptr %55, i64 %57
  %59 = call ptr @argv2cdata(ptr noundef %51, i32 noundef %52, ptr noundef %58)
  %60 = getelementptr inbounds %struct.GCcdata, ptr %59, i32 0, i32 3
  %61 = load i16, ptr %60, align 2, !tbaa !32
  %62 = zext i16 %61 to i32
  store i32 %62, ptr %11, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = load i32, ptr %11, align 4, !tbaa !28
  %65 = call ptr @ctype_raw(ptr noundef %63, i32 noundef %64)
  store ptr %65, ptr %10, align 8, !tbaa !5
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = call i32 @crec_ct2irt(ptr noundef %66, ptr noundef %67)
  store i32 %68, ptr %12, align 4, !tbaa !28
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.CType, ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 4, !tbaa !34
  %72 = lshr i32 %71, 28
  %73 = icmp eq i32 %72, 2
  br i1 %73, label %74, label %96

74:                                               ; preds = %50
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = load i32, ptr %12, align 4, !tbaa !28
  %77 = or i32 17664, %76
  %78 = trunc i32 %77 to i16
  %79 = load i32, ptr %9, align 4, !tbaa !28
  %80 = trunc i32 %79 to i16
  call void @lj_ir_set_(ptr noundef %75, i16 noundef zeroext %78, i16 noundef zeroext %80, i16 noundef zeroext 15)
  %81 = load ptr, ptr %3, align 8, !tbaa !5
  %82 = call i32 @lj_opt_fold(ptr noundef %81)
  store i32 %82, ptr %9, align 4, !tbaa !28
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.CType, ptr %83, i32 0, i32 0
  %85 = load i32, ptr %84, align 4, !tbaa !34
  %86 = and i32 %85, -260046848
  %87 = icmp eq i32 %86, 545259520
  br i1 %87, label %88, label %95

88:                                               ; preds = %74
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = call ptr @ctype_rawchild(ptr noundef %89, ptr noundef %90)
  store ptr %91, ptr %10, align 8, !tbaa !5
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  %94 = call i32 @crec_ct2irt(ptr noundef %92, ptr noundef %93)
  store i32 %94, ptr %12, align 4, !tbaa !28
  br label %95

95:                                               ; preds = %88, %74
  br label %168

96:                                               ; preds = %50
  %97 = load i32, ptr %12, align 4, !tbaa !28
  %98 = icmp eq i32 %97, 21
  br i1 %98, label %102, label %99

99:                                               ; preds = %96
  %100 = load i32, ptr %12, align 4, !tbaa !28
  %101 = icmp eq i32 %100, 22
  br i1 %101, label %102, label %112

102:                                              ; preds = %99, %96
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = load i32, ptr %12, align 4, !tbaa !28
  %105 = or i32 17664, %104
  %106 = trunc i32 %105 to i16
  %107 = load i32, ptr %9, align 4, !tbaa !28
  %108 = trunc i32 %107 to i16
  call void @lj_ir_set_(ptr noundef %103, i16 noundef zeroext %106, i16 noundef zeroext %108, i16 noundef zeroext 17)
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = call i32 @lj_opt_fold(ptr noundef %109)
  store i32 %110, ptr %9, align 4, !tbaa !28
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  store i32 5, ptr %13, align 4
  br label %207

112:                                              ; preds = %99
  %113 = load i32, ptr %12, align 4, !tbaa !28
  %114 = icmp eq i32 %113, 19
  br i1 %114, label %118, label %115

115:                                              ; preds = %112
  %116 = load i32, ptr %12, align 4, !tbaa !28
  %117 = icmp eq i32 %116, 20
  br i1 %117, label %118, label %137

118:                                              ; preds = %115, %112
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = load i32, ptr %12, align 4, !tbaa !28
  %121 = or i32 17664, %120
  %122 = trunc i32 %121 to i16
  %123 = load i32, ptr %9, align 4, !tbaa !28
  %124 = trunc i32 %123 to i16
  call void @lj_ir_set_(ptr noundef %119, i16 noundef zeroext %122, i16 noundef zeroext %124, i16 noundef zeroext 16)
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = call i32 @lj_opt_fold(ptr noundef %125)
  store i32 %126, ptr %9, align 4, !tbaa !28
  %127 = load ptr, ptr %10, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.CType, ptr %127, i32 0, i32 0
  %129 = load i32, ptr %128, align 4, !tbaa !34
  %130 = lshr i32 %129, 28
  %131 = icmp eq i32 %130, 5
  br i1 %131, label %132, label %136

132:                                              ; preds = %118
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = call ptr @ctype_child(ptr noundef %133, ptr noundef %134)
  store ptr %135, ptr %10, align 8, !tbaa !5
  br label %136

136:                                              ; preds = %132, %118
  store i32 5, ptr %13, align 4
  br label %207

137:                                              ; preds = %115
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.CType, ptr %138, i32 0, i32 0
  %140 = load i32, ptr %139, align 4, !tbaa !34
  %141 = lshr i32 %140, 28
  %142 = icmp eq i32 %141, 6
  br i1 %142, label %143, label %156

143:                                              ; preds = %137
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = load i32, ptr %9, align 4, !tbaa !28
  %146 = trunc i32 %145 to i16
  call void @lj_ir_set_(ptr noundef %144, i16 noundef zeroext 17673, i16 noundef zeroext %146, i16 noundef zeroext 15)
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = call i32 @lj_opt_fold(ptr noundef %147)
  store i32 %148, ptr %9, align 4, !tbaa !28
  %149 = load ptr, ptr %5, align 8, !tbaa !5
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  %151 = load i32, ptr %11, align 4, !tbaa !28
  %152 = or i32 196608, %151
  %153 = add i32 536870912, %152
  %154 = call i32 @lj_ctype_intern(ptr noundef %150, i32 noundef %153, i32 noundef 8)
  %155 = call ptr @ctype_get(ptr noundef %149, i32 noundef %154)
  store ptr %155, ptr %10, align 8, !tbaa !5
  store i32 5, ptr %13, align 4
  br label %207

156:                                              ; preds = %137
  %157 = load ptr, ptr %3, align 8, !tbaa !5
  %158 = load i32, ptr %9, align 4, !tbaa !28
  %159 = trunc i32 %158 to i16
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = call i32 @lj_ir_kint64(ptr noundef %160, i64 noundef 8)
  %162 = trunc i32 %161 to i16
  call void @lj_ir_set_(ptr noundef %157, i16 noundef zeroext 10505, i16 noundef zeroext %159, i16 noundef zeroext %162)
  %163 = load ptr, ptr %3, align 8, !tbaa !5
  %164 = call i32 @lj_opt_fold(ptr noundef %163)
  store i32 %164, ptr %9, align 4, !tbaa !28
  br label %165

165:                                              ; preds = %156
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  br label %168

168:                                              ; preds = %167, %95
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.CType, ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 4, !tbaa !34
  %172 = lshr i32 %171, 28
  %173 = icmp eq i32 %172, 5
  br i1 %173, label %174, label %178

174:                                              ; preds = %168
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = call ptr @ctype_child(ptr noundef %175, ptr noundef %176)
  store ptr %177, ptr %10, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %174, %168
  %179 = load ptr, ptr %10, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.CType, ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 4, !tbaa !34
  %182 = lshr i32 %181, 28
  %183 = icmp eq i32 %182, 0
  br i1 %183, label %184, label %206

184:                                              ; preds = %178
  %185 = load i32, ptr %12, align 4, !tbaa !28
  %186 = icmp eq i32 %185, 10
  br i1 %186, label %187, label %188

187:                                              ; preds = %184
  store i32 0, ptr %9, align 4, !tbaa !28
  br label %205

188:                                              ; preds = %184
  %189 = load i32, ptr %12, align 4, !tbaa !28
  %190 = icmp eq i32 %189, 21
  br i1 %190, label %194, label %191

191:                                              ; preds = %188
  %192 = load i32, ptr %12, align 4, !tbaa !28
  %193 = icmp eq i32 %192, 22
  br i1 %193, label %194, label %196

194:                                              ; preds = %191, %188
  %195 = load ptr, ptr %3, align 8, !tbaa !5
  br label %196

196:                                              ; preds = %194, %191
  %197 = load ptr, ptr %3, align 8, !tbaa !5
  %198 = load i32, ptr %12, align 4, !tbaa !28
  %199 = or i32 17920, %198
  %200 = trunc i32 %199 to i16
  %201 = load i32, ptr %9, align 4, !tbaa !28
  %202 = trunc i32 %201 to i16
  call void @lj_ir_set_(ptr noundef %197, i16 noundef zeroext %200, i16 noundef zeroext %202, i16 noundef zeroext 0)
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = call i32 @lj_opt_fold(ptr noundef %203)
  store i32 %204, ptr %9, align 4, !tbaa !28
  br label %205

205:                                              ; preds = %196, %187
  br label %206

206:                                              ; preds = %205, %178
  store i32 0, ptr %13, align 4
  br label %207

207:                                              ; preds = %206, %143, %136, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %208 = load i32, ptr %13, align 4
  switch i32 %208, label %445 [
    i32 0, label %209
    i32 5, label %339
  ]

209:                                              ; preds = %207
  br label %337

210:                                              ; preds = %46
  %211 = load i32, ptr %9, align 4, !tbaa !28
  %212 = and i32 %211, 520093696
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %219

214:                                              ; preds = %210
  %215 = load ptr, ptr %3, align 8, !tbaa !5
  %216 = call i32 @lj_ir_kptr_(ptr noundef %215, i32 noundef 25, ptr noundef null)
  store i32 %216, ptr %9, align 4, !tbaa !28
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = call ptr @ctype_get(ptr noundef %217, i32 noundef 17)
  store ptr %218, ptr %10, align 8, !tbaa !5
  br label %336

219:                                              ; preds = %210
  %220 = load i32, ptr %9, align 4, !tbaa !28
  %221 = lshr i32 %220, 24
  %222 = and i32 %221, 31
  %223 = sub i32 %222, 15
  %224 = icmp ule i32 %223, 4
  br i1 %224, label %225, label %228

225:                                              ; preds = %219
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = call ptr @ctype_get(ptr noundef %226, i32 noundef 9)
  store ptr %227, ptr %10, align 8, !tbaa !5
  br label %335

228:                                              ; preds = %219
  %229 = load i32, ptr %9, align 4, !tbaa !28
  %230 = and i32 %229, 520093696
  %231 = icmp eq i32 %230, 67108864
  br i1 %231, label %232, label %326

232:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.jit_State, ptr %233, i32 0, i32 5
  %235 = load ptr, ptr %234, align 8, !tbaa !29
  %236 = load i32, ptr %8, align 4, !tbaa !28
  %237 = sub i32 1, %236
  %238 = zext i32 %237 to i64
  %239 = getelementptr inbounds i32, ptr %235, i64 %238
  %240 = load i32, ptr %239, align 4, !tbaa !28
  store i32 %240, ptr %14, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %241 = load ptr, ptr %3, align 8, !tbaa !5
  %242 = load i32, ptr %14, align 4, !tbaa !28
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.RecordFFData, ptr %243, i32 0, i32 0
  %245 = load ptr, ptr %244, align 8, !tbaa !30
  %246 = load i32, ptr %8, align 4, !tbaa !28
  %247 = sub i32 1, %246
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds %union.TValue, ptr %245, i64 %248
  %250 = call ptr @argv2cdata(ptr noundef %241, i32 noundef %242, ptr noundef %249)
  %251 = getelementptr inbounds %struct.GCcdata, ptr %250, i32 0, i32 3
  %252 = load i16, ptr %251, align 2, !tbaa !32
  %253 = zext i16 %252 to i32
  store i32 %253, ptr %15, align 4, !tbaa !28
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = load i32, ptr %15, align 4, !tbaa !28
  %256 = call ptr @ctype_raw(ptr noundef %254, i32 noundef %255)
  store ptr %256, ptr %10, align 8, !tbaa !5
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.CType, ptr %257, i32 0, i32 0
  %259 = load i32, ptr %258, align 4, !tbaa !34
  %260 = lshr i32 %259, 28
  %261 = icmp eq i32 %260, 5
  br i1 %261, label %262, label %306

262:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.RecordFFData, ptr %263, i32 0, i32 0
  %265 = load ptr, ptr %264, align 8, !tbaa !30
  %266 = load i32, ptr %8, align 4, !tbaa !28
  %267 = zext i32 %266 to i64
  %268 = getelementptr inbounds %union.TValue, ptr %265, i64 %267
  %269 = getelementptr inbounds %struct.anon.1, ptr %268, i32 0, i32 0
  %270 = getelementptr inbounds %struct.GCRef, ptr %269, i32 0, i32 0
  %271 = load i32, ptr %270, align 8, !tbaa !36
  %272 = zext i32 %271 to i64
  %273 = inttoptr i64 %272 to ptr
  store ptr %273, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = load ptr, ptr %10, align 8, !tbaa !5
  %276 = load ptr, ptr %16, align 8, !tbaa !5
  %277 = call ptr @lj_ctype_getfieldq(ptr noundef %274, ptr noundef %275, ptr noundef %276, ptr noundef %17, ptr noundef null)
  store ptr %277, ptr %18, align 8, !tbaa !5
  %278 = load ptr, ptr %18, align 8, !tbaa !5
  %279 = icmp ne ptr %278, null
  br i1 %279, label %280, label %302

280:                                              ; preds = %262
  %281 = load ptr, ptr %18, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.CType, ptr %281, i32 0, i32 0
  %283 = load i32, ptr %282, align 4, !tbaa !34
  %284 = lshr i32 %283, 28
  %285 = icmp eq i32 %284, 11
  br i1 %285, label %286, label %302

286:                                              ; preds = %280
  %287 = load ptr, ptr %3, align 8, !tbaa !5
  %288 = load i32, ptr %9, align 4, !tbaa !28
  %289 = trunc i32 %288 to i16
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = call i32 @lj_ir_kgc(ptr noundef %290, ptr noundef %291, i32 noundef 4)
  %293 = trunc i32 %292 to i16
  call void @lj_ir_set_(ptr noundef %287, i16 noundef zeroext 2180, i16 noundef zeroext %289, i16 noundef zeroext %293)
  %294 = load ptr, ptr %3, align 8, !tbaa !5
  %295 = call i32 @lj_opt_fold(ptr noundef %294)
  %296 = load ptr, ptr %5, align 8, !tbaa !5
  %297 = load ptr, ptr %18, align 8, !tbaa !5
  %298 = call ptr @ctype_child(ptr noundef %296, ptr noundef %297)
  store ptr %298, ptr %10, align 8, !tbaa !5
  %299 = load ptr, ptr %3, align 8, !tbaa !5
  %300 = load i32, ptr %17, align 4, !tbaa !28
  %301 = call i32 @lj_ir_kint(ptr noundef %299, i32 noundef %300)
  store i32 %301, ptr %9, align 4, !tbaa !28
  br label %305

302:                                              ; preds = %280, %262
  %303 = load ptr, ptr %5, align 8, !tbaa !5
  %304 = call ptr @ctype_get(ptr noundef %303, i32 noundef 17)
  store ptr %304, ptr %10, align 8, !tbaa !5
  br label %305

305:                                              ; preds = %302, %286
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %325

306:                                              ; preds = %232
  %307 = load ptr, ptr %10, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.CType, ptr %307, i32 0, i32 0
  %309 = load i32, ptr %308, align 4, !tbaa !34
  %310 = lshr i32 %309, 28
  %311 = icmp eq i32 %310, 2
  br i1 %311, label %312, label %321

312:                                              ; preds = %306
  %313 = load ptr, ptr %3, align 8, !tbaa !5
  %314 = load i32, ptr %9, align 4, !tbaa !28
  %315 = trunc i32 %314 to i16
  %316 = load ptr, ptr %3, align 8, !tbaa !5
  %317 = call i32 @lj_ir_kint64(ptr noundef %316, i64 noundef 16)
  %318 = trunc i32 %317 to i16
  call void @lj_ir_set_(ptr noundef %313, i16 noundef zeroext 10505, i16 noundef zeroext %315, i16 noundef zeroext %318)
  %319 = load ptr, ptr %3, align 8, !tbaa !5
  %320 = call i32 @lj_opt_fold(ptr noundef %319)
  store i32 %320, ptr %9, align 4, !tbaa !28
  br label %324

321:                                              ; preds = %306
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = call ptr @ctype_get(ptr noundef %322, i32 noundef 17)
  store ptr %323, ptr %10, align 8, !tbaa !5
  br label %324

324:                                              ; preds = %321, %312
  br label %325

325:                                              ; preds = %324, %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %334

326:                                              ; preds = %228
  %327 = load i32, ptr %9, align 4, !tbaa !28
  %328 = and i32 %327, 520093696
  %329 = icmp eq i32 %328, 234881024
  br i1 %329, label %333, label %330

330:                                              ; preds = %326
  store i32 0, ptr %9, align 4, !tbaa !28
  %331 = load ptr, ptr %5, align 8, !tbaa !5
  %332 = call ptr @ctype_get(ptr noundef %331, i32 noundef 17)
  store ptr %332, ptr %10, align 8, !tbaa !5
  br label %333

333:                                              ; preds = %330, %326
  br label %334

334:                                              ; preds = %333, %325
  br label %335

335:                                              ; preds = %334, %225
  br label %336

336:                                              ; preds = %335, %214
  br label %337

337:                                              ; preds = %336, %209
  br label %338

338:                                              ; preds = %337
  br label %339

339:                                              ; preds = %338, %207
  %340 = load ptr, ptr %10, align 8, !tbaa !5
  %341 = load i32, ptr %8, align 4, !tbaa !28
  %342 = zext i32 %341 to i64
  %343 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 %342
  store ptr %340, ptr %343, align 8, !tbaa !5
  %344 = load i32, ptr %9, align 4, !tbaa !28
  %345 = load i32, ptr %8, align 4, !tbaa !28
  %346 = zext i32 %345 to i64
  %347 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 %346
  store i32 %344, ptr %347, align 4, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %348

348:                                              ; preds = %339
  %349 = load i32, ptr %8, align 4, !tbaa !28
  %350 = add i32 %349, 1
  store i32 %350, ptr %8, align 4, !tbaa !28
  br label %29, !llvm.loop !37

351:                                              ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
  %354 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
  %355 = load ptr, ptr %4, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.RecordFFData, ptr %355, i32 0, i32 2
  %357 = load i32, ptr %356, align 8, !tbaa !39
  %358 = call i32 @crec_arith_int64(ptr noundef %352, ptr noundef %353, ptr noundef %354, i32 noundef %357)
  store i32 %358, ptr %19, align 4, !tbaa !28
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %378, label %360

360:                                              ; preds = %351
  %361 = load ptr, ptr %3, align 8, !tbaa !5
  %362 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
  %363 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
  %364 = load ptr, ptr %4, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.RecordFFData, ptr %364, i32 0, i32 2
  %366 = load i32, ptr %365, align 8, !tbaa !39
  %367 = call i32 @crec_arith_ptr(ptr noundef %361, ptr noundef %362, ptr noundef %363, i32 noundef %366)
  store i32 %367, ptr %19, align 4, !tbaa !28
  %368 = icmp ne i32 %367, 0
  br i1 %368, label %378, label %369

369:                                              ; preds = %360
  %370 = load ptr, ptr %3, align 8, !tbaa !5
  %371 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 0
  %372 = getelementptr inbounds [2 x ptr], ptr %7, i64 0, i64 0
  %373 = load ptr, ptr %5, align 8, !tbaa !5
  %374 = load ptr, ptr %4, align 8, !tbaa !5
  %375 = call i32 @crec_arith_meta(ptr noundef %370, ptr noundef %371, ptr noundef %372, ptr noundef %373, ptr noundef %374)
  store i32 %375, ptr %19, align 4, !tbaa !28
  %376 = icmp ne i32 %375, 0
  br i1 %376, label %378, label %377

377:                                              ; preds = %369
  store i32 1, ptr %13, align 4
  br label %439

378:                                              ; preds = %369, %360, %351
  %379 = load i32, ptr %19, align 4, !tbaa !28
  %380 = load ptr, ptr %3, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.jit_State, ptr %380, i32 0, i32 5
  %382 = load ptr, ptr %381, align 8, !tbaa !29
  %383 = getelementptr inbounds i32, ptr %382, i64 0
  store i32 %379, ptr %383, align 4, !tbaa !28
  %384 = load ptr, ptr %3, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.jit_State, ptr %384, i32 0, i32 32
  %386 = load i32, ptr %385, align 4, !tbaa !40
  %387 = icmp eq i32 %386, 2
  br i1 %387, label %388, label %438

388:                                              ; preds = %378
  %389 = load ptr, ptr %3, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.jit_State, ptr %389, i32 0, i32 1
  %391 = load ptr, ptr %390, align 8, !tbaa !41
  %392 = getelementptr inbounds %struct.lua_State, ptr %391, i32 0, i32 0
  %393 = getelementptr inbounds %struct.anon.5, ptr %392, i32 0, i32 7
  %394 = load ptr, ptr %393, align 8, !tbaa !36
  %395 = getelementptr inbounds %union.TValue, ptr %394, i64 -1
  %396 = getelementptr inbounds %struct.anon.2, ptr %395, i32 0, i32 1
  %397 = load i32, ptr %396, align 4, !tbaa !36
  %398 = sext i32 %397 to i64
  %399 = and i64 %398, 7
  %400 = icmp eq i64 %399, 2
  br i1 %400, label %401, label %438

401:                                              ; preds = %388
  %402 = load ptr, ptr %3, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.jit_State, ptr %402, i32 0, i32 11
  %404 = getelementptr inbounds %struct.IRType1, ptr %403, i32 0, i32 0
  %405 = load i8, ptr %404, align 2, !tbaa !42
  %406 = zext i8 %405 to i32
  %407 = and i32 %406, 128
  %408 = icmp ne i32 %407, 0
  br i1 %408, label %438, label %409

409:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %410 = load ptr, ptr %3, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.jit_State, ptr %410, i32 0, i32 1
  %412 = load ptr, ptr %411, align 8, !tbaa !41
  %413 = getelementptr inbounds %struct.lua_State, ptr %412, i32 0, i32 0
  %414 = getelementptr inbounds %struct.anon.5, ptr %413, i32 0, i32 7
  %415 = load ptr, ptr %414, align 8, !tbaa !36
  %416 = getelementptr inbounds %union.TValue, ptr %415, i64 -1
  %417 = getelementptr inbounds %union.TValue, ptr %416, i64 -1
  %418 = getelementptr inbounds %struct.anon.2, ptr %417, i32 0, i32 1
  %419 = getelementptr inbounds %struct.MRef, ptr %418, i32 0, i32 0
  %420 = load i32, ptr %419, align 4, !tbaa !36
  %421 = zext i32 %420 to i64
  %422 = inttoptr i64 %421 to ptr
  %423 = getelementptr inbounds i32, ptr %422, i64 -1
  store ptr %423, ptr %20, align 8, !tbaa !5
  %424 = load ptr, ptr %20, align 8, !tbaa !5
  %425 = load i32, ptr %424, align 4, !tbaa !28
  %426 = and i32 %425, 255
  %427 = icmp ule i32 %426, 11
  br i1 %427, label %428, label %437

428:                                              ; preds = %409
  %429 = load ptr, ptr %20, align 8, !tbaa !5
  %430 = ptrtoint ptr %429 to i64
  %431 = load ptr, ptr %3, align 8, !tbaa !5
  %432 = getelementptr inbounds i8, ptr %431, i64 -800
  %433 = getelementptr inbounds %struct.GG_State, ptr %432, i32 0, i32 1
  %434 = getelementptr inbounds %struct.global_State, ptr %433, i32 0, i32 15
  store i64 %430, ptr %434, align 8, !tbaa !36
  %435 = load ptr, ptr %3, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.jit_State, ptr %435, i32 0, i32 32
  store i32 1, ptr %436, align 4, !tbaa !40
  br label %437

437:                                              ; preds = %428, %409
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %438

438:                                              ; preds = %437, %401, %388, %378
  store i32 0, ptr %13, align 4
  br label %439

439:                                              ; preds = %438, %377
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  %440 = load i32, ptr %13, align 4
  switch i32 %440, label %442 [
    i32 0, label %441
  ]

441:                                              ; preds = %439
  store i32 0, ptr %13, align 4
  br label %442

442:                                              ; preds = %441, %439
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %443 = load i32, ptr %13, align 4
  switch i32 %443, label %445 [
    i32 0, label %444
    i32 1, label %444
  ]

444:                                              ; preds = %442, %442
  ret void

445:                                              ; preds = %442, %207
  unreachable
}

declare hidden i32 @lj_ctype_intern(ptr noundef, i32 noundef, i32 noundef) #3

declare hidden i32 @lj_ir_kptr_(ptr noundef, i32 noundef, ptr noundef) #3

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

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

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

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 = { 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 #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 = { noreturn "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 = { nounwind }
attributes #6 = { 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, !13, i64 640}
!10 = !{!"GG_State", !11, i64 0, !12, i64 384, !21, i64 800, !7, i64 3312, !7, i64 3440, !7, i64 5384}
!11 = !{!"lua_State", !7, i64 0}
!12 = !{!"global_State", !6, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !14, i64 32, !13, i64 88, !17, i64 92, !18, i64 108, !7, i64 124, !7, i64 125, !7, i64 126, !7, i64 127, !15, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !19, i64 160, !20, i64 184, !13, i64 208, !13, i64 212, !6, i64 216, !6, i64 224, !6, i64 232, !13, i64 240, !13, i64 244, !15, i64 248, !16, i64 252, !16, i64 256, !7, i64 260}
!13 = !{!"int", !7, i64 0}
!14 = !{!"GCState", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, 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, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !13, i64 8, !13, i64 12}
!19 = !{!"Node", !7, i64 0, !7, i64 8, !16, i64 16, !16, i64 20}
!20 = !{!"GCupval", !15, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !16, i64 16, !13, i64 20}
!21 = !{!"jit_State", !22, i64 0, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !13, i64 136, !13, i64 140, !13, i64 144, !7, i64 148, !7, i64 149, !24, i64 150, !7, i64 151, !25, i64 152, !6, 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, !7, i64 216, !6, i64 256, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !6, i64 280, !6, i64 288, !13, i64 296, !13, i64 300, !7, i64 304, !6, i64 312, !13, i64 320, !13, i64 324, !6, i64 328, !7, i64 336, !7, i64 536, !7, i64 1556, !7, i64 1616, !7, i64 1744, !13, i64 2256, !13, i64 2260, !7, i64 2264, !13, i64 2392, !26, i64 2396, !6, i64 2416, !13, i64 2424, !13, i64 2428, !6, i64 2432, !13, i64 2440, !13, i64 2444, !6, i64 2448, !6, i64 2456, !6, i64 2464, !27, i64 2472, !27, i64 2480, !7, i64 2488, !6, i64 2496, !13, i64 2504, !13, i64 2508}
!22 = !{!"GCtrace", !15, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !13, i64 8, !15, i64 12, !6, i64 16, !13, i64 24, !23, i64 28, !23, i64 30, !6, i64 32, !6, i64 40, !15, i64 48, !16, i64 52, !13, i64 56, !13, i64 60, !6, 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, !7, i64 90, !7, i64 91}
!23 = !{!"short", !7, i64 0}
!24 = !{!"IRType1", !7, i64 0}
!25 = !{!"FoldState", !7, i64 0, !7, i64 8, !7, i64 16}
!26 = !{!"ScEvEntry", !16, i64 0, !23, i64 4, !23, i64 6, !23, i64 8, !23, i64 10, !24, i64 12, !7, i64 13}
!27 = !{!"long", !7, i64 0}
!28 = !{!13, !13, i64 0}
!29 = !{!21, !6, i64 128}
!30 = !{!31, !6, i64 0}
!31 = !{!"RecordFFData", !6, i64 0, !27, i64 8, !13, i64 16}
!32 = !{!33, !23, i64 6}
!33 = !{!"GCcdata", !15, i64 0, !7, i64 4, !7, i64 5, !23, i64 6}
!34 = !{!35, !13, i64 0}
!35 = !{!"CType", !13, i64 0, !13, i64 4, !23, i64 8, !23, i64 10, !15, i64 12}
!36 = !{!7, !7, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!31, !13, i64 16}
!40 = !{!21, !13, i64 300}
!41 = !{!21, !6, i64 96}
!42 = !{!21, !7, i64 150}


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

%union.TValue = type { i64 }

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_raw(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_rawchild(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @lj_ir_set_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #2

declare hidden i32 @lj_opt_fold(ptr noundef) local_unnamed_addr #3

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

declare hidden i32 @lj_ir_kint64(ptr noundef, i64 noundef) local_unnamed_addr #3

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

declare hidden ptr @lj_ctype_getfieldq(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare hidden i32 @lj_ir_kgc(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_child(ptr noundef, ptr noundef) local_unnamed_addr #2

declare hidden i32 @lj_ir_kint(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: noreturn
declare hidden void @lj_trace_err(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @ctype_get(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define hidden void @recff_cdata_arith(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca [2 x i32], align 4
  %4 = alloca [2 x ptr], align 16
  %5 = alloca i32, align 4
  %6 = getelementptr inbounds i8, ptr %0, i64 -160
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = zext i32 %7 to i64
  %9 = inttoptr i64 %8 to ptr
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %10 = getelementptr inbounds i8, ptr %0, i64 128
  %indvars.iv.sroa.gep159 = getelementptr inbounds i8, ptr %4, i64 8
  %indvars.iv.sroa.gep162 = getelementptr inbounds i8, ptr %3, i64 4
  br label %11

11:                                               ; preds = %2, %143
  %12 = phi i1 [ true, %2 ], [ false, %143 ]
  %indvars.iv.sroa.phi = phi ptr [ %4, %2 ], [ %indvars.iv.sroa.gep159, %143 ]
  %indvars.iv.sroa.phi160 = phi ptr [ %3, %2 ], [ %indvars.iv.sroa.gep162, %143 ]
  %indvars.iv = phi i64 [ 0, %2 ], [ 1, %143 ]
  %13 = load ptr, ptr %10, align 8, !tbaa !27
  %14 = getelementptr inbounds i32, ptr %13, i64 %indvars.iv
  %15 = load i32, ptr %14, align 4, !tbaa !28
  %16 = call ptr @ctype_get(ptr noundef %9, i32 noundef 14)
  %.not153 = icmp eq i32 %15, 0
  br i1 %.not153, label %17, label %18

17:                                               ; preds = %11
  call void @lj_trace_err(ptr noundef nonnull %0, i32 noundef 11) #6
  unreachable

18:                                               ; preds = %11
  %19 = and i32 %15, 520093696
  switch i32 %19, label %91 [
    i32 167772160, label %20
    i32 0, label %88
  ]

20:                                               ; preds = %18
  %21 = load ptr, ptr %1, align 8, !tbaa !29
  %22 = getelementptr inbounds %union.TValue, ptr %21, i64 %indvars.iv
  %23 = call ptr @argv2cdata(ptr noundef nonnull %0, i32 noundef %15, ptr noundef %22)
  %24 = getelementptr inbounds i8, ptr %23, i64 6
  %25 = load i16, ptr %24, align 2, !tbaa !31
  %26 = zext i16 %25 to i32
  %27 = call ptr @ctype_raw(ptr noundef %9, i32 noundef %26)
  %28 = call i32 @crec_ct2irt(ptr noundef %9, ptr noundef %27)
  %29 = load i32, ptr %27, align 4, !tbaa !33
  %30 = lshr i32 %29, 28
  %31 = icmp eq i32 %30, 2
  br i1 %31, label %32, label %43

32:                                               ; preds = %20
  %33 = trunc i32 %28 to i16
  %34 = or i16 %33, 17664
  %35 = trunc i32 %15 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext %34, i16 noundef zeroext %35, i16 noundef zeroext 15)
  %36 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  %37 = load i32, ptr %27, align 4, !tbaa !33
  %38 = and i32 %37, -260046848
  %39 = icmp eq i32 %38, 545259520
  br i1 %39, label %40, label %73

40:                                               ; preds = %32
  %41 = call ptr @ctype_rawchild(ptr noundef %9, ptr noundef nonnull %27)
  %42 = call i32 @crec_ct2irt(ptr noundef %9, ptr noundef %41)
  br label %73

43:                                               ; preds = %20
  %44 = add i32 %28, -21
  %or.cond = icmp ult i32 %44, 2
  br i1 %or.cond, label %45, label %50

45:                                               ; preds = %43
  %46 = trunc nuw i32 %28 to i16
  %47 = or disjoint i16 %46, 17664
  %48 = trunc i32 %15 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext %47, i16 noundef zeroext %48, i16 noundef zeroext 17)
  %49 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  br label %143

50:                                               ; preds = %43
  %51 = add i32 %28, -19
  %or.cond3 = icmp ult i32 %51, 2
  br i1 %or.cond3, label %52, label %61

52:                                               ; preds = %50
  %53 = trunc nuw i32 %28 to i16
  %54 = or disjoint i16 %53, 17664
  %55 = trunc i32 %15 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext %54, i16 noundef zeroext %55, i16 noundef zeroext 16)
  %56 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  %57 = load i32, ptr %27, align 4, !tbaa !33
  %.mask155 = and i32 %57, -268435456
  %58 = icmp eq i32 %.mask155, 1342177280
  br i1 %58, label %59, label %143

59:                                               ; preds = %52
  %60 = call ptr @ctype_child(ptr noundef %9, ptr noundef nonnull %27)
  br label %143

61:                                               ; preds = %50
  %62 = icmp eq i32 %30, 6
  %63 = trunc i32 %15 to i16
  br i1 %62, label %64, label %69

64:                                               ; preds = %61
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 17673, i16 noundef zeroext %63, i16 noundef zeroext 15)
  %65 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  %66 = or disjoint i32 %26, 537067520
  %67 = call i32 @lj_ctype_intern(ptr noundef %9, i32 noundef %66, i32 noundef 8) #5
  %68 = call ptr @ctype_get(ptr noundef %9, i32 noundef %67)
  br label %143

69:                                               ; preds = %61
  %70 = call i32 @lj_ir_kint64(ptr noundef nonnull %0, i64 noundef 8) #5
  %71 = trunc i32 %70 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 10505, i16 noundef zeroext %63, i16 noundef zeroext %71)
  %72 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  br label %73

73:                                               ; preds = %32, %40, %69
  %.0139 = phi i32 [ %42, %40 ], [ %28, %32 ], [ %28, %69 ]
  %.1134 = phi ptr [ %41, %40 ], [ %27, %32 ], [ %27, %69 ]
  %.0132 = phi i32 [ %36, %40 ], [ %36, %32 ], [ %72, %69 ]
  %74 = load i32, ptr %.1134, align 4, !tbaa !33
  %.mask156 = and i32 %74, -268435456
  %75 = icmp eq i32 %.mask156, 1342177280
  br i1 %75, label %76, label %78

76:                                               ; preds = %73
  %77 = call ptr @ctype_child(ptr noundef %9, ptr noundef nonnull %.1134)
  %.pr = load i32, ptr %77, align 4, !tbaa !33
  br label %78

78:                                               ; preds = %76, %73
  %79 = phi i32 [ %.pr, %76 ], [ %74, %73 ]
  %.2135 = phi ptr [ %77, %76 ], [ %.1134, %73 ]
  %80 = icmp ult i32 %79, 268435456
  br i1 %80, label %81, label %143

81:                                               ; preds = %78
  %82 = icmp eq i32 %.0139, 10
  br i1 %82, label %143, label %83

83:                                               ; preds = %81
  %84 = trunc i32 %.0139 to i16
  %85 = or i16 %84, 17920
  %86 = trunc i32 %.0132 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext %85, i16 noundef zeroext %86, i16 noundef zeroext 0)
  %87 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  br label %143

88:                                               ; preds = %18
  %89 = call i32 @lj_ir_kptr_(ptr noundef nonnull %0, i32 noundef 25, ptr noundef null) #5
  %90 = call ptr @ctype_get(ptr noundef %9, i32 noundef 17)
  br label %143

91:                                               ; preds = %18
  %92 = lshr i32 %15, 24
  %93 = and i32 %92, 31
  %94 = add nsw i32 %93, -15
  %95 = icmp ult i32 %94, 5
  br i1 %95, label %96, label %98

96:                                               ; preds = %91
  %97 = call ptr @ctype_get(ptr noundef %9, i32 noundef 9)
  br label %143

98:                                               ; preds = %91
  switch i32 %19, label %141 [
    i32 67108864, label %99
    i32 234881024, label %143
  ]

99:                                               ; preds = %98
  %100 = load ptr, ptr %10, align 8, !tbaa !27
  %101 = xor i64 %indvars.iv, 1
  %102 = getelementptr inbounds i32, ptr %100, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !28
  %104 = load ptr, ptr %1, align 8, !tbaa !29
  %105 = getelementptr inbounds %union.TValue, ptr %104, i64 %101
  %106 = call ptr @argv2cdata(ptr noundef nonnull %0, i32 noundef %103, ptr noundef %105)
  %107 = getelementptr inbounds i8, ptr %106, i64 6
  %108 = load i16, ptr %107, align 2, !tbaa !31
  %109 = zext i16 %108 to i32
  %110 = call ptr @ctype_raw(ptr noundef %9, i32 noundef %109)
  %111 = load i32, ptr %110, align 4, !tbaa !33
  %112 = lshr i32 %111, 28
  switch i32 %112, label %139 [
    i32 5, label %113
    i32 2, label %134
  ]

113:                                              ; preds = %99
  %114 = load ptr, ptr %1, align 8, !tbaa !29
  %115 = getelementptr inbounds %union.TValue, ptr %114, i64 %indvars.iv
  %116 = load i32, ptr %115, align 8, !tbaa !35
  %117 = zext i32 %116 to i64
  %118 = inttoptr i64 %117 to ptr
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %119 = call ptr @lj_ctype_getfieldq(ptr noundef %9, ptr noundef nonnull %110, ptr noundef %118, ptr noundef nonnull %5, ptr noundef null) #5
  %.not154 = icmp eq ptr %119, null
  br i1 %.not154, label %131, label %120

120:                                              ; preds = %113
  %121 = load i32, ptr %119, align 4, !tbaa !33
  %.mask = and i32 %121, -268435456
  %122 = icmp eq i32 %.mask, -1342177280
  br i1 %122, label %123, label %131

123:                                              ; preds = %120
  %124 = trunc i32 %15 to i16
  %125 = call i32 @lj_ir_kgc(ptr noundef nonnull %0, ptr noundef %118, i32 noundef 4) #5
  %126 = trunc i32 %125 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 2180, i16 noundef zeroext %124, i16 noundef zeroext %126)
  %127 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  %128 = call ptr @ctype_child(ptr noundef %9, ptr noundef nonnull %119)
  %129 = load i32, ptr %5, align 4, !tbaa !28
  %130 = call i32 @lj_ir_kint(ptr noundef nonnull %0, i32 noundef %129) #5
  br label %133

131:                                              ; preds = %120, %113
  %132 = call ptr @ctype_get(ptr noundef %9, i32 noundef 17)
  br label %133

133:                                              ; preds = %131, %123
  %.4137 = phi ptr [ %128, %123 ], [ %132, %131 ]
  %.3 = phi i32 [ %130, %123 ], [ %15, %131 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %143

134:                                              ; preds = %99
  %135 = trunc i32 %15 to i16
  %136 = call i32 @lj_ir_kint64(ptr noundef nonnull %0, i64 noundef 16) #5
  %137 = trunc i32 %136 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 10505, i16 noundef zeroext %135, i16 noundef zeroext %137)
  %138 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  br label %143

139:                                              ; preds = %99
  %140 = call ptr @ctype_get(ptr noundef %9, i32 noundef 17)
  br label %143

141:                                              ; preds = %98
  %142 = call ptr @ctype_get(ptr noundef %9, i32 noundef 17)
  br label %143

143:                                              ; preds = %98, %133, %139, %134, %45, %64, %59, %52, %81, %83, %78, %88, %141, %96
  %.6 = phi ptr [ %90, %88 ], [ %97, %96 ], [ %142, %141 ], [ %27, %45 ], [ %68, %64 ], [ %60, %59 ], [ %27, %52 ], [ %.2135, %81 ], [ %.2135, %83 ], [ %.2135, %78 ], [ %.4137, %133 ], [ %110, %134 ], [ %140, %139 ], [ %16, %98 ]
  %.5 = phi i32 [ %89, %88 ], [ %15, %96 ], [ 0, %141 ], [ %49, %45 ], [ %65, %64 ], [ %56, %59 ], [ %56, %52 ], [ 0, %81 ], [ %87, %83 ], [ %.0132, %78 ], [ %.3, %133 ], [ %138, %134 ], [ %15, %139 ], [ %15, %98 ]
  store ptr %.6, ptr %indvars.iv.sroa.phi, align 8, !tbaa !36
  store i32 %.5, ptr %indvars.iv.sroa.phi160, align 4, !tbaa !28
  br i1 %12, label %11, label %144, !llvm.loop !37

144:                                              ; preds = %143
  %145 = getelementptr inbounds i8, ptr %1, i64 16
  %146 = load i32, ptr %145, align 8, !tbaa !39
  %147 = call i32 @crec_arith_int64(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %146)
  %.not = icmp eq i32 %147, 0
  br i1 %.not, label %148, label %153

148:                                              ; preds = %144
  %149 = load i32, ptr %145, align 8, !tbaa !39
  %150 = call i32 @crec_arith_ptr(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, i32 noundef %149)
  %.not150 = icmp eq i32 %150, 0
  br i1 %.not150, label %151, label %153

151:                                              ; preds = %148
  %152 = call i32 @crec_arith_meta(ptr noundef nonnull %0, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef %9, ptr noundef nonnull %1)
  %.not151 = icmp eq i32 %152, 0
  br i1 %.not151, label %182, label %153

153:                                              ; preds = %151, %148, %144
  %.0131 = phi i32 [ %147, %144 ], [ %150, %148 ], [ %152, %151 ]
  %154 = load ptr, ptr %10, align 8, !tbaa !27
  store i32 %.0131, ptr %154, align 4, !tbaa !28
  %155 = getelementptr inbounds i8, ptr %0, i64 300
  %156 = load i32, ptr %155, align 4, !tbaa !40
  %157 = icmp eq i32 %156, 2
  br i1 %157, label %158, label %182

158:                                              ; preds = %153
  %159 = getelementptr inbounds i8, ptr %0, i64 96
  %160 = load ptr, ptr %159, align 8, !tbaa !41
  %161 = getelementptr inbounds i8, ptr %160, i64 16
  %162 = load ptr, ptr %161, align 8, !tbaa !35
  %163 = getelementptr inbounds i8, ptr %162, i64 -4
  %164 = load i32, ptr %163, align 4, !tbaa !35
  %165 = and i32 %164, 7
  %166 = icmp eq i32 %165, 2
  br i1 %166, label %167, label %182

167:                                              ; preds = %158
  %168 = getelementptr inbounds i8, ptr %0, i64 150
  %169 = load i8, ptr %168, align 2, !tbaa !42
  %.not152 = icmp sgt i8 %169, -1
  br i1 %.not152, label %170, label %182

170:                                              ; preds = %167
  %171 = getelementptr inbounds i8, ptr %162, i64 -12
  %172 = load i32, ptr %171, align 4, !tbaa !35
  %173 = zext i32 %172 to i64
  %174 = inttoptr i64 %173 to ptr
  %175 = getelementptr inbounds i8, ptr %174, i64 -4
  %176 = load i32, ptr %175, align 4, !tbaa !28
  %177 = and i32 %176, 252
  %178 = icmp ult i32 %177, 12
  br i1 %178, label %179, label %182

179:                                              ; preds = %170
  %180 = ptrtoint ptr %175 to i64
  %181 = getelementptr inbounds i8, ptr %0, i64 -272
  store i64 %180, ptr %181, align 8, !tbaa !35
  store i32 1, ptr %155, align 4, !tbaa !40
  br label %182

182:                                              ; preds = %153, %158, %167, %179, %170, %151
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void
}

declare hidden i32 @lj_ctype_intern(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare hidden i32 @lj_ir_kptr_(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

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

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

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


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass