	.file	"908147.c"
	.intel_syntax noprefix
	.text
	.local	bigbuf
	.comm	bigbuf,1048592,32
	.type	loadu32, @function
loadu32:
.LFB0:
	.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	or	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 16
	or	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 24
	or	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	loadu32, .-loadu32
	.type	storeu32, @function
storeu32:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 16
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -28[rbp]
	shr	eax, 24
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	storeu32, .-storeu32
	.type	xxtea128_encrypt, @function
xxtea128_encrypt:
.LFB2:
	.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 -8[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t.5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	shr	eax, 2
	and	eax, 3
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	shr	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	sal	eax, 2
	xor	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	shr	eax, 3
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t.5[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	edi, edx
	xor	edi, eax
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	add	eax, edi
	xor	eax, esi
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	shr	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	sal	eax, 2
	xor	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	shr	eax, 3
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t.5[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	mov	edi, edx
	xor	edi, eax
	mov	eax, DWORD PTR -4[rbp]
	xor	eax, 1
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	add	eax, edi
	xor	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	shr	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	sal	eax, 2
	xor	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	shr	eax, 3
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t.5[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	eax, DWORD PTR [rax]
	mov	edi, edx
	xor	edi, eax
	mov	eax, DWORD PTR -4[rbp]
	xor	eax, 2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	add	eax, edi
	xor	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	shr	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	sal	eax, 2
	xor	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	shr	eax, 3
	mov	esi, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	sal	eax, 4
	xor	eax, esi
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, t.5[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, edx
	xor	edi, eax
	mov	eax, DWORD PTR -4[rbp]
	xor	eax, 3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	xor	eax, edx
	add	eax, edi
	xor	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 12
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 18
	jle	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	xxtea128_encrypt, .-xxtea128_encrypt
	.type	xxtea128_hash_init, @function
xxtea128_hash_init:
.LFB3:
	.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	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 608135816
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], -2052912941
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 320440878
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 12
	mov	DWORD PTR [rax], 57701188
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	xxtea128_hash_init, .-xxtea128_hash_init
	.type	xxtea128_hash_update, @function
xxtea128_hash_update:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_encrypt
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	xxtea128_hash_update, .-xxtea128_hash_update
	.section	.rodata
.LC0:
	.string	"the_stack_data/908147.c"
.LC1:
	.string	"len % 16 == 0"
	.text
	.type	xxtea128_hash_append, @function
xxtea128_hash_append:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	and	eax, 15
	test	rax, rax
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 101
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L10:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 12
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -20[rbp], eax
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	sub	QWORD PTR -72[rbp], 16
	add	QWORD PTR -40[rbp], 16
.L11:
	cmp	QWORD PTR -72[rbp], 15
	ja	.L12
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	xxtea128_hash_append, .-xxtea128_hash_append
	.section	.rodata
.LC2:
	.string	"len < 16"
	.text
	.type	xxtea128_hash_final, @function
xxtea128_hash_final:
.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, 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
	cmp	QWORD PTR -88[rbp], 15
	jbe	.L15
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 116
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L15:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, eax
	mov	eax, 16
	sub	eax, edx
	mov	ecx, eax
	lea	rax, -32[rbp]
	mov	edx, 16
	mov	esi, ecx
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -32[rbp]
	add	rax, 4
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -60[rbp], eax
	lea	rax, -32[rbp]
	add	rax, 8
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -56[rbp], eax
	lea	rax, -32[rbp]
	add	rax, 12
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_encrypt
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	xor	edx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 4
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 8
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 12
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 12
	xor	edx, ecx
	mov	DWORD PTR [rax], edx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	xxtea128_hash_final, .-xxtea128_hash_final
	.section	.rodata
.LC3:
	.string	"cost > 10 && cost < 64"
.LC4:
	.string	"strlen(password) < MAXPASS"
	.text
	.type	kdf, @function
kdf:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 80
	mov	QWORD PTR -16440[rbp], rdi
	mov	QWORD PTR -16448[rbp], rsi
	mov	QWORD PTR -16456[rbp], rdx
	mov	DWORD PTR -16460[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -16460[rbp], 10
	jle	.L18
	cmp	DWORD PTR -16460[rbp], 63
	jle	.L28
.L18:
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 145
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L28:
	mov	rax, QWORD PTR -16448[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 63
	jbe	.L20
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 146
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L20:
	mov	rax, QWORD PTR -16448[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -16412[rbp], eax
	mov	DWORD PTR -16420[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -16420[rbp]
	cdq
	idiv	DWORD PTR -16412[rbp]
	mov	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -16448[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16420[rbp]
	cdqe
	mov	BYTE PTR -16400[rbp+rax], dl
	add	DWORD PTR -16420[rbp], 1
.L21:
	cmp	DWORD PTR -16420[rbp], 16383
	jle	.L22
	mov	rax, QWORD PTR -16440[rbp]
	mov	rdi, rax
	call	xxtea128_hash_init
	mov	rdx, QWORD PTR -16456[rbp]
	mov	rax, QWORD PTR -16440[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	mov	QWORD PTR -16408[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -16412[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16408[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	mov	rdx, rax
	lea	rax, -16400[rbp]
	lea	rcx, [rax+rdx]
	mov	rax, QWORD PTR -16440[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	rdi, rax
	call	xxtea128_hash_append
	add	QWORD PTR -16408[rbp], 16
.L23:
	mov	eax, DWORD PTR -16460[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	cmp	QWORD PTR -16408[rbp], rax
	jl	.L24
	mov	rax, QWORD PTR -16440[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	xxtea128_hash_final
	mov	DWORD PTR -16416[rbp], 0
	jmp	.L25
.L26:
	mov	eax, DWORD PTR -16416[rbp]
	cdqe
	mov	BYTE PTR -16400[rbp+rax], 0
	add	DWORD PTR -16416[rbp], 1
.L25:
	cmp	DWORD PTR -16416[rbp], 16383
	jle	.L26
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	kdf, .-kdf
	.type	increment, @function
increment:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 12
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
.L31:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	increment, .-increment
	.section	.rodata
.LC5:
	.string	"rb"
.LC6:
	.string	"/dev/urandom"
	.text
	.type	fillrand, @function
fillrand:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L33
	mov	eax, 1
	jmp	.L34
.L33:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -12[rbp]
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fillrand, .-fillrand
	.section	.rodata
.LC7:
	.string	"/dev/tty"
.LC8:
	.string	"\n"
	.text
	.type	read_password, @function
read_password:
.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, 192
	mov	QWORD PTR -168[rbp], rdi
	mov	DWORD PTR -172[rbp], esi
	mov	QWORD PTR -184[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -152[rbp], 0
	mov	esi, 2
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -148[rbp], eax
	cmp	DWORD PTR -148[rbp], 0
	je	.L36
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rcx, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -112[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	and	eax, -9
	mov	DWORD PTR -68[rbp], eax
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	jns	.L37
	mov	DWORD PTR -152[rbp], 0
	jmp	.L36
.L37:
	cmp	DWORD PTR -152[rbp], 0
	jle	.L38
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L38
.L40:
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -168[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -152[rbp], eax
	cmp	DWORD PTR -152[rbp], 0
	jle	.L39
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L40
.L39:
	mov	eax, DWORD PTR -172[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -168[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -152[rbp], -1
	jmp	.L36
.L38:
	cmp	DWORD PTR -152[rbp], 0
	jle	.L36
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L36:
	mov	eax, DWORD PTR -148[rbp]
	mov	edx, 1
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	write@PLT
	lea	rdx, -144[rbp]
	mov	eax, DWORD PTR -148[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	mov	eax, DWORD PTR -148[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -152[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	read_password, .-read_password
	.section	.rodata
.LC9:
	.string	"failed to gather entropy"
.LC10:
	.string	"input error"
.LC11:
	.string	"output error"
.LC12:
	.string	"input is truncated"
.LC13:
	.string	"wrong password / bad input"
	.section	.data.rel.local,"aw"
	.align 32
	.type	errmsg, @object
	.size	errmsg, 48
errmsg:
	.zero	8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.text
	.type	fencrypt, @function
fencrypt:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 0
	lea	rax, -80[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	fillrand
	test	eax, eax
	je	.L44
	mov	eax, 1
	jmp	.L56
.L44:
	mov	eax, DWORD PTR -80[rbp]
	mov	esi, eax
	lea	rdi, bigbuf[rip]
	call	storeu32
	mov	eax, DWORD PTR -76[rbp]
	lea	rdx, bigbuf[rip+4]
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -72[rbp]
	lea	rdx, bigbuf[rip+8]
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, bigbuf[rip+12]
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	rax, QWORD PTR -128[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 16
	lea	rdi, bigbuf[rip]
	call	fwrite@PLT
	test	rax, rax
	jne	.L46
	mov	eax, 3
	jmp	.L56
.L46:
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -136[rbp]
	lea	rax, -64[rbp]
	mov	ecx, 26
	mov	rdi, rax
	call	kdf
.L55:
	mov	rax, QWORD PTR -120[rbp]
	mov	rcx, rax
	mov	edx, 1048576
	mov	esi, 1
	lea	rdi, bigbuf[rip]
	call	fread@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L47
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L47
	mov	DWORD PTR -100[rbp], 2
	jmp	.L48
.L47:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	xxtea128_hash_init
	lea	rdx, -64[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	lea	rdx, -80[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	mov	QWORD PTR -96[rbp], 0
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -20[rbp], eax
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	increment
	lea	rdx, -32[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_encrypt
	mov	rax, QWORD PTR -96[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -32[rbp]
	xor	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	sal	rax, 4
	lea	rdx, 4[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -28[rbp]
	xor	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	sal	rax, 4
	lea	rdx, 8[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -24[rbp]
	xor	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	sal	rax, 4
	lea	rdx, 12[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -20[rbp]
	xor	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -28[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	sal	rdx, 4
	lea	rcx, 4[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	sal	rdx, 4
	lea	rcx, 8[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	sal	rdx, 4
	lea	rcx, 12[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	add	QWORD PTR -96[rbp], 1
.L49:
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 15
	shr	rax, 4
	cmp	QWORD PTR -96[rbp], rax
	jb	.L50
	mov	rax, QWORD PTR -88[rbp]
	and	rax, -16
	mov	rdx, rax
	lea	rax, -48[rbp]
	lea	rsi, bigbuf[rip]
	mov	rdi, rax
	call	xxtea128_hash_append
	mov	rax, QWORD PTR -88[rbp]
	and	eax, 15
	mov	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	and	rax, -16
	mov	rcx, rax
	lea	rax, bigbuf[rip]
	add	rcx, rax
	lea	rax, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xxtea128_hash_final
	mov	eax, DWORD PTR -48[rbp]
	lea	rcx, bigbuf[rip]
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rcx, 4[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rcx, 8[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rcx, 12[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, 16[rax]
	mov	rax, QWORD PTR -128[rbp]
	mov	rcx, rax
	mov	edx, 1
	lea	rdi, bigbuf[rip]
	call	fwrite@PLT
	test	rax, rax
	jne	.L51
	mov	DWORD PTR -100[rbp], 3
	jmp	.L48
.L51:
	cmp	QWORD PTR -88[rbp], 1048575
	ja	.L55
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	fflush@PLT
	test	eax, eax
	je	.L53
	mov	eax, 3
	jmp	.L54
.L53:
	mov	eax, 0
.L54:
	mov	DWORD PTR -100[rbp], eax
.L48:
	mov	eax, 0
	mov	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -60[rbp], eax
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
.L56:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	fencrypt, .-fencrypt
	.type	fdecrypt, @function
fdecrypt:
.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, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -116[rbp], 0
	mov	rax, QWORD PTR -136[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 16
	lea	rdi, bigbuf[rip]
	call	fread@PLT
	test	rax, rax
	jne	.L59
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L60
	mov	eax, 2
	jmp	.L74
.L60:
	mov	eax, 4
	jmp	.L74
.L59:
	lea	rdi, bigbuf[rip]
	call	loadu32
	mov	DWORD PTR -96[rbp], eax
	lea	rax, bigbuf[rip+4]
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -92[rbp], eax
	lea	rax, bigbuf[rip+8]
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -88[rbp], eax
	lea	rax, bigbuf[rip+12]
	mov	rdi, rax
	call	loadu32
	mov	DWORD PTR -84[rbp], eax
	lea	rdx, -96[rbp]
	mov	rsi, QWORD PTR -152[rbp]
	lea	rax, -80[rbp]
	mov	ecx, 26
	mov	rdi, rax
	call	kdf
.L73:
	mov	rax, QWORD PTR -136[rbp]
	mov	rcx, rax
	mov	edx, 1048592
	mov	esi, 1
	lea	rdi, bigbuf[rip]
	call	fread@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L63
	mov	DWORD PTR -116[rbp], 2
	jmp	.L64
.L63:
	cmp	QWORD PTR -104[rbp], 15
	ja	.L65
	mov	DWORD PTR -116[rbp], 4
	jmp	.L64
.L65:
	sub	QWORD PTR -104[rbp], 16
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	xxtea128_hash_init
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	lea	rdx, -96[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_hash_update
	mov	rax, QWORD PTR -104[rbp]
	and	rax, -16
	mov	rdx, rax
	lea	rax, -64[rbp]
	lea	rsi, bigbuf[rip]
	mov	rdi, rax
	call	xxtea128_hash_append
	mov	rax, QWORD PTR -104[rbp]
	and	eax, 15
	mov	rdx, rax
	mov	rax, QWORD PTR -104[rbp]
	and	rax, -16
	mov	rcx, rax
	lea	rax, bigbuf[rip]
	add	rcx, rax
	lea	rax, -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xxtea128_hash_final
	mov	edx, DWORD PTR -64[rbp]
	lea	rax, -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	storeu32
	mov	edx, DWORD PTR -60[rbp]
	lea	rax, -32[rbp]
	add	rax, 4
	mov	esi, edx
	mov	rdi, rax
	call	storeu32
	mov	edx, DWORD PTR -56[rbp]
	lea	rax, -32[rbp]
	add	rax, 8
	mov	esi, edx
	mov	rdi, rax
	call	storeu32
	mov	edx, DWORD PTR -52[rbp]
	lea	rax, -32[rbp]
	add	rax, 12
	mov	esi, edx
	mov	rdi, rax
	call	storeu32
	lea	rdx, bigbuf[rip]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -32[rbp]
	mov	edx, 16
	mov	rsi, rax
	mov	rdi, rcx
	call	memcmp@PLT
	test	eax, eax
	je	.L66
	mov	DWORD PTR -116[rbp], 5
	jmp	.L64
.L66:
	mov	QWORD PTR -112[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -36[rbp], eax
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	increment
	lea	rdx, -48[rbp]
	lea	rax, -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	xxtea128_encrypt
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -48[rbp]
	xor	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 4
	lea	rdx, 4[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -44[rbp]
	xor	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 4
	lea	rdx, 8[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -40[rbp]
	xor	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 4
	lea	rdx, 12[rax]
	lea	rax, bigbuf[rip]
	add	rax, rdx
	mov	rdi, rax
	call	loadu32
	mov	edx, DWORD PTR -36[rbp]
	xor	eax, edx
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	mov	rcx, rdx
	sal	rcx, 4
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	sal	rdx, 4
	lea	rcx, 4[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	sal	rdx, 4
	lea	rcx, 8[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	mov	eax, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -112[rbp]
	sal	rdx, 4
	lea	rcx, 12[rdx]
	lea	rdx, bigbuf[rip]
	add	rdx, rcx
	mov	esi, eax
	mov	rdi, rdx
	call	storeu32
	add	QWORD PTR -112[rbp], 1
.L67:
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 15
	shr	rax, 4
	cmp	QWORD PTR -112[rbp], rax
	jb	.L68
	cmp	QWORD PTR -104[rbp], 0
	je	.L69
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, bigbuf[rip]
	call	fwrite@PLT
	test	rax, rax
	jne	.L69
	mov	DWORD PTR -116[rbp], 3
	jmp	.L64
.L69:
	cmp	QWORD PTR -104[rbp], 1048575
	ja	.L73
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	fflush@PLT
	test	eax, eax
	je	.L71
	mov	eax, 3
	jmp	.L72
.L71:
	mov	eax, 0
.L72:
	mov	DWORD PTR -116[rbp], eax
.L64:
	mov	eax, 0
	mov	DWORD PTR -68[rbp], eax
	mov	DWORD PTR -72[rbp], eax
	mov	DWORD PTR -76[rbp], eax
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -116[rbp]
.L74:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	fdecrypt, .-fdecrypt
	.data
	.align 4
	.type	xoptind, @object
	.size	xoptind, 4
xoptind:
	.long	1
	.align 4
	.type	xopterr, @object
	.size	xopterr, 4
xopterr:
	.long	1
	.local	xoptopt
	.comm	xoptopt,4,4
	.local	xoptarg
	.comm	xoptarg,8,8
	.section	.rodata
.LC14:
	.string	"--"
.LC15:
	.string	"%s: illegal option: %c\n"
	.align 8
.LC16:
	.string	"%s: option requires an argument: %c\n"
	.text
	.type	xgetopt, @function
xgetopt:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	eax, DWORD PTR xoptind[rip]
	test	eax, eax
	jne	.L77
	mov	DWORD PTR xoptind[rip], 1
	mov	DWORD PTR optpos.1[rip], 1
.L77:
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L78
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L78
	mov	eax, DWORD PTR xoptind[rip]
	add	eax, 1
	mov	DWORD PTR xoptind[rip], eax
	mov	eax, -1
	jmp	.L79
.L78:
	cmp	QWORD PTR -16[rbp], 0
	je	.L80
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L80
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L81
.L80:
	mov	eax, -1
	jmp	.L79
.L81:
	mov	eax, DWORD PTR optpos.1[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR optpos.1[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR xoptopt[rip], eax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L82
	mov	eax, DWORD PTR xopterr[rip]
	test	eax, eax
	je	.L83
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L83
	mov	ecx, DWORD PTR xoptopt[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L83:
	mov	eax, 63
	jmp	.L79
.L82:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L84
	mov	eax, DWORD PTR optpos.1[rip]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L85
	mov	eax, DWORD PTR optpos.1[rip]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	QWORD PTR xoptarg[rip], rax
	mov	eax, DWORD PTR xoptind[rip]
	add	eax, 1
	mov	DWORD PTR xoptind[rip], eax
	mov	DWORD PTR optpos.1[rip], 1
	mov	eax, DWORD PTR xoptopt[rip]
	jmp	.L79
.L85:
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L86
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR xoptarg[rip], rax
	mov	eax, DWORD PTR xoptind[rip]
	add	eax, 2
	mov	DWORD PTR xoptind[rip], eax
	mov	DWORD PTR optpos.1[rip], 1
	mov	eax, DWORD PTR xoptopt[rip]
	jmp	.L79
.L86:
	mov	eax, DWORD PTR xopterr[rip]
	test	eax, eax
	je	.L87
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	je	.L87
	mov	ecx, DWORD PTR xoptopt[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L87:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L88
	mov	eax, 58
	jmp	.L79
.L88:
	mov	eax, 63
	jmp	.L79
.L84:
	mov	eax, DWORD PTR optpos.1[rip]
	add	eax, 1
	mov	DWORD PTR optpos.1[rip], eax
	mov	eax, DWORD PTR optpos.1[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L90
	mov	eax, DWORD PTR xoptind[rip]
	add	eax, 1
	mov	DWORD PTR xoptind[rip], eax
	mov	DWORD PTR optpos.1[rip], 1
.L90:
	mov	eax, DWORD PTR xoptopt[rip]
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	xgetopt, .-xgetopt
	.section	.rodata
	.align 8
.LC17:
	.string	"usage: xxtea <-E|-D> [-h] [-o FILE] [-p PASSWORD] [FILE]\n"
	.text
	.type	usage, @function
usage:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	usage, .-usage
	.section	.rodata
.LC18:
	.string	"DEho:p:"
.LC19:
	.string	"password: "
	.align 8
.LC20:
	.string	"xxtea: failed to read password\n"
	.align 8
.LC21:
	.string	"xxtea: password must be < %d bytes\n"
.LC22:
	.string	"password (repeat): "
.LC23:
	.string	"xxtea: passwords don't match\n"
.LC24:
	.string	"-"
	.align 8
.LC25:
	.string	"xxtea: could not open input file: %s\n"
.LC26:
	.string	"wb"
	.align 8
.LC27:
	.string	"xxtea: could not open output file: %s\n"
.LC28:
	.string	"xxtea: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -56[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L93
.L101:
	cmp	DWORD PTR -48[rbp], 112
	je	.L94
	cmp	DWORD PTR -48[rbp], 112
	jg	.L95
	cmp	DWORD PTR -48[rbp], 111
	je	.L96
	cmp	DWORD PTR -48[rbp], 111
	jg	.L95
	cmp	DWORD PTR -48[rbp], 104
	je	.L97
	cmp	DWORD PTR -48[rbp], 104
	jg	.L95
	cmp	DWORD PTR -48[rbp], 68
	je	.L98
	cmp	DWORD PTR -48[rbp], 69
	je	.L99
	jmp	.L95
.L98:
	mov	DWORD PTR -56[rbp], 2
	jmp	.L93
.L99:
	mov	DWORD PTR -56[rbp], 1
	jmp	.L93
.L97:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	usage
	mov	eax, 0
	jmp	.L100
.L96:
	mov	rax, QWORD PTR xoptarg[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L93
.L94:
	mov	rax, QWORD PTR xoptarg[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L93
.L95:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	eax, 1
	jmp	.L100
.L93:
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, .LC18[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	xgetopt
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], -1
	jne	.L101
	cmp	DWORD PTR -56[rbp], 0
	jne	.L102
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	eax, 1
	jmp	.L100
.L102:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L103
	lea	rax, buf.0[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rdx, .LC19[rip]
	mov	esi, 64
	lea	rdi, buf.0[rip]
	call	read_password
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L104
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L100
.L104:
	cmp	DWORD PTR -44[rbp], 0
	jns	.L105
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 64
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L100
.L105:
	cmp	DWORD PTR -56[rbp], 1
	jne	.L103
	lea	rdx, .LC22[rip]
	mov	esi, 64
	lea	rdi, buf.0[rip+64]
	call	read_password
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L106
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L100
.L106:
	cmp	DWORD PTR -44[rbp], 0
	js	.L107
	lea	rsi, buf.0[rip+64]
	lea	rdi, buf.0[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L103
.L107:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L100
.L103:
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L108
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L108
	mov	rax, QWORD PTR stderr[rip]
	mov	rdi, rax
	call	usage
	mov	eax, 1
	jmp	.L100
.L108:
	mov	eax, DWORD PTR xoptind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L109
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L109
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L110
.L109:
	mov	rax, QWORD PTR stdin[rip]
.L110:
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L111
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L100
.L111:
	cmp	QWORD PTR -40[rbp], 0
	je	.L112
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L113
.L112:
	mov	rax, QWORD PTR stdout[rip]
.L113:
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L114
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L100
.L114:
	cmp	DWORD PTR -56[rbp], 1
	je	.L115
	cmp	DWORD PTR -56[rbp], 2
	je	.L116
	jmp	.L123
.L115:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fencrypt
	mov	DWORD PTR -52[rbp], eax
	jmp	.L118
.L116:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	fdecrypt
	mov	DWORD PTR -52[rbp], eax
	jmp	.L118
.L123:
	mov	eax, 1
	jmp	.L100
.L118:
	cmp	QWORD PTR -40[rbp], 0
	je	.L119
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L119:
	cmp	QWORD PTR -24[rbp], 0
	je	.L120
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L120:
	cmp	DWORD PTR -52[rbp], 0
	je	.L121
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, errmsg[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	QWORD PTR -40[rbp], 0
	je	.L122
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	remove@PLT
.L122:
	mov	eax, 1
	jmp	.L100
.L121:
	mov	eax, 0
.L100:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.align 32
	.type	t.5, @object
	.size	t.5, 76
t.5:
	.long	-1640531527
	.long	1013904242
	.long	-626627285
	.long	2027808484
	.long	387276957
	.long	-1253254570
	.long	1401181199
	.long	-239350328
	.long	-1879881855
	.long	774553914
	.long	-865977613
	.long	1788458156
	.long	147926629
	.long	-1492604898
	.long	1161830871
	.long	-478700656
	.long	-2119232183
	.long	535203586
	.long	-1105327941
	.align 16
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 21
__PRETTY_FUNCTION__.4:
	.string	"xxtea128_hash_append"
	.align 16
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 20
__PRETTY_FUNCTION__.3:
	.string	"xxtea128_hash_final"
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 4
__PRETTY_FUNCTION__.2:
	.string	"kdf"
	.data
	.align 4
	.type	optpos.1, @object
	.size	optpos.1, 4
optpos.1:
	.long	1
	.local	buf.0
	.comm	buf.0,128,32
	.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	"908147.c"
	.text
	.local	bigbuf
	.comm	bigbuf,1048592,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadu32, %function
loadu32:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	orr	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	loadu32, .-loadu32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	storeu32, %function
storeu32:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	storeu32, .-storeu32
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea128_encrypt, %function
xxtea128_encrypt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r2, .L7
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	lsr	r3, r3, #2
	and	r3, r3, #3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	lsr	r1, r3, #5
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	eor	r1, r1, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r1, r1, r3
	ldr	r0, .L7
	ldr	r3, [fp, #-12]
	ldr	r0, [r0, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	eor	r0, r0, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	ip, [fp, #-16]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r3, r3, r1
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, .L7
	ldr	r3, [fp, #-12]
	ldr	r0, [r0, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	eor	r0, r0, r3
	ldr	r3, [fp, #-8]
	eor	r3, r3, #1
	lsl	r3, r3, #2
	ldr	ip, [fp, #-16]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, .L7
	ldr	r3, [fp, #-12]
	ldr	r0, [r0, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r3, [r3]
	eor	r0, r0, r3
	ldr	r3, [fp, #-8]
	eor	r3, r3, #2
	lsl	r3, r3, #2
	ldr	ip, [fp, #-16]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	lsr	r2, r3, #5
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsr	r0, r3, #3
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	lsl	r3, r3, #4
	eor	r3, r3, r0
	add	r2, r2, r3
	ldr	r0, .L7
	ldr	r3, [fp, #-12]
	ldr	r0, [r0, r3, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	eor	r0, r0, r3
	ldr	r3, [fp, #-8]
	eor	r3, r3, #3
	lsl	r3, r3, #2
	ldr	ip, [fp, #-16]
	add	r3, ip, r3
	ldr	ip, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldr	r3, [r3]
	eor	r3, r3, ip
	add	r3, r0, r3
	eor	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, #12
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #18
	ble	.L6
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	t.5642
	.size	xxtea128_encrypt, .-xxtea128_encrypt
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea128_hash_init, %function
xxtea128_hash_init:
	@ 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]
	ldr	r2, .L10
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, .L10+4
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, .L10+8
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, .L10+12
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	608135816
	.word	-2052912941
	.word	320440878
	.word	57701188
	.size	xxtea128_hash_init, .-xxtea128_hash_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea128_hash_update, %function
xxtea128_hash_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	xxtea128_encrypt
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	xxtea128_hash_update, .-xxtea128_hash_update
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/908147.c\000"
	.align	2
.LC1:
	.ascii	"len % 16 == 0\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea128_hash_append, %function
xxtea128_hash_append:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	and	r3, r3, #15
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L18+4
	mov	r2, #101
	ldr	r1, .L18+8
	ldr	r0, .L18+12
	bl	__assert_fail
.L14:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-28]
	b	.L15
.L16:
	ldr	r0, [fp, #-28]
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r3, r3, #12
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-12]
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	xxtea128_hash_update
	ldr	r3, [fp, #-40]
	sub	r3, r3, #16
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	add	r3, r3, #16
	str	r3, [fp, #-28]
.L15:
	ldr	r3, [fp, #-40]
	cmp	r3, #15
	bhi	.L16
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	__PRETTY_FUNCTION__.5660
	.word	.LC0
	.word	.LC1
	.size	xxtea128_hash_append, .-xxtea128_hash_append
	.section	.rodata
	.align	2
.LC3:
	.ascii	"len < 16\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xxtea128_hash_final, %function
xxtea128_hash_final:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-72]
	cmp	r3, #15
	bls	.L21
	ldr	r3, .L23+4
	mov	r2, #116
	ldr	r1, .L23+8
	ldr	r0, .L23+12
	bl	__assert_fail
.L21:
	ldr	r3, [fp, #-72]
	rsb	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	memset
	sub	r3, fp, #24
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #24
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-56]
	sub	r3, fp, #24
	add	r3, r3, #4
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-52]
	sub	r3, fp, #24
	add	r3, r3, #8
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-48]
	sub	r3, fp, #24
	add	r3, r3, #12
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-28]
	sub	r3, fp, #56
	ldr	r1, [fp, #-64]
	mov	r0, r3
	bl	xxtea128_encrypt
	ldr	r3, [fp, #-64]
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eor	r2, r2, r3
	ldr	r3, [fp, #-64]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-64]
	add	r3, r3, #4
	eor	r2, r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	eor	r2, r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-64]
	add	r3, r3, #12
	eor	r2, r2, r1
	str	r2, [r3]
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.word	__PRETTY_FUNCTION__.5671
	.word	.LC0
	.word	.LC3
	.size	xxtea128_hash_final, .-xxtea128_hash_final
	.section	.rodata
	.align	2
.LC5:
	.ascii	"cost > 10 && cost < 64\000"
	.align	2
.LC6:
	.ascii	"strlen(password) < MAXPASS\000"
	.global	__aeabi_idivmod
	.global	__aeabi_ldivmod
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kdf, %function
kdf:
	@ args = 0, pretend = 0, frame = 16432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16384
	sub	sp, sp, #48
	sub	ip, fp, #16384
	sub	ip, ip, #28
	str	r0, [ip, #-36]
	sub	r0, fp, #16384
	sub	r0, r0, #28
	str	r1, [r0, #-40]
	sub	r1, fp, #16384
	sub	r1, r1, #28
	str	r2, [r1, #-44]
	sub	r2, fp, #16384
	sub	r2, r2, #28
	str	r3, [r2, #-48]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-48]
	cmp	r3, #10
	ble	.L26
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-48]
	cmp	r3, #63
	ble	.L36
.L26:
	ldr	r3, .L37+4
	mov	r2, #145
	ldr	r1, .L37+8
	ldr	r0, .L37+12
	bl	__assert_fail
.L36:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	cmp	r3, #63
	bls	.L28
	ldr	r3, .L37+4
	mov	r2, #146
	ldr	r1, .L37+8
	ldr	r0, .L37+16
	bl	__assert_fail
.L28:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r0, [r3, #-40]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	sub	r2, fp, #16384
	sub	r2, r2, #28
	str	r3, [r2, #-20]
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L29
.L30:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r2, fp, #16384
	sub	r2, r2, #28
	ldr	r3, [r3, #-28]
	ldr	r1, [r2, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-40]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	add	r3, r1, r3
	sub	r3, r3, #4
	strb	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L29:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	cmp	r3, #16384
	blt	.L30
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r0, [r3, #-36]
	bl	xxtea128_hash_init
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r1, [r2, #-44]
	ldr	r0, [r3, #-36]
	bl	xxtea128_hash_update
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L31
.L32:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-20]
	mov	r8, r3
	asr	r9, r8, #31
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r0-r1}
	mov	r2, r8
	mov	r3, r9
	bl	__aeabi_ldivmod
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #16384
	sub	r2, r2, #28
	mov	r0, r2
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [r0, #-36]
	bl	xxtea128_hash_append
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	adds	r6, r2, #16
	adc	r7, r3, #0
	stm	r1, {r6-r7}
.L31:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r1, r3
	mov	r2, #1
	mov	r3, #0
	ldr	r1, [r1, #-48]
	sub	ip, r1, #32
	rsb	r0, r1, #32
	lsl	r5, r3, r1
	orr	r5, r5, r2, lsl ip
	orr	r5, r5, r2, lsr r0
	lsl	r4, r2, r1
	sub	r3, fp, #16384
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r2, r4
	sbcs	r3, r3, r5
	blt	.L32
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-36]
	bl	xxtea128_hash_final
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	b	.L33
.L34:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-24]
	add	r3, r2, r3
	sub	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-24]
	add	r3, r3, #1
	str	r3, [r2, #-24]
.L33:
	sub	r3, fp, #16384
	sub	r3, r3, #28
	ldr	r3, [r3, #-24]
	cmp	r3, #16384
	blt	.L34
	nop
	ldr	r3, .L37
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC7
	.word	__PRETTY_FUNCTION__.5681
	.word	.LC0
	.word	.LC5
	.word	.LC6
	.size	kdf, .-kdf
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	increment, %function
increment:
	@ 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]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
.L41:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	increment, .-increment
	.section	.rodata
	.align	2
.LC8:
	.ascii	"rb\000"
	.align	2
.LC9:
	.ascii	"/dev/urandom\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fillrand, %function
fillrand:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, .L45
	ldr	r0, .L45+4
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	b	.L44
.L43:
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-12]
	mov	r2, #1
	ldr	r0, [fp, #-16]
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-8]
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC8
	.word	.LC9
	.size	fillrand, .-fillrand
	.section	.rodata
	.align	2
.LC10:
	.ascii	"/dev/tty\000"
	.align	2
.LC11:
	.ascii	"\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_password, %function
read_password:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	str	r2, [fp, #-152]
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r1, #2
	ldr	r0, .L55+4
	bl	open
	str	r0, [fp, #-132]
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	beq	.L48
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, [fp, #-132]
	bl	tcgetattr
	ldr	r0, [fp, #-152]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-152]
	ldr	r0, [fp, #-132]
	bl	write
	sub	ip, fp, #68
	sub	lr, fp, #128
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-56]
	bic	r3, r3, #8
	str	r3, [fp, #-56]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-132]
	bl	tcsetattr
	ldr	r3, [fp, #-148]
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-132]
	bl	read
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bge	.L49
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L48
.L49:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	ble	.L50
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L50
.L52:
	ldr	r3, [fp, #-148]
	mov	r2, r3
	ldr	r1, [fp, #-144]
	ldr	r0, [fp, #-132]
	bl	read
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	ble	.L51
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L52
.L51:
	ldr	r3, [fp, #-148]
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-144]
	bl	memset
	mvn	r3, #0
	str	r3, [fp, #-136]
	b	.L48
.L50:
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	ble	.L48
	ldr	r3, [fp, #-136]
	sub	r3, r3, #1
	ldr	r2, [fp, #-144]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L48:
	mov	r2, #1
	ldr	r1, .L55+8
	ldr	r0, [fp, #-132]
	bl	write
	sub	r3, fp, #128
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-132]
	bl	tcsetattr
	ldr	r0, [fp, #-132]
	bl	close
	ldr	r3, [fp, #-136]
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC12
	.word	.LC10
	.word	.LC11
	.size	read_password, .-read_password
	.section	.rodata
	.align	2
.LC13:
	.ascii	"failed to gather entropy\000"
	.align	2
.LC14:
	.ascii	"input error\000"
	.align	2
.LC15:
	.ascii	"output error\000"
	.align	2
.LC16:
	.ascii	"input is truncated\000"
	.align	2
.LC17:
	.ascii	"wrong password / bad input\000"
	.data
	.align	2
	.type	errmsg, %object
	.size	errmsg, 24
errmsg:
	.space	4
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fencrypt, %function
fencrypt:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	sub	r3, fp, #72
	mov	r1, #16
	mov	r0, r3
	bl	fillrand
	mov	r3, r0
	cmp	r3, #0
	beq	.L58
	mov	r3, #1
	b	.L70
.L58:
	ldr	r3, [fp, #-72]
	mov	r1, r3
	ldr	r0, .L72+4
	bl	storeu32
	ldr	r2, .L72+8
	ldr	r3, [fp, #-68]
	mov	r1, r3
	mov	r0, r2
	bl	storeu32
	ldr	r2, .L72+12
	ldr	r3, [fp, #-64]
	mov	r1, r3
	mov	r0, r2
	bl	storeu32
	ldr	r2, .L72+16
	ldr	r3, [fp, #-60]
	mov	r1, r3
	mov	r0, r2
	bl	storeu32
	ldr	r3, [fp, #-92]
	mov	r2, #1
	mov	r1, #16
	ldr	r0, .L72+4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #0
	bne	.L60
	mov	r3, #3
	b	.L70
.L60:
	sub	r2, fp, #72
	sub	r0, fp, #56
	mov	r3, #26
	ldr	r1, [fp, #-96]
	bl	kdf
.L69:
	ldr	r3, [fp, #-88]
	mov	r2, #1048576
	mov	r1, #1
	ldr	r0, .L72+4
	bl	fread
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L61
	ldr	r0, [fp, #-88]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L61
	mov	r3, #2
	str	r3, [fp, #-84]
	b	.L62
.L61:
	sub	r3, fp, #40
	mov	r0, r3
	bl	xxtea128_hash_init
	sub	r2, fp, #56
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_hash_update
	sub	r2, fp, #72
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_hash_update
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L63
.L64:
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-12]
	sub	r3, fp, #72
	mov	r0, r3
	bl	increment
	sub	r2, fp, #24
	sub	r3, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_encrypt
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	ldr	r2, .L72+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-24]
	eor	r3, r3, r2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L72+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-20]
	eor	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L72+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-16]
	eor	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #12
	ldr	r2, .L72+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-12]
	eor	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #4
	add	r3, r3, #12
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L63:
	ldr	r3, [fp, #-76]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bcc	.L64
	ldr	r3, [fp, #-76]
	bic	r2, r3, #15
	sub	r3, fp, #40
	ldr	r1, .L72+4
	mov	r0, r3
	bl	xxtea128_hash_append
	ldr	r3, [fp, #-76]
	bic	r3, r3, #15
	ldr	r2, .L72+4
	add	r1, r3, r2
	ldr	r3, [fp, #-76]
	and	r2, r3, #15
	sub	r3, fp, #40
	mov	r0, r3
	bl	xxtea128_hash_final
	ldr	r3, [fp, #-76]
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-76]
	add	r3, r3, #12
	ldr	r2, .L72+4
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-76]
	add	r1, r3, #16
	ldr	r3, [fp, #-92]
	mov	r2, #1
	ldr	r0, .L72+4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	mov	r3, #3
	str	r3, [fp, #-84]
	b	.L62
.L65:
	ldr	r3, [fp, #-76]
	cmp	r3, #1048576
	bcs	.L69
	ldr	r0, [fp, #-92]
	bl	fflush
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	mov	r3, #3
	b	.L68
.L67:
	mov	r3, #0
.L68:
	str	r3, [fp, #-84]
.L62:
	mov	r3, #0
	str	r3, [fp, #-44]
	str	r3, [fp, #-48]
	str	r3, [fp, #-52]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-84]
.L70:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC18
	.word	bigbuf
	.word	bigbuf+4
	.word	bigbuf+8
	.word	bigbuf+12
	.size	fencrypt, .-fencrypt
	.section	.rodata
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fdecrypt, %function
fdecrypt:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	ldr	r3, .L92
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-104]
	mov	r2, #1
	mov	r1, #16
	ldr	r0, .L92+4
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	ldr	r0, [fp, #-104]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L76
	mov	r3, #2
	b	.L90
.L76:
	mov	r3, #4
	b	.L90
.L75:
	ldr	r0, .L92+4
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-88]
	ldr	r3, .L92+8
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, .L92+12
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, .L92+16
	mov	r0, r3
	bl	loadu32
	mov	r3, r0
	str	r3, [fp, #-76]
	sub	r2, fp, #88
	sub	r0, fp, #72
	mov	r3, #26
	ldr	r1, [fp, #-112]
	bl	kdf
.L89:
	ldr	r3, [fp, #-104]
	ldr	r2, .L92+20
	mov	r1, #1
	ldr	r0, .L92+4
	bl	fread
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L79
	ldr	r0, [fp, #-104]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
	mov	r3, #2
	str	r3, [fp, #-100]
	b	.L80
.L79:
	ldr	r3, [fp, #-92]
	cmp	r3, #15
	bhi	.L81
	mov	r3, #4
	str	r3, [fp, #-100]
	b	.L80
.L81:
	ldr	r3, [fp, #-92]
	sub	r3, r3, #16
	str	r3, [fp, #-92]
	sub	r3, fp, #56
	mov	r0, r3
	bl	xxtea128_hash_init
	sub	r2, fp, #72
	sub	r3, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_hash_update
	sub	r2, fp, #88
	sub	r3, fp, #56
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_hash_update
	ldr	r3, [fp, #-92]
	bic	r2, r3, #15
	sub	r3, fp, #56
	ldr	r1, .L92+4
	mov	r0, r3
	bl	xxtea128_hash_append
	ldr	r3, [fp, #-92]
	bic	r3, r3, #15
	ldr	r2, .L92+4
	add	r1, r3, r2
	ldr	r3, [fp, #-92]
	and	r2, r3, #15
	sub	r3, fp, #56
	mov	r0, r3
	bl	xxtea128_hash_final
	ldr	r2, [fp, #-56]
	sub	r3, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	sub	r3, fp, #24
	add	r3, r3, #4
	ldr	r2, [fp, #-52]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	sub	r3, fp, #24
	add	r3, r3, #8
	ldr	r2, [fp, #-48]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	sub	r3, fp, #24
	add	r3, r3, #12
	ldr	r2, [fp, #-44]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-92]
	ldr	r2, .L92+4
	add	r3, r3, r2
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L82
	mov	r3, #5
	str	r3, [fp, #-100]
	b	.L80
.L82:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L83
.L84:
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-28]
	sub	r3, fp, #88
	mov	r0, r3
	bl	increment
	sub	r2, fp, #40
	sub	r3, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	xxtea128_encrypt
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, .L92+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-40]
	eor	r3, r3, r2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L92+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-36]
	eor	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L92+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	eor	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #12
	ldr	r2, .L92+4
	add	r3, r3, r2
	mov	r0, r3
	bl	loadu32
	mov	r2, r0
	ldr	r3, [fp, #-28]
	eor	r3, r3, r2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	ldr	r2, .L92+4
	add	r3, r3, r2
	ldr	r2, [fp, #-40]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #4
	ldr	r2, .L92+4
	add	r3, r3, r2
	ldr	r2, [fp, #-36]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #8
	ldr	r2, .L92+4
	add	r3, r3, r2
	ldr	r2, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #4
	add	r3, r3, #12
	ldr	r2, .L92+4
	add	r3, r3, r2
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	storeu32
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L83:
	ldr	r3, [fp, #-92]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	bcc	.L84
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-108]
	mov	r2, #1
	ldr	r1, [fp, #-92]
	ldr	r0, .L92+4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #0
	bne	.L85
	mov	r3, #3
	str	r3, [fp, #-100]
	b	.L80
.L85:
	ldr	r3, [fp, #-92]
	cmp	r3, #1048576
	bcs	.L89
	ldr	r0, [fp, #-108]
	bl	fflush
	mov	r3, r0
	cmp	r3, #0
	beq	.L87
	mov	r3, #3
	b	.L88
.L87:
	mov	r3, #0
.L88:
	str	r3, [fp, #-100]
.L80:
	mov	r3, #0
	str	r3, [fp, #-60]
	str	r3, [fp, #-64]
	str	r3, [fp, #-68]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-100]
.L90:
	ldr	r2, .L92
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L93:
	.align	2
.L92:
	.word	.LC19
	.word	bigbuf
	.word	bigbuf+4
	.word	bigbuf+8
	.word	bigbuf+12
	.word	1048592
	.size	fdecrypt, .-fdecrypt
	.data
	.align	2
	.type	xoptind, %object
	.size	xoptind, 4
xoptind:
	.word	1
	.align	2
	.type	xopterr, %object
	.size	xopterr, 4
xopterr:
	.word	1
	.local	xoptopt
	.comm	xoptopt,4,4
	.local	xoptarg
	.comm	xoptarg,4,4
	.section	.rodata
	.align	2
.LC20:
	.ascii	"--\000"
	.align	2
.LC21:
	.ascii	"%s: illegal option: %c\012\000"
	.align	2
.LC22:
	.ascii	"%s: option requires an argument: %c\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xgetopt, %function
xgetopt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, .L109
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L95
	ldr	r3, .L109
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L109+4
	mov	r2, #1
	str	r2, [r3]
.L95:
	ldr	r3, .L109
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L96
	ldr	r1, .L109+8
	ldr	r0, [fp, #-12]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L96
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L109
	str	r3, [r2]
	mvn	r3, #0
	b	.L97
.L96:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L98
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L99
.L98:
	mvn	r3, #0
	b	.L97
.L99:
	ldr	r3, .L109+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, .L109+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L109+12
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L100
	ldr	r3, .L109+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L101
	ldr	r3, .L109+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, .L109+12
	ldr	r3, [r3]
	ldr	r1, .L109+24
	bl	fprintf
.L101:
	mov	r3, #63
	b	.L97
.L100:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L102
	ldr	r3, .L109+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L103
	ldr	r3, .L109+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, .L109+28
	str	r3, [r2]
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L109
	str	r3, [r2]
	ldr	r3, .L109+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L109+12
	ldr	r3, [r3]
	b	.L97
.L103:
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L104
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L109+28
	str	r3, [r2]
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L109
	str	r3, [r2]
	ldr	r3, .L109+4
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L109+12
	ldr	r3, [r3]
	b	.L97
.L104:
	ldr	r3, .L109+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L105
	ldr	r3, .L109+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, .L109+12
	ldr	r3, [r3]
	ldr	r1, .L109+32
	bl	fprintf
.L105:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L106
	mov	r3, #58
	b	.L97
.L106:
	mov	r3, #63
	b	.L97
.L102:
	ldr	r3, .L109+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L109+4
	str	r3, [r2]
	ldr	r3, .L109+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L109
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L109
	str	r3, [r2]
	ldr	r3, .L109+4
	mov	r2, #1
	str	r2, [r3]
.L108:
	ldr	r3, .L109+12
	ldr	r3, [r3]
.L97:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	xoptind
	.word	optpos.5775
	.word	.LC20
	.word	xoptopt
	.word	xopterr
	.word	stderr
	.word	.LC21
	.word	xoptarg
	.word	.LC22
	.size	xgetopt, .-xgetopt
	.section	.rodata
	.align	2
.LC23:
	.ascii	"usage: xxtea <-E|-D> [-h] [-o FILE] [-p PASSWORD] ["
	.ascii	"FILE]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L112
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC23
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC24:
	.ascii	"DEho:p:\000"
	.align	2
.LC25:
	.ascii	"password: \000"
	.align	2
.LC26:
	.ascii	"xxtea: failed to read password\012\000"
	.align	2
.LC27:
	.ascii	"xxtea: password must be < %d bytes\012\000"
	.align	2
.LC28:
	.ascii	"password (repeat): \000"
	.align	2
.LC29:
	.ascii	"xxtea: passwords don't match\012\000"
	.align	2
.LC30:
	.ascii	"-\000"
	.align	2
.LC31:
	.ascii	"xxtea: could not open input file: %s\012\000"
	.align	2
.LC32:
	.ascii	"wb\000"
	.align	2
.LC33:
	.ascii	"xxtea: could not open output file: %s\012\000"
	.align	2
.LC34:
	.ascii	"xxtea: %s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L115
.L123:
	ldr	r3, [fp, #-20]
	cmp	r3, #112
	beq	.L116
	ldr	r3, [fp, #-20]
	cmp	r3, #112
	bgt	.L117
	ldr	r3, [fp, #-20]
	cmp	r3, #111
	beq	.L118
	ldr	r3, [fp, #-20]
	cmp	r3, #111
	bgt	.L117
	ldr	r3, [fp, #-20]
	cmp	r3, #104
	beq	.L119
	ldr	r3, [fp, #-20]
	cmp	r3, #104
	bgt	.L117
	ldr	r3, [fp, #-20]
	cmp	r3, #68
	beq	.L120
	ldr	r3, [fp, #-20]
	cmp	r3, #69
	beq	.L121
	b	.L117
.L120:
	mov	r3, #2
	str	r3, [fp, #-40]
	b	.L115
.L121:
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L115
.L119:
	ldr	r3, .L146
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r3, #0
	b	.L122
.L118:
	ldr	r3, .L146+4
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	b	.L115
.L116:
	ldr	r3, .L146+4
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L115
.L117:
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r3, #1
	b	.L122
.L115:
	ldr	r2, .L146+12
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	xgetopt
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L123
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L124
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r3, #1
	b	.L122
.L124:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L125
	ldr	r3, .L146+16
	str	r3, [fp, #-32]
	ldr	r2, .L146+20
	mov	r1, #64
	ldr	r0, .L146+16
	bl	read_password
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L126
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L146+24
	bl	fwrite
	mov	r3, #1
	b	.L122
.L126:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L127
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r2, #64
	ldr	r1, .L146+28
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L122
.L127:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L125
	ldr	r2, .L146+32
	mov	r1, #64
	ldr	r0, .L146+36
	bl	read_password
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L128
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L146+24
	bl	fwrite
	mov	r3, #1
	b	.L122
.L128:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L129
	ldr	r1, .L146+36
	ldr	r0, .L146+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L125
.L129:
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L146+40
	bl	fwrite
	mov	r3, #1
	b	.L122
.L125:
	ldr	r3, .L146+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L130
	ldr	r3, .L146+44
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L130
	ldr	r3, .L146+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	usage
	mov	r3, #1
	b	.L122
.L130:
	ldr	r3, .L146+44
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L131
	ldr	r1, .L146+48
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	ldr	r1, .L146+52
	ldr	r0, [fp, #-24]
	bl	fopen
	mov	r3, r0
	b	.L132
.L131:
	ldr	r3, .L146+56
	ldr	r3, [r3]
.L132:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L133
	ldr	r3, .L146+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L146+60
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L122
.L133:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L134
	ldr	r1, .L146+64
	ldr	r0, [fp, #-36]
	bl	fopen
	mov	r3, r0
	b	.L135
.L134:
	ldr	r3, .L146
	ldr	r3, [r3]
.L135:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L136
	ldr	r3, .L146+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L146+68
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L122
.L136:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	beq	.L137
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L138
	b	.L145
.L137:
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	fencrypt
	str	r0, [fp, #-28]
	b	.L140
.L138:
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	fdecrypt
	str	r0, [fp, #-28]
	b	.L140
.L145:
	mov	r3, #1
	b	.L122
.L140:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L141
	ldr	r0, [fp, #-8]
	bl	fclose
.L141:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L142
	ldr	r0, [fp, #-12]
	bl	fclose
.L142:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L143
	ldr	r3, .L146+8
	ldr	r0, [r3]
	ldr	r2, .L146+72
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L146+76
	bl	fprintf
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L144
	ldr	r0, [fp, #-36]
	bl	remove
.L144:
	mov	r3, #1
	b	.L122
.L143:
	mov	r3, #0
.L122:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	stdout
	.word	xoptarg
	.word	stderr
	.word	.LC24
	.word	buf.5805
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	buf.5805+64
	.word	.LC29
	.word	xoptind
	.word	.LC30
	.word	.LC8
	.word	stdin
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	errmsg
	.word	.LC34
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	t.5642, %object
	.size	t.5642, 76
t.5642:
	.word	-1640531527
	.word	1013904242
	.word	-626627285
	.word	2027808484
	.word	387276957
	.word	-1253254570
	.word	1401181199
	.word	-239350328
	.word	-1879881855
	.word	774553914
	.word	-865977613
	.word	1788458156
	.word	147926629
	.word	-1492604898
	.word	1161830871
	.word	-478700656
	.word	-2119232183
	.word	535203586
	.word	-1105327941
	.align	2
	.type	__PRETTY_FUNCTION__.5660, %object
	.size	__PRETTY_FUNCTION__.5660, 21
__PRETTY_FUNCTION__.5660:
	.ascii	"xxtea128_hash_append\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5671, %object
	.size	__PRETTY_FUNCTION__.5671, 20
__PRETTY_FUNCTION__.5671:
	.ascii	"xxtea128_hash_final\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5681, %object
	.size	__PRETTY_FUNCTION__.5681, 4
__PRETTY_FUNCTION__.5681:
	.ascii	"kdf\000"
	.data
	.align	2
	.type	optpos.5775, %object
	.size	optpos.5775, 4
optpos.5775:
	.word	1
	.local	buf.5805
	.comm	buf.5805,128,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
