	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fops_release
_fops_release:                          ## @fops_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	8(%r14), %r15
	callq	_DEB_EE
	movq	_saa7146_devices_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_2:
	movq	(%r14), %rax
	movq	_V4L2_BUF_TYPE_VBI_CAPTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	8(%r15), %rax
	movq	_V4L2_CAP_VBI_CAPTURE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_saa7146_vbi_uops@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	8(%r15), %rax
LBB0_5:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	*%rax
	jmp	LBB0_8
LBB0_7:
	movq	_saa7146_video_uops@GOTPCREL(%rip), %rax
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
LBB0_8:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_module_put
	movq	$0, (%rbx)
	movq	%r14, %rdi
	callq	_kfree
	movq	_saa7146_devices_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_saa7146_devices_lock,4,2       ## @saa7146_devices_lock
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,8,3  ## @V4L2_BUF_TYPE_VBI_CAPTURE
	.comm	_V4L2_CAP_VBI_CAPTURE,4,2       ## @V4L2_CAP_VBI_CAPTURE
	.comm	_saa7146_vbi_uops,8,3           ## @saa7146_vbi_uops
	.comm	_saa7146_video_uops,8,3         ## @saa7146_video_uops
	.no_dead_strip	_fops_release
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fops_release
_fops_release:                          ; @fops_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	x20, x0
	ldr	x19, [x0]
	ldr	x21, [x19, #8]
	bl	_DEB_EE
Lloh0:
	adrp	x0, _saa7146_devices_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _saa7146_devices_lock@GOTPAGEOFF]
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_2:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	w9, [x8]
Lloh8:
	adrp	x10, _V4L2_CAP_VBI_CAPTURE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _V4L2_CAP_VBI_CAPTURE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_5
; %bb.4:
Lloh11:
	adrp	x8, _saa7146_vbi_uops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _saa7146_vbi_uops@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	ldr	x8, [x21, #8]
LBB0_5:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x0, x20
	blr	x8
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _saa7146_video_uops@GOTPAGE
Lloh15:
	ldr	x8, [x8, _saa7146_video_uops@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
LBB0_8:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_module_put
	str	xzr, [x20]
	mov	x0, x19
	bl	_kfree
Lloh17:
	adrp	x0, _saa7146_devices_lock@GOTPAGE
Lloh18:
	ldr	x0, [x0, _saa7146_devices_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_saa7146_devices_lock,4,2       ; @saa7146_devices_lock
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,8,3  ; @V4L2_BUF_TYPE_VBI_CAPTURE
	.comm	_V4L2_CAP_VBI_CAPTURE,4,2       ; @V4L2_CAP_VBI_CAPTURE
	.comm	_saa7146_vbi_uops,8,3           ; @saa7146_vbi_uops
	.comm	_saa7146_video_uops,8,3         ; @saa7146_video_uops
	.no_dead_strip	_fops_release
.subsections_via_symbols
