	.file	"extr_decimal64.c_decimal64ToNumber.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	decimal64ToNumber
	.type	decimal64ToNumber, @function
decimal64ToNumber:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR DECLITEND[rip], 0
	je	.L2
	call	UBTOUI@PLT
	mov	rdi, QWORD PTR [rbx]
	cdqe
	add	rdi, 4
	mov	QWORD PTR [rsp], rax
	call	UBTOUI@PLT
	movsx	rbx, eax
	mov	QWORD PTR 8[rsp], rbx
.L3:
	mov	rdi, r12
	shr	rbx, 26
	call	decNumberZero@PLT
	mov	rsi, QWORD PTR 8[rsp]
	and	ebx, 31
	test	esi, 2147483648
	je	.L4
	mov	eax, DWORD PTR DECNEG[rip]
	mov	DWORD PTR 8[r12], eax
.L4:
	mov	rax, QWORD PTR COMBMSD[rip]
	mov	rcx, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR COMBEXP[rip]
	mov	rax, QWORD PTR [rax+rbx*8]
	cmp	rax, 3
	je	.L24
	mov	rdx, rsi
	sal	rax, 8
	shr	rdx, 18
	movzx	edx, dl
	sub	rdx, QWORD PTR DECIMAL64_Bias[rip]
	add	rax, rdx
	mov	QWORD PTR [r12], rax
	mov	rax, rsi
	and	eax, 262143
	test	rcx, rcx
	je	.L10
	sal	rcx, 18
	mov	edx, 6
	or	rcx, rax
	mov	QWORD PTR 8[rsp], rcx
.L11:
	mov	rsi, rsp
	mov	rdi, r12
	call	decDigitsFromDPD@PLT
.L7:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	UBTOUI@PLT
	mov	rdi, QWORD PTR [rbx]
	cdqe
	add	rdi, 4
	mov	QWORD PTR 8[rsp], rax
	call	UBTOUI@PLT
	mov	rbx, QWORD PTR 8[rsp]
	cdqe
	mov	QWORD PTR [rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edx, DWORD PTR 8[r12]
	test	rcx, rcx
	je	.L26
	mov	rax, rsi
	and	eax, 262143
	test	esi, 33554432
	je	.L8
	or	edx, DWORD PTR DECSNAN[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	DWORD PTR 8[r12], edx
	test	rax, rax
	je	.L27
.L12:
	xor	edx, edx
	test	esi, 261888
	setne	dl
	add	edx, 4
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	QWORD PTR 8[rsp], rax
.L9:
	test	rax, rax
	jne	.L12
.L27:
	mov	rax, QWORD PTR [rsp]
	test	rax, rax
	je	.L7
	xor	edx, edx
	test	eax, 3221225472
	setne	dl
	add	edx, 3
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	or	edx, DWORD PTR DECNAN[rip]
	mov	QWORD PTR 8[rsp], rax
	mov	DWORD PTR 8[r12], edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L26:
	or	edx, DWORD PTR DECINF[rip]
	mov	DWORD PTR 8[r12], edx
	jmp	.L7
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decimal64ToNumber, .-decimal64ToNumber
	.comm	sourlo,4,4
	.comm	sourhi,4,4
	.comm	DECSNAN,4,4
	.comm	DECNEG,4,4
	.comm	DECNAN,4,4
	.comm	DECLITEND,8,8
	.comm	DECINF,4,4
	.comm	DECIMAL64_Bias,8,8
	.comm	COMBMSD,8,8
	.comm	COMBEXP,8,8
	.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_decimal64.c_decimal64ToNumber.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decimal64ToNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	decimal64ToNumber, %function
decimal64ToNumber:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L24
	ldr	r2, .L24+4
	ldr	r3, [r3]
	sub	sp, sp, #20
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r0, [r0]
	beq	.L2
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #4]
	add	r0, r3, #4
	bl	UBTOUI
	mov	r4, r0
	str	r0, [sp, #8]
.L3:
	mov	r0, r5
	bl	decNumberZero
	ldr	r2, [sp, #8]
	ldr	r1, .L24+8
	cmp	r2, #0
	ldrlt	r3, .L24+12
	ldr	r1, [r1]
	ldrlt	r3, [r3]
	lsr	r4, r4, #26
	and	r4, r4, #31
	strlt	r3, [r5, #4]
	ldr	r3, .L24+16
	ldr	ip, [r1, r4, lsl #2]
	ldr	r3, [r3]
	cmp	ip, #3
	ldr	lr, [r3, r4, lsl #2]
	beq	.L21
	ldr	r3, .L24+20
	lsl	r1, r2, #6
	ldr	r0, [r3]
	cmp	lr, #0
	rsb	r1, r0, r1, lsr #24
	add	r1, r1, ip, lsl #8
	bic	r3, r2, #-16777216
	str	r1, [r5]
	bic	r3, r3, #16515072
	beq	.L10
	mov	r2, #6
	orr	r3, r3, lr, lsl #18
	str	r3, [sp, #8]
.L11:
	mov	r0, r5
	add	r1, sp, #4
	bl	decDigitsFromDPD
.L7:
	ldr	r3, .L24+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #8]
	add	r0, r3, #4
	bl	UBTOUI
	ldr	r4, [sp, #8]
	str	r0, [sp, #4]
	b	.L3
.L21:
	cmp	lr, #0
	ldr	r1, [r5, #4]
	beq	.L23
	tst	r2, #33554432
	ldrne	r0, .L24+24
	ldreq	r0, .L24+28
	bic	r3, r2, #-16777216
	ldr	r0, [r0]
	bic	r3, r3, #16515072
	orr	r1, r0, r1
	str	r3, [sp, #8]
	str	r1, [r5, #4]
.L9:
	cmp	r3, #0
	bne	.L12
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L7
	tst	r3, #-1073741824
	moveq	r2, #3
	movne	r2, #4
	b	.L11
.L12:
	ldr	r3, .L24+32
	and	r3, r3, r2
	cmp	r3, #0
	moveq	r2, #4
	movne	r2, #5
	b	.L11
.L10:
	str	r3, [sp, #8]
	b	.L9
.L23:
	ldr	r3, .L24+36
	ldr	r3, [r3]
	orr	r1, r3, r1
	str	r1, [r5, #4]
	b	.L7
.L22:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	DECLITEND
	.word	.LC0
	.word	COMBEXP
	.word	DECNEG
	.word	COMBMSD
	.word	DECIMAL64_Bias
	.word	DECSNAN
	.word	DECNAN
	.word	261888
	.word	DECINF
	.size	decimal64ToNumber, .-decimal64ToNumber
	.comm	sourlo,4,4
	.comm	sourhi,4,4
	.comm	DECSNAN,4,4
	.comm	DECNEG,4,4
	.comm	DECNAN,4,4
	.comm	DECLITEND,4,4
	.comm	DECINF,4,4
	.comm	DECIMAL64_Bias,4,4
	.comm	COMBMSD,4,4
	.comm	COMBEXP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
