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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.w2c_hermes = type { ptr, ptr, ptr, i32, i32, i32, %struct.wasm_rt_memory_t, %struct.wasm_rt_funcref_table_t }
%struct.wasm_rt_memory_t = type { ptr, i64, i64, i64, i8 }
%struct.wasm_rt_funcref_table_t = type { ptr, i32, i32 }

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @i64_reinterpret_f64(double noundef) #1

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @f64_reinterpret_i64(i64 noundef) #1

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

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

51:                                               ; preds = %5
  br label %254

52:                                               ; preds = %5
  %53 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %53, ptr %15, align 4, !tbaa !9
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.w2c_hermes, ptr %54, i32 0, i32 6
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = zext i32 %56 to i64
  %58 = call i32 @i32_load(ptr noundef %55, i64 noundef %57)
  store i32 %58, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %59, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %60, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.w2c_hermes, ptr %61, i32 0, i32 6
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = add i64 %64, 24
  %66 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %62, i64 noundef %65, i32 noundef %66)
  %67 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %67, ptr %15, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %68, ptr %16, align 4, !tbaa !9
  store i32 8, ptr %17, align 4, !tbaa !9
  %69 = load i32, ptr %17, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  %71 = sub i32 %70, %69
  store i32 %71, ptr %16, align 4, !tbaa !9
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.w2c_hermes, ptr %72, i32 0, i32 6
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = add i64 %75, 28
  %77 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %73, i64 noundef %76, i32 noundef %77)
  %78 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %78, ptr %15, align 4, !tbaa !9
  store i32 32, ptr %16, align 4, !tbaa !9
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = add i32 %80, %79
  store i32 %81, ptr %15, align 4, !tbaa !9
  %82 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %82, ptr %16, align 4, !tbaa !9
  %83 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %83, ptr %17, align 4, !tbaa !9
  store i32 24, ptr %18, align 4, !tbaa !9
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %17, align 4, !tbaa !9
  %86 = add i32 %85, %84
  store i32 %86, ptr %17, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load i32, ptr %15, align 4, !tbaa !9
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumeric_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %87, i32 noundef %88, i32 noundef %89, i32 noundef %90)
  %91 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %91, ptr %15, align 4, !tbaa !9
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.w2c_hermes, ptr %92, i32 0, i32 6
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = add i64 %95, 24
  %97 = call i32 @i32_load(ptr noundef %93, i64 noundef %96)
  store i32 %97, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %98, ptr %12, align 4, !tbaa !9
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %117

101:                                              ; preds = %52
  %102 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %102, ptr %15, align 4, !tbaa !9
  %103 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %103, ptr %16, align 4, !tbaa !9
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.w2c_hermes, ptr %104, i32 0, i32 6
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = zext i32 %106 to i64
  %108 = call i32 @i32_load(ptr noundef %105, i64 noundef %107)
  store i32 %108, ptr %16, align 4, !tbaa !9
  store i32 1, ptr %17, align 4, !tbaa !9
  %109 = load i32, ptr %17, align 4, !tbaa !9
  %110 = load i32, ptr %16, align 4, !tbaa !9
  %111 = sub i32 %110, %109
  store i32 %111, ptr %16, align 4, !tbaa !9
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.w2c_hermes, ptr %112, i32 0, i32 6
  %114 = load i32, ptr %15, align 4, !tbaa !9
  %115 = zext i32 %114 to i64
  %116 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %113, i64 noundef %115, i32 noundef %116)
  br label %117

117:                                              ; preds = %101, %52
  %118 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %118, ptr %15, align 4, !tbaa !9
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.w2c_hermes, ptr %119, i32 0, i32 6
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = add i64 %122, 32
  %124 = call i32 @i32_load(ptr noundef %120, i64 noundef %123)
  store i32 %124, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %125, label %128 [
    i32 0, label %126
    i32 1, label %127
  ]

126:                                              ; preds = %117
  br label %129

127:                                              ; preds = %117
  br label %154

128:                                              ; preds = %117
  br label %136

129:                                              ; preds = %126
  %130 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %130, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.w2c_hermes, ptr %131, i32 0, i32 6
  %133 = load i32, ptr %15, align 4, !tbaa !9
  %134 = zext i32 %133 to i64
  %135 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %132, i64 noundef %134, i32 noundef %135)
  br label %391

136:                                              ; preds = %128
  store i32 0, ptr %15, align 4, !tbaa !9
  %137 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %137, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %16, align 4, !tbaa !9
  %138 = load i32, ptr %16, align 4, !tbaa !9
  %139 = load i32, ptr %15, align 4, !tbaa !9
  %140 = add i32 %139, %138
  store i32 %140, ptr %15, align 4, !tbaa !9
  %141 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %141, ptr %16, align 4, !tbaa !9
  store i32 77564, ptr %17, align 4, !tbaa !9
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = add i32 %143, %142
  store i32 %144, ptr %16, align 4, !tbaa !9
  store i32 179, ptr %17, align 4, !tbaa !9
  %145 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %145, ptr %18, align 4, !tbaa !9
  store i32 90402, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %19, align 4, !tbaa !9
  %147 = load i32, ptr %18, align 4, !tbaa !9
  %148 = add i32 %147, %146
  store i32 %148, ptr %18, align 4, !tbaa !9
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = load i32, ptr %15, align 4, !tbaa !9
  %151 = load i32, ptr %16, align 4, !tbaa !9
  %152 = load i32, ptr %17, align 4, !tbaa !9
  %153 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %149, i32 noundef %150, i32 noundef %151, i32 noundef %152, i32 noundef %153)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

154:                                              ; preds = %127
  %155 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %155, ptr %15, align 4, !tbaa !9
  %156 = load ptr, ptr %6, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.w2c_hermes, ptr %156, i32 0, i32 6
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = zext i32 %158 to i64
  %160 = add i64 %159, 40
  %161 = call i64 @i64_load(ptr noundef %157, i64 noundef %160)
  store i64 %161, ptr %20, align 8, !tbaa !11
  %162 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %162, ptr %13, align 8, !tbaa !11
  store i64 48, ptr %21, align 8, !tbaa !11
  %163 = load i64, ptr %20, align 8, !tbaa !11
  %164 = load i64, ptr %21, align 8, !tbaa !11
  %165 = and i64 %164, 63
  %166 = ashr i64 %163, %165
  store i64 %166, ptr %20, align 8, !tbaa !11
  %167 = load i64, ptr %20, align 8, !tbaa !11
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %15, align 4, !tbaa !9
  store i32 -2, ptr %16, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  %171 = icmp ne i32 %169, %170
  %172 = zext i1 %171 to i32
  store i32 %172, ptr %15, align 4, !tbaa !9
  %173 = load i32, ptr %15, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %188

175:                                              ; preds = %154
  %176 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %176, ptr %20, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %21, align 8, !tbaa !11
  %177 = load i64, ptr %20, align 8, !tbaa !11
  %178 = load i64, ptr %21, align 8, !tbaa !11
  %179 = icmp uge i64 %177, %178
  %180 = zext i1 %179 to i32
  store i32 %180, ptr %15, align 4, !tbaa !9
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %183, label %184

183:                                              ; preds = %175
  br label %399

184:                                              ; preds = %175
  %185 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %185, ptr %20, align 8, !tbaa !11
  %186 = load i64, ptr %20, align 8, !tbaa !11
  %187 = call double @f64_reinterpret_i64(i64 noundef %186)
  store double %187, ptr %23, align 8, !tbaa !13
  br label %254

188:                                              ; preds = %154
  %189 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %189, ptr %20, align 8, !tbaa !11
  store i64 -844424930131969, ptr %21, align 8, !tbaa !11
  %190 = load i64, ptr %20, align 8, !tbaa !11
  %191 = load i64, ptr %21, align 8, !tbaa !11
  %192 = icmp ule i64 %190, %191
  %193 = zext i1 %192 to i32
  store i32 %193, ptr %15, align 4, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !9
  %195 = icmp ne i32 %194, 0
  br i1 %195, label %196, label %197

196:                                              ; preds = %188
  br label %417

197:                                              ; preds = %188
  %198 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %198, ptr %15, align 4, !tbaa !9
  store i32 8, ptr %16, align 4, !tbaa !9
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = load i32, ptr %15, align 4, !tbaa !9
  %201 = add i32 %200, %199
  store i32 %201, ptr %15, align 4, !tbaa !9
  %202 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %202, ptr %21, align 8, !tbaa !11
  %203 = load i64, ptr %21, align 8, !tbaa !11
  %204 = trunc i64 %203 to i32
  store i32 %204, ptr %16, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %17, align 4, !tbaa !9
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = load i32, ptr %15, align 4, !tbaa !9
  %208 = load i32, ptr %16, align 4, !tbaa !9
  %209 = load i32, ptr %17, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoDouble0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x290x20const(ptr noundef %206, i32 noundef %207, i32 noundef %208, i32 noundef %209)
  %210 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %210, ptr %15, align 4, !tbaa !9
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.w2c_hermes, ptr %211, i32 0, i32 6
  %213 = load i32, ptr %15, align 4, !tbaa !9
  %214 = zext i32 %213 to i64
  %215 = add i64 %214, 8
  %216 = call i32 @i32_load(ptr noundef %212, i64 noundef %215)
  store i32 %216, ptr %15, align 4, !tbaa !9
  %217 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %217, label %220 [
    i32 0, label %218
    i32 1, label %219
  ]

218:                                              ; preds = %197
  br label %221

219:                                              ; preds = %197
  br label %246

220:                                              ; preds = %197
  br label %228

221:                                              ; preds = %218
  %222 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %222, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.w2c_hermes, ptr %223, i32 0, i32 6
  %225 = load i32, ptr %15, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %224, i64 noundef %226, i32 noundef %227)
  br label %391

228:                                              ; preds = %220
  store i32 0, ptr %15, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %229, ptr %11, align 4, !tbaa !9
  store i32 109639, ptr %16, align 4, !tbaa !9
  %230 = load i32, ptr %16, align 4, !tbaa !9
  %231 = load i32, ptr %15, align 4, !tbaa !9
  %232 = add i32 %231, %230
  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 77564, 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
  store i32 179, ptr %17, align 4, !tbaa !9
  %237 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %237, ptr %18, align 4, !tbaa !9
  store i32 90402, ptr %19, align 4, !tbaa !9
  %238 = load i32, ptr %19, align 4, !tbaa !9
  %239 = load i32, ptr %18, align 4, !tbaa !9
  %240 = add i32 %239, %238
  store i32 %240, ptr %18, align 4, !tbaa !9
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = load i32, ptr %15, align 4, !tbaa !9
  %243 = load i32, ptr %16, align 4, !tbaa !9
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %241, i32 noundef %242, i32 noundef %243, i32 noundef %244, i32 noundef %245)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

246:                                              ; preds = %219
  %247 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %247, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.w2c_hermes, ptr %248, i32 0, i32 6
  %250 = load i32, ptr %15, align 4, !tbaa !9
  %251 = zext i32 %250 to i64
  %252 = add i64 %251, 16
  %253 = call double @f64_load(ptr noundef %249, i64 noundef %252)
  store double %253, ptr %23, align 8, !tbaa !13
  br label %254

254:                                              ; preds = %246, %184, %51
  %255 = load double, ptr %23, align 8, !tbaa !13
  store double %255, ptr %14, align 8, !tbaa !13
  %256 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %256, ptr %15, align 4, !tbaa !9
  %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 %15, align 4, !tbaa !9
  %260 = zext i32 %259 to i64
  %261 = add i64 %260, 8
  %262 = call i32 @i32_load(ptr noundef %258, i64 noundef %261)
  store i32 %262, ptr %15, align 4, !tbaa !9
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.w2c_hermes, ptr %263, i32 0, i32 6
  %265 = load i32, ptr %15, align 4, !tbaa !9
  %266 = zext i32 %265 to i64
  %267 = call i64 @i64_load(ptr noundef %264, i64 noundef %266)
  store i64 %267, ptr %20, align 8, !tbaa !11
  store i64 47, ptr %21, align 8, !tbaa !11
  %268 = load i64, ptr %20, align 8, !tbaa !11
  %269 = load i64, ptr %21, align 8, !tbaa !11
  %270 = and i64 %269, 63
  %271 = ashr i64 %268, %270
  store i64 %271, ptr %20, align 8, !tbaa !11
  %272 = load i64, ptr %20, align 8, !tbaa !11
  %273 = trunc i64 %272 to i32
  store i32 %273, ptr %15, align 4, !tbaa !9
  store i32 -12, ptr %16, align 4, !tbaa !9
  %274 = load i32, ptr %15, align 4, !tbaa !9
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = icmp ne i32 %274, %275
  %277 = zext i1 %276 to i32
  store i32 %277, ptr %15, align 4, !tbaa !9
  %278 = load i32, ptr %15, align 4, !tbaa !9
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %280, label %360

280:                                              ; preds = %254
  %281 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %281, ptr %15, align 4, !tbaa !9
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.w2c_hermes, ptr %282, i32 0, i32 6
  %284 = load i32, ptr %15, align 4, !tbaa !9
  %285 = zext i32 %284 to i64
  %286 = call i32 @i32_load(ptr noundef %283, i64 noundef %285)
  store i32 %286, ptr %15, align 4, !tbaa !9
  %287 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %287, ptr %9, align 4, !tbaa !9
  %288 = load ptr, ptr %6, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.w2c_hermes, ptr %288, i32 0, i32 6
  %290 = load i32, ptr %15, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = call i64 @i64_load(ptr noundef %289, i64 noundef %291)
  store i64 %292, ptr %20, align 8, !tbaa !11
  %293 = load i64, ptr %20, align 8, !tbaa !11
  store i64 %293, ptr %13, align 8, !tbaa !11
  store i64 -844424930131969, ptr %21, align 8, !tbaa !11
  %294 = load i64, ptr %20, align 8, !tbaa !11
  %295 = load i64, ptr %21, align 8, !tbaa !11
  %296 = icmp ule i64 %294, %295
  %297 = zext i1 %296 to i32
  store i32 %297, ptr %15, align 4, !tbaa !9
  %298 = load i32, ptr %15, align 4, !tbaa !9
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %301

300:                                              ; preds = %280
  br label %435

301:                                              ; preds = %280
  %302 = load i64, ptr %13, align 8, !tbaa !11
  store i64 %302, ptr %20, align 8, !tbaa !11
  %303 = load i64, ptr %20, align 8, !tbaa !11
  %304 = trunc i64 %303 to i32
  store i32 %304, ptr %15, align 4, !tbaa !9
  %305 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %305, ptr %10, align 4, !tbaa !9
  %306 = load i32, ptr %15, align 4, !tbaa !9
  %307 = icmp ne i32 %306, 0
  %308 = xor i1 %307, true
  %309 = zext i1 %308 to i32
  store i32 %309, ptr %15, align 4, !tbaa !9
  %310 = load i32, ptr %15, align 4, !tbaa !9
  %311 = icmp ne i32 %310, 0
  br i1 %311, label %312, label %313

312:                                              ; preds = %301
  br label %453

313:                                              ; preds = %301
  %314 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %314, ptr %15, align 4, !tbaa !9
  %315 = load ptr, ptr %6, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.w2c_hermes, ptr %315, i32 0, i32 6
  %317 = load i32, ptr %15, align 4, !tbaa !9
  %318 = zext i32 %317 to i64
  %319 = add i64 %318, 3
  %320 = call i32 @i32_load8_u(ptr noundef %316, i64 noundef %319)
  store i32 %320, ptr %15, align 4, !tbaa !9
  store i32 24, ptr %16, align 4, !tbaa !9
  %321 = load i32, ptr %16, align 4, !tbaa !9
  %322 = and i32 %321, 31
  %323 = load i32, ptr %15, align 4, !tbaa !9
  %324 = shl i32 %323, %322
  store i32 %324, ptr %15, align 4, !tbaa !9
  store i32 939524096, ptr %16, align 4, !tbaa !9
  %325 = load i32, ptr %15, align 4, !tbaa !9
  %326 = load i32, ptr %16, align 4, !tbaa !9
  %327 = icmp ne i32 %325, %326
  %328 = zext i1 %327 to i32
  store i32 %328, ptr %15, align 4, !tbaa !9
  %329 = load i32, ptr %15, align 4, !tbaa !9
  %330 = icmp ne i32 %329, 0
  br i1 %330, label %331, label %332

331:                                              ; preds = %313
  br label %471

332:                                              ; preds = %313
  %333 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %333, ptr %15, align 4, !tbaa !9
  %334 = load double, ptr %14, align 8, !tbaa !13
  store double %334, ptr %24, align 8, !tbaa !13
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.w2c_hermes, ptr %335, i32 0, i32 6
  %337 = load i32, ptr %15, align 4, !tbaa !9
  %338 = zext i32 %337 to i64
  %339 = add i64 %338, 32
  %340 = load double, ptr %24, align 8, !tbaa !13
  call void @f64_store(ptr noundef %336, i64 noundef %339, double noundef %340)
  %341 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %341, ptr %15, align 4, !tbaa !9
  %342 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %342, ptr %16, align 4, !tbaa !9
  %343 = load ptr, ptr %6, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.w2c_hermes, ptr %343, i32 0, i32 6
  %345 = load i32, ptr %16, align 4, !tbaa !9
  %346 = zext i32 %345 to i64
  %347 = call i64 @i64_load(ptr noundef %344, i64 noundef %346)
  store i64 %347, ptr %21, align 8, !tbaa !11
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.w2c_hermes, ptr %348, i32 0, i32 6
  %350 = load i32, ptr %15, align 4, !tbaa !9
  %351 = zext i32 %350 to i64
  %352 = add i64 %351, 8
  %353 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %349, i64 noundef %352, i64 noundef %353)
  %354 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %354, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %355 = load ptr, ptr %6, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.w2c_hermes, ptr %355, i32 0, i32 6
  %357 = load i32, ptr %15, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %356, i64 noundef %358, i32 noundef %359)
  br label %391

360:                                              ; preds = %254
  %361 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %361, ptr %15, align 4, !tbaa !9
  store i32 1, ptr %16, align 4, !tbaa !9
  %362 = load ptr, ptr %6, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.w2c_hermes, ptr %362, i32 0, i32 6
  %364 = load i32, ptr %15, align 4, !tbaa !9
  %365 = zext i32 %364 to i64
  %366 = load i32, ptr %16, align 4, !tbaa !9
  call void @i32_store(ptr noundef %363, i64 noundef %365, i32 noundef %366)
  %367 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %367, ptr %15, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %21, align 8, !tbaa !11
  %368 = load double, ptr %14, align 8, !tbaa !13
  store double %368, ptr %25, align 8, !tbaa !13
  %369 = load double, ptr %25, align 8, !tbaa !13
  %370 = call i64 @i64_reinterpret_f64(double noundef %369)
  store i64 %370, ptr %22, align 8, !tbaa !11
  %371 = load double, ptr %14, align 8, !tbaa !13
  store double %371, ptr %26, align 8, !tbaa !13
  %372 = load double, ptr %14, align 8, !tbaa !13
  store double %372, ptr %27, align 8, !tbaa !13
  %373 = load double, ptr %26, align 8, !tbaa !13
  %374 = load double, ptr %27, align 8, !tbaa !13
  %375 = fcmp une double %373, %374
  %376 = zext i1 %375 to i32
  store i32 %376, ptr %18, align 4, !tbaa !9
  %377 = load i32, ptr %18, align 4, !tbaa !9
  %378 = icmp ne i32 %377, 0
  br i1 %378, label %379, label %381

379:                                              ; preds = %360
  %380 = load i64, ptr %21, align 8, !tbaa !11
  br label %383

381:                                              ; preds = %360
  %382 = load i64, ptr %22, align 8, !tbaa !11
  br label %383

383:                                              ; preds = %381, %379
  %384 = phi i64 [ %380, %379 ], [ %382, %381 ]
  store i64 %384, ptr %21, align 8, !tbaa !11
  %385 = load ptr, ptr %6, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.w2c_hermes, ptr %385, i32 0, i32 6
  %387 = load i32, ptr %15, align 4, !tbaa !9
  %388 = zext i32 %387 to i64
  %389 = add i64 %388, 8
  %390 = load i64, ptr %21, align 8, !tbaa !11
  call void @i64_store(ptr noundef %386, i64 noundef %389, i64 noundef %390)
  br label %391

391:                                              ; preds = %383, %332, %221, %129
  %392 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %392, ptr %15, align 4, !tbaa !9
  store i32 48, ptr %16, align 4, !tbaa !9
  %393 = load i32, ptr %16, align 4, !tbaa !9
  %394 = load i32, ptr %15, align 4, !tbaa !9
  %395 = add i32 %394, %393
  store i32 %395, ptr %15, align 4, !tbaa !9
  %396 = load i32, ptr %15, align 4, !tbaa !9
  %397 = load ptr, ptr %6, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.w2c_hermes, ptr %397, i32 0, i32 3
  store i32 %396, ptr %398, align 8, !tbaa !15
  br label %489

399:                                              ; preds = %183
  store i32 0, ptr %15, align 4, !tbaa !9
  %400 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %400, ptr %11, align 4, !tbaa !9
  store i32 118741, ptr %16, align 4, !tbaa !9
  %401 = load i32, ptr %16, align 4, !tbaa !9
  %402 = load i32, ptr %15, align 4, !tbaa !9
  %403 = add i32 %402, %401
  store i32 %403, ptr %15, align 4, !tbaa !9
  %404 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %404, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %405 = load i32, ptr %17, align 4, !tbaa !9
  %406 = load i32, ptr %16, align 4, !tbaa !9
  %407 = add i32 %406, %405
  store i32 %407, ptr %16, align 4, !tbaa !9
  store i32 444, ptr %17, align 4, !tbaa !9
  %408 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %408, ptr %18, align 4, !tbaa !9
  store i32 97283, ptr %19, align 4, !tbaa !9
  %409 = load i32, ptr %19, align 4, !tbaa !9
  %410 = load i32, ptr %18, align 4, !tbaa !9
  %411 = add i32 %410, %409
  store i32 %411, ptr %18, align 4, !tbaa !9
  %412 = load ptr, ptr %6, align 8, !tbaa !5
  %413 = load i32, ptr %15, align 4, !tbaa !9
  %414 = load i32, ptr %16, align 4, !tbaa !9
  %415 = load i32, ptr %17, align 4, !tbaa !9
  %416 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %412, i32 noundef %413, i32 noundef %414, i32 noundef %415, i32 noundef %416)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

417:                                              ; preds = %196
  store i32 0, ptr %15, align 4, !tbaa !9
  %418 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %418, ptr %11, align 4, !tbaa !9
  store i32 118273, ptr %16, align 4, !tbaa !9
  %419 = load i32, ptr %16, align 4, !tbaa !9
  %420 = load i32, ptr %15, align 4, !tbaa !9
  %421 = add i32 %420, %419
  store i32 %421, ptr %15, align 4, !tbaa !9
  %422 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %422, ptr %16, align 4, !tbaa !9
  store i32 83341, ptr %17, align 4, !tbaa !9
  %423 = load i32, ptr %17, align 4, !tbaa !9
  %424 = load i32, ptr %16, align 4, !tbaa !9
  %425 = add i32 %424, %423
  store i32 %425, ptr %16, align 4, !tbaa !9
  store i32 438, ptr %17, align 4, !tbaa !9
  %426 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %426, ptr %18, align 4, !tbaa !9
  store i32 49706, ptr %19, align 4, !tbaa !9
  %427 = load i32, ptr %19, align 4, !tbaa !9
  %428 = load i32, ptr %18, align 4, !tbaa !9
  %429 = add i32 %428, %427
  store i32 %429, ptr %18, 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
  %433 = load i32, ptr %17, align 4, !tbaa !9
  %434 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %430, i32 noundef %431, i32 noundef %432, i32 noundef %433, i32 noundef %434)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

435:                                              ; preds = %300
  store i32 0, ptr %15, align 4, !tbaa !9
  %436 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %436, ptr %11, align 4, !tbaa !9
  store i32 146777, ptr %16, align 4, !tbaa !9
  %437 = load i32, ptr %16, align 4, !tbaa !9
  %438 = load i32, ptr %15, align 4, !tbaa !9
  %439 = add i32 %438, %437
  store i32 %439, ptr %15, align 4, !tbaa !9
  %440 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %440, ptr %16, align 4, !tbaa !9
  store i32 82692, ptr %17, align 4, !tbaa !9
  %441 = load i32, ptr %17, align 4, !tbaa !9
  %442 = load i32, ptr %16, align 4, !tbaa !9
  %443 = add i32 %442, %441
  store i32 %443, ptr %16, align 4, !tbaa !9
  store i32 43, ptr %17, align 4, !tbaa !9
  %444 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %444, ptr %18, align 4, !tbaa !9
  store i32 24718, ptr %19, align 4, !tbaa !9
  %445 = load i32, ptr %19, align 4, !tbaa !9
  %446 = load i32, ptr %18, align 4, !tbaa !9
  %447 = add i32 %446, %445
  store i32 %447, ptr %18, align 4, !tbaa !9
  %448 = load ptr, ptr %6, align 8, !tbaa !5
  %449 = load i32, ptr %15, align 4, !tbaa !9
  %450 = load i32, ptr %16, align 4, !tbaa !9
  %451 = load i32, ptr %17, align 4, !tbaa !9
  %452 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %448, i32 noundef %449, i32 noundef %450, i32 noundef %451, i32 noundef %452)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

453:                                              ; preds = %312
  store i32 0, ptr %15, align 4, !tbaa !9
  %454 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %454, ptr %11, align 4, !tbaa !9
  store i32 147142, ptr %16, align 4, !tbaa !9
  %455 = load i32, ptr %16, align 4, !tbaa !9
  %456 = load i32, ptr %15, align 4, !tbaa !9
  %457 = add i32 %456, %455
  store i32 %457, ptr %15, align 4, !tbaa !9
  %458 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %458, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %459 = load i32, ptr %17, align 4, !tbaa !9
  %460 = load i32, ptr %16, align 4, !tbaa !9
  %461 = add i32 %460, %459
  store i32 %461, ptr %16, align 4, !tbaa !9
  store i32 106, ptr %17, align 4, !tbaa !9
  %462 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %462, ptr %18, align 4, !tbaa !9
  store i32 28119, ptr %19, align 4, !tbaa !9
  %463 = load i32, ptr %19, align 4, !tbaa !9
  %464 = load i32, ptr %18, align 4, !tbaa !9
  %465 = add i32 %464, %463
  store i32 %465, ptr %18, align 4, !tbaa !9
  %466 = load ptr, ptr %6, align 8, !tbaa !5
  %467 = load i32, ptr %15, align 4, !tbaa !9
  %468 = load i32, ptr %16, align 4, !tbaa !9
  %469 = load i32, ptr %17, align 4, !tbaa !9
  %470 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %466, i32 noundef %467, i32 noundef %468, i32 noundef %469, i32 noundef %470)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

471:                                              ; preds = %331
  store i32 0, ptr %15, align 4, !tbaa !9
  %472 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %472, ptr %11, align 4, !tbaa !9
  store i32 205012, ptr %16, align 4, !tbaa !9
  %473 = load i32, ptr %16, align 4, !tbaa !9
  %474 = load i32, ptr %15, align 4, !tbaa !9
  %475 = add i32 %474, %473
  store i32 %475, ptr %15, align 4, !tbaa !9
  %476 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %476, ptr %16, align 4, !tbaa !9
  store i32 82611, ptr %17, align 4, !tbaa !9
  %477 = load i32, ptr %17, align 4, !tbaa !9
  %478 = load i32, ptr %16, align 4, !tbaa !9
  %479 = add i32 %478, %477
  store i32 %479, ptr %16, align 4, !tbaa !9
  store i32 255, ptr %17, align 4, !tbaa !9
  %480 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %480, ptr %18, align 4, !tbaa !9
  store i32 24720, ptr %19, align 4, !tbaa !9
  %481 = load i32, ptr %19, align 4, !tbaa !9
  %482 = load i32, ptr %18, align 4, !tbaa !9
  %483 = add i32 %482, %481
  store i32 %483, ptr %18, align 4, !tbaa !9
  %484 = load ptr, ptr %6, align 8, !tbaa !5
  %485 = load i32, ptr %15, align 4, !tbaa !9
  %486 = load i32, ptr %16, align 4, !tbaa !9
  %487 = load i32, ptr %17, align 4, !tbaa !9
  %488 = load i32, ptr %18, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %484, i32 noundef %485, i32 noundef %486, i32 noundef %487, i32 noundef %488)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

489:                                              ; preds = %391
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !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}


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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AnumberConstructor0x28void0x2A0x2C0x20hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(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, -48
  store i32 %8, ptr %6, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = zext i32 %4 to i64
  %11 = add nuw nsw i64 %10, 4
  %12 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %11)
  %.not = icmp eq i32 %12, 0
  br i1 %.not, label %50, label %13

13:                                               ; preds = %5
  %14 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %15 = zext i32 %8 to i64
  %16 = add nuw nsw i64 %15, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %16, i32 noundef 0)
  %17 = add i32 %14, -8
  %18 = add nuw nsw i64 %15, 28
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %18, i32 noundef %17)
  %19 = add i32 %7, -16
  %20 = add i32 %7, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumeric_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %19, i32 noundef %3, i32 noundef %20)
  %21 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %16)
  %.not273 = icmp eq i32 %21, 0
  br i1 %.not273, label %26, label %22

22:                                               ; preds = %13
  %23 = zext i32 %21 to i64
  %24 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %23)
  %25 = add i32 %24, -1
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %23, i32 noundef %25)
  br label %26

26:                                               ; preds = %22, %13
  %27 = add nuw nsw i64 %15, 32
  %28 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %27)
  switch i32 %28, label %31 [
    i32 0, label %29
    i32 1, label %32
  ]

29:                                               ; preds = %26
  %30 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 0)
  br label %76

31:                                               ; preds = %26
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

32:                                               ; preds = %26
  %33 = add nuw nsw i64 %15, 40
  %34 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %33)
  %.mask = and i64 %34, -281474976710656
  %.not274 = icmp eq i64 %.mask, -562949953421312
  br i1 %.not274, label %39, label %35

35:                                               ; preds = %32
  %36 = icmp ugt i64 %34, -1970324836974593
  br i1 %36, label %77, label %37

37:                                               ; preds = %35
  %38 = tail call double @f64_reinterpret_i64(i64 noundef %34)
  br label %50

39:                                               ; preds = %32
  %40 = add i32 %7, -40
  %41 = trunc i64 %34 to i32
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ABigIntPrimitive0x3A0x3AtoDouble0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x290x20const(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %41, i32 noundef %3) #4
  %42 = add nuw nsw i64 %15, 8
  %43 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %42)
  switch i32 %43, label %46 [
    i32 0, label %44
    i32 1, label %47
  ]

44:                                               ; preds = %39
  %45 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %45, i32 noundef 0)
  br label %76

46:                                               ; preds = %39
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

47:                                               ; preds = %39
  %48 = add nuw nsw i64 %15, 16
  %49 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %48)
  br label %50

50:                                               ; preds = %5, %47, %37
  %.0 = phi double [ 0.000000e+00, %5 ], [ %38, %37 ], [ %49, %47 ]
  %51 = add nuw nsw i64 %10, 8
  %52 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %51)
  %53 = zext i32 %52 to i64
  %54 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %53)
  %.mask276 = and i64 %54, -140737488355328
  %.not275 = icmp eq i64 %.mask276, -1688849860263936
  br i1 %.not275, label %70, label %55

55:                                               ; preds = %50
  %56 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %10)
  %57 = zext i32 %56 to i64
  %58 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %57)
  %59 = icmp ult i64 %58, -844424930131968
  br i1 %59, label %78, label %60

60:                                               ; preds = %55
  %61 = and i64 %58, 4294967295
  %.not277 = icmp eq i64 %61, 0
  br i1 %.not277, label %79, label %62

62:                                               ; preds = %60
  %63 = add nuw nsw i64 %61, 3
  %64 = tail call i32 @i32_load8_u(ptr noundef nonnull %9, i64 noundef %63)
  %.mask279 = and i32 %64, 255
  %.not278 = icmp eq i32 %.mask279, 56
  br i1 %.not278, label %65, label %80

65:                                               ; preds = %62
  %66 = add nuw nsw i64 %61, 32
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %66, double noundef %.0)
  %67 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %57)
  %68 = zext i32 %1 to i64
  %69 = add nuw nsw i64 %68, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %69, i64 noundef %67)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %68, i32 noundef 1)
  br label %76

70:                                               ; preds = %50
  %71 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %71, i32 noundef 1)
  %72 = tail call i64 @i64_reinterpret_f64(double noundef %.0)
  %73 = fcmp uno double %.0, 0.000000e+00
  %74 = select i1 %73, i64 9221120237041090560, i64 %72
  %75 = add nuw nsw i64 %71, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %75, i64 noundef %74)
  br label %76

76:                                               ; preds = %70, %65, %44, %29
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void

77:                                               ; preds = %35
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 118741, i32 noundef 83341, i32 noundef 444, i32 noundef 97283) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

78:                                               ; preds = %55
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 146777, i32 noundef 82692, i32 noundef 43, i32 noundef 24718) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable

79:                                               ; preds = %60
  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

80:                                               ; preds = %62
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef nonnull %0, i32 noundef 205012, i32 noundef 82611, i32 noundef 255, i32 noundef 24720) #4
  tail call void @wasm_rt_trap(i32 noundef 5) #5
  unreachable
}

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

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


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