	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function firstweek
_firstweek:                             ## @firstweek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	decl	%edi
	movl	%edi, -24(%rbp)
	movl	$10, -20(%rbp)
	movq	$0, -16(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_ndaysgi
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_weekday
	subl	%eax, %ebx
	leal	7(%rbx), %ecx
	cmpl	$4, %eax
	cmovll	%ebx, %ecx
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_firstweek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function firstweek
_firstweek:                             ; @firstweek
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w0, #1
	mov	w9, #10
	stp	w8, w9, [sp]
	str	xzr, [sp, #8]
	mov	x0, sp
	bl	_ndaysgi
	mov	x19, x0
	bl	_weekday
	sub	w8, w19, w0
	add	w9, w8, #7
	cmp	w0, #3
	csel	w0, w9, w8, gt
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_firstweek
.subsections_via_symbols
