	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_status_irqsafe    ## -- Begin function ieee80211_tx_status_irqsafe
	.p2align	4, 0x90
_ieee80211_tx_status_irqsafe:           ## @ieee80211_tx_status_irqsafe
	.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
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_hw_to_local
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_STATUS_MSG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r13)
	movq	_IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	leaq	12(%r15), %rbx
	movq	%r15, %r12
	addq	$8, %r12
	testl	%ecx, %ecx
	movq	%rbx, %rdi
	cmoveq	%r12, %rdi
	movq	%r13, %rsi
	callq	_skb_queue_tail
	movq	%rbx, %rdi
	callq	_skb_queue_len
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_skb_queue_len
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movq	_IEEE80211_IRQSAFE_QUEUE_LIMIT@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_free_txskb
	decl	%ebx
	movl	4(%r15), %edi
	callq	_I802_DEBUG_INC
	cmpl	(%r13), %ebx
	jg	LBB0_2
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tasklet_schedule               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_STATUS_MSG,4,2    ## @IEEE80211_TX_STATUS_MSG
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ## @IEEE80211_TX_CTL_REQ_TX_STATUS
	.comm	_IEEE80211_IRQSAFE_QUEUE_LIMIT,4,2 ## @IEEE80211_IRQSAFE_QUEUE_LIMIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_status_irqsafe    ; -- Begin function ieee80211_tx_status_irqsafe
	.p2align	2
_ieee80211_tx_status_irqsafe:           ; @ieee80211_tx_status_irqsafe
	.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, x1
	mov	x19, x0
	bl	_hw_to_local
	mov	x20, x0
	mov	x0, x22
	bl	_IEEE80211_SKB_CB
Lloh0:
	adrp	x8, _IEEE80211_TX_STATUS_MSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_TX_STATUS_MSG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x22]
Lloh3:
	adrp	x8, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh5:
	ldr	w8, [x8]
	add	x23, x20, #12
	add	x21, x20, #8
	tst	w8, w9
	csel	x0, x21, x23, eq
	mov	x1, x22
	bl	_skb_queue_tail
	mov	x0, x23
	bl	_skb_queue_len
	mov	x22, x0
	mov	x0, x21
	bl	_skb_queue_len
Lloh6:
	adrp	x23, _IEEE80211_IRQSAFE_QUEUE_LIMIT@GOTPAGE
Lloh7:
	ldr	x23, [x23, _IEEE80211_IRQSAFE_QUEUE_LIMIT@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w22, w0, w22
	cmp	w22, w8
	b.le	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_skb_dequeue
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x1, x0
	mov	x0, x19
	bl	_ieee80211_free_txskb
	sub	w22, w22, #1
	ldr	w0, [x20, #4]
	bl	_I802_DEBUG_INC
	ldr	w8, [x23]
	cmp	w22, w8
	b.gt	LBB0_1
LBB0_3:
	mov	x0, x20
	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
	b	_tasklet_schedule
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_STATUS_MSG,4,2    ; @IEEE80211_TX_STATUS_MSG
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ; @IEEE80211_TX_CTL_REQ_TX_STATUS
	.comm	_IEEE80211_IRQSAFE_QUEUE_LIMIT,4,2 ; @IEEE80211_IRQSAFE_QUEUE_LIMIT
.subsections_via_symbols
