	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dmae_info_free             ## -- Begin function qed_dmae_info_free
	.p2align	4, 0x90
_qed_dmae_info_free:                    ## @qed_dmae_info_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mutex_lock
	movq	40(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	48(%rbx), %ecx
	movq	56(%rbx), %rax
	movq	(%rax), %rdi
	movl	$4, %esi
	callq	_dma_free_coherent
	movq	$0, 40(%rbx)
LBB0_2:
	movq	24(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	movl	32(%rbx), %ecx
	movq	56(%rbx), %rax
	movq	(%rax), %rdi
	movl	$4, %esi
	callq	_dma_free_coherent
	movq	$0, 24(%rbx)
LBB0_4:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movl	16(%rbx), %ecx
	movq	56(%rbx), %rax
	movq	(%rax), %rdi
	movq	_DMAE_MAX_RW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	callq	_dma_free_coherent
	movq	$0, 8(%rbx)
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAE_MAX_RW_SIZE,4,2           ## @DMAE_MAX_RW_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dmae_info_free             ; -- Begin function qed_dmae_info_free
	.p2align	2
_qed_dmae_info_free:                    ; @qed_dmae_info_free
	.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
	bl	_mutex_lock
	ldr	x2, [x19, #40]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	w3, [x19, #48]
	ldr	x8, [x19, #56]
	ldr	x0, [x8]
	mov	w1, #4
	bl	_dma_free_coherent
	str	xzr, [x19, #40]
LBB0_2:
	ldr	x2, [x19, #24]
	cbz	x2, LBB0_4
; %bb.3:
	ldr	w3, [x19, #32]
	ldr	x8, [x19, #56]
	ldr	x0, [x8]
	mov	w1, #4
	bl	_dma_free_coherent
	str	xzr, [x19, #24]
LBB0_4:
	ldr	x2, [x19, #8]
	cbz	x2, LBB0_6
; %bb.5:
	ldr	w3, [x19, #16]
	ldr	x8, [x19, #56]
	ldr	x0, [x8]
Lloh0:
	adrp	x8, _DMAE_MAX_RW_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAE_MAX_RW_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w1, w8, #2
	bl	_dma_free_coherent
	str	xzr, [x19, #8]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAE_MAX_RW_SIZE,4,2           ; @DMAE_MAX_RW_SIZE
.subsections_via_symbols
