	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_AddNodeToList                ## -- Begin function P_AddNodeToList
	.p2align	4, 0x90
_P_AddNodeToList:                       ## @P_AddNodeToList
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, (%rdi)
	movq	_p_lastnode@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	movq	_p_firstnode@GOTPCREL(%rip), %rcx
LBB0_2:
	movq	%rdi, (%rcx)
	movq	%rdi, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_p_lastnode,8,3                 ## @p_lastnode
	.comm	_p_firstnode,8,3                ## @p_firstnode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_P_AddNodeToList                ; -- Begin function P_AddNodeToList
	.p2align	2
_P_AddNodeToList:                       ; @P_AddNodeToList
	.cfi_startproc
; %bb.0:
	str	xzr, [x0]
Lloh0:
	adrp	x8, _p_lastnode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _p_lastnode@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _p_firstnode@GOTPAGE
Lloh3:
	ldr	x10, [x10, _p_firstnode@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x10, x9, eq
	str	x0, [x9]
	str	x0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_p_lastnode,8,3                 ; @p_lastnode
	.comm	_p_firstnode,8,3                ; @p_firstnode
.subsections_via_symbols
