	.file	"extr_raid6algos.c_raid6_choose_gen.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"raid6: %-8s %5ld MB/s\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"raid6: using algorithm %s (%ld MB/s)\n"
	.align 8
.LC2:
	.string	"raid6: Yikes!  No algorithm found!\n"
	.text
	.p2align 4
	.type	raid6_choose_gen, @function
raid6_choose_gen:
.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
	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, 24
	.cfi_def_cfa_offset 80
	mov	r12, QWORD PTR raid6_algos[rip]
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	je	.L2
	mov	QWORD PTR 8[rsp], 0
	mov	r13, rdi
	mov	r14d, esi
	xor	r15d, r15d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[r12]
	add	r12, 8
	test	rax, rax
	je	.L30
.L12:
	test	r15, r15
	je	.L3
	mov	rdx, QWORD PTR [r15]
	cmp	QWORD PTR [rax], rdx
	jl	.L4
.L3:
	mov	rdx, QWORD PTR 24[rax]
	test	rdx, rdx
	je	.L7
	xor	eax, eax
	call	rdx
	test	eax, eax
	je	.L4
.L7:
	xor	eax, eax
	call	preempt_disable@PLT
	mov	rbp, QWORD PTR jiffies[rip]
	.p2align 4,,10
	.p2align 3
.L6:
	xor	eax, eax
	call	cpu_relax@PLT
	mov	rbx, QWORD PTR jiffies[rip]
	cmp	rbp, rbx
	je	.L6
	mov	rdi, rbx
	xor	ebp, ebp
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR [r12]
	mov	edi, r14d
	mov	esi, DWORD PTR PAGE_SIZE[rip]
	mov	rdx, r13
	add	rbp, 1
	call	[QWORD PTR 16[rax]]
	mov	rdi, QWORD PTR jiffies[rip]
.L8:
	mov	ecx, DWORD PTR RAID6_TIME_JIFFIES_LG2[rip]
	mov	esi, 1
	sal	esi, cl
	movsx	rsi, esi
	add	rsi, rbx
	call	time_before@PLT
	test	rax, rax
	jne	.L9
	call	preempt_enable@PLT
	cmp	rbp, QWORD PTR 8[rsp]
	ja	.L10
	mov	rax, QWORD PTR [r12]
.L11:
	imul	rbp, QWORD PTR HZ[rip]
	mov	esi, DWORD PTR 8[rax]
	add	r12, 8
	xor	eax, eax
	mov	ecx, DWORD PTR RAID6_TIME_JIFFIES_LG2[rip]
	lea	rdi, .LC0[rip]
	add	ecx, 4
	mov	rdx, rbp
	shr	rdx, cl
	call	printk@PLT
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	jne	.L12
.L30:
	test	r15, r15
	je	.L2
	mov	rdx, QWORD PTR 8[rsp]
	mov	eax, DWORD PTR RAID6_TIME_JIFFIES_LG2[rip]
	lea	rdi, .LC1[rip]
	imul	rdx, QWORD PTR HZ[rip]
	mov	esi, DWORD PTR 8[r15]
	lea	ecx, 4[rax]
	xor	eax, eax
	shr	rdx, cl
	call	printk@PLT
	movdqu	xmm0, XMMWORD PTR [r15]
	movups	XMMWORD PTR raid6_call[rip], xmm0
	movdqu	xmm1, XMMWORD PTR 16[r15]
	movups	XMMWORD PTR raid6_call[rip+16], xmm1
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r15
	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
.L10:
	.cfi_restore_state
	mov	r15, QWORD PTR [r12]
	mov	QWORD PTR 8[rsp], rbp
	mov	rax, r15
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	xor	r15d, r15d
	call	printk@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	raid6_choose_gen, .-raid6_choose_gen
	.comm	raid6_call,32,32
	.comm	raid6_algos,8,8
	.comm	jiffies,8,8
	.comm	RAID6_TIME_JIFFIES_LG2,4,4
	.comm	PAGE_SIZE,4,4
	.comm	HZ,8,8
	.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_raid6algos.c_raid6_choose_gen.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"raid6: %-8s %5ld MB/s\012\000"
	.align	2
.LC1:
	.ascii	"raid6: using algorithm %s (%ld MB/s)\012\000"
	.align	2
.LC2:
	.ascii	"raid6: Yikes!  No algorithm found!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raid6_choose_gen, %function
raid6_choose_gen:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L31
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r3]
	sub	sp, sp, #12
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L2
	mov	r9, #0
	mov	r10, r0
	mov	fp, r1
	ldr	r6, .L31+4
	ldr	r8, .L31+8
	str	r9, [sp, #4]
	str	r9, [sp]
	b	.L12
.L4:
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	beq	.L30
.L12:
	ldr	r2, [sp]
	cmp	r2, #0
	beq	.L3
	ldr	r1, [r3]
	ldr	r2, [r2]
	cmp	r1, r2
	blt	.L4
.L3:
	ldr	r3, [r3, #12]
	cmp	r3, #0
	beq	.L7
	blx	r3
	cmp	r0, #0
	beq	.L4
.L7:
	bl	preempt_disable
	ldr	r5, [r6]
.L6:
	bl	cpu_relax
	ldr	r4, [r6]
	cmp	r5, r4
	beq	.L6
	mov	r0, r4
	mov	r5, #0
	mov	r9, #1
	b	.L8
.L9:
	ldr	r3, [r7]
	ldr	r1, .L31+12
	mov	r2, r10
	mov	r0, fp
	ldr	r3, [r3, #8]
	ldr	r1, [r1]
	blx	r3
	ldr	r0, [r6]
	add	r5, r5, #1
.L8:
	ldr	r1, [r8]
	add	r1, r4, r9, lsl r1
	bl	time_before
	cmp	r0, #0
	bne	.L9
	bl	preempt_enable
	ldr	r3, [sp, #4]
	ldr	r2, .L31+16
	cmp	r5, r3
	ldr	r2, [r2]
	ldr	r3, [r7]
	ldr	r0, .L31+20
	stmhi	sp, {r3, r5}
	mul	r5, r2, r5
	ldr	r2, [r8]
	ldr	r1, [r3, #4]
	add	r2, r2, #4
	lsr	r2, r5, r2
	bl	printk
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	bne	.L12
.L30:
	ldr	r9, [sp]
	cmp	r9, #0
	beq	.L2
	ldr	r2, .L31+16
	ldr	r1, [sp, #4]
	ldr	r2, [r2]
	ldr	r3, .L31+8
	mul	r1, r2, r1
	ldr	r3, [r3]
	ldr	r0, .L31+24
	add	r3, r3, #4
	lsr	r2, r1, r3
	ldr	r1, [r9, #4]
	bl	printk
	ldm	r9, {r0, r1, r2, r3}
	ldr	ip, .L31+28
	stm	ip, {r0, r1, r2, r3}
	mov	r0, r9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r9, #0
	ldr	r0, .L31+32
	bl	printk
	mov	r0, r9
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L32:
	.align	2
.L31:
	.word	raid6_algos
	.word	jiffies
	.word	RAID6_TIME_JIFFIES_LG2
	.word	PAGE_SIZE
	.word	HZ
	.word	.LC0
	.word	.LC1
	.word	raid6_call
	.word	.LC2
	.size	raid6_choose_gen, .-raid6_choose_gen
	.comm	raid6_call,16,4
	.comm	raid6_algos,4,4
	.comm	jiffies,4,4
	.comm	RAID6_TIME_JIFFIES_LG2,4,4
	.comm	PAGE_SIZE,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
