	.file	"extr_cvmx-tlb.c_cvmx_tlb_add_fixed_entry.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cvmx_tlb_add_fixed_entry
	.type	cvmx_tlb_add_fixed_entry, @function
cvmx_tlb_add_fixed_entry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, rbp
	mov	rbx, rcx
	call	CVMX_MF_TLB_WIRED@PLT
	xor	eax, eax
	call	cvmx_core_get_tlb_entries@PLT
	cmp	rax, rbp
	jg	.L2
.L4:
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	ebp, ebp
	mov	rdi, rbp
	call	__tlb_entry_is_free@PLT
	test	rax, rax
	je	.L4
	mov	rdi, rbp
	mov	r8, rbx
	mov	rcx, r14
	mov	rdx, r13
	mov	rsi, r12
	call	cvmx_tlb_write_entry@PLT
	mov	rdi, rbp
	call	__tlb_entry_is_free@PLT
	test	rax, rax
	jne	.L4
	mov	edi, 1
	call	CVMX_MT_TLB_WIRED@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	cvmx_tlb_add_fixed_entry, .-cvmx_tlb_add_fixed_entry
	.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_cvmx-tlb.c_cvmx_tlb_add_fixed_entry.c"
	.text
	.align	2
	.global	cvmx_tlb_add_fixed_entry
	.syntax unified
	.arm
	.fpu softvfp
	.type	cvmx_tlb_add_fixed_entry, %function
cvmx_tlb_add_fixed_entry:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, #0
	sub	sp, sp, #8
	mov	r5, r0
	mov	r0, r4
	mov	r8, r1
	mov	r6, r2
	mov	r7, r3
	bl	CVMX_MF_TLB_WIRED
	bl	cvmx_core_get_tlb_entries
	cmp	r0, r4
	bgt	.L2
.L4:
	mov	r0, #0
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, #0
	bl	__tlb_entry_is_free
	cmp	r0, #0
	beq	.L4
	mov	r4, #0
	mov	r3, r6
	mov	r2, r8
	mov	r1, r5
	mov	r0, r4
	str	r7, [sp]
	bl	cvmx_tlb_write_entry
	mov	r0, r4
	bl	__tlb_entry_is_free
	cmp	r0, r4
	bne	.L4
	mov	r0, #1
	bl	CVMX_MT_TLB_WIRED
	mov	r0, #1
	b	.L1
	.size	cvmx_tlb_add_fixed_entry, .-cvmx_tlb_add_fixed_entry
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
