	.file	"extr_vcn_v1_0.c_vcn_v1_0_enc_ring_emit_fence.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vcn_v1_0_enc_ring_emit_fence, @function
vcn_v1_0_enc_ring_emit_fence:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	and	ecx, DWORD PTR AMDGPU_FENCE_FLAG_64BIT[rip]
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, ecx
	call	WARN_ON@PLT
	mov	esi, DWORD PTR VCN_ENC_CMD_FENCE[rip]
	mov	rdi, rbp
	call	amdgpu_ring_write@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	amdgpu_ring_write@PLT
	mov	edi, r12d
	call	upper_32_bits@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	amdgpu_ring_write@PLT
	mov	esi, r13d
	mov	rdi, rbp
	call	amdgpu_ring_write@PLT
	mov	esi, DWORD PTR VCN_ENC_CMD_TRAP[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	amdgpu_ring_write@PLT
	.cfi_endproc
.LFE0:
	.size	vcn_v1_0_enc_ring_emit_fence, .-vcn_v1_0_enc_ring_emit_fence
	.comm	VCN_ENC_CMD_TRAP,4,4
	.comm	VCN_ENC_CMD_FENCE,4,4
	.comm	AMDGPU_FENCE_FLAG_64BIT,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_vcn_v1_0.c_vcn_v1_0_enc_ring_emit_fence.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vcn_v1_0_enc_ring_emit_fence, %function
vcn_v1_0_enc_ring_emit_fence:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r0, .L4
	mov	r6, r2
	ldr	r0, [r0]
	and	r0, r0, r3
	bl	WARN_ON
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	amdgpu_ring_write
	mov	r1, r5
	mov	r0, r4
	bl	amdgpu_ring_write
	mov	r0, r5
	bl	upper_32_bits
	mov	r1, r0
	mov	r0, r4
	bl	amdgpu_ring_write
	mov	r1, r6
	mov	r0, r4
	bl	amdgpu_ring_write
	ldr	r3, .L4+8
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	b	amdgpu_ring_write
.L5:
	.align	2
.L4:
	.word	AMDGPU_FENCE_FLAG_64BIT
	.word	VCN_ENC_CMD_FENCE
	.word	VCN_ENC_CMD_TRAP
	.size	vcn_v1_0_enc_ring_emit_fence, .-vcn_v1_0_enc_ring_emit_fence
	.comm	VCN_ENC_CMD_TRAP,4,4
	.comm	VCN_ENC_CMD_FENCE,4,4
	.comm	AMDGPU_FENCE_FLAG_64BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
