	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AliasHandleFtpOut
_AliasHandleFtpOut:                     ## @AliasHandleFtpOut
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_ip_next
	movq	%rax, %r14
	movl	(%rax), %r15d
	addl	(%rbx), %r15d
	shll	$2, %r15d
	movl	4(%rbx), %edi
	callq	_ntohs
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	subl	%r15d, %r13d
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_GetProtocolFlags
	movl	%eax, %r12d
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jg	LBB0_15
## %bb.1:
	movq	_WAIT_CRLF@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	jne	LBB0_15
## %bb.2:
	movslq	%r15d, %rax
	addq	%rbx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_FTP_UNKNOWN_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %edi
	callq	_ntohs
	movq	_FTP_CONTROL_PORT_NUMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_ParseFtpPortCommand
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_FTP_PORT_COMMAND@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_ParseFtp227Reply
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_FTP_227_REPLY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r8d
	movq	_FTP_UNKNOWN_MESSAGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_6:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_ParseFtpEprtCommand
	testq	%rax, %rax
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_8
## %bb.7:
	movq	_FTP_EPRT_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_8:
	movq	_FTP_UNKNOWN_MESSAGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_11:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_ParseFtp229Reply
	testq	%rax, %rax
	movq	_FTP_UNKNOWN_MESSAGE@GOTPCREL(%rip), %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_13
## %bb.12:
	movq	_FTP_229_REPLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
LBB0_13:
	cmpl	(%rcx), %r8d
	je	LBB0_15
## %bb.14:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	_NewFtpMessage
LBB0_15:
	cmpl	-88(%rbp), %r15d                ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.21:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	4(%rbx), %edi
	callq	_ntohs
	shlq	$32, %rax
	movabsq	$-8589934592, %rcx              ## imm = 0xFFFFFFFE00000000
	addq	%rax, %rcx
	sarq	$32, %rcx
	cmpb	$13, (%rbx,%rcx)
	jne	LBB0_19
## %bb.17:
	movabsq	$-4294967296, %rcx              ## imm = 0xFFFFFFFF00000000
	addq	%rcx, %rax
	sarq	$32, %rax
	cmpb	$10, (%rbx,%rax)
	jne	LBB0_19
## %bb.18:
	movq	_WAIT_CRLF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r12d
	movl	%r12d, %esi
	jmp	LBB0_20
LBB0_19:
	movq	_WAIT_CRLF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r12d, %esi
LBB0_20:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SetProtocolFlags               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.comm	_WAIT_CRLF,4,2                  ## @WAIT_CRLF
	.comm	_FTP_UNKNOWN_MESSAGE,4,2        ## @FTP_UNKNOWN_MESSAGE
	.comm	_FTP_CONTROL_PORT_NUMBER,8,3    ## @FTP_CONTROL_PORT_NUMBER
	.comm	_FTP_PORT_COMMAND,4,2           ## @FTP_PORT_COMMAND
	.comm	_FTP_EPRT_COMMAND,4,2           ## @FTP_EPRT_COMMAND
	.comm	_FTP_227_REPLY,4,2              ## @FTP_227_REPLY
	.comm	_FTP_229_REPLY,4,2              ## @FTP_229_REPLY
	.no_dead_strip	_AliasHandleFtpOut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AliasHandleFtpOut
_AliasHandleFtpOut:                     ; @AliasHandleFtpOut
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	mov	x0, x1
	bl	_ip_next
	mov	x28, x0
	ldr	w8, [x0]
	ldp	w9, w0, [x20]
	add	w8, w8, w9
	lsl	w25, w8, #2
	bl	_ntohs
	mov	x24, x0
	sub	w26, w24, w25
	mov	x0, x19
	bl	_GetProtocolFlags
	mov	x21, x0
Lloh0:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w26, w8
	b.gt	LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _WAIT_CRLF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WAIT_CRLF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.ne	LBB0_13
; %bb.2:
	add	x27, x20, w25, sxtw
Lloh6:
	adrp	x8, _FTP_UNKNOWN_MESSAGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FTP_UNKNOWN_MESSAGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w0, [x28, #4]
	bl	_ntohs
Lloh9:
	adrp	x8, _FTP_CONTROL_PORT_NUMBER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FTP_CONTROL_PORT_NUMBER@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x23
	mov	x1, x27
	mov	x2, x26
	bl	_ParseFtpPortCommand
	cbz	x0, LBB0_7
; %bb.4:
Lloh12:
	adrp	x8, _FTP_PORT_COMMAND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FTP_PORT_COMMAND@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	b	LBB0_11
LBB0_5:
	mov	x0, x23
	mov	x1, x27
	mov	x2, x26
	bl	_ParseFtp227Reply
	cbz	x0, LBB0_8
; %bb.6:
Lloh15:
	adrp	x8, _FTP_227_REPLY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FTP_227_REPLY@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	b	LBB0_11
LBB0_7:
	mov	x0, x23
	mov	x1, x27
	mov	x2, x26
	bl	_ParseFtpEprtCommand
Lloh18:
	adrp	x8, _FTP_EPRT_COMMAND@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FTP_EPRT_COMMAND@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	x0, #0
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	csel	w4, w4, w8, eq
	b	LBB0_11
LBB0_8:
	mov	x0, x23
	mov	x1, x27
	mov	x2, x26
	bl	_ParseFtp229Reply
	cbz	x0, LBB0_10
; %bb.9:
Lloh21:
	adrp	x8, _FTP_229_REPLY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FTP_229_REPLY@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	ldr	w8, [x20, #8]
	str	w8, [x23]
	b	LBB0_11
LBB0_10:
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
LBB0_11:
Lloh24:
	adrp	x8, _FTP_UNKNOWN_MESSAGE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FTP_UNKNOWN_MESSAGE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w4, w8
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	mov	x3, x22
	bl	_NewFtpMessage
LBB0_13:
	cmp	w25, w24
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_15:
	ldr	w0, [x20, #4]
	bl	_ntohs
	lsl	x8, x0, #32
	mov	x9, #-8589934592
	add	x9, x8, x9
	asr	x9, x9, #32
	ldrb	w9, [x20, x9]
	cmp	w9, #13
	b.ne	LBB0_18
; %bb.16:
	mov	x9, #-4294967296
	add	x8, x8, x9
	asr	x8, x8, #32
	ldrb	w8, [x20, x8]
	cmp	w8, #10
	b.ne	LBB0_18
; %bb.17:
Lloh27:
	adrp	x8, _WAIT_CRLF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WAIT_CRLF@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	bic	w1, w21, w8
	b	LBB0_19
LBB0_18:
Lloh30:
	adrp	x8, _WAIT_CRLF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WAIT_CRLF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w1, w8, w21
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_SetProtocolFlags
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.comm	_WAIT_CRLF,4,2                  ; @WAIT_CRLF
	.comm	_FTP_UNKNOWN_MESSAGE,4,2        ; @FTP_UNKNOWN_MESSAGE
	.comm	_FTP_CONTROL_PORT_NUMBER,8,3    ; @FTP_CONTROL_PORT_NUMBER
	.comm	_FTP_PORT_COMMAND,4,2           ; @FTP_PORT_COMMAND
	.comm	_FTP_EPRT_COMMAND,4,2           ; @FTP_EPRT_COMMAND
	.comm	_FTP_227_REPLY,4,2              ; @FTP_227_REPLY
	.comm	_FTP_229_REPLY,4,2              ; @FTP_229_REPLY
	.no_dead_strip	_AliasHandleFtpOut
.subsections_via_symbols
