	.file	"extr_decimal128.c_decimal128ToNumber.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	decimal128ToNumber
	.type	decimal128ToNumber, @function
decimal128ToNumber:
.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, 56
	.cfi_def_cfa_offset 80
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR DECLITEND[rip], 0
	je	.L2
	call	UBTOUI@PLT
	mov	QWORD PTR [rsp], rax
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 4[rax]
	call	UBTOUI@PLT
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 8[rax]
	call	UBTOUI@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 16[rsp], rax
	add	rdi, 12
	call	UBTOUI@PLT
	mov	QWORD PTR 24[rsp], rax
	mov	rbx, rax
.L3:
	mov	rdi, r12
	shr	rbx, 26
	call	decNumberZero@PLT
	mov	rdi, QWORD PTR 24[rsp]
	and	ebx, 31
	test	edi, 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	rsi, QWORD PTR [rax+rbx*8]
	cmp	rsi, 3
	je	.L21
	mov	rax, rdi
	sal	rsi, 12
	shr	rax, 14
	and	eax, 4095
	sub	rax, QWORD PTR DECIMAL128_Bias[rip]
	lea	rax, [rax+rsi]
	mov	QWORD PTR [r12], rax
	mov	rax, rdi
	and	eax, 16383
	test	rcx, rcx
	je	.L10
	sal	rcx, 14
	mov	edx, 12
	or	rcx, rax
	mov	QWORD PTR 24[rsp], rcx
.L11:
	mov	rsi, rsp
	mov	rdi, r12
	call	decDigitsFromDPD@PLT
.L7:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 56
	.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	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 4[rax]
	call	UBTOUI@PLT
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR [rbx]
	lea	rdi, 8[rax]
	call	UBTOUI@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR 8[rsp], rax
	add	rdi, 12
	call	UBTOUI@PLT
	mov	rbx, QWORD PTR 24[rsp]
	mov	QWORD PTR [rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edx, DWORD PTR 8[r12]
	test	rcx, rcx
	je	.L23
	mov	rax, rdi
	and	eax, 16383
	test	edi, 33554432
	je	.L8
	or	edx, DWORD PTR DECSNAN[rip]
	mov	QWORD PTR 24[rsp], rax
	mov	DWORD PTR 8[r12], edx
	test	rax, rax
	je	.L24
.L13:
	mov	edx, 11
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	QWORD PTR 24[rsp], rax
.L9:
	test	rax, rax
	jne	.L13
.L24:
	cmp	QWORD PTR 16[rsp], 0
	jne	.L14
	cmp	QWORD PTR 8[rsp], 0
	jne	.L15
	cmp	QWORD PTR [rsp], 0
	mov	edx, 4
	jne	.L11
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	or	edx, DWORD PTR DECNAN[rip]
	mov	QWORD PTR 24[rsp], rax
	mov	DWORD PTR 8[r12], edx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L23:
	or	edx, DWORD PTR DECINF[rip]
	mov	DWORD PTR 8[r12], edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edx, 10
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edx, 7
	jmp	.L11
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decimal128ToNumber, .-decimal128ToNumber
	.comm	sourml,8,8
	.comm	sourmh,8,8
	.comm	sourlo,8,8
	.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	DECIMAL128_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_decimal128.c_decimal128ToNumber.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decimal128ToNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	decimal128ToNumber, %function
decimal128ToNumber:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L24
	ldr	r2, .L24+4
	ldr	r3, [r3]
	sub	sp, sp, #28
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	ldr	r0, [r0]
	beq	.L2
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #4]
	add	r0, r3, #4
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #8]
	add	r0, r3, #8
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #12]
	add	r0, r3, #12
	bl	UBTOUI
	mov	r4, r0
	str	r0, [sp, #16]
.L3:
	mov	r0, r5
	bl	decNumberZero
	ldr	r3, [sp, #16]
	ldr	r1, .L24+8
	cmp	r3, #0
	ldrlt	r2, .L24+12
	ldr	r1, [r1]
	ldrlt	r2, [r2]
	lsr	r4, r4, #26
	and	r4, r4, #31
	strlt	r2, [r5, #4]
	ldr	r2, .L24+16
	ldr	r1, [r1, r4, lsl #2]
	ldr	r2, [r2]
	cmp	r1, #3
	ldr	r0, [r2, r4, lsl #2]
	beq	.L21
	ldr	r2, .L24+20
	lsl	ip, r3, #6
	ldr	r2, [r2]
	lsl	r3, r3, #18
	rsb	r2, r2, ip, lsr #20
	add	r2, r2, r1, lsl #12
	cmp	r0, #0
	str	r2, [r5]
	lsr	r3, r3, #18
	beq	.L10
	mov	r2, #12
	orr	r3, r3, r0, lsl #14
	str	r3, [sp, #16]
.L11:
	mov	r0, r5
	add	r1, sp, #4
	bl	decDigitsFromDPD
.L7:
	ldr	r3, .L24+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #16]
	add	r0, r3, #4
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #12]
	add	r0, r3, #8
	bl	UBTOUI
	ldr	r3, [r4]
	str	r0, [sp, #8]
	add	r0, r3, #12
	bl	UBTOUI
	ldr	r4, [sp, #16]
	str	r0, [sp, #4]
	b	.L3
.L21:
	cmp	r0, #0
	ldr	r2, [r5, #4]
	beq	.L23
	tst	r3, #33554432
	ldrne	r1, .L24+24
	ldreq	r1, .L24+28
	lsl	r3, r3, #18
	ldr	r1, [r1]
	lsr	r3, r3, #18
	orr	r2, r1, r2
	str	r3, [sp, #16]
	str	r2, [r5, #4]
.L9:
	cmp	r3, #0
	bne	.L13
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [sp, #4]
	cmp	r3, #0
	movne	r2, #4
	bne	.L11
	b	.L7
.L13:
	mov	r2, #11
	b	.L11
.L10:
	str	r3, [sp, #16]
	b	.L9
.L14:
	mov	r2, #10
	b	.L11
.L23:
	ldr	r3, .L24+32
	ldr	r3, [r3]
	orr	r2, r3, r2
	str	r2, [r5, #4]
	b	.L7
.L15:
	mov	r2, #7
	b	.L11
.L22:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	DECLITEND
	.word	.LC0
	.word	COMBEXP
	.word	DECNEG
	.word	COMBMSD
	.word	DECIMAL128_Bias
	.word	DECSNAN
	.word	DECNAN
	.word	DECINF
	.size	decimal128ToNumber, .-decimal128ToNumber
	.comm	sourml,4,4
	.comm	sourmh,4,4
	.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	DECIMAL128_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
