user: Translate the below assembly code into C programming language:

```asm
<parse_timezone>:
  endbr64
  push   %r13
  mov    $0x68,%ecx
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x358,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x348(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r12
  mov    %r12,%rdi
  rep stos %rax,%es:(%rdi)
  lea    D1(%rip),%rax
  mov    %rax,0x20(%rsp)
  lea    D200(%rip),%rax
  mov    %rax,0x40(%rsp)
  lea    D14(%rip),%rax
  mov    %rax,0x60(%rsp)
  lea    D89(%rip),%rax
  mov    %rax,0x80(%rsp)
  lea    D60(%rip),%rax
  mov    %rax,0x88(%rsp)
  lea    D154(%rip),%rax
  mov    %rax,0xa0(%rsp)
  lea    D69(%rip),%rax
  mov    %rax,0xa8(%rsp)
  lea    D302(%rip),%rax
  mov    %rax,0xb0(%rsp)
  lea    D264(%rip),%rax
  mov    %rax,0xc0(%rsp)
  lea    D202(%rip),%rax
  mov    %rax,0xc8(%rsp)
  lea    D317(%rip),%rax
  mov    %rax,0xd0(%rsp)
  lea    D118(%rip),%rax
  mov    %rax,0xe0(%rsp)
  lea    D244(%rip),%rax
  mov    %rax,0xe8(%rsp)
  lea    D5(%rip),%rax
  mov    %rax,0xf0(%rsp)
  lea    D52(%rip),%rax
  mov    %rax,0x100(%rsp)
  lea    D220(%rip),%rax
  mov    %rax,0x108(%rsp)
  lea    D109(%rip),%rax
  mov    %rax,0x120(%rsp)
  lea    D198(%rip),%rax
  mov    %rax,0x140(%rsp)
  lea    D182(%rip),%rax
  mov    %rax,0x160(%rsp)
  lea    D183(%rip),%rax
  mov    %rax,0x180(%rsp)
  lea    D292(%rip),%rax
  mov    %rax,0x188(%rsp)
  lea    D27(%rip),%rax
  mov    %rax,0x190(%rsp)
  lea    D252(%rip),%rax
  mov    %rax,0x1a0(%rsp)
  lea    D221(%rip),%rax
  mov    %rax,0x1c0(%rsp)
  lea    D31(%rip),%rax
  mov    %rax,0x1e0(%rsp)
  lea    D141(%rip),%rax
  mov    %rax,0x200(%rsp)
  lea    D4(%rip),%rax
  mov    %rax,0x220(%rsp)
  lea    D11(%rip),%rax
  mov    %rax,0x240(%rsp)
  lea    D151(%rip),%rax
  mov    %rax,0x260(%rsp)
  lea    D236(%rip),%rax
  mov    %rax,0x280(%rsp)
  lea    D101(%rip),%rax
  mov    %rax,0x2a0(%rsp)
  lea    D34(%rip),%rax
  mov    %rax,0x2c0(%rsp)
  lea    D29(%rip),%rax
  mov    %rax,0x2e0(%rsp)
  lea    D136(%rip),%rax
  mov    %rax,0x300(%rsp)
  movzbl 0x0(%rbp),%eax
  sub    $0x2b,%eax
  test   $0xfd,%al
  je     L20
L68:
  lea    D297(%rip),%rdi
  xor    %r13d,%r13d
L75:
  mov    %r12,%rbx
  test   %rdi,%rdi
  jne    L1
  jmp    L30
  nopl   0x0(%rax)
L86:
  mov    0x8(%rbx),%rdi
  add    $0x8,%rbx
  test   %rdi,%rdi
  je     L30
L1:
  mov    %rbp,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L86
  lea    -0xc(%r13),%rax
  imul   $0xe10,%rax,%rax
L89:
  mov    0x348(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L13
  add    $0x358,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopw   0x0(%rax,%rax,1)
L30:
  mov    0x20(%r12),%rdi
  add    $0x1,%r13
  add    $0x20,%r12
  jmp    L75
  nop
L20:
  mov    %rbp,%rdi
  call   <strlen@plt>
  cmp    $0x5,%eax
  jne    L68
  mov    %rbp,%rdi
  call   <atoi@plt>
  movabs $0xa3d70a3d70a3d70b,%rdx
  mov    %rax,%rcx
  imul   %rdx
  lea    (%rdx,%rcx,1),%rax
  mov    %rcx,%rdx
  sar    $0x3f,%rdx
  sar    $0x6,%rax
  sub    %rdx,%rax
  mov    %rax,%rdx
  shl    $0x4,%rdx
  sub    %rax,%rdx
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  shl    $0x2,%rax
  sub    %rax,%rcx
  lea    (%rcx,%rdx,4),%rdx
  mov    %rdx,%rax
  shl    $0x4,%rax
  sub    %rdx,%rax
  shl    $0x2,%rax
  jmp    L89
L13:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D1
type_guessed: string
name: parse_data
arguments: label: D200
type_guessed: string
name: parse_data
arguments: label: D14
type_guessed: string
name: parse_data
arguments: label: D89
type_guessed: string
name: parse_data
arguments: label: D60
type_guessed: string
name: parse_data
arguments: label: D154
type_guessed: string
name: parse_data
arguments: label: D69
type_guessed: string
name: parse_data
arguments: label: D302
type_guessed: string
name: parse_data
arguments: label: D264
type_guessed: string
name: parse_data
arguments: label: D202
type_guessed: string
name: parse_data
arguments: label: D317
type_guessed: string
name: parse_data
arguments: label: D118
type_guessed: string
name: parse_data
arguments: label: D244
type_guessed: string
name: parse_data
arguments: label: D5
type_guessed: string
name: parse_data
arguments: label: D52
type_guessed: string
name: parse_data
arguments: label: D220
type_guessed: string
name: parse_data
arguments: label: D109
type_guessed: string
name: parse_data
arguments: label: D198
type_guessed: string
name: parse_data
arguments: label: D182
type_guessed: string
name: parse_data
arguments: label: D183
type_guessed: string
name: parse_data
arguments: label: D292
type_guessed: string
name: parse_data
arguments: label: D27
type_guessed: string
name: parse_data
arguments: label: D252
type_guessed: string
name: parse_data
arguments: label: D221
type_guessed: string
name: parse_data
arguments: label: D31
type_guessed: string
name: parse_data
arguments: label: D141
type_guessed: string
name: parse_data
arguments: label: D4
type_guessed: string
name: parse_data
arguments: label: D11
type_guessed: string
name: parse_data
arguments: label: D151
type_guessed: string
name: parse_data
arguments: label: D236
type_guessed: string
name: parse_data
arguments: label: D101
type_guessed: string
name: parse_data
arguments: label: D34
type_guessed: string
name: parse_data
arguments: label: D29
type_guessed: string
name: parse_data
arguments: label: D136
type_guessed: string
name: parse_data
arguments: label: D297
type_guessed: string

tool: D1: L

tool: D200: K

tool: D14: I

tool: D89: H

tool: D60: PST

tool: D154: G

tool: D69: MST

tool: D302: PDT

tool: D264: F

tool: D202: CST

tool: D317: MDT

tool: D118: E

tool: D244: EST

tool: D5: CDT

tool: D52: D

tool: D220: EDT

tool: D109: C

tool: D198: B

tool: D182: A

tool: D183: Z

tool: D292: UT

tool: D27: GMT

tool: D252: N

tool: D221: O

tool: D31: P

tool: D141: Q

tool: D4: R

tool: D11: S

tool: D151: T

tool: D236: U

tool: D101: V

tool: D34: W

tool: D29: X

tool: D136: Y

tool: D297: M

assistant: ```c
long parse_timezone(const char *tz) {
  const char *rfc822_timezones[26][4] = {{"M", NULL}, {"L", NULL}, {"K", NULL}, {"I", NULL}, {"H", "PST", NULL}, {"G", "MST", "PDT", NULL}, {"F", "CST", "MDT", NULL}, {"E", "EST", "CDT", NULL}, {"D", "EDT", NULL}, {"C", NULL}, {"B", NULL}, {"A", NULL}, {"Z", "UT", "GMT", NULL}, {"N", NULL}, {"O", NULL}, {"P", NULL}, {"Q", NULL}, {"R", NULL}, {"S", NULL}, {"T", NULL}, {"U", NULL}, {"V", NULL}, {"W", NULL}, {"X", NULL}, {"Y", NULL}, {NULL}};
  long i, j;
  if ((*tz == '+' || *tz == '-') && strlen(tz) == 5) {
    i = atoi(tz);
    return ((i / 100) * 60 + i % 100) * 60;
  }
  for (i = 0; rfc822_timezones[i] != NULL; ++i)
    for (j = 0; rfc822_timezones[i][j] != NULL; ++j)
      if (strcmp(rfc822_timezones[i][j], tz) == 0)
        return (i - 12) * 3600;
  return 0;
}
```