	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coh901318_lli_free             ## -- Begin function coh901318_lli_free
	.p2align	4, 0x90
_coh901318_lli_free:                    ## @coh901318_lli_free
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movq	%rdi, %r15
	callq	_spin_lock
	cmpq	$0, 16(%rbx)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r12
	movl	4(%r15), %edi
	movl	(%rbx), %edx
	movq	%rbx, %rsi
	callq	_dma_pool_free
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_DEBUGFS_POOL_COUNTER_ADD
	cmpq	$0, 16(%r12)
	movq	%r12, %rbx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %r12
LBB0_5:
	movl	4(%r15), %edi
	movl	(%r12), %edx
	movq	%r12, %rsi
	callq	_dma_pool_free
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_DEBUGFS_POOL_COUNTER_ADD
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	$0, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coh901318_lli_free             ; -- Begin function coh901318_lli_free
	.p2align	2
_coh901318_lli_free:                    ; @coh901318_lli_free
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x1
	ldr	x22, [x1]
	cbz	x22, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_spin_lock
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x22, #8]
	ldr	w0, [x20, #4]
	ldr	w2, [x22]
	mov	x1, x22
	bl	_dma_pool_free
	mov	x0, x20
	mov	w1, #-1
	bl	_DEBUGFS_POOL_COUNTER_ADD
	ldr	x8, [x21, #16]
	mov	x22, x21
	cbnz	x8, LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x21, x22
LBB0_5:
	ldr	w0, [x20, #4]
	ldr	w2, [x21]
	mov	x1, x21
	bl	_dma_pool_free
	mov	x0, x20
	mov	w1, #-1
	bl	_DEBUGFS_POOL_COUNTER_ADD
	mov	x0, x20
	bl	_spin_unlock
	str	xzr, [x19]
LBB0_6:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
