	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function destroy_qp
_destroy_qp:                            ## @destroy_qp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$24, %rsi
	callq	_dealloc_sq
	movl	28(%rbx), %edi
	callq	_kfree
	movl	24(%rbx), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_c4iw_put_qpid
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	(%r15), %r12
	movl	16(%rbx), %r13d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	20(%rbx), %r14d
	movq	_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dma_unmap_addr
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_dma_free_coherent
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	callq	_c4iw_rqtpool_free
	movl	4(%rbx), %edi
	callq	_kfree
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_c4iw_put_qpid
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mapping,4,2                    ## @mapping
	.no_dead_strip	_destroy_qp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function destroy_qp
_destroy_qp:                            ; @destroy_qp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x1, x1, #24
	bl	_dealloc_sq
	ldr	w0, [x21, #28]
	bl	_kfree
	ldr	w1, [x21, #24]
	mov	x0, x20
	mov	x2, x19
	bl	_c4iw_put_qpid
	cbz	w22, LBB0_2
; %bb.1:
	ldr	x22, [x20]
	ldp	w24, w23, [x21, #16]
Lloh0:
	adrp	x8, _mapping@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mapping@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_dma_unmap_addr
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_dma_free_coherent
	ldp	w2, w1, [x21, #8]
	mov	x0, x20
	bl	_c4iw_rqtpool_free
	ldr	w0, [x21, #4]
	bl	_kfree
	ldr	w1, [x21]
	mov	x0, x20
	mov	x2, x19
	bl	_c4iw_put_qpid
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mapping,4,2                    ; @mapping
	.no_dead_strip	_destroy_qp
.subsections_via_symbols
