// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsdate.c
// Function: Dp_setHours
static void Dp_setHours(js_State *J)
{
	double t = LocalTime(js_todate(J, 0));
	double h = js_tonumber(J, 1);
	double m = js_optnumber(J, 2, MinFromTime(t));
	double s = js_optnumber(J, 3, SecFromTime(t));
	double ms = js_optnumber(J, 4, msFromTime(t));
	js_setdate(J, 0, UTC(MakeDate(Day(t), MakeTime(h, m, s, ms))));
}

// Assembly:
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
callq 0x20182
movsd %xmm0, (%rsp)
callq 0x20256
addsd (%rsp), %xmm0
xorpd %xmm1, %xmm1
movl 0x144(%rbx), %eax
leaq 0x35e63(%rip), %rsi     # 0x403f8
cmpl $-0x1, %eax
jl 0xa5b1
incl %eax
cmpl 0x140(%rbx), %eax
jge 0xa5b1
movl %eax, %esi
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
addsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x14c75
movsd %xmm0, 0x18(%rsp)
movl 0x144(%rbx), %eax
cmpl $-0x2, %eax
jl 0xa602
addl $0x2, %eax
cmpl 0x140(%rbx), %eax
jge 0xa602
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x1, 0xf(%rcx,%rax)
je 0xa60b
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0xa660
cmpb $0x1, 0x35dfe(%rip)     # 0x40407
jne 0xa659
movsd (%rsp), %xmm0
divsd 0x20ed0(%rip), %xmm0    # 0x2b4e8
callq 0x3370
movsd 0x20ecb(%rip), %xmm1    # 0x2b4f0
callq 0x31b0
movsd 0x20ebe(%rip), %xmm3    # 0x2b4f0
addsd %xmm0, %xmm3
xorpd %xmm1, %xmm1
movapd %xmm0, %xmm2
cmpltsd %xmm1, %xmm2
andpd %xmm2, %xmm3
andnpd %xmm0, %xmm2
orpd %xmm3, %xmm2
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm0
jmp 0xa668
leaq 0x35d98(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14c75
movapd %xmm0, 0x40(%rsp)
movl 0x144(%rbx), %eax
cmpl $-0x3, %eax
jge 0xa68c
cmpb $0x1, 0x35d87(%rip)     # 0x40407
movsd (%rsp), %xmm0
je 0xa6c9
jmp 0xa712
addl $0x3, %eax
cmpl 0x140(%rbx), %eax
movsd (%rsp), %xmm0
jge 0xa6c0
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x1, 0xf(%rcx,%rax)
je 0xa6c9
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0xa719
cmpb $0x1, 0x35d40(%rip)     # 0x40407
jne 0xa712
divsd 0x20e27(%rip), %xmm0    # 0x2b4f8
callq 0x3370
movsd 0x20e12(%rip), %xmm1    # 0x2b4f0
callq 0x31b0
movsd 0x20e05(%rip), %xmm3    # 0x2b4f0
addsd %xmm0, %xmm3
xorpd %xmm1, %xmm1
movapd %xmm0, %xmm2
cmpltsd %xmm1, %xmm2
andpd %xmm2, %xmm3
andnpd %xmm0, %xmm2
orpd %xmm3, %xmm2
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm0
jmp 0xa721
leaq 0x35cdf(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14c75
movapd %xmm0, 0x30(%rsp)
movl 0x144(%rbx), %eax
cmpl $-0x4, %eax
jge 0xa742
cmpb $0x1, 0x35cce(%rip)     # 0x40407
movsd (%rsp), %xmm0
je 0xa77f
jmp 0xa7bb
addl $0x4, %eax
cmpl 0x140(%rbx), %eax
movsd (%rsp), %xmm0
jge 0xa776
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x1, 0xf(%rcx,%rax)
je 0xa77f
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0xa7c2
cmpb $0x1, 0x35c8a(%rip)     # 0x40407
jne 0xa7bb
movsd 0x20d71(%rip), %xmm1    # 0x2b4f8
callq 0x31b0
movsd 0x20d64(%rip), %xmm3    # 0x2b4f8
addsd %xmm0, %xmm3
xorpd %xmm1, %xmm1
movapd %xmm0, %xmm2
cmpltsd %xmm1, %xmm2
andpd %xmm2, %xmm3
andnpd %xmm0, %xmm2
orpd %xmm3, %xmm2
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm0
jmp 0xa7ca
leaq 0x35c36(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14c75
movapd %xmm0, 0x20(%rsp)
movsd (%rsp), %xmm0
divsd 0x20ce3(%rip), %xmm0    # 0x2b4c0
callq 0x3370
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm2
movsd 0x20cfe(%rip), %xmm0    # 0x2b4f0
movsd 0x18(%rsp), %xmm1
mulsd %xmm0, %xmm1
addsd 0x40(%rsp), %xmm1
mulsd %xmm0, %xmm1
addsd 0x30(%rsp), %xmm1
mulsd 0x20ce4(%rip), %xmm1    # 0x2b4f8
addsd 0x20(%rsp), %xmm1
mulsd 0x20c9e(%rip), %xmm2    # 0x2b4c0
addsd %xmm1, %xmm2
movapd %xmm2, (%rsp)
callq 0x20256
movapd (%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, (%rsp)
callq 0x20256
movq %rbx, %rdi
movaps (%rsp), %xmm0
addq $0x50, %rsp
popq %rbx
jmp 0x20960