	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_wake_sw_queue
_iwl_wake_sw_queue:                     ## @iwl_wake_sw_queue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	callq	_IWL_OP_MODE_GET_DVM
	movq	%rax, %rbx
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movslq	(%rax,%rcx,4), %r14
	movq	_IWL_INVALID_MAC80211_QUEUE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	(,%r14,4), %rdi
	addq	24(%rbx), %rdi
	callq	_atomic_dec_return
	testq	%rax, %rax
	jle	LBB0_2
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_DEBUG_TX_QUEUES            ## TAILCALL
LBB0_2:
	movq	%rbx, %rsi
	addq	$16, %rsi
	movl	%r14d, %edi
	callq	_clear_bit
	cmpl	$0, 12(%rbx)
	jne	LBB0_3
## %bb.5:
	movl	8(%rbx), %edi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_wake_queue           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_INVALID_MAC80211_QUEUE,4,2 ## @IWL_INVALID_MAC80211_QUEUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d (mac80211 %d) already awake\n"

	.no_dead_strip	_iwl_wake_sw_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_wake_sw_queue
_iwl_wake_sw_queue:                     ; @iwl_wake_sw_queue
	.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	x21, x1
	bl	_IWL_OP_MODE_GET_DVM
	mov	x20, x0
	ldr	x8, [x0]
	ldrsw	x19, [x8, w21, sxtw #2]
Lloh0:
	adrp	x8, _IWL_INVALID_MAC80211_QUEUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_INVALID_MAC80211_QUEUE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, w8
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_2
LBB0_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:
	ldr	x8, [x20, #24]
	add	x0, x8, x19, lsl #2
	bl	_atomic_dec_return
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x3, 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	_IWL_DEBUG_TX_QUEUES
LBB0_4:
	add	x1, x20, #16
	mov	x0, x19
	bl	_clear_bit
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_1
; %bb.5:
	ldr	w0, [x20, #8]
	mov	x1, 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	_ieee80211_wake_queue
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_INVALID_MAC80211_QUEUE,4,2 ; @IWL_INVALID_MAC80211_QUEUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d (mac80211 %d) already awake\n"

	.no_dead_strip	_iwl_wake_sw_queue
.subsections_via_symbols
