	.file	"966561.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC2:
	.string	"----------------------------------------------------------------------\n"
	.align 8
.LC3:
	.string	"xe-ldas3-escapelatency1 v 1: 24.September.2012 [JRH]"
.LC4:
	.string	"%s\n"
	.align 8
.LC5:
	.string	"Calcualte escape latency from a comment file input\n"
	.align 8
.LC6:
	.string	"Assumes input format = <time><TAB><comment>\n"
	.align 8
.LC7:
	.string	"\tTONE_ON marks the start of a trial\n"
	.align 8
.LC8:
	.string	"\tENTER_Z2 marks when the subject escapes to the platform\n"
	.align 8
.LC9:
	.string	"\tENTER_Z2 marks when the subject leaves the platform\n"
	.align 8
.LC10:
	.string	"\tif the subject is on the platform at trial-start, the result is \"NAN\"\n"
	.align 8
.LC11:
	.string	"\tif the subject does not escape before the next trial the result is \"OMIT\"\n"
.LC12:
	.string	"USAGE:\n"
.LC13:
	.string	"xe-ldas3-escapelatency1"
.LC14:
	.string	"\t%s [input] [options]\n"
	.align 8
.LC15:
	.string	"\t[input]: file name or \"stdin\"\n"
.LC16:
	.string	"VALID OPTIONS:\n"
.LC17:
	.string	"EXAMPLES:\n"
.LC18:
	.string	"\t%s 001-120426_00.cmt\n"
	.align 8
.LC19:
	.string	"\tcat 001-120426_00.cmt | %s stdin\n"
.LC20:
	.string	"OUTPUT:\n"
	.align 8
.LC21:
	.string	"\ttrial, start-time and escape latency\n"
.LC22:
	.string	"%s"
	.align 8
.LC23:
	.string	"\n--- Error [%s]: missing value for argument \"%s\"\n\n"
.LC24:
	.string	"-t"
	.align 8
.LC25:
	.string	"\n--- Error [%s]: invalid command line argument \"%s\"\n\n"
.LC26:
	.string	"stdin"
.LC27:
	.string	"r"
	.align 8
.LC28:
	.string	"\n--- Error [%s]: file \"%s\" not found\n\n"
.LC29:
	.string	"trial\tstart\tescape"
.LC30:
	.string	"%lf"
.LC31:
	.string	" ,\t\n\r"
.LC32:
	.string	"TONE_START"
.LC34:
	.string	"OMIT"
.LC35:
	.string	"%d\t%g\t"
.LC36:
	.string	"NAN"
.LC37:
	.string	"ENTER_Z2"
.LC38:
	.string	"%g\n"
.LC39:
	.string	"EXIT_Z2"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2912
	mov	DWORD PTR -2900[rbp], edi
	mov	QWORD PTR -2912[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2800[rbp], 0
	mov	DWORD PTR -2880[rbp], 0
	mov	DWORD PTR -2876[rbp], 0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -2808[rbp], xmm0
	mov	DWORD PTR -2872[rbp], 1
	mov	DWORD PTR -2868[rbp], 25
	mov	DWORD PTR -2864[rbp], 1
	pxor	xmm0, xmm0
	movss	DWORD PTR -2860[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -2856[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -2852[rbp], xmm0
	cmp	DWORD PTR -2900[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 75
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC13[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC13[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC13[rip]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -2272[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	QWORD PTR -2832[rbp], 2
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -2832[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L4
	mov	rax, QWORD PTR -2832[rbp]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -2900[rbp]
	cdqe
	cmp	rdx, rax
	jl	.L5
	mov	rax, QWORD PTR -2832[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -2832[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	mov	rax, QWORD PTR -2832[rbp]
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2872[rbp], eax
	add	QWORD PTR -2832[rbp], 1
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -2832[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2912[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	add	QWORD PTR -2832[rbp], 1
.L3:
	mov	eax, DWORD PTR -2900[rbp]
	cdqe
	cmp	QWORD PTR -2832[rbp], rax
	jl	.L7
	lea	rax, -2272[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -2816[rbp], rax
	jmp	.L9
.L8:
	lea	rax, -2272[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2816[rbp], rax
	cmp	QWORD PTR -2816[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -2272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC13[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	QWORD PTR -2824[rbp], 0
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L10
.L22:
	movzx	eax, BYTE PTR -2016[rbp]
	cmp	al, 35
	jne	.L11
	jmp	.L10
.L11:
	lea	rax, -2016[rbp]
	mov	QWORD PTR -2840[rbp], rax
	mov	DWORD PTR -2884[rbp], 2
	mov	DWORD PTR -2888[rbp], 1
	jmp	.L12
.L15:
	mov	QWORD PTR -2840[rbp], 0
	cmp	DWORD PTR -2888[rbp], 1
	jne	.L13
	lea	rdx, -2848[rbp]
	mov	rax, QWORD PTR -2792[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L13
	sub	DWORD PTR -2884[rbp], 1
.L13:
	cmp	DWORD PTR -2888[rbp], 2
	jne	.L14
	lea	rdx, -1008[rbp]
	mov	rax, QWORD PTR -2792[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	jne	.L14
	sub	DWORD PTR -2884[rbp], 1
.L14:
	add	DWORD PTR -2888[rbp], 1
.L12:
	mov	rax, QWORD PTR -2840[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -2792[rbp], rax
	cmp	QWORD PTR -2792[rbp], 0
	jne	.L15
	cmp	DWORD PTR -2884[rbp], 0
	je	.L16
	jmp	.L10
.L16:
	lea	rax, -1008[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	movsd	xmm0, QWORD PTR -2808[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L18
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L18:
	add	QWORD PTR -2824[rbp], 1
	movsd	xmm0, QWORD PTR -2848[rbp]
	movsd	QWORD PTR -2808[rbp], xmm0
	mov	rdx, QWORD PTR -2808[rbp]
	mov	rax, QWORD PTR -2824[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 1
	call	printf@PLT
	cmp	DWORD PTR -2880[rbp], 1
	jne	.L17
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -2808[rbp], xmm0
	lea	rdi, .LC36[rip]
	call	puts@PLT
.L17:
	lea	rax, -1008[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	DWORD PTR -2880[rbp], 1
	movsd	xmm0, QWORD PTR -2808[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jb	.L20
	movsd	xmm0, QWORD PTR -2848[rbp]
	subsd	xmm0, QWORD PTR -2808[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC38[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -2808[rbp], xmm0
.L20:
	lea	rax, -1008[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	mov	DWORD PTR -2880[rbp], 0
.L10:
	mov	rdx, QWORD PTR -2816[rbp]
	lea	rax, -2016[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L22
	lea	rax, -2272[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L23
	mov	rax, QWORD PTR -2816[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L23:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	-1074790400
	.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	"966561.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------------\012\000"
	.align	2
.LC1:
	.ascii	"xe-ldas3-escapelatency1 v 1: 24.September.2012 [JRH"
	.ascii	"]\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.align	2
.LC3:
	.ascii	"Calcualte escape latency from a comment file input\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Assumes input format = <time><TAB><comment>\012\000"
	.align	2
.LC5:
	.ascii	"\011TONE_ON marks the start of a trial\012\000"
	.align	2
.LC6:
	.ascii	"\011ENTER_Z2 marks when the subject escapes to the "
	.ascii	"platform\012\000"
	.align	2
.LC7:
	.ascii	"\011ENTER_Z2 marks when the subject leaves the plat"
	.ascii	"form\012\000"
	.align	2
.LC8:
	.ascii	"\011if the subject is on the platform at trial-star"
	.ascii	"t, the result is \"NAN\"\012\000"
	.align	2
.LC9:
	.ascii	"\011if the subject does not escape before the next "
	.ascii	"trial the result is \"OMIT\"\012\000"
	.align	2
.LC10:
	.ascii	"USAGE:\012\000"
	.align	2
.LC11:
	.ascii	"xe-ldas3-escapelatency1\000"
	.align	2
.LC12:
	.ascii	"\011%s [input] [options]\012\000"
	.align	2
.LC13:
	.ascii	"\011[input]: file name or \"stdin\"\012\000"
	.align	2
.LC14:
	.ascii	"VALID OPTIONS:\012\000"
	.align	2
.LC15:
	.ascii	"EXAMPLES:\012\000"
	.align	2
.LC16:
	.ascii	"\011%s 001-120426_00.cmt\012\000"
	.align	2
.LC17:
	.ascii	"\011cat 001-120426_00.cmt | %s stdin\012\000"
	.align	2
.LC18:
	.ascii	"OUTPUT:\012\000"
	.align	2
.LC19:
	.ascii	"\011trial, start-time and escape latency\012\000"
	.align	2
.LC20:
	.ascii	"%s\000"
	.align	2
.LC21:
	.ascii	"\012--- Error [%s]: missing value for argument \"%s"
	.ascii	"\"\012\012\000"
	.align	2
.LC22:
	.ascii	"-t\000"
	.align	2
.LC23:
	.ascii	"\012--- Error [%s]: invalid command line argument \""
	.ascii	"%s\"\012\012\000"
	.align	2
.LC24:
	.ascii	"stdin\000"
	.align	2
.LC25:
	.ascii	"r\000"
	.align	2
.LC26:
	.ascii	"\012--- Error [%s]: file \"%s\" not found\012\012\000"
	.align	2
.LC27:
	.ascii	"trial\011start\011escape\000"
	.align	2
.LC28:
	.ascii	"%lf\000"
	.align	2
.LC29:
	.ascii	" ,\011\012\015\000"
	.align	2
.LC30:
	.ascii	"TONE_START\000"
	.global	__aeabi_dcmpge
	.align	2
.LC31:
	.ascii	"OMIT\000"
	.align	2
.LC32:
	.ascii	"%d\011%g\011\000"
	.align	2
.LC33:
	.ascii	"NAN\000"
	.align	2
.LC34:
	.ascii	"ENTER_Z2\000"
	.global	__aeabi_dsub
	.align	2
.LC35:
	.ascii	"%g\012\000"
	.align	2
.LC36:
	.ascii	"EXIT_Z2\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2864
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2864
	str	r0, [fp, #-2864]
	str	r1, [fp, #-2868]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2832]
	mov	r3, #0
	str	r3, [fp, #-2836]
	mov	r3, #0
	str	r3, [fp, #-2828]
	mov	r2, #0
	ldr	r3, .L27+4
	str	r2, [fp, #-2788]
	str	r3, [fp, #-2784]
	mov	r3, #1
	str	r3, [fp, #-2824]
	mov	r3, #25
	str	r3, [fp, #-2820]
	mov	r3, #1
	str	r3, [fp, #-2816]
	mov	r3, #0
	str	r3, [fp, #-2812]	@ float
	mov	r3, #0
	str	r3, [fp, #-2808]	@ float
	mov	r3, #0
	str	r3, [fp, #-2804]	@ float
	ldr	r3, [fp, #-2864]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L27+12
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, .L27+16
	ldr	r1, .L27+20
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L27+12
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L27+24
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L27+28
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L27+32
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L27+36
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L27+40
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L27+44
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #75
	mov	r1, #1
	ldr	r0, .L27+48
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L27+52
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, .L27+56
	ldr	r1, .L27+60
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L27+64
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L27+68
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L27+72
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, .L27+56
	ldr	r1, .L27+76
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	ldr	r2, .L27+56
	ldr	r1, .L27+80
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L27+84
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L27+88
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L27+12
	bl	fwrite
	ldr	r3, .L27+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-2868]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #2256
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L27+92
	mov	r0, r3
	bl	sprintf
	mov	r3, #2
	str	r3, [fp, #-2856]
	b	.L3
.L7:
	ldr	r3, [fp, #-2856]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2868]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	ldr	r3, [fp, #-2856]
	add	r3, r3, #1
	ldr	r2, [fp, #-2864]
	cmp	r2, r3
	bgt	.L5
	ldr	r3, .L27+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-2856]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2868]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L27+56
	ldr	r1, .L27+96
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-2856]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2868]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L27+100
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-2856]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2868]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2824]
	ldr	r3, [fp, #-2856]
	add	r3, r3, #1
	str	r3, [fp, #-2856]
	b	.L4
.L6:
	ldr	r3, .L27+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-2856]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2868]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L27+56
	ldr	r1, .L27+104
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-2856]
	add	r3, r3, #1
	str	r3, [fp, #-2856]
.L3:
	ldr	r2, [fp, #-2856]
	ldr	r3, [fp, #-2864]
	cmp	r2, r3
	blt	.L7
	sub	r3, fp, #2256
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L27+108
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L27+112
	ldr	r3, [r3]
	str	r3, [fp, #-2840]
	b	.L9
.L8:
	sub	r3, fp, #2256
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L27+116
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2840]
	ldr	r3, [fp, #-2840]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L27+8
	ldr	r0, [r3]
	sub	r3, fp, #2256
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L27+56
	ldr	r1, .L27+120
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	mov	r3, #0
	str	r3, [fp, #-2852]
	ldr	r0, .L27+124
	bl	puts
	b	.L10
.L22:
	ldrb	r3, [fp, #-2008]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L11
	b	.L10
.L11:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-2860]
	mov	r3, #2
	str	r3, [fp, #-2844]
	mov	r3, #1
	str	r3, [fp, #-2848]
	b	.L12
.L15:
	mov	r3, #0
	str	r3, [fp, #-2860]
	ldr	r3, [fp, #-2848]
	cmp	r3, #1
	bne	.L13
	sub	r3, fp, #2784
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L27+128
	ldr	r0, [fp, #-2800]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L13
	ldr	r3, [fp, #-2844]
	sub	r3, r3, #1
	str	r3, [fp, #-2844]
.L13:
	ldr	r3, [fp, #-2848]
	cmp	r3, #2
	bne	.L14
	sub	r3, fp, #1008
	mov	r2, r3
	ldr	r1, .L27+92
	ldr	r0, [fp, #-2800]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L14
	ldr	r3, [fp, #-2844]
	sub	r3, r3, #1
	str	r3, [fp, #-2844]
.L14:
	ldr	r3, [fp, #-2848]
	add	r3, r3, #1
	str	r3, [fp, #-2848]
.L12:
	ldr	r1, .L27+132
	ldr	r0, [fp, #-2860]
	bl	strtok
	str	r0, [fp, #-2800]
	ldr	r3, [fp, #-2800]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-2844]
	cmp	r3, #0
	beq	.L16
	b	.L10
.L16:
	sub	r3, fp, #1008
	ldr	r1, .L27+136
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-2788]
	ldr	r1, [fp, #-2784]
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r0, .L27+140
	bl	puts
.L18:
	ldr	r3, [fp, #-2852]
	add	r3, r3, #1
	str	r3, [fp, #-2852]
	ldr	r2, [fp, #-2796]
	ldr	r3, [fp, #-2792]
	str	r2, [fp, #-2788]
	str	r3, [fp, #-2784]
	ldr	r2, [fp, #-2788]
	ldr	r3, [fp, #-2784]
	ldr	r1, [fp, #-2852]
	ldr	r0, .L27+144
	bl	printf
	ldr	r3, [fp, #-2836]
	cmp	r3, #1
	bne	.L17
	mov	r2, #0
	ldr	r3, .L27+4
	str	r2, [fp, #-2788]
	str	r3, [fp, #-2784]
	ldr	r0, .L27+148
	bl	puts
.L17:
	sub	r3, fp, #1008
	ldr	r1, .L27+152
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r3, #1
	str	r3, [fp, #-2836]
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-2788]
	ldr	r1, [fp, #-2784]
	bl	__aeabi_dcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, [fp, #-2796]
	ldr	r1, [fp, #-2792]
	ldr	r2, [fp, #-2788]
	ldr	r3, [fp, #-2784]
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L27+156
	bl	printf
	mov	r2, #0
	ldr	r3, .L27+4
	str	r2, [fp, #-2788]
	str	r3, [fp, #-2784]
.L20:
	sub	r3, fp, #1008
	ldr	r1, .L27+160
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	str	r3, [fp, #-2836]
.L10:
	sub	r3, fp, #2000
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2840]
	mov	r1, #1000
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	sub	r3, fp, #2256
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L27+108
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, [fp, #-2840]
	bl	fclose
.L23:
	mov	r0, #0
	bl	exit
.L28:
	.align	2
.L27:
	.word	.LC37
	.word	-1074790400
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	stdin
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
