	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function numaq_register_node
_numaq_register_node:                   ## @numaq_register_node
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r15
	movslq	%edi, %rbx
	movl	%ebx, %edi
	callq	_node_set_online
	leaq	(%rbx,%rbx,2), %r12
	movq	8(%r15,%r12,8), %rdi
	subq	16(%r15,%r12,8), %rdi
	callq	_MB_TO_PAGES
	movq	_node_start_pfn@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r15,%r12,8), %rdi
	addq	8(%r15,%r12,8), %rdi
	callq	_MB_TO_PAGES
	movq	_node_end_pfn@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	%ebx, %edi
	callq	_e820_register_active_regions
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	%ebx, %edi
	callq	_memory_present
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	%ebx, %edi
	callq	_node_memmap_size_bytes
	movq	_node_remap_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%rbx,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_node_start_pfn,8,3             ## @node_start_pfn
	.comm	_node_end_pfn,8,3               ## @node_end_pfn
	.comm	_node_remap_size,8,3            ## @node_remap_size
	.no_dead_strip	_numaq_register_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function numaq_register_node
_numaq_register_node:                   ; @numaq_register_node
	.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
	mov	x19, x0
	ldr	x20, [x1]
	bl	_node_set_online
	mov	w8, #24
	smaddl	x20, w19, w8, x20
	ldp	x8, x9, [x20, #8]
	sub	x0, x8, x9
	bl	_MB_TO_PAGES
Lloh0:
	adrp	x21, _node_start_pfn@GOTPAGE
Lloh1:
	ldr	x21, [x21, _node_start_pfn@GOTPAGEOFF]
	ldr	x8, [x21]
	sbfiz	x22, x19, #3, #32
	str	x0, [x8, x22]
	ldp	x9, x8, [x20]
	add	x0, x9, x8
	bl	_MB_TO_PAGES
Lloh2:
	adrp	x20, _node_end_pfn@GOTPAGE
Lloh3:
	ldr	x20, [x20, _node_end_pfn@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x0, [x8, x22]
	ldr	x8, [x21]
	ldr	x1, [x8, x22]
	ldr	x8, [x20]
	ldr	x2, [x8, x22]
	mov	x0, x19
	bl	_e820_register_active_regions
	ldr	x8, [x21]
	ldr	x1, [x8, x22]
	ldr	x8, [x20]
	ldr	x2, [x8, x22]
	mov	x0, x19
	bl	_memory_present
	ldr	x8, [x21]
	ldr	x1, [x8, x22]
	ldr	x8, [x20]
	ldr	x2, [x8, x22]
	mov	x0, x19
	bl	_node_memmap_size_bytes
Lloh4:
	adrp	x8, _node_remap_size@GOTPAGE
Lloh5:
	ldr	x8, [x8, _node_remap_size@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	w0, [x8, w19, sxtw #2]
	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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_node_start_pfn,8,3             ; @node_start_pfn
	.comm	_node_end_pfn,8,3               ; @node_end_pfn
	.comm	_node_remap_size,8,3            ; @node_remap_size
	.no_dead_strip	_numaq_register_node
.subsections_via_symbols
