	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_bt8xx_stop_feed
_dvb_bt8xx_stop_feed:                   ## @dvb_bt8xx_stop_feed
	.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	8(%rbx), %r15
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	decq	(%r15)
	jne	LBB0_4
## %bb.3:
	movl	12(%r15), %edi
	callq	_bt878_stop
LBB0_4:
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dvb_bt8xx: stop_feed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dvb_bt8xx_stop_feed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_bt8xx_stop_feed
_dvb_bt8xx_stop_feed:                   ; @dvb_bt8xx_stop_feed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x20, [x19, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
	add	x19, x20, #8
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20, #12]
	bl	_bt878_stop
LBB0_3:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dvb_bt8xx: stop_feed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dvb_bt8xx_stop_feed
.subsections_via_symbols
