	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvin_release
_rvin_release:                          ## @rvin_release
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_video_drvdata
	movq	%rax, %r13
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_v4l2_fh_is_singular_file
	movl	%eax, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__vb2_fop_release
	movl	%eax, %r15d
	movq	16(%r13), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_v4l2_pipeline_pm_use
	jmp	LBB0_4
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_rvin_power_parallel
LBB0_4:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	(%r13), %edi
	callq	_pm_runtime_put
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rvin_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvin_release
_rvin_release:                          ; @rvin_release
	.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	x21, x0
	bl	_video_drvdata
	mov	x19, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x21
	bl	_v4l2_fh_is_singular_file
	mov	x22, x0
	mov	x0, x21
	mov	x1, #0
	bl	__vb2_fop_release
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #8
	mov	w1, #0
	bl	_v4l2_pipeline_pm_use
	b	LBB0_4
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_rvin_power_parallel
LBB0_4:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w0, [x19]
	bl	_pm_runtime_put
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rvin_release
.subsections_via_symbols
