	.file	"331592.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 16
	.type	_hexbytes, @object
	.size	_hexbytes, 17
_hexbytes:
	.string	"0123456789ABCDEF"
	.text
	.type	hex2bin, @function
hex2bin:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	and	eax, 1
	test	rax, rax
	je	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	DWORD PTR -4[rbp], 0
	mov	BYTE PTR -5[rbp], 0
	jmp	.L4
.L16:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jbe	.L5
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	ja	.L5
	cmp	BYTE PTR -5[rbp], 0
	je	.L6
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 48
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 48
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jbe	.L9
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 102
	ja	.L9
	cmp	BYTE PTR -5[rbp], 0
	je	.L10
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 87
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L10:
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 87
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jbe	.L12
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 70
	ja	.L12
	cmp	BYTE PTR -5[rbp], 0
	je	.L13
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	sal	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	add	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 55
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L13:
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	sub	edx, 55
	mov	BYTE PTR [rax], dl
	jmp	.L8
.L12:
	mov	eax, 0
	jmp	.L3
.L8:
	cmp	BYTE PTR -5[rbp], 0
	je	.L15
	add	DWORD PTR -4[rbp], 1
.L15:
	cmp	BYTE PTR -5[rbp], 0
	sete	al
	mov	BYTE PTR -5[rbp], al
	add	QWORD PTR -24[rbp], 1
.L4:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	test	rax, rax
	jne	.L16
	mov	eax, DWORD PTR -4[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hex2bin, .-hex2bin
	.type	toIntArray, @function
toIntArray:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, edx
	mov	edx, ecx
	mov	WORD PTR -36[rbp], ax
	mov	eax, edx
	mov	BYTE PTR -40[rbp], al
	cmp	QWORD PTR -24[rbp], 0
	je	.L18
	cmp	QWORD PTR -32[rbp], 0
	je	.L18
	cmp	WORD PTR -36[rbp], 0
	je	.L18
	movzx	eax, WORD PTR -36[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L19
	movzx	eax, WORD PTR -36[rbp]
	shr	ax, 2
	jmp	.L20
.L19:
	movzx	eax, WORD PTR -36[rbp]
	shr	ax, 2
	add	eax, 1
.L20:
	mov	WORD PTR -4[rbp], ax
	mov	WORD PTR -2[rbp], 0
	cmp	BYTE PTR -40[rbp], 0
	je	.L21
	movzx	eax, WORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, WORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
	add	WORD PTR -4[rbp], 1
.L21:
	mov	WORD PTR -2[rbp], 0
	jmp	.L22
.L23:
	movzx	eax, WORD PTR -2[rbp]
	shr	ax, 2
	movzx	eax, ax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR [rax]
	movzx	edx, WORD PTR -2[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	movzx	eax, WORD PTR -2[rbp]
	sal	eax, 3
	and	eax, 24
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	ecx, eax
	movzx	eax, WORD PTR -2[rbp]
	shr	ax, 2
	movzx	eax, ax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	or	esi, ecx
	mov	edx, esi
	mov	DWORD PTR [rax], edx
	movzx	eax, WORD PTR -2[rbp]
	add	eax, 1
	mov	WORD PTR -2[rbp], ax
.L22:
	movzx	eax, WORD PTR -2[rbp]
	cmp	ax, WORD PTR -36[rbp]
	jb	.L23
	movzx	eax, WORD PTR -4[rbp]
	jmp	.L24
.L18:
	mov	eax, 0
.L24:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	toIntArray, .-toIntArray
	.section	.rodata
.LC0:
	.string	"n:%d l:%d\n"
	.text
	.type	toByteArray, @function
toByteArray:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, edx
	mov	edx, ecx
	mov	WORD PTR -36[rbp], ax
	mov	eax, edx
	mov	BYTE PTR -40[rbp], al
	mov	DWORD PTR -4[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L26
	cmp	QWORD PTR -32[rbp], 0
	je	.L26
	cmp	WORD PTR -36[rbp], 0
	je	.L26
	movzx	eax, WORD PTR -36[rbp]
	sal	eax, 2
	mov	DWORD PTR -8[rbp], eax
	cmp	BYTE PTR -40[rbp], 0
	je	.L27
	movzx	eax, WORD PTR -36[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR -36[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jnb	.L28
	mov	eax, 0
	jmp	.L29
.L28:
	movzx	eax, WORD PTR -36[rbp]
	sal	rax, 2
	lea	rdx, -4[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
.L27:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -4[rbp]
	sar	eax, 2
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 3
	and	eax, 24
	mov	ecx, eax
	shr	edx, cl
	mov	ecx, edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -8[rbp], eax
	ja	.L31
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L29
.L26:
	mov	eax, 0
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	toByteArray, .-toByteArray
	.section	.rodata
.LC1:
	.string	"no encrp: "
.LC2:
	.string	"%08X "
.LC3:
	.string	"q:%d "
.LC4:
	.string	"sum:%08X\n"
	.text
	.type	raw_encrypt, @function
raw_encrypt:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	eax, ecx
	mov	WORD PTR -64[rbp], ax
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	je	.L43
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -8[rbp], -1640531527
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -16[rbp]
	lea	edi, 1[rax]
	mov	eax, 52
	mov	edx, 0
	div	edi
	add	eax, 6
	mov	DWORD PTR -20[rbp], eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L35:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -60[rbp], eax
	ja	.L36
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L37
.L40:
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 2
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	xor	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	mov	ecx, esi
	xor	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L38:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jb	.L39
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	xor	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -32[rbp]
	add	eax, ecx
	xor	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -16[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
.L37:
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -20[rbp], edx
	test	eax, eax
	jne	.L40
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L41:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -60[rbp], eax
	ja	.L42
	mov	edi, 10
	call	putchar@PLT
	jmp	.L32
.L43:
	nop
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	raw_encrypt, .-raw_encrypt
	.section	.rodata
.LC5:
	.string	"no decrp: "
.LC6:
	.string	"q:%d sum:%08X\n"
	.text
	.type	raw_decrypt, @function
raw_decrypt:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	DWORD PTR -64[rbp], ecx
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L55
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	DWORD PTR -12[rbp], -1640531527
	mov	eax, DWORD PTR -20[rbp]
	lea	edi, 1[rax]
	mov	eax, 52
	mov	edx, 0
	div	edi
	add	eax, 6
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	imul	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L47
.L48:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L47:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -60[rbp], eax
	ja	.L48
	mov	edi, 10
	call	putchar@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 2
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	xor	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -16[rbp]
	add	eax, ecx
	xor	esi, eax
	mov	ecx, esi
	mov	eax, DWORD PTR -24[rbp]
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rsi
	sub	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	sub	DWORD PTR -24[rbp], 1
.L50:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L51
	mov	eax, DWORD PTR -20[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	shr	eax, 5
	mov	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 2
	xor	ecx, eax
	mov	eax, DWORD PTR -32[rbp]
	shr	eax, 3
	mov	esi, eax
	mov	eax, DWORD PTR -16[rbp]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	xor	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 3
	xor	eax, DWORD PTR -4[rbp]
	mov	eax, eax
	lea	rdi, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdi
	mov	eax, DWORD PTR [rax]
	xor	eax, DWORD PTR -16[rbp]
	add	eax, ecx
	xor	eax, esi
	sub	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	DWORD PTR -28[rbp], eax
.L49:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L52
	mov	DWORD PTR -36[rbp], 0
	jmp	.L53
.L54:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L53:
	mov	eax, DWORD PTR -36[rbp]
	cmp	DWORD PTR -60[rbp], eax
	ja	.L54
	mov	edi, 10
	call	putchar@PLT
	jmp	.L44
.L55:
	nop
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	raw_decrypt, .-raw_decrypt
	.section	.rodata
.LC7:
	.string	"dl:%d kl:%d\n"
	.text
	.type	xxtea_encrypt, @function
xxtea_encrypt:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 624
	mov	QWORD PTR -584[rbp], rdi
	mov	QWORD PTR -592[rbp], rsi
	mov	QWORD PTR -600[rbp], rdx
	mov	QWORD PTR -608[rbp], rcx
	mov	QWORD PTR -616[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -592[rbp], 0
	je	.L57
	cmp	QWORD PTR -616[rbp], 0
	jne	.L58
.L57:
	mov	eax, 0
	jmp	.L61
.L58:
	lea	rdx, -528[rbp]
	mov	eax, 0
	mov	ecx, 64
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	lea	rax, -528[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -560[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -600[rbp]
	movzx	edx, ax
	mov	rsi, QWORD PTR -592[rbp]
	lea	rax, -528[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	toIntArray
	mov	WORD PTR -564[rbp], ax
	mov	rax, QWORD PTR -616[rbp]
	movzx	edx, ax
	mov	rsi, QWORD PTR -608[rbp]
	lea	rax, -560[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	toIntArray
	mov	WORD PTR -562[rbp], ax
	mov	WORD PTR -566[rbp], 0
	movzx	edx, WORD PTR -562[rbp]
	movzx	eax, WORD PTR -564[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	WORD PTR -562[rbp], 0
	je	.L60
	cmp	WORD PTR -564[rbp], 0
	je	.L60
	movzx	ecx, WORD PTR -562[rbp]
	movzx	esi, WORD PTR -564[rbp]
	lea	rdx, -560[rbp]
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	raw_encrypt
	movzx	edx, WORD PTR -564[rbp]
	lea	rsi, -528[rbp]
	mov	rax, QWORD PTR -584[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	toByteArray
	mov	WORD PTR -566[rbp], ax
.L60:
	movzx	eax, WORD PTR -566[rbp]
.L61:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	xxtea_encrypt, .-xxtea_encrypt
	.type	xxtea_decrypt, @function
xxtea_decrypt:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 608
	mov	QWORD PTR -584[rbp], rdi
	mov	QWORD PTR -592[rbp], rsi
	mov	QWORD PTR -600[rbp], rdx
	mov	QWORD PTR -608[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -584[rbp], 0
	je	.L64
	cmp	QWORD PTR -608[rbp], 0
	jne	.L65
.L64:
	mov	eax, 0
	jmp	.L68
.L65:
	lea	rdx, -528[rbp]
	mov	eax, 0
	mov	ecx, 64
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	lea	rax, -528[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -560[rbp]
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -592[rbp]
	movzx	edx, ax
	mov	rsi, QWORD PTR -584[rbp]
	lea	rax, -528[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	toIntArray
	mov	WORD PTR -564[rbp], ax
	mov	rax, QWORD PTR -608[rbp]
	movzx	edx, ax
	mov	rsi, QWORD PTR -600[rbp]
	lea	rax, -560[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	toIntArray
	mov	WORD PTR -562[rbp], ax
	mov	WORD PTR -566[rbp], 0
	movzx	edx, WORD PTR -562[rbp]
	movzx	eax, WORD PTR -564[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	WORD PTR -564[rbp], 0
	je	.L67
	cmp	WORD PTR -562[rbp], 0
	je	.L67
	movzx	ecx, WORD PTR -562[rbp]
	movzx	esi, WORD PTR -564[rbp]
	lea	rdx, -560[rbp]
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	raw_decrypt
	movzx	edx, WORD PTR -564[rbp]
	lea	rsi, -528[rbp]
	mov	rax, QWORD PTR -584[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	toByteArray
	mov	WORD PTR -566[rbp], ax
.L67:
	movzx	eax, WORD PTR -566[rbp]
.L68:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	xxtea_decrypt, .-xxtea_decrypt
	.section	.rodata
.LC8:
	.string	"nret:%d\n"
.LC9:
	.string	"enstr: "
.LC10:
	.string	"%02X"
	.text
	.type	en_xxtea, @function
en_xxtea:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	DWORD PTR -8[rbp], 0
	mov	rdi, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xxtea_encrypt
	movzx	eax, ax
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 256
	jbe	.L71
	mov	DWORD PTR -4[rbp], 256
.L71:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L72
.L73:
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L72:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jb	.L73
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L74
.L75:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	and	eax, 15
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	add	eax, eax
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movsx	rax, ecx
	lea	rcx, _hexbytes[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	sar	al, 4
	movsx	ecx, al
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	add	eax, eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movsx	rax, ecx
	lea	rcx, _hexbytes[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L74:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jb	.L75
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	en_xxtea, .-en_xxtea
	.section	.rodata
.LC11:
	.string	"%d %d\n"
	.text
	.type	de_xxtea, @function
de_xxtea:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 576
	mov	QWORD PTR -552[rbp], rdi
	mov	QWORD PTR -560[rbp], rsi
	mov	QWORD PTR -568[rbp], rdx
	mov	QWORD PTR -576[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	lea	rax, -528[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -536[rbp], 0
	cmp	QWORD PTR -560[rbp], 1024
	ja	.L78
	mov	rdx, QWORD PTR -560[rbp]
	lea	rcx, -528[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	hex2bin
	mov	eax, eax
	mov	QWORD PTR -560[rbp], rax
	cmp	QWORD PTR -560[rbp], 0
	jne	.L79
.L78:
	mov	eax, 0
	jmp	.L83
.L79:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -536[rbp], 0
	jmp	.L81
.L82:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	movzx	eax, BYTE PTR -528[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -536[rbp], 1
.L81:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	cmp	QWORD PTR -560[rbp], rax
	ja	.L82
	mov	edi, 10
	call	putchar@PLT
	mov	rcx, QWORD PTR -576[rbp]
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, QWORD PTR -560[rbp]
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	xxtea_decrypt
	movzx	eax, ax
	mov	DWORD PTR -532[rbp], eax
	mov	rdx, QWORD PTR -560[rbp]
	mov	eax, DWORD PTR -532[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -532[rbp]
	mov	BYTE PTR -528[rbp+rax], 0
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, 1
.L83:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	de_xxtea, .-de_xxtea
	.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	"331592.c"
	.text
	.section	.rodata
	.align	2
	.type	_hexbytes, %object
	.size	_hexbytes, 17
_hexbytes:
	.ascii	"0123456789ABCDEF\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex2bin, %function
hex2bin:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-9]
	b	.L4
.L16:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L5
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L5
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L6:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L5:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L9
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #102
	bhi	.L9
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #87
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L10:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #87
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L9:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L12
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L12
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #55
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L13:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	sub	r2, r2, #55
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L8
.L12:
	mov	r3, #0
	b	.L3
.L8:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L15:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	hex2bin, .-hex2bin
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	toIntArray, %function
toIntArray:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, r2
	strb	r3, [fp, #-23]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L18
	ldrh	r3, [fp, #-22]
	cmp	r3, #0
	beq	.L18
	ldrh	r3, [fp, #-22]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L19
	ldrh	r3, [fp, #-22]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	b	.L20
.L19:
	ldrh	r3, [fp, #-22]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
.L20:
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldrh	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrh	r2, [fp, #-22]
	str	r2, [r3]
	ldrh	r3, [fp, #-8]	@ movhi
	add	r3, r3, #1
	strh	r3, [fp, #-8]	@ movhi
.L21:
	mov	r3, #0
	strh	r3, [fp, #-6]	@ movhi
	b	.L22
.L23:
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldrh	r3, [fp, #-6]
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldrh	r3, [fp, #-6]
	lsl	r3, r3, #3
	and	r3, r3, #24
	lsl	r3, r1, r3
	mov	r0, r3
	ldrh	r3, [fp, #-6]
	lsr	r3, r3, #2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	orr	r2, r2, r0
	str	r2, [r3]
	ldrh	r3, [fp, #-6]
	add	r3, r3, #1
	strh	r3, [fp, #-6]	@ movhi
.L22:
	ldrh	r2, [fp, #-6]
	ldrh	r3, [fp, #-22]
	cmp	r2, r3
	bcc	.L23
	ldrh	r3, [fp, #-8]
	b	.L24
.L18:
	mov	r3, #0
.L24:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	toIntArray, .-toIntArray
	.section	.rodata
	.align	2
.LC0:
	.ascii	"n:%d l:%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	toByteArray, %function
toByteArray:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, r2
	strb	r3, [fp, #-23]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L26
	ldrh	r3, [fp, #-22]
	cmp	r3, #0
	beq	.L26
	ldrh	r3, [fp, #-22]
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	ldrh	r3, [fp, #-22]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L32
	bl	printf
	ldrh	r3, [fp, #-22]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bcs	.L28
	mov	r3, #0
	b	.L29
.L28:
	ldrh	r3, [fp, #-22]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L27:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-8]
	asr	r3, r3, #2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	and	r3, r3, #24
	lsr	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bhi	.L31
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	b	.L29
.L26:
	mov	r3, #0
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC0
	.size	toByteArray, .-toByteArray
	.global	__aeabi_uidiv
	.section	.rodata
	.align	2
.LC1:
	.ascii	"no encrp: \000"
	.align	2
.LC2:
	.ascii	"%08X \000"
	.align	2
.LC3:
	.ascii	"q:%d \000"
	.align	2
.LC4:
	.ascii	"sum:%08X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_encrypt, %function
raw_encrypt:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	strh	r3, [fp, #-58]	@ movhi
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L45
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L46
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #52
	bl	__aeabi_uidiv
	mov	r3, r0
	add	r3, r3, #6
	str	r3, [fp, #-24]
	ldr	r0, .L46+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L37
.L38:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L46+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L37:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L38
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-24]
	ldr	r0, .L46+12
	bl	printf
	b	.L39
.L42:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L40
.L41:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-16]
	eor	r0, r0, r3
	ldr	r3, [fp, #-28]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-56]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-36]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-48]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L40:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L41
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-16]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-16]
	eor	r0, r0, r3
	ldr	r3, [fp, #-28]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-56]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-36]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-48]
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
.L39:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L42
	ldr	r1, [fp, #-32]
	ldr	r0, .L46+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L43
.L44:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L46+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L43:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L44
	mov	r0, #10
	bl	putchar
	b	.L34
.L45:
	nop
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	-1640531527
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	raw_encrypt, .-raw_encrypt
	.section	.rodata
	.align	2
.LC5:
	.ascii	"no decrp: \000"
	.align	2
.LC6:
	.ascii	"q:%d sum:%08X\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	raw_decrypt, %function
raw_decrypt:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L59
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L60
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, #52
	bl	__aeabi_uidiv
	mov	r3, r0
	add	r3, r3, #6
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r0, .L60+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L51
.L52:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L60+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L51:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L52
	mov	r0, #10
	bl	putchar
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-12]
	ldr	r0, .L60+12
	bl	printf
	b	.L53
.L56:
	ldr	r3, [fp, #-32]
	lsr	r3, r3, #2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
	b	.L54
.L55:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-36]
	eor	r0, r0, r3
	ldr	r3, [fp, #-28]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-56]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-48]
	add	r3, r0, r3
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L54:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r1, r3, #5
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	eor	r1, r1, r3
	ldr	r3, [fp, #-36]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r1, r1, r3
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-36]
	eor	r0, r0, r3
	ldr	r3, [fp, #-28]
	and	ip, r3, #3
	ldr	r3, [fp, #-8]
	eor	r3, r3, ip
	lsl	r3, r3, #2
	ldr	ip, [fp, #-56]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r3, r3, r1
	sub	r2, r2, r3
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
.L53:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L57
.L58:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L60+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L57:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bhi	.L58
	mov	r0, #10
	bl	putchar
	b	.L48
.L59:
	nop
.L48:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	-1640531527
	.word	.LC5
	.word	.LC2
	.word	.LC6
	.size	raw_decrypt, .-raw_decrypt
	.section	.rodata
	.align	2
.LC7:
	.ascii	"dl:%d kl:%d\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea_encrypt, %function
xxtea_encrypt:
	@ args = 4, pretend = 0, frame = 576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #580
	str	r0, [fp, #-576]
	str	r1, [fp, #-580]
	str	r2, [fp, #-584]
	str	r3, [fp, #-588]
	ldr	r3, .L69
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #4]
	cmp	r3, #0
	bne	.L64
.L63:
	mov	r3, #0
	b	.L67
.L64:
	sub	r3, fp, #528
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #560
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #528
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #560
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-584]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r4, r3, #552
	sub	r0, fp, #528
	mov	r3, #1
	ldr	r1, [fp, #-580]
	bl	toIntArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	ldr	r3, [fp, #4]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r4, r3, #548
	sub	r4, r4, #2
	sub	r0, fp, #560
	mov	r3, #0
	ldr	r1, [fp, #-588]
	bl	toIntArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #552
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r0, .L69+4
	bl	printf
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L66
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L66
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #560
	sub	r0, fp, #528
	bl	raw_encrypt
	sub	r3, fp, #12
	sub	r4, r3, #552
	sub	r4, r4, #2
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r2, [r3]
	sub	r1, fp, #528
	mov	r3, #0
	ldr	r0, [fp, #-576]
	bl	toByteArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
.L66:
	sub	r3, fp, #12
	sub	r3, r3, #552
	sub	r3, r3, #2
	ldrh	r3, [r3]
.L67:
	ldr	r2, .L69
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L68
	bl	__stack_chk_fail
.L68:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L70:
	.align	2
.L69:
	.word	.LC8
	.word	.LC7
	.size	xxtea_encrypt, .-xxtea_encrypt
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea_decrypt, %function
xxtea_decrypt:
	@ args = 0, pretend = 0, frame = 576
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #580
	str	r0, [fp, #-576]
	str	r1, [fp, #-580]
	str	r2, [fp, #-584]
	str	r3, [fp, #-588]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	bne	.L73
.L72:
	mov	r3, #0
	b	.L76
.L73:
	sub	r3, fp, #528
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #560
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #528
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #560
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-580]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r4, r3, #552
	sub	r0, fp, #528
	mov	r3, #0
	ldr	r1, [fp, #-576]
	bl	toIntArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	ldr	r3, [fp, #-588]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	sub	r3, fp, #12
	sub	r4, r3, #548
	sub	r4, r4, #2
	sub	r0, fp, #560
	mov	r3, #0
	ldr	r1, [fp, #-584]
	bl	toIntArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #552
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r0, .L78+4
	bl	printf
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #0
	beq	.L75
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r1, [r3]
	sub	r3, fp, #12
	sub	r3, r3, #548
	sub	r3, r3, #2
	ldrh	r3, [r3]
	sub	r2, fp, #560
	sub	r0, fp, #528
	bl	raw_decrypt
	sub	r3, fp, #12
	sub	r4, r3, #552
	sub	r4, r4, #2
	sub	r3, fp, #12
	sub	r3, r3, #552
	ldrh	r2, [r3]
	sub	r1, fp, #528
	mov	r3, #1
	ldr	r0, [fp, #-576]
	bl	toByteArray
	mov	r3, r0
	strh	r3, [r4]	@ movhi
.L75:
	sub	r3, fp, #12
	sub	r3, r3, #552
	sub	r3, r3, #2
	ldrh	r3, [r3]
.L76:
	ldr	r2, .L78
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L77
	bl	__stack_chk_fail
.L77:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC9
	.word	.LC7
	.size	xxtea_decrypt, .-xxtea_decrypt
	.section	.rodata
	.align	2
.LC10:
	.ascii	"nret:%d\012\000"
	.align	2
.LC11:
	.ascii	"enstr: \000"
	.align	2
.LC12:
	.ascii	"%02X\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	en_xxtea, %function
en_xxtea:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #8]
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	xxtea_encrypt
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #256
	bls	.L81
	mov	r3, #256
	str	r3, [fp, #-8]
.L81:
	ldr	r1, [fp, #-8]
	ldr	r0, .L87
	bl	printf
	ldr	r0, .L87+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L82
.L83:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L87+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L82:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L83
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L84
.L85:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r2, r3, #15
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r1, r3
	sub	r3, r3, #1
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, .L87+12
	ldrb	r2, [r1, r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L87+12
	ldrb	r2, [r2, r1]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L84:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcc	.L85
	ldr	r0, [fp, #-16]
	bl	puts
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	_hexbytes
	.size	en_xxtea, .-en_xxtea
	.section	.rodata
	.align	2
.LC13:
	.ascii	"%d %d\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	de_xxtea, %function
de_xxtea:
	@ args = 0, pretend = 0, frame = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #544
	str	r0, [fp, #-536]
	str	r1, [fp, #-540]
	str	r2, [fp, #-544]
	str	r3, [fp, #-548]
	ldr	r3, .L97
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-520]
	sub	r3, fp, #516
	mov	r2, #508
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-540]
	cmp	r3, #1024
	bhi	.L90
	sub	r3, fp, #520
	ldr	r2, [fp, #-540]
	mov	r1, r3
	ldr	r0, [fp, #-536]
	bl	hex2bin
	str	r0, [fp, #-540]
	ldr	r3, [fp, #-540]
	cmp	r3, #0
	bne	.L91
.L90:
	mov	r3, #0
	b	.L95
.L91:
	ldr	r0, .L97+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-528]
	b	.L93
.L94:
	sub	r2, fp, #520
	ldr	r3, [fp, #-528]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L97+8
	bl	printf
	ldr	r3, [fp, #-528]
	add	r3, r3, #1
	str	r3, [fp, #-528]
.L93:
	ldr	r3, [fp, #-528]
	ldr	r2, [fp, #-540]
	cmp	r2, r3
	bhi	.L94
	mov	r0, #10
	bl	putchar
	sub	r0, fp, #520
	ldr	r3, [fp, #-548]
	ldr	r2, [fp, #-544]
	ldr	r1, [fp, #-540]
	bl	xxtea_decrypt
	mov	r3, r0
	str	r3, [fp, #-524]
	ldr	r2, [fp, #-540]
	ldr	r1, [fp, #-524]
	ldr	r0, .L97+12
	bl	printf
	sub	r2, fp, #520
	ldr	r3, [fp, #-524]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #520
	mov	r0, r3
	bl	puts
	mov	r3, #1
.L95:
	ldr	r2, .L97
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L96
	bl	__stack_chk_fail
.L96:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L98:
	.align	2
.L97:
	.word	.LC14
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	de_xxtea, .-de_xxtea
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
