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),%rdi
  and    $0x8,%edi
  je     L9
  movslq (%rsi),%rdi
  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    %rdi,(%r14)
  movslq 0x10(%rsi),%rdi
  movslq %ebp,%rbp
  movslq %ebx,%rbx
  mov    %rdi,0x0(%r13)
  movslq 0x20(%rsi),%rdi
  mov    %rdi,(%r12)
  movslq 0x30(%rsi),%rdi
  mov    %rdi,0x0(%rbp)
  movslq 0x40(%rsi),%rdi
  mov    %rdi,(%rbx)
  lea    0x14(%rax),%edi
  movslq %edi,%rdi
  mov    %rdi,%r15
  mov    %rdi,-0x30(%rsp)
  movslq 0x50(%rsi),%rdi
  mov    %rdi,(%r15)
  lea    0x18(%rax),%edi
  movslq %edi,%rdi
  mov    %rdi,%r8
  mov    %rdi,-0x28(%rsp)
  movslq 0x60(%rsi),%rdi
  mov    %rdi,(%r8)
  lea    0x1c(%rax),%edi
  lea    0x38(%rax),%r8d
  movslq %edi,%rdi
  movslq %r8d,%r8
  mov    %rdi,%r9
  mov    %rdi,-0x20(%rsp)
  movslq 0x70(%rsi),%rdi
  mov    %rdi,(%r9)
  lea    0x20(%rax),%edi
  lea    0x34(%rax),%r9d
  movslq %edi,%rdi
  movslq %r9d,%r9
  mov    %rdi,%r10
  mov    %rdi,-0x18(%rsp)
  movslq 0x80(%rsi),%rdi
  mov    %rdi,(%r10)
  lea    0x24(%rax),%edi
  lea    0x30(%rax),%r10d
  movslq %edi,%rdi
  movslq %r10d,%r10
  mov    %rdi,%r11
  mov    %rdi,-0x10(%rsp)
  movslq 0x90(%rsi),%rdi
  mov    %rdi,(%r11)
  lea    0x28(%rax),%edi
  lea    0x2c(%rax),%r11d
  movslq %edi,%rdi
  movslq %r11d,%r11
  mov    %rdi,%r15
  mov    %rdi,-0x8(%rsp)
  movslq 0xa0(%rsi),%rdi
  mov    %rdi,(%r15)
  movslq 0xb0(%rsi),%rdi
  mov    %rdi,(%r11)
  movslq 0xc0(%rsi),%rdi
  mov    %rdi,(%r10)
  movslq 0xd0(%rsi),%rdi
  mov    %rdi,(%r9)
  movslq 0xe0(%rsi),%rdi
  movslq 0xf0(%rsi),%rsi
  mov    %rdi,(%r8)
  lea    0x3c(%rax),%edi
  movslq %edi,%rdi
  mov    %rsi,(%rdi)
  lea    0x44(%rax),%esi
  add    $0x48,%eax
  movslq %esi,%rsi
  cltq
  mov    (%rsi),%r15
  or     $0x20,%r15
  mov    %r15,(%rsi)
  movq   $0x0,(%rax)
  nopl   0x0(%rax)
L0:
  mov    (%rdx),%rax
  test   $0x1,%al
  je     L0
  mov    (%r14),%rax
  mov    %eax,(%rcx)
  mov    0x0(%r13),%rax
  mov    %eax,0x10(%rcx)
  mov    (%r12),%rax
  mov    %eax,0x20(%rcx)
  mov    0x0(%rbp),%rax
  mov    %eax,0x30(%rcx)
  mov    (%rbx),%rax
  mov    %eax,0x40(%rcx)
  mov    -0x30(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0x50(%rcx)
  mov    -0x28(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0x60(%rcx)
  mov    -0x20(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0x70(%rcx)
  mov    -0x18(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0x80(%rcx)
  mov    -0x10(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0x90(%rcx)
  mov    -0x8(%rsp),%rax
  mov    (%rax),%rax
  mov    %eax,0xa0(%rcx)
  mov    (%r11),%rax
  mov    %eax,0xb0(%rcx)
  mov    (%r10),%rax
  mov    %eax,0xc0(%rcx)
  mov    (%r9),%rax
  pop    %rbx
  pop    %rbp
  mov    %eax,0xd0(%rcx)
  mov    (%r8),%rax
  pop    %r12
  pop    %r13
  mov    %eax,0xe0(%rcx)
  mov    (%rdi),%rax
  pop    %r14
  pop    %r15
  mov    %eax,0xf0(%rcx)
  ret
```

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