	.file	"extr_nand_base.c_nand_read_page_raw_syndrome.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nand_read_page_raw_syndrome, @function
nand_read_page_raw_syndrome:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR 20[rsi]
	mov	ebp, DWORD PTR 24[rsi]
	mov	r15d, DWORD PTR 16[rsi]
	mov	r14, QWORD PTR 8[rsi]
	mov	DWORD PTR 12[rsp], ecx
	test	ebp, ebp
	jle	.L7
	movsx	rax, r15d
	mov	rbx, rdx
	sal	rax, 2
	mov	QWORD PTR 16[rsp], rax
	movsx	rax, ecx
	sal	rax, 2
	mov	QWORD PTR 24[rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, r15d
	mov	rsi, rbx
	mov	rdi, r13
	call	[QWORD PTR [r12]]
	mov	edx, DWORD PTR 28[r12]
	add	rbx, QWORD PTR 16[rsp]
	test	edx, edx
	je	.L3
	mov	rsi, r14
	mov	rdi, r13
	call	[QWORD PTR [r12]]
	movsx	rax, DWORD PTR 28[r12]
	lea	r14, [r14+rax*4]
.L3:
	mov	edx, DWORD PTR 12[rsp]
	mov	rsi, r14
	mov	rdi, r13
	call	[QWORD PTR [r12]]
	mov	edx, DWORD PTR 32[r12]
	add	r14, QWORD PTR 24[rsp]
	test	edx, edx
	je	.L4
	mov	rsi, r14
	mov	rdi, r13
	call	[QWORD PTR [r12]]
	movsx	rax, DWORD PTR 32[r12]
	lea	r14, [r14+rax*4]
.L4:
	sub	ebp, 1
	jne	.L5
	mov	rdx, r14
	sub	rdx, QWORD PTR 8[r12]
	sar	rdx, 2
	neg	edx
.L2:
	add	edx, DWORD PTR 0[r13]
	je	.L6
	mov	rsi, r14
	mov	rdi, r13
	call	[QWORD PTR [r12]]
.L6:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	xor	edx, edx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	nand_read_page_raw_syndrome, .-nand_read_page_raw_syndrome
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_nand_base.c_nand_read_page_raw_syndrome.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nand_read_page_raw_syndrome, %function
nand_read_page_raw_syndrome:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, [r1, #16]
	mov	r4, r1
	cmp	r8, #0
	mov	r6, r0
	ldr	r10, [r1, #8]
	ldr	r9, [r1, #12]
	ldr	r5, [r1, #4]
	sub	sp, sp, #12
	ble	.L7
	mov	r7, r2
	lsl	r3, r9, #2
	lsl	fp, r10, #2
	str	r3, [sp, #4]
.L5:
	mov	r2, r10
	mov	r1, r7
	mov	r0, r6
	ldr	r3, [r4]
	blx	r3
	ldr	r2, [r4, #20]
	add	r7, r7, fp
	cmp	r2, #0
	beq	.L3
	mov	r1, r5
	ldr	r3, [r4]
	mov	r0, r6
	blx	r3
	ldr	r3, [r4, #20]
	add	r5, r5, r3, lsl #2
.L3:
	mov	r2, r9
	mov	r1, r5
	ldr	r3, [r4]
	mov	r0, r6
	blx	r3
	ldr	r2, [r4, #24]
	ldr	r3, [sp, #4]
	cmp	r2, #0
	add	r5, r5, r3
	beq	.L4
	mov	r1, r5
	ldr	r3, [r4]
	mov	r0, r6
	blx	r3
	ldr	r3, [r4, #24]
	add	r5, r5, r3, lsl #2
.L4:
	subs	r8, r8, #1
	bne	.L5
	ldr	r2, [r4, #4]
	sub	r2, r5, r2
	asr	r2, r2, #2
	rsb	r2, r2, #0
.L2:
	ldr	r3, [r6]
	adds	r2, r2, r3
	beq	.L6
	mov	r1, r5
	mov	r0, r6
	ldr	r3, [r4]
	blx	r3
.L6:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r2, #0
	b	.L2
	.size	nand_read_page_raw_syndrome, .-nand_read_page_raw_syndrome
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
