	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92c_phy_rf_serial_read     ## -- Begin function _rtl92c_phy_rf_serial_read
	.p2align	4, 0x90
__rtl92c_phy_rf_serial_read:            ## @_rtl92c_phy_rf_serial_read
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	(%rax), %r15
	movq	%r12, %rdi
	callq	_RT_CANNOT_IO
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movl	$-1, %ebx
	jmp	LBB0_12
LBB0_2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %eax
	leaq	(%rax,%rax,2), %r15
	movq	_RFPGA0_XA_HSSIPARAMETER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKDWORD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_rtl_get_bbreg
	movl	%r13d, %ecx
	movl	%eax, %r13d
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rdx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax,%r15,4), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_rtl_get_bbreg
LBB0_4:
	movq	%rbx, %rdx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r15,4), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	_BLSSIREADADDRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	andl	$63, %r14d
	shll	$23, %r14d
	movq	_BLSSIREADEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, %r14d
	orl	%ecx, %r14d
	movq	_RFPGA0_XA_HSSIPARAMETER2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rdx), %edx
	notl	%eax
	movl	%r13d, %ecx
	andl	%eax, %ecx
	movq	%r12, %rdi
	callq	_rtl_set_bbreg
	movl	$1, %edi
	callq	_mdelay
	movl	8(%rbx,%r15,4), %esi
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r14d, %ecx
	callq	_rtl_set_bbreg
	movl	$1, %edi
	callq	_mdelay
	movq	_RFPGA0_XA_HSSIPARAMETER2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASKDWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_BLSSIREADEDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	%r13d, %ecx
	movq	%r12, %rdi
	callq	_rtl_set_bbreg
	movl	$1, %edi
	callq	_mdelay
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %r14d
	movq	_RFPGA0_XA_HSSIPARAMETER1@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_6:
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movl	%ebx, %r14d
	cmpl	%ebx, (%rax)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_10
## %bb.7:
	movq	_RFPGA0_XB_HSSIPARAMETER1@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %ebx
	movl	$8, %edi
	callq	_BIT
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rtl_get_bbreg
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rax
	addq	$4, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_10:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rax
LBB0_11:
	movl	(%rax), %esi
	movq	_BLSSIREADBACKDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_rtl_get_bbreg
	movl	%eax, %ebx
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %r9d
	movl	%ebx, (%rsp)
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	movl	%r14d, %r8d
	callq	_RT_TRACE
LBB0_12:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"return all one\n"

	.comm	_RFPGA0_XA_HSSIPARAMETER2,4,2   ## @RFPGA0_XA_HSSIPARAMETER2
	.comm	_MASKDWORD,4,2                  ## @MASKDWORD
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_BLSSIREADADDRESS,4,2           ## @BLSSIREADADDRESS
	.comm	_BLSSIREADEDGE,4,2              ## @BLSSIREADEDGE
	.comm	_RFPGA0_XA_HSSIPARAMETER1,4,2   ## @RFPGA0_XA_HSSIPARAMETER1
	.comm	_RF90_PATH_B,4,2                ## @RF90_PATH_B
	.comm	_RFPGA0_XB_HSSIPARAMETER1,4,2   ## @RFPGA0_XB_HSSIPARAMETER1
	.comm	_BLSSIREADBACKDATA,4,2          ## @BLSSIREADBACKDATA
	.comm	_COMP_RF,4,2                    ## @COMP_RF
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
L_.str.1:                               ## @.str.1
	.asciz	"RFR-%d Addr[0x%x]=0x%x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92c_phy_rf_serial_read     ; -- Begin function _rtl92c_phy_rf_serial_read
	.p2align	2
__rtl92c_phy_rf_serial_read:            ; @_rtl92c_phy_rf_serial_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x19, x1
	mov	x21, x0
	bl	_rtl_priv
	mov	x20, x0
	ldr	x25, [x0]
	mov	x0, x21
	bl	_RT_CANNOT_IO
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w21, #-1
	b	LBB0_12
LBB0_2:
	mov	w26, w19
	mov	w8, #12
	umaddl	x8, w19, w8, x25
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh2:
	adrp	x28, _RFPGA0_XA_HSSIPARAMETER2@GOTPAGE
Lloh3:
	ldr	x28, [x28, _RFPGA0_XA_HSSIPARAMETER2@GOTPAGEOFF]
	ldr	w1, [x28]
Lloh4:
	adrp	x24, _MASKDWORD@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MASKDWORD@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_rtl_get_bbreg
	mov	x22, x0
Lloh6:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #12
	madd	x8, x26, x8, x25
	ldr	w1, [x8, #8]
	ldr	w2, [x24]
	mov	x0, x21
	bl	_rtl_get_bbreg
LBB0_4:
Lloh9:
	adrp	x8, _BLSSIREADADDRESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLSSIREADADDRESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ubfiz	w9, w23, #23, #6
Lloh12:
	adrp	x27, _BLSSIREADEDGE@GOTPAGE
Lloh13:
	ldr	x27, [x27, _BLSSIREADEDGE@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x27]
	orr	w23, w8, w9
	ldr	w1, [x28]
	ldr	w2, [x24]
	bic	w3, w22, w9
	mov	x0, x21
	bl	_rtl_set_bbreg
	mov	w0, #1
	bl	_mdelay
	mov	w8, #12
	madd	x8, x26, x8, x25
	ldr	w1, [x8, #8]
	ldr	w2, [x24]
	mov	x0, x21
	mov	x3, x23
	bl	_rtl_set_bbreg
	mov	w0, #1
	bl	_mdelay
	ldr	w1, [x28]
	ldr	w2, [x24]
	ldr	w8, [x27]
	orr	w3, w8, w22
	mov	x0, x21
	bl	_rtl_set_bbreg
	mov	w0, #1
	bl	_mdelay
Lloh14:
	adrp	x8, _RF90_PATH_A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RF90_PATH_A@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _RFPGA0_XA_HSSIPARAMETER1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RFPGA0_XA_HSSIPARAMETER1@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh19:
	adrp	x8, _RF90_PATH_B@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RF90_PATH_B@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_10
; %bb.7:
Lloh22:
	adrp	x8, _RFPGA0_XB_HSSIPARAMETER1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RFPGA0_XB_HSSIPARAMETER1@GOTPAGEOFF]
LBB0_8:
	ldr	w22, [x8]
	mov	w0, #8
	bl	_BIT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_rtl_get_bbreg
	cbz	w0, LBB0_10
; %bb.9:
	mov	w8, #12
	madd	x8, x26, x8, x25
	add	x8, x8, #4
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_11
LBB0_10:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	mov	x8, x22
LBB0_11:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _BLSSIREADBACKDATA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BLSSIREADBACKDATA@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_rtl_get_bbreg
	mov	x21, x0
Lloh27:
	adrp	x8, _COMP_RF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _COMP_RF@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	ldr	w5, [x22]
Lloh33:
	adrp	x3, l_.str.1@PAGE
Lloh34:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x4, x19
	mov	x6, x21
	bl	_RT_TRACE
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"return all one\n"

	.comm	_RFPGA0_XA_HSSIPARAMETER2,4,2   ; @RFPGA0_XA_HSSIPARAMETER2
	.comm	_MASKDWORD,4,2                  ; @MASKDWORD
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_BLSSIREADADDRESS,4,2           ; @BLSSIREADADDRESS
	.comm	_BLSSIREADEDGE,4,2              ; @BLSSIREADEDGE
	.comm	_RFPGA0_XA_HSSIPARAMETER1,4,2   ; @RFPGA0_XA_HSSIPARAMETER1
	.comm	_RF90_PATH_B,4,2                ; @RF90_PATH_B
	.comm	_RFPGA0_XB_HSSIPARAMETER1,4,2   ; @RFPGA0_XB_HSSIPARAMETER1
	.comm	_BLSSIREADBACKDATA,4,2          ; @BLSSIREADBACKDATA
	.comm	_COMP_RF,4,2                    ; @COMP_RF
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
l_.str.1:                               ; @.str.1
	.asciz	"RFR-%d Addr[0x%x]=0x%x\n"

.subsections_via_symbols
