	.file	"extr_i3000_edac.c_i3000_is_interleaved.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i3000_is_interleaved, @function
i3000_is_interleaved:
.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
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR I3000_RANKS_PER_CHANNEL[rip]
	cmp	edx, 1
	jle	.L2
	mov	rbp, rdi
	mov	r12, rsi
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	movzx	edi, BYTE PTR 0[rbp+rbx]
	call	even_rank_attrib@PLT
	movzx	edi, BYTE PTR [r12+rbx]
	mov	r15, rax
	call	even_rank_attrib@PLT
	cmp	r15, rax
	jne	.L3
	mov	edx, DWORD PTR I3000_RANKS_PER_CHANNEL[rip]
	add	rbx, 1
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	cmp	eax, ebx
	jle	.L2
.L4:
	movzx	edi, BYTE PTR 0[rbp+rbx]
	call	odd_rank_attrib@PLT
	movzx	edi, BYTE PTR [r12+rbx]
	mov	r15, rax
	call	odd_rank_attrib@PLT
	cmp	r15, rax
	je	.L12
.L3:
	add	rsp, 8
	.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
.L2:
	.cfi_restore_state
	test	edx, edx
	jle	.L7
	lea	ecx, -1[rdx]
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdx, 1[rax]
	cmp	rcx, rax
	je	.L7
	mov	rax, rdx
.L6:
	movzx	esi, BYTE PTR [r14+rax]
	cmp	BYTE PTR 0[r13+rax], sil
	je	.L13
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, 1
	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
	.cfi_endproc
.LFE0:
	.size	i3000_is_interleaved, .-i3000_is_interleaved
	.comm	I3000_RANKS_PER_CHANNEL,4,4
	.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_i3000_edac.c_i3000_is_interleaved.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i3000_is_interleaved, %function
i3000_is_interleaved:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L14
	mov	r7, r0
	ldr	r0, [r8]
	mov	r6, r2
	cmp	r0, #1
	mov	r9, r3
	ble	.L2
	sub	r5, r1, #1
	sub	r10, r7, #1
	b	.L4
.L12:
	ldrb	r0, [r10]	@ zero_extendqisi2
	bl	even_rank_attrib
	mov	fp, r0
	ldrb	r0, [r5]	@ zero_extendqisi2
	bl	even_rank_attrib
	add	r4, r4, #2
	cmp	fp, r0
	sub	r4, r4, r7
	bne	.L3
	ldr	r0, [r8]
	add	r3, r0, r0, lsr #31
	cmp	r4, r3, asr #1
	bge	.L2
.L4:
	mov	r4, r10
	ldrb	r0, [r10, #1]!	@ zero_extendqisi2
	bl	odd_rank_attrib
	mov	fp, r0
	ldrb	r0, [r5, #1]!	@ zero_extendqisi2
	bl	odd_rank_attrib
	cmp	fp, r0
	beq	.L12
.L3:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	cmp	r0, #0
	ble	.L7
	sub	r6, r6, #1
	add	r0, r6, r0
	sub	r9, r9, #1
	b	.L6
.L13:
	cmp	r6, r0
	beq	.L7
.L6:
	ldrb	r2, [r6, #1]!	@ zero_extendqisi2
	ldrb	r3, [r9, #1]!	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L13
	b	.L3
.L7:
	mov	r0, #1
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	I3000_RANKS_PER_CHANNEL
	.size	i3000_is_interleaved, .-i3000_is_interleaved
	.comm	I3000_RANKS_PER_CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
