	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_nsp_load_stored_fw         ## -- Begin function nfp_nsp_load_stored_fw
	.p2align	4, 0x90
_nfp_nsp_load_stored_fw:                ## @nfp_nsp_load_stored_fw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_nfp_nsp_load_fw_extended_msg@GOTPCREL(%rip), %rax
	movq	%rax, -24(%rbp)
	movq	_SPCODE_FW_STORED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	leaq	-24(%rbp), %rsi
	callq	___nfp_nsp_command
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nfp_nsp_load_fw_extended_msg
	xorl	%eax, %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPCODE_FW_STORED,4,2           ## @SPCODE_FW_STORED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nfp_nsp_load_stored_fw         ; -- Begin function nfp_nsp_load_stored_fw
	.p2align	2
_nfp_nsp_load_stored_fw:                ; @nfp_nsp_load_stored_fw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _nfp_nsp_load_fw_extended_msg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nfp_nsp_load_fw_extended_msg@GOTPAGEOFF]
	str	x8, [sp]
Lloh2:
	adrp	x8, _SPCODE_FW_STORED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SPCODE_FW_STORED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x1, sp
	bl	___nfp_nsp_command
	mov	x1, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_nfp_nsp_load_fw_extended_msg
	mov	w1, #0
LBB0_2:
	mov	x0, x1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SPCODE_FW_STORED,4,2           ; @SPCODE_FW_STORED
.subsections_via_symbols
