	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_invalidate_sta_queue
_iwl_mvm_invalidate_sta_queue:          ## @iwl_mvm_invalidate_sta_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	callq	_iwl_mvm_has_new_tx_api
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_2:
	movq	8(%r13), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %r12
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movq	(%r13), %rax
	movl	(%rax,%r12,4), %edi
	callq	_rcu_dereference
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_4:
	movq	%r12, %rdi
	callq	_iwl_mvm_sta_from_mac80211
	movq	%rax, %r12
	orq	%r15, (%rax)
	movl	16(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, -64(%rbp)
	movl	12(%r12), %eax
	movl	%eax, -72(%rbp)
	movq	_STA_MODE_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_STA_MODIFY_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	_STA_MODIFY_TID_DISABLE_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -80(%rbp)
LBB0_6:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.7:
	movq	_STA_MODIFY_QUEUE_REMOVAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -80(%rbp)
LBB0_8:
	movl	8(%r12), %edi
	callq	_cpu_to_le32
	movq	%rax, -88(%rbp)
	movq	(%r12), %rdi
	callq	_cpu_to_le16
	movl	%eax, -96(%rbp)
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_ADD_STA_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_ADD_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_iwl_mvm_add_sta_cmd_size
	leaq	-96(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_iwl_mvm_send_cmd_pdu_status
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_STA_MODE_MODIFY,4,2            ## @STA_MODE_MODIFY
	.comm	_STA_MODIFY_QUEUES,4,2          ## @STA_MODIFY_QUEUES
	.comm	_STA_MODIFY_TID_DISABLE_TX,4,2  ## @STA_MODIFY_TID_DISABLE_TX
	.comm	_STA_MODIFY_QUEUE_REMOVAL,4,2   ## @STA_MODIFY_QUEUE_REMOVAL
	.comm	_ADD_STA_SUCCESS,4,2            ## @ADD_STA_SUCCESS
	.comm	_ADD_STA,4,2                    ## @ADD_STA
	.no_dead_strip	_iwl_mvm_invalidate_sta_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_invalidate_sta_queue
_iwl_mvm_invalidate_sta_queue:          ; @iwl_mvm_invalidate_sta_queue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	bl	_iwl_mvm_has_new_tx_api
	bl	_WARN_ON
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x22, [x8, w22, sxtw #3]
	bl	_rcu_read_lock
	ldr	x8, [x19]
	ldr	w0, [x8, x22, lsl #2]
	bl	_rcu_dereference
	mov	x22, x0
	bl	_IS_ERR_OR_NULL
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_5
; %bb.2:
	bl	_rcu_read_unlock
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	mov	x0, x22
	bl	_iwl_mvm_sta_from_mac80211
	mov	x22, x0
	ldr	x8, [x0]
	orr	x8, x8, x21
	str	x8, [x0]
	ldr	w0, [x0, #16]
	bl	_cpu_to_le32
	str	x0, [sp, #48]
	ldr	w8, [x22, #12]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _STA_MODE_MODIFY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STA_MODE_MODIFY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
Lloh6:
	adrp	x8, _STA_MODIFY_QUEUES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STA_MODIFY_QUEUES@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w9, [sp, #32]
	cbz	x21, LBB0_7
; %bb.6:
Lloh9:
	adrp	x9, _STA_MODIFY_TID_DISABLE_TX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _STA_MODIFY_TID_DISABLE_TX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [sp, #32]
LBB0_7:
	cbz	w20, LBB0_9
; %bb.8:
Lloh12:
	adrp	x9, _STA_MODIFY_QUEUE_REMOVAL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _STA_MODIFY_QUEUE_REMOVAL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #32]
LBB0_9:
	ldr	w0, [x22, #8]
	bl	_cpu_to_le32
	str	x0, [sp, #24]
	ldr	x0, [x22]
	bl	_cpu_to_le16
	str	w0, [sp, #16]
	bl	_rcu_read_unlock
Lloh15:
	adrp	x8, _ADD_STA_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADD_STA_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh18:
	adrp	x8, _ADD_STA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ADD_STA@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_iwl_mvm_add_sta_cmd_size
	mov	x2, x0
	add	x3, sp, #16
	add	x4, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_send_cmd_pdu_status
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_STA_MODE_MODIFY,4,2            ; @STA_MODE_MODIFY
	.comm	_STA_MODIFY_QUEUES,4,2          ; @STA_MODIFY_QUEUES
	.comm	_STA_MODIFY_TID_DISABLE_TX,4,2  ; @STA_MODIFY_TID_DISABLE_TX
	.comm	_STA_MODIFY_QUEUE_REMOVAL,4,2   ; @STA_MODIFY_QUEUE_REMOVAL
	.comm	_ADD_STA_SUCCESS,4,2            ; @ADD_STA_SUCCESS
	.comm	_ADD_STA,4,2                    ; @ADD_STA
	.no_dead_strip	_iwl_mvm_invalidate_sta_queue
.subsections_via_symbols
