	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptable_probe_cpus_handler
_mptable_probe_cpus_handler:            ## @mptable_probe_cpus_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, (%rdi)
	jne	LBB0_5
## %bb.1:
	movq	_PROCENTRY_FLAG_EN@GOTPCREL(%rip), %rax
	testb	$-128, (%rax)
	je	LBB0_5
## %bb.2:
	movl	4(%rdi), %esi
	movq	_MAX_LAPIC_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jge	LBB0_5
## %bb.3:
	movq	_mp_ncpus@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MAXCPU@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_5
## %bb.4:
	movq	_max_apic_id@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_max
	movl	%eax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROCENTRY_FLAG_EN,4,2          ## @PROCENTRY_FLAG_EN
	.comm	_MAX_LAPIC_ID,4,2               ## @MAX_LAPIC_ID
	.comm	_mp_ncpus,4,2                   ## @mp_ncpus
	.comm	_MAXCPU,4,2                     ## @MAXCPU
	.comm	_max_apic_id,4,2                ## @max_apic_id
	.comm	_mp_maxid,4,2                   ## @mp_maxid
	.no_dead_strip	_mptable_probe_cpus_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptable_probe_cpus_handler
_mptable_probe_cpus_handler:            ; @mptable_probe_cpus_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _PROCENTRY_FLAG_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROCENTRY_FLAG_EN@GOTPAGEOFF]
	ldrb	w8, [x8]
	tbz	w8, #7, LBB0_5
; %bb.2:
	ldr	w1, [x0, #4]
Lloh2:
	adrp	x8, _MAX_LAPIC_ID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_LAPIC_ID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ge	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _mp_ncpus@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mp_ncpus@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MAXCPU@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAXCPU@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.4:
Lloh11:
	adrp	x19, _max_apic_id@GOTPAGE
Lloh12:
	ldr	x19, [x19, _max_apic_id@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_max
	str	w0, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PROCENTRY_FLAG_EN,4,2          ; @PROCENTRY_FLAG_EN
	.comm	_MAX_LAPIC_ID,4,2               ; @MAX_LAPIC_ID
	.comm	_mp_ncpus,4,2                   ; @mp_ncpus
	.comm	_MAXCPU,4,2                     ; @MAXCPU
	.comm	_max_apic_id,4,2                ; @max_apic_id
	.comm	_mp_maxid,4,2                   ; @mp_maxid
	.no_dead_strip	_mptable_probe_cpus_handler
.subsections_via_symbols
