	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proxy_reply                    ## -- Begin function proxy_reply
	.p2align	4, 0x90
_proxy_reply:                           ## @proxy_reply
	.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
	movl	%edi, %r14d
	leal	-128(%r14), %eax
	cmpl	$3, %eax
	ja	LBB0_13
## %bb.1:
	movl	%edx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_sock_ntop
	leal	255(%rbx), %r8d
	testl	%ebx, %ebx
	cmovnsl	%ebx, %r8d
	movl	%r8d, %ecx
	andl	$-256, %ecx
	subl	%ecx, %ebx
	sarl	$8, %r8d
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_3
LBB0_10:
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.4(%rip), %rdx
	movl	$8, %esi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$8, %eax
	jae	LBB0_12
	jmp	LBB0_14
LBB0_5:
	movl	(%rsi), %eax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_sock_ntop
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_7
LBB0_4:
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_sock_ntop
	leal	255(%rbx), %r8d
	testl	%ebx, %ebx
	cmovnsl	%ebx, %r8d
	movl	%r8d, %ecx
	andl	$-256, %ecx
	subl	%ecx, %ebx
	sarl	$8, %r8d
	leaq	L_.str.1(%rip), %rdx
LBB0_3:
	movq	%r15, %rdi
	movl	$8, %esi
	movq	%rax, %rcx
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$8, %eax
	jb	LBB0_14
LBB0_12:
	movq	_LOG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	callq	_logmsg
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	$0, (%rax)
LBB0_13:
	movq	_linelen@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.9:
	movq	_linebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_sock_ntop
	leaq	L_.str.3(%rip), %rdx
LBB0_7:
	movq	%r15, %rdi
	movl	$8, %esi
	movq	%rax, %rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	$8, %eax
	jae	LBB0_12
LBB0_14:
	movq	_linelen@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	andl	$-2, %r14d
	cmpl	$128, %r14d
	jne	LBB0_20
## %bb.15:
	testl	%eax, %eax
	je	LBB0_20
## %bb.16:
	xorl	%edx, %edx
	movq	_linebuf@GOTPCREL(%rip), %rsi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rdx
	movslq	%eax, %rdi
	cmpq	%rdi, %rdx
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi), %rdi
	cmpb	$46, (%rdi,%rdx)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movb	$44, (%rdi,%rdx)
	movl	(%rcx), %eax
	jmp	LBB0_19
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_linebuf,8,3                    ## @linebuf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PORT %s,%u,%u\r\n"

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

	.comm	_AF_INET,4,2                    ## @AF_INET
L_.str.2:                               ## @.str.2
	.asciz	"EPRT |1|%s|%u|\r\n"

	.comm	_AF_INET6,4,2                   ## @AF_INET6
L_.str.3:                               ## @.str.3
	.asciz	"EPRT |2|%s|%u|\r\n"

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

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.5:                               ## @.str.5
	.asciz	"proxy_reply failed: %d"

	.comm	_linelen,4,2                    ## @linelen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_proxy_reply                    ; -- Begin function proxy_reply
	.p2align	2
_proxy_reply:                           ; @proxy_reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_12
; %bb.1:
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _linebuf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh4:
	ldr	x21, [x8]
	mov	x0, x1
	bl	_sock_ntop
	add	w8, w20, #255
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w9, w8, #8
	and	w8, w8, #0xffffff00
	sub	w8, w20, w8
	stp	x9, x8, [sp, #8]
	str	x0, [sp]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
Lloh7:
	adrp	x8, _linebuf@GOTPAGE
Lloh8:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	str	x20, [sp]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_4:
	ldr	w8, [x1]
Lloh12:
	adrp	x9, _AF_INET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
Lloh15:
	adrp	x8, _linebuf@GOTPAGE
Lloh16:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh17:
	ldr	x21, [x8]
	mov	x0, x1
	bl	_sock_ntop
	stp	x0, x20, [sp]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh20:
	adrp	x8, _linebuf@GOTPAGE
Lloh21:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x8]
	mov	x0, x1
	bl	_sock_ntop
	add	w8, w20, #255
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w9, w8, #8
	and	w8, w8, #0xffffff00
	sub	w8, w20, w8
	stp	x9, x8, [sp, #8]
	str	x0, [sp]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh25:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh26:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.8:
Lloh28:
	adrp	x8, _linebuf@GOTPAGE
Lloh29:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh30:
	ldr	x21, [x8]
	mov	x0, x1
	bl	_sock_ntop
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	stp	x0, x20, [sp]
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_9:
	mov	x0, x21
LBB0_10:
	mov	w1, #8
	bl	_snprintf
	mov	x2, x0
	cmp	w0, #8
	b.lo	LBB0_14
; %bb.11:
Lloh33:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_logmsg
Lloh38:
	adrp	x8, _linebuf@GOTPAGE
Lloh39:
	ldr	x8, [x8, _linebuf@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	strb	wzr, [x8]
LBB0_12:
Lloh41:
	adrp	x8, _linelen@GOTPAGE
Lloh42:
	ldr	x8, [x8, _linelen@GOTPAGEOFF]
Lloh43:
	str	wzr, [x8]
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
Lloh44:
	adrp	x8, _linelen@GOTPAGE
Lloh45:
	ldr	x8, [x8, _linelen@GOTPAGEOFF]
	str	w2, [x8]
	and	w9, w19, #0xfffffffe
	cmp	w9, #128
	b.ne	LBB0_13
; %bb.15:
	cbz	w2, LBB0_13
; %bb.16:
	mov	x9, #0
Lloh46:
	adrp	x10, _linebuf@GOTPAGE
Lloh47:
	ldr	x10, [x10, _linebuf@GOTPAGEOFF]
	mov	w11, #44
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x9, x9, #1
	cmp	x9, w2, sxtw
	b.ge	LBB0_13
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10]
	ldrb	w13, [x12, x9]
	cmp	w13, #46
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	strb	w11, [x12, x9]
	ldr	w2, [x8]
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_linebuf,8,3                    ; @linebuf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PORT %s,%u,%u\r\n"

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

	.comm	_AF_INET,4,2                    ; @AF_INET
l_.str.2:                               ; @.str.2
	.asciz	"EPRT |1|%s|%u|\r\n"

	.comm	_AF_INET6,4,2                   ; @AF_INET6
l_.str.3:                               ; @.str.3
	.asciz	"EPRT |2|%s|%u|\r\n"

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

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.5:                               ; @.str.5
	.asciz	"proxy_reply failed: %d"

	.comm	_linelen,4,2                    ; @linelen
.subsections_via_symbols
