	.file	"extr_ftp.c_ftp_mode_type.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"TYPE %c"
.LC1:
	.string	"MODE %c"
	.text
	.p2align 4
	.type	ftp_mode_type, @function
ftp_mode_type:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	eax, esi
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	and	eax, -33
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	eax, 83
	je	.L2
	test	esi, esi
	je	.L2
.L6:
	mov	eax, DWORD PTR FTP_PROTOCOL_ERROR[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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edx, 83
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	ftp_cmd@PLT
	cmp	r12d, 97
	je	.L7
	jg	.L5
	mov	eax, r12d
	and	eax, -9
	cmp	eax, 65
	je	.L4
	test	r12d, r12d
	jne	.L6
.L9:
	mov	r12d, 73
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, r12d
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ftp_cmd@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	r12d, 105
	je	.L9
	mov	eax, DWORD PTR FTP_PROTOCOL_ERROR[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
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r12d, 65
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ftp_mode_type, .-ftp_mode_type
	.comm	FTP_PROTOCOL_ERROR,4,4
	.comm	FTP_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_mode_type.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TYPE %c\000"
	.align	2
.LC1:
	.ascii	"MODE %c\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ftp_mode_type, %function
ftp_mode_type:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	bic	r3, r1, #32
	cmp	r3, #83
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r4, r2
	beq	.L2
	cmp	r1, #0
	beq	.L2
.L6:
	ldr	r3, .L21
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, #83
	mov	r0, r5
	ldr	r1, .L21+4
	bl	ftp_cmd
	cmp	r4, #97
	beq	.L7
	bgt	.L5
	bic	r3, r4, #8
	cmp	r3, #65
	beq	.L4
	cmp	r4, #0
	bne	.L6
.L9:
	mov	r4, #73
.L4:
	mov	r2, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	ldr	r1, .L21+8
	b	ftp_cmd
.L5:
	cmp	r4, #105
	beq	.L9
	b	.L6
.L7:
	mov	r4, #65
	b	.L4
.L22:
	.align	2
.L21:
	.word	FTP_PROTOCOL_ERROR
	.word	.LC1
	.word	.LC0
	.size	ftp_mode_type, .-ftp_mode_type
	.comm	FTP_PROTOCOL_ERROR,4,4
	.comm	FTP_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
