user: Converte this assembly snippet into its equivalent C code:

```asm
<stage_cu>:
  endbr64
  sub    $0x8,%rsp
  mov    $0x0,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbf880004,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x4,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe890304,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x8,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe890305,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0xc,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810309,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x10,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe830304,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x14,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe830300,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x18,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbf810000,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x1c,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe830303,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x20,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810305,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x24,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810300,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x28,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810304,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x2c,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810306,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x0,%esi
  mov    $0x50002004,%edi
  call   <Xil_Out32@plt>
  mov    $0x28,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x0,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  mov    $0x7,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  mov    $0x14,%esi
  mov    $0x50002014,%edi
  call   <Xil_Out32@plt>
  mov    $0x1,%esi
  mov    $0x50002000,%edi
  call   <Xil_Out32@plt>
  mov    $0x10,%esi
  mov    $0x50002004,%edi
  call   <Xil_Out32@plt>
  mov    $0x1c,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x30,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  mov    $0x21,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  mov    $0x17,%esi
  mov    $0x50002014,%edi
  call   <Xil_Out32@plt>
  mov    $0x1,%esi
  mov    $0x50002000,%edi
  call   <Xil_Out32@plt>
  mov    $0x20,%esi
  mov    $0x50002004,%edi
  call   <Xil_Out32@plt>
  mov    $0x1,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x25,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  mov    $0x0,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  mov    $0x0,%esi
  mov    $0x50002014,%edi
  call   <Xil_Out32@plt>
  mov    $0x1,%esi
  mov    $0x50002000,%edi
  call   <Xil_Out32@plt>
  add    $0x8,%rsp
  ret
```

assistant: ```c
void stage_cu() {
  Xil_Out32(0x50001004, 0);
  Xil_Out32(0x50001000, 0xBF880004);
  Xil_Out32(0x50001004, 4);
  Xil_Out32(0x50001000, 0xBE890304);
  Xil_Out32(0x50001004, 8);
  Xil_Out32(0x50001000, 0xBE890305);
  Xil_Out32(0x50001004, 12);
  Xil_Out32(0x50001000, 0xBE810309);
  Xil_Out32(0x50001004, 16);
  Xil_Out32(0x50001000, 0xBE830304);
  Xil_Out32(0x50001004, 20);
  Xil_Out32(0x50001000, 0xBE830300);
  Xil_Out32(0x50001004, 24);
  Xil_Out32(0x50001000, 0xBF810000);
  Xil_Out32(0x50001004, 28);
  Xil_Out32(0x50001000, 0xBE830303);
  Xil_Out32(0x50001004, 32);
  Xil_Out32(0x50001000, 0xBE810305);
  Xil_Out32(0x50001004, 36);
  Xil_Out32(0x50001000, 0xBE810300);
  Xil_Out32(0x50001004, 40);
  Xil_Out32(0x50001000, 0xBE810304);
  Xil_Out32(0x50001004, 44);
  Xil_Out32(0x50001000, 0xBE810306);
  Xil_Out32(0x50002004, 0);
  Xil_Out32(0x50002008, 0x28);
  Xil_Out32(0x5000200C, 0x0);
  Xil_Out32(0x50002010, 0x7);
  Xil_Out32(0x50002014, 0x14);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 16);
  Xil_Out32(0x50002008, 0x1C);
  Xil_Out32(0x5000200C, 0x30);
  Xil_Out32(0x50002010, 0x21);
  Xil_Out32(0x50002014, 0x17);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 32);
  Xil_Out32(0x50002008, 0x1);
  Xil_Out32(0x5000200C, 0x25);
  Xil_Out32(0x50002010, 0x0);
  Xil_Out32(0x50002014, 0x0);
  Xil_Out32(0x50002000, 1);
}
```