	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPESdate_dayofweek          ## -- Begin function PGTYPESdate_dayofweek
	.p2align	4, 0x90
_PGTYPESdate_dayofweek:                 ## @PGTYPESdate_dayofweek
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$2000, %edi                     ## imm = 0x7D0
	movl	$1, %esi
	movl	$1, %edx
	callq	_date2j
	leal	(%rax,%rbx), %ecx
	addl	%ebx, %eax
	incl	%eax
	cltq
	imulq	$-1840700269, %rax, %rax        ## imm = 0x92492493
	shrq	$32, %rax
	addl	%ecx, %eax
	incl	%eax
	movl	%eax, %edx
	shrl	$31, %edx
	sarl	$2, %eax
	addl	%edx, %eax
	leal	(,%rax,8), %edx
	subl	%edx, %eax
	addl	%ecx, %eax
	incl	%eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PGTYPESdate_dayofweek          ; -- Begin function PGTYPESdate_dayofweek
	.p2align	2
_PGTYPESdate_dayofweek:                 ; @PGTYPESdate_dayofweek
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #2000
	mov	w1, #1
	mov	w2, #1
	bl	_date2j
	add	w8, w0, w19
	add	w8, w8, #1
	mov	w9, #9363
	movk	w9, #37449, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #2
	add	w9, w10, w9, lsr #31
	sub	w9, w9, w9, lsl #3
	add	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
