user: Please show me the C implementation that matches the assembly code listed below:

```asm
<move_char>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbx
  sub    $0x28,%rsp
  mov    (%rsi),%rdi
  movslq 0x0(%r13),%r15
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  cmpb   $0x0,0x1(%rdi,%r15,1)
  jne    L89
  movl   $0x0,0x0(%r13)
  call   <strlen@plt>
  mov    %rsp,%rcx
  add    $0x1,%eax
  cltq
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L186
L201:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L201
L186:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L133
  orq    $0x0,-0x8(%rsp,%rdx,1)
L133:
  mov    (%r12),%rdi
  mov    %rsp,%r14
L29:
  mov    %rdi,%rcx
  mov    $0x2,%ebx
  mov    $0x1,%eax
  xor    %r15d,%r15d
  mov    $0x1,%edx
  jmp    L239
  nopl   0x0(%rax)
L89:
  lea    0x1(%r15),%rdx
  mov    %r15,%rbx
  mov    %rdx,-0x48(%rbp)
  call   <strlen@plt>
  mov    %rsp,%rsi
  mov    -0x48(%rbp),%rdx
  add    $0x1,%eax
  cltq
  add    $0xf,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rsi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rsi,%rsp
  je     L233
L226:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L226
L233:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L58
L178:
  mov    (%r12),%rdi
  mov    %rsp,%r14
  test   %ebx,%ebx
  jle    L29
  lea    0x1(%rdi),%r8
  mov    %rsp,%rcx
  lea    -0x1(%rbx),%eax
  mov    %ebx,%esi
  sub    %r8,%rcx
  cmp    $0xe,%rcx
  jbe    L117
  cmp    $0x6,%eax
  jbe    L117
  cmp    $0xe,%eax
  jbe    L247
  mov    %ebx,%ecx
  xor    %eax,%eax
  shr    $0x4,%ecx
  shl    $0x4,%rcx
  nopl   0x0(%rax)
L61:
  movdqu (%rdi,%rax,1),%xmm0
  movups %xmm0,(%r14,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rcx
  jne    L61
  mov    %ebx,%ecx
  and    $0xfffffff0,%ecx
  mov    %ecx,%eax
  cmp    %ecx,%ebx
  je     L91
  mov    %ebx,%esi
  sub    %ecx,%esi
  lea    -0x1(%rsi),%r8d
  cmp    $0x6,%r8d
  jbe    L95
L90:
  mov    (%rdi,%rcx,1),%r8
  mov    %r8,(%r14,%rcx,1)
  mov    %esi,%ecx
  and    $0xfffffff8,%ecx
  add    %ecx,%eax
  cmp    %ecx,%esi
  je     L91
L95:
  movslq %eax,%rcx
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  lea    0x1(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L91
  movslq %ecx,%rcx
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  lea    0x2(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L91
  movslq %ecx,%rcx
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  lea    0x3(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L91
  movslq %ecx,%rcx
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  lea    0x4(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L91
  movslq %ecx,%rcx
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  lea    0x5(%rax),%ecx
  cmp    %ecx,%ebx
  jle    L91
  movslq %ecx,%rcx
  add    $0x6,%eax
  movzbl (%rdi,%rcx,1),%esi
  mov    %sil,(%r14,%rcx,1)
  cmp    %eax,%ebx
  jle    L91
  cltq
  movzbl (%rdi,%rax,1),%ecx
  mov    %cl,(%r14,%rax,1)
L91:
  lea    0x1(%rbx),%eax
  lea    (%rdi,%r15,1),%rcx
  add    $0x2,%ebx
L239:
  movzbl (%rdi,%rdx,1),%edx
  cltq
  movslq %ebx,%rbx
  mov    %dl,(%r14,%r15,1)
  movzbl (%rcx),%edx
  mov    %dl,(%r14,%rax,1)
  jmp    L166
  nopl   0x0(%rax)
L151:
  mov    (%r12),%rdi
  movzbl (%rdi,%rbx,1),%eax
  mov    %al,(%r14,%rbx,1)
  add    $0x1,%rbx
L166:
  call   <strlen@plt>
  cmp    %ebx,%eax
  jge    L151
  mov    (%r12),%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  addl   $0x1,0x0(%r13)
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L8
  lea    -0x28(%rbp),%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   (%rax)
L58:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L178
  nopl   0x0(%rax,%rax,1)
L117:
  mov    %ebx,%esi
  xor    %eax,%eax
  nopl   0x0(%rax)
L84:
  movzbl (%rdi,%rax,1),%ecx
  mov    %cl,(%r14,%rax,1)
  add    $0x1,%rax
  cmp    %rax,%rsi
  jne    L84
  jmp    L91
L247:
  xor    %ecx,%ecx
  xor    %eax,%eax
  jmp    L90
L8:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int move_char(int *index, char **in) {
  if ((*in)[*index + 1] == '\0')
    *index = 0;
  int j, f = *index;
  char temp[strlen(*in) + 1];
  for (j = 0; j < f; ++j)
    temp[j] = (*in)[j];
  temp[j] = (*in)[j + 1];
  temp[j + 1] = (*in)[j];
  for (j = j + 2; j <= (int)strlen(*in); ++j)
    temp[j] = (*in)[j];
  strcpy(*in, temp);
  ++(*index);
  return 1;
}
```