// File: /workspace/github_c_makefile_star2_O3/rb-de0[P]hashverifier-for-monacoin/Lyra2RE/groestl.c
// Function: groestl_small_close
static void
groestl_small_close(sph_groestl_small_context *sc,
	unsigned ub, unsigned n, void *dst, size_t out_len)
{
	unsigned char pad[72];
	size_t u, ptr, pad_len;
#if SPH_64
	sph_u64 count;
#else
	sph_u32 count_high, count_low;
#endif
	unsigned z;
	DECL_STATE_SMALL

	ptr = sc->ptr;
	z = 0x80 >> n;
	pad[0] = ((ub & -z) | z) & 0xFF;
	if (ptr < 56) {
		pad_len = 64 - ptr;
#if SPH_64
		count = SPH_T64(sc->count + 1);
#else
		count_low = SPH_T32(sc->count_low + 1);
		count_high = SPH_T32(sc->count_high);
		if (count_low == 0)
			count_high = SPH_T32(count_high + 1);
#endif
	} else {
		pad_len = 128 - ptr;
#if SPH_64
		count = SPH_T64(sc->count + 2);
#else
		count_low = SPH_T32(sc->count_low + 2);
		count_high = SPH_T32(sc->count_high);
		if (count_low <= 1)
			count_high = SPH_T32(count_high + 1);
#endif
	}
	memset(pad + 1, 0, pad_len - 9);
#if SPH_64
	sph_enc64be(pad + pad_len - 8, count);
#else
	sph_enc64be(pad + pad_len - 8, count_high);
	sph_enc64be(pad + pad_len - 4, count_low);
#endif
	groestl_small_core(sc, pad, pad_len);
	READ_STATE_SMALL(sc);
	FINAL_SMALL;
#if SPH_GROESTL_64
	for (u = 0; u < 4; u ++)
		enc64e(pad + (u << 3), H[u + 4]);
#else
	for (u = 0; u < 8; u ++)
		enc32e(pad + (u << 2), H[u + 8]);
#endif
	memcpy(dst, pad + 32 - out_len, out_len);
	groestl_small_init(sc, (unsigned)out_len << 3);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %r8, -0xb0(%rbp)
movq %rcx, -0xa8(%rbp)
movl %edx, %ecx
movq %rdi, %r15
leaq 0x40(%rdi), %rax
movq %rax, -0xb8(%rbp)
movq 0x40(%rdi), %rax
movl $0x80, %edx
shrl %cl, %edx
movl %edx, %ecx
negl %ecx
andl %esi, %ecx
orl %edx, %ecx
leaq -0x15f(%rbp), %rdi
movb %cl, -0x1(%rdi)
xorl %ebx, %ebx
cmpq $0x38, %rax
setae %bl
movq 0x88(%r15), %r14
sbbq $0x0, %r14
shll $0x6, %ebx
addq $0x2, %r14
subq %rax, %rbx
leaq 0x40(%rbx), %r13
leaq 0x37(%rbx), %rdx
xorl %esi, %esi
callq 0x1080
bswapq %r14
movq %r14, -0x128(%rbp,%rbx)
leaq -0x160(%rbp), %rsi
movq %r15, %rdi
movq %r13, %rdx
callq 0x3ae0
xorl %eax, %eax
movups 0x48(%r15), %xmm0
movups 0x58(%r15), %xmm1
movups 0x68(%r15), %xmm2
movups 0x78(%r15), %xmm3
movaps %xmm3, -0xe0(%rbp)
movaps %xmm2, -0xf0(%rbp)
movaps %xmm1, -0x100(%rbp)
movaps %xmm0, -0x110(%rbp)
movups 0x48(%r15), %xmm0
movups 0x58(%r15), %xmm1
movups 0x68(%r15), %xmm2
movq %r15, -0xc0(%rbp)
movups 0x78(%r15), %xmm3
movaps %xmm0, -0xa0(%rbp)
movaps %xmm1, -0x90(%rbp)
movaps %xmm2, -0x80(%rbp)
movaps %xmm3, -0x70(%rbp)
movq -0xa0(%rbp), %r14
movq -0x98(%rbp), %r12
movq -0x90(%rbp), %rcx
movq -0x88(%rbp), %rsi
movq -0x80(%rbp), %r8
movq -0x78(%rbp), %r10
movq -0x70(%rbp), %r13
movq -0x68(%rbp), %rdi
movl $0xff, %r15d
movl %r14d, %r9d
xorl %eax, %r9d
movq %rax, -0x30(%rbp)
addl $0x10, %eax
andl %r15d, %r9d
movl %r12d, %r11d
shrl $0x8, %r11d
andl %r15d, %r11d
leaq 0x1b342(%rip), %rdx     # 0x20880
movq (%rdx,%r11,8), %rbx
leaq 0x1ab37(%rip), %rdx     # 0x20080
xorq (%rdx,%r9,8), %rbx
movl %ecx, %r9d
shrl $0xd, %r9d
movl $0x7f8, %edx            # imm = 0x7F8
andl %edx, %r9d
leaq 0x1bb1d(%rip), %rdx     # 0x21080
xorq (%r9,%rdx), %rbx
movl %esi, %r9d
shrl $0x18, %r9d
leaq 0x1c30b(%rip), %r11     # 0x21880
xorq (%r11,%r9,8), %rbx
xorl %r12d, %eax
movq %r8, %r9
shrq $0x20, %r9
andl %r15d, %r9d
leaq 0x1caf3(%rip), %rdx     # 0x22080
xorq (%rdx,%r9,8), %rbx
movq %r10, %r9
shrq $0x28, %r9
andl %r15d, %r9d
leaq 0x1d2de(%rip), %rdx     # 0x22880
xorq (%rdx,%r9,8), %rbx
movq %r13, %r9
shrq $0x30, %r9
andl %r15d, %r9d
leaq 0x1dac9(%rip), %rdx     # 0x23080
xorq (%rdx,%r9,8), %rbx
movq %rdi, %r9
shrq $0x38, %r9
leaq 0x1e2b7(%rip), %rdx     # 0x23880
xorq (%rdx,%r9,8), %rbx
movq %rbx, -0x50(%rbp)
andl %r15d, %eax
movl %ecx, %r9d
shrl $0x8, %r9d
andl %r15d, %r9d
leaq 0x1b29b(%rip), %rbx     # 0x20880
movq (%rbx,%r9,8), %rbx
leaq 0x1aa90(%rip), %r9      # 0x20080
xorq (%r9,%rax,8), %rbx
movl %esi, %eax
shrl $0xd, %eax
movl $0x7f8, %r9d            # imm = 0x7F8
andl %r9d, %eax
leaq 0x1ba77(%rip), %r9      # 0x21080
xorq (%rax,%r9), %rbx
movl %r8d, %eax
shrl $0x18, %eax
xorq (%r11,%rax,8), %rbx
movq -0x30(%rbp), %rax
addl $0x20, %eax
movq %r10, %r9
shrq $0x20, %r9
andl %r15d, %r9d
leaq 0x1ca51(%rip), %r11     # 0x22080
xorq (%r11,%r9,8), %rbx
movq %r13, %r9
shrq $0x28, %r9
andl %r15d, %r9d
leaq 0x1d23c(%rip), %r11     # 0x22880
xorq (%r11,%r9,8), %rbx
movq %rdi, %r9
shrq $0x30, %r9
andl %r15d, %r9d
leaq 0x1da27(%rip), %r11     # 0x23080
xorq (%r11,%r9,8), %rbx
movq %r14, %r9
shrq $0x38, %r9
xorq (%rdx,%r9,8), %rbx
movq %rbx, -0x38(%rbp)
xorl %ecx, %eax
andl %r15d, %eax
movl %esi, %r9d
shrl $0x8, %r9d
andl %r15d, %r9d
leaq 0x1b1fe(%rip), %r11     # 0x20880
movq (%r11,%r9,8), %rdx
leaq 0x1a9f3(%rip), %rbx     # 0x20080
xorq (%rbx,%rax,8), %rdx
movl %r8d, %eax
shrl $0xd, %eax
movl $0x7f8, %r9d            # imm = 0x7F8
andl %r9d, %eax
leaq 0x1b9d9(%rip), %r9      # 0x21080
xorq (%rax,%r9), %rdx
movl %r10d, %eax
shrl $0x18, %eax
leaq 0x1c1c8(%rip), %r9      # 0x21880
xorq (%r9,%rax,8), %rdx
movq %r13, %rax
shrq $0x20, %rax
andl %r15d, %eax
leaq 0x1c9b3(%rip), %r9      # 0x22080
xorq (%r9,%rax,8), %rdx
movq %rdi, %rax
shrq $0x28, %rax
andl %r15d, %eax
leaq 0x1d19e(%rip), %r9      # 0x22880
xorq (%r9,%rax,8), %rdx
movq %r14, %rax
shrq $0x30, %rax
andl %r15d, %eax
leaq 0x1d989(%rip), %r9      # 0x23080
xorq (%r9,%rax,8), %rdx
movq %r12, %rax
shrq $0x38, %rax
leaq 0x1e177(%rip), %r9      # 0x23880
xorq (%r9,%rax,8), %rdx
movq %rdx, -0x48(%rbp)
movq -0x30(%rbp), %rdx
leal 0x30(%rdx), %eax
xorl %esi, %eax
andl %r15d, %eax
movl %r8d, %r9d
shrl $0x8, %r9d
andl %r15d, %r9d
movq (%r11,%r9,8), %r9
xorq (%rbx,%rax,8), %r9
movl %r10d, %eax
shrl $0xd, %eax
movl $0x7f8, %r11d           # imm = 0x7F8
andl %r11d, %eax
leaq 0x1b93b(%rip), %r11     # 0x21080
xorq (%rax,%r11), %r9
movl %r13d, %eax
shrl $0x18, %eax
leaq 0x1c12a(%rip), %r11     # 0x21880
xorq (%r11,%rax,8), %r9
movq %rdi, %rax
shrq $0x20, %rax
andl %r15d, %eax
leaq 0x1c915(%rip), %r11     # 0x22080
xorq (%r11,%rax,8), %r9
movq %r9, %r11
movq %r14, %rax
shrq $0x28, %rax
andl %r15d, %eax
leaq 0x1d0fd(%rip), %rbx     # 0x22880
xorq (%rbx,%rax,8), %r11
movq %r12, %rax
shrq $0x30, %rax
andl %r15d, %eax
leaq 0x1d8e8(%rip), %r9      # 0x23080
xorq (%r9,%rax,8), %r11
movq %rcx, %rax
shrq $0x38, %rax
leaq 0x1e0d6(%rip), %r9      # 0x23880
xorq (%r9,%rax,8), %r11
movq %r11, -0x60(%rbp)
leal 0x40(%rdx), %eax
movq %rdx, %r9
xorl %r8d, %eax
andl %r15d, %eax
movl %r10d, %r11d
shrl $0x8, %r11d
andl %r15d, %r11d
leaq 0x1b0b1(%rip), %rdx     # 0x20880
movq (%rdx,%r11,8), %r11
leaq 0x1a8a6(%rip), %rdx     # 0x20080
xorq (%rdx,%rax,8), %r11
movl %r13d, %eax
shrl $0xd, %eax
movl $0x7f8, %edx            # imm = 0x7F8
andl %edx, %eax
leaq 0x1b88e(%rip), %rdx     # 0x21080
xorq (%rax,%rdx), %r11
movl %edi, %eax
shrl $0x18, %eax
leaq 0x1c07e(%rip), %rdx     # 0x21880
xorq (%rdx,%rax,8), %r11
movq %r14, %rax
shrq $0x20, %rax
andl %r15d, %eax
leaq 0x1c869(%rip), %rdx     # 0x22080
xorq (%rdx,%rax,8), %r11
movq %r12, %rax
shrq $0x28, %rax
andl %r15d, %eax
xorq (%rbx,%rax,8), %r11
movq %rcx, %rax
shrq $0x30, %rax
andl %r15d, %eax
leaq 0x1d846(%rip), %rbx     # 0x23080
xorq (%rbx,%rax,8), %r11
movq %rsi, %rax
shrq $0x38, %rax
leaq 0x1e034(%rip), %rdx     # 0x23880
xorq (%rdx,%rax,8), %r11
movq %r11, -0x40(%rbp)
leal 0x50(%r9), %eax
xorl %r10d, %eax
andl %r15d, %eax
movl %r13d, %ebx
shrl $0x8, %ebx
andl %r15d, %ebx
leaq 0x1b012(%rip), %r11     # 0x20880
movq (%r11,%rbx,8), %r11
leaq 0x1a807(%rip), %rdx     # 0x20080
xorq (%rdx,%rax,8), %r11
movl %edi, %eax
shrl $0xd, %eax
movl $0x7f8, %edx            # imm = 0x7F8
andl %edx, %eax
leaq 0x1b7f0(%rip), %rdx     # 0x21080
xorq (%rax,%rdx), %r11
movl %r14d, %eax
shrl $0x18, %eax
leaq 0x1bfdf(%rip), %rdx     # 0x21880
xorq (%rdx,%rax,8), %r11
movq %r12, %rax
shrq $0x20, %rax
andl %r15d, %eax
leaq 0x1c7ca(%rip), %rdx     # 0x22080
xorq (%rdx,%rax,8), %r11
movq %rcx, %rax
shrq $0x28, %rax
andl %r15d, %eax
leaq 0x1cfb5(%rip), %rdx     # 0x22880
xorq (%rdx,%rax,8), %r11
movq %rsi, %rax
shrq $0x30, %rax
andl %r15d, %eax
leaq 0x1d7a0(%rip), %rdx     # 0x23080
xorq (%rdx,%rax,8), %r11
movq %r8, %rax
shrq $0x38, %rax
leaq 0x1df8e(%rip), %rdx     # 0x23880
xorq (%rdx,%rax,8), %r11
movq %r11, -0x58(%rbp)
leal 0x60(%r9), %edx
xorl %r13d, %edx
leal 0x70(%r9), %ebx
xorl %edi, %ebx
andl %r15d, %edx
shrl $0x8, %edi
andl %r15d, %edi
leaq 0x1af69(%rip), %rax     # 0x20880
movq (%rax,%rdi,8), %r11
leaq 0x1a75e(%rip), %rax     # 0x20080
xorq (%rax,%rdx,8), %r11
movl %r14d, %edx
shrl $0xd, %edx
movl $0x7f8, %eax            # imm = 0x7F8
andl %eax, %edx
leaq 0x1b746(%rip), %rax     # 0x21080
xorq (%rdx,%rax), %r11
movl %r12d, %edx
shrl $0x18, %edx
leaq 0x1bf35(%rip), %rax     # 0x21880
xorq (%rax,%rdx,8), %r11
movq %rcx, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c720(%rip), %r9      # 0x22080
xorq (%r9,%rdx,8), %r11
movq %rsi, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1cf0b(%rip), %rdi     # 0x22880
xorq (%rdi,%rdx,8), %r11
movq %r8, %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d6f6(%rip), %rdi     # 0x23080
xorq (%rdi,%rdx,8), %r11
movq %r10, %rdx
shrq $0x38, %rdx
leaq 0x1dee4(%rip), %rdi     # 0x23880
xorq (%rdi,%rdx,8), %r11
movq %rdi, %rdx
andl %r15d, %ebx
shrl $0x8, %r14d
andl %r15d, %r14d
leaq 0x1aecc(%rip), %rax     # 0x20880
movq (%rax,%r14,8), %rdi
movq %rax, %r14
leaq 0x1a6be(%rip), %rax     # 0x20080
xorq (%rax,%rbx,8), %rdi
shrl $0xd, %r12d
movl $0x7f8, %eax            # imm = 0x7F8
andl %eax, %r12d
leaq 0x1b6a7(%rip), %rbx     # 0x21080
xorq (%r12,%rbx), %rdi
shrl $0x18, %ecx
leaq 0x1be99(%rip), %r12     # 0x21880
xorq (%r12,%rcx,8), %rdi
shrq $0x20, %rsi
andl %r15d, %esi
xorq (%r9,%rsi,8), %rdi
shrq $0x28, %r8
andl %r15d, %r8d
leaq 0x1ce7c(%rip), %rax     # 0x22880
xorq (%rax,%r8,8), %rdi
shrq $0x30, %r10
andl %r15d, %r10d
leaq 0x1d66a(%rip), %rax     # 0x23080
xorq (%rax,%r10,8), %rdi
shrq $0x38, %r13
xorq (%rdx,%r13,8), %rdi
movq -0x30(%rbp), %rax
leal 0x1(%rax), %esi
xorl -0x50(%rbp), %esi
leal 0x11(%rax), %ecx
andl %r15d, %esi
movq -0x38(%rbp), %r10
movl %r10d, %edx
shrl $0x8, %edx
andl %r15d, %edx
movq (%r14,%rdx,8), %r14
leaq 0x1a636(%rip), %rax     # 0x20080
xorq (%rax,%rsi,8), %r14
movq -0x48(%rbp), %rax
movl %eax, %edx
shrl $0xd, %edx
movl $0x7f8, %esi            # imm = 0x7F8
andl %esi, %edx
xorq (%rdx,%rbx), %r14
movq -0x60(%rbp), %r8
movl %r8d, %edx
shrl $0x18, %edx
movq %r12, %r13
xorq (%r12,%rdx,8), %r14
xorl %r10d, %ecx
movq -0x40(%rbp), %rsi
movq %rsi, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
xorq (%r9,%rdx,8), %r14
movq -0x58(%rbp), %r9
movq %r9, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1cde3(%rip), %r10     # 0x22880
xorq (%r10,%rdx,8), %r14
movq %r11, %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d5ce(%rip), %r10     # 0x23080
xorq (%r10,%rdx,8), %r14
movq %rdi, %rdx
shrq $0x38, %rdx
leaq 0x1ddbc(%rip), %r10     # 0x23880
xorq (%r10,%rdx,8), %r14
andl %r15d, %ecx
movl %eax, %edx
movq %rax, %r10
shrl $0x8, %edx
andl %r15d, %edx
leaq 0x1ada3(%rip), %rax     # 0x20880
movq (%rax,%rdx,8), %r12
leaq 0x1a598(%rip), %rax     # 0x20080
xorq (%rax,%rcx,8), %r12
movq %r8, %rax
movl %eax, %ecx
shrl $0xd, %ecx
movl $0x7f8, %edx            # imm = 0x7F8
andl %edx, %ecx
xorq (%rcx,%rbx), %r12
movl %esi, %ecx
movq %rsi, %rdx
shrl $0x18, %ecx
xorq (%r13,%rcx,8), %r12
movq -0x30(%rbp), %r13
leal 0x21(%r13), %esi
movq %r9, %rcx
shrq $0x20, %rcx
andl %r15d, %ecx
leaq 0x1c55b(%rip), %r8      # 0x22080
xorq (%r8,%rcx,8), %r12
movq %r11, %rcx
shrq $0x28, %rcx
andl %r15d, %ecx
leaq 0x1cd46(%rip), %r8      # 0x22880
xorq (%r8,%rcx,8), %r12
movq %rdi, %rcx
shrq $0x30, %rcx
andl %r15d, %ecx
leaq 0x1d531(%rip), %r8      # 0x23080
xorq (%r8,%rcx,8), %r12
movq -0x50(%rbp), %r8
movq %r8, %rcx
shrq $0x38, %rcx
leaq 0x1dd1b(%rip), %rbx     # 0x23880
xorq (%rbx,%rcx,8), %r12
xorl %r10d, %esi
andl %r15d, %esi
movl %eax, %ecx
movq %rax, %rbx
shrl $0x8, %ecx
andl %r15d, %ecx
leaq 0x1acff(%rip), %rax     # 0x20880
movq (%rax,%rcx,8), %rcx
leaq 0x1a4f4(%rip), %rax     # 0x20080
xorq (%rax,%rsi,8), %rcx
movq %rdx, %r10
shrl $0xd, %edx
movl $0x7f8, %eax            # imm = 0x7F8
andl %eax, %edx
leaq 0x1b4dc(%rip), %rax     # 0x21080
xorq (%rdx,%rax), %rcx
movl %r9d, %edx
shrl $0x18, %edx
leaq 0x1bccb(%rip), %rax     # 0x21880
xorq (%rax,%rdx,8), %rcx
movq %r11, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c4b6(%rip), %rax     # 0x22080
xorq (%rax,%rdx,8), %rcx
movq %rdi, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1cca1(%rip), %rax     # 0x22880
xorq (%rax,%rdx,8), %rcx
movq %r8, %rdx
movq %r8, %r9
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d489(%rip), %rax     # 0x23080
xorq (%rax,%rdx,8), %rcx
movq -0x38(%rbp), %rax
movq %rax, %rdx
shrq $0x38, %rdx
leaq 0x1dc73(%rip), %rsi     # 0x23880
xorq (%rsi,%rdx,8), %rcx
leal 0x31(%r13), %edx
xorl %ebx, %edx
andl %r15d, %edx
movl %r10d, %esi
movq %r10, %rbx
shrl $0x8, %esi
andl %r15d, %esi
leaq 0x1ac53(%rip), %r8      # 0x20880
movq (%r8,%rsi,8), %rsi
leaq 0x1a448(%rip), %r8      # 0x20080
xorq (%r8,%rdx,8), %rsi
movq -0x58(%rbp), %r10
movl %r10d, %edx
shrl $0xd, %edx
movl $0x7f8, %r8d            # imm = 0x7F8
andl %r8d, %edx
leaq 0x1b42a(%rip), %r8      # 0x21080
xorq (%rdx,%r8), %rsi
movl %r11d, %edx
shrl $0x18, %edx
leaq 0x1bc19(%rip), %r8      # 0x21880
xorq (%r8,%rdx,8), %rsi
movq %rdi, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c404(%rip), %r8      # 0x22080
xorq (%r8,%rdx,8), %rsi
movq %r9, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1cbef(%rip), %r8      # 0x22880
xorq (%r8,%rdx,8), %rsi
movq %rax, %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d3da(%rip), %rax     # 0x23080
xorq (%rax,%rdx,8), %rsi
movq -0x48(%rbp), %rax
movq %rax, %rdx
shrq $0x38, %rdx
leaq 0x1dbc4(%rip), %r8      # 0x23880
xorq (%r8,%rdx,8), %rsi
leal 0x41(%r13), %edx
xorl %ebx, %edx
andl %r15d, %edx
movl %r10d, %r8d
shrl $0x8, %r8d
andl %r15d, %r8d
leaq 0x1aba6(%rip), %rbx     # 0x20880
movq (%rbx,%r8,8), %r8
leaq 0x1a39b(%rip), %rbx     # 0x20080
xorq (%rbx,%rdx,8), %r8
movl %r11d, %edx
shrl $0xd, %edx
movl $0x7f8, %ebx            # imm = 0x7F8
andl %ebx, %edx
leaq 0x1b383(%rip), %rbx     # 0x21080
xorq (%rdx,%rbx), %r8
movl %edi, %edx
shrl $0x18, %edx
leaq 0x1bb73(%rip), %rbx     # 0x21880
xorq (%rbx,%rdx,8), %r8
movq %r9, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c35e(%rip), %r9      # 0x22080
xorq (%r9,%rdx,8), %r8
movq -0x38(%rbp), %r9
movq %r9, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1cb45(%rip), %rbx     # 0x22880
xorq (%rbx,%rdx,8), %r8
movq %rax, %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d330(%rip), %rax     # 0x23080
xorq (%rax,%rdx,8), %r8
movq -0x60(%rbp), %rax
movq %rax, %rdx
shrq $0x38, %rdx
leaq 0x1db1a(%rip), %rbx     # 0x23880
xorq (%rbx,%rdx,8), %r8
leal 0x51(%r13), %edx
xorl %r10d, %edx
andl %r15d, %edx
movl %r11d, %r10d
movq %r11, -0xc8(%rbp)
shrl $0x8, %r10d
andl %r15d, %r10d
leaq 0x1aaf4(%rip), %rbx     # 0x20880
movq (%rbx,%r10,8), %r10
leaq 0x1a2e9(%rip), %rbx     # 0x20080
xorq (%rbx,%rdx,8), %r10
movl %edi, %edx
shrl $0xd, %edx
movl $0x7f8, %ebx            # imm = 0x7F8
andl %ebx, %edx
leaq 0x1b2d2(%rip), %rbx     # 0x21080
xorq (%rdx,%rbx), %r10
movq -0x50(%rbp), %rdx
shrl $0x18, %edx
leaq 0x1bac0(%rip), %rbx     # 0x21880
xorq (%rbx,%rdx,8), %r10
movq %r9, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c2ab(%rip), %r9      # 0x22080
xorq (%r9,%rdx,8), %r10
movq -0x48(%rbp), %r9
movq %r9, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1ca92(%rip), %rbx     # 0x22880
xorq (%rbx,%rdx,8), %r10
movq %rax, %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d27d(%rip), %rax     # 0x23080
xorq (%rax,%rdx,8), %r10
movq -0x40(%rbp), %rdx
shrq $0x38, %rdx
leaq 0x1da6a(%rip), %rax     # 0x23880
xorq (%rax,%rdx,8), %r10
leal 0x61(%r13), %edx
xorl %r11d, %edx
leal 0x71(%r13), %ebx
xorl %edi, %ebx
andl %r15d, %edx
shrl $0x8, %edi
andl %r15d, %edi
leaq 0x1aa49(%rip), %rax     # 0x20880
movq (%rax,%rdi,8), %r13
leaq 0x1a23e(%rip), %rax     # 0x20080
xorq (%rax,%rdx,8), %r13
movq -0x50(%rbp), %rdi
movl %edi, %edx
shrl $0xd, %edx
movl $0x7f8, %eax            # imm = 0x7F8
andl %eax, %edx
leaq 0x1b223(%rip), %rax     # 0x21080
xorq (%rdx,%rax), %r13
movq -0x38(%rbp), %rdx
shrl $0x18, %edx
leaq 0x1ba11(%rip), %rax     # 0x21880
xorq (%rax,%rdx,8), %r13
movq %r9, %rdx
shrq $0x20, %rdx
andl %r15d, %edx
leaq 0x1c1fc(%rip), %r9      # 0x22080
xorq (%r9,%rdx,8), %r13
movq -0x60(%rbp), %r11
movq %r11, %rdx
shrq $0x28, %rdx
andl %r15d, %edx
leaq 0x1c9e3(%rip), %rax     # 0x22880
xorq (%rax,%rdx,8), %r13
movq -0x40(%rbp), %rdx
shrq $0x30, %rdx
andl %r15d, %edx
leaq 0x1d1cd(%rip), %rax     # 0x23080
xorq (%rax,%rdx,8), %r13
movq -0x58(%rbp), %r9
movq %r9, %rdx
shrq $0x38, %rdx
leaq 0x1d9b7(%rip), %rax     # 0x23880
xorq (%rax,%rdx,8), %r13
andl %r15d, %ebx
movq %rdi, %rdx
shrl $0x8, %edx
andl %r15d, %edx
leaq 0x1a9a0(%rip), %rax     # 0x20880
movq (%rax,%rdx,8), %rdi
leaq 0x1a195(%rip), %rax     # 0x20080
xorq (%rax,%rbx,8), %rdi
movq -0x38(%rbp), %rdx
shrl $0xd, %edx
movl $0x7f8, %eax            # imm = 0x7F8
andl %eax, %edx
leaq 0x1b17c(%rip), %rax     # 0x21080
xorq (%rdx,%rax), %rdi
movq -0x48(%rbp), %rdx
shrl $0x18, %edx
leaq 0x1b96a(%rip), %rax     # 0x21880
xorq (%rax,%rdx,8), %rdi
shrq $0x20, %r11
andl %r15d, %r11d
leaq 0x1c158(%rip), %rax     # 0x22080
xorq (%rax,%r11,8), %rdi
movq -0x40(%rbp), %rax
shrq $0x28, %rax
andl %r15d, %eax
leaq 0x1c942(%rip), %rdx     # 0x22880
xorq (%rdx,%rax,8), %rdi
movq %r9, %rax
shrq $0x30, %rax
andl %r15d, %eax
leaq 0x1d12d(%rip), %rdx     # 0x23080
xorq (%rdx,%rax,8), %rdi
movq -0xc8(%rbp), %rax
shrq $0x38, %rax
leaq 0x1d917(%rip), %rdx     # 0x23880
xorq (%rdx,%rax,8), %rdi
movq -0x30(%rbp), %rax
cmpq $0x8, %rax
leaq 0x2(%rax), %rax
jb 0x551d
movq %r14, -0xa0(%rbp)
movq %r12, -0x98(%rbp)
movq %rcx, -0x90(%rbp)
movq %rsi, -0x88(%rbp)
movq %r8, -0x80(%rbp)
movq %r10, -0x78(%rbp)
movq %r13, -0x70(%rbp)
movq %rdi, -0x68(%rbp)
xorl %eax, %eax
movq -0xa0(%rbp,%rax,8), %rcx
xorq %rcx, -0x110(%rbp,%rax,8)
incq %rax
cmpq $0x8, %rax
jne 0x5fad
movaps -0xf0(%rbp), %xmm0
movaps -0xe0(%rbp), %xmm1
movaps %xmm0, -0x160(%rbp)
movaps %xmm1, -0x150(%rbp)
movq -0xb0(%rbp), %rbx
leaq -0x160(%rbp), %rsi
subq %rbx, %rsi
addq $0x20, %rsi
movq -0xa8(%rbp), %rdi
movq %rbx, %rdx
callq 0x10b0
shll $0x3, %ebx
movzwl %bx, %eax
bswapq %rax
xorps %xmm0, %xmm0
movq -0xb8(%rbp), %rcx
movups %xmm0, (%rcx)
movups %xmm0, 0x10(%rcx)
movups %xmm0, 0x20(%rcx)
movups %xmm0, 0x30(%rcx)
movq -0xc0(%rbp), %rcx
movq %rax, 0x80(%rcx)
movq $0x0, 0x88(%rcx)
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq