	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92s_phy_set_bb_to_diff_rf
__rtl92s_phy_set_bb_to_diff_rf:         ## @_rtl92s_phy_set_bb_to_diff_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
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_rtl_priv
	movq	(%rax), %rax
	movq	_RF_1T1R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_PHY_CHANGETO_1T1RARRAYLENGTH@GOTPCREL(%rip), %rcx
	movq	_rtl8192sephy_changeto_1t1rarray@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_RF_1T2R@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.3:
	movq	_PHY_CHANGETO_1T2RARRAYLENGTH@GOTPCREL(%rip), %rcx
	movq	_rtl8192sephy_changeto_1t2rarray@GOTPCREL(%rip), %rax
LBB0_4:
	movq	_BASEBAND_CONFIG_PHY_REG@GOTPCREL(%rip), %rdx
	movl	$1, %r14d
	cmpq	%r15, (%rdx)
	jne	LBB0_8
## %bb.5:
	movl	(%rcx), %r15d
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.6:
	movq	(%rax), %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %edi
	callq	_rtl_addr_delay
	movl	(%r13,%rbx,4), %esi
	movl	4(%r13,%rbx,4), %edx
	movl	8(%r13,%rbx,4), %ecx
	movq	%r12, %rdi
	callq	_rtl92s_phy_set_bb_reg
	addq	$3, %rbx
	cmpl	%ebx, %r15d
	jg	LBB0_7
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_1T1R,8,3                    ## @RF_1T1R
	.comm	_rtl8192sephy_changeto_1t1rarray,8,3 ## @rtl8192sephy_changeto_1t1rarray
	.comm	_PHY_CHANGETO_1T1RARRAYLENGTH,4,2 ## @PHY_CHANGETO_1T1RARRAYLENGTH
	.comm	_RF_1T2R,8,3                    ## @RF_1T2R
	.comm	_rtl8192sephy_changeto_1t2rarray,8,3 ## @rtl8192sephy_changeto_1t2rarray
	.comm	_PHY_CHANGETO_1T2RARRAYLENGTH,4,2 ## @PHY_CHANGETO_1T2RARRAYLENGTH
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ## @BASEBAND_CONFIG_PHY_REG
	.no_dead_strip	__rtl92s_phy_set_bb_to_diff_rf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92s_phy_set_bb_to_diff_rf
__rtl92s_phy_set_bb_to_diff_rf:         ; @_rtl92s_phy_set_bb_to_diff_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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RF_1T1R@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RF_1T1R@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _PHY_CHANGETO_1T1RARRAYLENGTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_CHANGETO_1T1RARRAYLENGTH@GOTPAGEOFF]
Lloh5:
	adrp	x8, _rtl8192sephy_changeto_1t1rarray@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rtl8192sephy_changeto_1t1rarray@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh7:
	adrp	x9, _RF_1T2R@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RF_1T2R@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
Lloh10:
	adrp	x9, _PHY_CHANGETO_1T2RARRAYLENGTH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PHY_CHANGETO_1T2RARRAYLENGTH@GOTPAGEOFF]
Lloh12:
	adrp	x8, _rtl8192sephy_changeto_1t2rarray@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rtl8192sephy_changeto_1t2rarray@GOTPAGEOFF]
LBB0_4:
	ldr	w21, [x9]
Lloh14:
	adrp	x9, _BASEBAND_CONFIG_PHY_REG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BASEBAND_CONFIG_PHY_REG@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x20
	ccmp	w21, #1, #8, eq
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
	ldr	x22, [x8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x23, x22, x20, lsl #2
	ldr	w0, [x23]
	bl	_rtl_addr_delay
	ldp	w1, w2, [x23]
	ldr	w3, [x23, #8]
	mov	x0, x19
	bl	_rtl92s_phy_set_bb_reg
	add	x20, x20, #3
	cmp	w21, w20
	b.gt	LBB0_6
LBB0_7:
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_1T1R,8,3                    ; @RF_1T1R
	.comm	_rtl8192sephy_changeto_1t1rarray,8,3 ; @rtl8192sephy_changeto_1t1rarray
	.comm	_PHY_CHANGETO_1T1RARRAYLENGTH,4,2 ; @PHY_CHANGETO_1T1RARRAYLENGTH
	.comm	_RF_1T2R,8,3                    ; @RF_1T2R
	.comm	_rtl8192sephy_changeto_1t2rarray,8,3 ; @rtl8192sephy_changeto_1t2rarray
	.comm	_PHY_CHANGETO_1T2RARRAYLENGTH,4,2 ; @PHY_CHANGETO_1T2RARRAYLENGTH
	.comm	_BASEBAND_CONFIG_PHY_REG,8,3    ; @BASEBAND_CONFIG_PHY_REG
	.no_dead_strip	__rtl92s_phy_set_bb_to_diff_rf
.subsections_via_symbols
