	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auto_fetch                     ## -- Begin function auto_fetch
	.p2align	4, 0x90
_auto_fetch:                            ## @auto_fetch
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movl	$0, -44(%rbp)
	movl	$0, -48(%rbp)
	movq	_toplevel@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_connected@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	movl	%edi, %esi
	callq	_disconnect
LBB0_3:
	cmpl	$0, -44(%rbp)
	jle	LBB0_21
## %bb.4:
	movl	-48(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_21
LBB0_5:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_intr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_xsignal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_lostpeer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_xsignal
	cmpl	$0, -44(%rbp)
	je	LBB0_6
LBB0_18:
	movq	_connected@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.19:
	movl	-44(%rbp), %eax
	cmpl	$-1, %eax
	je	LBB0_21
## %bb.20:
	xorl	%edi, %edi
	movl	%edi, %esi
	callq	_disconnect
LBB0_21:
	movl	-44(%rbp), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$58, %r15d
	movq	_anonftp@GOTPCREL(%rip), %r12
	movq	_outfile@GOTPCREL(%rip), %r13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	-48(%rbp)
	cmpl	$0, -44(%rbp)
	jne	LBB0_18
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %eax
	cmpl	%r14d, %eax
	jge	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	-48(%rbp), %rax
	movq	(%rbx,%rax,8), %rdi
	movl	%r15d, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_redirect_loop@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	cmpl	$0, (%r12)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$2, (%r12)
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movslq	-48(%rbp), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_go_fetch
	movl	%eax, -44(%rbp)
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	cmpb	$124, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, (%r13)
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, -44(%rbp)
	jle	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-48(%rbp), %eax
	incl	%eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_toplevel,4,2                   ## @toplevel
	.comm	_connected,8,3                  ## @connected
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_intr,4,2                       ## @intr
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_lostpeer,4,2                   ## @lostpeer
	.comm	_redirect_loop,8,3              ## @redirect_loop
	.comm	_anonftp,4,2                    ## @anonftp
	.comm	_outfile,8,3                    ## @outfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_auto_fetch                     ; -- Begin function auto_fetch
	.p2align	2
_auto_fetch:                            ; @auto_fetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #8]
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _toplevel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _toplevel@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #1
	bl	_sigsetjmp
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _connected@GOTPAGE
Lloh4:
	ldr	x8, [x8, _connected@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	w0, #0
	mov	x1, #0
	bl	_disconnect
LBB0_3:
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #8]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x8, _SIGINT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _intr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _intr@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_xsignal
Lloh12:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _lostpeer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _lostpeer@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_xsignal
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_10
LBB0_6:
Lloh18:
	adrp	x8, _connected@GOTPAGE
Lloh19:
	ldr	x8, [x8, _connected@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	w8, [sp, #8]
	cmn	w8, #1
	b.eq	LBB0_9
; %bb.8:
	mov	w0, #0
	mov	x1, #0
	bl	_disconnect
LBB0_9:
	ldr	w0, [sp, #8]
	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
	add	sp, sp, #96
	ret
LBB0_10:
Lloh21:
	adrp	x23, _redirect_loop@GOTPAGE
Lloh22:
	ldr	x23, [x23, _redirect_loop@GOTPAGEOFF]
Lloh23:
	adrp	x24, _anonftp@GOTPAGE
Lloh24:
	ldr	x24, [x24, _anonftp@GOTPAGEOFF]
	mov	w21, #58
	mov	w25, #2
Lloh25:
	adrp	x26, _outfile@GOTPAGE
Lloh26:
	ldr	x26, [x26, _outfile@GOTPAGEOFF]
Lloh27:
	adrp	x22, l_.str@PAGE
Lloh28:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #12]
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_6
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	cmp	w8, w20
	b.ge	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrsw	x8, [sp, #12]
	ldr	x0, [x19, x8, lsl #3]
	mov	x1, x21
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x8, #0
	str	xzr, [x23]
	ldr	w8, [x24]
	cbnz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	str	w25, [x24]
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldrsw	x8, [sp, #12]
	ldr	x0, [x19, x8, lsl #3]
	bl	_go_fetch
	str	w0, [sp, #8]
	ldr	x0, [x26]
	cbz	x0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x26]
	ldrb	w8, [x8]
	cmp	w8, #124
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x8, #0
	str	xzr, [x26]
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #12]
	add	w8, w8, #1
	str	w8, [sp, #8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_toplevel,4,2                   ; @toplevel
	.comm	_connected,8,3                  ; @connected
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_intr,4,2                       ; @intr
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_lostpeer,4,2                   ; @lostpeer
	.comm	_redirect_loop,8,3              ; @redirect_loop
	.comm	_anonftp,4,2                    ; @anonftp
	.comm	_outfile,8,3                    ; @outfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

.subsections_via_symbols
