	.file	"extr_hw.c__rtl92ee_fwlps_enter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_rtl92ee_fwlps_enter, @function
_rtl92ee_fwlps_enter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	rtl_priv@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_psc@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_hal@PLT
	cmp	QWORD PTR 8[r12], 0
	mov	DWORD PTR [rsp], 1
	je	.L2
	mov	r13, rax
	mov	eax, DWORD PTR FW_PS_STATE_RF_OFF_LOW_PWR[rip]
	mov	rdx, rsp
	mov	rdi, rbp
	mov	esi, DWORD PTR HW_VAR_FW_PSMODE_STATUS[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR HW_VAR_H2C_FW_PWRMODE[rip]
	mov	rdi, rbp
	mov	rdx, r12
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	mov	DWORD PTR 0[r13], 1
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	_rtl92ee_set_fw_clock_off@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR FW_PS_STATE_RF_OFF_92E[rip]
	mov	rdx, rsp
	mov	rdi, rbp
	mov	esi, DWORD PTR HW_VAR_FW_PSMODE_STATUS[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR [rbx]
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR [rbx]
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, DWORD PTR HW_VAR_H2C_FW_PWRMODE[rip]
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR HW_VAR_SET_RPWM[rip]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_rtl92ee_fwlps_enter, .-_rtl92ee_fwlps_enter
	.comm	HW_VAR_SET_RPWM,4,4
	.comm	HW_VAR_H2C_FW_PWRMODE,4,4
	.comm	HW_VAR_FW_PSMODE_STATUS,4,4
	.comm	FW_PS_STATE_RF_OFF_LOW_PWR,4,4
	.comm	FW_PS_STATE_RF_OFF_92E,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hw.c__rtl92ee_fwlps_enter.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_rtl92ee_fwlps_enter, %function
_rtl92ee_fwlps_enter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L8
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r0
	bl	rtl_priv
	mov	r5, r0
	mov	r0, r4
	bl	rtl_priv
	bl	rtl_psc
	mov	r6, r0
	mov	r8, #1
	mov	r0, r4
	bl	rtl_priv
	bl	rtl_hal
	ldr	r3, [r6, #4]
	str	r8, [sp, #4]
	cmp	r3, #0
	beq	.L2
	mov	r7, r0
	ldr	r3, [r5]
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r2, .L8+8
	ldr	r3, [r3]
	str	r1, [sp, #8]
	mov	r0, r4
	ldr	r1, [r2]
	add	r2, sp, #4
	blx	r3
	ldr	r3, [r5]
	ldr	r1, .L8+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r2, r6
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	str	r8, [r7]
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	_rtl92ee_set_fw_clock_off
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r5]
	ldr	r2, .L8+16
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r2, .L8+8
	str	r1, [sp, #8]
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r3, [r3]
	add	r2, sp, #4
	blx	r3
	ldr	r3, [r5]
	ldr	r1, .L8+12
	ldr	r3, [r3]
	mov	r2, r6
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r1, [r1]
	blx	r3
	ldr	r3, [r5]
	ldr	r2, .L8+20
	ldr	r3, [r3]
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r3, [r3]
	add	r2, sp, #8
	blx	r3
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	FW_PS_STATE_RF_OFF_LOW_PWR
	.word	HW_VAR_FW_PSMODE_STATUS
	.word	HW_VAR_H2C_FW_PWRMODE
	.word	FW_PS_STATE_RF_OFF_92E
	.word	HW_VAR_SET_RPWM
	.size	_rtl92ee_fwlps_enter, .-_rtl92ee_fwlps_enter
	.comm	HW_VAR_SET_RPWM,4,4
	.comm	HW_VAR_H2C_FW_PWRMODE,4,4
	.comm	HW_VAR_FW_PSMODE_STATUS,4,4
	.comm	FW_PS_STATE_RF_OFF_LOW_PWR,4,4
	.comm	FW_PS_STATE_RF_OFF_92E,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
