	.file	"254703.c"
	.intel_syntax noprefix
	.text
	.globl	digits
	.data
	.align 32
	.type	digits, @object
	.size	digits, 56
digits:
	.byte	73
	.zero	3
	.long	1
	.byte	86
	.zero	3
	.long	5
	.byte	88
	.zero	3
	.long	10
	.byte	76
	.zero	3
	.long	50
	.byte	67
	.zero	3
	.long	100
	.byte	68
	.zero	3
	.long	500
	.byte	77
	.zero	3
	.long	1000
	.section	.rodata
.LC0:
	.string	"%i"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L8:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jns	.L3
	mov	edi, 45
	call	putchar@PLT
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cdq
	xor	eax, edx
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	lea	rax, digits[rip+48]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
.L5:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jns	.L6
	sub	QWORD PTR -16[rbp], 8
.L4:
	lea	rax, digits[rip]
	cmp	QWORD PTR -16[rbp], rax
	jnb	.L7
	mov	edi, 10
	call	putchar@PLT
.L2:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jg	.L8
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, 1
	jmp	.L11
.L9:
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"254703.c"
	.text
	.global	digits
	.data
	.align	2
	.type	digits, %object
	.size	digits, 56
digits:
	.byte	73
	.space	3
	.word	1
	.byte	86
	.space	3
	.word	5
	.byte	88
	.space	3
	.word	10
	.byte	76
	.space	3
	.word	50
	.byte	67
	.space	3
	.word	100
	.byte	68
	.space	3
	.word	500
	.byte	77
	.space	3
	.word	1000
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L8:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L3
	mov	r0, #45
	bl	putchar
.L3:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L13+4
	str	r3, [fp, #-16]
	b	.L4
.L7:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-20]
.L5:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L6
	ldr	r3, [fp, #-16]
	sub	r3, r3, #8
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r2, .L13+8
	cmp	r3, r2
	bcs	.L7
	mov	r0, #10
	bl	putchar
.L2:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L13+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L8
	ldr	r3, .L13+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r3, #1
	b	.L11
.L9:
	mov	r3, #0
.L11:
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	digits+48
	.word	digits
	.word	.LC0
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
