	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvin_mc_init
_rvin_mc_init:                          ## @rvin_mc_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%rdi), %rdx
	movl	%eax, 24(%rdi)
	addq	$16, %rdi
	movl	$1, %esi
	callq	_media_entity_pads_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	callq	_rvin_group_get
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movq	%r15, %rdi
	callq	_rvin_mc_parse_of_graph
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_rvin_group_put
LBB0_4:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_v4l2_ctrl_handler_init
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movq	_V4L2_CID_ALPHA_COMPONENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$255, (%rsp)
	movq	_rvin_ctrl_ops@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movl	$255, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	(%r15), %ebx
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_9
LBB0_7:
	movq	%r15, 8(%r15)
LBB0_8:
	movl	%r14d, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_rvin_ctrl_ops,4,2              ## @rvin_ctrl_ops
	.comm	_V4L2_CID_ALPHA_COMPONENT,4,2   ## @V4L2_CID_ALPHA_COMPONENT
	.no_dead_strip	_rvin_mc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvin_mc_init
_rvin_mc_init:                          ; @rvin_mc_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x2, x0
	str	w8, [x2, #24]!
	sub	x0, x2, #8
	mov	w1, #1
	bl	_media_entity_pads_init
	mov	x20, x0
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_rvin_group_get
	mov	x20, x0
	cbz	w0, LBB0_3
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_rvin_mc_parse_of_graph
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_rvin_group_put
LBB0_5:
	mov	x0, x19
	mov	w1, #1
	bl	_v4l2_ctrl_handler_init
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.6:
Lloh3:
	adrp	x8, _V4L2_CID_ALPHA_COMPONENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_CID_ALPHA_COMPONENT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, _rvin_ctrl_ops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _rvin_ctrl_ops@GOTPAGEOFF]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #255
	mov	w5, #1
	mov	w6, #255
	bl	_v4l2_ctrl_new_std
	ldr	w21, [x19]
	cbz	w21, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_v4l2_ctrl_handler_free
	mov	x20, x21
	b	LBB0_2
LBB0_8:
	str	x19, [x19, #8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_rvin_ctrl_ops,4,2              ; @rvin_ctrl_ops
	.comm	_V4L2_CID_ALPHA_COMPONENT,4,2   ; @V4L2_CID_ALPHA_COMPONENT
	.no_dead_strip	_rvin_mc_init
.subsections_via_symbols
