	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hisi_nfc_dma_transfer
_hisi_nfc_dma_transfer:                 ## @hisi_nfc_dma_transfer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	addq	$40, %rdi
	callq	_nand_to_mtd
	movq	%rax, %r15
	movq	(%r12), %rsi
	movq	_HINFC504_DMA_ADDR_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_hinfc_write
	movq	8(%r12), %rsi
	movq	_HINFC504_DMA_ADDR_OOB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_hinfc_write
	movq	40(%r12), %rax
	movq	_NAND_ECC_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_HINFC504_DMA_LEN_OOB_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	andq	(%r15), %rsi
	movq	_HINFC504_DMA_LEN_OOB_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shlq	%cl, %rsi
	movq	_HINFC504_DMA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_hinfc_write
	movq	_HINFC504_DMA_PARA_OOB_RW_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA_DATA_RW_EN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	16(%r12), %rax
	movq	_NAND_CMD_READOOB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_HINFC504_DMA_PARA_OOB_RW_EN@GOTPCREL(%rip), %rax
	movq	_HINFC504_DMA_PARA_OOB_EDC_EN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	jmp	LBB0_5
LBB0_4:
	movq	_HINFC504_DMA_PARA_DATA_RW_EN@GOTPCREL(%rip), %rax
	movq	_HINFC504_DMA_PARA_OOB_RW_EN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	orq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA_DATA_EDC_EN@GOTPCREL(%rip), %rax
	orq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA_OOB_EDC_EN@GOTPCREL(%rip), %rax
	orq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA_DATA_ECC_EN@GOTPCREL(%rip), %rax
LBB0_5:
	orq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA_OOB_ECC_EN@GOTPCREL(%rip), %rax
LBB0_6:
	orq	(%rax), %rsi
	movq	_HINFC504_DMA_PARA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_hinfc_write
	movq	_HINFC504_DMA_CTRL_DMA_START@GOTPCREL(%rip), %r15
	movq	_HINFC504_DMA_CTRL_BURST4_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r15), %eax
	movq	_HINFC504_DMA_CTRL_BURST8_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_HINFC504_DMA_CTRL_BURST16_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_HINFC504_DMA_CTRL_DATA_AREA_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_HINFC504_DMA_CTRL_OOB_AREA_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%edx, %edx
	cmpl	$4, 24(%r12)
	sete	%dl
	movq	_HINFC504_DMA_CTRL_ADDR_NUM_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_HINFC504_DMA_CTRL_CS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	28(%r12), %esi
	movq	_HINFC504_DMA_CTRL_CS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	orl	%eax, %esi
	movslq	%esi, %rax
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.8:
	movq	_HINFC504_DMA_CTRL_WE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	jmp	LBB0_9
LBB0_7:
	xorl	%ebx, %ebx
LBB0_9:
	orq	%rax, %rbx
	leaq	36(%r12), %r14
	movq	%r14, %rdi
	callq	_init_completion
	movq	_HINFC504_DMA_CTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hinfc_write
	movq	_HINFC504_NFC_DMA_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_wait_for_completion_timeout
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	32(%r12), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_hinfc_read
	movslq	(%r15), %rcx
	testq	%rcx, %rax
	movl	32(%r12), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HINFC504_DMA_ADDR_DATA,4,2     ## @HINFC504_DMA_ADDR_DATA
	.comm	_HINFC504_DMA_ADDR_OOB,4,2      ## @HINFC504_DMA_ADDR_OOB
	.comm	_NAND_ECC_NONE,8,3              ## @NAND_ECC_NONE
	.comm	_HINFC504_DMA_LEN_OOB_MASK,8,3  ## @HINFC504_DMA_LEN_OOB_MASK
	.comm	_HINFC504_DMA_LEN_OOB_SHIFT,8,3 ## @HINFC504_DMA_LEN_OOB_SHIFT
	.comm	_HINFC504_DMA_LEN,4,2           ## @HINFC504_DMA_LEN
	.comm	_HINFC504_DMA_PARA_DATA_RW_EN,8,3 ## @HINFC504_DMA_PARA_DATA_RW_EN
	.comm	_HINFC504_DMA_PARA_OOB_RW_EN,8,3 ## @HINFC504_DMA_PARA_OOB_RW_EN
	.comm	_HINFC504_DMA_PARA,4,2          ## @HINFC504_DMA_PARA
	.comm	_NAND_CMD_READOOB,8,3           ## @NAND_CMD_READOOB
	.comm	_HINFC504_DMA_PARA_OOB_EDC_EN,8,3 ## @HINFC504_DMA_PARA_OOB_EDC_EN
	.comm	_HINFC504_DMA_PARA_OOB_ECC_EN,8,3 ## @HINFC504_DMA_PARA_OOB_ECC_EN
	.comm	_HINFC504_DMA_PARA_DATA_EDC_EN,8,3 ## @HINFC504_DMA_PARA_DATA_EDC_EN
	.comm	_HINFC504_DMA_PARA_DATA_ECC_EN,8,3 ## @HINFC504_DMA_PARA_DATA_ECC_EN
	.comm	_HINFC504_DMA_CTRL_DMA_START,4,2 ## @HINFC504_DMA_CTRL_DMA_START
	.comm	_HINFC504_DMA_CTRL_BURST4_EN,4,2 ## @HINFC504_DMA_CTRL_BURST4_EN
	.comm	_HINFC504_DMA_CTRL_BURST8_EN,4,2 ## @HINFC504_DMA_CTRL_BURST8_EN
	.comm	_HINFC504_DMA_CTRL_BURST16_EN,4,2 ## @HINFC504_DMA_CTRL_BURST16_EN
	.comm	_HINFC504_DMA_CTRL_DATA_AREA_EN,4,2 ## @HINFC504_DMA_CTRL_DATA_AREA_EN
	.comm	_HINFC504_DMA_CTRL_OOB_AREA_EN,4,2 ## @HINFC504_DMA_CTRL_OOB_AREA_EN
	.comm	_HINFC504_DMA_CTRL_ADDR_NUM_SHIFT,4,2 ## @HINFC504_DMA_CTRL_ADDR_NUM_SHIFT
	.comm	_HINFC504_DMA_CTRL_CS_MASK,4,2  ## @HINFC504_DMA_CTRL_CS_MASK
	.comm	_HINFC504_DMA_CTRL_CS_SHIFT,4,2 ## @HINFC504_DMA_CTRL_CS_SHIFT
	.comm	_HINFC504_DMA_CTRL_WE,8,3       ## @HINFC504_DMA_CTRL_WE
	.comm	_HINFC504_DMA_CTRL,4,2          ## @HINFC504_DMA_CTRL
	.comm	_HINFC504_NFC_DMA_TIMEOUT,4,2   ## @HINFC504_NFC_DMA_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DMA operation(irq) timeout!\n"

L_.str.1:                               ## @.str.1
	.asciz	"DMA is already done but without irq ACK!\n"

L_.str.2:                               ## @.str.2
	.asciz	"DMA is really timeout!\n"

	.no_dead_strip	_hisi_nfc_dma_transfer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hisi_nfc_dma_transfer
_hisi_nfc_dma_transfer:                 ; @hisi_nfc_dma_transfer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	add	x0, x0, #40
	bl	_nand_to_mtd
	mov	x21, x0
	ldr	x1, [x19]
Lloh0:
	adrp	x8, _HINFC504_DMA_ADDR_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HINFC504_DMA_ADDR_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hinfc_write
	ldr	x1, [x19, #8]
Lloh3:
	adrp	x8, _HINFC504_DMA_ADDR_OOB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HINFC504_DMA_ADDR_OOB@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hinfc_write
	ldr	x8, [x19, #40]
Lloh6:
	adrp	x9, _NAND_ECC_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NAND_ECC_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _HINFC504_DMA_LEN_OOB_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HINFC504_DMA_LEN_OOB_MASK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _HINFC504_DMA_LEN_OOB_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _HINFC504_DMA_LEN_OOB_SHIFT@GOTPAGEOFF]
	and	x8, x9, x8
Lloh14:
	ldr	x9, [x10]
	lsl	x1, x8, x9
Lloh15:
	adrp	x8, _HINFC504_DMA_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HINFC504_DMA_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hinfc_write
Lloh18:
	adrp	x8, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x9, _HINFC504_DMA_PARA_DATA_RW_EN@GOTPAGE
Lloh22:
	ldr	x9, [x9, _HINFC504_DMA_PARA_DATA_RW_EN@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x19, #16]
Lloh23:
	adrp	x9, _NAND_CMD_READOOB@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NAND_CMD_READOOB@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh26:
	adrp	x8, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _HINFC504_DMA_PARA_OOB_EDC_EN@GOTPAGE
Lloh30:
	ldr	x9, [x9, _HINFC504_DMA_PARA_OOB_EDC_EN@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	orr	x8, x9, x8
	b	LBB0_5
LBB0_4:
Lloh32:
	adrp	x8, _HINFC504_DMA_PARA_DATA_RW_EN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HINFC504_DMA_PARA_DATA_RW_EN@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HINFC504_DMA_PARA_OOB_RW_EN@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh38:
	adrp	x9, _HINFC504_DMA_PARA_DATA_EDC_EN@GOTPAGE
Lloh39:
	ldr	x9, [x9, _HINFC504_DMA_PARA_DATA_EDC_EN@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh41:
	adrp	x9, _HINFC504_DMA_PARA_OOB_EDC_EN@GOTPAGE
Lloh42:
	ldr	x9, [x9, _HINFC504_DMA_PARA_OOB_EDC_EN@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	orr	x8, x8, x9
Lloh44:
	adrp	x9, _HINFC504_DMA_PARA_DATA_ECC_EN@GOTPAGE
Lloh45:
	ldr	x9, [x9, _HINFC504_DMA_PARA_DATA_ECC_EN@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	orr	x8, x8, x9
LBB0_5:
Lloh47:
	adrp	x9, _HINFC504_DMA_PARA_OOB_ECC_EN@GOTPAGE
Lloh48:
	ldr	x9, [x9, _HINFC504_DMA_PARA_OOB_ECC_EN@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	orr	x1, x8, x9
Lloh49:
	adrp	x8, _HINFC504_DMA_PARA@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HINFC504_DMA_PARA@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hinfc_write
Lloh52:
	adrp	x22, _HINFC504_DMA_CTRL_DMA_START@GOTPAGE
Lloh53:
	ldr	x22, [x22, _HINFC504_DMA_CTRL_DMA_START@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh54:
	adrp	x9, _HINFC504_DMA_CTRL_BURST4_EN@GOTPAGE
Lloh55:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_BURST4_EN@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh57:
	adrp	x9, _HINFC504_DMA_CTRL_BURST8_EN@GOTPAGE
Lloh58:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_BURST8_EN@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh60:
	adrp	x9, _HINFC504_DMA_CTRL_BURST16_EN@GOTPAGE
Lloh61:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_BURST16_EN@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh63:
	adrp	x9, _HINFC504_DMA_CTRL_DATA_AREA_EN@GOTPAGE
Lloh64:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_DATA_AREA_EN@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh66:
	adrp	x9, _HINFC504_DMA_CTRL_OOB_AREA_EN@GOTPAGE
Lloh67:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_OOB_AREA_EN@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w8, w9
	ldp	w9, w10, [x19, #24]
	cmp	w9, #4
	cset	w9, eq
Lloh69:
	adrp	x11, _HINFC504_DMA_CTRL_ADDR_NUM_SHIFT@GOTPAGE
Lloh70:
	ldr	x11, [x11, _HINFC504_DMA_CTRL_ADDR_NUM_SHIFT@GOTPAGEOFF]
Lloh71:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w8, w8, w9
Lloh72:
	adrp	x9, _HINFC504_DMA_CTRL_CS_MASK@GOTPAGE
Lloh73:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_CS_MASK@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
Lloh75:
	adrp	x11, _HINFC504_DMA_CTRL_CS_SHIFT@GOTPAGE
Lloh76:
	ldr	x11, [x11, _HINFC504_DMA_CTRL_CS_SHIFT@GOTPAGEOFF]
	and	w9, w9, w10
Lloh77:
	ldr	w10, [x11]
	lsl	w9, w9, w10
	orr	w8, w8, w9
Lloh78:
	adrp	x9, _HINFC504_DMA_CTRL_WE@GOTPAGE
Lloh79:
	ldr	x9, [x9, _HINFC504_DMA_CTRL_WE@GOTPAGEOFF]
	sxtw	x8, w8
Lloh80:
	ldr	x9, [x9]
	cmp	w20, #0
	csel	x9, xzr, x9, eq
	orr	x20, x9, x8
	add	x21, x19, #36
	mov	x0, x21
	bl	_init_completion
Lloh81:
	adrp	x23, _HINFC504_DMA_CTRL@GOTPAGE
Lloh82:
	ldr	x23, [x23, _HINFC504_DMA_CTRL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_hinfc_write
Lloh83:
	adrp	x8, _HINFC504_NFC_DMA_TIMEOUT@GOTPAGE
Lloh84:
	ldr	x8, [x8, _HINFC504_NFC_DMA_TIMEOUT@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_wait_for_completion_timeout
	cbz	w0, LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	w0, [x19, #32]
Lloh86:
	adrp	x1, l_.str@PAGE
Lloh87:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w1, [x23]
	mov	x0, x19
	bl	_hinfc_read
	ldrsw	x9, [x22]
	ldr	w8, [x19, #32]
Lloh88:
	adrp	x10, l_.str.2@PAGE
Lloh89:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh90:
	adrp	x11, l_.str.1@PAGE
Lloh91:
	add	x11, x11, l_.str.1@PAGEOFF
	tst	x0, x9
	csel	x1, x11, x10, eq
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dev_err
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_HINFC504_DMA_ADDR_DATA,4,2     ; @HINFC504_DMA_ADDR_DATA
	.comm	_HINFC504_DMA_ADDR_OOB,4,2      ; @HINFC504_DMA_ADDR_OOB
	.comm	_NAND_ECC_NONE,8,3              ; @NAND_ECC_NONE
	.comm	_HINFC504_DMA_LEN_OOB_MASK,8,3  ; @HINFC504_DMA_LEN_OOB_MASK
	.comm	_HINFC504_DMA_LEN_OOB_SHIFT,8,3 ; @HINFC504_DMA_LEN_OOB_SHIFT
	.comm	_HINFC504_DMA_LEN,4,2           ; @HINFC504_DMA_LEN
	.comm	_HINFC504_DMA_PARA_DATA_RW_EN,8,3 ; @HINFC504_DMA_PARA_DATA_RW_EN
	.comm	_HINFC504_DMA_PARA_OOB_RW_EN,8,3 ; @HINFC504_DMA_PARA_OOB_RW_EN
	.comm	_HINFC504_DMA_PARA,4,2          ; @HINFC504_DMA_PARA
	.comm	_NAND_CMD_READOOB,8,3           ; @NAND_CMD_READOOB
	.comm	_HINFC504_DMA_PARA_OOB_EDC_EN,8,3 ; @HINFC504_DMA_PARA_OOB_EDC_EN
	.comm	_HINFC504_DMA_PARA_OOB_ECC_EN,8,3 ; @HINFC504_DMA_PARA_OOB_ECC_EN
	.comm	_HINFC504_DMA_PARA_DATA_EDC_EN,8,3 ; @HINFC504_DMA_PARA_DATA_EDC_EN
	.comm	_HINFC504_DMA_PARA_DATA_ECC_EN,8,3 ; @HINFC504_DMA_PARA_DATA_ECC_EN
	.comm	_HINFC504_DMA_CTRL_DMA_START,4,2 ; @HINFC504_DMA_CTRL_DMA_START
	.comm	_HINFC504_DMA_CTRL_BURST4_EN,4,2 ; @HINFC504_DMA_CTRL_BURST4_EN
	.comm	_HINFC504_DMA_CTRL_BURST8_EN,4,2 ; @HINFC504_DMA_CTRL_BURST8_EN
	.comm	_HINFC504_DMA_CTRL_BURST16_EN,4,2 ; @HINFC504_DMA_CTRL_BURST16_EN
	.comm	_HINFC504_DMA_CTRL_DATA_AREA_EN,4,2 ; @HINFC504_DMA_CTRL_DATA_AREA_EN
	.comm	_HINFC504_DMA_CTRL_OOB_AREA_EN,4,2 ; @HINFC504_DMA_CTRL_OOB_AREA_EN
	.comm	_HINFC504_DMA_CTRL_ADDR_NUM_SHIFT,4,2 ; @HINFC504_DMA_CTRL_ADDR_NUM_SHIFT
	.comm	_HINFC504_DMA_CTRL_CS_MASK,4,2  ; @HINFC504_DMA_CTRL_CS_MASK
	.comm	_HINFC504_DMA_CTRL_CS_SHIFT,4,2 ; @HINFC504_DMA_CTRL_CS_SHIFT
	.comm	_HINFC504_DMA_CTRL_WE,8,3       ; @HINFC504_DMA_CTRL_WE
	.comm	_HINFC504_DMA_CTRL,4,2          ; @HINFC504_DMA_CTRL
	.comm	_HINFC504_NFC_DMA_TIMEOUT,4,2   ; @HINFC504_NFC_DMA_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DMA operation(irq) timeout!\n"

l_.str.1:                               ; @.str.1
	.asciz	"DMA is already done but without irq ACK!\n"

l_.str.2:                               ; @.str.2
	.asciz	"DMA is really timeout!\n"

	.no_dead_strip	_hisi_nfc_dma_transfer
.subsections_via_symbols
