	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_bss_beacon_info_changed
_wl1271_bss_beacon_info_changed:        ## @wl1271_bss_beacon_info_changed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_wl12xx_vif_to_data
	movq	%rax, %r13
	movq	(%rax), %r15
	movq	_BSS_TYPE_AP_BSS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	%r12, %r15
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_DEBUG_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	callq	_wl1271_debug
	movl	(%r14), %eax
	movl	%eax, 16(%r13)
LBB0_2:
	movq	_BSS_CHANGED_AP_PROBE_RESP@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.3:
	cmpq	%r12, %r15
	jne	LBB0_5
## %bb.4:
	movl	12(%r13), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_wl1271_tx_min_rate_get
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_wl1271_ap_set_probe_resp_tmpl
LBB0_5:
	movq	_BSS_CHANGED_BEACON@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.6:
	xorl	%edx, %edx
	movb	-41(%rbp), %al                  ## 1-byte Reload
	movb	%al, %dl
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_wlcore_set_beacon_template
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:
	movq	_WLVIF_FLAG_BEACON_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	addq	$8, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_wlcore_hw_dfs_master_restart
	movl	%eax, %ebx
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_wl1271_error
	movl	%ebx, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ## @BSS_TYPE_AP_BSS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ## @BSS_CHANGED_BEACON_INT
	.comm	_DEBUG_MASTER,4,2               ## @DEBUG_MASTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"beacon interval updated: %d"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ## @BSS_CHANGED_AP_PROBE_RESP
	.comm	_BSS_CHANGED_BEACON,4,2         ## @BSS_CHANGED_BEACON
	.comm	_WLVIF_FLAG_BEACON_DISABLED,4,2 ## @WLVIF_FLAG_BEACON_DISABLED
L_.str.1:                               ## @.str.1
	.asciz	"beacon info change failed: %d"

	.no_dead_strip	_wl1271_bss_beacon_info_changed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_bss_beacon_info_changed
_wl1271_bss_beacon_info_changed:        ; @wl1271_bss_beacon_info_changed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_wl12xx_vif_to_data
	mov	x20, x0
	ldr	x25, [x0]
Lloh0:
	adrp	x8, _BSS_TYPE_AP_BSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_TYPE_AP_BSS@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	cmp	x25, x26
	cset	w23, eq
Lloh3:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DEBUG_MASTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEBUG_MASTER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x24]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wl1271_debug
	ldr	w8, [x24]
	str	w8, [x20, #16]
LBB0_2:
Lloh11:
	adrp	x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BSS_CHANGED_AP_PROBE_RESP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w8, w8, w22
	cmp	w8, #0
	ccmp	x25, x26, #0, ne
	b.ne	LBB0_4
; %bb.3:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_wl1271_tx_min_rate_get
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_wl1271_ap_set_probe_resp_tmpl
LBB0_4:
Lloh14:
	adrp	x8, _BSS_CHANGED_BEACON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BSS_CHANGED_BEACON@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_wlcore_set_beacon_template
	mov	x21, x0
	tbnz	w0, #31, LBB0_9
; %bb.6:
Lloh17:
	adrp	x8, _WLVIF_FLAG_BEACON_DISABLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _WLVIF_FLAG_BEACON_DISABLED@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	add	x1, x20, #8
	bl	_test_and_clear_bit
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_wlcore_hw_dfs_master_restart
	mov	x21, x0
LBB0_8:
	cbz	w21, LBB0_11
LBB0_9:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_wl1271_error
	b	LBB0_11
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_TYPE_AP_BSS,8,3            ; @BSS_TYPE_AP_BSS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ; @BSS_CHANGED_BEACON_INT
	.comm	_DEBUG_MASTER,4,2               ; @DEBUG_MASTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"beacon interval updated: %d"

	.comm	_BSS_CHANGED_AP_PROBE_RESP,4,2  ; @BSS_CHANGED_AP_PROBE_RESP
	.comm	_BSS_CHANGED_BEACON,4,2         ; @BSS_CHANGED_BEACON
	.comm	_WLVIF_FLAG_BEACON_DISABLED,4,2 ; @WLVIF_FLAG_BEACON_DISABLED
l_.str.1:                               ; @.str.1
	.asciz	"beacon info change failed: %d"

	.no_dead_strip	_wl1271_bss_beacon_info_changed
.subsections_via_symbols
