	.file	"755038.c"
	.intel_syntax noprefix
	.text
	.globl	getline2
	.type	getline2, @function
getline2:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
.L2:
	call	getchar@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	je	.L3
	cmp	DWORD PTR -4[rbp], 10
	jne	.L4
.L3:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getline2, .-getline2
	.globl	buf
	.data
	.align 4
	.type	buf, @object
	.size	buf, 4
buf:
	.long	-2
	.text
	.globl	getch
	.type	getch, @function
getch:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR buf[rip]
	cmp	eax, -2
	je	.L7
	mov	eax, DWORD PTR buf[rip]
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR buf[rip], -2
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L8
.L7:
	call	getchar@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getch, .-getch
	.globl	ungetch
	.type	ungetch, @function
ungetch:
.LFB8:
	.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	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR buf[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	ungetch, .-ungetch
	.globl	minscanf
	.type	minscanf, @function
minscanf:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 296
	.cfi_offset 3, -24
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -184[rbp], rsi
	mov	QWORD PTR -176[rbp], rdx
	mov	QWORD PTR -168[rbp], rcx
	mov	QWORD PTR -160[rbp], r8
	mov	QWORD PTR -152[rbp], r9
	test	al, al
	je	.L11
	movaps	XMMWORD PTR -144[rbp], xmm0
	movaps	XMMWORD PTR -128[rbp], xmm1
	movaps	XMMWORD PTR -112[rbp], xmm2
	movaps	XMMWORD PTR -96[rbp], xmm3
	movaps	XMMWORD PTR -80[rbp], xmm4
	movaps	XMMWORD PTR -64[rbp], xmm5
	movaps	XMMWORD PTR -48[rbp], xmm6
	movaps	XMMWORD PTR -32[rbp], xmm7
.L11:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -200[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -280[rbp], 0
	mov	DWORD PTR -224[rbp], 8
	mov	DWORD PTR -220[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -216[rbp], rax
	lea	rax, -192[rbp]
	mov	QWORD PTR -208[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR -264[rbp], rax
	jmp	.L12
.L48:
	nop
.L13:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	jne	.L13
	jmp	.L14
.L15:
	add	QWORD PTR -264[rbp], 1
.L14:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -264[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -264[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 37
	je	.L16
	mov	rax, QWORD PTR -264[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -276[rbp], eax
	je	.L51
	mov	eax, DWORD PTR -280[rbp]
	jmp	.L49
.L16:
	mov	DWORD PTR -272[rbp], 1
	mov	DWORD PTR -268[rbp], 0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -248[rbp], xmm0
	add	QWORD PTR -264[rbp], 1
	mov	rax, QWORD PTR -264[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 115
	je	.L20
	cmp	eax, 115
	jg	.L21
	cmp	eax, 100
	je	.L22
	cmp	eax, 102
	je	.L23
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -224[rbp]
	cmp	eax, 47
	ja	.L24
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -224[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -224[rbp]
	add	edx, 8
	mov	DWORD PTR -224[rbp], edx
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -216[rbp], rdx
.L25:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -232[rbp], rax
	cmp	DWORD PTR -276[rbp], 45
	je	.L26
	cmp	DWORD PTR -276[rbp], 43
	jne	.L30
.L26:
	cmp	DWORD PTR -276[rbp], 45
	jne	.L28
	mov	eax, -1
	jmp	.L29
.L28:
	mov	eax, 1
.L29:
	mov	DWORD PTR -272[rbp], eax
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -232[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 48
	add	edx, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
.L30:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR -276[rbp]
	mov	edi, eax
	call	ungetch
	mov	rax, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -272[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -280[rbp], 1
	jmp	.L19
.L23:
	mov	eax, DWORD PTR -224[rbp]
	cmp	eax, 47
	ja	.L32
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -224[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -224[rbp]
	add	edx, 8
	mov	DWORD PTR -224[rbp], edx
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -216[rbp], rdx
.L33:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -240[rbp], rax
	cmp	DWORD PTR -276[rbp], 45
	je	.L34
	cmp	DWORD PTR -276[rbp], 43
	jne	.L38
.L34:
	cmp	DWORD PTR -276[rbp], 45
	jne	.L36
	mov	eax, -1
	jmp	.L37
.L36:
	mov	eax, 1
.L37:
	mov	DWORD PTR -272[rbp], eax
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
	jmp	.L38
.L43:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L39
	mov	rax, QWORD PTR -240[rbp]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC0[rip]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -276[rbp]
	sub	eax, 48
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	mov	rax, QWORD PTR -240[rbp]
	movsd	QWORD PTR [rax], xmm0
	jmp	.L40
.L39:
	cmp	DWORD PTR -276[rbp], 46
	jne	.L40
	mov	DWORD PTR -268[rbp], 1
.L40:
	cmp	DWORD PTR -268[rbp], 1
	jne	.L41
	movsd	xmm1, QWORD PTR -248[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	jmp	.L42
.L41:
	movsd	xmm0, QWORD PTR -248[rbp]
.L42:
	movsd	QWORD PTR -248[rbp], xmm0
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
.L38:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L43
	cmp	DWORD PTR -276[rbp], 46
	je	.L43
	mov	eax, DWORD PTR -276[rbp]
	mov	edi, eax
	call	ungetch
	mov	rax, QWORD PTR -240[rbp]
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -272[rbp]
	mulsd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -248[rbp]
	mov	rax, QWORD PTR -240[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -280[rbp], 1
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -224[rbp]
	cmp	eax, 47
	ja	.L44
	mov	rax, QWORD PTR -208[rbp]
	mov	edx, DWORD PTR -224[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -224[rbp]
	add	edx, 8
	mov	DWORD PTR -224[rbp], edx
	jmp	.L45
.L44:
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -216[rbp], rdx
.L45:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -256[rbp], rax
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -256[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -256[rbp], rdx
	mov	edx, DWORD PTR -276[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, 0
	call	getch
	mov	DWORD PTR -276[rbp], eax
.L46:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	je	.L47
	mov	rax, QWORD PTR -256[rbp]
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -280[rbp], 1
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -280[rbp]
	jmp	.L49
.L51:
	nop
.L19:
	add	QWORD PTR -264[rbp], 1
.L12:
	mov	rax, QWORD PTR -264[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L48
	mov	eax, DWORD PTR -280[rbp]
.L49:
	mov	rcx, QWORD PTR -200[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	minscanf, .-minscanf
	.section	.rodata
.LC2:
	.string	"%d %s %d"
.LC3:
	.string	"valid : %d %s %d\n"
.LC4:
	.string	"%d/%f/%d"
.LC5:
	.string	"valid: %d/%f/%d\n"
.LC6:
	.string	"invalid"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1040
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1028[rbp], 0
	mov	DWORD PTR -1024[rbp], 0
	mov	DWORD PTR -1020[rbp], 0
	mov	edi, 10
	call	malloc@PLT
	mov	QWORD PTR -1016[rbp], rax
	lea	rcx, -1028[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	lea	rax, -1020[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, 3
	jne	.L53
	mov	ecx, DWORD PTR -1028[rbp]
	mov	eax, DWORD PTR -1020[rbp]
	mov	rdx, QWORD PTR -1016[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L53:
	lea	rcx, -1028[rbp]
	lea	rdx, -1020[rbp]
	lea	rax, -1024[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	minscanf
	cmp	eax, 3
	jne	.L55
	mov	ecx, DWORD PTR -1028[rbp]
	mov	edx, DWORD PTR -1020[rbp]
	mov	eax, DWORD PTR -1024[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L55:
	lea	rdi, .LC6[rip]
	call	puts@PLT
.L54:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1076101120
	.align 8
.LC1:
	.long	-1717986918
	.long	1069128089
	.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	"755038.c"
	.text
	.align	2
	.global	getline2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getline2, %function
getline2:
	@ 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, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
.L2:
	bl	getchar
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L4
.L3:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getline2, .-getline2
	.global	buf
	.data
	.align	2
	.type	buf, %object
	.size	buf, 4
buf:
	.word	-2
	.text
	.align	2
	.global	getch
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch, %function
getch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L9
	ldr	r3, [r3]
	cmn	r3, #2
	beq	.L7
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L9
	mvn	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	b	.L8
.L7:
	bl	getchar
	mov	r3, r0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	buf
	.size	getch, .-getch
	.align	2
	.global	ungetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	ungetch, %function
ungetch:
	@ 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	r2, .L12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	buf
	.size	ungetch, .-ungetch
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	minscanf
	.syntax unified
	.arm
	.fpu softvfp
	.type	minscanf, %function
minscanf:
	@ args = 4, pretend = 16, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #64
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-60]
	add	r3, fp, #8
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-56]
	b	.L15
.L45:
	nop
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getch
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L16
	b	.L17
.L18:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L19
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-48]
	cmp	r3, r2
	beq	.L48
	ldr	r3, [fp, #-60]
	b	.L46
.L19:
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L49+4
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L23
	cmp	r3, #115
	bgt	.L24
	cmp	r3, #100
	beq	.L25
	cmp	r3, #102
	beq	.L26
	b	.L24
.L25:
	ldr	r3, [fp, #-64]
	add	r2, r3, #4
	str	r2, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	beq	.L27
	ldr	r3, [fp, #-48]
	cmp	r3, #43
	bne	.L31
.L27:
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L29
	mvn	r3, #0
	b	.L30
.L29:
	mov	r3, #1
.L30:
	str	r3, [fp, #-44]
	bl	getch
	str	r0, [fp, #-48]
	b	.L31
.L32:
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #48
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	bl	getch
	str	r0, [fp, #-48]
.L31:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-48]
	bl	ungetch
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	mul	r2, r3, r2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L22
.L26:
	ldr	r3, [fp, #-64]
	add	r2, r3, #4
	str	r2, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	beq	.L33
	ldr	r3, [fp, #-48]
	cmp	r3, #43
	bne	.L37
.L33:
	ldr	r3, [fp, #-48]
	cmp	r3, #45
	bne	.L35
	mvn	r3, #0
	b	.L36
.L35:
	mov	r3, #1
.L36:
	str	r3, [fp, #-44]
	bl	getch
	str	r0, [fp, #-48]
	b	.L37
.L42:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-36]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L49+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	sub	r3, r3, #48
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-36]
	stm	r1, {r2-r3}
	b	.L39
.L38:
	ldr	r3, [fp, #-48]
	cmp	r3, #46
	bne	.L39
	mov	r3, #1
	str	r3, [fp, #-40]
.L39:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L40
	ldr	r2, .L49+8
	ldr	r3, .L49+12
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	b	.L41
.L40:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L41:
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	bl	getch
	str	r0, [fp, #-48]
.L37:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-48]
	cmp	r3, #46
	beq	.L42
	ldr	r0, [fp, #-48]
	bl	ungetch
	ldr	r3, [fp, #-36]
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-44]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-36]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L22
.L23:
	ldr	r3, [fp, #-64]
	add	r2, r3, #4
	str	r2, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	b	.L43
.L44:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, [fp, #-48]
	and	r2, r2, #255
	strb	r2, [r3]
	bl	getch
	str	r0, [fp, #-48]
.L43:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-52]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L22
.L24:
	ldr	r3, [fp, #-60]
	b	.L46
.L48:
	nop
.L22:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L15:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
	ldr	r3, [fp, #-60]
.L46:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, lr}
	add	sp, sp, #16
	bx	lr
.L50:
	.align	2
.L49:
	.word	.LC0
	.word	1076101120
	.word	-1717986918
	.word	1069128089
	.size	minscanf, .-minscanf
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d %s %d\000"
	.align	2
.LC2:
	.ascii	"valid : %d %s %d\012\000"
	.align	2
.LC3:
	.ascii	"%d/%f/%d\000"
	.align	2
.LC4:
	.ascii	"valid: %d/%f/%d\012\000"
	.align	2
.LC5:
	.ascii	"invalid\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1024
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1024
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1024]
	mov	r3, #0
	str	r3, [fp, #-1020]
	mov	r3, #0
	str	r3, [fp, #-1016]
	mov	r0, #10
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1012]
	sub	r3, fp, #1024
	sub	r1, fp, #1016
	ldr	r2, [fp, #-1012]
	ldr	r0, .L57+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L52
	ldr	r1, [fp, #-1016]
	ldr	r3, [fp, #-1024]
	ldr	r2, [fp, #-1012]
	ldr	r0, .L57+8
	bl	printf
	b	.L53
.L52:
	sub	r3, fp, #1024
	sub	r2, fp, #1016
	sub	r1, fp, #1020
	ldr	r0, .L57+12
	bl	minscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L54
	ldr	r1, [fp, #-1020]
	ldr	r2, [fp, #-1016]
	ldr	r3, [fp, #-1024]
	ldr	r0, .L57+16
	bl	printf
	b	.L53
.L54:
	ldr	r0, .L57+20
	bl	puts
.L53:
	mov	r3, #0
	ldr	r2, .L57
	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}
.L58:
	.align	2
.L57:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
