	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl88ee_translate_rx_signal_stuff
__rtl88ee_translate_rx_signal_stuff:    ## @_rtl88ee_translate_rx_signal_stuff
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_mac
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_efuse
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %r12
	shlq	$2, %r12
	addq	(%rbx), %r12
	movslq	4(%r13), %rbx
	leaq	(%r12,%rbx,4), %rdi
	movl	(%r12,%rbx,4), %r15d
	movq	24(%r12,%rbx,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_ieee80211_get_SA
	movl	20(%r13), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	callq	_memcpy
	movl	%r15d, %edi
	callq	_ieee80211_is_ctl
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_3:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_ieee80211_has_tods
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	(%r12,%rbx,4), %rax
	addq	$24, %rax
	jmp	LBB0_8
LBB0_5:
	movl	%r15d, %edi
	callq	_ieee80211_has_fromds
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$16, %rax
	jmp	LBB0_8
LBB0_7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$8, %rax
LBB0_8:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rax), %rsi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	cmpl	$0, 16(%r13)
	je	LBB0_12
LBB0_11:
	xorl	%r12d, %r12d
LBB0_2:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	callq	_ieee80211_is_beacon
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	callq	__rtl88ee_query_rxphystatus
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	__rtl88ee_smart_antenna
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_process_phyinfo            ## TAILCALL
LBB0_12:
	movq	%rbx, %rax
	cmpl	$0, 12(%r13)
	je	LBB0_14
## %bb.13:
	xorl	%r12d, %r12d
	movq	%rax, %rbx
	jmp	LBB0_2
LBB0_14:
	cmpl	$0, 8(%r13)
	movl	$0, %r12d
	movq	%rax, %rbx
	jne	LBB0_2
## %bb.15:
	movq	(%r15), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_ether_addr_equal
	xorl	%r12d, %r12d
	testq	%rax, %rax
	setne	%r12b
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	__rtl88ee_translate_rx_signal_stuff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl88ee_translate_rx_signal_stuff
__rtl88ee_translate_rx_signal_stuff:    ; @_rtl88ee_translate_rx_signal_stuff
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x26, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x24, x0
	ldr	x8, [x23]
	ldpsw	x9, x10, [x19]
	add	x8, x8, x9, lsl #2
	add	x23, x8, x10, lsl #2
	ldr	w27, [x23]
	mov	x28, x23
	ldr	x25, [x28, #24]!
	mov	x0, x23
	bl	_ieee80211_get_SA
	mov	x1, x0
	ldr	w0, [x19, #20]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_memcpy
	mov	x0, x27
	bl	_ieee80211_is_ctl
	cbz	w0, LBB0_3
LBB0_1:
	mov	w24, #0
	mov	w25, #0
LBB0_2:
	ldr	w0, [x23]
	bl	_ieee80211_is_beacon
	cmp	x0, #0
	cset	w6, ne
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x24
	mov	x5, x25
	bl	__rtl88ee_query_rxphystatus
	mov	x0, x20
	mov	x1, x19
	bl	__rtl88ee_smart_antenna
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rtl_process_phyinfo
LBB0_3:
	ldr	x26, [x26]
	mov	x0, x27
	bl	_ieee80211_has_tods
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x27
	bl	_ieee80211_has_fromds
	add	x8, x23, #8
	add	x9, x23, #16
	cmp	x0, #0
	csel	x28, x8, x9, eq
LBB0_5:
	ldr	x1, [x28]
	mov	x0, x26
	bl	_ether_addr_equal
	cbz	x0, LBB0_1
; %bb.6:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_1
; %bb.7:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_1
; %bb.8:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_1
; %bb.9:
	ldr	x1, [x24]
	mov	x0, x25
	bl	_ether_addr_equal
	cmp	x0, #0
	cset	w25, ne
	mov	w24, #1
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	__rtl88ee_translate_rx_signal_stuff
.subsections_via_symbols
