	.file	"extr_mpi.c_s_mp_mul_digs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	s_mp_mul_digs, @function
s_mp_mul_digs:
.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	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	cmp	DWORD PTR MP_WARRAY[rip], ecx
	jle	.L2
	mov	esi, DWORD PTR [rsi]
	mov	edi, DWORD PTR [rdi]
	call	MIN@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR CHAR_BIT[rip]
	lea	ecx, 0[0+rax*4]
	mov	eax, DWORD PTR DIGIT_BIT[rip]
	add	eax, eax
	sub	ecx, eax
	mov	eax, 1
	sal	eax, cl
	cmp	r8d, eax
	jl	.L18
.L2:
	lea	rdi, 32[rsp]
	mov	esi, r14d
	mov	QWORD PTR 24[rsp], rdi
	call	mp_init_size@PLT
	cmp	DWORD PTR MP_OKAY[rip], eax
	jne	.L1
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR 32[rsp], r14d
	lea	ebx, -1[rax]
	mov	QWORD PTR 8[rsp], rbx
	xor	ebx, ebx
	test	eax, eax
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, r14d
	mov	r13d, ebx
	sub	esi, ebx
	call	MIN@PLT
	mov	rdx, QWORD PTR 8[r12]
	mov	r10, QWORD PTR 8[rbp]
	mov	r8, QWORD PTR [rdx+rbx*8]
	mov	rdx, QWORD PTR 40[rsp]
	lea	rdi, [rdx+rbx*8]
	test	eax, eax
	jle	.L11
	lea	r9d, -1[rax]
	mov	ecx, DWORD PTR DIGIT_BIT[rip]
	xor	esi, esi
	xor	edx, edx
	lea	r11, 1[r9]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	r15d, DWORD PTR [r10+rsi*8]
	imul	r15d, r8d
	add	r15d, DWORD PTR [rdi+rsi*8]
	add	edx, r15d
	mov	r15d, DWORD PTR MP_MASK[rip]
	and	r15d, edx
	sar	edx, cl
	movsx	r15, r15d
	movsx	rdx, edx
	mov	QWORD PTR [rdi+rsi*8], r15
	mov	r15, rsi
	add	rsi, 1
	cmp	r15, r9
	jne	.L6
	lea	rdi, [rdi+r11*8]
	add	r13d, eax
.L5:
	cmp	r14d, r13d
	jle	.L7
	mov	QWORD PTR [rdi], rdx
.L7:
	lea	rax, 1[rbx]
	cmp	QWORD PTR 8[rsp], rbx
	je	.L9
	mov	rbx, rax
	jmp	.L8
.L18:
	mov	rdx, QWORD PTR 16[rsp]
	mov	ecx, r14d
	mov	rsi, rbp
	mov	rdi, r12
	call	fast_s_mp_mul_digs@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L19
	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
.L9:
	.cfi_restore_state
	mov	rbx, QWORD PTR 24[rsp]
	mov	rdi, rbx
	call	mp_clamp@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbx
	call	mp_exch@PLT
	mov	rdi, rbx
	call	mp_clear@PLT
	mov	eax, DWORD PTR MP_OKAY[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	xor	edx, edx
	jmp	.L5
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	s_mp_mul_digs, .-s_mp_mul_digs
	.comm	MP_WARRAY,4,4
	.comm	MP_OKAY,4,4
	.comm	MP_MASK,8,8
	.comm	DIGIT_BIT,4,4
	.comm	CHAR_BIT,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_mpi.c_s_mp_mul_digs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s_mp_mul_digs, %function
s_mp_mul_digs:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r3
	ldr	r3, .L18
	sub	sp, sp, #36
	ldr	r3, [r3]
	str	r1, [sp, #4]
	cmp	r3, r8
	ldr	r3, .L18+4
	str	r2, [sp, #12]
	mov	r7, r0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ble	.L2
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	MIN
	mov	r2, #1
	ldr	r3, .L18+8
	ldr	r1, .L18+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	lsl	r3, r3, r2
	rsb	r3, r3, r1, lsl #2
	cmp	r0, r2, lsl r3
	blt	.L16
.L2:
	mov	r1, r8
	add	r0, sp, #20
	bl	mp_init_size
	ldr	r3, .L18+16
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
	ldr	r3, [r7]
	str	r8, [sp, #20]
	cmp	r3, #0
	movgt	r9, #0
	ldrgt	r6, .L18+20
	str	r3, [sp, #8]
	ble	.L8
.L4:
	ldr	r5, [sp, #4]
	sub	r1, r8, r9
	ldr	r0, [r5]
	bl	MIN
	ldr	r3, [r7, #4]
	ldr	fp, [sp, #24]
	cmp	r0, #0
	ldr	r4, [r3, r9, lsl #2]
	ldr	lr, [r5, #4]
	add	fp, fp, r9, lsl #2
	ble	.L11
	mov	r3, #0
	mov	ip, r3
	ldr	r2, .L18+8
	sub	r1, fp, #4
	ldr	r10, [r2]
.L6:
	ldr	r5, [r1, #4]!
	ldr	r2, [lr], #4
	add	ip, ip, #1
	mla	r2, r4, r2, r5
	ldr	r5, [r6]
	add	r3, r2, r3
	and	r5, r5, r3
	cmp	r0, ip
	str	r5, [r1]
	asr	r3, r3, r10
	bne	.L6
	add	fp, fp, r0, lsl #2
	add	r0, r0, r9
.L5:
	cmp	r8, r0
	strgt	r3, [fp]
	ldr	r3, [sp, #8]
	add	r9, r9, #1
	cmp	r3, r9
	bne	.L4
.L8:
	add	r0, sp, #20
	bl	mp_clamp
	ldr	r1, [sp, #12]
	add	r0, sp, #20
	bl	mp_exch
	add	r0, sp, #20
	bl	mp_clear
	ldr	r3, .L18+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, r9
	mov	r3, #0
	b	.L5
.L16:
	mov	r3, r8
	mov	r0, r7
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #4]
	bl	fast_s_mp_mul_digs
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	MP_WARRAY
	.word	.LC0
	.word	DIGIT_BIT
	.word	CHAR_BIT
	.word	MP_OKAY
	.word	MP_MASK
	.size	s_mp_mul_digs, .-s_mp_mul_digs
	.comm	MP_WARRAY,4,4
	.comm	MP_OKAY,4,4
	.comm	MP_MASK,4,4
	.comm	DIGIT_BIT,4,4
	.comm	CHAR_BIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
