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

```asm
<ssl3_accept>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,0x8(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,0x38(%rsp)
  mov    %eax,%r14d
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,%rbx
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x30(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x18(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x40(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x34(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,%rbp
  mov    %eax,%r12d
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x1c(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,%r13
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,0x10(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_long@plt>
  mov    %rax,0x20(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x28(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x2c(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %ebx,%ebx
  mov    0x8(%rsp),%edx
  je     L282
  cmp    $0x3004,%edx
  je     L282
  movslq %r13d,%rax
  cmp    $0xfffffffc,%r13d
  mov    $0x200,%ecx
  mov    %rax,0x8(%rsp)
  mov    $0x400,%eax
  lea    D4(%rip),%r13
  cmovne %ecx,%eax
  xor    %ebx,%ebx
  mov    %eax,0x44(%rsp)
  mov    0x10(%rsp),%eax
  shl    $0x3,%eax
  mov    %eax,0x10(%rsp)
L358:
  cmp    $0x21e1,%edx
  jg     L451
  cmp    $0x210f,%edx
  jle    L631
L626:
  sub    $0x2110,%edx
  cmp    $0xd1,%edx
  ja     L282
  movslq 0x0(%r13,%rdx,4),%rax
  add    %r13,%rax
  notrack jmp *%rax
  nopl   (%rax)
L631:
  cmp    $0x2003,%edx
  je     L282
  cmp    $0x2100,%edx
  je     L1163
  cmp    $0x2000,%edx
  jne    L356
L282:
  mov    $0xffffffff,%eax
L856:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L451:
  and    $0xdf,%dh
  mov    $0xffffffff,%eax
  cmp    $0x4000,%edx
  jne    L282
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L625:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
L95:
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  je     L186
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  cmp    $0x2,%eax
  jne    L877
  test   %r12d,%r12d
  jne    L361
  test   %r14d,%r14d
  jne    L574
L361:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %ebx,%ebx
  jne    L1130
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  jne    L1081
  mov    $0x1,%ebx
  test   %r14d,%r14d
  je     L1081
L14:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
L412:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  cmp    $0x1,%ebx
  je     L940
L898:
  test   %edx,%edx
  jle    L737
  test   %r15d,%r15d
  jne    L791
  test   %r12d,%r12d
  jne    L27
  test   %r14d,%r14d
  jne    L784
L27:
  movslq 0x1c(%rsp),%rcx
  cmp    $0xffffff00,%ecx
  je     L1148
L1268:
  mov    0x34(%rsp),%esi
  test   %esi,%esi
  sete   %al
  cmpl   $0xffe00000,0x30(%rsp)
  setne  %dl
  or     %dl,%al
  jne    L160
  cmp    $0xffffffffffffffe2,%rcx
  jne    L160
  cmpq   $0xfffffffffffffffe,0x8(%rsp)
  je     L1061
  mov    0x10(%rsp),%esi
  cmp    %esi,0x44(%rsp)
  jge    L1061
  nopl   (%rax)
L160:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  cmp    $0x6,%ebx
  mov    $0x7,%ecx
  cmove  %ecx,%ebx
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  jne    L1061
  test   %r14d,%r14d
  je     L1061
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  nopw   0x0(%rax,%rax,1)
L1061:
  mov    0x18(%rsp),%eax
  cmp    $0xffffffff,%eax
  je     L625
  cmp    $0xfffffffc,%eax
  je     L1275
  mov    0x40(%rsp),%ecx
  test   %ecx,%ecx
  jne    L625
L1275:
  cmpl   $0xfffffffe,0x18(%rsp)
  jne    L1223
  cmpl   $0xffffff00,0x1c(%rsp)
  jne    L625
L1223:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  cmp    $0x8,%ebx
  jne    L95
L1339:
  xor    %eax,%eax
  call   <__VERIFIER_error@plt>
  jmp    L282
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  jne    L1110
  test   %r14d,%r14d
  jne    L858
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  mov    $0x2122,%edx
  jmp    L626
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  jne    L1114
L500:
  test   %r14d,%r14d
  je     L1114
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
L1300:
  test   %r14d,%r14d
  je     L331
  nopw   0x0(%rax,%rax,1)
L1114:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
L331:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  cmp    $0x5,%ebx
  je     L1339
  test   %eax,%eax
  jle    L737
  test   %r15d,%r15d
  je     L791
  test   %ebp,%ebp
  jne    L265
  cmpl   $0x0,0x38(%rsp)
  je     L265
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jle    L856
  nopw   0x0(%rax,%rax,1)
L265:
  mov    $0x1,%eax
  jmp    L856
  nopw   0x0(%rax,%rax,1)
L791:
  test   %r12d,%r12d
  je     L1014
L349:
  mov    0x28(%rsp),%edx
  test   %edx,%edx
  je     L282
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  cmp    $0x2,%ebx
  je     L863
  cmp    $0x4,%ebx
  je     L258
  cmp    $0x7,%ebx
  mov    $0x8,%ecx
  cmove  %ecx,%ebx
L516:
  test   %eax,%eax
  jle    L737
  mov    0x2c(%rsp),%eax
  test   %eax,%eax
  je     L282
  test   %r12d,%r12d
  jne    L1258
  test   %r14d,%r14d
  jne    L359
L1258:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  cmp    $0x3,%ebx
  mov    $0x4,%ecx
  cmove  %ecx,%ebx
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  test   %r15d,%r15d
  je     L861
  test   %r12d,%r12d
  jne    L664
  test   %r14d,%r14d
  jne    L1315
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  mov    $0x21c0,%edx
  jmp    L626
  nopw   0x0(%rax,%rax,1)
L1130:
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  jne    L412
  test   %r14d,%r14d
  je     L412
  jmp    L14
  nopl   0x0(%rax,%rax,1)
L877:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  xor    %eax,%eax
  test   %r12d,%r12d
  jne    L1087
  test   %r14d,%r14d
  jne    L796
  nopl   (%rax)
L1087:
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L1114
  nop
L737:
  mov    %edx,%eax
  jmp    L856
  nopw   0x0(%rax,%rax,1)
L1110:
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  mov    $0x2122,%edx
L930:
  mov    %edx,0x48(%rsp)
  jmp    L358
  nopw   0x0(%rax,%rax,1)
L861:
  test   %r12d,%r12d
  je     L780
L810:
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  jmp    L265
  nopw   0x0(%rax,%rax,1)
L1014:
  test   %r14d,%r14d
  je     L349
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L349
  mov    %edx,%eax
  jmp    L856
  nopl   0x0(%rax)
L1081:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
L940:
  mov    $0x2,%ebx
  jmp    L898
  nopl   0x0(%rax,%rax,1)
L258:
  mov    $0x5,%ebx
  jmp    L516
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  test   %r12d,%r12d
  je     L1300
  jmp    L331
  nopl   0x0(%rax)
L186:
  test   %r14d,%r14d
  jne    L1068
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  mov    $0x2180,%edx
  jmp    L626
  nop
L863:
  mov    $0x3,%ebx
  jmp    L516
  nopw   0x0(%rax,%rax,1)
L1148:
  xor    %eax,%eax
  mov    %rcx,0x48(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  cmp    $0x2,%ebx
  mov    $0x6,%esi
  mov    0x48(%rsp),%rcx
  cmove  %esi,%ebx
  test   %eax,%eax
  mov    %eax,%edx
  jle    L737
  test   %r12d,%r12d
  jne    L160
  test   %r14d,%r14d
  je     L160
  xor    %eax,%eax
  mov    %rcx,0x48(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  mov    0x48(%rsp),%rcx
  test   %eax,%eax
  mov    %eax,%edx
  jg     L1268
  mov    %edx,%eax
  jmp    L856
  nopw   0x0(%rax,%rax,1)
L780:
  test   %r14d,%r14d
  je     L810
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jle    L856
  movl   $0x3,0x48(%rsp)
  jmp    L464
  nopw   0x0(%rax,%rax,1)
L664:
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  jmp    L331
L1068:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jle    L856
  movl   $0x2180,0x48(%rsp)
L464:
  cmpq   $0x0,0x20(%rsp)
  jle    L282
L591:
  mov    0x48(%rsp),%edx
  test   %r14d,%r14d
  je     L930
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    0x48(%rsp),%edx
  test   %eax,%eax
  jg     L930
  jmp    L856
  nopl   0x0(%rax)
L359:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L1258
  mov    %edx,%eax
  jmp    L856
L784:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L27
  mov    %edx,%eax
  jmp    L856
  nopl   0x0(%rax,%rax,1)
  movslq 0x1c(%rsp),%rcx
  jmp    L1268
L574:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L361
  mov    %edx,%eax
  jmp    L856
L356:
  cmp    $0x3,%edx
  je     L265
  jmp    L282
L858:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jle    L856
  movl   $0x2122,0x48(%rsp)
  jmp    L464
L1315:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jle    L856
  movl   $0x21c0,0x48(%rsp)
  jmp    L464
L796:
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jle    L737
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%edx
  test   %eax,%eax
  jg     L500
  mov    %edx,%eax
  jmp    L856
L1163:
  cmpq   $0x0,0x20(%rsp)
  jle    L282
  test   %r12d,%r12d
  je     L591
  mov    0x48(%rsp),%edx
  jmp    L930
```

assistant: ```c
int ssl3_accept(int initial_state) {
  int s__info_callback = __VERIFIER_nondet_int();
  int s__in_handshake = __VERIFIER_nondet_int();
  int s__state;
  int s__new_session;
  int s__server;
  int s__version = __VERIFIER_nondet_int();
  int s__type;
  int s__init_num;
  int s__hit = __VERIFIER_nondet_int();
  int s__rwstate;
  int s__init_buf___0;
  int s__debug = __VERIFIER_nondet_int();
  int s__shutdown;
  int s__cert = __VERIFIER_nondet_int();
  int s__options = __VERIFIER_nondet_int();
  int s__verify_mode = __VERIFIER_nondet_int();
  int s__session__peer = __VERIFIER_nondet_int();
  int s__cert__pkeys__AT0__privatekey = __VERIFIER_nondet_int();
  int s__ctx__info_callback = __VERIFIER_nondet_int();
  int s__ctx__stats__sess_accept_renegotiate = __VERIFIER_nondet_int();
  int s__ctx__stats__sess_accept = __VERIFIER_nondet_int();
  int s__ctx__stats__sess_accept_good = __VERIFIER_nondet_int();
  int s__s3__tmp__cert_request;
  int s__s3__tmp__reuse_message = __VERIFIER_nondet_int();
  int s__s3__tmp__use_rsa_tmp;
  int s__s3__tmp__new_cipher = __VERIFIER_nondet_int();
  int s__s3__tmp__new_cipher__algorithms = __VERIFIER_nondet_int();
  int s__s3__tmp__next_state___0;
  int s__s3__tmp__new_cipher__algo_strength = __VERIFIER_nondet_int();
  int s__session__cipher;
  int buf;
  unsigned long l;
  unsigned long Time;
  unsigned long tmp;
  int cb;
  long num1;
  int ret;
  int new_state;
  int state;
  int skip;
  int got_new_session;
  int tmp___1 = __VERIFIER_nondet_int();
  int tmp___2 = __VERIFIER_nondet_int();
  int tmp___3 = __VERIFIER_nondet_int();
  int tmp___4 = __VERIFIER_nondet_int();
  int tmp___5 = __VERIFIER_nondet_int();
  int tmp___6 = __VERIFIER_nondet_int();
  int tmp___7;
  long tmp___8 = __VERIFIER_nondet_long();
  int tmp___9 = __VERIFIER_nondet_int();
  int tmp___10 = __VERIFIER_nondet_int();
  int blastFlag;
  int __cil_tmp55;
  unsigned long __cil_tmp56;
  unsigned long __cil_tmp57;
  unsigned long __cil_tmp58;
  unsigned long __cil_tmp59;
  int __cil_tmp60;
  unsigned long __cil_tmp61;
  {
    ;
    s__state = initial_state;
    blastFlag = 0;
    tmp = __VERIFIER_nondet_int();
    Time = tmp;
    cb = 0;
    ret = -1;
    skip = 0;
    got_new_session = 0;
    if (s__info_callback != 0) {
      cb = s__info_callback;
    } else {
      if (s__ctx__info_callback != 0) {
        cb = s__ctx__info_callback;
      }
    }
    s__in_handshake++;
    if (tmp___1 + 12288) {
      if (tmp___2 + 16384) {
      }
    }
    if (s__cert == 0) {
      return (-1);
    }
    {
      while (1) {
      while_0_continue:;
        state = s__state;
        if (s__state == 12292) {
          goto switch_1_12292;
        } else {
          if (s__state == 16384) {
            goto switch_1_16384;
          } else {
            if (s__state == 8192) {
              goto switch_1_8192;
            } else {
              if (s__state == 24576) {
                goto switch_1_24576;
              } else {
                if (s__state == 8195) {
                  goto switch_1_8195;
                } else {
                  if (s__state == 8480) {
                    goto switch_1_8480;
                  } else {
                    if (s__state == 8481) {
                      goto switch_1_8481;
                    } else {
                      if (s__state == 8482) {
                        goto switch_1_8482;
                      } else {
                        if (s__state == 8464) {
                          goto switch_1_8464;
                        } else {
                          if (s__state == 8465) {
                            goto switch_1_8465;
                          } else {
                            if (s__state == 8466) {
                              goto switch_1_8466;
                            } else {
                              if (s__state == 8496) {
                                goto switch_1_8496;
                              } else {
                                if (s__state == 8497) {
                                  goto switch_1_8497;
                                } else {
                                  if (s__state == 8512) {
                                    goto switch_1_8512;
                                  } else {
                                    if (s__state == 8513) {
                                      goto switch_1_8513;
                                    } else {
                                      if (s__state == 8528) {
                                        goto switch_1_8528;
                                      } else {
                                        if (s__state == 8529) {
                                          goto switch_1_8529;
                                        } else {
                                          if (s__state == 8544) {
                                            goto switch_1_8544;
                                          } else {
                                            if (s__state == 8545) {
                                              goto switch_1_8545;
                                            } else {
                                              if (s__state == 8560) {
                                                goto switch_1_8560;
                                              } else {
                                                if (s__state == 8561) {
                                                  goto switch_1_8561;
                                                } else {
                                                  if (s__state == 8448) {
                                                    goto switch_1_8448;
                                                  } else {
                                                    if (s__state == 8576) {
                                                      goto switch_1_8576;
                                                    } else {
                                                      if (s__state == 8577) {
                                                        goto switch_1_8577;
                                                      } else {
                                                        if (s__state == 8592) {
                                                          goto switch_1_8592;
                                                        } else {
                                                          if (s__state == 8593) {
                                                            goto switch_1_8593;
                                                          } else {
                                                            if (s__state == 8608) {
                                                              goto switch_1_8608;
                                                            } else {
                                                              if (s__state == 8609) {
                                                                goto switch_1_8609;
                                                              } else {
                                                                if (s__state == 8640) {
                                                                  goto switch_1_8640;
                                                                } else {
                                                                  if (s__state == 8641) {
                                                                    goto switch_1_8641;
                                                                  } else {
                                                                    if (s__state == 8656) {
                                                                      goto switch_1_8656;
                                                                    } else {
                                                                      if (s__state == 8657) {
                                                                        goto switch_1_8657;
                                                                      } else {
                                                                        if (s__state == 8672) {
                                                                          goto switch_1_8672;
                                                                        } else {
                                                                          if (s__state == 8673) {
                                                                            goto switch_1_8673;
                                                                          } else {
                                                                            if (s__state == 3) {
                                                                              goto switch_1_3;
                                                                            } else {
                                                                              goto switch_1_default;
                                                                              if (0) {
                                                                              switch_1_12292:
                                                                                s__new_session = 1;
                                                                              switch_1_16384:;
                                                                              switch_1_8192:;
                                                                              switch_1_24576:;
                                                                              switch_1_8195:
                                                                                s__server = 1;
                                                                                if (cb != 0) {
                                                                                }
                                                                                {
                                                                                  __cil_tmp55 = s__version * 8;
                                                                                  if (__cil_tmp55 != 3) {
                                                                                    return (-1);
                                                                                  }
                                                                                }
                                                                                s__type = 8192;
                                                                                if (s__init_buf___0 == 0) {
                                                                                  buf = __VERIFIER_nondet_int();
                                                                                  if (buf == 0) {
                                                                                    ret = -1;
                                                                                    goto end;
                                                                                  }
                                                                                  if (!tmp___3) {
                                                                                    ret = -1;
                                                                                    goto end;
                                                                                  }
                                                                                  s__init_buf___0 = buf;
                                                                                }
                                                                                if (!tmp___4) {
                                                                                  ret = -1;
                                                                                  goto end;
                                                                                }
                                                                                s__init_num = 0;
                                                                                if (s__state != 12292) {
                                                                                  if (!tmp___5) {
                                                                                    ret = -1;
                                                                                    goto end;
                                                                                  }
                                                                                  s__state = 8464;
                                                                                  s__ctx__stats__sess_accept++;
                                                                                } else {
                                                                                  s__ctx__stats__sess_accept_renegotiate++;
                                                                                  s__state = 8480;
                                                                                }
                                                                                goto switch_1_break;
                                                                              switch_1_8480:;
                                                                              switch_1_8481:
                                                                                s__shutdown = 0;
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__s3__tmp__next_state___0 = 8482;
                                                                                s__state = 8448;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8482:
                                                                                s__state = 3;
                                                                                goto switch_1_break;
                                                                              switch_1_8464:;
                                                                              switch_1_8465:;
                                                                              switch_1_8466:
                                                                                s__shutdown = 0;
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (blastFlag == 0) {
                                                                                  blastFlag = 1;
                                                                                }
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                got_new_session = 1;
                                                                                s__state = 8496;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8496:;
                                                                              switch_1_8497:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (blastFlag == 1) {
                                                                                  blastFlag = 2;
                                                                                }
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                if (s__hit) {
                                                                                  s__state = 8656;
                                                                                } else {
                                                                                  s__state = 8512;
                                                                                }
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8512:;
                                                                              switch_1_8513:;
                                                                                {
                                                                                  __cil_tmp56 = (unsigned long)s__s3__tmp__new_cipher__algorithms;
                                                                                  if (__cil_tmp56 + 256UL) {
                                                                                    skip = 1;
                                                                                  } else {
                                                                                    ret = __VERIFIER_nondet_int();
                                                                                    if (blastFlag == 2) {
                                                                                      blastFlag = 6;
                                                                                    }
                                                                                    if (ret <= 0) {
                                                                                      goto end;
                                                                                    }
                                                                                  }
                                                                                }
                                                                                s__state = 8528;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8528:;
                                                                              switch_1_8529:
                                                                                l = (unsigned long)s__s3__tmp__new_cipher__algorithms;
                                                                                {
                                                                                  __cil_tmp57 = (unsigned long)s__options;
                                                                                  if (__cil_tmp57 + 2097152UL) {
                                                                                    s__s3__tmp__use_rsa_tmp = 1;
                                                                                  } else {
                                                                                    s__s3__tmp__use_rsa_tmp = 0;
                                                                                  }
                                                                                }
                                                                                if (s__s3__tmp__use_rsa_tmp) {
                                                                                  goto _L___0;
                                                                                } else {
                                                                                  if (l + 30UL) {
                                                                                    goto _L___0;
                                                                                  } else {
                                                                                    if (l + 1UL) {
                                                                                      if (s__cert__pkeys__AT0__privatekey == 0) {
                                                                                        goto _L___0;
                                                                                      } else {
                                                                                        {
                                                                                          __cil_tmp58 = (unsigned long)s__s3__tmp__new_cipher__algo_strength;
                                                                                          if (__cil_tmp58 + 2UL) {
                                                                                            {
                                                                                              __cil_tmp59 = (unsigned long)s__s3__tmp__new_cipher__algo_strength;
                                                                                              if (__cil_tmp59 + 4UL) {
                                                                                                tmp___7 = 512;
                                                                                              } else {
                                                                                                tmp___7 = 1024;
                                                                                              }
                                                                                            }
                                                                                            {
                                                                                              __cil_tmp60 = tmp___6 * 8;
                                                                                              if (__cil_tmp60 > tmp___7) {
                                                                                              _L___0:
                                                                                                ret = __VERIFIER_nondet_int();
                                                                                                if (blastFlag == 6) {
                                                                                                  blastFlag = 7;
                                                                                                }
                                                                                                if (ret <= 0) {
                                                                                                  goto end;
                                                                                                }
                                                                                              } else {
                                                                                                skip = 1;
                                                                                              }
                                                                                            }
                                                                                          } else {
                                                                                            skip = 1;
                                                                                          }
                                                                                        }
                                                                                      }
                                                                                    } else {
                                                                                      skip = 1;
                                                                                    }
                                                                                  }
                                                                                }
                                                                                s__state = 8544;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8544:;
                                                                              switch_1_8545:;
                                                                                if (s__verify_mode + 1) {
                                                                                  if (s__session__peer != 0) {
                                                                                    if (s__verify_mode + 4) {
                                                                                      skip = 1;
                                                                                      s__s3__tmp__cert_request = 0;
                                                                                      s__state = 8560;
                                                                                    } else {
                                                                                      goto _L___2;
                                                                                    }
                                                                                  } else {
                                                                                  _L___2 : {
                                                                                    __cil_tmp61 = (unsigned long)s__s3__tmp__new_cipher__algorithms;
                                                                                    if (__cil_tmp61 + 256UL) {
                                                                                      if (s__verify_mode + 2) {
                                                                                        goto _L___1;
                                                                                      } else {
                                                                                        skip = 1;
                                                                                        s__s3__tmp__cert_request = 0;
                                                                                        s__state = 8560;
                                                                                      }
                                                                                    } else {
                                                                                    _L___1:
                                                                                      s__s3__tmp__cert_request = 1;
                                                                                      ret = __VERIFIER_nondet_int();
                                                                                      if (blastFlag == 8) {
                                                                                        goto ERROR;
                                                                                      }
                                                                                      if (ret <= 0) {
                                                                                        goto end;
                                                                                      }
                                                                                      s__state = 8448;
                                                                                      s__s3__tmp__next_state___0 = 8576;
                                                                                      s__init_num = 0;
                                                                                    }
                                                                                  }
                                                                                  }
                                                                                } else {
                                                                                  skip = 1;
                                                                                  s__s3__tmp__cert_request = 0;
                                                                                  s__state = 8560;
                                                                                }
                                                                                goto switch_1_break;
                                                                              switch_1_8560:;
                                                                              switch_1_8561:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__s3__tmp__next_state___0 = 8576;
                                                                                s__state = 8448;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8448:
                                                                                if (num1 > 0L) {
                                                                                  s__rwstate = 2;
                                                                                  num1 = tmp___8;
                                                                                  if (num1 <= 0L) {
                                                                                    ret = -1;
                                                                                    goto end;
                                                                                  }
                                                                                  s__rwstate = 1;
                                                                                }
                                                                                s__state = s__s3__tmp__next_state___0;
                                                                                goto switch_1_break;
                                                                              switch_1_8576:;
                                                                              switch_1_8577:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                if (ret == 2) {
                                                                                  s__state = 8466;
                                                                                } else {
                                                                                  ret = __VERIFIER_nondet_int();
                                                                                  if (ret <= 0) {
                                                                                    goto end;
                                                                                  }
                                                                                  s__init_num = 0;
                                                                                  s__state = 8592;
                                                                                }
                                                                                goto switch_1_break;
                                                                              switch_1_8592:;
                                                                              switch_1_8593:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__state = 8608;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8608:;
                                                                              switch_1_8609:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__state = 8640;
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8640:;
                                                                              switch_1_8641:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (blastFlag == 5) {
                                                                                  goto ERROR;
                                                                                }
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                if (s__hit) {
                                                                                  s__state = 3;
                                                                                } else {
                                                                                  s__state = 8656;
                                                                                }
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_8656:;
                                                                              switch_1_8657:
                                                                                s__session__cipher = s__s3__tmp__new_cipher;
                                                                                if (!tmp___9) {
                                                                                  ret = -1;
                                                                                  goto end;
                                                                                }
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (blastFlag == 2) {
                                                                                  blastFlag = 3;
                                                                                } else {
                                                                                  if (blastFlag == 4) {
                                                                                    blastFlag = 5;
                                                                                  } else {
                                                                                    if (blastFlag == 7) {
                                                                                      blastFlag = 8;
                                                                                    }
                                                                                  }
                                                                                }
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__state = 8672;
                                                                                s__init_num = 0;
                                                                                if (!tmp___10) {
                                                                                  ret = -1;
                                                                                  goto end;
                                                                                }
                                                                                goto switch_1_break;
                                                                              switch_1_8672:;
                                                                              switch_1_8673:
                                                                                ret = __VERIFIER_nondet_int();
                                                                                if (blastFlag == 3) {
                                                                                  blastFlag = 4;
                                                                                }
                                                                                if (ret <= 0) {
                                                                                  goto end;
                                                                                }
                                                                                s__state = 8448;
                                                                                if (s__hit) {
                                                                                  s__s3__tmp__next_state___0 = 8640;
                                                                                } else {
                                                                                  s__s3__tmp__next_state___0 = 3;
                                                                                }
                                                                                s__init_num = 0;
                                                                                goto switch_1_break;
                                                                              switch_1_3:
                                                                                s__init_buf___0 = 0;
                                                                                s__init_num = 0;
                                                                                if (got_new_session) {
                                                                                  s__new_session = 0;
                                                                                  s__ctx__stats__sess_accept_good++;
                                                                                  if (cb != 0) {
                                                                                  }
                                                                                }
                                                                                ret = 1;
                                                                                goto end;
                                                                              switch_1_default:
                                                                                ret = -1;
                                                                                goto end;
                                                                              } else {
                                                                              switch_1_break:;
                                                                              }
                                                                            }
                                                                          }
                                                                        }
                                                                      }
                                                                    }
                                                                  }
                                                                }
                                                              }
                                                            }
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        if (!s__s3__tmp__reuse_message) {
          if (!skip) {
            if (s__debug) {
              ret = __VERIFIER_nondet_int();
              if (ret <= 0) {
                goto end;
              }
            }
            if (cb != 0) {
              if (s__state != state) {
                new_state = s__state;
                s__state = state;
                s__state = new_state;
              }
            }
          }
        }
        skip = 0;
      }
    while_0_break:;
    }
  end:
    s__in_handshake--;
    if (cb != 0) {
    }
    return (ret);
  ERROR:
    __VERIFIER_error();
    return (-1);
  }
}
```