	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_module_cleanup
_vino_module_cleanup:                   ## @vino_module_cleanup
	.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
	movl	%edi, %esi
	cmpl	$11, %edi
	ja	LBB0_18
## %bb.1:
	movl	%esi, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_vino_drvdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	32(%rax), %rdi
	callq	_video_unregister_device
	movq	(%rbx), %rax
	movq	$0, 32(%rax)
LBB0_6:
	movq	24(%rax), %rdi
	callq	_video_unregister_device
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 24(%rax)
LBB0_7:
	movq	_vino_i2c_adapter@GOTPCREL(%rip), %rdi
	callq	_i2c_del_adapter
LBB0_8:
	movq	_SGI_VINO_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_free_irq
LBB0_9:
	movq	_vino_drvdata@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	32(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_video_device_release
	movq	(%rbx), %rax
	movq	$0, 32(%rax)
LBB0_11:
	movq	24(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_video_device_release
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	$0, 24(%rax)
LBB0_13:
	movq	16(%rax), %rax
	movl	(%rax), %esi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_dma_unmap_single
	movq	_VINO_DUMMY_DESC_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rdx
	movl	8(%rax), %ecx
	xorl	%edi, %edi
	callq	_dma_free_coherent
LBB0_14:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edi
	callq	_free_page
LBB0_15:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_v4l2_device_unregister
LBB0_16:
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_kfree
LBB0_17:
	movq	_vino@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_iounmap                        ## TAILCALL
LBB0_18:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dprintk                        ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_vino_drvdata,8,3               ## @vino_drvdata
	.comm	_vino_i2c_adapter,4,2           ## @vino_i2c_adapter
	.comm	_SGI_VINO_IRQ,4,2               ## @SGI_VINO_IRQ
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_VINO_DUMMY_DESC_COUNT,4,2      ## @VINO_DUMMY_DESC_COUNT
	.comm	_vino,4,2                       ## @vino
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vino_module_cleanup(): invalid cleanup stage = %d\n"

	.no_dead_strip	_vino_module_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_module_cleanup
_vino_module_cleanup:                   ; @vino_module_cleanup
	.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	x1, x0
	cmp	w0, #11
	b.hi	LBB0_19
; %bb.1:
	mov	w8, w1
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh2:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	b	LBB0_14
LBB0_4:
Lloh5:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh6:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	b	LBB0_12
LBB0_5:
Lloh8:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh9:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x19, _vino_drvdata@GOTPAGE
Lloh12:
	ldr	x19, [x19, _vino_drvdata@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8, #32]
	bl	_video_unregister_device
	ldr	x8, [x19]
	str	xzr, [x8, #32]
LBB0_7:
	ldr	x0, [x8, #24]
	bl	_video_unregister_device
Lloh13:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	xzr, [x8, #24]
LBB0_8:
Lloh16:
	adrp	x0, _vino_i2c_adapter@GOTPAGE
Lloh17:
	ldr	x0, [x0, _vino_i2c_adapter@GOTPAGEOFF]
	bl	_i2c_del_adapter
LBB0_9:
Lloh18:
	adrp	x8, _SGI_VINO_IRQ@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SGI_VINO_IRQ@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_free_irq
LBB0_10:
Lloh21:
	adrp	x19, _vino_drvdata@GOTPAGE
Lloh22:
	ldr	x19, [x19, _vino_drvdata@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8, #32]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_video_device_release
	ldr	x8, [x19]
	str	xzr, [x8, #32]
LBB0_12:
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_video_device_release
Lloh23:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh24:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	xzr, [x8, #24]
LBB0_14:
	ldr	x8, [x8, #16]
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, #0
	bl	_dma_unmap_single
Lloh32:
	adrp	x8, _VINO_DUMMY_DESC_COUNT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _VINO_DUMMY_DESC_COUNT@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	lsl	w1, w8, #2
Lloh35:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh36:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x2, [x8, #16]
	ldr	w3, [x8, #8]
	mov	x0, #0
	bl	_dma_free_coherent
LBB0_15:
Lloh38:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh39:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	w0, [x8, #4]
	bl	_free_page
LBB0_16:
Lloh41:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh42:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh43:
	ldr	x0, [x8]
	bl	_v4l2_device_unregister
LBB0_17:
Lloh44:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh45:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh46:
	ldr	x0, [x8]
	bl	_kfree
LBB0_18:
Lloh47:
	adrp	x8, _vino@GOTPAGE
Lloh48:
	ldr	x8, [x8, _vino@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_iounmap
LBB0_19:
Lloh50:
	adrp	x0, l_.str@PAGE
Lloh51:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dprintk
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_vino_drvdata,8,3               ; @vino_drvdata
	.comm	_vino_i2c_adapter,4,2           ; @vino_i2c_adapter
	.comm	_SGI_VINO_IRQ,4,2               ; @SGI_VINO_IRQ
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_VINO_DUMMY_DESC_COUNT,4,2      ; @VINO_DUMMY_DESC_COUNT
	.comm	_vino,4,2                       ; @vino
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vino_module_cleanup(): invalid cleanup stage = %d\n"

	.no_dead_strip	_vino_module_cleanup
.subsections_via_symbols
