	.file	"92326941.c"
	.intel_syntax noprefix
	.text
	.globl	O
	.bss
	.align 4
	.type	O, @object
	.size	O, 4
O:
	.zero	4
	.globl	o
	.align 4
	.type	o, @object
	.size	o, 4
o:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	I
	.section	.rodata
.LC0:
	.string	""
	.section	.data.rel.local,"aw"
	.align 8
	.type	I, @object
	.size	I, 8
I:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"t8B~pq`"
.LC2:
	.string	"%d\n"
	.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	je	.L2
	mov	rax, QWORD PTR I[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	jmp	.L3
.L2:
	mov	rax, QWORD PTR I[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	not	eax
.L3:
	mov	edx, DWORD PTR O[rip]
	and	eax, edx
	mov	DWORD PTR O[rip], eax
	mov	rax, QWORD PTR I[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR I[rip], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L4
	call	getchar@PLT
	add	eax, eax
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR O[rip]
	cmp	eax, 8
	jg	.L5
	mov	eax, DWORD PTR O[rip]
	test	eax, eax
	jne	.L6
	mov	eax, DWORD PTR o[rip]
	add	eax, 1
	jmp	.L8
.L6:
	mov	eax, 0
	jmp	.L8
.L5:
	mov	eax, DWORD PTR o[rip]
.L8:
	mov	edx, DWORD PTR i[rip]
	add	eax, edx
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR O[rip]
	cmp	eax, 9
	setg	al
	movzx	eax, al
	mov	DWORD PTR o[rip], eax
	mov	DWORD PTR O[rip], -1
	lea	rax, .LC1[rip]
	mov	QWORD PTR I[rip], rax
	cmp	DWORD PTR -4[rbp], 0
	jle	.L9
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edi, eax
	mov	eax, 0
	call	main
	jmp	.L10
.L9:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	mov	eax, 0
	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	"92326941.c"
	.text
	.comm	O,4,4
	.comm	o,4,4
	.comm	i,4,4
	.global	I
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.data
	.align	2
	.type	I, %object
	.size	I, 4
I:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"t8B~pq`\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L3
.L2:
	ldr	r3, .L12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mvn	r3, r3
.L3:
	ldr	r2, .L12+4
	ldr	r2, [r2]
	and	r3, r3, r2
	ldr	r2, .L12+4
	str	r3, [r2]
	ldr	r3, .L12
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L12
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	bl	getchar
	mov	r3, r0
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #8
	bgt	.L5
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L12+8
	ldr	r3, [r3]
	add	r3, r3, #1
	b	.L8
.L6:
	mov	r3, #0
	b	.L8
.L5:
	ldr	r3, .L12+8
	ldr	r3, [r3]
.L8:
	ldr	r2, .L12+12
	ldr	r2, [r2]
	add	r3, r3, r2
	ldr	r2, .L12+12
	str	r3, [r2]
	ldr	r3, .L12+4
	ldr	r3, [r3]
	cmp	r3, #9
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L12+8
	str	r2, [r3]
	ldr	r3, .L12+4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L12
	ldr	r2, .L12+16
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L9
.L4:
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	main
	b	.L10
.L9:
	ldr	r3, .L12+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L12+12
	str	r3, [r2]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
.L10:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	I
	.word	O
	.word	o
	.word	i
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
