	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function marvell_nand_hw_ecc_ctrl_init
_marvell_nand_hw_ecc_ctrl_init:         ## @marvell_nand_hw_ecc_ctrl_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_mtd_to_nand
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_to_marvell_nfc
	movq	%rax, %r12
	movq	8(%rax), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	(%r13), %rdx
	movslq	8(%r13), %rax
	leaq	(%rdx,%rax), %rsi
	movq	_MAX_CHUNK_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rsi
	jle	LBB0_3
## %bb.2:
	movl	(%r12), %edi
	subq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_3:
	movq	%r15, %rdi
	callq	_to_marvell_nand
	movq	$0, (%rax)
	movq	_marvell_nfc_layouts@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %r12
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movslq	%eax, %rcx
	leaq	40(%r14), %rax
	cmpq	%rcx, %r15
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r14
	movq	_marvell_nfc_layouts@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movslq	(%rbx,%r14), %rax
	cmpq	%rax, (%r13)
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rax
	cmpq	8(%rbx,%r14), %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	8(%r12), %eax
	cmpl	16(%rbx,%r14), %eax
	jne	LBB0_10
## %bb.9:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_to_marvell_nand
	addq	%r14, %rbx
	movq	%rbx, (%rax)
	movq	%r12, %r14
	jmp	LBB0_12
LBB0_11:
	addq	%r14, %rbx
	movq	%r12, %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_12:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_4:
                                        ## implicit-def: $rbx
LBB0_13:
	movq	%r15, %rdi
	callq	_to_marvell_nand
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.15:
	movq	8(%r12), %rax
	cmpl	$0, (%rax)
	jne	LBB0_18
## %bb.16:
	movl	8(%r14), %edx
	cmpl	$2, %edx
	jge	LBB0_17
LBB0_18:
	cmpl	$2048, (%rbx)                   ## imm = 0x800
	jne	LBB0_24
## %bb.19:
	cmpl	$8, 16(%rbx)
	jne	LBB0_24
## %bb.20:
	cmpl	$127, 8(%r13)
	jg	LBB0_23
## %bb.21:
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_14:
	movl	8(%r14), %edx
LBB0_17:
	movl	(%r12), %edi
	movq	(%r13), %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_22:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_28
LBB0_23:
	movq	_NAND_BBT_NO_OOB_BBM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
LBB0_24:
	movq	_marvell_nand_ooblayout_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_mtd_set_ooblayout
	movl	32(%rbx), %eax
	movl	%eax, 44(%r14)
	movq	24(%rbx), %rax
	movq	%rax, (%r14)
	cmpl	$1, 8(%r14)
	jne	LBB0_26
## %bb.25:
	movq	_NAND_ECC_HAMMING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	_marvell_nfc_hw_ecc_hmg_read_page_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_marvell_nfc_hw_ecc_hmg_read_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_marvell_nfc_hw_ecc_hmg_read_oob_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movl	%eax, 28(%r14)
	movq	_marvell_nfc_hw_ecc_hmg_write_page_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_marvell_nfc_hw_ecc_hmg_write_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_marvell_nfc_hw_ecc_hmg_write_oob_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	jmp	LBB0_27
LBB0_26:
	movq	_NAND_ECC_BCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	$16, 8(%r14)
	movq	_marvell_nfc_hw_ecc_bch_read_page_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_marvell_nfc_hw_ecc_bch_read_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_marvell_nfc_hw_ecc_bch_read_oob_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_marvell_nfc_hw_ecc_bch_read_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_marvell_nfc_hw_ecc_bch_write_page_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_marvell_nfc_hw_ecc_bch_write_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_marvell_nfc_hw_ecc_bch_write_oob_raw@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_marvell_nfc_hw_ecc_bch_write_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_27:
	movl	%eax, 12(%r14)
	xorl	%ebx, %ebx
LBB0_28:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CHUNK_SIZE,8,3             ## @MAX_CHUNK_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NFCv1: writesize (%d) cannot be bigger than a chunk (%d)\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_marvell_nfc_layouts,8,3        ## @marvell_nfc_layouts
L_.str.1:                               ## @.str.1
	.asciz	"ECC strength %d at page size %d is not supported\n"

L_.str.2:                               ## @.str.2
	.asciz	"Requested layout needs at least 128 OOB bytes\n"

	.comm	_NAND_BBT_NO_OOB_BBM,4,2        ## @NAND_BBT_NO_OOB_BBM
	.comm	_marvell_nand_ooblayout_ops,4,2 ## @marvell_nand_ooblayout_ops
	.comm	_NAND_ECC_HAMMING,4,2           ## @NAND_ECC_HAMMING
	.comm	_marvell_nfc_hw_ecc_hmg_read_page_raw,4,2 ## @marvell_nfc_hw_ecc_hmg_read_page_raw
	.comm	_marvell_nfc_hw_ecc_hmg_read_page,4,2 ## @marvell_nfc_hw_ecc_hmg_read_page
	.comm	_marvell_nfc_hw_ecc_hmg_read_oob_raw,4,2 ## @marvell_nfc_hw_ecc_hmg_read_oob_raw
	.comm	_marvell_nfc_hw_ecc_hmg_write_page_raw,4,2 ## @marvell_nfc_hw_ecc_hmg_write_page_raw
	.comm	_marvell_nfc_hw_ecc_hmg_write_page,4,2 ## @marvell_nfc_hw_ecc_hmg_write_page
	.comm	_marvell_nfc_hw_ecc_hmg_write_oob_raw,4,2 ## @marvell_nfc_hw_ecc_hmg_write_oob_raw
	.comm	_NAND_ECC_BCH,4,2               ## @NAND_ECC_BCH
	.comm	_marvell_nfc_hw_ecc_bch_read_page_raw,4,2 ## @marvell_nfc_hw_ecc_bch_read_page_raw
	.comm	_marvell_nfc_hw_ecc_bch_read_page,4,2 ## @marvell_nfc_hw_ecc_bch_read_page
	.comm	_marvell_nfc_hw_ecc_bch_read_oob_raw,4,2 ## @marvell_nfc_hw_ecc_bch_read_oob_raw
	.comm	_marvell_nfc_hw_ecc_bch_read_oob,4,2 ## @marvell_nfc_hw_ecc_bch_read_oob
	.comm	_marvell_nfc_hw_ecc_bch_write_page_raw,4,2 ## @marvell_nfc_hw_ecc_bch_write_page_raw
	.comm	_marvell_nfc_hw_ecc_bch_write_page,4,2 ## @marvell_nfc_hw_ecc_bch_write_page
	.comm	_marvell_nfc_hw_ecc_bch_write_oob_raw,4,2 ## @marvell_nfc_hw_ecc_bch_write_oob_raw
	.comm	_marvell_nfc_hw_ecc_bch_write_oob,4,2 ## @marvell_nfc_hw_ecc_bch_write_oob
	.no_dead_strip	_marvell_nand_hw_ecc_ctrl_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function marvell_nand_hw_ecc_ctrl_init
_marvell_nand_hw_ecc_ctrl_init:         ; @marvell_nand_hw_ecc_ctrl_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	bl	_mtd_to_nand
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_to_marvell_nfc
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	ldrsw	x9, [x21, #8]
Lloh0:
	adrp	x10, _MAX_CHUNK_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MAX_CHUNK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x11, x8, x9
	cmp	x11, x10
	b.le	LBB0_3
; %bb.2:
	ldr	w0, [x22]
	sub	x9, x10, x9
	stp	x8, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_21
LBB0_3:
	mov	x0, x20
	bl	_to_marvell_nand
	str	xzr, [x0]
Lloh5:
	adrp	x24, _marvell_nfc_layouts@GOTPAGE
Lloh6:
	ldr	x24, [x24, _marvell_nfc_layouts@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.4:
	mov	x8, #0
	mov	x26, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x26, #1
	mov	x0, x23
	bl	_ARRAY_SIZE
	add	x8, x25, #40
	cmp	x26, w0, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x8
	ldr	x23, [x24]
	ldr	x8, [x21]
	ldrsw	x9, [x23, x25]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19]
	add	x8, x23, x25
	ldr	x10, [x8, #8]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x19, #8]
	ldr	w8, [x8, #16]
	cmp	w9, w8
	b.ne	LBB0_5
; %bb.9:
	mov	x0, x20
	bl	_to_marvell_nand
	add	x23, x23, x25
	str	x23, [x0]
	b	LBB0_12
LBB0_10:
	add	x23, x23, x25
	b	LBB0_12
LBB0_11:
                                        ; implicit-def: $x23
LBB0_12:
	mov	x0, x20
	bl	_to_marvell_nand
	ldr	x8, [x0]
	cbz	x8, LBB0_19
; %bb.13:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cbnz	w8, LBB0_15
; %bb.14:
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.ge	LBB0_20
LBB0_15:
	ldr	w8, [x23]
	cmp	w8, #2048
	b.ne	LBB0_23
; %bb.16:
	ldr	w8, [x23, #16]
	cmp	w8, #8
	b.ne	LBB0_23
; %bb.17:
	ldr	w8, [x21, #8]
	cmp	w8, #127
	b.gt	LBB0_22
; %bb.18:
	ldr	w0, [x22]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_19:
	ldr	w8, [x19, #8]
LBB0_20:
	ldr	w0, [x22]
	ldr	x9, [x21]
	stp	x8, x9, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_21:
	bl	_dev_err
Lloh11:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_26
LBB0_22:
Lloh14:
	adrp	x8, _NAND_BBT_NO_OOB_BBM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NAND_BBT_NO_OOB_BBM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_23:
Lloh17:
	adrp	x1, _marvell_nand_ooblayout_ops@GOTPAGE
Lloh18:
	ldr	x1, [x1, _marvell_nand_ooblayout_ops@GOTPAGEOFF]
	mov	x0, x21
	bl	_mtd_set_ooblayout
	ldr	w8, [x23, #32]
	str	w8, [x19, #44]
	ldr	x8, [x23, #24]
	str	x8, [x19]
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.ne	LBB0_25
; %bb.24:
	mov	w0, #0
Lloh19:
	adrp	x8, _NAND_ECC_HAMMING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NAND_ECC_HAMMING@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh22:
	adrp	x8, _marvell_nfc_hw_ecc_hmg_read_page_raw@GOTPAGE
Lloh23:
	ldr	x8, [x8, _marvell_nfc_hw_ecc_hmg_read_page_raw@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _marvell_nfc_hw_ecc_hmg_read_page@GOTPAGE
Lloh26:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_hmg_read_page@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #36]
Lloh28:
	adrp	x8, _marvell_nfc_hw_ecc_hmg_read_oob_raw@GOTPAGE
Lloh29:
	ldr	x8, [x8, _marvell_nfc_hw_ecc_hmg_read_oob_raw@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _marvell_nfc_hw_ecc_hmg_write_page_raw@GOTPAGE
Lloh32:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_hmg_write_page_raw@GOTPAGEOFF]
	stp	w8, w8, [x19, #28]
Lloh33:
	ldr	w8, [x9]
Lloh34:
	adrp	x9, _marvell_nfc_hw_ecc_hmg_write_page@GOTPAGE
Lloh35:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_hmg_write_page@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #20]
Lloh37:
	adrp	x8, _marvell_nfc_hw_ecc_hmg_write_oob_raw@GOTPAGE
Lloh38:
	ldr	x8, [x8, _marvell_nfc_hw_ecc_hmg_write_oob_raw@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	stp	w8, w8, [x19, #12]
	b	LBB0_26
LBB0_25:
	mov	w0, #0
Lloh40:
	adrp	x8, _NAND_ECC_BCH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NAND_ECC_BCH@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	w8, #16
Lloh43:
	adrp	x9, _marvell_nfc_hw_ecc_bch_read_page_raw@GOTPAGE
Lloh44:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_bch_read_page_raw@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	str	w9, [x19, #40]
Lloh46:
	adrp	x9, _marvell_nfc_hw_ecc_bch_read_page@GOTPAGE
Lloh47:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_bch_read_page@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
Lloh49:
	adrp	x10, _marvell_nfc_hw_ecc_bch_read_oob_raw@GOTPAGE
Lloh50:
	ldr	x10, [x10, _marvell_nfc_hw_ecc_bch_read_oob_raw@GOTPAGEOFF]
Lloh51:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #32]
Lloh52:
	adrp	x9, _marvell_nfc_hw_ecc_bch_read_oob@GOTPAGE
Lloh53:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_bch_read_oob@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	adrp	x10, _marvell_nfc_hw_ecc_bch_write_page_raw@GOTPAGE
Lloh56:
	ldr	x10, [x10, _marvell_nfc_hw_ecc_bch_write_page_raw@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
Lloh58:
	adrp	x11, _marvell_nfc_hw_ecc_bch_write_page@GOTPAGE
Lloh59:
	ldr	x11, [x11, _marvell_nfc_hw_ecc_bch_write_page@GOTPAGEOFF]
	stp	w10, w9, [x19, #24]
Lloh60:
	ldr	w9, [x11]
Lloh61:
	adrp	x10, _marvell_nfc_hw_ecc_bch_write_oob_raw@GOTPAGE
Lloh62:
	ldr	x10, [x10, _marvell_nfc_hw_ecc_bch_write_oob_raw@GOTPAGEOFF]
Lloh63:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #16]
Lloh64:
	adrp	x9, _marvell_nfc_hw_ecc_bch_write_oob@GOTPAGE
Lloh65:
	ldr	x9, [x9, _marvell_nfc_hw_ecc_bch_write_oob@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	stp	w8, w9, [x19, #8]
LBB0_26:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CHUNK_SIZE,8,3             ; @MAX_CHUNK_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NFCv1: writesize (%d) cannot be bigger than a chunk (%d)\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_marvell_nfc_layouts,8,3        ; @marvell_nfc_layouts
l_.str.1:                               ; @.str.1
	.asciz	"ECC strength %d at page size %d is not supported\n"

l_.str.2:                               ; @.str.2
	.asciz	"Requested layout needs at least 128 OOB bytes\n"

	.comm	_NAND_BBT_NO_OOB_BBM,4,2        ; @NAND_BBT_NO_OOB_BBM
	.comm	_marvell_nand_ooblayout_ops,4,2 ; @marvell_nand_ooblayout_ops
	.comm	_NAND_ECC_HAMMING,4,2           ; @NAND_ECC_HAMMING
	.comm	_marvell_nfc_hw_ecc_hmg_read_page_raw,4,2 ; @marvell_nfc_hw_ecc_hmg_read_page_raw
	.comm	_marvell_nfc_hw_ecc_hmg_read_page,4,2 ; @marvell_nfc_hw_ecc_hmg_read_page
	.comm	_marvell_nfc_hw_ecc_hmg_read_oob_raw,4,2 ; @marvell_nfc_hw_ecc_hmg_read_oob_raw
	.comm	_marvell_nfc_hw_ecc_hmg_write_page_raw,4,2 ; @marvell_nfc_hw_ecc_hmg_write_page_raw
	.comm	_marvell_nfc_hw_ecc_hmg_write_page,4,2 ; @marvell_nfc_hw_ecc_hmg_write_page
	.comm	_marvell_nfc_hw_ecc_hmg_write_oob_raw,4,2 ; @marvell_nfc_hw_ecc_hmg_write_oob_raw
	.comm	_NAND_ECC_BCH,4,2               ; @NAND_ECC_BCH
	.comm	_marvell_nfc_hw_ecc_bch_read_page_raw,4,2 ; @marvell_nfc_hw_ecc_bch_read_page_raw
	.comm	_marvell_nfc_hw_ecc_bch_read_page,4,2 ; @marvell_nfc_hw_ecc_bch_read_page
	.comm	_marvell_nfc_hw_ecc_bch_read_oob_raw,4,2 ; @marvell_nfc_hw_ecc_bch_read_oob_raw
	.comm	_marvell_nfc_hw_ecc_bch_read_oob,4,2 ; @marvell_nfc_hw_ecc_bch_read_oob
	.comm	_marvell_nfc_hw_ecc_bch_write_page_raw,4,2 ; @marvell_nfc_hw_ecc_bch_write_page_raw
	.comm	_marvell_nfc_hw_ecc_bch_write_page,4,2 ; @marvell_nfc_hw_ecc_bch_write_page
	.comm	_marvell_nfc_hw_ecc_bch_write_oob_raw,4,2 ; @marvell_nfc_hw_ecc_bch_write_oob_raw
	.comm	_marvell_nfc_hw_ecc_bch_write_oob,4,2 ; @marvell_nfc_hw_ecc_bch_write_oob
	.no_dead_strip	_marvell_nand_hw_ecc_ctrl_init
.subsections_via_symbols
