	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sldns_mon_and_mday_from_year_and_yday
_sldns_mon_and_mday_from_year_and_yday: ## @sldns_mon_and_mday_from_year_and_yday
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %ebx
	movl	20(%rdi), %edi
	callq	_is_leap_year
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_mdays@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_leap_year_mdays@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	$0, 8(%r14)
	movl	(%rax), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_7
## %bb.4:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	subl	%ecx, %ebx
	movl	4(%rax,%rdx,4), %ecx
	incq	%rdx
	cmpl	%ecx, %ebx
	jge	LBB0_5
## %bb.6:
	movq	%rdx, 8(%r14)
LBB0_7:
	incl	%ebx
	movl	%ebx, 16(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_leap_year_mdays,8,3            ## @leap_year_mdays
	.comm	_mdays,8,3                      ## @mdays
	.no_dead_strip	_sldns_mon_and_mday_from_year_and_yday
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sldns_mon_and_mday_from_year_and_yday
_sldns_mon_and_mday_from_year_and_yday: ; @sldns_mon_and_mday_from_year_and_yday
	.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
	ldr	w20, [x0]
	ldr	w0, [x0, #20]
	bl	_is_leap_year
Lloh0:
	adrp	x8, _leap_year_mdays@GOTPAGE
Lloh1:
	ldr	x8, [x8, _leap_year_mdays@GOTPAGEOFF]
Lloh2:
	adrp	x9, _mdays@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mdays@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	x9, [x8]
	str	xzr, [x19, #8]
	ldr	w8, [x9]
	cmp	w20, w8
	b.lt	LBB0_4
; %bb.1:
	mov	x10, #0
	add	x9, x9, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, w8
	ldr	w8, [x9, x10, lsl #2]
	add	x10, x10, #1
	cmp	w20, w8
	b.ge	LBB0_2
; %bb.3:
	str	x10, [x19, #8]
LBB0_4:
	add	w8, w20, #1
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_leap_year_mdays,8,3            ; @leap_year_mdays
	.comm	_mdays,8,3                      ; @mdays
	.no_dead_strip	_sldns_mon_and_mday_from_year_and_yday
.subsections_via_symbols
