	.file	"extr_numutils.c_pg_ltoa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-2147483648"
	.text
	.p2align 4
	.globl	pg_ltoa
	.type	pg_ltoa, @function
pg_ltoa:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR PG_INT32_MIN[rip], edi
	mov	r8, rsi
	je	.L17
	xor	r10d, r10d
	test	edi, edi
	jns	.L3
	neg	edi
	mov	r10d, 1
.L3:
	mov	rdx, r8
	mov	r9d, 3435973837
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, edi
	mov	rax, rdx
	add	rdx, 1
	mov	rsi, rdi
	imul	rdi, r9
	shr	rdi, 35
	imul	ecx, edi, -10
	lea	ecx, 48[rcx+rsi]
	mov	BYTE PTR -1[rdx], cl
	test	edi, edi
	jne	.L4
	test	r10d, r10d
	jne	.L18
.L5:
	mov	BYTE PTR [rdx], 0
	cmp	r8, rax
	jnb	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	movzx	edx, BYTE PTR [r8]
	movzx	ecx, BYTE PTR [rax]
	add	r8, 1
	sub	rax, 1
	mov	BYTE PTR -1[r8], cl
	mov	BYTE PTR 1[rax], dl
	cmp	r8, rax
	jb	.L6
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rcx, 2[rax]
	mov	BYTE PTR [rdx], 45
	mov	rax, rdx
	mov	rdx, rcx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edx, 12
	lea	rsi, .LC0[rip]
	mov	rdi, r8
	jmp	memcpy@PLT
	.cfi_endproc
.LFE0:
	.size	pg_ltoa, .-pg_ltoa
	.comm	PG_INT32_MIN,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_numutils.c_pg_ltoa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-2147483648\000"
	.text
	.align	2
	.global	pg_ltoa
	.syntax unified
	.arm
	.fpu softvfp
	.type	pg_ltoa, %function
pg_ltoa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L19
	cmp	r0, #0
	push	{r4, lr}
	mov	ip, r1
	movlt	r4, #1
	movge	r4, #0
	ldr	lr, .L20+4
	rsblt	r0, r0, #0
.L4:
	mov	r3, r0
	umull	r2, r0, lr, r3
	lsr	r0, r0, #3
	rsb	r2, r0, r0, lsl #29
	rsb	r2, r0, r2, lsl #2
	add	r3, r3, r2, lsl #1
	add	r3, r3, #48
	cmp	r0, #0
	mov	r2, ip
	strb	r3, [ip], #1
	bne	.L4
	cmp	r4, #0
	movne	r0, #45
	addne	r3, r2, #2
	movne	r2, ip
	strbne	r0, [ip]
	movne	ip, r3
	mov	r3, #0
	cmp	r1, r2
	strb	r3, [ip]
	popcs	{r4, pc}
.L6:
	ldrb	r3, [r1]	@ zero_extendqisi2
	ldrb	r0, [r2]	@ zero_extendqisi2
	strb	r0, [r1], #1
	strb	r3, [r2], #-1
	cmp	r1, r2
	bcc	.L6
	pop	{r4, pc}
.L19:
	mov	r0, r1
	mov	r2, #12
	ldr	r1, .L20+8
	b	memcpy
.L21:
	.align	2
.L20:
	.word	PG_INT32_MIN
	.word	-858993459
	.word	.LC0
	.size	pg_ltoa, .-pg_ltoa
	.comm	PG_INT32_MIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
