	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_numa_node_to_apic_id       ## -- Begin function kfd_numa_node_to_apic_id
	.p2align	4, 0x90
_kfd_numa_node_to_apic_id:              ## @kfd_numa_node_to_apic_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$-1, %edi
	je	LBB0_1
## %bb.2:
	callq	_cpumask_of_node
	movl	%eax, %edi
	popq	%rbp
	jmp	_kfd_cpumask_to_apic_id         ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warn
	movq	_cpu_online_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_kfd_cpumask_to_apic_id         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid NUMA Node. Use online CPU mask\n"

	.comm	_cpu_online_mask,4,2            ## @cpu_online_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kfd_numa_node_to_apic_id       ; -- Begin function kfd_numa_node_to_apic_id
	.p2align	2
_kfd_numa_node_to_apic_id:              ; @kfd_numa_node_to_apic_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_cpumask_of_node
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_kfd_cpumask_to_apic_id
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
Lloh2:
	adrp	x8, _cpu_online_mask@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cpu_online_mask@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_kfd_cpumask_to_apic_id
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid NUMA Node. Use online CPU mask\n"

	.comm	_cpu_online_mask,4,2            ; @cpu_online_mask
.subsections_via_symbols
