	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmnand_flash_dma_revision_init
_brcmnand_flash_dma_revision_init:      ## @brcmnand_flash_dma_revision_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$1795, (%rdi)                   ## imm = 0x703
	jl	LBB0_1
## %bb.2:
	movq	_flash_dma_regs_v4@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_flash_dma_regs_v1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_flash_dma_regs_v4,4,2          ## @flash_dma_regs_v4
	.comm	_flash_dma_regs_v1,4,2          ## @flash_dma_regs_v1
	.no_dead_strip	_brcmnand_flash_dma_revision_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmnand_flash_dma_revision_init
_brcmnand_flash_dma_revision_init:      ; @brcmnand_flash_dma_revision_init
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _flash_dma_regs_v4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _flash_dma_regs_v4@GOTPAGEOFF]
Lloh2:
	adrp	x10, _flash_dma_regs_v1@GOTPAGE
Lloh3:
	ldr	x10, [x10, _flash_dma_regs_v1@GOTPAGEOFF]
	cmp	w8, #1794
	csel	x8, x9, x10, gt
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_flash_dma_regs_v4,4,2          ; @flash_dma_regs_v4
	.comm	_flash_dma_regs_v1,4,2          ; @flash_dma_regs_v1
	.no_dead_strip	_brcmnand_flash_dma_revision_init
.subsections_via_symbols
