	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_nor_restore                ## -- Begin function spi_nor_restore
	.p2align	4, 0x90
_spi_nor_restore:                       ## @spi_nor_restore
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$4, (%rdi)
	jne	LBB0_3
## %bb.1:
	movl	4(%rdi), %eax
	movq	_SNOR_F_4B_OPCODES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	_SNOR_F_BROKEN_RESET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	8(%rdi), %rax
	xorl	%esi, %esi
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SNOR_F_4B_OPCODES,4,2          ## @SNOR_F_4B_OPCODES
	.comm	_SNOR_F_BROKEN_RESET,4,2        ## @SNOR_F_BROKEN_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spi_nor_restore                ; -- Begin function spi_nor_restore
	.p2align	2
_spi_nor_restore:                       ; @spi_nor_restore
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #4
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _SNOR_F_4B_OPCODES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNOR_F_4B_OPCODES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	ret
LBB0_3:
Lloh3:
	adrp	x9, _SNOR_F_BROKEN_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SNOR_F_BROKEN_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.4:
	ldr	x2, [x0, #8]
	mov	w1, #0
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SNOR_F_4B_OPCODES,4,2          ; @SNOR_F_4B_OPCODES
	.comm	_SNOR_F_BROKEN_RESET,4,2        ; @SNOR_F_BROKEN_RESET
.subsections_via_symbols
