	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpt_build_mpch
_mpt_build_mpch:                        ## @mpt_build_mpch
	.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	%rdi, %rbx
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movl	16(%rbx), %edi
	movq	_MPCH_SIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_MP_SPECREV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %edi
	movq	_MPCH_OEMID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPCH_OEMID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	4(%rbx), %edi
	movq	_MPCH_PRODID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPCH_PRODID_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	_LAPIC_PADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCH_SIG,4,2                   ## @MPCH_SIG
	.comm	_MP_SPECREV,4,2                 ## @MP_SPECREV
	.comm	_MPCH_OEMID,4,2                 ## @MPCH_OEMID
	.comm	_MPCH_OEMID_LEN,4,2             ## @MPCH_OEMID_LEN
	.comm	_MPCH_PRODID,4,2                ## @MPCH_PRODID
	.comm	_MPCH_PRODID_LEN,4,2            ## @MPCH_PRODID_LEN
	.comm	_LAPIC_PADDR,4,2                ## @LAPIC_PADDR
	.no_dead_strip	_mpt_build_mpch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpt_build_mpch
_mpt_build_mpch:                        ; @mpt_build_mpch
	.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
	mov	x19, x0
	mov	w1, #0
	mov	w2, #20
	bl	_memset
	ldr	w0, [x19, #16]
Lloh0:
	adrp	x8, _MPCH_SIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPCH_SIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _MP_SPECREV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MP_SPECREV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _MPCH_OEMID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPCH_OEMID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _MPCH_OEMID_LEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPCH_OEMID_LEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x8, _MPCH_PRODID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPCH_PRODID@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MPCH_PRODID_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPCH_PRODID_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_memcpy
Lloh18:
	adrp	x8, _LAPIC_PADDR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LAPIC_PADDR@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCH_SIG,4,2                   ; @MPCH_SIG
	.comm	_MP_SPECREV,4,2                 ; @MP_SPECREV
	.comm	_MPCH_OEMID,4,2                 ; @MPCH_OEMID
	.comm	_MPCH_OEMID_LEN,4,2             ; @MPCH_OEMID_LEN
	.comm	_MPCH_PRODID,4,2                ; @MPCH_PRODID
	.comm	_MPCH_PRODID_LEN,4,2            ; @MPCH_PRODID_LEN
	.comm	_LAPIC_PADDR,4,2                ; @LAPIC_PADDR
	.no_dead_strip	_mpt_build_mpch
.subsections_via_symbols
