	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_bss_erp_info_changed
_wl1271_bss_erp_info_changed:           ## @wl1271_bss_erp_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_wl12xx_vif_to_data
	movq	%rax, %r15
	movq	_BSS_CHANGED_ERP_SLOT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_1
## %bb.5:
	cmpq	$0, 16(%r12)
	jne	LBB0_6
## %bb.7:
	movq	_SLOT_TIME_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
LBB0_6:
	movq	_SLOT_TIME_SHORT@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wl1271_acx_slot
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
LBB0_2:
	movq	_BSS_CHANGED_ERP_PREAMBLE@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_12
## %bb.3:
	cmpq	$0, 8(%r12)
	jne	LBB0_4
## %bb.10:
	movq	_ACX_PREAMBLE_LONG@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_18
LBB0_4:
	movq	_ACX_PREAMBLE_SHORT@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wl1271_acx_set_preamble
LBB0_12:
	movq	_BSS_CHANGED_ERP_CTS_PROT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_19
## %bb.13:
	cmpq	$0, (%r12)
	jne	LBB0_14
## %bb.15:
	movq	_CTSPROTECT_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_CTSPROTECT_ENABLE@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_wl1271_acx_cts_protect
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_19
## %bb.17:
	leaq	L_.str.1(%rip), %rdi
LBB0_18:
	movl	%ebx, %esi
	callq	_wl1271_warning
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ## @BSS_CHANGED_ERP_SLOT
	.comm	_SLOT_TIME_SHORT,4,2            ## @SLOT_TIME_SHORT
	.comm	_SLOT_TIME_LONG,4,2             ## @SLOT_TIME_LONG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set slot time failed %d"

	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ## @BSS_CHANGED_ERP_PREAMBLE
	.comm	_ACX_PREAMBLE_SHORT,4,2         ## @ACX_PREAMBLE_SHORT
	.comm	_ACX_PREAMBLE_LONG,4,2          ## @ACX_PREAMBLE_LONG
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ## @BSS_CHANGED_ERP_CTS_PROT
	.comm	_CTSPROTECT_ENABLE,4,2          ## @CTSPROTECT_ENABLE
	.comm	_CTSPROTECT_DISABLE,4,2         ## @CTSPROTECT_DISABLE
L_.str.1:                               ## @.str.1
	.asciz	"Set ctsprotect failed %d"

	.no_dead_strip	_wl1271_bss_erp_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_erp_info_changed
_wl1271_bss_erp_info_changed:           ; @wl1271_bss_erp_info_changed
	.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	x22, x3
	mov	x20, x2
	mov	x19, x0
	mov	x0, x1
	bl	_wl12xx_vif_to_data
	mov	x21, x0
Lloh0:
	adrp	x8, _BSS_CHANGED_ERP_SLOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_ERP_SLOT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _SLOT_TIME_LONG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SLOT_TIME_LONG@GOTPAGEOFF]
	ldr	x9, [x20, #16]
Lloh5:
	adrp	x10, _SLOT_TIME_SHORT@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SLOT_TIME_SHORT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_wl1271_acx_slot
	mov	x23, x0
	tbz	w0, #31, LBB0_4
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_3:
	mov	w23, #0
LBB0_4:
Lloh9:
	adrp	x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _ACX_PREAMBLE_LONG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACX_PREAMBLE_LONG@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh14:
	adrp	x10, _ACX_PREAMBLE_SHORT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ACX_PREAMBLE_SHORT@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_wl1271_acx_set_preamble
LBB0_6:
Lloh16:
	adrp	x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BSS_CHANGED_ERP_CTS_PROT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_10
; %bb.7:
Lloh19:
	adrp	x8, _CTSPROTECT_DISABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CTSPROTECT_DISABLE@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh21:
	adrp	x10, _CTSPROTECT_ENABLE@GOTPAGE
Lloh22:
	ldr	x10, [x10, _CTSPROTECT_ENABLE@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_wl1271_acx_cts_protect
	mov	x23, x0
	tbz	w0, #31, LBB0_10
; %bb.8:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_9:
	mov	x1, x23
	bl	_wl1271_warning
LBB0_10:
	mov	x0, x23
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ; @BSS_CHANGED_ERP_SLOT
	.comm	_SLOT_TIME_SHORT,4,2            ; @SLOT_TIME_SHORT
	.comm	_SLOT_TIME_LONG,4,2             ; @SLOT_TIME_LONG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set slot time failed %d"

	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ; @BSS_CHANGED_ERP_PREAMBLE
	.comm	_ACX_PREAMBLE_SHORT,4,2         ; @ACX_PREAMBLE_SHORT
	.comm	_ACX_PREAMBLE_LONG,4,2          ; @ACX_PREAMBLE_LONG
	.comm	_BSS_CHANGED_ERP_CTS_PROT,4,2   ; @BSS_CHANGED_ERP_CTS_PROT
	.comm	_CTSPROTECT_ENABLE,4,2          ; @CTSPROTECT_ENABLE
	.comm	_CTSPROTECT_DISABLE,4,2         ; @CTSPROTECT_DISABLE
l_.str.1:                               ; @.str.1
	.asciz	"Set ctsprotect failed %d"

	.no_dead_strip	_wl1271_bss_erp_info_changed
.subsections_via_symbols
