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

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

84:                                               ; preds = %62
  br label %94

85:                                               ; preds = %62
  br label %86

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

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

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

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

179:                                              ; preds = %161
  %180 = load double, ptr %16, align 8, !tbaa !13
  store double %180, ptr %28, align 8, !tbaa !13
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = load double, ptr %28, align 8, !tbaa !13
  %183 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AlocalTime0x28double0x29(ptr noundef %181, double noundef %182)
  store double %183, ptr %28, align 8, !tbaa !13
  %184 = load double, ptr %28, align 8, !tbaa !13
  store double %184, ptr %16, align 8, !tbaa !13
  br label %185

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

205:                                              ; preds = %185
  %206 = load i32, ptr %22, align 4, !tbaa !9
  br label %209

207:                                              ; preds = %185
  %208 = load i32, ptr %23, align 4, !tbaa !9
  br label %209

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

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

235:                                              ; preds = %209
  %236 = load double, ptr %16, align 8, !tbaa !13
  store double %236, ptr %28, align 8, !tbaa !13
  store double 0.000000e+00, ptr %29, align 8, !tbaa !13
  %237 = load double, ptr %16, align 8, !tbaa !13
  store double %237, ptr %30, align 8, !tbaa !13
  %238 = load double, ptr %16, align 8, !tbaa !13
  store double %238, ptr %31, align 8, !tbaa !13
  %239 = load double, ptr %30, align 8, !tbaa !13
  %240 = load double, ptr %31, align 8, !tbaa !13
  %241 = fcmp oeq double %239, %240
  %242 = zext i1 %241 to i32
  store i32 %242, ptr %22, align 4, !tbaa !9
  %243 = load i32, ptr %22, align 4, !tbaa !9
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %247

245:                                              ; preds = %235
  %246 = load double, ptr %28, align 8, !tbaa !13
  br label %249

247:                                              ; preds = %235
  %248 = load double, ptr %29, align 8, !tbaa !13
  br label %249

249:                                              ; preds = %247, %245
  %250 = phi double [ %246, %245 ], [ %248, %247 ]
  store double %250, ptr %28, align 8, !tbaa !13
  %251 = load double, ptr %28, align 8, !tbaa !13
  store double %251, ptr %16, align 8, !tbaa !13
  %252 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %252, ptr %20, align 4, !tbaa !9
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.w2c_hermes, ptr %253, i32 0, i32 6
  %255 = load i32, ptr %20, align 4, !tbaa !9
  %256 = zext i32 %255 to i64
  %257 = add i64 %256, 32
  %258 = call double @f64_load(ptr noundef %254, i64 noundef %257)
  store double %258, ptr %28, align 8, !tbaa !13
  %259 = load double, ptr %28, align 8, !tbaa !13
  store double %259, ptr %18, align 8, !tbaa !13
  %260 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %260, ptr %20, align 4, !tbaa !9
  store i32 2, ptr %21, align 4, !tbaa !9
  %261 = load i32, ptr %20, align 4, !tbaa !9
  %262 = load i32, ptr %21, align 4, !tbaa !9
  %263 = icmp uge i32 %261, %262
  %264 = zext i1 %263 to i32
  store i32 %264, ptr %20, align 4, !tbaa !9
  %265 = load i32, ptr %20, align 4, !tbaa !9
  %266 = icmp ne i32 %265, 0
  br i1 %266, label %267, label %400

267:                                              ; preds = %249
  %268 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %268, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %269 = load i32, ptr %21, align 4, !tbaa !9
  %270 = load i32, ptr %20, align 4, !tbaa !9
  %271 = add i32 %270, %269
  store i32 %271, ptr %20, align 4, !tbaa !9
  %272 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %272, ptr %21, align 4, !tbaa !9
  %273 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %273, ptr %22, align 4, !tbaa !9
  store i32 16, ptr %23, align 4, !tbaa !9
  %274 = load i32, ptr %23, align 4, !tbaa !9
  %275 = load i32, ptr %22, align 4, !tbaa !9
  %276 = sub i32 %275, %274
  store i32 %276, ptr %22, align 4, !tbaa !9
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = load i32, ptr %20, align 4, !tbaa !9
  %279 = load i32, ptr %21, align 4, !tbaa !9
  %280 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %277, i32 noundef %278, i32 noundef %279, i32 noundef %280)
  %281 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %281, ptr %20, align 4, !tbaa !9
  %282 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %282, ptr %21, align 4, !tbaa !9
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.w2c_hermes, ptr %283, i32 0, i32 6
  %285 = load i32, ptr %21, align 4, !tbaa !9
  %286 = zext i32 %285 to i64
  %287 = add i64 %286, 8
  %288 = call i32 @i32_load(ptr noundef %284, i64 noundef %287)
  store i32 %288, ptr %21, align 4, !tbaa !9
  %289 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %289, ptr %14, align 4, !tbaa !9
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.w2c_hermes, ptr %290, i32 0, i32 6
  %292 = load i32, ptr %20, align 4, !tbaa !9
  %293 = zext i32 %292 to i64
  %294 = add i64 %293, 24
  %295 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %291, i64 noundef %294, i32 noundef %295)
  %296 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %296, ptr %20, align 4, !tbaa !9
  %297 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %297, ptr %21, align 4, !tbaa !9
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.w2c_hermes, ptr %298, i32 0, i32 6
  %300 = load i32, ptr %21, align 4, !tbaa !9
  %301 = zext i32 %300 to i64
  %302 = add i64 %301, 16
  %303 = call i64 @i64_load(ptr noundef %299, i64 noundef %302)
  store i64 %303, ptr %26, align 8, !tbaa !11
  %304 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %304, ptr %15, align 8, !tbaa !11
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.w2c_hermes, ptr %305, i32 0, i32 6
  %307 = load i32, ptr %20, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = add i64 %308, 32
  %310 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store(ptr noundef %306, i64 noundef %309, i64 noundef %310)
  %311 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %311, ptr %20, align 4, !tbaa !9
  %312 = load i32, ptr %20, align 4, !tbaa !9
  %313 = icmp ne i32 %312, 0
  %314 = xor i1 %313, true
  %315 = zext i1 %314 to i32
  store i32 %315, ptr %20, align 4, !tbaa !9
  %316 = load i32, ptr %20, align 4, !tbaa !9
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %325

318:                                              ; preds = %267
  %319 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %319, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %320 = load ptr, ptr %6, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.w2c_hermes, ptr %320, i32 0, i32 6
  %322 = load i32, ptr %20, align 4, !tbaa !9
  %323 = zext i32 %322 to i64
  %324 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %321, i64 noundef %323, i32 noundef %324)
  br label %571

325:                                              ; preds = %267
  %326 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %326, ptr %25, align 8, !tbaa !11
  %327 = load i64, ptr %25, align 8, !tbaa !11
  %328 = call double @f64_reinterpret_i64(i64 noundef %327)
  store double %328, ptr %28, align 8, !tbaa !13
  %329 = load double, ptr %28, align 8, !tbaa !13
  store double %329, ptr %17, align 8, !tbaa !13
  %330 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %330, ptr %21, align 4, !tbaa !9
  store i32 3, ptr %22, align 4, !tbaa !9
  %331 = load i32, ptr %21, align 4, !tbaa !9
  %332 = load i32, ptr %22, align 4, !tbaa !9
  %333 = icmp ult i32 %331, %332
  %334 = zext i1 %333 to i32
  store i32 %334, ptr %21, align 4, !tbaa !9
  %335 = load i32, ptr %21, align 4, !tbaa !9
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %338

337:                                              ; preds = %325
  br label %407

338:                                              ; preds = %325
  %339 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %339, ptr %20, align 4, !tbaa !9
  store i32 8, ptr %21, align 4, !tbaa !9
  %340 = load i32, ptr %21, align 4, !tbaa !9
  %341 = load i32, ptr %20, align 4, !tbaa !9
  %342 = add i32 %341, %340
  store i32 %342, ptr %20, align 4, !tbaa !9
  %343 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %343, ptr %21, align 4, !tbaa !9
  %344 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %344, ptr %22, align 4, !tbaa !9
  store i32 24, ptr %23, align 4, !tbaa !9
  %345 = load i32, ptr %23, align 4, !tbaa !9
  %346 = load i32, ptr %22, align 4, !tbaa !9
  %347 = sub i32 %346, %345
  store i32 %347, ptr %22, align 4, !tbaa !9
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load i32, ptr %20, align 4, !tbaa !9
  %350 = load i32, ptr %21, align 4, !tbaa !9
  %351 = load i32, ptr %22, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %348, i32 noundef %349, i32 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %20, align 4, !tbaa !9
  %353 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %353, ptr %21, align 4, !tbaa !9
  %354 = load ptr, ptr %6, align 8, !tbaa !5
  %355 = getelementptr inbounds %struct.w2c_hermes, ptr %354, i32 0, i32 6
  %356 = load i32, ptr %21, align 4, !tbaa !9
  %357 = zext i32 %356 to i64
  %358 = add i64 %357, 8
  %359 = call i32 @i32_load(ptr noundef %355, i64 noundef %358)
  store i32 %359, ptr %21, align 4, !tbaa !9
  %360 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %360, ptr %9, align 4, !tbaa !9
  %361 = load ptr, ptr %6, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.w2c_hermes, ptr %361, i32 0, i32 6
  %363 = load i32, ptr %20, align 4, !tbaa !9
  %364 = zext i32 %363 to i64
  %365 = add i64 %364, 24
  %366 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %362, i64 noundef %365, i32 noundef %366)
  %367 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %367, ptr %20, align 4, !tbaa !9
  %368 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %368, ptr %21, align 4, !tbaa !9
  %369 = load ptr, ptr %6, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.w2c_hermes, ptr %369, i32 0, i32 6
  %371 = load i32, ptr %21, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = add i64 %372, 16
  %374 = call i64 @i64_load(ptr noundef %370, i64 noundef %373)
  store i64 %374, ptr %26, align 8, !tbaa !11
  %375 = load i64, ptr %26, align 8, !tbaa !11
  store i64 %375, ptr %15, align 8, !tbaa !11
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.w2c_hermes, ptr %376, i32 0, i32 6
  %378 = load i32, ptr %20, align 4, !tbaa !9
  %379 = zext i32 %378 to i64
  %380 = add i64 %379, 32
  %381 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store(ptr noundef %377, i64 noundef %380, i64 noundef %381)
  %382 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %382, ptr %20, align 4, !tbaa !9
  %383 = load i32, ptr %20, 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 %20, align 4, !tbaa !9
  %387 = load i32, ptr %20, align 4, !tbaa !9
  %388 = icmp ne i32 %387, 0
  br i1 %388, label %389, label %396

389:                                              ; preds = %338
  %390 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %390, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !9
  %391 = load ptr, ptr %6, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.w2c_hermes, ptr %391, i32 0, i32 6
  %393 = load i32, ptr %20, align 4, !tbaa !9
  %394 = zext i32 %393 to i64
  %395 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %392, i64 noundef %394, i32 noundef %395)
  br label %571

396:                                              ; preds = %338
  %397 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %397, ptr %25, align 8, !tbaa !11
  %398 = load i64, ptr %25, align 8, !tbaa !11
  %399 = call double @f64_reinterpret_i64(i64 noundef %398)
  store double %399, ptr %28, align 8, !tbaa !13
  br label %413

400:                                              ; preds = %249
  %401 = load double, ptr %16, align 8, !tbaa !13
  store double %401, ptr %28, align 8, !tbaa !13
  %402 = load ptr, ptr %6, align 8, !tbaa !5
  %403 = load double, ptr %28, align 8, !tbaa !13
  %404 = call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef %402, double noundef %403)
  store i32 %404, ptr %20, align 4, !tbaa !9
  %405 = load i32, ptr %20, align 4, !tbaa !9
  %406 = uitofp i32 %405 to double
  store double %406, ptr %28, align 8, !tbaa !13
  br label %407

407:                                              ; preds = %400, %337
  %408 = load double, ptr %28, align 8, !tbaa !13
  store double %408, ptr %17, align 8, !tbaa !13
  %409 = load double, ptr %16, align 8, !tbaa !13
  store double %409, ptr %28, align 8, !tbaa !13
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  %411 = load double, ptr %28, align 8, !tbaa !13
  %412 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef %410, double noundef %411)
  store double %412, ptr %28, align 8, !tbaa !13
  br label %413

413:                                              ; preds = %407, %396
  %414 = load double, ptr %28, align 8, !tbaa !13
  store double %414, ptr %19, align 8, !tbaa !13
  %415 = load double, ptr %18, align 8, !tbaa !13
  store double %415, ptr %28, align 8, !tbaa !13
  %416 = load double, ptr %17, align 8, !tbaa !13
  store double %416, ptr %29, align 8, !tbaa !13
  %417 = load double, ptr %19, align 8, !tbaa !13
  store double %417, ptr %30, align 8, !tbaa !13
  %418 = load ptr, ptr %6, align 8, !tbaa !5
  %419 = load double, ptr %28, align 8, !tbaa !13
  %420 = load double, ptr %29, align 8, !tbaa !13
  %421 = load double, ptr %30, align 8, !tbaa !13
  %422 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef %418, double noundef %419, double noundef %420, double noundef %421)
  store double %422, ptr %28, align 8, !tbaa !13
  %423 = load double, ptr %28, align 8, !tbaa !13
  store double %423, ptr %17, align 8, !tbaa !13
  store double 8.640000e+07, ptr %29, align 8, !tbaa !13
  %424 = load double, ptr %29, align 8, !tbaa !13
  %425 = load double, ptr %28, align 8, !tbaa !13
  %426 = fmul double %425, %424
  store double %426, ptr %28, align 8, !tbaa !13
  %427 = load double, ptr %16, align 8, !tbaa !13
  store double %427, ptr %29, align 8, !tbaa !13
  %428 = load ptr, ptr %6, align 8, !tbaa !5
  %429 = load double, ptr %29, align 8, !tbaa !13
  %430 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(ptr noundef %428, double noundef %429)
  store double %430, ptr %29, align 8, !tbaa !13
  %431 = load double, ptr %29, align 8, !tbaa !13
  store double %431, ptr %16, align 8, !tbaa !13
  %432 = load double, ptr %29, align 8, !tbaa !13
  %433 = load double, ptr %28, align 8, !tbaa !13
  %434 = fadd double %433, %432
  store double %434, ptr %28, align 8, !tbaa !13
  %435 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %435, ptr %29, align 8, !tbaa !13
  %436 = load double, ptr %16, align 8, !tbaa !13
  store double %436, ptr %30, align 8, !tbaa !13
  %437 = load double, ptr %30, align 8, !tbaa !13
  %438 = call double @wasm_fabs(double noundef %437)
  store double %438, ptr %30, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !13
  %439 = load double, ptr %30, align 8, !tbaa !13
  %440 = load double, ptr %31, align 8, !tbaa !13
  %441 = fcmp olt double %439, %440
  %442 = zext i1 %441 to i32
  store i32 %442, ptr %22, align 4, !tbaa !9
  %443 = load i32, ptr %22, align 4, !tbaa !9
  %444 = icmp ne i32 %443, 0
  br i1 %444, label %445, label %447

445:                                              ; preds = %413
  %446 = load double, ptr %28, align 8, !tbaa !13
  br label %449

447:                                              ; preds = %413
  %448 = load double, ptr %29, align 8, !tbaa !13
  br label %449

449:                                              ; preds = %447, %445
  %450 = phi double [ %446, %445 ], [ %448, %447 ]
  store double %450, ptr %28, align 8, !tbaa !13
  %451 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %451, ptr %29, align 8, !tbaa !13
  %452 = load double, ptr %17, align 8, !tbaa !13
  store double %452, ptr %30, align 8, !tbaa !13
  %453 = load double, ptr %30, align 8, !tbaa !13
  %454 = call double @wasm_fabs(double noundef %453)
  store double %454, ptr %30, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !13
  %455 = load double, ptr %30, align 8, !tbaa !13
  %456 = load double, ptr %31, align 8, !tbaa !13
  %457 = fcmp olt double %455, %456
  %458 = zext i1 %457 to i32
  store i32 %458, ptr %22, align 4, !tbaa !9
  %459 = load i32, ptr %22, align 4, !tbaa !9
  %460 = icmp ne i32 %459, 0
  br i1 %460, label %461, label %463

461:                                              ; preds = %449
  %462 = load double, ptr %28, align 8, !tbaa !13
  br label %465

463:                                              ; preds = %449
  %464 = load double, ptr %29, align 8, !tbaa !13
  br label %465

465:                                              ; preds = %463, %461
  %466 = phi double [ %462, %461 ], [ %464, %463 ]
  store double %466, ptr %28, align 8, !tbaa !13
  %467 = load double, ptr %28, align 8, !tbaa !13
  store double %467, ptr %16, align 8, !tbaa !13
  %468 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %468, ptr %20, align 4, !tbaa !9
  %469 = load i32, ptr %20, align 4, !tbaa !9
  %470 = icmp ne i32 %469, 0
  %471 = xor i1 %470, true
  %472 = zext i1 %471 to i32
  store i32 %472, ptr %20, align 4, !tbaa !9
  %473 = load i32, ptr %20, align 4, !tbaa !9
  %474 = icmp ne i32 %473, 0
  br i1 %474, label %475, label %481

475:                                              ; preds = %465
  %476 = load double, ptr %16, align 8, !tbaa !13
  store double %476, ptr %28, align 8, !tbaa !13
  %477 = load ptr, ptr %6, align 8, !tbaa !5
  %478 = load double, ptr %28, align 8, !tbaa !13
  %479 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %477, double noundef %478)
  store double %479, ptr %28, align 8, !tbaa !13
  %480 = load double, ptr %28, align 8, !tbaa !13
  store double %480, ptr %16, align 8, !tbaa !13
  br label %481

481:                                              ; preds = %475, %465
  %482 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %482, ptr %28, align 8, !tbaa !13
  %483 = load double, ptr %16, align 8, !tbaa !13
  store double %483, ptr %29, align 8, !tbaa !13
  %484 = load double, ptr %29, align 8, !tbaa !13
  %485 = call double @wasm_trunc(double noundef %484)
  store double %485, ptr %29, align 8, !tbaa !13
  store double 0.000000e+00, ptr %30, align 8, !tbaa !13
  %486 = load double, ptr %30, align 8, !tbaa !13
  %487 = load double, ptr %29, align 8, !tbaa !13
  %488 = fadd double %487, %486
  store double %488, ptr %29, align 8, !tbaa !13
  %489 = load double, ptr %16, align 8, !tbaa !13
  store double %489, ptr %30, align 8, !tbaa !13
  %490 = load double, ptr %30, align 8, !tbaa !13
  %491 = call double @wasm_fabs(double noundef %490)
  store double %491, ptr %30, align 8, !tbaa !13
  %492 = load double, ptr %30, align 8, !tbaa !13
  store double %492, ptr %16, align 8, !tbaa !13
  store double 8.640000e+15, ptr %31, align 8, !tbaa !13
  %493 = load double, ptr %30, align 8, !tbaa !13
  %494 = load double, ptr %31, align 8, !tbaa !13
  %495 = fcmp ogt double %493, %494
  %496 = zext i1 %495 to i32
  store i32 %496, ptr %22, align 4, !tbaa !9
  %497 = load i32, ptr %22, align 4, !tbaa !9
  %498 = icmp ne i32 %497, 0
  br i1 %498, label %499, label %501

499:                                              ; preds = %481
  %500 = load double, ptr %28, align 8, !tbaa !13
  br label %503

501:                                              ; preds = %481
  %502 = load double, ptr %29, align 8, !tbaa !13
  br label %503

503:                                              ; preds = %501, %499
  %504 = phi double [ %500, %499 ], [ %502, %501 ]
  store double %504, ptr %28, align 8, !tbaa !13
  %505 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %505, ptr %29, align 8, !tbaa !13
  %506 = load double, ptr %16, align 8, !tbaa !13
  store double %506, ptr %30, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %31, align 8, !tbaa !13
  %507 = load double, ptr %30, align 8, !tbaa !13
  %508 = load double, ptr %31, align 8, !tbaa !13
  %509 = fcmp olt double %507, %508
  %510 = zext i1 %509 to i32
  store i32 %510, ptr %22, align 4, !tbaa !9
  %511 = load double, ptr %16, align 8, !tbaa !13
  store double %511, ptr %31, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %32, align 8, !tbaa !13
  %512 = load double, ptr %31, align 8, !tbaa !13
  %513 = load double, ptr %32, align 8, !tbaa !13
  %514 = fcmp ogt double %512, %513
  %515 = zext i1 %514 to i32
  store i32 %515, ptr %23, align 4, !tbaa !9
  %516 = load i32, ptr %23, align 4, !tbaa !9
  %517 = load i32, ptr %22, align 4, !tbaa !9
  %518 = or i32 %517, %516
  store i32 %518, ptr %22, align 4, !tbaa !9
  %519 = load i32, ptr %22, align 4, !tbaa !9
  %520 = icmp ne i32 %519, 0
  br i1 %520, label %521, label %523

521:                                              ; preds = %503
  %522 = load double, ptr %28, align 8, !tbaa !13
  br label %525

523:                                              ; preds = %503
  %524 = load double, ptr %29, align 8, !tbaa !13
  br label %525

525:                                              ; preds = %523, %521
  %526 = phi double [ %522, %521 ], [ %524, %523 ]
  store double %526, ptr %28, align 8, !tbaa !13
  %527 = load double, ptr %28, align 8, !tbaa !13
  store double %527, ptr %16, align 8, !tbaa !13
  %528 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %528, ptr %20, align 4, !tbaa !9
  %529 = load ptr, ptr %6, align 8, !tbaa !5
  %530 = getelementptr inbounds %struct.w2c_hermes, ptr %529, i32 0, i32 6
  %531 = load i32, ptr %20, align 4, !tbaa !9
  %532 = zext i32 %531 to i64
  %533 = call i32 @i32_load(ptr noundef %530, i64 noundef %532)
  store i32 %533, ptr %20, align 4, !tbaa !9
  %534 = load double, ptr %16, align 8, !tbaa !13
  store double %534, ptr %29, align 8, !tbaa !13
  %535 = load ptr, ptr %6, align 8, !tbaa !5
  %536 = getelementptr inbounds %struct.w2c_hermes, ptr %535, i32 0, i32 6
  %537 = load i32, ptr %20, align 4, !tbaa !9
  %538 = zext i32 %537 to i64
  %539 = add i64 %538, 24
  %540 = load double, ptr %29, align 8, !tbaa !13
  call void @f64_store(ptr noundef %536, i64 noundef %539, double noundef %540)
  %541 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %541, ptr %20, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %26, align 8, !tbaa !11
  %542 = load double, ptr %16, align 8, !tbaa !13
  store double %542, ptr %30, align 8, !tbaa !13
  %543 = load double, ptr %30, align 8, !tbaa !13
  %544 = call i64 @i64_reinterpret_f64(double noundef %543)
  store i64 %544, ptr %27, align 8, !tbaa !11
  %545 = load double, ptr %16, align 8, !tbaa !13
  store double %545, ptr %31, align 8, !tbaa !13
  %546 = load double, ptr %16, align 8, !tbaa !13
  store double %546, ptr %32, align 8, !tbaa !13
  %547 = load double, ptr %31, align 8, !tbaa !13
  %548 = load double, ptr %32, align 8, !tbaa !13
  %549 = fcmp une double %547, %548
  %550 = zext i1 %549 to i32
  store i32 %550, ptr %23, align 4, !tbaa !9
  %551 = load i32, ptr %23, align 4, !tbaa !9
  %552 = icmp ne i32 %551, 0
  br i1 %552, label %553, label %555

553:                                              ; preds = %525
  %554 = load i64, ptr %26, align 8, !tbaa !11
  br label %557

555:                                              ; preds = %525
  %556 = load i64, ptr %27, align 8, !tbaa !11
  br label %557

557:                                              ; preds = %555, %553
  %558 = phi i64 [ %554, %553 ], [ %556, %555 ]
  store i64 %558, ptr %26, align 8, !tbaa !11
  %559 = load ptr, ptr %6, align 8, !tbaa !5
  %560 = getelementptr inbounds %struct.w2c_hermes, ptr %559, i32 0, i32 6
  %561 = load i32, ptr %20, align 4, !tbaa !9
  %562 = zext i32 %561 to i64
  %563 = add i64 %562, 8
  %564 = load i64, ptr %26, align 8, !tbaa !11
  call void @i64_store(ptr noundef %560, i64 noundef %563, i64 noundef %564)
  %565 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %565, ptr %20, align 4, !tbaa !9
  store i32 1, ptr %21, align 4, !tbaa !9
  %566 = load ptr, ptr %6, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.w2c_hermes, ptr %566, i32 0, i32 6
  %568 = load i32, ptr %20, align 4, !tbaa !9
  %569 = zext i32 %568 to i64
  %570 = load i32, ptr %21, align 4, !tbaa !9
  call void @i32_store(ptr noundef %567, i64 noundef %569, i32 noundef %570)
  br label %571

571:                                              ; preds = %557, %389, %318, %228, %117
  %572 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %572, ptr %20, align 4, !tbaa !9
  store i32 -64, ptr %21, align 4, !tbaa !9
  %573 = load i32, ptr %21, align 4, !tbaa !9
  %574 = load i32, ptr %20, align 4, !tbaa !9
  %575 = sub i32 %574, %573
  store i32 %575, ptr %20, align 4, !tbaa !9
  %576 = load i32, ptr %20, align 4, !tbaa !9
  %577 = load ptr, ptr %6, align 8, !tbaa !5
  %578 = getelementptr inbounds %struct.w2c_hermes, ptr %577, i32 0, i32 3
  store i32 %576, ptr %578, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  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 4, 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 8, 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 4, 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 i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(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_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetFullYear_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 ]
  %.0306 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0305 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not310 = or i1 %.0305, %24
  br i1 %.not310, 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 231928233985)
  %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 32054)
  %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 %115

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
  %.0303 = 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)
  %.not311 = icmp eq i32 %43, 0
  %44 = select i1 %.not311, 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)
  %.not312 = icmp eq i32 %47, 0
  br i1 %.not312, 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 %115

50:                                               ; preds = %39
  %51 = fcmp ord double %.0303, 0.000000e+00
  %52 = select i1 %51, double %.0303, double 0.000000e+00
  %53 = add nuw nsw i64 %45, 32
  %54 = tail call double @f64_load(ptr noundef nonnull %9, i64 noundef %53)
  %55 = icmp ugt i32 %43, 1
  br i1 %55, label %56, label %76

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

63:                                               ; preds = %56
  %64 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %64, i32 noundef 0)
  br label %115

65:                                               ; preds = %56
  %66 = tail call double @f64_reinterpret_i64(i64 noundef %62)
  %67 = icmp eq i32 %43, 2
  br i1 %67, label %79, label %68

68:                                               ; preds = %65
  %69 = add i32 %11, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %57, i32 noundef %3, i32 noundef %69) #3
  %70 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %59)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %46, i32 noundef %70)
  %71 = tail call i64 @i64_load(ptr noundef nonnull %9, i64 noundef %61)
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %53, i64 noundef %71)
  %.not314 = icmp eq i32 %70, 0
  br i1 %.not314, label %72, label %74

72:                                               ; preds = %68
  %73 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %73, i32 noundef 0)
  br label %115

74:                                               ; preds = %68
  %75 = tail call double @f64_reinterpret_i64(i64 noundef %71)
  br label %81

76:                                               ; preds = %50
  %77 = tail call i32 @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmonthFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %52) #3
  %78 = uitofp i32 %77 to double
  br label %79

79:                                               ; preds = %65, %76
  %.0 = phi double [ %66, %65 ], [ %78, %76 ]
  %80 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdateFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %52)
  br label %81

81:                                               ; preds = %79, %74
  %.0302 = phi double [ %.0, %79 ], [ %66, %74 ]
  %.1 = phi double [ %80, %79 ], [ %75, %74 ]
  %82 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeDay0x28double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %54, double noundef %.0302, double noundef %.1) #3
  %83 = fmul double %82, 8.640000e+07
  %84 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtimeWithinDay0x28double0x29(ptr noundef nonnull %0, double noundef %52) #3
  %85 = fadd double %83, %84
  %86 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %87 = tail call double @wasm_fabs(double noundef %84)
  %88 = fcmp one double %87, 0x7FF0000000000000
  %89 = select i1 %88, double %85, double %86
  %90 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %91 = tail call double @wasm_fabs(double noundef %82)
  %92 = fcmp one double %91, 0x7FF0000000000000
  %93 = select i1 %92, double %89, double %90
  br i1 %.not, label %94, label %96

94:                                               ; preds = %81
  %95 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef nonnull %0, double noundef %93) #3
  br label %96

96:                                               ; preds = %94, %81
  %.1304 = phi double [ %95, %94 ], [ %93, %81 ]
  %97 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %98 = tail call double @wasm_trunc(double noundef %.1304)
  %99 = fadd double %98, 0.000000e+00
  %100 = tail call double @wasm_fabs(double noundef %.1304)
  %101 = fcmp ogt double %100, 8.640000e+15
  %102 = select i1 %101, double %97, double %99
  %103 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %104 = fcmp one double %100, 0x7FF0000000000000
  %105 = select i1 %104, double %102, double %103
  %106 = zext i32 %.0306 to i64
  %107 = tail call i32 @i32_load(ptr noundef nonnull %9, i64 noundef %106)
  %108 = zext i32 %107 to i64
  %109 = add nuw nsw i64 %108, 24
  tail call void @f64_store(ptr noundef nonnull %9, i64 noundef %109, double noundef %105)
  %110 = tail call i64 @i64_reinterpret_f64(double noundef %105)
  %111 = fcmp uno double %105, 0.000000e+00
  %112 = select i1 %111, i64 9221120237041090560, i64 %110
  %113 = zext i32 %1 to i64
  %114 = add nuw nsw i64 %113, 8
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %114, i64 noundef %112)
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %113, i32 noundef 1)
  br label %115

115:                                              ; preds = %96, %72, %63, %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