	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdnToFrench                    ## -- Begin function SdnToFrench
	.p2align	4, 0x90
_SdnToFrench:                           ## @SdnToFrench
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	_FIRST_VALID@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jg	LBB0_2
## %bb.1:
	movq	_LAST_VALID@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jl	LBB0_2
## %bb.3:
	movq	_FRENCH_SDN_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	leaq	-1(,%rdi,4), %rax
	movq	_DAYS_PER_4_YEARS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	cqto
	idivq	%rdi
	jmp	LBB0_6
LBB0_2:
	movl	$0, (%rsi)
	movl	$0, (%r8)
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	leaq	3(%rdx), %rdi
	testq	%rdx, %rdx
	cmovnsq	%rdx, %rdi
	movl	%eax, (%rsi)
	shrq	$2, %rdi
	movq	_DAYS_PER_MONTH@GOTPCREL(%rip), %rsi
	movl	%edi, %eax
	cltd
	idivl	(%rsi)
	incl	%eax
	movl	%eax, (%r8)
	movl	%edi, %eax
	cltd
	idivl	(%rsi)
	incl	%edx
LBB0_7:
	movl	%edx, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FIRST_VALID,8,3                ## @FIRST_VALID
	.comm	_LAST_VALID,8,3                 ## @LAST_VALID
	.comm	_FRENCH_SDN_OFFSET,8,3          ## @FRENCH_SDN_OFFSET
	.comm	_DAYS_PER_4_YEARS,8,3           ## @DAYS_PER_4_YEARS
	.comm	_DAYS_PER_MONTH,4,2             ## @DAYS_PER_MONTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SdnToFrench                    ; -- Begin function SdnToFrench
	.p2align	2
_SdnToFrench:                           ; @SdnToFrench
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FIRST_VALID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FIRST_VALID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _LAST_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LAST_VALID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #8, le
	b.ge	LBB0_2
; %bb.1:
	str	wzr, [x1]
	str	wzr, [x2]
	str	wzr, [x3]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _FRENCH_SDN_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FRENCH_SDN_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x8, x0, x8
	lsl	x8, x8, #2
	sub	x8, x8, #1
Lloh9:
	adrp	x9, _DAYS_PER_4_YEARS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DAYS_PER_4_YEARS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	sdiv	x10, x8, x9
	str	w10, [x1]
	msub	x8, x10, x9, x8
	add	x9, x8, #3
	cmp	x8, #0
	csel	x8, x9, x8, lt
	lsr	x8, x8, #2
Lloh12:
	adrp	x9, _DAYS_PER_MONTH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DAYS_PER_MONTH@GOTPAGEOFF]
	ldr	w10, [x9]
	sdiv	w10, w8, w10
	add	w10, w10, #1
	str	w10, [x2]
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	add	w8, w8, #1
	str	w8, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FIRST_VALID,8,3                ; @FIRST_VALID
	.comm	_LAST_VALID,8,3                 ; @LAST_VALID
	.comm	_FRENCH_SDN_OFFSET,8,3          ; @FRENCH_SDN_OFFSET
	.comm	_DAYS_PER_4_YEARS,8,3           ; @DAYS_PER_4_YEARS
	.comm	_DAYS_PER_MONTH,4,2             ; @DAYS_PER_MONTH
.subsections_via_symbols
