	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spi_nor_init_params
_spi_nor_init_params:                   ## @spi_nor_init_params
	.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
	callq	_spi_nor_info_init_params
	movq	%rbx, %rdi
	callq	_spi_nor_manufacturer_init_params
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	_SPI_NOR_DUAL_READ@GOTPCREL(%rip), %rcx
	movq	_SPI_NOR_QUAD_READ@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_3
## %bb.1:
	movq	_SPI_NOR_SKIP_SFDP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_spi_nor_sfdp_init_params
LBB0_3:
	movq	%rbx, %rdi
	callq	_spi_nor_post_sfdp_fixups
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_spi_nor_late_init_params       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SPI_NOR_DUAL_READ,4,2          ## @SPI_NOR_DUAL_READ
	.comm	_SPI_NOR_QUAD_READ,4,2          ## @SPI_NOR_QUAD_READ
	.comm	_SPI_NOR_SKIP_SFDP,4,2          ## @SPI_NOR_SKIP_SFDP
	.no_dead_strip	_spi_nor_init_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spi_nor_init_params
_spi_nor_init_params:                   ; @spi_nor_init_params
	.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
	bl	_spi_nor_info_init_params
	mov	x0, x19
	bl	_spi_nor_manufacturer_init_params
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SPI_NOR_DUAL_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SPI_NOR_DUAL_READ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SPI_NOR_QUAD_READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SPI_NOR_QUAD_READ@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x9, _SPI_NOR_SKIP_SFDP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SPI_NOR_SKIP_SFDP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_spi_nor_sfdp_init_params
LBB0_3:
	mov	x0, x19
	bl	_spi_nor_post_sfdp_fixups
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spi_nor_late_init_params
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SPI_NOR_DUAL_READ,4,2          ; @SPI_NOR_DUAL_READ
	.comm	_SPI_NOR_QUAD_READ,4,2          ; @SPI_NOR_QUAD_READ
	.comm	_SPI_NOR_SKIP_SFDP,4,2          ; @SPI_NOR_SKIP_SFDP
	.no_dead_strip	_spi_nor_init_params
.subsections_via_symbols
