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

```asm
<AIC31SampleRateConfig>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %edi,%ebp
  cmp    $0x5dc0,%edx
  je     L49
  jbe    L145
  cmp    $0xbb80,%edx
  je     L3
  jbe    L163
  cmp    $0x17700,%edx
  mov    $0x0,%eax
  mov    $0x40,%r13d
  mov    $0x52,%r14d
  sete   %r15b
  cmove  %eax,%r13d
  mov    $0x1e,%eax
  mov    $0xa,%r12d
  movzbl %r15b,%r15d
  cmove  %eax,%r14d
  xor    %edx,%edx
  lea    0x1c(,%r15,4),%r15d
L117:
  mov    %ebp,%edi
  mov    $0x2,%esi
  call   <CodecRegWrite@plt>
  mov    %ebp,%edi
  mov    $0x82,%edx
  mov    $0x3,%esi
  call   <CodecRegWrite@plt>
  mov    %ebp,%edi
  mov    $0x8,%edx
  mov    $0x66,%esi
  call   <CodecRegWrite@plt>
  mov    %ebp,%edi
  mov    $0x1,%edx
  mov    $0x65,%esi
  call   <CodecRegBitClr@plt>
  mov    %ebp,%edi
  mov    $0x20,%edx
  mov    $0x62,%esi
  call   <CodecRegWrite@plt>
  mov    %r15d,%edx
  mov    %ebp,%edi
  mov    $0x4,%esi
  call   <CodecRegWrite@plt>
  mov    %r14d,%edx
  mov    %ebp,%edi
  mov    $0x5,%esi
  call   <CodecRegWrite@plt>
  mov    %r13d,%edx
  mov    %ebp,%edi
  mov    $0x6,%esi
  call   <CodecRegWrite@plt>
  mov    %ebp,%edi
  mov    $0x1,%edx
  mov    $0xb,%esi
  call   <CodecRegWrite@plt>
  mov    %ebp,%edi
  mov    $0xd0,%edx
  mov    $0x8,%esi
  call   <CodecRegWrite@plt>
  mov    %r12d,%edx
  mov    %ebp,%edi
  mov    $0x7,%esi
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <CodecRegWrite@plt>
  cs nopw 0x0(%rax,%rax,1)
L145:
  cmp    $0x3e80,%edx
  je     L105
  jbe    L132
  and    $0x22,%esi
  cmp    $0x5622,%edx
  jne    L98
L50:
  mov    %esi,%edx
  mov    $0x40,%r13d
  mov    $0x8a,%r12d
  mov    $0x52,%r14d
  mov    $0x1c,%r15d
  jmp    L117
  nopl   0x0(%rax)
L163:
  cmp    $0x7d00,%edx
  je     L49
  cmp    $0xac44,%edx
  mov    $0xa,%r12d
  mov    $0x8a,%eax
  mov    $0x40,%r13d
  cmove  %eax,%r12d
  mov    $0x52,%r14d
  mov    $0x1c,%r15d
  xor    %edx,%edx
  jmp    L117
  cs nopw 0x0(%rax,%rax,1)
L132:
  cmp    $0x1f40,%edx
  je     L46
  cmp    $0x2b11,%edx
  jne    L98
  and    $0x66,%esi
  jmp    L50
  nopl   (%rax)
L3:
  xor    %r13d,%r13d
  mov    $0xa,%r12d
  mov    $0x1e,%r14d
  xor    %edx,%edx
  mov    $0x20,%r15d
  jmp    L117
  nopl   0x0(%rax)
L49:
  and    $0x22,%esi
L68:
  mov    %esi,%edx
  xor    %r13d,%r13d
  mov    $0xa,%r12d
  mov    $0x1e,%r14d
  mov    $0x20,%r15d
  jmp    L117
  nopw   0x0(%rax,%rax,1)
L98:
  mov    $0x40,%r13d
  mov    $0xa,%r12d
  mov    $0x52,%r14d
  xor    %edx,%edx
  mov    $0x1c,%r15d
  jmp    L117
  nop
L46:
  and    $0xaa,%esi
  jmp    L68
  nopl   0x0(%rax,%rax,1)
L105:
  and    $0x44,%esi
  jmp    L68
```

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);
}
```