	.file	"486379.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"read one character with getchar()"
.LC1:
	.string	"c=%c, %d\n"
.LC2:
	.string	"putchar(c): "
.LC3:
	.string	"printf examples:"
.LC4:
	.string	"  Integer: %d, %10d, %o, %X\n"
	.align 8
.LC5:
	.string	"  Character: %c, %5d, %5c, %5d\n"
.LC7:
	.string	"  Float: %6.2f, %.1f\n"
.LC8:
	.string	"sprintf & puts examples:"
	.align 8
.LC9:
	.string	"ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ"
.LC10:
	.string	"Don't tell me to be qu"
	.string	"iet!"
.LC11:
	.string	"outStr:"
	.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
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	call	getchar@PLT
	mov	BYTE PTR -117[rbp], al
	movsx	edx, BYTE PTR -117[rbp]
	movsx	eax, BYTE PTR -117[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	eax, BYTE PTR -117[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	r8d, 29
	mov	ecx, 29
	mov	edx, 29
	mov	esi, 29
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	r8d, 120
	mov	ecx, 120
	mov	edx, 114
	mov	esi, 114
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC6[rip]
	mov	rax, QWORD PTR .LC6[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 2
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR .LC6[rip]
	mov	rdx, QWORD PTR .LC6[rip]
	lea	rax, -112[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 2
	call	sprintf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L2
.L4:
	mov	edi, 91
	call	putchar@PLT
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	movzx	eax, BYTE PTR -112[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	edi, 93
	call	putchar@PLT
	mov	eax, DWORD PTR -116[rbp]
	lea	ecx, 1[rax]
	movsx	rax, ecx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	edx, 0[0+rax*4]
	add	eax, edx
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L3
	mov	edi, 10
	call	putchar@PLT
.L3:
	add	DWORD PTR -116[rbp], 1
.L2:
	cmp	DWORD PTR -116[rbp], 99
	jle	.L4
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	1431655765
	.long	1071994197
	.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	"486379.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"read one character with getchar()\000"
	.align	2
.LC1:
	.ascii	"c=%c, %d\012\000"
	.align	2
.LC2:
	.ascii	"putchar(c): \000"
	.align	2
.LC3:
	.ascii	"printf examples:\000"
	.align	2
.LC4:
	.ascii	"  Integer: %d, %10d, %o, %X\012\000"
	.align	2
.LC5:
	.ascii	"  Character: %c, %5d, %5c, %5d\012\000"
	.align	2
.LC6:
	.ascii	"  Float: %6.2f, %.1f\012\000"
	.align	2
.LC7:
	.ascii	"sprintf & puts examples:\000"
	.align	2
.LC8:
	.ascii	"ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXY"
	.ascii	"ZABCDEFGHIJKLMNOPQRSTUVWXYZ\000"
	.align	2
.LC9:
	.ascii	"Don't tell me to be qu\000iet!\000"
	.align	2
.LC10:
	.ascii	"outStr:\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L7+4
	bl	puts
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-113]
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	ldrb	r2, [fp, #-113]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L7+8
	bl	printf
	ldr	r0, .L7+12
	bl	printf
	ldrb	r3, [fp, #-113]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r0, #10
	bl	putchar
	mov	r0, #10
	bl	putchar
	ldr	r0, .L7+16
	bl	puts
	mov	r3, #29
	str	r3, [sp]
	mov	r3, #29
	mov	r2, #29
	mov	r1, #29
	ldr	r0, .L7+20
	bl	printf
	mov	r3, #120
	str	r3, [sp]
	mov	r3, #120
	mov	r2, #114
	mov	r1, #114
	ldr	r0, .L7+24
	bl	printf
	ldr	r2, .L7+28
	ldr	r3, .L7+32
	stm	sp, {r2-r3}
	ldr	r2, .L7+28
	ldr	r3, .L7+32
	ldr	r0, .L7+36
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r0, .L7+40
	bl	puts
	sub	r0, fp, #108
	ldr	r2, .L7+28
	ldr	r3, .L7+32
	stm	sp, {r2-r3}
	ldr	r2, .L7+28
	ldr	r3, .L7+32
	ldr	r1, .L7+36
	bl	sprintf
	sub	r3, fp, #108
	mov	r0, r3
	bl	puts
	sub	r3, fp, #108
	ldr	r1, .L7+44
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #108
	ldr	r1, .L7+48
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #108
	mov	r0, r3
	bl	puts
	mov	r0, #10
	bl	putchar
	ldr	r0, .L7+52
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L2
.L4:
	mov	r0, #91
	bl	putchar
	sub	r2, fp, #108
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r0, #93
	bl	putchar
	ldr	r3, [fp, #-112]
	add	r1, r3, #1
	ldr	r3, .L7+56
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L3
	mov	r0, #10
	bl	putchar
.L3:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L2:
	ldr	r3, [fp, #-112]
	cmp	r3, #99
	ble	.L4
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1431655765
	.word	1071994197
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	1374389535
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
