user: What would the C source look like for the assembly code provided here:

```asm
<MesFil>:
  endbr64
  sub    $0x8,%rsp
  test   %dil,%dil
  je     L24
  cmp    $0x1,%dil
  je     L45
  cmp    $0x2,%dil
  je     L44
  cmp    $0x3,%dil
  je     L9
  add    $0x8,%rsp
  ret
L24:
  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
L26:
  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
L12:
  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)
L44:
  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    L26
L45:
  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    L12
  nopw   0x0(%rax,%rax,1)
L9:
  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    L12
```

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