	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723e_phy_set_rf_power_state
__rtl8723e_phy_set_rf_power_state:      ## @_rtl8723e_phy_set_rf_power_state
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r13
	cmpl	$128, %r14d
	je	LBB0_18
## %bb.1:
	cmpl	$130, %r14d
	je	LBB0_13
## %bb.2:
	cmpl	$129, %r14d
	jne	LBB0_31
## %bb.3:
	cmpl	$130, (%r13)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jne	LBB0_9
## %bb.4:
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_RT_IN_PS_LEVEL
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_DBG_DMESG@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_rtl_ps_enable_nic
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	1(%r14), %eax
	cmpl	$9, %r14d
	movl	%eax, %r14d
	jb	LBB0_6
LBB0_8:
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_RT_CLEAR_PS_LEVEL
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_18:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cmpl	$130, (%r13)
	je	LBB0_29
## %bb.19:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_RTL_PCI_MAX_TX_QUEUE_COUNT@GOTPCREL(%rip), %r13
	movq	_BEACON_QUEUE@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	cmpq	%rax, %r14
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jae	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	(,%r14,4), %rbx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_22 Depth=2
	incq	%r14
	addq	$4, %rbx
	cmpq	%rax, %r14
	jae	LBB0_28
LBB0_22:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	(%r12), %r14
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	(%rdx), %r15
	addq	%rbx, %r15
	movq	%r15, %rdi
	callq	_skb_queue_len
	testl	%eax, %eax
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	(%r13), %rax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	_DBG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	movq	%r15, %rdi
	callq	_skb_queue_len
	movl	%eax, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
	movl	$10, %edi
	callq	_udelay
	movq	_MAX_DOZE_WAITING_TIMES_9x@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, %rbx
	jb	LBB0_20
## %bb.27:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_DBG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	movq	%rdx, %rbx
	callq	_skb_queue_len
	movl	%eax, (%rsp)
	leaq	L_.str.4(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r12d, %edx
	movq	%rbx, %r8
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_RT_TRACE
LBB0_28:
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	subq	16(%rbx), %rdi
	callq	_jiffies_to_msecs
	leaq	L_.str.5(%rip), %rcx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r13d, %edx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r15), %rax
	movq	%rbx, %r13
	movq	%rax, 8(%rbx)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	__rtl8723e_phy_set_rf_sleep
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_29
LBB0_13:
	movq	%r15, %rdi
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, 24(%r13)
	je	LBB0_15
## %bb.14:
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	%rbx, %rdi
	callq	_rtl_ps_disable_nic
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_RT_SET_PS_LEVEL
	jmp	LBB0_29
LBB0_31:
	movq	_COMP_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_LOUD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	jmp	LBB0_30
LBB0_9:
	movq	_COMP_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	subq	8(%r13), %rdi
	callq	_jiffies_to_msecs
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_RT_TRACE
	movq	(%r12), %rax
	movq	%rax, 16(%r13)
	movq	%rbx, %rdi
	callq	_rtl8723e_phy_set_rf_on
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rdx
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	(%rdx), %ecx
	jne	LBB0_16
## %bb.11:
	movq	_LED_CTL_LINK@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_15:
	movl	28(%r13), %ecx
	movq	_RF_CHANGE_BY_IPS@GOTPCREL(%rip), %rdx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpl	(%rdx), %ecx
	jne	LBB0_17
LBB0_16:
	movq	_LED_CTL_NO_LINK@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_17:
	movq	_LED_CTL_POWER_OFF@GOTPCREL(%rip), %rcx
LBB0_12:
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	callq	*%rax
LBB0_29:
	movl	%r14d, (%r13)
	movl	$1, %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ## @RT_RF_OFF_LEVL_HALT_NIC
	.comm	_COMP_RF,4,2                    ## @COMP_RF
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IPS Set eRf nic enable\n"

L_.str.1:                               ## @.str.1
	.asciz	"Set ERFON sleeped:%d ms\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MAC80211_LINKED,4,2            ## @MAC80211_LINKED
	.comm	_LED_CTL_LINK,4,2               ## @LED_CTL_LINK
	.comm	_LED_CTL_NO_LINK,4,2            ## @LED_CTL_NO_LINK
L_.str.2:                               ## @.str.2
	.asciz	"IPS Set eRf nic disable\n"

	.comm	_RF_CHANGE_BY_IPS,4,2           ## @RF_CHANGE_BY_IPS
	.comm	_LED_CTL_POWER_OFF,4,2          ## @LED_CTL_POWER_OFF
	.comm	_RTL_PCI_MAX_TX_QUEUE_COUNT,8,3 ## @RTL_PCI_MAX_TX_QUEUE_COUNT
	.comm	_BEACON_QUEUE,8,3               ## @BEACON_QUEUE
	.comm	_COMP_ERR,4,2                   ## @COMP_ERR
	.comm	_DBG_WARNING,4,2                ## @DBG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"eRf Off/Sleep: %d times TcbBusyQueue[%d] =%d before doze!\n"

	.comm	_MAX_DOZE_WAITING_TIMES_9x,8,3  ## @MAX_DOZE_WAITING_TIMES_9x
L_.str.4:                               ## @.str.4
	.asciz	"ERFSLEEP: %d times TcbBusyQueue[%d] = %d !\n"

L_.str.5:                               ## @.str.5
	.asciz	"Set ERFSLEEP awaked:%d ms\n"

	.comm	_DBG_LOUD,4,2                   ## @DBG_LOUD
L_.str.6:                               ## @.str.6
	.asciz	"switch case %#x not processed\n"

	.no_dead_strip	__rtl8723e_phy_set_rf_power_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723e_phy_set_rf_power_state
__rtl8723e_phy_set_rf_power_state:      ; @_rtl8723e_phy_set_rf_power_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x1
	mov	x21, x0
	bl	_rtl_priv
	mov	x22, x0
	mov	x0, x21
	bl	_rtl_pcipriv
	mov	x23, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x24, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x20, x0
	cmp	w19, #128
	b.eq	LBB0_9
; %bb.1:
	cmp	w19, #130
	b.eq	LBB0_20
; %bb.2:
	cmp	w19, #129
	b.ne	LBB0_22
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #130
	b.ne	LBB0_23
; %bb.4:
Lloh0:
	adrp	x25, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x20
	bl	_RT_IN_PS_LEVEL
	cbz	w0, LBB0_23
; %bb.5:
	mov	w26, #0
Lloh2:
	adrp	x27, _COMP_RF@GOTPAGE
Lloh3:
	ldr	x27, [x27, _COMP_RF@GOTPAGEOFF]
Lloh4:
	adrp	x28, _DBG_DMESG@GOTPAGE
Lloh5:
	ldr	x28, [x28, _DBG_DMESG@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str@PAGE
Lloh7:
	add	x23, x23, l_.str@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x0, x22
	mov	x3, x23
	bl	_RT_TRACE
	mov	x0, x21
	bl	_rtl_ps_enable_nic
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w8, w26, #1
	cmp	w26, #9
	mov	x26, x8
	b.lo	LBB0_6
LBB0_8:
	ldr	w1, [x25]
	mov	x0, x20
	bl	_RT_CLEAR_PS_LEVEL
	b	LBB0_24
LBB0_9:
	ldr	w8, [x20]
	cmp	w8, #130
	b.eq	LBB0_30
; %bb.10:
	stp	x20, xzr, [sp, #32]             ; 16-byte Folded Spill
	mov	x28, #0
Lloh8:
	adrp	x20, _RTL_PCI_MAX_TX_QUEUE_COUNT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _RTL_PCI_MAX_TX_QUEUE_COUNT@GOTPAGEOFF]
Lloh10:
	adrp	x27, _BEACON_QUEUE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _BEACON_QUEUE@GOTPAGEOFF]
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	x8, [x20]
	cmp	x28, x8
	b.hs	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	lsl	x24, x28, #2
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x28, x28, #1
	add	x24, x24, #4
	cmp	x28, x8
	b.hs	LBB0_19
LBB0_14:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x27]
	cmp	x28, x9
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x26, [x23]
	add	x25, x26, x24
	mov	x0, x25
	bl	_skb_queue_len
	cbnz	w0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x8, [x20]
	b	LBB0_13
LBB0_17:                                ;   in Loop: Header=BB0_11 Depth=1
Lloh12:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh15:
	adrp	x8, _DBG_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DBG_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x8, x8, #1
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x25
	bl	_skb_queue_len
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x8, [sp]
	mov	x0, x22
	ldp	w2, w1, [sp, #24]               ; 8-byte Folded Reload
Lloh18:
	adrp	x3, l_.str.3@PAGE
Lloh19:
	add	x3, x3, l_.str.3@PAGEOFF
	bl	_RT_TRACE
	mov	w0, #10
	bl	_udelay
Lloh20:
	adrp	x8, _MAX_DOZE_WAITING_TIMES_9x@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAX_DOZE_WAITING_TIMES_9x@GOTPAGEOFF]
Lloh22:
	ldr	x25, [x8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x8, x25
	b.lo	LBB0_11
; %bb.18:
Lloh23:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w23, [x8]
Lloh26:
	adrp	x8, _DBG_WARNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DBG_WARNING@GOTPAGEOFF]
Lloh28:
	ldr	w27, [x8]
	add	x0, x26, x24
	bl	_skb_queue_len
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #8]
	str	x25, [sp]
Lloh29:
	adrp	x3, l_.str.4@PAGE
Lloh30:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x2, x27
	bl	_RT_TRACE
LBB0_19:
Lloh31:
	adrp	x8, _COMP_RF@GOTPAGE
Lloh32:
	ldr	x8, [x8, _COMP_RF@GOTPAGEOFF]
Lloh33:
	ldr	w23, [x8]
Lloh34:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh36:
	ldr	w24, [x8]
Lloh37:
	adrp	x25, _jiffies@GOTPAGE
Lloh38:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x9, [x20, #16]
	sub	x0, x8, x9
	bl	_jiffies_to_msecs
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh39:
	adrp	x3, l_.str.5@PAGE
Lloh40:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_RT_TRACE
	ldr	x8, [x25]
	str	x8, [x20, #8]
	mov	x0, x21
	bl	__rtl8723e_phy_set_rf_sleep
	b	LBB0_30
LBB0_20:
	ldr	w8, [x20, #24]
Lloh41:
	adrp	x23, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGE
Lloh42:
	ldr	x23, [x23, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.21:
Lloh43:
	adrp	x8, _COMP_RF@GOTPAGE
Lloh44:
	ldr	x8, [x8, _COMP_RF@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
Lloh46:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x8]
Lloh49:
	adrp	x3, l_.str.2@PAGE
Lloh50:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	mov	x0, x21
	bl	_rtl_ps_disable_nic
	ldr	w1, [x23]
	mov	x0, x20
	bl	_RT_SET_PS_LEVEL
	b	LBB0_30
LBB0_22:
Lloh51:
	adrp	x8, _COMP_ERR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _COMP_ERR@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
Lloh54:
	adrp	x8, _DBG_LOUD@GOTPAGE
Lloh55:
	ldr	x8, [x8, _DBG_LOUD@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	str	x19, [sp]
Lloh57:
	adrp	x3, l_.str.6@PAGE
Lloh58:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_RT_TRACE
	mov	w0, #0
	b	LBB0_31
LBB0_23:
Lloh59:
	adrp	x8, _COMP_RF@GOTPAGE
Lloh60:
	ldr	x8, [x8, _COMP_RF@GOTPAGEOFF]
Lloh61:
	ldr	w23, [x8]
Lloh62:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh63:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh64:
	ldr	w25, [x8]
Lloh65:
	adrp	x26, _jiffies@GOTPAGE
Lloh66:
	ldr	x26, [x26, _jiffies@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x9, [x20, #8]
	sub	x0, x8, x9
	bl	_jiffies_to_msecs
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh67:
	adrp	x3, l_.str.1@PAGE
Lloh68:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	bl	_RT_TRACE
	ldr	x8, [x26]
	str	x8, [x20, #16]
	mov	x0, x21
	bl	_rtl8723e_phy_set_rf_on
LBB0_24:
Lloh69:
	adrp	x8, _MAC80211_LINKED@GOTPAGE
Lloh70:
	ldr	x8, [x8, _MAC80211_LINKED@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh71:
	ldr	w10, [x8]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	w9, w10
	b.ne	LBB0_27
; %bb.25:
Lloh72:
	adrp	x9, _LED_CTL_LINK@GOTPAGE
Lloh73:
	ldr	x9, [x9, _LED_CTL_LINK@GOTPAGEOFF]
	b	LBB0_29
LBB0_26:
Lloh74:
	adrp	x8, _RF_CHANGE_BY_IPS@GOTPAGE
Lloh75:
	ldr	x8, [x8, _RF_CHANGE_BY_IPS@GOTPAGEOFF]
	ldr	w9, [x20, #28]
Lloh76:
	ldr	w10, [x8]
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	w9, w10
	b.ne	LBB0_28
LBB0_27:
Lloh77:
	adrp	x9, _LED_CTL_NO_LINK@GOTPAGE
Lloh78:
	ldr	x9, [x9, _LED_CTL_NO_LINK@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
Lloh79:
	adrp	x9, _LED_CTL_POWER_OFF@GOTPAGE
Lloh80:
	ldr	x9, [x9, _LED_CTL_POWER_OFF@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x9]
	mov	x0, x21
	blr	x8
LBB0_30:
	str	w19, [x20]
	mov	w0, #1
LBB0_31:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ; @RT_RF_OFF_LEVL_HALT_NIC
	.comm	_COMP_RF,4,2                    ; @COMP_RF
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPS Set eRf nic enable\n"

l_.str.1:                               ; @.str.1
	.asciz	"Set ERFON sleeped:%d ms\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MAC80211_LINKED,4,2            ; @MAC80211_LINKED
	.comm	_LED_CTL_LINK,4,2               ; @LED_CTL_LINK
	.comm	_LED_CTL_NO_LINK,4,2            ; @LED_CTL_NO_LINK
l_.str.2:                               ; @.str.2
	.asciz	"IPS Set eRf nic disable\n"

	.comm	_RF_CHANGE_BY_IPS,4,2           ; @RF_CHANGE_BY_IPS
	.comm	_LED_CTL_POWER_OFF,4,2          ; @LED_CTL_POWER_OFF
	.comm	_RTL_PCI_MAX_TX_QUEUE_COUNT,8,3 ; @RTL_PCI_MAX_TX_QUEUE_COUNT
	.comm	_BEACON_QUEUE,8,3               ; @BEACON_QUEUE
	.comm	_COMP_ERR,4,2                   ; @COMP_ERR
	.comm	_DBG_WARNING,4,2                ; @DBG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"eRf Off/Sleep: %d times TcbBusyQueue[%d] =%d before doze!\n"

	.comm	_MAX_DOZE_WAITING_TIMES_9x,8,3  ; @MAX_DOZE_WAITING_TIMES_9x
l_.str.4:                               ; @.str.4
	.asciz	"ERFSLEEP: %d times TcbBusyQueue[%d] = %d !\n"

l_.str.5:                               ; @.str.5
	.asciz	"Set ERFSLEEP awaked:%d ms\n"

	.comm	_DBG_LOUD,4,2                   ; @DBG_LOUD
l_.str.6:                               ; @.str.6
	.asciz	"switch case %#x not processed\n"

	.no_dead_strip	__rtl8723e_phy_set_rf_power_state
.subsections_via_symbols
