	.file	"extr_zfssubr.c_vdev_raidz_generate_parity_pqr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vdev_raidz_generate_parity_pqr, @function
vdev_raidz_generate_parity_pqr:
.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, rdi
	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, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR VDEV_RAIDZ_P[rip]
	mov	rcx, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rdi
	xor	edi, edi
	sal	rax, 4
	movsx	rbx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR VDEV_RAIDZ_Q[rip]
	sal	rax, 4
	mov	rdx, rbx
	shr	rbx, 2
	cmp	DWORD PTR [rcx+rax], edx
	mov	DWORD PTR 56[rsp], ebx
	sete	dil
	call	ASSERT@PLT
	mov	rdx, QWORD PTR VDEV_RAIDZ_P[rip]
	mov	rax, QWORD PTR VDEV_RAIDZ_R[rip]
	xor	edi, edi
	mov	rcx, QWORD PTR 8[r14]
	sal	rdx, 4
	sal	rax, 4
	mov	eax, DWORD PTR [rcx+rax]
	cmp	DWORD PTR [rcx+rdx], eax
	sete	dil
	call	ASSERT@PLT
	mov	edi, DWORD PTR [r14]
	mov	DWORD PTR 16[rsp], edi
	cmp	edi, DWORD PTR 4[r14]
	jge	.L1
	movsx	rax, edi
	sal	rax, 4
	mov	QWORD PTR 24[rsp], rax
	lea	eax, -1[rbx]
	mov	DWORD PTR 60[rsp], eax
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, QWORD PTR VDEV_RAIDZ_Q[rip]
	mov	rcx, QWORD PTR 24[rsp]
	mov	rax, QWORD PTR 8[rax]
	sal	rsi, 4
	lea	r9, [rax+rcx]
	mov	r13, QWORD PTR 8[rax+rsi]
	mov	rcx, QWORD PTR VDEV_RAIDZ_P[rip]
	mov	rsi, QWORD PTR VDEV_RAIDZ_R[rip]
	mov	rbp, QWORD PTR 8[r9]
	sal	rcx, 4
	sal	rsi, 4
	mov	r15, QWORD PTR 8[rax+rcx]
	mov	rbx, QWORD PTR 8[rax+rsi]
	movsx	rax, DWORD PTR [r9]
	shr	rax, 2
	mov	DWORD PTR 20[rsp], eax
	mov	r12, rax
	cmp	edi, DWORD PTR 16[rsp]
	je	.L22
	xor	edi, edi
	cmp	DWORD PTR 56[rsp], eax
	setge	dil
	call	ASSERT@PLT
	test	r12d, r12d
	jle	.L15
	lea	eax, -1[r12]
	mov	QWORD PTR 40[rsp], rbx
	mov	r14, r13
	lea	rax, 4[0+rax*4]
	mov	QWORD PTR 48[rsp], r13
	mov	QWORD PTR 32[rsp], rax
	add	rax, r15
	mov	r12, rax
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR 0[rbp]
	xor	DWORD PTR [r15], eax
	xor	r13d, r13d
	add	r15, 4
	mov	edi, DWORD PTR [r14]
	mov	esi, r13d
	add	rbp, 4
	call	VDEV_RAIDZ_64MUL_2@PLT
	mov	eax, DWORD PTR -4[rbp]
	xor	DWORD PTR [r14], eax
	mov	esi, r13d
	mov	edi, DWORD PTR [rbx]
	add	r14, 4
	call	VDEV_RAIDZ_64MUL_4@PLT
	mov	eax, DWORD PTR -4[rbp]
	xor	DWORD PTR [rbx], eax
	add	rbx, 4
	cmp	r15, r12
	jne	.L11
	mov	rax, QWORD PTR 32[rsp]
	mov	rbx, QWORD PTR 40[rsp]
	mov	r13, QWORD PTR 48[rsp]
	add	rbx, rax
	add	r13, rax
.L10:
	mov	ecx, DWORD PTR 20[rsp]
	cmp	DWORD PTR 56[rsp], ecx
	jle	.L9
	mov	eax, DWORD PTR 60[rsp]
	sub	eax, ecx
	lea	rbp, 4[r13+rax*4]
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 0[r13]
	xor	r12d, r12d
	add	r13, 4
	add	rbx, 4
	mov	esi, r12d
	call	VDEV_RAIDZ_64MUL_2@PLT
	mov	edi, DWORD PTR -4[rbx]
	mov	esi, r12d
	call	VDEV_RAIDZ_64MUL_4@PLT
	cmp	r13, rbp
	jne	.L12
.L9:
	mov	rcx, QWORD PTR 8[rsp]
	add	DWORD PTR 16[rsp], 1
	add	QWORD PTR 24[rsp], 16
	mov	eax, DWORD PTR 16[rsp]
	cmp	DWORD PTR 4[rcx], eax
	jle	.L1
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L22:
	cmp	DWORD PTR 56[rsp], eax
	sete	dil
	test	eax, eax
	sete	al
	or	edi, eax
	movzx	edi, dil
	call	ASSERT@PLT
	test	r12d, r12d
	jle	.L14
	lea	edi, -1[r12]
	xor	eax, eax
	lea	r9, 1[rdi]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 0[rbp+rax*4]
	mov	DWORD PTR [r15+rax*4], edx
	mov	edx, DWORD PTR 0[rbp+rax*4]
	mov	DWORD PTR 0[r13+rax*4], edx
	mov	edx, DWORD PTR 0[rbp+rax*4]
	mov	DWORD PTR [rbx+rax*4], edx
	mov	rdx, rax
	add	rax, 1
	cmp	rdx, rdi
	jne	.L5
	sal	r9, 2
	add	r15, r9
	add	r13, r9
	add	rbx, r9
.L4:
	mov	ecx, DWORD PTR 20[rsp]
	cmp	DWORD PTR 56[rsp], ecx
	jle	.L9
	mov	eax, DWORD PTR 60[rsp]
	sub	eax, DWORD PTR 20[rsp]
	lea	rdx, 4[0+rax*4]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR [r15+rax], 0
	mov	DWORD PTR 0[r13+rax], 0
	mov	DWORD PTR [rbx+rax], 0
	add	rax, 4
	cmp	rdx, rax
	jne	.L8
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L15:
	.cfi_restore_state
	mov	DWORD PTR 20[rsp], 0
	jmp	.L10
.L14:
	mov	DWORD PTR 20[rsp], 0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	vdev_raidz_generate_parity_pqr, .-vdev_raidz_generate_parity_pqr
	.comm	VDEV_RAIDZ_R,8,8
	.comm	VDEV_RAIDZ_Q,8,8
	.comm	VDEV_RAIDZ_P,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_zfssubr.c_vdev_raidz_generate_parity_pqr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vdev_raidz_generate_parity_pqr, %function
vdev_raidz_generate_parity_pqr:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r1, .L23
	ldr	r5, .L23+4
	ldr	r2, [r0, #8]
	ldr	r1, [r1]
	ldr	r3, [r5]
	sub	sp, sp, #28
	mov	r4, r0
	ldr	r3, [r2, r3, lsl #3]
	str	r0, [sp, #12]
	ldr	r0, [r2, r1, lsl #3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r3, r3, #2
	lsr	r0, r0, #5
	str	r3, [sp, #16]
	bl	ASSERT
	ldr	r2, .L23+8
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	ldr	r1, [r5]
	ldr	r0, [r3, r1, lsl #3]
	ldr	r3, [r3, r2, lsl #3]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r2, [r4]
	ldr	r3, [r4, #4]
	str	r2, [sp, #8]
	cmp	r2, r3
	bge	.L1
	mov	r0, r2
	mov	r9, #0
.L13:
	ldr	r2, .L23+4
	ldr	r3, [sp, #12]
	ldr	r1, [r2]
	ldr	r2, .L23
	ldr	r3, [r3, #8]
	ldr	r2, [r2]
	ldr	ip, .L23+8
	ldr	lr, [sp, #8]
	add	r2, r3, r2, lsl #3
	ldr	ip, [ip]
	ldr	r7, [r3, lr, lsl #3]
	ldr	r2, [r2, #4]
	add	r1, r3, r1, lsl #3
	cmp	r0, lr
	add	r0, r3, lr, lsl #3
	add	r3, r3, ip, lsl #3
	ldr	r4, [r3, #4]
	ldr	r5, [r0, #4]
	ldr	r10, [r1, #4]
	ldr	r3, [sp, #16]
	lsr	r7, r7, #2
	str	r2, [sp, #4]
	beq	.L22
	cmp	r3, r7
	movlt	r0, #0
	movge	r0, #1
	bl	ASSERT
	cmp	r7, #0
	beq	.L15
	ldr	r3, [sp, #4]
	sub	r10, r10, #4
	sub	r6, r3, #4
	lsl	r3, r7, #2
	sub	r5, r5, #4
	str	r3, [sp, #20]
	add	fp, r4, r7, lsl #2
.L11:
	mov	r8, #0
	ldr	r2, [r5, #4]!
	ldr	r3, [r10, #4]!
	mov	r1, r8
	eor	r3, r3, r2
	str	r3, [r10]
	ldr	r0, [r6, #4]!
	bl	VDEV_RAIDZ_64MUL_2
	ldr	r2, [r5]
	ldr	r3, [r6]
	mov	r1, r8
	eor	r3, r3, r2
	str	r3, [r6]
	ldr	r0, [r4]
	bl	VDEV_RAIDZ_64MUL_4
	ldr	r2, [r5]
	ldr	r3, [r4]
	eor	r3, r3, r2
	str	r3, [r4], #4
	cmp	r4, fp
	bne	.L11
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #20]
	add	r3, r3, r2
	str	r3, [sp, #4]
.L10:
	ldr	r3, [sp, #16]
	cmp	r3, r7
	ble	.L9
	sub	r7, r3, r7
	ldr	r3, [sp, #4]
	add	r7, fp, r7, lsl #2
	sub	r6, r3, #4
.L12:
	mov	r4, #0
	ldr	r0, [r6, #4]!
	mov	r1, r4
	bl	VDEV_RAIDZ_64MUL_2
	ldr	r0, [fp], #4
	mov	r1, r4
	bl	VDEV_RAIDZ_64MUL_4
	cmp	fp, r7
	bne	.L12
.L9:
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #8]
	ldr	r3, [r3, #4]
	add	r2, r2, #1
	cmp	r3, r2
	str	r2, [sp, #8]
	ble	.L1
	ldr	r3, [sp, #12]
	ldr	r0, [r3]
	b	.L13
.L22:
	cmp	r7, #0
	cmpne	r3, r7
	moveq	r0, #1
	movne	r0, #0
	bl	ASSERT
	cmp	r7, #0
	beq	.L14
	ldr	r3, [sp, #4]
	sub	r5, r5, #4
	sub	r1, r10, #4
	sub	r3, r3, #4
	lsl	ip, r7, #2
	add	r2, r4, r7, lsl #2
.L5:
	ldr	r0, [r5, #4]!
	str	r0, [r1, #4]!
	ldr	r0, [r5]
	str	r0, [r3, #4]!
	ldr	r0, [r5]
	str	r0, [r4], #4
	cmp	r4, r2
	bne	.L5
	ldr	r3, [sp, #4]
	add	r10, r10, ip
	add	r3, r3, ip
	str	r3, [sp, #4]
.L4:
	ldr	r3, [sp, #16]
	cmp	r3, r7
	ble	.L9
	ldr	r3, [sp, #16]
	ldr	r1, [sp, #4]
	sub	r7, r3, r7
	add	r7, r2, r7, lsl #2
	sub	r3, r10, #4
	sub	r6, r1, #4
.L8:
	str	r9, [r3, #4]!
	str	r9, [r6, #4]!
	str	r9, [r2], #4
	cmp	r7, r2
	bne	.L8
	b	.L9
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	fp, r4
	b	.L10
.L14:
	mov	r2, r4
	b	.L4
.L24:
	.align	2
.L23:
	.word	VDEV_RAIDZ_Q
	.word	VDEV_RAIDZ_P
	.word	VDEV_RAIDZ_R
	.size	vdev_raidz_generate_parity_pqr, .-vdev_raidz_generate_parity_pqr
	.comm	VDEV_RAIDZ_R,4,4
	.comm	VDEV_RAIDZ_Q,4,4
	.comm	VDEV_RAIDZ_P,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
