	.file	"738828.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	tmundef, @object
	.size	tmundef, 56
tmundef:
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.zero	28
	.globl	getdate_err
	.bss
	.align 4
	.type	getdate_err, @object
	.size	getdate_err, 4
getdate_err:
	.zero	4
	.section	.rodata
.LC0:
	.string	"DATEMSK"
.LC1:
	.string	"r"
	.text
	.globl	getdate
	.type	getdate, @function
getdate:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 272
	mov	QWORD PTR -264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -208[rbp], 0
	lea	rdi, .LC0[rip]
	call	getenv@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -192[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
.L2:
	mov	DWORD PTR getdate_err[rip], 1
	mov	eax, 0
	jmp	.L55
.L3:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -228[rbp], eax
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L5
	mov	DWORD PTR getdate_err[rip], 2
	call	__errno_location@PLT
	mov	edx, DWORD PTR -228[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
	jmp	.L55
.L5:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	fstat@PLT
	test	eax, eax
	jns	.L6
	mov	DWORD PTR getdate_err[rip], 3
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 61440
	cmp	eax, 32768
	je	.L8
	mov	DWORD PTR getdate_err[rip], 4
	jmp	.L7
.L8:
	mov	DWORD PTR -252[rbp], 8192
	mov	edi, 8192
	call	malloc@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L9
	mov	DWORD PTR getdate_err[rip], 6
	jmp	.L7
.L9:
	mov	DWORD PTR -248[rbp], 0
.L54:
	mov	eax, DWORD PTR -252[rbp]
	sub	eax, DWORD PTR -248[rbp]
	mov	edx, DWORD PTR -248[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -200[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR -184[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L10
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L11
	mov	DWORD PTR getdate_err[rip], 5
	jmp	.L12
.L11:
	cmp	DWORD PTR -248[rbp], 0
	jne	.L13
	mov	DWORD PTR getdate_err[rip], 7
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -244[rbp], eax
	jmp	.L14
.L10:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -244[rbp], eax
	mov	eax, DWORD PTR -252[rbp]
	sub	eax, 1
	cmp	DWORD PTR -244[rbp], eax
	jne	.L14
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L14
	add	DWORD PTR -252[rbp], 8192
	mov	eax, DWORD PTR -252[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L15
	mov	DWORD PTR getdate_err[rip], 6
	jmp	.L12
.L15:
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -200[rbp], rax
	mov	eax, DWORD PTR -244[rbp]
	mov	DWORD PTR -248[rbp], eax
	jmp	.L16
.L14:
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L17
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L17:
	mov	QWORD PTR tm.0[rip], 0
	mov	QWORD PTR tm.0[rip+8], 0
	mov	QWORD PTR tm.0[rip+16], 0
	mov	QWORD PTR tm.0[rip+24], 0
	mov	QWORD PTR tm.0[rip+32], 0
	mov	QWORD PTR tm.0[rip+40], 0
	mov	QWORD PTR tm.0[rip+48], 0
	mov	DWORD PTR tm.0[rip], -1
	mov	DWORD PTR tm.0[rip+4], -1
	mov	DWORD PTR tm.0[rip+8], -1
	mov	DWORD PTR tm.0[rip+12], -1
	mov	DWORD PTR tm.0[rip+16], -1
	mov	DWORD PTR tm.0[rip+20], -1
	mov	DWORD PTR tm.0[rip+24], -1
	mov	rcx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -264[rbp]
	lea	rdx, tm.0[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	strptime@PLT
	test	eax, eax
	jne	.L18
	mov	DWORD PTR -248[rbp], 0
	jmp	.L16
.L18:
	lea	rax, -216[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -216[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	DWORD PTR -236[rbp], 0
	mov	eax, DWORD PTR -236[rbp]
	mov	DWORD PTR -240[rbp], eax
	mov	eax, DWORD PTR tm.0[rip]
	cmp	eax, -1
	je	.L19
	or	DWORD PTR -236[rbp], 1
.L19:
	mov	eax, DWORD PTR tm.0[rip+4]
	cmp	eax, -1
	je	.L20
	or	DWORD PTR -236[rbp], 2
.L20:
	mov	eax, DWORD PTR tm.0[rip+8]
	cmp	eax, -1
	je	.L21
	or	DWORD PTR -236[rbp], 4
.L21:
	mov	eax, DWORD PTR tm.0[rip+12]
	cmp	eax, -1
	je	.L22
	or	DWORD PTR -240[rbp], 1
.L22:
	mov	eax, DWORD PTR tm.0[rip+16]
	cmp	eax, -1
	je	.L23
	or	DWORD PTR -240[rbp], 2
.L23:
	mov	eax, DWORD PTR tm.0[rip+20]
	cmp	eax, -1
	je	.L24
	or	DWORD PTR -240[rbp], 4
.L24:
	mov	eax, DWORD PTR tm.0[rip+24]
	mov	DWORD PTR -224[rbp], eax
	cmp	DWORD PTR -236[rbp], 6
	ja	.L25
	mov	eax, DWORD PTR -236[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L27[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L27[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L27:
	.long	.L33-.L27
	.long	.L32-.L27
	.long	.L31-.L27
	.long	.L30-.L27
	.long	.L29-.L27
	.long	.L28-.L27
	.long	.L26-.L27
	.text
.L33:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR tm.0[rip], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR tm.0[rip+4], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR tm.0[rip+8], eax
	jmp	.L25
.L32:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR tm.0[rip+8], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR tm.0[rip+4], eax
	mov	edx, DWORD PTR tm.0[rip]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L57
	mov	eax, DWORD PTR tm.0[rip+4]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+4], eax
	jmp	.L57
.L31:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR tm.0[rip+8], eax
	mov	edx, DWORD PTR tm.0[rip+4]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jge	.L35
	mov	eax, DWORD PTR tm.0[rip+8]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+8], eax
.L35:
	mov	DWORD PTR tm.0[rip], 0
	jmp	.L25
.L30:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR tm.0[rip+8], eax
	mov	eax, DWORD PTR tm.0[rip+4]
	imul	edx, eax, 60
	mov	eax, DWORD PTR tm.0[rip]
	add	edx, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 4[rax]
	imul	ecx, eax, 60
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, ecx
	cmp	edx, eax
	jge	.L58
	mov	eax, DWORD PTR tm.0[rip+8]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+8], eax
	jmp	.L58
.L29:
	mov	DWORD PTR tm.0[rip+4], 0
	mov	DWORD PTR tm.0[rip], 0
	jmp	.L25
.L28:
	mov	DWORD PTR tm.0[rip+4], 0
	jmp	.L25
.L26:
	mov	DWORD PTR tm.0[rip], 0
	jmp	.L25
.L57:
	nop
	jmp	.L25
.L58:
	nop
.L25:
	cmp	DWORD PTR -240[rbp], 6
	ja	.L37
	mov	eax, DWORD PTR -240[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L39[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L39[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L39:
	.long	.L43-.L39
	.long	.L42-.L39
	.long	.L41-.L39
	.long	.L41-.L39
	.long	.L38-.L39
	.long	.L40-.L39
	.long	.L38-.L39
	.text
.L43:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR tm.0[rip+12], eax
	mov	edx, DWORD PTR tm.0[rip+8]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	edx, eax
	jge	.L44
	mov	eax, DWORD PTR tm.0[rip+12]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+12], eax
.L44:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR tm.0[rip+16], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR tm.0[rip+20], eax
	jmp	.L37
.L42:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR tm.0[rip+20], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR tm.0[rip+16], eax
	mov	edx, DWORD PTR tm.0[rip+12]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L59
	mov	eax, DWORD PTR tm.0[rip+16]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+16], eax
	jmp	.L59
.L41:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR tm.0[rip+20], eax
	mov	edx, DWORD PTR tm.0[rip+16]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	edx, eax
	jge	.L46
	mov	eax, DWORD PTR tm.0[rip+20]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+20], eax
.L46:
	mov	eax, DWORD PTR -240[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L60
	mov	DWORD PTR tm.0[rip+12], 1
	jmp	.L60
.L38:
	mov	eax, DWORD PTR -240[rbp]
	and	eax, 2
	test	eax, eax
	jne	.L48
	mov	DWORD PTR tm.0[rip+16], 0
.L48:
	mov	DWORD PTR tm.0[rip+12], 1
	jmp	.L37
.L40:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR tm.0[rip+16], eax
	mov	edx, DWORD PTR tm.0[rip+12]
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	edx, eax
	jge	.L61
	mov	eax, DWORD PTR tm.0[rip+16]
	add	eax, 1
	mov	DWORD PTR tm.0[rip+16], eax
	jmp	.L61
.L59:
	nop
	jmp	.L37
.L60:
	nop
	jmp	.L37
.L61:
	nop
.L37:
	mov	rax, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR tm.0[rip+24], eax
	mov	rax, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR tm.0[rip+40], rax
	mov	DWORD PTR tm.0[rip+32], -1
	mov	eax, DWORD PTR tm.0[rip+16]
	mov	DWORD PTR -220[rbp], eax
	lea	rdi, tm.0[rip]
	call	mktime@PLT
	cmp	rax, -1
	jne	.L50
	mov	DWORD PTR getdate_err[rip], 8
	jmp	.L12
.L50:
	mov	eax, DWORD PTR -240[rbp]
	and	eax, 2
	test	eax, eax
	je	.L51
	mov	eax, DWORD PTR tm.0[rip+16]
	cmp	DWORD PTR -220[rbp], eax
	je	.L51
	mov	DWORD PTR getdate_err[rip], 8
	jmp	.L12
.L51:
	cmp	DWORD PTR -224[rbp], -1
	je	.L52
	cmp	DWORD PTR -240[rbp], 7
	je	.L52
	mov	edx, DWORD PTR tm.0[rip+24]
	mov	eax, DWORD PTR -224[rbp]
	sub	eax, edx
	mov	DWORD PTR -232[rbp], eax
	cmp	DWORD PTR -232[rbp], 0
	jns	.L53
	add	DWORD PTR -232[rbp], 7
.L53:
	mov	edx, DWORD PTR tm.0[rip+12]
	mov	eax, DWORD PTR -232[rbp]
	add	eax, edx
	mov	DWORD PTR tm.0[rip+12], eax
	lea	rdi, tm.0[rip]
	call	mktime@PLT
	cmp	rax, -1
	jne	.L52
	mov	DWORD PTR getdate_err[rip], 8
	jmp	.L12
.L52:
	lea	rax, tm.0[rip]
	mov	QWORD PTR -208[rbp], rax
	jmp	.L12
.L16:
	jmp	.L54
.L12:
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	free@PLT
.L7:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -228[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -208[rbp]
.L55:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getdate, .-getdate
	.local	tm.0
	.comm	tm.0,56,32
	.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	"738828.c"
	.text
	.section	.rodata
	.align	2
	.type	tmundef, %object
	.size	tmundef, 44
tmundef:
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.space	16
	.comm	getdate_err,4,4
	.align	2
.LC0:
	.ascii	"DATEMSK\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getdate
	.syntax unified
	.arm
	.fpu softvfp
	.type	getdate, %function
getdate:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-160]
	ldr	r0, .L62+4
	bl	getenv
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-128]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, .L62+8
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	b	.L55
.L3:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	ldr	r1, .L62+12
	ldr	r0, [fp, #-128]
	bl	fopen
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L62+8
	mov	r2, #2
	str	r2, [r3]
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r3, [r2]
	mov	r3, #0
	b	.L55
.L5:
	ldr	r0, [fp, #-120]
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #100
	mov	r1, r3
	mov	r0, r2
	bl	fstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L62+8
	mov	r2, #3
	str	r2, [r3]
	b	.L7
.L6:
	ldr	r3, [fp, #-84]
	and	r3, r3, #61440
	cmp	r3, #32768
	beq	.L8
	ldr	r3, .L62+8
	mov	r2, #4
	str	r2, [r3]
	b	.L7
.L8:
	mov	r3, #8192
	str	r3, [fp, #-156]
	mov	r0, #8192
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L62+8
	mov	r2, #6
	str	r2, [r3]
	b	.L7
.L9:
	mov	r3, #0
	str	r3, [fp, #-152]
.L54:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-136]
	add	r0, r2, r3
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-152]
	sub	r3, r2, r3
	ldr	r2, [fp, #-120]
	mov	r1, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-120]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L62+8
	mov	r2, #5
	str	r2, [r3]
	b	.L12
.L11:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L62+8
	mov	r2, #7
	str	r2, [r3]
	b	.L12
.L13:
	ldr	r0, [fp, #-136]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-148]
	b	.L14
.L10:
	ldr	r0, [fp, #-136]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-156]
	sub	r3, r3, #1
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L14
	ldr	r3, [fp, #-156]
	add	r3, r3, #8192
	str	r3, [fp, #-156]
	ldr	r3, [fp, #-156]
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	realloc
	str	r0, [fp, #-116]
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L62+8
	mov	r2, #6
	str	r2, [r3]
	b	.L12
.L15:
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-152]
	b	.L16
.L14:
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L17
	ldr	r3, [fp, #-148]
	sub	r3, r3, #1
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L17:
	ldr	r3, .L62+16
	mov	r0, r3
	mov	r3, #44
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #20]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #24]
	ldr	r2, .L62+16
	ldr	r1, [fp, #-136]
	ldr	r0, [fp, #-168]
	bl	strptime
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L16
.L18:
	sub	r3, fp, #164
	mov	r0, r3
	bl	time
	sub	r3, fp, #164
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-140]
	str	r3, [fp, #-144]
	ldr	r3, .L62+16
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L19
	ldr	r3, [fp, #-140]
	orr	r3, r3, #1
	str	r3, [fp, #-140]
.L19:
	ldr	r3, .L62+16
	ldr	r3, [r3, #4]
	cmn	r3, #1
	beq	.L20
	ldr	r3, [fp, #-140]
	orr	r3, r3, #2
	str	r3, [fp, #-140]
.L20:
	ldr	r3, .L62+16
	ldr	r3, [r3, #8]
	cmn	r3, #1
	beq	.L21
	ldr	r3, [fp, #-140]
	orr	r3, r3, #4
	str	r3, [fp, #-140]
.L21:
	ldr	r3, .L62+16
	ldr	r3, [r3, #12]
	cmn	r3, #1
	beq	.L22
	ldr	r3, [fp, #-144]
	orr	r3, r3, #1
	str	r3, [fp, #-144]
.L22:
	ldr	r3, .L62+16
	ldr	r3, [r3, #16]
	cmn	r3, #1
	beq	.L23
	ldr	r3, [fp, #-144]
	orr	r3, r3, #2
	str	r3, [fp, #-144]
.L23:
	ldr	r3, .L62+16
	ldr	r3, [r3, #20]
	cmn	r3, #1
	beq	.L24
	ldr	r3, [fp, #-144]
	orr	r3, r3, #4
	str	r3, [fp, #-144]
.L24:
	ldr	r3, .L62+16
	ldr	r3, [r3, #24]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-140]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L25
.L27:
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L28
	.word	.L26
.L33:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	ldr	r2, .L62+16
	str	r3, [r2]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #4]
	ldr	r2, .L62+16
	str	r3, [r2, #4]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #8]
	ldr	r2, .L62+16
	str	r3, [r2, #8]
	b	.L25
.L32:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #8]
	ldr	r2, .L62+16
	str	r3, [r2, #8]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #4]
	ldr	r2, .L62+16
	str	r3, [r2, #4]
	ldr	r3, .L62+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L57
	ldr	r3, .L62+16
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #4]
	b	.L57
.L31:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #8]
	ldr	r2, .L62+16
	str	r3, [r2, #8]
	ldr	r3, .L62+16
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bge	.L35
	ldr	r3, .L62+16
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #8]
.L35:
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L30:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #8]
	ldr	r2, .L62+16
	str	r3, [r2, #8]
	ldr	r3, .L62+16
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L62+16
	ldr	r3, [r3]
	add	r1, r2, r3
	ldr	r3, [fp, #-112]
	ldr	r2, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-112]
	ldr	r3, [r3]
	add	r3, r2, r3
	cmp	r1, r3
	bge	.L58
	ldr	r3, .L62+16
	ldr	r3, [r3, #8]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #8]
	b	.L58
.L29:
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L28:
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3, #4]
	b	.L25
.L26:
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L57:
	nop
	b	.L25
.L58:
	nop
.L25:
	ldr	r3, [fp, #-144]
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L37
.L39:
	.word	.L43
	.word	.L42
	.word	.L41
	.word	.L41
	.word	.L38
	.word	.L40
	.word	.L38
.L43:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #12]
	ldr	r2, .L62+16
	str	r3, [r2, #12]
	ldr	r3, .L62+16
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bge	.L44
	ldr	r3, .L62+16
	ldr	r3, [r3, #12]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #12]
.L44:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #16]
	ldr	r2, .L62+16
	str	r3, [r2, #16]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #20]
	ldr	r2, .L62+16
	str	r3, [r2, #20]
	b	.L37
.L42:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #20]
	ldr	r2, .L62+16
	str	r3, [r2, #20]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #16]
	ldr	r2, .L62+16
	str	r3, [r2, #16]
	ldr	r3, .L62+16
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L59
	ldr	r3, .L62+16
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #16]
	b	.L59
.L41:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #20]
	ldr	r2, .L62+16
	str	r3, [r2, #20]
	ldr	r3, .L62+16
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bge	.L46
	ldr	r3, .L62+16
	ldr	r3, [r3, #20]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #20]
.L46:
	ldr	r3, [fp, #-144]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L62+16
	mov	r2, #1
	str	r2, [r3, #12]
	b	.L60
.L38:
	ldr	r3, [fp, #-144]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L62+16
	mov	r2, #0
	str	r2, [r3, #16]
.L48:
	ldr	r3, .L62+16
	mov	r2, #1
	str	r2, [r3, #12]
	b	.L37
.L40:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #16]
	ldr	r2, .L62+16
	str	r3, [r2, #16]
	ldr	r3, .L62+16
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L61
	ldr	r3, .L62+16
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2, #16]
	b	.L61
.L59:
	nop
	b	.L37
.L60:
	nop
	b	.L37
.L61:
	nop
.L37:
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #24]
	ldr	r2, .L62+16
	str	r3, [r2, #24]
	ldr	r3, [fp, #-112]
	ldr	r3, [r3, #36]
	ldr	r2, .L62+16
	str	r3, [r2, #36]
	ldr	r3, .L62+16
	mvn	r2, #0
	str	r2, [r3, #32]
	ldr	r3, .L62+16
	ldr	r3, [r3, #16]
	str	r3, [fp, #-104]
	ldr	r0, .L62+16
	bl	mktime
	mov	r3, r0
	cmn	r3, #1
	bne	.L50
	ldr	r3, .L62+8
	mov	r2, #8
	str	r2, [r3]
	b	.L12
.L50:
	ldr	r3, [fp, #-144]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L62+16
	ldr	r3, [r3, #16]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	beq	.L51
	ldr	r3, .L62+8
	mov	r2, #8
	str	r2, [r3]
	b	.L12
.L51:
	ldr	r3, [fp, #-108]
	cmn	r3, #1
	beq	.L52
	ldr	r3, [fp, #-144]
	cmp	r3, #7
	beq	.L52
	ldr	r3, .L62+16
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-108]
	sub	r3, r2, r3
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L53
	ldr	r3, [fp, #-132]
	add	r3, r3, #7
	str	r3, [fp, #-132]
.L53:
	ldr	r3, .L62+16
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-132]
	add	r3, r2, r3
	ldr	r2, .L62+16
	str	r3, [r2, #12]
	ldr	r0, .L62+16
	bl	mktime
	mov	r3, r0
	cmn	r3, #1
	bne	.L52
	ldr	r3, .L62+8
	mov	r2, #8
	str	r2, [r3]
	b	.L12
.L52:
	ldr	r3, .L62+16
	str	r3, [fp, #-160]
	b	.L12
.L16:
	b	.L54
.L12:
	ldr	r0, [fp, #-136]
	bl	free
.L7:
	ldr	r0, [fp, #-120]
	bl	fclose
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r3, [r2]
	ldr	r3, [fp, #-160]
.L55:
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC2
	.word	.LC0
	.word	getdate_err
	.word	.LC1
	.word	tm.5528
	.size	getdate, .-getdate
	.local	tm.5528
	.comm	tm.5528,44,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
