	.file	"extr_ftp.c_ftp_state_prepare_transfer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"NLST"
.LC1:
	.string	"LIST"
.LC2:
	.string	"PRET %s"
.LC3:
	.string	"PRET STOR %s"
.LC4:
	.string	"PRET RETR %s"
	.text
	.p2align 4
	.type	ftp_state_prepare_transfer, @function
ftp_state_prepare_transfer:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 16[rdi]
	mov	rcx, QWORD PTR FTPTRANSFER_BODY[rip]
	mov	rdx, QWORD PTR 40[rax]
	cmp	QWORD PTR [rdx], rcx
	jne	.L14
	cmp	QWORD PTR 32[rax], 0
	jne	.L15
	cmp	QWORD PTR 24[rax], 0
	je	.L4
	mov	rdx, QWORD PTR [rdi]
	mov	r12d, DWORD PTR CURLE_OK[rip]
	lea	rdi, 8[rdi]
	test	rdx, rdx
	je	.L16
	cmp	QWORD PTR 8[rax], 0
	je	.L8
	lea	rsi, .LC3[rip]
	call	PPSENDF@PLT
.L7:
	mov	esi, DWORD PTR FTP_PRET[rip]
	mov	rdi, rbp
	call	state@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR FTP_RETR_PREQUOTE[rip]
	call	state@PLT
	mov	edx, DWORD PTR FTP_RETR_PREQUOTE[rip]
	mov	esi, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ftp_state_quote@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR EPRT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ftp_state_use_port@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR STRING_CUSTOMREQUEST[rip]
	mov	rdx, QWORD PTR [rdx+rcx*8]
	test	rdx, rdx
	je	.L17
.L6:
	lea	rsi, .LC2[rip]
	call	PPSENDF@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ftp_state_use_pasv@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, .LC4[rip]
	call	PPSENDF@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	QWORD PTR 16[rax], 0
	lea	rdx, .LC0[rip]
	lea	rax, .LC1[rip]
	cmove	rdx, rax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ftp_state_prepare_transfer, .-ftp_state_prepare_transfer
	.comm	TRUE,4,4
	.comm	STRING_CUSTOMREQUEST,8,8
	.comm	FTP_RETR_PREQUOTE,4,4
	.comm	FTP_PRET,4,4
	.comm	FTPTRANSFER_BODY,8,8
	.comm	EPRT,4,4
	.comm	CURLE_OK,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_ftp_state_prepare_transfer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"NLST\000"
	.align	2
.LC1:
	.ascii	"LIST\000"
	.align	2
.LC2:
	.ascii	"PRET %s\000"
	.align	2
.LC3:
	.ascii	"PRET STOR %s\000"
	.align	2
.LC4:
	.ascii	"PRET RETR %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ftp_state_prepare_transfer, %function
ftp_state_prepare_transfer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	ldr	r2, .L18
	ldr	r1, [r3, #20]
	ldr	r2, [r2]
	ldr	r1, [r1]
	push	{r4, r5, r6, lr}
	cmp	r1, r2
	mov	r4, r0
	bne	.L14
	ldr	r2, [r3, #16]
	cmp	r2, #0
	bne	.L15
	ldr	r2, [r3, #12]
	cmp	r2, #0
	beq	.L4
	ldr	r2, [r0], #4
	ldr	r1, .L18+4
	cmp	r2, #0
	ldr	r5, [r1]
	beq	.L16
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ldrne	r1, .L18+8
	ldreq	r1, .L18+12
	bl	PPSENDF
.L7:
	ldr	r3, .L18+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	state
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r5, .L18+20
	ldr	r1, [r5]
	bl	state
	ldr	r3, .L18+24
	mov	r0, r4
	ldr	r2, [r5]
	ldr	r1, [r3]
	pop	{r4, r5, r6, lr}
	b	ftp_state_quote
.L15:
	ldr	r3, .L18+28
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	ftp_state_use_port
.L16:
	ldr	r1, .L18+32
	ldr	r2, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2, r1, lsl #2]
	cmp	r2, #0
	beq	.L17
.L6:
	ldr	r1, .L18+36
	bl	PPSENDF
	b	.L7
.L4:
	pop	{r4, r5, r6, lr}
	b	ftp_state_use_pasv
.L17:
	ldr	r1, [r3, #8]
	ldr	r3, .L18+40
	cmp	r1, #0
	ldr	r2, .L18+44
	moveq	r2, r3
	b	.L6
.L19:
	.align	2
.L18:
	.word	FTPTRANSFER_BODY
	.word	CURLE_OK
	.word	.LC3
	.word	.LC4
	.word	FTP_PRET
	.word	FTP_RETR_PREQUOTE
	.word	TRUE
	.word	EPRT
	.word	STRING_CUSTOMREQUEST
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	ftp_state_prepare_transfer, .-ftp_state_prepare_transfer
	.comm	TRUE,4,4
	.comm	STRING_CUSTOMREQUEST,4,4
	.comm	FTP_RETR_PREQUOTE,4,4
	.comm	FTP_PRET,4,4
	.comm	FTPTRANSFER_BODY,4,4
	.comm	EPRT,4,4
	.comm	CURLE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
