	.file	"88261.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %c\n"
.LC1:
	.string	"%s "
	.text
	.globl	problem
	.type	problem, @function
problem:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L16:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 111
	jle	.L3
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 113
.L3:
	cmp	DWORD PTR -4[rbp], 69
	jg	.L4
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 67
	jmp	.L5
.L4:
	cmp	DWORD PTR -4[rbp], 69
	jle	.L6
	cmp	DWORD PTR -4[rbp], 72
	jg	.L6
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 71
	jmp	.L5
.L6:
	cmp	DWORD PTR -4[rbp], 72
	jle	.L7
	cmp	DWORD PTR -4[rbp], 76
	jg	.L7
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 73
	jmp	.L5
.L7:
	cmp	DWORD PTR -4[rbp], 76
	jle	.L8
	cmp	DWORD PTR -4[rbp], 81
	jg	.L8
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 79
	jmp	.L5
.L8:
	cmp	DWORD PTR -4[rbp], 81
	jle	.L9
	cmp	DWORD PTR -4[rbp], 86
	jg	.L9
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 83
	jmp	.L5
.L9:
	cmp	DWORD PTR -4[rbp], 86
	jle	.L10
	cmp	DWORD PTR -4[rbp], 93
	jg	.L10
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 89
	jmp	.L5
.L10:
	cmp	DWORD PTR -4[rbp], 93
	jle	.L11
	cmp	DWORD PTR -4[rbp], 99
	jg	.L11
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 97
	jmp	.L5
.L11:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L12
	cmp	DWORD PTR -4[rbp], 102
	jg	.L12
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 101
	jmp	.L5
.L12:
	cmp	DWORD PTR -4[rbp], 102
	jle	.L13
	cmp	DWORD PTR -4[rbp], 105
	jg	.L13
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 103
	jmp	.L5
.L13:
	cmp	DWORD PTR -4[rbp], 105
	jle	.L14
	cmp	DWORD PTR -4[rbp], 108
	jg	.L14
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 107
	jmp	.L5
.L14:
	cmp	DWORD PTR -4[rbp], 108
	jle	.L15
	cmp	DWORD PTR -4[rbp], 111
	jg	.L15
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 109
	jmp	.L5
.L15:
	cmp	DWORD PTR -4[rbp], 111
	jle	.L5
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 113
.L5:
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	problem, .-problem
	.section	.rodata
.LC2:
	.string	"%d"
.LC3:
	.string	"%d %s"
	.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, 528
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -520[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L18
.L19:
	lea	rdx, -512[rbp]
	lea	rax, -516[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -512[rbp]
	mov	rdi, rax
	call	problem
	mov	eax, DWORD PTR -520[rbp]
	sub	eax, 1
	mov	DWORD PTR -520[rbp], eax
.L18:
	mov	eax, DWORD PTR -520[rbp]
	test	eax, eax
	jne	.L19
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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	"88261.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %c\012\000"
	.align	2
.LC1:
	.ascii	"%s \000"
	.text
	.align	2
	.global	problem
	.syntax unified
	.arm
	.fpu softvfp
	.type	problem, %function
problem:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L16:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L17
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #111
	ble	.L3
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #113
	strb	r2, [r3]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #69
	bgt	.L4
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #67
	strb	r2, [r3]
	b	.L5
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #69
	ble	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #72
	bgt	.L6
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #71
	strb	r2, [r3]
	b	.L5
.L6:
	ldr	r3, [fp, #-8]
	cmp	r3, #72
	ble	.L7
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	bgt	.L7
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #73
	strb	r2, [r3]
	b	.L5
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #76
	ble	.L8
	ldr	r3, [fp, #-8]
	cmp	r3, #81
	bgt	.L8
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #79
	strb	r2, [r3]
	b	.L5
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #81
	ble	.L9
	ldr	r3, [fp, #-8]
	cmp	r3, #86
	bgt	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #83
	strb	r2, [r3]
	b	.L5
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #86
	ble	.L10
	ldr	r3, [fp, #-8]
	cmp	r3, #93
	bgt	.L10
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #89
	strb	r2, [r3]
	b	.L5
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #93
	ble	.L11
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	bgt	.L11
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #97
	strb	r2, [r3]
	b	.L5
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L12
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	bgt	.L12
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #101
	strb	r2, [r3]
	b	.L5
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	ble	.L13
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	bgt	.L13
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #103
	strb	r2, [r3]
	b	.L5
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #105
	ble	.L14
	ldr	r3, [fp, #-8]
	cmp	r3, #108
	bgt	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #107
	strb	r2, [r3]
	b	.L5
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #108
	ble	.L15
	ldr	r3, [fp, #-8]
	cmp	r3, #111
	bgt	.L15
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #109
	strb	r2, [r3]
	b	.L5
.L15:
	ldr	r3, [fp, #-8]
	cmp	r3, #111
	ble	.L5
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #113
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	ldr	r1, [fp, #-16]
	ldr	r0, .L17+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.size	problem, .-problem
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%d %s\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 = 520
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #520
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L24+4
	bl	__isoc99_scanf
	b	.L20
.L21:
	sub	r2, fp, #512
	sub	r3, fp, #516
	mov	r1, r3
	ldr	r0, .L24+8
	bl	__isoc99_scanf
	sub	r3, fp, #512
	mov	r0, r3
	bl	problem
	ldr	r3, [fp, #-520]
	sub	r3, r3, #1
	str	r3, [fp, #-520]
.L20:
	ldr	r3, [fp, #-520]
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC4
	.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
