	.file	"247841.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c"
.LC1:
	.string	"%s"
	.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, 288
	mov	DWORD PTR -276[rbp], edi
	mov	QWORD PTR -288[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7599113487299999601
	movabs	rdx, 7523094284164231279
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], rdx
	movabs	rax, 8530794585548155754
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -216[rbp], 745369186
	mov	WORD PTR -212[rbp], 12078
	mov	BYTE PTR -210[rbp], 0
	lea	rax, -257[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -248[rbp], eax
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -244[rbp], eax
	movzx	eax, BYTE PTR -257[rbp]
	cmp	al, 82
	jne	.L2
	mov	DWORD PTR -256[rbp], 0
	jmp	.L3
.L7:
	mov	DWORD PTR -252[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	movzx	edx, BYTE PTR -208[rbp+rax]
	mov	eax, DWORD PTR -252[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	cmp	dl, al
	jne	.L5
	mov	eax, DWORD PTR -252[rbp]
	sub	eax, 1
	cdqe
	movzx	edx, BYTE PTR -240[rbp+rax]
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	mov	BYTE PTR -208[rbp+rax], dl
.L5:
	add	DWORD PTR -252[rbp], 1
.L4:
	mov	eax, DWORD PTR -252[rbp]
	cmp	eax, DWORD PTR -244[rbp]
	jl	.L6
	add	DWORD PTR -256[rbp], 1
.L3:
	mov	eax, DWORD PTR -256[rbp]
	cmp	eax, DWORD PTR -248[rbp]
	jl	.L7
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L8
.L2:
	mov	DWORD PTR -256[rbp], 0
	jmp	.L9
.L13:
	mov	DWORD PTR -252[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	movzx	edx, BYTE PTR -208[rbp+rax]
	mov	eax, DWORD PTR -252[rbp]
	cdqe
	movzx	eax, BYTE PTR -240[rbp+rax]
	cmp	dl, al
	jne	.L11
	add	DWORD PTR -252[rbp], 1
	mov	eax, DWORD PTR -252[rbp]
	cdqe
	movzx	edx, BYTE PTR -240[rbp+rax]
	mov	eax, DWORD PTR -256[rbp]
	cdqe
	mov	BYTE PTR -208[rbp+rax], dl
.L11:
	add	DWORD PTR -252[rbp], 1
.L10:
	mov	eax, DWORD PTR -252[rbp]
	cmp	eax, DWORD PTR -244[rbp]
	jl	.L12
	add	DWORD PTR -256[rbp], 1
.L9:
	mov	eax, DWORD PTR -256[rbp]
	cmp	eax, DWORD PTR -248[rbp]
	jl	.L13
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	puts@PLT
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"247841.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%c\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC0:
	.ascii	"qwertyuiopasdfghjkl;zxcvbnm,./\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	str	r0, [fp, #-264]
	str	r1, [fp, #-268]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L16+4
	sub	ip, fp, #240
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	sub	r3, fp, #256
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	sub	r3, fp, #208
	mov	r1, r3
	ldr	r0, .L16+12
	bl	__isoc99_scanf
	sub	r3, fp, #208
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-248]
	sub	r3, fp, #240
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-244]
	ldrb	r3, [fp, #-257]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L2
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L3
.L7:
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L4
.L6:
	sub	r2, fp, #208
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r1, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L5
	ldr	r3, [fp, #-252]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-236]	@ zero_extendqisi2
	sub	r2, fp, #208
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L4:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-244]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L3:
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-248]
	cmp	r2, r3
	blt	.L7
	sub	r3, fp, #208
	mov	r0, r3
	bl	puts
	b	.L8
.L2:
	mov	r3, #0
	str	r3, [fp, #-256]
	b	.L9
.L13:
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L10
.L12:
	sub	r2, fp, #208
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r1, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #208
	ldr	r3, [fp, #-256]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L11:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L10:
	ldr	r2, [fp, #-252]
	ldr	r3, [fp, #-244]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L9:
	ldr	r2, [fp, #-256]
	ldr	r3, [fp, #-248]
	cmp	r2, r3
	blt	.L13
	sub	r3, fp, #208
	mov	r0, r3
	bl	puts
.L8:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC0
	.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
