	.file	"extr_mpconfig.c_HaliReadMPConfigTable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Bad MP configuration block signature: %c%c%c%c\n"
	.align 8
.LC1:
	.string	"Bad MP configuration block checksum\n"
	.align 8
.LC2:
	.string	"Bad MP configuration table version (%d)\n"
	.align 8
.LC3:
	.string	"APIC base address is at 0x%X. I cannot handle non-standard adresses\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC4:
	.string	"Oem: %.*s, ProductId: %.*s\n"
.LC5:
	.string	"APIC at: %08x\n"
.LC6:
	.string	"Unknown entry in MPC table\n"
	.text
	.p2align 4
	.type	HaliReadMPConfigTable, @function
HaliReadMPConfigTable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR 8[rdi]
	mov	rax, QWORD PTR MPC_SIGNATURE[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
	mov	edx, DWORD PTR 4[rdi]
	mov	r8d, DWORD PTR 12[rdi]
	xor	eax, eax
	mov	esi, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	DPRINT1@PLT
	mov	ecx, DWORD PTR 8[rbx]
	mov	edx, DWORD PTR 4[rbx]
	mov	r8d, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR [rbx]
	mov	edi, DWORD PTR HAL_INITIALIZATION_FAILED[rip]
	call	KeBugCheckEx@PLT
	mov	eax, DWORD PTR FALSE[rip]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, ecx
	call	MPChecksum@PLT
	lea	rdi, .LC1[rip]
	test	rax, rax
	jne	.L27
	mov	esi, DWORD PTR 12[rbx]
	cmp	esi, 1
	je	.L5
	lea	rdi, .LC2[rip]
	cmp	esi, 4
	jne	.L28
.L5:
	mov	esi, DWORD PTR 16[rbx]
	cmp	esi, DWORD PTR APIC_DEFAULT_BASE[rip]
	jne	.L30
	mov	edx, DWORD PTR 24[rbx]
	mov	r8d, DWORD PTR 20[rbx]
	mov	ecx, 12
	xor	eax, eax
	mov	esi, 8
	lea	rbp, 4[rbx]
	lea	rdi, .LC4[rip]
	mov	r12d, 4
	call	DPRINT@PLT
	mov	esi, DWORD PTR 16[rbx]
	xor	eax, eax
	lea	rdi, .LC5[rip]
	lea	r13, .L10[rip]
	call	DPRINT@PLT
	cmp	DWORD PTR 8[rbx], 4
	je	.L16
.L7:
	mov	eax, DWORD PTR 0[rbp]
	add	eax, -128
	cmp	eax, 4
	ja	.L8
	movsx	rax, DWORD PTR 0[r13+rax*4]
	mov	edi, ebp
	add	rax, r13
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L10:
	.long	.L14-.L10
	.long	.L13-.L10
	.long	.L12-.L10
	.long	.L11-.L10
	.long	.L9-.L10
	.text
	.p2align 4,,10
	.p2align 3
.L30:
	lea	rdi, .LC3[rip]
.L28:
	xor	eax, eax
	call	DPRINT1@PLT
	mov	edi, DWORD PTR FALSE[rip]
	call	ASSERT@PLT
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	lea	rdi, .LC6[rip]
.L27:
	xor	eax, eax
	call	DPRINT1@PLT
	mov	edi, DWORD PTR FALSE[rip]
	call	ASSERT@PLT
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	HaliMPIntSrcInfo@PLT
	movsx	rax, r12d
.L15:
	movsx	rdx, DWORD PTR 8[rbx]
	add	rbp, 16
	add	r12d, 4
	sub	rdx, 4
	cmp	rax, rdx
	jb	.L7
.L16:
	mov	eax, DWORD PTR TRUE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	call	HaliMPIOApicInfo@PLT
	movsx	rax, r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	call	HaliMPIntLocalInfo@PLT
	movsx	rax, r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L14:
	call	HaliMPProcessorInfo@PLT
	movsx	rax, r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L9:
	call	HaliMPBusInfo@PLT
	movsx	rax, r12d
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	HaliReadMPConfigTable, .-HaliReadMPConfigTable
	.comm	TRUE,4,4
	.comm	MPC_SIGNATURE,8,8
	.comm	HAL_INITIALIZATION_FAILED,4,4
	.comm	FALSE,4,4
	.comm	APIC_DEFAULT_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mpconfig.c_HaliReadMPConfigTable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad MP configuration block signature: %c%c%c%c\012\000"
	.align	2
.LC1:
	.ascii	"Bad MP configuration block checksum\012\000"
	.align	2
.LC2:
	.ascii	"Bad MP configuration table version (%d)\012\000"
	.align	2
.LC3:
	.ascii	"APIC base address is at 0x%X. I cannot handle non-s"
	.ascii	"tandard adresses\012\000"
	.align	2
.LC4:
	.ascii	"Oem: %.*s, ProductId: %.*s\012\000"
	.align	2
.LC5:
	.ascii	"APIC at: %08x\012\000"
	.align	2
.LC6:
	.ascii	"Unknown entry in MPC table\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	HaliReadMPConfigTable, %function
HaliReadMPConfigTable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L24
	ldr	r1, [r0]
	ldr	ip, [r2]
	mov	r4, r0
	cmp	r1, ip
	ldr	r2, [r0, #4]
	sub	sp, sp, #8
	beq	.L2
	ldr	r0, [r0, #12]
	str	r0, [sp]
	ldr	r3, [r4, #8]
	ldr	r0, .L24+4
	bl	DPRINT1
	ldr	r3, [r4, #12]
	ldr	r2, .L24+8
	ldr	r0, [r2]
	str	r3, [sp]
	ldm	r4, {r1, r2, r3}
	bl	KeBugCheckEx
	ldr	r3, .L24+12
	ldr	r0, [r3]
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r1, r2
	bl	MPChecksum
	cmp	r0, #0
	bne	.L21
	ldr	r1, [r4, #8]
	cmp	r1, #1
	cmpne	r1, #4
	bne	.L22
	ldr	r3, .L24+16
	ldr	r1, [r4, #12]
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L23
	ldr	r2, [r4, #16]
	mov	r3, #12
	str	r2, [sp]
	mov	r1, #8
	ldr	r2, [r4, #20]
	ldr	r0, .L24+20
	bl	DPRINT
	ldr	r1, [r4, #12]
	ldr	r0, .L24+24
	bl	DPRINT
	ldr	r3, [r4, #4]
	mov	r6, r4
	cmp	r3, #4
	movne	r5, #4
	beq	.L16
.L7:
	ldr	r3, [r6, #4]
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L9
.L23:
	ldr	r4, .L24+12
	ldr	r0, .L24+28
	bl	DPRINT1
	ldr	r0, [r4]
	bl	ASSERT
	ldr	r0, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	add	r0, r6, #4
	bl	HaliMPBusInfo
.L15:
	ldr	r3, [r4, #4]
	add	r6, r6, #16
	sub	r3, r3, #4
	cmp	r3, r5
	add	r5, r5, #4
	bhi	.L7
.L16:
	ldr	r3, .L24+32
	ldr	r0, [r3]
	b	.L1
.L11:
	add	r0, r6, #4
	bl	HaliMPIntSrcInfo
	b	.L15
.L12:
	add	r0, r6, #4
	bl	HaliMPIOApicInfo
	b	.L15
.L13:
	add	r0, r6, #4
	bl	HaliMPIntLocalInfo
	b	.L15
.L14:
	add	r0, r6, #4
	bl	HaliMPProcessorInfo
	b	.L15
.L21:
	ldr	r4, .L24+12
	ldr	r0, .L24+36
	bl	DPRINT1
	ldr	r0, [r4]
	bl	ASSERT
	ldr	r0, [r4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r4, .L24+12
	ldr	r0, .L24+40
	bl	DPRINT1
	ldr	r0, [r4]
	bl	ASSERT
	ldr	r0, [r4]
	b	.L1
.L8:
	ldr	r4, .L24+12
	ldr	r0, .L24+44
	bl	DPRINT1
	ldr	r0, [r4]
	bl	ASSERT
	ldr	r0, [r4]
	b	.L1
.L25:
	.align	2
.L24:
	.word	MPC_SIGNATURE
	.word	.LC0
	.word	HAL_INITIALIZATION_FAILED
	.word	FALSE
	.word	APIC_DEFAULT_BASE
	.word	.LC4
	.word	.LC5
	.word	.LC3
	.word	TRUE
	.word	.LC1
	.word	.LC2
	.word	.LC6
	.size	HaliReadMPConfigTable, .-HaliReadMPConfigTable
	.comm	TRUE,4,4
	.comm	MPC_SIGNATURE,4,4
	.comm	HAL_INITIALIZATION_FAILED,4,4
	.comm	FALSE,4,4
	.comm	APIC_DEFAULT_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
