	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_swlps_beacon               ## -- Begin function rtl_swlps_beacon
	.p2align	4, 0x90
_rtl_swlps_beacon:                      ## @rtl_swlps_beacon
	.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	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.1:
	cmpl	$0, 36(%r14)
	je	LBB0_15
## %bb.2:
	movq	40(%r14), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.3:
	cmpl	$0, 32(%r14)
	je	LBB0_15
## %bb.4:
	cmpq	$0, 24(%r14)
	jne	LBB0_15
## %bb.5:
	movq	_IEEE80211_CONF_PS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%rbx), %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	4(%r12), %edi
	callq	_ieee80211_is_beacon
	testl	%eax, %eax
	je	LBB0_15
## %bb.7:
	movq	_FCS_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	$40, %eax
	cmpl	%r15d, %eax
	jae	LBB0_15
## %bb.8:
	movl	(%r12), %edi
	movl	52(%r14), %esi
	callq	_ether_addr_equal_64bits
	testl	%eax, %eax
	je	LBB0_15
## %bb.9:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	subl	(%r13), %r15d
	movq	_WLAN_EID_TIM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_rtl_find_ie
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	%rax, %r15
	movl	4(%rax), %r12d
	cmpl	$8, %r12d
	jb	LBB0_15
## %bb.11:
	movq	%r15, %r13
	addq	$8, %r13
	xorl	%edi, %edi
	cmpl	$0, 4(%rbx)
	sete	%dil
	callq	_WARN_ON_ONCE
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	12(%r15), %eax
	movl	%eax, 12(%r14)
LBB0_13:
	movl	48(%r14), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_ieee80211_check_tim
	movl	(%r13), %ecx
	movl	%ecx, %edx
	andl	$1, %edx
	movl	%edx, 8(%r14)
	testb	$1, %cl
	jne	LBB0_14
## %bb.16:
	movl	4(%r14), %ebx
	movl	$5, %edi
	callq	_MSECS
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_delayed_work             ## TAILCALL
LBB0_14:
	movq	_COMP_POWER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %r8d
	movl	$1, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_IEEE80211_CONF_PS,4,2          ## @IEEE80211_CONF_PS
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_WLAN_EID_TIM,4,2               ## @WLAN_EID_TIM
	.comm	_COMP_POWER,4,2                 ## @COMP_POWER
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"u_bufferd: %x, m_buffered: %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_swlps_beacon               ; -- Begin function rtl_swlps_beacon
	.p2align	2
_rtl_swlps_beacon:                      ; @rtl_swlps_beacon
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_mac
	ldr	x8, [x0]
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_6
; %bb.1:
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	x8, [x19, #40]
Lloh3:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _IEEE80211_CONF_PS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_CONF_PS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_7
LBB0_6:
	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
LBB0_7:
	ldr	w0, [x21, #4]
	bl	_ieee80211_is_beacon
	cbz	w0, LBB0_6
; %bb.8:
Lloh9:
	adrp	x23, _FCS_LEN@GOTPAGE
Lloh10:
	ldr	x23, [x23, _FCS_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #40
	cmp	w8, w22
	b.hs	LBB0_6
; %bb.9:
	ldr	w0, [x21]
	ldr	w1, [x19, #52]
	bl	_ether_addr_equal_64bits
	cbz	w0, LBB0_6
; %bb.10:
Lloh11:
	adrp	x8, _jiffies@GOTPAGE
Lloh12:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	w8, [x23]
	sub	w1, w22, w8
Lloh14:
	adrp	x8, _WLAN_EID_TIM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WLAN_EID_TIM@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_rtl_find_ie
	cbz	x0, LBB0_6
; %bb.11:
	mov	x22, x0
	ldr	w21, [x0, #4]
	cmp	w21, #8
	b.lo	LBB0_6
; %bb.12:
	add	x23, x22, #8
	ldr	w8, [x20, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	w0, LBB0_14
; %bb.13:
	ldr	w8, [x22, #12]
	str	w8, [x19, #12]
LBB0_14:
	ldr	w2, [x19, #48]
	mov	x0, x23
	mov	x1, x21
	bl	_ieee80211_check_tim
	ldr	w8, [x23]
	and	w9, w8, #0x1
	str	w9, [x19, #8]
	tbnz	w8, #0, LBB0_16
; %bb.15:
	ldr	w20, [x19, #4]
	mov	w0, #5
	bl	_MSECS
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	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
	b	_queue_delayed_work
LBB0_16:
	mov	x4, x0
Lloh17:
	adrp	x8, _COMP_POWER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _COMP_POWER@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x3, l_.str@PAGE
Lloh24:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w5, #1
	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
	b	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_IEEE80211_CONF_PS,4,2          ; @IEEE80211_CONF_PS
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_WLAN_EID_TIM,4,2               ; @WLAN_EID_TIM
	.comm	_COMP_POWER,4,2                 ; @COMP_POWER
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"u_bufferd: %x, m_buffered: %x\n"

.subsections_via_symbols
