	.file	"149473.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"invalid value %d\n"
.LC2:
	.string	"static char koi2alt[] = {"
.LC3:
	.string	"0x%02x"
.LC4:
	.string	", "
.LC5:
	.string	"};"
.LC6:
	.string	"static char alt2koi[] = {"
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 304
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4380[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	BYTE PTR -4240[rbp+rax], 0
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	movzx	edx, BYTE PTR -4240[rbp+rax]
	mov	eax, DWORD PTR -4380[rbp]
	cdqe
	mov	BYTE PTR -4368[rbp+rax], dl
	add	DWORD PTR -4380[rbp], 1
.L2:
	cmp	DWORD PTR -4380[rbp], 127
	jle	.L3
	jmp	.L4
.L8:
	movzx	eax, BYTE PTR -4112[rbp]
	cmp	al, 35
	jne	.L5
	jmp	.L4
.L5:
	lea	rcx, -4384[rbp]
	lea	rdx, -4388[rbp]
	lea	rax, -4112[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -4388[rbp]
	cmp	eax, 127
	jle	.L6
	mov	eax, DWORD PTR -4388[rbp]
	cmp	eax, 255
	jg	.L6
	mov	eax, DWORD PTR -4384[rbp]
	cmp	eax, 127
	jle	.L6
	mov	eax, DWORD PTR -4384[rbp]
	cmp	eax, 255
	jle	.L7
.L6:
	mov	edx, DWORD PTR -4388[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	edx, DWORD PTR -4384[rbp]
	mov	eax, DWORD PTR -4388[rbp]
	add	eax, -128
	cdqe
	mov	BYTE PTR -4368[rbp+rax], dl
	mov	edx, DWORD PTR -4388[rbp]
	mov	eax, DWORD PTR -4384[rbp]
	add	eax, -128
	cdqe
	mov	BYTE PTR -4240[rbp+rax], dl
.L4:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -4112[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L8
	mov	DWORD PTR -4380[rbp], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L9
.L14:
	mov	DWORD PTR -4376[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -4380[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4380[rbp], edx
	cdqe
	movzx	eax, BYTE PTR -4368[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4376[rbp], 1
	cmp	DWORD PTR -4380[rbp], 127
	jg	.L23
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L10:
	cmp	DWORD PTR -4376[rbp], 7
	jle	.L13
	jmp	.L12
.L23:
	nop
.L12:
	mov	edi, 10
	call	putchar@PLT
.L9:
	cmp	DWORD PTR -4380[rbp], 127
	jle	.L14
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	DWORD PTR -4380[rbp], 0
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L15
.L20:
	mov	DWORD PTR -4372[rbp], 0
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -4380[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4380[rbp], edx
	cdqe
	movzx	eax, BYTE PTR -4240[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4372[rbp], 1
	cmp	DWORD PTR -4380[rbp], 127
	jg	.L24
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	cmp	DWORD PTR -4372[rbp], 7
	jle	.L19
	jmp	.L18
.L24:
	nop
.L18:
	mov	edi, 10
	call	putchar@PLT
.L15:
	cmp	DWORD PTR -4380[rbp], 127
	jle	.L20
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	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	"149473.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\000"
	.align	2
.LC1:
	.ascii	"invalid value %d\012\000"
	.align	2
.LC2:
	.ascii	"static char koi2alt[] = {\000"
	.align	2
.LC3:
	.ascii	"0x%02x\000"
	.align	2
.LC4:
	.ascii	", \000"
	.align	2
.LC5:
	.ascii	"};\000"
	.align	2
.LC6:
	.ascii	"static char alt2koi[] = {\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #4352
	sub	sp, sp, #24
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-272]
	b	.L2
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	add	r3, r2, r3
	sub	r3, r3, #132
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	add	r3, r2, r3
	sub	r3, r3, #132
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	add	r3, r1, r3
	sub	r3, r3, #260
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	add	r3, r3, #1
	str	r3, [r2, #-272]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	cmp	r3, #127
	ble	.L3
	b	.L4
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L5
	b	.L4
.L5:
	sub	r3, fp, #4352
	sub	r3, r3, #4
	sub	r3, r3, #20
	sub	r2, fp, #4352
	sub	r2, r2, #4
	sub	r2, r2, #24
	sub	r0, fp, #4096
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r1, .L25+4
	bl	__isoc99_sscanf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-280]
	cmp	r3, #127
	ble	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-280]
	cmp	r3, #255
	bgt	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-276]
	cmp	r3, #127
	ble	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-276]
	cmp	r3, #255
	ble	.L7
.L6:
	ldr	r3, .L25+8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-280]
	ldr	r1, .L25+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-276]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-280]
	sub	r3, r3, #128
	and	r2, r2, #255
	sub	r1, fp, #4096
	sub	r1, r1, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-280]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-276]
	sub	r3, r3, #128
	and	r2, r2, #255
	sub	r1, fp, #4096
	sub	r1, r1, #4
	add	r3, r1, r3
	strb	r2, [r3, #-132]
.L4:
	ldr	r3, .L25+16
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #4096
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-272]
	ldr	r0, .L25+20
	bl	puts
	b	.L9
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-268]
	b	.L10
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-272]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-260]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-268]
	add	r3, r3, #1
	str	r3, [r2, #-268]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	cmp	r3, #127
	bgt	.L23
	ldr	r0, .L25+28
	bl	printf
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-268]
	cmp	r3, #7
	ble	.L13
	b	.L12
.L23:
	nop
.L12:
	mov	r0, #10
	bl	putchar
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	cmp	r3, #127
	ble	.L14
	ldr	r0, .L25+32
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-272]
	ldr	r0, .L25+36
	bl	puts
	b	.L15
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-264]
	b	.L16
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-272]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-132]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-264]
	add	r3, r3, #1
	str	r3, [r2, #-264]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	cmp	r3, #127
	bgt	.L24
	ldr	r0, .L25+28
	bl	printf
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-264]
	cmp	r3, #7
	ble	.L19
	b	.L18
.L24:
	nop
.L18:
	mov	r0, #10
	bl	putchar
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-272]
	cmp	r3, #127
	ble	.L20
	ldr	r0, .L25+32
	bl	puts
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
