	.file	"extr_rcar-core.c_rvin_mc_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rvin_mc_init, @function
rvin_mc_init:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR MEDIA_PAD_FL_SINK[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rdx, 24[rdi]
	mov	esi, 1
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	add	rdi, 16
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	DWORD PTR 8[rdi], eax
	call	media_entity_pads_init@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	call	rvin_group_get@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rdi, rbp
	call	rvin_mc_parse_of_graph@PLT
	test	eax, eax
	jne	.L11
.L3:
	mov	esi, 1
	mov	rdi, rbp
	call	v4l2_ctrl_handler_init@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edx, DWORD PTR V4L2_CID_ALPHA_COMPONENT[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	push	255
	.cfi_def_cfa_offset 48
	mov	r9d, 1
	mov	r8d, 255
	lea	rsi, rvin_ctrl_ops[rip]
	call	v4l2_ctrl_new_std@PLT
	mov	ebx, DWORD PTR 0[rbp]
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	test	ebx, ebx
	jne	.L12
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	QWORD PTR 8[rbp], rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	rvin_group_put@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rdi, rbp
	mov	r12d, ebx
	call	v4l2_ctrl_handler_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	rvin_mc_init, .-rvin_mc_init
	.comm	rvin_ctrl_ops,4,4
	.comm	V4L2_CID_ALPHA_COMPONENT,4,4
	.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_rcar-core.c_rvin_mc_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rvin_mc_init, %function
rvin_mc_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, r0
	push	{r4, r5, r6, lr}
	ldr	r3, .L12
	mov	r5, r0
	ldr	r3, [r3]
	mov	r1, #1
	sub	sp, sp, #16
	add	r0, r0, #8
	str	r3, [r2, #12]!
	bl	media_entity_pads_init
	subs	r4, r0, #0
	beq	.L10
.L1:
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r5
	bl	rvin_group_get
	subs	r4, r0, #0
	bne	.L1
	mov	r0, r5
	bl	rvin_mc_parse_of_graph
	cmp	r0, #0
	bne	.L11
.L3:
	mov	r1, #1
	mov	r0, r5
	bl	v4l2_ctrl_handler_init
	subs	r4, r0, #0
	blt	.L1
	mov	r3, #255
	mov	r1, #1
	ldr	r2, .L12+4
	str	r3, [sp, #8]
	str	r3, [sp]
	str	r1, [sp, #4]
	mov	r3, #0
	mov	r0, r5
	ldr	r2, [r2]
	ldr	r1, .L12+8
	bl	v4l2_ctrl_new_std
	ldr	r6, [r5]
	cmp	r6, #0
	streq	r5, [r5, #4]
	beq	.L1
	mov	r0, r5
	bl	v4l2_ctrl_handler_free
	mov	r4, r6
	b	.L1
.L11:
	mov	r0, r5
	bl	rvin_group_put
	b	.L3
.L13:
	.align	2
.L12:
	.word	MEDIA_PAD_FL_SINK
	.word	V4L2_CID_ALPHA_COMPONENT
	.word	rvin_ctrl_ops
	.size	rvin_mc_init, .-rvin_mc_init
	.comm	rvin_ctrl_ops,4,4
	.comm	V4L2_CID_ALPHA_COMPONENT,4,4
	.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
