	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StatusCmd
_StatusCmd:                             ## @StatusCmd
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_NG_TEXTRESPONSE@GOTPCREL(%rip), %rax
	movslq	(%rax), %r12
	leaq	64(,%r12,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	cmpl	$2, %ebx
	jne	LBB0_1
## %bb.2:
	movq	8(%r14), %r14
	movq	_csock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_NGM_GENERIC_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NGM_TEXT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rsi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_NgSendMsg
	testq	%rax, %rax
	js	LBB0_3
## %bb.5:
	addq	$16, %r12
	movl	(%rbx), %edi
	shll	$2, %r12d
	movq	%r15, %rsi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	callq	_NgRecvMsg
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	movq	_NGF_RESP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_9
LBB0_1:
	movq	_CMDRTN_USAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	cmpl	$128, (%rax)
	jne	LBB0_4
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:
	movq	_CMDRTN_OK@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	_CMDRTN_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NG_TEXTRESPONSE,4,2            ## @NG_TEXTRESPONSE
	.comm	_CMDRTN_USAGE,4,2               ## @CMDRTN_USAGE
	.comm	_csock,4,2                      ## @csock
	.comm	_NGM_GENERIC_COOKIE,4,2         ## @NGM_GENERIC_COOKIE
	.comm	_NGM_TEXT_STATUS,4,2            ## @NGM_TEXT_STATUS
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send msg"

	.comm	_CMDRTN_ERROR,4,2               ## @CMDRTN_ERROR
	.comm	_NGF_RESP,4,2                   ## @NGF_RESP
L_.str.1:                               ## @.str.1
	.asciz	"No status available for \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"Status for \"%s\":\n%s\n"

	.comm	_CMDRTN_OK,4,2                  ## @CMDRTN_OK
	.no_dead_strip	_StatusCmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StatusCmd
_StatusCmd:                             ; @StatusCmd
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _NG_TEXTRESPONSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NG_TEXTRESPONSE@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x21, x8, #16
	lsl	x8, x21, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.1:
	ldr	x19, [x1, #8]
Lloh8:
	adrp	x22, _csock@GOTPAGE
Lloh9:
	ldr	x22, [x22, _csock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh10:
	adrp	x8, _NGM_GENERIC_COOKIE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NGM_GENERIC_COOKIE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _NGM_TEXT_STATUS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NGM_TEXT_STATUS@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x1, x19
	mov	x4, #0
	mov	w5, #0
	bl	_NgSendMsg
	tbnz	x0, #63, LBB0_6
; %bb.2:
	ldr	w0, [x22]
	lsl	w2, w21, #2
	mov	x1, x20
	mov	x3, #0
	bl	_NgRecvMsg
	tbnz	x0, #63, LBB0_7
; %bb.3:
	ldr	w8, [x20]
Lloh16:
	adrp	x9, _NGF_RESP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NGF_RESP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.4:
	sub	sp, sp, #16
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_printf
	add	sp, sp, #16
	b	LBB0_8
LBB0_5:
Lloh21:
	adrp	x8, _CMDRTN_USAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CMDRTN_USAGE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh23:
	adrp	x8, _errno@GOTPAGE
Lloh24:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w8, #128
	b.ne	LBB0_11
LBB0_7:
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_8:
Lloh28:
	adrp	x8, _CMDRTN_OK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CMDRTN_OK@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.10:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
Lloh35:
	adrp	x8, _CMDRTN_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _CMDRTN_ERROR@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_NG_TEXTRESPONSE,4,2            ; @NG_TEXTRESPONSE
	.comm	_CMDRTN_USAGE,4,2               ; @CMDRTN_USAGE
	.comm	_csock,4,2                      ; @csock
	.comm	_NGM_GENERIC_COOKIE,4,2         ; @NGM_GENERIC_COOKIE
	.comm	_NGM_TEXT_STATUS,4,2            ; @NGM_TEXT_STATUS
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send msg"

	.comm	_CMDRTN_ERROR,4,2               ; @CMDRTN_ERROR
	.comm	_NGF_RESP,4,2                   ; @NGF_RESP
l_.str.1:                               ; @.str.1
	.asciz	"No status available for \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"Status for \"%s\":\n%s\n"

	.comm	_CMDRTN_OK,4,2                  ; @CMDRTN_OK
	.no_dead_strip	_StatusCmd
.subsections_via_symbols
