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

```asm
<cec_ops_set_analogue_timer>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %rcx,-0x20(%rbp)
  mov    %r8,-0x28(%rbp)
  mov    %r9,-0x30(%rbp)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    0x8(%rax),%edx
  mov    -0x10(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    0xc(%rax),%edx
  mov    -0x18(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  mov    (%rax),%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  mov    (%rax),%eax
  and    $0xf,%eax
  add    %eax,%edx
  mov    -0x20(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x14,%rax
  mov    (%rax),%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x14,%rax
  mov    (%rax),%eax
  and    $0xf,%eax
  add    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x18,%rax
  mov    (%rax),%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x18,%rax
  mov    (%rax),%eax
  and    $0xf,%eax
  add    %eax,%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x1c,%rax
  mov    (%rax),%eax
  sar    $0x4,%eax
  mov    %eax,%edx
  mov    %edx,%eax
  shl    $0x2,%eax
  add    %edx,%eax
  add    %eax,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x1c,%rax
  mov    (%rax),%eax
  and    $0xf,%eax
  add    %eax,%edx
  mov    0x10(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    0x20(%rax),%edx
  mov    0x18(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    0x24(%rax),%edx
  mov    0x20(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x28,%rax
  mov    (%rax),%eax
  shl    $0x8,%eax
  mov    %eax,%edx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x2c,%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    0x28(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    0x30(%rax),%edx
  mov    0x30(%rbp),%rax
  mov    %edx,(%rax)
  nop
  pop    %rbp
  ret
```

assistant: ```c
void cec_ops_set_analogue_timer(const struct cec_msg *msg, __u8 *day, __u8 *month, __u8 *start_hr, __u8 *start_min, __u8 *duration_hr, __u8 *duration_min, __u8 *recording_seq, __u8 *ana_bcast_type, __u16 *ana_freq, __u8 *bcast_system) {
  *day = msg->msg[2];
  *month = msg->msg[3];
  *start_hr = (msg->msg[4] >> 4) * 10 + (msg->msg[4] & 0xf);
  *start_min = (msg->msg[5] >> 4) * 10 + (msg->msg[5] & 0xf);
  *duration_hr = (msg->msg[6] >> 4) * 10 + (msg->msg[6] & 0xf);
  *duration_min = (msg->msg[7] >> 4) * 10 + (msg->msg[7] & 0xf);
  *recording_seq = msg->msg[8];
  *ana_bcast_type = msg->msg[9];
  *ana_freq = (msg->msg[10] << 8) | msg->msg[11];
  *bcast_system = msg->msg[12];
}
```