	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dvb_usb_exit
_dvb_usb_exit:                          ## @dvb_usb_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %esi
	leaq	L_.str(%rip), %rdi
	callq	_deb_info
	movq	%rbx, %rdi
	callq	_dvb_usb_remote_exit
	movq	%rbx, %rdi
	callq	_dvb_usb_adapter_exit
	movq	%rbx, %rdi
	callq	_dvb_usb_i2c_exit
	movl	16(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_deb_info
	movq	_DVB_USB_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	*%rax
	movq	(%rbx), %rdi
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
LBB0_4:
	callq	_kfree
	movq	%rbx, %rdi
	callq	_kfree
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"state before exiting everything: %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"state should be zero now: %x\n"

	.comm	_DVB_USB_STATE_INIT,4,2         ## @DVB_USB_STATE_INIT
	.no_dead_strip	_dvb_usb_exit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dvb_usb_exit
_dvb_usb_exit:                          ; @dvb_usb_exit
	.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
	mov	x19, x0
	ldr	w1, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_info
	mov	x0, x19
	bl	_dvb_usb_remote_exit
	mov	x0, x19
	bl	_dvb_usb_adapter_exit
	mov	x0, x19
	bl	_dvb_usb_i2c_exit
	ldr	w1, [x19, #16]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_deb_info
Lloh4:
	adrp	x8, _DVB_USB_STATE_INIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DVB_USB_STATE_INIT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	blr	x8
	ldr	x0, [x19]
LBB0_3:
	bl	_kfree
	mov	x0, x19
	bl	_kfree
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"state before exiting everything: %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"state should be zero now: %x\n"

	.comm	_DVB_USB_STATE_INIT,4,2         ; @DVB_USB_STATE_INIT
	.no_dead_strip	_dvb_usb_exit
.subsections_via_symbols
