	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_passive_mode_epsv
_ftp_passive_mode_epsv:                 ## @ftp_passive_mode_epsv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	_ftp_passive_mode_epsv.epsv_codes(%rip), %rdx
	leaq	-32(%rbp), %rcx
	callq	_ftp_send_command
	cmpl	$229, %eax
	jne	LBB0_15
## %bb.1:
	movq	-32(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.2:
	incq	%rbx
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r15
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx), %eax
	cmpb	$40, %al
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$41, %al
	jne	LBB0_14
## %bb.6:
	testq	%r15, %r15
	je	LBB0_15
## %bb.7:
	movb	$0, -1(%rbx)
	movq	%r15, %rdi
	callq	_strlen
	cmpl	$5, %eax
	jl	LBB0_15
## %bb.8:
	cmpb	$124, (%r15)
	jne	LBB0_15
## %bb.9:
	cmpb	$124, 1(%r15)
	jne	LBB0_15
## %bb.10:
	cmpb	$124, 2(%r15)
	jne	LBB0_15
## %bb.11:
	cmpb	$124, -2(%rbx)
	jne	LBB0_15
## %bb.12:
	addq	$3, %r15
	movb	$0, -2(%rbx)
	movq	%r15, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_ff_dlog
	movq	-32(%rbp), %rdi
	callq	_av_free
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_15:
	movq	-32(%rbp), %rdi
	callq	_av_free
	movl	$-1, (%r14)
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EPSV\r\n"

	.section	__TEXT,__const
	.p2align	2                               ## @ftp_passive_mode_epsv.epsv_codes
_ftp_passive_mode_epsv.epsv_codes:
	.long	229                             ## 0xe5
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Server data port: %d\n"

	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.no_dead_strip	_ftp_passive_mode_epsv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_passive_mode_epsv
_ftp_passive_mode_epsv:                 ; @ftp_passive_mode_epsv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, _ftp_passive_mode_epsv.epsv_codes@PAGE
Lloh3:
	add	x2, x2, _ftp_passive_mode_epsv.epsv_codes@PAGEOFF
	add	x3, sp, #8
	bl	_ftp_send_command
	ldr	x8, [sp, #8]
	cmp	w0, #229
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_3
LBB0_1:
	ldr	x0, [sp, #8]
	bl	_av_free
	mov	w8, #-1
	str	w8, [x19]
Lloh4:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_3:
	mov	x20, #0
	add	x21, x8, #1
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x21
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x21, #-1]
	cmp	w8, #40
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #41
	b.ne	LBB0_5
; %bb.9:
	cbz	x20, LBB0_1
; %bb.10:
	sturb	wzr, [x21, #-1]
	mov	x0, x20
	bl	_strlen
	cmp	w0, #5
	b.lt	LBB0_1
; %bb.11:
	ldrb	w8, [x20]
	cmp	w8, #124
	b.ne	LBB0_1
; %bb.12:
	ldrb	w8, [x20, #1]
	cmp	w8, #124
	b.ne	LBB0_1
; %bb.13:
	ldrb	w8, [x20, #2]
	cmp	w8, #124
	b.ne	LBB0_1
; %bb.14:
	ldurb	w8, [x21, #-2]
	cmp	w8, #124
	b.ne	LBB0_1
; %bb.15:
	add	x0, x20, #3
	sturb	wzr, [x21, #-2]
	bl	_atoi
	mov	x2, x0
	str	w0, [x19]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ff_dlog
	ldr	x0, [sp, #8]
	bl	_av_free
	mov	w0, #0
	b	LBB0_2
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EPSV\r\n"

	.section	__TEXT,__const
	.p2align	2                               ; @ftp_passive_mode_epsv.epsv_codes
_ftp_passive_mode_epsv.epsv_codes:
	.long	229                             ; 0xe5
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Server data port: %d\n"

	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_ftp_passive_mode_epsv
.subsections_via_symbols
