	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function free_solo_dev
_free_solo_dev:                         ## @free_solo_dev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	cmpq	$0, 16(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	16(%rbx), %rdi
	callq	_device_unregister
LBB0_2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_solo_g723_exit
	movq	%rbx, %rdi
	callq	_solo_enc_v4l2_exit
	movq	%rbx, %rdi
	callq	_solo_enc_exit
	movq	%rbx, %rdi
	callq	_solo_v4l2_exit
	movq	%rbx, %rdi
	callq	_solo_disp_exit
	movq	%rbx, %rdi
	callq	_solo_gpio_exit
	movq	%rbx, %rdi
	callq	_solo_p2m_exit
	movq	%rbx, %rdi
	callq	_solo_i2c_exit
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_solo_irq_off
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	8(%rbx), %rsi
	movq	%r14, %rdi
	callq	_pci_iounmap
LBB0_4:
	movq	%r14, %rdi
	callq	_pci_release_regions
	movq	%r14, %rdi
	callq	_pci_disable_device
	movq	%rbx, %rdi
	callq	_v4l2_device_unregister
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pci_set_drvdata
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_free_solo_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function free_solo_dev
_free_solo_dev:                         ; @free_solo_dev
	.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
	ldp	x8, x20, [x0, #16]!
	cbz	x8, LBB0_2
; %bb.1:
	bl	_device_unregister
LBB0_2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_solo_g723_exit
	mov	x0, x19
	bl	_solo_enc_v4l2_exit
	mov	x0, x19
	bl	_solo_enc_exit
	mov	x0, x19
	bl	_solo_v4l2_exit
	mov	x0, x19
	bl	_solo_disp_exit
	mov	x0, x19
	bl	_solo_gpio_exit
	mov	x0, x19
	bl	_solo_p2m_exit
	mov	x0, x19
	bl	_solo_i2c_exit
	mov	x0, x19
	mov	w1, #-1
	bl	_solo_irq_off
	ldr	w0, [x20]
	mov	x1, x19
	bl	_free_irq
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_pci_iounmap
LBB0_4:
	mov	x0, x20
	bl	_pci_release_regions
	mov	x0, x20
	bl	_pci_disable_device
	mov	x0, x19
	bl	_v4l2_device_unregister
	mov	x0, x20
	mov	x1, #0
	bl	_pci_set_drvdata
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_free_solo_dev
.subsections_via_symbols
