	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_page                           ## -- Begin function page
	.p2align	4, 0x90
_page:                                  ## @page
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -52(%rbp)
	movq	%rsi, -48(%rbp)
	testl	%edi, %edi
	je	LBB0_5
## %bb.1:
	cmpl	$2, %edi
	jg	LBB0_5
## %bb.2:
	cmpl	$1, %edi
	jne	LBB0_6
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	callq	_getoptionvalue
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_EMPTYSTRING
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_DEFAULTPAGER@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_8:
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	leaq	2(%rbx), %rdi
	callq	_ftp_malloc
	movq	%rax, %r14
	movb	$124, (%rax)
	leaq	1(%rax), %rdi
	incq	%rbx
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_strlcpy
	movq	_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_restart_point@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_verbose@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movl	$0, (%r15)
	movl	$0, (%rcx)
	movl	$0, (%rax)
	movq	-48(%rbp), %rax
	movq	8(%rax), %rdx
	leaq	L_.str.3(%rip), %rdi
	leaq	L_.str.4(%rip), %rcx
	movq	%r14, %rsi
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_recvrequest
	movq	_hash@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movq	_restart_point@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	movl	%r12d, (%r15)
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_4:
	movq	-48(%rbp), %rsi
LBB0_5:
	movq	(%rsi), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_UPRINTF
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remote-file"

L_.str.1:                               ## @.str.1
	.asciz	"usage: %s remote-file\n"

	.comm	_code,4,2                       ## @code
L_.str.2:                               ## @.str.2
	.asciz	"pager"

	.comm	_DEFAULTPAGER,8,3               ## @DEFAULTPAGER
	.comm	_hash,4,2                       ## @hash
	.comm	_restart_point,4,2              ## @restart_point
	.comm	_verbose,4,2                    ## @verbose
L_.str.3:                               ## @.str.3
	.asciz	"RETR"

L_.str.4:                               ## @.str.4
	.asciz	"r+"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_page                           ; -- Begin function page
	.p2align	2
_page:                                  ; @page
	.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
	str	w0, [sp, #12]
	str	x1, [sp]
	cbz	w0, LBB0_6
; %bb.1:
	cmp	w0, #2
	b.gt	LBB0_6
; %bb.2:
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #12
	mov	x1, sp
	bl	_another
	cbz	w0, LBB0_5
LBB0_4:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getoptionvalue
	mov	x19, x0
	bl	_EMPTYSTRING
Lloh4:
	adrp	x8, _DEFAULTPAGER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DEFAULTPAGER@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x19, x19, x8, eq
	mov	x0, x19
	bl	_strlen
	add	w8, w0, #2
	sxtw	x20, w8
	mov	x0, x20
	bl	_ftp_malloc
	mov	x21, x0
	mov	w8, #124
	strb	w8, [x0], #1
	sub	x2, x20, #1
	mov	x1, x19
	bl	_strlcpy
Lloh7:
	adrp	x19, _hash@GOTPAGE
Lloh8:
	ldr	x19, [x19, _hash@GOTPAGEOFF]
	ldr	w20, [x19]
Lloh9:
	adrp	x22, _restart_point@GOTPAGE
Lloh10:
	ldr	x22, [x22, _restart_point@GOTPAGEOFF]
	ldr	w23, [x22]
Lloh11:
	adrp	x24, _verbose@GOTPAGE
Lloh12:
	ldr	x24, [x24, _verbose@GOTPAGEOFF]
	ldr	w25, [x24]
	str	wzr, [x24]
	str	wzr, [x22]
	str	wzr, [x19]
	ldr	x8, [sp]
	ldr	x2, [x8, #8]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
Lloh15:
	adrp	x3, l_.str.4@PAGE
Lloh16:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x1, x21
	mov	w4, #1
	mov	w5, #0
	bl	_recvrequest
	str	w20, [x19]
	str	w23, [x22]
	str	w25, [x24]
	mov	x0, x21
	bl	_free
	b	LBB0_7
LBB0_5:
	ldr	x1, [sp]
LBB0_6:
	ldr	x1, [x1]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_UPRINTF
Lloh19:
	adrp	x8, _code@GOTPAGE
Lloh20:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh21:
	str	w9, [x8]
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote-file"

l_.str.1:                               ; @.str.1
	.asciz	"usage: %s remote-file\n"

	.comm	_code,4,2                       ; @code
l_.str.2:                               ; @.str.2
	.asciz	"pager"

	.comm	_DEFAULTPAGER,8,3               ; @DEFAULTPAGER
	.comm	_hash,4,2                       ; @hash
	.comm	_restart_point,4,2              ; @restart_point
	.comm	_verbose,4,2                    ; @verbose
l_.str.3:                               ; @.str.3
	.asciz	"RETR"

l_.str.4:                               ; @.str.4
	.asciz	"r+"

.subsections_via_symbols
