user: 请从给定的汇编指令推导出C源代码:

```asm
<test_lshift>:
  endbr64
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x6(%rsp),%rcx
  movzbl D347(%rip),%eax
  mov    %al,0x6(%rsp)
L269:
  movzbl %al,%eax
  shl    $0x7,%eax
  mov    %eax,%edx
  movzbl (%rcx),%eax
  setne  %sil
  lock cmpxchg %sil,0x2eff(%rip)        # 408f <a.23>
  je     L183
  mov    %al,(%rcx)
  jmp    L269
  cs nopw 0x0(%rax,%rax,1)
L183:
  test   %edx,%edx
  je     1080 <test_lshift.cold>
  movzbl D347(%rip),%eax
  test   %al,%al
  je     1080 <test_lshift.cold>
  movzbl D717(%rip),%eax
L215:
  movsbl %al,%edx
  shl    $0x7,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2ebf(%rip)        # 408e <a.22>
  jne    L215
  cmp    $0x80,%dl
  jne    1080 <test_lshift.cold>
  movzbl D717(%rip),%eax
  cmp    $0x80,%al
  jne    1080 <test_lshift.cold>
  movzbl D646(%rip),%eax
L250:
  movsbl %al,%edx
  shl    $0x7,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2e8c(%rip)        # 408d <a.21>
  jne    L250
  cmp    $0x80,%dl
  jne    1080 <test_lshift.cold>
  movzbl D646(%rip),%eax
  cmp    $0x80,%al
  jne    1080 <test_lshift.cold>
  movzbl D48(%rip),%eax
L212:
  movzbl %al,%edx
  shl    $0x7,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2e59(%rip)        # 408c <a.20>
  jne    L212
  cmp    $0x80,%dl
  jne    1080 <test_lshift.cold>
  movzbl D48(%rip),%eax
  cmp    $0x80,%al
  jne    1080 <test_lshift.cold>
  movzwl D71(%rip),%eax
L56:
  movswl %ax,%edx
  shl    $0x7,%edx
  movzwl %dx,%ecx
  lock cmpxchg %cx,0x2e24(%rip)        # 408a <a.19>
  jne    L56
  cmp    $0x80,%dx
  jne    1080 <test_lshift.cold>
  movzwl D71(%rip),%eax
  cmp    $0x80,%ax
  jne    1080 <test_lshift.cold>
  movzwl D609(%rip),%eax
L68:
  movzwl %ax,%edx
  shl    $0x7,%edx
  movzwl %dx,%ecx
  lock cmpxchg %cx,0x2deb(%rip)        # 4088 <a.18>
  jne    L68
  cmp    $0x80,%dx
  jne    1080 <test_lshift.cold>
  movzwl D609(%rip),%eax
  cmp    $0x80,%ax
  jne    1080 <test_lshift.cold>
  mov    D150(%rip),%eax
L118:
  mov    %eax,%edx
  shl    $0x7,%edx
  lock cmpxchg %edx,0x2db6(%rip)        # 4084 <a.17>
  jne    L118
  cmp    $0x80,%edx
  jne    1080 <test_lshift.cold>
  mov    D150(%rip),%eax
  cmp    $0x80,%eax
  jne    1080 <test_lshift.cold>
  mov    D485(%rip),%eax
L140:
  mov    %eax,%edx
  shl    $0x7,%edx
  lock cmpxchg %edx,0x2d80(%rip)        # 4080 <a.16>
  jne    L140
  cmp    $0x80,%edx
  jne    1080 <test_lshift.cold>
  mov    D485(%rip),%eax
  cmp    $0x80,%eax
  jne    1080 <test_lshift.cold>
  mov    D452(%rip),%rax
L91:
  mov    %rax,%rdx
  shl    $0x7,%rdx
  lock cmpxchg %rdx,0x2d42(%rip)        # 4078 <a.15>
  jne    L91
  cmp    $0x80,%rdx
  jne    1080 <test_lshift.cold>
  mov    D452(%rip),%rax
  cmp    $0x80,%rax
  jne    1080 <test_lshift.cold>
  mov    D425(%rip),%rax
L204:
  mov    %rax,%rdx
  shl    $0x7,%rdx
  lock cmpxchg %rdx,0x2d01(%rip)        # 4070 <a.14>
  jne    L204
  cmp    $0x80,%rdx
  jne    1080 <test_lshift.cold>
  mov    D425(%rip),%rax
  cmp    $0x80,%rax
  jne    1080 <test_lshift.cold>
  mov    D381(%rip),%rax
L14:
  mov    %rax,%rdx
  shl    $0x7,%rdx
  lock cmpxchg %rdx,0x2cc0(%rip)        # 4068 <a.13>
  jne    L14
  cmp    $0x80,%rdx
  jne    1080 <test_lshift.cold>
  mov    D381(%rip),%rax
  cmp    $0x80,%rax
  jne    1080 <test_lshift.cold>
  mov    D114(%rip),%rax
L100:
  mov    %rax,%rdx
  shl    $0x7,%rdx
  lock cmpxchg %rdx,0x2c7f(%rip)        # 4060 <a.12>
  jne    L100
  cmp    $0x80,%rdx
  jne    1080 <test_lshift.cold>
  mov    D114(%rip),%rax
  cmp    $0x80,%rax
  jne    1080 <test_lshift.cold>
  lea    0x7(%rsp),%rcx
  movzbl D642(%rip),%eax
  mov    %al,0x7(%rsp)
L268:
  movzbl %al,%eax
  shl    $0x3,%eax
  mov    %eax,%edx
  movzbl (%rcx),%eax
  setne  %sil
  lock cmpxchg %sil,0x2c34(%rip)        # 405f <a.11>
  je     L12
  mov    %al,(%rcx)
  jmp    L268
  nopl   0x0(%rax)
L12:
  test   %edx,%edx
  je     1080 <test_lshift.cold>
  movzbl D642(%rip),%eax
  test   %al,%al
  je     1080 <test_lshift.cold>
  movzbl D53(%rip),%eax
L184:
  movsbl %al,%edx
  shl    $0x3,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2bf7(%rip)        # 405e <a.10>
  jne    L184
  cmp    $0x78,%dl
  jne    1080 <test_lshift.cold>
  movzbl D53(%rip),%eax
  cmp    $0x78,%al
  jne    1080 <test_lshift.cold>
  movzbl D34(%rip),%eax
L62:
  movsbl %al,%edx
  shl    $0x3,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2bc4(%rip)        # 405d <a.9>
  jne    L62
  cmp    $0x78,%dl
  jne    1080 <test_lshift.cold>
  movzbl D34(%rip),%eax
  cmp    $0x78,%al
  jne    1080 <test_lshift.cold>
  movzbl D672(%rip),%eax
L82:
  movzbl %al,%edx
  shl    $0x3,%edx
  movzbl %dl,%ecx
  lock cmpxchg %cl,0x2b91(%rip)        # 405c <a.8>
  jne    L82
  cmp    $0x78,%dl
  jne    1080 <test_lshift.cold>
  movzbl D672(%rip),%eax
  cmp    $0x78,%al
  jne    1080 <test_lshift.cold>
  movzwl D606(%rip),%eax
L94:
  movswl %ax,%edx
  shl    $0x3,%edx
  movzwl %dx,%ecx
  lock cmpxchg %cx,0x2b5c(%rip)        # 405a <a.7>
  jne    L94
  cmp    $0x78,%dx
  jne    1080 <test_lshift.cold>
  movzwl D606(%rip),%eax
  cmp    $0x78,%ax
  jne    1080 <test_lshift.cold>
  movzwl D364(%rip),%eax
L173:
  movzwl %ax,%edx
  shl    $0x3,%edx
  movzwl %dx,%ecx
  lock cmpxchg %cx,0x2b24(%rip)        # 4058 <a.6>
  jne    L173
  cmp    $0x78,%dx
  jne    1080 <test_lshift.cold>
  movzwl D364(%rip),%eax
  cmp    $0x78,%ax
  jne    1080 <test_lshift.cold>
  mov    D217(%rip),%eax
L187:
  lea    0x0(,%rax,8),%edx
  lock cmpxchg %edx,0x2aee(%rip)        # 4054 <a.5>
  jne    L187
  cmp    $0x78,%edx
  jne    1080 <test_lshift.cold>
  mov    D217(%rip),%eax
  cmp    $0x78,%eax
  jne    1080 <test_lshift.cold>
  mov    D88(%rip),%eax
L134:
  lea    0x0(,%rax,8),%edx
  lock cmpxchg %edx,0x2abb(%rip)        # 4050 <a.4>
  jne    L134
  cmp    $0x78,%edx
  jne    1080 <test_lshift.cold>
  mov    D88(%rip),%eax
  cmp    $0x78,%eax
  jne    1080 <test_lshift.cold>
  mov    D465(%rip),%rax
L96:
  lea    0x0(,%rax,8),%rdx
  lock cmpxchg %rdx,0x2a81(%rip)        # 4048 <a.3>
  jne    L96
  cmp    $0x78,%rdx
  jne    1080 <test_lshift.cold>
  mov    D465(%rip),%rax
  cmp    $0x78,%rax
  jne    1080 <test_lshift.cold>
  mov    D229(%rip),%rax
L98:
  lea    0x0(,%rax,8),%rdx
  lock cmpxchg %rdx,0x2a44(%rip)        # 4040 <a.2>
  jne    L98
  cmp    $0x78,%rdx
  jne    1080 <test_lshift.cold>
  mov    D229(%rip),%rax
  cmp    $0x78,%rax
  jne    1080 <test_lshift.cold>
  mov    D400(%rip),%rax
L28:
  lea    0x0(,%rax,8),%rdx
  lock cmpxchg %rdx,0x2a07(%rip)        # 4038 <a.1>
  jne    L28
  cmp    $0x78,%rdx
  jne    1080 <test_lshift.cold>
  mov    D400(%rip),%rax
  cmp    $0x78,%rax
  jne    1080 <test_lshift.cold>
  mov    D100(%rip),%rax
L109:
  lea    0x0(,%rax,8),%rdx
  lock cmpxchg %rdx,0x29ca(%rip)        # 4030 <a.0>
  jne    L109
  cmp    $0x78,%rdx
  jne    1080 <test_lshift.cold>
  mov    D100(%rip),%rax
  cmp    $0x78,%rax
  jne    1080 <test_lshift.cold>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L85
  add    $0x18,%rsp
  ret
L85:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void test_lshift(void) {
  do {
    do {
      static volatile _Atomic(_Bool) a = (_Bool)((1));
      if ((a <<= ((7))) != (_Bool)((_Bool)((1)) << ((7))))
        abort();
      if (a != (_Bool)((_Bool)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(char) a = (char)((1));
      if ((a <<= ((7))) != (char)((char)((1)) << ((7))))
        abort();
      if (a != (char)((char)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed char) a = (signed char)((1));
      if ((a <<= ((7))) != (signed char)((signed char)((1)) << ((7))))
        abort();
      if (a != (signed char)((signed char)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned char) a = (unsigned char)((1));
      if ((a <<= ((7))) != (unsigned char)((unsigned char)((1)) << ((7))))
        abort();
      if (a != (unsigned char)((unsigned char)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed short) a = (signed short)((1));
      if ((a <<= ((7))) != (signed short)((signed short)((1)) << ((7))))
        abort();
      if (a != (signed short)((signed short)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned short) a = (unsigned short)((1));
      if ((a <<= ((7))) != (unsigned short)((unsigned short)((1)) << ((7))))
        abort();
      if (a != (unsigned short)((unsigned short)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed int) a = (signed int)((1));
      if ((a <<= ((7))) != (signed int)((signed int)((1)) << ((7))))
        abort();
      if (a != (signed int)((signed int)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned int) a = (unsigned int)((1));
      if ((a <<= ((7))) != (unsigned int)((unsigned int)((1)) << ((7))))
        abort();
      if (a != (unsigned int)((unsigned int)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed long) a = (signed long)((1));
      if ((a <<= ((7))) != (signed long)((signed long)((1)) << ((7))))
        abort();
      if (a != (signed long)((signed long)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned long) a = (unsigned long)((1));
      if ((a <<= ((7))) != (unsigned long)((unsigned long)((1)) << ((7))))
        abort();
      if (a != (unsigned long)((unsigned long)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed long long) a = (signed long long)((1));
      if ((a <<= ((7))) != (signed long long)((signed long long)((1)) << ((7))))
        abort();
      if (a != (signed long long)((signed long long)((1)) << ((7))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned long long) a = (unsigned long long)((1));
      if ((a <<= ((7))) != (unsigned long long)((unsigned long long)((1)) << ((7))))
        abort();
      if (a != (unsigned long long)((unsigned long long)((1)) << ((7))))
        abort();
    } while (0);
  } while (0);
  do {
    do {
      static volatile _Atomic(_Bool) a = (_Bool)((15));
      if ((a <<= ((3))) != (_Bool)((_Bool)((15)) << ((3))))
        abort();
      if (a != (_Bool)((_Bool)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(char) a = (char)((15));
      if ((a <<= ((3))) != (char)((char)((15)) << ((3))))
        abort();
      if (a != (char)((char)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed char) a = (signed char)((15));
      if ((a <<= ((3))) != (signed char)((signed char)((15)) << ((3))))
        abort();
      if (a != (signed char)((signed char)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned char) a = (unsigned char)((15));
      if ((a <<= ((3))) != (unsigned char)((unsigned char)((15)) << ((3))))
        abort();
      if (a != (unsigned char)((unsigned char)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed short) a = (signed short)((15));
      if ((a <<= ((3))) != (signed short)((signed short)((15)) << ((3))))
        abort();
      if (a != (signed short)((signed short)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned short) a = (unsigned short)((15));
      if ((a <<= ((3))) != (unsigned short)((unsigned short)((15)) << ((3))))
        abort();
      if (a != (unsigned short)((unsigned short)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed int) a = (signed int)((15));
      if ((a <<= ((3))) != (signed int)((signed int)((15)) << ((3))))
        abort();
      if (a != (signed int)((signed int)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned int) a = (unsigned int)((15));
      if ((a <<= ((3))) != (unsigned int)((unsigned int)((15)) << ((3))))
        abort();
      if (a != (unsigned int)((unsigned int)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed long) a = (signed long)((15));
      if ((a <<= ((3))) != (signed long)((signed long)((15)) << ((3))))
        abort();
      if (a != (signed long)((signed long)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned long) a = (unsigned long)((15));
      if ((a <<= ((3))) != (unsigned long)((unsigned long)((15)) << ((3))))
        abort();
      if (a != (unsigned long)((unsigned long)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(signed long long) a = (signed long long)((15));
      if ((a <<= ((3))) != (signed long long)((signed long long)((15)) << ((3))))
        abort();
      if (a != (signed long long)((signed long long)((15)) << ((3))))
        abort();
    } while (0);
    do {
      static volatile _Atomic(unsigned long long) a = (unsigned long long)((15));
      if ((a <<= ((3))) != (unsigned long long)((unsigned long long)((15)) << ((3))))
        abort();
      if (a != (unsigned long long)((unsigned long long)((15)) << ((3))))
        abort();
    } while (0);
  } while (0);
}
```