	.file	"extr_fw.c_rtl8723be_set_fw_rsvdpagepkt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"rtl8723be_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: ALL\n"
	.align 8
.LC1:
	.string	"Set RSVD page location to Fw FAIL!!!!!!.\n"
	.align 8
.LC2:
	.string	"Set RSVD page location to Fw.\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"H2C_RSVDPAGE:\n"
	.text
	.p2align 4
	.globl	rtl8723be_set_fw_rsvdpagepkt
	.type	rtl8723be_set_fw_rsvdpagepkt, @function
rtl8723be_set_fw_rsvdpagepkt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	rtl_priv@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_mac@PLT
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	pxor	xmm0, xmm0
	mov	DWORD PTR 16[rsp], 0
	mov	rbx, rax
	mov	eax, DWORD PTR BEACON_PG[rip]
	movaps	XMMWORD PTR [rsp], xmm0
	mov	esi, DWORD PTR 8[rbx]
	sal	eax, 7
	cdqe
	lea	r12, [rdx+rax*4]
	mov	rdi, r12
	call	SET_80211_HDR_ADDRESS2@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r12
	call	SET_80211_HDR_ADDRESS3@PLT
	mov	eax, DWORD PTR PSPOLL_PG[rip]
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	mov	esi, DWORD PTR [rbx]
	sal	eax, 7
	cdqe
	or	esi, 49152
	lea	r12, [rdx+rax*4]
	mov	rdi, r12
	call	SET_80211_PS_POLL_AID@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r12
	call	SET_80211_PS_POLL_BSSID@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r12
	mov	r12, rsp
	call	SET_80211_PS_POLL_TA@PLT
	mov	esi, DWORD PTR PSPOLL_PG[rip]
	mov	rdi, r12
	call	SET_H2CCMD_RSVDPAGE_LOC_PSPOLL@PLT
	mov	eax, DWORD PTR NULL_PG[rip]
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	mov	esi, DWORD PTR 4[rbx]
	sal	eax, 7
	cdqe
	lea	r14, [rdx+rax*4]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS1@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS2@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS3@PLT
	mov	esi, DWORD PTR NULL_PG[rip]
	mov	rdi, r12
	call	SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA@PLT
	mov	eax, DWORD PTR PROBERSP_PG[rip]
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	mov	esi, DWORD PTR 4[rbx]
	sal	eax, 7
	cdqe
	lea	r14, [rdx+rax*4]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS1@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS2@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS3@PLT
	mov	esi, DWORD PTR PROBERSP_PG[rip]
	mov	rdi, r12
	call	SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP@PLT
	mov	eax, DWORD PTR QOS_NULL_PG[rip]
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	mov	esi, DWORD PTR 4[rbx]
	sal	eax, 7
	cdqe
	lea	r14, [rdx+rax*4]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS1@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS2@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS3@PLT
	mov	esi, DWORD PTR QOS_NULL_PG[rip]
	mov	rdi, r12
	call	SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA@PLT
	mov	eax, DWORD PTR BT_QOS_NULL_PG[rip]
	mov	rdx, QWORD PTR reserved_page_packet[rip]
	mov	esi, DWORD PTR 4[rbx]
	sal	eax, 7
	cdqe
	lea	r14, [rdx+rax*4]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS1@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS2@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, r14
	call	SET_80211_HDR_ADDRESS3@PLT
	mov	esi, DWORD PTR BT_QOS_NULL_PG[rip]
	mov	rdi, r12
	call	SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA@PLT
	mov	r15d, DWORD PTR TOTAL_RESERVED_PKT_LEN[rip]
	mov	rdi, r13
	mov	r8, QWORD PTR reserved_page_packet[rip]
	mov	edx, DWORD PTR DBG_LOUD[rip]
	mov	esi, DWORD PTR COMP_CMD[rip]
	lea	rcx, .LC0[rip]
	mov	r9d, r15d
	call	RT_PRINT_DATA@PLT
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	rdi, r13
	mov	esi, DWORD PTR COMP_CMD[rip]
	mov	r9d, 20
	mov	r8, r12
	lea	rcx, .LC0[rip]
	call	RT_PRINT_DATA@PLT
	mov	edi, r15d
	call	dev_alloc_skb@PLT
	test	rax, rax
	je	.L1
	mov	r14, rax
	lea	rsi, reserved_page_packet[rip]
	mov	rdi, rax
	mov	edx, r15d
	call	skb_put_data@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	rtl_cmd_send_packet@PLT
	test	eax, eax
	je	.L8
	mov	edx, DWORD PTR DBG_LOUD[rip]
	mov	esi, DWORD PTR COMP_POWER[rip]
	lea	rcx, .LC2[rip]
	mov	rdi, r13
	call	RT_TRACE@PLT
	mov	edx, DWORD PTR DBG_DMESG[rip]
	mov	rdi, r13
	mov	r8, r12
	mov	esi, DWORD PTR COMP_CMD[rip]
	lea	rcx, .LC3[rip]
	mov	r9d, 20
	call	RT_PRINT_DATA@PLT
	mov	rcx, r12
	mov	edx, 20
	mov	rdi, rbp
	mov	esi, DWORD PTR H2C_8723B_RSVDPAGE[rip]
	call	rtl8723be_fill_h2c_cmd@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR DBG_WARNING[rip]
	mov	esi, DWORD PTR COMP_ERR[rip]
	lea	rcx, .LC1[rip]
	mov	rdi, r13
	call	RT_TRACE@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtl8723be_set_fw_rsvdpagepkt, .-rtl8723be_set_fw_rsvdpagepkt
	.comm	reserved_page_packet,8,8
	.comm	TOTAL_RESERVED_PKT_LEN,4,4
	.comm	QOS_NULL_PG,4,4
	.comm	PSPOLL_PG,4,4
	.comm	PROBERSP_PG,4,4
	.comm	NULL_PG,4,4
	.comm	H2C_8723B_RSVDPAGE,4,4
	.comm	DBG_WARNING,4,4
	.comm	DBG_LOUD,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_POWER,4,4
	.comm	COMP_ERR,4,4
	.comm	COMP_CMD,4,4
	.comm	BT_QOS_NULL_PG,4,4
	.comm	BEACON_PG,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_fw.c_rtl8723be_set_fw_rsvdpagepkt.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rtl8723be_set_fw_rsvdpagepkt(): HW_VAR_SET_TX_CMD: "
	.ascii	"ALL\012\000"
	.align	2
.LC1:
	.ascii	"Set RSVD page location to Fw FAIL!!!!!!.\012\000"
	.align	2
.LC2:
	.ascii	"Set RSVD page location to Fw.\012\000"
	.align	2
.LC3:
	.ascii	"H2C_RSVDPAGE:\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rtl8723be_set_fw_rsvdpagepkt
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl8723be_set_fw_rsvdpagepkt, %function
rtl8723be_set_fw_rsvdpagepkt:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L10
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r8, r0
	bl	rtl_priv
	mov	r6, r0
	mov	r0, r8
	bl	rtl_priv
	bl	rtl_mac
	mov	r3, #0
	mov	r4, r0
	ldr	r5, .L10+4
	ldr	r2, .L10+8
	ldr	r7, [r5]
	ldr	r2, [r2]
	str	r3, [sp, #16]
	add	r7, r7, r2, lsl #9
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	ldr	r1, [r4, #8]
	ldr	r9, .L10+12
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS2
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS3
	ldr	r3, [r9]
	ldr	r7, [r5]
	ldr	r1, [r4]
	add	r7, r7, r3, lsl #9
	mov	r0, r7
	orr	r1, r1, #49152
	bl	SET_80211_PS_POLL_AID
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_PS_POLL_BSSID
	ldr	fp, .L10+16
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	SET_80211_PS_POLL_TA
	ldr	r1, [r9]
	add	r0, sp, #16
	bl	SET_H2CCMD_RSVDPAGE_LOC_PSPOLL
	ldr	r3, [fp]
	ldr	r7, [r5]
	ldr	r1, [r4, #4]
	add	r7, r7, r3, lsl #9
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS1
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS2
	ldr	r10, .L10+20
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS3
	mov	r9, #20
	ldr	r1, [fp]
	add	r0, sp, #16
	bl	SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA
	ldr	r3, [r10]
	ldr	r7, [r5]
	ldr	r1, [r4, #4]
	add	r7, r7, r3, lsl #9
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS1
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS2
	ldr	fp, .L10+24
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS3
	ldr	r1, [r10]
	add	r0, sp, #16
	bl	SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP
	ldr	r3, [fp]
	ldr	r7, [r5]
	ldr	r1, [r4, #4]
	add	r7, r7, r3, lsl #9
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS1
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS2
	ldr	r10, .L10+28
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS3
	ldr	r1, [fp]
	add	r0, sp, #16
	bl	SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA
	ldr	r3, [r10]
	ldr	r7, [r5]
	ldr	r1, [r4, #4]
	add	r7, r7, r3, lsl #9
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS1
	ldr	r1, [r4, #8]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS2
	ldr	r1, [r4, #4]
	mov	r0, r7
	bl	SET_80211_HDR_ADDRESS3
	ldr	r1, [r10]
	add	r0, sp, #16
	bl	SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA
	ldr	r2, .L10+32
	ldr	r3, [r5]
	ldr	r4, [r2]
	ldr	r7, .L10+36
	stm	sp, {r3, r4}
	ldr	fp, .L10+40
	ldr	r1, [r7]
	ldr	r2, [fp]
	ldr	r3, .L10+44
	mov	r0, r6
	bl	RT_PRINT_DATA
	add	r3, sp, #16
	str	r3, [sp]
	ldr	r10, .L10+48
	ldr	r1, [r7]
	str	r9, [sp, #4]
	ldr	r3, .L10+44
	ldr	r2, [r10]
	mov	r0, r6
	bl	RT_PRINT_DATA
	mov	r0, r4
	bl	dev_alloc_skb
	subs	r3, r0, #0
	str	r3, [sp, #12]
	beq	.L1
	mov	r2, r4
	mov	r1, r5
	bl	skb_put_data
	ldr	r3, [sp, #12]
	mov	r0, r8
	mov	r1, r3
	bl	rtl_cmd_send_packet
	cmp	r0, #0
	beq	.L8
	ldr	r3, .L10+52
	ldr	r2, [fp]
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r3, .L10+56
	bl	RT_TRACE
	add	r3, sp, #16
	str	r3, [sp]
	str	r9, [sp, #4]
	ldr	r2, [r10]
	ldr	r1, [r7]
	ldr	r3, .L10+60
	mov	r0, r6
	bl	RT_PRINT_DATA
	ldr	r1, .L10+64
	mov	r2, r9
	mov	r0, r8
	ldr	r1, [r1]
	add	r3, sp, #16
	bl	rtl8723be_fill_h2c_cmd
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r3, .L10+68
	ldr	r2, .L10+72
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r3, .L10+76
	bl	RT_TRACE
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	reserved_page_packet
	.word	BEACON_PG
	.word	PSPOLL_PG
	.word	NULL_PG
	.word	PROBERSP_PG
	.word	QOS_NULL_PG
	.word	BT_QOS_NULL_PG
	.word	TOTAL_RESERVED_PKT_LEN
	.word	COMP_CMD
	.word	DBG_LOUD
	.word	.LC0
	.word	DBG_DMESG
	.word	COMP_POWER
	.word	.LC2
	.word	.LC3
	.word	H2C_8723B_RSVDPAGE
	.word	COMP_ERR
	.word	DBG_WARNING
	.word	.LC1
	.size	rtl8723be_set_fw_rsvdpagepkt, .-rtl8723be_set_fw_rsvdpagepkt
	.comm	reserved_page_packet,4,4
	.comm	TOTAL_RESERVED_PKT_LEN,4,4
	.comm	QOS_NULL_PG,4,4
	.comm	PSPOLL_PG,4,4
	.comm	PROBERSP_PG,4,4
	.comm	NULL_PG,4,4
	.comm	H2C_8723B_RSVDPAGE,4,4
	.comm	DBG_WARNING,4,4
	.comm	DBG_LOUD,4,4
	.comm	DBG_DMESG,4,4
	.comm	COMP_POWER,4,4
	.comm	COMP_ERR,4,4
	.comm	COMP_CMD,4,4
	.comm	BT_QOS_NULL_PG,4,4
	.comm	BEACON_PG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
