	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl92ee_dm_refresh_rate_adaptive_mask
_rtl92ee_dm_refresh_rate_adaptive_mask: ## @rtl92ee_dm_refresh_rate_adaptive_mask
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_is_hal_stop
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_COMP_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
LBB0_2:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
LBB0_3:
	cmpl	$0, 12(%r14)
	je	LBB0_4
## %bb.5:
	movq	(%r15), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.6:
	movq	8(%r15), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.7:
	movl	8(%r14), %esi
	movl	16(%r14), %ecx
	movl	$1, %eax
	cmpl	%ecx, %esi
	jl	LBB0_9
## %bb.8:
	addl	$-5, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %esi
	jle	LBB0_10
LBB0_9:
	movl	%eax, 20(%r14)
	movl	%eax, 24(%r14)
LBB0_10:
	movq	%r14, %rdx
	addq	$28, %rdx
	movq	%r12, %rdi
	callq	__rtl92ee_dm_ra_state_check
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	16(%r15), %esi
	movq	%r12, %rdi
	callq	_rtl_find_sta
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	(%r14), %rcx
	movq	(%rcx), %rbx
	movl	28(%r14), %edx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	$1, %ecx
	callq	*(%rbx)
LBB0_13:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	28(%r14), %eax
	movl	%eax, 32(%r14)
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_COMP_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_RATE,4,2                  ## @COMP_RATE
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"driver is going to unload\n"

L_.str.1:                               ## @.str.1
	.asciz	"driver does not control rate adaptive mask\n"

	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.no_dead_strip	_rtl92ee_dm_refresh_rate_adaptive_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl92ee_dm_refresh_rate_adaptive_mask
_rtl92ee_dm_refresh_rate_adaptive_mask: ; @rtl92ee_dm_refresh_rate_adaptive_mask
	.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, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_hal
	mov	x22, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x21, x0
	mov	x0, x22
	bl	_is_hal_stop
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _COMP_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	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
	b	_RT_TRACE
LBB0_3:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_8
; %bb.4:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.5:
	ldr	x8, [x21, #8]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.6:
	ldr	w1, [x19, #8]
	ldr	w8, [x19, #16]
	cmp	w1, w8
	b.ge	LBB0_9
; %bb.7:
	mov	w8, #1
	b	LBB0_11
LBB0_8:
Lloh14:
	adrp	x8, _COMP_RATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _COMP_RATE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x3, l_.str.1@PAGE
Lloh21:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_9:
	sub	w8, w8, #5
	cmp	w1, w8
	b.le	LBB0_12
; %bb.10:
	mov	w8, #0
LBB0_11:
	stp	w8, w8, [x19, #20]
LBB0_12:
	add	x2, x19, #28
	mov	x0, x20
	bl	__rtl92ee_dm_ra_state_check
	cbz	x0, LBB0_16
; %bb.13:
	bl	_rcu_read_lock
	ldr	w1, [x21, #16]
	mov	x0, x20
	bl	_rtl_find_sta
	cbz	x0, LBB0_15
; %bb.14:
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w2, [x19, #28]
	mov	x0, x20
	mov	w3, #1
	blr	x8
LBB0_15:
	bl	_rcu_read_unlock
	ldr	w8, [x19, #28]
	str	w8, [x19, #32]
LBB0_16:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_RATE,4,2                  ; @COMP_RATE
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"driver is going to unload\n"

l_.str.1:                               ; @.str.1
	.asciz	"driver does not control rate adaptive mask\n"

	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.no_dead_strip	_rtl92ee_dm_refresh_rate_adaptive_mask
.subsections_via_symbols
