	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_rmnode_self                 ## -- Begin function ng_rmnode_self
	.p2align	4, 0x90
_ng_rmnode_self:                        ## @ng_rmnode_self
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	_ng_deadnode@GOTPCREL(%rip), %rdi
	je	LBB0_2
## %bb.1:
	movq	_NGF_INVALID@GOTPCREL(%rip), %rax
	movl	(%rdi), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rdi)
	movq	_NGF_CLOSING@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	_ng_rmnode@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_ng_send_fn                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ng_deadnode,4,2                ## @ng_deadnode
	.comm	_NGF_INVALID,4,2                ## @NGF_INVALID
	.comm	_NGF_CLOSING,4,2                ## @NGF_CLOSING
	.comm	_ng_rmnode,4,2                  ## @ng_rmnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ng_rmnode_self                 ; -- Begin function ng_rmnode_self
	.p2align	2
_ng_rmnode_self:                        ; @ng_rmnode_self
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ng_deadnode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ng_deadnode@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _NGF_INVALID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NGF_INVALID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
Lloh5:
	adrp	x9, _NGF_CLOSING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NGF_CLOSING@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	mov	w0, #0
	ret
LBB0_3:
Lloh8:
	adrp	x2, _ng_rmnode@GOTPAGE
Lloh9:
	ldr	x2, [x2, _ng_rmnode@GOTPAGEOFF]
	mov	x1, #0
	mov	x3, #0
	mov	w4, #0
	b	_ng_send_fn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ng_deadnode,4,2                ; @ng_deadnode
	.comm	_NGF_INVALID,4,2                ; @NGF_INVALID
	.comm	_NGF_CLOSING,4,2                ; @NGF_CLOSING
	.comm	_ng_rmnode,4,2                  ; @ng_rmnode
.subsections_via_symbols
