	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_read_rf                ## -- Begin function rtw_phy_read_rf
	.p2align	4, 0x90
_rtw_phy_read_rf:                       ## @rtw_phy_read_rf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	cmpl	%esi, 8(%rdi)
	jbe	LBB0_1
## %bb.2:
	movq	(%rdi), %rsi
	movq	(%rsi), %r8
	movl	%eax, %eax
	movzbl	%dl, %esi
	shll	$2, %esi
	addl	(%r8,%rax,4), %esi
	movq	_RFREG_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ecx
	movl	%ecx, %edx
	popq	%rbp
	jmp	_rtw_read32_mask                ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_rtw_err
	movq	_INV_RF_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported rf path (%d)\n"

	.comm	_INV_RF_DATA,4,2                ## @INV_RF_DATA
	.comm	_RFREG_MASK,4,2                 ## @RFREG_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_read_rf                ; -- Begin function rtw_phy_read_rf
	.p2align	2
_rtw_phy_read_rf:                       ; @rtw_phy_read_rf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	w9, [x0, #8]
	cmp	w9, w1
	b.ls	LBB0_2
; %bb.1:
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w8, [x9, w8, uxtw #2]
	ubfiz	w9, w2, #2, #8
Lloh0:
	adrp	x10, _RFREG_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RFREG_MASK@GOTPAGEOFF]
	add	w1, w8, w9
Lloh2:
	ldr	w8, [x10]
	and	w2, w8, w3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_rtw_read32_mask
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_rtw_err
Lloh5:
	adrp	x8, _INV_RF_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INV_RF_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported rf path (%d)\n"

	.comm	_INV_RF_DATA,4,2                ; @INV_RF_DATA
	.comm	_RFREG_MASK,4,2                 ; @RFREG_MASK
.subsections_via_symbols
