	.file	"473302.c"
	.intel_syntax noprefix
	.text
	.globl	SIGMA
	.section	.rodata
	.align 32
	.type	SIGMA, @object
	.size	SIGMA, 48
SIGMA:
	.ascii	"\240\236f\177;\314\220\213\266z\350XL\252s\262\306\3577/\351"
	.ascii	"O\202\276T\377S\245\361\323o\034\020\345'\372\336h-\035\260V"
	.ascii	"\210\302\263\346\301\375"
	.globl	KSFT1
	.align 32
	.type	KSFT1, @object
	.size	KSFT1, 104
KSFT1:
	.long	0
	.long	64
	.long	0
	.long	64
	.long	15
	.long	79
	.long	15
	.long	79
	.long	30
	.long	94
	.long	45
	.long	109
	.long	45
	.long	124
	.long	60
	.long	124
	.long	77
	.long	13
	.long	94
	.long	30
	.long	94
	.long	30
	.long	111
	.long	47
	.long	111
	.long	47
	.globl	KIDX1
	.align 32
	.type	KIDX1, @object
	.size	KIDX1, 104
KIDX1:
	.long	0
	.long	0
	.long	4
	.long	4
	.long	0
	.long	0
	.long	4
	.long	4
	.long	4
	.long	4
	.long	0
	.long	0
	.long	4
	.long	0
	.long	4
	.long	4
	.long	0
	.long	0
	.long	0
	.long	0
	.long	4
	.long	4
	.long	0
	.long	0
	.long	4
	.long	4
	.globl	KSFT2
	.align 32
	.type	KSFT2, @object
	.size	KSFT2, 136
KSFT2:
	.long	0
	.long	64
	.long	0
	.long	64
	.long	15
	.long	79
	.long	15
	.long	79
	.long	30
	.long	94
	.long	30
	.long	94
	.long	45
	.long	109
	.long	45
	.long	109
	.long	60
	.long	124
	.long	60
	.long	124
	.long	60
	.long	124
	.long	77
	.long	13
	.long	77
	.long	13
	.long	94
	.long	30
	.long	94
	.long	30
	.long	111
	.long	47
	.long	111
	.long	47
	.globl	KIDX2
	.align 32
	.type	KIDX2, @object
	.size	KIDX2, 136
KIDX2:
	.long	0
	.long	0
	.long	12
	.long	12
	.long	8
	.long	8
	.long	4
	.long	4
	.long	8
	.long	8
	.long	12
	.long	12
	.long	0
	.long	0
	.long	4
	.long	4
	.long	0
	.long	0
	.long	8
	.long	8
	.long	12
	.long	12
	.long	0
	.long	0
	.long	4
	.long	4
	.long	8
	.long	8
	.long	4
	.long	4
	.long	0
	.long	0
	.long	12
	.long	12
	.globl	SBOX
	.align 32
	.type	SBOX, @object
	.size	SBOX, 256
SBOX:
	.string	"p\202,\354\263'\300\345\344\205W5\352\f\256A#\357k\223E\031\245!\355\016ON\035e\222\275\206\270\257\217|\353\037\316>0\334_^\305\013\032\246\3419\312\325G]=\331\001Z\326QVlM\213\r\232f\373\314\260-t\022+ \360\261\204\231\337L\313\3024~v\005m\267\2511\321\027\004\327\024X:a\336\033\021\0342\017\234\026S\030\362\"\376D\317\262\303\265z\221$\b\350\250`\374iP\252\320\240}\241\211b\227T[\036\225\340\377d\322\020\304"
	.ascii	"H\243\367u\333\212\003\346\332\t?\335\224\207\\\203\002\315J"
	.ascii	"\2203sg\366\363\235\177\277\342R\233\330&\3107\306;\201\226o"
	.ascii	"K\023\276c.\351y\247\214\237n\274\216)\365\371\266/\375\264Y"
	.ascii	"x\230\006j\347Fq\272\324%\253B\210\242\215\372r\007\271U\370"
	.ascii	"\356\254\n6I*h<8\361\244@(\323{\273\311C\301\025\343\255\364"
	.ascii	"w\307\200\236"
.LC0:
	.string	"Plaintext  "
.LC1:
	.string	"%02x "
.LC2:
	.string	"\n%dbit Key "
.LC3:
	.string	"Ciphertext "
	.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, 384
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -372[rbp], 128
	movabs	rax, -1167088121787636991
	movabs	rdx, 1167088121787636990
	mov	QWORD PTR -368[rbp], rax
	mov	QWORD PTR -360[rbp], rdx
	mov	QWORD PTR -320[rbp], rax
	mov	QWORD PTR -312[rbp], rdx
	movabs	rax, 8603657889541918976
	movabs	rdx, -4822678189205112
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], rdx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -376[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	movzx	eax, BYTE PTR -368[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -376[rbp], 1
.L2:
	cmp	DWORD PTR -376[rbp], 15
	jle	.L3
	mov	eax, DWORD PTR -372[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -376[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	movzx	eax, BYTE PTR -320[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -376[rbp], 1
.L4:
	mov	eax, DWORD PTR -372[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	cmp	DWORD PTR -376[rbp], eax
	jl	.L5
	mov	edi, 10
	call	putchar@PLT
	lea	rdx, -288[rbp]
	lea	rcx, -320[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	Camellia_Ekeygen
	lea	rcx, -352[rbp]
	lea	rdx, -288[rbp]
	lea	rsi, -368[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	Camellia_Encrypt
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -376[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	movzx	eax, BYTE PTR -352[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -376[rbp], 1
.L6:
	cmp	DWORD PTR -376[rbp], 15
	jle	.L7
	mov	edi, 10
	call	putchar@PLT
	lea	rcx, -336[rbp]
	lea	rdx, -288[rbp]
	lea	rsi, -352[rbp]
	mov	eax, DWORD PTR -372[rbp]
	mov	edi, eax
	call	Camellia_Decrypt
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -376[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -376[rbp]
	cdqe
	movzx	eax, BYTE PTR -336[rbp+rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -376[rbp], 1
.L8:
	cmp	DWORD PTR -376[rbp], 15
	jle	.L9
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	Camellia_Ekeygen
	.type	Camellia_Ekeygen, @function
Camellia_Ekeygen:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	QWORD PTR -280[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -260[rbp], 128
	jne	.L12
	mov	DWORD PTR -244[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -244[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -244[rbp], 1
.L13:
	cmp	DWORD PTR -244[rbp], 15
	jle	.L14
	mov	DWORD PTR -244[rbp], 16
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 0
	add	DWORD PTR -244[rbp], 1
.L15:
	cmp	DWORD PTR -244[rbp], 31
	jle	.L16
	jmp	.L17
.L12:
	cmp	DWORD PTR -260[rbp], 192
	jne	.L18
	mov	DWORD PTR -244[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -244[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -244[rbp], 1
.L19:
	cmp	DWORD PTR -244[rbp], 23
	jle	.L20
	mov	DWORD PTR -244[rbp], 24
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	not	eax
	mov	edx, eax
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -244[rbp], 1
.L21:
	cmp	DWORD PTR -244[rbp], 31
	jle	.L22
	jmp	.L17
.L18:
	cmp	DWORD PTR -260[rbp], 256
	jne	.L17
	mov	DWORD PTR -244[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -244[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -272[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -244[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], dl
	add	DWORD PTR -244[rbp], 1
.L23:
	cmp	DWORD PTR -244[rbp], 31
	jle	.L24
.L17:
	lea	rdx, -80[rbp]
	add	rdx, 32
	lea	rax, -80[rbp]
	add	rax, 16
	lea	rcx, -80[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	XorBlock
	lea	rdx, -80[rbp]
	add	rdx, 40
	lea	rax, -80[rbp]
	add	rax, 32
	lea	rsi, SIGMA[rip]
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -80[rbp]
	add	rdx, 32
	lea	rcx, SIGMA[rip+8]
	lea	rax, -80[rbp]
	add	rax, 40
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -80[rbp]
	add	rdx, 32
	lea	rax, -80[rbp]
	add	rax, 32
	lea	rcx, -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	lea	rdx, -80[rbp]
	add	rdx, 40
	lea	rcx, SIGMA[rip+16]
	lea	rax, -80[rbp]
	add	rax, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -80[rbp]
	add	rdx, 32
	lea	rcx, SIGMA[rip+24]
	lea	rax, -80[rbp]
	add	rax, 40
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -240[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	lea	rdx, -240[rbp]
	add	rdx, 32
	lea	rax, -80[rbp]
	add	rax, 32
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	cmp	DWORD PTR -260[rbp], 128
	jne	.L25
	mov	DWORD PTR -244[rbp], 0
	jmp	.L26
.L27:
	lea	rax, -240[rbp]
	sub	rax, -128
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, KSFT1[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*4]
	lea	rdx, KIDX1[rip]
	mov	edx, DWORD PTR [rsi+rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	lea	rdx, -240[rbp]
	lea	rdi, [rdx+rsi]
	mov	rdx, rax
	mov	esi, ecx
	call	RotBlock
	lea	rax, -240[rbp]
	add	rax, 144
	mov	edx, DWORD PTR -244[rbp]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, KSFT1[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	mov	edx, DWORD PTR -244[rbp]
	add	edx, 1
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*4]
	lea	rdx, KIDX1[rip]
	mov	edx, DWORD PTR [rsi+rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	lea	rdx, -240[rbp]
	lea	rdi, [rdx+rsi]
	mov	rdx, rax
	mov	esi, ecx
	call	RotBlock
	mov	eax, DWORD PTR -244[rbp]
	sal	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -280[rbp]
	add	rdx, rax
	lea	rax, -240[rbp]
	sub	rax, -128
	mov	rsi, rdx
	mov	rdi, rax
	call	WordByte
	add	DWORD PTR -244[rbp], 2
.L26:
	cmp	DWORD PTR -244[rbp], 25
	jle	.L27
	jmp	.L32
.L25:
	lea	rdx, -80[rbp]
	add	rdx, 48
	lea	rcx, -80[rbp]
	add	rcx, 16
	lea	rax, -80[rbp]
	add	rax, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	lea	rdx, -80[rbp]
	add	rdx, 56
	lea	rcx, SIGMA[rip+32]
	lea	rax, -80[rbp]
	add	rax, 48
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -80[rbp]
	add	rdx, 48
	lea	rcx, SIGMA[rip+40]
	lea	rax, -80[rbp]
	add	rax, 56
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	lea	rdx, -240[rbp]
	add	rdx, 64
	lea	rax, -80[rbp]
	add	rax, 16
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	lea	rdx, -240[rbp]
	add	rdx, 96
	lea	rax, -80[rbp]
	add	rax, 48
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	mov	DWORD PTR -244[rbp], 0
	jmp	.L29
.L30:
	lea	rax, -240[rbp]
	sub	rax, -128
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, KSFT2[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	mov	edx, DWORD PTR -244[rbp]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*4]
	lea	rdx, KIDX2[rip]
	mov	edx, DWORD PTR [rsi+rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	lea	rdx, -240[rbp]
	lea	rdi, [rdx+rsi]
	mov	rdx, rax
	mov	esi, ecx
	call	RotBlock
	lea	rax, -240[rbp]
	add	rax, 144
	mov	edx, DWORD PTR -244[rbp]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, KSFT2[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	mov	edx, DWORD PTR -244[rbp]
	add	edx, 1
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*4]
	lea	rdx, KIDX2[rip]
	mov	edx, DWORD PTR [rsi+rdx]
	movsx	rdx, edx
	lea	rsi, 0[0+rdx*8]
	lea	rdx, -240[rbp]
	lea	rdi, [rdx+rsi]
	mov	rdx, rax
	mov	esi, ecx
	call	RotBlock
	mov	eax, DWORD PTR -244[rbp]
	sal	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -280[rbp]
	add	rdx, rax
	lea	rax, -240[rbp]
	sub	rax, -128
	mov	rsi, rdx
	mov	rdi, rax
	call	WordByte
	add	DWORD PTR -244[rbp], 2
.L29:
	cmp	DWORD PTR -244[rbp], 33
	jle	.L30
.L32:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Camellia_Ekeygen, .-Camellia_Ekeygen
	.globl	Camellia_Encrypt
	.type	Camellia_Encrypt, @function
Camellia_Encrypt:
.LFB2:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rdx, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	add	DWORD PTR -4[rbp], 1
.L34:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L35
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 72[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 64[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
	mov	DWORD PTR -4[rbp], 0
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 80[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 88[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	add	DWORD PTR -4[rbp], 1
.L36:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L37
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 136[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 128[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
	mov	DWORD PTR -4[rbp], 0
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 144[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 152[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	add	DWORD PTR -4[rbp], 1
.L38:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L39
	cmp	DWORD PTR -20[rbp], 128
	jne	.L40
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	SwapHalf
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 192[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	jmp	.L44
.L40:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 200[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 192[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
	mov	DWORD PTR -4[rbp], 0
	jmp	.L42
.L43:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 208[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 216[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	add	DWORD PTR -4[rbp], 1
.L42:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L43
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	SwapHalf
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 256[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
.L44:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Camellia_Encrypt, .-Camellia_Encrypt
	.globl	Camellia_Decrypt
	.type	Camellia_Decrypt, @function
Camellia_Decrypt:
.LFB3:
	.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -20[rbp], 128
	jne	.L46
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 192[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 256[rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	mov	DWORD PTR -4[rbp], 2
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 216[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 208[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	sub	DWORD PTR -4[rbp], 1
.L48:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L49
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 192[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 200[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
.L47:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 152[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 144[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	sub	DWORD PTR -4[rbp], 1
.L50:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L51
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 128[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 136[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
	mov	DWORD PTR -4[rbp], 2
	jmp	.L52
.L53:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 88[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 80[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	sub	DWORD PTR -4[rbp], 1
.L52:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L53
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 64[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 72[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_FLlayer
	mov	DWORD PTR -4[rbp], 2
	jmp	.L54
.L55:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	Camellia_Feistel
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 4
	cdqe
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 8[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rdi, rcx
	call	Camellia_Feistel
	sub	DWORD PTR -4[rbp], 1
.L54:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L55
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	SwapHalf
	mov	rdx, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XorBlock
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	Camellia_Decrypt, .-Camellia_Decrypt
	.globl	Camellia_Feistel
	.type	Camellia_Feistel, @function
Camellia_Feistel:
.LFB4:
	.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	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -16[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	shr	al, 7
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	add	eax, eax
	xor	eax, ecx
	mov	BYTE PTR -15[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	shr	al
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 7
	xor	eax, ecx
	mov	BYTE PTR -14[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	lea	ecx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	shr	al, 7
	movzx	eax, al
	xor	eax, ecx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -13[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	shr	al, 7
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	add	eax, eax
	xor	eax, ecx
	mov	BYTE PTR -12[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	shr	al
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movzx	eax, al
	sal	eax, 7
	xor	eax, ecx
	mov	BYTE PTR -11[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	lea	ecx, [rax+rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 6
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	shr	al, 7
	movzx	eax, al
	xor	eax, ecx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -10[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 7
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 7
	movzx	eax, BYTE PTR [rax]
	xor	eax, edx
	movzx	eax, al
	cdqe
	lea	rdx, SBOX[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -16[rbp]
	movzx	edx, BYTE PTR -14[rbp]
	xor	ecx, edx
	movzx	edx, BYTE PTR -13[rbp]
	xor	ecx, edx
	movzx	edx, BYTE PTR -11[rbp]
	xor	ecx, edx
	movzx	edx, BYTE PTR -10[rbp]
	xor	ecx, edx
	movzx	edx, BYTE PTR -9[rbp]
	xor	edx, ecx
	xor	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -16[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -13[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -10[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -9[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -16[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -14[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -11[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -9[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -15[rbp]
	movzx	eax, BYTE PTR -14[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -13[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -11[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -10[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -16[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -11[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -10[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -9[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 5
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -15[rbp]
	movzx	eax, BYTE PTR -14[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -10[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -9[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 5
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 6
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -14[rbp]
	movzx	eax, BYTE PTR -13[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -11[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -9[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 6
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 7
	movzx	edx, BYTE PTR [rax]
	movzx	ecx, BYTE PTR -16[rbp]
	movzx	eax, BYTE PTR -13[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -12[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -11[rbp]
	xor	ecx, eax
	movzx	eax, BYTE PTR -10[rbp]
	xor	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 7
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	Camellia_Feistel, .-Camellia_Feistel
	.globl	Camellia_FLlayer
	.type	Camellia_FLlayer, @function
Camellia_FLlayer:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -112[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ByteWord
	mov	rdx, QWORD PTR -104[rbp]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	and	rax, rcx
	lea	rsi, [rax+rax]
	mov	rcx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -80[rbp]
	and	rax, rcx
	shr	rax, 31
	xor	rax, rsi
	xor	rax, rdx
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rcx, QWORD PTR -104[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	or	rdx, rcx
	xor	rax, rdx
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	or	rdx, rcx
	xor	rax, rdx
	mov	QWORD PTR -96[rbp], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -48[rbp]
	and	rax, rcx
	lea	rsi, [rax+rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -48[rbp]
	and	rax, rcx
	shr	rax, 31
	xor	rax, rsi
	xor	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	WordByte
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	Camellia_FLlayer, .-Camellia_FLlayer
	.globl	ByteWord
	.type	ByteWord, @function
ByteWord:
.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	DWORD PTR -4[rbp], 0
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 24
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 16
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rcx, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 8
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rsi
	add	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -4[rbp], 1
.L61:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L62
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ByteWord, .-ByteWord
	.globl	WordByte
	.type	WordByte, @function
WordByte:
.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	DWORD PTR -4[rbp], 0
	jmp	.L64
.L65:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	shr	rax, 24
	mov	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	shr	rax, 16
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	shr	rax, 8
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rcx, 2[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 2
	cdqe
	lea	rcx, 3[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L64:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L65
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	WordByte, .-WordByte
	.globl	RotBlock
	.type	RotBlock, @function
RotBlock:
.LFB8:
	.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	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 31
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L67
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	ecx, eax
	sal	rsi, cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	add	eax, 1
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, 32
	sub	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	xor	rsi, rax
	mov	rdx, rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	add	eax, 1
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	rsi, rdx
	mov	ecx, eax
	sal	rsi, cl
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	add	eax, 2
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, 32
	sub	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	xor	rdx, rsi
	mov	QWORD PTR [rax], rdx
	jmp	.L69
.L67:
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 5
	add	eax, 1
	cdqe
	and	eax, 3
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, 8
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
.L69:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	RotBlock, .-RotBlock
	.globl	SwapHalf
	.type	SwapHalf, @function
SwapHalf:
.LFB9:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 8
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 8
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -5[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L71:
	cmp	DWORD PTR -4[rbp], 7
	jle	.L72
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	SwapHalf, .-SwapHalf
	.globl	XorBlock
	.type	XorBlock, @function
XorBlock:
.LFB10:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L74
.L75:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
.L74:
	cmp	DWORD PTR -4[rbp], 15
	jle	.L75
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	XorBlock, .-XorBlock
	.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	"473302.c"
	.text
	.global	SIGMA
	.section	.rodata
	.align	2
	.type	SIGMA, %object
	.size	SIGMA, 48
SIGMA:
	.ascii	"\240\236f\177;\314\220\213\266z\350XL\252s\262\306\357"
	.ascii	"7/\351O\202\276T\377S\245\361\323o\034\020\345'\372"
	.ascii	"\336h-\035\260V\210\302\263\346\301\375"
	.global	KSFT1
	.align	2
	.type	KSFT1, %object
	.size	KSFT1, 104
KSFT1:
	.word	0
	.word	64
	.word	0
	.word	64
	.word	15
	.word	79
	.word	15
	.word	79
	.word	30
	.word	94
	.word	45
	.word	109
	.word	45
	.word	124
	.word	60
	.word	124
	.word	77
	.word	13
	.word	94
	.word	30
	.word	94
	.word	30
	.word	111
	.word	47
	.word	111
	.word	47
	.global	KIDX1
	.align	2
	.type	KIDX1, %object
	.size	KIDX1, 104
KIDX1:
	.word	0
	.word	0
	.word	4
	.word	4
	.word	0
	.word	0
	.word	4
	.word	4
	.word	4
	.word	4
	.word	0
	.word	0
	.word	4
	.word	0
	.word	4
	.word	4
	.word	0
	.word	0
	.word	0
	.word	0
	.word	4
	.word	4
	.word	0
	.word	0
	.word	4
	.word	4
	.global	KSFT2
	.align	2
	.type	KSFT2, %object
	.size	KSFT2, 136
KSFT2:
	.word	0
	.word	64
	.word	0
	.word	64
	.word	15
	.word	79
	.word	15
	.word	79
	.word	30
	.word	94
	.word	30
	.word	94
	.word	45
	.word	109
	.word	45
	.word	109
	.word	60
	.word	124
	.word	60
	.word	124
	.word	60
	.word	124
	.word	77
	.word	13
	.word	77
	.word	13
	.word	94
	.word	30
	.word	94
	.word	30
	.word	111
	.word	47
	.word	111
	.word	47
	.global	KIDX2
	.align	2
	.type	KIDX2, %object
	.size	KIDX2, 136
KIDX2:
	.word	0
	.word	0
	.word	12
	.word	12
	.word	8
	.word	8
	.word	4
	.word	4
	.word	8
	.word	8
	.word	12
	.word	12
	.word	0
	.word	0
	.word	4
	.word	4
	.word	0
	.word	0
	.word	8
	.word	8
	.word	12
	.word	12
	.word	0
	.word	0
	.word	4
	.word	4
	.word	8
	.word	8
	.word	4
	.word	4
	.word	0
	.word	0
	.word	12
	.word	12
	.global	SBOX
	.align	2
	.type	SBOX, %object
	.size	SBOX, 256
SBOX:
	.ascii	"p\202,\354\263'\300\345\344\205W5\352\014\256A#\357"
	.ascii	"k\223E\031\245!\355\016ON\035e\222\275\206\270\257\217"
	.ascii	"|\353\037\316>0\334_^\305\013\032\246\3419\312\325G"
	.ascii	"]=\331\001Z\326QVlM\213\015\232f\373\314\260-t\022+"
	.ascii	" \360\261\204\231\337L\313\3024~v\005m\267\2511\321"
	.ascii	"\027\004\327\024X:a\336\033\021\0342\017\234\026S\030"
	.ascii	"\362\"\376D\317\262\303\265z\221$\010\350\250`\374i"
	.ascii	"P\252\320\240}\241\211b\227T[\036\225\340\377d\322\020"
	.ascii	"\304\000H\243\367u\333\212\003\346\332\011?\335\224"
	.ascii	"\207\\\203\002\315J\2203sg\366\363\235\177\277\342R"
	.ascii	"\233\330&\3107\306;\201\226oK\023\276c.\351y\247\214"
	.ascii	"\237n\274\216)\365\371\266/\375\264Yx\230\006j\347F"
	.ascii	"q\272\324%\253B\210\242\215\372r\007\271U\370\356\254"
	.ascii	"\0126I*h<8\361\244@(\323{\273\311C\301\025\343\255\364"
	.ascii	"w\307\200\236"
	.align	2
.LC2:
	.ascii	"Plaintext  \000"
	.align	2
.LC3:
	.ascii	"%02x \000"
	.align	2
.LC4:
	.ascii	"\012%dbit Key \000"
	.align	2
.LC5:
	.ascii	"Ciphertext \000"
	.align	2
.LC0:
	.ascii	"\001#Eg\211\253\315\357\376\334\272\230vT2\020"
	.align	2
.LC1:
	.ascii	"\001#Eg\211\253\315\357\376\334\272\230vT2\020\000\021"
	.ascii	"\"3DUfw\210\231\252\273\314\335\356\377"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 368
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #368
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #128
	str	r3, [fp, #-364]
	ldr	r3, .L11+4
	sub	ip, fp, #360
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L11+8
	sub	ip, fp, #312
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, .L11+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L2
.L3:
	sub	r2, fp, #360
	ldr	r3, [fp, #-368]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L2:
	ldr	r3, [fp, #-368]
	cmp	r3, #15
	ble	.L3
	ldr	r1, [fp, #-364]
	ldr	r0, .L11+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L4
.L5:
	sub	r2, fp, #312
	ldr	r3, [fp, #-368]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L4:
	ldr	r3, [fp, #-364]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-368]
	cmp	r3, r2
	blt	.L5
	mov	r0, #10
	bl	putchar
	sub	r2, fp, #280
	sub	r3, fp, #312
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	Camellia_Ekeygen
	sub	r3, fp, #344
	sub	r2, fp, #280
	sub	r1, fp, #360
	ldr	r0, [fp, #-364]
	bl	Camellia_Encrypt
	ldr	r0, .L11+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L6
.L7:
	sub	r2, fp, #344
	ldr	r3, [fp, #-368]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L6:
	ldr	r3, [fp, #-368]
	cmp	r3, #15
	ble	.L7
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #328
	sub	r2, fp, #280
	sub	r1, fp, #344
	ldr	r0, [fp, #-364]
	bl	Camellia_Decrypt
	ldr	r0, .L11+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L8
.L9:
	sub	r2, fp, #328
	ldr	r3, [fp, #-368]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L11+16
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L8:
	ldr	r3, [fp, #-368]
	cmp	r3, #15
	ble	.L9
	mov	r0, #10
	bl	putchar
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Camellia_Ekeygen
	.syntax unified
	.arm
	.fpu softvfp
	.type	Camellia_Ekeygen, %function
Camellia_Ekeygen:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-160]
	cmp	r3, #128
	bne	.L14
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L15
.L16:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #72
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L15:
	ldr	r3, [fp, #-156]
	cmp	r3, #15
	ble	.L16
	mov	r3, #16
	str	r3, [fp, #-156]
	b	.L17
.L18:
	sub	r2, fp, #72
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L17:
	ldr	r3, [fp, #-156]
	cmp	r3, #31
	ble	.L18
	b	.L19
.L14:
	ldr	r3, [fp, #-160]
	cmp	r3, #192
	bne	.L20
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L21
.L22:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #72
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L21:
	ldr	r3, [fp, #-156]
	cmp	r3, #23
	ble	.L22
	mov	r3, #24
	str	r3, [fp, #-156]
	b	.L23
.L24:
	ldr	r3, [fp, #-156]
	sub	r3, r3, #8
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mvn	r3, r3
	and	r1, r3, #255
	sub	r2, fp, #72
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L23:
	ldr	r3, [fp, #-156]
	cmp	r3, #31
	ble	.L24
	b	.L19
.L20:
	ldr	r3, [fp, #-160]
	cmp	r3, #256
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L25
.L26:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-164]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #72
	ldr	r3, [fp, #-156]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L25:
	ldr	r3, [fp, #-156]
	cmp	r3, #31
	ble	.L26
.L19:
	sub	r3, fp, #72
	add	r3, r3, #16
	sub	r2, fp, #72
	add	r2, r2, #32
	sub	r0, fp, #72
	mov	r1, r3
	bl	XorBlock
	sub	r3, fp, #72
	add	r3, r3, #32
	sub	r2, fp, #72
	add	r2, r2, #40
	ldr	r1, .L35+4
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r3, fp, #72
	add	r3, r3, #40
	ldr	r1, .L35+8
	sub	r2, fp, #72
	add	r2, r2, #32
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r3, fp, #72
	add	r3, r3, #32
	sub	r2, fp, #72
	add	r2, r2, #32
	sub	r1, fp, #72
	mov	r0, r3
	bl	XorBlock
	sub	r3, fp, #72
	add	r3, r3, #32
	ldr	r1, .L35+12
	sub	r2, fp, #72
	add	r2, r2, #40
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r3, fp, #72
	add	r3, r3, #40
	ldr	r1, .L35+16
	sub	r2, fp, #72
	add	r2, r2, #32
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r2, fp, #152
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	ByteWord
	sub	r3, fp, #72
	add	r3, r3, #32
	sub	r2, fp, #152
	add	r2, r2, #16
	mov	r1, r2
	mov	r0, r3
	bl	ByteWord
	ldr	r3, [fp, #-160]
	cmp	r3, #128
	bne	.L27
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L28
.L29:
	ldr	r2, .L35+20
	ldr	r3, [fp, #-156]
	ldr	r3, [r2, r3, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #152
	add	r0, r2, r3
	ldr	r2, .L35+24
	ldr	r3, [fp, #-156]
	ldr	r1, [r2, r3, lsl #2]
	sub	r3, fp, #152
	add	r3, r3, #64
	mov	r2, r3
	bl	RotBlock
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	ldr	r2, .L35+20
	ldr	r3, [r2, r3, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #152
	add	r0, r2, r3
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	ldr	r2, .L35+24
	ldr	r1, [r2, r3, lsl #2]
	sub	r3, fp, #152
	add	r3, r3, #72
	mov	r2, r3
	bl	RotBlock
	sub	r3, fp, #152
	add	r3, r3, #64
	ldr	r2, [fp, #-156]
	lsl	r2, r2, #3
	mov	r1, r2
	ldr	r2, [fp, #-168]
	add	r2, r2, r1
	mov	r1, r2
	mov	r0, r3
	bl	WordByte
	ldr	r3, [fp, #-156]
	add	r3, r3, #2
	str	r3, [fp, #-156]
.L28:
	ldr	r3, [fp, #-156]
	cmp	r3, #25
	ble	.L29
	b	.L34
.L27:
	sub	r3, fp, #72
	add	r3, r3, #32
	sub	r1, fp, #72
	add	r1, r1, #16
	sub	r2, fp, #72
	add	r2, r2, #48
	mov	r0, r3
	bl	XorBlock
	sub	r3, fp, #72
	add	r3, r3, #48
	ldr	r1, .L35+28
	sub	r2, fp, #72
	add	r2, r2, #56
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r3, fp, #72
	add	r3, r3, #56
	ldr	r1, .L35+32
	sub	r2, fp, #72
	add	r2, r2, #48
	mov	r0, r3
	bl	Camellia_Feistel
	sub	r3, fp, #72
	add	r3, r3, #16
	sub	r2, fp, #152
	add	r2, r2, #32
	mov	r1, r2
	mov	r0, r3
	bl	ByteWord
	sub	r3, fp, #72
	add	r3, r3, #48
	sub	r2, fp, #152
	add	r2, r2, #48
	mov	r1, r2
	mov	r0, r3
	bl	ByteWord
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L31
.L32:
	ldr	r2, .L35+36
	ldr	r3, [fp, #-156]
	ldr	r3, [r2, r3, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #152
	add	r0, r2, r3
	ldr	r2, .L35+40
	ldr	r3, [fp, #-156]
	ldr	r1, [r2, r3, lsl #2]
	sub	r3, fp, #152
	add	r3, r3, #64
	mov	r2, r3
	bl	RotBlock
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	ldr	r2, .L35+36
	ldr	r3, [r2, r3, lsl #2]
	lsl	r3, r3, #2
	sub	r2, fp, #152
	add	r0, r2, r3
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	ldr	r2, .L35+40
	ldr	r1, [r2, r3, lsl #2]
	sub	r3, fp, #152
	add	r3, r3, #72
	mov	r2, r3
	bl	RotBlock
	sub	r3, fp, #152
	add	r3, r3, #64
	ldr	r2, [fp, #-156]
	lsl	r2, r2, #3
	mov	r1, r2
	ldr	r2, [fp, #-168]
	add	r2, r2, r1
	mov	r1, r2
	mov	r0, r3
	bl	WordByte
	ldr	r3, [fp, #-156]
	add	r3, r3, #2
	str	r3, [fp, #-156]
.L31:
	ldr	r3, [fp, #-156]
	cmp	r3, #33
	ble	.L32
.L34:
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC7
	.word	SIGMA
	.word	SIGMA+8
	.word	SIGMA+16
	.word	SIGMA+24
	.word	KIDX1
	.word	KSFT1
	.word	SIGMA+32
	.word	SIGMA+40
	.word	KIDX2
	.word	KSFT2
	.size	Camellia_Ekeygen, .-Camellia_Ekeygen
	.align	2
	.global	Camellia_Encrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	Camellia_Encrypt, %function
Camellia_Encrypt:
	@ 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]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-20]
	bl	XorBlock
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L38
.L39:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #16
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #24
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L39
	ldr	r3, [fp, #-24]
	add	r1, r3, #64
	ldr	r3, [fp, #-24]
	add	r3, r3, #72
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #80
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #88
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L41
	ldr	r3, [fp, #-24]
	add	r1, r3, #128
	ldr	r3, [fp, #-24]
	add	r3, r3, #136
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L42
.L43:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #144
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #152
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L42:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L43
	ldr	r3, [fp, #-16]
	cmp	r3, #128
	bne	.L44
	ldr	r0, [fp, #-28]
	bl	SwapHalf
	ldr	r3, [fp, #-24]
	add	r3, r3, #192
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	XorBlock
	b	.L48
.L44:
	ldr	r3, [fp, #-24]
	add	r1, r3, #192
	ldr	r3, [fp, #-24]
	add	r3, r3, #200
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L46
.L47:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #208
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #216
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L47
	ldr	r0, [fp, #-28]
	bl	SwapHalf
	ldr	r3, [fp, #-24]
	add	r3, r3, #256
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	XorBlock
.L48:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Camellia_Encrypt, .-Camellia_Encrypt
	.align	2
	.global	Camellia_Decrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	Camellia_Decrypt, %function
Camellia_Decrypt:
	@ 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]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r3, #128
	bne	.L50
	ldr	r3, [fp, #-24]
	add	r3, r3, #192
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	XorBlock
	b	.L51
.L50:
	ldr	r3, [fp, #-24]
	add	r3, r3, #256
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	XorBlock
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L52
.L53:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #216
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #208
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L52:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L53
	ldr	r3, [fp, #-24]
	add	r1, r3, #200
	ldr	r3, [fp, #-24]
	add	r3, r3, #192
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
.L51:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L54
.L55:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #152
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #144
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L54:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L55
	ldr	r3, [fp, #-24]
	add	r1, r3, #136
	ldr	r3, [fp, #-24]
	add	r3, r3, #128
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L56
.L57:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #88
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #80
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L57
	ldr	r3, [fp, #-24]
	add	r1, r3, #72
	ldr	r3, [fp, #-24]
	add	r3, r3, #64
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_FLlayer
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L58
.L59:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #24
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r0, [fp, #-28]
	bl	Camellia_Feistel
	ldr	r3, [fp, #-28]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r3, #16
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	Camellia_Feistel
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L59
	ldr	r0, [fp, #-28]
	bl	SwapHalf
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	XorBlock
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Camellia_Decrypt, .-Camellia_Decrypt
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Camellia_Feistel
	.syntax unified
	.arm
	.fpu softvfp
	.type	Camellia_Feistel, %function
Camellia_Feistel:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	strb	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-15]
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-24]
	add	r3, r3, #3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r2, r2, #3
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	add	r2, r2, #3
	ldrb	r2, [r2]	@ zero_extendqisi2
	eor	r2, r2, r1
	and	r2, r2, #255
	lsr	r2, r2, #7
	and	r2, r2, #255
	eor	r3, r3, r2
	and	r3, r3, #255
	ldr	r2, .L62+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsr	r3, r3, #7
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	add	r3, r3, #5
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	add	r3, r3, #5
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r1]	@ zero_extendqisi2
	lsl	r3, r3, #7
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	strb	r3, [fp, #-11]
	ldr	r3, [fp, #-24]
	add	r3, r3, #6
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	lsl	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r2, r2, #6
	ldrb	r1, [r2]	@ zero_extendqisi2
	ldr	r2, [fp, #-28]
	add	r2, r2, #6
	ldrb	r2, [r2]	@ zero_extendqisi2
	eor	r2, r2, r1
	and	r2, r2, #255
	lsr	r2, r2, #7
	and	r2, r2, #255
	eor	r3, r3, r2
	and	r3, r3, #255
	ldr	r2, .L62+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	strb	r3, [fp, #-10]
	ldr	r3, [fp, #-24]
	add	r3, r3, #7
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #7
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L62+4
	ldrb	r3, [r3, r2]	@ zero_extendqisi2
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-32]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r1, [fp, #-16]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r1, r3, #255
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r1, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r1, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r1, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r1
	and	r3, r3, #255
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #4
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #5
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-14]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #-16]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r2, r3, #255
	ldr	r3, [fp, #-32]
	add	r3, r3, #7
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	nop
	ldr	r3, .L62
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L61
	bl	__stack_chk_fail
.L61:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC8
	.word	SBOX
	.size	Camellia_Feistel, .-Camellia_Feistel
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Camellia_FLlayer
	.syntax unified
	.arm
	.fpu softvfp
	.type	Camellia_FLlayer, %function
Camellia_FLlayer:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	ByteWord
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-68]
	bl	ByteWord
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	ByteWord
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-56]
	ldr	r3, [fp, #-40]
	and	r3, r3, r1
	ror	r3, r3, #31
	eor	r3, r3, r2
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-36]
	orr	r3, r1, r3
	eor	r3, r3, r2
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-20]
	orr	r3, r1, r3
	eor	r3, r3, r2
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-48]
	ldr	r3, [fp, #-24]
	and	r3, r3, r1
	ror	r3, r3, #31
	eor	r3, r3, r2
	str	r3, [fp, #-44]
	sub	r3, fp, #56
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	WordByte
	nop
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC9
	.size	Camellia_FLlayer, .-Camellia_FLlayer
	.align	2
	.global	ByteWord
	.syntax unified
	.arm
	.fpu softvfp
	.type	ByteWord, %function
ByteWord:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L69
.L70:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #1
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	add	r2, r2, r0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L69:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L70
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ByteWord, .-ByteWord
	.align	2
	.global	WordByte
	.syntax unified
	.arm
	.fpu softvfp
	.type	WordByte, %function
WordByte:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L72
.L73:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #1
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L72:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L73
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	WordByte, .-WordByte
	.align	2
	.global	RotBlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	RotBlock, %function
RotBlock:
	@ 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, #-20]
	and	r3, r3, #31
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r2, r2, r3
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	add	r3, r3, #1
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #32
	lsr	r3, r1, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	add	r3, r3, #1
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r1, r2, r3
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	add	r3, r3, #2
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #32
	lsr	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	eor	r2, r2, r1
	str	r2, [r3]
	b	.L77
.L75:
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	asr	r3, r3, #5
	add	r3, r3, #1
	and	r3, r3, #3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	ldr	r2, [r2]
	str	r2, [r3]
.L77:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RotBlock, .-RotBlock
	.align	2
	.global	SwapHalf
	.syntax unified
	.arm
	.fpu softvfp
	.type	SwapHalf, %function
SwapHalf:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L79
.L80:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L79:
	ldr	r3, [fp, #-8]
	cmp	r3, #7
	ble	.L80
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	SwapHalf, .-SwapHalf
	.align	2
	.global	XorBlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	XorBlock, %function
XorBlock:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L82
.L83:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	ldr	r0, [fp, #-24]
	add	r3, r0, r3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L82:
	ldr	r3, [fp, #-8]
	cmp	r3, #15
	ble	.L83
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	XorBlock, .-XorBlock
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
