	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getit                          ## -- Begin function getit
	.p2align	4, 0x90
_getit:                                 ## @getit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edi, -52(%rbp)
	movq	%rsi, -64(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpl	$2, %r13d
	jne	LBB0_8
## %bb.1:
	movl	$3, -52(%rbp)
	movq	8(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	$1, %ebx
LBB0_2:
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax
	movq	8(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	callq	_globulize
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %r15
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	cmpl	$2, %r13d
	sete	%al
	movq	_mcase@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %ecx
	movq	_ntflag@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	setne	%dl
	andb	%al, %dl
	movq	_mapflag@GOTPCREL(%rip), %rsi
	cmpq	$0, (%rsi)
	movzbl	%dl, %r8d
	setne	%dl
	andb	%al, %dl
	movzbl	%dl, %r9d
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_doprocess
	movq	%rax, %r14
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.4:
	movq	_features@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FEAT_REST_STREAM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_18
## %bb.5:
	leaq	-104(%rbp), %rsi
	movq	%r14, %rdi
	callq	_stat
	cmpl	$1, %ebx
	jne	LBB0_19
## %bb.6:
	testl	%eax, %eax
	js	LBB0_27
## %bb.7:
	movq	-96(%rbp), %rax
	movq	_restart_point@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_20
LBB0_8:
	testl	%r13d, %r13d
	je	LBB0_16
## %bb.9:
	movl	%r13d, %eax
	cmpl	$1, %r13d
	jne	LBB0_12
## %bb.10:
	leaq	L_.str(%rip), %rdx
	leaq	-52(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_16
## %bb.11:
	movl	-52(%rbp), %eax
LBB0_12:
	cmpl	$2, %eax
	jg	LBB0_15
## %bb.13:
	leaq	L_.str.1(%rip), %rdx
	leaq	-52(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_another
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	xorl	%ebx, %ebx
	cmpl	$3, -52(%rbp)
	jle	LBB0_2
	jmp	LBB0_16
LBB0_15:
	xorl	%ebx, %ebx
	cmpl	$3, %eax
	je	LBB0_2
LBB0_16:
	movq	-64(%rbp), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_UPRINTF
LBB0_17:
	movq	_code@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_18:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	xorl	%ebx, %ebx
	jmp	LBB0_25
LBB0_19:
	testl	%eax, %eax
	je	LBB0_28
LBB0_20:
	movq	-64(%rbp), %rax
	movl	$1, %r8d
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpq	8(%rax), %rdx
	jne	LBB0_22
## %bb.21:
	xorl	%r8d, %r8d
	cmpq	16(%rax), %r14
	setne	%r8b
LBB0_22:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	callq	_recvrequest
	movq	_restart_point@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_23:
	xorl	%ebx, %ebx
LBB0_24:
	movq	%r15, %rdi
	callq	_free
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_31
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
	jmp	LBB0_23
LBB0_28:
	movq	-64(%rbp), %rax
	movq	8(%rax), %rdi
	xorl	%esi, %esi
	callq	_remotemodtime
	cmpl	$-1, %eax
	je	LBB0_23
## %bb.29:
	cmpl	%eax, -104(%rbp)
	jl	LBB0_20
## %bb.30:
	movl	$1, %ebx
	jmp	LBB0_24
LBB0_31:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remote-file"

L_.str.1:                               ## @.str.1
	.asciz	"local-file"

L_.str.2:                               ## @.str.2
	.asciz	"usage: %s remote-file [local-file]\n"

	.comm	_code,4,2                       ## @code
	.comm	_mcase,8,3                      ## @mcase
	.comm	_ntflag,8,3                     ## @ntflag
	.comm	_mapflag,8,3                    ## @mapflag
	.comm	_features,8,3                   ## @features
	.comm	_FEAT_REST_STREAM,8,3           ## @FEAT_REST_STREAM
	.comm	_ttyout,4,2                     ## @ttyout
L_.str.3:                               ## @.str.3
	.asciz	"Restart is not supported by the remote server.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Can't stat `%s'"

	.comm	_restart_point,8,3              ## @restart_point
L_.str.5:                               ## @.str.5
	.asciz	"RETR"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getit                          ; -- Begin function getit
	.p2align	2
_getit:                                 ; @getit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #48
	mov	x19, x3
	mov	x20, x2
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stur	w0, [x29, #-76]
	stur	x1, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #3
	stur	w8, [x29, #-76]
	ldr	x8, [x1, #8]
	str	x8, [x1, #16]
	mov	w22, #1
	b	LBB0_10
LBB0_2:
	cbz	w26, LBB0_17
; %bb.3:
	mov	x8, x26
	cmp	w26, #1
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	sub	x0, x29, #76
	sub	x1, x29, #88
	bl	_another
	cbz	w0, LBB0_17
; %bb.5:
	ldur	w8, [x29, #-76]
LBB0_6:
	cmp	w8, #2
	b.gt	LBB0_16
; %bb.7:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	sub	x0, x29, #76
	sub	x1, x29, #88
	bl	_another
	cbz	w0, LBB0_17
; %bb.8:
	ldur	w8, [x29, #-76]
	cmp	w8, #3
	b.gt	LBB0_17
LBB0_9:
	mov	w22, #0
LBB0_10:
	ldur	x8, [x29, #-88]
	ldp	x24, x0, [x8, #8]
	bl	_globulize
	cbz	x0, LBB0_18
; %bb.11:
	mov	x21, x0
	cmp	w26, #2
	cset	w8, eq
Lloh12:
	adrp	x9, _mcase@GOTPAGE
Lloh13:
	ldr	x9, [x9, _mcase@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	and	w3, w8, w9
Lloh15:
	adrp	x9, _ntflag@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ntflag@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	and	w4, w8, w9
Lloh18:
	adrp	x9, _mapflag@GOTPAGE
Lloh19:
	ldr	x9, [x9, _mapflag@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, #0
	cset	w9, ne
	and	w5, w8, w9
	mov	x0, x25
	mov	x1, x23
	mov	x2, x21
	bl	_doprocess
	mov	x23, x0
	cbz	w20, LBB0_21
; %bb.12:
Lloh21:
	adrp	x8, _features@GOTPAGE
Lloh22:
	ldr	x8, [x8, _features@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _FEAT_REST_STREAM@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FEAT_REST_STREAM@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_19
; %bb.13:
	sub	x1, x29, #104
	mov	x0, x23
	bl	_stat
	cmp	w20, #1
	b.ne	LBB0_20
; %bb.14:
	tbnz	w0, #31, LBB0_28
; %bb.15:
	ldur	x8, [x29, #-96]
Lloh27:
	adrp	x9, _restart_point@GOTPAGE
Lloh28:
	ldr	x9, [x9, _restart_point@GOTPAGEOFF]
Lloh29:
	str	x8, [x9]
	b	LBB0_21
LBB0_16:
	cmp	w8, #3
	b.eq	LBB0_9
LBB0_17:
	ldur	x8, [x29, #-88]
	ldr	x1, [x8]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_UPRINTF
LBB0_18:
	mov	w19, #0
Lloh32:
	adrp	x8, _code@GOTPAGE
Lloh33:
	ldr	x8, [x8, _code@GOTPAGEOFF]
	mov	w9, #-1
Lloh34:
	str	w9, [x8]
	b	LBB0_26
LBB0_19:
Lloh35:
	adrp	x8, _ttyout@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w19, #0
	b	LBB0_26
LBB0_20:
	cbz	w0, LBB0_29
LBB0_21:
	ldur	x8, [x29, #-88]
	ldr	x9, [x8, #8]
	cmp	x24, x9
	b.eq	LBB0_23
; %bb.22:
	mov	w4, #1
	b	LBB0_24
LBB0_23:
	ldr	x8, [x8, #16]
	cmp	x23, x8
	cset	w4, ne
LBB0_24:
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x23
	mov	x2, x24
	mov	x3, x19
	mov	x5, x22
	bl	_recvrequest
	mov	w19, #0
Lloh42:
	adrp	x8, _restart_point@GOTPAGE
Lloh43:
	ldr	x8, [x8, _restart_point@GOTPAGEOFF]
Lloh44:
	str	xzr, [x8]
LBB0_25:
	mov	x0, x21
	bl	_free
LBB0_26:
	ldur	x8, [x29, #-72]
Lloh45:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh46:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.27:
	mov	x0, x19
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_28:
Lloh48:
	adrp	x0, l_.str.4@PAGE
Lloh49:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x23
	bl	_warn
	b	LBB0_32
LBB0_29:
	ldur	x8, [x29, #-88]
	ldr	x0, [x8, #8]
	mov	w1, #0
	bl	_remotemodtime
	cmn	w0, #1
	b.eq	LBB0_32
; %bb.30:
	ldur	w8, [x29, #-104]
	cmp	w8, w0
	b.lt	LBB0_21
; %bb.31:
	mov	w19, #1
	b	LBB0_25
LBB0_32:
	mov	w19, #0
	b	LBB0_25
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote-file"

l_.str.1:                               ; @.str.1
	.asciz	"local-file"

l_.str.2:                               ; @.str.2
	.asciz	"usage: %s remote-file [local-file]\n"

	.comm	_code,4,2                       ; @code
	.comm	_mcase,8,3                      ; @mcase
	.comm	_ntflag,8,3                     ; @ntflag
	.comm	_mapflag,8,3                    ; @mapflag
	.comm	_features,8,3                   ; @features
	.comm	_FEAT_REST_STREAM,8,3           ; @FEAT_REST_STREAM
	.comm	_ttyout,4,2                     ; @ttyout
l_.str.3:                               ; @.str.3
	.asciz	"Restart is not supported by the remote server.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Can't stat `%s'"

	.comm	_restart_point,8,3              ; @restart_point
l_.str.5:                               ; @.str.5
	.asciz	"RETR"

.subsections_via_symbols
