	.file	"extr_ipu-cpmem.c_ipu_cpmem_set_uv_offset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ipu_cpmem_set_uv_offset
	.type	ipu_cpmem_set_uv_offset, @function
ipu_cpmem_set_uv_offset:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, esi
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	or	eax, edx
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	al, 7
	mov	ebx, edx
	setne	dil
	call	WARN_ON_ONCE@PLT
	test	ebp, ebp
	lea	edx, 7[rbp]
	mov	esi, DWORD PTR IPU_FIELD_UBO[rip]
	cmovns	edx, ebp
	mov	rdi, r12
	sar	edx, 3
	call	ipu_ch_param_write_field@PLT
	test	ebx, ebx
	lea	edx, 7[rbx]
	mov	esi, DWORD PTR IPU_FIELD_VBO[rip]
	cmovns	edx, ebx
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	sar	edx, 3
	jmp	ipu_ch_param_write_field@PLT
	.cfi_endproc
.LFE0:
	.size	ipu_cpmem_set_uv_offset, .-ipu_cpmem_set_uv_offset
	.comm	IPU_FIELD_VBO,4,4
	.comm	IPU_FIELD_UBO,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_ipu-cpmem.c_ipu_cpmem_set_uv_offset.c"
	.text
	.align	2
	.global	ipu_cpmem_set_uv_offset
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipu_cpmem_set_uv_offset, %function
ipu_cpmem_set_uv_offset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	orr	r0, r1, r2
	ands	r0, r0, #7
	movne	r0, #1
	mov	r4, r2
	bl	WARN_ON_ONCE
	cmp	r5, #0
	add	r2, r5, #7
	movlt	r5, r2
	ldr	r3, .L4
	asr	r2, r5, #3
	ldr	r1, [r3]
	mov	r0, r6
	bl	ipu_ch_param_write_field
	cmp	r4, #0
	add	r2, r4, #7
	movge	r2, r4
	ldr	r3, .L4+4
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	ldr	r1, [r3]
	asr	r2, r2, #3
	b	ipu_ch_param_write_field
.L5:
	.align	2
.L4:
	.word	IPU_FIELD_UBO
	.word	IPU_FIELD_VBO
	.size	ipu_cpmem_set_uv_offset, .-ipu_cpmem_set_uv_offset
	.comm	IPU_FIELD_VBO,4,4
	.comm	IPU_FIELD_UBO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
