user: 请将以下的汇编代码转换成C语言代码:

```asm
<parse_timezone>:
  endbr64
  push   %r13
  mov    $0x68,%ecx
  lea    D229(%rip),%rdx
  push   %r12
  movq   %rdx,%xmm0
  lea    D157(%rip),%rdx
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x358,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x348(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r13
  mov    %r13,%rdi
  rep stos %rax,%es:(%rdi)
  lea    D137(%rip),%rax
  lea    D294(%rip),%rcx
  mov    %rax,(%rsp)
  lea    D113(%rip),%rax
  mov    %rax,0x20(%rsp)
  lea    D329(%rip),%rax
  mov    %rax,0x40(%rsp)
  lea    D166(%rip),%rax
  mov    %rax,0x60(%rsp)
  lea    D327(%rip),%rax
  movq   %rax,%xmm1
  lea    D225(%rip),%rax
  movq   %rax,%xmm2
  lea    D87(%rip),%rax
  punpcklqdq %xmm1,%xmm0
  mov    %rax,0xb0(%rsp)
  lea    D130(%rip),%rax
  movq   %rax,%xmm3
  lea    D308(%rip),%rax
  movaps %xmm0,0x80(%rsp)
  movq   %rcx,%xmm0
  mov    %rax,0xd0(%rsp)
  lea    D251(%rip),%rax
  punpcklqdq %xmm2,%xmm0
  lea    D233(%rip),%rcx
  movq   %rax,%xmm4
  lea    D105(%rip),%rax
  movaps %xmm0,0xa0(%rsp)
  movq   %rdx,%xmm0
  mov    %rax,0xf0(%rsp)
  lea    D281(%rip),%rax
  punpcklqdq %xmm3,%xmm0
  lea    D129(%rip),%rdx
  movq   %rax,%xmm5
  lea    D134(%rip),%rax
  movaps %xmm0,0xc0(%rsp)
  movq   %rcx,%xmm0
  mov    %rax,0x120(%rsp)
  lea    D236(%rip),%rax
  punpcklqdq %xmm4,%xmm0
  lea    D253(%rip),%rcx
  mov    %rax,0x140(%rsp)
  lea    D141(%rip),%rax
  mov    %rax,0x160(%rsp)
  lea    D33(%rip),%rax
  movq   %rax,%xmm6
  lea    D14(%rip),%rax
  movaps %xmm0,0xe0(%rsp)
  movq   %rdx,%xmm0
  mov    %rax,0x190(%rsp)
  lea    D145(%rip),%rax
  punpcklqdq %xmm5,%xmm0
  mov    %rax,0x1a0(%rsp)
  lea    D96(%rip),%rax
  mov    %rax,0x1c0(%rsp)
  lea    D292(%rip),%rax
  mov    %rax,0x1e0(%rsp)
  lea    D49(%rip),%rax
  mov    %rax,0x200(%rsp)
  lea    D103(%rip),%rax
  mov    %rax,0x220(%rsp)
  lea    D160(%rip),%rax
  mov    %rax,0x240(%rsp)
  lea    D334(%rip),%rax
  movaps %xmm0,0x100(%rsp)
  movq   %rcx,%xmm0
  mov    %rax,0x260(%rsp)
  punpcklqdq %xmm6,%xmm0
  lea    D271(%rip),%rax
  movaps %xmm0,0x180(%rsp)
  mov    %rax,0x280(%rsp)
  lea    D243(%rip),%rax
  mov    %rax,0x2a0(%rsp)
  lea    D215(%rip),%rax
  mov    %rax,0x2c0(%rsp)
  lea    D219(%rip),%rax
  mov    %rax,0x2e0(%rsp)
  lea    D196(%rip),%rax
  mov    %rax,0x300(%rsp)
  movzbl 0x0(%rbp),%eax
  sub    $0x2b,%eax
  test   $0xfd,%al
  je     L43
L49:
  xor    %r12d,%r12d
L65:
  mov    0x0(%r13),%rdi
  test   %rdi,%rdi
  je     L51
  mov    %r13,%rbx
  jmp    L86
  nopl   (%rax)
L16:
  mov    0x8(%rbx),%rdi
  add    $0x8,%rbx
  test   %rdi,%rdi
  je     L51
L86:
  mov    %rbp,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L16
  lea    -0xc(%r12),%rax
  imul   $0xe10,%rax,%rax
L44:
  mov    0x348(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L36
  add    $0x358,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax,%rax,1)
L51:
  add    $0x1,%r12
  add    $0x20,%r13
  jmp    L65
  nopw   0x0(%rax,%rax,1)
L43:
  mov    %rbp,%rdi
  call   <strlen@plt>
  cmp    $0x5,%eax
  jne    L49
  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    L44
L36:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D229
type: string
name: retrieve_data
arguments: tag: D157
type: string
name: retrieve_data
arguments: tag: D137
type: string
name: retrieve_data
arguments: tag: D294
type: string
name: retrieve_data
arguments: tag: D113
type: string
name: retrieve_data
arguments: tag: D329
type: string
name: retrieve_data
arguments: tag: D166
type: string
name: retrieve_data
arguments: tag: D327
type: string
name: retrieve_data
arguments: tag: D225
type: string
name: retrieve_data
arguments: tag: D87
type: string
name: retrieve_data
arguments: tag: D130
type: string
name: retrieve_data
arguments: tag: D308
type: string
name: retrieve_data
arguments: tag: D251
type: string
name: retrieve_data
arguments: tag: D233
type: string
name: retrieve_data
arguments: tag: D105
type: string
name: retrieve_data
arguments: tag: D281
type: string
name: retrieve_data
arguments: tag: D129
type: string
name: retrieve_data
arguments: tag: D134
type: string
name: retrieve_data
arguments: tag: D236
type: string
name: retrieve_data
arguments: tag: D253
type: string
name: retrieve_data
arguments: tag: D141
type: string
name: retrieve_data
arguments: tag: D33
type: string
name: retrieve_data
arguments: tag: D14
type: string
name: retrieve_data
arguments: tag: D145
type: string
name: retrieve_data
arguments: tag: D96
type: string
name: retrieve_data
arguments: tag: D292
type: string
name: retrieve_data
arguments: tag: D49
type: string
name: retrieve_data
arguments: tag: D103
type: string
name: retrieve_data
arguments: tag: D160
type: string
name: retrieve_data
arguments: tag: D334
type: string
name: retrieve_data
arguments: tag: D271
type: string
name: retrieve_data
arguments: tag: D243
type: string
name: retrieve_data
arguments: tag: D215
type: string
name: retrieve_data
arguments: tag: D219
type: string
name: retrieve_data
arguments: tag: D196
type: string

tool: D229: H

tool: D157: F

tool: D137: M

tool: D294: G

tool: D113: L

tool: D329: K

tool: D166: I

tool: D327: PST

tool: D225: MST

tool: D87: PDT

tool: D130: CST

tool: D308: MDT

tool: D251: EST

tool: D233: E

tool: D105: CDT

tool: D281: EDT

tool: D129: D

tool: D134: C

tool: D236: B

tool: D253: Z

tool: D141: A

tool: D33: UT

tool: D14: GMT

tool: D145: N

tool: D96: O

tool: D292: P

tool: D49: Q

tool: D103: R

tool: D160: S

tool: D334: T

tool: D271: U

tool: D243: V

tool: D215: W

tool: D219: X

tool: D196: Y

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;
}
```