// File: /workspace/github_c_makefile_star2_O0/skeeto[P]enchive/src/chacha.c
// Function: salsa20_wordtobyte
static void
salsa20_wordtobyte(uint8_t output[64], const uint32_t input[16])
{
  uint32_t x[16];
  int i;

  for (i = 0;i < 16;++i) x[i] = input[i];
  for (i = 8;i > 0;i -= 2) {
    QUARTERROUND( 0, 4, 8,12)
    QUARTERROUND( 1, 5, 9,13)
    QUARTERROUND( 2, 6,10,14)
    QUARTERROUND( 3, 7,11,15)
    QUARTERROUND( 0, 5,10,15)
    QUARTERROUND( 1, 6,11,12)
    QUARTERROUND( 2, 7, 8,13)
    QUARTERROUND( 3, 4, 9,14)
  }
  for (i = 0;i < 16;++i) x[i] = PLUS(x[i],input[i]);
  for (i = 0;i < 16;++i) U32TO8_LITTLE(output + 4 * i,x[i]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x54(%rbp)
cmpl $0x10, -0x54(%rbp)
jge 0x6d37
movq -0x10(%rbp), %rax
movslq -0x54(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movslq -0x54(%rbp), %rax
movl %ecx, -0x50(%rbp,%rax,4)
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x6d13
movl $0x8, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
jle 0x7216
movl -0x50(%rbp), %eax
addl -0x40(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x50(%rbp)
movl -0x20(%rbp), %eax
xorl -0x50(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x20(%rbp), %ecx
xorl -0x50(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x20(%rbp)
movl -0x30(%rbp), %eax
addl -0x20(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x40(%rbp), %eax
xorl -0x30(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x40(%rbp), %ecx
xorl -0x30(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x40(%rbp)
movl -0x50(%rbp), %eax
addl -0x40(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x50(%rbp)
movl -0x20(%rbp), %eax
xorl -0x50(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x20(%rbp), %ecx
xorl -0x50(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x20(%rbp)
movl -0x30(%rbp), %eax
addl -0x20(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x40(%rbp), %eax
xorl -0x30(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x40(%rbp), %ecx
xorl -0x30(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x40(%rbp)
movl -0x4c(%rbp), %eax
addl -0x3c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x1c(%rbp), %eax
xorl -0x4c(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x1c(%rbp), %ecx
xorl -0x4c(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x1c(%rbp)
movl -0x2c(%rbp), %eax
addl -0x1c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x3c(%rbp), %eax
xorl -0x2c(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x3c(%rbp), %ecx
xorl -0x2c(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0x4c(%rbp), %eax
addl -0x3c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x1c(%rbp), %eax
xorl -0x4c(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x1c(%rbp), %ecx
xorl -0x4c(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x1c(%rbp)
movl -0x2c(%rbp), %eax
addl -0x1c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x3c(%rbp), %eax
xorl -0x2c(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x3c(%rbp), %ecx
xorl -0x2c(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0x48(%rbp), %eax
addl -0x38(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x18(%rbp), %eax
xorl -0x48(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x18(%rbp), %ecx
xorl -0x48(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x18(%rbp)
movl -0x28(%rbp), %eax
addl -0x18(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x28(%rbp)
movl -0x38(%rbp), %eax
xorl -0x28(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x38(%rbp), %ecx
xorl -0x28(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x38(%rbp)
movl -0x48(%rbp), %eax
addl -0x38(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x18(%rbp), %eax
xorl -0x48(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x18(%rbp), %ecx
xorl -0x48(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x18(%rbp)
movl -0x28(%rbp), %eax
addl -0x18(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x28(%rbp)
movl -0x38(%rbp), %eax
xorl -0x28(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x38(%rbp), %ecx
xorl -0x28(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x38(%rbp)
movl -0x44(%rbp), %eax
addl -0x34(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x44(%rbp)
movl -0x14(%rbp), %eax
xorl -0x44(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x14(%rbp), %ecx
xorl -0x44(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x24(%rbp), %eax
addl -0x14(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x34(%rbp), %eax
xorl -0x24(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x34(%rbp), %ecx
xorl -0x24(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x34(%rbp)
movl -0x44(%rbp), %eax
addl -0x34(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x44(%rbp)
movl -0x14(%rbp), %eax
xorl -0x44(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x14(%rbp), %ecx
xorl -0x44(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x24(%rbp), %eax
addl -0x14(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x34(%rbp), %eax
xorl -0x24(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x34(%rbp), %ecx
xorl -0x24(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x34(%rbp)
movl -0x50(%rbp), %eax
addl -0x3c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x50(%rbp)
movl -0x14(%rbp), %eax
xorl -0x50(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x14(%rbp), %ecx
xorl -0x50(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x28(%rbp), %eax
addl -0x14(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x28(%rbp)
movl -0x3c(%rbp), %eax
xorl -0x28(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x3c(%rbp), %ecx
xorl -0x28(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0x50(%rbp), %eax
addl -0x3c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x50(%rbp)
movl -0x14(%rbp), %eax
xorl -0x50(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x14(%rbp), %ecx
xorl -0x50(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x14(%rbp)
movl -0x28(%rbp), %eax
addl -0x14(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x28(%rbp)
movl -0x3c(%rbp), %eax
xorl -0x28(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x3c(%rbp), %ecx
xorl -0x28(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x3c(%rbp)
movl -0x4c(%rbp), %eax
addl -0x38(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x20(%rbp), %eax
xorl -0x4c(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x20(%rbp), %ecx
xorl -0x4c(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl -0x20(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x38(%rbp), %eax
xorl -0x24(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x38(%rbp), %ecx
xorl -0x24(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x38(%rbp)
movl -0x4c(%rbp), %eax
addl -0x38(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x20(%rbp), %eax
xorl -0x4c(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x20(%rbp), %ecx
xorl -0x4c(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x20(%rbp)
movl -0x24(%rbp), %eax
addl -0x20(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x24(%rbp)
movl -0x38(%rbp), %eax
xorl -0x24(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x38(%rbp), %ecx
xorl -0x24(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x38(%rbp)
movl -0x48(%rbp), %eax
addl -0x34(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x1c(%rbp), %eax
xorl -0x48(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x1c(%rbp), %ecx
xorl -0x48(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x1c(%rbp)
movl -0x30(%rbp), %eax
addl -0x1c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x34(%rbp), %eax
xorl -0x30(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x34(%rbp), %ecx
xorl -0x30(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x34(%rbp)
movl -0x48(%rbp), %eax
addl -0x34(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x48(%rbp)
movl -0x1c(%rbp), %eax
xorl -0x48(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x1c(%rbp), %ecx
xorl -0x48(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x1c(%rbp)
movl -0x30(%rbp), %eax
addl -0x1c(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x30(%rbp)
movl -0x34(%rbp), %eax
xorl -0x30(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x34(%rbp), %ecx
xorl -0x30(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x34(%rbp)
movl -0x44(%rbp), %eax
addl -0x40(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x44(%rbp)
movl -0x18(%rbp), %eax
xorl -0x44(%rbp), %eax
shll $0x10, %eax
andl $-0x1, %eax
movl -0x18(%rbp), %ecx
xorl -0x44(%rbp), %ecx
shrl $0x10, %ecx
orl %ecx, %eax
movl %eax, -0x18(%rbp)
movl -0x2c(%rbp), %eax
addl -0x18(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x40(%rbp), %eax
xorl -0x2c(%rbp), %eax
shll $0xc, %eax
andl $-0x1, %eax
movl -0x40(%rbp), %ecx
xorl -0x2c(%rbp), %ecx
shrl $0x14, %ecx
orl %ecx, %eax
movl %eax, -0x40(%rbp)
movl -0x44(%rbp), %eax
addl -0x40(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x44(%rbp)
movl -0x18(%rbp), %eax
xorl -0x44(%rbp), %eax
shll $0x8, %eax
andl $-0x1, %eax
movl -0x18(%rbp), %ecx
xorl -0x44(%rbp), %ecx
shrl $0x18, %ecx
orl %ecx, %eax
movl %eax, -0x18(%rbp)
movl -0x2c(%rbp), %eax
addl -0x18(%rbp), %eax
andl $-0x1, %eax
movl %eax, -0x2c(%rbp)
movl -0x40(%rbp), %eax
xorl -0x2c(%rbp), %eax
shll $0x7, %eax
andl $-0x1, %eax
movl -0x40(%rbp), %ecx
xorl -0x2c(%rbp), %ecx
shrl $0x19, %ecx
orl %ecx, %eax
movl %eax, -0x40(%rbp)
movl -0x54(%rbp), %eax
subl $0x2, %eax
movl %eax, -0x54(%rbp)
jmp 0x6d3e
movl $0x0, -0x54(%rbp)
cmpl $0x10, -0x54(%rbp)
jge 0x724c
movslq -0x54(%rbp), %rax
movl -0x50(%rbp,%rax,4), %ecx
movq -0x10(%rbp), %rax
movslq -0x54(%rbp), %rdx
addl (%rax,%rdx,4), %ecx
andl $-0x1, %ecx
movslq -0x54(%rbp), %rax
movl %ecx, -0x50(%rbp,%rax,4)
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x721d
movl $0x0, -0x54(%rbp)
cmpl $0x10, -0x54(%rbp)
jge 0x7303
jmp 0x725f
movslq -0x54(%rbp), %rax
movl -0x50(%rbp,%rax,4), %eax
movzbl %al, %eax
andl $0xff, %eax
movb %al, %dl
movq -0x8(%rbp), %rax
movl -0x54(%rbp), %ecx
shll $0x2, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movslq -0x54(%rbp), %rax
movl -0x50(%rbp,%rax,4), %eax
shrl $0x8, %eax
movzbl %al, %eax
andl $0xff, %eax
movb %al, %dl
movq -0x8(%rbp), %rax
movl -0x54(%rbp), %ecx
shll $0x2, %ecx
movslq %ecx, %rcx
movb %dl, 0x1(%rax,%rcx)
movslq -0x54(%rbp), %rax
movl -0x50(%rbp,%rax,4), %eax
shrl $0x10, %eax
movzbl %al, %eax
andl $0xff, %eax
movb %al, %dl
movq -0x8(%rbp), %rax
movl -0x54(%rbp), %ecx
shll $0x2, %ecx
movslq %ecx, %rcx
movb %dl, 0x2(%rax,%rcx)
movslq -0x54(%rbp), %rax
movl -0x50(%rbp,%rax,4), %eax
shrl $0x18, %eax
movzbl %al, %eax
andl $0xff, %eax
movb %al, %dl
movq -0x8(%rbp), %rax
movl -0x54(%rbp), %ecx
shll $0x2, %ecx
movslq %ecx, %rcx
movb %dl, 0x3(%rax,%rcx)
jmp 0x72f5
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
jmp 0x7253
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop