	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function onenand_bufferram_address
_onenand_bufferram_address:             ## @onenand_bufferram_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, (%rdi)
	jne	LBB0_1
## %bb.2:
	movq	_ONENAND_DDP_CHIP0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_ONENAND_DDP_CHIP1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ONENAND_DDP_CHIP1,4,2          ## @ONENAND_DDP_CHIP1
	.comm	_ONENAND_DDP_CHIP0,4,2          ## @ONENAND_DDP_CHIP0
	.no_dead_strip	_onenand_bufferram_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function onenand_bufferram_address
_onenand_bufferram_address:             ; @onenand_bufferram_address
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ONENAND_DDP_CHIP0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ONENAND_DDP_CHIP0@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ONENAND_DDP_CHIP1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ONENAND_DDP_CHIP1@GOTPAGEOFF]
	tst	w8, w1
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ONENAND_DDP_CHIP1,4,2          ; @ONENAND_DDP_CHIP1
	.comm	_ONENAND_DDP_CHIP0,4,2          ; @ONENAND_DDP_CHIP0
	.no_dead_strip	_onenand_bufferram_address
.subsections_via_symbols
