	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_add_aux_sta            ## -- Begin function iwl_mvm_add_aux_sta
	.p2align	4, 0x90
_iwl_mvm_add_aux_sta:                   ## @iwl_mvm_add_aux_sta
	.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
	movq	%rdi, %rbx
	addq	$8, %rdi
	callq	_lockdep_assert_held
	movl	4(%rbx), %edi
	callq	_BIT
	movq	_NL80211_IFTYPE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IWL_STA_AUX_ACTIVITY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_iwl_mvm_allocate_int_sta
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	4(%rbx), %r8
	movq	_MAC_INDEX_AUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IWL_MVM_TX_FIFO_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_iwl_mvm_add_int_sta_with_queue
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_dealloc_int_sta
	movl	%r15d, %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ## @NL80211_IFTYPE_UNSPECIFIED
	.comm	_IWL_STA_AUX_ACTIVITY,4,2       ## @IWL_STA_AUX_ACTIVITY
	.comm	_MAC_INDEX_AUX,4,2              ## @MAC_INDEX_AUX
	.comm	_IWL_MVM_TX_FIFO_MCAST,4,2      ## @IWL_MVM_TX_FIFO_MCAST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_add_aux_sta            ; -- Begin function iwl_mvm_add_aux_sta
	.p2align	2
_iwl_mvm_add_aux_sta:                   ; @iwl_mvm_add_aux_sta
	.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
	add	x0, x0, #8
	bl	_lockdep_assert_held
	mov	x20, x19
	ldr	w0, [x20, #4]!
	bl	_BIT
	mov	x2, x0
Lloh0:
	adrp	x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_IFTYPE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _IWL_STA_AUX_ACTIVITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_STA_AUX_ACTIVITY@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x19
	bl	_iwl_mvm_allocate_int_sta
	mov	x21, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _MAC_INDEX_AUX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_INDEX_AUX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _IWL_MVM_TX_FIFO_MCAST@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_MVM_TX_FIFO_MCAST@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x19
	mov	x4, x20
	bl	_iwl_mvm_add_int_sta_with_queue
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x1, x19
	bl	_iwl_mvm_dealloc_int_sta
LBB0_3:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_UNSPECIFIED,4,2 ; @NL80211_IFTYPE_UNSPECIFIED
	.comm	_IWL_STA_AUX_ACTIVITY,4,2       ; @IWL_STA_AUX_ACTIVITY
	.comm	_MAC_INDEX_AUX,4,2              ; @MAC_INDEX_AUX
	.comm	_IWL_MVM_TX_FIFO_MCAST,4,2      ; @IWL_MVM_TX_FIFO_MCAST
.subsections_via_symbols
