	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92c_phy_set_rf_sleep       ## -- Begin function _rtl92c_phy_set_rf_sleep
	.p2align	4, 0x90
__rtl92c_phy_set_rf_sleep:              ## @_rtl92c_phy_set_rf_sleep
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	_REG_TXPAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_rtl_write_byte
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_rtl_set_rfreg
	movq	_REG_APSD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	$64, %edx
	callq	_rtl_write_byte
	movl	(%r12), %esi
	movl	(%r13), %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl_get_rfreg
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movl	$5, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_REG_APSD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_byte
	movq	_RF90_PATH_A@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_RFREG_OFFSET_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_rtl_set_rfreg
	movq	_REG_APSD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$64, %edx
	callq	_rtl_write_byte
	movl	(%r13), %esi
	movl	(%r15), %ecx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_rtl_get_rfreg
	leaq	-1(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$1, %r12
	movq	%rcx, %r12
	jne	LBB0_2
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_6:
	movq	_REG_SYS_FUNC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$226, %edx
	callq	_rtl_write_byte
	movq	_REG_SPS0_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$34, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
LBB0_5:
	movq	_REG_APSD_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_byte
	movq	_REG_SYS_FUNC_EN@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$226, %edx
	callq	_rtl_write_byte
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$227, %edx
	callq	_rtl_write_byte
	movq	_REG_TXPAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_byte
	movq	_COMP_POWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_TXPAUSE,4,2                ## @REG_TXPAUSE
	.comm	_RF90_PATH_A,4,2                ## @RF90_PATH_A
	.comm	_RFREG_OFFSET_MASK,4,2          ## @RFREG_OFFSET_MASK
	.comm	_REG_APSD_CTRL,4,2              ## @REG_APSD_CTRL
	.comm	_REG_SYS_FUNC_EN,4,2            ## @REG_SYS_FUNC_EN
	.comm	_COMP_POWER,4,2                 ## @COMP_POWER
	.comm	_DBG_TRACE,4,2                  ## @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Switch RF timeout !!!.\n"

	.comm	_REG_SPS0_CTRL,4,2              ## @REG_SPS0_CTRL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtl92c_phy_set_rf_sleep       ; -- Begin function _rtl92c_phy_set_rf_sleep
	.p2align	2
__rtl92c_phy_set_rf_sleep:              ; @_rtl92c_phy_set_rf_sleep
	.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, x0
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x21, _REG_TXPAUSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _REG_TXPAUSE@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #255
	bl	_rtl_write_byte
Lloh2:
	adrp	x22, _RF90_PATH_A@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RF90_PATH_A@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh4:
	adrp	x23, _RFREG_OFFSET_MASK@GOTPAGE
Lloh5:
	ldr	x23, [x23, _RFREG_OFFSET_MASK@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
Lloh6:
	adrp	x24, _REG_APSD_CTRL@GOTPAGE
Lloh7:
	ldr	x24, [x24, _REG_APSD_CTRL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	cbz	x0, LBB0_6
; %bb.2:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	mov	w4, #0
	bl	_rtl_set_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #64
	bl	_rtl_write_byte
	ldr	w1, [x22]
	ldr	w3, [x23]
	mov	x0, x20
	mov	w2, #0
	bl	_rtl_get_rfreg
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
Lloh8:
	adrp	x20, _REG_SYS_FUNC_EN@GOTPAGE
Lloh9:
	ldr	x20, [x20, _REG_SYS_FUNC_EN@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #226
	bl	_rtl_write_byte
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #227
	bl	_rtl_write_byte
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
Lloh10:
	adrp	x8, _COMP_POWER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _COMP_POWER@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _DBG_TRACE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DBG_TRACE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x3, l_.str@PAGE
Lloh17:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	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
	b	_RT_TRACE
LBB0_6:
Lloh18:
	adrp	x8, _REG_SYS_FUNC_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REG_SYS_FUNC_EN@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #226
	bl	_rtl_write_byte
Lloh21:
	adrp	x8, _REG_SPS0_CTRL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _REG_SPS0_CTRL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #34
	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
	b	_rtl_write_byte
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_TXPAUSE,4,2                ; @REG_TXPAUSE
	.comm	_RF90_PATH_A,4,2                ; @RF90_PATH_A
	.comm	_RFREG_OFFSET_MASK,4,2          ; @RFREG_OFFSET_MASK
	.comm	_REG_APSD_CTRL,4,2              ; @REG_APSD_CTRL
	.comm	_REG_SYS_FUNC_EN,4,2            ; @REG_SYS_FUNC_EN
	.comm	_COMP_POWER,4,2                 ; @COMP_POWER
	.comm	_DBG_TRACE,4,2                  ; @DBG_TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Switch RF timeout !!!.\n"

	.comm	_REG_SPS0_CTRL,4,2              ; @REG_SPS0_CTRL
.subsections_via_symbols
