	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_add_int_sta_with_queue
_iwl_mvm_add_int_sta_with_queue:        ## @iwl_mvm_add_int_sta_with_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_iwl_mvm_has_new_tx_api
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	callq	_iwl_mvm_enable_aux_snif_queue
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%r13d, %ecx
	movl	%r12d, %r8d
	callq	_iwl_mvm_add_int_sta_common
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_iwl_mvm_has_new_tx_api
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_iwl_mvm_disable_txq
	jmp	LBB0_10
LBB0_5:
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_iwl_mvm_enable_aux_snif_queue_tvqm
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
LBB0_9:
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_7:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_iwl_mvm_rm_sta_common
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_MAX_TID_COUNT,4,2          ## @IWL_MAX_TID_COUNT
	.no_dead_strip	_iwl_mvm_add_int_sta_with_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_add_int_sta_with_queue
_iwl_mvm_add_int_sta_with_queue:        ; @iwl_mvm_add_int_sta_with_queue
	.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	x24, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_iwl_mvm_has_new_tx_api
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x3, x24
	bl	_iwl_mvm_enable_aux_snif_queue
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, #0
	mov	x3, x23
	mov	x4, x22
	bl	_iwl_mvm_add_int_sta_common
	mov	x22, x0
	mov	x0, x19
	bl	_iwl_mvm_has_new_tx_api
	cbz	w22, LBB0_5
; %bb.3:
	cbnz	x0, LBB0_10
; %bb.4:
	ldr	w2, [x20]
Lloh0:
	adrp	x8, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, #0
	mov	w4, #0
	bl	_iwl_mvm_disable_txq
	b	LBB0_10
LBB0_5:
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_iwl_mvm_enable_aux_snif_queue_tvqm
	mov	x22, x0
	tbnz	w0, #31, LBB0_9
; %bb.7:
	str	w22, [x20]
LBB0_8:
	mov	w22, #0
	b	LBB0_10
LBB0_9:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_iwl_mvm_rm_sta_common
LBB0_10:
	mov	x0, x22
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_MAX_TID_COUNT,4,2          ; @IWL_MAX_TID_COUNT
	.no_dead_strip	_iwl_mvm_add_int_sta_with_queue
.subsections_via_symbols
