	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_mvm_bss_info_changed_ap_ibss
_iwl_mvm_bss_info_changed_ap_ibss:      ## @iwl_mvm_bss_info_changed_ap_ibss
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_iwl_mvm_vif_from_mac80211
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	_BSS_CHANGED_ERP_CTS_PROT@GOTPCREL(%rip), %rax
	movq	_BSS_CHANGED_HT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_BSS_CHANGED_BANDWIDTH@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_BSS_CHANGED_QOS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_iwl_mvm_mac_ctxt_changed
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_ERR
LBB0_4:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_mac_ctxt_beacon_changed
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_IWL_WARN
LBB0_7:
	movq	_BSS_CHANGED_TXPOWER@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_9
## %bb.8:
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_IWL_DEBUG_CALIB
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_set_tx_power
LBB0_9:
	movq	_BSS_CHANGED_FTM_RESPONDER@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_iwl_mvm_ftm_start_responder
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IWL_WARN                       ## TAILCALL
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ## @BSS_CHANGED_ERP_CTS_PROT
	.comm	_BSS_CHANGED_HT,4,2             ## @BSS_CHANGED_HT
	.comm	_BSS_CHANGED_BANDWIDTH,4,2      ## @BSS_CHANGED_BANDWIDTH
	.comm	_BSS_CHANGED_QOS,4,2            ## @BSS_CHANGED_QOS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to update MAC %pM\n"

	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
L_.str.1:                               ## @.str.1
	.asciz	"Failed updating beacon data\n"

	.comm	_BSS_CHANGED_TXPOWER,4,2        ## @BSS_CHANGED_TXPOWER
L_.str.2:                               ## @.str.2
	.asciz	"Changing TX Power to %d\n"

	.comm	_BSS_CHANGED_FTM_RESPONDER,4,2  ## @BSS_CHANGED_FTM_RESPONDER
L_.str.3:                               ## @.str.3
	.asciz	"Failed to enable FTM responder (%d)\n"

	.no_dead_strip	_iwl_mvm_bss_info_changed_ap_ibss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_mvm_bss_info_changed_ap_ibss
_iwl_mvm_bss_info_changed_ap_ibss:      ; @iwl_mvm_bss_info_changed_ap_ibss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_iwl_mvm_vif_from_mac80211
	ldr	w8, [x0]
	cbz	w8, LBB0_12
; %bb.1:
Lloh0:
	adrp	x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BSS_CHANGED_HT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BSS_CHANGED_HT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _BSS_CHANGED_BANDWIDTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BSS_CHANGED_BANDWIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _BSS_CHANGED_QOS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _BSS_CHANGED_QOS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w21
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
	bl	_iwl_mvm_mac_ctxt_changed
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w2, [x20]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_ERR
LBB0_4:
Lloh14:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_mac_ctxt_beacon_changed
	cbz	x0, LBB0_7
; %bb.6:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_WARN
LBB0_7:
Lloh19:
	adrp	x8, _BSS_CHANGED_TXPOWER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BSS_CHANGED_TXPOWER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	w2, [x22]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_CALIB
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_set_tx_power
LBB0_9:
Lloh24:
	adrp	x8, _BSS_CHANGED_FTM_RESPONDER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BSS_CHANGED_FTM_RESPONDER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	bl	_iwl_mvm_ftm_start_responder
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_12
; %bb.11:
	str	x0, [sp]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_IWL_WARN
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ; @BSS_CHANGED_ERP_CTS_PROT
	.comm	_BSS_CHANGED_HT,4,2             ; @BSS_CHANGED_HT
	.comm	_BSS_CHANGED_BANDWIDTH,4,2      ; @BSS_CHANGED_BANDWIDTH
	.comm	_BSS_CHANGED_QOS,4,2            ; @BSS_CHANGED_QOS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to update MAC %pM\n"

	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
l_.str.1:                               ; @.str.1
	.asciz	"Failed updating beacon data\n"

	.comm	_BSS_CHANGED_TXPOWER,4,2        ; @BSS_CHANGED_TXPOWER
l_.str.2:                               ; @.str.2
	.asciz	"Changing TX Power to %d\n"

	.comm	_BSS_CHANGED_FTM_RESPONDER,4,2  ; @BSS_CHANGED_FTM_RESPONDER
l_.str.3:                               ; @.str.3
	.asciz	"Failed to enable FTM responder (%d)\n"

	.no_dead_strip	_iwl_mvm_bss_info_changed_ap_ibss
.subsections_via_symbols
