	.file	"extr_div.c_bc_divide.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	bc_divide
	.type	bc_divide, @function
bc_divide:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	QWORD PTR 8[rsp], rdi
	mov	rdi, rsi
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 40[rsp], rdx
	call	bc_is_zero@PLT
	test	rax, rax
	jne	.L32
	mov	r14d, DWORD PTR [rbx]
	movsx	rax, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 4[rbp]
	test	r14d, r14d
	jne	.L3
	mov	r12d, edi
	cmp	eax, 1
	je	.L61
.L4:
	mov	rax, QWORD PTR 8[rsp]
	mov	ebp, DWORD PTR [rax]
	mov	eax, ebp
	sub	eax, r14d
	cmp	r15d, eax
	jle	.L35
	mov	r13d, r15d
	sub	r13d, eax
	lea	edx, 2[r13]
.L10:
	add	ebp, edi
	mov	edi, 1
	mov	esi, ebp
	call	safe_emalloc@PLT
	mov	rbx, QWORD PTR 8[rsp]
	xor	esi, esi
	mov	r9, rax
	mov	edx, DWORD PTR [rbx]
	mov	eax, DWORD PTR 4[rbx]
	mov	rdi, r9
	mov	QWORD PTR 24[rsp], r9
	lea	edx, 2[rdx+rax]
	add	edx, r13d
	call	memset@PLT
	mov	r9, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR [rbx]
	add	edx, DWORD PTR 4[rbx]
	lea	rdi, 1[r9]
	mov	QWORD PTR 32[rsp], r9
	call	memcpy@PLT
	mov	rbx, QWORD PTR 16[rsp]
	mov	edx, 1
	mov	edi, 1
	add	r14d, DWORD PTR 4[rbx]
	mov	esi, r14d
	call	safe_emalloc@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, r14d
	mov	rdi, rax
	mov	QWORD PTR 24[rsp], rax
	call	memcpy@PLT
	mov	r10, QWORD PTR 24[rsp]
	mov	eax, r14d
	mov	r9, QWORD PTR 32[rsp]
	mov	BYTE PTR [r10+rax], 0
	cmp	BYTE PTR [r10], 0
	jne	.L36
	mov	rbx, r10
	.p2align 4,,10
	.p2align 3
.L12:
	add	rbx, 1
	mov	r8d, r14d
	sub	r8d, ebx
	add	r8d, r10d
	cmp	BYTE PTR [rbx], 0
	je	.L12
.L11:
	lea	r14d, [r15+r12]
	lea	edx, 1[r15]
	cmp	r14d, r8d
	jnb	.L13
	movzx	eax, BYTE PTR TRUE[rip]
	mov	edi, 1
	mov	BYTE PTR 79[rsp], al
.L14:
	mov	esi, r15d
	mov	QWORD PTR 56[rsp], r10
	mov	QWORD PTR 48[rsp], r9
	mov	DWORD PTR 64[rsp], r8d
	mov	DWORD PTR 24[rsp], edx
	call	bc_new_num@PLT
	mov	edx, DWORD PTR 24[rsp]
	xor	esi, esi
	mov	rdi, QWORD PTR 8[rax]
	mov	QWORD PTR 32[rsp], rax
	call	memset@PLT
	mov	r8d, DWORD PTR 64[rsp]
	mov	edx, 1
	mov	edi, 1
	mov	esi, r8d
	call	safe_emalloc@PLT
	cmp	BYTE PTR 79[rsp], 0
	mov	r9, QWORD PTR 48[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	r10, QWORD PTR 56[rsp]
	jne	.L15
	movzx	ecx, BYTE PTR [rbx]
	mov	eax, 10
	mov	r8d, DWORD PTR 64[rsp]
	cdq
	lea	esi, 1[rcx]
	mov	edi, ecx
	idiv	esi
	cmp	eax, 1
	mov	r15d, eax
	je	.L16
	mov	rcx, r9
	mov	rdi, r9
	lea	esi, 1[rbp+r13]
	mov	edx, eax
	mov	QWORD PTR 64[rsp], r10
	mov	QWORD PTR 56[rsp], r9
	mov	DWORD PTR 48[rsp], r8d
	call	_one_mult@PLT
	mov	r8d, DWORD PTR 48[rsp]
	mov	rcx, rbx
	mov	rdi, rbx
	mov	edx, r15d
	mov	esi, r8d
	call	_one_mult@PLT
	movzx	ecx, BYTE PTR [rbx]
	mov	r10, QWORD PTR 64[rsp]
	mov	r9, QWORD PTR 56[rsp]
	mov	r8d, DWORD PTR 48[rsp]
	mov	edi, ecx
.L16:
	mov	rax, QWORD PTR 32[rsp]
	mov	rax, QWORD PTR 8[rax]
	cmp	r8d, r12d
	jbe	.L17
	mov	edx, r8d
	mov	r12d, r12d
	sub	rdx, r12
	add	rax, rdx
.L17:
	mov	r15d, r14d
	mov	QWORD PTR 64[rsp], r10
	xor	esi, esi
	mov	r13, r9
	sub	r15d, r8d
	mov	r14, rax
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L20:
	mov	BYTE PTR [r14], al
	add	r14, 1
	cmp	r15d, ebp
	jb	.L57
.L62:
	movzx	ecx, BYTE PTR [rbx]
	mov	esi, ebp
	mov	edi, ecx
.L27:
	mov	r9d, esi
	lea	edx, 1[rsi]
	mov	r12d, 9
	movzx	eax, BYTE PTR 0[r13+r9]
	movzx	r10d, BYTE PTR 0[r13+rdx]
	mov	rbp, rdx
	movzx	edx, al
	lea	edx, [rdx+rdx*4]
	lea	r10d, [r10+rdx*2]
	cmp	al, dil
	je	.L18
	mov	eax, r10d
	cdq
	idiv	ecx
	mov	r12d, eax
.L18:
	mov	r11d, ecx
	movzx	edi, BYTE PTR 1[rbx]
	lea	edx, 2[rsi]
	imul	r11d, r12d
	movzx	esi, BYTE PTR 0[r13+rdx]
	mov	edx, r10d
	mov	eax, edi
	imul	eax, r12d
	sub	edx, r11d
	lea	edx, [rdx+rdx*4]
	lea	edx, [rsi+rdx*2]
	cmp	eax, edx
	jbe	.L19
	sub	ecx, r11d
	sub	eax, edi
	lea	edx, -1[r12]
	sub	r12d, 2
	add	ecx, r10d
	lea	ecx, [rcx+rcx*4]
	lea	ecx, [rsi+rcx*2]
	cmp	ecx, eax
	cmovnb	r12d, edx
.L19:
	xor	eax, eax
	test	r12d, r12d
	je	.L20
	mov	rax, QWORD PTR 24[rsp]
	mov	esi, r8d
	mov	edx, r12d
	mov	rdi, rbx
	mov	QWORD PTR 56[rsp], r9
	mov	BYTE PTR [rax], 0
	lea	rcx, 1[rax]
	mov	DWORD PTR 48[rsp], r8d
	call	_one_mult@PLT
	mov	r10d, DWORD PTR 48[rsp]
	mov	r9, QWORD PTR 56[rsp]
	mov	rax, QWORD PTR 24[rsp]
	add	r9, r10
	mov	r8, r10
	add	r9, r13
	lea	rcx, [rax+r10]
	cmp	r10d, -1
	je	.L59
	mov	r11, r10
	mov	rdx, r9
	xor	esi, esi
	not	r11
	add	r11, r9
	.p2align 4,,10
	.p2align 3
.L23:
	movzx	eax, BYTE PTR [rdx]
	movzx	edi, BYTE PTR [rcx]
	sub	rcx, 1
	sub	eax, edi
	sub	eax, esi
	mov	esi, 0
	jns	.L22
	add	eax, 10
	mov	esi, 1
.L22:
	sub	rdx, 1
	mov	BYTE PTR 1[rdx], al
	cmp	rdx, r11
	jne	.L23
	cmp	esi, 1
	je	.L24
.L59:
	mov	eax, r12d
	add	r14, 1
	mov	BYTE PTR -1[r14], al
	cmp	r15d, ebp
	jnb	.L62
	.p2align 4,,10
	.p2align 3
.L57:
	mov	r10, QWORD PTR 64[rsp]
	mov	r9, r13
.L15:
	mov	rdi, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR MINUS[rip]
	mov	rdi, QWORD PTR 16[rdi]
	cmp	QWORD PTR 16[rcx], rdi
	jne	.L29
	mov	rax, QWORD PTR PLUS[rip]
.L29:
	mov	rbx, QWORD PTR 32[rsp]
	mov	QWORD PTR 16[rsp], r10
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rbx
	call	bc_is_zero@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r10, QWORD PTR 16[rsp]
	test	rax, rax
	je	.L30
	mov	rax, QWORD PTR PLUS[rip]
	mov	QWORD PTR 16[rbx], rax
.L30:
	mov	r15, QWORD PTR 32[rsp]
	mov	QWORD PTR 16[rsp], r10
	mov	QWORD PTR 8[rsp], r9
	mov	rdi, r15
	call	_bc_rm_leading_zeros@PLT
	mov	rbx, QWORD PTR 40[rsp]
	mov	rdi, rbx
	call	bc_free_num@PLT
	mov	QWORD PTR [rbx], r15
	mov	rdi, QWORD PTR 24[rsp]
	call	efree@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	rdi, r9
	call	efree@PLT
	mov	r10, QWORD PTR 16[rsp]
	mov	rdi, r10
	call	efree@PLT
	xor	eax, eax
.L1:
	add	rsp, 88
	.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
.L3:
	.cfi_restore_state
	mov	rcx, QWORD PTR 16[rsp]
	mov	edx, r14d
	lea	rax, -1[rdx+rax]
	add	rax, QWORD PTR 8[rcx]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	sub	r14d, 1
	je	.L63
.L8:
	sub	rax, 1
	cmp	BYTE PTR 1[rax], 0
	je	.L9
	lea	r12d, [r14+rdi]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	movzx	eax, BYTE PTR FALSE[rip]
	mov	edi, 1
	mov	BYTE PTR 79[rsp], al
	cmp	r8d, r12d
	ja	.L14
	add	edx, r12d
	sub	edx, r8d
	mov	edi, edx
	sub	edi, r15d
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edx, 2
	xor	r13d, r13d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L63:
	mov	r12d, edi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L61:
	mov	rax, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 8[rax]
	cmp	DWORD PTR [rax], 1
	jne	.L4
	mov	esi, r15d
	call	bc_new_num@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rbx, rax
	mov	rax, QWORD PTR MINUS[rip]
	mov	rsi, QWORD PTR 16[rsi]
	cmp	QWORD PTR 16[rcx], rsi
	jne	.L6
	mov	rax, QWORD PTR PLUS[rip]
.L6:
	mov	r14, QWORD PTR 8[rsp]
	mov	QWORD PTR 16[rbx], rax
	xor	esi, esi
	mov	rax, QWORD PTR 8[rbx]
	movsx	rdx, DWORD PTR 4[r14]
	lea	rdi, [rax+rdx*4]
	mov	edx, r15d
	call	memset@PLT
	mov	edi, DWORD PTR [r14]
	mov	ebp, DWORD PTR 4[r14]
	mov	esi, r15d
	call	MIN@PLT
	mov	rsi, QWORD PTR 8[r14]
	mov	rdi, QWORD PTR 8[rbx]
	lea	edx, 0[rbp+rax]
	call	memcpy@PLT
	mov	r14, QWORD PTR 40[rsp]
	mov	rdi, r14
	call	bc_free_num@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR [r14], rbx
	mov	eax, DWORD PTR [rcx]
	movsx	rdx, DWORD PTR 4[rcx]
	mov	r14, rax
	lea	rax, -1[rdx+rax]
	add	rax, QWORD PTR 8[rcx]
	test	r14d, r14d
	je	.L64
	mov	rcx, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 4[rcx]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L36:
	mov	r8d, r14d
	mov	rbx, r10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L24:
	lea	r10, -1[rbx+r10]
	lea	eax, -1[r12]
	test	r8d, r8d
	je	.L20
	lea	r11d, -1[r8]
	xor	ecx, ecx
	xor	esi, esi
	not	r11
	.p2align 4,,10
	.p2align 3
.L26:
	movzx	edx, BYTE PTR [r9+rcx]
	movzx	edi, BYTE PTR [r10+rcx]
	add	edx, edi
	add	edx, esi
	xor	esi, esi
	cmp	edx, 9
	jbe	.L25
	sub	edx, 10
	mov	esi, 1
.L25:
	mov	BYTE PTR [r9+rcx], dl
	sub	rcx, 1
	cmp	r11, rcx
	jne	.L26
	add	r9, r11
	cmp	esi, 1
	jne	.L20
	movzx	edx, BYTE PTR [r9]
	mov	esi, 3435973837
	lea	ecx, 1[rdx]
	mov	rdx, rcx
	imul	rcx, rsi
	shr	rcx, 35
	lea	ecx, [rcx+rcx*4]
	add	ecx, ecx
	sub	edx, ecx
	mov	BYTE PTR [r9], dl
	jmp	.L20
.L32:
	mov	eax, -1
	jmp	.L1
.L64:
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 4[rax]
	mov	r12d, edi
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	bc_divide, .-bc_divide
	.comm	TRUE,1,1
	.comm	PLUS,8,8
	.comm	MINUS,8,8
	.comm	FALSE,1,1
	.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_div.c_bc_divide.c"
	.text
	.global	__aeabi_uidiv
	.global	__aeabi_idiv
	.align	2
	.global	bc_divide
	.syntax unified
	.arm
	.fpu softvfp
	.type	bc_divide, %function
bc_divide:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	sub	sp, sp, #44
	mov	r0, r1
	mov	r9, r3
	mov	r4, r1
	str	r1, [sp, #4]
	str	r2, [sp, #20]
	bl	bc_is_zero
	subs	r3, r0, #0
	str	r3, [sp, #24]
	bne	.L32
	ldr	r5, [r4]
	ldr	r1, [r4, #4]
	cmp	r5, #0
	ldr	r0, [fp, #4]
	bne	.L3
	cmp	r1, #1
	beq	.L61
.L34:
	mov	r6, r0
.L4:
	ldr	r8, [fp]
	sub	r3, r8, r5
	cmp	r9, r3
	movle	r3, #0
	subgt	r3, r9, r3
	add	r8, r8, r0
	movle	r2, #2
	addgt	r2, r3, #2
	mov	r1, r8
	mov	r0, #1
	strgt	r3, [sp]
	strle	r3, [sp]
	bl	safe_emalloc
	ldm	fp, {r2, r3}
	mov	r4, r0
	add	r2, r2, #2
	add	r2, r2, r3
	ldr	r3, [sp]
	mov	r1, #0
	add	r2, r2, r3
	str	r0, [sp, #16]
	bl	memset
	ldr	r3, [fp]
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #8]
	add	r2, r2, r3
	add	r0, r4, #1
	bl	memcpy
	mov	r2, #1
	ldr	r4, [sp, #4]
	mov	r0, r2
	ldr	r3, [r4, #4]
	add	r5, r5, r3
	mov	r1, r5
	bl	safe_emalloc
	mov	r2, r5
	ldr	r1, [r4, #8]
	mov	r10, r0
	bl	memcpy
	mov	r3, #0
	strb	r3, [r10, r5]
	ldrb	r3, [r10]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	mov	r4, r10
.L12:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	add	r4, r4, #1
	sub	r7, r5, r4
	cmp	r3, #0
	add	r7, r10, r7
	beq	.L12
.L11:
	add	r3, r9, r6
	cmp	r3, r7
	str	r3, [sp, #28]
	add	r2, r9, #1
	bcs	.L13
	mov	r0, #1
	ldr	r3, .L62
	ldrb	r5, [r3]	@ zero_extendqisi2
.L14:
	mov	r1, r9
	str	r2, [sp, #12]
	bl	bc_new_num
	mov	r1, #0
	ldr	r2, [sp, #12]
	str	r0, [sp, #8]
	ldr	r0, [r0, #8]
	bl	memset
	mov	r2, #1
	mov	r1, r7
	mov	r0, r2
	bl	safe_emalloc
	cmp	r5, #0
	str	r0, [sp, #12]
	bne	.L15
	ldrb	r5, [r4]	@ zero_extendqisi2
	mov	r0, #10
	add	r1, r5, #1
	bl	__aeabi_idiv
	cmp	r0, #1
	mov	r9, r0
	beq	.L16
	ldr	r3, [sp]
	add	r1, r8, #1
	add	r1, r1, r3
	ldr	r3, [sp, #16]
	mov	r2, r0
	mov	r0, r3
	bl	_one_mult
	mov	r3, r4
	mov	r2, r9
	mov	r1, r7
	mov	r0, r4
	bl	_one_mult
	ldrb	r5, [r4]	@ zero_extendqisi2
.L16:
	ldr	r3, [sp, #8]
	cmp	r7, r6
	ldr	r3, [r3, #8]
	subhi	r6, r7, r6
	mov	r1, r3
	addhi	r3, r3, r6
	movhi	r1, r3
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #16]
	sub	r2, r2, r7
	mov	r8, r3
	rsb	r3, r3, #1
	str	r10, [sp, #32]
	str	r7, [sp, #28]
	str	fp, [sp, #36]
	mov	r10, r1
	mov	r7, r5
	mov	fp, r3
	str	r2, [sp]
	b	.L27
.L20:
	ldr	r3, [sp]
	add	r8, fp, r8
	cmp	r3, r8
	strb	r6, [r10], #1
	bcc	.L57
	mov	r8, r9
	ldrb	r7, [r4]	@ zero_extendqisi2
.L27:
	mov	r9, r8
	ldrb	r3, [r9], #1	@ zero_extendqisi2
	ldrb	r5, [r8, #1]	@ zero_extendqisi2
	cmp	r3, r7
	add	r3, r3, r3, lsl #2
	moveq	r6, #9
	add	r5, r5, r3, lsl #1
	beq	.L18
	mov	r1, r7
	mov	r0, r5
	bl	__aeabi_idiv
	mov	r6, r0
.L18:
	mul	r2, r6, r7
	ldrb	lr, [r4, #1]	@ zero_extendqisi2
	ldrb	ip, [r8, #2]	@ zero_extendqisi2
	mul	r0, r6, lr
	sub	r3, r5, r2
	add	r3, r3, r3, lsl #2
	add	r3, ip, r3, lsl #1
	cmp	r0, r3
	bls	.L19
	sub	r1, r7, r2
	add	r5, r1, r5
	add	r5, r5, r5, lsl #2
	add	r5, ip, r5, lsl #1
	sub	r0, r0, lr
	cmp	r5, r0
	sub	r3, r6, #1
	movcs	r6, r3
	subcc	r6, r6, #2
.L19:
	cmp	r6, #0
	beq	.L20
	ldr	r7, [sp, #12]
	mov	r2, #0
	mov	r3, r7
	ldr	r5, [sp, #28]
	strb	r2, [r3], #1
	mov	r1, r5
	mov	r2, r6
	mov	r0, r4
	bl	_one_mult
	mov	r2, r5
	adds	r5, r5, #1
	add	r1, r7, r2
	beq	.L59
	add	r5, r5, r8
	mov	r0, r5
	mov	r2, #0
	ldr	r3, [sp, #12]
	sub	lr, r3, #1
.L23:
	ldrb	ip, [r1], #-1	@ zero_extendqisi2
	ldrb	r3, [r0, #-1]!	@ zero_extendqisi2
	sub	r3, r3, ip
	subs	r3, r3, r2
	addmi	r3, r3, #10
	movmi	r2, #1
	movpl	r2, #0
	cmp	r1, lr
	strb	r3, [r0]
	bne	.L23
	cmp	r2, #1
	beq	.L24
.L59:
	and	r6, r6, #255
	b	.L20
.L3:
	ldr	r3, [sp, #4]
	sub	r2, r5, #1
	ldr	r3, [r3, #8]
	add	r2, r2, r1
	add	r3, r3, r2
	b	.L8
.L9:
	subs	r5, r5, #1
	beq	.L34
.L8:
	ldrb	r2, [r3], #-1	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L9
	add	r6, r5, r0
	b	.L4
.L57:
	ldr	r10, [sp, #32]
	ldr	fp, [sp, #36]
.L15:
	ldr	r3, [sp, #4]
	ldr	r2, [fp, #12]
	ldr	r3, [r3, #12]
	ldr	r4, [sp, #8]
	cmp	r2, r3
	ldreq	r3, .L62+4
	ldrne	r3, .L62+8
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r4, #12]
	bl	bc_is_zero
	cmp	r0, #0
	ldrne	r3, .L62+4
	ldr	r5, [sp, #8]
	ldrne	r3, [r3]
	mov	r0, r5
	strne	r3, [r4, #12]
	bl	_bc_rm_leading_zeros
	ldr	r4, [sp, #20]
	mov	r0, r4
	bl	bc_free_num
	ldr	r0, [sp, #12]
	str	r5, [r4]
	bl	efree
	ldr	r0, [sp, #16]
	bl	efree
	mov	r0, r10
	bl	efree
.L1:
	ldr	r0, [sp, #24]
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	cmp	r7, r6
	addls	r2, r2, r6
	ldr	r3, .L62+12
	subls	r2, r2, r7
	movhi	r0, #1
	ldrb	r5, [r3]	@ zero_extendqisi2
	subls	r0, r2, r9
	b	.L14
.L61:
	ldr	r3, [sp, #4]
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L34
	mov	r1, r9
	bl	bc_new_num
	mov	r4, r0
	ldr	r3, [sp, #4]
	ldr	r2, [fp, #12]
	ldr	r3, [r3, #12]
	ldr	r0, [fp, #4]
	cmp	r2, r3
	ldreq	r3, .L62+4
	ldrne	r3, .L62+8
	mov	r1, #0
	ldr	r2, [r3]
	ldr	r3, [r4, #8]
	str	r2, [r4, #12]
	add	r0, r3, r0, lsl #2
	mov	r2, r9
	bl	memset
	ldmib	fp, {r6, r7}
	mov	r1, r9
	ldr	r0, [fp]
	ldr	r5, [r4, #8]
	bl	MIN
	mov	r1, r7
	add	r2, r6, r0
	mov	r0, r5
	bl	memcpy
	ldr	r6, [sp, #20]
	mov	r0, r6
	bl	bc_free_num
	ldr	r3, [sp, #4]
	ldr	r0, [fp, #4]
	ldr	r5, [r3]
	ldr	r1, [r3, #4]
	sub	r2, r5, #1
	ldr	r3, [r3, #8]
	add	r2, r2, r1
	cmp	r5, #0
	str	r4, [r6]
	add	r3, r3, r2
	bne	.L8
	b	.L34
.L36:
	mov	r7, r5
	mov	r4, r10
	b	.L11
.L24:
	ldr	r3, [sp, #28]
	sub	r6, r6, #1
	sub	r2, r3, #1
	cmp	r3, #0
	and	r6, r6, #255
	add	r2, r4, r2
	beq	.L20
	mov	r1, #0
	sub	ip, r4, #1
.L26:
	ldrb	r0, [r2], #-1	@ zero_extendqisi2
	ldrb	r3, [r5, #-1]!	@ zero_extendqisi2
	add	r3, r3, r0
	add	r3, r3, r1
	cmp	r3, #9
	subhi	r3, r3, #10
	movhi	r1, #1
	movls	r1, #0
	cmp	r2, ip
	strb	r3, [r5]
	bne	.L26
	cmp	r1, #1
	bne	.L20
	ldrb	r3, [r8]	@ zero_extendqisi2
	ldr	r2, .L62+16
	add	r3, r3, #1
	umull	r1, r2, r3, r2
	lsr	r2, r2, #3
	add	r2, r2, r2, lsl #2
	sub	r3, r3, r2, lsl #1
	strb	r3, [r8]
	b	.L20
.L32:
	mvn	r3, #0
	str	r3, [sp, #24]
	b	.L1
.L63:
	.align	2
.L62:
	.word	TRUE
	.word	PLUS
	.word	MINUS
	.word	FALSE
	.word	-858993459
	.size	bc_divide, .-bc_divide
	.comm	TRUE,1,1
	.comm	PLUS,4,4
	.comm	MINUS,4,4
	.comm	FALSE,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
