	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get
_get:                                   ## @get
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpl	$1, %ebx
	jg	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcpy
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	addq	%r12, %rbx
	movq	%r12, %rdi
	callq	_strlen
	subl	%eax, %r15d
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_fgets
	movq	%r12, %rdi
	callq	_makeargv
	movq	_margc@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_margv@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpl	$1, %ebx
	jle	LBB0_2
LBB0_3:
	movq	_connected@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_8
## %bb.4:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %r14
	movq	%r14, %rdi
	movl	$58, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_6
LBB0_8:
	movl	$1, %r14d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	callq	_warn
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	cmpq	%r14, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_30
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %r12
	movq	%r12, %rdi
	movl	$58, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	(%r13,%r14,8), %rbx
	cmpb	$91, (%rbx)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpb	$93, -1(%rax,%rbx)
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	movb	$0, -1(%rax,%rbx)
	incq	%rbx
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_setpeer0
	movq	_connected@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_29
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movq	%r15, %r12
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$3, -52(%rbp)                   ## 4-byte Folded Reload
	jbe	LBB0_16
## %bb.24:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_tail
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_creat
	testl	%eax, %eax
	js	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r15d
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_mode@GOTPCREL(%rip), %r13
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_hostname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r13), %r8
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	_peer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r13), %r8
	movl	%r15d, %edx
	movq	%r12, %rcx
	callq	_recvfile
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_16:
	jne	LBB0_18
## %bb.17:
	movq	16(%r13), %r14
	jmp	LBB0_19
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_2:
	movq	(%r13), %rdi
	callq	_getusage
	jmp	LBB0_30
LBB0_18:
	movq	%r12, %rdi
	callq	_tail
	movq	%rax, %r14
LBB0_19:
	movq	_mode@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_creat
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movl	%eax, %r15d
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_23
## %bb.22:
	movq	_hostname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %r8
	leaq	L_.str.4(%rip), %rdi
	movq	%r12, %rdx
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_printf
LBB0_23:
	movq	_peer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %r8
	movl	%r15d, %edx
	movq	%r12, %rcx
	callq	_recvfile
	jmp	LBB0_30
LBB0_20:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_warn
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXLINE,4,2                    ## @MAXLINE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get "

L_.str.1:                               ## @.str.1
	.asciz	"(files) "

	.comm	_stdin,4,2                      ## @stdin
	.comm	_margc,4,2                      ## @margc
	.comm	_margv,8,3                      ## @margv
	.comm	_connected,4,2                  ## @connected
L_.str.2:                               ## @.str.2
	.asciz	"No remote host specified and no host given for file '%s'\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_verbose,8,3                    ## @verbose
L_.str.4:                               ## @.str.4
	.asciz	"getting from %s:%s to %s [%s]\n"

	.comm	_hostname,8,3                   ## @hostname
	.comm	_mode,8,3                       ## @mode
	.comm	_peer,4,2                       ## @peer
	.comm	_port,4,2                       ## @port
	.no_dead_strip	_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get
_get:                                   ; @get
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXLINE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXLINE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x9, x22
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_strcpy
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	mov	x0, x21
	bl	_strlen
	add	x19, x21, w0, sxtw
	mov	x0, x21
	bl	_strlen
	sub	w1, w22, w0
Lloh12:
	adrp	x8, _stdin@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fgets
	mov	x0, x21
	bl	_makeargv
Lloh15:
	adrp	x8, _margc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _margc@GOTPAGEOFF]
Lloh17:
	ldr	w20, [x8]
Lloh18:
	adrp	x8, _margv@GOTPAGE
Lloh19:
	ldr	x8, [x8, _margv@GOTPAGEOFF]
Lloh20:
	ldr	x19, [x8]
	cmp	w20, #1
	b.le	LBB0_23
LBB0_2:
Lloh21:
	adrp	x22, _connected@GOTPAGE
Lloh22:
	ldr	x22, [x22, _connected@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w23, w20
	cbnz	w8, LBB0_6
; %bb.3:
	mov	w24, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, x24, lsl #3]
	mov	x0, x21
	mov	w1, #58
	bl	_strrchr
	cbz	x0, LBB0_22
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x23, x24
	b.ne	LBB0_4
LBB0_6:
	add	x26, x19, #8
	sub	x27, x23, #1
Lloh23:
	adrp	x23, _verbose@GOTPAGE
Lloh24:
	ldr	x23, [x23, _verbose@GOTPAGEOFF]
Lloh25:
	adrp	x28, _mode@GOTPAGE
Lloh26:
	ldr	x28, [x28, _mode@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x25
	bl	_warn
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x26, x26, #8
	subs	x27, x27, #1
	b.eq	LBB0_30
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x26]
	mov	x0, x24
	mov	w1, #58
	bl	_strrchr
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x0
	strb	wzr, [x21], #1
	ldr	x24, [x26]
	ldrb	w8, [x24]
	cmp	w8, #91
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	bl	_strlen
	add	x8, x24, w0, sxtw
	ldurb	w8, [x8, #-1]
	cmp	w8, #93
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	bl	_strlen
	add	x8, x24, w0, sxtw
	sturb	wzr, [x8, #-1]
	add	x24, x24, #1
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	mov	x1, #0
	bl	_setpeer0
	ldr	w8, [x22]
	cbz	w8, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w20, #3
	b.hi	LBB0_16
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x21, x24
	cmp	w20, #3
	b.ls	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_tail
	mov	x25, x0
	mov	w1, #420
	bl	_creat
	tbnz	w0, #31, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh29:
	adrp	x8, _hostname@GOTPAGE
Lloh30:
	ldr	x8, [x8, _hostname@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	ldr	x9, [x28]
	sub	sp, sp, #32
	stp	x25, x9, [sp, #16]
	stp	x8, x21, [sp]
Lloh32:
	adrp	x0, l_.str.4@PAGE
Lloh33:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	sp, sp, #32
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh34:
	adrp	x8, _peer@GOTPAGE
Lloh35:
	ldr	x8, [x8, _peer@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _port@GOTPAGE
Lloh38:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	x4, [x28]
	mov	x2, x24
	mov	x3, x21
	bl	_recvfile
	b	LBB0_8
LBB0_20:
	b.ne	LBB0_24
; %bb.21:
	ldr	x19, [x19, #16]
	b	LBB0_25
LBB0_22:
	str	x21, [sp, #-16]!
Lloh40:
	adrp	x0, l_.str.2@PAGE
Lloh41:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	sp, sp, #16
LBB0_23:
	ldr	x0, [x19]
	bl	_getusage
	b	LBB0_30
LBB0_24:
	mov	x0, x21
	bl	_tail
	mov	x19, x0
LBB0_25:
	mov	x0, x19
	mov	w1, #420
	bl	_creat
	tbnz	w0, #31, LBB0_29
; %bb.26:
	mov	x20, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_28
; %bb.27:
Lloh42:
	adrp	x8, _hostname@GOTPAGE
Lloh43:
	ldr	x8, [x8, _hostname@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	ldr	x9, [x28]
	sub	sp, sp, #32
	stp	x19, x9, [sp, #16]
	stp	x8, x21, [sp]
Lloh45:
	adrp	x0, l_.str.4@PAGE
Lloh46:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	sp, sp, #32
LBB0_28:
Lloh47:
	adrp	x8, _peer@GOTPAGE
Lloh48:
	ldr	x8, [x8, _peer@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _port@GOTPAGE
Lloh51:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	ldr	x4, [x28]
	mov	x2, x20
	mov	x3, x21
	bl	_recvfile
	b	LBB0_30
LBB0_29:
Lloh53:
	adrp	x0, l_.str.3@PAGE
Lloh54:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_warn
LBB0_30:
	ldur	x8, [x29, #-88]
Lloh55:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh56:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh57:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	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_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXLINE,4,2                    ; @MAXLINE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get "

l_.str.1:                               ; @.str.1
	.asciz	"(files) "

	.comm	_stdin,4,2                      ; @stdin
	.comm	_margc,4,2                      ; @margc
	.comm	_margv,8,3                      ; @margv
	.comm	_connected,4,2                  ; @connected
l_.str.2:                               ; @.str.2
	.asciz	"No remote host specified and no host given for file '%s'\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_verbose,8,3                    ; @verbose
l_.str.4:                               ; @.str.4
	.asciz	"getting from %s:%s to %s [%s]\n"

	.comm	_hostname,8,3                   ; @hostname
	.comm	_mode,8,3                       ; @mode
	.comm	_peer,4,2                       ; @peer
	.comm	_port,4,2                       ; @port
	.no_dead_strip	_get
.subsections_via_symbols
