	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_set_check_bssid      ## -- Begin function rtl8821ae_set_check_bssid
	.p2align	4, 0x90
_rtl8821ae_set_check_bssid:             ## @rtl8821ae_set_check_bssid
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	8(%r14), %rcx
	movq	_ERFON@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movl	(%rax), %eax
	movq	_RCR_CBSSID_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_RCR_CBSSID_BCN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	orl	%eax, %edx
	orl	%ecx, %edx
	movl	%edx, -28(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_RCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movl	$4, %edi
	callq	_BIT
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	__rtl8821ae_set_bcn_ctrl_reg
	jmp	LBB0_4
LBB0_3:
	orl	%edx, %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, -28(%rbp)
	movl	$4, %edi
	callq	_BIT
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	__rtl8821ae_set_bcn_ctrl_reg
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_RCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERFON,8,3                      ## @ERFON
	.comm	_RCR_CBSSID_DATA,4,2            ## @RCR_CBSSID_DATA
	.comm	_RCR_CBSSID_BCN,4,2             ## @RCR_CBSSID_BCN
	.comm	_HW_VAR_RCR,4,2                 ## @HW_VAR_RCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8821ae_set_check_bssid      ; -- Begin function rtl8821ae_set_check_bssid
	.p2align	2
_rtl8821ae_set_check_bssid:             ; @rtl8821ae_set_check_bssid
	.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, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x9, _ERFON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERFON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _RCR_CBSSID_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RCR_CBSSID_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _RCR_CBSSID_BCN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _RCR_CBSSID_BCN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cbz	w21, LBB0_3
; %bb.2:
	orr	w8, w9, w8
	orr	w8, w8, w10
	str	w8, [sp, #12]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _HW_VAR_RCR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HW_VAR_RCR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	mov	w0, #4
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	__rtl8821ae_set_bcn_ctrl_reg
	b	LBB0_4
LBB0_3:
	orr	w9, w10, w9
	bic	w8, w8, w9
	str	w8, [sp, #12]
	mov	w0, #4
	bl	_BIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	__rtl8821ae_set_bcn_ctrl_reg
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _HW_VAR_RCR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HW_VAR_RCR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ERFON,8,3                      ; @ERFON
	.comm	_RCR_CBSSID_DATA,4,2            ; @RCR_CBSSID_DATA
	.comm	_RCR_CBSSID_BCN,4,2             ; @RCR_CBSSID_BCN
	.comm	_HW_VAR_RCR,4,2                 ; @HW_VAR_RCR
.subsections_via_symbols
