// File: /workspace/github_c_makefile_star2_O3/ArtifexSoftware[P]mujs/./jsdate.c
// Function: Dp_setMinutes
static void Dp_setMinutes(js_State *J)
{
	double t = LocalTime(js_todate(J, 0));
	double h = HourFromTime(t);
	double m = js_tonumber(J, 1);
	double s = js_optnumber(J, 2, SecFromTime(t));
	double ms = js_optnumber(J, 3, 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
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movapd %xmm1, %xmm0
divsd 0x2146e(%rip), %xmm0    # 0x2b4d8
callq 0x3370
movsd 0x21469(%rip), %xmm1    # 0x2b4e0
callq 0x31b0
movapd %xmm0, 0x10(%rsp)
movl 0x144(%rbx), %eax
leaq 0x36369(%rip), %rsi     # 0x403f8
cmpl $-0x1, %eax
jl 0xa0ab
incl %eax
cmpl 0x140(%rbx), %eax
jge 0xa0ab
movl %eax, %esi
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
movq %rbx, %rdi
callq 0x14c75
movsd %xmm0, 0x28(%rsp)
movl 0x144(%rbx), %eax
cmpl $-0x2, %eax
jge 0xa0d7
cmpb $0x1, 0x3633c(%rip)     # 0x40407
movsd (%rsp), %xmm0
je 0xa114
jmp 0xa15d
addl $0x2, %eax
cmpl 0x140(%rbx), %eax
movsd (%rsp), %xmm0
jge 0xa10b
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x1, 0xf(%rcx,%rax)
je 0xa114
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0xa164
cmpb $0x1, 0x362f5(%rip)     # 0x40407
jne 0xa15d
divsd 0x213dc(%rip), %xmm0    # 0x2b4f8
callq 0x3370
movsd 0x213c7(%rip), %xmm1    # 0x2b4f0
callq 0x31b0
movsd 0x213ba(%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 0xa16c
leaq 0x36294(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14c75
movapd %xmm0, 0x40(%rsp)
movl 0x144(%rbx), %eax
cmpl $-0x3, %eax
jge 0xa190
cmpb $0x1, 0x36283(%rip)     # 0x40407
movsd (%rsp), %xmm0
je 0xa1cd
jmp 0xa214
addl $0x3, %eax
cmpl 0x140(%rbx), %eax
movsd (%rsp), %xmm0
jge 0xa1c4
movq 0x148(%rbx), %rcx
movl %eax, %esi
movq %rsi, %rax
shlq $0x4, %rax
cmpb $0x1, 0xf(%rcx,%rax)
je 0xa1cd
shlq $0x4, %rsi
addq 0x148(%rbx), %rsi
jmp 0xa21b
cmpb $0x1, 0x3623c(%rip)     # 0x40407
jne 0xa214
movsd 0x21323(%rip), %xmm1    # 0x2b4f8
callq 0x31b0
movsd (%rsp), %xmm4
movsd 0x21311(%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
movapd %xmm0, 0x30(%rsp)
jmp 0xa22e
leaq 0x361dd(%rip), %rsi     # 0x403f8
movq %rbx, %rdi
callq 0x14c75
movapd %xmm0, 0x30(%rsp)
movsd (%rsp), %xmm4
movsd 0x212aa(%rip), %xmm0    # 0x2b4e0
movapd 0x10(%rsp), %xmm3
addsd %xmm3, %xmm0
xorpd %xmm1, %xmm1
movapd %xmm3, %xmm2
cmpltsd %xmm1, %xmm2
andpd %xmm2, %xmm0
andnpd %xmm3, %xmm2
orpd %xmm0, %xmm2
cvttpd2dq %xmm2, %xmm0
cvtdq2pd %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
divsd 0x21252(%rip), %xmm4    # 0x2b4c0
movapd %xmm4, %xmm0
callq 0x3370
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm1
movsd 0x21269(%rip), %xmm0    # 0x2b4f0
movapd 0x10(%rsp), %xmm2
mulsd %xmm0, %xmm2
addsd 0x28(%rsp), %xmm2
mulsd %xmm0, %xmm2
addsd 0x40(%rsp), %xmm2
mulsd 0x2124f(%rip), %xmm2    # 0x2b4f8
addsd 0x30(%rsp), %xmm2
mulsd 0x21209(%rip), %xmm1    # 0x2b4c0
addsd %xmm2, %xmm1
movapd %xmm1, (%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