	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function node_read_cpumap
_node_read_cpumap:                      ## @node_read_cpumap
	.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	%rdx, %r15
	movl	%esi, %r14d
	callq	_to_node
	movl	(%rax), %edi
	callq	_cpumask_of_node
	movq	_NR_CPUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	31(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	movq	%rax, %r12
	sarl	$5, %edx
	leal	(%rdx,%rdx,8), %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	setge	%dil
	callq	_BUILD_BUG_ON
	movl	(%rbx), %esi
	addl	$-2, %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	callq	_cpulist_scnprintf
	jmp	LBB0_3
LBB0_2:
	callq	_cpumask_scnprintf
LBB0_3:
	movslq	%eax, %rcx
	leal	1(%rcx), %eax
	movw	$10, (%r15,%rcx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_CPUS,4,2                    ## @NR_CPUS
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_node_read_cpumap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function node_read_cpumap
_node_read_cpumap:                      ; @node_read_cpumap
	.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, x2
	mov	x21, x1
	bl	_to_node
	ldr	w0, [x0]
	bl	_cpumask_of_node
	mov	x20, x0
Lloh0:
	adrp	x8, _NR_CPUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NR_CPUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #31
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #5
	add	w8, w8, w8, lsl #3
Lloh3:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w8, w9
	cset	w0, ge
	bl	_BUILD_BUG_ON
	ldr	w8, [x22]
	sub	w1, w8, #2
	mov	x0, x19
	mov	x2, x20
	cbz	w21, LBB0_2
; %bb.1:
	bl	_cpulist_scnprintf
	b	LBB0_3
LBB0_2:
	bl	_cpumask_scnprintf
LBB0_3:
	add	w8, w0, #1
	mov	w9, #10
	strh	w9, [x19, w0, sxtw]
	mov	x0, x8
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_CPUS,4,2                    ; @NR_CPUS
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_node_read_cpumap
.subsections_via_symbols
