	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netcmd                         ## -- Begin function netcmd
	.p2align	4, 0x90
_netcmd:                                ## @netcmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpb	$0, (%r14)
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_selectproto
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_23
## %bb.4:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_error
	jmp	LBB0_23
LBB0_5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_changeitems
	jmp	LBB0_22
LBB0_2:
	movq	_CMDLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_move
	xorl	%eax, %eax
	callq	_clrtoeol
	leaq	L_.str.1(%rip), %rdi
LBB0_21:
	callq	_addstr
LBB0_22:
	movl	$1, %ebx
LBB0_23:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	xorl	%edi, %edi
	callq	_selectproto
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_selecthost
	movl	$-1, %edi
	xorl	%esi, %esi
	callq	_selectport
	jmp	LBB0_22
LBB0_10:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	_CMDLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_move
	xorl	%eax, %eax
	callq	_clrtoeol
	cmpb	$0, (%r14)
	je	LBB0_13
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	callq	_showprotos
	jmp	LBB0_22
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_13:
	xorl	%eax, %eax
	callq	_showprotos
	xorl	%eax, %eax
	callq	_showhosts
LBB0_19:
	xorl	%eax, %eax
	callq	_showports
	jmp	LBB0_22
LBB0_16:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_prefix
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_showhosts
	jmp	LBB0_22
LBB0_18:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_prefix
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"proto"

	.comm	_CMDLINE,4,2                    ## @CMDLINE
L_.str.1:                               ## @.str.1
	.asciz	"which proto?"

L_.str.2:                               ## @.str.2
	.asciz	"%s: Unknown protocol."

L_.str.3:                               ## @.str.3
	.asciz	"ignore"

L_.str.4:                               ## @.str.4
	.asciz	"display"

L_.str.5:                               ## @.str.5
	.asciz	"reset"

L_.str.6:                               ## @.str.6
	.asciz	"show"

L_.str.7:                               ## @.str.7
	.asciz	"protos"

L_.str.8:                               ## @.str.8
	.asciz	"hosts"

L_.str.9:                               ## @.str.9
	.asciz	"ports"

L_.str.10:                              ## @.str.10
	.asciz	"show what?"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netcmd                         ; -- Begin function netcmd
	.p2align	2
_netcmd:                                ; @netcmd
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_prefix
	cbz	x0, LBB0_4
; %bb.1:
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_selectproto
	cbnz	w0, LBB0_9
; %bb.3:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_error
	b	LBB0_9
LBB0_4:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbnz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_11
LBB0_6:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_prefix
	mov	x1, x0
	mov	x0, x19
	bl	_changeitems
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x8, _CMDLINE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CMDLINE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_move
	bl	_clrtoeol
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_addstr
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, #0
	bl	_selectproto
	mov	w0, #0
	mov	w1, #0
	bl	_selecthost
	mov	w0, #-1
	mov	w1, #0
	bl	_selectport
	b	LBB0_9
LBB0_13:
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_prefix
	cbz	x0, LBB0_10
; %bb.14:
Lloh19:
	adrp	x8, _CMDLINE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CMDLINE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_move
	bl	_clrtoeol
	ldrb	w8, [x19]
	cbz	w8, LBB0_17
; %bb.15:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_prefix
	cbz	x0, LBB0_18
; %bb.16:
	bl	_showprotos
	b	LBB0_9
LBB0_17:
	bl	_showprotos
	bl	_showhosts
	bl	_showports
	b	LBB0_9
LBB0_18:
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_prefix
	cbz	x0, LBB0_20
; %bb.19:
	bl	_showhosts
	b	LBB0_9
LBB0_20:
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_prefix
	cbz	x0, LBB0_22
; %bb.21:
	bl	_showports
	b	LBB0_9
LBB0_22:
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"proto"

	.comm	_CMDLINE,4,2                    ; @CMDLINE
l_.str.1:                               ; @.str.1
	.asciz	"which proto?"

l_.str.2:                               ; @.str.2
	.asciz	"%s: Unknown protocol."

l_.str.3:                               ; @.str.3
	.asciz	"ignore"

l_.str.4:                               ; @.str.4
	.asciz	"display"

l_.str.5:                               ; @.str.5
	.asciz	"reset"

l_.str.6:                               ; @.str.6
	.asciz	"show"

l_.str.7:                               ; @.str.7
	.asciz	"protos"

l_.str.8:                               ; @.str.8
	.asciz	"hosts"

l_.str.9:                               ; @.str.9
	.asciz	"ports"

l_.str.10:                              ; @.str.10
	.asciz	"show what?"

.subsections_via_symbols
