	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_stag          ## -- Begin function qed_sp_pf_update_stag
	.p2align	4, 0x90
_qed_sp_pf_update_stag:                 ## @qed_sp_pf_update_stag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, -24(%rbp)
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_qed_spq_get_cid
	movl	%eax, -32(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	_QED_SPQ_MODE_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_COMMON_RAMROD_PF_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROTOCOLID_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	-24(%rbp), %rax
	movl	$1, (%rax)
	movl	16(%rbx), %edi
	callq	_cpu_to_le16
	movq	-24(%rbp), %rcx
	movl	%eax, 4(%rcx)
	movq	_QED_MF_UFP_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	shll	$13, %edi
	callq	_cpu_to_le16
	movq	-24(%rbp), %rsi
	orl	%eax, 4(%rsi)
	jmp	LBB0_4
LBB0_2:
	movq	-24(%rbp), %rsi
LBB0_4:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
LBB0_5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_SPQ_MODE_CB,4,2            ## @QED_SPQ_MODE_CB
	.comm	_COMMON_RAMROD_PF_UPDATE,4,2    ## @COMMON_RAMROD_PF_UPDATE
	.comm	_PROTOCOLID_COMMON,4,2          ## @PROTOCOLID_COMMON
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ## @QED_MF_UFP_SPECIFIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_stag          ; -- Begin function qed_sp_pf_update_stag
	.p2align	2
_qed_sp_pf_update_stag:                 ; @qed_sp_pf_update_stag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	str	xzr, [sp, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	mov	x0, x19
	bl	_qed_spq_get_cid
	str	w0, [sp, #16]
	ldr	w8, [x19, #20]
Lloh0:
	adrp	x9, _QED_SPQ_MODE_CB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QED_SPQ_MODE_CB@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh3:
	adrp	x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _PROTOCOLID_COMMON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PROTOCOLID_COMMON@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x4, sp, #8
	mov	x0, x19
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [sp, #24]
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x19, #16]
	bl	_cpu_to_le16
	ldr	x8, [sp, #24]
	str	w0, [x8, #4]
Lloh9:
	adrp	x8, _QED_MF_UFP_SPECIFIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QED_MF_UFP_SPECIFIC@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x1, [x19, #8]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w8, [x19]
	lsl	w0, w8, #13
	bl	_cpu_to_le16
	ldr	x1, [sp, #24]
	ldr	w8, [x1, #4]
	orr	w8, w8, w0
	str	w8, [x1, #4]
	b	LBB0_4
LBB0_3:
	ldr	x1, [sp, #24]
LBB0_4:
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_SPQ_MODE_CB,4,2            ; @QED_SPQ_MODE_CB
	.comm	_COMMON_RAMROD_PF_UPDATE,4,2    ; @COMMON_RAMROD_PF_UPDATE
	.comm	_PROTOCOLID_COMMON,4,2          ; @PROTOCOLID_COMMON
	.comm	_QED_MF_UFP_SPECIFIC,4,2        ; @QED_MF_UFP_SPECIFIC
.subsections_via_symbols
