	.file	"extr_dmardump.c_walk_rsdt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"RSDT"
	.text
	.p2align 4
	.type	walk_rsdt, @function
walk_rsdt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	edx, 4
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	call	memcmp@PLT
	movsx	rax, DWORD PTR [r12]
	sub	rax, 8
	shr	rax, 2
	test	eax, eax
	jle	.L1
	sub	eax, 1
	xor	ebx, ebx
	lea	r13, 4[0+rax*4]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR [r12]
	mov	edi, DWORD PTR [rax+rbx]
	call	le32toh@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L4
	call	acpi_map_sdt@PLT
	mov	esi, DWORD PTR [rax]
	mov	rdi, rax
	mov	rbp, rax
	call	acpi_checksum@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, QWORD PTR ACPI_SIG_DMAR[rip]
	mov	edx, 4
	call	memcmp@PLT
	test	rax, rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 4
	cmp	rbx, r13
	jne	.L6
.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
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	acpi_handle_dmar@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	walk_rsdt, .-walk_rsdt
	.comm	ACPI_SIG_DMAR,8,8
	.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_dmardump.c_walk_rsdt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"RSDT\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walk_rsdt, %function
walk_rsdt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r2, #4
	ldr	r0, [r0, #4]
	ldr	r1, .L13
	bl	memcmp
	ldr	r6, [r7]
	sub	r6, r6, #8
	lsrs	r6, r6, #2
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r4, #0
	ldr	r8, .L13+4
	lsl	r6, r6, #2
	b	.L6
.L4:
	cmp	r6, r4
	popeq	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, [r7]
	ldr	r0, [r3, r4]
	bl	le32toh
	cmp	r0, #0
	add	r4, r4, #4
	beq	.L4
	bl	acpi_map_sdt
	ldr	r1, [r0]
	mov	r5, r0
	bl	acpi_checksum
	cmp	r0, #0
	bne	.L4
	mov	r2, #4
	ldr	r1, [r8]
	ldr	r0, [r5, #4]
	bl	memcmp
	cmp	r0, #0
	bne	.L4
	mov	r0, r5
	bl	acpi_handle_dmar
	cmp	r6, r4
	bne	.L6
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	ACPI_SIG_DMAR
	.size	walk_rsdt, .-walk_rsdt
	.comm	ACPI_SIG_DMAR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
