	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NewFtpMessage
_NewFtpMessage:                         ## @NewFtpMessage
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rsi), %rax
	cmpq	8(%rdi), %rax
	jne	LBB0_11
## %bb.1:
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_IPPORT_RESERVED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jl	LBB0_11
## %bb.2:
	movl	%r8d, %r12d
	movq	%rsi, %r14
	movq	%r15, %rdi
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	callq	_GetDestAddress
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_GetAliasAddress
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	_htons
	movq	_GET_ALIAS_PORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r11d
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	pushq	%r11
	pushq	%r10
	callq	_AddLink
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_PunchFWHole
	movq	%r14, %rdi
	callq	_ip_next
	movl	(%rax), %ebx
	addl	(%r14), %ebx
	shll	$2, %ebx
	leaq	4(%r14), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	4(%r14), %edi
	callq	_ntohs
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_MESSAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movq	%r15, %rdi
	movq	%rax, %r15
	callq	_GetAliasAddress
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_GetAliasPort
	addl	$-128, %r12d
	cmpl	$3, %r12d
	ja	LBB0_10
## %bb.4:
	movl	%eax, %ecx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_5:
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_8:
	movl	%ecx, %edi
	callq	_ntohs
	movl	%eax, %ecx
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_6
LBB0_9:
	movl	%ecx, %edi
	callq	_ntohs
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_10
LBB0_7:
	subq	$8, %rsp
	leaq	L_.str.1(%rip), %rsi
LBB0_6:
	movq	%r15, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rcx
	callq	_sprintf
	addq	$16, %rsp
LBB0_10:
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movslq	%ebx, %r13
	leaq	(%r14,%r13), %rdi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	subl	%r13d, %edx
	movq	%r15, %rsi
	callq	_strncpy
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_SetAckModified
	movq	%r14, %rdi
	callq	_ip_next
	movq	%rax, %r15
	movl	16(%rax), %edi
	movq	%rbx, %rsi
	callq	_GetDeltaSeqOut
	movl	%r13d, %esi
	subl	-60(%rbp), %esi                 ## 4-byte Folded Reload
	addl	%r12d, %esi
	addl	%eax, %esi
	movl	(%r14), %edx
	movl	4(%r14), %ecx
	movl	(%r15), %r9d
	movl	16(%r15), %r8d
	movq	%rbx, %rdi
	callq	_AddSeq
	addl	%r13d, %r12d
	movl	%r12d, %edi
	callq	_htons
	movl	%eax, -56(%rbp)
	leaq	8(%r14), %rdi
	leaq	-56(%rbp), %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, %ecx
	callq	_DifferentialChecksum
	movl	-56(%rbp), %eax
	movl	%eax, 4(%r14)
	movq	$0, 8(%r15)
	movq	%r14, %rdi
	callq	_TcpChecksum
	movq	%rax, 8(%r15)
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_IPPORT_RESERVED,8,3            ## @IPPORT_RESERVED
	.comm	_GET_ALIAS_PORT,4,2             ## @GET_ALIAS_PORT
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_MAX_MESSAGE_SIZE,4,2           ## @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PORT %d,%d,%d,%d,%d,%d\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"227 Entering Passive Mode (%d,%d,%d,%d,%d,%d)\r\n"

L_.str.2:                               ## @.str.2
	.asciz	"EPRT |1|%d.%d.%d.%d|%d|\r\n"

L_.str.3:                               ## @.str.3
	.asciz	"229 Entering Extended Passive Mode (|||%d|)\r\n"

	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_NewFtpMessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NewFtpMessage
_NewFtpMessage:                         ; @NewFtpMessage
	.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, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x1, #16]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
	mov	x22, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _IPPORT_RESERVED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPPORT_RESERVED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_11
; %bb.2:
	mov	x24, x4
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x0, x2
	bl	_GetDestAddress
	mov	x23, x0
	mov	x0, x20
	bl	_GetAliasAddress
	mov	x25, x0
	ldr	w0, [x22]
	bl	_htons
	mov	x4, x0
Lloh6:
	adrp	x8, _GET_ALIAS_PORT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GET_ALIAS_PORT@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
Lloh9:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x8]
	ldr	x1, [x22, #8]
	mov	w3, w25
	mov	x0, x22
	mov	x2, x23
	mov	w5, #0
	bl	_AddLink
	cbz	x0, LBB0_11
; %bb.3:
	mov	x26, x0
	bl	_PunchFWHole
	mov	x0, x19
	bl	_ip_next
	ldr	w8, [x19]
	ldr	w9, [x0]
	add	w8, w9, w8
	lsl	w28, w8, #2
	mov	x22, x19
	ldr	w0, [x22, #4]!
	bl	_ntohs
	stur	w0, [x29, #-96]                 ; 4-byte Folded Spill
	mov	x23, sp
Lloh12:
	adrp	x8, _MAX_MESSAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_MESSAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	mov	x0, x20
	bl	_GetAliasAddress
	mov	x27, x0
	mov	x0, x26
	bl	_GetAliasPort
                                        ; kill: def $w0 killed $w0 def $x0
	sub	w8, w24, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.4:
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	sub	sp, sp, #48
	str	x0, [sp, #24]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_6:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	sub	sp, sp, #32
	str	x0, [sp, #24]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x25
	mov	x2, x27
	bl	_sprintf
	add	sp, sp, #32
	b	LBB0_10
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ntohs
	mov	x2, x0
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x25
	bl	_sprintf
	b	LBB0_10
LBB0_8:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sub	sp, sp, #48
	str	x0, [sp, #24]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	mov	x0, x25
	mov	x2, x27
	bl	_sprintf
	add	sp, sp, #48
LBB0_10:
	mov	x0, x25
	bl	_strlen
	mov	x24, x0
	add	x0, x19, w28, sxtw
	sub	w2, w21, w28
	mov	x1, x25
	bl	_strncpy
	mov	sp, x23
	mov	x0, x20
	bl	_SetAckModified
	mov	x0, x19
	bl	_ip_next
	mov	x21, x0
	ldr	w0, [x0, #16]
	mov	x1, x20
	bl	_GetDeltaSeqOut
	ldur	w8, [x29, #-96]                 ; 4-byte Folded Reload
	sub	w8, w28, w8
	add	w8, w8, w24
	add	w1, w8, w0
	ldp	w2, w3, [x19]
	ldr	w4, [x21, #16]
	ldr	w5, [x21]
	mov	x0, x20
	bl	_AddSeq
	add	w0, w24, w28
	bl	_htons
	stur	w0, [x29, #-92]
	add	x0, x19, #8
	sub	x1, x29, #92
	mov	x2, x22
	mov	w3, #1
	bl	_DifferentialChecksum
	ldur	w8, [x29, #-92]
	str	w8, [x19, #4]
	str	xzr, [x21, #8]
	mov	x0, x19
	bl	_TcpChecksum
	str	x0, [x21, #8]
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_IPPORT_RESERVED,8,3            ; @IPPORT_RESERVED
	.comm	_GET_ALIAS_PORT,4,2             ; @GET_ALIAS_PORT
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_MAX_MESSAGE_SIZE,4,2           ; @MAX_MESSAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PORT %d,%d,%d,%d,%d,%d\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"227 Entering Passive Mode (%d,%d,%d,%d,%d,%d)\r\n"

l_.str.2:                               ; @.str.2
	.asciz	"EPRT |1|%d.%d.%d.%d|%d|\r\n"

l_.str.3:                               ; @.str.3
	.asciz	"229 Entering Extended Passive Mode (|||%d|)\r\n"

	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_NewFtpMessage
.subsections_via_symbols
