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

```asm
<stage_cu>:
  endbr64
  sub    $0x8,%rsp
  xor    %esi,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbf8c0001,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x4,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe820308,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x8,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe810301,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0xc,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe840303,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x10,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe890306,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x14,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe800308,%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    $0xbe820300,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x20,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe880304,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x24,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe880301,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x28,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe820309,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  mov    $0x2c,%esi
  mov    $0x50001004,%edi
  call   <Xil_Out32@plt>
  mov    $0xbe820300,%esi
  mov    $0x50001000,%edi
  call   <Xil_Out32@plt>
  xor    %esi,%esi
  mov    $0x50002004,%edi
  call   <Xil_Out32@plt>
  mov    $0xe,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x2b,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  mov    $0x31,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  mov    $0x11,%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    $0x24,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x21,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  mov    $0x2,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  mov    $0x12,%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    $0x19,%esi
  mov    $0x50002008,%edi
  call   <Xil_Out32@plt>
  mov    $0x1c,%esi
  mov    $0x5000200c,%edi
  call   <Xil_Out32@plt>
  xor    %esi,%esi
  mov    $0x50002010,%edi
  call   <Xil_Out32@plt>
  xor    %esi,%esi
  mov    $0x50002014,%edi
  call   <Xil_Out32@plt>
  mov    $0x1,%esi
  mov    $0x50002000,%edi
  add    $0x8,%rsp
  jmp    1050 <Xil_Out32@plt>
```

assistant: ```c
void stage_cu() {
  Xil_Out32(0x50001004, 0);
  Xil_Out32(0x50001000, 0xBF8C0001);
  Xil_Out32(0x50001004, 4);
  Xil_Out32(0x50001000, 0xBE820308);
  Xil_Out32(0x50001004, 8);
  Xil_Out32(0x50001000, 0xBE810301);
  Xil_Out32(0x50001004, 12);
  Xil_Out32(0x50001000, 0xBE840303);
  Xil_Out32(0x50001004, 16);
  Xil_Out32(0x50001000, 0xBE890306);
  Xil_Out32(0x50001004, 20);
  Xil_Out32(0x50001000, 0xBE800308);
  Xil_Out32(0x50001004, 24);
  Xil_Out32(0x50001000, 0xBF810000);
  Xil_Out32(0x50001004, 28);
  Xil_Out32(0x50001000, 0xBE820300);
  Xil_Out32(0x50001004, 32);
  Xil_Out32(0x50001000, 0xBE880304);
  Xil_Out32(0x50001004, 36);
  Xil_Out32(0x50001000, 0xBE880301);
  Xil_Out32(0x50001004, 40);
  Xil_Out32(0x50001000, 0xBE820309);
  Xil_Out32(0x50001004, 44);
  Xil_Out32(0x50001000, 0xBE820300);
  Xil_Out32(0x50002004, 0);
  Xil_Out32(0x50002008, 0xE);
  Xil_Out32(0x5000200C, 0x2B);
  Xil_Out32(0x50002010, 0x31);
  Xil_Out32(0x50002014, 0x11);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 16);
  Xil_Out32(0x50002008, 0x24);
  Xil_Out32(0x5000200C, 0x21);
  Xil_Out32(0x50002010, 0x2);
  Xil_Out32(0x50002014, 0x12);
  Xil_Out32(0x50002000, 1);
  Xil_Out32(0x50002004, 32);
  Xil_Out32(0x50002008, 0x19);
  Xil_Out32(0x5000200C, 0x1C);
  Xil_Out32(0x50002010, 0x0);
  Xil_Out32(0x50002014, 0x0);
  Xil_Out32(0x50002000, 1);
}
```