	.file	"extr_parseutil.c_sldns_mon_and_mday_from_year_and_yday.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sldns_mon_and_mday_from_year_and_yday, @function
sldns_mon_and_mday_from_year_and_yday:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	ebx, DWORD PTR [rdi]
	mov	edi, DWORD PTR 20[rdi]
	call	is_leap_year@PLT
	mov	rcx, QWORD PTR leap_year_mdays[rip]
	mov	QWORD PTR 8[rbp], 0
	test	rax, rax
	cmove	rcx, QWORD PTR mdays[rip]
	mov	edx, DWORD PTR [rcx]
	cmp	ebx, edx
	jl	.L4
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rax
	add	rax, 1
	sub	ebx, edx
	mov	edx, DWORD PTR -4[rcx+rax*4]
	cmp	edx, ebx
	jle	.L5
	mov	QWORD PTR 8[rbp], rsi
.L4:
	add	ebx, 1
	mov	DWORD PTR 16[rbp], ebx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	sldns_mon_and_mday_from_year_and_yday, .-sldns_mon_and_mday_from_year_and_yday
	.comm	mdays,8,8
	.comm	leap_year_mdays,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_parseutil.c_sldns_mon_and_mday_from_year_and_yday.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sldns_mon_and_mday_from_year_and_yday, %function
sldns_mon_and_mday_from_year_and_yday:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0, #12]
	ldr	r4, [r5]
	bl	is_leap_year
	mov	r2, #0
	cmp	r0, #0
	ldrne	r3, .L9
	ldreq	r3, .L9+4
	ldr	r1, [r3]
	ldr	r3, [r1]
	str	r2, [r5, #4]
	cmp	r4, r3
	blt	.L4
	mov	r2, #1
.L5:
	sub	r4, r4, r3
	ldr	r3, [r1, #4]!
	mov	ip, r2
	cmp	r3, r4
	add	r2, r2, #1
	ble	.L5
	str	ip, [r5, #4]
.L4:
	add	r4, r4, #1
	str	r4, [r5, #8]
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	leap_year_mdays
	.word	mdays
	.size	sldns_mon_and_mday_from_year_and_yday, .-sldns_mon_and_mday_from_year_and_yday
	.comm	mdays,4,4
	.comm	leap_year_mdays,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
