; LLVM IR from facebook/hermes :: API/hermes_sandbox/external (hermes_sandbox_impl_opt_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_t22 = external constant ptr, align 8

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

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

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

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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) #2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeToStringHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
  %6 = alloca ptr, align 8
  %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 i64, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  store double 0.000000e+00, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.w2c_hermes, ptr %26, i32 0, i32 3
  %28 = load i32, ptr %27, align 8, !tbaa !15
  store i32 %28, ptr %16, align 4, !tbaa !9
  store i32 112, ptr %17, align 4, !tbaa !9
  %29 = load i32, ptr %17, align 4, !tbaa !9
  %30 = load i32, ptr %16, align 4, !tbaa !9
  %31 = sub i32 %30, %29
  store i32 %31, ptr %16, align 4, !tbaa !9
  %32 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %32, ptr %11, align 4, !tbaa !9
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 3
  store i32 %33, ptr %35, align 8, !tbaa !15
  %36 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %36, ptr %16, align 4, !tbaa !9
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.w2c_hermes, ptr %37, i32 0, i32 6
  %39 = load i32, ptr %16, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = call i32 @i32_load(ptr noundef %38, i64 noundef %40)
  store i32 %41, ptr %16, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %16, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call i64 @i64_load(ptr noundef %43, i64 noundef %45)
  store i64 %46, ptr %20, align 8, !tbaa !11
  %47 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %47, ptr %13, align 8, !tbaa !11
  store i64 -844424930131968, ptr %21, align 8, !tbaa !11
  %48 = load i64, ptr %20, align 8, !tbaa !11
  %49 = load i64, ptr %21, align 8, !tbaa !11
  %50 = icmp uge i64 %48, %49
  %51 = zext i1 %50 to i32
  store i32 %51, ptr %16, align 4, !tbaa !9
  %52 = load i32, ptr %16, align 4, !tbaa !9
  %53 = icmp ne i32 %52, 0
  br i1 %53, label %54, label %77

54:                                               ; preds = %5
  %55 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %55, ptr %20, align 8, !tbaa !11
  %56 = load i64, ptr %20, align 8, !tbaa !11
  %57 = trunc i64 %56 to i32
  store i32 %57, ptr %16, align 4, !tbaa !9
  %58 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %58, ptr %10, align 4, !tbaa !9
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.w2c_hermes, ptr %59, i32 0, i32 6
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = zext i32 %61 to i64
  %63 = add i64 %62, 3
  %64 = call i32 @i32_load8_u(ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %65 = load i32, ptr %17, align 4, !tbaa !9
  %66 = and i32 %65, 31
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = shl i32 %67, %66
  store i32 %68, ptr %16, align 4, !tbaa !9
  store i32 1023410176, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %16, align 4, !tbaa !9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = icmp eq i32 %69, %70
  %72 = zext i1 %71 to i32
  store i32 %72, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %76

75:                                               ; preds = %54
  br label %121

76:                                               ; preds = %54
  br label %77

77:                                               ; preds = %76, %5
  %78 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %78, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.w2c_hermes, ptr %79, i32 0, i32 6
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = add i64 %82, 72
  %84 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %80, i64 noundef %83, i32 noundef %84)
  %85 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %85, ptr %16, align 4, !tbaa !9
  store i64 219043332097, ptr %21, align 8, !tbaa !11
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.w2c_hermes, ptr %86, i32 0, i32 6
  %88 = load i32, ptr %16, align 4, !tbaa !9
  %89 = zext i32 %88 to i64
  %90 = add i64 %89, 64
  %91 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %87, i64 noundef %90, i64 noundef %91)
  %92 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %92, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.w2c_hermes, ptr %93, i32 0, i32 6
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = zext i32 %95 to i64
  %97 = add i64 %96, 48
  %98 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %94, i64 noundef %97, i32 noundef %98)
  %99 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %99, ptr %16, align 4, !tbaa !9
  store i32 32161, ptr %17, align 4, !tbaa !9
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.w2c_hermes, ptr %100, i32 0, i32 6
  %102 = load i32, ptr %16, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = add i64 %103, 40
  %105 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %101, i64 noundef %104, i32 noundef %105)
  %106 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %106, ptr %16, align 4, !tbaa !9
  %107 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %107, ptr %17, align 4, !tbaa !9
  %108 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %108, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = add i32 %110, %109
  store i32 %111, ptr %18, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load i32, ptr %17, align 4, !tbaa !9
  %114 = load i32, ptr %18, align 4, !tbaa !9
  %115 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %112, i32 noundef %113, i32 noundef %114)
  store i32 %115, ptr %17, align 4, !tbaa !9
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.w2c_hermes, ptr %116, i32 0, i32 6
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %117, i64 noundef %119, i32 noundef %120)
  br label %651

121:                                              ; preds = %75
  %122 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %122, ptr %16, align 4, !tbaa !9
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.w2c_hermes, ptr %123, i32 0, i32 6
  %125 = load i32, ptr %16, align 4, !tbaa !9
  %126 = zext i32 %125 to i64
  %127 = add i64 %126, 24
  %128 = call double @f64_load(ptr noundef %124, i64 noundef %127)
  store double %128, ptr %23, align 8, !tbaa !13
  %129 = load double, ptr %23, align 8, !tbaa !13
  store double %129, ptr %14, align 8, !tbaa !13
  %130 = load double, ptr %23, align 8, !tbaa !13
  %131 = call double @wasm_fabs(double noundef %130)
  store double %131, ptr %23, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %24, align 8, !tbaa !13
  %132 = load double, ptr %23, align 8, !tbaa !13
  %133 = load double, ptr %24, align 8, !tbaa !13
  %134 = fcmp olt double %132, %133
  %135 = zext i1 %134 to i32
  store i32 %135, ptr %16, align 4, !tbaa !9
  %136 = load i32, ptr %16, align 4, !tbaa !9
  %137 = icmp ne i32 %136, 0
  %138 = xor i1 %137, true
  %139 = zext i1 %138 to i32
  store i32 %139, ptr %16, align 4, !tbaa !9
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %225

142:                                              ; preds = %121
  %143 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %143, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %144 = load i32, ptr %16, align 4, !tbaa !9
  %145 = load i32, ptr %17, align 4, !tbaa !9
  %146 = icmp eq i32 %144, %145
  %147 = zext i1 %146 to i32
  store i32 %147, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %194

150:                                              ; preds = %142
  %151 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %152 = load ptr, ptr %6, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.w2c_hermes, ptr %152, i32 0, i32 6
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = zext i32 %154 to i64
  %156 = add i64 %155, 72
  %157 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %153, i64 noundef %156, i32 noundef %157)
  %158 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %158, ptr %16, align 4, !tbaa !9
  store i64 103079215105, ptr %21, align 8, !tbaa !11
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.w2c_hermes, ptr %159, i32 0, i32 6
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = zext i32 %161 to i64
  %163 = add i64 %162, 64
  %164 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %160, i64 noundef %163, i64 noundef %164)
  %165 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %165, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.w2c_hermes, ptr %166, i32 0, i32 6
  %168 = load i32, ptr %16, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 48
  %171 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %167, i64 noundef %170, i32 noundef %171)
  %172 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %172, ptr %16, align 4, !tbaa !9
  store i32 35394, ptr %17, align 4, !tbaa !9
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.w2c_hermes, ptr %173, i32 0, i32 6
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = add i64 %176, 40
  %178 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %174, i64 noundef %177, i32 noundef %178)
  %179 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %179, ptr %16, align 4, !tbaa !9
  %180 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %180, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %181, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %182 = load i32, ptr %19, align 4, !tbaa !9
  %183 = load i32, ptr %18, align 4, !tbaa !9
  %184 = add i32 %183, %182
  store i32 %184, ptr %18, align 4, !tbaa !9
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = load i32, ptr %17, align 4, !tbaa !9
  %187 = load i32, ptr %18, align 4, !tbaa !9
  %188 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %185, i32 noundef %186, i32 noundef %187)
  store i32 %188, ptr %17, align 4, !tbaa !9
  %189 = load ptr, ptr %6, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.w2c_hermes, ptr %189, i32 0, i32 6
  %191 = load i32, ptr %16, align 4, !tbaa !9
  %192 = zext i32 %191 to i64
  %193 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %190, i64 noundef %192, i32 noundef %193)
  br label %651

194:                                              ; preds = %142
  %195 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %195, ptr %16, align 4, !tbaa !9
  store i32 5468, ptr %17, align 4, !tbaa !9
  %196 = load i32, ptr %17, align 4, !tbaa !9
  %197 = load i32, ptr %16, align 4, !tbaa !9
  %198 = add i32 %197, %196
  store i32 %198, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %199, ptr %17, align 4, !tbaa !9
  store i32 325, ptr %18, align 4, !tbaa !9
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = load i32, ptr %16, align 4, !tbaa !9
  %202 = load i32, ptr %17, align 4, !tbaa !9
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %200, i32 noundef %201, i32 noundef %202, i32 noundef %203)
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %205, ptr %8, align 4, !tbaa !9
  %206 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %206, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %207 = load ptr, ptr %6, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.w2c_hermes, ptr %207, i32 0, i32 6
  %209 = load i32, ptr %16, align 4, !tbaa !9
  %210 = zext i32 %209 to i64
  %211 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %208, i64 noundef %210, i32 noundef %211)
  %212 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %213, ptr %17, align 4, !tbaa !9
  %214 = load i32, ptr %17, align 4, !tbaa !9
  %215 = zext i32 %214 to i64
  store i64 %215, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %216 = load i64, ptr %22, align 8, !tbaa !11
  %217 = load i64, ptr %21, align 8, !tbaa !11
  %218 = or i64 %217, %216
  store i64 %218, ptr %21, align 8, !tbaa !11
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.w2c_hermes, ptr %219, i32 0, i32 6
  %221 = load i32, ptr %16, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = add i64 %222, 8
  %224 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %220, i64 noundef %223, i64 noundef %224)
  br label %651

225:                                              ; preds = %121
  %226 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %226, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %227 = load i32, ptr %17, align 4, !tbaa !9
  %228 = and i32 %227, 31
  %229 = load i32, ptr %16, align 4, !tbaa !9
  %230 = shl i32 %229, %228
  store i32 %230, ptr %16, align 4, !tbaa !9
  store i32 117936, ptr %17, align 4, !tbaa !9
  %231 = load i32, ptr %17, align 4, !tbaa !9
  %232 = load i32, ptr %16, align 4, !tbaa !9
  %233 = add i32 %232, %231
  store i32 %233, ptr %16, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %234, ptr %10, align 4, !tbaa !9
  %235 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %235, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 6
  %238 = load i32, ptr %16, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 76
  %241 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %237, i64 noundef %240, i64 noundef %241)
  %242 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %242, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.w2c_hermes, ptr %243, i32 0, i32 6
  %245 = load i32, ptr %16, align 4, !tbaa !9
  %246 = zext i32 %245 to i64
  %247 = add i64 %246, 68
  %248 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %244, i64 noundef %247, i64 noundef %248)
  %249 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %249, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.w2c_hermes, ptr %250, i32 0, i32 6
  %252 = load i32, ptr %16, align 4, !tbaa !9
  %253 = zext i32 %252 to i64
  %254 = add i64 %253, 60
  %255 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %251, i64 noundef %254, i64 noundef %255)
  %256 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %256, ptr %16, align 4, !tbaa !9
  store i64 0, ptr %21, align 8, !tbaa !11
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.w2c_hermes, ptr %257, i32 0, i32 6
  %259 = load i32, ptr %16, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 52
  %262 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %258, i64 noundef %261, i64 noundef %262)
  %263 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %263, ptr %16, align 4, !tbaa !9
  store i64 137438953472, ptr %21, align 8, !tbaa !11
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.w2c_hermes, ptr %264, i32 0, i32 6
  %266 = load i32, ptr %16, align 4, !tbaa !9
  %267 = zext i32 %266 to i64
  %268 = add i64 %267, 44
  %269 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %265, i64 noundef %268, i64 noundef %269)
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %270, ptr %16, align 4, !tbaa !9
  %271 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %271, ptr %17, align 4, !tbaa !9
  store i32 52, ptr %18, align 4, !tbaa !9
  %272 = load i32, ptr %18, align 4, !tbaa !9
  %273 = load i32, ptr %17, align 4, !tbaa !9
  %274 = add i32 %273, %272
  store i32 %274, ptr %17, align 4, !tbaa !9
  %275 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %275, ptr %12, align 4, !tbaa !9
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.w2c_hermes, ptr %276, i32 0, i32 6
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = zext i32 %278 to i64
  %280 = add i64 %279, 40
  %281 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %277, i64 noundef %280, i32 noundef %281)
  %282 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %282, ptr %16, align 4, !tbaa !9
  store i32 3, ptr %17, align 4, !tbaa !9
  %283 = load i32, ptr %17, align 4, !tbaa !9
  %284 = load i32, ptr %16, align 4, !tbaa !9
  %285 = sub i32 %284, %283
  store i32 %285, ptr %16, align 4, !tbaa !9
  store i32 2, ptr %17, align 4, !tbaa !9
  %286 = load i32, ptr %16, align 4, !tbaa !9
  %287 = load i32, ptr %17, align 4, !tbaa !9
  %288 = icmp uge i32 %286, %287
  %289 = zext i1 %288 to i32
  store i32 %289, ptr %16, align 4, !tbaa !9
  %290 = load i32, ptr %16, align 4, !tbaa !9
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %292, label %376

292:                                              ; preds = %225
  %293 = load double, ptr %14, align 8, !tbaa !13
  store double %293, ptr %23, align 8, !tbaa !13
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = load double, ptr %23, align 8, !tbaa !13
  %296 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %294, double noundef %295)
  store double %296, ptr %23, align 8, !tbaa !13
  %297 = load double, ptr %23, align 8, !tbaa !13
  store double %297, ptr %15, align 8, !tbaa !13
  %298 = load double, ptr %15, align 8, !tbaa !13
  store double %298, ptr %24, align 8, !tbaa !13
  %299 = load double, ptr %14, align 8, !tbaa !13
  store double %299, ptr %25, align 8, !tbaa !13
  %300 = load double, ptr %25, align 8, !tbaa !13
  %301 = load double, ptr %24, align 8, !tbaa !13
  %302 = fsub double %301, %300
  store double %302, ptr %24, align 8, !tbaa !13
  %303 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %303, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %304 = load i32, ptr %19, align 4, !tbaa !9
  %305 = load i32, ptr %18, align 4, !tbaa !9
  %306 = add i32 %305, %304
  store i32 %306, ptr %18, align 4, !tbaa !9
  %307 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %307, ptr %19, align 4, !tbaa !9
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 6
  %310 = load i32, ptr %19, align 4, !tbaa !9
  %311 = zext i32 %310 to i64
  %312 = call i32 @i32_load(ptr noundef %309, i64 noundef %311)
  store i32 %312, ptr %19, align 4, !tbaa !9
  %313 = load i32, ptr %19, align 4, !tbaa !9
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 7
  %316 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %315, i32 0, i32 2
  %317 = load i32, ptr %316, align 4, !tbaa !20
  %318 = icmp ult i32 %313, %317
  br i1 %318, label %319, label %342

319:                                              ; preds = %292
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 7
  %322 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %321, i32 0, i32 0
  %323 = load ptr, ptr %322, align 8, !tbaa !21
  %324 = load i32, ptr %19, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %323, i64 %325
  %327 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %326, i32 0, i32 1
  %328 = load ptr, ptr %327, align 8, !tbaa !22
  %329 = icmp ne ptr %328, null
  br i1 %329, label %330, label %342

330:                                              ; preds = %319
  %331 = load ptr, ptr @w2c_hermes_t22, align 8, !tbaa !5
  %332 = load ptr, ptr %6, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.w2c_hermes, ptr %332, i32 0, i32 7
  %334 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %333, i32 0, i32 0
  %335 = load ptr, ptr %334, align 8, !tbaa !21
  %336 = load i32, ptr %19, align 4, !tbaa !9
  %337 = zext i32 %336 to i64
  %338 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %335, i64 %337
  %339 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %338, i32 0, i32 0
  %340 = load ptr, ptr %339, align 8, !tbaa !24
  %341 = call zeroext i1 @func_types_eq(ptr noundef %331, ptr noundef %340)
  br label %342

342:                                              ; preds = %330, %319, %292
  %343 = phi i1 [ false, %319 ], [ false, %292 ], [ %341, %330 ]
  %344 = xor i1 %343, true
  %345 = xor i1 %344, true
  %346 = zext i1 %345 to i32
  %347 = sext i32 %346 to i64
  %348 = call i64 @llvm.expect.i64(i64 %347, i64 1)
  %349 = icmp ne i64 %348, 0
  br i1 %349, label %352, label %350

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

351:                                              ; No predecessors!
  br label %352

352:                                              ; preds = %351, %342
  %353 = phi i1 [ true, %342 ], [ false, %351 ]
  %354 = zext i1 %353 to i32
  %355 = load ptr, ptr %6, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.w2c_hermes, ptr %355, i32 0, i32 7
  %357 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %356, i32 0, i32 0
  %358 = load ptr, ptr %357, align 8, !tbaa !21
  %359 = load i32, ptr %19, align 4, !tbaa !9
  %360 = zext i32 %359 to i64
  %361 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %358, i64 %360
  %362 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %361, i32 0, i32 1
  %363 = load ptr, ptr %362, align 8, !tbaa !22
  %364 = load ptr, ptr %6, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.w2c_hermes, ptr %364, i32 0, i32 7
  %366 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %365, i32 0, i32 0
  %367 = load ptr, ptr %366, align 8, !tbaa !21
  %368 = load i32, ptr %19, align 4, !tbaa !9
  %369 = zext i32 %368 to i64
  %370 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %367, i64 %369
  %371 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %370, i32 0, i32 2
  %372 = load ptr, ptr %371, align 8, !tbaa !25
  %373 = load double, ptr %23, align 8, !tbaa !13
  %374 = load double, ptr %24, align 8, !tbaa !13
  %375 = load i32, ptr %18, align 4, !tbaa !9
  call void %363(ptr noundef %372, double noundef %373, double noundef %374, i32 noundef %375)
  br label %451

376:                                              ; preds = %225
  %377 = load double, ptr %14, align 8, !tbaa !13
  store double %377, ptr %23, align 8, !tbaa !13
  store double 0.000000e+00, ptr %24, align 8, !tbaa !13
  %378 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %378, ptr %18, align 4, !tbaa !9
  store i32 40, ptr %19, align 4, !tbaa !9
  %379 = load i32, ptr %19, align 4, !tbaa !9
  %380 = load i32, ptr %18, align 4, !tbaa !9
  %381 = add i32 %380, %379
  store i32 %381, ptr %18, align 4, !tbaa !9
  %382 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %382, ptr %19, align 4, !tbaa !9
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.w2c_hermes, ptr %383, i32 0, i32 6
  %385 = load i32, ptr %19, align 4, !tbaa !9
  %386 = zext i32 %385 to i64
  %387 = call i32 @i32_load(ptr noundef %384, i64 noundef %386)
  store i32 %387, ptr %19, align 4, !tbaa !9
  %388 = load i32, ptr %19, align 4, !tbaa !9
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.w2c_hermes, ptr %389, i32 0, i32 7
  %391 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %390, i32 0, i32 2
  %392 = load i32, ptr %391, align 4, !tbaa !20
  %393 = icmp ult i32 %388, %392
  br i1 %393, label %394, label %417

394:                                              ; preds = %376
  %395 = load ptr, ptr %6, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.w2c_hermes, ptr %395, i32 0, i32 7
  %397 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %396, i32 0, i32 0
  %398 = load ptr, ptr %397, align 8, !tbaa !21
  %399 = load i32, ptr %19, align 4, !tbaa !9
  %400 = zext i32 %399 to i64
  %401 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %398, i64 %400
  %402 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %401, i32 0, i32 1
  %403 = load ptr, ptr %402, align 8, !tbaa !22
  %404 = icmp ne ptr %403, null
  br i1 %404, label %405, label %417

405:                                              ; preds = %394
  %406 = load ptr, ptr @w2c_hermes_t22, align 8, !tbaa !5
  %407 = load ptr, ptr %6, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.w2c_hermes, ptr %407, i32 0, i32 7
  %409 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %408, i32 0, i32 0
  %410 = load ptr, ptr %409, align 8, !tbaa !21
  %411 = load i32, ptr %19, align 4, !tbaa !9
  %412 = zext i32 %411 to i64
  %413 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %410, i64 %412
  %414 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %413, i32 0, i32 0
  %415 = load ptr, ptr %414, align 8, !tbaa !24
  %416 = call zeroext i1 @func_types_eq(ptr noundef %406, ptr noundef %415)
  br label %417

417:                                              ; preds = %405, %394, %376
  %418 = phi i1 [ false, %394 ], [ false, %376 ], [ %416, %405 ]
  %419 = xor i1 %418, true
  %420 = xor i1 %419, true
  %421 = zext i1 %420 to i32
  %422 = sext i32 %421 to i64
  %423 = call i64 @llvm.expect.i64(i64 %422, i64 1)
  %424 = icmp ne i64 %423, 0
  br i1 %424, label %427, label %425

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

426:                                              ; No predecessors!
  br label %427

427:                                              ; preds = %426, %417
  %428 = phi i1 [ true, %417 ], [ false, %426 ]
  %429 = zext i1 %428 to i32
  %430 = load ptr, ptr %6, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.w2c_hermes, ptr %430, i32 0, i32 7
  %432 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %431, i32 0, i32 0
  %433 = load ptr, ptr %432, align 8, !tbaa !21
  %434 = load i32, ptr %19, align 4, !tbaa !9
  %435 = zext i32 %434 to i64
  %436 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %433, i64 %435
  %437 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %436, i32 0, i32 1
  %438 = load ptr, ptr %437, align 8, !tbaa !22
  %439 = load ptr, ptr %6, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.w2c_hermes, ptr %439, i32 0, i32 7
  %441 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %440, i32 0, i32 0
  %442 = load ptr, ptr %441, align 8, !tbaa !21
  %443 = load i32, ptr %19, align 4, !tbaa !9
  %444 = zext i32 %443 to i64
  %445 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %442, i64 %444
  %446 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %445, i32 0, i32 2
  %447 = load ptr, ptr %446, align 8, !tbaa !25
  %448 = load double, ptr %23, align 8, !tbaa !13
  %449 = load double, ptr %24, align 8, !tbaa !13
  %450 = load i32, ptr %18, align 4, !tbaa !9
  call void %438(ptr noundef %447, double noundef %448, double noundef %449, i32 noundef %450)
  br label %451

451:                                              ; preds = %427, %352
  %452 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %452, ptr %16, align 4, !tbaa !9
  %453 = load ptr, ptr %6, align 8, !tbaa !5
  %454 = getelementptr inbounds %struct.w2c_hermes, ptr %453, i32 0, i32 6
  %455 = load i32, ptr %16, align 4, !tbaa !9
  %456 = zext i32 %455 to i64
  %457 = add i64 %456, 40
  %458 = call i32 @i32_load(ptr noundef %454, i64 noundef %457)
  store i32 %458, ptr %16, align 4, !tbaa !9
  %459 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %459, ptr %8, align 4, !tbaa !9
  %460 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %460, ptr %16, align 4, !tbaa !9
  %461 = load ptr, ptr %6, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.w2c_hermes, ptr %461, i32 0, i32 6
  %463 = load i32, ptr %16, align 4, !tbaa !9
  %464 = zext i32 %463 to i64
  %465 = add i64 %464, 44
  %466 = call i32 @i32_load(ptr noundef %462, i64 noundef %465)
  store i32 %466, ptr %16, align 4, !tbaa !9
  %467 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %467, ptr %10, align 4, !tbaa !9
  store i32 65535, ptr %17, align 4, !tbaa !9
  %468 = load i32, ptr %16, align 4, !tbaa !9
  %469 = load i32, ptr %17, align 4, !tbaa !9
  %470 = icmp ule i32 %468, %469
  %471 = zext i1 %470 to i32
  store i32 %471, ptr %16, align 4, !tbaa !9
  %472 = load i32, ptr %16, align 4, !tbaa !9
  %473 = icmp ne i32 %472, 0
  br i1 %473, label %474, label %518

474:                                              ; preds = %451
  %475 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %475, ptr %16, align 4, !tbaa !9
  %476 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %476, ptr %17, align 4, !tbaa !9
  %477 = load ptr, ptr %6, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.w2c_hermes, ptr %477, i32 0, i32 6
  %479 = load i32, ptr %16, align 4, !tbaa !9
  %480 = zext i32 %479 to i64
  %481 = add i64 %480, 100
  %482 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %478, i64 noundef %481, i32 noundef %482)
  %483 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %483, ptr %16, align 4, !tbaa !9
  %484 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %484, ptr %17, align 4, !tbaa !9
  %485 = load ptr, ptr %6, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.w2c_hermes, ptr %485, i32 0, i32 6
  %487 = load i32, ptr %16, align 4, !tbaa !9
  %488 = zext i32 %487 to i64
  %489 = add i64 %488, 96
  %490 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %486, i64 noundef %489, i32 noundef %490)
  %491 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %491, ptr %16, align 4, !tbaa !9
  %492 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %492, ptr %17, align 4, !tbaa !9
  %493 = load ptr, ptr %6, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.w2c_hermes, ptr %493, i32 0, i32 6
  %495 = load i32, ptr %17, align 4, !tbaa !9
  %496 = zext i32 %495 to i64
  %497 = add i64 %496, 96
  %498 = call i64 @i64_load(ptr noundef %494, i64 noundef %497)
  store i64 %498, ptr %21, align 8, !tbaa !11
  %499 = load ptr, ptr %6, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.w2c_hermes, ptr %499, i32 0, i32 6
  %501 = load i32, ptr %16, align 4, !tbaa !9
  %502 = zext i32 %501 to i64
  %503 = add i64 %502, 16
  %504 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %500, i64 noundef %503, i64 noundef %504)
  %505 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %505, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %506 = load i32, ptr %17, align 4, !tbaa !9
  %507 = load i32, ptr %16, align 4, !tbaa !9
  %508 = add i32 %507, %506
  store i32 %508, ptr %16, align 4, !tbaa !9
  %509 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %509, ptr %17, align 4, !tbaa !9
  %510 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %510, ptr %18, align 4, !tbaa !9
  store i32 16, ptr %19, align 4, !tbaa !9
  %511 = load i32, ptr %19, align 4, !tbaa !9
  %512 = load i32, ptr %18, align 4, !tbaa !9
  %513 = add i32 %512, %511
  store i32 %513, ptr %18, align 4, !tbaa !9
  %514 = load ptr, ptr %6, align 8, !tbaa !5
  %515 = load i32, ptr %16, align 4, !tbaa !9
  %516 = load i32, ptr %17, align 4, !tbaa !9
  %517 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ADynamicStringPrimitive0x3Cchar0x2C0x20false0x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef %514, i32 noundef %515, i32 noundef %516, i32 noundef %517)
  br label %595

518:                                              ; preds = %451
  %519 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %519, ptr %16, align 4, !tbaa !9
  %520 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %520, ptr %17, align 4, !tbaa !9
  %521 = load ptr, ptr %6, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.w2c_hermes, ptr %521, i32 0, i32 6
  %523 = load i32, ptr %16, align 4, !tbaa !9
  %524 = zext i32 %523 to i64
  %525 = add i64 %524, 92
  %526 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %522, i64 noundef %525, i32 noundef %526)
  %527 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %527, ptr %16, align 4, !tbaa !9
  %528 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %528, ptr %17, align 4, !tbaa !9
  %529 = load ptr, ptr %6, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.w2c_hermes, ptr %529, i32 0, i32 6
  %531 = load i32, ptr %16, align 4, !tbaa !9
  %532 = zext i32 %531 to i64
  %533 = add i64 %532, 88
  %534 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %530, i64 noundef %533, i32 noundef %534)
  %535 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %535, ptr %16, align 4, !tbaa !9
  %536 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %536, ptr %17, align 4, !tbaa !9
  %537 = load ptr, ptr %6, align 8, !tbaa !5
  %538 = getelementptr inbounds %struct.w2c_hermes, ptr %537, i32 0, i32 6
  %539 = load i32, ptr %17, align 4, !tbaa !9
  %540 = zext i32 %539 to i64
  %541 = add i64 %540, 88
  %542 = call i64 @i64_load(ptr noundef %538, i64 noundef %541)
  store i64 %542, ptr %21, align 8, !tbaa !11
  %543 = load ptr, ptr %6, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.w2c_hermes, ptr %543, i32 0, i32 6
  %545 = load i32, ptr %16, align 4, !tbaa !9
  %546 = zext i32 %545 to i64
  %547 = add i64 %546, 8
  %548 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %544, i64 noundef %547, i64 noundef %548)
  %549 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %549, ptr %16, align 4, !tbaa !9
  store i32 96, ptr %17, align 4, !tbaa !9
  %550 = load i32, ptr %17, align 4, !tbaa !9
  %551 = load i32, ptr %16, align 4, !tbaa !9
  %552 = add i32 %551, %550
  store i32 %552, ptr %16, align 4, !tbaa !9
  %553 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %553, ptr %8, align 4, !tbaa !9
  %554 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %554, ptr %17, align 4, !tbaa !9
  store i32 8, ptr %18, align 4, !tbaa !9
  %555 = load i32, ptr %18, align 4, !tbaa !9
  %556 = load i32, ptr %17, align 4, !tbaa !9
  %557 = add i32 %556, %555
  store i32 %557, ptr %17, align 4, !tbaa !9
  %558 = load ptr, ptr %6, align 8, !tbaa !5
  %559 = load i32, ptr %16, align 4, !tbaa !9
  %560 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef %558, i32 noundef %559, i32 noundef %560)
  %561 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %561, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %562 = load i32, ptr %17, align 4, !tbaa !9
  %563 = load i32, ptr %16, align 4, !tbaa !9
  %564 = add i32 %563, %562
  store i32 %564, ptr %16, align 4, !tbaa !9
  %565 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %565, ptr %17, align 4, !tbaa !9
  %566 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %566, ptr %18, align 4, !tbaa !9
  %567 = load ptr, ptr %6, align 8, !tbaa !5
  %568 = load i32, ptr %16, align 4, !tbaa !9
  %569 = load i32, ptr %17, align 4, !tbaa !9
  %570 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x260x260x29(ptr noundef %567, i32 noundef %568, i32 noundef %569, i32 noundef %570)
  %571 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %571, ptr %16, align 4, !tbaa !9
  %572 = load ptr, ptr %6, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.w2c_hermes, ptr %572, i32 0, i32 6
  %574 = load i32, ptr %16, align 4, !tbaa !9
  %575 = zext i32 %574 to i64
  %576 = add i64 %575, 107
  %577 = call i32 @i32_load8_s(ptr noundef %573, i64 noundef %576)
  store i32 %577, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %578 = load i32, ptr %16, align 4, !tbaa !9
  %579 = load i32, ptr %17, align 4, !tbaa !9
  %580 = icmp sge i32 %578, %579
  %581 = zext i1 %580 to i32
  store i32 %581, ptr %16, align 4, !tbaa !9
  %582 = load i32, ptr %16, align 4, !tbaa !9
  %583 = icmp ne i32 %582, 0
  br i1 %583, label %584, label %585

584:                                              ; preds = %518
  br label %595

585:                                              ; preds = %518
  %586 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %586, ptr %16, align 4, !tbaa !9
  %587 = load ptr, ptr %6, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.w2c_hermes, ptr %587, i32 0, i32 6
  %589 = load i32, ptr %16, align 4, !tbaa !9
  %590 = zext i32 %589 to i64
  %591 = add i64 %590, 96
  %592 = call i32 @i32_load(ptr noundef %588, i64 noundef %591)
  store i32 %592, ptr %16, align 4, !tbaa !9
  %593 = load ptr, ptr %6, align 8, !tbaa !5
  %594 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %593, i32 noundef %594)
  br label %595

595:                                              ; preds = %585, %584, %474
  %596 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %596, ptr %16, align 4, !tbaa !9
  %597 = load ptr, ptr %6, align 8, !tbaa !5
  %598 = getelementptr inbounds %struct.w2c_hermes, ptr %597, i32 0, i32 6
  %599 = load i32, ptr %16, align 4, !tbaa !9
  %600 = zext i32 %599 to i64
  %601 = add i64 %600, 24
  %602 = call i32 @i32_load(ptr noundef %598, i64 noundef %601)
  store i32 %602, ptr %16, align 4, !tbaa !9
  %603 = load i32, ptr %16, align 4, !tbaa !9
  %604 = icmp ne i32 %603, 0
  %605 = xor i1 %604, true
  %606 = zext i1 %605 to i32
  store i32 %606, ptr %16, align 4, !tbaa !9
  %607 = load i32, ptr %16, align 4, !tbaa !9
  %608 = icmp ne i32 %607, 0
  br i1 %608, label %609, label %610

609:                                              ; preds = %595
  br label %659

610:                                              ; preds = %595
  %611 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %611, ptr %16, align 4, !tbaa !9
  %612 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %612, ptr %17, align 4, !tbaa !9
  %613 = load ptr, ptr %6, align 8, !tbaa !5
  %614 = getelementptr inbounds %struct.w2c_hermes, ptr %613, i32 0, i32 6
  %615 = load i32, ptr %17, align 4, !tbaa !9
  %616 = zext i32 %615 to i64
  %617 = add i64 %616, 32
  %618 = call i64 @i64_load(ptr noundef %614, i64 noundef %617)
  store i64 %618, ptr %21, align 8, !tbaa !11
  %619 = load ptr, ptr %6, align 8, !tbaa !5
  %620 = getelementptr inbounds %struct.w2c_hermes, ptr %619, i32 0, i32 6
  %621 = load i32, ptr %16, align 4, !tbaa !9
  %622 = zext i32 %621 to i64
  %623 = add i64 %622, 8
  %624 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %620, i64 noundef %623, i64 noundef %624)
  %625 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %625, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %626 = load ptr, ptr %6, align 8, !tbaa !5
  %627 = getelementptr inbounds %struct.w2c_hermes, ptr %626, i32 0, i32 6
  %628 = load i32, ptr %16, align 4, !tbaa !9
  %629 = zext i32 %628 to i64
  %630 = load i32, ptr %17, align 4, !tbaa !9
  call void @i32_store(ptr noundef %627, i64 noundef %629, i32 noundef %630)
  %631 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %631, ptr %16, align 4, !tbaa !9
  %632 = load ptr, ptr %6, align 8, !tbaa !5
  %633 = getelementptr inbounds %struct.w2c_hermes, ptr %632, i32 0, i32 6
  %634 = load i32, ptr %16, align 4, !tbaa !9
  %635 = zext i32 %634 to i64
  %636 = add i64 %635, 40
  %637 = call i32 @i32_load(ptr noundef %633, i64 noundef %636)
  store i32 %637, ptr %16, align 4, !tbaa !9
  %638 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %638, ptr %7, align 4, !tbaa !9
  %639 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %639, ptr %17, align 4, !tbaa !9
  %640 = load i32, ptr %16, align 4, !tbaa !9
  %641 = load i32, ptr %17, align 4, !tbaa !9
  %642 = icmp eq i32 %640, %641
  %643 = zext i1 %642 to i32
  store i32 %643, ptr %16, align 4, !tbaa !9
  %644 = load i32, ptr %16, align 4, !tbaa !9
  %645 = icmp ne i32 %644, 0
  br i1 %645, label %646, label %647

646:                                              ; preds = %610
  br label %651

647:                                              ; preds = %610
  %648 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %648, ptr %16, align 4, !tbaa !9
  %649 = load ptr, ptr %6, align 8, !tbaa !5
  %650 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %649, i32 noundef %650)
  br label %651

651:                                              ; preds = %647, %646, %194, %150, %77
  %652 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %652, ptr %16, align 4, !tbaa !9
  store i32 112, ptr %17, align 4, !tbaa !9
  %653 = load i32, ptr %17, align 4, !tbaa !9
  %654 = load i32, ptr %16, align 4, !tbaa !9
  %655 = add i32 %654, %653
  store i32 %655, ptr %16, align 4, !tbaa !9
  %656 = load i32, ptr %16, align 4, !tbaa !9
  %657 = load ptr, ptr %6, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.w2c_hermes, ptr %657, i32 0, i32 3
  store i32 %656, ptr %658, align 8, !tbaa !15
  br label %662

659:                                              ; preds = %609
  store i32 40743, ptr %16, align 4, !tbaa !9
  %660 = load ptr, ptr %6, align 8, !tbaa !5
  %661 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef %660, i32 noundef %661)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

662:                                              ; preds = %651
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret void
}

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef, double noundef) #3

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

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

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

; 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 void @i32_store(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef, i32 noundef, i32 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 #1

; Function Attrs: nounwind uwtable
declare hidden double @wasm_fabs(double noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeToStringHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -112
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %12 = zext i32 %11 to i64
  %13 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %12)
  %14 = icmp ugt i64 %13, -844424930131969
  br i1 %14, label %15, label %20

15:                                               ; preds = %5
  %16 = and i64 %13, 4294967295
  %17 = add nuw nsw i64 %16, 3
  %18 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %17)
  %.mask = and i32 %18, 255
  %19 = icmp eq i32 %.mask, 61
  br i1 %19, label %29, label %20

20:                                               ; preds = %15, %5
  %21 = zext i32 %8 to i64
  %22 = add nuw nsw i64 %21, 72
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %22, i32 noundef 0)
  %23 = add nuw nsw i64 %21, 64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %23, i64 noundef 219043332097)
  %24 = add nuw nsw i64 %21, 48
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %24, i32 noundef 3)
  %25 = add nuw nsw i64 %21, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %25, i32 noundef 32161)
  %26 = add i32 %7, -72
  %27 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %26)
  %28 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %28, i32 noundef %27)
  br label %153

29:                                               ; preds = %15
  %30 = add nuw nsw i64 %16, 24
  %31 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %30)
  %32 = tail call double @wasm_fabs(double noundef %31)
  %33 = fcmp ueq double %32, 0x7FF0000000000000
  br i1 %33, label %34, label %52

34:                                               ; preds = %29
  %35 = icmp eq i32 %2, 3
  br i1 %35, label %36, label %45

36:                                               ; preds = %34
  %37 = zext i32 %8 to i64
  %38 = add nuw nsw i64 %37, 72
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %38, i32 noundef 0)
  %39 = add nuw nsw i64 %37, 64
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %39, i64 noundef 103079215105)
  %40 = add nuw nsw i64 %37, 48
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %40, i32 noundef 3)
  %41 = add nuw nsw i64 %37, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %41, i32 noundef 35394)
  %42 = add i32 %7, -72
  %43 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseRangeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %42)
  %44 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %44, i32 noundef %43)
  br label %153

45:                                               ; preds = %34
  %46 = add i32 %3, 5468
  %47 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %46, i32 noundef %3, i32 noundef 325) #4
  %48 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %48, i32 noundef 1)
  %49 = zext i32 %47 to i64
  %50 = or disjoint i64 %49, -844424930131968
  %51 = add nuw nsw i64 %48, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %51, i64 noundef %50)
  br label %153

52:                                               ; preds = %29
  %53 = shl i32 %2, 3
  %54 = add i32 %53, 117936
  %55 = zext i32 %8 to i64
  %56 = add nuw nsw i64 %55, 76
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %56, i64 noundef 0)
  %57 = add nuw nsw i64 %55, 68
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %57, i64 noundef 0)
  %58 = add nuw nsw i64 %55, 60
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %58, i64 noundef 0)
  %59 = add nuw nsw i64 %55, 52
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %59, i64 noundef 0)
  %60 = add nuw nsw i64 %55, 44
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %60, i64 noundef 137438953472)
  %61 = add i32 %7, -60
  %62 = add nuw nsw i64 %55, 40
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %62, i32 noundef %61)
  %63 = add i32 %2, -5
  %64 = icmp ult i32 %63, -2
  br i1 %64, label %65, label %92

65:                                               ; preds = %52
  %66 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef nonnull %0, double noundef %31) #4
  %67 = fsub double %66, %31
  %68 = add i32 %7, -72
  %69 = zext i32 %54 to i64
  %70 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %69)
  %71 = getelementptr inbounds i8, ptr %0, i64 80
  %72 = getelementptr inbounds i8, ptr %0, i64 92
  %73 = load i32, ptr %72, align 4, !tbaa !15
  %74 = icmp ult i32 %70, %73
  br i1 %74, label %75, label %.critedge, !prof !16

75:                                               ; preds = %65
  %76 = load ptr, ptr %71, align 8, !tbaa !17
  %77 = zext i32 %70 to i64
  %78 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %76, i64 %77
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = load ptr, ptr %79, align 8, !tbaa !18
  %.not323 = icmp eq ptr %80, null
  br i1 %.not323, label %.critedge, label %81, !prof !20

81:                                               ; preds = %75
  %82 = load ptr, ptr @w2c_hermes_t22, align 8, !tbaa !21
  %83 = load ptr, ptr %78, align 8, !tbaa !22
  %84 = tail call zeroext i1 @func_types_eq(ptr noundef %82, ptr noundef %83)
  br i1 %84, label %85, label %.critedge, !prof !16

.critedge:                                        ; preds = %75, %65, %81
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

85:                                               ; preds = %81
  %86 = load ptr, ptr %71, align 8, !tbaa !17
  %87 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %86, i64 %77
  %88 = getelementptr inbounds i8, ptr %87, i64 8
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = getelementptr inbounds i8, ptr %87, i64 16
  %91 = load ptr, ptr %90, align 8, !tbaa !23
  tail call void %89(ptr noundef %91, double noundef %66, double noundef %67, i32 noundef %68) #4
  br label %117

92:                                               ; preds = %52
  %93 = add i32 %7, -72
  %94 = zext nneg i32 %54 to i64
  %95 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %94)
  %96 = getelementptr inbounds i8, ptr %0, i64 80
  %97 = getelementptr inbounds i8, ptr %0, i64 92
  %98 = load i32, ptr %97, align 4, !tbaa !15
  %99 = icmp ult i32 %95, %98
  br i1 %99, label %100, label %.critedge326, !prof !16

100:                                              ; preds = %92
  %101 = load ptr, ptr %96, align 8, !tbaa !17
  %102 = zext i32 %95 to i64
  %103 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %101, i64 %102
  %104 = getelementptr inbounds i8, ptr %103, i64 8
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  %.not = icmp eq ptr %105, null
  br i1 %.not, label %.critedge326, label %106, !prof !20

106:                                              ; preds = %100
  %107 = load ptr, ptr @w2c_hermes_t22, align 8, !tbaa !21
  %108 = load ptr, ptr %103, align 8, !tbaa !22
  %109 = tail call zeroext i1 @func_types_eq(ptr noundef %107, ptr noundef %108)
  br i1 %109, label %110, label %.critedge326, !prof !16

.critedge326:                                     ; preds = %100, %92, %106
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

110:                                              ; preds = %106
  %111 = load ptr, ptr %96, align 8, !tbaa !17
  %112 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %111, i64 %102
  %113 = getelementptr inbounds i8, ptr %112, i64 8
  %114 = load ptr, ptr %113, align 8, !tbaa !18
  %115 = getelementptr inbounds i8, ptr %112, i64 16
  %116 = load ptr, ptr %115, align 8, !tbaa !23
  tail call void %114(ptr noundef %116, double noundef %31, double noundef 0.000000e+00, i32 noundef %93) #4
  br label %117

117:                                              ; preds = %110, %85
  %118 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %62)
  %119 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %60)
  %120 = icmp ult i32 %119, 65536
  br i1 %120, label %121, label %128

121:                                              ; preds = %117
  %122 = add nuw nsw i64 %55, 100
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %122, i32 noundef %119)
  %123 = add nuw nsw i64 %55, 96
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %123, i32 noundef %118)
  %124 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %123)
  %125 = add nuw nsw i64 %55, 16
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %125, i64 noundef %124)
  %126 = add i32 %7, -88
  %127 = add i32 %7, -96
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ADynamicStringPrimitive0x3Cchar0x2C0x20false0x3E0x3A0x3Acreate0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef nonnull %0, i32 noundef %126, i32 noundef %3, i32 noundef %127) #4
  br label %142

128:                                              ; preds = %117
  %129 = add nuw nsw i64 %55, 92
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %129, i32 noundef %119)
  %130 = add nuw nsw i64 %55, 88
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %130, i32 noundef %118)
  %131 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %130)
  %132 = add nuw nsw i64 %55, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %132, i64 noundef %131)
  %133 = add i32 %7, -16
  %134 = add i32 %7, -104
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar0x3E0x29(ptr noundef nonnull %0, i32 noundef %133, i32 noundef %134) #4
  %135 = add i32 %7, -88
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar0x3E0x3E0x260x260x29(ptr noundef nonnull %0, i32 noundef %135, i32 noundef %3, i32 noundef %133) #4
  %136 = add nuw nsw i64 %55, 107
  %137 = tail call i32 @i32_load8_s(ptr noundef nonnull %9, i64 noundef %136)
  %138 = icmp sgt i32 %137, -1
  br i1 %138, label %142, label %139

139:                                              ; preds = %128
  %140 = add nuw nsw i64 %55, 96
  %141 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %140)
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %141) #4
  br label %142

142:                                              ; preds = %128, %139, %121
  %143 = add nuw nsw i64 %55, 24
  %144 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %143)
  %.not324 = icmp eq i32 %144, 0
  br i1 %.not324, label %154, label %145

145:                                              ; preds = %142
  %146 = add nuw nsw i64 %55, 32
  %147 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %146)
  %148 = zext i32 %1 to i64
  %149 = add nuw nsw i64 %148, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %149, i64 noundef %147)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %148, i32 noundef 1)
  %150 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %62)
  %151 = icmp eq i32 %150, %61
  br i1 %151, label %153, label %152

152:                                              ; preds = %145
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %150) #4
  br label %153

153:                                              ; preds = %145, %152, %45, %36, %20
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

154:                                              ; preds = %142
  tail call void @w2c_hermes_hermes0x3A0x3Ahermes_fatal0x28char0x20const0x2A0x29(ptr noundef nonnull %0, i32 noundef 40743) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #2

attributes #0 = { 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 = { 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 = { 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