	.file	"extr_ftpd.c_find.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/etc/locatedb"
.LC1:
	.string	"/bin/locate -d %s -- %s"
.LC2:
	.string	"r"
.LC3:
	.string	"/bin/locate"
.LC4:
	.string	"Output from find."
.LC5:
	.string	"%s"
.LC6:
	.string	"Done"
	.text
	.p2align 4
	.globl	find
	.type	find, @function
find:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 1040
	.cfi_def_cfa_offset 1072
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 1032[rsp], rax
	xor	eax, eax
	mov	rbx, rsp
	call	ftp_rooted@PLT
	mov	esi, 1024
	mov	rdi, rbx
	mov	r8, rbp
	mov	rcx, rax
	lea	rdx, .LC1[rip]
	call	snprintf@PLT
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rbx
	lea	rsi, .LC2[rip]
	call	ftpd_popen@PLT
	test	rax, rax
	je	.L10
	lea	rsi, .LC4[rip]
	mov	edi, 200
	mov	rbp, rax
	call	lreply@PLT
	lea	r12, .LC5[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rbx
	mov	rdi, r12
	call	nreply@PLT
.L4:
	mov	rdx, rbp
	mov	esi, 1024
	mov	rdi, rbx
	call	fgets@PLT
	test	rax, rax
	je	.L11
	mov	rdi, rbx
	call	strlen@PLT
	sub	eax, 1
	cdqe
	cmp	BYTE PTR [rsp+rax], 10
	jne	.L5
	mov	rdi, rbx
	call	strlen@PLT
	sub	eax, 1
	cdqe
	mov	BYTE PTR [rsp+rax], 0
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, .LC6[rip]
	mov	edi, 200
	call	reply@PLT
	mov	rdi, rbp
	call	ftpd_pclose@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 1032[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 1040
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
	mov	edi, 550
	call	perror_reply@PLT
	mov	eax, 1
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	find, .-find
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ftpd.c_find.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/etc/locatedb\000"
	.align	2
.LC1:
	.ascii	"/bin/locate -d %s -- %s\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"/bin/locate\000"
	.align	2
.LC4:
	.ascii	"Output from find.\000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"Done\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	find
	.syntax unified
	.arm
	.fpu softvfp
	.type	find, %function
find:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	sub	sp, sp, #1040
	sub	sp, sp, #4
	mov	r4, r0
	ldr	r0, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #1036]
	mov	r3,#0
	bl	ftp_rooted
	mov	r1, #1024
	mov	r3, r0
	ldr	r2, .L12+8
	str	r4, [sp]
	add	r0, sp, #12
	bl	snprintf
	mov	r3, #1
	ldr	r1, .L12+12
	mov	r2, r3
	add	r0, sp, #12
	bl	ftpd_popen
	subs	r5, r0, #0
	beq	.L10
	mov	r0, #200
	ldr	r1, .L12+16
	bl	lreply
	mov	r7, #0
	ldr	r6, .L12+20
	b	.L4
.L6:
	add	r0, sp, #12
	bl	strlen
	add	r3, sp, #1040
	sub	r0, r0, #1
	add	r0, r3, r0
	ldrb	r3, [r0, #-1028]	@ zero_extendqisi2
	add	r1, sp, #12
	cmp	r3, #10
	strbeq	r7, [r0, #-1028]
	mov	r0, r6
	bl	nreply
.L4:
	mov	r2, r5
	mov	r1, #1024
	add	r0, sp, #12
	bl	fgets
	subs	r4, r0, #0
	bne	.L6
	mov	r0, #200
	ldr	r1, .L12+24
	bl	reply
	mov	r0, r5
	bl	ftpd_pclose
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #1036]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #1040
	add	sp, sp, #4
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r1, .L12+28
	ldr	r0, .L12+32
	bl	perror_reply
	mov	r4, #1
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC3
	.word	550
	.size	find, .-find
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
