	.file	"896277.c"
	.intel_syntax noprefix
	.text
	.data
	.align 16
	.type	SccsId, @object
	.size	SccsId, 23
SccsId:
	.string	"@(#)doy.c\t44.1\t9/23/91"
	.globl	ndays
	.align 32
	.type	ndays, @object
	.size	ndays, 52
ndays:
	.long	0
	.long	0
	.long	31
	.long	59
	.long	90
	.long	120
	.long	151
	.long	181
	.long	212
	.long	243
	.long	273
	.long	304
	.long	334
	.text
	.globl	doy
	.type	doy, @function
doy:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	cmp	DWORD PTR -20[rbp], 0
	jle	.L2
	cmp	DWORD PTR -20[rbp], 12
	jle	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	cmp	DWORD PTR -24[rbp], 0
	jle	.L5
	cmp	DWORD PTR -24[rbp], 31
	jle	.L6
.L5:
	mov	eax, 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	mov	eax, 0
	call	lpyr
	test	eax, eax
	je	.L7
	cmp	DWORD PTR -20[rbp], 2
	jle	.L7
	mov	DWORD PTR -4[rbp], 1
	jmp	.L8
.L7:
	mov	DWORD PTR -4[rbp], 0
.L8:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ndays[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	doy, .-doy
	.globl	mdays
	.data
	.align 32
	.type	mdays, @object
	.size	mdays, 52
mdays:
	.long	0
	.long	31
	.long	28
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.long	31
	.long	30
	.long	31
	.long	30
	.long	31
	.text
	.globl	dom
	.type	dom, @function
dom:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -8[rbp], ecx
	cmp	DWORD PTR -4[rbp], 0
	jg	.L10
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, 0
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -8[rbp]
	mov	edi, eax
	mov	eax, 0
	call	lpyr
	test	eax, eax
	je	.L12
	mov	DWORD PTR mdays[rip+8], 29
	jmp	.L13
.L12:
	mov	DWORD PTR mdays[rip+8], 28
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, mdays[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jg	.L15
	mov	eax, 1
	jmp	.L11
.L15:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 12
	jle	.L16
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	eax, 0
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dom, .-dom
	.globl	lpyr
	.type	lpyr, @function
lpyr:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	edx, DWORD PTR -4[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L18
	mov	eax, 1
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 3
	test	eax, eax
	je	.L20
	mov	eax, 0
	jmp	.L19
.L20:
	mov	edx, DWORD PTR -4[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L21
	mov	eax, 0
	jmp	.L19
.L21:
	mov	eax, 1
.L19:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	lpyr, .-lpyr
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"896277.c"
	.text
	.data
	.align	2
	.type	SccsId, %object
	.size	SccsId, 23
SccsId:
	.ascii	"@(#)doy.c\01144.1\0119/23/91\000"
	.global	ndays
	.align	2
	.type	ndays, %object
	.size	ndays, 52
ndays:
	.word	0
	.word	0
	.word	31
	.word	59
	.word	90
	.word	120
	.word	151
	.word	181
	.word	212
	.word	243
	.word	273
	.word	304
	.word	334
	.text
	.align	2
	.global	doy
	.syntax unified
	.arm
	.fpu softvfp
	.type	doy, %function
doy:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-16]
	cmp	r3, #12
	ble	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L5
	ldr	r3, [fp, #-20]
	cmp	r3, #31
	ble	.L6
.L5:
	mov	r3, #0
	b	.L4
.L6:
	ldr	r0, [fp, #-24]
	bl	lpyr
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L7
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L8
.L7:
	mov	r3, #0
	str	r3, [fp, #-8]
.L8:
	ldr	r2, .L9
	ldr	r3, [fp, #-16]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	ndays
	.size	doy, .-doy
	.global	mdays
	.data
	.align	2
	.type	mdays, %object
	.size	mdays, 52
mdays:
	.word	0
	.word	31
	.word	28
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.word	31
	.word	30
	.word	31
	.word	30
	.word	31
	.text
	.align	2
	.global	dom
	.syntax unified
	.arm
	.fpu softvfp
	.type	dom, %function
dom:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L12
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L13
.L12:
	ldr	r0, [fp, #-20]
	bl	lpyr
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L19
	mov	r2, #29
	str	r2, [r3, #8]
	b	.L15
.L14:
	ldr	r3, .L19
	mov	r2, #28
	str	r2, [r3, #8]
.L15:
	ldr	r3, [fp, #-12]
	mov	r2, #1
	str	r2, [r3]
	b	.L16
.L18:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, .L19
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L17
	mov	r3, #1
	b	.L13
.L17:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r3, #12
	ble	.L18
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	mdays
	.size	dom, .-dom
	.align	2
	.global	lpyr
	.syntax unified
	.arm
	.fpu softvfp
	.type	lpyr, %function
lpyr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r3, .L26
	smull	r2, r3, r1, r3
	asr	r2, r3, #7
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L22
	mov	r3, #1
	b	.L23
.L22:
	ldr	r3, [fp, #-8]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L24
	mov	r3, #0
	b	.L23
.L24:
	ldr	r1, [fp, #-8]
	ldr	r3, .L26
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L25
	mov	r3, #0
	b	.L23
.L25:
	mov	r3, #1
.L23:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	1374389535
	.size	lpyr, .-lpyr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
