	.file	"extr_common.c_CopyString.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	CopyString
	.type	CopyString, @function
CopyString:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	r12, emptystring[rip+4]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movsx	rax, BYTE PTR [rdi]
	test	al, al
	je	.L1
	cmp	BYTE PTR 1[rdi], 0
	mov	rbp, rdi
	jne	.L3
	lea	edx, -48[rax]
	cmp	dl, 9
	jbe	.L8
.L3:
	mov	rdi, rbp
	call	strlen@PLT
	lea	rdi, 1[rax]
	call	S_Malloc@PLT
	mov	rsi, rbp
	mov	rdi, rax
	mov	r12, rax
	call	strcpy@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdx, QWORD PTR numberstring[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	r12, -188[rdx+rax*4]
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	CopyString, .-CopyString
	.comm	numberstring,8,8
	.comm	emptystring,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_common.c_CopyString.c"
	.text
	.align	2
	.global	CopyString
	.syntax unified
	.arm
	.fpu softvfp
	.type	CopyString, %function
CopyString:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	ldrb	r0, [r0]	@ zero_extendqisi2
	cmp	r0, #0
	beq	.L4
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	sub	r3, r0, #48
	cmp	r3, #9
	bls	.L7
.L3:
	mov	r0, r4
	bl	strlen
	add	r0, r0, #1
	bl	S_Malloc
	mov	r1, r4
	mov	r4, r0
	bl	strcpy
	mov	r0, r4
	pop	{r4, pc}
.L4:
	ldr	r4, .L8
	mov	r0, r4
	pop	{r4, pc}
.L7:
	ldr	r3, .L8+4
	sub	r0, r0, #-1073741777
	ldr	r4, [r3]
	add	r4, r4, r0, lsl #2
	mov	r0, r4
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	emptystring+4
	.word	numberstring
	.size	CopyString, .-CopyString
	.comm	numberstring,4,4
	.comm	emptystring,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
