; 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 dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef, double noundef) #0

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

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr 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_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(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_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetMonth_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 i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = 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 4, ptr %18) #4
  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 8, 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
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.w2c_hermes, ptr %31, i32 0, i32 3
  %33 = load i32, ptr %32, align 8, !tbaa !15
  store i32 %33, ptr %18, align 4, !tbaa !9
  store i32 -64, ptr %19, align 4, !tbaa !9
  %34 = load i32, ptr %19, align 4, !tbaa !9
  %35 = load i32, ptr %18, align 4, !tbaa !9
  %36 = add i32 %35, %34
  store i32 %36, ptr %18, align 4, !tbaa !9
  %37 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %37, ptr %11, align 4, !tbaa !9
  %38 = load i32, ptr %18, align 4, !tbaa !9
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.w2c_hermes, ptr %39, i32 0, i32 3
  store i32 %38, ptr %40, align 8, !tbaa !15
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %18, align 4, !tbaa !9
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.w2c_hermes, ptr %42, i32 0, i32 6
  %44 = load i32, ptr %18, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call i32 @i32_load(ptr noundef %43, i64 noundef %45)
  store i32 %46, ptr %18, align 4, !tbaa !9
  %47 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %47, ptr %12, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.w2c_hermes, ptr %48, i32 0, i32 6
  %50 = load i32, ptr %18, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = call i64 @i64_load(ptr noundef %49, i64 noundef %51)
  store i64 %52, ptr %23, align 8, !tbaa !11
  %53 = load i64, ptr %23, align 8, !tbaa !11
  store i64 %53, ptr %14, align 8, !tbaa !11
  store i64 -844424930131968, ptr %24, align 8, !tbaa !11
  %54 = load i64, ptr %23, align 8, !tbaa !11
  %55 = load i64, ptr %24, align 8, !tbaa !11
  %56 = icmp uge i64 %54, %55
  %57 = zext i1 %56 to i32
  store i32 %57, ptr %18, align 4, !tbaa !9
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %60, label %84

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

82:                                               ; preds = %60
  br label %92

83:                                               ; preds = %60
  br label %84

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

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

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

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

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

183:                                              ; preds = %177, %159
  %184 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %184, ptr %18, align 4, !tbaa !9
  store i32 24, ptr %19, align 4, !tbaa !9
  %185 = load i32, ptr %19, align 4, !tbaa !9
  %186 = load i32, ptr %18, align 4, !tbaa !9
  %187 = add i32 %186, %185
  store i32 %187, ptr %18, align 4, !tbaa !9
  %188 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %188, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %189, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %190 = load i32, ptr %21, align 4, !tbaa !9
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = sub i32 %191, %190
  store i32 %192, ptr %20, align 4, !tbaa !9
  store i32 67208, ptr %21, align 4, !tbaa !9
  %193 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %193, ptr %22, align 4, !tbaa !9
  %194 = load ptr, ptr %6, 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, 4
  %199 = call i32 @i32_load(ptr noundef %195, i64 noundef %198)
  store i32 %199, ptr %22, align 4, !tbaa !9
  %200 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %200, ptr %10, align 4, !tbaa !9
  %201 = load i32, ptr %22, align 4, !tbaa !9
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %205

203:                                              ; preds = %183
  %204 = load i32, ptr %20, align 4, !tbaa !9
  br label %207

205:                                              ; preds = %183
  %206 = load i32, ptr %21, align 4, !tbaa !9
  br label %207

207:                                              ; preds = %205, %203
  %208 = phi i32 [ %204, %203 ], [ %206, %205 ]
  store i32 %208, ptr %20, align 4, !tbaa !9
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = load i32, ptr %18, align 4, !tbaa !9
  %211 = load i32, ptr %19, align 4, !tbaa !9
  %212 = load i32, ptr %20, 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 %11, align 4, !tbaa !9
  store i32 %213, ptr %18, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.w2c_hermes, ptr %214, i32 0, i32 6
  %216 = load i32, ptr %18, 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 %18, align 4, !tbaa !9
  %220 = load i32, ptr %18, align 4, !tbaa !9
  %221 = icmp ne i32 %220, 0
  %222 = xor i1 %221, true
  %223 = zext i1 %222 to i32
  store i32 %223, ptr %18, align 4, !tbaa !9
  %224 = load i32, ptr %18, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %233

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

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

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

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

307:                                              ; preds = %249
  %308 = load i64, ptr %14, align 8, !tbaa !11
  store i64 %308, ptr %23, align 8, !tbaa !11
  %309 = load i64, ptr %23, align 8, !tbaa !11
  %310 = call double @f64_reinterpret_i64(i64 noundef %309)
  store double %310, ptr %26, align 8, !tbaa !13
  br label %316

311:                                              ; preds = %233
  %312 = load double, ptr %15, align 8, !tbaa !13
  store double %312, ptr %26, align 8, !tbaa !13
  %313 = load ptr, ptr %6, align 8, !tbaa !5
  %314 = load double, ptr %26, align 8, !tbaa !13
  %315 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef %313, double noundef %314)
  store double %315, ptr %26, align 8, !tbaa !13
  br label %316

316:                                              ; preds = %311, %307
  %317 = load double, ptr %26, align 8, !tbaa !13
  store double %317, ptr %17, align 8, !tbaa !13
  %318 = load double, ptr %15, align 8, !tbaa !13
  store double %318, ptr %26, align 8, !tbaa !13
  %319 = load ptr, ptr %6, align 8, !tbaa !5
  %320 = load double, ptr %26, align 8, !tbaa !13
  %321 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AyearFromTime0x28double0x29(ptr noundef %319, double noundef %320)
  store double %321, ptr %26, align 8, !tbaa !13
  %322 = load double, ptr %16, align 8, !tbaa !13
  store double %322, ptr %27, align 8, !tbaa !13
  %323 = load double, ptr %17, align 8, !tbaa !13
  store double %323, ptr %28, align 8, !tbaa !13
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = load double, ptr %26, align 8, !tbaa !13
  %326 = load double, ptr %27, align 8, !tbaa !13
  %327 = load double, ptr %28, align 8, !tbaa !13
  %328 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %324, double noundef %325, double noundef %326, double noundef %327)
  store double %328, ptr %26, align 8, !tbaa !13
  %329 = load double, ptr %26, align 8, !tbaa !13
  store double %329, ptr %16, align 8, !tbaa !13
  store double 8.640000e+07, ptr %27, align 8, !tbaa !13
  %330 = load double, ptr %27, align 8, !tbaa !13
  %331 = load double, ptr %26, align 8, !tbaa !13
  %332 = fmul double %331, %330
  store double %332, ptr %26, align 8, !tbaa !13
  %333 = load double, ptr %15, align 8, !tbaa !13
  store double %333, ptr %27, align 8, !tbaa !13
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = load double, ptr %27, align 8, !tbaa !13
  %336 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(ptr noundef %334, double noundef %335)
  store double %336, ptr %27, align 8, !tbaa !13
  %337 = load double, ptr %27, align 8, !tbaa !13
  store double %337, ptr %15, align 8, !tbaa !13
  %338 = load double, ptr %27, align 8, !tbaa !13
  %339 = load double, ptr %26, align 8, !tbaa !13
  %340 = fadd double %339, %338
  store double %340, ptr %26, align 8, !tbaa !13
  %341 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %341, ptr %27, align 8, !tbaa !13
  %342 = load double, ptr %15, align 8, !tbaa !13
  store double %342, ptr %28, align 8, !tbaa !13
  %343 = load double, ptr %28, align 8, !tbaa !13
  %344 = call double @wasm_fabs(double noundef %343)
  store double %344, ptr %28, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %29, align 8, !tbaa !13
  %345 = load double, ptr %28, align 8, !tbaa !13
  %346 = load double, ptr %29, align 8, !tbaa !13
  %347 = fcmp olt double %345, %346
  %348 = zext i1 %347 to i32
  store i32 %348, ptr %20, align 4, !tbaa !9
  %349 = load i32, ptr %20, align 4, !tbaa !9
  %350 = icmp ne i32 %349, 0
  br i1 %350, label %351, label %353

351:                                              ; preds = %316
  %352 = load double, ptr %26, align 8, !tbaa !13
  br label %355

353:                                              ; preds = %316
  %354 = load double, ptr %27, align 8, !tbaa !13
  br label %355

355:                                              ; preds = %353, %351
  %356 = phi double [ %352, %351 ], [ %354, %353 ]
  store double %356, ptr %26, align 8, !tbaa !13
  %357 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %357, ptr %27, align 8, !tbaa !13
  %358 = load double, ptr %16, align 8, !tbaa !13
  store double %358, ptr %28, align 8, !tbaa !13
  %359 = load double, ptr %28, align 8, !tbaa !13
  %360 = call double @wasm_fabs(double noundef %359)
  store double %360, ptr %28, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %29, align 8, !tbaa !13
  %361 = load double, ptr %28, align 8, !tbaa !13
  %362 = load double, ptr %29, align 8, !tbaa !13
  %363 = fcmp olt double %361, %362
  %364 = zext i1 %363 to i32
  store i32 %364, ptr %20, align 4, !tbaa !9
  %365 = load i32, ptr %20, align 4, !tbaa !9
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %367, label %369

367:                                              ; preds = %355
  %368 = load double, ptr %26, align 8, !tbaa !13
  br label %371

369:                                              ; preds = %355
  %370 = load double, ptr %27, align 8, !tbaa !13
  br label %371

371:                                              ; preds = %369, %367
  %372 = phi double [ %368, %367 ], [ %370, %369 ]
  store double %372, ptr %26, align 8, !tbaa !13
  %373 = load double, ptr %26, align 8, !tbaa !13
  store double %373, ptr %15, align 8, !tbaa !13
  %374 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %374, ptr %18, align 4, !tbaa !9
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = icmp ne i32 %375, 0
  %377 = xor i1 %376, true
  %378 = zext i1 %377 to i32
  store i32 %378, ptr %18, align 4, !tbaa !9
  %379 = load i32, ptr %18, align 4, !tbaa !9
  %380 = icmp ne i32 %379, 0
  br i1 %380, label %381, label %387

381:                                              ; preds = %371
  %382 = load double, ptr %15, align 8, !tbaa !13
  store double %382, ptr %26, align 8, !tbaa !13
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  %384 = load double, ptr %26, align 8, !tbaa !13
  %385 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %383, double noundef %384)
  store double %385, ptr %26, align 8, !tbaa !13
  %386 = load double, ptr %26, align 8, !tbaa !13
  store double %386, ptr %15, align 8, !tbaa !13
  br label %387

387:                                              ; preds = %381, %371
  %388 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %388, ptr %26, align 8, !tbaa !13
  %389 = load double, ptr %15, align 8, !tbaa !13
  store double %389, ptr %27, align 8, !tbaa !13
  %390 = load double, ptr %27, align 8, !tbaa !13
  %391 = call double @wasm_trunc(double noundef %390)
  store double %391, ptr %27, align 8, !tbaa !13
  store double 0.000000e+00, ptr %28, align 8, !tbaa !13
  %392 = load double, ptr %28, align 8, !tbaa !13
  %393 = load double, ptr %27, align 8, !tbaa !13
  %394 = fadd double %393, %392
  store double %394, ptr %27, align 8, !tbaa !13
  %395 = load double, ptr %15, align 8, !tbaa !13
  store double %395, ptr %28, align 8, !tbaa !13
  %396 = load double, ptr %28, align 8, !tbaa !13
  %397 = call double @wasm_fabs(double noundef %396)
  store double %397, ptr %28, align 8, !tbaa !13
  %398 = load double, ptr %28, align 8, !tbaa !13
  store double %398, ptr %15, align 8, !tbaa !13
  store double 8.640000e+15, ptr %29, align 8, !tbaa !13
  %399 = load double, ptr %28, align 8, !tbaa !13
  %400 = load double, ptr %29, align 8, !tbaa !13
  %401 = fcmp ogt double %399, %400
  %402 = zext i1 %401 to i32
  store i32 %402, ptr %20, align 4, !tbaa !9
  %403 = load i32, ptr %20, align 4, !tbaa !9
  %404 = icmp ne i32 %403, 0
  br i1 %404, label %405, label %407

405:                                              ; preds = %387
  %406 = load double, ptr %26, align 8, !tbaa !13
  br label %409

407:                                              ; preds = %387
  %408 = load double, ptr %27, align 8, !tbaa !13
  br label %409

409:                                              ; preds = %407, %405
  %410 = phi double [ %406, %405 ], [ %408, %407 ]
  store double %410, ptr %26, align 8, !tbaa !13
  %411 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %411, ptr %27, align 8, !tbaa !13
  %412 = load double, ptr %15, align 8, !tbaa !13
  store double %412, ptr %28, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %29, align 8, !tbaa !13
  %413 = load double, ptr %28, align 8, !tbaa !13
  %414 = load double, ptr %29, align 8, !tbaa !13
  %415 = fcmp olt double %413, %414
  %416 = zext i1 %415 to i32
  store i32 %416, ptr %20, align 4, !tbaa !9
  %417 = load double, ptr %15, align 8, !tbaa !13
  store double %417, ptr %29, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %30, align 8, !tbaa !13
  %418 = load double, ptr %29, align 8, !tbaa !13
  %419 = load double, ptr %30, align 8, !tbaa !13
  %420 = fcmp ogt double %418, %419
  %421 = zext i1 %420 to i32
  store i32 %421, ptr %21, align 4, !tbaa !9
  %422 = load i32, ptr %21, align 4, !tbaa !9
  %423 = load i32, ptr %20, align 4, !tbaa !9
  %424 = or i32 %423, %422
  store i32 %424, ptr %20, align 4, !tbaa !9
  %425 = load i32, ptr %20, align 4, !tbaa !9
  %426 = icmp ne i32 %425, 0
  br i1 %426, label %427, label %429

427:                                              ; preds = %409
  %428 = load double, ptr %26, align 8, !tbaa !13
  br label %431

429:                                              ; preds = %409
  %430 = load double, ptr %27, align 8, !tbaa !13
  br label %431

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

459:                                              ; preds = %431
  %460 = load i64, ptr %24, align 8, !tbaa !11
  br label %463

461:                                              ; preds = %431
  %462 = load i64, ptr %25, align 8, !tbaa !11
  br label %463

463:                                              ; preds = %461, %459
  %464 = phi i64 [ %460, %459 ], [ %462, %461 ]
  store i64 %464, ptr %24, align 8, !tbaa !11
  %465 = load ptr, ptr %6, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.w2c_hermes, ptr %465, i32 0, i32 6
  %467 = load i32, ptr %18, align 4, !tbaa !9
  %468 = zext i32 %467 to i64
  %469 = add i64 %468, 8
  %470 = load i64, ptr %24, align 8, !tbaa !11
  call void @i64_store(ptr noundef %466, i64 noundef %469, i64 noundef %470)
  %471 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %471, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %19, align 4, !tbaa !9
  %472 = load ptr, ptr %6, align 8, !tbaa !5
  %473 = getelementptr inbounds %struct.w2c_hermes, ptr %472, i32 0, i32 6
  %474 = load i32, ptr %18, align 4, !tbaa !9
  %475 = zext i32 %474 to i64
  %476 = load i32, ptr %19, align 4, !tbaa !9
  call void @i32_store(ptr noundef %473, i64 noundef %475, i32 noundef %476)
  br label %477

477:                                              ; preds = %463, %300, %226, %115
  %478 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %478, ptr %18, align 4, !tbaa !9
  store i32 -64, ptr %19, align 4, !tbaa !9
  %479 = load i32, ptr %19, align 4, !tbaa !9
  %480 = load i32, ptr %18, align 4, !tbaa !9
  %481 = sub i32 %480, %479
  store i32 %481, ptr %18, align 4, !tbaa !9
  %482 = load i32, ptr %18, align 4, !tbaa !9
  %483 = load ptr, ptr %6, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.w2c_hermes, ptr %483, i32 0, i32 3
  store i32 %482, ptr %484, align 8, !tbaa !15
  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 8, 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 4, 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
}

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 dso_local double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef, double noundef) local_unnamed_addr #0

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

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

declare double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr 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_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(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_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetMonth_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 ]
  %.0251 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0250 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not254 = or i1 %.0250, %24
  br i1 %.not254, 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 219043332097)
  %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 32109)
  %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 %102

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
  %.0249 = 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)
  %.not255 = icmp eq i32 %43, 0
  %44 = select i1 %.not255, 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)
  %.not256 = icmp eq i32 %47, 0
  br i1 %.not256, 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 %102

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)
  %.not257 = icmp eq i32 %58, 0
  br i1 %.not257, 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 %102

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_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0249)
  br label %67

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

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

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

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

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