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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

85:                                               ; preds = %63
  br label %95

86:                                               ; preds = %63
  br label %87

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

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

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

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

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

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

206:                                              ; preds = %186
  %207 = load i32, ptr %23, align 4, !tbaa !9
  br label %210

208:                                              ; preds = %186
  %209 = load i32, ptr %24, align 4, !tbaa !9
  br label %210

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

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

236:                                              ; preds = %210
  %237 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %237, ptr %21, align 4, !tbaa !9
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.w2c_hermes, ptr %238, i32 0, i32 6
  %240 = load i32, ptr %21, align 4, !tbaa !9
  %241 = zext i32 %240 to i64
  %242 = add i64 %241, 32
  %243 = call double @f64_load(ptr noundef %239, i64 noundef %242)
  store double %243, ptr %29, align 8, !tbaa !13
  %244 = load double, ptr %29, align 8, !tbaa !13
  store double %244, ptr %18, align 8, !tbaa !13
  %245 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %245, ptr %21, align 4, !tbaa !9
  store i32 2, ptr %22, align 4, !tbaa !9
  %246 = load i32, ptr %21, align 4, !tbaa !9
  %247 = load i32, ptr %22, align 4, !tbaa !9
  %248 = icmp uge i32 %246, %247
  %249 = zext i1 %248 to i32
  store i32 %249, ptr %21, align 4, !tbaa !9
  %250 = load i32, ptr %21, align 4, !tbaa !9
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %385

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

303:                                              ; preds = %252
  %304 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %304, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %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 %21, align 4, !tbaa !9
  %308 = zext i32 %307 to i64
  %309 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %306, i64 noundef %308, i32 noundef %309)
  br label %561

310:                                              ; preds = %252
  %311 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %311, ptr %26, align 8, !tbaa !11
  %312 = load i64, ptr %26, align 8, !tbaa !11
  %313 = call double @f64_reinterpret_i64(i64 noundef %312)
  store double %313, ptr %29, align 8, !tbaa !13
  %314 = load double, ptr %29, align 8, !tbaa !13
  store double %314, ptr %17, align 8, !tbaa !13
  %315 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %315, ptr %22, align 4, !tbaa !9
  store i32 3, ptr %23, align 4, !tbaa !9
  %316 = load i32, ptr %22, align 4, !tbaa !9
  %317 = load i32, ptr %23, align 4, !tbaa !9
  %318 = icmp ult i32 %316, %317
  %319 = zext i1 %318 to i32
  store i32 %319, ptr %22, align 4, !tbaa !9
  %320 = load i32, ptr %22, align 4, !tbaa !9
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %322, label %323

322:                                              ; preds = %310
  br label %390

323:                                              ; preds = %310
  %324 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %324, ptr %21, align 4, !tbaa !9
  store i32 8, ptr %22, align 4, !tbaa !9
  %325 = load i32, ptr %22, align 4, !tbaa !9
  %326 = load i32, ptr %21, align 4, !tbaa !9
  %327 = add i32 %326, %325
  store i32 %327, ptr %21, align 4, !tbaa !9
  %328 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %328, ptr %22, align 4, !tbaa !9
  %329 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %329, ptr %23, align 4, !tbaa !9
  store i32 24, ptr %24, align 4, !tbaa !9
  %330 = load i32, ptr %24, align 4, !tbaa !9
  %331 = load i32, ptr %23, align 4, !tbaa !9
  %332 = sub i32 %331, %330
  store i32 %332, ptr %23, align 4, !tbaa !9
  %333 = load ptr, ptr %6, align 8, !tbaa !5
  %334 = load i32, ptr %21, align 4, !tbaa !9
  %335 = load i32, ptr %22, align 4, !tbaa !9
  %336 = load i32, ptr %23, align 4, !tbaa !9
  call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef %333, i32 noundef %334, i32 noundef %335, i32 noundef %336)
  %337 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %337, ptr %21, align 4, !tbaa !9
  %338 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %338, ptr %22, align 4, !tbaa !9
  %339 = load ptr, ptr %6, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.w2c_hermes, ptr %339, i32 0, i32 6
  %341 = load i32, ptr %22, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = add i64 %342, 8
  %344 = call i32 @i32_load(ptr noundef %340, i64 noundef %343)
  store i32 %344, ptr %22, align 4, !tbaa !9
  %345 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %345, ptr %9, align 4, !tbaa !9
  %346 = load ptr, ptr %6, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.w2c_hermes, ptr %346, i32 0, i32 6
  %348 = load i32, ptr %21, align 4, !tbaa !9
  %349 = zext i32 %348 to i64
  %350 = add i64 %349, 24
  %351 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %347, i64 noundef %350, i32 noundef %351)
  %352 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %352, ptr %21, align 4, !tbaa !9
  %353 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %353, ptr %22, 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 %22, align 4, !tbaa !9
  %357 = zext i32 %356 to i64
  %358 = add i64 %357, 16
  %359 = call i64 @i64_load(ptr noundef %355, i64 noundef %358)
  store i64 %359, ptr %27, align 8, !tbaa !11
  %360 = load i64, ptr %27, align 8, !tbaa !11
  store i64 %360, ptr %15, align 8, !tbaa !11
  %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 %21, align 4, !tbaa !9
  %364 = zext i32 %363 to i64
  %365 = add i64 %364, 32
  %366 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %362, i64 noundef %365, i64 noundef %366)
  %367 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %367, ptr %21, align 4, !tbaa !9
  %368 = load i32, ptr %21, align 4, !tbaa !9
  %369 = icmp ne i32 %368, 0
  %370 = xor i1 %369, true
  %371 = zext i1 %370 to i32
  store i32 %371, ptr %21, align 4, !tbaa !9
  %372 = load i32, ptr %21, align 4, !tbaa !9
  %373 = icmp ne i32 %372, 0
  br i1 %373, label %374, label %381

374:                                              ; preds = %323
  %375 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %375, ptr %21, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  %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 %21, align 4, !tbaa !9
  %379 = zext i32 %378 to i64
  %380 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %377, i64 noundef %379, i32 noundef %380)
  br label %561

381:                                              ; preds = %323
  %382 = load i64, ptr %15, align 8, !tbaa !11
  store i64 %382, ptr %26, align 8, !tbaa !11
  %383 = load i64, ptr %26, align 8, !tbaa !11
  %384 = call double @f64_reinterpret_i64(i64 noundef %383)
  store double %384, ptr %29, align 8, !tbaa !13
  br label %396

385:                                              ; preds = %236
  %386 = load double, ptr %16, align 8, !tbaa !13
  store double %386, ptr %29, align 8, !tbaa !13
  %387 = load ptr, ptr %6, align 8, !tbaa !5
  %388 = load double, ptr %29, align 8, !tbaa !13
  %389 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef %387, double noundef %388)
  store double %389, ptr %29, align 8, !tbaa !13
  br label %390

390:                                              ; preds = %385, %322
  %391 = load double, ptr %29, align 8, !tbaa !13
  store double %391, ptr %17, align 8, !tbaa !13
  %392 = load double, ptr %16, align 8, !tbaa !13
  store double %392, ptr %29, align 8, !tbaa !13
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = load double, ptr %29, align 8, !tbaa !13
  %395 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef %393, double noundef %394)
  store double %395, ptr %29, align 8, !tbaa !13
  br label %396

396:                                              ; preds = %390, %381
  %397 = load double, ptr %29, align 8, !tbaa !13
  store double %397, ptr %19, align 8, !tbaa !13
  %398 = load double, ptr %16, align 8, !tbaa !13
  store double %398, ptr %29, align 8, !tbaa !13
  store double 8.640000e+07, ptr %30, align 8, !tbaa !13
  %399 = load double, ptr %30, align 8, !tbaa !13
  %400 = load double, ptr %29, align 8, !tbaa !13
  %401 = fdiv double %400, %399
  store double %401, ptr %29, align 8, !tbaa !13
  %402 = load double, ptr %29, align 8, !tbaa !13
  %403 = call double @wasm_floor(double noundef %402)
  store double %403, ptr %29, align 8, !tbaa !13
  %404 = load double, ptr %29, align 8, !tbaa !13
  store double %404, ptr %20, align 8, !tbaa !13
  store double 8.640000e+07, ptr %30, align 8, !tbaa !13
  %405 = load double, ptr %30, align 8, !tbaa !13
  %406 = load double, ptr %29, align 8, !tbaa !13
  %407 = fmul double %406, %405
  store double %407, ptr %29, align 8, !tbaa !13
  %408 = load double, ptr %16, align 8, !tbaa !13
  store double %408, ptr %30, align 8, !tbaa !13
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = load double, ptr %30, align 8, !tbaa !13
  %411 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef %409, double noundef %410)
  store double %411, ptr %30, align 8, !tbaa !13
  %412 = load double, ptr %18, align 8, !tbaa !13
  store double %412, ptr %31, align 8, !tbaa !13
  %413 = load double, ptr %17, align 8, !tbaa !13
  store double %413, ptr %32, align 8, !tbaa !13
  %414 = load double, ptr %19, align 8, !tbaa !13
  store double %414, ptr %33, align 8, !tbaa !13
  %415 = load ptr, ptr %6, align 8, !tbaa !5
  %416 = load double, ptr %30, align 8, !tbaa !13
  %417 = load double, ptr %31, align 8, !tbaa !13
  %418 = load double, ptr %32, align 8, !tbaa !13
  %419 = load double, ptr %33, align 8, !tbaa !13
  %420 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef %415, double noundef %416, double noundef %417, double noundef %418, double noundef %419)
  store double %420, ptr %30, align 8, !tbaa !13
  %421 = load double, ptr %30, align 8, !tbaa !13
  store double %421, ptr %16, align 8, !tbaa !13
  %422 = load double, ptr %30, align 8, !tbaa !13
  %423 = load double, ptr %29, align 8, !tbaa !13
  %424 = fadd double %423, %422
  store double %424, ptr %29, align 8, !tbaa !13
  %425 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %425, ptr %30, align 8, !tbaa !13
  %426 = load double, ptr %16, align 8, !tbaa !13
  store double %426, ptr %31, align 8, !tbaa !13
  %427 = load double, ptr %31, align 8, !tbaa !13
  %428 = call double @wasm_fabs(double noundef %427)
  store double %428, ptr %31, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %32, align 8, !tbaa !13
  %429 = load double, ptr %31, align 8, !tbaa !13
  %430 = load double, ptr %32, align 8, !tbaa !13
  %431 = fcmp olt double %429, %430
  %432 = zext i1 %431 to i32
  store i32 %432, ptr %23, align 4, !tbaa !9
  %433 = load i32, ptr %23, align 4, !tbaa !9
  %434 = icmp ne i32 %433, 0
  br i1 %434, label %435, label %437

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

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

439:                                              ; preds = %437, %435
  %440 = phi double [ %436, %435 ], [ %438, %437 ]
  store double %440, ptr %29, align 8, !tbaa !13
  %441 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %441, ptr %30, align 8, !tbaa !13
  %442 = load double, ptr %20, align 8, !tbaa !13
  store double %442, ptr %31, align 8, !tbaa !13
  %443 = load double, ptr %31, align 8, !tbaa !13
  %444 = call double @wasm_fabs(double noundef %443)
  store double %444, ptr %31, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %32, align 8, !tbaa !13
  %445 = load double, ptr %31, align 8, !tbaa !13
  %446 = load double, ptr %32, align 8, !tbaa !13
  %447 = fcmp olt double %445, %446
  %448 = zext i1 %447 to i32
  store i32 %448, ptr %23, align 4, !tbaa !9
  %449 = load i32, ptr %23, align 4, !tbaa !9
  %450 = icmp ne i32 %449, 0
  br i1 %450, label %451, label %453

451:                                              ; preds = %439
  %452 = load double, ptr %29, align 8, !tbaa !13
  br label %455

453:                                              ; preds = %439
  %454 = load double, ptr %30, align 8, !tbaa !13
  br label %455

455:                                              ; preds = %453, %451
  %456 = phi double [ %452, %451 ], [ %454, %453 ]
  store double %456, ptr %29, align 8, !tbaa !13
  %457 = load double, ptr %29, align 8, !tbaa !13
  store double %457, ptr %16, align 8, !tbaa !13
  %458 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %458, ptr %21, align 4, !tbaa !9
  %459 = load i32, ptr %21, align 4, !tbaa !9
  %460 = icmp ne i32 %459, 0
  %461 = xor i1 %460, true
  %462 = zext i1 %461 to i32
  store i32 %462, ptr %21, align 4, !tbaa !9
  %463 = load i32, ptr %21, align 4, !tbaa !9
  %464 = icmp ne i32 %463, 0
  br i1 %464, label %465, label %471

465:                                              ; preds = %455
  %466 = load double, ptr %16, align 8, !tbaa !13
  store double %466, ptr %29, align 8, !tbaa !13
  %467 = load ptr, ptr %6, align 8, !tbaa !5
  %468 = load double, ptr %29, align 8, !tbaa !13
  %469 = call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AutcTime0x28double0x29(ptr noundef %467, double noundef %468)
  store double %469, ptr %29, align 8, !tbaa !13
  %470 = load double, ptr %29, align 8, !tbaa !13
  store double %470, ptr %16, align 8, !tbaa !13
  br label %471

471:                                              ; preds = %465, %455
  %472 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %472, ptr %29, align 8, !tbaa !13
  %473 = load double, ptr %16, align 8, !tbaa !13
  store double %473, ptr %30, align 8, !tbaa !13
  %474 = load double, ptr %30, align 8, !tbaa !13
  %475 = call double @wasm_trunc(double noundef %474)
  store double %475, ptr %30, align 8, !tbaa !13
  store double 0.000000e+00, ptr %31, align 8, !tbaa !13
  %476 = load double, ptr %31, align 8, !tbaa !13
  %477 = load double, ptr %30, align 8, !tbaa !13
  %478 = fadd double %477, %476
  store double %478, ptr %30, align 8, !tbaa !13
  %479 = load double, ptr %16, align 8, !tbaa !13
  store double %479, ptr %31, align 8, !tbaa !13
  %480 = load double, ptr %31, align 8, !tbaa !13
  %481 = call double @wasm_fabs(double noundef %480)
  store double %481, ptr %31, align 8, !tbaa !13
  %482 = load double, ptr %31, align 8, !tbaa !13
  store double %482, ptr %16, align 8, !tbaa !13
  store double 8.640000e+15, ptr %32, align 8, !tbaa !13
  %483 = load double, ptr %31, align 8, !tbaa !13
  %484 = load double, ptr %32, align 8, !tbaa !13
  %485 = fcmp ogt double %483, %484
  %486 = zext i1 %485 to i32
  store i32 %486, ptr %23, align 4, !tbaa !9
  %487 = load i32, ptr %23, align 4, !tbaa !9
  %488 = icmp ne i32 %487, 0
  br i1 %488, label %489, label %491

489:                                              ; preds = %471
  %490 = load double, ptr %29, align 8, !tbaa !13
  br label %493

491:                                              ; preds = %471
  %492 = load double, ptr %30, align 8, !tbaa !13
  br label %493

493:                                              ; preds = %491, %489
  %494 = phi double [ %490, %489 ], [ %492, %491 ]
  store double %494, ptr %29, align 8, !tbaa !13
  %495 = call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  store double %495, ptr %30, align 8, !tbaa !13
  %496 = load double, ptr %16, align 8, !tbaa !13
  store double %496, ptr %31, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %32, align 8, !tbaa !13
  %497 = load double, ptr %31, align 8, !tbaa !13
  %498 = load double, ptr %32, align 8, !tbaa !13
  %499 = fcmp olt double %497, %498
  %500 = zext i1 %499 to i32
  store i32 %500, ptr %23, align 4, !tbaa !9
  %501 = load double, ptr %16, align 8, !tbaa !13
  store double %501, ptr %32, align 8, !tbaa !13
  store double 0x7FF0000000000000, ptr %33, align 8, !tbaa !13
  %502 = load double, ptr %32, align 8, !tbaa !13
  %503 = load double, ptr %33, align 8, !tbaa !13
  %504 = fcmp ogt double %502, %503
  %505 = zext i1 %504 to i32
  store i32 %505, ptr %24, align 4, !tbaa !9
  %506 = load i32, ptr %24, align 4, !tbaa !9
  %507 = load i32, ptr %23, align 4, !tbaa !9
  %508 = or i32 %507, %506
  store i32 %508, ptr %23, align 4, !tbaa !9
  %509 = load i32, ptr %23, align 4, !tbaa !9
  %510 = icmp ne i32 %509, 0
  br i1 %510, label %511, label %513

511:                                              ; preds = %493
  %512 = load double, ptr %29, align 8, !tbaa !13
  br label %515

513:                                              ; preds = %493
  %514 = load double, ptr %30, align 8, !tbaa !13
  br label %515

515:                                              ; preds = %513, %511
  %516 = phi double [ %512, %511 ], [ %514, %513 ]
  store double %516, ptr %29, align 8, !tbaa !13
  %517 = load double, ptr %29, align 8, !tbaa !13
  store double %517, ptr %16, align 8, !tbaa !13
  %518 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %518, ptr %21, align 4, !tbaa !9
  %519 = load ptr, ptr %6, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.w2c_hermes, ptr %519, i32 0, i32 6
  %521 = load i32, ptr %21, align 4, !tbaa !9
  %522 = zext i32 %521 to i64
  %523 = call i32 @i32_load(ptr noundef %520, i64 noundef %522)
  store i32 %523, ptr %21, align 4, !tbaa !9
  %524 = load double, ptr %16, align 8, !tbaa !13
  store double %524, ptr %30, align 8, !tbaa !13
  %525 = load ptr, ptr %6, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.w2c_hermes, ptr %525, i32 0, i32 6
  %527 = load i32, ptr %21, align 4, !tbaa !9
  %528 = zext i32 %527 to i64
  %529 = add i64 %528, 24
  %530 = load double, ptr %30, align 8, !tbaa !13
  call void @f64_store(ptr noundef %526, i64 noundef %529, double noundef %530)
  %531 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %531, ptr %21, align 4, !tbaa !9
  store i64 9221120237041090560, ptr %27, align 8, !tbaa !11
  %532 = load double, ptr %16, align 8, !tbaa !13
  store double %532, ptr %31, align 8, !tbaa !13
  %533 = load double, ptr %31, align 8, !tbaa !13
  %534 = call i64 @i64_reinterpret_f64(double noundef %533)
  store i64 %534, ptr %28, align 8, !tbaa !11
  %535 = load double, ptr %16, align 8, !tbaa !13
  store double %535, ptr %32, align 8, !tbaa !13
  %536 = load double, ptr %16, align 8, !tbaa !13
  store double %536, ptr %33, align 8, !tbaa !13
  %537 = load double, ptr %32, align 8, !tbaa !13
  %538 = load double, ptr %33, align 8, !tbaa !13
  %539 = fcmp une double %537, %538
  %540 = zext i1 %539 to i32
  store i32 %540, ptr %24, align 4, !tbaa !9
  %541 = load i32, ptr %24, align 4, !tbaa !9
  %542 = icmp ne i32 %541, 0
  br i1 %542, label %543, label %545

543:                                              ; preds = %515
  %544 = load i64, ptr %27, align 8, !tbaa !11
  br label %547

545:                                              ; preds = %515
  %546 = load i64, ptr %28, align 8, !tbaa !11
  br label %547

547:                                              ; preds = %545, %543
  %548 = phi i64 [ %544, %543 ], [ %546, %545 ]
  store i64 %548, ptr %27, align 8, !tbaa !11
  %549 = load ptr, ptr %6, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.w2c_hermes, ptr %549, i32 0, i32 6
  %551 = load i32, ptr %21, align 4, !tbaa !9
  %552 = zext i32 %551 to i64
  %553 = add i64 %552, 8
  %554 = load i64, ptr %27, align 8, !tbaa !11
  call void @i64_store(ptr noundef %550, i64 noundef %553, i64 noundef %554)
  %555 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %555, ptr %21, align 4, !tbaa !9
  store i32 1, ptr %22, align 4, !tbaa !9
  %556 = load ptr, ptr %6, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.w2c_hermes, ptr %556, i32 0, i32 6
  %558 = load i32, ptr %21, align 4, !tbaa !9
  %559 = zext i32 %558 to i64
  %560 = load i32, ptr %22, align 4, !tbaa !9
  call void @i32_store(ptr noundef %557, i64 noundef %559, i32 noundef %560)
  br label %561

561:                                              ; preds = %547, %374, %303, %229, %118
  %562 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %562, ptr %21, align 4, !tbaa !9
  store i32 -64, ptr %22, align 4, !tbaa !9
  %563 = load i32, ptr %22, align 4, !tbaa !9
  %564 = load i32, ptr %21, align 4, !tbaa !9
  %565 = sub i32 %564, %563
  store i32 %565, ptr %21, align 4, !tbaa !9
  %566 = load i32, ptr %21, align 4, !tbaa !9
  %567 = load ptr, ptr %6, align 8, !tbaa !5
  %568 = getelementptr inbounds %struct.w2c_hermes, ptr %567, i32 0, i32 3
  store i32 %566, ptr %568, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  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 4, 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 8, 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
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !10, i64 24}
!16 = !{!"w2c_hermes", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !17, i64 40, !19, i64 80}
!17 = !{!"", !6, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !18, i64 32}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{!"", !6, i64 0, !10, i64 8, !10, i64 12}


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AdatePrototypeSetMinutes_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 ]
  %.0301 = phi i32 [ %11, %15 ], [ 67200, %20 ]
  %.0300 = phi i1 [ false, %15 ], [ %22, %20 ]
  %24 = icmp eq i64 %.pre-phi, 0
  %.not305 = or i1 %.0300, %24
  br i1 %.not305, label %25, label %34

25:                                               ; preds = %23
  %26 = zext i32 %8 to i64
  %27 = add nuw nsw i64 %26, 56
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %27, i32 noundef 0)
  %28 = add nuw nsw i64 %26, 48
  tail call void @i64_store(ptr noundef nonnull %9, i64 noundef %28, i64 noundef 227633266689)
  %29 = add nuw nsw i64 %26, 32
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %29, i32 noundef 3)
  %30 = add nuw nsw i64 %26, 24
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %30, i32 noundef 31836)
  %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 %114

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
  %.0298 = 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)
  %.not306 = icmp eq i32 %43, 0
  %44 = select i1 %.not306, 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)
  %.not307 = icmp eq i32 %47, 0
  br i1 %.not307, 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 %114

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

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

63:                                               ; preds = %54
  %64 = tail call double @f64_reinterpret_i64(i64 noundef %60)
  %65 = icmp eq i32 %43, 2
  br i1 %65, label %76, label %66

66:                                               ; preds = %63
  %67 = add i32 %11, -24
  tail call void @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AtoNumber_RJS0x28hermes0x3A0x3Avm0x3A0x3ARuntime0x260x2C0x20hermes0x3A0x3Avm0x3A0x3AHandle0x3Chermes0x3A0x3Avm0x3A0x3AHermesValue0x3E0x29(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %3, i32 noundef %67) #3
  %68 = 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 %68)
  %69 = 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 %69)
  %.not309 = icmp eq i32 %68, 0
  br i1 %.not309, label %70, label %72

70:                                               ; preds = %66
  %71 = zext i32 %1 to i64
  tail call void @i32_store(ptr noundef nonnull %9, i64 noundef %71, i32 noundef 0)
  br label %114

72:                                               ; preds = %66
  %73 = tail call double @f64_reinterpret_i64(i64 noundef %69)
  br label %78

74:                                               ; preds = %50
  %75 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AsecFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0298) #3
  br label %76

76:                                               ; preds = %63, %74
  %.0 = phi double [ %64, %63 ], [ %75, %74 ]
  %77 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmsFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0298) #3
  br label %78

78:                                               ; preds = %76, %72
  %.0297 = phi double [ %.0, %76 ], [ %64, %72 ]
  %.1 = phi double [ %77, %76 ], [ %73, %72 ]
  %79 = fdiv double %.0298, 8.640000e+07
  %80 = tail call double @wasm_floor(double noundef %79)
  %81 = fmul double %80, 8.640000e+07
  %82 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AhourFromTime0x28double0x29(ptr noundef nonnull %0, double noundef %.0298) #3
  %83 = tail call double @w2c_hermes_hermes0x3A0x3Avm0x3A0x3AmakeTime0x28double0x2C0x20double0x2C0x20double0x2C0x20double0x29(ptr noundef nonnull %0, double noundef %82, double noundef %52, double noundef %.0297, double noundef %.1) #3
  %84 = fadd double %81, %83
  %85 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %86 = tail call double @wasm_fabs(double noundef %83)
  %87 = fcmp one double %86, 0x7FF0000000000000
  %88 = select i1 %87, double %84, double %85
  %89 = tail call double @f64_reinterpret_i64(i64 noundef 9221120237041090560)
  %90 = tail call double @wasm_fabs(double noundef %80)
  %91 = fcmp one double %90, 0x7FF0000000000000
  %92 = select i1 %91, double %88, double %89
  br i1 %.not, label %93, label %95

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"w2c_hermes", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !11, i64 40, !14, i64 80}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12}


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