	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cw1200_upload_pspoll
_cw1200_upload_pspoll:                  ## @cw1200_upload_pspoll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$255, -24(%rbp)
	movq	_WSM_FRAME_TYPE_PS_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	callq	_ieee80211_pspoll_get
	movl	%eax, -20(%rbp)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wsm_set_template_frame
	movl	%eax, %ebx
	movl	-20(%rbp), %edi
	callq	_dev_kfree_skb
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WSM_FRAME_TYPE_PS_POLL,4,2     ## @WSM_FRAME_TYPE_PS_POLL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_cw1200_upload_pspoll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cw1200_upload_pspoll
_cw1200_upload_pspoll:                  ; @cw1200_upload_pspoll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _WSM_FRAME_TYPE_PS_POLL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WSM_FRAME_TYPE_PS_POLL@GOTPAGEOFF]
	mov	w9, #255
Lloh2:
	ldr	w8, [x8]
	str	w9, [sp]
	str	w8, [sp, #8]
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
	bl	_ieee80211_pspoll_get
	str	w0, [sp, #4]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, sp
	mov	x0, x19
	bl	_wsm_set_template_frame
	mov	x19, x0
	ldr	w0, [sp, #4]
	bl	_dev_kfree_skb
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WSM_FRAME_TYPE_PS_POLL,4,2     ; @WSM_FRAME_TYPE_PS_POLL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_cw1200_upload_pspoll
.subsections_via_symbols
