; 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.anon.1 = type { %union.anon, i32 }
%union.anon = type { %struct.GCRef }
%struct.GCudata = type { %struct.GCRef, i8, i8, i8, i8, %struct.GCRef, i32, %struct.GCRef, i32 }
%struct.CLibrary = type { ptr, ptr }
%struct.CType = type { i32, i32, i16, i16, %struct.GCRef }
%struct.GCcdata = type { %struct.GCRef, i8, i8, i16 }

; 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 ptr @ctype_raw(ptr noundef, i32 noundef) #1

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

declare hidden i32 @lj_opt_fold(ptr noundef) #2

; 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) #2

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

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

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

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

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

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

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

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

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

29:                                               ; preds = %2
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.jit_State, ptr %30, i32 0, i32 5
  %32 = load ptr, ptr %31, align 8, !tbaa !28
  %33 = getelementptr inbounds i32, ptr %32, i64 1
  %34 = load i32, ptr %33, align 4, !tbaa !29
  %35 = and i32 %34, 520093696
  %36 = icmp eq i32 %35, 67108864
  br i1 %36, label %37, label %237

37:                                               ; preds = %29
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.RecordFFData, ptr %38, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !30
  %41 = getelementptr inbounds %union.TValue, ptr %40, i64 0
  %42 = getelementptr inbounds %struct.anon.1, ptr %41, i32 0, i32 0
  %43 = getelementptr inbounds %struct.GCRef, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !32
  %45 = zext i32 %44 to i64
  %46 = inttoptr i64 %45 to ptr
  %47 = getelementptr inbounds %struct.GCudata, ptr %46, i32 0, i32 3
  %48 = load i8, ptr %47, align 2, !tbaa !32
  %49 = zext i8 %48 to i32
  %50 = icmp eq i32 %49, 2
  br i1 %50, label %51, label %237

51:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.RecordFFData, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !30
  %55 = getelementptr inbounds %union.TValue, ptr %54, i64 0
  %56 = getelementptr inbounds %struct.anon.1, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds %struct.GCRef, ptr %56, i32 0, i32 0
  %58 = load i32, ptr %57, align 8, !tbaa !32
  %59 = zext i32 %58 to i64
  %60 = inttoptr i64 %59 to ptr
  %61 = getelementptr inbounds %struct.GCudata, ptr %60, i64 1
  store ptr %61, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.RecordFFData, ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !30
  %65 = getelementptr inbounds %union.TValue, ptr %64, i64 1
  %66 = getelementptr inbounds %struct.anon.1, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds %struct.GCRef, ptr %66, i32 0, i32 0
  %68 = load i32, ptr %67, align 8, !tbaa !32
  %69 = zext i32 %68 to i64
  %70 = inttoptr i64 %69 to ptr
  store ptr %70, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = call i32 @lj_ctype_getname(ptr noundef %71, ptr noundef %8, ptr noundef %72, i32 noundef 6208)
  store i32 %73, ptr %9, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.CLibrary, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !33
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = call ptr @lj_tab_getstr(ptr noundef %76, ptr noundef %77)
  store ptr %78, ptr %10, align 8, !tbaa !5
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.RecordFFData, ptr %79, i32 0, i32 2
  %81 = load i32, ptr %80, align 8, !tbaa !35
  %82 = zext i32 %81 to i64
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.RecordFFData, ptr %83, i32 0, i32 1
  store i64 %82, ptr %84, align 8, !tbaa !36
  %85 = load i32, ptr %9, align 4, !tbaa !29
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %234

87:                                               ; preds = %51
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %234

90:                                               ; preds = %87
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.anon.1, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %92, align 4, !tbaa !32
  %94 = icmp eq i32 %93, -1
  br i1 %94, label %234, label %95

95:                                               ; preds = %90
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.jit_State, ptr %97, i32 0, i32 5
  %99 = load ptr, ptr %98, align 8, !tbaa !28
  %100 = getelementptr inbounds i32, ptr %99, i64 1
  %101 = load i32, ptr %100, align 4, !tbaa !29
  %102 = trunc i32 %101 to i16
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = call i32 @lj_ir_kgc(ptr noundef %103, ptr noundef %104, i32 noundef 4)
  %106 = trunc i32 %105 to i16
  call void @lj_ir_set_(ptr noundef %96, i16 noundef zeroext 2180, i16 noundef zeroext %102, i16 noundef zeroext %106)
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = call i32 @lj_opt_fold(ptr noundef %107)
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.CType, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 4, !tbaa !37
  %112 = lshr i32 %111, 28
  %113 = icmp eq i32 %112, 11
  br i1 %113, label %114, label %149

114:                                              ; preds = %95
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.CType, ptr %115, i32 0, i32 1
  %117 = load i32, ptr %116, align 4, !tbaa !39
  %118 = icmp uge i32 %117, -2147483648
  br i1 %118, label %119, label %138

119:                                              ; preds = %114
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = load ptr, ptr %8, align 8, !tbaa !5
  %122 = call ptr @ctype_child(ptr noundef %120, ptr noundef %121)
  %123 = getelementptr inbounds %struct.CType, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 4, !tbaa !37
  %125 = and i32 %124, 8388608
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %138

127:                                              ; preds = %119
  %128 = load ptr, ptr %3, align 8, !tbaa !5
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.CType, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !39
  %132 = uitofp i32 %131 to double
  %133 = call i32 @lj_ir_knum(ptr noundef %128, double noundef %132)
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.jit_State, ptr %134, i32 0, i32 5
  %136 = load ptr, ptr %135, align 8, !tbaa !28
  %137 = getelementptr inbounds i32, ptr %136, i64 0
  store i32 %133, ptr %137, align 4, !tbaa !29
  br label %148

138:                                              ; preds = %119, %114
  %139 = load ptr, ptr %3, align 8, !tbaa !5
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.CType, ptr %140, i32 0, i32 1
  %142 = load i32, ptr %141, align 4, !tbaa !39
  %143 = call i32 @lj_ir_kint(ptr noundef %139, i32 noundef %142)
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.jit_State, ptr %144, i32 0, i32 5
  %146 = load ptr, ptr %145, align 8, !tbaa !28
  %147 = getelementptr inbounds i32, ptr %146, i64 0
  store i32 %143, ptr %147, align 4, !tbaa !29
  br label %148

148:                                              ; preds = %138, %127
  br label %233

149:                                              ; preds = %95
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.CType, ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 4, !tbaa !37
  %153 = lshr i32 %152, 28
  %154 = icmp eq i32 %153, 12
  br i1 %154, label %155, label %219

155:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.CType, ptr %156, i32 0, i32 0
  %158 = load i32, ptr %157, align 4, !tbaa !37
  %159 = and i32 %158, 65535
  store i32 %159, ptr %11, align 4, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.anon.1, ptr %160, i32 0, i32 0
  %162 = getelementptr inbounds %struct.GCRef, ptr %161, i32 0, i32 0
  %163 = load i32, ptr %162, align 8, !tbaa !32
  %164 = zext i32 %163 to i64
  %165 = inttoptr i64 %164 to ptr
  %166 = getelementptr inbounds %struct.GCcdata, ptr %165, i64 1
  %167 = load ptr, ptr %166, align 8, !tbaa !5
  store ptr %167, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = load i32, ptr %11, align 4, !tbaa !29
  %170 = call ptr @ctype_raw(ptr noundef %168, i32 noundef %169)
  store ptr %170, ptr %8, align 8, !tbaa !5
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = ptrtoint ptr %171 to i64
  %173 = load ptr, ptr %12, align 8, !tbaa !5
  %174 = ptrtoint ptr %173 to i64
  %175 = trunc i64 %174 to i32
  %176 = zext i32 %175 to i64
  %177 = icmp eq i64 %172, %176
  br i1 %177, label %183, label %178

178:                                              ; preds = %155
  %179 = load ptr, ptr %3, align 8, !tbaa !5
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = ptrtoint ptr %180 to i64
  %182 = call i32 @lj_ir_kint64(ptr noundef %179, i64 noundef %181)
  store i32 %182, ptr %13, align 4, !tbaa !29
  br label %187

183:                                              ; preds = %155
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = call i32 @lj_ir_kptr_(ptr noundef %184, i32 noundef 25, ptr noundef %185)
  store i32 %186, ptr %13, align 4, !tbaa !29
  br label %187

187:                                              ; preds = %183, %178
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.RecordFFData, ptr %188, i32 0, i32 2
  %190 = load i32, ptr %189, align 8, !tbaa !35
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %202

192:                                              ; preds = %187
  %193 = load ptr, ptr %3, align 8, !tbaa !5
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = load i32, ptr %11, align 4, !tbaa !29
  %196 = load i32, ptr %13, align 4, !tbaa !29
  %197 = call i32 @crec_tv_ct(ptr noundef %193, ptr noundef %194, i32 noundef %195, i32 noundef %196)
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.jit_State, ptr %198, i32 0, i32 5
  %200 = load ptr, ptr %199, align 8, !tbaa !28
  %201 = getelementptr inbounds i32, ptr %200, i64 0
  store i32 %197, ptr %201, align 4, !tbaa !29
  br label %218

202:                                              ; preds = %187
  %203 = load ptr, ptr %3, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.jit_State, ptr %203, i32 0, i32 10
  store i8 1, ptr %204, align 1, !tbaa !40
  %205 = load ptr, ptr %3, align 8, !tbaa !5
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load i32, ptr %13, align 4, !tbaa !29
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.jit_State, ptr %208, i32 0, i32 5
  %210 = load ptr, ptr %209, align 8, !tbaa !28
  %211 = getelementptr inbounds i32, ptr %210, i64 2
  %212 = load i32, ptr %211, align 4, !tbaa !29
  %213 = load ptr, ptr %4, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.RecordFFData, ptr %213, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8, !tbaa !30
  %216 = getelementptr inbounds %union.TValue, ptr %215, i64 2
  %217 = call i32 @crec_ct_tv(ptr noundef %205, ptr noundef %206, i32 noundef %207, i32 noundef %212, ptr noundef %216)
  br label %218

218:                                              ; preds = %202, %192
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %232

219:                                              ; preds = %149
  %220 = load ptr, ptr %3, align 8, !tbaa !5
  %221 = load ptr, ptr %10, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.anon.1, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds %struct.GCRef, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 8, !tbaa !32
  %225 = zext i32 %224 to i64
  %226 = inttoptr i64 %225 to ptr
  %227 = call i32 @lj_ir_kgc(ptr noundef %220, ptr noundef %226, i32 noundef 10)
  %228 = load ptr, ptr %3, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.jit_State, ptr %228, i32 0, i32 5
  %230 = load ptr, ptr %229, align 8, !tbaa !28
  %231 = getelementptr inbounds i32, ptr %230, i64 0
  store i32 %227, ptr %231, align 4, !tbaa !29
  br label %232

232:                                              ; preds = %219, %218
  br label %233

233:                                              ; preds = %232, %148
  br label %236

234:                                              ; preds = %90, %87, %51
  %235 = load ptr, ptr %3, align 8, !tbaa !5
  call void @lj_trace_err(ptr noundef %235, i32 noundef 21) #6
  unreachable

236:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %237

237:                                              ; preds = %236, %37, %29, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

declare hidden i32 @lj_ctype_getname(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

declare hidden ptr @lj_tab_getstr(ptr noundef, ptr noundef) #2

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 = { "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 = { 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 #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 = { 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 = !{!21, !6, i64 128}
!29 = !{!13, !13, i64 0}
!30 = !{!31, !6, i64 0}
!31 = !{!"RecordFFData", !6, i64 0, !27, i64 8, !13, i64 16}
!32 = !{!7, !7, i64 0}
!33 = !{!34, !6, i64 8}
!34 = !{!"CLibrary", !6, i64 0, !6, i64 8}
!35 = !{!31, !13, i64 16}
!36 = !{!31, !27, i64 8}
!37 = !{!38, !13, i64 0}
!38 = !{!"CType", !13, i64 0, !13, i64 4, !23, i64 8, !23, i64 10, !15, i64 12}
!39 = !{!38, !13, i64 4}
!40 = !{!21, !7, i64 149}


; 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: mustprogress 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 ptr @ctype_raw(ptr noundef, i32 noundef) local_unnamed_addr #1

; 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 #1

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

; 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 #2

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define hidden void @recff_clib_index(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #4 {
  %3 = alloca ptr, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 -160
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = zext i32 %5 to i64
  %7 = inttoptr i64 %6 to ptr
  %8 = getelementptr inbounds i8, ptr %0, i64 128
  %9 = load ptr, ptr %8, align 8, !tbaa !27
  %10 = load i32, ptr %9, align 4, !tbaa !28
  %11 = and i32 %10, 520093696
  %12 = icmp eq i32 %11, 201326592
  br i1 %12, label %13, label %108

13:                                               ; preds = %2
  %14 = getelementptr inbounds i8, ptr %9, i64 4
  %15 = load i32, ptr %14, align 4, !tbaa !28
  %16 = and i32 %15, 520093696
  %17 = icmp eq i32 %16, 67108864
  br i1 %17, label %18, label %108

18:                                               ; preds = %13
  %19 = load ptr, ptr %1, align 8, !tbaa !29
  %20 = load i32, ptr %19, align 8, !tbaa !31
  %21 = zext i32 %20 to i64
  %22 = inttoptr i64 %21 to ptr
  %23 = getelementptr inbounds i8, ptr %22, i64 6
  %24 = load i8, ptr %23, align 2, !tbaa !31
  %25 = icmp eq i8 %24, 2
  br i1 %25, label %26, label %108

26:                                               ; preds = %18
  %27 = getelementptr inbounds i8, ptr %19, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !31
  %29 = zext i32 %28 to i64
  %30 = inttoptr i64 %29 to ptr
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %31 = call i32 @lj_ctype_getname(ptr noundef %7, ptr noundef nonnull %3, ptr noundef %30, i32 noundef 6208) #5
  %32 = getelementptr inbounds i8, ptr %22, i64 32
  %33 = load ptr, ptr %32, align 8, !tbaa !32
  %34 = call ptr @lj_tab_getstr(ptr noundef %33, ptr noundef %30) #5
  %35 = getelementptr inbounds i8, ptr %1, i64 16
  %36 = load i32, ptr %35, align 8, !tbaa !34
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds i8, ptr %1, i64 8
  store i64 %37, ptr %38, align 8, !tbaa !35
  %39 = icmp ne i32 %31, 0
  %40 = icmp ne ptr %34, null
  %or.cond = select i1 %39, i1 %40, i1 false
  br i1 %or.cond, label %41, label %106

41:                                               ; preds = %26
  %42 = getelementptr inbounds i8, ptr %34, i64 4
  %43 = load i32, ptr %42, align 4, !tbaa !31
  %44 = icmp eq i32 %43, -1
  br i1 %44, label %106, label %45

45:                                               ; preds = %41
  %46 = load ptr, ptr %8, align 8, !tbaa !27
  %47 = getelementptr inbounds i8, ptr %46, i64 4
  %48 = load i32, ptr %47, align 4, !tbaa !28
  %49 = trunc i32 %48 to i16
  %50 = call i32 @lj_ir_kgc(ptr noundef nonnull %0, ptr noundef %30, i32 noundef 4) #5
  %51 = trunc i32 %50 to i16
  call void @lj_ir_set_(ptr noundef nonnull %0, i16 noundef zeroext 2180, i16 noundef zeroext %49, i16 noundef zeroext %51)
  %52 = call i32 @lj_opt_fold(ptr noundef nonnull %0) #5
  %53 = load ptr, ptr %3, align 8, !tbaa !36
  %54 = load i32, ptr %53, align 4, !tbaa !37
  %55 = lshr i32 %54, 28
  switch i32 %55, label %100 [
    i32 11, label %56
    i32 12, label %71
  ]

56:                                               ; preds = %45
  %57 = getelementptr inbounds i8, ptr %53, i64 4
  %58 = load i32, ptr %57, align 4, !tbaa !39
  %59 = icmp slt i32 %58, 0
  br i1 %59, label %60, label %._crit_edge

60:                                               ; preds = %56
  %61 = call ptr @ctype_child(ptr noundef %7, ptr noundef nonnull %53)
  %62 = load i32, ptr %61, align 4, !tbaa !37
  %63 = and i32 %62, 8388608
  %.not51 = icmp eq i32 %63, 0
  %.pre = load ptr, ptr %3, align 8, !tbaa !36
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre, i64 4
  %.pre52 = load i32, ptr %.phi.trans.insert, align 4, !tbaa !39
  br i1 %.not51, label %._crit_edge, label %64

64:                                               ; preds = %60
  %65 = uitofp i32 %.pre52 to double
  %66 = call i32 @lj_ir_knum(ptr noundef nonnull %0, double noundef %65)
  %67 = load ptr, ptr %8, align 8, !tbaa !27
  store i32 %66, ptr %67, align 4, !tbaa !28
  br label %107

._crit_edge:                                      ; preds = %60, %56
  %68 = phi i32 [ %58, %56 ], [ %.pre52, %60 ]
  %69 = call i32 @lj_ir_kint(ptr noundef nonnull %0, i32 noundef %68) #5
  %70 = load ptr, ptr %8, align 8, !tbaa !27
  store i32 %69, ptr %70, align 4, !tbaa !28
  br label %107

71:                                               ; preds = %45
  %72 = and i32 %54, 65535
  %73 = load i32, ptr %34, align 8, !tbaa !31
  %74 = zext i32 %73 to i64
  %75 = inttoptr i64 %74 to ptr
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = load ptr, ptr %76, align 8, !tbaa !36
  %78 = call ptr @ctype_raw(ptr noundef %7, i32 noundef %72)
  store ptr %78, ptr %3, align 8, !tbaa !36
  %79 = icmp ult ptr %77, inttoptr (i64 4294967296 to ptr)
  br i1 %79, label %83, label %80

80:                                               ; preds = %71
  %81 = ptrtoint ptr %77 to i64
  %82 = call i32 @lj_ir_kint64(ptr noundef nonnull %0, i64 noundef %81) #5
  br label %85

83:                                               ; preds = %71
  %84 = call i32 @lj_ir_kptr_(ptr noundef nonnull %0, i32 noundef 25, ptr noundef %77) #5
  br label %85

85:                                               ; preds = %83, %80
  %.0 = phi i32 [ %84, %83 ], [ %82, %80 ]
  %86 = load i32, ptr %35, align 8, !tbaa !34
  %.not = icmp eq i32 %86, 0
  br i1 %.not, label %91, label %87

87:                                               ; preds = %85
  %88 = load ptr, ptr %3, align 8, !tbaa !36
  %89 = call i32 @crec_tv_ct(ptr noundef nonnull %0, ptr noundef %88, i32 noundef %72, i32 noundef %.0)
  %90 = load ptr, ptr %8, align 8, !tbaa !27
  store i32 %89, ptr %90, align 4, !tbaa !28
  br label %107

91:                                               ; preds = %85
  %92 = getelementptr inbounds i8, ptr %0, i64 149
  store i8 1, ptr %92, align 1, !tbaa !40
  %93 = load ptr, ptr %3, align 8, !tbaa !36
  %94 = load ptr, ptr %8, align 8, !tbaa !27
  %95 = getelementptr inbounds i8, ptr %94, i64 8
  %96 = load i32, ptr %95, align 4, !tbaa !28
  %97 = load ptr, ptr %1, align 8, !tbaa !29
  %98 = getelementptr inbounds i8, ptr %97, i64 16
  %99 = call i32 @crec_ct_tv(ptr noundef nonnull %0, ptr noundef %93, i32 noundef %.0, i32 noundef %96, ptr noundef nonnull %98)
  br label %107

100:                                              ; preds = %45
  %101 = load i32, ptr %34, align 8, !tbaa !31
  %102 = zext i32 %101 to i64
  %103 = inttoptr i64 %102 to ptr
  %104 = call i32 @lj_ir_kgc(ptr noundef nonnull %0, ptr noundef %103, i32 noundef 10) #5
  %105 = load ptr, ptr %8, align 8, !tbaa !27
  store i32 %104, ptr %105, align 4, !tbaa !28
  br label %107

106:                                              ; preds = %41, %26
  call void @lj_trace_err(ptr noundef nonnull %0, i32 noundef 21) #6
  unreachable

107:                                              ; preds = %87, %91, %._crit_edge, %64, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %108

108:                                              ; preds = %107, %18, %13, %2
  ret void
}

declare hidden i32 @lj_ctype_getname(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare hidden ptr @lj_tab_getstr(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 = { "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 = { 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 #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 = { 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 = !{!8, !8, i64 0}
!32 = !{!33, !11, i64 8}
!33 = !{!"CLibrary", !11, i64 0, !11, i64 8}
!34 = !{!30, !12, i64 16}
!35 = !{!30, !26, i64 8}
!36 = !{!11, !11, i64 0}
!37 = !{!38, !12, i64 0}
!38 = !{!"CType", !12, i64 0, !12, i64 4, !22, i64 8, !22, i64 10, !14, i64 12}
!39 = !{!38, !12, i64 4}
!40 = !{!20, !8, i64 149}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass