	.file	"extr_ocelot_ace.c_vcap_entry2cache.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vcap_entry2cache, @function
vcap_entry2cache:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR vcap_is2[rip], 0
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	je	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[r12]
	mov	edx, DWORD PTR S2_CACHE_ENTRY_DAT[rip]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax+rbx*4]
	call	ocelot_write_rix@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	rcx, rbx
	mov	rdi, rbp
	mov	edx, DWORD PTR S2_CACHE_MASK_DAT[rip]
	mov	esi, DWORD PTR [rax+rbx*4]
	add	rbx, 1
	not	esi
	call	ocelot_write_rix@PLT
	cmp	QWORD PTR vcap_is2[rip], rbx
	ja	.L3
.L2:
	mov	esi, DWORD PTR [r12]
	mov	edx, DWORD PTR S2_CACHE_TG_DAT[rip]
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ocelot_write@PLT
	.cfi_endproc
.LFE0:
	.size	vcap_entry2cache, .-vcap_entry2cache
	.comm	vcap_is2,8,8
	.comm	S2_CACHE_TG_DAT,4,4
	.comm	S2_CACHE_MASK_DAT,4,4
	.comm	S2_CACHE_ENTRY_DAT,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_ocelot_ace.c_vcap_entry2cache.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vcap_entry2cache, %function
vcap_entry2cache:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r7, .L10
	mov	r5, r0
	ldr	r3, [r7]
	mov	r6, r1
	cmp	r3, #0
	beq	.L2
	mov	r4, #0
	ldr	r9, .L10+4
	ldr	r8, .L10+8
.L3:
	ldr	r2, [r6, #8]
	mov	r3, r4
	ldr	r1, [r2, r4, lsl #2]
	mov	r0, r5
	ldr	r2, [r9]
	bl	ocelot_write_rix
	ldr	r2, [r6, #4]
	mov	r3, r4
	ldr	r1, [r2, r4, lsl #2]
	mov	r0, r5
	mvn	r1, r1
	ldr	r2, [r8]
	bl	ocelot_write_rix
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L3
.L2:
	ldr	r3, .L10+12
	mov	r0, r5
	ldr	r1, [r6]
	ldr	r2, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	ocelot_write
.L11:
	.align	2
.L10:
	.word	vcap_is2
	.word	S2_CACHE_ENTRY_DAT
	.word	S2_CACHE_MASK_DAT
	.word	S2_CACHE_TG_DAT
	.size	vcap_entry2cache, .-vcap_entry2cache
	.comm	vcap_is2,4,4
	.comm	S2_CACHE_TG_DAT,4,4
	.comm	S2_CACHE_MASK_DAT,4,4
	.comm	S2_CACHE_ENTRY_DAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
