	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MkPeerCmd
_MkPeerCmd:                             ## @MkPeerCmd
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	cmpl	$4, %edi
	je	LBB0_1
## %bb.2:
	cmpl	$5, %edi
	jne	LBB0_3
## %bb.4:
	movq	8(%rbx), %r14
	addq	$8, %rbx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %r14
LBB0_5:
	movq	8(%rbx), %rcx
	leaq	L_.str.1(%rip), %r15
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_snprintf
	movq	16(%rbx), %rcx
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_snprintf
	movq	24(%rbx), %rcx
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_snprintf
	movq	_csock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NGM_GENERIC_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NGM_MKPEER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %r8
	movq	%r14, %rsi
	movl	$12, %r9d
	callq	_NgSendMsg
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	movq	_CMDRTN_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_CMDRTN_USAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_warn
	movq	_CMDRTN_ERROR@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

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

	.comm	_CMDRTN_USAGE,4,2               ## @CMDRTN_USAGE
	.comm	_csock,4,2                      ## @csock
	.comm	_NGM_GENERIC_COOKIE,4,2         ## @NGM_GENERIC_COOKIE
	.comm	_NGM_MKPEER,4,2                 ## @NGM_MKPEER
L_.str.2:                               ## @.str.2
	.asciz	"send msg"

	.comm	_CMDRTN_ERROR,4,2               ## @CMDRTN_ERROR
	.comm	_CMDRTN_OK,4,2                  ## @CMDRTN_OK
	.no_dead_strip	_MkPeerCmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MkPeerCmd
_MkPeerCmd:                             ; @MkPeerCmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	cmp	w0, #4
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #5
	b.ne	LBB0_6
; %bb.2:
	ldr	x19, [x20, #8]!
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
LBB0_4:
	ldr	x3, [x20, #8]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x2, x21
	bl	_snprintf
	ldr	x3, [x20, #16]
	mov	w1, #4
	mov	x2, x21
	bl	_snprintf
	ldr	x3, [x20, #24]
	mov	w1, #4
	mov	x2, x21
	bl	_snprintf
Lloh4:
	adrp	x8, _csock@GOTPAGE
Lloh5:
	ldr	x8, [x8, _csock@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _NGM_GENERIC_COOKIE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NGM_GENERIC_COOKIE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _NGM_MKPEER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NGM_MKPEER@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x4, sp
	mov	x1, x19
	mov	w5, #12
	bl	_NgSendMsg
	tbnz	x0, #63, LBB0_7
; %bb.5:
Lloh13:
	adrp	x8, _CMDRTN_OK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CMDRTN_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh15:
	adrp	x8, _CMDRTN_USAGE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CMDRTN_USAGE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warn
Lloh19:
	adrp	x8, _CMDRTN_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CMDRTN_ERROR@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

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

	.comm	_CMDRTN_USAGE,4,2               ; @CMDRTN_USAGE
	.comm	_csock,4,2                      ; @csock
	.comm	_NGM_GENERIC_COOKIE,4,2         ; @NGM_GENERIC_COOKIE
	.comm	_NGM_MKPEER,4,2                 ; @NGM_MKPEER
l_.str.2:                               ; @.str.2
	.asciz	"send msg"

	.comm	_CMDRTN_ERROR,4,2               ; @CMDRTN_ERROR
	.comm	_CMDRTN_OK,4,2                  ; @CMDRTN_OK
	.no_dead_strip	_MkPeerCmd
.subsections_via_symbols
