	.file	"949322.c"
	.intel_syntax noprefix
	.text
	.globl	p
	.bss
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 999
s:
	.zero	999
	.globl	q
	.section	.data.rel.local,"aw"
	.align 8
	.type	q, @object
	.size	q, 8
q:
	.quad	s
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%i"
	.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
	lea	rsi, s[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L3:
	mov	rax, QWORD PTR q[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR q[rip], rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	lea	edx, 112[rax]
	mov	rax, QWORD PTR q[rip]
	mov	BYTE PTR [rax], dl
.L2:
	mov	rax, QWORD PTR q[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	mov	rax, QWORD PTR q[rip]
	sub	rax, 1
	mov	QWORD PTR p[rip], rax
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	lea	edx, 8[rax]
	mov	rax, QWORD PTR p[rip]
	mov	BYTE PTR [rax], dl
	jmp	.L4
.L5:
	mov	rax, QWORD PTR p[rip]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	mov	esi, eax
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	dx, al
	imul	edx, edx, 103
	shr	dx, 8
	sar	dl, 2
	sar	al, 7
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	lea	edx, [rsi+rax]
	mov	rax, QWORD PTR p[rip]
	sub	rax, 1
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR p[rip]
	lea	rax, -1[rdx]
	mov	QWORD PTR p[rip], rax
	movzx	ecx, BYTE PTR [rdx]
	movsx	ax, cl
	imul	eax, eax, 103
	shr	ax, 8
	sar	al, 2
	mov	edi, ecx
	sar	dil, 7
	sub	eax, edi
	mov	esi, eax
	mov	eax, esi
	sal	eax, 2
	add	eax, esi
	add	eax, eax
	sub	ecx, eax
	mov	esi, ecx
	mov	BYTE PTR [rdx], sil
.L4:
	mov	rax, QWORD PTR p[rip]
	lea	rdx, s[rip]
	cmp	rax, rdx
	ja	.L5
	jmp	.L6
.L7:
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR p[rip]
	add	rax, 1
	mov	QWORD PTR p[rip], rax
.L6:
	mov	rdx, QWORD PTR p[rip]
	mov	rax, QWORD PTR q[rip]
	cmp	rdx, rax
	jb	.L7
	mov	eax, 0
	pop	rbp
	.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	"949322.c"
	.text
	.comm	p,4,4
	.comm	s,999,4
	.global	q
	.data
	.align	2
	.type	q, %object
	.size	q, 4
q:
	.word	s
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"%i\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L9
	ldr	r0, .L9+4
	bl	__isoc99_scanf
	b	.L2
.L3:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L9+8
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	lsl	r2, r2, #1
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L9+8
	ldr	r3, [r3]
	add	r2, r2, #112
	and	r2, r2, #255
	strb	r2, [r3]
.L2:
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L9+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L9+12
	str	r3, [r2]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r2, r2, #8
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L4
.L5:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L9+16
	umull	r0, r3, r2, r3
	lsr	r3, r3, #3
	and	r2, r3, #255
	ldr	r3, .L9+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	add	r2, r1, r2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, .L9+12
	ldr	r2, [r3]
	sub	r3, r2, #1
	ldr	r1, .L9+12
	str	r3, [r1]
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r3, .L9+16
	umull	r0, r3, r1, r3
	lsr	r0, r3, #3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r3, r1, r3
	and	r3, r3, #255
	strb	r3, [r2]
.L4:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldr	r2, .L9
	cmp	r3, r2
	bhi	.L5
	b	.L6
.L7:
	ldr	r3, .L9+12
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L9+20
	bl	printf
	ldr	r3, .L9+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L9+12
	str	r3, [r2]
.L6:
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, .L9+8
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L7
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	s
	.word	.LC0
	.word	q
	.word	p
	.word	-858993459
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
