	.file	"107352.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\350\276\223\345\205\245\345\270\246\346\225\260\345\255\227\345\271\266\351\235\236\350\277\236\347\273\255\347\232\204\345\255\227\347\254\246:"
.LC1:
	.string	"\350\216\267\345\217\226 %d \344\270\252\346\225\264\345\236\213\346\225\260:\n"
.LC2:
	.string	"%8d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 544
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 3906085805234467137
	movabs	rdx, 3692723228913381727
	mov	QWORD PTR -112[rbp], rax
	mov	QWORD PTR -104[rbp], rdx
	movabs	rax, 3978988967439905328
	mov	edx, 3242550
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -536[rbp], 0
	mov	DWORD PTR -532[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -540[rbp], 0
	lea	rax, -112[rbp]
	mov	QWORD PTR -528[rbp], rax
	jmp	.L2
.L5:
	mov	rax, QWORD PTR -528[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L3
	mov	rax, QWORD PTR -528[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L3
	mov	edx, DWORD PTR -532[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	rax, QWORD PTR -528[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -532[rbp], eax
	mov	DWORD PTR -536[rbp], 1
	jmp	.L4
.L3:
	cmp	DWORD PTR -536[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -540[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -540[rbp], edx
	cdqe
	mov	edx, DWORD PTR -532[rbp]
	mov	DWORD PTR -512[rbp+rax*4], edx
	mov	DWORD PTR -532[rbp], 0
	mov	DWORD PTR -536[rbp], 0
.L4:
	add	QWORD PTR -528[rbp], 1
.L2:
	mov	rax, QWORD PTR -528[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	cmp	DWORD PTR -532[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -540[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -540[rbp], edx
	cdqe
	mov	edx, DWORD PTR -532[rbp]
	mov	DWORD PTR -512[rbp+rax*4], edx
.L6:
	mov	eax, DWORD PTR -540[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -512[rbp]
	mov	QWORD PTR -520[rbp], rax
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -520[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -520[rbp], 4
.L7:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, -512[rbp]
	add	rax, rdx
	cmp	QWORD PTR -520[rbp], rax
	jb	.L8
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"107352.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\350\276\223\345\205\245\345\270\246\346\225\260\345"
	.ascii	"\255\227\345\271\266\351\235\236\350\277\236\347\273"
	.ascii	"\255\347\232\204\345\255\227\347\254\246:\000"
	.align	2
.LC2:
	.ascii	"\350\216\267\345\217\226 %d \344\270\252\346\225\264"
	.ascii	"\345\236\213\346\225\260:\012\000"
	.align	2
.LC3:
	.ascii	"%8d\000"
	.align	2
.LC0:
	.ascii	"A123X456_17960?302tab5876z1\000"
	.space	72
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #528
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L11+4
	sub	ip, fp, #108
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	sub	r3, fp, #80
	mov	r2, #72
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-516]
	mov	r3, #0
	str	r3, [fp, #-512]
	ldr	r0, .L11+8
	bl	puts
	sub	r3, fp, #108
	mov	r0, r3
	bl	gets
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #108
	str	r3, [fp, #-528]
	b	.L2
.L5:
	ldr	r3, [fp, #-528]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L3
	ldr	r3, [fp, #-528]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L3
	ldr	r2, [fp, #-512]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-528]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-512]
	mov	r3, #1
	str	r3, [fp, #-516]
	b	.L4
.L3:
	ldr	r3, [fp, #-516]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-520]
	add	r2, r3, #1
	str	r2, [fp, #-520]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-512]
	str	r2, [r3, #-504]
	mov	r3, #0
	str	r3, [fp, #-512]
	mov	r3, #0
	str	r3, [fp, #-516]
.L4:
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L2:
	ldr	r3, [fp, #-528]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-512]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-520]
	add	r2, r3, #1
	str	r2, [fp, #-520]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-512]
	str	r2, [r3, #-504]
.L6:
	ldr	r1, [fp, #-520]
	ldr	r0, .L11+12
	bl	printf
	sub	r3, fp, #508
	str	r3, [fp, #-524]
	b	.L7
.L8:
	ldr	r3, [fp, #-524]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-524]
	add	r3, r3, #4
	str	r3, [fp, #-524]
.L7:
	ldr	r3, [fp, #-520]
	lsl	r3, r3, #2
	sub	r2, fp, #508
	add	r3, r2, r3
	ldr	r2, [fp, #-524]
	cmp	r2, r3
	bcc	.L8
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
