	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ftp_status
_ftp_status:                            ## @ftp_status
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CONTROL_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_AV_BPRINT_SIZE_AUTOMATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-60(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r8, %rbx
	callq	_av_bprint_init
	movq	%rbx, %r8
LBB0_2:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movb	$1, %r14b
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r8, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r8, %r12
	callq	_ftp_get_line
	testl	%eax, %eax
	js	LBB0_31
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rcx
	callq	_av_log
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r13d
	xorl	%ebx, %ebx
	cmpl	$3, %eax
	jl	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r12), %eax
	leal	-58(%rax), %ecx
	cmpb	$-10, %cl
	movq	%r12, %r8
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%r8), %ecx
	leal	-58(%rcx), %edx
	cmpb	$-10, %dl
	jb	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	2(%r8), %edx
	leal	-58(%rdx), %esi
	cmpb	$-10, %sil
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	(%rax,%rax,4), %eax
	leal	(%rcx,%rax,2), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rdx,%rax,2), %ebx
	addl	$-5328, %ebx                    ## imm = 0xEB30
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r14b
	je	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r12d
	cmpl	$499, %ebx                      ## imm = 0x1F3
	ja	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movb	$1, %r14b
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testl	%ecx, %ecx
	je	LBB0_27
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ecx, %ebx
	je	LBB0_30
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%rax), %ecx
	addq	$4, %rax
	testl	%ecx, %ecx
	jne	LBB0_12
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %r8
	testb	$1, %r14b
	jne	LBB0_10
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %r12d                ## 4-byte Reload
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-60(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%r8, %rdx
	movq	%r8, %r14
	callq	_av_bprintf
	movq	%r14, %r8
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$4, %r13d
	jl	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r15b
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$45, 3(%r8)
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movl	%ebx, %r13d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
LBB0_27:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	cmpl	%r13d, %ebx
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$32, 3(%r8)
	cmovel	%eax, %r13d
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
LBB0_28:                                ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	setne	%r15b
	testb	%r14b, %r14b
	jne	LBB0_3
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_3
	jmp	LBB0_33
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r12d
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_18
	jmp	LBB0_19
LBB0_31:
	movl	%eax, %r13d
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.32:
	leaq	-60(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	jmp	LBB0_36
LBB0_33:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_35
## %bb.34:
	leaq	-60(%rbp), %rdi
	callq	_av_bprint_finalize
LBB0_35:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_36:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.37:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTROL_BUFFER_SIZE,4,2        ## @CONTROL_BUFFER_SIZE
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ## @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%s\r\n"

	.no_dead_strip	_ftp_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ftp_status
_ftp_status:                            ; @ftp_status
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	stur	x2, [x29, #-112]                ; 8-byte Folded Spill
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _CONTROL_BUFFER_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTROL_BUFFER_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	stur	x1, [x29, #-104]                ; 8-byte Folded Spill
	cbz	x1, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	sub	x0, x29, #92
	mov	w1, #0
	bl	_av_bprint_init
LBB0_2:
	mov	w20, #0
	mov	w19, #0
	mov	w24, #0
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	add	x8, x8, #4
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	mov	w25, #1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_ftp_get_line
	tbnz	w0, #31, LBB0_32
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x23
	bl	_av_log
	mov	x0, x23
	bl	_strlen
	mov	x26, x0
	cmp	w0, #3
	b.lt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23]
	sub	w9, w8, #58
	cmn	w9, #10
	b.lo	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x23, #1]
	sub	w10, w9, #58
	cmn	w10, #10
	b.lo	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w10, [x23, #2]
	sub	w11, w10, #58
	cmn	w11, #10
	b.hs	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	tbz	w25, #0, LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x28
	cmp	w28, #499
	b.hi	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	w9, [x8]
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	cbz	w9, LBB0_13
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w28, w9
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [x8], #4
	cbnz	w9, LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #1
	b	LBB0_27
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x28
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cbnz	x8, LBB0_18
	b	LBB0_19
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w11, #10
	madd	w8, w8, w11, w9
	madd	w8, w8, w11, w10
	mov	w9, #-5328
	add	w28, w8, w9
	tbnz	w25, #0, LBB0_9
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, x19
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cbz	x8, LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x29, #92
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x23
	bl	_av_bprintf
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w26, #4
	b.lt	LBB0_25
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w20, #0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23, #3]
	cmp	w8, #45
	b.ne	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
	mov	x19, x27
	mov	x24, x28
	b	LBB0_27
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w28, w24
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
	ldrb	w8, [x23, #3]
	cmp	w8, #32
	csel	w24, wzr, w24, eq
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w25, #0
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, x27
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w24, #0
	cset	w20, ne
	tbnz	w25, #0, LBB0_3
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w24, LBB0_3
; %bb.29:
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	cbz	x1, LBB0_31
; %bb.30:
	sub	x0, x29, #92
	bl	_av_bprint_finalize
LBB0_31:
	mov	x26, x19
	b	LBB0_34
LBB0_32:
	mov	x26, x0
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	cbz	x8, LBB0_34
; %bb.33:
	sub	x0, x29, #92
	mov	x1, #0
	bl	_av_bprint_finalize
LBB0_34:
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.35:
	mov	x0, x26
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTROL_BUFFER_SIZE,4,2        ; @CONTROL_BUFFER_SIZE
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ; @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%s\r\n"

	.no_dead_strip	_ftp_status
.subsections_via_symbols
