	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8821ae_dm_find_minimum_rssi
_rtl8821ae_dm_find_minimum_rssi:        ## @rtl8821ae_dm_find_minimum_rssi
	.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
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_2
LBB0_3:
	cmpq	%rcx, %rax
	jge	LBB0_4
LBB0_8:
	movq	(%rbx), %r8
	movq	%r8, 16(%rbx)
	movq	_COMP_BB_POWERSAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_9
LBB0_2:
	movq	$0, 16(%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movq	(%r14), %rax
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_8
LBB0_4:
	movq	8(%r14), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.7:
	movq	8(%rbx), %r8
	movq	%r8, 16(%rbx)
	movq	_COMP_BB_POWERSAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	movq	(%rbx), %r8
	movq	%r8, 16(%rbx)
	movq	_COMP_BB_POWERSAVING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
LBB0_9:
	movq	%rbx, %rdi
	callq	_RT_TRACE
	movq	_COMP_DIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%rbx), %r8
	leaq	L_.str.4(%rip), %rcx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8821ae: Not connected to any AP\n"

	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.comm	_COMP_BB_POWERSAVING,4,2        ## @COMP_BB_POWERSAVING
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.1:                               ## @.str.1
	.asciz	"AP Client PWDB = 0x%lx\n"

L_.str.2:                               ## @.str.2
	.asciz	"STA Default Port PWDB = 0x%x\n"

L_.str.3:                               ## @.str.3
	.asciz	"AP Ext Port or disconnect PWDB = 0x%x\n"

	.comm	_COMP_DIG,4,2                   ## @COMP_DIG
L_.str.4:                               ## @.str.4
	.asciz	"MinUndecoratedPWDBForDM =%d\n"

	.no_dead_strip	_rtl8821ae_dm_find_minimum_rssi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8821ae_dm_find_minimum_rssi
_rtl8821ae_dm_find_minimum_rssi:        ; @rtl8821ae_dm_find_minimum_rssi
	.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
	bl	_rtl_priv
	mov	x19, x0
	bl	_rtl_mac
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x21, _MAC80211_LINKED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAC80211_LINKED@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ge	LBB0_3
; %bb.1:
	ldr	x10, [x19]
	cbnz	x10, LBB0_3
; %bb.2:
	str	xzr, [x19, #16]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x20]
	ldr	x9, [x21]
LBB0_3:
Lloh4:
	adrp	x21, _DBG_LOUD@GOTPAGE
Lloh5:
	ldr	x21, [x21, _DBG_LOUD@GOTPAGEOFF]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.4:
	ldr	x4, [x19]
	str	x4, [x19, #16]
Lloh6:
	adrp	x8, _COMP_BB_POWERSAVING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _COMP_BB_POWERSAVING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh9:
	adrp	x3, l_.str.3@PAGE
Lloh10:
	add	x3, x3, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20, #8]
Lloh11:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:
	ldr	x4, [x19]
	str	x4, [x19, #16]
Lloh17:
	adrp	x8, _COMP_BB_POWERSAVING@GOTPAGE
Lloh18:
	ldr	x8, [x8, _COMP_BB_POWERSAVING@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh20:
	adrp	x3, l_.str.1@PAGE
Lloh21:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	ldr	x4, [x19, #8]
	str	x4, [x19, #16]
Lloh22:
	adrp	x8, _COMP_BB_POWERSAVING@GOTPAGE
Lloh23:
	ldr	x8, [x8, _COMP_BB_POWERSAVING@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh25:
	adrp	x3, l_.str.2@PAGE
Lloh26:
	add	x3, x3, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_RT_TRACE
Lloh27:
	adrp	x8, _COMP_DIG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _COMP_DIG@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh30:
	adrp	x3, l_.str.4@PAGE
Lloh31:
	add	x3, x3, l_.str.4@PAGEOFF
	ldr	x4, [x19, #16]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8821ae: Not connected to any AP\n"

	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.comm	_COMP_BB_POWERSAVING,4,2        ; @COMP_BB_POWERSAVING
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.1:                               ; @.str.1
	.asciz	"AP Client PWDB = 0x%lx\n"

l_.str.2:                               ; @.str.2
	.asciz	"STA Default Port PWDB = 0x%x\n"

l_.str.3:                               ; @.str.3
	.asciz	"AP Ext Port or disconnect PWDB = 0x%x\n"

	.comm	_COMP_DIG,4,2                   ; @COMP_DIG
l_.str.4:                               ; @.str.4
	.asciz	"MinUndecoratedPWDBForDM =%d\n"

	.no_dead_strip	_rtl8821ae_dm_find_minimum_rssi
.subsections_via_symbols
