	.file	"746219.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"%d\n"
	.text
	.globl	solve
	.type	solve, @function
solve:
.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	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -120[rbp], 1
	jmp	.L2
.L13:
	mov	eax, DWORD PTR -104[rbp]
	cdq
	idiv	DWORD PTR -120[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L15
	mov	DWORD PTR -116[rbp], 1
	mov	DWORD PTR -112[rbp], 0
	jmp	.L5
.L11:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	movsx	eax, al
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	movsx	eax, al
	cmp	DWORD PTR -100[rbp], eax
	je	.L7
	mov	DWORD PTR -116[rbp], 0
.L7:
	mov	eax, DWORD PTR -120[rbp]
	add	DWORD PTR -108[rbp], eax
.L6:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jge	.L8
	cmp	DWORD PTR -116[rbp], 0
	jne	.L9
.L8:
	add	DWORD PTR -112[rbp], 1
.L5:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jge	.L10
	cmp	DWORD PTR -116[rbp], 0
	jne	.L11
.L10:
	cmp	DWORD PTR -116[rbp], 1
	je	.L16
	jmp	.L4
.L15:
	nop
.L4:
	add	DWORD PTR -120[rbp], 1
.L2:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L13
	jmp	.L12
.L16:
	nop
.L12:
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	solve, .-solve
	.section	.rodata
.LC2:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L18
.L20:
	cmp	DWORD PTR -12[rbp], 0
	je	.L19
	mov	edi, 10
	call	putchar@PLT
.L19:
	mov	eax, 0
	call	solve
	add	DWORD PTR -12[rbp], 1
.L18:
	mov	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L20
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"746219.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.global	__aeabi_idivmod
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	solve
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve, %function
solve:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L17+4
	bl	__isoc99_scanf
	sub	r3, fp, #96
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-104]
	mov	r3, #1
	str	r3, [fp, #-120]
	b	.L2
.L13:
	ldr	r3, [fp, #-104]
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L5
.L11:
	sub	r2, fp, #96
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-112]
	str	r3, [fp, #-108]
	b	.L6
.L9:
	sub	r2, fp, #96
	ldr	r3, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-100]
	cmp	r3, r2
	beq	.L7
	mov	r3, #0
	str	r3, [fp, #-116]
.L7:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	str	r3, [fp, #-108]
.L6:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	bge	.L8
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L9
.L8:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L5:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bge	.L10
	ldr	r3, [fp, #-116]
	cmp	r3, #0
	bne	.L11
.L10:
	ldr	r3, [fp, #-116]
	cmp	r3, #1
	beq	.L16
	b	.L4
.L15:
	nop
.L4:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L2:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L13
	b	.L12
.L16:
	nop
.L12:
	ldr	r1, [fp, #-120]
	ldr	r0, .L17+8
	bl	printf
	nop
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	solve, .-solve
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%d\000"
	.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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L25+4
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L20
.L22:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L21
	mov	r0, #10
	bl	putchar
.L21:
	bl	solve
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L20:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L22
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC4
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
