	.file	"522026.c"
	.intel_syntax noprefix
	.text
	.globl	ra
	.bss
	.align 32
	.type	ra, @object
	.size	ra, 16588800
ra:
	.zero	16588800
	.globl	pa
	.align 32
	.type	pa, @object
	.size	pa, 33177600
pa:
	.zero	33177600
	.globl	RAW_TYPE
	.align 4
	.type	RAW_TYPE, @object
	.size	RAW_TYPE, 4
RAW_TYPE:
	.zero	4
	.section	.rodata
.LC0:
	.string	"RAW10"
.LC1:
	.string	"RAW12"
.LC2:
	.string	"RAW14"
	.section	.data.rel.local,"aw"
	.align 16
	.type	format_array, @object
	.size	format_array, 24
format_array:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.section	.rodata
.LC3:
	.string	"help"
	.section	.data.rel.local
	.align 8
	.type	help, @object
	.size	help, 8
help:
	.quad	.LC3
	.section	.rodata
.LC4:
	.string	"argc=%d\n"
	.align 8
.LC5:
	.string	"Usage: <filename> <format: RAW10/RAW12/RAW14> <width> <height> [stride]\r"
	.align 8
.LC6:
	.string	"Error: Not supported format: %s\n"
	.align 8
.LC7:
	.string	"Usage: <filename> <format: RAW10/RAW12/RAW14> <width> <height> [stride]\r\n"
.LC8:
	.string	"rb"
.LC9:
	.string	"open input file faile: %s\r\n"
.LC10:
	.string	"file name: %s \r\n"
.LC11:
	.string	"format: %s \r\n"
.LC12:
	.string	"width: %d \r\n"
.LC13:
	.string	"height: %d \r\n"
.LC14:
	.string	"in_size: %d \r\n"
.LC15:
	.string	"out_size: %d \r\n"
.LC16:
	.string	"stride: %d \r\n"
.LC17:
	.string	"%s_%s"
.LC18:
	.string	"open input file name: %s\r\n"
.LC19:
	.string	"wb"
.LC20:
	.string	"open output file faile: %s\r\n"
	.align 8
.LC21:
	.string	"start convertion format_index: %d \r\n"
.LC22:
	.string	"convert finished !!! \r"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 368
	mov	DWORD PTR -356[rbp], edi
	mov	QWORD PTR -368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -356[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -356[rbp], 3
	jg	.L2
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L27
.L2:
	mov	DWORD PTR -340[rbp], -1
	mov	rax, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -304[rbp], rax
	mov	DWORD PTR -336[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, format_array[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdx, QWORD PTR -304[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -336[rbp]
	mov	DWORD PTR -340[rbp], eax
	jmp	.L6
.L5:
	add	DWORD PTR -336[rbp], 1
.L4:
	cmp	DWORD PTR -336[rbp], 2
	jle	.L7
.L6:
	cmp	DWORD PTR -340[rbp], -1
	jne	.L8
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -304[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L27
.L8:
	mov	rax, QWORD PTR -368[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -320[rbp], eax
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -316[rbp], eax
	mov	DWORD PTR -332[rbp], 0
	mov	DWORD PTR -312[rbp], 0
	mov	DWORD PTR -308[rbp], 0
	cmp	DWORD PTR -340[rbp], 2
	je	.L9
	cmp	DWORD PTR -340[rbp], 2
	jg	.L10
	cmp	DWORD PTR -340[rbp], 0
	je	.L11
	cmp	DWORD PTR -340[rbp], 1
	je	.L12
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -320[rbp]
	imul	eax, DWORD PTR -316[rbp]
	add	eax, eax
	mov	DWORD PTR -308[rbp], eax
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -320[rbp]
	imul	eax, DWORD PTR -316[rbp]
	add	eax, eax
	mov	DWORD PTR -308[rbp], eax
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -320[rbp]
	imul	eax, DWORD PTR -316[rbp]
	add	eax, eax
	mov	DWORD PTR -308[rbp], eax
	nop
.L10:
	mov	rax, QWORD PTR -296[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L13
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L27
.L13:
	mov	rax, QWORD PTR -288[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -312[rbp], eax
	mov	rax, QWORD PTR -288[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	DWORD PTR -356[rbp], 5
	jle	.L14
	mov	rax, QWORD PTR -368[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -312[rbp]
	cdq
	idiv	DWORD PTR -316[rbp]
	mov	DWORD PTR -332[rbp], eax
.L15:
	mov	eax, DWORD PTR -320[rbp]
	imul	eax, DWORD PTR -316[rbp]
	add	eax, eax
	mov	DWORD PTR -308[rbp], eax
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -320[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -316[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -312[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -308[rbp]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -332[rbp]
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR -304[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L16
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 73
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L27
.L16:
	mov	eax, DWORD PTR -340[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	rdx, QWORD PTR -288[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, ra[rip]
	call	fread@PLT
	cmp	DWORD PTR -340[rbp], 2
	je	.L17
	cmp	DWORD PTR -340[rbp], 2
	jg	.L18
	cmp	DWORD PTR -340[rbp], 0
	je	.L19
	cmp	DWORD PTR -340[rbp], 1
	je	.L20
	jmp	.L18
.L19:
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 2
	and	ax, 1020
	mov	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cbw
	and	eax, 3
	or	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 1
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	mov	ecx, edx
	and	cx, 1020
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 2
	cbw
	and	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 2
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	mov	ecx, edx
	and	cx, 1020
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 4
	cbw
	and	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 3
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	mov	ecx, edx
	and	cx, 1020
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 6
	cbw
	and	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	add	DWORD PTR -328[rbp], 5
	add	DWORD PTR -324[rbp], 4
.L21:
	mov	eax, DWORD PTR -312[rbp]
	sub	eax, 5
	cmp	DWORD PTR -328[rbp], eax
	jl	.L22
	jmp	.L18
.L20:
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 4
	and	ax, 4080
	mov	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 2
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cbw
	and	eax, 15
	or	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 1
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	mov	ecx, edx
	and	cx, 4080
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 2
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 4
	cbw
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	add	DWORD PTR -328[rbp], 3
	add	DWORD PTR -324[rbp], 2
.L23:
	mov	eax, DWORD PTR -312[rbp]
	sub	eax, 3
	cmp	DWORD PTR -328[rbp], eax
	jl	.L24
	jmp	.L18
.L17:
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -328[rbp]
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 6
	and	ax, 16320
	mov	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cbw
	and	eax, 63
	or	ecx, eax
	mov	eax, DWORD PTR -324[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 1
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 6
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	mov	ecx, edx
	and	cx, 16320
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 4
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 6
	cbw
	and	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 5
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cbw
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 1
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 2
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 6
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	mov	ecx, edx
	and	cx, 16320
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 5
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 4
	cbw
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 6
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cbw
	and	eax, 3
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 2
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 3
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	sal	eax, 6
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	mov	ecx, edx
	and	cx, 16320
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -328[rbp]
	add	eax, 6
	cdqe
	lea	rdx, ra[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	sar	al, 2
	cbw
	and	eax, 63
	mov	edx, eax
	mov	eax, DWORD PTR -324[rbp]
	add	eax, 3
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, pa[rip]
	mov	WORD PTR [rdx+rax], cx
	add	DWORD PTR -328[rbp], 7
	add	DWORD PTR -324[rbp], 4
.L25:
	mov	eax, DWORD PTR -312[rbp]
	sub	eax, 7
	cmp	DWORD PTR -328[rbp], eax
	jl	.L26
	nop
.L18:
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	mov	rdx, QWORD PTR -280[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, pa[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -288[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	eax, 0
.L27:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"522026.c"
	.text
	.comm	ra,16588800,4
	.comm	pa,33177600,4
	.comm	RAW_TYPE,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"RAW10\000"
	.align	2
.LC1:
	.ascii	"RAW12\000"
	.align	2
.LC2:
	.ascii	"RAW14\000"
	.data
	.align	2
	.type	format_array, %object
	.size	format_array, 12
format_array:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.section	.rodata
	.align	2
.LC3:
	.ascii	"help\000"
	.data
	.align	2
	.type	help, %object
	.size	help, 4
help:
	.word	.LC3
	.section	.rodata
	.align	2
.LC4:
	.ascii	"argc=%d\012\000"
	.align	2
.LC5:
	.ascii	"Usage: <filename> <format: RAW10/RAW12/RAW14> <widt"
	.ascii	"h> <height> [stride]\015\000"
	.align	2
.LC6:
	.ascii	"Error: Not supported format: %s\012\000"
	.align	2
.LC7:
	.ascii	"Usage: <filename> <format: RAW10/RAW12/RAW14> <widt"
	.ascii	"h> <height> [stride]\015\012\000"
	.align	2
.LC8:
	.ascii	"rb\000"
	.align	2
.LC9:
	.ascii	"open input file faile: %s\015\012\000"
	.global	__aeabi_idiv
	.align	2
.LC10:
	.ascii	"file name: %s \015\012\000"
	.align	2
.LC11:
	.ascii	"format: %s \015\012\000"
	.align	2
.LC12:
	.ascii	"width: %d \015\012\000"
	.align	2
.LC13:
	.ascii	"height: %d \015\012\000"
	.align	2
.LC14:
	.ascii	"in_size: %d \015\012\000"
	.align	2
.LC15:
	.ascii	"out_size: %d \015\012\000"
	.align	2
.LC16:
	.ascii	"stride: %d \015\012\000"
	.align	2
.LC17:
	.ascii	"%s_%s\000"
	.align	2
.LC18:
	.ascii	"open input file name: %s\015\012\000"
	.align	2
.LC19:
	.ascii	"wb\000"
	.align	2
.LC20:
	.ascii	"open output file faile: %s\015\012\000"
	.align	2
.LC21:
	.ascii	"start convertion format_index: %d \015\012\000"
	.align	2
.LC22:
	.ascii	"convert finished !!! \015\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 320
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #320
	str	r0, [fp, #-320]
	str	r1, [fp, #-324]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-320]
	ldr	r0, .L29+4
	bl	printf
	ldr	r3, [fp, #-320]
	cmp	r3, #3
	bgt	.L2
	ldr	r0, .L29+8
	bl	puts
	mvn	r3, #0
	b	.L27
.L2:
	mvn	r3, #0
	str	r3, [fp, #-316]
	ldr	r3, [fp, #-324]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-296]
	mov	r3, #0
	str	r3, [fp, #-312]
	b	.L4
.L7:
	ldr	r2, .L29+12
	ldr	r3, [fp, #-312]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [fp, #-296]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-312]
	str	r3, [fp, #-316]
	b	.L6
.L5:
	ldr	r3, [fp, #-312]
	add	r3, r3, #1
	str	r3, [fp, #-312]
.L4:
	ldr	r3, [fp, #-312]
	cmp	r3, #2
	ble	.L7
.L6:
	ldr	r3, [fp, #-316]
	cmn	r3, #1
	bne	.L8
	ldr	r3, .L29+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-296]
	ldr	r1, .L29+20
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L29+16
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L29+24
	bl	fwrite
	mvn	r3, #0
	b	.L27
.L8:
	ldr	r3, [fp, #-324]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-324]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-288]
	ldr	r3, [fp, #-324]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-308]
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-316]
	cmp	r3, #2
	beq	.L9
	ldr	r3, [fp, #-316]
	cmp	r3, #2
	bgt	.L10
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-316]
	cmp	r3, #1
	beq	.L12
	b	.L10
.L11:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-284]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	str	r3, [fp, #-276]
	b	.L10
.L12:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-284]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	str	r3, [fp, #-276]
	b	.L10
.L9:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-284]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	str	r3, [fp, #-276]
	nop
.L10:
	ldr	r1, .L29+28
	ldr	r0, [fp, #-292]
	bl	fopen
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L13
	ldr	r1, [fp, #-292]
	ldr	r0, .L29+32
	bl	printf
	ldr	r3, .L29+16
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L29+24
	bl	fwrite
	mvn	r3, #0
	b	.L27
.L13:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-272]
	bl	fseek
	ldr	r0, [fp, #-272]
	bl	ftell
	str	r0, [fp, #-280]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-272]
	bl	fseek
	ldr	r3, [fp, #-320]
	cmp	r3, #5
	ble	.L14
	ldr	r3, [fp, #-324]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	b	.L15
.L14:
	ldr	r1, [fp, #-284]
	ldr	r0, [fp, #-280]
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-308]
.L15:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-284]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	str	r3, [fp, #-276]
	ldr	r1, [fp, #-292]
	ldr	r0, .L29+36
	bl	printf
	ldr	r1, [fp, #-296]
	ldr	r0, .L29+40
	bl	printf
	ldr	r1, [fp, #-288]
	ldr	r0, .L29+44
	bl	printf
	ldr	r1, [fp, #-284]
	ldr	r0, .L29+48
	bl	printf
	ldr	r1, [fp, #-280]
	ldr	r0, .L29+52
	bl	printf
	ldr	r1, [fp, #-276]
	ldr	r0, .L29+56
	bl	printf
	ldr	r1, [fp, #-308]
	ldr	r0, .L29+60
	bl	printf
	sub	r0, fp, #264
	ldr	r3, [fp, #-296]
	ldr	r2, [fp, #-292]
	ldr	r1, .L29+64
	bl	sprintf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L29+68
	bl	printf
	sub	r3, fp, #264
	ldr	r1, .L29+72
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L16
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L29+76
	bl	printf
	ldr	r3, .L29+16
	ldr	r3, [r3]
	mov	r2, #73
	mov	r1, #1
	ldr	r0, .L29+24
	bl	fwrite
	mvn	r3, #0
	b	.L27
.L16:
	ldr	r1, [fp, #-316]
	ldr	r0, .L29+80
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-300]
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-272]
	mov	r1, #1
	ldr	r0, .L29+84
	bl	fread
	ldr	r3, [fp, #-316]
	cmp	r3, #2
	beq	.L17
	ldr	r3, [fp, #-316]
	cmp	r3, #2
	bgt	.L18
	ldr	r3, [fp, #-316]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-316]
	cmp	r3, #1
	beq	.L20
	b	.L18
.L19:
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L21
.L22:
	ldr	r2, .L29+84
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #1020
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r2, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r1, .L29+84
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	and	r2, r2, #1020
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #2
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	and	r2, r2, #1020
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #3
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	and	r2, r2, #1020
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #5
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-300]
	add	r3, r3, #4
	str	r3, [fp, #-300]
.L21:
	ldr	r3, [fp, #-280]
	sub	r3, r3, #5
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	blt	.L22
	b	.L18
.L20:
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L23
.L24:
	ldr	r2, .L29+84
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #4080
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r2, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #2
	ldr	r1, .L29+84
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #15
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	and	r2, r2, #4080
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #2
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #15
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #3
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	str	r3, [fp, #-300]
.L23:
	ldr	r3, [fp, #-280]
	sub	r3, r3, #3
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	blt	.L24
	b	.L18
.L17:
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-300]
	b	.L25
.L26:
	ldr	r2, .L29+84
	ldr	r3, [fp, #-304]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #6
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #16320
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r2, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r1, .L29+84
	ldrb	r3, [r1, r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #63
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L29+88
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #1
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #6
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	and	r2, r2, #16320
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #4
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #6
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #5
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #15
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #2
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #6
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	and	r2, r2, #16320
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #5
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #15
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #6
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #2
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #3
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #6
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	and	r2, r2, #16320
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	ldr	r2, .L29+88
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r1, [r3]
	ldr	r3, [fp, #-304]
	add	r3, r3, #6
	ldr	r2, .L29+84
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	and	r3, r3, #63
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-300]
	add	r3, r3, #3
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	ldr	r1, .L29+88
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-304]
	add	r3, r3, #7
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-300]
	add	r3, r3, #4
	str	r3, [fp, #-300]
.L25:
	ldr	r3, [fp, #-280]
	sub	r3, r3, #7
	ldr	r2, [fp, #-304]
	cmp	r2, r3
	blt	.L26
	nop
.L18:
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-268]
	mov	r1, #1
	ldr	r0, .L29+88
	bl	fwrite
	ldr	r0, [fp, #-272]
	bl	fclose
	ldr	r0, [fp, #-268]
	bl	fclose
	ldr	r0, .L29+92
	bl	puts
	mov	r3, #0
.L27:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC23
	.word	.LC4
	.word	.LC5
	.word	format_array
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	ra
	.word	pa
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
