	.file	"extr_adv748x-afe.c_adv748x_afe_set_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adv748x_afe_set_format, @function
adv748x_afe_set_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	mov	rdx, QWORD PTR [rdx]
	cmp	rdx, QWORD PTR ADV748X_AFE_SOURCE[rip]
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR V4L2_SUBDEV_FORMAT_ACTIVE[rip]
	cmp	QWORD PTR 8[r12], rax
	je	.L7
	call	v4l2_subdev_get_try_format@PLT
	mov	edx, DWORD PTR 16[r12]
	mov	DWORD PTR [rax], edx
	xor	eax, eax
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdx, r12
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	adv748x_afe_get_format@PLT
	.cfi_endproc
.LFE0:
	.size	adv748x_afe_set_format, .-adv748x_afe_set_format
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,8,8
	.comm	EINVAL,4,4
	.comm	ADV748X_AFE_SOURCE,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_adv748x-afe.c_adv748x_afe_set_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adv748x_afe_set_format, %function
adv748x_afe_set_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L10
	ldr	r3, [r2]
	ldr	ip, [ip]
	cmp	r3, ip
	beq	.L2
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	bx	lr
.L2:
	ldr	ip, .L10+8
	push	{r4, lr}
	ldr	ip, [ip]
	ldr	lr, [r2, #4]
	mov	r4, r2
	cmp	lr, ip
	beq	.L9
	mov	r2, r3
	bl	v4l2_subdev_get_try_format
	mov	r3, r0
	ldr	r2, [r4, #8]
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L9:
	pop	{r4, lr}
	b	adv748x_afe_get_format
.L11:
	.align	2
.L10:
	.word	ADV748X_AFE_SOURCE
	.word	EINVAL
	.word	V4L2_SUBDEV_FORMAT_ACTIVE
	.size	adv748x_afe_set_format, .-adv748x_afe_set_format
	.comm	V4L2_SUBDEV_FORMAT_ACTIVE,4,4
	.comm	EINVAL,4,4
	.comm	ADV748X_AFE_SOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
