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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

61:                                               ; preds = %5
  %62 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %62, ptr %19, align 4, !tbaa !9
  %63 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %63, ptr %13, align 4, !tbaa !9
  %64 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %64, ptr %24, align 8, !tbaa !11
  %65 = load i64, ptr %24, align 8, !tbaa !11
  %66 = trunc i64 %65 to i32
  store i32 %66, ptr %19, align 4, !tbaa !9
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.w2c_hermes, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %19, align 4, !tbaa !9
  %70 = zext i32 %69 to i64
  %71 = add i64 %70, 3
  %72 = call i32 @i32_load8_u(ptr noundef %68, i64 noundef %71)
  store i32 %72, ptr %19, align 4, !tbaa !9
  store i32 24, ptr %20, align 4, !tbaa !9
  %73 = load i32, ptr %20, align 4, !tbaa !9
  %74 = and i32 %73, 31
  %75 = load i32, ptr %19, align 4, !tbaa !9
  %76 = shl i32 %75, %74
  store i32 %76, ptr %19, align 4, !tbaa !9
  store i32 1023410176, ptr %20, align 4, !tbaa !9
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %20, align 4, !tbaa !9
  %79 = icmp eq i32 %77, %78
  %80 = zext i1 %79 to i32
  store i32 %80, ptr %19, align 4, !tbaa !9
  %81 = load i32, ptr %19, align 4, !tbaa !9
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %61
  br label %93

84:                                               ; preds = %61
  br label %85

85:                                               ; preds = %84, %5
  store i32 67200, ptr %19, align 4, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %86, ptr %13, align 4, !tbaa !9
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.w2c_hermes, ptr %87, i32 0, i32 6
  %89 = load i32, ptr %19, align 4, !tbaa !9
  %90 = zext i32 %89 to i64
  %91 = call i64 @i64_load(ptr noundef %88, i64 noundef %90)
  store i64 %91, ptr %24, align 8, !tbaa !11
  %92 = load i64, ptr %24, align 8, !tbaa !11
  store i64 %92, ptr %14, align 8, !tbaa !11
  br label %93

93:                                               ; preds = %85, %83
  %94 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %94, ptr %24, align 8, !tbaa !11
  store i64 4294967295, ptr %25, align 8, !tbaa !11
  %95 = load i64, ptr %25, align 8, !tbaa !11
  %96 = load i64, ptr %24, align 8, !tbaa !11
  %97 = and i64 %96, %95
  store i64 %97, ptr %24, align 8, !tbaa !11
  store i64 0, ptr %25, align 8, !tbaa !11
  %98 = load i64, ptr %24, align 8, !tbaa !11
  %99 = load i64, ptr %25, align 8, !tbaa !11
  %100 = icmp ne i64 %98, %99
  %101 = zext i1 %100 to i32
  store i32 %101, ptr %19, align 4, !tbaa !9
  %102 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %102, ptr %25, align 8, !tbaa !11
  store i64 -844424930131968, ptr %26, align 8, !tbaa !11
  %103 = load i64, ptr %25, align 8, !tbaa !11
  %104 = load i64, ptr %26, align 8, !tbaa !11
  %105 = icmp uge i64 %103, %104
  %106 = zext i1 %105 to i32
  store i32 %106, ptr %20, align 4, !tbaa !9
  %107 = load i32, ptr %20, align 4, !tbaa !9
  %108 = load i32, ptr %19, align 4, !tbaa !9
  %109 = and i32 %108, %107
  store i32 %109, ptr %19, align 4, !tbaa !9
  %110 = load i32, ptr %19, align 4, !tbaa !9
  %111 = icmp ne i32 %110, 0
  %112 = xor i1 %111, true
  %113 = zext i1 %112 to i32
  store i32 %113, ptr %19, align 4, !tbaa !9
  %114 = load i32, ptr %19, align 4, !tbaa !9
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %116, label %160

116:                                              ; preds = %93
  %117 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %117, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.w2c_hermes, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %19, align 4, !tbaa !9
  %121 = zext i32 %120 to i64
  %122 = add i64 %121, 56
  %123 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %119, i64 noundef %122, i32 noundef %123)
  %124 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %124, ptr %19, align 4, !tbaa !9
  store i64 227633266689, ptr %25, align 8, !tbaa !11
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.w2c_hermes, ptr %125, i32 0, i32 6
  %127 = load i32, ptr %19, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = add i64 %128, 48
  %130 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %126, i64 noundef %129, i64 noundef %130)
  %131 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %131, ptr %19, align 4, !tbaa !9
  store i32 3, ptr %20, align 4, !tbaa !9
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.w2c_hermes, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = zext i32 %134 to i64
  %136 = add i64 %135, 32
  %137 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %133, i64 noundef %136, i32 noundef %137)
  %138 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %138, ptr %19, align 4, !tbaa !9
  store i32 31949, ptr %20, align 4, !tbaa !9
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.w2c_hermes, ptr %139, i32 0, i32 6
  %141 = load i32, ptr %19, align 4, !tbaa !9
  %142 = zext i32 %141 to i64
  %143 = add i64 %142, 24
  %144 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %140, i64 noundef %143, i32 noundef %144)
  %145 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %145, ptr %19, align 4, !tbaa !9
  %146 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %146, ptr %20, align 4, !tbaa !9
  %147 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %147, ptr %21, align 4, !tbaa !9
  store i32 24, ptr %22, align 4, !tbaa !9
  %148 = load i32, ptr %22, align 4, !tbaa !9
  %149 = load i32, ptr %21, align 4, !tbaa !9
  %150 = add i32 %149, %148
  store i32 %150, ptr %21, align 4, !tbaa !9
  %151 = load ptr, ptr %6, align 8, !tbaa !5
  %152 = load i32, ptr %20, align 4, !tbaa !9
  %153 = load i32, ptr %21, align 4, !tbaa !9
  %154 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef %151, i32 noundef %152, i32 noundef %153)
  store i32 %154, ptr %20, align 4, !tbaa !9
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.w2c_hermes, ptr %155, i32 0, i32 6
  %157 = load i32, ptr %19, align 4, !tbaa !9
  %158 = zext i32 %157 to i64
  %159 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %156, i64 noundef %158, i32 noundef %159)
  br label %485

160:                                              ; preds = %93
  %161 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %161, ptr %24, align 8, !tbaa !11
  %162 = load i64, ptr %24, align 8, !tbaa !11
  %163 = trunc i64 %162 to i32
  store i32 %163, ptr %19, align 4, !tbaa !9
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.w2c_hermes, ptr %164, i32 0, i32 6
  %166 = load i32, ptr %19, align 4, !tbaa !9
  %167 = zext i32 %166 to i64
  %168 = add i64 %167, 24
  %169 = call double @f64_load(ptr noundef %165, i64 noundef %168)
  store double %169, ptr %27, align 8, !tbaa !13
  %170 = load double, ptr %27, align 8, !tbaa !13
  store double %170, ptr %15, align 8, !tbaa !13
  %171 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %171, ptr %19, align 4, !tbaa !9
  %172 = load i32, ptr %19, align 4, !tbaa !9
  %173 = icmp ne i32 %172, 0
  %174 = xor i1 %173, true
  %175 = zext i1 %174 to i32
  store i32 %175, ptr %19, align 4, !tbaa !9
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %184

178:                                              ; preds = %160
  %179 = load double, ptr %15, align 8, !tbaa !13
  store double %179, ptr %27, align 8, !tbaa !13
  %180 = load ptr, ptr %6, align 8, !tbaa !5
  %181 = load double, ptr %27, align 8, !tbaa !13
  %182 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %180, double noundef %181)
  store double %182, ptr %27, align 8, !tbaa !13
  %183 = load double, ptr %27, align 8, !tbaa !13
  store double %183, ptr %15, align 8, !tbaa !13
  br label %184

184:                                              ; preds = %178, %160
  %185 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %185, ptr %19, align 4, !tbaa !9
  store i32 24, ptr %20, align 4, !tbaa !9
  %186 = load i32, ptr %20, align 4, !tbaa !9
  %187 = load i32, ptr %19, align 4, !tbaa !9
  %188 = add i32 %187, %186
  store i32 %188, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %189, ptr %20, align 4, !tbaa !9
  %190 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %190, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %191 = load i32, ptr %22, align 4, !tbaa !9
  %192 = load i32, ptr %21, align 4, !tbaa !9
  %193 = sub i32 %192, %191
  store i32 %193, ptr %21, align 4, !tbaa !9
  store i32 67208, ptr %22, align 4, !tbaa !9
  %194 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %194, ptr %23, align 4, !tbaa !9
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.w2c_hermes, ptr %195, i32 0, i32 6
  %197 = load i32, ptr %23, align 4, !tbaa !9
  %198 = zext i32 %197 to i64
  %199 = add i64 %198, 4
  %200 = call i32 @i32_load(ptr noundef %196, i64 noundef %199)
  store i32 %200, ptr %23, align 4, !tbaa !9
  %201 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %201, ptr %10, align 4, !tbaa !9
  %202 = load i32, ptr %23, align 4, !tbaa !9
  %203 = icmp ne i32 %202, 0
  br i1 %203, label %204, label %206

204:                                              ; preds = %184
  %205 = load i32, ptr %21, align 4, !tbaa !9
  br label %208

206:                                              ; preds = %184
  %207 = load i32, ptr %22, align 4, !tbaa !9
  br label %208

208:                                              ; preds = %206, %204
  %209 = phi i32 [ %205, %204 ], [ %207, %206 ]
  store i32 %209, ptr %21, align 4, !tbaa !9
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %20, align 4, !tbaa !9
  %213 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %210, i32 noundef %211, i32 noundef %212, i32 noundef %213)
  %214 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %214, ptr %19, align 4, !tbaa !9
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.w2c_hermes, ptr %215, i32 0, i32 6
  %217 = load i32, ptr %19, align 4, !tbaa !9
  %218 = zext i32 %217 to i64
  %219 = add i64 %218, 24
  %220 = call i32 @i32_load(ptr noundef %216, i64 noundef %219)
  store i32 %220, ptr %19, align 4, !tbaa !9
  %221 = load i32, ptr %19, align 4, !tbaa !9
  %222 = icmp ne i32 %221, 0
  %223 = xor i1 %222, true
  %224 = zext i1 %223 to i32
  store i32 %224, ptr %19, align 4, !tbaa !9
  %225 = load i32, ptr %19, align 4, !tbaa !9
  %226 = icmp ne i32 %225, 0
  br i1 %226, label %227, label %234

227:                                              ; preds = %208
  %228 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %228, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.w2c_hermes, ptr %229, i32 0, i32 6
  %231 = load i32, ptr %19, align 4, !tbaa !9
  %232 = zext i32 %231 to i64
  %233 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %230, i64 noundef %232, i32 noundef %233)
  br label %485

234:                                              ; preds = %208
  %235 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %235, ptr %19, align 4, !tbaa !9
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.w2c_hermes, ptr %236, i32 0, i32 6
  %238 = load i32, ptr %19, align 4, !tbaa !9
  %239 = zext i32 %238 to i64
  %240 = add i64 %239, 32
  %241 = call double @f64_load(ptr noundef %237, i64 noundef %240)
  store double %241, ptr %27, align 8, !tbaa !13
  %242 = load double, ptr %27, align 8, !tbaa !13
  store double %242, ptr %16, align 8, !tbaa !13
  %243 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %243, ptr %19, align 4, !tbaa !9
  store i32 2, ptr %20, align 4, !tbaa !9
  %244 = load i32, ptr %19, align 4, !tbaa !9
  %245 = load i32, ptr %20, align 4, !tbaa !9
  %246 = icmp uge i32 %244, %245
  %247 = zext i1 %246 to i32
  store i32 %247, ptr %19, align 4, !tbaa !9
  %248 = load i32, ptr %19, align 4, !tbaa !9
  %249 = icmp ne i32 %248, 0
  br i1 %249, label %250, label %312

250:                                              ; preds = %234
  %251 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %251, ptr %19, align 4, !tbaa !9
  store i32 8, ptr %20, align 4, !tbaa !9
  %252 = load i32, ptr %20, align 4, !tbaa !9
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = add i32 %253, %252
  store i32 %254, ptr %19, align 4, !tbaa !9
  %255 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %255, ptr %20, align 4, !tbaa !9
  %256 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %256, ptr %21, align 4, !tbaa !9
  store i32 16, ptr %22, align 4, !tbaa !9
  %257 = load i32, ptr %22, align 4, !tbaa !9
  %258 = load i32, ptr %21, align 4, !tbaa !9
  %259 = sub i32 %258, %257
  store i32 %259, ptr %21, align 4, !tbaa !9
  %260 = load ptr, ptr %6, align 8, !tbaa !5
  %261 = load i32, ptr %19, align 4, !tbaa !9
  %262 = load i32, ptr %20, align 4, !tbaa !9
  %263 = load i32, ptr %21, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %260, i32 noundef %261, i32 noundef %262, i32 noundef %263)
  %264 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %264, ptr %19, align 4, !tbaa !9
  %265 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %265, ptr %20, align 4, !tbaa !9
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.w2c_hermes, ptr %266, i32 0, i32 6
  %268 = load i32, ptr %20, align 4, !tbaa !9
  %269 = zext i32 %268 to i64
  %270 = add i64 %269, 8
  %271 = call i32 @i32_load(ptr noundef %267, i64 noundef %270)
  store i32 %271, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %272, ptr %9, align 4, !tbaa !9
  %273 = load ptr, ptr %6, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.w2c_hermes, ptr %273, i32 0, i32 6
  %275 = load i32, ptr %19, align 4, !tbaa !9
  %276 = zext i32 %275 to i64
  %277 = add i64 %276, 24
  %278 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %274, i64 noundef %277, i32 noundef %278)
  %279 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %279, ptr %19, align 4, !tbaa !9
  %280 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %280, ptr %20, align 4, !tbaa !9
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.w2c_hermes, ptr %281, i32 0, i32 6
  %283 = load i32, ptr %20, align 4, !tbaa !9
  %284 = zext i32 %283 to i64
  %285 = add i64 %284, 16
  %286 = call i64 @i64_load(ptr noundef %282, i64 noundef %285)
  store i64 %286, ptr %25, align 8, !tbaa !11
  %287 = load i64, ptr %25, align 8, !tbaa !11
  store i64 %287, ptr %14, align 8, !tbaa !11
  %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 %19, align 4, !tbaa !9
  %291 = zext i32 %290 to i64
  %292 = add i64 %291, 32
  %293 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %289, i64 noundef %292, i64 noundef %293)
  %294 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %294, ptr %19, align 4, !tbaa !9
  %295 = load i32, ptr %19, align 4, !tbaa !9
  %296 = icmp ne i32 %295, 0
  %297 = xor i1 %296, true
  %298 = zext i1 %297 to i32
  store i32 %298, ptr %19, align 4, !tbaa !9
  %299 = load i32, ptr %19, align 4, !tbaa !9
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %301, label %308

301:                                              ; preds = %250
  %302 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %302, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %20, align 4, !tbaa !9
  %303 = load ptr, ptr %6, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.w2c_hermes, ptr %303, i32 0, i32 6
  %305 = load i32, ptr %19, align 4, !tbaa !9
  %306 = zext i32 %305 to i64
  %307 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %304, i64 noundef %306, i32 noundef %307)
  br label %485

308:                                              ; preds = %250
  %309 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %309, ptr %24, align 8, !tbaa !11
  %310 = load i64, ptr %24, align 8, !tbaa !11
  %311 = call double @f64_reinterpret_i64(i64 noundef %310)
  store double %311, ptr %27, align 8, !tbaa !13
  br label %317

312:                                              ; preds = %234
  %313 = load double, ptr %15, align 8, !tbaa !13
  store double %313, ptr %27, align 8, !tbaa !13
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = load double, ptr %27, align 8, !tbaa !13
  %316 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef %314, double noundef %315)
  store double %316, ptr %27, align 8, !tbaa !13
  br label %317

317:                                              ; preds = %312, %308
  %318 = load double, ptr %27, align 8, !tbaa !13
  store double %318, ptr %17, align 8, !tbaa !13
  %319 = load double, ptr %15, align 8, !tbaa !13
  store double %319, ptr %27, align 8, !tbaa !13
  store double 8.640000e+07, ptr %28, align 8, !tbaa !13
  %320 = load double, ptr %28, align 8, !tbaa !13
  %321 = load double, ptr %27, align 8, !tbaa !13
  %322 = fdiv double %321, %320
  store double %322, ptr %27, align 8, !tbaa !13
  %323 = load double, ptr %27, align 8, !tbaa !13
  %324 = call double @wasm_floor(double noundef %323)
  store double %324, ptr %27, align 8, !tbaa !13
  %325 = load double, ptr %27, align 8, !tbaa !13
  store double %325, ptr %18, align 8, !tbaa !13
  store double 8.640000e+07, ptr %28, align 8, !tbaa !13
  %326 = load double, ptr %28, align 8, !tbaa !13
  %327 = load double, ptr %27, align 8, !tbaa !13
  %328 = fmul double %327, %326
  store double %328, ptr %27, align 8, !tbaa !13
  %329 = load double, ptr %15, align 8, !tbaa !13
  store double %329, ptr %28, align 8, !tbaa !13
  %330 = load ptr, ptr %6, align 8, !tbaa !5
  %331 = load double, ptr %28, align 8, !tbaa !13
  %332 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef %330, double noundef %331)
  store double %332, ptr %28, align 8, !tbaa !13
  %333 = load double, ptr %15, align 8, !tbaa !13
  store double %333, ptr %29, align 8, !tbaa !13
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = load double, ptr %29, align 8, !tbaa !13
  %336 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef %334, double noundef %335)
  store double %336, ptr %29, align 8, !tbaa !13
  %337 = load double, ptr %16, align 8, !tbaa !13
  store double %337, ptr %30, align 8, !tbaa !13
  %338 = load double, ptr %17, align 8, !tbaa !13
  store double %338, ptr %31, align 8, !tbaa !13
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = load double, ptr %28, align 8, !tbaa !13
  %341 = load double, ptr %29, align 8, !tbaa !13
  %342 = load double, ptr %30, align 8, !tbaa !13
  %343 = load double, ptr %31, align 8, !tbaa !13
  %344 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %339, double noundef %340, double noundef %341, double noundef %342, double noundef %343)
  store double %344, ptr %28, align 8, !tbaa !13
  %345 = load double, ptr %28, align 8, !tbaa !13
  store double %345, ptr %15, align 8, !tbaa !13
  %346 = load double, ptr %28, align 8, !tbaa !13
  %347 = load double, ptr %27, align 8, !tbaa !13
  %348 = fadd double %347, %346
  store double %348, ptr %27, align 8, !tbaa !13
  %349 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %349, ptr %28, align 8, !tbaa !13
  %350 = load double, ptr %15, align 8, !tbaa !13
  store double %350, ptr %29, align 8, !tbaa !13
  %351 = load double, ptr %29, align 8, !tbaa !13
  %352 = call double @wasm_fabs(double noundef %351)
  store double %352, ptr %29, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %30, align 8, !tbaa !13
  %353 = load double, ptr %29, align 8, !tbaa !13
  %354 = load double, ptr %30, align 8, !tbaa !13
  %355 = fcmp olt double %353, %354
  %356 = zext i1 %355 to i32
  store i32 %356, ptr %21, align 4, !tbaa !9
  %357 = load i32, ptr %21, align 4, !tbaa !9
  %358 = icmp ne i32 %357, 0
  br i1 %358, label %359, label %361

359:                                              ; preds = %317
  %360 = load double, ptr %27, align 8, !tbaa !13
  br label %363

361:                                              ; preds = %317
  %362 = load double, ptr %28, align 8, !tbaa !13
  br label %363

363:                                              ; preds = %361, %359
  %364 = phi double [ %360, %359 ], [ %362, %361 ]
  store double %364, ptr %27, align 8, !tbaa !13
  %365 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %365, ptr %28, align 8, !tbaa !13
  %366 = load double, ptr %18, align 8, !tbaa !13
  store double %366, ptr %29, align 8, !tbaa !13
  %367 = load double, ptr %29, align 8, !tbaa !13
  %368 = call double @wasm_fabs(double noundef %367)
  store double %368, ptr %29, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %30, align 8, !tbaa !13
  %369 = load double, ptr %29, align 8, !tbaa !13
  %370 = load double, ptr %30, align 8, !tbaa !13
  %371 = fcmp olt double %369, %370
  %372 = zext i1 %371 to i32
  store i32 %372, ptr %21, align 4, !tbaa !9
  %373 = load i32, ptr %21, align 4, !tbaa !9
  %374 = icmp ne i32 %373, 0
  br i1 %374, label %375, label %377

375:                                              ; preds = %363
  %376 = load double, ptr %27, align 8, !tbaa !13
  br label %379

377:                                              ; preds = %363
  %378 = load double, ptr %28, align 8, !tbaa !13
  br label %379

379:                                              ; preds = %377, %375
  %380 = phi double [ %376, %375 ], [ %378, %377 ]
  store double %380, ptr %27, align 8, !tbaa !13
  %381 = load double, ptr %27, align 8, !tbaa !13
  store double %381, ptr %15, align 8, !tbaa !13
  %382 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %382, ptr %19, align 4, !tbaa !9
  %383 = load i32, ptr %19, align 4, !tbaa !9
  %384 = icmp ne i32 %383, 0
  %385 = xor i1 %384, true
  %386 = zext i1 %385 to i32
  store i32 %386, ptr %19, align 4, !tbaa !9
  %387 = load i32, ptr %19, align 4, !tbaa !9
  %388 = icmp ne i32 %387, 0
  br i1 %388, label %389, label %395

389:                                              ; preds = %379
  %390 = load double, ptr %15, align 8, !tbaa !13
  store double %390, ptr %27, align 8, !tbaa !13
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = load double, ptr %27, align 8, !tbaa !13
  %393 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %391, double noundef %392)
  store double %393, ptr %27, align 8, !tbaa !13
  %394 = load double, ptr %27, align 8, !tbaa !13
  store double %394, ptr %15, align 8, !tbaa !13
  br label %395

395:                                              ; preds = %389, %379
  %396 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %396, ptr %27, align 8, !tbaa !13
  %397 = load double, ptr %15, align 8, !tbaa !13
  store double %397, ptr %28, align 8, !tbaa !13
  %398 = load double, ptr %28, align 8, !tbaa !13
  %399 = call double @wasm_trunc(double noundef %398)
  store double %399, ptr %28, align 8, !tbaa !13
  store double 0.000000e+00, ptr %29, align 8, !tbaa !13
  %400 = load double, ptr %29, align 8, !tbaa !13
  %401 = load double, ptr %28, align 8, !tbaa !13
  %402 = fadd double %401, %400
  store double %402, ptr %28, align 8, !tbaa !13
  %403 = load double, ptr %15, align 8, !tbaa !13
  store double %403, ptr %29, align 8, !tbaa !13
  %404 = load double, ptr %29, align 8, !tbaa !13
  %405 = call double @wasm_fabs(double noundef %404)
  store double %405, ptr %29, align 8, !tbaa !13
  %406 = load double, ptr %29, align 8, !tbaa !13
  store double %406, ptr %15, align 8, !tbaa !13
  store double 8.640000e+15, ptr %30, align 8, !tbaa !13
  %407 = load double, ptr %29, align 8, !tbaa !13
  %408 = load double, ptr %30, align 8, !tbaa !13
  %409 = fcmp ogt double %407, %408
  %410 = zext i1 %409 to i32
  store i32 %410, ptr %21, align 4, !tbaa !9
  %411 = load i32, ptr %21, align 4, !tbaa !9
  %412 = icmp ne i32 %411, 0
  br i1 %412, label %413, label %415

413:                                              ; preds = %395
  %414 = load double, ptr %27, align 8, !tbaa !13
  br label %417

415:                                              ; preds = %395
  %416 = load double, ptr %28, align 8, !tbaa !13
  br label %417

417:                                              ; preds = %415, %413
  %418 = phi double [ %414, %413 ], [ %416, %415 ]
  store double %418, ptr %27, align 8, !tbaa !13
  %419 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %419, ptr %28, align 8, !tbaa !13
  %420 = load double, ptr %15, align 8, !tbaa !13
  store double %420, ptr %29, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %30, align 8, !tbaa !13
  %421 = load double, ptr %29, align 8, !tbaa !13
  %422 = load double, ptr %30, align 8, !tbaa !13
  %423 = fcmp olt double %421, %422
  %424 = zext i1 %423 to i32
  store i32 %424, ptr %21, align 4, !tbaa !9
  %425 = load double, ptr %15, align 8, !tbaa !13
  store double %425, ptr %30, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !13
  %426 = load double, ptr %30, align 8, !tbaa !13
  %427 = load double, ptr %31, align 8, !tbaa !13
  %428 = fcmp ogt double %426, %427
  %429 = zext i1 %428 to i32
  store i32 %429, ptr %22, align 4, !tbaa !9
  %430 = load i32, ptr %22, align 4, !tbaa !9
  %431 = load i32, ptr %21, align 4, !tbaa !9
  %432 = or i32 %431, %430
  store i32 %432, ptr %21, align 4, !tbaa !9
  %433 = load i32, ptr %21, align 4, !tbaa !9
  %434 = icmp ne i32 %433, 0
  br i1 %434, label %435, label %437

435:                                              ; preds = %417
  %436 = load double, ptr %27, align 8, !tbaa !13
  br label %439

437:                                              ; preds = %417
  %438 = load double, ptr %28, align 8, !tbaa !13
  br label %439

439:                                              ; preds = %437, %435
  %440 = phi double [ %436, %435 ], [ %438, %437 ]
  store double %440, ptr %27, align 8, !tbaa !13
  %441 = load double, ptr %27, align 8, !tbaa !13
  store double %441, ptr %15, align 8, !tbaa !13
  %442 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %442, ptr %19, align 4, !tbaa !9
  %443 = load ptr, ptr %6, align 8, !tbaa !5
  %444 = getelementptr inbounds %struct.w2c_hermes, ptr %443, i32 0, i32 6
  %445 = load i32, ptr %19, align 4, !tbaa !9
  %446 = zext i32 %445 to i64
  %447 = call i32 @i32_load(ptr noundef %444, i64 noundef %446)
  store i32 %447, ptr %19, align 4, !tbaa !9
  %448 = load double, ptr %15, align 8, !tbaa !13
  store double %448, ptr %28, align 8, !tbaa !13
  %449 = load ptr, ptr %6, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.w2c_hermes, ptr %449, i32 0, i32 6
  %451 = load i32, ptr %19, align 4, !tbaa !9
  %452 = zext i32 %451 to i64
  %453 = add i64 %452, 24
  %454 = load double, ptr %28, align 8, !tbaa !13
  call void @f64_store(ptr noundef %450, i64 noundef %453, double noundef %454)
  %455 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %455, ptr %19, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %25, align 8, !tbaa !11
  %456 = load double, ptr %15, align 8, !tbaa !13
  store double %456, ptr %29, align 8, !tbaa !13
  %457 = load double, ptr %29, align 8, !tbaa !13
  %458 = call i64 @i64_reinterpret_f64(double noundef %457)
  store i64 %458, ptr %26, align 8, !tbaa !11
  %459 = load double, ptr %15, align 8, !tbaa !13
  store double %459, ptr %30, align 8, !tbaa !13
  %460 = load double, ptr %15, align 8, !tbaa !13
  store double %460, ptr %31, align 8, !tbaa !13
  %461 = load double, ptr %30, align 8, !tbaa !13
  %462 = load double, ptr %31, align 8, !tbaa !13
  %463 = fcmp une double %461, %462
  %464 = zext i1 %463 to i32
  store i32 %464, ptr %22, align 4, !tbaa !9
  %465 = load i32, ptr %22, align 4, !tbaa !9
  %466 = icmp ne i32 %465, 0
  br i1 %466, label %467, label %469

467:                                              ; preds = %439
  %468 = load i64, ptr %25, align 8, !tbaa !11
  br label %471

469:                                              ; preds = %439
  %470 = load i64, ptr %26, align 8, !tbaa !11
  br label %471

471:                                              ; preds = %469, %467
  %472 = phi i64 [ %468, %467 ], [ %470, %469 ]
  store i64 %472, ptr %25, align 8, !tbaa !11
  %473 = load ptr, ptr %6, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.w2c_hermes, ptr %473, i32 0, i32 6
  %475 = load i32, ptr %19, align 4, !tbaa !9
  %476 = zext i32 %475 to i64
  %477 = add i64 %476, 8
  %478 = load i64, ptr %25, align 8, !tbaa !11
  call void @i64_store(ptr noundef %474, i64 noundef %477, i64 noundef %478)
  %479 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %479, ptr %19, align 4, !tbaa !9
  store i32 1, ptr %20, align 4, !tbaa !9
  %480 = load ptr, ptr %6, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.w2c_hermes, ptr %480, i32 0, i32 6
  %482 = load i32, ptr %19, align 4, !tbaa !9
  %483 = zext i32 %482 to i64
  %484 = load i32, ptr %20, align 4, !tbaa !9
  call void @i32_store(ptr noundef %481, i64 noundef %483, i32 noundef %484)
  br label %485

485:                                              ; preds = %471, %301, %227, %116
  %486 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %486, ptr %19, align 4, !tbaa !9
  store i32 -64, ptr %20, align 4, !tbaa !9
  %487 = load i32, ptr %20, align 4, !tbaa !9
  %488 = load i32, ptr %19, align 4, !tbaa !9
  %489 = sub i32 %488, %487
  store i32 %489, ptr %19, align 4, !tbaa !9
  %490 = load i32, ptr %19, align 4, !tbaa !9
  %491 = load ptr, ptr %6, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.w2c_hermes, ptr %491, i32 0, i32 3
  store i32 %490, ptr %492, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

20:                                               ; preds = %15, %5
  %21 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef 67200)
  %.pre = and i64 %21, 4294967295
  %22 = icmp ult i64 %21, -844424930131968
  br label %23

23:                                               ; preds = %15, %20
  %.pre-phi = phi i64 [ %16, %15 ], [ %.pre, %20 ]
  %.0256 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0255 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not259 = or i1 %.0255, %24
  br i1 %.not259, label %25, label %34

25:                                               ; preds = %23
  %26 = zext i32 %8 to i64
  %27 = add nuw nsw i64 %26, 56
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef 0)
  %28 = add nuw nsw i64 %26, 48
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef 227633266689)
  %29 = add nuw nsw i64 %26, 32
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef 3)
  %30 = add nuw nsw i64 %26, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 31949)
  %31 = add i32 %7, -40
  %32 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3ARuntime0x3A0x3AraiseTypeError0x28hermes0x3A0x3Avm0x3A0x3ATwineChar160x20const0x260x29(ptr noundef nonnull %0, i32 noundef %3, i32 noundef %31)
  %33 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %33, i32 noundef %32)
  br label %104

34:                                               ; preds = %23
  %35 = add nuw nsw i64 %.pre-phi, 24
  %36 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %35)
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %37, label %39

37:                                               ; preds = %34
  %38 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef nonnull %0, double noundef %36) #3
  br label %39

39:                                               ; preds = %37, %34
  %.0254 = phi double [ %38, %37 ], [ %36, %34 ]
  %40 = add i32 %7, -40
  %41 = add i32 %11, -8
  %42 = add nuw nsw i64 %10, 4
  %43 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %42)
  %.not260 = icmp eq i32 %43, 0
  %44 = select i1 %.not260, i32 67208, i32 %41
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %40, i32 noundef %3, i32 noundef %44) #3
  %45 = zext i32 %8 to i64
  %46 = add nuw nsw i64 %45, 24
  %47 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %46)
  %.not261 = icmp eq i32 %47, 0
  br i1 %.not261, label %48, label %50

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

50:                                               ; preds = %39
  %51 = add nuw nsw i64 %45, 32
  %52 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %51)
  %53 = icmp ugt i32 %43, 1
  br i1 %53, label %54, label %65

54:                                               ; preds = %50
  %55 = add i32 %7, -56
  %56 = add i32 %11, -16
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %3, i32 noundef %56) #3
  %57 = add nuw nsw i64 %45, 8
  %58 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %57)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %58)
  %59 = add nuw nsw i64 %45, 16
  %60 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %59)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %51, i64 noundef %60)
  %.not262 = icmp eq i32 %58, 0
  br i1 %.not262, label %61, label %63

61:                                               ; preds = %54
  %62 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %62, i32 noundef 0)
  br label %104

63:                                               ; preds = %54
  %64 = tail call double @f64_reinterpret_i64(i64 noundef %60)
  br label %67

65:                                               ; preds = %50
  %66 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0254) #3
  br label %67

67:                                               ; preds = %65, %63
  %.0 = phi double [ %64, %63 ], [ %66, %65 ]
  %68 = fdiv double %.0254, 8.640000e+07
  %69 = tail call double @wasm_floor(double noundef %68)
  %70 = fmul double %69, 8.640000e+07
  %71 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0254) #3
  %72 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AminFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0254) #3
  %73 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %71, double noundef %72, double noundef %52, double noundef %.0) #3
  %74 = fadd double %70, %73
  %75 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %76 = tail call double @wasm_fabs(double noundef %73)
  %77 = fcmp one double %76, 0x7FF0000000000000
  %78 = select i1 %77, double %74, double %75
  %79 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %80 = tail call double @wasm_fabs(double noundef %69)
  %81 = fcmp one double %80, 0x7FF0000000000000
  %82 = select i1 %81, double %78, double %79
  br i1 %.not, label %83, label %85

83:                                               ; preds = %67
  %84 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef nonnull %0, double noundef %82) #3
  br label %85

85:                                               ; preds = %83, %67
  %.1 = phi double [ %84, %83 ], [ %82, %67 ]
  %86 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %87 = tail call double @wasm_trunc(double noundef %.1)
  %88 = fadd double %87, 0.000000e+00
  %89 = tail call double @wasm_fabs(double noundef %.1)
  %90 = fcmp ogt double %89, 8.640000e+15
  %91 = select i1 %90, double %86, double %88
  %92 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %93 = fcmp one double %89, 0x7FF0000000000000
  %94 = select i1 %93, double %91, double %92
  %95 = zext i32 %.0256 to i64
  %96 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %95)
  %97 = zext i32 %96 to i64
  %98 = add nuw nsw i64 %97, 24
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %98, double noundef %94)
  %99 = tail call i64 @i64_reinterpret_f64(double noundef %94)
  %100 = fcmp uno double %94, 0.000000e+00
  %101 = select i1 %100, i64 9221120237041090560, i64 %99
  %102 = zext i32 %1 to i64
  %103 = add nuw nsw i64 %102, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %103, i64 noundef %101)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %102, i32 noundef 1)
  br label %104

104:                                              ; preds = %85, %61, %48, %25
  store i32 %7, ptr %6, align 8, !tbaa !5
  ret void
}

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

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

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

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