	.file	"extr_i31_mulacc.c_br_i31_mulacc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	br_i31_mulacc
	.type	br_i31_mulacc, @function
br_i31_mulacc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rcx, rdx
	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
	mov	rbx, rsi
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	eax, DWORD PTR [rsi]
	mov	QWORD PTR 32[rsp], rdx
	lea	edx, 31[rax]
	mov	QWORD PTR 56[rsp], rsi
	sar	edx, 5
	mov	QWORD PTR 48[rsp], rdi
	movsx	r9, edx
	mov	edx, DWORD PTR [rcx]
	mov	QWORD PTR 16[rsp], r9
	lea	ecx, 31[rdx]
	mov	esi, edx
	sar	edx, 5
	sar	ecx, 5
	and	esi, 31
	movsx	r8, ecx
	mov	ecx, eax
	sar	eax, 5
	add	eax, edx
	and	ecx, 31
	mov	QWORD PTR 24[rsp], r8
	add	ecx, esi
	sal	eax, 5
	lea	edx, [rax+rcx]
	lea	eax, -31[rcx]
	not	eax
	sar	eax, 31
	add	eax, edx
	mov	DWORD PTR [rdi], eax
	test	r8, r8
	je	.L1
	lea	rax, 0[0+r9*4]
	mov	QWORD PTR 8[rsp], 0
	lea	r13, [rbx+rax]
	add	rax, rdi
	mov	QWORD PTR 40[rsp], rax
	.p2align 4,,10
	.p2align 3
.L5:
	add	QWORD PTR 8[rsp], 1
	mov	rcx, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR 8[rsp]
	cmp	QWORD PTR 16[rsp], 0
	mov	r12d, DWORD PTR [rcx+rax*4]
	je	.L7
	mov	rcx, QWORD PTR 48[rsp]
	mov	r15, QWORD PTR 56[rsp]
	xor	ebp, ebp
	lea	r14, [rcx+rax*4]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR 4[r15]
	mov	ebx, DWORD PTR [r14]
	mov	edi, r12d
	add	r15, 4
	add	r14, 4
	call	MUL31@PLT
	add	ebx, eax
	add	ebx, ebp
	mov	ebp, ebx
	and	ebx, 2147483647
	mov	DWORD PTR -4[r14], ebx
	sar	ebp, 31
	cmp	r13, r15
	jne	.L4
.L3:
	mov	rcx, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rcx+rax*4], ebp
	cmp	rax, QWORD PTR 24[rsp]
	jne	.L5
.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
.L7:
	.cfi_restore_state
	xor	ebp, ebp
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	br_i31_mulacc, .-br_i31_mulacc
	.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_i31_mulacc.c_br_i31_mulacc.c"
	.text
	.align	2
	.global	br_i31_mulacc
	.syntax unified
	.arm
	.fpu softvfp
	.type	br_i31_mulacc, %function
br_i31_mulacc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	ldr	ip, [r1]
	str	r1, [sp, #8]
	ldr	r1, [r2]
	mov	r8, r2
	and	r3, ip, #31
	and	r2, r1, #31
	add	r3, r3, r2
	sub	r2, r3, #31
	mvn	r2, r2
	asr	lr, r1, #5
	add	lr, lr, ip, asr #5
	add	r3, r3, lr, lsl #5
	add	r1, r1, #31
	add	r3, r3, r2, asr #31
	asrs	r1, r1, #5
	str	r3, [r0]
	beq	.L1
	add	ip, ip, #31
	asr	r9, ip, #5
	rsb	r3, r9, r9, lsl #30
	add	r2, r8, r1, lsl #2
	lsl	r3, r3, #2
	str	r2, [sp, #4]
	add	r6, r0, r9, lsl #2
	str	r3, [sp, #12]
.L5:
	cmp	r9, #0
	ldr	r7, [r8, #4]!
	beq	.L7
	mov	r4, #0
	ldr	r3, [sp, #12]
	ldr	r10, [sp, #8]
	add	fp, r6, r3
.L4:
	mov	r0, r7
	ldr	r1, [r10, #4]!
	ldr	r5, [fp, #4]!
	bl	MUL31
	add	r0, r5, r0
	add	r0, r0, r4
	bic	r3, r0, #-2147483648
	cmp	fp, r6
	str	r3, [fp]
	asr	r4, r0, #31
	bne	.L4
	ldr	r3, [sp, #4]
	str	r4, [r6, #4]!
	cmp	r8, r3
	bne	.L5
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r4, r9
	ldr	r3, [sp, #4]
	str	r4, [r6, #4]!
	cmp	r8, r3
	bne	.L5
	b	.L1
	.size	br_i31_mulacc, .-br_i31_mulacc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
