	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Date_setUTCMonth
_Date_setUTCMonth:                      ## @Date_setUTCMonth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_date_this
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movl	(%r15), %esi
	leaq	-72(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_number
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:
	cmpl	$2, %r12d
	jb	LBB0_8
## %bb.7:
	movl	4(%r15), %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_number
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_9
LBB0_1:
	movq	_JS_E_DATE_EXPECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_JS_E_MISSING_ARG@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_type_error               ## TAILCALL
LBB0_8:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_date_from_time
	movsd	%xmm0, -56(%rbp)
LBB0_9:
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_year_from_time
	movsd	-72(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	-56(%rbp), %xmm1                ## xmm1 = mem[0],zero
	movl	%eax, %edi
	callq	_make_day
	movl	%eax, %r14d
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_time_within_day
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_make_date
	callq	_time_clip
	movsd	%xmm0, (%rbx)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:
	callq	_jsval_number
	movl	%eax, (%rbx)
LBB0_11:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_JS_E_DATE_EXPECTED,4,2         ## @JS_E_DATE_EXPECTED
	.comm	_JS_E_MISSING_ARG,4,2           ## @JS_E_MISSING_ARG
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_Date_setUTCMonth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Date_setUTCMonth
_Date_setUTCMonth:                      ; @Date_setUTCMonth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	bl	_date_this
	cbz	x0, LBB0_5
; %bb.1:
	cbz	w23, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	d8, [x0]
	ldr	w1, [x22]
	add	x2, sp, #8
	mov	x0, x21
	bl	_to_number
	mov	x24, x0
	bl	_FAILED
	cbnz	x0, LBB0_12
; %bb.3:
	cmp	w23, #2
	b.lo	LBB0_8
; %bb.4:
	ldr	w1, [x22, #4]
	mov	x2, sp
	mov	x0, x21
	bl	_to_number
	mov	x24, x0
	bl	_FAILED
	cbnz	x0, LBB0_12
	b	LBB0_9
LBB0_5:
Lloh2:
	adrp	x8, _JS_E_DATE_EXPECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JS_E_DATE_EXPECTED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x8, _JS_E_MISSING_ARG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _JS_E_MISSING_ARG@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_throw_type_error
LBB0_8:
	fmov	d0, d8
	bl	_date_from_time
	str	d0, [sp]
LBB0_9:
	fmov	d0, d8
	bl	_year_from_time
	ldp	d1, d0, [sp]
	bl	_make_day
	mov	x21, x0
	fmov	d0, d8
	bl	_time_within_day
	mov	x1, x0
	mov	x0, x21
	bl	_make_date
	bl	_time_clip
	str	d0, [x20]
	cbz	x19, LBB0_11
; %bb.10:
	bl	_jsval_number
	str	w0, [x19]
LBB0_11:
Lloh6:
	adrp	x8, _S_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
LBB0_12:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_JS_E_DATE_EXPECTED,4,2         ; @JS_E_DATE_EXPECTED
	.comm	_JS_E_MISSING_ARG,4,2           ; @JS_E_MISSING_ARG
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_Date_setUTCMonth
.subsections_via_symbols
