	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MONTHCAL_GetFirstDayOfWeek
_MONTHCAL_GetFirstDayOfWeek:            ## @MONTHCAL_GetFirstDayOfWeek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	leal	6(%rax), %ecx
	imulq	$613566757, %rcx, %rdx          ## imm = 0x24924925
	shrq	$32, %rdx
	subl	%edx, %ecx
	shrl	%ecx
	addl	%edx, %ecx
	shrl	$2, %ecx
	leal	(,%rcx,8), %edx
	subl	%edx, %ecx
	addl	%ecx, %eax
	addl	$6, %eax
LBB0_2:
	movl	4(%rdi), %esi
	movl	%eax, %edi
	popq	%rbp
	jmp	_MAKELONG                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_MONTHCAL_GetFirstDayOfWeek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MONTHCAL_GetFirstDayOfWeek
_MONTHCAL_GetFirstDayOfWeek:            ; @MONTHCAL_GetFirstDayOfWeek
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	add	w8, w8, #6
	mov	w9, #18725
	movk	w9, #9362, lsl #16
	umull	x9, w8, w9
	lsr	x9, x9, #32
	sub	w10, w8, w9
	add	w9, w9, w10, lsr #1
	lsr	w9, w9, #2
	sub	w9, w9, w9, lsl #3
	add	w8, w8, w9
LBB0_2:
	ldr	w1, [x0, #4]
	mov	x0, x8
	b	_MAKELONG
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_MONTHCAL_GetFirstDayOfWeek
.subsections_via_symbols
