	.file	"extr_mpi.c_mp_get_int.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mp_get_int
	.type	mp_get_int, @function
mp_get_int:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdi, QWORD PTR [rdi]
	test	rdi, rdi
	jne	.L11
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	movsx	rcx, DWORD PTR DIGIT_BIT[rip]
	movsx	rax, DWORD PTR CHAR_BIT[rip]
	xor	edx, edx
	lea	rax, -1[rcx+rax*8]
	div	rcx
	mov	esi, eax
	call	MIN@PLT
	mov	rdi, r12
	mov	ebp, eax
	lea	esi, -1[rax]
	call	DIGIT@PLT
	sub	ebp, 2
	js	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR DIGIT_BIT[rip]
	mov	esi, ebp
	mov	rdi, r12
	sub	ebp, 1
	sal	rax, cl
	mov	rbx, rax
	call	DIGIT@PLT
	or	rax, rbx
	cmp	ebp, -1
	jne	.L4
.L3:
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mp_get_int, .-mp_get_int
	.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_mp_get_int.c"
	.text
	.global	__aeabi_uidiv
	.align	2
	.global	mp_get_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	mp_get_int, %function
mp_get_int:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	bne	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r7, .L9
	ldr	r3, .L9+4
	ldr	r1, [r7]
	mov	r6, r0
	ldr	r0, [r3]
	sub	r3, r1, #1
	add	r0, r3, r0, lsl #2
	bl	__aeabi_uidiv
	mov	r1, r0
	mov	r0, r4
	bl	MIN
	mov	r5, r0
	mov	r0, r6
	sub	r1, r5, #1
	bl	DIGIT
	subs	r5, r5, #2
	mov	r4, r0
	bmi	.L1
.L3:
	ldr	r3, [r7]
	mov	r1, r5
	mov	r0, r6
	lsl	r4, r4, r3
	bl	DIGIT
	sub	r5, r5, #1
	cmn	r5, #1
	orr	r4, r4, r0
	bne	.L3
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	DIGIT_BIT
	.word	CHAR_BIT
	.size	mp_get_int, .-mp_get_int
	.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
