; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_compiled_5)

; 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.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }
%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t12 = external constant ptr, align 8

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.w2c_hermes, ptr %16, i32 0, i32 3
  %18 = load i32, ptr %17, align 8, !tbaa !11
  store i32 %18, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %19 = load i32, ptr %12, align 4, !tbaa !9
  %20 = load i32, ptr %11, align 4, !tbaa !9
  %21 = sub i32 %20, %19
  store i32 %21, ptr %11, align 4, !tbaa !9
  %22 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %22, ptr %9, align 4, !tbaa !9
  %23 = load i32, ptr %11, align 4, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.w2c_hermes, ptr %24, i32 0, i32 3
  store i32 %23, ptr %25, align 8, !tbaa !11
  %26 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %26, ptr %11, align 4, !tbaa !9
  %27 = load i32, ptr %11, align 4, !tbaa !9
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %346

29:                                               ; preds = %4
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef %30)
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %11, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %207

34:                                               ; preds = %29
  store i32 279868, ptr %11, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.w2c_hermes, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = zext i32 %37 to i64
  %39 = call i32 @i32_load(ptr noundef %36, i64 noundef %38)
  store i32 %39, ptr %11, align 4, !tbaa !9
  store i32 -1, ptr %12, align 4, !tbaa !9
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = icmp ne i32 %40, %41
  %43 = zext i1 %42 to i32
  store i32 %43, ptr %11, align 4, !tbaa !9
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %46, label %81

46:                                               ; preds = %34
  %47 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %47, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %12, align 4, !tbaa !9
  %48 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %48, ptr %10, align 4, !tbaa !9
  store i32 45, ptr %13, align 4, !tbaa !9
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = add i32 %50, %49
  store i32 %51, ptr %12, align 4, !tbaa !9
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.w2c_hermes, ptr %52, i32 0, i32 6
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = add i64 %55, 12
  %57 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %53, i64 noundef %56, i32 noundef %57)
  %58 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %58, ptr %11, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %59, ptr %12, align 4, !tbaa !9
  store i32 12, ptr %13, align 4, !tbaa !9
  %60 = load i32, ptr %13, align 4, !tbaa !9
  %61 = load i32, ptr %12, align 4, !tbaa !9
  %62 = add i32 %61, %60
  store i32 %62, ptr %12, align 4, !tbaa !9
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.w2c_hermes, ptr %63, i32 0, i32 6
  %65 = load i32, ptr %11, align 4, !tbaa !9
  %66 = zext i32 %65 to i64
  %67 = add i64 %66, 8
  %68 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %64, i64 noundef %67, i32 noundef %68)
  store i32 279868, ptr %11, align 4, !tbaa !9
  %69 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %69, ptr %12, align 4, !tbaa !9
  store i32 8, ptr %13, align 4, !tbaa !9
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = load i32, ptr %12, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %12, align 4, !tbaa !9
  %73 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %73, ptr %13, align 4, !tbaa !9
  store i32 46, ptr %14, align 4, !tbaa !9
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  %76 = add i32 %75, %74
  store i32 %76, ptr %13, align 4, !tbaa !9
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = load i32, ptr %13, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fcall_once0x28unsigned0x20long0x20volatile0x260x2C0x20void0x2A0x2C0x20void0x200x280x2A0x290x28void0x2A0x290x29(ptr noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80)
  br label %81

81:                                               ; preds = %46, %34
  store i32 279872, ptr %11, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.w2c_hermes, ptr %82, i32 0, i32 6
  %84 = load i32, ptr %11, align 4, !tbaa !9
  %85 = zext i32 %84 to i64
  %86 = call i32 @i32_load(ptr noundef %83, i64 noundef %85)
  store i32 %86, ptr %11, align 4, !tbaa !9
  %87 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %87, ptr %10, align 4, !tbaa !9
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef %88, i32 noundef %89)
  store i32 %90, ptr %11, align 4, !tbaa !9
  %91 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %91, ptr %11, align 4, !tbaa !9
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %11, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = call i32 @i32_load(ptr noundef %93, i64 noundef %95)
  store i32 %96, ptr %11, align 4, !tbaa !9
  %97 = load i32, ptr %11, align 4, !tbaa !9
  %98 = icmp ne i32 %97, 0
  %99 = xor i1 %98, true
  %100 = zext i1 %99 to i32
  store i32 %100, ptr %11, align 4, !tbaa !9
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %202

103:                                              ; preds = %81
  %104 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %104, ptr %11, align 4, !tbaa !9
  %105 = load i32, ptr %11, align 4, !tbaa !9
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.w2c_hermes, ptr %106, i32 0, i32 7
  %108 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %107, i32 0, i32 2
  %109 = load i32, ptr %108, align 4, !tbaa !17
  %110 = icmp ult i32 %105, %109
  br i1 %110, label %111, label %134

111:                                              ; preds = %103
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 7
  %114 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %114, align 8, !tbaa !18
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %115, i64 %117
  %119 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %118, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8, !tbaa !19
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %134

122:                                              ; preds = %111
  %123 = load ptr, ptr @w2c_hermes_t12, align 8, !tbaa !5
  %124 = load ptr, ptr %5, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.w2c_hermes, ptr %124, i32 0, i32 7
  %126 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %125, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8, !tbaa !18
  %128 = load i32, ptr %11, align 4, !tbaa !9
  %129 = zext i32 %128 to i64
  %130 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %127, i64 %129
  %131 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %130, i32 0, i32 0
  %132 = load ptr, ptr %131, align 8, !tbaa !21
  %133 = call zeroext i1 @func_types_eq(ptr noundef %123, ptr noundef %132)
  br label %134

134:                                              ; preds = %122, %111, %103
  %135 = phi i1 [ false, %111 ], [ false, %103 ], [ %133, %122 ]
  %136 = xor i1 %135, true
  %137 = xor i1 %136, true
  %138 = zext i1 %137 to i32
  %139 = sext i32 %138 to i64
  %140 = call i64 @llvm.expect.i64(i64 %139, i64 1)
  %141 = icmp ne i64 %140, 0
  br i1 %141, label %144, label %142

142:                                              ; preds = %134
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

143:                                              ; No predecessors!
  br label %144

144:                                              ; preds = %143, %134
  %145 = phi i1 [ true, %134 ], [ false, %143 ]
  %146 = zext i1 %145 to i32
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 7
  %149 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %148, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8, !tbaa !18
  %151 = load i32, ptr %11, align 4, !tbaa !9
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %150, i64 %152
  %154 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %153, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !19
  %156 = load ptr, ptr %5, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 7
  %158 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %157, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8, !tbaa !18
  %160 = load i32, ptr %11, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %159, i64 %161
  %163 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %162, i32 0, i32 2
  %164 = load ptr, ptr %163, align 8, !tbaa !22
  %165 = call i32 %155(ptr noundef %164)
  store i32 %165, ptr %11, align 4, !tbaa !9
  %166 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %166, ptr %7, align 4, !tbaa !9
  %167 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %167, ptr %11, align 4, !tbaa !9
  %168 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %168, ptr %12, align 4, !tbaa !9
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.w2c_hermes, ptr %169, i32 0, i32 6
  %171 = load i32, ptr %11, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = add i64 %172, 4
  %174 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %170, i64 noundef %173, i32 noundef %174)
  %175 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %175, ptr %11, align 4, !tbaa !9
  %176 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %176, ptr %12, align 4, !tbaa !9
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.w2c_hermes, ptr %177, i32 0, i32 6
  %179 = load i32, ptr %11, align 4, !tbaa !9
  %180 = zext i32 %179 to i64
  %181 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %178, i64 noundef %180, i32 noundef %181)
  %182 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %182, ptr %11, align 4, !tbaa !9
  store i32 279864, ptr %12, align 4, !tbaa !9
  %183 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %183, ptr %7, align 4, !tbaa !9
  %184 = load ptr, ptr %5, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.w2c_hermes, ptr %184, i32 0, i32 6
  %186 = load i32, ptr %12, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = call i32 @i32_load(ptr noundef %185, i64 noundef %187)
  store i32 %188, ptr %12, align 4, !tbaa !9
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %11, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = add i64 %192, 8
  %194 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %193, i32 noundef %194)
  %195 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %195, ptr %11, align 4, !tbaa !9
  %196 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %196, ptr %12, align 4, !tbaa !9
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.w2c_hermes, ptr %197, i32 0, i32 6
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = zext i32 %199 to i64
  %201 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %198, i64 noundef %200, i32 noundef %201)
  br label %202

202:                                              ; preds = %144, %81
  %203 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %203, ptr %11, align 4, !tbaa !9
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = load i32, ptr %11, align 4, !tbaa !9
  %206 = call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef %204, i32 noundef %205)
  store i32 %206, ptr %11, align 4, !tbaa !9
  br label %338

207:                                              ; preds = %29
  %208 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %208, ptr %11, align 4, !tbaa !9
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.w2c_hermes, ptr %209, i32 0, i32 6
  %211 = load i32, ptr %11, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = call i32 @i32_load(ptr noundef %210, i64 noundef %212)
  store i32 %213, ptr %11, align 4, !tbaa !9
  %214 = load i32, ptr %11, align 4, !tbaa !9
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %217

216:                                              ; preds = %207
  br label %364

217:                                              ; preds = %207
  %218 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %218, ptr %11, align 4, !tbaa !9
  %219 = load ptr, ptr %5, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %11, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 4
  %224 = call i32 @i32_load(ptr noundef %220, i64 noundef %223)
  store i32 %224, ptr %11, align 4, !tbaa !9
  %225 = load i32, ptr %11, align 4, !tbaa !9
  %226 = icmp ne i32 %225, 0
  br i1 %226, label %227, label %228

227:                                              ; preds = %217
  br label %364

228:                                              ; preds = %217
  %229 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %229, ptr %11, align 4, !tbaa !9
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.w2c_hermes, ptr %230, i32 0, i32 6
  %232 = load i32, ptr %11, align 4, !tbaa !9
  %233 = zext i32 %232 to i64
  %234 = add i64 %233, 8
  %235 = call i32 @i32_load(ptr noundef %231, i64 noundef %234)
  store i32 %235, ptr %11, align 4, !tbaa !9
  %236 = load i32, ptr %11, align 4, !tbaa !9
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %228
  br label %364

239:                                              ; preds = %228
  %240 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %240, ptr %11, align 4, !tbaa !9
  %241 = load i32, ptr %11, align 4, !tbaa !9
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 7
  %244 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %243, i32 0, i32 2
  %245 = load i32, ptr %244, align 4, !tbaa !17
  %246 = icmp ult i32 %241, %245
  br i1 %246, label %247, label %270

247:                                              ; preds = %239
  %248 = load ptr, ptr %5, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 7
  %250 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %249, i32 0, i32 0
  %251 = load ptr, ptr %250, align 8, !tbaa !18
  %252 = load i32, ptr %11, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %251, i64 %253
  %255 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %254, i32 0, i32 1
  %256 = load ptr, ptr %255, align 8, !tbaa !19
  %257 = icmp ne ptr %256, null
  br i1 %257, label %258, label %270

258:                                              ; preds = %247
  %259 = load ptr, ptr @w2c_hermes_t12, align 8, !tbaa !5
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.w2c_hermes, ptr %260, i32 0, i32 7
  %262 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %261, i32 0, i32 0
  %263 = load ptr, ptr %262, align 8, !tbaa !18
  %264 = load i32, ptr %11, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %263, i64 %265
  %267 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %266, i32 0, i32 0
  %268 = load ptr, ptr %267, align 8, !tbaa !21
  %269 = call zeroext i1 @func_types_eq(ptr noundef %259, ptr noundef %268)
  br label %270

270:                                              ; preds = %258, %247, %239
  %271 = phi i1 [ false, %247 ], [ false, %239 ], [ %269, %258 ]
  %272 = xor i1 %271, true
  %273 = xor i1 %272, true
  %274 = zext i1 %273 to i32
  %275 = sext i32 %274 to i64
  %276 = call i64 @llvm.expect.i64(i64 %275, i64 1)
  %277 = icmp ne i64 %276, 0
  br i1 %277, label %280, label %278

278:                                              ; preds = %270
  call void @wasm_rt_trap(i32 noundef 6) #7
  unreachable

279:                                              ; No predecessors!
  br label %280

280:                                              ; preds = %279, %270
  %281 = phi i1 [ true, %270 ], [ false, %279 ]
  %282 = zext i1 %281 to i32
  %283 = load ptr, ptr %5, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 7
  %285 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %284, i32 0, i32 0
  %286 = load ptr, ptr %285, align 8, !tbaa !18
  %287 = load i32, ptr %11, align 4, !tbaa !9
  %288 = zext i32 %287 to i64
  %289 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %286, i64 %288
  %290 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %289, i32 0, i32 1
  %291 = load ptr, ptr %290, align 8, !tbaa !19
  %292 = load ptr, ptr %5, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.w2c_hermes, ptr %292, i32 0, i32 7
  %294 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %293, i32 0, i32 0
  %295 = load ptr, ptr %294, align 8, !tbaa !18
  %296 = load i32, ptr %11, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %295, i64 %297
  %299 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %298, i32 0, i32 2
  %300 = load ptr, ptr %299, align 8, !tbaa !22
  %301 = call i32 %291(ptr noundef %300)
  store i32 %301, ptr %11, align 4, !tbaa !9
  %302 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %302, ptr %7, align 4, !tbaa !9
  %303 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %303, ptr %11, align 4, !tbaa !9
  %304 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %304, ptr %12, align 4, !tbaa !9
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %11, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = add i64 %308, 4
  %310 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %306, i64 noundef %309, i32 noundef %310)
  %311 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %311, ptr %11, align 4, !tbaa !9
  %312 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %312, ptr %12, align 4, !tbaa !9
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.w2c_hermes, ptr %313, i32 0, i32 6
  %315 = load i32, ptr %11, align 4, !tbaa !9
  %316 = zext i32 %315 to i64
  %317 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %314, i64 noundef %316, i32 noundef %317)
  %318 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %318, ptr %11, align 4, !tbaa !9
  store i32 279864, ptr %12, align 4, !tbaa !9
  %319 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %319, ptr %7, align 4, !tbaa !9
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %12, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = call i32 @i32_load(ptr noundef %321, i64 noundef %323)
  store i32 %324, ptr %12, align 4, !tbaa !9
  %325 = load ptr, ptr %5, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.w2c_hermes, ptr %325, i32 0, i32 6
  %327 = load i32, ptr %11, align 4, !tbaa !9
  %328 = zext i32 %327 to i64
  %329 = add i64 %328, 8
  %330 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %326, i64 noundef %329, i32 noundef %330)
  %331 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %331, ptr %11, align 4, !tbaa !9
  %332 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %332, ptr %12, align 4, !tbaa !9
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.w2c_hermes, ptr %333, i32 0, i32 6
  %335 = load i32, ptr %11, align 4, !tbaa !9
  %336 = zext i32 %335 to i64
  %337 = load i32, ptr %12, align 4, !tbaa !9
  call void @i32_store(ptr noundef %334, i64 noundef %336, i32 noundef %337)
  br label %338

338:                                              ; preds = %280, %202
  %339 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %339, ptr %11, align 4, !tbaa !9
  store i32 16, ptr %12, align 4, !tbaa !9
  %340 = load i32, ptr %12, align 4, !tbaa !9
  %341 = load i32, ptr %11, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %11, align 4, !tbaa !9
  %343 = load i32, ptr %11, align 4, !tbaa !9
  %344 = load ptr, ptr %5, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.w2c_hermes, ptr %344, i32 0, i32 3
  store i32 %343, ptr %345, align 8, !tbaa !11
  br label %382

346:                                              ; preds = %4
  store i32 0, ptr %11, align 4, !tbaa !9
  %347 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %347, ptr %6, align 4, !tbaa !9
  store i32 48611, ptr %12, align 4, !tbaa !9
  %348 = load i32, ptr %12, align 4, !tbaa !9
  %349 = load i32, ptr %11, align 4, !tbaa !9
  %350 = add i32 %349, %348
  store i32 %350, ptr %11, align 4, !tbaa !9
  %351 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %351, ptr %12, align 4, !tbaa !9
  store i32 62067, ptr %13, align 4, !tbaa !9
  %352 = load i32, ptr %13, align 4, !tbaa !9
  %353 = load i32, ptr %12, align 4, !tbaa !9
  %354 = add i32 %353, %352
  store i32 %354, ptr %12, align 4, !tbaa !9
  store i32 37, ptr %13, align 4, !tbaa !9
  %355 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %355, ptr %14, align 4, !tbaa !9
  store i32 107505, ptr %15, align 4, !tbaa !9
  %356 = load i32, ptr %15, align 4, !tbaa !9
  %357 = load i32, ptr %14, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %14, align 4, !tbaa !9
  %359 = load ptr, ptr %5, align 8, !tbaa !5
  %360 = load i32, ptr %11, align 4, !tbaa !9
  %361 = load i32, ptr %12, align 4, !tbaa !9
  %362 = load i32, ptr %13, align 4, !tbaa !9
  %363 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %359, i32 noundef %360, i32 noundef %361, i32 noundef %362, i32 noundef %363)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

364:                                              ; preds = %238, %227, %216
  store i32 0, ptr %11, align 4, !tbaa !9
  %365 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %365, ptr %6, align 4, !tbaa !9
  store i32 187474, ptr %12, align 4, !tbaa !9
  %366 = load i32, ptr %12, align 4, !tbaa !9
  %367 = load i32, ptr %11, align 4, !tbaa !9
  %368 = add i32 %367, %366
  store i32 %368, ptr %11, align 4, !tbaa !9
  %369 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %369, ptr %12, align 4, !tbaa !9
  store i32 62067, ptr %13, align 4, !tbaa !9
  %370 = load i32, ptr %13, align 4, !tbaa !9
  %371 = load i32, ptr %12, align 4, !tbaa !9
  %372 = add i32 %371, %370
  store i32 %372, ptr %12, align 4, !tbaa !9
  store i32 53, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %373, ptr %14, align 4, !tbaa !9
  store i32 107505, ptr %15, align 4, !tbaa !9
  %374 = load i32, ptr %15, align 4, !tbaa !9
  %375 = load i32, ptr %14, align 4, !tbaa !9
  %376 = add i32 %375, %374
  store i32 %376, ptr %14, align 4, !tbaa !9
  %377 = load ptr, ptr %5, align 8, !tbaa !5
  %378 = load i32, ptr %11, align 4, !tbaa !9
  %379 = load i32, ptr %12, align 4, !tbaa !9
  %380 = load i32, ptr %13, align 4, !tbaa !9
  %381 = load i32, ptr %14, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %377, i32 noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

382:                                              ; preds = %338
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret void
}

declare i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef) #3

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fcall_once0x28unsigned0x20long0x20volatile0x260x2C0x20void0x2A0x2C0x20void0x200x280x2A0x290x28void0x2A0x290x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #4

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) #5

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef, i32 noundef) #3

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 24}
!12 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !13, i64 40, !16, i64 80}
!13 = !{!"", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !15, i64 32}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_Bool", !7, i64 0}
!16 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}
!17 = !{!12, !10, i64 92}
!18 = !{!12, !6, i64 80}
!19 = !{!20, !6, i64 8}
!20 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!20, !6, i64 0}
!22 = !{!20, !6, i64 16}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.wasm_rt_funcref_t = type { ptr, ptr, ptr }

@w2c_hermes_t12 = external local_unnamed_addr constant ptr, align 8

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @i32_load(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_llvh0x3A0x3AManagedStaticBase0x3A0x3ARegisterManagedStatic0x28void0x2A0x200x280x2A0x290x280x290x2C0x20void0x200x280x2A0x290x28void0x2A0x290x290x20const(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -16
  store i32 %7, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %86, label %8

8:                                                ; preds = %4
  %9 = tail call i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef nonnull %0) #4
  %.not164 = icmp eq i32 %9, 0
  %10 = getelementptr inbounds i8, ptr %0, i64 40
  br i1 %.not164, label %52, label %11

11:                                               ; preds = %8
  %12 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 279868)
  %.not169 = icmp eq i32 %12, -1
  br i1 %.not169, label %19, label %13

13:                                               ; preds = %11
  %14 = zext i32 %7 to i64
  %15 = add nuw nsw i64 %14, 12
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %15, i32 noundef 46)
  %16 = add i32 %6, -4
  %17 = add nuw nsw i64 %14, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %17, i32 noundef %16)
  %18 = add i32 %6, -8
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fcall_once0x28unsigned0x20long0x20volatile0x260x2C0x20void0x2A0x2C0x20void0x200x280x2A0x290x28void0x2A0x290x29(ptr noundef nonnull %0, i32 noundef 279868, i32 noundef %18, i32 noundef 47) #4
  br label %19

19:                                               ; preds = %13, %11
  %20 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 279872)
  %21 = tail call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef nonnull %0, i32 noundef %20) #4
  %22 = zext i32 %1 to i64
  %23 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %22)
  %.not170 = icmp eq i32 %23, 0
  br i1 %.not170, label %24, label %50

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %0, i64 80
  %26 = getelementptr inbounds i8, ptr %0, i64 92
  %27 = load i32, ptr %26, align 4, !tbaa !15
  %28 = icmp ugt i32 %27, %2
  br i1 %28, label %29, label %.critedge, !prof !16

29:                                               ; preds = %24
  %30 = load ptr, ptr %25, align 8, !tbaa !17
  %31 = zext i32 %2 to i64
  %32 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %30, i64 %31
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  %34 = load ptr, ptr %33, align 8, !tbaa !18
  %.not171 = icmp eq ptr %34, null
  br i1 %.not171, label %.critedge, label %35, !prof !20

35:                                               ; preds = %29
  %36 = load ptr, ptr @w2c_hermes_t12, align 8, !tbaa !21
  %37 = load ptr, ptr %32, align 8, !tbaa !22
  %38 = tail call zeroext i1 @func_types_eq(ptr noundef %36, ptr noundef %37)
  br i1 %38, label %39, label %.critedge, !prof !16

.critedge:                                        ; preds = %29, %24, %35
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

39:                                               ; preds = %35
  %40 = load ptr, ptr %25, align 8, !tbaa !17
  %41 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %40, i64 %31
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  %43 = load ptr, ptr %42, align 8, !tbaa !18
  %44 = getelementptr inbounds i8, ptr %41, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !23
  %46 = tail call i32 %43(ptr noundef %45) #4
  %47 = add nuw nsw i64 %22, 4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %47, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %22, i32 noundef %46)
  %48 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 279864)
  %49 = add nuw nsw i64 %22, 8
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %49, i32 noundef %48)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef 279864, i32 noundef %1)
  br label %50

50:                                               ; preds = %39, %19
  %51 = tail call i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef nonnull %0, i32 noundef %20) #4
  br label %85

52:                                               ; preds = %8
  %53 = zext i32 %1 to i64
  %54 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %53)
  %.not165 = icmp eq i32 %54, 0
  br i1 %.not165, label %55, label %87

55:                                               ; preds = %52
  %56 = add nuw nsw i64 %53, 4
  %57 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %56)
  %.not166 = icmp eq i32 %57, 0
  br i1 %.not166, label %58, label %87

58:                                               ; preds = %55
  %59 = add nuw nsw i64 %53, 8
  %60 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef %59)
  %.not167 = icmp eq i32 %60, 0
  br i1 %.not167, label %61, label %87

61:                                               ; preds = %58
  %62 = getelementptr inbounds i8, ptr %0, i64 80
  %63 = getelementptr inbounds i8, ptr %0, i64 92
  %64 = load i32, ptr %63, align 4, !tbaa !15
  %65 = icmp ugt i32 %64, %2
  br i1 %65, label %66, label %.critedge173, !prof !16

66:                                               ; preds = %61
  %67 = load ptr, ptr %62, align 8, !tbaa !17
  %68 = zext i32 %2 to i64
  %69 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %67, i64 %68
  %70 = getelementptr inbounds i8, ptr %69, i64 8
  %71 = load ptr, ptr %70, align 8, !tbaa !18
  %.not168 = icmp eq ptr %71, null
  br i1 %.not168, label %.critedge173, label %72, !prof !20

72:                                               ; preds = %66
  %73 = load ptr, ptr @w2c_hermes_t12, align 8, !tbaa !21
  %74 = load ptr, ptr %69, align 8, !tbaa !22
  %75 = tail call zeroext i1 @func_types_eq(ptr noundef %73, ptr noundef %74)
  br i1 %75, label %76, label %.critedge173, !prof !16

.critedge173:                                     ; preds = %66, %61, %72
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

76:                                               ; preds = %72
  %77 = load ptr, ptr %62, align 8, !tbaa !17
  %78 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %77, i64 %68
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load ptr, ptr %79, align 8, !tbaa !18
  %81 = getelementptr inbounds i8, ptr %78, i64 16
  %82 = load ptr, ptr %81, align 8, !tbaa !23
  %83 = tail call i32 %80(ptr noundef %82) #4
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %56, i32 noundef %3)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %53, i32 noundef %83)
  %84 = tail call i32 @i32_load(ptr noundef nonnull %10, i64 noundef 279864)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef %59, i32 noundef %84)
  tail call void @i32_store(ptr noundef nonnull %10, i64 noundef 279864, i32 noundef %1)
  br label %85

85:                                               ; preds = %76, %50
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void

86:                                               ; preds = %4
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 48611, i32 noundef 62067, i32 noundef 37, i32 noundef 107505) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

87:                                               ; preds = %58, %55, %52
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 187474, i32 noundef 62067, i32 noundef 53, i32 noundef 107505) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare i32 @w2c_hermes_llvh0x3A0x3Allvm_is_multithreaded0x280x29(ptr noundef) local_unnamed_addr #2

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3A_0x5Fcall_once0x28unsigned0x20long0x20volatile0x260x2C0x20void0x2A0x2C0x20void0x200x280x2A0x290x28void0x2A0x290x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Aacquire0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @func_types_eq(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: noreturn
declare void @wasm_rt_trap(i32 noundef) local_unnamed_addr #3

declare i32 @w2c_hermes_llvh0x3A0x3Asys0x3A0x3AMutexImpl0x3A0x3Arelease0x280x29(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @w2c_hermes_0x5F_assert_fail(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { "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 }
attributes #5 = { 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, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}
!15 = !{!6, !10, i64 92}
!16 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!17 = !{!6, !7, i64 80}
!18 = !{!19, !7, i64 8}
!19 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!21 = !{!7, !7, i64 0}
!22 = !{!19, !7, i64 0}
!23 = !{!19, !7, i64 16}


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