	.file	"1034430.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	tab, @object
	.size	tab, 64
tab:
	.quad	1
	.quad	10
	.quad	100
	.quad	1000
	.quad	10000
	.quad	100000
	.quad	1000000
	.quad	10000000
	.text
	.globl	pow10
	.type	pow10, @function
pow10:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 308
	jle	.L2
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 34
	movsd	xmm0, QWORD PTR .LC0[rip]
	jmp	.L3
.L2:
	cmp	DWORD PTR -20[rbp], -307
	jge	.L4
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 34
	pxor	xmm0, xmm0
	jmp	.L3
.L4:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L5
	mov	eax, DWORD PTR -20[rbp]
	neg	eax
	mov	edi, eax
	call	pow10
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	ja	.L6
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, tab[rip]
	mov	rax, QWORD PTR [rdx+rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	pow10
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	pow10
	mulsd	xmm0, QWORD PTR -32[rbp]
.L3:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	pow10, .-pow10
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	2146435072
	.align 8
.LC2:
	.long	0
	.long	1072693248
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1034430.c"
	.text
	.data
	.align	2
	.type	tab, %object
	.size	tab, 32
tab:
	.word	1
	.word	10
	.word	100
	.word	1000
	.word	10000
	.word	100000
	.word	1000000
	.word	10000000
	.global	__aeabi_ddiv
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.text
	.align	2
	.global	pow10
	.syntax unified
	.arm
	.fpu softvfp
	.type	pow10, %function
pow10:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #308
	ble	.L2
	bl	__errno_location
	mov	r3, r0
	mov	r2, #34
	str	r2, [r3]
	mov	r2, #0
	ldr	r3, .L7
	b	.L3
.L2:
	ldr	r3, [fp, #-24]
	cmn	r3, #308
	bgt	.L4
	bl	__errno_location
	mov	r3, r0
	mov	r2, #34
	str	r2, [r3]
	mov	r2, #0
	mov	r3, #0
	b	.L3
.L4:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L5
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	mov	r0, r3
	bl	pow10
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L7+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	b	.L3
.L5:
	ldr	r3, [fp, #-24]
	cmp	r3, #7
	bhi	.L6
	ldr	r2, .L7+8
	ldr	r3, [fp, #-24]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	b	.L3
.L6:
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	pow10
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r0, r3
	bl	pow10
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	2146435072
	.word	1072693248
	.word	tab
	.size	pow10, .-pow10
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
