	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_pending           ## -- Begin function ieee80211_tx_pending
	.p2align	4, 0x90
_ieee80211_tx_pending:                  ## @ieee80211_tx_pending
	.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	%rdi, %r15
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 16(%r15)
	jle	LBB0_11
## %bb.1:
	leaq	16(%r15), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	(%r14), %rax
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	24(%r15), %rax
	cmpq	$0, (%rax,%r13,8)
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%r13,4), %r12
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_free_txskb
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	___skb_dequeue
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IEEE80211_SKB_CB
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ieee80211_tx_pending_skb
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	testl	%ebx, %ebx
	jne	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_skb_queue_empty
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ieee80211_propagate_queue_wake
	jmp	LBB0_10
LBB0_11:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rcu_read_unlock                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_tx_pending           ; -- Begin function ieee80211_tx_pending
	.p2align	2
_ieee80211_tx_pending:                  ; @ieee80211_tx_pending
	.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	x19, x0
	bl	_rcu_read_lock
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x20, x19
	ldr	w8, [x20, #16]!
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	cbnz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #2
	bl	_skb_queue_empty
	cbnz	x0, LBB0_2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x20
	mov	x1, x22
	bl	_ieee80211_free_txskb
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #2
	bl	_skb_queue_empty
	cbnz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #2
	bl	___skb_dequeue
	mov	x22, x0
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x22
	bl	_ieee80211_tx_pending_skb
	mov	x22, x0
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbnz	w22, LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #2
	bl	_skb_queue_empty
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ieee80211_propagate_queue_wake
	b	LBB0_2
LBB0_11:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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	_rcu_read_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
