; 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_t47 = 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

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x260x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar16_t0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeToLocaleStringHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #5 {
  %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 i32, align 4
  %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
  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 4, ptr %15) #6
  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
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.w2c_hermes, ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 8, !tbaa !15
  store i32 %27, ptr %15, align 4, !tbaa !9
  store i32 320, ptr %16, align 4, !tbaa !9
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %15, align 4, !tbaa !9
  %30 = sub i32 %29, %28
  store i32 %30, ptr %15, align 4, !tbaa !9
  %31 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %31, ptr %11, align 4, !tbaa !9
  %32 = load i32, ptr %15, align 4, !tbaa !9
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.w2c_hermes, ptr %33, i32 0, i32 3
  store i32 %32, ptr %34, align 8, !tbaa !15
  %35 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %35, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %36 = load i32, ptr %15, align 4, !tbaa !9
  %37 = load i32, ptr %16, align 4, !tbaa !9
  %38 = icmp ult i32 %36, %37
  %39 = zext i1 %38 to i32
  store i32 %39, ptr %15, align 4, !tbaa !9
  %40 = load i32, ptr %15, align 4, !tbaa !9
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %496

42:                                               ; preds = %5
  %43 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %43, ptr %15, align 4, !tbaa !9
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.w2c_hermes, ptr %44, i32 0, i32 6
  %46 = load i32, ptr %15, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = call i32 @i32_load(ptr noundef %45, i64 noundef %47)
  store i32 %48, ptr %15, align 4, !tbaa !9
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.w2c_hermes, ptr %49, i32 0, i32 6
  %51 = load i32, ptr %15, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = call i64 @i64_load(ptr noundef %50, i64 noundef %52)
  store i64 %53, ptr %20, align 8, !tbaa !11
  %54 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %54, ptr %13, align 8, !tbaa !11
  store i64 -844424930131968, ptr %21, align 8, !tbaa !11
  %55 = load i64, ptr %20, align 8, !tbaa !11
  %56 = load i64, ptr %21, align 8, !tbaa !11
  %57 = icmp uge i64 %55, %56
  %58 = zext i1 %57 to i32
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %93

61:                                               ; preds = %42
  %62 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %62, ptr %20, align 8, !tbaa !11
  %63 = load i64, ptr %20, align 8, !tbaa !11
  %64 = trunc i64 %63 to i32
  store i32 %64, ptr %15, align 4, !tbaa !9
  %65 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %65, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = icmp ne i32 %66, 0
  %68 = xor i1 %67, true
  %69 = zext i1 %68 to i32
  store i32 %69, ptr %15, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %61
  br label %514

73:                                               ; preds = %61
  %74 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %74, ptr %15, align 4, !tbaa !9
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.w2c_hermes, ptr %75, i32 0, i32 6
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = add i64 %78, 3
  %80 = call i32 @i32_load8_u(ptr noundef %76, i64 noundef %79)
  store i32 %80, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = and i32 %81, 31
  %83 = load i32, ptr %15, align 4, !tbaa !9
  %84 = shl i32 %83, %82
  store i32 %84, ptr %15, align 4, !tbaa !9
  store i32 1023410176, ptr %16, align 4, !tbaa !9
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = icmp eq i32 %85, %86
  %88 = zext i1 %87 to i32
  store i32 %88, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %15, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %73
  br label %164

92:                                               ; preds = %73
  br label %93

93:                                               ; preds = %92, %42
  %94 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %94, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 56
  %100 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %96, i64 noundef %99, i32 noundef %100)
  %101 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %101, ptr %15, align 4, !tbaa !9
  store i64 219043332097, ptr %21, align 8, !tbaa !11
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %15, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 48
  %107 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %103, i64 noundef %106, i64 noundef %107)
  %108 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %108, ptr %15, align 4, !tbaa !9
  store i32 3, ptr %16, align 4, !tbaa !9
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.w2c_hermes, ptr %109, i32 0, i32 6
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = add i64 %112, 32
  %114 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %110, i64 noundef %113, i32 noundef %114)
  %115 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %115, ptr %15, align 4, !tbaa !9
  store i32 38291, ptr %16, 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 %15, align 4, !tbaa !9
  %119 = zext i32 %118 to i64
  %120 = add i64 %119, 24
  %121 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %117, i64 noundef %120, i32 noundef %121)
  %122 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %122, ptr %15, align 4, !tbaa !9
  %123 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %123, ptr %16, align 4, !tbaa !9
  %124 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %124, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %125 = load i32, ptr %18, align 4, !tbaa !9
  %126 = load i32, ptr %17, align 4, !tbaa !9
  %127 = add i32 %126, %125
  store i32 %127, ptr %17, align 4, !tbaa !9
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = load i32, ptr %16, align 4, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !9
  %131 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %128, i32 noundef %129, i32 noundef %130)
  store i32 %131, ptr %16, align 4, !tbaa !9
  %132 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %132, ptr %8, align 4, !tbaa !9
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.w2c_hermes, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %15, align 4, !tbaa !9
  %136 = zext i32 %135 to i64
  %137 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %134, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %138, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = icmp ne i32 %139, %140
  %142 = zext i1 %141 to i32
  store i32 %142, ptr %15, align 4, !tbaa !9
  %143 = load i32, ptr %15, align 4, !tbaa !9
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %93
  br label %488

146:                                              ; preds = %93
  store i32 0, ptr %15, align 4, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %147, ptr %11, align 4, !tbaa !9
  store i32 109717, ptr %16, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = load i32, ptr %15, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %151, ptr %16, align 4, !tbaa !9
  store i32 77564, ptr %17, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = load i32, ptr %16, align 4, !tbaa !9
  %154 = add i32 %153, %152
  store i32 %154, ptr %16, align 4, !tbaa !9
  store i32 168, ptr %17, align 4, !tbaa !9
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %18, align 4, !tbaa !9
  store i32 28083, ptr %19, align 4, !tbaa !9
  %156 = load i32, ptr %19, align 4, !tbaa !9
  %157 = load i32, ptr %18, align 4, !tbaa !9
  %158 = add i32 %157, %156
  store i32 %158, ptr %18, align 4, !tbaa !9
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = load i32, ptr %17, align 4, !tbaa !9
  %163 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, i32 noundef %163)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

164:                                              ; preds = %91
  %165 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %165, ptr %15, 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 %15, align 4, !tbaa !9
  %169 = zext i32 %168 to i64
  %170 = add i64 %169, 32
  %171 = call double @f64_load(ptr noundef %167, i64 noundef %170)
  store double %171, ptr %23, align 8, !tbaa !13
  %172 = load double, ptr %23, align 8, !tbaa !13
  store double %172, ptr %14, align 8, !tbaa !13
  %173 = load double, ptr %23, align 8, !tbaa !13
  %174 = call double @wasm_fabs(double noundef %173)
  store double %174, ptr %23, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %24, align 8, !tbaa !13
  %175 = load double, ptr %23, align 8, !tbaa !13
  %176 = load double, ptr %24, align 8, !tbaa !13
  %177 = fcmp olt double %175, %176
  %178 = zext i1 %177 to i32
  store i32 %178, ptr %15, align 4, !tbaa !9
  %179 = load i32, ptr %15, align 4, !tbaa !9
  %180 = icmp ne i32 %179, 0
  %181 = xor i1 %180, true
  %182 = zext i1 %181 to i32
  store i32 %182, ptr %15, align 4, !tbaa !9
  %183 = load i32, ptr %15, align 4, !tbaa !9
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %224

185:                                              ; preds = %164
  %186 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %186, ptr %15, align 4, !tbaa !9
  store i32 5516, ptr %16, align 4, !tbaa !9
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = load i32, ptr %15, align 4, !tbaa !9
  %189 = add i32 %188, %187
  store i32 %189, ptr %15, align 4, !tbaa !9
  %190 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %190, ptr %16, align 4, !tbaa !9
  store i32 325, ptr %17, align 4, !tbaa !9
  %191 = load ptr, ptr %6, align 8, !tbaa !5
  %192 = load i32, ptr %15, align 4, !tbaa !9
  %193 = load i32, ptr %16, align 4, !tbaa !9
  %194 = load i32, ptr %17, align 4, !tbaa !9
  %195 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef %191, i32 noundef %192, i32 noundef %193, i32 noundef %194)
  store i32 %195, ptr %15, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %196, ptr %8, align 4, !tbaa !9
  %197 = load i32, ptr %15, align 4, !tbaa !9
  %198 = icmp ne i32 %197, 0
  %199 = xor i1 %198, true
  %200 = zext i1 %199 to i32
  store i32 %200, ptr %15, align 4, !tbaa !9
  %201 = load i32, ptr %15, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %204

203:                                              ; preds = %185
  br label %532

204:                                              ; preds = %185
  %205 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %205, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.w2c_hermes, ptr %206, i32 0, i32 6
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = zext i32 %208 to i64
  %210 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %207, i64 noundef %209, i32 noundef %210)
  %211 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %211, ptr %15, align 4, !tbaa !9
  %212 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %212, ptr %16, align 4, !tbaa !9
  %213 = load i32, ptr %16, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  store i64 %214, ptr %21, align 8, !tbaa !11
  store i64 -844424930131968, ptr %22, align 8, !tbaa !11
  %215 = load i64, ptr %22, align 8, !tbaa !11
  %216 = load i64, ptr %21, align 8, !tbaa !11
  %217 = or i64 %216, %215
  store i64 %217, ptr %21, align 8, !tbaa !11
  %218 = load ptr, ptr %6, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.w2c_hermes, ptr %218, i32 0, i32 6
  %220 = load i32, ptr %15, align 4, !tbaa !9
  %221 = zext i32 %220 to i64
  %222 = add i64 %221, 8
  %223 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %219, i64 noundef %222, i64 noundef %223)
  br label %488

224:                                              ; preds = %164
  %225 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %225, ptr %15, align 4, !tbaa !9
  store i64 549755813888, ptr %21, align 8, !tbaa !11
  %226 = load ptr, ptr %6, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %15, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = add i64 %229, 28
  %231 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %227, i64 noundef %230, i64 noundef %231)
  %232 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %232, ptr %15, align 4, !tbaa !9
  %233 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %233, ptr %16, align 4, !tbaa !9
  store i32 36, ptr %17, align 4, !tbaa !9
  %234 = load i32, ptr %17, align 4, !tbaa !9
  %235 = load i32, ptr %16, align 4, !tbaa !9
  %236 = add i32 %235, %234
  store i32 %236, ptr %16, align 4, !tbaa !9
  %237 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %237, ptr %10, align 4, !tbaa !9
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.w2c_hermes, ptr %238, i32 0, i32 6
  %240 = load i32, ptr %15, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = add i64 %241, 24
  %243 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %239, i64 noundef %242, i32 noundef %243)
  %244 = load double, ptr %14, align 8, !tbaa !13
  store double %244, ptr %23, align 8, !tbaa !13
  %245 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %245, ptr %16, align 4, !tbaa !9
  store i32 24, ptr %17, align 4, !tbaa !9
  %246 = load i32, ptr %17, align 4, !tbaa !9
  %247 = load i32, ptr %16, align 4, !tbaa !9
  %248 = add i32 %247, %246
  store i32 %248, ptr %16, align 4, !tbaa !9
  %249 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %249, ptr %17, align 4, !tbaa !9
  store i32 275784, ptr %18, align 4, !tbaa !9
  %250 = load i32, ptr %18, align 4, !tbaa !9
  %251 = load i32, ptr %17, align 4, !tbaa !9
  %252 = add i32 %251, %250
  store i32 %252, ptr %17, align 4, !tbaa !9
  %253 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %253, ptr %18, align 4, !tbaa !9
  store i32 2, ptr %19, align 4, !tbaa !9
  %254 = load i32, ptr %19, align 4, !tbaa !9
  %255 = and i32 %254, 31
  %256 = load i32, ptr %18, align 4, !tbaa !9
  %257 = shl i32 %256, %255
  store i32 %257, ptr %18, align 4, !tbaa !9
  %258 = load i32, ptr %18, align 4, !tbaa !9
  %259 = load i32, ptr %17, align 4, !tbaa !9
  %260 = add i32 %259, %258
  store i32 %260, ptr %17, align 4, !tbaa !9
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.w2c_hermes, ptr %261, i32 0, i32 6
  %263 = load i32, ptr %17, align 4, !tbaa !9
  %264 = zext i32 %263 to i64
  %265 = call i32 @i32_load(ptr noundef %262, i64 noundef %264)
  store i32 %265, ptr %17, align 4, !tbaa !9
  %266 = load i32, ptr %17, align 4, !tbaa !9
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.w2c_hermes, ptr %267, i32 0, i32 7
  %269 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %268, i32 0, i32 2
  %270 = load i32, ptr %269, align 4, !tbaa !20
  %271 = icmp ult i32 %266, %270
  br i1 %271, label %272, label %295

272:                                              ; preds = %224
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 7
  %275 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %274, i32 0, i32 0
  %276 = load ptr, ptr %275, align 8, !tbaa !21
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = zext i32 %277 to i64
  %279 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %276, i64 %278
  %280 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %279, i32 0, i32 1
  %281 = load ptr, ptr %280, align 8, !tbaa !22
  %282 = icmp ne ptr %281, null
  br i1 %282, label %283, label %295

283:                                              ; preds = %272
  %284 = load ptr, ptr @w2c_hermes_t47, align 8, !tbaa !5
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.w2c_hermes, ptr %285, i32 0, i32 7
  %287 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %286, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !21
  %289 = load i32, ptr %17, align 4, !tbaa !9
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %288, i64 %290
  %292 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !24
  %294 = call zeroext i1 @func_types_eq(ptr noundef %284, ptr noundef %293)
  br label %295

295:                                              ; preds = %283, %272, %224
  %296 = phi i1 [ false, %272 ], [ false, %224 ], [ %294, %283 ]
  %297 = xor i1 %296, true
  %298 = xor i1 %297, true
  %299 = zext i1 %298 to i32
  %300 = sext i32 %299 to i64
  %301 = call i64 @llvm.expect.i64(i64 %300, i64 1)
  %302 = icmp ne i64 %301, 0
  br i1 %302, label %305, label %303

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

304:                                              ; No predecessors!
  br label %305

305:                                              ; preds = %304, %295
  %306 = phi i1 [ true, %295 ], [ false, %304 ]
  %307 = zext i1 %306 to i32
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.w2c_hermes, ptr %308, i32 0, i32 7
  %310 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %309, i32 0, i32 0
  %311 = load ptr, ptr %310, align 8, !tbaa !21
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %311, i64 %313
  %315 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %314, i32 0, i32 1
  %316 = load ptr, ptr %315, align 8, !tbaa !22
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.w2c_hermes, ptr %317, i32 0, i32 7
  %319 = getelementptr inbounds %struct.wasm_rt_funcref_table_t, ptr %318, i32 0, i32 0
  %320 = load ptr, ptr %319, align 8, !tbaa !21
  %321 = load i32, ptr %17, align 4, !tbaa !9
  %322 = zext i32 %321 to i64
  %323 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %320, i64 %322
  %324 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %323, i32 0, i32 2
  %325 = load ptr, ptr %324, align 8, !tbaa !25
  %326 = load double, ptr %23, align 8, !tbaa !13
  %327 = load i32, ptr %16, align 4, !tbaa !9
  call void %316(ptr noundef %325, double noundef %326, i32 noundef %327)
  %328 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %328, ptr %15, align 4, !tbaa !9
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.w2c_hermes, ptr %329, i32 0, i32 6
  %331 = load i32, ptr %15, align 4, !tbaa !9
  %332 = zext i32 %331 to i64
  %333 = add i64 %332, 24
  %334 = call i32 @i32_load(ptr noundef %330, i64 noundef %333)
  store i32 %334, ptr %15, align 4, !tbaa !9
  %335 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %335, ptr %8, align 4, !tbaa !9
  %336 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %336, ptr %15, align 4, !tbaa !9
  %337 = load ptr, ptr %6, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.w2c_hermes, ptr %337, i32 0, i32 6
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = zext i32 %339 to i64
  %341 = add i64 %340, 28
  %342 = call i32 @i32_load(ptr noundef %338, i64 noundef %341)
  store i32 %342, ptr %15, align 4, !tbaa !9
  %343 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %343, ptr %12, align 4, !tbaa !9
  store i32 65535, ptr %16, align 4, !tbaa !9
  %344 = load i32, ptr %15, align 4, !tbaa !9
  %345 = load i32, ptr %16, align 4, !tbaa !9
  %346 = icmp ule i32 %344, %345
  %347 = zext i1 %346 to i32
  store i32 %347, ptr %15, align 4, !tbaa !9
  %348 = load i32, ptr %15, align 4, !tbaa !9
  %349 = icmp ne i32 %348, 0
  br i1 %349, label %350, label %391

350:                                              ; preds = %305
  %351 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %351, ptr %15, align 4, !tbaa !9
  %352 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %352, ptr %16, align 4, !tbaa !9
  %353 = load ptr, ptr %6, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.w2c_hermes, ptr %353, i32 0, i32 6
  %355 = load i32, ptr %15, align 4, !tbaa !9
  %356 = zext i32 %355 to i64
  %357 = add i64 %356, 308
  %358 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %354, i64 noundef %357, i32 noundef %358)
  %359 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %359, ptr %15, align 4, !tbaa !9
  %360 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %360, ptr %16, align 4, !tbaa !9
  %361 = load ptr, ptr %6, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.w2c_hermes, ptr %361, i32 0, i32 6
  %363 = load i32, ptr %15, align 4, !tbaa !9
  %364 = zext i32 %363 to i64
  %365 = add i64 %364, 304
  %366 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %362, i64 noundef %365, i32 noundef %366)
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %15, align 4, !tbaa !9
  %368 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %368, ptr %16, align 4, !tbaa !9
  %369 = load ptr, ptr %6, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.w2c_hermes, ptr %369, i32 0, i32 6
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = add i64 %372, 304
  %374 = call i64 @i64_load(ptr noundef %370, i64 noundef %373)
  store i64 %374, ptr %21, align 8, !tbaa !11
  %375 = load ptr, ptr %6, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.w2c_hermes, ptr %375, i32 0, i32 6
  %377 = load i32, ptr %15, align 4, !tbaa !9
  %378 = zext i32 %377 to i64
  %379 = add i64 %378, 16
  %380 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %376, i64 noundef %379, i64 noundef %380)
  %381 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %381, ptr %15, align 4, !tbaa !9
  %382 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %382, ptr %16, align 4, !tbaa !9
  %383 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %383, ptr %17, align 4, !tbaa !9
  store i32 16, ptr %18, align 4, !tbaa !9
  %384 = load i32, ptr %18, align 4, !tbaa !9
  %385 = load i32, ptr %17, align 4, !tbaa !9
  %386 = add i32 %385, %384
  store i32 %386, ptr %17, align 4, !tbaa !9
  %387 = load ptr, ptr %6, align 8, !tbaa !5
  %388 = load i32, ptr %15, align 4, !tbaa !9
  %389 = load i32, ptr %16, align 4, !tbaa !9
  %390 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AcreateDynamic0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef %387, i32 noundef %388, i32 noundef %389, i32 noundef %390)
  br label %467

391:                                              ; preds = %305
  %392 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %392, ptr %15, align 4, !tbaa !9
  %393 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %393, ptr %16, align 4, !tbaa !9
  %394 = load ptr, ptr %6, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.w2c_hermes, ptr %394, i32 0, i32 6
  %396 = load i32, ptr %15, align 4, !tbaa !9
  %397 = zext i32 %396 to i64
  %398 = add i64 %397, 300
  %399 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %395, i64 noundef %398, i32 noundef %399)
  %400 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %400, ptr %15, align 4, !tbaa !9
  %401 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %401, ptr %16, align 4, !tbaa !9
  %402 = load ptr, ptr %6, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.w2c_hermes, ptr %402, i32 0, i32 6
  %404 = load i32, ptr %15, align 4, !tbaa !9
  %405 = zext i32 %404 to i64
  %406 = add i64 %405, 296
  %407 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %403, i64 noundef %406, i32 noundef %407)
  %408 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %408, ptr %15, align 4, !tbaa !9
  %409 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %409, ptr %16, align 4, !tbaa !9
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.w2c_hermes, ptr %410, i32 0, i32 6
  %412 = load i32, ptr %16, align 4, !tbaa !9
  %413 = zext i32 %412 to i64
  %414 = add i64 %413, 296
  %415 = call i64 @i64_load(ptr noundef %411, i64 noundef %414)
  store i64 %415, ptr %21, align 8, !tbaa !11
  %416 = load ptr, ptr %6, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.w2c_hermes, ptr %416, i32 0, i32 6
  %418 = load i32, ptr %15, align 4, !tbaa !9
  %419 = zext i32 %418 to i64
  %420 = add i64 %419, 8
  %421 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %417, i64 noundef %420, i64 noundef %421)
  %422 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %422, ptr %15, align 4, !tbaa !9
  store i32 304, ptr %16, align 4, !tbaa !9
  %423 = load i32, ptr %16, align 4, !tbaa !9
  %424 = load i32, ptr %15, align 4, !tbaa !9
  %425 = add i32 %424, %423
  store i32 %425, ptr %15, align 4, !tbaa !9
  %426 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %426, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %427 = load i32, ptr %17, align 4, !tbaa !9
  %428 = load i32, ptr %16, align 4, !tbaa !9
  %429 = add i32 %428, %427
  store i32 %429, ptr %16, align 4, !tbaa !9
  %430 = load ptr, ptr %6, align 8, !tbaa !5
  %431 = load i32, ptr %15, align 4, !tbaa !9
  %432 = load i32, ptr %16, align 4, !tbaa !9
  call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar16_t0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef %430, i32 noundef %431, i32 noundef %432)
  %433 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %433, ptr %15, align 4, !tbaa !9
  %434 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %434, ptr %16, align 4, !tbaa !9
  %435 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %435, ptr %17, align 4, !tbaa !9
  store i32 304, ptr %18, align 4, !tbaa !9
  %436 = load i32, ptr %18, align 4, !tbaa !9
  %437 = load i32, ptr %17, align 4, !tbaa !9
  %438 = add i32 %437, %436
  store i32 %438, ptr %17, align 4, !tbaa !9
  %439 = load ptr, ptr %6, align 8, !tbaa !5
  %440 = load i32, ptr %15, align 4, !tbaa !9
  %441 = load i32, ptr %16, align 4, !tbaa !9
  %442 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x260x260x29(ptr noundef %439, i32 noundef %440, i32 noundef %441, i32 noundef %442)
  %443 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %443, ptr %15, align 4, !tbaa !9
  %444 = load ptr, ptr %6, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.w2c_hermes, ptr %444, i32 0, i32 6
  %446 = load i32, ptr %15, align 4, !tbaa !9
  %447 = zext i32 %446 to i64
  %448 = add i64 %447, 315
  %449 = call i32 @i32_load8_s(ptr noundef %445, i64 noundef %448)
  store i32 %449, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %450 = load i32, ptr %15, align 4, !tbaa !9
  %451 = load i32, ptr %16, align 4, !tbaa !9
  %452 = icmp sge i32 %450, %451
  %453 = zext i1 %452 to i32
  store i32 %453, ptr %15, align 4, !tbaa !9
  %454 = load i32, ptr %15, align 4, !tbaa !9
  %455 = icmp ne i32 %454, 0
  br i1 %455, label %456, label %457

456:                                              ; preds = %391
  br label %467

457:                                              ; preds = %391
  %458 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %458, ptr %15, align 4, !tbaa !9
  %459 = load ptr, ptr %6, align 8, !tbaa !5
  %460 = getelementptr inbounds %struct.w2c_hermes, ptr %459, i32 0, i32 6
  %461 = load i32, ptr %15, align 4, !tbaa !9
  %462 = zext i32 %461 to i64
  %463 = add i64 %462, 304
  %464 = call i32 @i32_load(ptr noundef %460, i64 noundef %463)
  store i32 %464, ptr %15, align 4, !tbaa !9
  %465 = load ptr, ptr %6, align 8, !tbaa !5
  %466 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef %465, i32 noundef %466)
  br label %467

467:                                              ; preds = %457, %456, %350
  %468 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %468, ptr %15, align 4, !tbaa !9
  %469 = load ptr, ptr %6, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.w2c_hermes, ptr %469, i32 0, i32 6
  %471 = load i32, ptr %15, align 4, !tbaa !9
  %472 = zext i32 %471 to i64
  %473 = add i64 %472, 24
  %474 = call i32 @i32_load(ptr noundef %470, i64 noundef %473)
  store i32 %474, ptr %15, align 4, !tbaa !9
  %475 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %475, ptr %8, align 4, !tbaa !9
  %476 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %476, ptr %16, align 4, !tbaa !9
  %477 = load i32, ptr %15, align 4, !tbaa !9
  %478 = load i32, ptr %16, align 4, !tbaa !9
  %479 = icmp eq i32 %477, %478
  %480 = zext i1 %479 to i32
  store i32 %480, ptr %15, align 4, !tbaa !9
  %481 = load i32, ptr %15, align 4, !tbaa !9
  %482 = icmp ne i32 %481, 0
  br i1 %482, label %483, label %484

483:                                              ; preds = %467
  br label %488

484:                                              ; preds = %467
  %485 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %485, ptr %15, align 4, !tbaa !9
  %486 = load ptr, ptr %6, align 8, !tbaa !5
  %487 = load i32, ptr %15, align 4, !tbaa !9
  call void @w2c_hermes_dlfree(ptr noundef %486, i32 noundef %487)
  br label %488

488:                                              ; preds = %484, %483, %204, %145
  %489 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %489, ptr %15, align 4, !tbaa !9
  store i32 320, ptr %16, align 4, !tbaa !9
  %490 = load i32, ptr %16, align 4, !tbaa !9
  %491 = load i32, ptr %15, align 4, !tbaa !9
  %492 = add i32 %491, %490
  store i32 %492, ptr %15, align 4, !tbaa !9
  %493 = load i32, ptr %15, align 4, !tbaa !9
  %494 = load ptr, ptr %6, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.w2c_hermes, ptr %494, i32 0, i32 3
  store i32 %493, ptr %495, align 8, !tbaa !15
  br label %550

496:                                              ; preds = %5
  store i32 0, ptr %15, align 4, !tbaa !9
  %497 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %497, ptr %11, align 4, !tbaa !9
  store i32 128244, ptr %16, align 4, !tbaa !9
  %498 = load i32, ptr %16, align 4, !tbaa !9
  %499 = load i32, ptr %15, align 4, !tbaa !9
  %500 = add i32 %499, %498
  store i32 %500, ptr %15, align 4, !tbaa !9
  %501 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %501, ptr %16, align 4, !tbaa !9
  store i32 60501, ptr %17, align 4, !tbaa !9
  %502 = load i32, ptr %17, align 4, !tbaa !9
  %503 = load i32, ptr %16, align 4, !tbaa !9
  %504 = add i32 %503, %502
  store i32 %504, ptr %16, align 4, !tbaa !9
  store i32 558, ptr %17, align 4, !tbaa !9
  %505 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %505, ptr %18, align 4, !tbaa !9
  store i32 50213, ptr %19, align 4, !tbaa !9
  %506 = load i32, ptr %19, align 4, !tbaa !9
  %507 = load i32, ptr %18, align 4, !tbaa !9
  %508 = add i32 %507, %506
  store i32 %508, ptr %18, align 4, !tbaa !9
  %509 = load ptr, ptr %6, align 8, !tbaa !5
  %510 = load i32, ptr %15, align 4, !tbaa !9
  %511 = load i32, ptr %16, align 4, !tbaa !9
  %512 = load i32, ptr %17, align 4, !tbaa !9
  %513 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %509, i32 noundef %510, i32 noundef %511, i32 noundef %512, i32 noundef %513)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

514:                                              ; preds = %72
  store i32 0, ptr %15, align 4, !tbaa !9
  %515 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %515, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %516 = load i32, ptr %16, align 4, !tbaa !9
  %517 = load i32, ptr %15, align 4, !tbaa !9
  %518 = add i32 %517, %516
  store i32 %518, ptr %15, align 4, !tbaa !9
  %519 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %519, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %520 = load i32, ptr %17, align 4, !tbaa !9
  %521 = load i32, ptr %16, align 4, !tbaa !9
  %522 = add i32 %521, %520
  store i32 %522, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %523 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %523, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %524 = load i32, ptr %19, align 4, !tbaa !9
  %525 = load i32, ptr %18, align 4, !tbaa !9
  %526 = add i32 %525, %524
  store i32 %526, ptr %18, align 4, !tbaa !9
  %527 = load ptr, ptr %6, align 8, !tbaa !5
  %528 = load i32, ptr %15, align 4, !tbaa !9
  %529 = load i32, ptr %16, align 4, !tbaa !9
  %530 = load i32, ptr %17, align 4, !tbaa !9
  %531 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %527, i32 noundef %528, i32 noundef %529, i32 noundef %530, i32 noundef %531)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

532:                                              ; preds = %203
  store i32 0, ptr %15, align 4, !tbaa !9
  %533 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %533, ptr %11, align 4, !tbaa !9
  store i32 195004, ptr %16, align 4, !tbaa !9
  %534 = load i32, ptr %16, align 4, !tbaa !9
  %535 = load i32, ptr %15, align 4, !tbaa !9
  %536 = add i32 %535, %534
  store i32 %536, ptr %15, align 4, !tbaa !9
  %537 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %537, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %538 = load i32, ptr %17, align 4, !tbaa !9
  %539 = load i32, ptr %16, align 4, !tbaa !9
  %540 = add i32 %539, %538
  store i32 %540, ptr %16, align 4, !tbaa !9
  store i32 273, ptr %17, align 4, !tbaa !9
  %541 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %541, ptr %18, align 4, !tbaa !9
  store i32 90626, ptr %19, align 4, !tbaa !9
  %542 = load i32, ptr %19, align 4, !tbaa !9
  %543 = load i32, ptr %18, align 4, !tbaa !9
  %544 = add i32 %543, %542
  store i32 %544, ptr %18, align 4, !tbaa !9
  %545 = load ptr, ptr %6, align 8, !tbaa !5
  %546 = load i32, ptr %15, align 4, !tbaa !9
  %547 = load i32, ptr %16, align 4, !tbaa !9
  %548 = load i32, ptr %17, align 4, !tbaa !9
  %549 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %545, i32 noundef %546, i32 noundef %547, i32 noundef %548, i32 noundef %549)
  call void @wasm_rt_trap(i32 noundef 5) #7
  unreachable

550:                                              ; preds = %488
  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 4, 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
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind willreturn memory(none) }
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, !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_t47 = external local_unnamed_addr constant ptr, align 8

declare void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

declare i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

declare void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x260x260x29(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

declare void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar16_t0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeToLocaleStringHelper0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 {
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load i32, ptr %6, align 8, !tbaa !5
  %8 = add i32 %7, -320
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = icmp ult i32 %2, 3
  br i1 %9, label %10, label %104

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %12 = zext i32 %4 to i64
  %13 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %12)
  %14 = zext i32 %13 to i64
  %15 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %14)
  %16 = icmp ugt i64 %15, -844424930131969
  br i1 %16, label %17, label %23

17:                                               ; preds = %10
  %18 = and i64 %15, 4294967295
  %.not = icmp eq i64 %18, 0
  br i1 %.not, label %105, label %19

19:                                               ; preds = %17
  %20 = add nuw nsw i64 %18, 3
  %21 = tail call i32 @i32_load8_u(ptr noundef nonnull %11, i64 noundef %20)
  %.mask = and i32 %21, 255
  %22 = icmp eq i32 %.mask, 61
  br i1 %22, label %33, label %23

23:                                               ; preds = %19, %10
  %24 = zext i32 %8 to i64
  %25 = add nuw nsw i64 %24, 56
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %25, i32 noundef 0)
  %26 = add nuw nsw i64 %24, 48
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %26, i64 noundef 219043332097)
  %27 = add nuw nsw i64 %24, 32
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %27, i32 noundef 3)
  %28 = add nuw nsw i64 %24, 24
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %28, i32 noundef 38291)
  %29 = add i32 %7, -296
  %30 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %29)
  %31 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %31, i32 noundef %30)
  %.not292 = icmp eq i32 %30, 1
  br i1 %.not292, label %32, label %103

32:                                               ; preds = %23
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109717, i32 noundef 77564, i32 noundef 168, i32 noundef 28083) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

33:                                               ; preds = %19
  %34 = add nuw nsw i64 %18, 32
  %35 = tail call double @f64_load(ptr noundef nonnull %11, i64 noundef %34)
  %36 = tail call double @wasm_fabs(double noundef %35)
  %37 = fcmp ueq double %36, 0x7FF0000000000000
  br i1 %37, label %38, label %46

38:                                               ; preds = %33
  %39 = add i32 %3, 5516
  %40 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AIdentifierTable0x3A0x3AgetStringPrim0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ASymbolID0x29(ptr noundef nonnull %0, i32 noundef %39, i32 noundef %3, i32 noundef 325) #4
  %.not294 = icmp eq i32 %40, 0
  br i1 %.not294, label %106, label %41

41:                                               ; preds = %38
  %42 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %42, i32 noundef 1)
  %43 = zext i32 %40 to i64
  %44 = or disjoint i64 %43, -844424930131968
  %45 = add nuw nsw i64 %42, 8
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %45, i64 noundef %44)
  br label %103

46:                                               ; preds = %33
  %47 = zext i32 %8 to i64
  %48 = add nuw nsw i64 %47, 28
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %48, i64 noundef 549755813888)
  %49 = add i32 %7, -284
  %50 = add nuw nsw i64 %47, 24
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %50, i32 noundef %49)
  %51 = add i32 %7, -296
  %52 = shl nuw nsw i32 %2, 2
  %53 = add nuw nsw i32 %52, 275784
  %54 = zext nneg i32 %53 to i64
  %55 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %54)
  %56 = getelementptr inbounds i8, ptr %0, i64 80
  %57 = getelementptr inbounds i8, ptr %0, i64 92
  %58 = load i32, ptr %57, align 4, !tbaa !15
  %59 = icmp ult i32 %55, %58
  br i1 %59, label %60, label %.critedge, !prof !16

60:                                               ; preds = %46
  %61 = load ptr, ptr %56, align 8, !tbaa !17
  %62 = zext i32 %55 to i64
  %63 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %61, i64 %62
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = load ptr, ptr %64, align 8, !tbaa !18
  %.not293 = icmp eq ptr %65, null
  br i1 %.not293, label %.critedge, label %66, !prof !20

66:                                               ; preds = %60
  %67 = load ptr, ptr @w2c_hermes_t47, align 8, !tbaa !21
  %68 = load ptr, ptr %63, align 8, !tbaa !22
  %69 = tail call zeroext i1 @func_types_eq(ptr noundef %67, ptr noundef %68)
  br i1 %69, label %70, label %.critedge, !prof !16

.critedge:                                        ; preds = %60, %46, %66
  tail call void @wasm_rt_trap(i32 noundef 6) #5
  unreachable

70:                                               ; preds = %66
  %71 = load ptr, ptr %56, align 8, !tbaa !17
  %72 = getelementptr inbounds %struct.wasm_rt_funcref_t, ptr %71, i64 %62
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = load ptr, ptr %73, align 8, !tbaa !18
  %75 = getelementptr inbounds i8, ptr %72, i64 16
  %76 = load ptr, ptr %75, align 8, !tbaa !23
  tail call void %74(ptr noundef %76, double noundef %35, i32 noundef %51) #4
  %77 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %50)
  %78 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %48)
  %79 = icmp ult i32 %78, 65536
  br i1 %79, label %80, label %86

80:                                               ; preds = %70
  %81 = add nuw nsw i64 %47, 308
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %81, i32 noundef %78)
  %82 = add nuw nsw i64 %47, 304
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %82, i32 noundef %77)
  %83 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %82)
  %84 = add nuw nsw i64 %47, 16
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %84, i64 noundef %83)
  %85 = add i32 %7, -304
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AcreateDynamic0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %85)
  br label %99

86:                                               ; preds = %70
  %87 = add nuw nsw i64 %47, 300
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %87, i32 noundef %78)
  %88 = add nuw nsw i64 %47, 296
  tail call void @i32_store(ptr noundef nonnull %11, i64 noundef %88, i32 noundef %77)
  %89 = tail call i64 @i64_load(ptr noundef nonnull %11, i64 noundef %88)
  %90 = add nuw nsw i64 %47, 8
  tail call void @i64_store(ptr noundef nonnull %11, i64 noundef %90, i64 noundef %89)
  %91 = add i32 %7, -16
  %92 = add i32 %7, -312
  tail call void @w2c_hermes_std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x20hermes0x3A0x3Avm0x3A0x3AStringPrimitive0x3A0x3AarrayToString0x3Cchar16_t0x3E0x28llvh0x3A0x3AArrayRef0x3Cchar16_t0x3E0x29(ptr noundef nonnull %0, i32 noundef %91, i32 noundef %92) #4
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ACallResult0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x2C0x200x28hermes0x3A0x3Avm0x3A0x3Adetail0x3A0x3ACallResultSpecialize0x2920x3E0x20hermes0x3A0x3Avm0x3A0x3AExternalStringPrimitive0x3Cchar16_t0x3E0x3A0x3Acreate0x3Cstd0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x3E0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20std0x3A0x3A_0x5F20x3A0x3Abasic_string0x3Cchar16_t0x2C0x20std0x3A0x3A_0x5F20x3A0x3Achar_traits0x3Cchar16_t0x3E0x2C0x20std0x3A0x3A_0x5F20x3A0x3Aallocator0x3Cchar16_t0x3E0x3E0x260x260x29(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %3, i32 noundef %91) #4
  %93 = add nuw nsw i64 %47, 315
  %94 = tail call i32 @i32_load8_s(ptr noundef nonnull %11, i64 noundef %93)
  %95 = icmp sgt i32 %94, -1
  br i1 %95, label %99, label %96

96:                                               ; preds = %86
  %97 = add nuw nsw i64 %47, 304
  %98 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %97)
  tail call void @w2c_hermes_operator0x20delete0x28void0x2A0x29(ptr noundef nonnull %0, i32 noundef %98) #4
  br label %99

99:                                               ; preds = %86, %96, %80
  %100 = tail call i32 @i32_load(ptr noundef nonnull %11, i64 noundef %50)
  %101 = icmp eq i32 %100, %49
  br i1 %101, label %103, label %102

102:                                              ; preds = %99
  tail call void @w2c_hermes_dlfree(ptr noundef nonnull %0, i32 noundef %100) #4
  br label %103

103:                                              ; preds = %99, %23, %102, %41
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

104:                                              ; preds = %5
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 128244, i32 noundef 60501, i32 noundef 558, i32 noundef 50213) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

105:                                              ; preds = %17
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 147142, i32 noundef 82611, i32 noundef 106, i32 noundef 28119) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

106:                                              ; preds = %38
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 195004, i32 noundef 83341, i32 noundef 273, i32 noundef 90626) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

attributes #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 = { 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 = { 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 = { 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,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass