	.file	"extr_numeric.c_get_str_from_var_sci.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%se%+03d"
	.text
	.p2align 4
	.type	get_str_from_var_sci, @function
get_str_from_var_sci:
.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
	xor	r14d, r14d
	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
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	esi, esi
	cmovs	esi, r14d
	xor	ebx, ebx
	xor	r15d, r15d
	cmp	QWORD PTR [rdi], 0
	mov	r12d, esi
	jle	.L2
	mov	eax, DWORD PTR 8[rdi]
	mov	r13d, DWORD PTR DEC_DIGITS[rip]
	lea	ebx, 1[rax]
	mov	rax, QWORD PTR 16[rdi]
	imul	ebx, r13d
	mov	edi, DWORD PTR [rax]
	call	log10@PLT
	sub	r13d, eax
	mov	r15d, r13d
	sub	r15d, ebx
	sub	ebx, r13d
	cmovns	r15d, r14d
.L2:
	mov	r14, rsp
	lea	r13, 32[rsp]
	mov	rdi, r14
	call	init_var@PLT
	mov	rdi, r13
	call	init_var@PLT
	mov	ecx, r15d
	mov	rdx, r14
	mov	esi, ebx
	lea	rdi, const_ten[rip]
	call	power_var_int@PLT
	mov	ecx, r12d
	mov	rdx, r13
	mov	rsi, r14
	mov	r8d, 1
	mov	rdi, rbp
	call	div_var@PLT
	mov	rdi, r13
	call	get_str_from_var@PLT
	mov	rdi, r14
	mov	r12, rax
	call	free_var@PLT
	mov	rdi, r13
	call	free_var@PLT
	mov	rdi, r12
	call	strlen@PLT
	lea	ebp, 13[rax]
	movsx	rbp, ebp
	mov	rdi, rbp
	call	palloc@PLT
	mov	r8d, ebx
	mov	rcx, r12
	mov	rsi, rbp
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	mov	r13, rax
	call	snprintf@PLT
	mov	rdi, r12
	call	pfree@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	get_str_from_var_sci, .-get_str_from_var_sci
	.comm	const_ten,4,4
	.comm	DEC_DIGITS,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_numeric.c_get_str_from_var_sci.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%se%+03d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_str_from_var_sci, %function
get_str_from_var_sci:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, #0
	movle	r6, #0
	ldr	r3, .L9
	sub	sp, sp, #40
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	movle	r8, r6
	bic	r7, r1, r1, asr #31
	ble	.L2
	ldr	r3, [r0, #8]
	ldr	r2, .L9+4
	ldr	r8, [r0, #4]
	ldr	r0, [r3]
	ldr	r5, [r2]
	bl	log10
	add	r8, r8, #1
	mul	r8, r5, r8
	sub	r0, r5, r0
	subs	r6, r8, r0
	movpl	r8, #0
	submi	r8, r0, r8
.L2:
	add	r0, sp, #12
	bl	init_var
	add	r0, sp, #24
	bl	init_var
	mov	r3, r8
	mov	r1, r6
	add	r2, sp, #12
	ldr	r0, .L9+8
	bl	power_var_int
	mov	ip, #1
	mov	r3, r7
	str	ip, [sp]
	add	r2, sp, #24
	add	r1, sp, #12
	mov	r0, r4
	bl	div_var
	add	r0, sp, #24
	bl	get_str_from_var
	mov	r4, r0
	add	r0, sp, #12
	bl	free_var
	add	r0, sp, #24
	bl	free_var
	mov	r0, r4
	bl	strlen
	add	r5, r0, #13
	mov	r0, r5
	bl	palloc
	mov	r1, r5
	mov	r3, r4
	ldr	r2, .L9+12
	str	r6, [sp]
	mov	r5, r0
	bl	snprintf
	mov	r0, r4
	bl	pfree
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	DEC_DIGITS
	.word	const_ten
	.word	.LC0
	.size	get_str_from_var_sci, .-get_str_from_var_sci
	.comm	const_ten,4,4
	.comm	DEC_DIGITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
