	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bigsmp_cpu_present_to_apicid
_bigsmp_cpu_present_to_apicid:          ## @bigsmp_cpu_present_to_apicid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nr_cpu_ids@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_2
## %bb.1:
	movl	%edi, %esi
	movq	_x86_bios_cpu_apicid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_per_cpu
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	movq	_BAD_APICID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nr_cpu_ids,4,2                 ## @nr_cpu_ids
	.comm	_x86_bios_cpu_apicid,4,2        ## @x86_bios_cpu_apicid
	.comm	_BAD_APICID,4,2                 ## @BAD_APICID
	.no_dead_strip	_bigsmp_cpu_present_to_apicid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bigsmp_cpu_present_to_apicid
_bigsmp_cpu_present_to_apicid:          ; @bigsmp_cpu_present_to_apicid
	.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
Lloh0:
	adrp	x8, _nr_cpu_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nr_cpu_ids@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_2
; %bb.1:
	mov	x1, x0
Lloh3:
	adrp	x8, _x86_bios_cpu_apicid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _x86_bios_cpu_apicid@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_per_cpu
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _BAD_APICID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BAD_APICID@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_nr_cpu_ids,4,2                 ; @nr_cpu_ids
	.comm	_x86_bios_cpu_apicid,4,2        ; @x86_bios_cpu_apicid
	.comm	_BAD_APICID,4,2                 ; @BAD_APICID
	.no_dead_strip	_bigsmp_cpu_present_to_apicid
.subsections_via_symbols
