	.file	"128530.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"{"
.LC1:
	.string	"0x%04X"
.LC2:
	.string	"0x%02X"
.LC3:
	.string	""
.LC4:
	.string	"\n"
.LC5:
	.string	","
.LC6:
	.string	"%s%s"
.LC7:
	.string	"};"
	.text
	.type	print_short_array, @function
print_short_array:
.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	QWORD PTR -32[rbp], rsi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L9:
	cmp	QWORD PTR -32[rbp], 4
	jne	.L3
	lea	rax, .LC1[rip]
	jmp	.L4
.L3:
	lea	rax, .LC2[rip]
.L4:
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	and	eax, 7
	test	eax, eax
	je	.L5
	lea	rdx, .LC3[rip]
	jmp	.L6
.L5:
	lea	rdx, .LC4[rip]
.L6:
	cmp	DWORD PTR -12[rbp], 254
	jg	.L7
	lea	rax, .LC5[rip]
	jmp	.L8
.L7:
	lea	rax, .LC3[rip]
.L8:
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 255
	jle	.L9
	lea	rdi, .LC7[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	print_short_array, .-print_short_array
	.section	.rodata
.LC8:
	.string	"%x%x"
	.align 8
.LC9:
	.string	"unsigned short cs_to_uni[256]="
.LC10:
	.string	"unsigned char pl%02X[256]="
	.align 8
.LC11:
	.string	"unsigned short *uni_to_cs[256]={"
.LC12:
	.string	"pl%02X"
.LC13:
	.string	"NULL"
	.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
	lea	r11, -131072[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1216
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -132272[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -131248[rbp]
	mov	edx, 131072
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -131760[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L11
.L17:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 35
	je	.L33
	lea	rcx, -132280[rbp]
	lea	rdx, -132284[rbp]
	lea	rax, -176[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	jne	.L33
	mov	eax, DWORD PTR -132284[rbp]
	cmp	eax, 255
	ja	.L34
	mov	eax, DWORD PTR -132280[rbp]
	cmp	eax, 65535
	ja	.L34
	mov	eax, DWORD PTR -132280[rbp]
	mov	ecx, DWORD PTR -132284[rbp]
	mov	edx, eax
	mov	eax, ecx
	mov	WORD PTR -132272[rbp+rax*2], dx
	mov	eax, DWORD PTR -132284[rbp]
	mov	ecx, DWORD PTR -132280[rbp]
	mov	edx, eax
	mov	eax, ecx
	mov	WORD PTR -131248[rbp+rax*2], dx
	jmp	.L11
.L33:
	nop
	jmp	.L11
.L34:
	nop
.L11:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -176[rbp]
	mov	esi, 160
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L17
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -132272[rbp]
	mov	esi, 4
	mov	rdi, rax
	call	print_short_array
	mov	DWORD PTR -132276[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -132276[rbp]
	cdqe
	movzx	eax, WORD PTR -132272[rbp+rax*2]
	shr	ax, 8
	movzx	eax, ax
	movsx	rdx, eax
	movzx	edx, WORD PTR -131760[rbp+rdx*2]
	add	edx, 1
	cdqe
	mov	WORD PTR -131760[rbp+rax*2], dx
	add	DWORD PTR -132276[rbp], 1
.L18:
	cmp	DWORD PTR -132276[rbp], 255
	jle	.L19
	mov	DWORD PTR -132276[rbp], 0
	jmp	.L20
.L22:
	mov	eax, DWORD PTR -132276[rbp]
	cdqe
	movzx	eax, WORD PTR -131760[rbp+rax*2]
	test	ax, ax
	je	.L21
	mov	eax, DWORD PTR -132276[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -132276[rbp]
	sal	eax, 8
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, -131248[rbp]
	add	rax, rdx
	mov	esi, 2
	mov	rdi, rax
	call	print_short_array
.L21:
	add	DWORD PTR -132276[rbp], 1
.L20:
	cmp	DWORD PTR -132276[rbp], 256
	jle	.L22
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	DWORD PTR -132276[rbp], 0
	jmp	.L23
.L30:
	mov	eax, DWORD PTR -132276[rbp]
	cdqe
	movzx	eax, WORD PTR -131760[rbp+rax*2]
	test	ax, ax
	je	.L24
	mov	eax, DWORD PTR -132276[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L25
.L24:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	eax, DWORD PTR -132276[rbp]
	add	eax, 1
	and	eax, 7
	test	eax, eax
	je	.L26
	lea	rdx, .LC3[rip]
	jmp	.L27
.L26:
	lea	rdx, .LC4[rip]
.L27:
	cmp	DWORD PTR -132276[rbp], 254
	jg	.L28
	lea	rax, .LC5[rip]
	jmp	.L29
.L28:
	lea	rax, .LC3[rip]
.L29:
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -132276[rbp], 1
.L23:
	cmp	DWORD PTR -132276[rbp], 255
	jle	.L30
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	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	"128530.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"{\000"
	.align	2
.LC1:
	.ascii	"0x%04X\000"
	.align	2
.LC2:
	.ascii	"0x%02X\000"
	.align	2
.LC3:
	.ascii	",\000"
	.align	2
.LC4:
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"%s%s\000"
	.align	2
.LC7:
	.ascii	"};\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_short_array, %function
print_short_array:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r0, .L10
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L3
	ldr	r3, .L10+4
	b	.L4
.L3:
	ldr	r3, .L10+8
.L4:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	printf
	ldr	r3, [fp, #-12]
	cmp	r3, #254
	bgt	.L5
	ldr	r1, .L10+12
	b	.L6
.L5:
	ldr	r1, .L10+16
.L6:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	and	r3, r3, #7
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L10+16
	b	.L8
.L7:
	ldr	r3, .L10+20
.L8:
	mov	r2, r3
	ldr	r0, .L10+24
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L9
	ldr	r0, .L10+28
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	print_short_array, .-print_short_array
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%x%x\000"
	.align	2
.LC9:
	.ascii	"unsigned short cs_to_uni[256]=\000"
	.align	2
.LC10:
	.ascii	"unsigned char pl%02X[256]=\000"
	.align	2
.LC11:
	.ascii	"unsigned short *uni_to_cs[256]={\000"
	.align	2
.LC12:
	.ascii	"pl%02X\000"
	.align	2
.LC13:
	.ascii	"NULL\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 132272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #132096
	sub	sp, sp, #176
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #132096
	sub	r3, r3, #4
	sub	r3, r3, #164
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r3, r3, #164
	mov	r2, #131072
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r3, r3, #676
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L13
.L19:
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L35
	sub	r3, fp, #132096
	sub	r3, r3, #4
	sub	r3, r3, #172
	sub	r2, fp, #132096
	sub	r2, r2, #4
	sub	r2, r2, #176
	sub	r0, fp, #168
	ldr	r1, .L37+4
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L35
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1200]
	cmp	r3, #255
	bhi	.L36
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1196]
	cmp	r3, #65536
	bcs	.L36
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1196]
	sub	r2, fp, #131072
	sub	r2, r2, #4
	ldr	r1, [r2, #-1200]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r3, r3, #1184
	sub	r3, r3, #4
	lsl	r1, r1, #1
	add	r3, r3, r1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r2, [r3, #-1200]
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1196]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	sub	r1, fp, #131072
	sub	r1, r1, #4
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #164
	strh	r2, [r3]	@ movhi
	b	.L13
.L35:
	nop
	b	.L13
.L36:
	nop
.L13:
	ldr	r3, .L37+8
	ldr	r2, [r3]
	sub	r3, fp, #168
	mov	r1, #160
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L37+12
	bl	printf
	sub	r3, fp, #132096
	sub	r3, r3, #4
	sub	r3, r3, #164
	mov	r1, #4
	mov	r0, r3
	bl	print_short_array
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1192]
	b	.L20
.L21:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r3, r3, #1184
	sub	r3, r3, #4
	sub	r2, fp, #131072
	sub	r2, r2, #4
	ldr	r2, [r2, #-1192]
	lsl	r2, r2, #1
	add	r3, r3, r2
	ldrh	r3, [r3]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r2, fp, #131072
	sub	r2, r2, #4
	sub	r1, r2, #676
	lsl	r2, r3, #1
	add	r2, r1, r2
	ldrh	r2, [r2]
	add	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	sub	r1, fp, #131072
	sub	r1, r1, #4
	sub	r1, r1, #676
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	add	r3, r3, #1
	str	r3, [r2, #-1192]
.L20:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	cmp	r3, #255
	ble	.L21
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1192]
	b	.L22
.L24:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r2, r3, #676
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r1, [r3, #-1192]
	ldr	r0, .L37+16
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	lsl	r2, r3, #9
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r3, r3, #164
	add	r3, r3, r2
	mov	r1, #2
	mov	r0, r3
	bl	print_short_array
.L23:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	add	r3, r3, #1
	str	r3, [r2, #-1192]
.L22:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	cmp	r3, #256
	ble	.L24
	ldr	r0, .L37+20
	bl	puts
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1192]
	b	.L25
.L32:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	sub	r2, r3, #676
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L26
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r1, [r3, #-1192]
	ldr	r0, .L37+24
	bl	printf
	b	.L27
.L26:
	ldr	r0, .L37+28
	bl	printf
.L27:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	cmp	r3, #254
	bgt	.L28
	ldr	r1, .L37+32
	b	.L29
.L28:
	ldr	r1, .L37+36
.L29:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	add	r3, r3, #1
	and	r3, r3, #7
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L37+36
	b	.L31
.L30:
	ldr	r3, .L37+40
.L31:
	mov	r2, r3
	ldr	r0, .L37+44
	bl	printf
	sub	r3, fp, #131072
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	add	r3, r3, #1
	str	r3, [r2, #-1192]
.L25:
	sub	r3, fp, #131072
	sub	r3, r3, #4
	ldr	r3, [r3, #-1192]
	cmp	r3, #255
	ble	.L32
	ldr	r0, .L37+48
	bl	puts
	mov	r3, #0
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC14
	.word	.LC8
	.word	stdin
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
