	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunxi_nand_hw_ecc_ctrl_init
_sunxi_nand_hw_ecc_ctrl_init:           ## @sunxi_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, %r15
	movq	%rdi, %r12
	movl	4(%rdi), %edi
	callq	_to_sunxi_nfc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_nand_to_mtd
	movq	%rax, %rbx
	movq	_NAND_ECC_MAXIMIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.1:
	movl	$1024, 4(%r15)                  ## imm = 0x400
	movl	(%rbx), %ecx
	movl	4(%rbx), %eax
	leal	1023(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$10, %esi
	addl	$-2, %eax
	cltd
	idivl	%esi
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, %ecx
	andl	$1, %ecx
	cmpl	$1, %ecx
	adcl	$0, %eax
	leal	-40(,%rax,8), %ebx
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_fls
	movl	%eax, %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	movl	%eax, 8(%r15)
	leaq	_sunxi_nand_hw_ecc_ctrl_init.strengths(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:
	xorl	%r13d, %r13d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpl	8(%r15), %eax
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_4
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.7:
	shlq	$32, %r13
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	addq	%r13, %rax
	sarq	$30, %rax
	leaq	_sunxi_nand_hw_ecc_ctrl_init.strengths(%rip), %rcx
	movl	(%rax,%rcx), %eax
	jmp	LBB0_8
LBB0_2:
	xorl	%eax, %eax
LBB0_8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 8(%r15)
LBB0_9:
	movl	4(%r15), %eax
	cmpl	$512, %eax                      ## imm = 0x200
	je	LBB0_13
## %bb.10:
	cmpl	$1024, %eax                     ## imm = 0x400
	jne	LBB0_11
LBB0_13:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %r13
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	cmpl	$512, 4(%r15)                   ## imm = 0x200
	jne	LBB0_18
## %bb.16:
	cmpl	$513, (%rbx)                    ## imm = 0x201
	jl	LBB0_18
## %bb.17:
	movl	$1024, 4(%r15)                  ## imm = 0x400
	shll	8(%r15)
LBB0_18:
	leaq	_sunxi_nand_hw_ecc_ctrl_init.strengths(%rip), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_23
## %bb.19:
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	cmpl	%eax, 8(%r15)
	jle	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	incq	%r14
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_20
	jmp	LBB0_23
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_14:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_12:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_32
LBB0_21:
	movl	%eax, 8(%r15)
LBB0_23:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leaq	_sunxi_nand_hw_ecc_ctrl_init.strengths(%rip), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r14d
	jge	LBB0_24
## %bb.26:
	movl	%r14d, (%r13)
	movl	8(%r15), %ebx
	movl	$8192, %edi                     ## imm = 0x2000
	callq	_fls
	imull	%eax, %ebx
	movl	%ebx, %edi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, 12(%r15)
	movl	%eax, %edi
	movl	$2, %esi
	callq	_ALIGN
	movl	%eax, %ecx
	movl	%eax, 12(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %eax
	movl	4(%rdi), %esi
	cltd
	idivl	4(%r15)
	addl	$4, %ecx
	imull	%eax, %ecx
	cmpl	%ecx, %esi
	jge	LBB0_28
## %bb.27:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_24:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
LBB0_25:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_32
LBB0_28:
	movq	_sunxi_nfc_hw_ecc_read_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	_sunxi_nfc_hw_ecc_write_oob@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_sunxi_nand_ooblayout_ops@GOTPCREL(%rip), %rsi
	callq	_mtd_set_ooblayout
	movq	%r13, 40(%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_30
## %bb.29:
	movq	_sunxi_nfc_hw_ecc_read_page_dma@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_sunxi_nfc_hw_ecc_read_subpage_dma@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_sunxi_nfc_hw_ecc_write_page_dma@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_NAND_USE_BOUNCE_BUFFER@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%esi, (%r12)
	jmp	LBB0_31
LBB0_30:
	movq	_sunxi_nfc_hw_ecc_read_page@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_sunxi_nfc_hw_ecc_read_subpage@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_sunxi_nfc_hw_ecc_write_page@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_31:
	movl	%eax, 36(%r15)
	movl	%ecx, 32(%r15)
	movl	%edx, 28(%r15)
	movq	_sunxi_nfc_hw_ecc_write_subpage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	_nand_read_oob_std@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r15)
	movq	_nand_write_oob_std@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	xorl	%ebx, %ebx
LBB0_32:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sunxi_nand_hw_ecc_ctrl_init.strengths
_sunxi_nand_hw_ecc_ctrl_init.strengths:
	.long	16                              ## 0x10
	.long	24                              ## 0x18
	.long	28                              ## 0x1c
	.long	32                              ## 0x20
	.long	40                              ## 0x28
	.long	48                              ## 0x30
	.long	56                              ## 0x38
	.long	60                              ## 0x3c
	.long	64                              ## 0x40

	.comm	_NAND_ECC_MAXIMIZE,4,2          ## @NAND_ECC_MAXIMIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported strength\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_sunxi_nfc_hw_ecc_read_oob,4,2  ## @sunxi_nfc_hw_ecc_read_oob
	.comm	_sunxi_nfc_hw_ecc_write_oob,4,2 ## @sunxi_nfc_hw_ecc_write_oob
	.comm	_sunxi_nand_ooblayout_ops,4,2   ## @sunxi_nand_ooblayout_ops
	.comm	_sunxi_nfc_hw_ecc_read_page_dma,4,2 ## @sunxi_nfc_hw_ecc_read_page_dma
	.comm	_sunxi_nfc_hw_ecc_read_subpage_dma,4,2 ## @sunxi_nfc_hw_ecc_read_subpage_dma
	.comm	_sunxi_nfc_hw_ecc_write_page_dma,4,2 ## @sunxi_nfc_hw_ecc_write_page_dma
	.comm	_NAND_USE_BOUNCE_BUFFER,4,2     ## @NAND_USE_BOUNCE_BUFFER
	.comm	_sunxi_nfc_hw_ecc_read_page,4,2 ## @sunxi_nfc_hw_ecc_read_page
	.comm	_sunxi_nfc_hw_ecc_read_subpage,4,2 ## @sunxi_nfc_hw_ecc_read_subpage
	.comm	_sunxi_nfc_hw_ecc_write_page,4,2 ## @sunxi_nfc_hw_ecc_write_page
	.comm	_sunxi_nfc_hw_ecc_write_subpage,4,2 ## @sunxi_nfc_hw_ecc_write_subpage
	.comm	_nand_read_oob_std,4,2          ## @nand_read_oob_std
	.comm	_nand_write_oob_std,4,2         ## @nand_write_oob_std
	.no_dead_strip	_sunxi_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 sunxi_nand_hw_ecc_ctrl_init
_sunxi_nand_hw_ecc_ctrl_init:           ; @sunxi_nand_hw_ecc_ctrl_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_sunxi_nfc
	mov	x21, x0
	mov	x0, x20
	bl	_nand_to_mtd
	mov	x22, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _NAND_ECC_MAXIMIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NAND_ECC_MAXIMIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	w8, #1024
	str	w8, [x19, #4]
	ldp	w8, w9, [x22]
	add	w10, w8, #1023
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #10
	sub	w9, w9, #2
	sdiv	w8, w9, w8
	tst	w8, #0x1
	mov	w9, #-5
	cinc	w9, w9, eq
	add	w8, w9, w8
	lsl	w23, w8, #3
	mov	w0, #8192
	bl	_fls
	sdiv	w8, w23, w0
	str	w8, [x19, #8]
Lloh3:
	adrp	x23, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGE
Lloh4:
	add	x23, x23, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGEOFF
	mov	x0, x23
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x24, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, x24, lsl #2]
	ldr	w9, [x19, #8]
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	mov	x0, x23
	bl	_ARRAY_SIZE
	cmp	x24, w0, sxtw
	b.lt	LBB0_3
LBB0_5:
	cbz	w24, LBB0_7
; %bb.6:
	mov	x8, #-4294967296
	add	x8, x8, x24, lsl #32
	asr	x8, x8, #30
	ldr	w8, [x23, x8]
	b	LBB0_8
LBB0_7:
	mov	w8, #0
LBB0_8:
	str	w8, [x19, #8]
LBB0_9:
	ldr	w8, [x19, #4]
	cmp	w8, #512
	b.eq	LBB0_11
; %bb.10:
	cmp	w8, #1024
	b.ne	LBB0_19
LBB0_11:
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_20
; %bb.12:
	mov	x23, x0
	ldr	w8, [x19, #4]
	cmp	w8, #512
	b.ne	LBB0_15
; %bb.13:
	ldr	w8, [x22]
	cmp	w8, #513
	b.lt	LBB0_15
; %bb.14:
	mov	w8, #1024
	ldr	w9, [x19, #8]
	lsl	w9, w9, #1
	stp	w8, w9, [x19, #4]
LBB0_15:
Lloh8:
	adrp	x24, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGE
Lloh9:
	add	x24, x24, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGEOFF
	mov	x0, x24
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x25, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #8]
	ldr	w8, [x24, x25, lsl #2]
	cmp	w9, w8
	b.le	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x25, x25, #1
	mov	x0, x24
	bl	_ARRAY_SIZE
	cmp	x25, w0, sxtw
	b.lt	LBB0_17
	b	LBB0_24
LBB0_19:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_33
LBB0_22:
	mov	w25, #0
	b	LBB0_24
LBB0_23:
	str	w8, [x19, #8]
LBB0_24:
Lloh14:
	adrp	x0, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGE
Lloh15:
	add	x0, x0, _sunxi_nand_hw_ecc_ctrl_init.strengths@PAGEOFF
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ge	LBB0_27
; %bb.25:
	str	w25, [x23]
	ldr	w24, [x19, #8]
	mov	w0, #8192
	bl	_fls
	mul	w0, w0, w24
	mov	w1, #8
	bl	_DIV_ROUND_UP
	str	w0, [x19, #12]
	mov	w1, #2
	bl	_ALIGN
	str	w0, [x19, #12]
	ldr	w8, [x19, #4]
	ldp	w9, w10, [x22]
	sdiv	w8, w9, w8
	add	w9, w0, #4
	mul	w8, w8, w9
	cmp	w10, w8
	b.ge	LBB0_29
; %bb.26:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
	ldr	w0, [x21, #8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh20:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_28:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x23
	bl	_kfree
	b	LBB0_33
LBB0_29:
Lloh22:
	adrp	x8, _sunxi_nfc_hw_ecc_read_oob@GOTPAGE
Lloh23:
	ldr	x8, [x8, _sunxi_nfc_hw_ecc_read_oob@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	adrp	x9, _sunxi_nfc_hw_ecc_write_oob@GOTPAGE
Lloh26:
	ldr	x9, [x9, _sunxi_nfc_hw_ecc_write_oob@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh28:
	adrp	x1, _sunxi_nand_ooblayout_ops@GOTPAGE
Lloh29:
	ldr	x1, [x1, _sunxi_nand_ooblayout_ops@GOTPAGEOFF]
	mov	x0, x22
	bl	_mtd_set_ooblayout
	str	x23, [x19, #40]
	ldr	x8, [x21]
	cbz	x8, LBB0_31
; %bb.30:
Lloh30:
	adrp	x8, _sunxi_nfc_hw_ecc_read_page_dma@GOTPAGE
Lloh31:
	ldr	x8, [x8, _sunxi_nfc_hw_ecc_read_page_dma@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _sunxi_nfc_hw_ecc_read_subpage_dma@GOTPAGE
Lloh34:
	ldr	x9, [x9, _sunxi_nfc_hw_ecc_read_subpage_dma@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
Lloh36:
	adrp	x10, _sunxi_nfc_hw_ecc_write_page_dma@GOTPAGE
Lloh37:
	ldr	x10, [x10, _sunxi_nfc_hw_ecc_write_page_dma@GOTPAGEOFF]
Lloh38:
	ldr	w10, [x10]
Lloh39:
	adrp	x11, _NAND_USE_BOUNCE_BUFFER@GOTPAGE
Lloh40:
	ldr	x11, [x11, _NAND_USE_BOUNCE_BUFFER@GOTPAGEOFF]
Lloh41:
	ldr	w11, [x11]
	ldr	w12, [x20]
	orr	w11, w12, w11
	str	w11, [x20]
	b	LBB0_32
LBB0_31:
Lloh42:
	adrp	x8, _sunxi_nfc_hw_ecc_read_page@GOTPAGE
Lloh43:
	ldr	x8, [x8, _sunxi_nfc_hw_ecc_read_page@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _sunxi_nfc_hw_ecc_read_subpage@GOTPAGE
Lloh46:
	ldr	x9, [x9, _sunxi_nfc_hw_ecc_read_subpage@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
Lloh48:
	adrp	x10, _sunxi_nfc_hw_ecc_write_page@GOTPAGE
Lloh49:
	ldr	x10, [x10, _sunxi_nfc_hw_ecc_write_page@GOTPAGEOFF]
Lloh50:
	ldr	w10, [x10]
LBB0_32:
	mov	w20, #0
Lloh51:
	adrp	x11, _sunxi_nfc_hw_ecc_write_subpage@GOTPAGE
Lloh52:
	ldr	x11, [x11, _sunxi_nfc_hw_ecc_write_subpage@GOTPAGEOFF]
	stp	w9, w8, [x19, #32]
Lloh53:
	ldr	w8, [x11]
	stp	w8, w10, [x19, #24]
Lloh54:
	adrp	x8, _nand_read_oob_std@GOTPAGE
Lloh55:
	ldr	x8, [x8, _nand_read_oob_std@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _nand_write_oob_std@GOTPAGE
Lloh58:
	ldr	x9, [x9, _nand_write_oob_std@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
LBB0_33:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sunxi_nand_hw_ecc_ctrl_init.strengths
_sunxi_nand_hw_ecc_ctrl_init.strengths:
	.long	16                              ; 0x10
	.long	24                              ; 0x18
	.long	28                              ; 0x1c
	.long	32                              ; 0x20
	.long	40                              ; 0x28
	.long	48                              ; 0x30
	.long	56                              ; 0x38
	.long	60                              ; 0x3c
	.long	64                              ; 0x40

	.comm	_NAND_ECC_MAXIMIZE,4,2          ; @NAND_ECC_MAXIMIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported strength\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_sunxi_nfc_hw_ecc_read_oob,4,2  ; @sunxi_nfc_hw_ecc_read_oob
	.comm	_sunxi_nfc_hw_ecc_write_oob,4,2 ; @sunxi_nfc_hw_ecc_write_oob
	.comm	_sunxi_nand_ooblayout_ops,4,2   ; @sunxi_nand_ooblayout_ops
	.comm	_sunxi_nfc_hw_ecc_read_page_dma,4,2 ; @sunxi_nfc_hw_ecc_read_page_dma
	.comm	_sunxi_nfc_hw_ecc_read_subpage_dma,4,2 ; @sunxi_nfc_hw_ecc_read_subpage_dma
	.comm	_sunxi_nfc_hw_ecc_write_page_dma,4,2 ; @sunxi_nfc_hw_ecc_write_page_dma
	.comm	_NAND_USE_BOUNCE_BUFFER,4,2     ; @NAND_USE_BOUNCE_BUFFER
	.comm	_sunxi_nfc_hw_ecc_read_page,4,2 ; @sunxi_nfc_hw_ecc_read_page
	.comm	_sunxi_nfc_hw_ecc_read_subpage,4,2 ; @sunxi_nfc_hw_ecc_read_subpage
	.comm	_sunxi_nfc_hw_ecc_write_page,4,2 ; @sunxi_nfc_hw_ecc_write_page
	.comm	_sunxi_nfc_hw_ecc_write_subpage,4,2 ; @sunxi_nfc_hw_ecc_write_subpage
	.comm	_nand_read_oob_std,4,2          ; @nand_read_oob_std
	.comm	_nand_write_oob_std,4,2         ; @nand_write_oob_std
	.no_dead_strip	_sunxi_nand_hw_ecc_ctrl_init
.subsections_via_symbols
