	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nand_set_ecc_soft_ops
_nand_set_ecc_soft_ops:                 ## @nand_set_ecc_soft_ops
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_nand_to_mtd
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_NAND_ECC_SOFT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_23
## %bb.1:
	movl	8(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_7
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_21
## %bb.3:
	movq	_nand_calculate_ecc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%r15)
	movq	_nand_correct_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r15)
	movq	_nand_read_page_swecc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r15)
	movq	_nand_read_subpage@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_nand_write_page_swecc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	_nand_read_page_raw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r15)
	movq	_nand_write_page_raw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	_nand_read_oob_std@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	_nand_write_oob_std@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	cmpl	$0, 12(%r15)
	jne	LBB0_5
## %bb.4:
	movl	$256, 12(%r15)                  ## imm = 0x100
LBB0_5:
	movabsq	$4294967299, %rax               ## imm = 0x100000003
	movq	%rax, 16(%r15)
	movq	_CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_25
## %bb.6:
	movq	_NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
	jmp	LBB0_25
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mtd_nand_has_bch
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	movq	_nand_bch_calculate_ecc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%r15)
	movq	_nand_bch_correct_data@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r15)
	movq	_nand_read_page_swecc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r15)
	movq	_nand_read_subpage@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_nand_write_page_swecc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 64(%r15)
	movq	_nand_read_page_raw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%r15)
	movq	_nand_write_page_raw@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r15)
	movq	_nand_read_oob_std@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r15)
	movq	_nand_write_oob_std@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r15)
	cmpl	$0, 12(%r15)
	jne	LBB0_12
## %bb.10:
	cmpl	$64, (%r14)
	jl	LBB0_12
## %bb.11:
	movl	$512, 12(%r15)                  ## imm = 0x200
	movl	$4, 20(%r15)
LBB0_12:
	movq	8(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	cmpl	$63, (%r14)
	jg	LBB0_15
## %bb.14:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.3(%rip), %rsi
LBB0_22:
	movl	$1, %edi
	callq	_WARN
LBB0_23:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_24:
	subl	(%rax), %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_15:
	movq	_nand_ooblayout_lp_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_mtd_set_ooblayout
	movq	8(%r14), %rax
LBB0_16:
	cmpq	_nand_ooblayout_lp_ops@GOTPCREL(%rip), %rax
	jne	LBB0_19
## %bb.17:
	movq	_NAND_ECC_MAXIMIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 24(%r15)
	je	LBB0_19
## %bb.18:
	movl	$1024, 12(%r15)                 ## imm = 0x400
	movl	(%r14), %eax
	movl	4(%r14), %ecx
	leal	1023(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$10, %esi
	addl	$-2, %eax
	cltd
	idivl	%esi
	movl	%eax, %ebx
	shll	$3, %ebx
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_fls
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, 20(%r15)
LBB0_19:
	movl	$0, 16(%r15)
	movq	%r14, %rdi
	callq	_nand_bch_init
	movl	%eax, 28(%r15)
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_25
## %bb.20:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_NAND_ECC_SOFT,8,3              ## @NAND_ECC_SOFT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nand_calculate_ecc,4,2         ## @nand_calculate_ecc
	.comm	_nand_correct_data,4,2          ## @nand_correct_data
	.comm	_nand_read_page_swecc,8,3       ## @nand_read_page_swecc
	.comm	_nand_read_subpage,8,3          ## @nand_read_subpage
	.comm	_nand_write_page_swecc,8,3      ## @nand_write_page_swecc
	.comm	_nand_read_page_raw,8,3         ## @nand_read_page_raw
	.comm	_nand_write_page_raw,8,3        ## @nand_write_page_raw
	.comm	_nand_read_oob_std,8,3          ## @nand_read_oob_std
	.comm	_nand_write_oob_std,8,3         ## @nand_write_oob_std
	.comm	_CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC,4,2 ## @CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC
	.comm	_NAND_ECC_SOFT_HAMMING_SM_ORDER,4,2 ## @NAND_ECC_SOFT_HAMMING_SM_ORDER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CONFIG_MTD_NAND_ECC_SW_BCH not enabled\n"

	.comm	_nand_bch_calculate_ecc,4,2     ## @nand_bch_calculate_ecc
	.comm	_nand_bch_correct_data,4,2      ## @nand_bch_correct_data
L_.str.1:                               ## @.str.1
	.asciz	"OOB layout is required when using software BCH on small pages\n"

	.comm	_nand_ooblayout_lp_ops,4,2      ## @nand_ooblayout_lp_ops
	.comm	_NAND_ECC_MAXIMIZE,4,2          ## @NAND_ECC_MAXIMIZE
L_.str.2:                               ## @.str.2
	.asciz	"BCH ECC initialization failed!\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unsupported ECC algorithm!\n"

	.no_dead_strip	_nand_set_ecc_soft_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nand_set_ecc_soft_ops
lCPI0_0:
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nand_set_ecc_soft_ops:                 ; @nand_set_ecc_soft_ops
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_nand_to_mtd
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NAND_ECC_SOFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAND_ECC_SOFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_23
; %bb.1:
	ldr	w8, [x19, #8]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.3:
Lloh3:
	adrp	x8, _nand_calculate_ecc@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nand_calculate_ecc@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _nand_correct_data@GOTPAGE
Lloh7:
	ldr	x9, [x9, _nand_correct_data@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
Lloh9:
	adrp	x8, _nand_read_page_swecc@GOTPAGE
Lloh10:
	ldr	x8, [x8, _nand_read_page_swecc@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _nand_read_subpage@GOTPAGE
Lloh13:
	ldr	x9, [x9, _nand_read_subpage@GOTPAGEOFF]
	str	x8, [x19, #80]
Lloh14:
	ldr	x8, [x9]
Lloh15:
	adrp	x9, _nand_write_page_swecc@GOTPAGE
Lloh16:
	ldr	x9, [x9, _nand_write_page_swecc@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #64]
Lloh18:
	adrp	x8, _nand_read_page_raw@GOTPAGE
Lloh19:
	ldr	x8, [x8, _nand_read_page_raw@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _nand_write_page_raw@GOTPAGE
Lloh22:
	ldr	x9, [x9, _nand_write_page_raw@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #48]
Lloh24:
	adrp	x8, _nand_read_oob_std@GOTPAGE
Lloh25:
	ldr	x8, [x8, _nand_read_oob_std@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
Lloh27:
	adrp	x9, _nand_write_oob_std@GOTPAGE
Lloh28:
	ldr	x9, [x9, _nand_write_oob_std@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	w8, #256
	str	w8, [x19, #12]
LBB0_5:
Lloh30:
	adrp	x8, lCPI0_0@PAGE
Lloh31:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #16]
Lloh32:
	adrp	x8, _CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_24
; %bb.6:
	mov	w0, #0
Lloh35:
	adrp	x8, _NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NAND_ECC_SOFT_HAMMING_SM_ORDER@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
	b	LBB0_24
LBB0_7:
	bl	_mtd_nand_has_bch
	cbz	w0, LBB0_15
; %bb.8:
Lloh38:
	adrp	x8, _nand_bch_calculate_ecc@GOTPAGE
Lloh39:
	ldr	x8, [x8, _nand_bch_calculate_ecc@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _nand_bch_correct_data@GOTPAGE
Lloh42:
	ldr	x9, [x9, _nand_bch_correct_data@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #88]
Lloh44:
	adrp	x8, _nand_read_page_swecc@GOTPAGE
Lloh45:
	ldr	x8, [x8, _nand_read_page_swecc@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _nand_read_subpage@GOTPAGE
Lloh48:
	ldr	x9, [x9, _nand_read_subpage@GOTPAGEOFF]
	str	x8, [x19, #80]
Lloh49:
	ldr	x8, [x9]
Lloh50:
	adrp	x9, _nand_write_page_swecc@GOTPAGE
Lloh51:
	ldr	x9, [x9, _nand_write_page_swecc@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #64]
Lloh53:
	adrp	x8, _nand_read_page_raw@GOTPAGE
Lloh54:
	ldr	x8, [x8, _nand_read_page_raw@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
Lloh56:
	adrp	x9, _nand_write_page_raw@GOTPAGE
Lloh57:
	ldr	x9, [x9, _nand_write_page_raw@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #48]
Lloh59:
	adrp	x8, _nand_read_oob_std@GOTPAGE
Lloh60:
	ldr	x8, [x8, _nand_read_oob_std@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
Lloh62:
	adrp	x9, _nand_write_oob_std@GOTPAGE
Lloh63:
	ldr	x9, [x9, _nand_write_oob_std@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	stp	x9, x8, [x19, #32]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_11
; %bb.9:
	ldr	w8, [x20]
	cmp	w8, #64
	b.lt	LBB0_11
; %bb.10:
	mov	w8, #512
	str	w8, [x19, #12]
	mov	w8, #4
	str	w8, [x19, #20]
LBB0_11:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_17
; %bb.12:
	ldr	w8, [x20]
	cmp	w8, #63
	b.gt	LBB0_16
; %bb.13:
Lloh65:
	adrp	x1, l_.str.1@PAGE
Lloh66:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_22
LBB0_14:
Lloh67:
	adrp	x1, l_.str.3@PAGE
Lloh68:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_15:
Lloh69:
	adrp	x1, l_.str@PAGE
Lloh70:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_22
LBB0_16:
Lloh71:
	adrp	x1, _nand_ooblayout_lp_ops@GOTPAGE
Lloh72:
	ldr	x1, [x1, _nand_ooblayout_lp_ops@GOTPAGEOFF]
	mov	x0, x20
	bl	_mtd_set_ooblayout
	ldr	x8, [x20, #8]
LBB0_17:
Lloh73:
	adrp	x9, _nand_ooblayout_lp_ops@GOTPAGE
Lloh74:
	ldr	x9, [x9, _nand_ooblayout_lp_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:
	ldr	w8, [x19, #24]
Lloh75:
	adrp	x9, _NAND_ECC_MAXIMIZE@GOTPAGE
Lloh76:
	ldr	x9, [x9, _NAND_ECC_MAXIMIZE@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	mov	w8, #1024
	str	w8, [x19, #12]
	ldp	w9, w8, [x20]
	add	w10, w8, #1023
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #10
	sub	w9, w9, #2
	sdiv	w8, w9, w8
	lsl	w21, w8, #3
	mov	w0, #8192
	bl	_fls
	sdiv	w8, w21, w0
	str	w8, [x19, #20]
LBB0_20:
	str	wzr, [x19, #16]
	mov	x0, x20
	bl	_nand_bch_init
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #28]
	cbnz	w8, LBB0_24
; %bb.21:
Lloh78:
	adrp	x1, l_.str.2@PAGE
Lloh79:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_22:
	mov	w0, #1
	bl	_WARN
LBB0_23:
Lloh80:
	adrp	x8, _EINVAL@GOTPAGE
Lloh81:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh82:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_24:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdrp	Lloh30, Lloh32
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.cfi_endproc
                                        ; -- End function
	.comm	_NAND_ECC_SOFT,8,3              ; @NAND_ECC_SOFT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nand_calculate_ecc,4,2         ; @nand_calculate_ecc
	.comm	_nand_correct_data,4,2          ; @nand_correct_data
	.comm	_nand_read_page_swecc,8,3       ; @nand_read_page_swecc
	.comm	_nand_read_subpage,8,3          ; @nand_read_subpage
	.comm	_nand_write_page_swecc,8,3      ; @nand_write_page_swecc
	.comm	_nand_read_page_raw,8,3         ; @nand_read_page_raw
	.comm	_nand_write_page_raw,8,3        ; @nand_write_page_raw
	.comm	_nand_read_oob_std,8,3          ; @nand_read_oob_std
	.comm	_nand_write_oob_std,8,3         ; @nand_write_oob_std
	.comm	_CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC,4,2 ; @CONFIG_MTD_NAND_ECC_SW_HAMMING_SMC
	.comm	_NAND_ECC_SOFT_HAMMING_SM_ORDER,4,2 ; @NAND_ECC_SOFT_HAMMING_SM_ORDER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CONFIG_MTD_NAND_ECC_SW_BCH not enabled\n"

	.comm	_nand_bch_calculate_ecc,4,2     ; @nand_bch_calculate_ecc
	.comm	_nand_bch_correct_data,4,2      ; @nand_bch_correct_data
l_.str.1:                               ; @.str.1
	.asciz	"OOB layout is required when using software BCH on small pages\n"

	.comm	_nand_ooblayout_lp_ops,4,2      ; @nand_ooblayout_lp_ops
	.comm	_NAND_ECC_MAXIMIZE,4,2          ; @NAND_ECC_MAXIMIZE
l_.str.2:                               ; @.str.2
	.asciz	"BCH ECC initialization failed!\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unsupported ECC algorithm!\n"

	.no_dead_strip	_nand_set_ecc_soft_ops
.subsections_via_symbols
