	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wl1271_ps_filter_frames
_wl1271_ps_filter_frames:               ## @wl1271_ps_filter_frames
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUM_TX_QUEUES@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_9
## %bb.1:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	shlq	$4, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax), %r14
	addq	$8, %r14
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	%r12d, (%rax,%r15,4)
	movq	_NUM_TX_QUEUES@GOTPCREL(%rip), %r12
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	leaq	(,%r15,4), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax,%r15,4)
	movq	(%r14), %rdi
	addq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r14), %rdi
	addq	%r13, %rdi
	callq	_skb_dequeue
	movq	%rax, %rbx
	incl	%r12d
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_wl12xx_is_dummy_packet
	movl	%eax, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_STAT_TX_FILTERED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%rax)
	movq	(%rax), %rax
	movl	$-1, (%rax)
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_ieee80211_tx_status_ni
	jmp	LBB0_6
LBB0_9:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%r12)
	jle	LBB0_14
## %bb.10:
	movq	(%rbx), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	shlq	$4, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx,%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rdx
	movslq	(%r12), %rsi
	cmpq	%rsi, %rdx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%rdx,4), %esi
	subl	%esi, (%rax,%rdx,4)
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rcx), %rdi
	subl	%esi, (%rdi,%rdx,4)
	jmp	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wl1271_handle_tx_low_watermark ## TAILCALL
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_TX_QUEUES,4,2              ## @NUM_TX_QUEUES
	.comm	_IEEE80211_TX_STAT_TX_FILTERED,4,2 ## @IEEE80211_TX_STAT_TX_FILTERED
	.no_dead_strip	_wl1271_ps_filter_frames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wl1271_ps_filter_frames
_wl1271_ps_filter_frames:               ; @wl1271_ps_filter_frames
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x22, _NUM_TX_QUEUES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NUM_TX_QUEUES@GOTPAGEOFF]
	ldr	w12, [x22]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	ldr	x24, [x0, #16]
	cmp	w12, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x25, #0
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	add	x8, x24, x8, lsl #4
	add	x26, x8, #8
Lloh7:
	adrp	x27, _IEEE80211_TX_STAT_TX_FILTERED@GOTPAGE
Lloh8:
	ldr	x27, [x27, _IEEE80211_TX_STAT_TX_FILTERED@GOTPAGEOFF]
	mov	w28, #-1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w20, [x23, x25, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x22]
	cmp	x25, x8
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	lsl	x8, x25, #2
	str	wzr, [x23, x8]
	ldr	x9, [x26]
	add	x0, x9, x8
	bl	_skb_dequeue
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	mov	w20, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x26]
	add	x0, x8, x25, lsl #2
	bl	_skb_dequeue
	mov	x21, x0
	add	w20, w20, #1
	cbz	x0, LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x21
	bl	_wl12xx_is_dummy_packet
	bl	_WARN_ON
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x0, x21
	bl	_IEEE80211_SKB_CB
	ldr	w8, [x27]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	ldr	x8, [x0]
	str	w28, [x8]
	ldr	w0, [x19, #12]
	mov	x1, x21
	bl	_ieee80211_tx_status_ni
	b	LBB0_6
LBB0_9:
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.10:
	mov	x8, #0
	ldr	x9, [x19]
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	lsl	x10, x10, #4
	ldr	x10, [x24, x10]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, #1
	ldrsw	x11, [x22]
	cmp	x8, x11
	b.ge	LBB0_14
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x8, #2
	ldr	w12, [x23, x11]
	ldr	w13, [x9, x11]
	sub	w13, w13, w12
	str	w13, [x9, x11]
	cbz	x10, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x13, [x10]
	ldr	w14, [x13, x11]
	sub	w12, w14, w12
	str	w12, [x13, x11]
	b	LBB0_11
LBB0_14:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldur	x8, [x29, #-88]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x19
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_wl1271_handle_tx_low_watermark
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_TX_QUEUES,4,2              ; @NUM_TX_QUEUES
	.comm	_IEEE80211_TX_STAT_TX_FILTERED,4,2 ; @IEEE80211_TX_STAT_TX_FILTERED
	.no_dead_strip	_wl1271_ps_filter_frames
.subsections_via_symbols
