	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_wake_queues
_p54_wake_queues:                       ## @p54_wake_queues
	.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	%rdi, %r15
	movq	(%rdi), %rax
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	callq	_p54_tx_pending
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	16(%r15), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_P54_QUEUE_DATA@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	(%rdi), %ebx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	(%r12), %ecx
	addl	%ebx, %ecx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rdx
	cmpq	8(%rax,%rcx), %rdx
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %esi
	callq	_ieee80211_wake_queue
	movq	16(%r15), %rdi
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_QUEUE_DATA,4,2             ## @P54_QUEUE_DATA
	.no_dead_strip	_p54_wake_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_wake_queues
_p54_wake_queues:                       ; @p54_wake_queues
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	mov	x0, x19
	bl	_p54_tx_pending
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	x0, [x19, #16]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.3:
	mov	w21, #0
Lloh3:
	adrp	x22, _P54_QUEUE_DATA@GOTPAGE
Lloh4:
	ldr	x22, [x22, _P54_QUEUE_DATA@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	ldr	w8, [x0]
	cmp	w21, w8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	w9, [x22]
	add	w9, w21, w9
	add	x8, x8, w9, uxtw #4
	ldp	x9, x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x21
	bl	_ieee80211_wake_queue
	ldr	x0, [x19, #16]
	b	LBB0_4
LBB0_7:
	mov	x0, x20
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,8,3 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_P54_QUEUE_DATA,4,2             ; @P54_QUEUE_DATA
	.no_dead_strip	_p54_wake_queues
.subsections_via_symbols
