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

; 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_t3 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @i64_store(ptr noundef, i64 noundef, i64 noundef) #2

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AforEachPublicNativeBuiltin0x28std0x3A0x3A_0x5F20x3A0x3Afunction0x3Chermes0x3A0x3Avm0x3A0x3AExecutionStatus0x200x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3APredefined0x3A0x3AStr0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x290x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AassertBuiltinsUnmodified0x280x29(ptr noundef %0, i32 noundef %1) #5 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %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 i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  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 8, ptr %14) #6
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.w2c_hermes, ptr %15, i32 0, i32 3
  %17 = load i32, ptr %16, align 8, !tbaa !11
  store i32 %17, ptr %9, align 4, !tbaa !9
  store i32 224, ptr %10, align 4, !tbaa !9
  %18 = load i32, ptr %10, align 4, !tbaa !9
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = sub i32 %19, %18
  store i32 %20, ptr %9, align 4, !tbaa !9
  %21 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %21, ptr %5, align 4, !tbaa !9
  %22 = load i32, ptr %9, align 4, !tbaa !9
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.w2c_hermes, ptr %23, i32 0, i32 3
  store i32 %22, ptr %24, align 8, !tbaa !11
  %25 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %25, ptr %9, align 4, !tbaa !9
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 6
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = add i64 %29, 5772
  %31 = call i32 @i32_load8_u(ptr noundef %27, i64 noundef %30)
  store i32 %31, ptr %9, align 4, !tbaa !9
  %32 = load i32, ptr %9, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  %34 = xor i1 %33, true
  %35 = zext i1 %34 to i32
  store i32 %35, ptr %9, align 4, !tbaa !9
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %363

38:                                               ; preds = %2
  %39 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %39, ptr %9, align 4, !tbaa !9
  store i64 48, ptr %14, align 8, !tbaa !17
  %40 = load ptr, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.w2c_hermes, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = add i64 %43, 40
  %45 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %41, i64 noundef %44, i64 noundef %45)
  %46 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %46, ptr %9, align 4, !tbaa !9
  %47 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %47, ptr %10, align 4, !tbaa !9
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %9, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = add i64 %51, 36
  %53 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %49, i64 noundef %52, i32 noundef %53)
  %54 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %54, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.w2c_hermes, ptr %55, i32 0, i32 6
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = add i64 %58, 32
  %60 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %56, i64 noundef %59, i32 noundef %60)
  %61 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %61, ptr %9, align 4, !tbaa !9
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.w2c_hermes, ptr %62, i32 0, i32 6
  %64 = load i32, ptr %9, align 4, !tbaa !9
  %65 = zext i32 %64 to i64
  %66 = add i64 %65, 4
  %67 = call i32 @i32_load(ptr noundef %63, i64 noundef %66)
  store i32 %67, ptr %9, align 4, !tbaa !9
  %68 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %68, ptr %6, align 4, !tbaa !9
  %69 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %69, ptr %9, align 4, !tbaa !9
  store i32 196, ptr %10, align 4, !tbaa !9
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = add i32 %71, %70
  store i32 %72, ptr %9, align 4, !tbaa !9
  %73 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %73, ptr %7, align 4, !tbaa !9
  %74 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %74, ptr %10, align 4, !tbaa !9
  store i32 56, ptr %11, align 4, !tbaa !9
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = add i32 %76, %75
  store i32 %77, ptr %10, align 4, !tbaa !9
  %78 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %78, ptr %8, align 4, !tbaa !9
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %80, i64 noundef %82, i32 noundef %83)
  %84 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %84, ptr %9, align 4, !tbaa !9
  store i64 17179869185, ptr %14, align 8, !tbaa !17
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.w2c_hermes, ptr %85, i32 0, i32 6
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = add i64 %88, 188
  %90 = load i64, ptr %14, align 8, !tbaa !17
  call void @i64_store(ptr noundef %86, i64 noundef %89, i64 noundef %90)
  %91 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %91, ptr %9, align 4, !tbaa !9
  %92 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %92, ptr %10, align 4, !tbaa !9
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 184
  %98 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %94, i64 noundef %97, i32 noundef %98)
  %99 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %99, ptr %9, align 4, !tbaa !9
  %100 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %100, ptr %10, align 4, !tbaa !9
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.w2c_hermes, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %9, align 4, !tbaa !9
  %104 = zext i32 %103 to i64
  %105 = add i64 %104, 48
  %106 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %102, i64 noundef %105, i32 noundef %106)
  %107 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %107, ptr %9, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.w2c_hermes, ptr %108, i32 0, i32 6
  %110 = load i32, ptr %9, align 4, !tbaa !9
  %111 = zext i32 %110 to i64
  %112 = add i64 %111, 220
  %113 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %109, i64 noundef %112, i32 noundef %113)
  %114 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %114, ptr %9, align 4, !tbaa !9
  %115 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %115, ptr %10, align 4, !tbaa !9
  store i32 184, ptr %11, align 4, !tbaa !9
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = load i32, ptr %10, align 4, !tbaa !9
  %118 = add i32 %117, %116
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %9, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 216
  %124 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %120, i64 noundef %123, i32 noundef %124)
  %125 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %125, ptr %9, align 4, !tbaa !9
  %126 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %126, ptr %10, align 4, !tbaa !9
  %127 = load ptr, ptr %3, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.w2c_hermes, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %9, align 4, !tbaa !9
  %130 = zext i32 %129 to i64
  %131 = add i64 %130, 212
  %132 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %128, i64 noundef %131, i32 noundef %132)
  %133 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %133, ptr %9, align 4, !tbaa !9
  %134 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %134, ptr %10, align 4, !tbaa !9
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.w2c_hermes, ptr %135, i32 0, i32 6
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  %139 = add i64 %138, 5864
  %140 = call i32 @i32_load(ptr noundef %136, i64 noundef %139)
  store i32 %140, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = load i32, ptr %10, align 4, !tbaa !9
  %143 = add i32 %142, %141
  store i32 %143, ptr %10, align 4, !tbaa !9
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.w2c_hermes, ptr %144, i32 0, i32 6
  %146 = load i32, ptr %9, align 4, !tbaa !9
  %147 = zext i32 %146 to i64
  %148 = add i64 %147, 5864
  %149 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %145, i64 noundef %148, i32 noundef %149)
  %150 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %150, ptr %9, align 4, !tbaa !9
  %151 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %151, ptr %10, align 4, !tbaa !9
  store i32 32, ptr %11, align 4, !tbaa !9
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = load i32, ptr %10, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %10, align 4, !tbaa !9
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %9, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 4
  %160 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %156, i64 noundef %159, i32 noundef %160)
  %161 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %161, ptr %9, align 4, !tbaa !9
  %162 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %162, ptr %10, align 4, !tbaa !9
  %163 = load ptr, ptr %3, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %9, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 12
  %168 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %164, i64 noundef %167, i32 noundef %168)
  %169 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %169, ptr %9, align 4, !tbaa !9
  store i32 278328, ptr %10, align 4, !tbaa !9
  %170 = load ptr, ptr %3, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.w2c_hermes, ptr %170, i32 0, i32 6
  %172 = load i32, ptr %9, align 4, !tbaa !9
  %173 = zext i32 %172 to i64
  %174 = add i64 %173, 8
  %175 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %171, i64 noundef %174, i32 noundef %175)
  %176 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %176, ptr %9, align 4, !tbaa !9
  %177 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %177, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %178 = load i32, ptr %11, align 4, !tbaa !9
  %179 = load i32, ptr %10, align 4, !tbaa !9
  %180 = add i32 %179, %178
  store i32 %180, ptr %10, align 4, !tbaa !9
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.w2c_hermes, ptr %181, i32 0, i32 6
  %183 = load i32, ptr %9, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = add i64 %184, 24
  %186 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %182, i64 noundef %185, i32 noundef %186)
  %187 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %187, ptr %9, align 4, !tbaa !9
  %188 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %188, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %189 = load i32, ptr %11, align 4, !tbaa !9
  %190 = load i32, ptr %10, align 4, !tbaa !9
  %191 = add i32 %190, %189
  store i32 %191, ptr %10, align 4, !tbaa !9
  %192 = load ptr, ptr %3, align 8, !tbaa !5
  %193 = load i32, ptr %9, align 4, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !9
  %195 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AforEachPublicNativeBuiltin0x28std0x3A0x3A_0x5F20x3A0x3Afunction0x3Chermes0x3A0x3Avm0x3A0x3AExecutionStatus0x200x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3APredefined0x3A0x3AStr0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x290x3E0x20const0x260x29(ptr noundef %192, i32 noundef %193, i32 noundef %194)
  store i32 %195, ptr %9, align 4, !tbaa !9
  %196 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %196, ptr %7, align 4, !tbaa !9
  %197 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %197, ptr %9, align 4, !tbaa !9
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.w2c_hermes, ptr %198, i32 0, i32 6
  %200 = load i32, ptr %9, align 4, !tbaa !9
  %201 = zext i32 %200 to i64
  %202 = add i64 %201, 24
  %203 = call i32 @i32_load(ptr noundef %199, i64 noundef %202)
  store i32 %203, ptr %9, align 4, !tbaa !9
  %204 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %204, ptr %6, align 4, !tbaa !9
  %205 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %205, ptr %10, align 4, !tbaa !9
  store i32 8, ptr %11, align 4, !tbaa !9
  %206 = load i32, ptr %11, align 4, !tbaa !9
  %207 = load i32, ptr %10, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %10, align 4, !tbaa !9
  %209 = load i32, ptr %9, align 4, !tbaa !9
  %210 = load i32, ptr %10, align 4, !tbaa !9
  %211 = icmp eq i32 %209, %210
  %212 = zext i1 %211 to i32
  store i32 %212, ptr %9, align 4, !tbaa !9
  %213 = load i32, ptr %9, align 4, !tbaa !9
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %231

215:                                              ; preds = %38
  %216 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %216, ptr %9, align 4, !tbaa !9
  store i32 8, ptr %10, align 4, !tbaa !9
  %217 = load i32, ptr %10, align 4, !tbaa !9
  %218 = load i32, ptr %9, align 4, !tbaa !9
  %219 = add i32 %218, %217
  store i32 %219, ptr %9, align 4, !tbaa !9
  %220 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %220, ptr %6, align 4, !tbaa !9
  %221 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %221, ptr %9, align 4, !tbaa !9
  %222 = load ptr, ptr %3, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.w2c_hermes, ptr %222, i32 0, i32 6
  %224 = load i32, ptr %9, align 4, !tbaa !9
  %225 = zext i32 %224 to i64
  %226 = add i64 %225, 8
  %227 = call i32 @i32_load(ptr noundef %223, i64 noundef %226)
  store i32 %227, ptr %9, align 4, !tbaa !9
  store i32 16, ptr %10, align 4, !tbaa !9
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = load i32, ptr %9, align 4, !tbaa !9
  %230 = add i32 %229, %228
  store i32 %230, ptr %9, align 4, !tbaa !9
  br label %250

231:                                              ; preds = %38
  %232 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %232, ptr %9, align 4, !tbaa !9
  %233 = load i32, ptr %9, align 4, !tbaa !9
  %234 = icmp ne i32 %233, 0
  %235 = xor i1 %234, true
  %236 = zext i1 %235 to i32
  store i32 %236, ptr %9, align 4, !tbaa !9
  %237 = load i32, ptr %9, align 4, !tbaa !9
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %231
  br label %320

240:                                              ; preds = %231
  %241 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %241, ptr %9, align 4, !tbaa !9
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.w2c_hermes, ptr %242, i32 0, i32 6
  %244 = load i32, ptr %9, align 4, !tbaa !9
  %245 = zext i32 %244 to i64
  %246 = call i32 @i32_load(ptr noundef %243, i64 noundef %245)
  store i32 %246, ptr %9, align 4, !tbaa !9
  store i32 20, ptr %10, align 4, !tbaa !9
  %247 = load i32, ptr %10, align 4, !tbaa !9
  %248 = load i32, ptr %9, align 4, !tbaa !9
  %249 = add i32 %248, %247
  store i32 %249, ptr %9, align 4, !tbaa !9
  br label %250

250:                                              ; preds = %240, %215
  %251 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %251, ptr %8, align 4, !tbaa !9
  %252 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %252, ptr %9, align 4, !tbaa !9
  %253 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %253, ptr %10, align 4, !tbaa !9
  %254 = load ptr, ptr %3, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.w2c_hermes, ptr %254, i32 0, i32 6
  %256 = load i32, ptr %10, align 4, !tbaa !9
  %257 = zext i32 %256 to i64
  %258 = call i32 @i32_load(ptr noundef %255, i64 noundef %257)
  store i32 %258, ptr %10, align 4, !tbaa !9
  %259 = load i32, ptr %10, align 4, !tbaa !9
  %260 = load ptr, ptr %3, 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 2
  %263 = load i32, ptr %262, align 4, !tbaa !18
  %264 = icmp ult i32 %259, %263
  br i1 %264, label %265, label %288

265:                                              ; preds = %250
  %266 = load ptr, ptr %3, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 7
  %268 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %267, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8, !tbaa !19
  %270 = load i32, ptr %10, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %269, i64 %271
  %273 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %272, i32 0, i32 1
  %274 = load ptr, ptr %273, align 8, !tbaa !20
  %275 = icmp ne ptr %274, null
  br i1 %275, label %276, label %288

276:                                              ; preds = %265
  %277 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !5
  %278 = load ptr, ptr %3, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.w2c_hermes, ptr %278, i32 0, i32 7
  %280 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !19
  %282 = load i32, ptr %10, align 4, !tbaa !9
  %283 = zext i32 %282 to i64
  %284 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %281, i64 %283
  %285 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %284, i32 0, i32 0
  %286 = load ptr, ptr %285, align 8, !tbaa !22
  %287 = call zeroext i1 @func_types_eq(ptr noundef %277, ptr noundef %286)
  br label %288

288:                                              ; preds = %276, %265, %250
  %289 = phi i1 [ false, %265 ], [ false, %250 ], [ %287, %276 ]
  %290 = xor i1 %289, true
  %291 = xor i1 %290, true
  %292 = zext i1 %291 to i32
  %293 = sext i32 %292 to i64
  %294 = call i64 @llvm.expect.i64(i64 %293, i64 1)
  %295 = icmp ne i64 %294, 0
  br i1 %295, label %298, label %296

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

297:                                              ; No predecessors!
  br label %298

298:                                              ; preds = %297, %288
  %299 = phi i1 [ true, %288 ], [ false, %297 ]
  %300 = zext i1 %299 to i32
  %301 = load ptr, ptr %3, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.w2c_hermes, ptr %301, i32 0, i32 7
  %303 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %302, i32 0, i32 0
  %304 = load ptr, ptr %303, align 8, !tbaa !19
  %305 = load i32, ptr %10, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %304, i64 %306
  %308 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %307, i32 0, i32 1
  %309 = load ptr, ptr %308, align 8, !tbaa !20
  %310 = load ptr, ptr %3, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.w2c_hermes, ptr %310, i32 0, i32 7
  %312 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %311, i32 0, i32 0
  %313 = load ptr, ptr %312, align 8, !tbaa !19
  %314 = load i32, ptr %10, align 4, !tbaa !9
  %315 = zext i32 %314 to i64
  %316 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %313, i64 %315
  %317 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %316, i32 0, i32 2
  %318 = load ptr, ptr %317, align 8, !tbaa !23
  %319 = load i32, ptr %9, align 4, !tbaa !9
  call void %309(ptr noundef %318, i32 noundef %319)
  br label %320

320:                                              ; preds = %298, %239
  %321 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %321, ptr %9, align 4, !tbaa !9
  %322 = load ptr, ptr %3, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %9, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 5864
  %327 = call i32 @i32_load(ptr noundef %323, i64 noundef %326)
  store i32 %327, ptr %9, align 4, !tbaa !9
  %328 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %328, ptr %6, align 4, !tbaa !9
  %329 = load i32, ptr %9, align 4, !tbaa !9
  %330 = icmp ne i32 %329, 0
  %331 = xor i1 %330, true
  %332 = zext i1 %331 to i32
  store i32 %332, ptr %9, align 4, !tbaa !9
  %333 = load i32, ptr %9, align 4, !tbaa !9
  %334 = icmp ne i32 %333, 0
  br i1 %334, label %335, label %336

335:                                              ; preds = %320
  br label %381

336:                                              ; preds = %320
  %337 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %337, ptr %9, align 4, !tbaa !9
  %338 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %338, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %11, align 4, !tbaa !9
  %339 = load i32, ptr %11, align 4, !tbaa !9
  %340 = load i32, ptr %10, align 4, !tbaa !9
  %341 = sub i32 %340, %339
  store i32 %341, ptr %10, align 4, !tbaa !9
  %342 = load ptr, ptr %3, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.w2c_hermes, ptr %342, i32 0, i32 6
  %344 = load i32, ptr %9, align 4, !tbaa !9
  %345 = zext i32 %344 to i64
  %346 = add i64 %345, 5864
  %347 = load i32, ptr %10, align 4, !tbaa !9
  call void @i32_store(ptr noundef %343, i64 noundef %346, i32 noundef %347)
  %348 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %348, ptr %9, align 4, !tbaa !9
  store i32 32, ptr %10, align 4, !tbaa !9
  %349 = load i32, ptr %10, align 4, !tbaa !9
  %350 = load i32, ptr %9, align 4, !tbaa !9
  %351 = add i32 %350, %349
  store i32 %351, ptr %9, align 4, !tbaa !9
  %352 = load ptr, ptr %3, align 8, !tbaa !5
  %353 = load i32, ptr %9, align 4, !tbaa !9
  %354 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef %352, i32 noundef %353)
  store i32 %354, ptr %9, align 4, !tbaa !9
  %355 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %355, ptr %9, align 4, !tbaa !9
  store i32 224, ptr %10, align 4, !tbaa !9
  %356 = load i32, ptr %10, align 4, !tbaa !9
  %357 = load i32, ptr %9, align 4, !tbaa !9
  %358 = add i32 %357, %356
  store i32 %358, ptr %9, align 4, !tbaa !9
  %359 = load i32, ptr %9, align 4, !tbaa !9
  %360 = load ptr, ptr %3, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.w2c_hermes, ptr %360, i32 0, i32 3
  store i32 %359, ptr %361, align 8, !tbaa !11
  %362 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %362, ptr %9, align 4, !tbaa !9
  br label %399

363:                                              ; preds = %2
  store i32 0, ptr %9, align 4, !tbaa !9
  %364 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %364, ptr %5, align 4, !tbaa !9
  store i32 194150, ptr %10, align 4, !tbaa !9
  %365 = load i32, ptr %10, align 4, !tbaa !9
  %366 = load i32, ptr %9, align 4, !tbaa !9
  %367 = add i32 %366, %365
  store i32 %367, ptr %9, align 4, !tbaa !9
  %368 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %368, ptr %10, align 4, !tbaa !9
  store i32 60884, ptr %11, align 4, !tbaa !9
  %369 = load i32, ptr %11, align 4, !tbaa !9
  %370 = load i32, ptr %10, align 4, !tbaa !9
  %371 = add i32 %370, %369
  store i32 %371, ptr %10, align 4, !tbaa !9
  store i32 1735, ptr %11, align 4, !tbaa !9
  %372 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %372, ptr %12, align 4, !tbaa !9
  store i32 106206, ptr %13, align 4, !tbaa !9
  %373 = load i32, ptr %13, align 4, !tbaa !9
  %374 = load i32, ptr %12, align 4, !tbaa !9
  %375 = add i32 %374, %373
  store i32 %375, ptr %12, align 4, !tbaa !9
  %376 = load ptr, ptr %3, align 8, !tbaa !5
  %377 = load i32, ptr %9, align 4, !tbaa !9
  %378 = load i32, ptr %10, align 4, !tbaa !9
  %379 = load i32, ptr %11, align 4, !tbaa !9
  %380 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %376, i32 noundef %377, i32 noundef %378, i32 noundef %379, i32 noundef %380)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

381:                                              ; preds = %335
  store i32 0, ptr %9, align 4, !tbaa !9
  %382 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %382, ptr %5, align 4, !tbaa !9
  store i32 184072, ptr %10, align 4, !tbaa !9
  %383 = load i32, ptr %10, align 4, !tbaa !9
  %384 = load i32, ptr %9, align 4, !tbaa !9
  %385 = add i32 %384, %383
  store i32 %385, ptr %9, align 4, !tbaa !9
  %386 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %386, ptr %10, align 4, !tbaa !9
  store i32 84373, ptr %11, align 4, !tbaa !9
  %387 = load i32, ptr %11, align 4, !tbaa !9
  %388 = load i32, ptr %10, align 4, !tbaa !9
  %389 = add i32 %388, %387
  store i32 %389, ptr %10, align 4, !tbaa !9
  store i32 1874, ptr %11, align 4, !tbaa !9
  %390 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %390, ptr %12, align 4, !tbaa !9
  store i32 92157, ptr %13, align 4, !tbaa !9
  %391 = load i32, ptr %13, align 4, !tbaa !9
  %392 = load i32, ptr %12, align 4, !tbaa !9
  %393 = add i32 %392, %391
  store i32 %393, ptr %12, align 4, !tbaa !9
  %394 = load ptr, ptr %3, align 8, !tbaa !5
  %395 = load i32, ptr %9, align 4, !tbaa !9
  %396 = load i32, ptr %10, align 4, !tbaa !9
  %397 = load i32, ptr %11, align 4, !tbaa !9
  %398 = load i32, ptr %12, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %394, i32 noundef %395, i32 noundef %396, i32 noundef %397, i32 noundef %398)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

399:                                              ; preds = %336
  %400 = load i32, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret i32 %400
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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 = !{!14, !14, i64 0}
!18 = !{!12, !10, i64 92}
!19 = !{!12, !6, i64 80}
!20 = !{!21, !6, i64 8}
!21 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!21, !6, i64 0}
!23 = !{!21, !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_t3 = external local_unnamed_addr constant ptr, align 8

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AforEachPublicNativeBuiltin0x28std0x3A0x3A_0x5F20x3A0x3Afunction0x3Chermes0x3A0x3Avm0x3A0x3AExecutionStatus0x200x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3APredefined0x3A0x3AStr0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x290x3E0x20const0x260x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AassertBuiltinsUnmodified0x280x29(ptr noundef %0, i32 noundef %1) local_unnamed_addr #3 {
  %3 = getelementptr inbounds i8, ptr %0, i64 24
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = add i32 %4, -224
  store i32 %5, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = zext i32 %1 to i64
  %8 = add nuw nsw i64 %7, 5772
  %9 = tail call i32 @i32_load8_u(ptr noundef nonnull %6, i64 noundef %8)
  %.not = icmp eq i32 %9, 0
  br i1 %.not, label %10, label %72

10:                                               ; preds = %2
  %11 = zext i32 %5 to i64
  %12 = add nuw nsw i64 %11, 40
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %12, i64 noundef 48)
  %13 = add nuw nsw i64 %11, 36
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %13, i32 noundef %1)
  %14 = add nuw nsw i64 %11, 32
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %14, i32 noundef 0)
  %15 = add nuw nsw i64 %7, 4
  %16 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %15)
  %17 = add i32 %4, -28
  %18 = add i32 %4, -168
  %19 = zext i32 %17 to i64
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %19, i32 noundef %18)
  %20 = add nuw nsw i64 %11, 188
  tail call void @i64_store(ptr noundef nonnull %6, i64 noundef %20, i64 noundef 17179869185)
  %21 = add nuw nsw i64 %11, 184
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %21, i32 noundef %17)
  %22 = add nuw nsw i64 %11, 48
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %22, i32 noundef %16)
  %23 = add nuw nsw i64 %11, 220
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %23, i32 noundef 0)
  %24 = add i32 %4, -40
  %25 = add nuw nsw i64 %11, 216
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %25, i32 noundef %24)
  %26 = add nuw nsw i64 %11, 212
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %26, i32 noundef %18)
  %27 = add nuw nsw i64 %7, 5864
  %28 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %29 = add i32 %28, 1
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %27, i32 noundef %29)
  %30 = add i32 %4, -192
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %15, i32 noundef %30)
  %31 = add nuw nsw i64 %11, 12
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %31, i32 noundef %1)
  %32 = add nuw nsw i64 %11, 8
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %32, i32 noundef 278328)
  %33 = add i32 %4, -216
  %34 = add nuw nsw i64 %11, 24
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %34, i32 noundef %33)
  %35 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AforEachPublicNativeBuiltin0x28std0x3A0x3A_0x5F20x3A0x3Afunction0x3Chermes0x3A0x3Avm0x3A0x3AExecutionStatus0x200x28unsigned0x20int0x2C0x20hermes0x3A0x3Avm0x3A0x3APredefined0x3A0x3AStr0x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AJSObject0x3E0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x290x3E0x20const0x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %33)
  %36 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %34)
  %37 = icmp eq i32 %36, %33
  br i1 %37, label %41, label %38

38:                                               ; preds = %10
  %.not208 = icmp eq i32 %36, 0
  br i1 %.not208, label %67, label %39

39:                                               ; preds = %38
  %40 = zext i32 %36 to i64
  br label %41

41:                                               ; preds = %10, %39
  %.sink212 = phi i64 [ %40, %39 ], [ %32, %10 ]
  %.sink211 = phi i32 [ 20, %39 ], [ 16, %10 ]
  %.0204 = phi i32 [ %36, %39 ], [ %33, %10 ]
  %42 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %.sink212)
  %43 = add i32 %42, %.sink211
  %44 = zext i32 %43 to i64
  %45 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %44)
  %46 = getelementptr inbounds i8, ptr %0, i64 80
  %47 = getelementptr inbounds i8, ptr %0, i64 92
  %48 = load i32, ptr %47, align 4, !tbaa !15
  %49 = icmp ult i32 %45, %48
  br i1 %49, label %50, label %.critedge, !prof !16

50:                                               ; preds = %41
  %51 = load ptr, ptr %46, align 8, !tbaa !17
  %52 = zext i32 %45 to i64
  %53 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %51, i64 %52
  %54 = getelementptr inbounds i8, ptr %53, i64 8
  %55 = load ptr, ptr %54, align 8, !tbaa !18
  %.not209 = icmp eq ptr %55, null
  br i1 %.not209, label %.critedge, label %56, !prof !20

56:                                               ; preds = %50
  %57 = load ptr, ptr @w2c_hermes_t3, align 8, !tbaa !21
  %58 = load ptr, ptr %53, align 8, !tbaa !22
  %59 = tail call zeroext i1 @func_types_eq(ptr noundef %57, ptr noundef %58)
  br i1 %59, label %60, label %.critedge, !prof !16

.critedge:                                        ; preds = %50, %41, %56
  tail call void @wasm_rt_trap(i32 noundef 6) #4
  unreachable

60:                                               ; preds = %56
  %61 = load ptr, ptr %46, align 8, !tbaa !17
  %62 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %61, i64 %52
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  %64 = load ptr, ptr %63, align 8, !tbaa !18
  %65 = getelementptr inbounds i8, ptr %62, i64 16
  %66 = load ptr, ptr %65, align 8, !tbaa !23
  tail call void %64(ptr noundef %66, i32 noundef %.0204) #5
  br label %67

67:                                               ; preds = %38, %60
  %68 = tail call i32 @i32_load(ptr noundef nonnull %6, i64 noundef %27)
  %.not210 = icmp eq i32 %68, 0
  br i1 %.not210, label %73, label %69

69:                                               ; preds = %67
  %70 = add i32 %68, -1
  tail call void @i32_store(ptr noundef nonnull %6, i64 noundef %27, i32 noundef %70)
  %71 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3A0x7EGCScope0x280x29(ptr noundef nonnull %0, i32 noundef %30) #5
  store i32 %4, ptr %3, align 8, !tbaa !5
  ret i32 %35

72:                                               ; preds = %2
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 194150, i32 noundef 60884, i32 noundef 1735, i32 noundef 106206) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable

73:                                               ; preds = %67
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 184072, i32 noundef 84373, i32 noundef 1874, i32 noundef 92157) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #4
  unreachable
}

attributes #0 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind }
attributes #5 = { 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