	.file	"extr_io-pgtable-arm.c_arm_lpae_init_pte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	arm_lpae_init_pte, @function
arm_lpae_init_pte:
.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	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15d, DWORD PTR [r9]
	mov	edx, DWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rsi
	mov	esi, r8d
	mov	edi, r15d
	call	iopte_leaf@PLT
	test	rax, rax
	jne	.L7
	mov	esi, r14d
	mov	edi, r15d
	call	iopte_type@PLT
	cmp	rax, QWORD PTR ARM_LPAE_PTE_TYPE_TABLE[rip]
	je	.L8
.L4:
	mov	r8, rbx
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	__arm_lpae_init_pte@PLT
	xor	eax, eax
.L1:
	add	rsp, 24
	.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
.L8:
	.cfi_restore_state
	mov	rsi, rbp
	mov	edi, r14d
	call	ARM_LPAE_BLOCK_SIZE@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, rbp
	mov	esi, r14d
	mov	r15, rax
	call	ARM_LPAE_LVL_IDX@PLT
	mov	r9, rbx
	mov	rdx, QWORD PTR 8[rsp]
	xor	esi, esi
	sub	r9, rax
	mov	r8d, r14d
	mov	rcx, r15
	mov	rdi, rbp
	sar	r9, 2
	call	__arm_lpae_unmap@PLT
	cmp	rax, r15
	je	.L4
	mov	edi, 1
	call	WARN_ON@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR selftest_running[rip]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	mov	eax, DWORD PTR EEXIST[rip]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
	.cfi_endproc
.LFE0:
	.size	arm_lpae_init_pte, .-arm_lpae_init_pte
	.comm	selftest_running,4,4
	.comm	EINVAL,4,4
	.comm	EEXIST,4,4
	.comm	ARM_LPAE_PTE_TYPE_TABLE,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_io-pgtable-arm.c_arm_lpae_init_pte.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arm_lpae_init_pte, %function
arm_lpae_init_pte:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	ldr	r10, [sp, #52]
	ldr	r6, [sp, #48]
	ldr	fp, [r10]
	mov	r5, r0
	mov	r9, r1
	mov	r7, r2
	mov	r1, r6
	ldr	r2, [r0]
	mov	r0, fp
	mov	r8, r3
	bl	iopte_leaf
	subs	r4, r0, #0
	bne	.L7
	mov	r0, fp
	mov	r1, r6
	bl	iopte_type
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L8
.L4:
	mov	r3, r6
	mov	r2, r8
	mov	r1, r7
	mov	r0, r5
	str	r10, [sp]
	bl	__arm_lpae_init_pte
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mov	r1, r5
	mov	r0, r6
	bl	ARM_LPAE_BLOCK_SIZE
	mov	r2, r5
	mov	fp, r0
	mov	r1, r6
	mov	r0, r9
	bl	ARM_LPAE_LVL_IDX
	sub	r2, r10, r0
	asr	r2, r2, #2
	str	r2, [sp, #4]
	mov	r3, fp
	mov	r2, r9
	mov	r1, r4
	mov	r0, r5
	str	r6, [sp]
	bl	__arm_lpae_unmap
	cmp	r0, fp
	beq	.L4
	mov	r0, #1
	bl	WARN_ON
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L7:
	ldr	r3, .L9+8
	ldr	r0, [r3]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	.align	2
.L9:
	.word	ARM_LPAE_PTE_TYPE_TABLE
	.word	EINVAL
	.word	selftest_running
	.word	EEXIST
	.size	arm_lpae_init_pte, .-arm_lpae_init_pte
	.comm	selftest_running,4,4
	.comm	EINVAL,4,4
	.comm	EEXIST,4,4
	.comm	ARM_LPAE_PTE_TYPE_TABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
