user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<AIC31SampleRateConfig>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %edi,%ebp
  mov    %esi,%eax
  cmp    $0x5dc0,%edx
  je     L45
  cmp    $0x5dc0,%edx
  jbe    L47
  cmp    $0xbb80,%edx
  je     L152
  cmp    $0xbb80,%edx
  jbe    L150
  cmp    $0x17700,%edx
  mov    $0x1490,%r12d
  mov    $0x780,%ecx
  cmove  %ecx,%r12d
  sete   %r13b
  add    $0x7,%r13d
  mov    $0xa,%ebx
  mov    $0x0,%edx
  jmp    L54
L47:
  cmp    $0x3e80,%edx
  je     L119
  cmp    $0x3e80,%edx
  jbe    L37
  mov    $0x1490,%r12d
  mov    $0x7,%r13d
  cmp    $0x5622,%edx
  mov    $0xa,%ebx
  mov    $0xffffff8a,%ecx
  cmove  %ecx,%ebx
  mov    $0x0,%edx
  mov    $0x22,%ecx
  cmove  %ecx,%edx
  jmp    L54
L37:
  cmp    $0x1f40,%edx
  je     L98
  mov    $0x1490,%r12d
  mov    $0x7,%r13d
  cmp    $0x2b11,%edx
  mov    $0xa,%ebx
  mov    $0xffffff8a,%ecx
  cmove  %ecx,%ebx
  mov    $0x0,%edx
  mov    $0x66,%ecx
  cmove  %ecx,%edx
L54:
  and    %eax,%edx
  movzbl %dl,%edx
  mov    $0x2,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    $0x82,%edx
  mov    $0x3,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    $0x8,%edx
  mov    $0x66,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    $0x1,%edx
  mov    $0x65,%esi
  mov    %ebp,%edi
  call   <CodecRegBitClr@plt>
  mov    $0x20,%edx
  mov    $0x62,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  lea    0x0(,%r13,4),%edx
  movzbl %dl,%edx
  mov    $0x4,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    %r12d,%edx
  shr    $0x6,%dx
  movzbl %dl,%edx
  mov    $0x5,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  lea    0x0(,%r12,4),%edx
  and    $0x40,%edx
  mov    $0x6,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    $0x1,%edx
  mov    $0xb,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  mov    $0xd0,%edx
  mov    $0x8,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  movzbl %bl,%edx
  mov    $0x7,%esi
  mov    %ebp,%edi
  call   <CodecRegWrite@plt>
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L150:
  cmp    $0x7d00,%edx
  je     L76
  mov    $0x1490,%r12d
  mov    $0x7,%r13d
  cmp    $0xac44,%edx
  mov    $0xa,%ebx
  mov    $0xffffff8a,%ecx
  cmove  %ecx,%ebx
  mov    $0x0,%edx
  jmp    L54
L45:
  mov    $0x780,%r12d
  mov    $0x8,%r13d
  mov    $0xa,%ebx
  mov    $0x22,%edx
  jmp    L54
L119:
  mov    $0x780,%r12d
  mov    $0x8,%r13d
  mov    $0xa,%ebx
  mov    $0x44,%edx
  jmp    L54
L98:
  mov    $0x780,%r12d
  mov    $0x8,%r13d
  mov    $0xa,%ebx
  mov    $0xffffffaa,%edx
  jmp    L54
L152:
  mov    $0x780,%r12d
  mov    $0x8,%r13d
  mov    $0xa,%ebx
  mov    $0x0,%edx
  jmp    L54
L76:
  mov    $0x780,%r12d
  mov    $0x8,%r13d
  mov    $0xa,%ebx
  mov    $0x22,%edx
  jmp    L54
```

assistant: ```c
void AIC31SampleRateConfig(unsigned int baseAddr, unsigned int mode, unsigned int sampleRate) {
  unsigned char fs;
  unsigned char ref = 0x0Au;
  unsigned char temp;
  unsigned char pllPval = 2u;
  unsigned char pllRval = 1u;
  unsigned char pllJval = 7u;
  unsigned short pllDval = 5264u;
  switch (sampleRate) {
  case 8000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0xAAu;
    break;
  case 11025:
    fs = 0x66u;
    ref = 0x8Au;
    break;
  case 16000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0x44u;
    break;
  case 22050:
    fs = 0x22u;
    ref = 0x8Au;
    break;
  case 24000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0x22u;
    break;
  case 32000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0x22u;
    break;
  case 44100:
    ref = 0x8Au;
    fs = 0x00u;
    break;
  case 48000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0x00u;
    break;
  case 96000:
    pllJval = 8u;
    pllDval = 1920u;
    fs = 0x00u;
    break;
  default:
    fs = 0x00u;
    break;
  }
  temp = (mode & fs);
  CodecRegWrite(baseAddr, (2), temp);
  CodecRegWrite(baseAddr, (3), 0x80 | pllPval);
  CodecRegWrite(baseAddr, (102), 0x08);
  CodecRegBitClr(baseAddr, (101), 0x01);
  CodecRegWrite(baseAddr, (98), 0x20);
  CodecRegWrite(baseAddr, (4), pllJval << 2);
  CodecRegWrite(baseAddr, (5), (pllDval >> 6) & 0xFF);
  CodecRegWrite(baseAddr, (6), (pllDval & 0x3F) << 2);
  CodecRegWrite(baseAddr, (11), pllRval);
  CodecRegWrite(baseAddr, (8), 0xD0);
  CodecRegWrite(baseAddr, (7), ref);
}
```