	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spi_nor_post_sfdp_fixups
_spi_nor_post_sfdp_fixups:              ## @spi_nor_post_sfdp_fixups
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_JEDEC_MFR
	cmpl	$128, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_spansion_post_sfdp_fixups
LBB0_2:
	movq	(%rbx), %rax
	movq	_SPI_S3AN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_s3an_post_sfdp_fixups
	movq	(%rbx), %rax
LBB0_4:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_S3AN,4,2                   ## @SPI_S3AN
	.no_dead_strip	_spi_nor_post_sfdp_fixups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spi_nor_post_sfdp_fixups
_spi_nor_post_sfdp_fixups:              ; @spi_nor_post_sfdp_fixups
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_JEDEC_MFR
	cmp	w0, #128
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spansion_post_sfdp_fixups
LBB0_2:
	ldr	x8, [x19]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _SPI_S3AN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SPI_S3AN@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_s3an_post_sfdp_fixups
	ldr	x8, [x19]
LBB0_4:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x1, [x8]
	cbz	x1, LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_S3AN,4,2                   ; @SPI_S3AN
	.no_dead_strip	_spi_nor_post_sfdp_fixups
.subsections_via_symbols
