	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_tx_qos_accounting_free
_p54_tx_qos_accounting_free:            ## @p54_tx_qos_accounting_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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_IS_DATA_FRAME
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	leaq	12(%r14), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r14), %r12
	movq	%r15, %rdi
	callq	_GET_HW_QUEUE
	decl	(%r12,%rax,4)
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_GET_HW_QUEUE
	movq	_P54_QUEUE_BEACON@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	(%r14), %rbx
	movq	%r15, %rdi
	callq	_GET_REQ_ID
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.3:
	movq	$0, (%r14)
LBB0_4:
	leaq	8(%r14), %rdi
	callq	_complete
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p54_wake_queues                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_P54_QUEUE_BEACON,8,3           ## @P54_QUEUE_BEACON
	.no_dead_strip	_p54_tx_qos_accounting_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_tx_qos_accounting_free
_p54_tx_qos_accounting_free:            ; @p54_tx_qos_accounting_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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_IS_DATA_FRAME
	cbz	x0, LBB0_5
; %bb.1:
	add	x21, x19, #12
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x22, [x19, #16]
	mov	x0, x20
	bl	_GET_HW_QUEUE
	lsl	x8, x0, #2
	ldr	w9, [x22, x8]
	sub	w9, w9, #1
	str	w9, [x22, x8]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	bl	_GET_HW_QUEUE
Lloh0:
	adrp	x8, _P54_QUEUE_BEACON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P54_QUEUE_BEACON@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x21, [x19]
	mov	x0, x20
	bl	_GET_REQ_ID
	cmp	x21, x0
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x19]
LBB0_4:
	add	x0, x19, #8
	bl	_complete
LBB0_5:
	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	_p54_wake_queues
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_P54_QUEUE_BEACON,8,3           ; @P54_QUEUE_BEACON
	.no_dead_strip	_p54_tx_qos_accounting_free
.subsections_via_symbols
