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

```asm
<ramfs_init>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x110,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x108(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbx
  lea    D153(%rip),%r14
  mov    %r14,%rcx
  lea    D121(%rip),%rbp
  mov    %rbp,%rdx
  lea    D66(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  lea    D120(%rip),%r13
  mov    %r13,%rcx
  mov    %rbp,%rdx
  lea    D71(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r13,%rcx
  mov    %rbp,%rdx
  lea    D77(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r13,%rcx
  mov    %rbp,%rdx
  lea    D84(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  lea    D83(%rip),%r12
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D100(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D53(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D209(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D204(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D18(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D43(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D131(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D41(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  lea    D137(%rip),%r12
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D200(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r12,%rcx
  mov    %rbp,%rdx
  lea    D133(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r13,%rcx
  mov    %rbp,%rdx
  lea    D67(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r14,%rcx
  mov    %rbp,%rdx
  lea    D152(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    %r14,%rcx
  mov    %rbp,%rdx
  lea    D32(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rdi
  call   <abms_system@plt>
  mov    0x108(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x110,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D153
type_guessed: string
name: read_data
arguments: data_label: D121
type_guessed: string
name: read_data
arguments: data_label: D66
type_guessed: string
name: read_data
arguments: data_label: D120
type_guessed: string
name: read_data
arguments: data_label: D71
type_guessed: string
name: read_data
arguments: data_label: D77
type_guessed: string
name: read_data
arguments: data_label: D84
type_guessed: string
name: read_data
arguments: data_label: D83
type_guessed: string
name: read_data
arguments: data_label: D100
type_guessed: string
name: read_data
arguments: data_label: D53
type_guessed: string
name: read_data
arguments: data_label: D209
type_guessed: string
name: read_data
arguments: data_label: D204
type_guessed: string
name: read_data
arguments: data_label: D18
type_guessed: string
name: read_data
arguments: data_label: D43
type_guessed: string
name: read_data
arguments: data_label: D131
type_guessed: string
name: read_data
arguments: data_label: D41
type_guessed: string
name: read_data
arguments: data_label: D137
type_guessed: string
name: read_data
arguments: data_label: D200
type_guessed: string
name: read_data
arguments: data_label: D133
type_guessed: string
name: read_data
arguments: data_label: D67
type_guessed: string
name: read_data
arguments: data_label: D152
type_guessed: string
name: read_data
arguments: data_label: D32
type_guessed: string

tool: D153: mkdir

tool: D121: /app/os/sys/bin/

tool: D66: %s%s /proc /dev /root /sys /dev/pts /dev/shm

tool: D120: mount

tool: D71: %s%s -vt tmpfs shm /dev/shm

tool: D77: %s%s -vt proc proc /proc

tool: D84: %s%s -vt sysfs sysfs /sys

tool: D83: mknod

tool: D100: %s%s /dev/tty c 5 0

tool: D53: %s%s /dev/random c 1 8

tool: D209: %s%s /dev/urandom c 1 9

tool: D204: %s%s /dev/frandom c 235 11

tool: D18: %s%s /dev/erandom c 235 12

tool: D43: %s%s /dev/ptmx c 5 2

tool: D131: %s%s /dev/loop0 b 7 0

tool: D41: %s%s /dev/grsec c 1 13

tool: D137: chmod

tool: D200: %s%s 666 /dev/ptmx

tool: D133: %s%s 666 /dev/tty

tool: D67: %s%s -vt devpts devpts /dev/pts

tool: D152: %s%s /app/os/var/dhcpcd -p

tool: D32: %s%s /app/os/var/run -p

assistant: ```c
void ramfs_init(void) {
  char lcmd[255];
  sprintf(lcmd, "%s%s /proc /dev /root /sys /dev/pts /dev/shm", "/app/os/sys/bin/", "mkdir");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s -vt tmpfs shm /dev/shm", "/app/os/sys/bin/", "mount");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s -vt proc proc /proc", "/app/os/sys/bin/", "mount");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s -vt sysfs sysfs /sys", "/app/os/sys/bin/", "mount");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/tty c 5 0", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/random c 1 8", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/urandom c 1 9", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/frandom c 235 11", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/erandom c 235 12", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/ptmx c 5 2", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/loop0 b 7 0", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /dev/grsec c 1 13", "/app/os/sys/bin/", "mknod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s 666 /dev/ptmx", "/app/os/sys/bin/", "chmod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s 666 /dev/tty", "/app/os/sys/bin/", "chmod");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s -vt devpts devpts /dev/pts", "/app/os/sys/bin/", "mount");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /app/os/var/dhcpcd -p", "/app/os/sys/bin/", "mkdir");
  abms_system(lcmd);
  sprintf(lcmd, "%s%s /app/os/var/run -p", "/app/os/sys/bin/", "mkdir");
  abms_system(lcmd);
  return;
}
```