	.file	"extr_vary.c_adjday.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adjday, @function
adjday:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	sil, 43
	je	.L2
	cmp	sil, 45
	je	.L3
	test	edx, edx
	jle	.L10
	call	daysinmonth@PLT
	cmp	eax, ebx
	jl	.L10
	mov	DWORD PTR 0[rbp], ebx
.L7:
	mov	eax, 1
	test	r13d, r13d
	jne	.L25
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	daysinmonth@PLT
	mov	edx, DWORD PTR 0[rbp]
	sub	eax, edx
	cmp	eax, ebx
	jge	.L5
	mov	DWORD PTR 0[rbp], 1
	add	eax, 1
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 1
	mov	esi, 43
	mov	rdi, rbp
	sub	ebx, eax
	call	adjmon@PLT
	test	eax, eax
	je	.L10
.L2:
	test	ebx, ebx
	jne	.L8
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	edx, edx
	je	.L7
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L26:
	mov	DWORD PTR 0[rbp], 1
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdi, rbp
	mov	edx, 1
	mov	esi, 45
	sub	ebx, eax
	call	adjmon@PLT
	test	eax, eax
	je	.L10
	mov	rdi, rbp
	call	daysinmonth@PLT
	mov	DWORD PTR 0[rbp], eax
	test	ebx, ebx
	je	.L7
.L11:
	cmp	eax, ebx
	jle	.L26
	sub	eax, ebx
	mov	DWORD PTR 0[rbp], eax
	mov	eax, 1
	test	r13d, r13d
	je	.L1
.L25:
	movsx	esi, r12b
	mov	rdi, rbp
	call	domktime@PLT
	cmp	eax, -1
	setne	al
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	edx, ebx
	mov	eax, 1
	mov	DWORD PTR 0[rbp], edx
	test	r13d, r13d
	je	.L1
	jmp	.L25
	.cfi_endproc
.LFE0:
	.size	adjday, .-adjday
	.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_vary.c_adjday.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adjday, %function
adjday:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	cmp	r1, #43
	mov	r6, r1
	mov	r4, r2
	mov	r7, r3
	mov	r5, r0
	moveq	r9, #1
	moveq	r8, #0
	sub	sp, sp, #12
	beq	.L2
	cmp	r1, #45
	beq	.L3
	cmp	r2, #0
	ble	.L10
	bl	daysinmonth
	cmp	r0, r4
	blt	.L10
	str	r4, [r5]
.L7:
	cmp	r7, #0
	moveq	r0, #1
	bne	.L25
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	mov	r0, r5
	bl	daysinmonth
	ldr	r3, [r5]
	sub	r0, r0, r3
	cmp	r0, r4
	add	ip, r0, #1
	bge	.L5
	str	r9, [r5]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #43
	mov	r0, r5
	str	r8, [sp]
	sub	r4, r4, ip
	bl	adjmon
	cmp	r0, #0
	beq	.L10
.L2:
	cmp	r4, #0
	bne	.L8
	b	.L7
.L10:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	cmp	r2, #0
	beq	.L7
	mov	r9, #1
	mov	r8, #0
	ldr	ip, [r5]
	b	.L11
.L26:
	str	r9, [r5]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #45
	mov	r0, r5
	str	r8, [sp]
	sub	r4, r4, ip
	bl	adjmon
	cmp	r0, #0
	beq	.L10
	mov	r0, r5
	bl	daysinmonth
	cmp	r4, #0
	mov	ip, r0
	str	r0, [r5]
	beq	.L7
.L11:
	cmp	ip, r4
	ble	.L26
	sub	r4, ip, r4
	cmp	r7, #0
	moveq	r0, #1
	str	r4, [r5]
	beq	.L1
.L25:
	mov	r1, r6
	mov	r0, r5
	bl	domktime
	adds	r0, r0, #1
	movne	r0, #1
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	add	r4, r3, r4
	cmp	r7, #0
	moveq	r0, #1
	str	r4, [r5]
	beq	.L1
	b	.L25
	.size	adjday, .-adjday
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
