	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mps_frame_release    ## -- Begin function ieee80211_mps_frame_release
	.p2align	4, 0x90
_ieee80211_mps_frame_release:           ## @ieee80211_mps_frame_release
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movl	$0, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	8(%r15), %r14d
	movl	12(%r15), %r12d
	movl	32(%rbx), %edi
	callq	_le16_to_cpu
	movq	_IEEE80211_MAX_AID@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_ieee80211_check_tim
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %r14d
	movl	24(%rbx), %edx
	movl	28(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_mps_dbg
	movb	$1, %r12b
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
LBB0_4:
	movq	_WLAN_STA_PS_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_test_sta_flag
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movl	(%rax), %edi
	callq	_le16_to_cpu
	testl	%eax, %eax
	je	LBB0_14
LBB0_7:
	movq	_IEEE80211_NUM_ACS@GOTPCREL(%rip), %r13
	xorl	%ebx, %ebx
	cmpl	$0, (%r13)
	jle	LBB0_11
## %bb.8:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rdi
	addq	%r12, %rdi
	callq	_skb_queue_len
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rdi
	addq	%r12, %rdi
	callq	_skb_queue_len
	addl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	addl	%eax, %ebx
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %r12
	cmpq	%rax, %r14
	jl	LBB0_9
## %bb.10:
	testl	%ebx, %ebx
	setne	%bl
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_11:
	orb	%bl, %r12b
	cmpb	$1, %r12b
	jne	LBB0_14
## %bb.12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	_NL80211_PLINK_ESTAB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.15:
	xorb	$1, %bl
	movzbl	%bl, %edx
	movl	%r14d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mpsp_trigger_send              ## TAILCALL
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	$1, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mps_frame_deliver              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_PLINK_ESTAB,8,3        ## @NL80211_PLINK_ESTAB
	.comm	_IEEE80211_MAX_AID,4,2          ## @IEEE80211_MAX_AID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%pM indicates buffered frames\n"

	.comm	_WLAN_STA_PS_STA,4,2            ## @WLAN_STA_PS_STA
	.comm	_IEEE80211_NUM_ACS,4,2          ## @IEEE80211_NUM_ACS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mps_frame_release    ; -- Begin function ieee80211_mps_frame_release
	.p2align	2
_ieee80211_mps_frame_release:           ; @ieee80211_mps_frame_release
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x23, _NL80211_PLINK_ESTAB@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NL80211_PLINK_ESTAB@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldp	w22, w20, [x21, #8]
	ldr	w0, [x19, #32]
	bl	_le16_to_cpu
Lloh2:
	adrp	x8, _IEEE80211_MAX_AID@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_MAX_AID@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w2, w9, w8, w0
	mov	x0, x20
	mov	x1, x22
	bl	_ieee80211_check_tim
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.2:
	ldp	w2, w0, [x19, #24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mps_dbg
	mov	w22, #1
	b	LBB0_5
LBB0_3:
	mov	w22, #0
	mov	w20, #0
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
Lloh7:
	adrp	x8, _WLAN_STA_PS_STA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WLAN_STA_PS_STA@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_test_sta_flag
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_16
; %bb.7:
	ldr	w0, [x8]
	bl	_le16_to_cpu
	cbz	w0, LBB0_16
LBB0_8:
Lloh10:
	adrp	x24, _IEEE80211_NUM_ACS@GOTPAGE
Lloh11:
	ldr	x24, [x24, _IEEE80211_NUM_ACS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x25, #0
	mov	x27, #0
	mov	w26, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x0, x8, x25
	bl	_skb_queue_len
	mov	x21, x0
	ldr	x8, [x19, #8]
	add	x0, x8, x25
	bl	_skb_queue_len
	add	w8, w0, w21
	add	w26, w26, w8
	add	x27, x27, #1
	ldrsw	x8, [x24]
	add	x25, x25, #4
	cmp	x27, x8
	b.lt	LBB0_10
; %bb.11:
	cmp	w26, #0
	cset	w8, ne
	b	LBB0_13
LBB0_12:
	mov	w8, #0
LBB0_13:
	orr	w9, w22, w8
	cmp	w9, #1
	b.ne	LBB0_16
; %bb.14:
	ldr	x9, [x19]
	ldr	x10, [x23]
	cmp	x9, x10
	b.ne	LBB0_17
; %bb.15:
	eor	w2, w8, #0x1
	mov	x0, x19
	mov	x1, x20
	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	_mpsp_trigger_send
LBB0_16:
	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
	ret
LBB0_17:
	mov	x0, x19
	mov	w1, #1
	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	_mps_frame_deliver
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_PLINK_ESTAB,8,3        ; @NL80211_PLINK_ESTAB
	.comm	_IEEE80211_MAX_AID,4,2          ; @IEEE80211_MAX_AID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%pM indicates buffered frames\n"

	.comm	_WLAN_STA_PS_STA,4,2            ; @WLAN_STA_PS_STA
	.comm	_IEEE80211_NUM_ACS,4,2          ; @IEEE80211_NUM_ACS
.subsections_via_symbols
