user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<MesFil>:
  endbr64
  sub    $0x8,%rsp
  test   %dil,%dil
  je     L66
  cmp    $0x1,%dil
  je     L31
  cmp    $0x2,%dil
  je     L60
  cmp    $0x3,%dil
  je     L37
  add    $0x8,%rsp
  ret
L66:
  mov    $0x3ca175c0,%esi
  mov    $0x10f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x10f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
  mov    $0x10f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f800000,%esi
  mov    $0x10f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f7,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f8,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f9,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
L50:
  mov    $0x11f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f800000,%esi
  mov    $0x11f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
L14:
  mov    $0x11f7,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f8,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f9,%edi
  add    $0x8,%rsp
  jmp    1050 <RamWrite32A_LC898122AF@plt>
  nopl   0x0(%rax)
L60:
  mov    $0x3f800000,%esi
  mov    $0x10f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f800000,%esi
  mov    $0x10f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f7,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f8,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f9,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f800000,%esi
  mov    $0x11f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  jmp    L50
L31:
  mov    $0x3df21080,%esi
  mov    $0x10f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3df21080,%esi
  mov    $0x10f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f437bc0,%esi
  mov    $0x10f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f7ef980,%esi
  mov    $0x10f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0xbf7ef980,%esi
  mov    $0x10f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f7df300,%esi
  mov    $0x10f7,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f8,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f9,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3df21080,%esi
  mov    $0x11f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3df21080,%esi
  mov    $0x11f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f437bc0,%esi
  mov    $0x11f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f7ef980,%esi
  mov    $0x11f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0xbf7ef980,%esi
  mov    $0x11f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f7df300,%esi
  jmp    L14
  nopw   0x0(%rax,%rax,1)
L37:
  mov    $0x3ca175c0,%esi
  mov    $0x10f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x10f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
  mov    $0x10f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x10f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x10f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
  mov    $0x10f7,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f8,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x10f9,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f0,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f1,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
  mov    $0x11f2,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f3,%edi
  call   <RamWrite32A_LC898122AF@plt>
  xor    %esi,%esi
  mov    $0x11f4,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f5,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3ca175c0,%esi
  mov    $0x11f6,%edi
  call   <RamWrite32A_LC898122AF@plt>
  mov    $0x3f75e8c0,%esi
  jmp    L14
```

assistant: ```c
void MesFil(unsigned char UcMesMod) {
  if (!UcMesMod) {
    RamWrite32A_LC898122AF(0x10F0, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F1, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F2, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x10F3, 0x00000000);
    RamWrite32A_LC898122AF(0x10F4, 0x00000000);
    RamWrite32A_LC898122AF(0x10F5, 0x3F800000);
    RamWrite32A_LC898122AF(0x10F6, 0x00000000);
    RamWrite32A_LC898122AF(0x10F7, 0x00000000);
    RamWrite32A_LC898122AF(0x10F8, 0x00000000);
    RamWrite32A_LC898122AF(0x10F9, 0x00000000);
    RamWrite32A_LC898122AF(0x11F0, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F1, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F2, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x11F3, 0x00000000);
    RamWrite32A_LC898122AF(0x11F4, 0x00000000);
    RamWrite32A_LC898122AF(0x11F5, 0x3F800000);
    RamWrite32A_LC898122AF(0x11F6, 0x00000000);
    RamWrite32A_LC898122AF(0x11F7, 0x00000000);
    RamWrite32A_LC898122AF(0x11F8, 0x00000000);
    RamWrite32A_LC898122AF(0x11F9, 0x00000000);
  } else if (UcMesMod == 1) {
    RamWrite32A_LC898122AF(0x10F0, 0x3DF21080);
    RamWrite32A_LC898122AF(0x10F1, 0x3DF21080);
    RamWrite32A_LC898122AF(0x10F2, 0x3F437BC0);
    RamWrite32A_LC898122AF(0x10F3, 0x00000000);
    RamWrite32A_LC898122AF(0x10F4, 0x00000000);
    RamWrite32A_LC898122AF(0x10F5, 0x3F7EF980);
    RamWrite32A_LC898122AF(0x10F6, 0xBF7EF980);
    RamWrite32A_LC898122AF(0x10F7, 0x3F7DF300);
    RamWrite32A_LC898122AF(0x10F8, 0x00000000);
    RamWrite32A_LC898122AF(0x10F9, 0x00000000);
    RamWrite32A_LC898122AF(0x11F0, 0x3DF21080);
    RamWrite32A_LC898122AF(0x11F1, 0x3DF21080);
    RamWrite32A_LC898122AF(0x11F2, 0x3F437BC0);
    RamWrite32A_LC898122AF(0x11F3, 0x00000000);
    RamWrite32A_LC898122AF(0x11F4, 0x00000000);
    RamWrite32A_LC898122AF(0x11F5, 0x3F7EF980);
    RamWrite32A_LC898122AF(0x11F6, 0xBF7EF980);
    RamWrite32A_LC898122AF(0x11F7, 0x3F7DF300);
    RamWrite32A_LC898122AF(0x11F8, 0x00000000);
    RamWrite32A_LC898122AF(0x11F9, 0x00000000);
  } else if (UcMesMod == 2) {
    RamWrite32A_LC898122AF(0x10F0, 0x3F800000);
    RamWrite32A_LC898122AF(0x10F1, 0x00000000);
    RamWrite32A_LC898122AF(0x10F2, 0x00000000);
    RamWrite32A_LC898122AF(0x10F3, 0x00000000);
    RamWrite32A_LC898122AF(0x10F4, 0x00000000);
    RamWrite32A_LC898122AF(0x10F5, 0x3F800000);
    RamWrite32A_LC898122AF(0x10F6, 0x00000000);
    RamWrite32A_LC898122AF(0x10F7, 0x00000000);
    RamWrite32A_LC898122AF(0x10F8, 0x00000000);
    RamWrite32A_LC898122AF(0x10F9, 0x00000000);
    RamWrite32A_LC898122AF(0x11F0, 0x3F800000);
    RamWrite32A_LC898122AF(0x11F1, 0x00000000);
    RamWrite32A_LC898122AF(0x11F2, 0x00000000);
    RamWrite32A_LC898122AF(0x11F3, 0x00000000);
    RamWrite32A_LC898122AF(0x11F4, 0x00000000);
    RamWrite32A_LC898122AF(0x11F5, 0x3F800000);
    RamWrite32A_LC898122AF(0x11F6, 0x00000000);
    RamWrite32A_LC898122AF(0x11F7, 0x00000000);
    RamWrite32A_LC898122AF(0x11F8, 0x00000000);
    RamWrite32A_LC898122AF(0x11F9, 0x00000000);
  } else if (UcMesMod == 3) {
    RamWrite32A_LC898122AF(0x10F0, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F1, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F2, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x10F3, 0x00000000);
    RamWrite32A_LC898122AF(0x10F4, 0x00000000);
    RamWrite32A_LC898122AF(0x10F5, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F6, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x10F7, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x10F8, 0x00000000);
    RamWrite32A_LC898122AF(0x10F9, 0x00000000);
    RamWrite32A_LC898122AF(0x11F0, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F1, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F2, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x11F3, 0x00000000);
    RamWrite32A_LC898122AF(0x11F4, 0x00000000);
    RamWrite32A_LC898122AF(0x11F5, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F6, 0x3CA175C0);
    RamWrite32A_LC898122AF(0x11F7, 0x3F75E8C0);
    RamWrite32A_LC898122AF(0x11F8, 0x00000000);
    RamWrite32A_LC898122AF(0x11F9, 0x00000000);
  }
}
```