	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723be_fwlps_enter
__rtl8723be_fwlps_enter:                ## @_rtl8723be_fwlps_enter
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movl	$1, -40(%rbp)
	cmpq	$0, 8(%r15)
	je	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movq	_FW_PS_STATE_RF_OFF_LOW_PWR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_FW_PSMODE_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_PWRMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	*(%rax)
	movl	$1, (%r12)
	movl	-36(%rbp), %esi
	movq	%rbx, %rdi
	callq	__rtl8723be_set_fw_clock_off
	jmp	LBB0_3
LBB0_2:
	movq	_FW_PS_STATE_RF_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_FW_PSMODE_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_H2C_FW_PWRMODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	*(%rax)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_SET_RPWM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PS_STATE_RF_OFF_LOW_PWR,4,2 ## @FW_PS_STATE_RF_OFF_LOW_PWR
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ## @HW_VAR_FW_PSMODE_STATUS
	.comm	_HW_VAR_H2C_FW_PWRMODE,4,2      ## @HW_VAR_H2C_FW_PWRMODE
	.comm	_FW_PS_STATE_RF_OFF,4,2         ## @FW_PS_STATE_RF_OFF
	.comm	_HW_VAR_SET_RPWM,4,2            ## @HW_VAR_SET_RPWM
	.no_dead_strip	__rtl8723be_fwlps_enter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723be_fwlps_enter
__rtl8723be_fwlps_enter:                ; @_rtl8723be_fwlps_enter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x21, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	mov	w23, #1
	str	w23, [sp, #12]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x22, x0
Lloh0:
	adrp	x8, _FW_PS_STATE_RF_OFF_LOW_PWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PS_STATE_RF_OFF_LOW_PWR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x21
	blr	x8
	str	w23, [x22]
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	__rtl8723be_set_fw_clock_off
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _FW_PS_STATE_RF_OFF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_PS_STATE_RF_OFF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HW_VAR_FW_PSMODE_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HW_VAR_H2C_FW_PWRMODE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x9]
	mov	x0, x19
	mov	x2, x21
	blr	x8
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _HW_VAR_SET_RPWM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HW_VAR_SET_RPWM@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	add	x2, sp, #8
	mov	x0, x19
	blr	x8
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PS_STATE_RF_OFF_LOW_PWR,4,2 ; @FW_PS_STATE_RF_OFF_LOW_PWR
	.comm	_HW_VAR_FW_PSMODE_STATUS,4,2    ; @HW_VAR_FW_PSMODE_STATUS
	.comm	_HW_VAR_H2C_FW_PWRMODE,4,2      ; @HW_VAR_H2C_FW_PWRMODE
	.comm	_FW_PS_STATE_RF_OFF,4,2         ; @FW_PS_STATE_RF_OFF
	.comm	_HW_VAR_SET_RPWM,4,2            ; @HW_VAR_SET_RPWM
	.no_dead_strip	__rtl8723be_fwlps_enter
.subsections_via_symbols
