	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_features
_ftp_features:                          ## @ftp_features
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_av_freep
	leaq	L_.str(%rip), %rsi
	leaq	_ftp_features.feat_codes(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_ftp_send_command
	cmpl	$211, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_av_freep
LBB0_2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_ftp_has_feature
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	_ftp_features.opts_codes(%rip), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_ftp_send_command
	andl	$-3, %eax
	cmpl	$200, %eax
	jne	LBB0_5
## %bb.4:
	movl	$1, (%r14)
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FEAT\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"OPTS UTF8 ON\r\n"

	.section	__TEXT,__const
	.p2align	2                               ## @ftp_features.feat_codes
_ftp_features.feat_codes:
	.long	211                             ## 0xd3
	.long	0                               ## 0x0

	.p2align	4                               ## @ftp_features.opts_codes
_ftp_features.opts_codes:
	.long	200                             ## 0xc8
	.long	202                             ## 0xca
	.long	451                             ## 0x1c3
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"UTF8"

	.no_dead_strip	_ftp_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_features
_ftp_features:                          ; @ftp_features
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_av_freep
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, _ftp_features.feat_codes@PAGE
Lloh3:
	add	x2, x2, _ftp_features.feat_codes@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_ftp_send_command
	cmp	w0, #211
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_av_freep
LBB0_2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ftp_has_feature
	cbz	x0, LBB0_5
; %bb.3:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh8:
	adrp	x2, _ftp_features.opts_codes@PAGE
Lloh9:
	add	x2, x2, _ftp_features.opts_codes@PAGEOFF
	mov	x0, x19
	mov	x3, #0
	bl	_ftp_send_command
	and	w8, w0, #0xfffffffd
	cmp	w8, #200
	b.ne	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19]
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FEAT\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"OPTS UTF8 ON\r\n"

	.section	__TEXT,__const
	.p2align	2                               ; @ftp_features.feat_codes
_ftp_features.feat_codes:
	.long	211                             ; 0xd3
	.long	0                               ; 0x0

	.p2align	2                               ; @ftp_features.opts_codes
_ftp_features.opts_codes:
	.long	200                             ; 0xc8
	.long	202                             ; 0xca
	.long	451                             ; 0x1c3
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"UTF8"

	.no_dead_strip	_ftp_features
.subsections_via_symbols
