	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvram_find_staging             ## -- Begin function nvram_find_staging
	.p2align	4, 0x90
_nvram_find_staging:                    ## @nvram_find_staging
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_NVRAM_STAGING@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	-16(%rbp), %rsi
	callq	_stat
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -16(%rbp)
	je	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVRAM_STAGING,8,3              ## @NVRAM_STAGING
	.comm	_S_IFREG,4,2                    ## @S_IFREG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvram_find_staging             ; -- Begin function nvram_find_staging
	.p2align	2
_nvram_find_staging:                    ; @nvram_find_staging
	.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
Lloh0:
	adrp	x19, _NVRAM_STAGING@GOTPAGE
Lloh1:
	ldr	x19, [x19, _NVRAM_STAGING@GOTPAGEOFF]
	ldr	x0, [x19]
	add	x1, sp, #8
	bl	_stat
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w8, [sp, #8]
Lloh2:
	adrp	x9, _S_IFREG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_IFREG@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	ldr	x10, [x19]
	tst	w9, w8
	csel	x0, xzr, x10, eq
	b	LBB0_3
LBB0_2:
	mov	x0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NVRAM_STAGING,8,3              ; @NVRAM_STAGING
	.comm	_S_IFREG,4,2                    ; @S_IFREG
.subsections_via_symbols
