	.file	"extr_stm32-dcmi.c_dcmi_find_source.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dcmi_find_source, @function
dcmi_find_source:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	r12, QWORD PTR [rdi]
	mov	rdi, QWORD PTR [r12]
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR MEDIA_PAD_FL_SINK[rip], eax
	jne	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, QWORD PTR 8[rax]
	call	is_media_entity_v4l2_subdev@PLT
	test	eax, eax
	je	.L1
	mov	r12, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR [r12]
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR MEDIA_PAD_FL_SINK[rip], eax
	je	.L1
.L3:
	call	media_entity_remote_pad@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L16
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	dcmi_find_source, .-dcmi_find_source
	.comm	MEDIA_PAD_FL_SINK,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_stm32-dcmi.c_dcmi_find_source.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dcmi_find_source, %function
dcmi_find_source:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	ldr	r6, .L17
	ldr	r0, [r5]
	ldr	r3, [r6]
	ldr	r2, [r0]
	tst	r2, r3
	bne	.L3
	b	.L1
.L16:
	ldr	r0, [r4, #4]
	bl	is_media_entity_v4l2_subdev
	cmp	r0, #0
	beq	.L1
	ldr	r5, [r4, #4]
	ldr	r3, [r6]
	ldr	r0, [r5]
	ldr	r2, [r0]
	tst	r2, r3
	beq	.L1
.L3:
	bl	media_entity_remote_pad
	subs	r4, r0, #0
	bne	.L16
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	MEDIA_PAD_FL_SINK
	.size	dcmi_find_source, .-dcmi_find_source
	.comm	MEDIA_PAD_FL_SINK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
