	.file	"extr_mmu_phyp.c_mphyp_pte_spillable_ident.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mphyp_pte_spillable_ident, @function
mphyp_pte_spillable_ident:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, -1
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], rdi
	lea	r14, 48[rsp]
	lea	rbp, 40[rsp]
	mov	QWORD PTR 24[rsp], rsi
	lea	r13, 52[rsp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	mftb@PLT
	cdq
	shr	edx, 29
	lea	r11d, [rax+rdx]
	and	r11d, 7
	mov	ebx, r11d
	sub	ebx, edx
	lea	eax, 8[rbx]
	mov	DWORD PTR 20[rsp], eax
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, ebx
	mov	edi, DWORD PTR H_READ[rip]
	xor	ecx, ecx
	xor	esi, esi
	sar	eax, 31
	mov	r9, r14
	xor	r8d, r8d
	shr	eax, 29
	lea	r10d, [rbx+rax]
	and	r10d, 7
	sub	r10d, eax
	mov	rax, QWORD PTR 8[rsp]
	push	rbp
	.cfi_def_cfa_offset 136
	movsx	r10, r10d
	push	r13
	.cfi_def_cfa_offset 144
	lea	r15, [r10+rax]
	mov	rdx, r15
	call	phyp_pft_hcall@PLT
	mov	eax, DWORD PTR 64[rsp]
	pop	rcx
	.cfi_def_cfa_offset 136
	pop	rsi
	.cfi_def_cfa_offset 128
	test	DWORD PTR LPTE_WIRED[rip], eax
	jne	.L2
	test	DWORD PTR LPTE_VALID[rip], eax
	je	.L5
	mov	eax, DWORD PTR 52[rsp]
	test	DWORD PTR LPTE_REF[rip], eax
	je	.L5
	mov	r12, r15
.L2:
	add	ebx, 1
	cmp	DWORD PTR 20[rsp], ebx
	jne	.L6
	cmp	r12, -1
	je	.L1
	push	rbp
	.cfi_def_cfa_offset 136
	mov	r9, QWORD PTR 32[rsp]
	mov	rdx, r12
	xor	r8d, r8d
	mov	edi, DWORD PTR H_READ[rip]
	xor	ecx, ecx
	xor	esi, esi
	lea	rax, 4[r9]
	push	rax
	.cfi_def_cfa_offset 144
	call	phyp_pft_hcall@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L5:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 8
	mov	rsi, r14
	mov	r12, r15
	call	memcpy@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mphyp_pte_spillable_ident, .-mphyp_pte_spillable_ident
	.comm	LPTE_WIRED,4,4
	.comm	LPTE_VALID,4,4
	.comm	LPTE_REF,4,4
	.comm	H_READ,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_mmu_phyp.c_mphyp_pte_spillable_ident.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mphyp_pte_spillable_ident, %function
mphyp_pte_spillable_ident:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L18
	sub	sp, sp, #52
	str	r0, [sp, #20]
	str	r1, [sp, #28]
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	mftb
	mvn	r8, #0
	rsbs	r3, r0, #0
	and	r3, r3, #7
	and	r4, r0, #7
	rsbpl	r4, r3, #0
	add	r3, r4, #8
	ldr	r6, .L18+4
	ldr	r9, .L18+8
	ldr	r10, .L18+12
	ldr	fp, .L18+16
	str	r3, [sp, #24]
	add	r7, sp, #32
.L6:
	mov	r3, #0
	subs	r1, r3, r4
	and	r1, r1, #7
	and	r2, r4, #7
	rsbpl	r2, r1, #0
	ldr	r1, [sp, #20]
	str	r3, [sp]
	add	r5, r2, r1
	add	r2, sp, #40
	str	r2, [sp, #8]
	add	r2, sp, #36
	mov	r1, r3
	str	r2, [sp, #4]
	ldr	r0, [r6]
	mov	r2, r5
	str	r7, [sp, #12]
	bl	phyp_pft_hcall
	ldr	r3, [sp, #36]
	ldr	r1, [r9]
	tst	r3, r1
	bne	.L2
	ldr	r1, [r10]
	tst	r3, r1
	beq	.L5
	ldr	r1, [sp, #40]
	ldr	r3, [fp]
	tst	r1, r3
	beq	.L5
	mov	r8, r5
.L2:
	ldr	r3, [sp, #24]
	add	r4, r4, #1
	cmp	r3, r4
	bne	.L6
	cmn	r8, #1
	beq	.L1
	mov	r3, #0
	ldr	r1, [sp, #28]
	ldr	r0, [r6]
	add	r2, r1, #4
	stmib	sp, {r1, r2, r7}
	str	r3, [sp]
	mov	r1, r3
	mov	r2, r8
	bl	phyp_pft_hcall
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r8
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r2, #8
	ldr	r0, [sp, #28]
	add	r1, sp, #36
	mov	r8, r5
	bl	memcpy
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	H_READ
	.word	LPTE_WIRED
	.word	LPTE_VALID
	.word	LPTE_REF
	.size	mphyp_pte_spillable_ident, .-mphyp_pte_spillable_ident
	.comm	LPTE_WIRED,4,4
	.comm	LPTE_VALID,4,4
	.comm	LPTE_REF,4,4
	.comm	H_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
