// File: /workspace/github_cpp_makefile_star2_O1/bitwiseshiftleft[P]crandom/aes.c
// Function: crandom_aes_expand
extern_c void
crandom_aes_expand(u_int64_t iv,
                   u_int64_t ctr,
                   const unsigned char *key,
                   unsigned char *data) {
# if (MIGHT_HAVE(AESNI))
    if (HAVE(AESNI)) {
      crandom_aes_expand_aesni(iv, ctr, key, data);
      return;
    }
# endif
# if (!MUST_HAVE(AESNI))
    crandom_aes_expand_conventional(iv, ctr, key, data);
# endif
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movq %rcx, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdi, 0x30(%rsp)
cmpb $0x0, 0x3f09(%rip)      # 0x80e0
jne 0x4226
leaq 0x3f10(%rip), %rax      # 0x80f0
xorl %ecx, %ecx
leaq 0x1117(%rip), %rsi      # 0x5300
movzbl (%rcx,%rsi), %edi
leal (%rdi,%rdi), %r8d
imull $0x10101, %edi, %r9d    # imm = 0x10101
shrl $0x7, %edi
imull $0x11b, %edi, %edi      # imm = 0x11B
xorl %r8d, %edi
imull $0x1010000, %edi, %edi  # imm = 0x1010000
xorl %r9d, %edi
movl %edi, (%rax)
incq %rcx
addq $0x4, %rax
cmpq $0x100, %rcx            # imm = 0x100
jne 0x41e9
movb $0x1, 0x3eba(%rip)      # 0x80e0
movl (%rdx), %r15d
movl 0x4(%rdx), %eax
movq %rax, 0x18(%rsp)
movl 0x8(%rdx), %eax
movq %rax, 0x20(%rsp)
movl 0xc(%rdx), %ebp
movl 0x10(%rdx), %r14d
movl 0x14(%rdx), %eax
movl %eax, 0x8(%rsp)
movl 0x18(%rdx), %r13d
movl 0x1c(%rdx), %ebx
leaq 0x60(%rsp), %r12
movq $0x0, 0x28(%rsp)
movl $0xf0, %edx
movq %r12, %rdi
xorl %esi, %esi
callq 0x1090
movl %r15d, (%r12)
movq 0x18(%rsp), %rax
movl %eax, 0x4(%r12)
movq 0x20(%rsp), %r10
movl %r10d, 0x8(%r12)
movl %ebp, 0xc(%r12)
movl %r14d, 0x10(%r12)
movl 0x8(%rsp), %edi
movl %edi, 0x14(%r12)
movl %r13d, 0x18(%r12)
movl %ebx, 0x1c(%r12)
leaq 0x9c(%rsp), %rcx
leaq 0x1051(%rip), %rdx      # 0x5300
movq %rbp, 0x38(%rsp)
movl %ebp, %esi
movl %r14d, 0x14(%rsp)
movl %r13d, 0xc(%rsp)
movl %r13d, %r8d
movl %ebx, 0x10(%rsp)
movl %ebx, %r9d
movl %eax, %r11d
movq %r15, 0x48(%rsp)
movl %r15d, %r12d
movl %r9d, %ebp
shrl $0x18, %ebp
movzbl (%rbp,%rdx), %ebp
shll $0x10, %ebp
movl %r9d, %r13d
shrl $0x10, %r13d
movl $0xff, %r15d
andl %r15d, %r13d
movzbl (%r13,%rdx), %r13d
shll $0x8, %r13d
movl %r9d, %ebx
shrl $0x8, %ebx
andl %r15d, %ebx
movzbl (%rbx,%rdx), %ebx
movl %r9d, %eax
andl %r15d, %eax
movzbl (%rax,%rdx), %eax
shll $0x18, %eax
xorl %ebx, %eax
movq 0x28(%rsp), %r15
btcl %r15d, %r12d
xorl %ebp, %r12d
xorl %r13d, %r12d
xorl %eax, %r12d
movl %r12d, -0x1c(%rcx)
xorl %r12d, %r11d
movl %r11d, -0x18(%rcx)
xorl %r11d, %r10d
movl %r10d, -0x14(%rcx)
xorl %r10d, %esi
movl %esi, -0x10(%rcx)
cmpq $0x6, %r15
je 0x43b5
movl %esi, %eax
shrl $0x18, %eax
movzbl (%rax,%rdx), %eax
shll $0x18, %eax
xorl %eax, %r14d
movl %esi, %eax
shrl $0x10, %eax
movl $0xff, %ebp
andl %ebp, %eax
movzbl (%rax,%rdx), %eax
shll $0x10, %eax
xorl %r14d, %eax
movl %esi, %ebx
shrl $0x8, %ebx
andl %ebp, %ebx
movzbl (%rbx,%rdx), %ebx
shll $0x8, %ebx
movl %esi, %r14d
andl %ebp, %r14d
movzbl (%r14,%rdx), %r14d
xorl %ebx, %r14d
xorl %eax, %r14d
movl %r14d, -0xc(%rcx)
xorl %r14d, %edi
movl %edi, -0x8(%rcx)
xorl %edi, %r8d
movl %r8d, -0x4(%rcx)
xorl %r8d, %r9d
movl %r9d, (%rcx)
incq %r15
movq %r15, 0x28(%rsp)
addq $0x20, %rcx
jmp 0x42d5
movq 0x48(%rsp), %r8
movq 0x50(%rsp), %rax
xorl %eax, %r8d
shrq $0x20, %rax
movq 0x18(%rsp), %rbp
xorl %eax, %ebp
movq 0x20(%rsp), %r13
movq 0x30(%rsp), %rax
xorl %eax, %r13d
shrq $0x20, %rax
movq 0x38(%rsp), %r14
xorl %eax, %r14d
leaq 0x3d03(%rip), %rcx      # 0x80f0
movl $0x3fc, %edx            # imm = 0x3FC
movl $0xff, %esi
movl %r8d, %eax
shrl $0x18, %eax
movl %r14d, %edi
shrl $0xe, %edi
andl %edx, %edi
movl (%rdi,%rcx), %r9d
roll $0x18, %r9d
movl %r13d, %edi
shrl $0x8, %edi
andl %esi, %edi
movl (%rcx,%rdi,4), %r10d
roll $0x10, %r10d
movl %ebp, %edi
andl %esi, %edi
movl (%rcx,%rdi,4), %edi
roll $0x8, %edi
xorl %r10d, %edi
xorl (%rcx,%rax,4), %r9d
xorl 0x8(%rsp), %edi
movl %ebp, %eax
movl %r8d, %r10d
shrl $0xe, %r10d
andl %edx, %r10d
movl (%r10,%rcx), %r10d
roll $0x18, %r10d
movl %r14d, %r11d
shrl $0x8, %r11d
andl %esi, %r11d
movl (%rcx,%r11,4), %ebx
roll $0x10, %ebx
shrl $0x18, %eax
xorl (%rcx,%rax,4), %r10d
movl %r13d, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %r11d
roll $0x8, %r11d
xorl %ebx, %r11d
xorl 0xc(%rsp), %r11d
movl %r14d, %r15d
xorl %r10d, %r11d
movl %r13d, %r10d
shrl $0x8, %r8d
andl %esi, %r8d
movl (%rcx,%r8,4), %eax
roll $0x10, %eax
andl %esi, %r14d
movl (%rcx,%r14,4), %r12d
roll $0x8, %r12d
xorl %eax, %r12d
movl %ebp, %r14d
shrl $0x18, %r13d
shrl $0xe, %ebp
andl %edx, %ebp
movl (%rbp,%rcx), %eax
roll $0x18, %eax
xorl (%rcx,%r13,4), %eax
xorl 0x10(%rsp), %r12d
xorl %eax, %r12d
movl %r12d, %eax
shrl $0x18, %eax
movl %r11d, %r8d
shrl $0xe, %r8d
andl %edx, %r8d
movl (%r8,%rcx), %r8d
roll $0x18, %r8d
xorl (%rcx,%rax,4), %r8d
xorl %r9d, %edi
movl %edi, %eax
shrl $0x8, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %r9d
roll $0x10, %r9d
xorl %r8d, %r9d
movl %r11d, %eax
shrl $0x8, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %eax
roll $0x10, %eax
movl %edi, %r8d
andl %esi, %r8d
movl (%rcx,%r8,4), %ebx
roll $0x8, %ebx
xorl %eax, %ebx
movl %edi, %eax
shrl $0x18, %eax
movl %r12d, %r8d
shrl $0x8, %r8d
andl %esi, %r8d
movl (%rcx,%r8,4), %r8d
roll $0x10, %r8d
xorl (%rcx,%rax,4), %r8d
movl %r12d, %eax
shrl $0xe, %eax
andl %edx, %eax
movl (%rax,%rcx), %eax
roll $0x18, %eax
xorl %eax, %ebx
movl %r11d, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %eax
roll $0x8, %eax
xorl %r8d, %eax
shrl $0xe, %r10d
andl %edx, %r10d
movl (%r10,%rcx), %r10d
roll $0x18, %r10d
shrl $0x18, %r15d
shrl $0x8, %r14d
andl %esi, %r14d
movl (%rcx,%r14,4), %r8d
roll $0x10, %r8d
xorl 0x80(%rsp), %r9d
movl %r9d, 0x20(%rsp)
xorl 0x84(%rsp), %ebx
movl %ebx, 0x18(%rsp)
xorl 0x88(%rsp), %eax
movl %eax, 0x8(%rsp)
shrl $0x18, %r11d
shrl $0xe, %edi
andl %edx, %edi
movl (%rdi,%rcx), %eax
roll $0x18, %eax
xorl (%rcx,%r11,4), %eax
andl %esi, %r12d
movl (%rcx,%r12,4), %edi
roll $0x8, %edi
xorl %eax, %edi
xorl 0x8c(%rsp), %edi
movl %edi, 0x10(%rsp)
movl 0x140(%rsp), %eax
movl %eax, 0x38(%rsp)
movl 0x144(%rsp), %eax
movl %eax, 0xc(%rsp)
xorl (%rcx,%r15,4), %r10d
movl 0x148(%rsp), %eax
movl %eax, 0x30(%rsp)
xorl %r8d, %r10d
movl 0x14c(%rsp), %eax
movl %eax, 0x44(%rsp)
xorl 0x14(%rsp), %r10d
movl %r10d, 0x14(%rsp)
xorl %r11d, %r11d
movq 0x50(%rsp), %rax
movq %r11, 0x28(%rsp)
addl %r11d, %eax
xorl 0x48(%rsp), %eax
andl %esi, %eax
movl (%rcx,%rax,4), %r8d
roll $0x8, %r8d
xorl 0x14(%rsp), %r8d
movl %r8d, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %edi
roll $0x8, %edi
xorl 0x20(%rsp), %edi
movl %r8d, %eax
shrl $0x18, %eax
movl (%rcx,%rax,4), %r12d
xorl 0x18(%rsp), %r12d
movl %r8d, %eax
shrl $0xe, %eax
andl $0x3fc, %eax            # imm = 0x3FC
movl (%rax,%rcx), %r14d
roll $0x18, %r14d
xorl 0x8(%rsp), %r14d
shrl $0x8, %r8d
andl %esi, %r8d
movl (%rcx,%r8,4), %r15d
roll $0x10, %r15d
xorl 0x10(%rsp), %r15d
movl $0x3c, %ebp
movl %r15d, %eax
shrl $0x18, %eax
movl %r14d, %r8d
shrl $0xe, %r8d
andl %edx, %r8d
movl (%r8,%rcx), %r9d
roll $0x18, %r9d
xorl (%rcx,%rax,4), %r9d
movl %r12d, %eax
shrl $0x8, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %eax
roll $0x10, %eax
movl %edi, %r8d
andl %esi, %edi
movl (%rcx,%rdi,4), %edi
roll $0x8, %edi
xorl %eax, %edi
xorl %r9d, %edi
xorl 0x54(%rsp,%rbp), %edi
movl %r8d, %eax
shrl $0x18, %eax
movl %r15d, %r9d
shrl $0xe, %r9d
andl %edx, %r9d
movl (%r9,%rcx), %r9d
roll $0x18, %r9d
xorl (%rcx,%rax,4), %r9d
movl %r8d, %r10d
shrl $0x8, %r8d
andl %esi, %r8d
movl (%rcx,%r8,4), %r8d
movl %r14d, %eax
shrl $0x8, %eax
andl %esi, %eax
movl (%rcx,%rax,4), %eax
roll $0x10, %eax
movl %r12d, %ebx
andl %esi, %ebx
movl %r12d, %r13d
shrl $0xe, %r12d
andl %edx, %r12d
movl (%r12,%rcx), %r11d
movl (%rcx,%rbx,4), %r12d
roll $0x8, %r12d
xorl %eax, %r12d
xorl %r9d, %r12d
xorl 0x58(%rsp,%rbp), %r12d
shrl $0x18, %r13d
shrl $0xe, %r10d
andl %edx, %r10d
movl (%r10,%rcx), %eax
roll $0x18, %eax
xorl (%rcx,%r13,4), %eax
movl %r15d, %r9d
shrl $0x8, %r9d
andl %esi, %r9d
movl (%rcx,%r9,4), %r9d
roll $0x10, %r9d
movl %r14d, %r10d
shrl $0x18, %r14d
roll $0x18, %r11d
xorl (%rcx,%r14,4), %r11d
andl %esi, %r10d
movl (%rcx,%r10,4), %r14d
roll $0x8, %r14d
xorl %r9d, %r14d
xorl %eax, %r14d
xorl 0x5c(%rsp,%rbp), %r14d
roll $0x10, %r8d
andl %esi, %r15d
movl (%rcx,%r15,4), %r15d
roll $0x8, %r15d
xorl %r8d, %r15d
xorl %r11d, %r15d
xorl 0x60(%rsp,%rbp), %r15d
addq $0x10, %rbp
cmpq $0xec, %rbp
jne 0x465c
movl %r15d, %eax
shrl $0x18, %eax
leaq 0xb83(%rip), %r10       # 0x5300
movzbl (%rax,%r10), %eax
shll $0x18, %eax
movl %r14d, %r8d
shrl $0x10, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
shll $0x10, %r8d
orl %eax, %r8d
movl %r12d, %eax
shrl $0x8, %eax
andl %esi, %eax
movzbl (%rax,%r10), %eax
shll $0x8, %eax
orl %r8d, %eax
movl %edi, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
orl %eax, %r8d
xorl 0x38(%rsp), %r8d
movq 0x28(%rsp), %r11
movq %r11, %rbp
shlq $0x4, %rbp
movq 0x58(%rsp), %r9
movl %r8d, (%r9,%rbp)
movl %edi, %eax
shrl $0x18, %eax
movzbl (%rax,%r10), %eax
shll $0x18, %eax
movl %r15d, %r8d
shrl $0x10, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
shll $0x10, %r8d
orl %eax, %r8d
movl %r14d, %eax
shrl $0x8, %eax
andl %esi, %eax
movzbl (%rax,%r10), %eax
shll $0x8, %eax
orl %r8d, %eax
movl %r12d, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
orl %eax, %r8d
xorl 0xc(%rsp), %r8d
movl %r8d, 0x4(%r9,%rbp)
movl %r12d, %eax
shrl $0x18, %eax
movzbl (%rax,%r10), %eax
shll $0x18, %eax
movl %edi, %r8d
shrl $0x10, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
shll $0x10, %r8d
orl %eax, %r8d
movl %r15d, %eax
shrl $0x8, %eax
andl %esi, %eax
movzbl (%rax,%r10), %eax
shll $0x8, %eax
orl %r8d, %eax
movl %r14d, %r8d
andl %esi, %r8d
movzbl (%r8,%r10), %r8d
orl %eax, %r8d
xorl 0x30(%rsp), %r8d
movl %r8d, 0x8(%r9,%rbp)
shrl $0x18, %r14d
movzbl (%r14,%r10), %eax
shll $0x18, %eax
shrl $0x10, %r12d
andl %esi, %r12d
movzbl (%r12,%r10), %r8d
shll $0x10, %r8d
orl %eax, %r8d
shrl $0x8, %edi
andl %esi, %edi
movzbl (%rdi,%r10), %eax
shll $0x8, %eax
orl %r8d, %eax
andl %esi, %r15d
movzbl (%r15,%r10), %edi
orl %eax, %edi
xorl 0x44(%rsp), %edi
movl %edi, 0xc(%r9,%rbp)
incq %r11
cmpq $0x8, %r11
jne 0x45ed
leaq 0x60(%rsp), %rdi
movl $0xf0, %edx
xorl %esi, %esi
callq 0x1090
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)