	.file	"extr_intel_ctx.c_dmar_map_ctx_entry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dmar_map_ctx_entry, @function
dmar_map_ctx_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, DWORD PTR DMAR_PGF_NOALLOC[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	or	r12d, DWORD PTR DMAR_PGF_WAITOK[rip]
	call	PCI_RID2BUS@PLT
	mov	edx, r12d
	mov	rcx, r13
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	dmar_map_pgtbl@PLT
	movzx	edx, BYTE PTR [rbx]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	lea	rax, [rax+rdx*4]
	ret
	.cfi_endproc
.LFE0:
	.size	dmar_map_ctx_entry, .-dmar_map_ctx_entry
	.comm	DMAR_PGF_WAITOK,4,4
	.comm	DMAR_PGF_NOALLOC,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_intel_ctx.c_dmar_map_ctx_entry.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dmar_map_ctx_entry, %function
dmar_map_ctx_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldm	r0, {r0, r3}
	ldr	r3, [r3]
	mov	r5, r1
	ldr	r6, [r3]
	bl	PCI_RID2BUS
	mov	r1, r0
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	ip, [r2]
	ldr	r2, [r3]
	mov	r0, r6
	mov	r3, r5
	add	r1, r1, #1
	orr	r2, ip, r2
	bl	dmar_map_pgtbl
	ldrb	r3, [r4]	@ zero_extendqisi2
	add	r0, r0, r3, lsl #2
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	DMAR_PGF_NOALLOC
	.word	DMAR_PGF_WAITOK
	.size	dmar_map_ctx_entry, .-dmar_map_ctx_entry
	.comm	DMAR_PGF_WAITOK,4,4
	.comm	DMAR_PGF_NOALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
