	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_beacon_statistic           ## -- Begin function rtl_beacon_statistic
	.p2align	4, 0x90
_rtl_beacon_statistic:                  ## @rtl_beacon_statistic
	.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
	movq	%rsi, %r14
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	8(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	16(%rbx), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.2:
	movq	8(%r14), %r15
	movl	4(%r15), %edi
	callq	_ieee80211_is_beacon
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	4(%r15), %edi
	callq	_ieee80211_is_probe_resp
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:
	movq	_FCS_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$40, %rax
	cmpq	%rax, (%r14)
	jle	LBB0_7
## %bb.5:
	movl	(%r15), %edi
	movl	24(%rbx), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	incl	(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_FCS_LEN,8,3                    ## @FCS_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_beacon_statistic           ; -- Begin function rtl_beacon_statistic
	.p2align	2
_rtl_beacon_statistic:                  ; @rtl_beacon_statistic
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	bl	_rtl_priv
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.2:
	ldr	x21, [x20, #8]
	ldr	w0, [x21, #4]
	bl	_ieee80211_is_beacon
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x21, #4]
	bl	_ieee80211_is_probe_resp
	cbz	w0, LBB0_7
LBB0_4:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _FCS_LEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FCS_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x9, x9, #40
	cmp	x8, x9
	b.le	LBB0_7
; %bb.5:
	ldr	w0, [x21]
	ldr	w1, [x19, #24]
	bl	_ether_addr_equal
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_FCS_LEN,8,3                    ; @FCS_LEN
.subsections_via_symbols
