	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_ufp           ## -- Begin function qed_sp_pf_update_ufp
	.p2align	4, 0x90
_qed_sp_pf_update_ufp:                  ## @qed_sp_pf_update_ufp
	.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)
	movq	(%rdi), %rdx
	movq	_QED_UFP_PRI_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	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	8(%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_4
## %bb.3:
	movq	-24(%rbp), %rsi
	movl	$1, (%rsi)
	movq	(%rbx), %rax
	movq	_QED_UFP_PRI_OS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movl	%edx, 4(%rsi)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_QED_UFP_PRI_UNKNOWN,8,3        ## @QED_UFP_PRI_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid priority type %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.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_UFP_PRI_OS,8,3             ## @QED_UFP_PRI_OS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_ufp           ; -- Begin function qed_sp_pf_update_ufp
	.p2align	2
_qed_sp_pf_update_ufp:                  ; @qed_sp_pf_update_ufp
	.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]
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _QED_UFP_PRI_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_UFP_PRI_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	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, #8]
Lloh8:
	adrp	x9, _QED_SPQ_MODE_CB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QED_SPQ_MODE_CB@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
Lloh11:
	adrp	x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _PROTOCOLID_COMMON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PROTOCOLID_COMMON@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	add	x1, sp, #24
	add	x4, sp, #8
	mov	x0, x19
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x1, [sp, #24]
	mov	w8, #1
	str	w8, [x1]
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _QED_UFP_PRI_OS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QED_UFP_PRI_OS@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
	str	w8, [x1, #4]
	mov	x0, x19
	mov	x2, #0
	bl	_qed_spq_post
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_QED_UFP_PRI_UNKNOWN,8,3        ; @QED_UFP_PRI_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid priority type %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.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_UFP_PRI_OS,8,3             ; @QED_UFP_PRI_OS
.subsections_via_symbols
