user: 这段汇编代码用C语言表示是什么样的：

```asm
<vertical_flash_test>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x14(%rbp),%rax
  mov    %rax,%rdi
  call   <FS460_get_tv_active_lines@plt>
  mov    $0x0,%eax
  call   <FS460_play_begin@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  jne    L11
  mov    -0x14(%rbp),%eax
  mov    $0x1,%r9d
  mov    $0x0,%r8d
  mov    %eax,%ecx
  mov    $0x2d0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <set@plt>
  mov    -0x14(%rbp),%eax
  mov    $0x1,%r9d
  mov    $0x0,%r8d
  mov    %eax,%ecx
  mov    $0x2d0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <set@plt>
  mov    -0x14(%rbp),%eax
  mov    $0x1,%r9d
  mov    $0x0,%r8d
  mov    %eax,%ecx
  mov    $0x2d0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <set@plt>
  mov    -0x14(%rbp),%eax
  mov    $0x1,%r9d
  mov    $0x0,%r8d
  mov    %eax,%ecx
  mov    $0x2d0,%edx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <set@plt>
  mov    $0x0,%edi
  call   <FS460_play_run@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  jne    L11
  movl   $0x0,-0x10(%rbp)
  jmp    L107
L116:
  lea    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <FS460_play_is_effect_finished@plt>
  mov    %eax,-0xc(%rbp)
L107:
  cmpl   $0x0,-0xc(%rbp)
  jne    L11
  mov    -0x10(%rbp),%eax
  test   %eax,%eax
  je     L116
L11:
  mov    $0x0,%eax
  call   <FS460_play_begin@plt>
  mov    D5(%rip),%eax
  lea    0x1(%rax),%edx
  mov    %edx,D27(%rip)
  cmp    $0x6,%eax
  ja     L60
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D27(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D27(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
L60:
  movl   $0x1,D27(%rip)
  mov    $0x0,%esi
  mov    $0x1,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x0,%esi
  mov    $0x2,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x0,%esi
  mov    $0x4,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x0,%esi
  mov    $0x6,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x0,%esi
  mov    $0x8,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x0,%esi
  mov    $0xa,%edi
  call   <vertical_flash@plt>
  jmp    L10
  mov    $0x1,%esi
  mov    $0x6,%edi
  call   <vertical_flash@plt>
  nop
L10:
  mov    $0x1,%edi
  call   <FS460_play_run@plt>
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L56
  call   <__stack_chk_fail@plt>
L56:
  leave
  ret
```

assistant: ```c
void vertical_flash_test(void) {
  static int mode = 0;
  int full_height;
  unsigned int completed;
  int err;
  FS460_get_tv_active_lines(&full_height);
  err = FS460_play_begin();
  if (!err) {
    set(0, 0, 720, full_height, 0, 0x0001);
    set(0, 0, 720, full_height, 0, 0x0001);
    set(0, 0, 720, full_height, 0, 0x0001);
    set(0, 0, 720, full_height, 0, 0x0001);
    err = FS460_play_run(0);
    if (!err) {
      completed = 0;
      while (!err && !completed)
        err = FS460_play_is_effect_finished(&completed);
    }
  }
  FS460_play_begin();
  switch (mode++) {
  default:
    mode = 1;
  case 0:
    vertical_flash(1, 0);
    break;
  case 1:
    vertical_flash(2, 0);
    break;
  case 2:
    vertical_flash(4, 0);
    break;
  case 3:
    vertical_flash(6, 0);
    break;
  case 4:
    vertical_flash(8, 0);
    break;
  case 5:
    vertical_flash(10, 0);
    break;
  case 6:
    vertical_flash(6, 1);
    break;
  }
  FS460_play_run(0x0001);
}
```