	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_ccdc_cleanup          ## -- Begin function omap3isp_ccdc_cleanup
	.p2align	4, 0x90
_omap3isp_ccdc_cleanup:                 ## @omap3isp_ccdc_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	addq	$48, %rdi
	callq	_omap3isp_video_cleanup
	leaq	44(%rbx), %rdi
	callq	_media_entity_cleanup
	leaq	32(%rbx), %r15
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_ccdc_lsc_free_request
	leaq	36(%rbx), %rdi
	callq	_cancel_work_sync
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ccdc_lsc_free_queue
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	16(%rbx), %esi
	shll	$2, %esi
	movl	20(%rbx), %ecx
	callq	_dma_free_coherent
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_destroy                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_ccdc_cleanup          ; -- Begin function omap3isp_ccdc_cleanup
	.p2align	2
_omap3isp_ccdc_cleanup:                 ; @omap3isp_ccdc_cleanup
	.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
	add	x19, x0, #8
	add	x0, x0, #48
	bl	_omap3isp_video_cleanup
	add	x0, x20, #44
	bl	_media_entity_cleanup
	add	x21, x20, #32
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_ccdc_lsc_free_request
	add	x0, x20, #36
	bl	_cancel_work_sync
	mov	x0, x19
	mov	x1, x21
	bl	_ccdc_lsc_free_queue
	ldr	x2, [x20, #24]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	ldp	w8, w3, [x20, #16]
	lsl	w1, w8, #2
	bl	_dma_free_coherent
LBB0_2:
	mov	x0, x19
	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
	b	_mutex_destroy
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
