// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/core/md5_encoder.c
// Function: digest
static void digest(const WORD32 *m, WORD32 *d) {
  int j;
  /*MD5 PASSO1 */
  for (j=0; j<4*4; j+=4) {
    d[0] = d[0]+ F(d[1], d[2], d[3])+ m[j] + T[j];       d[0]=rotate(d[0], 7);
    d[0]+=d[1];
    d[3] = d[3]+ F(d[0], d[1], d[2])+ m[(j)+1] + T[j+1]; d[3]=rotate(d[3], 12);
    d[3]+=d[0];
    d[2] = d[2]+ F(d[3], d[0], d[1])+ m[(j)+2] + T[j+2]; d[2]=rotate(d[2], 17);
    d[2]+=d[3];
    d[1] = d[1]+ F(d[2], d[3], d[0])+ m[(j)+3] + T[j+3]; d[1]=rotate(d[1], 22);
    d[1]+=d[2];
  }
  /*MD5 PASSO2 */
  for (j=0; j<4*4; j+=4) {
    d[0] = d[0]+ G(d[1], d[2], d[3])+ m[(5*j+1)&0x0f] + T[(j-1)+17];
    d[0] = rotate(d[0],5);
    d[0]+=d[1];
    d[3] = d[3]+ G(d[0], d[1], d[2])+ m[((5*(j+1)+1)&0x0f)] + T[(j+0)+17];
    d[3] = rotate(d[3], 9);
    d[3]+=d[0];
    d[2] = d[2]+ G(d[3], d[0], d[1])+ m[((5*(j+2)+1)&0x0f)] + T[(j+1)+17];
    d[2] = rotate(d[2], 14);
    d[2]+=d[3];
    d[1] = d[1]+ G(d[2], d[3], d[0])+ m[((5*(j+3)+1)&0x0f)] + T[(j+2)+17];
    d[1] = rotate(d[1], 20);
    d[1]+=d[2];
  }
  /*MD5 PASSO3 */
  for (j=0; j<4*4; j+=4) {
    d[0] = d[0]+ H(d[1], d[2], d[3])+ m[(3*j+5)&0x0f] + T[(j-1)+33];
    d[0] = rotate(d[0], 4);
    d[0]+=d[1];
    d[3] = d[3]+ H(d[0], d[1], d[2])+ m[(3*(j+1)+5)&0x0f] + T[(j+0)+33];
    d[3] = rotate(d[3], 11);
    d[3]+=d[0];
    d[2] = d[2]+ H(d[3], d[0], d[1])+ m[(3*(j+2)+5)&0x0f] + T[(j+1)+33];
    d[2] = rotate(d[2], 16);
    d[2]+=d[3];
    d[1] = d[1]+ H(d[2], d[3], d[0])+ m[(3*(j+3)+5)&0x0f] + T[(j+2)+33];
    d[1] = rotate(d[1], 23);
    d[1]+=d[2];
  }
  /*MD5 PASSO4 */
  for (j=0; j<4*4; j+=4) {
    d[0] = d[0]+ I(d[1], d[2], d[3])+ m[(7*j)&0x0f] + T[(j-1)+49];
    d[0] = rotate(d[0], 6);
    d[0]+=d[1];
    d[3] = d[3]+ I(d[0], d[1], d[2])+ m[(7*(j+1))&0x0f] + T[(j+0)+49];
    d[3] = rotate(d[3], 10);
    d[3]+=d[0];
    d[2] = d[2]+ I(d[3], d[0], d[1])+ m[(7*(j+2))&0x0f] + T[(j+1)+49];
    d[2] = rotate(d[2], 15);
    d[2]+=d[3];
    d[1] = d[1]+ I(d[2], d[3], d[0])+ m[(7*(j+3))&0x0f] + T[(j+2)+49];
    d[1] = rotate(d[1], 21);
    d[1]+=d[2];
  }
}

// Assembly:
movl (%rsi), %r9d
movl 0x4(%rsi), %eax
movl 0x8(%rsi), %ecx
movl 0xc(%rsi), %edx
xorl %r10d, %r10d
leaq 0x34198(%rip), %r8      # 0xf2a70
cmpq $0x10, %r10
jae 0xbe970
movl %ecx, %r11d
xorl %edx, %r11d
andl %eax, %r11d
xorl %edx, %r11d
addl (%rdi,%r10,4), %r9d
addl %r11d, %r9d
addl (%r8,%r10,4), %r9d
roll $0x7, %r9d
addl %eax, %r9d
movl %r9d, (%rsi)
movl %eax, %r11d
xorl %ecx, %r11d
andl %r9d, %r11d
addl 0x4(%rdi,%r10,4), %edx
xorl %ecx, %r11d
addl 0x4(%r8,%r10,4), %edx
addl %r11d, %edx
roll $0xc, %edx
addl %r9d, %edx
movl %edx, 0xc(%rsi)
movl %r9d, %r11d
xorl %eax, %r11d
andl %edx, %r11d
xorl %eax, %r11d
addl 0x8(%rdi,%r10,4), %ecx
addl 0x8(%r8,%r10,4), %ecx
addl %r11d, %ecx
roll $0x11, %ecx
addl %edx, %ecx
movl %ecx, 0x8(%rsi)
movl %edx, %r11d
xorl %r9d, %r11d
andl %ecx, %r11d
addl 0xc(%rdi,%r10,4), %eax
addl 0xc(%r8,%r10,4), %eax
xorl %r9d, %r11d
addl %r11d, %eax
roll $0x16, %eax
addl %ecx, %eax
movl %eax, 0x4(%rsi)
addq $0x4, %r10
jmp 0xbe8d8
pushq %rbp
pushq %r14
pushq %rbx
xorl %r10d, %r10d
xorl %r11d, %r11d
cmpq $0x10, %r11
jae 0xbea1f
movl %eax, %ebp
xorl %ecx, %ebp
andl %edx, %ebp
xorl %ecx, %ebp
movl %r10d, %ebx
andl $0xc, %ebx
addl 0x4(%rdi,%rbx,4), %r9d
addl %ebp, %r9d
addl 0x40(%r8,%r11,4), %r9d
roll $0x5, %r9d
addl %eax, %r9d
movl %r9d, (%rsi)
movl %r9d, %ebp
xorl %eax, %ebp
andl %ecx, %ebp
xorl %eax, %ebp
leal 0x6(%r10), %r14d
andl $0xe, %r14d
addl (%rdi,%r14,4), %edx
addl 0x44(%r8,%r11,4), %edx
addl %ebp, %edx
roll $0x9, %edx
addl %r9d, %edx
movl %edx, 0xc(%rsi)
movl %edx, %ebp
xorl %r9d, %ebp
andl %eax, %ebp
leal 0xa(%r10), %r14d
andl $0xe, %r14d
addl 0x4(%rdi,%r14,4), %ecx
xorl %r9d, %ebp
addl 0x48(%r8,%r11,4), %ecx
addl %ebp, %ecx
roll $0xe, %ecx
addl %edx, %ecx
movl %ecx, 0x8(%rsi)
movl %ecx, %ebp
xorl %edx, %ebp
andl %r9d, %ebp
shll $0x2, %ebx
addl (%rdi,%rbx), %eax
addl 0x4c(%r8,%r11,4), %eax
xorl %edx, %ebp
addl %ebp, %eax
roll $0x14, %eax
addl %ecx, %eax
movl %eax, 0x4(%rsi)
addq $0x4, %r11
addq $0x14, %r10
jmp 0xbe97a
movabsq $0xe, %r10
xorl %r11d, %r11d
cmpq $0x10, %r11
jae 0xbeada
movl %ecx, %ebp
xorl %eax, %ebp
movl %ebp, %ebx
xorl %edx, %ebx
addl %r9d, %ebx
leal -0x9(%r10), %r9d
andl $0xd, %r9d
addl (%rdi,%r9,4), %ebx
addl 0x80(%r8,%r11,4), %ebx
leal -0xe(%r10), %r9d
roll $0x4, %ebx
addl %eax, %ebx
movl %ebx, (%rsi)
xorl %ebx, %ebp
andl $0xc, %r9d
xorl $0x8, %r9d
addl (%rdi,%r9,4), %edx
addl 0x84(%r8,%r11,4), %edx
addl %ebp, %edx
roll $0xb, %edx
addl %ebx, %edx
movl %edx, 0xc(%rsi)
movl %edx, %r9d
xorl %ebx, %r9d
movl %r9d, %ebp
leal -0x3(%r10), %r14d
andl $0xf, %r14d
addl (%rdi,%r14,4), %ecx
xorl %eax, %ebp
addl %ebp, %ecx
addl 0x88(%r8,%r11,4), %ecx
roll $0x10, %ecx
addl %edx, %ecx
movl %ecx, 0x8(%rsi)
xorl %ecx, %r9d
movl %r10d, %r14d
andl $0xe, %r14d
addl (%rdi,%r14,4), %eax
addl 0x8c(%r8,%r11,4), %eax
addl %r9d, %eax
roll $0x17, %eax
addl %ecx, %eax
movl %eax, 0x4(%rsi)
addq $0x4, %r11
addq $0xc, %r10
movl %ebx, %r9d
jmp 0xbea2c
xorl %r10d, %r10d
xorl %r11d, %r11d
cmpq $0xf, %r11
ja 0xbeb95
movl %edx, %ebx
notl %ebx
orl %eax, %ebx
xorl %ecx, %ebx
movl %r10d, %r14d
andl $0xc, %r14d
addl (%rdi,%r14,4), %r9d
addl %ebx, %r9d
addl 0xc0(%r8,%r11,4), %r9d
roll $0x6, %r9d
addl %eax, %r9d
movl %r9d, (%rsi)
movl %ecx, %ebx
notl %ebx
orl %r9d, %ebx
leal 0x7(%r10), %r14d
andl $0xf, %r14d
addl (%rdi,%r14,4), %edx
addl 0xc4(%r8,%r11,4), %edx
xorl %eax, %ebx
addl %ebx, %edx
roll $0xa, %edx
addl %r9d, %edx
movl %edx, 0xc(%rsi)
movl %eax, %ebx
notl %ebx
orl %edx, %ebx
leal 0xe(%r10), %r14d
andl $0xe, %r14d
addl (%rdi,%r14,4), %ecx
addl 0xc8(%r8,%r11,4), %ecx
xorl %r9d, %ebx
addl %ebx, %ecx
roll $0xf, %ecx
addl %edx, %ecx
movl %ecx, 0x8(%rsi)
movl %r9d, %ebx
notl %ebx
orl %ecx, %ebx
leal 0x5(%r10), %r14d
andl $0xd, %r14d
addl (%rdi,%r14,4), %eax
addl 0xcc(%r8,%r11,4), %eax
xorl %edx, %ebx
addl %ebx, %eax
roll $0x15, %eax
addl %ecx, %eax
movl %eax, 0x4(%rsi)
addq $0x4, %r11
addq $0x1c, %r10
jmp 0xbeae0
popq %rbx
popq %r14
popq %rbp
retq