	.file	"extr_etnaviv_gpu.c_etnaviv_gpu_start_fe.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	etnaviv_gpu_start_fe
	.type	etnaviv_gpu_start_fe, @function
etnaviv_gpu_start_fe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	mov	edx, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR VIVS_FE_COMMAND_ADDRESS[rip]
	call	gpu_write@PLT
	mov	edi, r12d
	call	VIVS_FE_COMMAND_CONTROL_PREFETCH@PLT
	mov	esi, DWORD PTR VIVS_FE_COMMAND_CONTROL[rip]
	or	eax, DWORD PTR VIVS_FE_COMMAND_CONTROL_ENABLE[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	gpu_write@PLT
	mov	rax, QWORD PTR ETNA_SEC_KERNEL[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, r12d
	call	VIVS_MMUv2_SEC_COMMAND_CONTROL_PREFETCH@PLT
	mov	esi, DWORD PTR VIVS_MMUv2_SEC_COMMAND_CONTROL[rip]
	or	eax, DWORD PTR VIVS_MMUv2_SEC_COMMAND_CONTROL_ENABLE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	gpu_write@PLT
	.cfi_endproc
.LFE0:
	.size	etnaviv_gpu_start_fe, .-etnaviv_gpu_start_fe
	.comm	VIVS_MMUv2_SEC_COMMAND_CONTROL_ENABLE,4,4
	.comm	VIVS_MMUv2_SEC_COMMAND_CONTROL,4,4
	.comm	VIVS_FE_COMMAND_CONTROL_ENABLE,4,4
	.comm	VIVS_FE_COMMAND_CONTROL,4,4
	.comm	VIVS_FE_COMMAND_ADDRESS,4,4
	.comm	ETNA_SEC_KERNEL,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_etnaviv_gpu.c_etnaviv_gpu_start_fe.c"
	.text
	.align	2
	.global	etnaviv_gpu_start_fe
	.syntax unified
	.arm
	.fpu softvfp
	.type	etnaviv_gpu_start_fe, %function
etnaviv_gpu_start_fe:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	ldr	r3, .L5
	mov	r2, r1
	ldr	r1, [r3]
	mov	r4, r0
	bl	gpu_write
	ldr	r3, .L5+4
	mov	r0, r5
	ldr	r6, [r3]
	bl	VIVS_FE_COMMAND_CONTROL_PREFETCH
	mov	r2, r0
	ldr	r3, .L5+8
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r4
	orr	r2, r2, r3
	bl	gpu_write
	ldr	r3, .L5+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	popne	{r4, r5, r6, pc}
	ldr	r3, .L5+16
	mov	r0, r5
	ldr	r5, [r3]
	bl	VIVS_MMUv2_SEC_COMMAND_CONTROL_PREFETCH
	mov	r2, r0
	ldr	r3, .L5+20
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	orr	r2, r2, r3
	b	gpu_write
.L6:
	.align	2
.L5:
	.word	VIVS_FE_COMMAND_ADDRESS
	.word	VIVS_FE_COMMAND_CONTROL
	.word	VIVS_FE_COMMAND_CONTROL_ENABLE
	.word	ETNA_SEC_KERNEL
	.word	VIVS_MMUv2_SEC_COMMAND_CONTROL
	.word	VIVS_MMUv2_SEC_COMMAND_CONTROL_ENABLE
	.size	etnaviv_gpu_start_fe, .-etnaviv_gpu_start_fe
	.comm	VIVS_MMUv2_SEC_COMMAND_CONTROL_ENABLE,4,4
	.comm	VIVS_MMUv2_SEC_COMMAND_CONTROL,4,4
	.comm	VIVS_FE_COMMAND_CONTROL_ENABLE,4,4
	.comm	VIVS_FE_COMMAND_CONTROL,4,4
	.comm	VIVS_FE_COMMAND_ADDRESS,4,4
	.comm	ETNA_SEC_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
