	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mpsp_trigger_process ## -- Begin function ieee80211_mpsp_trigger_process
	.p2align	4, 0x90
_ieee80211_mpsp_trigger_process:        ## @ieee80211_mpsp_trigger_process
	.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	%rsi, %r14
	movq	_IEEE80211_QOS_CTL_RSPI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	sarl	$8, %ebx
	andl	4(%rdi), %ebx
	movq	_IEEE80211_QOS_CTL_EOSP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%rdi), %r12d
	testl	%edx, %edx
	je	LBB0_9
## %bb.1:
	movl	%ecx, %r15d
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movq	_WLAN_STA_MPSP_RECIPIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_sta_flag
LBB0_4:
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.15:
	movq	_WLAN_STA_MPSP_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_clear_sta_flag                 ## TAILCALL
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_11
## %bb.10:
	movq	_WLAN_STA_MPSP_RECIPIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_clear_sta_flag
	jmp	LBB0_13
LBB0_5:
	testl	%r15d, %r15d
	je	LBB0_14
## %bb.6:
	movq	_WLAN_STA_PS_STA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_test_sta_flag
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_14
LBB0_11:
	movq	(%r14), %rax
	movq	_NL80211_MESH_POWER_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	movq	_WLAN_STA_MPSP_RECIPIENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_set_sta_flag
LBB0_13:
	testl	%ebx, %ebx
	je	LBB0_14
LBB0_7:
	movq	_WLAN_STA_MPSP_OWNER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_test_and_set_sta_flag
	testl	%eax, %eax
	je	LBB0_8
LBB0_14:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r14, %rdi
	movl	$-1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mps_frame_deliver              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_QOS_CTL_RSPI,4,2     ## @IEEE80211_QOS_CTL_RSPI
	.comm	_IEEE80211_QOS_CTL_EOSP,4,2     ## @IEEE80211_QOS_CTL_EOSP
	.comm	_WLAN_STA_MPSP_RECIPIENT,4,2    ## @WLAN_STA_MPSP_RECIPIENT
	.comm	_WLAN_STA_MPSP_OWNER,4,2        ## @WLAN_STA_MPSP_OWNER
	.comm	_WLAN_STA_PS_STA,4,2            ## @WLAN_STA_PS_STA
	.comm	_NL80211_MESH_POWER_ACTIVE,8,3  ## @NL80211_MESH_POWER_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mpsp_trigger_process ; -- Begin function ieee80211_mpsp_trigger_process
	.p2align	2
_ieee80211_mpsp_trigger_process:        ; @ieee80211_mpsp_trigger_process
	.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, x1
Lloh0:
	adrp	x8, _IEEE80211_QOS_CTL_RSPI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_RSPI@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w10, w9, [x0]
	and	w21, w9, w8, asr #8
Lloh3:
	adrp	x8, _IEEE80211_QOS_CTL_EOSP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_EOSP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w22, w8, w10
	cbz	w2, LBB0_6
; %bb.1:
	mov	x20, x3
	cbz	w3, LBB0_4
; %bb.2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_sta_flag
LBB0_4:
	cbz	w22, LBB0_8
; %bb.5:
Lloh9:
	adrp	x8, _WLAN_STA_MPSP_OWNER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WLAN_STA_MPSP_OWNER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	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	_clear_sta_flag
LBB0_6:
	cbz	w22, LBB0_10
; %bb.7:
Lloh12:
	adrp	x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_clear_sta_flag
	b	LBB0_12
LBB0_8:
	cbz	w20, LBB0_14
; %bb.9:
Lloh15:
	adrp	x8, _WLAN_STA_PS_STA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WLAN_STA_PS_STA@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_test_sta_flag
	cbnz	x0, LBB0_13
	b	LBB0_14
LBB0_10:
	ldr	x8, [x19]
Lloh18:
	adrp	x9, _NL80211_MESH_POWER_ACTIVE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NL80211_MESH_POWER_ACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.11:
Lloh21:
	adrp	x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WLAN_STA_MPSP_RECIPIENT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_set_sta_flag
LBB0_12:
	cbz	w21, LBB0_14
LBB0_13:
Lloh24:
	adrp	x8, _WLAN_STA_MPSP_OWNER@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WLAN_STA_MPSP_OWNER@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_test_and_set_sta_flag
	cbz	w0, LBB0_15
LBB0_14:
	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
	ret
LBB0_15:
	mov	x0, x19
	mov	w1, #-1
	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	_mps_frame_deliver
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_QOS_CTL_RSPI,4,2     ; @IEEE80211_QOS_CTL_RSPI
	.comm	_IEEE80211_QOS_CTL_EOSP,4,2     ; @IEEE80211_QOS_CTL_EOSP
	.comm	_WLAN_STA_MPSP_RECIPIENT,4,2    ; @WLAN_STA_MPSP_RECIPIENT
	.comm	_WLAN_STA_MPSP_OWNER,4,2        ; @WLAN_STA_MPSP_OWNER
	.comm	_WLAN_STA_PS_STA,4,2            ; @WLAN_STA_PS_STA
	.comm	_NL80211_MESH_POWER_ACTIVE,8,3  ; @NL80211_MESH_POWER_ACTIVE
.subsections_via_symbols
