user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<cec_msg_set_ext_timer>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %esi,-0xc(%rbp)
  mov    %edx,-0x10(%rbp)
  mov    %ecx,-0x14(%rbp)
  mov    %r8d,-0x18(%rbp)
  mov    %r9d,-0x1c(%rbp)
  mov    -0x8(%rbp),%rax
  movl   $0xd,(%rax)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x4(%rax),%rdx
  mov    D14(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x8(%rax),%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0xc(%rax),%rdx
  mov    -0x14(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x18(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  shl    $0x4,%eax
  mov    %eax,%esi
  mov    -0x18(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x10,%rax
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %edx,(%rax)
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  shl    $0x4,%eax
  mov    %eax,%esi
  mov    -0x1c(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x14,%rax
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %edx,(%rax)
  mov    0x10(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  shl    $0x4,%eax
  mov    %eax,%esi
  mov    0x10(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x18,%rax
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %edx,(%rax)
  mov    0x18(%rbp),%eax
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  shr    $0x20,%rdx
  sar    $0x2,%edx
  sar    $0x1f,%eax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  shl    $0x4,%eax
  mov    %eax,%esi
  mov    0x18(%rbp),%edx
  movslq %edx,%rax
  imul   $0x66666667,%rax,%rax
  shr    $0x20,%rax
  sar    $0x2,%eax
  mov    %edx,%edi
  sar    $0x1f,%edi
  sub    %edi,%eax
  mov    %eax,%ecx
  mov    %ecx,%eax
  shl    $0x2,%eax
  add    %ecx,%eax
  add    %eax,%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x1c,%rax
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x20(%rax),%rdx
  mov    0x20(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x24(%rax),%rdx
  mov    0x28(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x28(%rax),%rdx
  mov    0x30(%rbp),%eax
  mov    %eax,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x2c,%rax
  mov    0x38(%rbp),%edx
  sar    $0x8,%edx
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  lea    0x30(%rax),%rdx
  mov    0x38(%rbp),%eax
  movzbl %al,%eax
  mov    %eax,(%rdx)
  cmpl   $0x0,-0xc(%rbp)
  je     L2
  mov    D13(%rip),%rax
  mov    (%rax),%eax
  jmp    L1
L2:
  mov    $0x0,%eax
L1:
  mov    -0x8(%rbp),%rdx
  mov    %eax,0x10(%rdx)
  nop
  pop    %rbp
  ret
```

assistant: ```c
void cec_msg_set_ext_timer(struct cec_msg *msg, int reply, __u8 day, __u8 month, __u8 start_hr, __u8 start_min, __u8 duration_hr, __u8 duration_min, __u8 recording_seq, __u8 ext_src_spec, __u8 plug, __u16 phys_addr) {
  msg->len = 13;
  msg->msg[1] = CEC_MSG_SET_EXT_TIMER;
  msg->msg[2] = day;
  msg->msg[3] = month;
  msg->msg[4] = ((start_hr / 10) << 4) | (start_hr % 10);
  msg->msg[5] = ((start_min / 10) << 4) | (start_min % 10);
  msg->msg[6] = ((duration_hr / 10) << 4) | (duration_hr % 10);
  msg->msg[7] = ((duration_min / 10) << 4) | (duration_min % 10);
  msg->msg[8] = recording_seq;
  msg->msg[9] = ext_src_spec;
  msg->msg[10] = plug;
  msg->msg[11] = phys_addr >> 8;
  msg->msg[12] = phys_addr & 0xff;
  msg->reply = reply ? CEC_MSG_TIMER_STATUS : 0;
}
```