	.file	"extr_dump_pagetables.c_walk_p4d_level.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	walk_p4d_level, @function
walk_p4d_level:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	edi, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	cmp	DWORD PTR PTRS_PER_P4D[rip], 1
	mov	DWORD PTR 20[rsp], ecx
	mov	QWORD PTR 8[rsp], r8
	je	.L15
	call	pgd_page_vaddr@PLT
	mov	edx, DWORD PTR PTRS_PER_P4D[rip]
	mov	QWORD PTR 24[rsp], rax
	test	edx, edx
	jle	.L1
	mov	rbx, rax
	xor	ebp, ebp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR [rbx]
	call	p4d_flags@PLT
	mov	edi, DWORD PTR 20[rsp]
	mov	esi, eax
	mov	r15d, eax
	call	effective_prot@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r13d, eax
	call	p4d_large@PLT
	test	rax, rax
	jne	.L7
	mov	edi, DWORD PTR [rbx]
	call	p4d_present@PLT
	test	eax, eax
	jne	.L16
.L7:
	mov	edi, r15d
	call	__pgprot@PLT
	mov	ecx, r13d
	mov	rsi, r12
	mov	rdi, r14
	mov	edx, eax
	mov	r8d, 2
	call	note_page@PLT
.L6:
	add	rbx, 4
	add	ebp, 1
	cmp	DWORD PTR PTRS_PER_P4D[rip], ebp
	jle	.L1
.L8:
	mov	edi, DWORD PTR P4D_LEVEL_MULT[rip]
	imul	edi, ebp
	movsx	rdi, edi
	add	rdi, QWORD PTR 8[rsp]
	call	normalize_addr@PLT
	mov	DWORD PTR [r12], eax
	mov	edi, DWORD PTR [rbx]
	call	p4d_none@PLT
	test	eax, eax
	je	.L17
	xor	edi, edi
	add	rbx, 4
	add	ebp, 1
	call	__pgprot@PLT
	xor	ecx, ecx
	mov	r8d, 2
	mov	rsi, r12
	mov	edx, eax
	mov	rdi, r14
	call	note_page@PLT
	cmp	DWORD PTR PTRS_PER_P4D[rip], ebp
	jg	.L8
.L1:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, r12
	mov	rdi, r14
	call	kasan_page_table@PLT
	test	eax, eax
	jne	.L6
	mov	r8d, DWORD PTR P4D_LEVEL_MULT[rip]
	mov	edx, DWORD PTR [rbx]
	mov	ecx, r13d
	mov	rsi, r12
	mov	rdi, r14
	imul	r8d, ebp
	movsx	r8, r8d
	add	r8, QWORD PTR 8[rsp]
	call	walk_pud_level@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	call	pgd_val@PLT
	mov	edi, eax
	call	__p4d@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rsi, r12
	mov	rdi, r14
	mov	ecx, DWORD PTR 20[rsp]
	add	rsp, 40
	.cfi_def_cfa_offset 56
	mov	edx, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	walk_pud_level@PLT
	.cfi_endproc
.LFE0:
	.size	walk_p4d_level, .-walk_p4d_level
	.comm	PTRS_PER_P4D,4,4
	.comm	P4D_LEVEL_MULT,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_dump_pagetables.c_walk_p4d_level.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walk_p4d_level, %function
walk_p4d_level:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L18
	sub	sp, sp, #28
	mov	r8, r0
	ldr	r0, [r9]
	str	r3, [sp, #16]
	ldr	r3, [sp, #64]
	cmp	r0, #1
	mov	r6, r1
	mov	r0, r2
	str	r3, [sp, #12]
	beq	.L15
	bl	pgd_page_vaddr
	ldr	r3, [r9]
	str	r0, [sp, #20]
	cmp	r3, #0
	ble	.L1
	mov	r4, r0
	mov	r5, #0
	ldr	fp, .L18+4
	b	.L8
.L17:
	ldr	r0, [r4]
	bl	p4d_flags
	mov	r10, r0
	ldr	r0, [sp, #16]
	mov	r1, r10
	bl	effective_prot
	mov	r7, r0
	ldr	r0, [r4]
	bl	p4d_large
	cmp	r0, #0
	bne	.L7
	ldr	r0, [r4]
	bl	p4d_present
	cmp	r0, #0
	bne	.L16
.L7:
	mov	r0, r10
	bl	__pgprot
	mov	r3, #2
	mov	r2, r0
	str	r3, [sp]
	mov	r1, r6
	mov	r3, r7
	mov	r0, r8
	bl	note_page
.L6:
	ldr	r3, [r9]
	add	r5, r5, #1
	cmp	r3, r5
	add	r4, r4, #4
	ble	.L1
.L8:
	ldr	r0, [fp]
	ldr	r3, [sp, #12]
	mla	r3, r0, r5, r3
	mov	r0, r3
	bl	normalize_addr
	str	r0, [r6]
	ldr	r0, [r4]
	bl	p4d_none
	cmp	r0, #0
	beq	.L17
	mov	r0, #0
	bl	__pgprot
	mov	r3, #2
	mov	r2, r0
	str	r3, [sp]
	mov	r1, r6
	mov	r3, #0
	mov	r0, r8
	bl	note_page
	b	.L6
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	mov	r1, r6
	mov	r0, r8
	ldr	r2, [sp, #20]
	bl	kasan_page_table
	cmp	r0, #0
	bne	.L6
	ldr	r1, [fp]
	ldr	r3, [sp, #12]
	ldr	r2, [r4]
	mla	r3, r1, r5, r3
	mov	r1, r3
	mov	r0, r8
	str	r1, [sp]
	mov	r3, r7
	mov	r1, r6
	bl	walk_pud_level
	b	.L6
.L15:
	bl	pgd_val
	bl	__p4d
	mov	r1, r6
	mov	r2, r0
	mov	r0, r8
	ldr	r3, [sp, #12]
	str	r3, [sp, #64]
	ldr	r3, [sp, #16]
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	walk_pud_level
.L19:
	.align	2
.L18:
	.word	PTRS_PER_P4D
	.word	P4D_LEVEL_MULT
	.size	walk_p4d_level, .-walk_p4d_level
	.comm	PTRS_PER_P4D,4,4
	.comm	P4D_LEVEL_MULT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
