	.file	"extr_check.c_date_dos2unix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	date_dos2unix, @function
date_dos2unix:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	shr	ax, 5
	and	eax, 15
	lea	edx, -1[rax]
	je	.L3
	movsx	rax, edx
	add	rax, rax
	cmp	edx, 1
	setle	r8b
.L2:
	mov	r9, QWORD PTR day_n[rip]
	mov	ecx, esi
	and	esi, 31
	shr	cx, 9
	movzx	eax, WORD PTR [r9+rax]
	movzx	edx, cx
	lea	eax, -1[rax+rsi]
	mov	esi, edx
	imul	edx, edx, 365
	sar	esi, 2
	add	eax, esi
	add	eax, edx
	xor	edx, edx
	and	ecx, 3
	mov	ecx, edi
	sete	dl
	and	ecx, 31
	and	edx, r8d
	sub	eax, edx
	mov	edx, edi
	shr	di, 11
	shr	dx, 5
	movzx	edi, di
	add	eax, 3653
	and	edx, 63
	imul	edi, edi, 1800
	imul	edx, edx, 30
	imul	eax, eax, 43200
	add	edx, ecx
	add	edi, edx
	add	eax, edi
	add	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, 1
	xor	eax, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	date_dos2unix, .-date_dos2unix
	.comm	day_n,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_check.c_date_dos2unix.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	date_dos2unix, %function
date_dos2unix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	lsr	r2, r1, #5
	and	r2, r2, #15
	cmp	r2, #0
	str	lr, [sp, #-4]!
	beq	.L3
	sub	r2, r2, #1
	cmp	r2, #1
	lsl	r3, r2, #1
	movgt	r2, #0
	movle	r2, #1
.L2:
	lsr	ip, r1, #9
	tst	ip, #3
	moveq	lr, r2
	movne	lr, #0
	ldr	r2, .L6
	ldr	r2, [r2]
	ldrh	r2, [r2, r3]
	and	r3, r1, #31
	sub	r3, r3, #1
	add	r2, r2, r3
	add	r3, ip, ip, lsl #3
	add	ip, ip, r3, lsl #3
	add	ip, ip, ip, lsl #2
	add	r3, r2, r1, lsr #11
	add	r3, r3, ip
	sub	r3, r3, lr
	lsr	r1, r0, #5
	add	r3, r3, #3648
	lsr	r2, r0, #11
	add	r3, r3, #5
	and	r1, r1, #63
	rsb	r1, r1, r1, lsl #4
	add	r3, r3, r3, lsl #1
	and	r0, r0, #31
	rsb	r2, r2, r2, lsl #4
	add	r0, r0, r1, lsl #1
	rsb	r2, r2, r2, lsl #4
	rsb	r3, r3, r3, lsl #4
	add	r0, r0, r2, lsl #3
	rsb	r3, r3, r3, lsl #4
	add	r3, r0, r3, lsl #6
	lsl	r0, r3, #17
	lsr	r0, r0, #16
	ldr	pc, [sp], #4
.L3:
	mov	r2, #1
	mov	r3, #0
	b	.L2
.L7:
	.align	2
.L6:
	.word	day_n
	.size	date_dos2unix, .-date_dos2unix
	.comm	day_n,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
