user: 请从给定的汇编指令推导出C源代码：

```asm
<SHAMD5HMACPPKeyGenerate>:
  endbr64
  push   %r15
  mov    %rdx,%rcx
  lea    0x118(%rdi),%edx
  mov    %edi,%eax
  push   %r14
  movslq %edx,%rdx
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  nopl   0x0(%rax)
L9:
  mov    (%rdx),%edi
  and    $0x8,%edi
  je     L9
  mov    (%rsi),%edi
  movslq %eax,%r14
  lea    0x4(%rax),%r13d
  lea    0x8(%rax),%r12d
  movslq %r13d,%r13
  lea    0xc(%rax),%ebp
  lea    0x10(%rax),%ebx
  movslq %r12d,%r12
  mov    %edi,(%r14)
  mov    0x4(%rsi),%edi
  movslq %ebp,%rbp
  movslq %ebx,%rbx
  mov    %edi,0x0(%r13)
  mov    0x8(%rsi),%edi
  mov    %edi,(%r12)
  mov    0xc(%rsi),%edi
  mov    %edi,0x0(%rbp)
  mov    0x10(%rsi),%edi
  mov    %edi,(%rbx)
  lea    0x14(%rax),%edi
  movslq %edi,%rdi
  mov    %rdi,%r15
  mov    %rdi,-0x30(%rsp)
  mov    0x14(%rsi),%edi
  mov    %edi,(%r15)
  lea    0x18(%rax),%edi
  movslq %edi,%rdi
  mov    %rdi,%r8
  mov    %rdi,-0x28(%rsp)
  mov    0x18(%rsi),%edi
  mov    %edi,(%r8)
  lea    0x1c(%rax),%edi
  lea    0x38(%rax),%r8d
  movslq %edi,%rdi
  movslq %r8d,%r8
  mov    %rdi,%r9
  mov    %rdi,-0x20(%rsp)
  mov    0x1c(%rsi),%edi
  mov    %edi,(%r9)
  lea    0x20(%rax),%edi
  lea    0x34(%rax),%r9d
  movslq %edi,%rdi
  movslq %r9d,%r9
  mov    %rdi,%r10
  mov    %rdi,-0x18(%rsp)
  mov    0x20(%rsi),%edi
  mov    %edi,(%r10)
  lea    0x24(%rax),%edi
  lea    0x30(%rax),%r10d
  movslq %edi,%rdi
  movslq %r10d,%r10
  mov    %rdi,%r11
  mov    %rdi,-0x10(%rsp)
  mov    0x24(%rsi),%edi
  mov    %edi,(%r11)
  lea    0x28(%rax),%edi
  lea    0x2c(%rax),%r11d
  movslq %edi,%rdi
  movslq %r11d,%r11
  mov    %rdi,%r15
  mov    %rdi,-0x8(%rsp)
  mov    0x28(%rsi),%edi
  mov    %edi,(%r15)
  mov    0x2c(%rsi),%edi
  mov    %edi,(%r11)
  mov    0x30(%rsi),%edi
  mov    %edi,(%r10)
  mov    0x34(%rsi),%edi
  mov    %edi,(%r9)
  mov    0x38(%rsi),%edi
  mov    %edi,(%r8)
  lea    0x3c(%rax),%edi
  mov    0x3c(%rsi),%esi
  movslq %edi,%rdi
  mov    %esi,(%rdi)
  lea    0x44(%rax),%esi
  add    $0x48,%eax
  movslq %esi,%rsi
  cltq
  mov    (%rsi),%r15d
  or     $0x20,%r15d
  mov    %r15d,(%rsi)
  movl   $0x0,(%rax)
  nopl   0x0(%rax)
L13:
  mov    (%rdx),%eax
  test   $0x1,%al
  je     L13
  mov    (%r14),%eax
  mov    %eax,(%rcx)
  mov    0x0(%r13),%eax
  mov    %eax,0x4(%rcx)
  mov    (%r12),%eax
  mov    %eax,0x8(%rcx)
  mov    0x0(%rbp),%eax
  mov    %eax,0xc(%rcx)
  mov    (%rbx),%eax
  mov    %eax,0x10(%rcx)
  mov    -0x30(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x14(%rcx)
  mov    -0x28(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x18(%rcx)
  mov    -0x20(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x1c(%rcx)
  mov    -0x18(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x20(%rcx)
  mov    -0x10(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x24(%rcx)
  mov    -0x8(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x28(%rcx)
  mov    (%r11),%eax
  mov    %eax,0x2c(%rcx)
  mov    (%r10),%eax
  mov    %eax,0x30(%rcx)
  mov    (%r9),%eax
  pop    %rbx
  pop    %rbp
  mov    %eax,0x34(%rcx)
  mov    (%r8),%eax
  pop    %r12
  pop    %r13
  mov    %eax,0x38(%rcx)
  mov    (%rdi),%eax
  pop    %r14
  pop    %r15
  mov    %eax,0x3c(%rcx)
  ret
```

assistant: ```c
void SHAMD5HMACPPKeyGenerate(uint32_t ui32Base, uint32_t *pui32Key, uint32_t *pui32PPKey) {
  uint32_t ui32Index;
  ;
  while (((*((volatile uint32_t *)(ui32Base + 0x00000118))) & 0x00000008) == 0) {
  }
  for (ui32Index = 0; ui32Index < 64; ui32Index += 4) {
    (*((volatile uint32_t *)(ui32Base + 0x00000000 + ui32Index))) = *pui32Key++;
  }
  (*((volatile uint32_t *)(ui32Base + 0x00000044))) |= 0x00000020;
  (*((volatile uint32_t *)(ui32Base + 0x00000048))) = 0;
  while (((*((volatile uint32_t *)(ui32Base + 0x00000118))) & 0x00000001) == 0) {
  }
  for (ui32Index = 0; ui32Index < 64; ui32Index += 4) {
    *pui32PPKey++ = (*((volatile uint32_t *)(ui32Base + 0x00000000 + ui32Index)));
  }
}
```