	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_net_reconfig_check_done
_nfp_net_reconfig_check_done:           ## @nfp_net_reconfig_check_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_NFP_NET_CFG_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nn_readl
	movl	$1, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	%eax, %r15d
	movq	_NFP_NET_CFG_UPDATE_ERR@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_5
LBB0_3:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %r12
LBB0_5:
	movl	(%rbx), %r13d
	movq	_NFP_NET_CFG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nn_readl
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_nn_err
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_NFP_NET_CFG_UPDATE,4,2         ## @NFP_NET_CFG_UPDATE
	.comm	_NFP_NET_CFG_UPDATE_ERR,4,2     ## @NFP_NET_CFG_UPDATE_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reconfig error (status: 0x%08x update: 0x%08x ctrl: 0x%08x)\n"

	.comm	_NFP_NET_CFG_CTRL,4,2           ## @NFP_NET_CFG_CTRL
L_.str.1:                               ## @.str.1
	.asciz	"Reconfig timeout (status: 0x%08x update: 0x%08x ctrl: 0x%08x)\n"

	.no_dead_strip	_nfp_net_reconfig_check_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_net_reconfig_check_done
_nfp_net_reconfig_check_done:           ; @nfp_net_reconfig_check_done
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NFP_NET_CFG_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFP_NET_CFG_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nn_readl
	cbz	w0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _NFP_NET_CFG_UPDATE_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFP_NET_CFG_UPDATE_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	cbz	w21, LBB0_8
; %bb.4:
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_5:
	ldr	w22, [x19]
Lloh10:
	adrp	x8, _NFP_NET_CFG_CTRL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NFP_NET_CFG_CTRL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nn_readl
	mov	x4, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_nn_err
LBB0_6:
	mov	w0, #1
LBB0_7:
	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_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NFP_NET_CFG_UPDATE,4,2         ; @NFP_NET_CFG_UPDATE
	.comm	_NFP_NET_CFG_UPDATE_ERR,4,2     ; @NFP_NET_CFG_UPDATE_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reconfig error (status: 0x%08x update: 0x%08x ctrl: 0x%08x)\n"

	.comm	_NFP_NET_CFG_CTRL,4,2           ; @NFP_NET_CFG_CTRL
l_.str.1:                               ; @.str.1
	.asciz	"Reconfig timeout (status: 0x%08x update: 0x%08x ctrl: 0x%08x)\n"

	.no_dead_strip	_nfp_net_reconfig_check_done
.subsections_via_symbols
