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

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

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

; Function Attrs: nounwind uwtable
declare hidden double @wasm_trunc(double noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef, double noundef, double noundef, double noundef, double noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef, double noundef, double noundef, double noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef, double noundef, double noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, 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 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 0, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store double 0.000000e+00, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.w2c_hermes, ptr %34, i32 0, i32 3
  %36 = load i32, ptr %35, align 8, !tbaa !15
  store i32 %36, ptr %21, align 4, !tbaa !9
  store i32 112, ptr %22, align 4, !tbaa !9
  %37 = load i32, ptr %22, align 4, !tbaa !9
  %38 = load i32, ptr %21, align 4, !tbaa !9
  %39 = sub i32 %38, %37
  store i32 %39, ptr %21, align 4, !tbaa !9
  %40 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %40, ptr %9, align 4, !tbaa !9
  %41 = load i32, ptr %21, align 4, !tbaa !9
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 3
  store i32 %41, ptr %43, align 8, !tbaa !15
  %44 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %44, ptr %21, align 4, !tbaa !9
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.w2c_hermes, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %21, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = add i64 %48, 4
  %50 = call i32 @i32_load(ptr noundef %46, i64 noundef %49)
  store i32 %50, ptr %21, align 4, !tbaa !9
  %51 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %51, ptr %11, align 4, !tbaa !9
  %52 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %52, ptr %21, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.w2c_hermes, ptr %53, i32 0, i32 6
  %55 = load i32, ptr %21, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = add i64 %56, 104
  %58 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %54, i64 noundef %57, i64 noundef %58)
  %59 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %59, ptr %21, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.w2c_hermes, ptr %60, i32 0, i32 6
  %62 = load i32, ptr %21, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = add i64 %63, 96
  %65 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %61, i64 noundef %64, i64 noundef %65)
  %66 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %66, ptr %21, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %21, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 88
  %72 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %68, i64 noundef %71, i64 noundef %72)
  %73 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %73, ptr %21, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.w2c_hermes, ptr %74, i32 0, i32 6
  %76 = load i32, ptr %21, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = add i64 %77, 80
  %79 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %75, i64 noundef %78, i64 noundef %79)
  %80 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %80, ptr %21, align 4, !tbaa !9
  store i64 0, ptr %27, align 8, !tbaa !11
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.w2c_hermes, ptr %81, i32 0, i32 6
  %83 = load i32, ptr %21, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = add i64 %84, 72
  %86 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %82, i64 noundef %85, i64 noundef %86)
  %87 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %87, ptr %21, align 4, !tbaa !9
  store i64 4607182418800017408, ptr %27, align 8, !tbaa !11
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.w2c_hermes, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %21, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = add i64 %91, 64
  %93 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %89, i64 noundef %92, i64 noundef %93)
  %94 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %94, ptr %21, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %27, align 8, !tbaa !11
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.w2c_hermes, ptr %95, i32 0, i32 6
  %97 = load i32, ptr %21, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = add i64 %98, 56
  %100 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %96, i64 noundef %99, i64 noundef %100)
  %101 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %101, ptr %21, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %27, align 8, !tbaa !11
  %102 = load ptr, ptr %5, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.w2c_hermes, ptr %102, i32 0, i32 6
  %104 = load i32, ptr %21, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = add i64 %105, 48
  %107 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %103, i64 noundef %106, i64 noundef %107)
  %108 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %108, ptr %21, align 4, !tbaa !9
  store i32 7, ptr %22, align 4, !tbaa !9
  %109 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %109, ptr %23, align 4, !tbaa !9
  %110 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %110, ptr %24, align 4, !tbaa !9
  store i32 7, ptr %25, align 4, !tbaa !9
  %111 = load i32, ptr %24, align 4, !tbaa !9
  %112 = load i32, ptr %25, align 4, !tbaa !9
  %113 = icmp uge i32 %111, %112
  %114 = zext i1 %113 to i32
  store i32 %114, ptr %24, align 4, !tbaa !9
  %115 = load i32, ptr %24, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %119

117:                                              ; preds = %4
  %118 = load i32, ptr %22, align 4, !tbaa !9
  br label %121

119:                                              ; preds = %4
  %120 = load i32, ptr %23, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %119, %117
  %122 = phi i32 [ %118, %117 ], [ %120, %119 ]
  store i32 %122, ptr %22, align 4, !tbaa !9
  %123 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %123, ptr %15, align 4, !tbaa !9
  %124 = load i32, ptr %22, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %371

126:                                              ; preds = %121
  %127 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %127, ptr %22, align 4, !tbaa !9
  %128 = load ptr, ptr %5, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.w2c_hermes, ptr %128, i32 0, i32 6
  %130 = load i32, ptr %22, align 4, !tbaa !9
  %131 = zext i32 %130 to i64
  %132 = call i32 @i32_load(ptr noundef %129, i64 noundef %131)
  store i32 %132, ptr %22, align 4, !tbaa !9
  store i32 8, ptr %23, align 4, !tbaa !9
  %133 = load i32, ptr %23, align 4, !tbaa !9
  %134 = load i32, ptr %22, align 4, !tbaa !9
  %135 = sub i32 %134, %133
  store i32 %135, ptr %22, align 4, !tbaa !9
  %136 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %136, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %137 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %137, ptr %8, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %362, %126
  %139 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %139, ptr %22, align 4, !tbaa !9
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.w2c_hermes, ptr %140, i32 0, i32 6
  %142 = load i32, ptr %22, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = add i64 %143, 4
  %145 = call i32 @i32_load(ptr noundef %141, i64 noundef %144)
  store i32 %145, ptr %22, align 4, !tbaa !9
  %146 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %146, ptr %12, align 4, !tbaa !9
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.w2c_hermes, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %22, align 4, !tbaa !9
  %150 = zext i32 %149 to i64
  %151 = add i64 %150, 188
  %152 = call i32 @i32_load(ptr noundef %148, i64 noundef %151)
  store i32 %152, ptr %22, align 4, !tbaa !9
  %153 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %153, ptr %13, align 4, !tbaa !9
  %154 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %154, ptr %22, align 4, !tbaa !9
  %155 = load ptr, ptr %5, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %22, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = add i64 %158, 180
  %160 = call i32 @i32_load(ptr noundef %156, i64 noundef %159)
  store i32 %160, ptr %22, align 4, !tbaa !9
  %161 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %161, ptr %14, align 4, !tbaa !9
  %162 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %162, ptr %22, align 4, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !9
  %163 = load ptr, ptr %5, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.w2c_hermes, ptr %163, i32 0, i32 6
  %165 = load i32, ptr %22, align 4, !tbaa !9
  %166 = zext i32 %165 to i64
  %167 = add i64 %166, 24
  %168 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %164, i64 noundef %167, i32 noundef %168)
  %169 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %169, ptr %22, align 4, !tbaa !9
  store i32 217528, ptr %23, align 4, !tbaa !9
  %170 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %170, ptr %24, align 4, !tbaa !9
  %171 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %171, ptr %25, align 4, !tbaa !9
  store i32 3, ptr %26, align 4, !tbaa !9
  %172 = load i32, ptr %26, align 4, !tbaa !9
  %173 = and i32 %172, 31
  %174 = load i32, ptr %25, align 4, !tbaa !9
  %175 = shl i32 %174, %173
  store i32 %175, ptr %25, align 4, !tbaa !9
  %176 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %176, ptr %17, align 4, !tbaa !9
  %177 = load i32, ptr %25, align 4, !tbaa !9
  %178 = load i32, ptr %24, align 4, !tbaa !9
  %179 = sub i32 %178, %177
  store i32 %179, ptr %24, align 4, !tbaa !9
  %180 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %180, ptr %25, align 4, !tbaa !9
  %181 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %181, ptr %26, align 4, !tbaa !9
  %182 = load i32, ptr %25, align 4, !tbaa !9
  %183 = load i32, ptr %26, align 4, !tbaa !9
  %184 = icmp uge i32 %182, %183
  %185 = zext i1 %184 to i32
  store i32 %185, ptr %25, align 4, !tbaa !9
  %186 = load i32, ptr %25, align 4, !tbaa !9
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %188, label %190

188:                                              ; preds = %138
  %189 = load i32, ptr %23, align 4, !tbaa !9
  br label %192

190:                                              ; preds = %138
  %191 = load i32, ptr %24, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %190, %188
  %193 = phi i32 [ %189, %188 ], [ %191, %190 ]
  store i32 %193, ptr %23, align 4, !tbaa !9
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.w2c_hermes, ptr %194, i32 0, i32 6
  %196 = load i32, ptr %22, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = add i64 %197, 28
  %199 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %195, i64 noundef %198, i32 noundef %199)
  %200 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %200, ptr %22, align 4, !tbaa !9
  store i32 32, ptr %23, align 4, !tbaa !9
  %201 = load i32, ptr %23, align 4, !tbaa !9
  %202 = load i32, ptr %22, align 4, !tbaa !9
  %203 = add i32 %202, %201
  store i32 %203, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %204, ptr %23, align 4, !tbaa !9
  %205 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %205, ptr %24, align 4, !tbaa !9
  store i32 24, ptr %25, align 4, !tbaa !9
  %206 = load i32, ptr %25, align 4, !tbaa !9
  %207 = load i32, ptr %24, align 4, !tbaa !9
  %208 = add i32 %207, %206
  store i32 %208, ptr %24, align 4, !tbaa !9
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = load i32, ptr %22, align 4, !tbaa !9
  %211 = load i32, ptr %23, align 4, !tbaa !9
  %212 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef %212)
  %213 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %213, ptr %22, align 4, !tbaa !9
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %22, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = add i64 %217, 24
  %219 = call i32 @i32_load(ptr noundef %215, i64 noundef %218)
  store i32 %219, ptr %22, align 4, !tbaa !9
  %220 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %220, ptr %10, align 4, !tbaa !9
  %221 = load i32, ptr %22, align 4, !tbaa !9
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %239

223:                                              ; preds = %192
  %224 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %224, ptr %22, align 4, !tbaa !9
  %225 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %225, ptr %23, align 4, !tbaa !9
  %226 = load ptr, ptr %5, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.w2c_hermes, ptr %226, i32 0, i32 6
  %228 = load i32, ptr %23, align 4, !tbaa !9
  %229 = zext i32 %228 to i64
  %230 = call i32 @i32_load(ptr noundef %227, i64 noundef %229)
  store i32 %230, ptr %23, align 4, !tbaa !9
  store i32 1, ptr %24, align 4, !tbaa !9
  %231 = load i32, ptr %24, align 4, !tbaa !9
  %232 = load i32, ptr %23, align 4, !tbaa !9
  %233 = sub i32 %232, %231
  store i32 %233, ptr %23, align 4, !tbaa !9
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.w2c_hermes, ptr %234, i32 0, i32 6
  %236 = load i32, ptr %22, align 4, !tbaa !9
  %237 = zext i32 %236 to i64
  %238 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %235, i64 noundef %237, i32 noundef %238)
  br label %239

239:                                              ; preds = %223, %192
  %240 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %240, ptr %22, align 4, !tbaa !9
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.w2c_hermes, ptr %241, i32 0, i32 6
  %243 = load i32, ptr %22, align 4, !tbaa !9
  %244 = zext i32 %243 to i64
  %245 = add i64 %244, 32
  %246 = call i32 @i32_load(ptr noundef %242, i64 noundef %245)
  store i32 %246, ptr %22, align 4, !tbaa !9
  %247 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %247, ptr %10, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %248 = load i32, ptr %22, align 4, !tbaa !9
  %249 = load i32, ptr %23, align 4, !tbaa !9
  %250 = icmp ne i32 %248, %249
  %251 = zext i1 %250 to i32
  store i32 %251, ptr %22, align 4, !tbaa !9
  %252 = load i32, ptr %22, align 4, !tbaa !9
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %281

254:                                              ; preds = %239
  %255 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %255, ptr %22, align 4, !tbaa !9
  %256 = load i32, ptr %22, align 4, !tbaa !9
  %257 = icmp ne i32 %256, 0
  %258 = xor i1 %257, true
  %259 = zext i1 %258 to i32
  store i32 %259, ptr %22, align 4, !tbaa !9
  %260 = load i32, ptr %22, align 4, !tbaa !9
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %263

262:                                              ; preds = %254
  br label %511

263:                                              ; preds = %254
  store i32 0, ptr %22, align 4, !tbaa !9
  %264 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %264, ptr %9, align 4, !tbaa !9
  store i32 109639, ptr %23, align 4, !tbaa !9
  %265 = load i32, ptr %23, align 4, !tbaa !9
  %266 = load i32, ptr %22, align 4, !tbaa !9
  %267 = add i32 %266, %265
  store i32 %267, ptr %22, align 4, !tbaa !9
  %268 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %268, ptr %23, align 4, !tbaa !9
  store i32 77564, ptr %24, align 4, !tbaa !9
  %269 = load i32, ptr %24, align 4, !tbaa !9
  %270 = load i32, ptr %23, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %23, align 4, !tbaa !9
  store i32 179, ptr %24, align 4, !tbaa !9
  %272 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %272, ptr %25, align 4, !tbaa !9
  store i32 90402, ptr %26, align 4, !tbaa !9
  %273 = load i32, ptr %26, align 4, !tbaa !9
  %274 = load i32, ptr %25, align 4, !tbaa !9
  %275 = add i32 %274, %273
  store i32 %275, ptr %25, align 4, !tbaa !9
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = load i32, ptr %22, align 4, !tbaa !9
  %278 = load i32, ptr %23, align 4, !tbaa !9
  %279 = load i32, ptr %24, align 4, !tbaa !9
  %280 = load i32, ptr %25, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %276, i32 noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

281:                                              ; preds = %239
  %282 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %282, ptr %22, align 4, !tbaa !9
  %283 = load ptr, ptr %5, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %22, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = add i64 %286, 40
  %288 = call i64 @i64_load(ptr noundef %284, i64 noundef %287)
  store i64 %288, ptr %27, align 8, !tbaa !11
  %289 = load i64, ptr %27, align 8, !tbaa !11
  store i64 %289, ptr %18, align 8, !tbaa !11
  store i64 -1970324836974592, ptr %28, align 8, !tbaa !11
  %290 = load i64, ptr %27, align 8, !tbaa !11
  %291 = load i64, ptr %28, align 8, !tbaa !11
  %292 = icmp uge i64 %290, %291
  %293 = zext i1 %292 to i32
  store i32 %293, ptr %22, align 4, !tbaa !9
  %294 = load i32, ptr %22, align 4, !tbaa !9
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %281
  br label %493

297:                                              ; preds = %281
  %298 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %298, ptr %22, align 4, !tbaa !9
  store i32 48, ptr %23, align 4, !tbaa !9
  %299 = load i32, ptr %23, align 4, !tbaa !9
  %300 = load i32, ptr %22, align 4, !tbaa !9
  %301 = add i32 %300, %299
  store i32 %301, ptr %22, align 4, !tbaa !9
  %302 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %302, ptr %23, align 4, !tbaa !9
  %303 = load i32, ptr %23, align 4, !tbaa !9
  %304 = load i32, ptr %22, align 4, !tbaa !9
  %305 = add i32 %304, %303
  store i32 %305, ptr %22, align 4, !tbaa !9
  %306 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %306, ptr %28, align 8, !tbaa !11
  %307 = load ptr, ptr %5, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.w2c_hermes, ptr %307, i32 0, i32 6
  %309 = load i32, ptr %22, align 4, !tbaa !9
  %310 = zext i32 %309 to i64
  %311 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %308, i64 noundef %310, i64 noundef %311)
  %312 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %312, ptr %22, align 4, !tbaa !9
  %313 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %313, ptr %23, align 4, !tbaa !9
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.w2c_hermes, ptr %314, i32 0, i32 6
  %316 = load i32, ptr %22, align 4, !tbaa !9
  %317 = zext i32 %316 to i64
  %318 = add i64 %317, 36
  %319 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %315, i64 noundef %318, i32 noundef %319)
  %320 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %320, ptr %22, align 4, !tbaa !9
  %321 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %321, ptr %23, align 4, !tbaa !9
  %322 = load ptr, ptr %5, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.w2c_hermes, ptr %322, i32 0, i32 6
  %324 = load i32, ptr %22, align 4, !tbaa !9
  %325 = zext i32 %324 to i64
  %326 = add i64 %325, 32
  %327 = load i32, ptr %23, align 4, !tbaa !9
  call void @i32_store(ptr noundef %323, i64 noundef %326, i32 noundef %327)
  %328 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %328, ptr %22, align 4, !tbaa !9
  %329 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %329, ptr %23, align 4, !tbaa !9
  %330 = load ptr, ptr %5, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.w2c_hermes, ptr %330, i32 0, i32 6
  %332 = load i32, ptr %23, align 4, !tbaa !9
  %333 = zext i32 %332 to i64
  %334 = add i64 %333, 32
  %335 = call i64 @i64_load(ptr noundef %331, i64 noundef %334)
  store i64 %335, ptr %28, align 8, !tbaa !11
  %336 = load ptr, ptr %5, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.w2c_hermes, ptr %336, i32 0, i32 6
  %338 = load i32, ptr %22, align 4, !tbaa !9
  %339 = zext i32 %338 to i64
  %340 = add i64 %339, 16
  %341 = load i64, ptr %28, align 8, !tbaa !11
  call void @i64_store(ptr noundef %337, i64 noundef %340, i64 noundef %341)
  %342 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %342, ptr %22, align 4, !tbaa !9
  %343 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %343, ptr %23, align 4, !tbaa !9
  store i32 16, ptr %24, align 4, !tbaa !9
  %344 = load i32, ptr %24, align 4, !tbaa !9
  %345 = load i32, ptr %23, align 4, !tbaa !9
  %346 = add i32 %345, %344
  store i32 %346, ptr %23, align 4, !tbaa !9
  %347 = load ptr, ptr %5, align 8, !tbaa !5
  %348 = load i32, ptr %22, align 4, !tbaa !9
  %349 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AflushToMarker0x28hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AMarker0x29(ptr noundef %347, i32 noundef %348, i32 noundef %349)
  %350 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %350, ptr %22, align 4, !tbaa !9
  store i32 1, ptr %23, align 4, !tbaa !9
  %351 = load i32, ptr %23, align 4, !tbaa !9
  %352 = load i32, ptr %22, align 4, !tbaa !9
  %353 = add i32 %352, %351
  store i32 %353, ptr %22, align 4, !tbaa !9
  %354 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %354, ptr %8, align 4, !tbaa !9
  %355 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %355, ptr %23, align 4, !tbaa !9
  %356 = load i32, ptr %22, align 4, !tbaa !9
  %357 = load i32, ptr %23, align 4, !tbaa !9
  %358 = icmp ne i32 %356, %357
  %359 = zext i1 %358 to i32
  store i32 %359, ptr %22, align 4, !tbaa !9
  %360 = load i32, ptr %22, align 4, !tbaa !9
  %361 = icmp ne i32 %360, 0
  br i1 %361, label %362, label %363

362:                                              ; preds = %297
  br label %138

363:                                              ; preds = %297
  %364 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %364, ptr %22, align 4, !tbaa !9
  %365 = load ptr, ptr %5, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.w2c_hermes, ptr %365, i32 0, i32 6
  %367 = load i32, ptr %22, align 4, !tbaa !9
  %368 = zext i32 %367 to i64
  %369 = add i64 %368, 48
  %370 = call double @f64_load(ptr noundef %366, i64 noundef %369)
  store double %370, ptr %29, align 8, !tbaa !13
  br label %373

371:                                              ; preds = %121
  %372 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %372, ptr %29, align 8, !tbaa !13
  br label %373

373:                                              ; preds = %371, %363
  %374 = load double, ptr %29, align 8, !tbaa !13
  store double %374, ptr %19, align 8, !tbaa !13
  %375 = load double, ptr %29, align 8, !tbaa !13
  %376 = call double @wasm_trunc(double noundef %375)
  store double %376, ptr %29, align 8, !tbaa !13
  %377 = load double, ptr %29, align 8, !tbaa !13
  store double %377, ptr %20, align 8, !tbaa !13
  store double 1.900000e+03, ptr %30, align 8, !tbaa !13
  %378 = load double, ptr %30, align 8, !tbaa !13
  %379 = load double, ptr %29, align 8, !tbaa !13
  %380 = fadd double %379, %378
  store double %380, ptr %29, align 8, !tbaa !13
  %381 = load double, ptr %19, align 8, !tbaa !13
  store double %381, ptr %30, align 8, !tbaa !13
  %382 = load double, ptr %20, align 8, !tbaa !13
  store double %382, ptr %31, align 8, !tbaa !13
  store double 0.000000e+00, ptr %32, align 8, !tbaa !13
  %383 = load double, ptr %31, align 8, !tbaa !13
  %384 = load double, ptr %32, align 8, !tbaa !13
  %385 = fcmp oge double %383, %384
  %386 = zext i1 %385 to i32
  store i32 %386, ptr %24, align 4, !tbaa !9
  %387 = load i32, ptr %24, align 4, !tbaa !9
  %388 = icmp ne i32 %387, 0
  br i1 %388, label %389, label %391

389:                                              ; preds = %373
  %390 = load double, ptr %29, align 8, !tbaa !13
  br label %393

391:                                              ; preds = %373
  %392 = load double, ptr %30, align 8, !tbaa !13
  br label %393

393:                                              ; preds = %391, %389
  %394 = phi double [ %390, %389 ], [ %392, %391 ]
  store double %394, ptr %29, align 8, !tbaa !13
  %395 = load double, ptr %19, align 8, !tbaa !13
  store double %395, ptr %30, align 8, !tbaa !13
  %396 = load double, ptr %19, align 8, !tbaa !13
  store double %396, ptr %31, align 8, !tbaa !13
  %397 = load double, ptr %19, align 8, !tbaa !13
  store double %397, ptr %32, align 8, !tbaa !13
  %398 = load double, ptr %31, align 8, !tbaa !13
  %399 = load double, ptr %32, align 8, !tbaa !13
  %400 = fcmp oeq double %398, %399
  %401 = zext i1 %400 to i32
  store i32 %401, ptr %24, align 4, !tbaa !9
  %402 = load i32, ptr %24, align 4, !tbaa !9
  %403 = icmp ne i32 %402, 0
  br i1 %403, label %404, label %406

404:                                              ; preds = %393
  %405 = load double, ptr %29, align 8, !tbaa !13
  br label %408

406:                                              ; preds = %393
  %407 = load double, ptr %30, align 8, !tbaa !13
  br label %408

408:                                              ; preds = %406, %404
  %409 = phi double [ %405, %404 ], [ %407, %406 ]
  store double %409, ptr %29, align 8, !tbaa !13
  %410 = load double, ptr %19, align 8, !tbaa !13
  store double %410, ptr %30, align 8, !tbaa !13
  %411 = load double, ptr %20, align 8, !tbaa !13
  store double %411, ptr %31, align 8, !tbaa !13
  store double 9.900000e+01, ptr %32, align 8, !tbaa !13
  %412 = load double, ptr %31, align 8, !tbaa !13
  %413 = load double, ptr %32, align 8, !tbaa !13
  %414 = fcmp ole double %412, %413
  %415 = zext i1 %414 to i32
  store i32 %415, ptr %24, align 4, !tbaa !9
  %416 = load i32, ptr %24, align 4, !tbaa !9
  %417 = icmp ne i32 %416, 0
  br i1 %417, label %418, label %420

418:                                              ; preds = %408
  %419 = load double, ptr %29, align 8, !tbaa !13
  br label %422

420:                                              ; preds = %408
  %421 = load double, ptr %30, align 8, !tbaa !13
  br label %422

422:                                              ; preds = %420, %418
  %423 = phi double [ %419, %418 ], [ %421, %420 ]
  store double %423, ptr %29, align 8, !tbaa !13
  %424 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %424, ptr %23, align 4, !tbaa !9
  %425 = load ptr, ptr %5, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.w2c_hermes, ptr %425, i32 0, i32 6
  %427 = load i32, ptr %23, align 4, !tbaa !9
  %428 = zext i32 %427 to i64
  %429 = add i64 %428, 56
  %430 = call double @f64_load(ptr noundef %426, i64 noundef %429)
  store double %430, ptr %30, align 8, !tbaa !13
  %431 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %431, ptr %24, align 4, !tbaa !9
  %432 = load ptr, ptr %5, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.w2c_hermes, ptr %432, i32 0, i32 6
  %434 = load i32, ptr %24, align 4, !tbaa !9
  %435 = zext i32 %434 to i64
  %436 = add i64 %435, 64
  %437 = call double @f64_load(ptr noundef %433, i64 noundef %436)
  store double %437, ptr %31, align 8, !tbaa !13
  %438 = load ptr, ptr %5, align 8, !tbaa !5
  %439 = load double, ptr %29, align 8, !tbaa !13
  %440 = load double, ptr %30, align 8, !tbaa !13
  %441 = load double, ptr %31, align 8, !tbaa !13
  %442 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %438, double noundef %439, double noundef %440, double noundef %441)
  store double %442, ptr %29, align 8, !tbaa !13
  %443 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %443, ptr %23, align 4, !tbaa !9
  %444 = load ptr, ptr %5, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.w2c_hermes, ptr %444, i32 0, i32 6
  %446 = load i32, ptr %23, align 4, !tbaa !9
  %447 = zext i32 %446 to i64
  %448 = add i64 %447, 72
  %449 = call double @f64_load(ptr noundef %445, i64 noundef %448)
  store double %449, ptr %30, align 8, !tbaa !13
  %450 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %450, ptr %24, align 4, !tbaa !9
  %451 = load ptr, ptr %5, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.w2c_hermes, ptr %451, i32 0, i32 6
  %453 = load i32, ptr %24, align 4, !tbaa !9
  %454 = zext i32 %453 to i64
  %455 = add i64 %454, 80
  %456 = call double @f64_load(ptr noundef %452, i64 noundef %455)
  store double %456, ptr %31, align 8, !tbaa !13
  %457 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %457, ptr %25, align 4, !tbaa !9
  %458 = load ptr, ptr %5, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.w2c_hermes, ptr %458, i32 0, i32 6
  %460 = load i32, ptr %25, align 4, !tbaa !9
  %461 = zext i32 %460 to i64
  %462 = add i64 %461, 88
  %463 = call double @f64_load(ptr noundef %459, i64 noundef %462)
  store double %463, ptr %32, align 8, !tbaa !13
  %464 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %464, ptr %26, align 4, !tbaa !9
  %465 = load ptr, ptr %5, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.w2c_hermes, ptr %465, i32 0, i32 6
  %467 = load i32, ptr %26, align 4, !tbaa !9
  %468 = zext i32 %467 to i64
  %469 = add i64 %468, 96
  %470 = call double @f64_load(ptr noundef %466, i64 noundef %469)
  store double %470, ptr %33, align 8, !tbaa !13
  %471 = load ptr, ptr %5, align 8, !tbaa !5
  %472 = load double, ptr %30, align 8, !tbaa !13
  %473 = load double, ptr %31, align 8, !tbaa !13
  %474 = load double, ptr %32, align 8, !tbaa !13
  %475 = load double, ptr %33, align 8, !tbaa !13
  %476 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %471, double noundef %472, double noundef %473, double noundef %474, double noundef %475)
  store double %476, ptr %30, align 8, !tbaa !13
  %477 = load ptr, ptr %5, align 8, !tbaa !5
  %478 = load double, ptr %29, align 8, !tbaa !13
  %479 = load double, ptr %30, align 8, !tbaa !13
  %480 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef %477, double noundef %478, double noundef %479)
  store double %480, ptr %29, align 8, !tbaa !13
  %481 = load ptr, ptr %5, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.w2c_hermes, ptr %481, i32 0, i32 6
  %483 = load i32, ptr %21, align 4, !tbaa !9
  %484 = zext i32 %483 to i64
  %485 = add i64 %484, 8
  %486 = load double, ptr %29, align 8, !tbaa !13
  call void @f64_store(ptr noundef %482, i64 noundef %485, double noundef %486)
  %487 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %487, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %488 = load ptr, ptr %5, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.w2c_hermes, ptr %488, i32 0, i32 6
  %490 = load i32, ptr %21, align 4, !tbaa !9
  %491 = zext i32 %490 to i64
  %492 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %489, i64 noundef %491, i32 noundef %492)
  br label %556

493:                                              ; preds = %296
  store i32 0, ptr %21, align 4, !tbaa !9
  %494 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %494, ptr %9, align 4, !tbaa !9
  store i32 118741, ptr %22, align 4, !tbaa !9
  %495 = load i32, ptr %22, align 4, !tbaa !9
  %496 = load i32, ptr %21, align 4, !tbaa !9
  %497 = add i32 %496, %495
  store i32 %497, ptr %21, align 4, !tbaa !9
  %498 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %498, ptr %22, align 4, !tbaa !9
  store i32 83341, ptr %23, align 4, !tbaa !9
  %499 = load i32, ptr %23, align 4, !tbaa !9
  %500 = load i32, ptr %22, align 4, !tbaa !9
  %501 = add i32 %500, %499
  store i32 %501, ptr %22, align 4, !tbaa !9
  store i32 444, ptr %23, align 4, !tbaa !9
  %502 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %502, ptr %24, align 4, !tbaa !9
  store i32 97283, ptr %25, align 4, !tbaa !9
  %503 = load i32, ptr %25, align 4, !tbaa !9
  %504 = load i32, ptr %24, align 4, !tbaa !9
  %505 = add i32 %504, %503
  store i32 %505, ptr %24, align 4, !tbaa !9
  %506 = load ptr, ptr %5, align 8, !tbaa !5
  %507 = load i32, ptr %21, align 4, !tbaa !9
  %508 = load i32, ptr %22, align 4, !tbaa !9
  %509 = load i32, ptr %23, align 4, !tbaa !9
  %510 = load i32, ptr %24, align 4, !tbaa !9
  call void @w2c_hermes_0x5F_assert_fail(ptr noundef %506, i32 noundef %507, i32 noundef %508, i32 noundef %509, i32 noundef %510)
  call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

511:                                              ; preds = %262
  %512 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %512, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %513 = load ptr, ptr %5, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.w2c_hermes, ptr %513, i32 0, i32 6
  %515 = load i32, ptr %21, align 4, !tbaa !9
  %516 = zext i32 %515 to i64
  %517 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %514, i64 noundef %516, i32 noundef %517)
  %518 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %518, ptr %21, align 4, !tbaa !9
  %519 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %519, ptr %22, align 4, !tbaa !9
  %520 = load ptr, ptr %5, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.w2c_hermes, ptr %520, i32 0, i32 6
  %522 = load i32, ptr %21, align 4, !tbaa !9
  %523 = zext i32 %522 to i64
  %524 = add i64 %523, 36
  %525 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %521, i64 noundef %524, i32 noundef %525)
  %526 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %526, ptr %21, align 4, !tbaa !9
  %527 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %527, ptr %22, align 4, !tbaa !9
  %528 = load ptr, ptr %5, align 8, !tbaa !5
  %529 = getelementptr inbounds %struct.w2c_hermes, ptr %528, i32 0, i32 6
  %530 = load i32, ptr %21, align 4, !tbaa !9
  %531 = zext i32 %530 to i64
  %532 = add i64 %531, 32
  %533 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %529, i64 noundef %532, i32 noundef %533)
  %534 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %534, ptr %21, align 4, !tbaa !9
  %535 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %535, ptr %22, align 4, !tbaa !9
  %536 = load ptr, ptr %5, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.w2c_hermes, ptr %536, i32 0, i32 6
  %538 = load i32, ptr %22, align 4, !tbaa !9
  %539 = zext i32 %538 to i64
  %540 = add i64 %539, 32
  %541 = call i64 @i64_load(ptr noundef %537, i64 noundef %540)
  store i64 %541, ptr %27, align 8, !tbaa !11
  %542 = load ptr, ptr %5, align 8, !tbaa !5
  %543 = getelementptr inbounds %struct.w2c_hermes, ptr %542, i32 0, i32 6
  %544 = load i32, ptr %21, align 4, !tbaa !9
  %545 = zext i32 %544 to i64
  %546 = add i64 %545, 8
  %547 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %543, i64 noundef %546, i64 noundef %547)
  %548 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %548, ptr %21, align 4, !tbaa !9
  %549 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %549, ptr %22, align 4, !tbaa !9
  store i32 8, ptr %23, align 4, !tbaa !9
  %550 = load i32, ptr %23, align 4, !tbaa !9
  %551 = load i32, ptr %22, align 4, !tbaa !9
  %552 = add i32 %551, %550
  store i32 %552, ptr %22, align 4, !tbaa !9
  %553 = load ptr, ptr %5, align 8, !tbaa !5
  %554 = load i32, ptr %21, align 4, !tbaa !9
  %555 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AflushToMarker0x28hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AMarker0x29(ptr noundef %553, i32 noundef %554, i32 noundef %555)
  br label %556

556:                                              ; preds = %511, %422
  %557 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %557, ptr %21, align 4, !tbaa !9
  store i32 112, ptr %22, align 4, !tbaa !9
  %558 = load i32, ptr %22, align 4, !tbaa !9
  %559 = load i32, ptr %21, align 4, !tbaa !9
  %560 = add i32 %559, %558
  store i32 %560, ptr %21, align 4, !tbaa !9
  %561 = load i32, ptr %21, align 4, !tbaa !9
  %562 = load ptr, ptr %5, align 8, !tbaa !5
  %563 = getelementptr inbounds %struct.w2c_hermes, ptr %562, i32 0, i32 3
  store i32 %561, ptr %563, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

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 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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTimeFromArgs_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3ANativeArgs0x29(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 {
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = add i32 %6, -112
  store i32 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  %9 = zext i32 %3 to i64
  %10 = add nuw nsw i64 %9, 4
  %11 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %10)
  %12 = zext i32 %7 to i64
  %13 = add nuw nsw i64 %12, 104
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %13, i64 noundef 0)
  %14 = add nuw nsw i64 %12, 96
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %14, i64 noundef 0)
  %15 = add nuw nsw i64 %12, 88
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %15, i64 noundef 0)
  %16 = add nuw nsw i64 %12, 80
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %16, i64 noundef 0)
  %17 = add nuw nsw i64 %12, 72
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %17, i64 noundef 0)
  %18 = add nuw nsw i64 %12, 64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %18, i64 noundef 4607182418800017408)
  %19 = add nuw nsw i64 %12, 56
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %19, i64 noundef 9221120237041090560)
  %20 = add nuw nsw i64 %12, 48
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %20, i64 noundef 9221120237041090560)
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %66, label %21

21:                                               ; preds = %4
  %22 = tail call i32 @llvm.umin.i32(i32 %11, i32 7)
  %23 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %9)
  %24 = add i32 %23, -8
  %25 = zext i32 %2 to i64
  %26 = add nuw nsw i64 %25, 4
  %27 = add nuw nsw i64 %12, 24
  %28 = add nuw nsw i64 %12, 28
  %29 = add i32 %6, -80
  %30 = add i32 %6, -88
  %31 = add nuw nsw i64 %12, 32
  %32 = add nuw nsw i64 %12, 40
  %33 = add i32 %6, -64
  %34 = add nuw nsw i64 %12, 36
  %35 = add nuw nsw i64 %12, 16
  %36 = add i32 %6, -96
  %37 = zext i32 %11 to i64
  %38 = zext nneg i32 %22 to i64
  br label %39

39:                                               ; preds = %60, %21
  %indvars.iv = phi i64 [ %indvars.iv.next, %60 ], [ 0, %21 ]
  %40 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %26)
  %41 = zext i32 %40 to i64
  %42 = add nuw nsw i64 %41, 188
  %43 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %42)
  %44 = add nuw nsw i64 %41, 180
  %45 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %44)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %27, i32 noundef 0)
  %indvars.iv.tr = trunc i64 %indvars.iv to i32
  %46 = shl i32 %indvars.iv.tr, 3
  %47 = sub i32 %24, %46
  %.not309 = icmp ult i64 %indvars.iv, %37
  %48 = select i1 %.not309, i32 %47, i32 217528
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %28, i32 noundef %48)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %0, i32 noundef %29, i32 noundef %2, i32 noundef %30)
  %49 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %27)
  %.not310 = icmp eq i32 %49, 0
  br i1 %.not310, label %54, label %50

50:                                               ; preds = %39
  %51 = zext i32 %49 to i64
  %52 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %51)
  %53 = add i32 %52, -1
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %51, i32 noundef %53)
  br label %54

54:                                               ; preds = %50, %39
  %55 = tail call i32 @i32_load(ptr noundef nonnull %8, i64 noundef %31)
  switch i32 %55, label %56 [
    i32 1, label %57
    i32 0, label %89
  ]

56:                                               ; preds = %54
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 109639, i32 noundef 77564, i32 noundef 179, i32 noundef 90402) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

57:                                               ; preds = %54
  %58 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %32)
  %59 = icmp ugt i64 %58, -1970324836974593
  br i1 %59, label %88, label %60

60:                                               ; preds = %57
  %61 = add i32 %33, %46
  %62 = zext i32 %61 to i64
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %62, i64 noundef %58)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %34, i32 noundef %43)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %45)
  %63 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %31)
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %35, i64 noundef %63)
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AflushToMarker0x28hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AMarker0x29(ptr noundef %0, i32 noundef %40, i32 noundef %36) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not312 = icmp eq i64 %indvars.iv.next, %38
  br i1 %.not312, label %64, label %39

64:                                               ; preds = %60
  %65 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %20)
  br label %68

66:                                               ; preds = %4
  %67 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  br label %68

68:                                               ; preds = %66, %64
  %.0303 = phi double [ %65, %64 ], [ %67, %66 ]
  %69 = tail call double @wasm_trunc(double noundef %.0303)
  %70 = fadd double %69, 1.900000e+03
  %71 = fcmp oge double %69, 0.000000e+00
  %72 = fcmp ord double %.0303, 0.000000e+00
  %73 = select i1 %72, i1 %71, i1 false
  %74 = fcmp ole double %69, 9.900000e+01
  %75 = and i1 %74, %73
  %76 = select i1 %75, double %70, double %.0303
  %77 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %19)
  %78 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %18)
  %79 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %0, double noundef %76, double noundef %77, double noundef %78)
  %80 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %17)
  %81 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %16)
  %82 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %15)
  %83 = tail call double @f64_load(ptr noundef nonnull %8, i64 noundef %14)
  %84 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %0, double noundef %80, double noundef %81, double noundef %82, double noundef %83)
  %85 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDate0x28double0x2C0x20double0x29(ptr noundef %0, double noundef %79, double noundef %84)
  %86 = zext i32 %1 to i64
  %87 = add nuw nsw i64 %86, 8
  tail call void @f64_store(ptr noundef nonnull %8, i64 noundef %87, double noundef %85)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %86, i32 noundef 1)
  br label %94

88:                                               ; preds = %57
  tail call void @w2c_hermes_0x5F_assert_fail(ptr noundef %0, i32 noundef 118741, i32 noundef 83341, i32 noundef 444, i32 noundef 97283) #5
  tail call void @wasm_rt_trap(i32 noundef 5) #6
  unreachable

89:                                               ; preds = %54
  %90 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %90, i32 noundef 0)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %34, i32 noundef %43)
  tail call void @i32_store(ptr noundef nonnull %8, i64 noundef %31, i32 noundef %45)
  %91 = tail call i64 @i64_load(ptr noundef nonnull %8, i64 noundef %31)
  %92 = add nuw nsw i64 %12, 8
  tail call void @i64_store(ptr noundef nonnull %8, i64 noundef %92, i64 noundef %91)
  %93 = add i32 %6, -104
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AflushToMarker0x28hermes0x3A0x3Avm0x3A0x3AGCScope0x3A0x3AMarker0x29(ptr noundef %0, i32 noundef %40, i32 noundef %93) #5
  br label %94

94:                                               ; preds = %89, %68
  store i32 %6, ptr %5, align 8, !tbaa !5
  ret void
}

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { 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: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass