	.file	"extr_softfloat.c_float64_div.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	float64_div
	.type	float64_div, @function
float64_div:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	edi, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	extractFloat64Frac@PLT
	mov	edi, ebp
	mov	DWORD PTR 16[rsp], eax
	call	extractFloat64Exp@PLT
	mov	edi, ebp
	mov	DWORD PTR 8[rsp], eax
	call	extractFloat64Sign@PLT
	mov	edi, r12d
	mov	ebx, eax
	call	extractFloat64Frac@PLT
	mov	edi, r12d
	mov	DWORD PTR 20[rsp], eax
	call	extractFloat64Exp@PLT
	mov	edi, r12d
	mov	DWORD PTR 12[rsp], eax
	call	extractFloat64Sign@PLT
	xor	ebx, eax
	mov	eax, DWORD PTR 8[rsp]
	cmp	eax, 2047
	je	.L24
	mov	edx, DWORD PTR 12[rsp]
	cmp	edx, 2047
	je	.L25
	test	edx, edx
	jne	.L8
	mov	edi, DWORD PTR 20[rsp]
	test	edi, edi
	jne	.L9
	or	eax, DWORD PTR 16[rsp]
	mov	edx, DWORD PTR 0[r13]
	jne	.L10
	or	edx, DWORD PTR float_flag_invalid[rip]
	mov	DWORD PTR 0[r13], edx
	mov	eax, DWORD PTR float64_default_nan[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	mov	ecx, DWORD PTR 20[rsp]
	test	ecx, ecx
	je	.L22
.L6:
	mov	esi, r12d
	mov	edi, ebp
	call	propagateFloat64NaN@PLT
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L26
	add	rsp, 56
	.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
.L24:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rsp]
	test	edi, edi
	jne	.L6
	cmp	DWORD PTR 12[rsp], 2047
	jne	.L21
	mov	esi, DWORD PTR 20[rsp]
	test	esi, esi
	jne	.L6
	mov	eax, DWORD PTR float_flag_invalid[rip]
	or	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR float64_default_nan[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdx, 20[rsp]
	lea	rsi, 12[rsp]
	call	normalizeFloat64Subnormal@PLT
	mov	eax, DWORD PTR 8[rsp]
.L8:
	test	eax, eax
	jne	.L11
	mov	edi, DWORD PTR 16[rsp]
	test	edi, edi
	je	.L22
	lea	rdx, 16[rsp]
	lea	rsi, 8[rsp]
	call	normalizeFloat64Subnormal@PLT
	mov	eax, DWORD PTR 8[rsp]
.L11:
	sub	eax, DWORD PTR 12[rsp]
	xor	edi, edi
	mov	r14d, eax
	call	LIT64@PLT
	or	eax, DWORD PTR 16[rsp]
	xor	edi, edi
	sal	eax, 10
	mov	DWORD PTR 16[rsp], eax
	call	LIT64@PLT
	mov	edi, DWORD PTR 16[rsp]
	or	eax, DWORD PTR 20[rsp]
	mov	edx, eax
	sal	edx, 11
	lea	eax, [rdi+rdi]
	mov	DWORD PTR 20[rsp], edx
	cmp	edx, eax
	jle	.L13
	add	r14d, 1021
.L14:
	xor	esi, esi
	call	estimateDiv128To64@PLT
	mov	r12d, eax
	and	eax, 511
	cmp	eax, 2
	jle	.L27
.L15:
	mov	ecx, r12d
	mov	edx, r14d
	mov	esi, ebx
	mov	rdi, r13
	call	roundAndPackFloat64@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	xor	edx, edx
	xor	esi, esi
	mov	edi, ebx
	call	packFloat64@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	sar	edi
	add	r14d, 1022
	mov	DWORD PTR 16[rsp], edi
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L10:
	or	edx, DWORD PTR float_flag_divbyzero[rip]
	mov	DWORD PTR 0[r13], edx
.L21:
	xor	edx, edx
	mov	esi, 2047
	mov	edi, ebx
	call	packFloat64@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR 20[rsp]
	lea	rcx, 36[rsp]
	lea	rdx, 32[rsp]
	mov	esi, r12d
	lea	r15, 28[rsp]
	lea	rbp, 24[rsp]
	call	mul64To128@PLT
	mov	edi, DWORD PTR 16[rsp]
	mov	ecx, DWORD PTR 36[rsp]
	mov	r9, r15
	mov	edx, DWORD PTR 32[rsp]
	mov	r8, rbp
	xor	esi, esi
	call	sub128@PLT
	mov	edi, DWORD PTR 24[rsp]
	test	edi, edi
	jns	.L16
	.p2align 4,,10
	.p2align 3
.L17:
	mov	ecx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR 28[rsp]
	mov	r9, r15
	mov	r8, rbp
	xor	edx, edx
	sub	r12d, 1
	call	add128@PLT
	mov	edi, DWORD PTR 24[rsp]
	test	edi, edi
	js	.L17
.L16:
	mov	edx, DWORD PTR 28[rsp]
	xor	eax, eax
	test	edx, edx
	setne	al
	or	r12d, eax
	jmp	.L15
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	float64_div, .-float64_div
	.comm	float_flag_invalid,4,4
	.comm	float_flag_divbyzero,4,4
	.comm	float64_default_nan,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_softfloat.c_float64_div.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	float64_div
	.syntax unified
	.arm
	.fpu softvfp
	.type	float64_div, %function
float64_div:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L28
	sub	sp, sp, #52
	mov	r7, r0
	mov	r0, r1
	mov	r4, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	extractFloat64Frac
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #20]
	bl	extractFloat64Exp
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #12]
	bl	extractFloat64Sign
	mov	r6, r0
	mov	r0, r5
	bl	extractFloat64Frac
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #24]
	bl	extractFloat64Exp
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #16]
	bl	extractFloat64Sign
	ldr	r1, [sp, #12]
	ldr	r3, .L28+4
	eor	r6, r6, r0
	cmp	r1, r3
	beq	.L22
	ldr	r2, [sp, #16]
	cmp	r2, r3
	beq	.L23
	cmp	r2, #0
	bne	.L8
	ldr	r0, [sp, #24]
	cmp	r0, #0
	bne	.L9
	ldr	r2, [sp, #20]
	ldr	ip, [r7]
	orrs	r2, r1, r2
	bne	.L10
	ldr	r3, .L28+8
	ldr	r2, .L28+12
	ldr	r3, [r3]
	orr	r3, r3, ip
	str	r3, [r7]
	ldr	r0, [r2]
	b	.L1
.L23:
	ldr	r2, [sp, #24]
	cmp	r2, #0
	beq	.L24
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	propagateFloat64NaN
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L22:
	ldr	r2, [sp, #20]
	cmp	r2, #0
	bne	.L6
	ldr	r3, [sp, #16]
	cmp	r3, r1
	bne	.L5
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L6
	ldr	r2, .L28+8
	ldr	r3, [r7]
	ldr	r1, [r2]
	ldr	r2, .L28+12
	orr	r3, r3, r1
	str	r3, [r7]
	ldr	r0, [r2]
	b	.L1
.L9:
	add	r1, sp, #16
	add	r2, sp, #24
	bl	normalizeFloat64Subnormal
	ldr	r1, [sp, #12]
.L8:
	cmp	r1, #0
	bne	.L11
	ldr	r0, [sp, #20]
	cmp	r0, #0
	beq	.L26
	add	r1, sp, #12
	add	r2, sp, #20
	bl	normalizeFloat64Subnormal
	ldr	r1, [sp, #12]
.L11:
	ldr	r4, [sp, #16]
	mov	r0, #0
	sub	r4, r1, r4
	bl	LIT64
	mov	r3, r0
	ldr	r2, [sp, #20]
	mov	r0, #0
	orr	r3, r3, r2
	lsl	r3, r3, #10
	str	r3, [sp, #20]
	bl	LIT64
	mov	r2, r0
	ldr	r3, [sp, #24]
	ldr	r0, [sp, #20]
	orr	r2, r2, r3
	lsl	r2, r2, #11
	cmp	r2, r0, lsl #1
	addgt	r4, r4, #1020
	asrle	r0, r0, #1
	addle	r4, r4, #1020
	mov	r1, #0
	addgt	r4, r4, #1
	strle	r0, [sp, #20]
	addle	r4, r4, #2
	str	r2, [sp, #24]
	bl	estimateDiv128To64
	lsl	r3, r0, #23
	lsr	r3, r3, #23
	cmp	r3, #2
	mov	r5, r0
	ble	.L27
.L15:
	mov	r3, r5
	mov	r2, r4
	mov	r1, r6
	mov	r0, r7
	bl	roundAndPackFloat64
	b	.L1
.L24:
	mov	r0, r6
	mov	r1, r2
	bl	packFloat64
	b	.L1
.L5:
	mov	r0, r6
	bl	packFloat64
	b	.L1
.L27:
	mov	r1, r0
	add	r3, sp, #40
	add	r2, sp, #36
	ldr	r0, [sp, #24]
	add	r9, sp, #32
	add	r8, sp, #28
	bl	mul64To128
	mov	r1, #0
	stm	sp, {r8, r9}
	ldr	r3, [sp, #40]
	ldr	r2, [sp, #36]
	ldr	r0, [sp, #20]
	bl	sub128
	ldr	r0, [sp, #28]
	cmp	r0, #0
	bge	.L16
.L17:
	mov	r2, #0
	stm	sp, {r8, r9}
	ldr	r3, [sp, #24]
	ldr	r1, [sp, #32]
	bl	add128
	ldr	r0, [sp, #28]
	sub	r5, r5, #1
	cmp	r0, #0
	blt	.L17
.L16:
	ldr	r3, [sp, #32]
	cmp	r3, #0
	orrne	r5, r5, #1
	b	.L15
.L26:
	mov	r0, r6
	mov	r2, r1
	bl	packFloat64
	b	.L1
.L10:
	ldr	r1, .L28+16
	mov	r2, r0
	ldr	r0, [r1]
	mov	r1, r3
	orr	r3, r0, ip
	str	r3, [r7]
	mov	r0, r6
	bl	packFloat64
	b	.L1
.L25:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	2047
	.word	float_flag_invalid
	.word	float64_default_nan
	.word	float_flag_divbyzero
	.size	float64_div, .-float64_div
	.comm	float_flag_invalid,4,4
	.comm	float_flag_divbyzero,4,4
	.comm	float64_default_nan,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
