	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function onenand_block_address
_onenand_block_address:                 ## @onenand_block_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_ONENAND_DDP_CHIP1@GOTPCREL(%rip), %rdx
	movl	%ecx, %eax
	xorl	%esi, %eax
	orl	(%rdx), %eax
	testl	%esi, %ecx
	cmovel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ONENAND_DDP_CHIP1,4,2          ## @ONENAND_DDP_CHIP1
	.no_dead_strip	_onenand_block_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function onenand_block_address
_onenand_block_address:                 ; @onenand_block_address
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ONENAND_DDP_CHIP1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ONENAND_DDP_CHIP1@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	eor	w10, w8, w1
	orr	w9, w9, w10
	tst	w8, w1
	csel	w0, w1, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ONENAND_DDP_CHIP1,4,2          ; @ONENAND_DDP_CHIP1
	.no_dead_strip	_onenand_block_address
.subsections_via_symbols
