	.file	"extr_pmap-v4.c_pmap_link_l2pt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pmap_link_l2pt
	.type	pmap_link_l2pt, @function
pmap_link_l2pt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, QWORD PTR L1_S_SHIFT[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR PMAP_DOMAIN_KERNEL[rip]
	shr	rsi, cl
	mov	r12, rsi
	call	L1_S_DOM@PLT
	lea	rdi, [rbx+r12*4]
	mov	r8d, eax
	mov	eax, DWORD PTR L1_C_PROTO[rip]
	or	eax, DWORD PTR 0[rbp]
	or	eax, r8d
	mov	DWORD PTR [rdi], eax
	call	PTE_SYNC@PLT
	mov	edx, DWORD PTR pv_list[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	lea	rdi, kernel_pt_list[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	SLIST_INSERT_HEAD@PLT
	.cfi_endproc
.LFE0:
	.size	pmap_link_l2pt, .-pmap_link_l2pt
	.comm	pv_list,4,4
	.comm	kernel_pt_list,4,4
	.comm	PMAP_DOMAIN_KERNEL,4,4
	.comm	L1_S_SHIFT,8,8
	.comm	L1_C_PROTO,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_pmap-v4.c_pmap_link_l2pt.c"
	.text
	.align	2
	.global	pmap_link_l2pt
	.syntax unified
	.arm
	.fpu softvfp
	.type	pmap_link_l2pt, %function
pmap_link_l2pt:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, .L4
	ldr	r3, .L4+4
	ldr	r6, [r0]
	ldr	r0, [r3]
	mov	r4, r2
	lsr	r6, r1, r6
	bl	L1_S_DOM
	mov	r2, r0
	ldr	r3, .L4+8
	ldr	r1, [r4]
	ldr	r3, [r3]
	add	r0, r5, r6, lsl #2
	orr	r3, r3, r1
	orr	r3, r3, r2
	str	r3, [r5, r6, lsl #2]
	bl	PTE_SYNC
	ldr	r3, .L4+12
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	ldr	r0, .L4+16
	b	SLIST_INSERT_HEAD
.L5:
	.align	2
.L4:
	.word	L1_S_SHIFT
	.word	PMAP_DOMAIN_KERNEL
	.word	L1_C_PROTO
	.word	pv_list
	.word	kernel_pt_list
	.size	pmap_link_l2pt, .-pmap_link_l2pt
	.comm	pv_list,4,4
	.comm	kernel_pt_list,4,4
	.comm	PMAP_DOMAIN_KERNEL,4,4
	.comm	L1_S_SHIFT,4,4
	.comm	L1_C_PROTO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
