	.file	"extr_adv748x-hdmi.c_adv748x_hdmi_get_format.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	adv748x_hdmi_get_format, @function
adv748x_hdmi_get_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	adv748x_sd_to_hdmi@PLT
	mov	rdx, QWORD PTR [rbx]
	cmp	rdx, QWORD PTR ADV748X_HDMI_SOURCE[rip]
	je	.L2
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12, rax
	mov	rax, QWORD PTR V4L2_SUBDEV_FORMAT_TRY[rip]
	cmp	QWORD PTR 8[rbx], rax
	je	.L7
	lea	rsi, 16[rbx]
	mov	rdi, r12
	call	adv748x_hdmi_fill_format@PLT
	mov	rdi, r12
	call	adv748x_hdmi_propagate_pixelrate@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, rbp
	call	v4l2_subdev_get_try_format@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 16[rbx], eax
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	adv748x_hdmi_get_format, .-adv748x_hdmi_get_format
	.comm	V4L2_SUBDEV_FORMAT_TRY,8,8
	.comm	EINVAL,4,4
	.comm	ADV748X_HDMI_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-hdmi.c_adv748x_hdmi_get_format.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adv748x_hdmi_get_format, %function
adv748x_hdmi_get_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	mov	r6, r1
	mov	r7, r0
	bl	adv748x_sd_to_hdmi
	ldr	r3, .L8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L2
	ldr	r3, .L8+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L8+8
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L7
	mov	r5, r0
	add	r1, r4, #8
	bl	adv748x_hdmi_fill_format
	mov	r0, r5
	bl	adv748x_hdmi_propagate_pixelrate
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r1, r6
	mov	r0, r7
	bl	v4l2_subdev_get_try_format
	ldr	r3, [r0]
	mov	r0, #0
	str	r3, [r4, #8]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	ADV748X_HDMI_SOURCE
	.word	EINVAL
	.word	V4L2_SUBDEV_FORMAT_TRY
	.size	adv748x_hdmi_get_format, .-adv748x_hdmi_get_format
	.comm	V4L2_SUBDEV_FORMAT_TRY,4,4
	.comm	EINVAL,4,4
	.comm	ADV748X_HDMI_SOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
