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

```asm
<ssl3_accept>:
  endbr64
  push   %r15
  xor    %eax,%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edi,(%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,0x14(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,%rbp
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,%r13
  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,%rbx
  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,%r14
  xor    %eax,%eax
  call   <__VERIFIER_nondet_long@plt>
  mov    %rax,0x28(%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>
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_long@plt>
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x20(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,0x24(%rsp)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %r13d,%r13d
  mov    (%rsp),%edx
  je     L734
  cmp    $0x3004,%edx
  je     L734
  movslq %r14d,%rax
  cmp    $0xfffffffc,%r14d
  mov    $0x200,%ecx
  mov    %rax,(%rsp)
  mov    $0x400,%eax
  lea    D7(%rip),%r13
  cmovne %ecx,%eax
  xor    %r14d,%r14d
  mov    %eax,0x44(%rsp)
  mov    0x8(%rsp),%eax
  shl    $0x3,%eax
  mov    %eax,0x8(%rsp)
  mov    0x48(%rsp),%eax
L454:
  cmp    $0x21e1,%edx
  jg     L339
  cmp    $0x210f,%edx
  jle    L248
  sub    $0x2110,%edx
  cmp    $0xd1,%edx
  ja     L734
  movslq 0x0(%r13,%rdx,4),%rax
  add    %r13,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
L248:
  cmp    $0x2003,%edx
  je     L734
  cmp    $0x2100,%edx
  je     L886
  cmp    $0x2000,%edx
  jne    L378
L734:
  mov    $0xffffffff,%eax
L793:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L339:
  and    $0xdf,%dh
  mov    $0xffffffff,%eax
  cmp    $0x4000,%edx
  jne    L734
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  cmp    $0x2,%eax
  jne    L79
  test   %r12d,%r12d
  jne    L250
  test   %r15d,%r15d
  je     L250
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  nopl   0x0(%rax)
L250:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %r14d,%r14d
  jne    L394
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  je     L400
L1181:
  xor    %eax,%eax
  mov    $0x2,%r14d
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
L334:
  test   %ecx,%ecx
  jle    L1223
  mov    0x14(%rsp),%r9d
  test   %r9d,%r9d
  jne    L375
  test   %r12d,%r12d
  jne    L639
  test   %r15d,%r15d
  jne    L271
L639:
  movslq 0x1c(%rsp),%rdx
  cmp    $0xffffff00,%edx
  je     L740
L933:
  mov    0x34(%rsp),%r8d
  test   %r8d,%r8d
  sete   %al
  cmpl   $0xffe00000,0x30(%rsp)
  setne  %cl
  or     %cl,%al
  jne    L356
  cmp    $0xffffffffffffffe2,%rdx
  jne    L356
  cmpq   $0xfffffffffffffffe,(%rsp)
  je     L516
  mov    0x8(%rsp),%esi
  cmp    %esi,0x44(%rsp)
  jge    L516
  nopl   0x0(%rax,%rax,1)
L356:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  jne    L516
  test   %r15d,%r15d
  jne    L514
  nop
L516:
  mov    0x18(%rsp),%eax
  cmp    $0xffffffff,%eax
  je     L565
  cmp    $0xfffffffc,%eax
  je     L565
L565:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    $0x2180,%edx
  test   %r12d,%r12d
  jne    L770
  test   %r15d,%r15d
  jne    L940
L827:
  cmpq   $0x0,0x28(%rsp)
  jle    L59
L1035:
  cmpq   $0x0,0x38(%rsp)
  jle    L734
  mov    0x38(%rsp),%rax
  mov    %rax,0x28(%rsp)
  test   %r12d,%r12d
  jne    L59
L1000:
  test   %r15d,%r15d
  jne    L1034
L59:
  mov    %edx,%eax
  jmp    L454
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  jne    L717
  mov    $0x2122,%edx
  test   %r15d,%r15d
  je     L827
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  nopw   0x0(%rax,%rax,1)
L717:
  mov    $0x2122,%eax
L886:
  cmpq   $0x0,0x28(%rsp)
  jle    L424
  mov    %eax,%edx
  jmp    L1035
  nopl   (%rax)
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  jne    L469
L967:
  test   %r15d,%r15d
  je     L469
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
L422:
  test   %r15d,%r15d
  je     L1081
  nopw   0x0(%rax,%rax,1)
L469:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
L1081:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    0x14(%rsp),%esi
  test   %esi,%esi
  je     L375
  test   %ebx,%ebx
  jne    L1139
  test   %ebp,%ebp
  jne    L626
L1139:
  mov    $0x1,%eax
  jmp    L793
L375:
  test   %r12d,%r12d
  je     L7
L470:
  mov    0x20(%rsp),%ecx
  test   %ecx,%ecx
  je     L734
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  cmp    $0x2,%r14d
  mov    $0x3,%edx
  cmove  %edx,%r14d
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    0x24(%rsp),%edx
  test   %edx,%edx
  je     L734
  test   %r12d,%r12d
  je     L1226
L1137:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  cmp    $0x3,%r14d
  je     L648
L69:
  test   %ecx,%ecx
  jle    L1223
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  je     L1179
  mov    $0x21c0,%edx
  test   %r12d,%r12d
  jne    L770
  test   %r15d,%r15d
  je     L827
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    $0x21c0,%eax
  jmp    L886
  nopl   (%rax)
L394:
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  jne    L668
  test   %r15d,%r15d
  jne    L1127
L668:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  cmp    $0x1,%r14d
  mov    %eax,%ecx
  mov    $0x2,%eax
  cmove  %eax,%r14d
  jmp    L334
  nopl   (%rax)
L79:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  xor    %eax,%eax
  test   %r12d,%r12d
  jne    L690
  test   %r15d,%r15d
  jne    L985
  nopl   (%rax)
L690:
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L469
  nop
L1223:
  mov    %ecx,%eax
  jmp    L793
  nopw   0x0(%rax,%rax,1)
L7:
  test   %r15d,%r15d
  je     L470
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L470
  mov    %ecx,%eax
  jmp    L793
  nopl   0x0(%rax)
L1179:
  mov    $0x3,%edx
  test   %r12d,%r12d
  jne    L770
  test   %r15d,%r15d
  je     L827
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    $0x3,%eax
  jmp    L900
  cs nopw 0x0(%rax,%rax,1)
L1226:
  test   %r15d,%r15d
  je     L1137
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L1137
  mov    %ecx,%eax
  jmp    L793
  nopl   0x0(%rax)
L400:
  test   %r15d,%r15d
  je     L1181
  mov    $0x1,%r14d
L1127:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L668
  jmp    L1223
  nopl   (%rax)
L740:
  xor    %eax,%eax
  mov    %rdx,0x48(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  mov    0x48(%rsp),%rdx
  test   %eax,%eax
  mov    %eax,%ecx
  jle    L1223
  test   %r12d,%r12d
  jne    L514
  test   %r15d,%r15d
  jne    L1228
L514:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L516
  mov    %ecx,%eax
  jmp    L793
  nopl   0x0(%rax)
L770:
  cmpq   $0x0,0x28(%rsp)
  jle    L59
  mov    0x38(%rsp),%rax
  test   %rax,%rax
  jle    L734
  mov    %rax,0x28(%rsp)
  mov    %edx,%eax
  jmp    L454
L626:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  test   %eax,%eax
  jg     L1139
  jmp    L793
  nopw   0x0(%rax,%rax,1)
L940:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  mov    $0x2180,%eax
L900:
  cmpq   $0x0,0x28(%rsp)
  mov    %eax,%edx
  jle    L1000
  mov    %eax,%edx
  jmp    L1035
  nopl   0x0(%rax,%rax,1)
L271:
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L639
  mov    %ecx,%eax
  jmp    L793
L1228:
  xor    %eax,%eax
  mov    %rdx,0x48(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  mov    0x48(%rsp),%rdx
  test   %eax,%eax
  mov    %eax,%ecx
  jg     L933
  mov    %ecx,%eax
  jmp    L793
  nopw   0x0(%rax,%rax,1)
  movslq 0x1c(%rsp),%rdx
  jmp    L933
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  test   %r12d,%r12d
  jne    L1081
  jmp    L422
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  jmp    L69
L648:
  xor    %eax,%eax
  call   <__VERIFIER_error@plt>
  mov    $0xffffffff,%eax
  jmp    L793
L985:
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jle    L1223
  xor    %eax,%eax
  call   <__VERIFIER_nondet_int@plt>
  mov    %eax,%ecx
  test   %eax,%eax
  jg     L967
  mov    %ecx,%eax
  jmp    L793
L378:
  cmp    $0x3,%edx
  jne    L734
  jmp    L1139
L424:
  mov    %eax,%edx
  test   %r12d,%r12d
  je     L1000
  mov    %edx,%eax
  jmp    L454
L1034:
  xor    %eax,%eax
  mov    %edx,0x48(%rsp)
  call   <__VERIFIER_nondet_int@plt>
  mov    0x48(%rsp),%edx
  test   %eax,%eax
  mov    %eax,%ecx
  jle    L1223
  mov    %edx,%eax
  jmp    L454
```

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 = __VERIFIER_nondet_long();
  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;
                                                                                } else {
                                                                                  if (blastFlag == 3) {
                                                                                    blastFlag = 4;
                                                                                  }
                                                                                }
                                                                                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 (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 (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 (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 (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;
                                                                                }
                                                                                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) {
                                                                                  goto ERROR;
                                                                                }
                                                                                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);
  }
}
```