	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_add_bcast_sta     ## -- Begin function iwl_mvm_send_add_bcast_sta
	.p2align	4, 0x90
_iwl_mvm_send_add_bcast_sta:            ## @iwl_mvm_send_add_bcast_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	movq	%rax, %r13
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_iwl_mvm_get_wd_timeout
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rax
	movq	%rax, -72(%rbp)
	movl	$0, -64(%rbp)
	movq	_IWL_FRAME_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_IWL_MVM_TX_FIFO_VO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	8(%r14), %rdi
	callq	_lockdep_assert_held
	movq	%r14, %rdi
	callq	_iwl_mvm_has_new_tx_api
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.5:
	leaq	4(%r14), %rax
	jmp	LBB0_6
LBB0_3:
	movq	%r14, %rax
LBB0_6:
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_BIT
	orl	%eax, 16(%r12)
	leaq	-72(%rbp), %r8
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_iwl_mvm_enable_txq
LBB0_7:
	addq	$8, %r13
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.9:
	movq	8(%r15), %rbx
	jmp	LBB0_10
LBB0_8:
	leaq	_iwl_mvm_send_add_bcast_sta._baddr(%rip), %rbx
LBB0_10:
	movq	(%r13), %rax
	movq	_IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_22
LBB0_13:
	movl	(%r12), %r8d
	movl	4(%r12), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_iwl_mvm_add_int_sta_common
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_14
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r14, %rdi
	callq	_iwl_mvm_has_new_tx_api
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	movq	(%r13), %rsi
	movq	_IWL_MAX_TID_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_iwl_mvm_tvqm_enable_txq
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	(%r15), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.20:
	movq	_NL80211_IFTYPE_P2P_DEVICE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movl	%r12d, 4(%r14)
	jmp	LBB0_22
LBB0_23:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_16:
	movq	(%r13), %rsi
	movq	%r14, %rdi
	callq	_iwl_mvm_rm_sta_common
	movl	%r12d, %ebx
	jmp	LBB0_22
LBB0_19:
	movl	%r12d, (%r14)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @iwl_mvm_send_add_bcast_sta._baddr
_iwl_mvm_send_add_bcast_sta._baddr:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.comm	_IWL_FRAME_LIMIT,4,2            ## @IWL_FRAME_LIMIT
	.comm	_IWL_MAX_TID_COUNT,4,2          ## @IWL_MAX_TID_COUNT
	.comm	_IWL_MVM_TX_FIFO_VO,4,2         ## @IWL_MVM_TX_FIFO_VO
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ## @NL80211_IFTYPE_P2P_DEVICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missing required TXQ for adding bcast STA\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IWL_MVM_INVALID_STA,8,3        ## @IWL_MVM_INVALID_STA
	.comm	_ENOSPC,4,2                     ## @ENOSPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_mvm_send_add_bcast_sta     ; -- Begin function iwl_mvm_send_add_bcast_sta
	.p2align	2
_iwl_mvm_send_add_bcast_sta:            ; @iwl_mvm_send_add_bcast_sta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	mov	x23, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	w3, #0
	bl	_iwl_mvm_get_wd_timeout
	mov	x22, x0
	mov	x21, x23
	ldr	x8, [x21, #8]!
	str	x8, [sp, #8]
Lloh0:
	adrp	x8, _IWL_FRAME_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_FRAME_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #16]
Lloh3:
	adrp	x26, _IWL_MAX_TID_COUNT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _IWL_MAX_TID_COUNT@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh5:
	adrp	x9, _IWL_MVM_TX_FIFO_VO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IWL_MVM_TX_FIFO_VO@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	add	x0, x19, #8
	bl	_lockdep_assert_held
	mov	x0, x19
	bl	_iwl_mvm_has_new_tx_api
Lloh8:
	adrp	x25, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh9:
	ldr	x25, [x25, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
	cbnz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x20]
Lloh10:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	x10, [x25]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x8, x19
	b	LBB0_5
LBB0_3:
Lloh13:
	adrp	x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.4:
	add	x8, x19, #4
LBB0_5:
	ldr	w24, [x8]
	mov	x0, x24
	bl	_BIT
	ldr	w8, [x23, #16]
	orr	w8, w8, w0
	str	w8, [x23, #16]
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, #0
	mov	x2, x24
	mov	w3, #0
	mov	x5, x22
	bl	_iwl_mvm_enable_txq
LBB0_6:
	ldr	x8, [x20]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x24, [x20, #8]
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x24, _iwl_mvm_send_add_bcast_sta._baddr@PAGE
Lloh17:
	add	x24, x24, _iwl_mvm_send_add_bcast_sta._baddr@PAGEOFF
LBB0_9:
	ldr	x8, [x21]
Lloh18:
	adrp	x9, _IWL_MVM_INVALID_STA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IWL_MVM_INVALID_STA@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_12
; %bb.10:
Lloh21:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_23
LBB0_12:
	ldp	w4, w3, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_iwl_mvm_add_int_sta_common
	mov	x23, x0
	cbnz	w0, LBB0_23
; %bb.13:
	mov	x0, x19
	bl	_iwl_mvm_has_new_tx_api
	cbz	x0, LBB0_22
; %bb.14:
	ldr	x1, [x21]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x3, x22
	bl	_iwl_mvm_tvqm_enable_txq
	mov	x23, x0
	tbnz	w0, #31, LBB0_20
; %bb.15:
	ldr	x8, [x20]
Lloh23:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.16:
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_21
; %bb.17:
Lloh26:
	adrp	x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_DEVICE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.18:
	str	w23, [x19, #4]
	b	LBB0_22
LBB0_19:
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
Lloh31:
	adrp	x8, _EINVAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_20:
	ldr	x1, [x21]
	mov	x0, x19
	bl	_iwl_mvm_rm_sta_common
	b	LBB0_23
LBB0_21:
	str	w23, [x19]
LBB0_22:
	mov	w23, #0
LBB0_23:
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @iwl_mvm_send_add_bcast_sta._baddr
_iwl_mvm_send_add_bcast_sta._baddr:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.comm	_IWL_FRAME_LIMIT,4,2            ; @IWL_FRAME_LIMIT
	.comm	_IWL_MAX_TID_COUNT,4,2          ; @IWL_MAX_TID_COUNT
	.comm	_IWL_MVM_TX_FIFO_VO,4,2         ; @IWL_MVM_TX_FIFO_VO
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_NL80211_IFTYPE_P2P_DEVICE,8,3  ; @NL80211_IFTYPE_P2P_DEVICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missing required TXQ for adding bcast STA\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IWL_MVM_INVALID_STA,8,3        ; @IWL_MVM_INVALID_STA
	.comm	_ENOSPC,4,2                     ; @ENOSPC
.subsections_via_symbols
