	.file	"extr_ftp.c_abort_remote.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Lost control connection for abort"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Can't send abort message"
.LC2:
	.string	"%cABOR\r\n"
	.text
	.p2align 4
	.globl	abort_remote
	.type	abort_remote, @function
abort_remote:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZ[rip]
	mov	rcx, rsp
	mov	r12, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L34:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L34
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L35
.L4:
	mov	rdi, QWORD PTR cout[rip]
	mov	r14, rsp
	test	rdi, rdi
	je	.L36
	movzx	eax, BYTE PTR IAC[rip]
	movzx	edx, BYTE PTR IP[rip]
	mov	r13d, DWORD PTR MSG_OOB[rip]
	mov	BYTE PTR 1[rsp], dl
	mov	BYTE PTR [rsp], al
	mov	BYTE PTR 2[rsp], al
	call	fileno@PLT
	mov	ecx, r13d
	mov	edx, 3
	mov	rsi, rsp
	mov	edi, eax
	call	send@PLT
	cmp	eax, 3
	je	.L8
	lea	rdi, .LC1[rip]
	call	warn@PLT
.L8:
	mov	edx, DWORD PTR DM[rip]
	mov	rdi, QWORD PTR cout[rip]
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
	mov	rdi, QWORD PTR cout[rip]
	call	fflush@PLT
	mov	edi, DWORD PTR cin[rip]
	mov	edx, 10
	mov	rsi, rbx
	call	empty@PLT
	mov	r13d, eax
	test	eax, eax
	jle	.L37
.L9:
	test	rbx, rbx
	je	.L12
	and	r13d, 2
	je	.L12
.L13:
	mov	r13d, DWORD PTR BUFSIZ[rip]
	mov	rdi, rbx
	call	fileno@PLT
	mov	rsi, r14
	mov	edi, eax
	mov	edx, r13d
	call	read@PLT
	test	rax, rax
	jg	.L13
.L12:
	xor	edi, edi
	call	getreply@PLT
	cmp	rax, QWORD PTR ERROR[rip]
	je	.L38
.L14:
	xor	edi, edi
	call	getreply@PLT
	mov	rsp, r12
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L39
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	jne	.L40
.L10:
	cmp	QWORD PTR ptabflg[rip], 0
	je	.L11
	mov	DWORD PTR code[rip], -1
.L11:
	xor	edi, edi
	call	lostpeer@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L38:
	cmp	DWORD PTR code[rip], 552
	jne	.L14
	xor	edi, edi
	call	getreply@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L35:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L36:
	lea	rdi, .LC0[rip]
	call	warnx@PLT
	cmp	QWORD PTR ptabflg[rip], 0
	je	.L6
	mov	DWORD PTR code[rip], -1
.L6:
	xor	edi, edi
	call	lostpeer@PLT
	mov	rsp, r12
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L40:
	lea	rdi, .LC1[rip]
	call	warn@PLT
	jmp	.L10
.L39:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	abort_remote, .-abort_remote
	.comm	ptabflg,8,8
	.comm	cout,8,8
	.comm	code,4,4
	.comm	cin,4,4
	.comm	MSG_OOB,4,4
	.comm	IP,1,1
	.comm	IAC,1,1
	.comm	ERROR,8,8
	.comm	DM,4,4
	.comm	BUFSIZ,4,4
	.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_ftp.c_abort_remote.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Lost control connection for abort\000"
	.align	2
.LC1:
	.ascii	"Can't send abort message\000"
	.align	2
.LC2:
	.ascii	"%cABOR\015\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	abort_remote
	.syntax unified
	.arm
	.fpu softvfp
	.type	abort_remote, %function
abort_remote:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12
	ldr	r6, .L37
	ldr	r5, .L37+4
	ldr	r3, [r6]
	ldr	r2, [r5]
	add	r3, r3, #7
	bic	r3, r3, #7
	mov	r7, sp
	sub	sp, sp, r3
	ldr	r3, .L37+8
	cmp	r2, #0
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	beq	.L31
	ldr	r3, .L37+12
	ldr	r1, .L37+16
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r1, [r1]	@ zero_extendqisi2
	strb	r3, [sp]
	strb	r3, [sp, #2]
	strb	r1, [sp, #1]
	mov	r4, r0
	mov	r0, r2
	bl	fileno
	ldr	r3, .L37+20
	mov	r2, #3
	mov	r1, sp
	ldr	r3, [r3]
	bl	send
	cmp	r0, #3
	mov	r8, sp
	bne	.L32
.L5:
	ldr	r3, .L37+24
	ldr	r1, .L37+28
	ldr	r2, [r3]
	ldr	r0, [r5]
	bl	fprintf
	ldr	r0, [r5]
	bl	fflush
	ldr	r3, .L37+32
	mov	r2, #10
	mov	r1, r4
	ldr	r0, [r3]
	bl	empty
	subs	r5, r0, #0
	ble	.L33
.L6:
	cmp	r4, #0
	beq	.L9
	tst	r5, #2
	bne	.L10
.L9:
	mov	r0, #0
	bl	getreply
	ldr	r3, .L37+36
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L34
.L11:
	mov	r0, #0
	bl	getreply
	mov	sp, r7
.L1:
	ldr	r3, .L37+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L32:
	ldr	r0, .L37+40
	bl	warn
	b	.L5
.L33:
	bne	.L36
.L7:
	ldr	r3, .L37+44
	mov	r0, #0
	ldr	r3, [r3]
	cmp	r3, #0
	mvnne	r2, #0
	ldrne	r3, .L37+48
	strne	r2, [r3]
	bl	lostpeer
	b	.L6
.L10:
	mov	r0, r4
	bl	fileno
	mov	r1, r8
	ldr	r2, [r6]
	bl	read
	cmp	r0, #0
	ble	.L9
	b	.L10
.L34:
	ldr	r3, .L37+48
	ldr	r3, [r3]
	cmp	r3, #552
	bne	.L11
	mov	r0, #0
	bl	getreply
	b	.L11
.L31:
	ldr	r0, .L37+52
	bl	warnx
	ldr	r3, .L37+44
	mov	r0, #0
	ldr	r3, [r3]
	cmp	r3, #0
	mvnne	r2, #0
	ldrne	r3, .L37+48
	strne	r2, [r3]
	bl	lostpeer
	mov	sp, r7
	b	.L1
.L36:
	ldr	r0, .L37+40
	bl	warn
	b	.L7
.L35:
	bl	__stack_chk_fail
.L38:
	.align	2
.L37:
	.word	BUFSIZ
	.word	cout
	.word	.LC3
	.word	IAC
	.word	IP
	.word	MSG_OOB
	.word	DM
	.word	.LC2
	.word	cin
	.word	ERROR
	.word	.LC1
	.word	ptabflg
	.word	code
	.word	.LC0
	.size	abort_remote, .-abort_remote
	.comm	ptabflg,4,4
	.comm	cout,4,4
	.comm	code,4,4
	.comm	cin,4,4
	.comm	MSG_OOB,4,4
	.comm	IP,1,1
	.comm	IAC,1,1
	.comm	ERROR,4,4
	.comm	DM,4,4
	.comm	BUFSIZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
