	.file	"316319.c"
	.intel_syntax noprefix
	.text
	.globl	itoa
	.type	itoa, @function
itoa:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	eax, edx
	mov	WORD PTR -56[rbp], ax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	cmp	WORD PTR -56[rbp], 1
	jbe	.L2
	cmp	WORD PTR -56[rbp], 36
	jbe	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	jmp	.L4
.L3:
	cmp	DWORD PTR -52[rbp], 0
	jns	.L5
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], 45
	add	QWORD PTR -16[rbp], 1
	mov	eax, DWORD PTR -52[rbp]
	neg	eax
	mov	DWORD PTR -32[rbp], eax
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -32[rbp], eax
.L6:
	mov	DWORD PTR -28[rbp], 0
.L9:
	movzx	ecx, WORD PTR -56[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -28[rbp], edx
	cmp	DWORD PTR -28[rbp], 9
	jg	.L7
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 48
	mov	ecx, eax
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 87
	mov	ecx, eax
.L8:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR [rax], cl
	movzx	esi, WORD PTR -56[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cdq
	idiv	esi
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L11:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -33[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -33[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -16[rbp], 1
	sub	QWORD PTR -8[rbp], 1
.L10:
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -8[rbp]
	jb	.L11
	mov	rax, QWORD PTR -64[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	itoa, .-itoa
	.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	"316319.c"
	.text
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.global	itoa
	.syntax unified
	.arm
	.fpu softvfp
	.type	itoa, %function
itoa:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, r2
	strh	r3, [fp, #-38]	@ movhi
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldrh	r3, [fp, #-38]
	cmp	r3, #1
	bls	.L2
	ldrh	r3, [fp, #-38]
	cmp	r3, #36
	bls	.L3
.L2:
	ldr	r3, [fp, #-36]
	b	.L4
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L5
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L5:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
.L9:
	ldrh	r2, [fp, #-38]
	ldr	r3, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L7
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r2, r3, #255
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	and	r3, r3, #255
	add	r3, r3, #87
	and	r2, r3, #255
.L8:
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	strb	r2, [r3]
	ldrh	r3, [fp, #-38]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L10
.L11:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L10:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcc	.L11
	ldr	r3, [fp, #-36]
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	itoa, .-itoa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
