	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mptable_parse_apics_and_busses
_mptable_parse_apics_and_busses:        ## @mptable_parse_apics_and_busses
	.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
	movq	_mpfps@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_DEFAULT_IO_APIC_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_ioapic_create
	movq	_ioapics@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 8(%rcx)
	movq	_busses@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$0, (%rax)
	movq	_default_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx), %rdx
	movslq	(%rdx), %rdx
	movq	-8(%rcx,%rdx,8), %rsi
	movq	16(%rsi), %rsi
	movq	%rsi, 8(%rax)
	movq	_mptable_nbusses@GOTPCREL(%rip), %rsi
	cmpl	$2, (%rsi)
	jl	LBB0_3
## %bb.2:
	movl	$1, 16(%rax)
	movq	-8(%rcx,%rdx,8), %rcx
	movq	32(%rcx), %rcx
	movq	%rcx, 24(%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_mptable_parse_apics_and_busses_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mptable_walk_table             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mpfps,8,3                      ## @mpfps
	.comm	_DEFAULT_IO_APIC_BASE,4,2       ## @DEFAULT_IO_APIC_BASE
	.comm	_ioapics,8,3                    ## @ioapics
	.comm	_busses,8,3                     ## @busses
	.comm	_default_data,8,3               ## @default_data
	.comm	_mptable_nbusses,4,2            ## @mptable_nbusses
	.comm	_mptable_parse_apics_and_busses_handler,4,2 ## @mptable_parse_apics_and_busses_handler
	.no_dead_strip	_mptable_parse_apics_and_busses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mptable_parse_apics_and_busses
_mptable_parse_apics_and_busses:        ; @mptable_parse_apics_and_busses
	.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
Lloh0:
	adrp	x19, _mpfps@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mpfps@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _DEFAULT_IO_APIC_BASE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DEFAULT_IO_APIC_BASE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	w1, #2
	mov	w2, #0
	bl	_ioapic_create
Lloh5:
	adrp	x8, _ioapics@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ioapics@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	w0, [x8, #8]
Lloh8:
	adrp	x8, _busses@GOTPAGE
Lloh9:
	ldr	x8, [x8, _busses@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	wzr, [x8]
Lloh11:
	adrp	x9, _default_data@GOTPAGE
Lloh12:
	ldr	x9, [x9, _default_data@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x10, [x19]
	ldrsw	x10, [x10]
	sub	x10, x10, #1
	ldr	x11, [x9, x10, lsl #3]
	ldr	x11, [x11, #16]
	str	x11, [x8, #8]
Lloh14:
	adrp	x11, _mptable_nbusses@GOTPAGE
Lloh15:
	ldr	x11, [x11, _mptable_nbusses@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	cmp	w11, #2
	b.lt	LBB0_3
; %bb.2:
	mov	w11, #1
	str	w11, [x8, #16]
	ldr	x9, [x9, x10, lsl #3]
	ldr	x9, [x9, #32]
	str	x9, [x8, #24]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh17:
	adrp	x8, _mptable_parse_apics_and_busses_handler@GOTPAGE
Lloh18:
	ldr	x8, [x8, _mptable_parse_apics_and_busses_handler@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mptable_walk_table
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_mpfps,8,3                      ; @mpfps
	.comm	_DEFAULT_IO_APIC_BASE,4,2       ; @DEFAULT_IO_APIC_BASE
	.comm	_ioapics,8,3                    ; @ioapics
	.comm	_busses,8,3                     ; @busses
	.comm	_default_data,8,3               ; @default_data
	.comm	_mptable_nbusses,4,2            ; @mptable_nbusses
	.comm	_mptable_parse_apics_and_busses_handler,4,2 ; @mptable_parse_apics_and_busses_handler
	.no_dead_strip	_mptable_parse_apics_and_busses
.subsections_via_symbols
