	.file	"145452426.c"
	.intel_syntax noprefix
	.text
	.globl	sbox
	.data
	.align 32
	.type	sbox, @object
	.size	sbox, 256
sbox:
	.string	"c|w{\362ko\3050\001g+\376\327\253v\312\202\311}\372YG\360\255\324\242\257\234\244r\300\267\375\223&6?\367\3144\245\345\361q\3301\025\004\307#\303\030\226\005\232\007\022\200\342\353'\262u\t\203,\032\033nZ\240R;\326\263)\343/\204S\321"
	.ascii	"\355 \374\261[j\313\2769JLX\317\320\357\252\373CM3\205E\371\002"
	.ascii	"\177P<\237\250Q\243@\217\222\2358\365\274\266\332!\020\377\363"
	.ascii	"\322\315\f\023\354_\227D\027\304\247~=d]\031s`\201O\334\"*\220"
	.ascii	"\210F\356\270\024\336^\013\333\3402:\nI\006$\\\302\323\254b\221"
	.ascii	"\225\344y\347\3107m\215\325N\251lV\364\352ez\256\b\272x%.\034"
	.ascii	"\246\264\306\350\335t\037K\275\213\212p>\265fH\003\366\016a5"
	.ascii	"W\271\206\301\035\236\341\370\230\021i\331\216\224\233\036\207"
	.ascii	"\351\316U(\337\214\241\211\r\277\346BhA\231-\017\260T\273\026"
	.globl	roundkeys
	.align 32
	.type	roundkeys, @object
	.size	roundkeys, 176
roundkeys:
	.string	""
	.ascii	"\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
	.ascii	"\326\252t\375\322\257r\372\332\246x\361\326\253v\376"
	.string	"\266\222\317\013d=\275\361\276\233\305"
	.ascii	"h0\263\376"
	.ascii	"\266\377tN\322\302\311\277lY\f\277\004i\277A"
	.ascii	"G\367\367\274\2255>\003\371l2\274\375\005\215\375"
	.ascii	"<\252\243\350\251\237\235\353P\363\257W\255\366\"\252"
	.ascii	"^9\017}\367\246\222\226\247U=\301\n\243\037k"
	.ascii	"\024\371p\032\343_\342\214D\n\337MN\251\300&"
	.ascii	"GC\2075\244\034e\271\340\026\272\364\256\277z\322"
	.ascii	"T\2312\321\360\205Wh\020\223\355\234\276,\227N"
	.ascii	"\023\021\035\177\343\224J\027\363\007\247\213M+0\305"
	.globl	fixedKey
	.align 32
	.type	fixedKey, @object
	.size	fixedKey, 32
fixedKey:
	.string	""
	.string	"\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
	.ascii	"\001\002\003\004\005\006\007\b\t\n\013\f\r\016\017"
	.globl	T0
	.align 8
	.type	T0, @object
	.size	T0, 8
T0:
	.quad	1094795585
	.globl	T1
	.align 8
	.type	T1, @object
	.size	T1, 8
T1:
	.quad	1094795585
	.globl	T2
	.align 8
	.type	T2, @object
	.size	T2, 8
T2:
	.quad	1094795585
	.globl	T3
	.align 8
	.type	T3, @object
	.size	T3, 8
T3:
	.quad	1094795585
	.globl	_printf
	.align 8
	.type	_printf, @object
	.size	_printf, 8
_printf:
	.quad	1609776293
	.globl	_snprintf
	.align 8
	.type	_snprintf, @object
	.size	_snprintf, 8
_snprintf:
	.quad	1609777757
	.globl	_malloc
	.align 8
	.type	_malloc, @object
	.size	_malloc, 8
_malloc:
	.quad	1609663949
	.globl	_free
	.align 8
	.type	_free, @object
	.size	_free, 8
_free:
	.quad	1609664129
	.globl	aes_crypto_cmd
	.align 8
	.type	aes_crypto_cmd, @object
	.size	aes_crypto_cmd, 8
aes_crypto_cmd:
	.quad	1609697453
	.globl	uart_getc
	.align 8
	.type	uart_getc, @object
	.size	uart_getc, 8
uart_getc:
	.quad	1609647945
	.globl	uart_puts
	.align 8
	.type	uart_puts, @object
	.size	uart_puts, 8
uart_puts:
	.quad	1609647917
	.globl	gpio_read
	.align 8
	.type	gpio_read, @object
	.size	gpio_read, 8
gpio_read:
	.quad	1609574249
	.globl	gpio_write
	.align 8
	.type	gpio_write, @object
	.size	gpio_write, 8
gpio_write:
	.quad	1609574289
	.globl	gpio_configure
	.align 8
	.type	gpio_configure, @object
	.size	gpio_configure, 8
gpio_configure:
	.quad	1609574413
	.globl	watchdog_tickle
	.align 8
	.type	watchdog_tickle, @object
	.size	watchdog_tickle, 8
watchdog_tickle:
	.quad	1609693325
	.globl	env_set
	.align 8
	.type	env_set, @object
	.size	env_set, 8
env_set:
	.quad	1609658097
	.globl	env_get_uint
	.align 8
	.type	env_get_uint, @object
	.size	env_get_uint, 8
env_get_uint:
	.quad	1609657693
	.globl	ibec_cmd_struct_pointer
	.align 8
	.type	ibec_cmd_struct_pointer, @object
	.size	ibec_cmd_struct_pointer, 8
ibec_cmd_struct_pointer:
	.quad	1609690428
#APP
	b _reposition
	.skip 0x100
	
#NO_APP
	.text
	.globl	reposition
	.type	reposition, @function
reposition:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR _malloc[rip]
	mov	edi, 24576
	call	rax
	mov	QWORD PTR -24[rbp], rax
	add	QWORD PTR -24[rbp], 4096
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, eax
	and	eax, 4294963200
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 20480
	mov	esi, 1073741824
	mov	rdi, rax
	call	memmove
	lea	rax, main[rip]
	mov	QWORD PTR -16[rbp], rax
	sub	QWORD PTR -16[rbp], 1073741824
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, eax
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	or	eax, 1
	mov	eax, eax
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 0
	call	clear_icache
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, 0
	call	rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	reposition, .-reposition
	.section	.rodata
.LC0:
	.string	"Initializing GIDO!\n"
.LC1:
	.string	"echo"
.LC2:
	.string	"echo something to console"
.LC3:
	.string	"aes"
.LC4:
	.string	"aes talk to aes engin"
.LC5:
	.string	"md"
.LC6:
	.string	"dump memory"
.LC7:
	.string	"decrypt"
.LC8:
	.string	"decrypt AES hook"
.LC9:
	.string	"mw"
.LC10:
	.string	"write memory"
.LC11:
	.string	"call"
.LC12:
	.string	"call function"
.LC13:
	.string	"measure"
.LC14:
	.string	"switch to measure mode"
	.align 8
.LC15:
	.string	"reconfiguring VOL_DOWN button ... "
.LC16:
	.string	"ok\n"
.LC17:
	.string	"precompute TTables ... "
.LC18:
	.string	"Done GIDO!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -64[rbp], 0
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	rdx
	mov	QWORD PTR -56[rbp], 1609832896
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, .LC1[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, cmd_echo[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, .LC2[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -48[rbp], 1609832912
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, .LC3[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, aes_cmd[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, .LC4[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -40[rbp], 1609834876
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, .LC5[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, cmd_md[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, .LC6[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -32[rbp], 1609834780
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, .LC7[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, cmd_decypt[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, .LC8[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -24[rbp], 1609833044
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, .LC9[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, cmd_mw[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, .LC10[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -16[rbp], 1609832948
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, .LC11[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, cmd_call[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, .LC12[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	QWORD PTR -8[rbp], 1609833060
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC13[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, cmd_measure[rip]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, .LC14[rip]
	mov	QWORD PTR 16[rax], rdx
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	rdx
	mov	rax, QWORD PTR gpio_configure[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	call	aes_precompute_tables
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	call	hook_aes_func
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.globl	aes_function_hook
	.type	aes_function_hook, @function
aes_function_hook:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
#APP
# 235 "the_stack_data/145452426.c" 1
	movs r4, #0xc
	movt r4, #0xbfa0
	mov  r0, #0x92
	mov  r1, #0x93
	movw r5, #0x2000 	
movt r5, #0x8700 	
ldr r7, [r5]	
orr r7, r7, #0x1	
str r7, [r5]	
movw r6, #0x1000 	
movt r6, #0x8700 	
ldr r7, [r6]	
orr r7, r7, #0x1	
strb r1, [r4]
	str r7, [r6]	
w1:	
ldr r7, [r5]	
and r7, r7, #0x30000	
cmp r7, #0x10000	
beq w1	
strb r0, [r4]
	
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	aes_function_hook, .-aes_function_hook
	.section	.rodata
.LC19:
	.string	"hook_aes_func\n"
.LC20:
	.string	"hook_aes_func done!\n"
	.text
	.globl	hook_aes_func
	.type	hook_aes_func, @function
hook_aes_func:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	rdx
	movabs	rax, 4847245393857280223
	mov	QWORD PTR -21[rbp], rax
	mov	DWORD PTR -13[rbp], 1199587650
	mov	BYTE PTR -9[rbp], 0
	lea	rax, -21[rbp]
	add	rax, 6
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, aes_function_hook[rip]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR -48[rbp], 1609572664
	mov	QWORD PTR -32[rbp], 1609572698
	mov	DWORD PTR -52[rbp], 0
	jmp	.L6
.L7:
	lea	rdx, -21[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, WORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR [rax], dx
	add	QWORD PTR -48[rbp], 2
	add	DWORD PTR -52[rbp], 2
.L6:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 11
	jbe	.L7
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	WORD PTR [rax], -16640
.L8:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L9
	mov	eax, 0
	call	clear_icache
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	rdx
	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
.LFE9:
	.size	hook_aes_func, .-hook_aes_func
	.section	.rodata
.LC21:
	.string	"%s "
.LC22:
	.string	"\n"
.LC23:
	.string	"usage: echo <message>\n"
	.text
	.globl	cmd_echo
	.type	cmd_echo, @function
cmd_echo:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 1
	jle	.L12
	mov	DWORD PTR -4[rbp], 1
	jmp	.L13
.L14:
	mov	rdx, QWORD PTR _printf[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	rdx
	add	DWORD PTR -4[rbp], 1
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L14
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L15
.L12:
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	cmd_echo, .-cmd_echo
	.globl	bswap32
	.type	bswap32, @function
bswap32:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	and	eax, 16711680
	or	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	shr	eax, 8
	and	eax, 65280
	or	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 24
	or	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	bswap32, .-bswap32
	.section	.rodata
.LC24:
	.string	"filesize"
.LC25:
	.string	"cmd-results"
	.text
	.globl	cmd_decypt
	.type	cmd_decypt, @function
cmd_decypt:
.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, 2368
	mov	DWORD PTR -2356[rbp], edi
	mov	QWORD PTR -2368[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR env_get_uint[rip]
	mov	esi, 0
	lea	rdi, .LC24[rip]
	call	rax
	mov	QWORD PTR -2336[rbp], rax
	mov	QWORD PTR -2328[rbp], 1073741824
	mov	rax, QWORD PTR -2336[rbp]
	mov	edx, eax
	lea	rcx, -2320[rbp]
	mov	rax, QWORD PTR -2328[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	aes_decrypt_key
	mov	DWORD PTR -2340[rbp], 0
	jmp	.L19
.L24:
	mov	eax, DWORD PTR -2340[rbp]
	cdqe
	movzx	eax, BYTE PTR -2320[rbp+rax]
	mov	BYTE PTR -2341[rbp], al
	movzx	eax, BYTE PTR -2341[rbp]
	shr	al, 4
	mov	edx, eax
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	mov	ecx, edx
	movsx	rdx, eax
	mov	BYTE PTR -1552[rbp+rdx], cl
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	cmp	al, 9
	jg	.L20
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	cdqe
	mov	BYTE PTR -1552[rbp+rax], dl
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	lea	edx, 87[rax]
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	cdqe
	mov	BYTE PTR -1552[rbp+rax], dl
.L21:
	movzx	edx, BYTE PTR -2341[rbp]
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	add	eax, 1
	mov	ecx, edx
	and	ecx, 15
	movsx	rdx, eax
	mov	BYTE PTR -1552[rbp+rdx], cl
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	cmp	al, 9
	jg	.L22
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	lea	edx, 48[rax]
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	mov	BYTE PTR -1552[rbp+rax], dl
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -1552[rbp+rax]
	lea	edx, 87[rax]
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	mov	BYTE PTR -1552[rbp+rax], dl
.L23:
	mov	eax, DWORD PTR -2340[rbp]
	add	eax, 1
	add	eax, eax
	cdqe
	mov	BYTE PTR -1552[rbp+rax], 0
	add	DWORD PTR -2340[rbp], 1
.L19:
	mov	eax, DWORD PTR -2340[rbp]
	cdqe
	cmp	QWORD PTR -2336[rbp], rax
	ja	.L24
	mov	rcx, QWORD PTR env_set[rip]
	lea	rax, -1552[rbp]
	mov	edx, 0
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	rcx
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	cmd_decypt, .-cmd_decypt
	.section	.rodata
.LC26:
	.string	"error funcpointer too large\n"
	.align 8
.LC27:
	.string	"calling (0x%08x)(0x%08x,0x%08x,0x%08x,0x%08x) "
.LC28:
	.string	"reval=0x%08x (%lu)\n"
.LC29:
	.string	"usage: call <func> <args...>\n"
	.text
	.globl	cmd_call
	.type	cmd_call, @function
cmd_call:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -84[rbp], 0
	cmp	DWORD PTR -100[rbp], 1
	jle	.L28
	mov	QWORD PTR -72[rbp], 0
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 24
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -72[rbp]
	lea	rcx, -84[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	bswap32
	mov	DWORD PTR -84[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, 4
	jbe	.L29
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L35
.L29:
	mov	QWORD PTR -56[rbp], 2
	jmp	.L31
.L33:
	mov	QWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 2
	lea	rdx, -48[rbp]
	sal	rax, 2
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 2
	mov	eax, DWORD PTR -48[rbp+rax*4]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rbx, -2[rdx]
	mov	edi, eax
	call	bswap32
	mov	DWORD PTR -48[rbp+rbx*4], eax
	add	QWORD PTR -56[rbp], 1
.L31:
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, 2
	cmp	rax, 3
	ja	.L32
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jb	.L33
.L32:
	mov	r10, QWORD PTR _printf[rip]
	mov	edi, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	r10
	mov	eax, DWORD PTR -84[rbp]
	mov	eax, eax
	mov	r8, rax
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	r8
	mov	DWORD PTR -76[rbp], eax
	mov	rcx, QWORD PTR _printf[rip]
	mov	edx, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	rcx
	mov	eax, 0
	jmp	.L35
.L28:
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
.L35:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cmd_call, .-cmd_call
	.section	.rodata
.LC30:
	.string	"enter measure mode\n"
.LC31:
	.string	"disable Idle poweroff ..."
.LC32:
	.string	"END"
.LC33:
	.string	"[M] found END tag!\n"
.LC34:
	.string	"BEGIN"
.LC35:
	.string	"[M] valid command detected\n"
.LC36:
	.string	"[M] failed parsing encStr!\n"
	.align 8
.LC37:
	.string	"[M] failed parsing seeds failed!\n"
.LC38:
	.string	"[M] failed parsing encCount!\n"
.LC39:
	.string	"[M] failed parsing modeStr!\n"
.LC40:
	.string	"[M] failed parsing mode!\n"
.LC41:
	.string	"[M] invalid seedsLen="
.LC42:
	.string	"%d"
.LC43:
	.string	" but expected 32\n"
.LC44:
	.string	"[M] seed encrypt="
	.align 8
.LC45:
	.string	"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x"
.LC46:
	.string	"\n[M] seed select="
.LC47:
	.string	"\n[M] encCount="
.LC48:
	.string	"%lu\n"
.LC49:
	.string	"[M] final encrypt="
.LC50:
	.string	"\n[M] final select="
.LC51:
	.string	" but expected 48\n"
.LC52:
	.string	"\n[M] user key="
.LC53:
	.string	"\n[M] final ciphermesh="
.LC54:
	.string	"\n[M] final plainmesh="
.LC55:
	.string	" but expected 16\n"
.LC56:
	.string	"[M] bad mode="
.LC57:
	.string	"%lu"
	.align 8
.LC58:
	.string	"[M] restart (MSG: \"BEGIN<16byte enc seed><16byte sel seed> <encCount> <mode>END\")\n"
.LC59:
	.string	"exit measure mode\n"
	.text
	.globl	cmd_measure
	.type	cmd_measure, @function
cmd_measure:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 1160
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -1172[rbp], edi
	mov	QWORD PTR -1184[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC30[rip]
	mov	edi, 0
	call	rax
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 1609568104
	mov	WORD PTR [rax], 18288
	mov	eax, 0
	call	clear_icache
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 1609691144
	mov	WORD PTR [rax], 18288
	mov	eax, 0
	call	clear_icache
	jmp	.L38
.L90:
	lea	rax, -576[rbp]
	mov	edx, 512
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	QWORD PTR -1128[rbp], 0
	jmp	.L39
.L89:
	nop
.L41:
	mov	rax, QWORD PTR uart_getc[rip]
	mov	esi, 0
	mov	edi, 0
	call	rax
	mov	edx, eax
	lea	rcx, -576[rbp]
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	lea	rdx, -576[rbp]
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L40
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L41
.L40:
	cmp	QWORD PTR -1128[rbp], 4
	jbe	.L42
	mov	rax, QWORD PTR -1128[rbp]
	lea	rdx, -3[rax]
	lea	rax, -576[rbp]
	add	rax, rdx
	mov	edx, 3
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strncmp
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC33[rip]
	mov	edi, 0
	call	rax
	lea	rdx, -576[rbp]
	mov	rax, QWORD PTR -1128[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	QWORD PTR -1128[rbp], 10
	jbe	.L93
	lea	rax, -576[rbp]
	mov	edx, 5
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strncmp
	test	eax, eax
	jne	.L93
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC35[rip]
	mov	edi, 0
	call	rax
	mov	QWORD PTR -1136[rbp], 0
	movabs	rax, 506097522914230528
	movabs	rdx, 1084818905618843912
	mov	QWORD PTR -992[rbp], rax
	mov	QWORD PTR -984[rbp], rdx
	mov	DWORD PTR -1140[rbp], 0
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	lea	rax, -576[rbp]
	add	rax, 5
	mov	QWORD PTR -1120[rbp], rax
	jmp	.L44
.L46:
	mov	rax, QWORD PTR -1120[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC36[rip]
	mov	edi, 0
	call	rax
	jmp	.L45
.L44:
	add	QWORD PTR -1120[rbp], 1
	mov	rax, QWORD PTR -1120[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L46
.L45:
	mov	rax, QWORD PTR -1120[rbp]
	mov	BYTE PTR [rax], 0
	lea	rdx, -1136[rbp]
	lea	rax, -1040[rbp]
	lea	rcx, -576[rbp]
	add	rcx, 5
	mov	rsi, rax
	mov	rdi, rcx
	call	parseHex
	test	eax, eax
	jne	.L47
	mov	rax, QWORD PTR -1136[rbp]
	cmp	rax, 16
	je	.L48
	mov	rax, QWORD PTR -1136[rbp]
	cmp	rax, 32
	je	.L48
	mov	rax, QWORD PTR -1136[rbp]
	cmp	rax, 48
	je	.L48
.L47:
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC37[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L48:
	mov	rax, QWORD PTR -1136[rbp]
	mov	DWORD PTR -1140[rbp], eax
	mov	eax, DWORD PTR -1140[rbp]
	add	eax, 3
	add	eax, eax
	lea	rdx, -576[rbp]
	cdqe
	add	rax, rdx
	mov	rdi, rax
	call	atol
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L50
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC38[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L50:
	mov	eax, DWORD PTR -1140[rbp]
	add	eax, 3
	add	eax, eax
	lea	rdx, -576[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR -1112[rbp], rax
	jmp	.L51
.L53:
	mov	rax, QWORD PTR -1112[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L51
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC39[rip]
	mov	edi, 0
	call	rax
	jmp	.L52
.L51:
	add	QWORD PTR -1112[rbp], 1
	mov	rax, QWORD PTR -1112[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L53
.L52:
	mov	rax, QWORD PTR -1112[rbp]
	mov	rdi, rax
	call	atol
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L54
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC40[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L54:
	cmp	QWORD PTR -1048[rbp], 1
	jne	.L55
	cmp	DWORD PTR -1140[rbp], 32
	je	.L56
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC41[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rax, -944[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC43[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L56:
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC46[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC47[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC48[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	QWORD PTR -1104[rbp], 0
	jmp	.L57
.L60:
	lea	rdx, -976[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, roundkeys[rip]
	mov	rdi, rax
	call	aes_encrypt
	lea	rax, -832[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	rdx, rax
	lea	rsi, roundkeys[rip]
	mov	rdi, rcx
	call	aes_encrypt
	movzx	eax, BYTE PTR -832[rbp]
	movzx	eax, al
	and	eax, 1
	test	eax, eax
	je	.L58
	lea	rcx, -704[rbp]
	lea	rax, -976[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	aes_encrypt_key
	jmp	.L59
.L58:
	lea	rcx, -704[rbp]
	lea	rax, -992[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	aes_encrypt_key
.L59:
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	lea	rax, -832[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	add	QWORD PTR -1104[rbp], 1
.L57:
	mov	rax, QWORD PTR -1104[rbp]
	cmp	QWORD PTR -1056[rbp], rax
	ja	.L60
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC49[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC50[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L93
.L55:
	cmp	QWORD PTR -1048[rbp], 2
	jne	.L62
	cmp	DWORD PTR -1140[rbp], 48
	je	.L63
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC41[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rax, -944[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC51[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L63:
	lea	rax, -832[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC52[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -993[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -994[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -995[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -996[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -997[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -998[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -999[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1000[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1001[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1002[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1003[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1004[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1005[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1006[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1007[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1008[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC47[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC48[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	QWORD PTR -1096[rbp], 0
	jmp	.L64
.L65:
	lea	rdx, -976[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, roundkeys[rip]
	mov	rdi, rax
	call	aes_encrypt
	lea	rax, -1040[rbp]
	lea	rdx, 16[rax]
	lea	rsi, -704[rbp]
	lea	rax, -976[rbp]
	mov	rcx, rdx
	mov	edx, 16
	mov	rdi, rax
	call	aes_encrypt_key_custom
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	lea	rax, -832[rbp]
	mov	rcx, QWORD PTR [rax]
	lea	rax, -704[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -832[rbp]
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	lea	rax, -832[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	lea	rax, -704[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -832[rbp]
	add	rax, 8
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	add	QWORD PTR -1096[rbp], 1
.L64:
	mov	rax, QWORD PTR -1096[rbp]
	cmp	QWORD PTR -1056[rbp], rax
	ja	.L65
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC49[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC53[rip]
	mov	edi, 0
	call	rax
	lea	rax, -832[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L93
.L62:
	cmp	QWORD PTR -1048[rbp], 3
	jne	.L66
	cmp	DWORD PTR -1140[rbp], 48
	je	.L67
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC41[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rax, -944[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC51[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L67:
	lea	rax, -960[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC52[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -993[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -994[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -995[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -996[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -997[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -998[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -999[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1000[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1001[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1002[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1003[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1004[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1005[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1006[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1007[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1008[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC47[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC48[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	QWORD PTR -1088[rbp], 0
	jmp	.L68
.L71:
	lea	rdx, -976[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, roundkeys[rip]
	mov	rdi, rax
	call	aes_encrypt
	mov	QWORD PTR -1080[rbp], 0
	jmp	.L69
.L70:
	lea	rdx, -832[rbp]
	mov	rax, QWORD PTR -1080[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -976[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	add	QWORD PTR -1080[rbp], 16
.L69:
	cmp	QWORD PTR -1080[rbp], 47
	jbe	.L70
	lea	rax, -1040[rbp]
	lea	rdx, 16[rax]
	lea	rsi, -704[rbp]
	lea	rax, -832[rbp]
	mov	rcx, rdx
	mov	edx, 48
	mov	rdi, rax
	call	aes_decrypt_key_custom
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	lea	rax, -960[rbp]
	mov	rcx, QWORD PTR [rax]
	lea	rax, -704[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	lea	rax, -960[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	lea	rax, -704[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	add	rax, 8
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	add	QWORD PTR -1088[rbp], 1
.L68:
	mov	rax, QWORD PTR -1088[rbp]
	cmp	QWORD PTR -1056[rbp], rax
	ja	.L71
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC49[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	esi, DWORD PTR -1192[rbp]
	push	rsi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC54[rip]
	mov	edi, 0
	call	rax
	lea	rax, -960[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	esi, DWORD PTR -1188[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L93
.L66:
	cmp	QWORD PTR -1048[rbp], 4
	jne	.L72
	cmp	DWORD PTR -1140[rbp], 48
	je	.L73
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC41[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rax, -944[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC51[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L73:
	lea	rax, -960[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	esi, DWORD PTR -1176[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	esi, DWORD PTR -1192[rbp]
	push	rsi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC52[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	esi, DWORD PTR -1188[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -993[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -994[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -995[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -996[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -997[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -998[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -999[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1000[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1001[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1002[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1003[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1004[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1005[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1006[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1007[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1008[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	esi, DWORD PTR -1176[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	esi, DWORD PTR -1192[rbp]
	push	rsi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC47[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC48[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	QWORD PTR -1072[rbp], 0
	jmp	.L74
.L79:
	mov	DWORD PTR -1156[rbp], 0
	jmp	.L75
.L76:
	lea	rdx, -976[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, roundkeys[rip]
	mov	rdi, rax
	call	aes_encrypt
	lea	rdx, -832[rbp]
	mov	eax, DWORD PTR -1156[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	lea	rax, -976[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	add	DWORD PTR -1156[rbp], 16
.L75:
	mov	eax, DWORD PTR -1156[rbp]
	cmp	eax, 127
	jbe	.L76
	lea	rax, -1040[rbp]
	lea	rdx, 16[rax]
	lea	rsi, -704[rbp]
	lea	rax, -832[rbp]
	mov	rcx, rdx
	mov	edx, 128
	mov	rdi, rax
	call	aes_decrypt_key_custom
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	mov	DWORD PTR -1152[rbp], 0
	jmp	.L77
.L78:
	lea	rax, -960[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1152[rbp]
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -704[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	lea	rax, -960[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1152[rbp]
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	lea	rax, -704[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	add	rax, 8
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -1152[rbp], 16
.L77:
	mov	eax, DWORD PTR -1152[rbp]
	cmp	eax, 127
	jbe	.L78
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	add	QWORD PTR -1072[rbp], 1
.L74:
	mov	rax, QWORD PTR -1072[rbp]
	cmp	QWORD PTR -1056[rbp], rax
	ja	.L79
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC49[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	esi, DWORD PTR -1188[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC54[rip]
	mov	edi, 0
	call	rax
	lea	rax, -960[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	esi, DWORD PTR -1176[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	esi, DWORD PTR -1192[rbp]
	push	rsi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L93
.L72:
	cmp	QWORD PTR -1048[rbp], 5
	jne	.L80
	cmp	DWORD PTR -1140[rbp], 16
	je	.L81
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC41[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	edx, DWORD PTR -1140[rbp]
	lea	rax, -944[rbp]
	mov	ecx, edx
	lea	rdx, .LC42[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC55[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L81:
	lea	rax, -960[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC44[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	esi, DWORD PTR -1188[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC47[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC48[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	QWORD PTR -1064[rbp], 0
	jmp	.L82
.L87:
	mov	DWORD PTR -1148[rbp], 0
	jmp	.L83
.L84:
	lea	rdx, -976[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, roundkeys[rip]
	mov	rdi, rax
	call	aes_encrypt
	lea	rdx, -832[rbp]
	mov	eax, DWORD PTR -1148[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	lea	rax, -976[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	add	DWORD PTR -1148[rbp], 16
.L83:
	mov	eax, DWORD PTR -1148[rbp]
	cmp	eax, 127
	jbe	.L84
	lea	rcx, -704[rbp]
	lea	rax, -832[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	rdi, rax
	call	aes_decrypt_key
	lea	rcx, -976[rbp]
	lea	rax, -1040[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove
	mov	DWORD PTR -1144[rbp], 0
	jmp	.L85
.L86:
	lea	rax, -960[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1144[rbp]
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, -704[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	lea	rax, -960[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -1144[rbp]
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	add	eax, eax
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	lea	rax, -704[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -960[rbp]
	add	rax, 8
	xor	rdx, rcx
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -1144[rbp], 16
.L85:
	mov	eax, DWORD PTR -1144[rbp]
	cmp	eax, 127
	jbe	.L86
	mov	rax, QWORD PTR watchdog_tickle[rip]
	call	rax
	add	QWORD PTR -1064[rbp], 1
.L82:
	mov	rax, QWORD PTR -1064[rbp]
	cmp	QWORD PTR -1056[rbp], rax
	ja	.L87
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 1
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR gpio_write[rip]
	mov	esi, 0
	mov	edi, 3
	call	rax
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC49[rip]
	mov	edi, 0
	call	rax
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1025[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1026[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1027[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1028[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1029[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1030[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1031[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1032[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1033[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1034[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1035[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1036[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1037[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1038[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1039[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1040[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	esi, DWORD PTR -1176[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1188[rbp]
	push	rcx
	mov	esi, DWORD PTR -1192[rbp]
	push	rsi
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC54[rip]
	mov	edi, 0
	call	rax
	lea	rax, -960[rbp]
	lea	rdx, -1040[rbp]
	lea	rcx, 16[rdx]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove
	mov	r10, QWORD PTR _snprintf[rip]
	movzx	eax, BYTE PTR -1009[rbp]
	movzx	ecx, al
	movzx	eax, BYTE PTR -1010[rbp]
	movzx	esi, al
	movzx	eax, BYTE PTR -1011[rbp]
	movzx	r8d, al
	movzx	eax, BYTE PTR -1012[rbp]
	movzx	eax, al
	mov	DWORD PTR -1176[rbp], eax
	movzx	eax, BYTE PTR -1013[rbp]
	movzx	ebx, al
	mov	DWORD PTR -1188[rbp], ebx
	movzx	eax, BYTE PTR -1014[rbp]
	movzx	edi, al
	mov	DWORD PTR -1192[rbp], edi
	movzx	eax, BYTE PTR -1015[rbp]
	movzx	r15d, al
	movzx	eax, BYTE PTR -1016[rbp]
	movzx	r14d, al
	movzx	eax, BYTE PTR -1017[rbp]
	movzx	r13d, al
	movzx	eax, BYTE PTR -1018[rbp]
	movzx	r12d, al
	movzx	eax, BYTE PTR -1019[rbp]
	movzx	ebx, al
	movzx	eax, BYTE PTR -1020[rbp]
	movzx	r11d, al
	movzx	eax, BYTE PTR -1021[rbp]
	movzx	r9d, al
	movzx	eax, BYTE PTR -1022[rbp]
	movzx	edx, al
	mov	DWORD PTR -1196[rbp], edx
	movzx	eax, BYTE PTR -1023[rbp]
	movzx	edi, al
	movzx	eax, BYTE PTR -1024[rbp]
	movzx	edx, al
	lea	rax, -944[rbp]
	sub	rsp, 8
	push	rcx
	push	rsi
	push	r8
	mov	ecx, DWORD PTR -1176[rbp]
	push	rcx
	mov	esi, DWORD PTR -1188[rbp]
	push	rsi
	mov	ecx, DWORD PTR -1192[rbp]
	push	rcx
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	push	r11
	push	r9
	mov	r9d, DWORD PTR -1196[rbp]
	mov	r8d, edi
	mov	ecx, edx
	lea	rdx, .LC45[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r10
	add	rsp, 112
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L93
.L80:
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC56[rip]
	mov	edi, 0
	call	rax
	mov	r8, QWORD PTR _snprintf[rip]
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -944[rbp]
	mov	rcx, rdx
	lea	rdx, .LC57[rip]
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	rdx, QWORD PTR uart_puts[rip]
	lea	rax, -944[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	rdx
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC22[rip]
	mov	edi, 0
	call	rax
	jmp	.L88
.L42:
	add	QWORD PTR -1128[rbp], 1
.L39:
	cmp	QWORD PTR -1128[rbp], 511
	ja	.L88
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L89
	jmp	.L88
.L93:
	nop
.L88:
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC58[rip]
	mov	edi, 0
	call	rax
.L38:
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L90
	mov	rax, QWORD PTR uart_puts[rip]
	lea	rsi, .LC59[rip]
	mov	edi, 0
	call	rax
	mov	eax, 1609691144
	mov	WORD PTR [rax], -18960
	mov	eax, 0
	call	clear_icache
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	cmd_measure, .-cmd_measure
	.section	.rodata
.LC60:
	.string	"usage: md <addr> <size>\n"
	.align 8
.LC61:
	.string	"ERROR: cmd_md addr %s too large (%d)\n"
.LC62:
	.string	"addrstr=%s (0x%08x)\n"
	.align 8
.LC63:
	.string	"ERROR: cmd_md size %s too large (%d)\n"
	.align 8
.LC64:
	.string	"dumping 0x%s (0x%08x) of size 0x%s (0x%08x)\n"
.LC65:
	.string	"md done!\n"
	.text
	.globl	cmd_md
	.type	cmd_md, @function
cmd_md:
.LFB15:
	.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	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 3
	je	.L95
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L101
.L95:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L97
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 120
	jne	.L97
	add	QWORD PTR -16[rbp], 2
.L97:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L98
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 120
	jne	.L98
	add	QWORD PTR -24[rbp], 2
.L98:
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	lea	rdx, -32[rbp]
	lea	rcx, -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, 4
	jbe	.L99
	mov	rcx, QWORD PTR _printf[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC61[rip]
	mov	eax, 0
	call	rcx
	mov	eax, 0
	jmp	.L101
.L99:
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	bswap32
	mov	DWORD PTR -40[rbp], eax
	mov	rcx, QWORD PTR _printf[rip]
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC62[rip]
	mov	eax, 0
	call	rcx
	lea	rdx, -32[rbp]
	lea	rcx, -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, 4
	jbe	.L100
	mov	rcx, QWORD PTR _printf[rip]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC63[rip]
	mov	eax, 0
	call	rcx
	mov	eax, 0
	jmp	.L101
.L100:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	bswap32
	mov	DWORD PTR -36[rbp], eax
	mov	r9, QWORD PTR _printf[rip]
	mov	esi, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC64[rip]
	mov	eax, 0
	call	r9
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -40[rbp]
	mov	eax, eax
	mov	rsi, rdx
	mov	rdi, rax
	call	DumpHex
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
.L101:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	cmd_md, .-cmd_md
	.section	.rodata
.LC66:
	.string	"usage: md <addr> <HEXDATA>\n"
	.align 8
.LC67:
	.string	"ERROR: cmd_mw data not multiple of 2\n"
	.align 8
.LC68:
	.string	"ERROR: cmd_mw addr %s too large (%d)\n"
	.align 8
.LC69:
	.string	"wrote to 0x%s (0x%08x) this data:\n"
	.align 8
.LC70:
	.string	"ERROR: cmd_mw failed to parse data\n"
	.text
	.globl	cmd_mw
	.type	cmd_mw, @function
cmd_mw:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -84[rbp], 3
	je	.L104
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC66[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L113
.L104:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 24
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 48
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jne	.L106
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 120
	jne	.L106
	add	QWORD PTR -40[rbp], 2
.L106:
	mov	QWORD PTR -56[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen
	cdqe
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	and	eax, 1
	test	rax, rax
	je	.L107
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC67[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L113
.L107:
	mov	rax, QWORD PTR _malloc[rip]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, 1
	mov	rdi, rdx
	call	rax
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -48[rbp]
	lea	rcx, -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, 4
	jbe	.L108
	mov	rcx, QWORD PTR _printf[rip]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC68[rip]
	mov	eax, 0
	call	rcx
	mov	eax, 0
	jmp	.L113
.L108:
	mov	rax, QWORD PTR -56[rbp]
	mov	edi, eax
	call	bswap32
	mov	eax, eax
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -48[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	parseHex
	test	eax, eax
	jne	.L109
	mov	DWORD PTR -68[rbp], 0
	jmp	.L110
.L111:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -68[rbp], 1
.L110:
	mov	eax, DWORD PTR -68[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	cmp	rdx, rax
	jb	.L111
	mov	rcx, QWORD PTR _printf[rip]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC69[rip]
	mov	eax, 0
	call	rcx
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	DumpHex
	jmp	.L112
.L109:
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC70[rip]
	mov	eax, 0
	call	rdx
.L112:
	mov	rdx, QWORD PTR _free[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC65[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
.L113:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L114
	call	__stack_chk_fail@PLT
.L114:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	cmd_mw, .-cmd_mw
	.section	.rodata
.LC71:
	.string	"usage: aes <enc/dec> [data]\n"
.LC72:
	.string	"aes_key insize=%d\n"
.LC73:
	.string	"ERROR: aes_encrypt_key\n"
.LC74:
	.string	"enc"
.LC75:
	.string	"aes do enc\n"
.LC76:
	.string	"loopSame"
.LC77:
	.string	"loopSameGid"
.LC78:
	.string	"loopDiff"
.LC79:
	.string	"%02x"
	.text
	.globl	aes_cmd
	.type	aes_cmd, @function
aes_cmd:
.LFB17:
	.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	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	cmp	DWORD PTR -52[rbp], 3
	je	.L116
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC71[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L117
.L116:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 24
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 48
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	atol
	mov	DWORD PTR -36[rbp], eax
	mov	rdx, QWORD PTR _printf[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC72[rip]
	mov	eax, 0
	call	rdx
	mov	eax, DWORD PTR -36[rbp]
	and	eax, 1
	test	eax, eax
	je	.L118
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC73[rip]
	mov	eax, 0
	call	rdx
	mov	eax, 0
	jmp	.L117
.L118:
	mov	rdx, QWORD PTR _malloc[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR _malloc[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	rdi, rax
	call	rdx
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	call	strcmp
	test	eax, eax
	jne	.L119
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC75[rip]
	mov	eax, 0
	call	rdx
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, fixedKey[rip]
	mov	rdi, rax
	call	aes_encrypt_key_custom
	jmp	.L120
.L119:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	call	strcmp
	test	eax, eax
	jne	.L121
	jmp	.L122
.L123:
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, fixedKey[rip]
	mov	rdi, rax
	call	aes_decrypt_key_custom
.L122:
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L123
	jmp	.L120
.L121:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	call	strcmp
	test	eax, eax
	jne	.L124
	jmp	.L125
.L126:
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	aes_decrypt_key
.L125:
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L126
	jmp	.L120
.L124:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	call	strcmp
	test	eax, eax
	jne	.L127
	jmp	.L128
.L129:
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, fixedKey[rip]
	mov	rdi, rax
	call	aes_encrypt_key_custom
	mov	edx, DWORD PTR -36[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, fixedKey[rip]
	mov	rdi, rax
	call	aes_encrypt_key_custom
.L128:
	mov	rax, QWORD PTR gpio_read[rip]
	mov	edi, 2
	call	rax
	test	eax, eax
	jne	.L129
	jmp	.L120
.L127:
	mov	rdx, QWORD PTR _free[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR _free[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, -1
	jmp	.L117
.L120:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L130
.L131:
	mov	rdx, QWORD PTR _printf[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC79[rip]
	mov	eax, 0
	call	rdx
	add	DWORD PTR -40[rbp], 1
.L130:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	ja	.L131
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR _free[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
	mov	rdx, QWORD PTR _free[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, 0
.L117:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	aes_cmd, .-aes_cmd
	.globl	aes_encrypt_key
	.type	aes_encrypt_key, @function
aes_encrypt_key:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	r10, QWORD PTR aes_crypto_cmd[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 0
	mov	r8d, 512
	mov	rsi, rax
	mov	edi, 16
	call	r10
	add	rsp, 16
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	aes_encrypt_key, .-aes_encrypt_key
	.globl	aes_decrypt_key
	.type	aes_decrypt_key, @function
aes_decrypt_key:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	r10, QWORD PTR aes_crypto_cmd[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	mov	r9d, 0
	mov	r8d, 536871424
	mov	rsi, rax
	mov	edi, 17
	call	r10
	add	rsp, 16
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	aes_decrypt_key, .-aes_decrypt_key
	.globl	aes_encrypt_key_custom
	.type	aes_encrypt_key_custom, @function
aes_encrypt_key_custom:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	QWORD PTR -32[rbp], rcx
	mov	r10, QWORD PTR aes_crypto_cmd[rip]
	mov	rsi, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	mov	r9, rsi
	mov	r8d, 536870912
	mov	rsi, rax
	mov	edi, 16
	call	r10
	add	rsp, 16
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	aes_encrypt_key_custom, .-aes_encrypt_key_custom
	.globl	aes_decrypt_key_custom
	.type	aes_decrypt_key_custom, @function
aes_decrypt_key_custom:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	QWORD PTR -32[rbp], rcx
	mov	r10, QWORD PTR aes_crypto_cmd[rip]
	mov	rsi, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	mov	r9, rsi
	mov	r8d, 536870912
	mov	rsi, rax
	mov	edi, 17
	call	r10
	add	rsp, 16
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	aes_decrypt_key_custom, .-aes_decrypt_key_custom
	.globl	memset
	.type	memset, @function
memset:
.LFB22:
	.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 -8[rbp], rdi
	mov	eax, esi
	mov	QWORD PTR -24[rbp], rdx
	mov	BYTE PTR -12[rbp], al
	jmp	.L141
.L142:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -12[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 1
.L141:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -24[rbp], rdx
	test	rax, rax
	jne	.L142
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	memset, .-memset
	.globl	memmove
	.type	memmove, @function
memmove:
.LFB23:
	.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 -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L144
.L145:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L144:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	test	rax, rax
	jne	.L145
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	memmove, .-memmove
	.globl	strncmp
	.type	strncmp, @function
strncmp:
.LFB24:
	.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 -36[rbp], edx
	mov	BYTE PTR -1[rbp], 0
	nop
.L148:
	mov	eax, DWORD PTR -36[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -36[rbp], edx
	test	eax, eax
	je	.L147
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L147
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, ecx
	sub	eax, edx
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L148
.L147:
	movsx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	strncmp, .-strncmp
	.globl	strcmp
	.type	strcmp, @function
strcmp:
.LFB25:
	.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	BYTE PTR -1[rbp], 0
	nop
.L152:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L151
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	edx, eax
	mov	eax, ecx
	sub	eax, edx
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L152
.L151:
	movsx	eax, BYTE PTR -1[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	strcmp, .-strcmp
	.globl	strlen
	.type	strlen, @function
strlen:
.LFB26:
	.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	.L155
.L156:
	add	DWORD PTR -4[rbp], 1
.L155:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L156
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	strlen, .-strlen
	.globl	atol
	.type	atol, @function
atol:
.LFB27:
	.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 -8[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L159
.L160:
	add	QWORD PTR -24[rbp], 1
.L159:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L160
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L167
	add	QWORD PTR -24[rbp], 1
	mov	DWORD PTR -12[rbp], 1
.L167:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L162
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L163
.L162:
	cmp	DWORD PTR -12[rbp], 0
	je	.L164
	mov	rax, QWORD PTR -8[rbp]
	neg	rax
	jmp	.L166
.L164:
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L166
.L163:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cdqe
	add	QWORD PTR -8[rbp], rax
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L167
	cmp	DWORD PTR -12[rbp], 0
	je	.L168
	mov	rax, QWORD PTR -8[rbp]
	neg	rax
	jmp	.L166
.L168:
	mov	rax, QWORD PTR -8[rbp]
.L166:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	atol, .-atol
	.globl	parseHex
	.type	parseHex, @function
parseHex:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 56
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	and	eax, 1
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L171
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L171:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L172
	mov	eax, 0
	jmp	.L173
.L172:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen
	and	eax, 1
	test	eax, eax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	mov	BYTE PTR -18[rbp], 0
	jmp	.L174
.L179:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	movzx	eax, BYTE PTR -18[rbp]
	sal	eax, 4
	mov	BYTE PTR -18[rbp], al
	cmp	BYTE PTR -17[rbp], 47
	jle	.L175
	cmp	BYTE PTR -17[rbp], 57
	jg	.L175
	movzx	edx, BYTE PTR -17[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, edx
	sub	eax, 48
	mov	BYTE PTR -18[rbp], al
	jmp	.L176
.L175:
	cmp	BYTE PTR -17[rbp], 96
	jle	.L177
	cmp	BYTE PTR -17[rbp], 102
	jg	.L177
	movzx	edx, BYTE PTR -17[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, edx
	sub	eax, 87
	mov	BYTE PTR -18[rbp], al
	jmp	.L176
.L177:
	cmp	BYTE PTR -17[rbp], 64
	jle	.L178
	cmp	BYTE PTR -17[rbp], 70
	jg	.L178
	movzx	edx, BYTE PTR -17[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	add	eax, edx
	sub	eax, 55
	mov	BYTE PTR -18[rbp], al
	jmp	.L176
.L178:
	mov	eax, -1
	jmp	.L173
.L176:
	cmp	DWORD PTR -12[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L174
	mov	eax, DWORD PTR -16[rbp]
	cmp	QWORD PTR -8[rbp], rax
	jbe	.L174
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -18[rbp]
	mov	BYTE PTR [rdx], al
	mov	BYTE PTR -18[rbp], 0
.L174:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L179
	cmp	QWORD PTR -56[rbp], 0
	je	.L180
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rax], rdx
.L180:
	mov	eax, 0
.L173:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	parseHex, .-parseHex
	.section	.rodata
.LC80:
	.string	"%02X "
.LC81:
	.string	" "
.LC82:
	.string	"|  %s \n"
.LC83:
	.string	"   "
	.text
	.globl	DumpHex
	.type	DumpHex, @function
DumpHex:
.LFB29:
	.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 -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -16[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	jmp	.L182
.L191:
	mov	rdx, QWORD PTR _printf[rip]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC80[rip]
	mov	eax, 0
	call	rdx
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 31
	jbe	.L183
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	ja	.L183
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	and	eax, 15
	mov	BYTE PTR -32[rbp+rax], dl
	jmp	.L184
.L183:
	mov	rax, QWORD PTR -48[rbp]
	and	eax, 15
	mov	BYTE PTR -32[rbp+rax], 46
.L184:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	and	eax, 7
	test	rax, rax
	je	.L185
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	cmp	QWORD PTR -64[rbp], rax
	jne	.L186
.L185:
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	rdx
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	and	eax, 15
	test	rax, rax
	jne	.L187
	mov	rdx, QWORD PTR _printf[rip]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC82[rip]
	mov	eax, 0
	call	rdx
	jmp	.L186
.L187:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	cmp	QWORD PTR -64[rbp], rax
	jne	.L186
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	and	eax, 15
	mov	BYTE PTR -32[rbp+rax], 0
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	and	eax, 15
	cmp	rax, 8
	ja	.L188
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC81[rip]
	mov	eax, 0
	call	rdx
.L188:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	and	eax, 15
	mov	QWORD PTR -40[rbp], rax
	jmp	.L189
.L190:
	mov	rdx, QWORD PTR _printf[rip]
	lea	rdi, .LC83[rip]
	mov	eax, 0
	call	rdx
	add	QWORD PTR -40[rbp], 1
.L189:
	cmp	QWORD PTR -40[rbp], 15
	jbe	.L190
	mov	rdx, QWORD PTR _printf[rip]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC82[rip]
	mov	eax, 0
	call	rdx
.L186:
	add	QWORD PTR -48[rbp], 1
.L182:
	mov	rax, QWORD PTR -48[rbp]
	cmp	rax, QWORD PTR -64[rbp]
	jb	.L191
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L192
	call	__stack_chk_fail@PLT
.L192:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	DumpHex, .-DumpHex
	.globl	clear_icache
	.type	clear_icache, @function
clear_icache:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
#APP
# 1003 "the_stack_data/145452426.c" 1
	mov r0, #0
# 0 "" 2
# 1004 "the_stack_data/145452426.c" 1
	mcr p15, 0, r0, c7, c5, 0
# 0 "" 2
# 1005 "the_stack_data/145452426.c" 1
	isb
# 0 "" 2
# 1006 "the_stack_data/145452426.c" 1
	nop
# 0 "" 2
# 1007 "the_stack_data/145452426.c" 1
	nop
# 0 "" 2
# 1008 "the_stack_data/145452426.c" 1
	nop
# 0 "" 2
# 1009 "the_stack_data/145452426.c" 1
	nop
# 0 "" 2
#NO_APP
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	clear_icache, .-clear_icache
	.globl	aes_precompute_tables
	.type	aes_precompute_tables, @function
aes_precompute_tables:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR _malloc[rip]
	mov	edi, 1024
	call	rax
	mov	QWORD PTR T0[rip], rax
	mov	rax, QWORD PTR _malloc[rip]
	mov	edi, 1024
	call	rax
	mov	QWORD PTR T1[rip], rax
	mov	rax, QWORD PTR _malloc[rip]
	mov	edi, 1024
	call	rax
	mov	QWORD PTR T2[rip], rax
	mov	rax, QWORD PTR _malloc[rip]
	mov	edi, 1024
	call	rax
	mov	QWORD PTR T3[rip], rax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L195
.L200:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, sbox[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -12[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, sbox[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -11[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, sbox[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -10[rbp], al
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, sbox[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -9[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	test	al, al
	js	.L196
	movzx	eax, BYTE PTR -12[rbp]
	add	eax, eax
	jmp	.L197
.L196:
	movzx	eax, BYTE PTR -12[rbp]
	movzx	eax, al
	add	eax, eax
	xor	eax, 27
.L197:
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -9[rbp]
	test	al, al
	js	.L198
	movzx	eax, BYTE PTR -9[rbp]
	add	eax, eax
	jmp	.L199
.L198:
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	add	eax, eax
	xor	eax, 27
.L199:
	mov	BYTE PTR -9[rbp], al
	movzx	edx, BYTE PTR -9[rbp]
	movzx	eax, BYTE PTR -11[rbp]
	xor	eax, edx
	mov	BYTE PTR -9[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -11[rbp]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -10[rbp]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	sal	eax, 24
	or	edx, eax
	mov	rcx, QWORD PTR T0[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -9[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -12[rbp]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -11[rbp]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -10[rbp]
	movzx	eax, al
	sal	eax, 24
	or	edx, eax
	mov	rcx, QWORD PTR T1[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -10[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -12[rbp]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -11[rbp]
	movzx	eax, al
	sal	eax, 24
	or	edx, eax
	mov	rcx, QWORD PTR T2[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	movzx	eax, BYTE PTR -11[rbp]
	movzx	edx, al
	movzx	eax, BYTE PTR -10[rbp]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	movzx	eax, BYTE PTR -12[rbp]
	movzx	eax, al
	sal	eax, 24
	or	edx, eax
	mov	rcx, QWORD PTR T3[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -16[rbp], 1
.L195:
	cmp	DWORD PTR -16[rbp], 255
	jle	.L200
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L201
	call	__stack_chk_fail@PLT
.L201:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	aes_precompute_tables, .-aes_precompute_tables
	.globl	aes_encrypt
	.type	aes_encrypt, @function
aes_encrypt:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L203
.L204:
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	xor	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	add	DWORD PTR -60[rbp], 1
.L203:
	cmp	DWORD PTR -60[rbp], 15
	jle	.L204
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -56[rbp], 1
	jmp	.L205
.L206:
	mov	rdx, QWORD PTR T0[rip]
	movzx	eax, BYTE PTR -32[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR T1[rip]
	movzx	eax, BYTE PTR -27[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, edx
	xor	ecx, eax
	mov	rdx, QWORD PTR T2[rip]
	movzx	eax, BYTE PTR -22[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	rdx, QWORD PTR T3[rip]
	movzx	eax, BYTE PTR -17[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rdx, QWORD PTR T0[rip]
	movzx	eax, BYTE PTR -28[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR T1[rip]
	movzx	eax, BYTE PTR -23[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, edx
	xor	ecx, eax
	mov	rdx, QWORD PTR T2[rip]
	movzx	eax, BYTE PTR -18[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	rdx, QWORD PTR T3[rip]
	movzx	eax, BYTE PTR -29[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rdx, QWORD PTR T0[rip]
	movzx	eax, BYTE PTR -24[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR T1[rip]
	movzx	eax, BYTE PTR -19[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, edx
	xor	ecx, eax
	mov	rdx, QWORD PTR T2[rip]
	movzx	eax, BYTE PTR -30[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	rdx, QWORD PTR T3[rip]
	movzx	eax, BYTE PTR -25[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rdx, QWORD PTR T0[rip]
	movzx	eax, BYTE PTR -20[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR T1[rip]
	movzx	eax, BYTE PTR -31[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, edx
	xor	ecx, eax
	mov	rdx, QWORD PTR T2[rip]
	movzx	eax, BYTE PTR -26[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	rdx, QWORD PTR T3[rip]
	movzx	eax, BYTE PTR -21[rbp]
	movzx	eax, al
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	ecx, eax
	mov	edx, ecx
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	mov	DWORD PTR -36[rbp], eax
	lea	rax, -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	lea	rax, -32[rbp]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rax, -32[rbp]
	lea	rdx, 8[rax]
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rax, -32[rbp]
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -56[rbp], 1
.L205:
	cmp	DWORD PTR -56[rbp], 9
	jle	.L206
	mov	DWORD PTR -52[rbp], 0
	jmp	.L207
.L208:
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movzx	eax, al
	cdqe
	lea	rdx, sbox[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 160[rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	movsx	rsi, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 5
	and	eax, 15
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movzx	eax, al
	cdqe
	lea	rdx, sbox[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 160[rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 1
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	cdqe
	lea	rsi, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 10
	and	eax, 15
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movzx	eax, al
	cdqe
	lea	rdx, sbox[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 160[rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 2
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	cdqe
	lea	rsi, 2[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 15
	and	eax, 15
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movzx	eax, al
	cdqe
	lea	rdx, sbox[rip]
	movzx	ecx, BYTE PTR [rax+rdx]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 160[rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	add	eax, 3
	cdqe
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	sal	eax, 2
	cdqe
	lea	rsi, 3[rax]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rsi
	xor	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -52[rbp], 1
.L207:
	cmp	DWORD PTR -52[rbp], 3
	jle	.L208
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L209
	call	__stack_chk_fail@PLT
.L209:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	aes_encrypt, .-aes_encrypt
	.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	"145452426.c"
	.text
	.global	sbox
	.data
	.align	2
	.type	sbox, %object
	.size	sbox, 256
sbox:
	.ascii	"c|w{\362ko\3050\001g+\376\327\253v\312\202\311}\372"
	.ascii	"YG\360\255\324\242\257\234\244r\300\267\375\223&6?\367"
	.ascii	"\3144\245\345\361q\3301\025\004\307#\303\030\226\005"
	.ascii	"\232\007\022\200\342\353'\262u\011\203,\032\033nZ\240"
	.ascii	"R;\326\263)\343/\204S\321\000\355 \374\261[j\313\276"
	.ascii	"9JLX\317\320\357\252\373CM3\205E\371\002\177P<\237\250"
	.ascii	"Q\243@\217\222\2358\365\274\266\332!\020\377\363\322"
	.ascii	"\315\014\023\354_\227D\027\304\247~=d]\031s`\201O\334"
	.ascii	"\"*\220\210F\356\270\024\336^\013\333\3402:\012I\006"
	.ascii	"$\\\302\323\254b\221\225\344y\347\3107m\215\325N\251"
	.ascii	"lV\364\352ez\256\010\272x%.\034\246\264\306\350\335"
	.ascii	"t\037K\275\213\212p>\265fH\003\366\016a5W\271\206\301"
	.ascii	"\035\236\341\370\230\021i\331\216\224\233\036\207\351"
	.ascii	"\316U(\337\214\241\211\015\277\346BhA\231-\017\260T"
	.ascii	"\273\026"
	.global	roundkeys
	.align	2
	.type	roundkeys, %object
	.size	roundkeys, 176
roundkeys:
	.ascii	"\000\001\002\003\004\005\006\007\010\011\012\013\014"
	.ascii	"\015\016\017"
	.ascii	"\326\252t\375\322\257r\372\332\246x\361\326\253v\376"
	.ascii	"\266\222\317\013d=\275\361\276\233\305\000h0\263\376"
	.ascii	"\266\377tN\322\302\311\277lY\014\277\004i\277A"
	.ascii	"G\367\367\274\2255>\003\371l2\274\375\005\215\375"
	.ascii	"<\252\243\350\251\237\235\353P\363\257W\255\366\"\252"
	.ascii	"^9\017}\367\246\222\226\247U=\301\012\243\037k"
	.ascii	"\024\371p\032\343_\342\214D\012\337MN\251\300&"
	.ascii	"GC\2075\244\034e\271\340\026\272\364\256\277z\322"
	.ascii	"T\2312\321\360\205Wh\020\223\355\234\276,\227N"
	.ascii	"\023\021\035\177\343\224J\027\363\007\247\213M+0\305"
	.global	fixedKey
	.align	2
	.type	fixedKey, %object
	.size	fixedKey, 32
fixedKey:
	.ascii	"\000\001\002\003\004\005\006\007\010\011\012\013\014"
	.ascii	"\015\016\017\000\001\002\003\004\005\006\007\010\011"
	.ascii	"\012\013\014\015\016\017"
	.global	T0
	.align	2
	.type	T0, %object
	.size	T0, 4
T0:
	.word	1094795585
	.global	T1
	.align	2
	.type	T1, %object
	.size	T1, 4
T1:
	.word	1094795585
	.global	T2
	.align	2
	.type	T2, %object
	.size	T2, 4
T2:
	.word	1094795585
	.global	T3
	.align	2
	.type	T3, %object
	.size	T3, 4
T3:
	.word	1094795585
	.global	_printf
	.align	2
	.type	_printf, %object
	.size	_printf, 4
_printf:
	.word	1609776293
	.global	_snprintf
	.align	2
	.type	_snprintf, %object
	.size	_snprintf, 4
_snprintf:
	.word	1609777757
	.global	_malloc
	.align	2
	.type	_malloc, %object
	.size	_malloc, 4
_malloc:
	.word	1609663949
	.global	_free
	.align	2
	.type	_free, %object
	.size	_free, 4
_free:
	.word	1609664129
	.global	aes_crypto_cmd
	.align	2
	.type	aes_crypto_cmd, %object
	.size	aes_crypto_cmd, 4
aes_crypto_cmd:
	.word	1609697453
	.global	uart_getc
	.align	2
	.type	uart_getc, %object
	.size	uart_getc, 4
uart_getc:
	.word	1609647945
	.global	uart_puts
	.align	2
	.type	uart_puts, %object
	.size	uart_puts, 4
uart_puts:
	.word	1609647917
	.global	gpio_read
	.align	2
	.type	gpio_read, %object
	.size	gpio_read, 4
gpio_read:
	.word	1609574249
	.global	gpio_write
	.align	2
	.type	gpio_write, %object
	.size	gpio_write, 4
gpio_write:
	.word	1609574289
	.global	gpio_configure
	.align	2
	.type	gpio_configure, %object
	.size	gpio_configure, 4
gpio_configure:
	.word	1609574413
	.global	watchdog_tickle
	.align	2
	.type	watchdog_tickle, %object
	.size	watchdog_tickle, 4
watchdog_tickle:
	.word	1609693325
	.global	env_set
	.align	2
	.type	env_set, %object
	.size	env_set, 4
env_set:
	.word	1609658097
	.global	env_get_uint
	.align	2
	.type	env_get_uint, %object
	.size	env_get_uint, 4
env_get_uint:
	.word	1609657693
	.global	ibec_cmd_struct_pointer
	.align	2
	.type	ibec_cmd_struct_pointer, %object
	.size	ibec_cmd_struct_pointer, 4
ibec_cmd_struct_pointer:
	.word	1609690428
	.syntax divided
	b _reposition
	.skip 0x100
	
	.arm
	.syntax unified
	.text
	.align	2
	.global	reposition
	.syntax unified
	.arm
	.fpu softvfp
	.type	reposition, %function
reposition:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r0, #24576
	blx	r3
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4096
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	bic	r3, r3, #4080
	bic	r3, r3, #15
	str	r3, [fp, #-16]
	mov	r2, #20480
	mov	r1, #1073741824
	ldr	r0, [fp, #-16]
	bl	memmove
	ldr	r3, .L2+4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #-1073741824
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	orr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	bl	clear_icache
	ldr	r3, [fp, #-8]
	blx	r3
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	_malloc
	.word	main
	.size	reposition, .-reposition
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Initializing GIDO!\012\000"
	.align	2
.LC1:
	.ascii	"echo\000"
	.align	2
.LC2:
	.ascii	"echo something to console\000"
	.align	2
.LC3:
	.ascii	"aes\000"
	.align	2
.LC4:
	.ascii	"aes talk to aes engin\000"
	.align	2
.LC5:
	.ascii	"md\000"
	.align	2
.LC6:
	.ascii	"dump memory\000"
	.align	2
.LC7:
	.ascii	"decrypt\000"
	.align	2
.LC8:
	.ascii	"decrypt AES hook\000"
	.align	2
.LC9:
	.ascii	"mw\000"
	.align	2
.LC10:
	.ascii	"write memory\000"
	.align	2
.LC11:
	.ascii	"call\000"
	.align	2
.LC12:
	.ascii	"call function\000"
	.align	2
.LC13:
	.ascii	"measure\000"
	.align	2
.LC14:
	.ascii	"switch to measure mode\000"
	.align	2
.LC15:
	.ascii	"reconfiguring VOL_DOWN button ... \000"
	.align	2
.LC16:
	.ascii	"ok\012\000"
	.align	2
.LC17:
	.ascii	"precompute TTables ... \000"
	.align	2
.LC18:
	.ascii	"Done GIDO!\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+4
	blx	r3
	ldr	r3, .L6+8
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, .L6+12
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, .L6+16
	str	r2, [r3, #4]
	ldr	r3, [fp, #-32]
	ldr	r2, .L6+20
	str	r2, [r3, #8]
	ldr	r3, .L6+24
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, .L6+28
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r2, .L6+32
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	ldr	r2, .L6+36
	str	r2, [r3, #8]
	ldr	r3, .L6+40
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L6+44
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, .L6+48
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, .L6+52
	str	r2, [r3, #8]
	ldr	r3, .L6+56
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r2, .L6+60
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, .L6+64
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r2, .L6+68
	str	r2, [r3, #8]
	ldr	r3, .L6+72
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L6+76
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, .L6+80
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, .L6+84
	str	r2, [r3, #8]
	ldr	r3, .L6+88
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L6+92
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, .L6+96
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	ldr	r2, .L6+100
	str	r2, [r3, #8]
	ldr	r3, .L6+104
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L6+108
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, .L6+112
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r2, .L6+116
	str	r2, [r3, #8]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+120
	blx	r3
	ldr	r3, .L6+124
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L6+128
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+132
	blx	r3
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+136
	blx	r3
	bl	aes_precompute_tables
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+132
	blx	r3
	bl	hook_aes_func
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r0, .L6+140
	blx	r3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	_printf
	.word	.LC0
	.word	1609832896
	.word	.LC1
	.word	cmd_echo
	.word	.LC2
	.word	1609832912
	.word	.LC3
	.word	aes_cmd
	.word	.LC4
	.word	1609834876
	.word	.LC5
	.word	cmd_md
	.word	.LC6
	.word	1609834780
	.word	.LC7
	.word	cmd_decypt
	.word	.LC8
	.word	1609833044
	.word	.LC9
	.word	cmd_mw
	.word	.LC10
	.word	1609832948
	.word	.LC11
	.word	cmd_call
	.word	.LC12
	.word	1609833060
	.word	.LC13
	.word	cmd_measure
	.word	.LC14
	.word	.LC15
	.word	gpio_configure
	.word	gpio_write
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.align	2
	.global	aes_function_hook
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_function_hook, %function
aes_function_hook:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	.syntax divided
@ 235 "the_stack_data/145452426.c" 1
	movs r4, #0xc
	movt r4, #0xbfa0
	mov  r0, #0x92
	mov  r1, #0x93
	movw r5, #0x2000 	
movt r5, #0x8700 	
ldr r7, [r5]	
orr r7, r7, #0x1	
str r7, [r5]	
movw r6, #0x1000 	
movt r6, #0x8700 	
ldr r7, [r6]	
orr r7, r7, #0x1	
strb r1, [r4]
	str r7, [r6]	
w1:	
ldr r7, [r5]	
and r7, r7, #0x30000	
cmp r7, #0x10000	
beq w1	
strb r0, [r4]
	
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	aes_function_hook, .-aes_function_hook
	.section	.rodata
	.align	2
.LC19:
	.ascii	"hook_aes_func\012\000"
	.align	2
.LC21:
	.ascii	"hook_aes_func done!\012\000"
	.align	2
.LC20:
	.ascii	"\337\370\002\000\001\340DCBA\200G\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hook_aes_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	hook_aes_func, %function
hook_aes_func:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r0, .L15+8
	blx	r3
	ldr	r3, .L15+12
	sub	ip, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r3, fp, #24
	add	r3, r3, #6
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r2, .L15+16
	str	r2, [r3]
	ldr	r3, .L15+20
	str	r3, [fp, #-40]
	ldr	r3, .L15+24
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L10
.L11:
	sub	r2, fp, #24
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r3, [fp, #-40]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-40]
	add	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-36]
.L10:
	ldr	r3, [fp, #-36]
	cmp	r3, #11
	bls	.L11
	b	.L12
.L13:
	ldr	r3, [fp, #-40]
	add	r2, r3, #2
	str	r2, [fp, #-40]
	mov	r2, #48896
	strh	r2, [r3]	@ movhi
.L12:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bcc	.L13
	bl	clear_icache
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r0, .L15+28
	blx	r3
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC22
	.word	_printf
	.word	.LC19
	.word	.LC20
	.word	aes_function_hook
	.word	1609572664
	.word	1609572698
	.word	.LC21
	.size	hook_aes_func, .-hook_aes_func
	.section	.rodata
	.align	2
.LC23:
	.ascii	"%s \000"
	.align	2
.LC24:
	.ascii	"\012\000"
	.align	2
.LC25:
	.ascii	"usage: echo <message>\012\000"
	.text
	.align	2
	.global	cmd_echo
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_echo, %function
cmd_echo:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L18
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L19
.L20:
	ldr	r3, .L22
	ldr	r4, [r3]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r3, #16]
	mov	r1, r3
	ldr	r0, .L22+4
	blx	r4
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L19:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L20
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r0, .L22+8
	blx	r3
	mov	r3, #0
	b	.L21
.L18:
	ldr	r3, .L22
	ldr	r3, [r3]
	ldr	r0, .L22+12
	blx	r3
	mov	r3, #0
.L21:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	_printf
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	cmd_echo, .-cmd_echo
	.align	2
	.global	bswap32
	.syntax unified
	.arm
	.fpu softvfp
	.type	bswap32, %function
bswap32:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	and	r3, r3, #16711680
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #8
	and	r3, r3, #65280
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #24
	orr	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bswap32, .-bswap32
	.section	.rodata
	.align	2
.LC26:
	.ascii	"filesize\000"
	.align	2
.LC27:
	.ascii	"cmd-results\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_decypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_decypt, %function
cmd_decypt:
	@ args = 0, pretend = 0, frame = 2336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2336
	sub	sp, sp, #4
	str	r0, [fp, #-2344]
	str	r1, [fp, #-2348]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L35+4
	ldr	r3, [r3]
	mov	r1, #0
	ldr	r0, .L35+8
	blx	r3
	str	r0, [fp, #-2328]
	mov	r3, #1073741824
	str	r3, [fp, #-2324]
	sub	r3, fp, #2304
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-2328]
	mov	r1, r3
	ldr	r0, [fp, #-2324]
	bl	aes_decrypt_key
	mov	r3, #0
	str	r3, [fp, #-2332]
	b	.L27
.L32:
	sub	r3, fp, #2304
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [fp, #-2332]
	add	r3, r3, r2
	ldrb	r3, [r3]
	strb	r3, [fp, #-2333]
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	ldrb	r2, [fp, #-2333]	@ zero_extendqisi2
	lsr	r2, r2, #4
	and	r1, r2, #255
	sub	r2, fp, #12
	add	r2, r2, r3
	strb	r1, [r2, #-1540]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-1540]	@ zero_extendqisi2
	cmp	r3, #9
	bhi	.L28
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-1540]	@ zero_extendqisi2
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r2, r2, #48
	and	r2, r2, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-1540]
	b	.L29
.L28:
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-1540]	@ zero_extendqisi2
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r2, r2, #87
	and	r2, r2, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-1540]
.L29:
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r3, r3, #1
	ldrb	r2, [fp, #-2333]
	and	r2, r2, #15
	and	r1, r2, #255
	sub	r2, fp, #12
	add	r2, r2, r3
	strb	r1, [r2, #-1540]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-1540]	@ zero_extendqisi2
	cmp	r3, #9
	bhi	.L30
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-1540]	@ zero_extendqisi2
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r3, r3, #1
	add	r2, r2, #48
	and	r2, r2, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-1540]
	b	.L31
.L30:
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r2, [r3, #-1540]	@ zero_extendqisi2
	ldr	r3, [fp, #-2332]
	lsl	r3, r3, #1
	add	r3, r3, #1
	add	r2, r2, #87
	and	r2, r2, #255
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-1540]
.L31:
	ldr	r3, [fp, #-2332]
	add	r3, r3, #1
	lsl	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1540]
	ldr	r3, [fp, #-2332]
	add	r3, r3, #1
	str	r3, [fp, #-2332]
.L27:
	ldr	r3, [fp, #-2332]
	ldr	r2, [fp, #-2328]
	cmp	r2, r3
	bhi	.L32
	ldr	r3, .L35+12
	ldr	r4, [r3]
	sub	r3, fp, #1536
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, .L35+16
	blx	r4
	ldr	r3, .L35+20
	ldr	r3, [r3]
	blx	r3
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC28
	.word	env_get_uint
	.word	.LC26
	.word	env_set
	.word	.LC27
	.word	watchdog_tickle
	.size	cmd_decypt, .-cmd_decypt
	.section	.rodata
	.align	2
.LC29:
	.ascii	"error funcpointer too large\012\000"
	.align	2
.LC30:
	.ascii	"calling (0x%08x)(0x%08x,0x%08x,0x%08x,0x%08x) \000"
	.align	2
.LC31:
	.ascii	"reval=0x%08x (%lu)\012\000"
	.align	2
.LC32:
	.ascii	"usage: call <func> <args...>\012\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_call
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_call, %function
cmd_call:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #32
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	ble	.L38
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	add	r3, r3, #20
	ldr	r3, [r3, #16]
	sub	r2, fp, #52
	sub	r1, fp, #56
	mov	r0, r3
	bl	parseHex
	ldr	r3, [fp, #-56]
	mov	r0, r3
	bl	bswap32
	mov	r3, r0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-52]
	cmp	r3, #4
	bls	.L39
	ldr	r3, .L47+4
	ldr	r3, [r3]
	ldr	r0, .L47+8
	blx	r3
	mov	r3, #0
	b	.L45
.L39:
	mov	r3, #2
	str	r3, [fp, #-44]
	b	.L41
.L43:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r3, r2
	ldr	r0, [r3, #16]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #2
	sub	r2, fp, #32
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #48
	mov	r1, r3
	bl	parseHex
	ldr	r3, [fp, #-44]
	sub	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-20]
	ldr	r3, [fp, #-44]
	sub	r4, r3, #2
	mov	r0, r2
	bl	bswap32
	mov	r2, r0
	lsl	r3, r4, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L41:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #2
	cmp	r3, #3
	bhi	.L42
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bcc	.L43
.L42:
	ldr	r3, .L47+4
	ldr	r4, [r3]
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-32]
	ldr	ip, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L47+12
	blx	r4
	ldr	r3, [fp, #-56]
	mov	r4, r3
	ldr	r0, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	blx	r4
	str	r0, [fp, #-36]
	ldr	r3, .L47+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-36]
	ldr	r0, .L47+16
	blx	r3
	mov	r3, #0
	b	.L45
.L38:
	ldr	r3, .L47+4
	ldr	r3, [r3]
	ldr	r0, .L47+20
	blx	r3
	mov	r3, #0
.L45:
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC33
	.word	_printf
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	cmd_call, .-cmd_call
	.section	.rodata
	.align	2
.LC34:
	.ascii	"enter measure mode\012\000"
	.align	2
.LC35:
	.ascii	"disable Idle poweroff ...\000"
	.align	2
.LC36:
	.ascii	"END\000"
	.align	2
.LC37:
	.ascii	"[M] found END tag!\012\000"
	.align	2
.LC38:
	.ascii	"BEGIN\000"
	.align	2
.LC39:
	.ascii	"[M] valid command detected\012\000"
	.align	2
.LC41:
	.ascii	"[M] failed parsing encStr!\012\000"
	.align	2
.LC42:
	.ascii	"[M] failed parsing seeds failed!\012\000"
	.align	2
.LC43:
	.ascii	"[M] failed parsing encCount!\012\000"
	.align	2
.LC44:
	.ascii	"[M] failed parsing modeStr!\012\000"
	.align	2
.LC45:
	.ascii	"[M] failed parsing mode!\012\000"
	.align	2
.LC46:
	.ascii	"[M] invalid seedsLen=\000"
	.align	2
.LC47:
	.ascii	"%d\000"
	.align	2
.LC48:
	.ascii	" but expected 32\012\000"
	.align	2
.LC49:
	.ascii	"[M] seed encrypt=\000"
	.align	2
.LC50:
	.ascii	"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02"
	.ascii	"x%02x%02x%02x\000"
	.align	2
.LC51:
	.ascii	"\012[M] seed select=\000"
	.align	2
.LC52:
	.ascii	"\012[M] encCount=\000"
	.align	2
.LC53:
	.ascii	"%lu\012\000"
	.align	2
.LC54:
	.ascii	"[M] final encrypt=\000"
	.align	2
.LC55:
	.ascii	"\012[M] final select=\000"
	.align	2
.LC56:
	.ascii	" but expected 48\012\000"
	.align	2
.LC57:
	.ascii	"\012[M] user key=\000"
	.align	2
.LC58:
	.ascii	"\012[M] final ciphermesh=\000"
	.align	2
.LC59:
	.ascii	"\012[M] final plainmesh=\000"
	.align	2
.LC60:
	.ascii	" but expected 16\012\000"
	.align	2
.LC61:
	.ascii	"[M] bad mode=\000"
	.align	2
.LC62:
	.ascii	"%lu\000"
	.align	2
.LC63:
	.ascii	"[M] restart (MSG: \"BEGIN<16byte enc seed><16byte s"
	.ascii	"el seed> <encCount> <mode>END\")\012\000"
	.align	2
.LC64:
	.ascii	"exit measure mode\012\000"
	.align	2
.LC40:
	.ascii	"\000\001\002\003\004\005\006\007\010\011\012\013\014"
	.ascii	"\015\016\017"
	.align	2
.LC65:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_measure
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_measure, %function
cmd_measure:
	@ args = 0, pretend = 0, frame = 1136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #1200
	sub	sp, sp, #4
	str	r0, [fp, #-1080]
	str	r1, [fp, #-1084]
	ldr	r3, .L104
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+4
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+8
	ldr	r3, [r3]
	ldr	r0, .L104+12
	blx	r3
	ldr	r2, .L104+16
	ldr	r3, .L104+20
	strh	r3, [r2]	@ movhi
	bl	clear_icache
	ldr	r3, .L104+8
	ldr	r3, [r3]
	ldr	r0, .L104+24
	blx	r3
	ldr	r2, .L104+28
	ldr	r3, .L104+20
	strh	r3, [r2]	@ movhi
	bl	clear_icache
	b	.L50
.L100:
	sub	r3, fp, #552
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1068]
	b	.L51
.L99:
	nop
	ldr	r3, .L104+32
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #0
	blx	r3
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #552
	ldr	r3, [fp, #-1068]
	add	r2, r2, r3
	mov	r3, r1
	strb	r3, [r2]
	ldr	r3, [fp, #-1068]
	cmp	r3, #4
	bls	.L52
	ldr	r3, [fp, #-1068]
	sub	r2, r3, #3
	sub	r3, fp, #552
	add	r3, r3, r2
	mov	r2, #3
	ldr	r1, .L104+36
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+40
	mov	r0, #0
	blx	r3
	sub	r2, fp, #552
	ldr	r3, [fp, #-1068]
	add	r2, r2, r3
	mov	r3, #0
	strb	r3, [r2]
	ldr	r3, [fp, #-1068]
	cmp	r3, #10
	bls	.L103
	sub	r3, fp, #552
	mov	r2, #5
	ldr	r1, .L104+44
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L103
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+48
	mov	r0, #0
	blx	r3
	mov	r3, #0
	str	r3, [fp, #-1072]
	ldr	r3, .L104+52
	sub	ip, fp, #956
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-1016]
	mov	r3, #0
	str	r3, [fp, #-1012]
	mov	r3, #0
	str	r3, [fp, #-1008]
	sub	r3, fp, #552
	add	r3, r3, #5
	str	r3, [fp, #-1064]
	b	.L54
.L56:
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+56
	mov	r0, #0
	blx	r3
	b	.L55
.L54:
	ldr	r3, [fp, #-1064]
	add	r3, r3, #1
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1064]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L56
.L55:
	ldr	r2, [fp, #-1064]
	mov	r3, #0
	strb	r3, [r2]
	sub	r2, fp, #1056
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r1, fp, #1004
	sub	r3, fp, #552
	add	r3, r3, #5
	mov	r0, r3
	bl	parseHex
	mov	r3, r0
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-1072]
	cmp	r3, #16
	beq	.L58
	ldr	r3, [fp, #-1072]
	cmp	r3, #32
	beq	.L58
	ldr	r3, [fp, #-1072]
	cmp	r3, #48
	beq	.L58
.L57:
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+60
	mov	r0, #0
	blx	r3
	b	.L98
.L58:
	ldr	r3, [fp, #-1072]
	str	r3, [fp, #-1016]
	ldr	r3, [fp, #-1016]
	add	r3, r3, #3
	lsl	r2, r3, #1
	sub	r3, fp, #552
	add	r3, r3, r2
	mov	r0, r3
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-1012]
	ldr	r3, [fp, #-1012]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+64
	mov	r0, #0
	blx	r3
	b	.L98
.L60:
	ldr	r3, [fp, #-1016]
	add	r3, r3, #3
	lsl	r2, r3, #1
	sub	r3, fp, #552
	add	r3, r3, r2
	str	r3, [fp, #-1060]
	b	.L61
.L63:
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L61
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+68
	mov	r0, #0
	blx	r3
	b	.L62
.L61:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L63
.L62:
	ldr	r0, [fp, #-1060]
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-1008]
	ldr	r3, [fp, #-1008]
	cmp	r3, #0
	bne	.L64
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+72
	mov	r0, #0
	blx	r3
	b	.L98
.L64:
	ldr	r3, [fp, #-1008]
	cmp	r3, #1
	bne	.L65
	ldr	r3, [fp, #-1016]
	cmp	r3, #32
	beq	.L66
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+112
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1016]
	ldr	r2, .L104+116
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+76
	mov	r0, #0
	blx	r3
	b	.L98
.L66:
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+124
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+80
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+136
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1012]
	ldr	r2, .L104+144
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	mov	r3, #0
	str	r3, [fp, #-1056]
	b	.L67
.L70:
	sub	r3, fp, #940
	sub	r0, fp, #1004
	mov	r2, r3
	ldr	r1, .L104+152
	bl	aes_encrypt
	sub	r2, fp, #808
	sub	r3, fp, #1004
	add	r3, r3, #16
	ldr	r1, .L104+152
	mov	r0, r3
	bl	aes_encrypt
	ldrb	r3, [fp, #-808]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L68
	sub	r1, fp, #680
	sub	r3, fp, #940
	mov	r2, #16
	mov	r0, r3
	bl	aes_encrypt_key
	b	.L69
.L68:
	sub	r1, fp, #680
	sub	r3, fp, #956
	mov	r2, #16
	mov	r0, r3
	bl	aes_encrypt_key
.L69:
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	sub	r1, fp, #808
	sub	r3, fp, #1004
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, .L104+92
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
.L67:
	ldr	r2, [fp, #-1056]
	ldr	r3, [fp, #-1012]
	cmp	r3, r2
	bhi	.L70
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+100
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+84
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+108
	mov	r0, #0
	blx	r3
	b	.L103
.L65:
	ldr	r3, [fp, #-1008]
	cmp	r3, #2
	bne	.L72
	ldr	r3, [fp, #-1016]
	cmp	r3, #48
	beq	.L73
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+112
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1016]
	ldr	r2, .L104+116
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+120
	mov	r0, #0
	blx	r3
	b	.L98
.L73:
	sub	r3, fp, #808
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+124
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+128
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-972]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-971]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-970]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-969]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-968]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-967]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-966]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-965]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-964]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-963]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-962]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-961]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-960]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-959]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-958]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-957]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+136
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1012]
	ldr	r2, .L104+144
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	mov	r3, #0
	str	r3, [fp, #-1052]
	b	.L74
.L105:
	.align	2
.L104:
	.word	.LC65
	.word	.LC34
	.word	_printf
	.word	.LC35
	.word	1609568104
	.word	18288
	.word	.LC16
	.word	1609691144
	.word	uart_getc
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC48
	.word	.LC51
	.word	.LC55
	.word	.LC58
	.word	watchdog_tickle
	.word	gpio_write
	.word	.LC54
	.word	.LC59
	.word	.LC24
	.word	.LC46
	.word	.LC47
	.word	.LC56
	.word	.LC49
	.word	.LC57
	.word	.LC50
	.word	.LC52
	.word	_snprintf
	.word	.LC53
	.word	uart_puts
	.word	roundkeys
.L75:
	sub	r3, fp, #940
	sub	r0, fp, #1004
	mov	r2, r3
	ldr	r1, .L104+152
	bl	aes_encrypt
	sub	r3, fp, #1004
	add	r3, r3, #16
	sub	r1, fp, #680
	sub	r0, fp, #940
	mov	r2, #16
	bl	aes_encrypt_key_custom
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #808
	ldmia	r3, {r0-r1}
	sub	r3, fp, #680
	ldmia	r3, {r2-r3}
	sub	ip, fp, #808
	eor	lr, r0, r2
	str	lr, [fp, #-1092]
	eor	r3, r1, r3
	str	r3, [fp, #-1088]
	ldr	r3, [fp, #-1092]
	ldr	r4, [fp, #-1088]
	stm	ip, {r3-r4}
	sub	r3, fp, #808
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #680
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	ip, fp, #808
	add	ip, ip, #8
	eor	lr, r0, r2
	str	lr, [fp, #-1100]
	eor	r3, r1, r3
	str	r3, [fp, #-1096]
	ldr	r3, [fp, #-1100]
	ldr	r4, [fp, #-1096]
	stm	ip, {r3-r4}
	ldr	r3, .L104+92
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
.L74:
	ldr	r2, [fp, #-1052]
	ldr	r3, [fp, #-1012]
	cmp	r3, r2
	bhi	.L75
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+100
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+88
	mov	r0, #0
	blx	r3
	sub	r1, fp, #808
	sub	r3, fp, #1004
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+108
	mov	r0, #0
	blx	r3
	b	.L103
.L72:
	ldr	r3, [fp, #-1008]
	cmp	r3, #3
	bne	.L76
	ldr	r3, [fp, #-1016]
	cmp	r3, #48
	beq	.L77
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+112
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1016]
	ldr	r2, .L104+116
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+120
	mov	r0, #0
	blx	r3
	b	.L98
.L77:
	sub	r3, fp, #924
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+124
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+128
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-972]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-971]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-970]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-969]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-968]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-967]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-966]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-965]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-964]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-963]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-962]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-961]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-960]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-959]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-958]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-957]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+136
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1012]
	ldr	r2, .L104+144
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L78
.L81:
	sub	r3, fp, #940
	sub	r0, fp, #1004
	mov	r2, r3
	ldr	r1, .L104+152
	bl	aes_encrypt
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L79
.L80:
	sub	r2, fp, #808
	ldr	r3, [fp, #-1044]
	add	r0, r2, r3
	sub	r3, fp, #940
	mov	r2, #16
	mov	r1, r3
	bl	memmove
	ldr	r3, [fp, #-1044]
	add	r3, r3, #16
	str	r3, [fp, #-1044]
.L79:
	ldr	r3, [fp, #-1044]
	cmp	r3, #47
	bls	.L80
	sub	r3, fp, #1004
	add	r3, r3, #16
	sub	r1, fp, #680
	sub	r0, fp, #808
	mov	r2, #48
	bl	aes_decrypt_key_custom
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #924
	ldmia	r3, {r0-r1}
	sub	r3, fp, #680
	ldmia	r3, {r2-r3}
	sub	ip, fp, #924
	eor	lr, r0, r2
	str	lr, [fp, #-1108]
	eor	r3, r1, r3
	str	r3, [fp, #-1104]
	ldr	r3, [fp, #-1108]
	ldr	r4, [fp, #-1104]
	stm	ip, {r3-r4}
	sub	r3, fp, #924
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #680
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	ip, fp, #924
	add	ip, ip, #8
	eor	lr, r0, r2
	str	lr, [fp, #-1116]
	eor	r3, r1, r3
	str	r3, [fp, #-1112]
	ldr	r3, [fp, #-1116]
	ldr	r4, [fp, #-1112]
	stm	ip, {r3-r4}
	ldr	r3, .L104+92
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L78:
	ldr	r2, [fp, #-1048]
	ldr	r3, [fp, #-1012]
	cmp	r3, r2
	bhi	.L81
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+96
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+100
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+104
	mov	r0, #0
	blx	r3
	sub	r1, fp, #924
	sub	r3, fp, #1004
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+108
	mov	r0, #0
	blx	r3
	b	.L103
.L76:
	ldr	r3, [fp, #-1008]
	cmp	r3, #4
	bne	.L82
	ldr	r3, [fp, #-1016]
	cmp	r3, #48
	beq	.L83
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+112
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1016]
	ldr	r2, .L104+116
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+120
	mov	r0, #0
	blx	r3
	b	.L98
.L83:
	sub	r3, fp, #924
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+124
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+128
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+140
	ldr	r9, [r3]
	ldrb	r3, [fp, #-972]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-971]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-970]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-969]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-968]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-967]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-966]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-965]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-964]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-963]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-962]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-961]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-960]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-959]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-958]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-957]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L104+132
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L104+148
	ldr	r3, [r3]
	ldr	r1, .L104+136
	mov	r0, #0
	blx	r3
	ldr	r3, .L104+140
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1012]
	ldr	r2, .L104+144
	mov	r1, #100
	blx	r4
	ldr	r3, .L104+148
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	mov	r3, #0
	str	r3, [fp, #-1040]
	b	.L84
.L89:
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L85
.L86:
	sub	r3, fp, #940
	sub	r0, fp, #1004
	mov	r2, r3
	ldr	r1, .L104+152
	bl	aes_encrypt
	sub	r2, fp, #808
	ldr	r3, [fp, #-1036]
	add	r0, r2, r3
	sub	r3, fp, #940
	mov	r2, #16
	mov	r1, r3
	bl	memmove
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, [fp, #-1036]
	add	r3, r3, #16
	str	r3, [fp, #-1036]
.L85:
	ldr	r3, [fp, #-1036]
	cmp	r3, #127
	bls	.L86
	sub	r3, fp, #1004
	add	r3, r3, #16
	sub	r1, fp, #680
	sub	r0, fp, #808
	mov	r2, #128
	bl	aes_decrypt_key_custom
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	mov	r3, #0
	str	r3, [fp, #-1032]
	b	.L87
.L88:
	sub	r3, fp, #924
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1032]
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	lsl	r2, r3, #4
	sub	r3, fp, #680
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	sub	r1, fp, #924
	eor	r0, r4, r2
	str	r0, [fp, #-1124]
	eor	r3, r5, r3
	str	r3, [fp, #-1120]
	ldr	r3, [fp, #-1124]
	ldr	r4, [fp, #-1120]
	stm	r1, {r3-r4}
	sub	r3, fp, #924
	add	r3, r3, #8
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1032]
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	lsl	r3, r3, #4
	add	r2, r3, #8
	sub	r3, fp, #680
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	sub	r1, fp, #924
	add	r1, r1, #8
	eor	r0, r4, r2
	str	r0, [fp, #-1132]
	eor	r3, r5, r3
	str	r3, [fp, #-1128]
	ldr	r3, [fp, #-1132]
	ldr	r4, [fp, #-1128]
	stm	r1, {r3-r4}
	ldr	r3, [fp, #-1032]
	add	r3, r3, #16
	str	r3, [fp, #-1032]
.L87:
	ldr	r3, [fp, #-1032]
	cmp	r3, #127
	bls	.L88
	ldr	r3, .L106
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [fp, #-1040]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
.L84:
	ldr	r2, [fp, #-1040]
	ldr	r3, [fp, #-1012]
	cmp	r3, r2
	bhi	.L89
	ldr	r3, .L106+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L106+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+12
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L106+20
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+24
	mov	r0, #0
	blx	r3
	sub	r1, fp, #924
	sub	r3, fp, #1004
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, .L106+16
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L106+20
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+28
	mov	r0, #0
	blx	r3
	b	.L103
.L82:
	ldr	r3, [fp, #-1008]
	cmp	r3, #5
	bne	.L90
	ldr	r3, [fp, #-1016]
	cmp	r3, #16
	beq	.L91
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+32
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1016]
	ldr	r2, .L106+36
	mov	r1, #100
	blx	r4
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+40
	mov	r0, #0
	blx	r3
	b	.L98
.L91:
	sub	r3, fp, #924
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+44
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L106+20
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+48
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1012]
	ldr	r2, .L106+52
	mov	r1, #100
	blx	r4
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	mov	r3, #0
	str	r3, [fp, #-1028]
	b	.L92
.L97:
	mov	r3, #0
	str	r3, [fp, #-1024]
	b	.L93
.L94:
	sub	r3, fp, #940
	sub	r0, fp, #1004
	mov	r2, r3
	ldr	r1, .L106+56
	bl	aes_encrypt
	sub	r2, fp, #808
	ldr	r3, [fp, #-1024]
	add	r0, r2, r3
	sub	r3, fp, #940
	mov	r2, #16
	mov	r1, r3
	bl	memmove
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, [fp, #-1024]
	add	r3, r3, #16
	str	r3, [fp, #-1024]
.L93:
	ldr	r3, [fp, #-1024]
	cmp	r3, #127
	bls	.L94
	sub	r1, fp, #680
	sub	r3, fp, #808
	mov	r2, #128
	mov	r0, r3
	bl	aes_decrypt_key
	sub	r1, fp, #940
	sub	r3, fp, #1004
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	mov	r3, #0
	str	r3, [fp, #-1020]
	b	.L95
.L96:
	sub	r3, fp, #924
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1020]
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	lsl	r2, r3, #4
	sub	r3, fp, #680
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	sub	r1, fp, #924
	eor	r0, r4, r2
	str	r0, [fp, #-1140]
	eor	r3, r5, r3
	str	r3, [fp, #-1136]
	ldr	r3, [fp, #-1140]
	ldr	r4, [fp, #-1136]
	stm	r1, {r3-r4}
	sub	r3, fp, #924
	add	r3, r3, #8
	ldmia	r3, {r4-r5}
	ldr	r3, [fp, #-1020]
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	lsl	r3, r3, #4
	add	r2, r3, #8
	sub	r3, fp, #680
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	sub	r1, fp, #924
	add	r1, r1, #8
	eor	r0, r4, r2
	str	r0, [fp, #-1148]
	eor	r3, r5, r3
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1148]
	ldr	r4, [fp, #-1144]
	stm	r1, {r3-r4}
	ldr	r3, [fp, #-1020]
	add	r3, r3, #16
	str	r3, [fp, #-1020]
.L95:
	ldr	r3, [fp, #-1020]
	cmp	r3, #127
	bls	.L96
	ldr	r3, .L106
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [fp, #-1028]
	add	r3, r3, #1
	str	r3, [fp, #-1028]
.L92:
	ldr	r2, [fp, #-1028]
	ldr	r3, [fp, #-1012]
	cmp	r3, r2
	bhi	.L97
	ldr	r3, .L106+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, #3
	blx	r3
	ldr	r3, .L106+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, #3
	blx	r3
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+12
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r9, [r3]
	ldrb	r3, [fp, #-1004]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-1003]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-1002]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1001]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1000]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-999]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-998]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-997]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-996]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-995]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-994]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-993]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-992]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-991]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-990]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-989]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L106+20
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+24
	mov	r0, #0
	blx	r3
	sub	r1, fp, #924
	sub	r3, fp, #1004
	add	r3, r3, #16
	mov	r2, #16
	mov	r0, r3
	bl	memmove
	ldr	r3, .L106+16
	ldr	r9, [r3]
	ldrb	r3, [fp, #-988]	@ zero_extendqisi2
	str	r3, [fp, #-1152]
	ldrb	r3, [fp, #-987]	@ zero_extendqisi2
	str	r3, [fp, #-1156]
	ldrb	r3, [fp, #-986]	@ zero_extendqisi2
	str	r3, [fp, #-1160]
	ldrb	r3, [fp, #-985]	@ zero_extendqisi2
	str	r3, [fp, #-1164]
	ldrb	r3, [fp, #-984]	@ zero_extendqisi2
	str	r3, [fp, #-1168]
	ldrb	r3, [fp, #-983]	@ zero_extendqisi2
	mov	r10, r3
	ldrb	r3, [fp, #-982]	@ zero_extendqisi2
	mov	r8, r3
	ldrb	r3, [fp, #-981]	@ zero_extendqisi2
	mov	r7, r3
	ldrb	r3, [fp, #-980]	@ zero_extendqisi2
	mov	r6, r3
	ldrb	r3, [fp, #-979]	@ zero_extendqisi2
	mov	r5, r3
	ldrb	r3, [fp, #-978]	@ zero_extendqisi2
	mov	r4, r3
	ldrb	r3, [fp, #-977]	@ zero_extendqisi2
	mov	lr, r3
	ldrb	r3, [fp, #-976]	@ zero_extendqisi2
	mov	r0, r3
	ldrb	r3, [fp, #-975]	@ zero_extendqisi2
	mov	r1, r3
	ldrb	r3, [fp, #-974]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-973]	@ zero_extendqisi2
	sub	ip, fp, #908
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	r1, [sp, #48]
	str	r0, [sp, #44]
	str	lr, [sp, #40]
	str	r4, [sp, #36]
	str	r5, [sp, #32]
	str	r6, [sp, #28]
	str	r7, [sp, #24]
	str	r8, [sp, #20]
	str	r10, [sp, #16]
	ldr	r2, [fp, #-1168]
	str	r2, [sp, #12]
	ldr	r2, [fp, #-1164]
	str	r2, [sp, #8]
	ldr	r2, [fp, #-1160]
	str	r2, [sp, #4]
	ldr	r2, [fp, #-1156]
	str	r2, [sp]
	ldr	r3, [fp, #-1152]
	ldr	r2, .L106+20
	mov	r1, #100
	mov	r0, ip
	blx	r9
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+28
	mov	r0, #0
	blx	r3
	b	.L103
.L90:
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+60
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+16
	ldr	r4, [r3]
	sub	r0, fp, #908
	ldr	r3, [fp, #-1008]
	ldr	r2, .L106+64
	mov	r1, #100
	blx	r4
	ldr	r3, .L106+8
	ldr	r2, [r3]
	sub	r3, fp, #908
	mov	r1, r3
	mov	r0, #0
	blx	r2
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+28
	mov	r0, #0
	blx	r3
	b	.L98
.L52:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #1
	str	r3, [fp, #-1068]
.L51:
	ldr	r3, [fp, #-1068]
	cmp	r3, #512
	bcs	.L98
	ldr	r3, .L106+68
	ldr	r3, [r3]
	mov	r0, #2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L99
	b	.L98
.L103:
	nop
.L98:
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+72
	mov	r0, #0
	blx	r3
.L50:
	ldr	r3, .L106+68
	ldr	r3, [r3]
	mov	r0, #2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L100
	ldr	r3, .L106+8
	ldr	r3, [r3]
	ldr	r1, .L106+76
	mov	r0, #0
	blx	r3
	ldr	r3, .L106+80
	ldr	r2, .L106+84
	strh	r2, [r3]	@ movhi
	bl	clear_icache
	mov	r3, #0
	ldr	r2, .L106+88
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L102
	bl	__stack_chk_fail
.L102:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L107:
	.align	2
.L106:
	.word	watchdog_tickle
	.word	gpio_write
	.word	uart_puts
	.word	.LC54
	.word	_snprintf
	.word	.LC50
	.word	.LC59
	.word	.LC24
	.word	.LC46
	.word	.LC47
	.word	.LC60
	.word	.LC49
	.word	.LC52
	.word	.LC53
	.word	roundkeys
	.word	.LC61
	.word	.LC62
	.word	gpio_read
	.word	.LC63
	.word	.LC64
	.word	1609691144
	.word	-18960
	.word	.LC65
	.size	cmd_measure, .-cmd_measure
	.section	.rodata
	.align	2
.LC66:
	.ascii	"usage: md <addr> <size>\012\000"
	.align	2
.LC67:
	.ascii	"ERROR: cmd_md addr %s too large (%d)\012\000"
	.align	2
.LC68:
	.ascii	"addrstr=%s (0x%08x)\012\000"
	.align	2
.LC69:
	.ascii	"ERROR: cmd_md size %s too large (%d)\012\000"
	.align	2
.LC70:
	.ascii	"dumping 0x%s (0x%08x) of size 0x%s (0x%08x)\012\000"
	.align	2
.LC71:
	.ascii	"md done!\012\000"
	.align	2
.LC72:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_md
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_md, %function
cmd_md:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L117
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	beq	.L109
	ldr	r3, .L117+4
	ldr	r3, [r3]
	ldr	r0, .L117+8
	blx	r3
	mov	r3, #0
	b	.L115
.L109:
	ldr	r3, [fp, #-44]
	add	r3, r3, #20
	ldr	r3, [r3, #16]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-44]
	add	r3, r3, #40
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L111
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L111
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
.L111:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L112
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L112
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	str	r3, [fp, #-24]
.L112:
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r2, fp, #28
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	parseHex
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	bls	.L113
	ldr	r3, .L117+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L117+12
	blx	r3
	mov	r3, #0
	b	.L115
.L113:
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	bswap32
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, .L117+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-24]
	ldr	r0, .L117+16
	blx	r3
	sub	r2, fp, #28
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	parseHex
	ldr	r3, [fp, #-28]
	cmp	r3, #4
	bls	.L114
	ldr	r3, .L117+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-20]
	ldr	r0, .L117+20
	blx	r3
	mov	r3, #0
	b	.L115
.L114:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	bswap32
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, .L117+4
	ldr	r4, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-24]
	ldr	r0, .L117+24
	blx	r4
	ldr	r3, [fp, #-36]
	mov	r2, r3
	ldr	r3, [fp, #-32]
	mov	r1, r3
	mov	r0, r2
	bl	DumpHex
	ldr	r3, .L117+4
	ldr	r3, [r3]
	ldr	r0, .L117+28
	blx	r3
	mov	r3, #0
.L115:
	ldr	r2, .L117
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L116
	bl	__stack_chk_fail
.L116:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L118:
	.align	2
.L117:
	.word	.LC72
	.word	_printf
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.size	cmd_md, .-cmd_md
	.section	.rodata
	.align	2
.LC73:
	.ascii	"usage: md <addr> <HEXDATA>\012\000"
	.align	2
.LC74:
	.ascii	"ERROR: cmd_mw data not multiple of 2\012\000"
	.align	2
.LC75:
	.ascii	"ERROR: cmd_mw addr %s too large (%d)\012\000"
	.align	2
.LC76:
	.ascii	"wrote to 0x%s (0x%08x) this data:\012\000"
	.align	2
.LC77:
	.ascii	"ERROR: cmd_mw failed to parse data\012\000"
	.align	2
.LC78:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cmd_mw
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_mw, %function
cmd_mw:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L131
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	beq	.L120
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r0, .L131+8
	blx	r3
	mov	r3, #0
	b	.L129
.L120:
	ldr	r3, [fp, #-52]
	add	r3, r3, #20
	ldr	r3, [r3, #16]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r3, #40
	ldr	r3, [r3, #16]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L122
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L122
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-36]
.L122:
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L123
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r0, .L131+12
	blx	r3
	mov	r3, #0
	b	.L129
.L123:
	ldr	r3, .L131+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	add	r2, r2, #1
	mov	r0, r2
	blx	r3
	str	r0, [fp, #-12]
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	parseHex
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	bls	.L124
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	ldr	r0, .L131+20
	blx	r3
	mov	r3, #0
	b	.L129
.L124:
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	bswap32
	mov	r3, r0
	str	r3, [fp, #-44]
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-28]
	bl	parseHex
	mov	r3, r0
	cmp	r3, #0
	bne	.L125
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L126
.L127:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	add	r2, r2, r3
	ldr	r1, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L126:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L127
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-36]
	ldr	r0, .L131+24
	blx	r3
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	DumpHex
	b	.L128
.L125:
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r0, .L131+28
	blx	r3
.L128:
	ldr	r3, .L131+32
	ldr	r3, [r3]
	ldr	r0, [fp, #-12]
	blx	r3
	ldr	r3, .L131+4
	ldr	r3, [r3]
	ldr	r0, .L131+36
	blx	r3
	mov	r3, #0
.L129:
	ldr	r2, .L131
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L132:
	.align	2
.L131:
	.word	.LC78
	.word	_printf
	.word	.LC73
	.word	.LC74
	.word	_malloc
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	_free
	.word	.LC71
	.size	cmd_mw, .-cmd_mw
	.section	.rodata
	.align	2
.LC79:
	.ascii	"usage: aes <enc/dec> [data]\012\000"
	.align	2
.LC80:
	.ascii	"aes_key insize=%d\012\000"
	.align	2
.LC81:
	.ascii	"ERROR: aes_encrypt_key\012\000"
	.align	2
.LC82:
	.ascii	"enc\000"
	.align	2
.LC83:
	.ascii	"aes do enc\012\000"
	.align	2
.LC84:
	.ascii	"loopSame\000"
	.align	2
.LC85:
	.ascii	"loopSameGid\000"
	.align	2
.LC86:
	.ascii	"loopDiff\000"
	.align	2
.LC87:
	.ascii	"%02x\000"
	.text
	.align	2
	.global	aes_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_cmd, %function
aes_cmd:
	@ 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, #-32]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	beq	.L134
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r0, .L150+4
	blx	r3
	mov	r3, #0
	b	.L135
.L134:
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	ldr	r3, [r3, #16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	add	r3, r3, #40
	ldr	r3, [r3, #16]
	str	r3, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	atol
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, .L150+8
	blx	r3
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L136
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r0, .L150+12
	blx	r3
	mov	r3, #0
	b	.L135
.L136:
	ldr	r3, .L150+16
	ldr	r3, [r3]
	ldr	r0, [fp, #-16]
	blx	r3
	str	r0, [fp, #-12]
	ldr	r3, .L150+16
	ldr	r3, [r3]
	ldr	r0, [fp, #-16]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	memset
	ldr	r2, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r1, .L150+20
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L137
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r0, .L150+24
	blx	r3
	ldr	r3, .L150+28
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	aes_encrypt_key_custom
	b	.L138
.L137:
	ldr	r1, .L150+32
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L139
	b	.L140
.L141:
	ldr	r3, .L150+28
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	aes_decrypt_key_custom
.L140:
	ldr	r3, .L150+36
	ldr	r3, [r3]
	mov	r0, #2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	b	.L138
.L139:
	ldr	r1, .L150+40
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L142
	b	.L143
.L144:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	aes_decrypt_key
.L143:
	ldr	r3, .L150+36
	ldr	r3, [r3]
	mov	r0, #2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L144
	b	.L138
.L142:
	ldr	r1, .L150+44
	ldr	r0, [fp, #-20]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L145
	b	.L146
.L147:
	ldr	r3, .L150+28
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	aes_encrypt_key_custom
	ldr	r3, .L150+28
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	aes_encrypt_key_custom
.L146:
	ldr	r3, .L150+36
	ldr	r3, [r3]
	mov	r0, #2
	blx	r3
	mov	r3, r0
	cmp	r3, #0
	bne	.L147
	b	.L138
.L145:
	ldr	r3, .L150+48
	ldr	r3, [r3]
	ldr	r0, [fp, #-8]
	blx	r3
	ldr	r3, .L150+48
	ldr	r3, [r3]
	ldr	r0, [fp, #-12]
	blx	r3
	mvn	r3, #0
	b	.L135
.L138:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L148
.L149:
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-8]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r1, r2
	ldr	r0, .L150+52
	blx	r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L148:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bhi	.L149
	ldr	r3, .L150
	ldr	r3, [r3]
	ldr	r0, .L150+56
	blx	r3
	ldr	r3, .L150+48
	ldr	r3, [r3]
	ldr	r0, [fp, #-8]
	blx	r3
	ldr	r3, .L150+48
	ldr	r3, [r3]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, #0
.L135:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	_printf
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	_malloc
	.word	.LC82
	.word	.LC83
	.word	fixedKey
	.word	.LC84
	.word	gpio_read
	.word	.LC85
	.word	.LC86
	.word	_free
	.word	.LC87
	.word	.LC24
	.size	aes_cmd, .-aes_cmd
	.align	2
	.global	aes_encrypt_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_encrypt_key, %function
aes_encrypt_key:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L154
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #512
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #16
	blx	r4
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L155:
	.align	2
.L154:
	.word	aes_crypto_cmd
	.size	aes_encrypt_key, .-aes_encrypt_key
	.align	2
	.global	aes_decrypt_key
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_decrypt_key, %function
aes_decrypt_key:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L158
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L158+4
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #17
	blx	r4
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L159:
	.align	2
.L158:
	.word	aes_crypto_cmd
	.word	536871424
	.size	aes_decrypt_key, .-aes_decrypt_key
	.align	2
	.global	aes_encrypt_key_custom
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_encrypt_key_custom, %function
aes_encrypt_key_custom:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L162
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	mov	r3, #536870912
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #16
	blx	r4
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L163:
	.align	2
.L162:
	.word	aes_crypto_cmd
	.size	aes_encrypt_key_custom, .-aes_encrypt_key_custom
	.align	2
	.global	aes_decrypt_key_custom
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_decrypt_key_custom, %function
aes_decrypt_key_custom:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L166
	ldr	r4, [r3]
	mov	r3, #0
	str	r3, [sp, #8]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #4]
	mov	r3, #536870912
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, #17
	blx	r4
	ldr	r3, [fp, #-24]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L167:
	.align	2
.L166:
	.word	aes_crypto_cmd
	.size	aes_decrypt_key_custom, .-aes_decrypt_key_custom
	.align	2
	.global	memset
	.syntax unified
	.arm
	.fpu softvfp
	.type	memset, %function
memset:
	@ 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, #-8]
	mov	r3, r1
	str	r2, [fp, #-16]
	strb	r3, [fp, #-9]
	b	.L169
.L170:
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L169:
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	cmp	r3, #0
	bne	.L170
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memset, .-memset
	.align	2
	.global	memmove
	.syntax unified
	.arm
	.fpu softvfp
	.type	memmove, %function
memmove:
	@ 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, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L172
.L173:
	ldr	r2, [fp, #-8]
	add	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L172:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L173
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	memmove, .-memmove
	.align	2
	.global	strncmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	strncmp, %function
strncmp:
	@ 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
	strb	r3, [fp, #-5]
	nop
.L176:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	beq	.L175
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L175
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L176
.L175:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strncmp, .-strncmp
	.align	2
	.global	strcmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	strcmp, %function
strcmp:
	@ 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
	strb	r3, [fp, #-5]
	nop
.L180:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L179
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L180
.L179:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strcmp, .-strcmp
	.align	2
	.global	strlen
	.syntax unified
	.arm
	.fpu softvfp
	.type	strlen, %function
strlen:
	@ 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	.L183
.L184:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L183:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L184
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	strlen, .-strlen
	.align	2
	.global	atol
	.syntax unified
	.arm
	.fpu softvfp
	.type	atol, %function
atol:
	@ 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, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L187
.L188:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L187:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L188
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L195
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-8]
.L195:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L190
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L191
.L190:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L192
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	b	.L194
.L192:
	ldr	r3, [fp, #-12]
	b	.L194
.L191:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L195
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L196
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	b	.L194
.L196:
	ldr	r3, [fp, #-12]
.L194:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	atol, .-atol
	.align	2
	.global	parseHex
	.syntax unified
	.arm
	.fpu softvfp
	.type	parseHex, %function
parseHex:
	@ 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	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L199
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L199:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L200
	mov	r3, #0
	b	.L201
.L200:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	and	r3, r3, #1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-18]
	b	.L202
.L207:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldrb	r3, [r3]
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-18]
	lsl	r3, r3, #4
	strb	r3, [fp, #-18]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L203
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L203
	ldrb	r2, [fp, #-17]
	ldrb	r3, [fp, #-18]
	add	r3, r2, r3
	and	r3, r3, #255
	sub	r3, r3, #48
	strb	r3, [fp, #-18]
	b	.L204
.L203:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L205
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #102
	bhi	.L205
	ldrb	r2, [fp, #-17]
	ldrb	r3, [fp, #-18]
	add	r3, r2, r3
	and	r3, r3, #255
	sub	r3, r3, #87
	strb	r3, [fp, #-18]
	b	.L204
.L205:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L206
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #70
	bhi	.L206
	ldrb	r2, [fp, #-17]
	ldrb	r3, [fp, #-18]
	add	r3, r2, r3
	and	r3, r3, #255
	sub	r3, r3, #55
	strb	r3, [fp, #-18]
	b	.L204
.L206:
	mvn	r3, #0
	b	.L201
.L204:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L202
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bcs	.L202
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r2, [fp, #-18]
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-18]
.L202:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L207
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L208
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
.L208:
	mov	r3, #0
.L201:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parseHex, .-parseHex
	.section	.rodata
	.align	2
.LC88:
	.ascii	"%02X \000"
	.align	2
.LC89:
	.ascii	" \000"
	.align	2
.LC90:
	.ascii	"|  %s \012\000"
	.align	2
.LC91:
	.ascii	"   \000"
	.align	2
.LC92:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DumpHex
	.syntax unified
	.arm
	.fpu softvfp
	.type	DumpHex, %function
DumpHex:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L221
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strb	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L210
.L219:
	ldr	r3, .L221+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-40]
	ldr	r2, [fp, #-36]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	mov	r1, r2
	ldr	r0, .L221+8
	blx	r3
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L211
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bhi	.L211
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	and	r3, r3, #15
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-24]
	b	.L212
.L211:
	ldr	r3, [fp, #-36]
	and	r3, r3, #15
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3, #-24]
.L212:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	and	r3, r3, #7
	cmp	r3, #0
	beq	.L213
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L214
.L213:
	ldr	r3, .L221+4
	ldr	r3, [r3]
	ldr	r0, .L221+12
	blx	r3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L215
	ldr	r3, .L221+4
	ldr	r3, [r3]
	sub	r2, fp, #28
	mov	r1, r2
	ldr	r0, .L221+16
	blx	r3
	b	.L214
.L215:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	bne	.L214
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	and	r3, r3, #15
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-24]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	and	r3, r3, #15
	cmp	r3, #8
	bhi	.L216
	ldr	r3, .L221+4
	ldr	r3, [r3]
	ldr	r0, .L221+12
	blx	r3
.L216:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	and	r3, r3, #15
	str	r3, [fp, #-32]
	b	.L217
.L218:
	ldr	r3, .L221+4
	ldr	r3, [r3]
	ldr	r0, .L221+20
	blx	r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L217:
	ldr	r3, [fp, #-32]
	cmp	r3, #15
	bls	.L218
	ldr	r3, .L221+4
	ldr	r3, [r3]
	sub	r2, fp, #28
	mov	r1, r2
	ldr	r0, .L221+16
	blx	r3
.L214:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L210:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L219
	nop
	ldr	r3, .L221
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L220
	bl	__stack_chk_fail
.L220:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L222:
	.align	2
.L221:
	.word	.LC92
	.word	_printf
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.size	DumpHex, .-DumpHex
	.align	2
	.global	clear_icache
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_icache, %function
clear_icache:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	.syntax divided
@ 1003 "the_stack_data/145452426.c" 1
	mov r0, #0
@ 0 "" 2
@ 1004 "the_stack_data/145452426.c" 1
	mcr p15, 0, r0, c7, c5, 0
@ 0 "" 2
@ 1005 "the_stack_data/145452426.c" 1
	isb
@ 0 "" 2
@ 1006 "the_stack_data/145452426.c" 1
	nop
@ 0 "" 2
@ 1007 "the_stack_data/145452426.c" 1
	nop
@ 0 "" 2
@ 1008 "the_stack_data/145452426.c" 1
	nop
@ 0 "" 2
@ 1009 "the_stack_data/145452426.c" 1
	nop
@ 0 "" 2
	.arm
	.syntax unified
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	clear_icache, .-clear_icache
	.section	.rodata
	.align	2
.LC93:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aes_precompute_tables
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_precompute_tables, %function
aes_precompute_tables:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L232
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L232+4
	ldr	r3, [r3]
	mov	r0, #1024
	blx	r3
	mov	r3, r0
	ldr	r2, .L232+8
	str	r3, [r2]
	ldr	r3, .L232+4
	ldr	r3, [r3]
	mov	r0, #1024
	blx	r3
	mov	r3, r0
	ldr	r2, .L232+12
	str	r3, [r2]
	ldr	r3, .L232+4
	ldr	r3, [r3]
	mov	r0, #1024
	blx	r3
	mov	r3, r0
	ldr	r2, .L232+16
	str	r3, [r2]
	ldr	r3, .L232+4
	ldr	r3, [r3]
	mov	r0, #1024
	blx	r3
	mov	r3, r0
	ldr	r2, .L232+20
	str	r3, [r2]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L225
.L230:
	ldr	r2, .L232+24
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-12]
	ldr	r2, .L232+24
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-11]
	ldr	r2, .L232+24
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-10]
	ldr	r2, .L232+24
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	blt	.L226
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #1
	and	r3, r3, #255
	b	.L227
.L226:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, #27
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
.L227:
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	blt	.L228
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #1
	and	r3, r3, #255
	b	.L229
.L228:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, #27
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
.L229:
	strb	r3, [fp, #-9]
	ldrb	r2, [fp, #-9]	@ zero_extendqisi2
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r3, r3, #255
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r1, r2, r3
	ldr	r3, .L232+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r1, r2, r3
	ldr	r3, .L232+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3]
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r1, r2, r3
	ldr	r3, .L232+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	mov	r2, r3
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r1, r2, r3
	ldr	r3, .L232+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L225:
	ldr	r3, [fp, #-16]
	cmp	r3, #255
	ble	.L230
	nop
	ldr	r3, .L232
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L231
	bl	__stack_chk_fail
.L231:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L233:
	.align	2
.L232:
	.word	.LC93
	.word	_malloc
	.word	T0
	.word	T1
	.word	T2
	.word	T3
	.word	sbox
	.size	aes_precompute_tables, .-aes_precompute_tables
	.section	.rodata
	.align	2
.LC94:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	aes_encrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	aes_encrypt, %function
aes_encrypt:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L242
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L235
.L236:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-52]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, r2
	and	r1, r3, #255
	sub	r2, fp, #24
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L235:
	ldr	r3, [fp, #-52]
	cmp	r3, #15
	ble	.L236
	sub	r3, fp, #40
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L237
.L238:
	ldr	r3, .L242+4
	ldr	r2, [r3]
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L242+8
	ldr	r1, [r3]
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+12
	ldr	r1, [r3]
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+16
	ldr	r1, [r3]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, .L242+4
	ldr	r2, [r3]
	ldrb	r3, [fp, #-20]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L242+8
	ldr	r1, [r3]
	ldrb	r3, [fp, #-15]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+12
	ldr	r1, [r3]
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+16
	ldr	r1, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, .L242+4
	ldr	r2, [r3]
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L242+8
	ldr	r1, [r3]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+12
	ldr	r1, [r3]
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+16
	ldr	r1, [r3]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, .L242+4
	ldr	r2, [r3]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L242+8
	ldr	r1, [r3]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+12
	ldr	r1, [r3]
	ldrb	r3, [fp, #-18]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, .L242+16
	ldr	r1, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	eor	r2, r2, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-60]
	add	r3, r1, r3
	add	r3, r3, #12
	ldr	r3, [r3]
	eor	r3, r3, r2
	str	r3, [fp, #-28]
	sub	r3, fp, #24
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	sub	r3, fp, #24
	add	r3, r3, #4
	ldr	r2, [fp, #-36]
	str	r2, [r3]
	sub	r3, fp, #24
	add	r3, r3, #8
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	sub	r3, fp, #24
	add	r3, r3, #12
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L237:
	ldr	r3, [fp, #-48]
	cmp	r3, #9
	ble	.L238
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L239
.L240:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-20]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L242+20
	ldrb	r1, [r3, r2]	@ zero_extendqisi2
	ldr	r3, [fp, #-60]
	add	r2, r3, #160
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	ldr	r3, [fp, #-64]
	add	r3, r3, r0
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #5
	and	r3, r3, #15
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-20]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L242+20
	ldrb	r1, [r3, r2]	@ zero_extendqisi2
	ldr	r3, [fp, #-60]
	add	r2, r3, #160
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #1
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #1
	ldr	r0, [fp, #-64]
	add	r3, r0, r3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #10
	and	r3, r3, #15
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-20]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L242+20
	ldrb	r1, [r3, r2]	@ zero_extendqisi2
	ldr	r3, [fp, #-60]
	add	r2, r3, #160
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #2
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #2
	ldr	r0, [fp, #-64]
	add	r3, r0, r3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #15
	and	r3, r3, #15
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-20]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L242+20
	ldrb	r1, [r3, r2]	@ zero_extendqisi2
	ldr	r3, [fp, #-60]
	add	r2, r3, #160
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r0, [fp, #-64]
	add	r3, r0, r3
	eor	r2, r2, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L239:
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	ble	.L240
	nop
	ldr	r3, .L242
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L241
	bl	__stack_chk_fail
.L241:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L243:
	.align	2
.L242:
	.word	.LC94
	.word	T0
	.word	T1
	.word	T2
	.word	T3
	.word	sbox
	.size	aes_encrypt, .-aes_encrypt
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
