	.file	"extr_cmmsta.c_zfSendPSPoll.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Alloc mm buf Fail!"
	.text
	.p2align 4
	.globl	zfSendPSPoll
	.type	zfSendPSPoll, @function
zfSendPSPoll:
.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
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	zmw_get_wlan_dev@PLT
	mov	esi, 1024
	mov	rdi, rbp
	call	zfwBufAllocate@PLT
	test	rax, rax
	je	.L7
	xor	edx, edx
	mov	rsi, rax
	mov	rdi, rbp
	mov	r12, rax
	call	zfwBufSetSize@PLT
	mov	r13, rsp
	xor	r8d, r8d
	mov	r9, r12
	mov	rax, QWORD PTR wd[rip]
	mov	esi, DWORD PTR ZM_WLAN_FRAME_TYPE_PSPOLL[rip]
	mov	rcx, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR 4[rax]
	push	0
	.cfi_def_cfa_offset 120
	push	0
	.cfi_def_cfa_offset 128
	call	zfTxGenMmHeader@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rax, QWORD PTR wd[rip]
	mov	edx, 24
	mov	rsi, r13
	mov	rdi, rbp
	or	DWORD PTR 32[rsp], 4096
	mov	DWORD PTR 16[rsp], 20
	mov	eax, DWORD PTR [rax]
	or	ah, -64
	mov	DWORD PTR 36[rsp], eax
	mov	eax, DWORD PTR ZM_INTERNAL_ALLOC_BUF[rip]
	push	255
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	push	rax
	.cfi_def_cfa_offset 152
	push	0
	.cfi_def_cfa_offset 160
	push	r12
	.cfi_def_cfa_offset 168
	push	0
	.cfi_def_cfa_offset 176
	call	zfHpSend@PLT
	add	rsp, 64
	.cfi_def_cfa_offset 112
	cmp	DWORD PTR ZM_SUCCESS[rip], eax
	jne	.L8
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 80
	.cfi_remember_state
	.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
.L8:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, rbp
	call	zfwBufFree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, DWORD PTR ZM_LV_0[rip]
	lea	rsi, .LC0[rip]
	call	zm_msg0_mm@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfSendPSPoll, .-zfSendPSPoll
	.comm	wd,8,8
	.comm	ZM_WLAN_FRAME_TYPE_PSPOLL,4,4
	.comm	ZM_SUCCESS,4,4
	.comm	ZM_LV_0,4,4
	.comm	ZM_INTERNAL_ALLOC_BUF,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_cmmsta.c_zfSendPSPoll.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Alloc mm buf Fail!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zfSendPSPoll
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfSendPSPoll, %function
zfSendPSPoll:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	ldr	r3, .L10
	sub	sp, sp, #108
	ldr	r3, [r3]
	str	r3, [sp, #100]
	mov	r3,#0
	bl	zmw_get_wlan_dev
	mov	r0, r5
	mov	r1, #1024
	bl	zfwBufAllocate
	subs	r6, r0, #0
	beq	.L7
	mov	r4, #0
	ldr	r7, .L10+4
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	bl	zfwBufSetSize
	ldr	r2, [r7]
	ldr	r3, .L10+8
	ldr	r2, [r2, #4]
	str	r6, [sp, #4]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp]
	ldr	r1, [r3]
	mov	r0, r5
	add	r3, sp, #36
	bl	zfTxGenMmHeader
	mov	ip, #20
	mov	r2, #255
	ldr	r3, [sp, #52]
	ldr	r0, [r7]
	ldr	r1, .L10+12
	orr	r3, r3, #4096
	str	r3, [sp, #52]
	str	ip, [sp, #36]
	ldr	ip, [r0]
	ldr	r3, [r1]
	orr	ip, ip, #49152
	str	r3, [sp, #20]
	str	r2, [sp, #28]
	mov	r3, r4
	mov	r2, #24
	mov	r0, r5
	add	r1, sp, #36
	str	r4, [sp, #24]
	str	r4, [sp, #16]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	str	r6, [sp, #12]
	str	ip, [sp, #56]
	bl	zfHpSend
	ldr	r3, .L10+16
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #100]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #108
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L8:
	mov	r2, r4
	mov	r1, r6
	mov	r0, r5
	bl	zfwBufFree
	b	.L1
.L7:
	ldr	r3, .L10+20
	ldr	r1, .L10+24
	ldr	r0, [r3]
	bl	zm_msg0_mm
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	wd
	.word	ZM_WLAN_FRAME_TYPE_PSPOLL
	.word	ZM_INTERNAL_ALLOC_BUF
	.word	ZM_SUCCESS
	.word	ZM_LV_0
	.word	.LC0
	.size	zfSendPSPoll, .-zfSendPSPoll
	.comm	wd,4,4
	.comm	ZM_WLAN_FRAME_TYPE_PSPOLL,4,4
	.comm	ZM_SUCCESS,4,4
	.comm	ZM_LV_0,4,4
	.comm	ZM_INTERNAL_ALLOC_BUF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
