	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spi_nor_late_init_params
_spi_nor_late_init_params:              ## @spi_nor_late_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
	movq	_SNOR_F_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	_stm_locking_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNOR_F_HAS_LOCK,4,2            ## @SNOR_F_HAS_LOCK
	.comm	_stm_locking_ops,4,2            ## @stm_locking_ops
	.no_dead_strip	_spi_nor_late_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_late_init_params
_spi_nor_late_init_params:              ; @spi_nor_late_init_params
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SNOR_F_HAS_LOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SNOR_F_HAS_LOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
LBB0_2:
	ret
LBB0_3:
Lloh3:
	adrp	x8, _stm_locking_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stm_locking_ops@GOTPAGEOFF]
	str	x8, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNOR_F_HAS_LOCK,4,2            ; @SNOR_F_HAS_LOCK
	.comm	_stm_locking_ops,4,2            ; @stm_locking_ops
	.no_dead_strip	_spi_nor_late_init_params
.subsections_via_symbols
