	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpsp_trigger_send
_mpsp_trigger_send:                     ## @mpsp_trigger_send
	.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
	movl	%edx, %r13d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	8(%rdi), %rbx
	callq	_mps_qos_null_get
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r14
	testl	%r13d, %r13d
	jne	LBB0_3
## %bb.2:
	movq	_IEEE80211_FCTL_MOREDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, (%r14)
LBB0_3:
	movq	%r14, %rdi
	callq	_ieee80211_get_qos_ctl
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.4:
	movq	_IEEE80211_QOS_CTL_RSPI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	sarl	$8, %ecx
	orl	%ecx, 4(%rax)
LBB0_5:
	leaq	L_.str.2(%rip), %r14
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:
	movq	_IEEE80211_QOS_CTL_EOSP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	leaq	L_.str.3(%rip), %r14
LBB0_7:
	movq	%r12, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPCREL(%rip), %rcx
	movq	_IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	orl	%edx, (%rax)
	testl	%ebx, %ebx
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rax, %rdx
	movl	(%r15), %r8d
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rcx
	callq	_mps_dbg
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_tx_skb               ## TAILCALL
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FCTL_MOREDATA,4,2    ## @IEEE80211_FCTL_MOREDATA
	.comm	_IEEE80211_QOS_CTL_RSPI,4,2     ## @IEEE80211_QOS_CTL_RSPI
	.comm	_IEEE80211_QOS_CTL_EOSP,4,2     ## @IEEE80211_QOS_CTL_EOSP
	.comm	_IEEE80211_TX_CTL_NO_PS_BUFFER,4,2 ## @IEEE80211_TX_CTL_NO_PS_BUFFER
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ## @IEEE80211_TX_CTL_REQ_TX_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sending MPSP trigger%s%s to %pM\n"

L_.str.1:                               ## @.str.1
	.asciz	" RSPI"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	" EOSP"

	.no_dead_strip	_mpsp_trigger_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpsp_trigger_send
_mpsp_trigger_send:                     ; @mpsp_trigger_send
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	bl	_mps_qos_null_get
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x24, [x0]
	cbnz	w23, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IEEE80211_FCTL_MOREDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FCTL_MOREDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x24]
	orr	w8, w8, w0
	str	w8, [x24]
LBB0_3:
	mov	x0, x24
	bl	_ieee80211_get_qos_ctl
	cbz	w22, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _IEEE80211_QOS_CTL_RSPI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_RSPI@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0, #4]
	orr	w8, w9, w8, asr #8
	str	w8, [x0, #4]
LBB0_5:
Lloh6:
	adrp	x24, l_.str.2@PAGE
Lloh7:
	add	x24, x24, l_.str.2@PAGEOFF
	cbz	w23, LBB0_8
; %bb.6:
Lloh8:
	adrp	x8, _IEEE80211_QOS_CTL_EOSP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_QOS_CTL_EOSP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
Lloh11:
	adrp	x23, l_.str.3@PAGE
Lloh12:
	add	x23, x23, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	x23, x24
LBB0_9:
	mov	x0, x20
	bl	_IEEE80211_SKB_CB
Lloh13:
	adrp	x8, _IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_TX_CTL_NO_PS_BUFFER@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_TX_CTL_REQ_TX_STATUS@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	orr	w8, w8, w9
	str	w8, [x0]
Lloh19:
	adrp	x8, l_.str.1@PAGE
Lloh20:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	w22, #0
	csel	x2, x24, x8, eq
	ldr	w4, [x21]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x23
	bl	_mps_dbg
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ieee80211_tx_skb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FCTL_MOREDATA,4,2    ; @IEEE80211_FCTL_MOREDATA
	.comm	_IEEE80211_QOS_CTL_RSPI,4,2     ; @IEEE80211_QOS_CTL_RSPI
	.comm	_IEEE80211_QOS_CTL_EOSP,4,2     ; @IEEE80211_QOS_CTL_EOSP
	.comm	_IEEE80211_TX_CTL_NO_PS_BUFFER,4,2 ; @IEEE80211_TX_CTL_NO_PS_BUFFER
	.comm	_IEEE80211_TX_CTL_REQ_TX_STATUS,4,2 ; @IEEE80211_TX_CTL_REQ_TX_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sending MPSP trigger%s%s to %pM\n"

l_.str.1:                               ; @.str.1
	.asciz	" RSPI"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	" EOSP"

	.no_dead_strip	_mpsp_trigger_send
.subsections_via_symbols
