	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_config_rf           ## -- Begin function rtl92s_phy_config_rf
	.p2align	4, 0x90
_rtl92s_phy_config_rf:                  ## @rtl92s_phy_config_rf
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	_RADIOA_1T_ARRAYLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	(%rax), %rcx
	movq	_RF_2T2R_GREEN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_RADIOB_ARRAYLENGTH@GOTPCREL(%rip), %rcx
	cmoveq	_RADIOB_GM_ARRAYLENGTH@GOTPCREL(%rip), %rcx
	movq	_rtl8192seradioa_1t_array@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	movl	(%rcx), %r12d
	movq	_rtl8192seradiob_array@GOTPCREL(%rip), %rcx
	cmoveq	_rtl8192seradiob_gm_array@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movq	_COMP_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	movl	%ebx, %r8d
	callq	_RT_TRACE
	cmpl	$131, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$130, %ebx
	jne	LBB0_9
## %bb.2:
	testl	%r12d, %r12d
	jle	LBB0_9
## %bb.3:
	xorl	%ebx, %ebx
	movq	_MASK20BITS@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	movl	(%r15,%rbx,4), %edx
	movl	4(%r15,%rbx,4), %r8d
	movq	%r13, %rdi
	movl	$130, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r12d
	jg	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_MASK20BITS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	movl	(%r14,%rbx,4), %edx
	movl	4(%r14,%rbx,4), %r8d
	movq	%r13, %rdi
	movl	$131, %esi
	callq	_rtl_rfreg_delay
	addq	$2, %rbx
	cmpl	%ebx, %r12d
	jg	LBB0_7
LBB0_8:
	movq	%r13, %rdi
	movl	$131, %esi
	callq	__rtl92s_phy_config_rfpa_bias_current
LBB0_9:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RADIOA_1T_ARRAYLENGTH,4,2      ## @RADIOA_1T_ARRAYLENGTH
	.comm	_rtl8192seradioa_1t_array,8,3   ## @rtl8192seradioa_1t_array
	.comm	_RF_2T2R_GREEN,8,3              ## @RF_2T2R_GREEN
	.comm	_rtl8192seradiob_gm_array,8,3   ## @rtl8192seradiob_gm_array
	.comm	_RADIOB_GM_ARRAYLENGTH,4,2      ## @RADIOB_GM_ARRAYLENGTH
	.comm	_rtl8192seradiob_array,8,3      ## @rtl8192seradiob_array
	.comm	_RADIOB_ARRAYLENGTH,4,2         ## @RADIOB_ARRAYLENGTH
	.comm	_COMP_INIT,4,2                  ## @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Radio No %x\n"

	.comm	_MASK20BITS,4,2                 ## @MASK20BITS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_config_rf           ; -- Begin function rtl92s_phy_config_rf
	.p2align	2
_rtl92s_phy_config_rf:                  ; @rtl92s_phy_config_rf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_rtl_priv
Lloh0:
	adrp	x8, _RADIOA_1T_ARRAYLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RADIOA_1T_ARRAYLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _rtl8192seradioa_1t_array@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rtl8192seradioa_1t_array@GOTPAGEOFF]
Lloh5:
	ldr	x22, [x8]
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _RF_2T2R_GREEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RF_2T2R_GREEN@GOTPAGEOFF]
Lloh8:
	adrp	x10, _RADIOB_GM_ARRAYLENGTH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RADIOB_GM_ARRAYLENGTH@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x11, _RADIOB_ARRAYLENGTH@GOTPAGE
Lloh12:
	ldr	x11, [x11, _RADIOB_ARRAYLENGTH@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w23, [x8]
Lloh13:
	adrp	x8, _rtl8192seradiob_gm_array@GOTPAGE
Lloh14:
	ldr	x8, [x8, _rtl8192seradiob_gm_array@GOTPAGEOFF]
Lloh15:
	adrp	x9, _rtl8192seradiob_array@GOTPAGE
Lloh16:
	ldr	x9, [x9, _rtl8192seradiob_array@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	x24, [x8]
Lloh17:
	adrp	x8, _COMP_INIT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _COMP_INIT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x3, l_.str@PAGE
Lloh24:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x20
	bl	_RT_TRACE
	cmp	w20, #131
	b.eq	LBB0_5
; %bb.1:
	cmp	w20, #130
	b.ne	LBB0_9
; %bb.2:
	cmp	w23, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x20, #0
Lloh25:
	adrp	x21, _MASK20BITS@GOTPAGE
Lloh26:
	ldr	x21, [x21, _MASK20BITS@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x24, x20, lsl #2
	ldr	w3, [x21]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #130
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w23, w20
	b.gt	LBB0_4
	b	LBB0_9
LBB0_5:
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x20, #0
Lloh27:
	adrp	x23, _MASK20BITS@GOTPAGE
Lloh28:
	ldr	x23, [x23, _MASK20BITS@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x22, x20, lsl #2
	ldr	w3, [x23]
	ldp	w2, w4, [x8]
	mov	x0, x19
	mov	w1, #131
	bl	_rtl_rfreg_delay
	add	x20, x20, #2
	cmp	w21, w20
	b.gt	LBB0_7
LBB0_8:
	mov	x0, x19
	mov	w1, #131
	bl	__rtl92s_phy_config_rfpa_bias_current
LBB0_9:
	mov	w0, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_RADIOA_1T_ARRAYLENGTH,4,2      ; @RADIOA_1T_ARRAYLENGTH
	.comm	_rtl8192seradioa_1t_array,8,3   ; @rtl8192seradioa_1t_array
	.comm	_RF_2T2R_GREEN,8,3              ; @RF_2T2R_GREEN
	.comm	_rtl8192seradiob_gm_array,8,3   ; @rtl8192seradiob_gm_array
	.comm	_RADIOB_GM_ARRAYLENGTH,4,2      ; @RADIOB_GM_ARRAYLENGTH
	.comm	_rtl8192seradiob_array,8,3      ; @rtl8192seradiob_array
	.comm	_RADIOB_ARRAYLENGTH,4,2         ; @RADIOB_ARRAYLENGTH
	.comm	_COMP_INIT,4,2                  ; @COMP_INIT
	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Radio No %x\n"

	.comm	_MASK20BITS,4,2                 ; @MASK20BITS
.subsections_via_symbols
