	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostap_ap_tx_cb_poll
_hostap_ap_tx_cb_poll:                  ## @hostap_ap_tx_cb_poll
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpl	$24, (%rdi)
	jl	LBB0_6
## %bb.1:
	movq	%rdx, %r15
	movq	8(%rbx), %r12
	testl	%esi, %esi
	je	LBB0_5
## %bb.2:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_ap_get_sta
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_WLAN_STA_PENDING_POLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock
	jmp	LBB0_6
LBB0_5:
	movq	_DEBUG_AP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_PDEBUG
LBB0_6:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_kfree_skb                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_PENDING_POLL,4,2      ## @WLAN_STA_PENDING_POLL
	.comm	_DEBUG_AP,4,2                   ## @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: STA %pM did not ACK activity poll frame\n"

	.no_dead_strip	_hostap_ap_tx_cb_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostap_ap_tx_cb_poll
_hostap_ap_tx_cb_poll:                  ; @hostap_ap_tx_cb_poll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #24
	b.lt	LBB0_6
; %bb.1:
	mov	x20, x2
	ldr	x22, [x19, #8]
	cbz	w1, LBB0_5
; %bb.2:
	add	x21, x20, #8
	mov	x0, x21
	bl	_spin_lock
	ldr	w1, [x22]
	mov	x0, x20
	bl	_ap_get_sta
	cbz	x0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _WLAN_STA_PENDING_POLL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WLAN_STA_PENDING_POLL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
LBB0_4:
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _DEBUG_AP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEBUG_AP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w2, [x8]
	ldr	w3, [x22]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PDEBUG
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_kfree_skb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_PENDING_POLL,4,2      ; @WLAN_STA_PENDING_POLL
	.comm	_DEBUG_AP,4,2                   ; @DEBUG_AP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: STA %pM did not ACK activity poll frame\n"

	.no_dead_strip	_hostap_ap_tx_cb_poll
.subsections_via_symbols
