	.file	"355270.c"
	.intel_syntax noprefix
	.text
	.globl	keepold
	.data
	.align 4
	.type	keepold, @object
	.size	keepold, 4
keepold:
	.long	1
	.globl	fgspace
	.bss
	.align 32
	.type	fgspace, @object
	.size	fgspace, 150
fgspace:
	.zero	150
	.globl	fgp
	.section	.data.rel.local,"aw"
	.align 8
	.type	fgp, @object
	.size	fgp, 8
fgp:
	.quad	fgspace
	.globl	fgnames
	.bss
	.align 32
	.type	fgnames, @object
	.size	fgnames, 80
fgnames:
	.zero	80
	.globl	fgnamp
	.section	.data.rel.local
	.align 8
	.type	fgnamp, @object
	.size	fgnamp, 8
fgnamp:
	.quad	fgnames
	.section	.rodata
.LC0:
	.string	"%ld,%ld"
.LC1:
	.string	"r"
.LC2:
	.string	"the_stack_data/355270.c"
.LC3:
	.string	"fgnamp < fgnames+FGCT"
.LC4:
	.string	"fgp < fgspace+FGSIZE"
	.align 8
.LC5:
	.string	"Warning: index predates file '%s'\n"
	.text
	.globl	findline
	.type	findline, @function
findline:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 33
	mov	rdi, rax
	mov	eax, 0
	call	mindex@PLT
	test	rax, rax
	je	.L2
	mov	eax, 0
	jmp	.L26
.L2:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	al
	movzx	eax, al
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L4
.L6:
	add	QWORD PTR -24[rbp], 1
.L4:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 59
	jne	.L6
.L5:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L7
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -24[rbp], rax
.L8:
	lea	rcx, -32[rbp]
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 1
	jg	.L9
	mov	QWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	QWORD PTR -32[rbp], rax
.L9:
	cmp	DWORD PTR -48[rbp], 0
	je	.L10
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR fa.2[rip], rax
	jmp	.L11
.L10:
	mov	rax, QWORD PTR fa.2[rip]
	test	rax, rax
	je	.L12
	mov	rdx, QWORD PTR fa.2[rip]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	freopen@PLT
	mov	QWORD PTR fa.2[rip], rax
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR fa.2[rip], rax
.L13:
	mov	rax, QWORD PTR fa.2[rip]
	test	rax, rax
	jne	.L14
	mov	eax, 0
	jmp	.L26
.L14:
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, name.1[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR fa.2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	gdate@PLT
	cmp	QWORD PTR -80[rbp], rax
	jge	.L11
	cmp	QWORD PTR -80[rbp], 0
	je	.L11
	mov	eax, DWORD PTR keepold[rip]
	test	eax, eax
	je	.L15
	lea	rax, fgnames[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L16
.L18:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, name.1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	eax, 0
	jmp	.L26
.L17:
	add	QWORD PTR -16[rbp], 8
.L16:
	mov	rax, QWORD PTR fgnamp[rip]
	cmp	QWORD PTR -16[rbp], rax
	jb	.L18
	mov	rax, QWORD PTR fgnamp[rip]
	lea	rdx, 8[rax]
	mov	QWORD PTR fgnamp[rip], rdx
	mov	rdx, QWORD PTR fgp[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, name.1[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR fgnamp[rip]
	lea	rdx, fgnames[rip+80]
	cmp	rax, rdx
	jb	.L20
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 72
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L22:
	mov	rax, QWORD PTR fgp[rip]
	add	rax, 1
	mov	QWORD PTR fgp[rip], rax
.L20:
	mov	rax, QWORD PTR fgp[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	mov	rax, QWORD PTR fgp[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L22
.L21:
	mov	rax, QWORD PTR fgp[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR fgp[rip], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR fgp[rip]
	lea	rdx, fgspace[rip+150]
	cmp	rax, rdx
	jb	.L23
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 76
	lea	rsi, .LC2[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L23:
	mov	eax, 0
	jmp	.L26
.L15:
	lea	rdi, .LC5[rip]
	call	gettext@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, name.1[rip]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L11:
	mov	rax, QWORD PTR fa.2[rip]
	test	rax, rax
	je	.L24
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR fa.2[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L25
	mov	eax, 0
	jmp	.L26
.L25:
	mov	rdx, QWORD PTR fa.2[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L24:
	mov	rax, QWORD PTR -32[rbp]
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	findline, .-findline
	.local	fa.2
	.comm	fa.2,8,8
	.local	name.1
	.comm	name.1,100,32
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 9
__PRETTY_FUNCTION__.0:
	.string	"findline"
	.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	"355270.c"
	.text
	.global	keepold
	.data
	.align	2
	.type	keepold, %object
	.size	keepold, 4
keepold:
	.word	1
	.comm	fgspace,150,4
	.global	fgp
	.align	2
	.type	fgp, %object
	.size	fgp, 4
fgp:
	.word	fgspace
	.comm	fgnames,40,4
	.global	fgnamp
	.align	2
	.type	fgnamp, %object
	.size	fgnamp, 4
fgnamp:
	.word	fgnames
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%ld,%ld\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"the_stack_data/355270.c\000"
	.align	2
.LC3:
	.ascii	"fgnamp < fgnames+FGCT\000"
	.align	2
.LC4:
	.ascii	"fgp < fgspace+FGSIZE\000"
	.align	2
.LC5:
	.ascii	"Warning: index predates file '%s'\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findline
	.syntax unified
	.arm
	.fpu softvfp
	.type	findline, %function
findline:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r1, #33
	ldr	r0, [fp, #-48]
	bl	mindex
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	mov	r3, #0
	b	.L26
.L2:
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
	b	.L4
.L6:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L5
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #59
	bne	.L6
.L5:
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
	b	.L8
.L7:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
.L8:
	sub	r3, fp, #36
	sub	r2, fp, #40
	ldr	r1, .L28+4
	ldr	r0, [fp, #-32]
	bl	__isoc99_sscanf
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bgt	.L9
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-36]
.L9:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L28+8
	ldr	r3, [r3]
	ldr	r2, .L28+12
	str	r3, [r2]
	b	.L11
.L10:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L28+16
	ldr	r0, [fp, #-48]
	bl	freopen
	mov	r3, r0
	ldr	r2, .L28+12
	str	r3, [r2]
	b	.L13
.L12:
	ldr	r1, .L28+16
	ldr	r0, [fp, #-48]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L28+12
	str	r3, [r2]
.L13:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	mov	r3, #0
	b	.L26
.L14:
	ldr	r1, [fp, #-48]
	ldr	r0, .L28+20
	bl	strcpy
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	gdate
	mov	r2, r0
	ldr	r3, [fp, #-60]
	cmp	r3, r2
	bge	.L11
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L28+28
	str	r3, [fp, #-28]
	b	.L16
.L18:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r1, .L28+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	b	.L26
.L17:
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L16:
	ldr	r3, .L28+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L18
	ldr	r3, .L28+32
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r1, .L28+32
	str	r2, [r1]
	ldr	r2, .L28+36
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [r3]
	ldr	r1, .L28+20
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L28+32
	ldr	r3, [r3]
	ldr	r2, .L28+40
	cmp	r3, r2
	bcc	.L20
	ldr	r3, .L28+44
	mov	r2, #72
	ldr	r1, .L28+48
	ldr	r0, .L28+52
	bl	__assert_fail
.L22:
	ldr	r3, .L28+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L28+36
	str	r3, [r2]
.L20:
	ldr	r3, .L28+36
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L28+36
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L22
.L21:
	ldr	r3, .L28+36
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L28+36
	str	r2, [r1]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L28+36
	ldr	r3, [r3]
	ldr	r2, .L28+56
	cmp	r3, r2
	bcc	.L23
	ldr	r3, .L28+44
	mov	r2, #76
	ldr	r1, .L28+48
	ldr	r0, .L28+60
	bl	__assert_fail
.L23:
	mov	r3, #0
	b	.L26
.L15:
	ldr	r3, .L28+64
	ldr	r4, [r3]
	ldr	r0, .L28+68
	bl	gettext
	mov	r3, r0
	ldr	r2, .L28+20
	mov	r1, r3
	mov	r0, r4
	bl	fprintf
.L11:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L28+12
	ldr	r3, [r3]
	ldr	r1, [fp, #-40]
	mov	r2, #0
	mov	r0, r3
	bl	fseek
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	mov	r3, #0
	b	.L26
.L25:
	ldr	r3, [fp, #-52]
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	mov	r2, r3
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r1, #1
	bl	fread
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
.L24:
	ldr	r3, [fp, #-36]
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC6
	.word	.LC0
	.word	stdin
	.word	fa.4677
	.word	.LC1
	.word	name.4673
	.word	keepold
	.word	fgnames
	.word	fgnamp
	.word	fgp
	.word	fgnames+40
	.word	__PRETTY_FUNCTION__.4688
	.word	.LC2
	.word	.LC3
	.word	fgspace+150
	.word	.LC4
	.word	stderr
	.word	.LC5
	.size	findline, .-findline
	.local	fa.4677
	.comm	fa.4677,4,4
	.local	name.4673
	.comm	name.4673,100,4
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4688, %object
	.size	__PRETTY_FUNCTION__.4688, 9
__PRETTY_FUNCTION__.4688:
	.ascii	"findline\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
