oal_util_rand ()
{
  long unsigned int u32RandVal.22_1;
  long unsigned int _2;
  long unsigned int u32RandVal.23_3;
  long unsigned int _4;
  long unsigned int _5;
  long unsigned int _6;
  long unsigned int _7;
  long unsigned int u32RandVal.24_8;
  int32_t _11;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u32RandVal.22_1 = u32RandVal;
  _2 = u32RandVal.22_1 >> 1;
  u32RandVal.23_3 = u32RandVal;
  _4 = u32RandVal.23_3 & 1;
  _5 = -_4;
  _6 = _5 & 2149580803;
  _7 = _2 ^ _6;
  u32RandVal = _7;
  # DEBUG BEGIN_STMT
  u32RandVal.24_8 = u32RandVal;
  _11 = (int32_t) u32RandVal.24_8;
  return _11;

}


__attribute__((nothrow, leaf))
strcpy (char_t * pszDest, const char_t * pcoszSrc)
{
  uint32_t u32Ctr;
  const char_t * _1;
  char_t * _2;
  char _3;
  long unsigned int u32Ctr.21_4;
  const char_t * _5;
  char _6;
  char * _15;

  <bb 2> :
  # DEBUG BEGIN_STMT
  u32Ctr_9 = 0;
  # DEBUG u32Ctr => u32Ctr_9

  <bb 3> :
  # u32Ctr_7 = PHI <u32Ctr_9(2), u32Ctr_14(3)>
  # DEBUG u32Ctr => u32Ctr_7
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = pcoszSrc_11(D) + u32Ctr_7;
  _2 = pszDest_12(D) + u32Ctr_7;
  _3 = *_1;
  *_2 = _3;
  # DEBUG BEGIN_STMT
  u32Ctr.21_4 = u32Ctr_7;
  u32Ctr_14 = u32Ctr.21_4 + 1;
  # DEBUG u32Ctr => u32Ctr_14
  _5 = pcoszSrc_11(D) + u32Ctr.21_4;
  _6 = *_5;
  if (_6 != 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _15 = pszDest_12(D);
  return _15;

}


oal_util_get_unique_seqnum32 ()
{
  uint32_t val;
  unsigned char init.18_1;
  unsigned char init.19_2;
  long unsigned int base.20_3;
  long unsigned int _4;
  uint32_t _17;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  init.18_1 = init;
  if (init.18_1 == 0)
    goto <bb 3>; [INV]
  else
    goto <bb 4>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  mux = 183;
  # DEBUG BEGIN_STMT
  oal_mutex_init (&mux);
  # DEBUG BEGIN_STMT
  init = 1;

  <bb 4> :
  # DEBUG BEGIN_STMT
  init.19_2 = init;
  if (init.19_2 != 0)
    goto <bb 5>; [INV]
  else
    goto <bb 6>; [INV]

  <bb 5> :
  # DEBUG BEGIN_STMT
  oal_mutex_lock (&mux);
  # DEBUG BEGIN_STMT
  val_14 = base;
  # DEBUG val => val_14
  # DEBUG BEGIN_STMT
  base.20_3 = base;
  _4 = base.20_3 + 1;
  base = _4;
  # DEBUG BEGIN_STMT
  oal_mutex_unlock (&mux);
  goto <bb 7>; [INV]

  <bb 6> :
  # DEBUG BEGIN_STMT
  val_12 = 0;
  # DEBUG val => val_12

  <bb 7> :
  # val_5 = PHI <val_14(5), val_12(6)>
  # DEBUG val => val_5
  # DEBUG BEGIN_STMT
  _17 = val_5;
  return _17;

}


oal_util_parse_ptp (uint8_t * buffer, size_t len, struct oal_util_ptp_header_t * * ptph)
{
  errno_t ret;
  addr_t hdr_addr;
  uint8_t off;
  uint8_t l4_len;
  uint8_t l3_len;
  uint8_t l2_len;
  unsigned int buffer.9_1;
  unsigned int _2;
  uint16_t * _3;
  short unsigned int _4;
  short unsigned int _5;
  unsigned int _6;
  unsigned int _7;
  unsigned int buffer.10_8;
  unsigned int _9;
  uint16_t * _10;
  short unsigned int _11;
  short unsigned int _12;
  unsigned int _13;
  unsigned int _14;
  unsigned int _15;
  unsigned int _16;
  unsigned int buffer.11_17;
  unsigned int _18;
  uint16_t * _19;
  short unsigned int _20;
  short unsigned int _21;
  unsigned int _22;
  unsigned int _23;
  unsigned int _24;
  unsigned int buffer.12_25;
  unsigned int _26;
  uint16_t * _27;
  short unsigned int _28;
  short unsigned int _29;
  unsigned int _30;
  unsigned int _31;
  unsigned int _32;
  unsigned int _33;
  unsigned int buffer.13_34;
  unsigned int _35;
  struct oal_util_ptp_header_t * _36;
  unsigned int _37;
  unsigned int buffer.14_38;
  unsigned int _39;
  unsigned char l3_len.15_40;
  unsigned int _41;
  sizetype _42;
  uint16_t * _43;
  short unsigned int _44;
  short unsigned int _45;
  unsigned int _46;
  unsigned int _47;
  sizetype _48;
  uint16_t * _49;
  short unsigned int _50;
  short unsigned int _51;
  unsigned int _52;
  unsigned int _53;
  unsigned int _54;
  unsigned int _55;
  unsigned int _56;
  unsigned int buffer.16_57;
  unsigned int _58;
  unsigned char l3_len.17_59;
  unsigned int _60;
  unsigned int _61;
  unsigned int _62;
  unsigned int _63;
  struct oal_util_ptp_header_t * _64;
  uint8_t iftmp.8_65;
  errno_t _66;
  errno_t _71;
  uint8_t iftmp.8_74;
  uint8_t iftmp.8_75;
  errno_t _80;
  errno_t _83;
  errno_t _86;
  errno_t _88;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  off_68 = 0;
  # DEBUG off => off_68
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ret_69 = 0;
  # DEBUG ret => ret_69
  # DEBUG BEGIN_STMT
  if (len_70(D) > 13)
    goto <bb 3>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  buffer.9_1 = (unsigned int) buffer_73(D);
  _2 = buffer.9_1 + 12;
  _3 = (uint16_t *) _2;
  _4 = *_3;
  _5 = _4 >> 8;
  _6 = (unsigned int) _5;
  _7 = _6 & 255;
  buffer.10_8 = (unsigned int) buffer_73(D);
  _9 = buffer.10_8 + 12;
  _10 = (uint16_t *) _9;
  _11 = *_10;
  _12 = _11 << 8;
  _13 = (unsigned int) _12;
  _14 = _13 & 65280;
  _15 = _7 | _14;
  if (_15 == 33024)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  iftmp.8_75 = 16;
  goto <bb 6>; [INV]

  <bb 5> :
  iftmp.8_74 = 12;

  <bb 6> :
  # iftmp.8_65 = PHI <iftmp.8_75(4), iftmp.8_74(5)>
  off_76 = iftmp.8_65;
  # DEBUG off => off_76
  # DEBUG BEGIN_STMT
  l2_len_77 = off_76 + 2;
  # DEBUG l2_len => l2_len_77
  # DEBUG BEGIN_STMT
  _16 = (unsigned int) off_76;
  buffer.11_17 = (unsigned int) buffer_73(D);
  _18 = _16 + buffer.11_17;
  _19 = (uint16_t *) _18;
  _20 = *_19;
  _21 = _20 >> 8;
  _22 = (unsigned int) _21;
  _23 = _22 & 255;
  _24 = (unsigned int) off_76;
  buffer.12_25 = (unsigned int) buffer_73(D);
  _26 = _24 + buffer.12_25;
  _27 = (uint16_t *) _26;
  _28 = *_27;
  _29 = _28 << 8;
  _30 = (unsigned int) _29;
  _31 = _30 & 65280;
  _32 = _23 | _31;
  if (_32 == 35063)
    goto <bb 7>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 7> :
  # DEBUG BEGIN_STMT
  _33 = (unsigned int) l2_len_77;
  buffer.13_34 = (unsigned int) buffer_73(D);
  _35 = _33 + buffer.13_34;
  _36 = (struct oal_util_ptp_header_t *) _35;
  *ptph_84(D) = _36;
  # DEBUG BEGIN_STMT
  _88 = 0;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 14>; [INV]

  <bb 8> :
  # DEBUG BEGIN_STMT
  _71 = 2;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 14>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  ret_79 = oal_util_parse_ptp_l3 (buffer_73(D), len_70(D), l2_len_77, &l3_len, off_76);
  # DEBUG ret => ret_79
  # DEBUG BEGIN_STMT
  if (ret_79 == 0)
    goto <bb 10>; [INV]
  else
    goto <bb 13>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _37 = (unsigned int) l2_len_77;
  buffer.14_38 = (unsigned int) buffer_73(D);
  _39 = _37 + buffer.14_38;
  l3_len.15_40 = l3_len;
  _41 = (unsigned int) l3_len.15_40;
  hdr_addr_81 = _39 + _41;
  # DEBUG hdr_addr => hdr_addr_81
  # DEBUG BEGIN_STMT
  l4_len_82 = 8;
  # DEBUG l4_len => l4_len_82
  # DEBUG BEGIN_STMT
  _42 = hdr_addr_81 + 2;
  _43 = (uint16_t *) _42;
  _44 = *_43;
  _45 = _44 >> 8;
  _46 = (unsigned int) _45;
  _47 = _46 & 255;
  _48 = hdr_addr_81 + 2;
  _49 = (uint16_t *) _48;
  _50 = *_49;
  _51 = _50 << 8;
  _52 = (unsigned int) _51;
  _53 = _52 & 65280;
  _54 = _47 | _53;
  _55 = _54 + 4294966977;
  if (_55 <= 1)
    goto <bb 11>; [INV]
  else
    goto <bb 12>; [INV]

  <bb 11> :
  # DEBUG BEGIN_STMT
  _56 = (unsigned int) l2_len_77;
  buffer.16_57 = (unsigned int) buffer_73(D);
  _58 = _56 + buffer.16_57;
  l3_len.17_59 = l3_len;
  _60 = (unsigned int) l3_len.17_59;
  _61 = _58 + _60;
  _62 = (unsigned int) l4_len_82;
  _63 = _61 + _62;
  _64 = (struct oal_util_ptp_header_t *) _63;
  *ptph_84(D) = _64;
  # DEBUG BEGIN_STMT
  _86 = 0;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 14>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  _83 = 2;
  // predicted unlikely by early return (on trees) predictor.
  goto <bb 14>; [INV]

  <bb 13> :
  # DEBUG BEGIN_STMT
  _80 = ret_79;

  <bb 14> :
  # _66 = PHI <_88(7), _71(8), _86(11), _83(12), _80(13)>
  l3_len ={v} {CLOBBER};
  return _66;

}


oal_util_parse_ptp_l3 (uint8_t * buffer, size_t len, uint8_t l2_len, uint8_t * l3_len, uint8_t off)
{
  errno_t ret;
  addr_t hdr_addr;
  unsigned int _1;
  unsigned int buffer.0_2;
  unsigned int _3;
  unsigned int buffer.1_4;
  unsigned int _5;
  uint16_t * _6;
  short unsigned int _7;
  short unsigned int _8;
  unsigned int _9;
  unsigned int _10;
  unsigned int _11;
  unsigned int buffer.2_12;
  unsigned int _13;
  uint16_t * _14;
  short unsigned int _15;
  short unsigned int _16;
  unsigned int _17;
  unsigned int _18;
  unsigned int _19;
  unsigned int _20;
  unsigned int _21;
  sizetype _22;
  uint8_t * _23;
  unsigned char _24;
  uint8_t * hdr_addr.3_25;
  unsigned char _26;
  unsigned char _27;
  uint8_t * hdr_addr.4_28;
  unsigned char _29;
  unsigned int _30;
  unsigned int _31;
  sizetype _32;
  uint32_t * _33;
  long unsigned int _34;
  long unsigned int _35;
  sizetype _36;
  uint32_t * _37;
  long unsigned int _38;
  long unsigned int _39;
  long unsigned int _40;
  long unsigned int _41;
  sizetype _42;
  uint32_t * _43;
  long unsigned int _44;
  long unsigned int _45;
  long unsigned int _46;
  long unsigned int _47;
  sizetype _48;
  uint32_t * _49;
  long unsigned int _50;
  long unsigned int _51;
  long unsigned int _52;
  long unsigned int _53;
  sizetype _54;
  uint32_t * _55;
  long unsigned int _56;
  long unsigned int _57;
  sizetype _58;
  uint32_t * _59;
  long unsigned int _60;
  long unsigned int _61;
  long unsigned int _62;
  long unsigned int _63;
  sizetype _64;
  uint32_t * _65;
  long unsigned int _66;
  long unsigned int _67;
  long unsigned int _68;
  long unsigned int _69;
  sizetype _70;
  uint32_t * _71;
  long unsigned int _72;
  long unsigned int _73;
  long unsigned int _74;
  unsigned int _75;
  unsigned int buffer.5_76;
  unsigned int _77;
  uint16_t * _78;
  short unsigned int _79;
  short unsigned int _80;
  unsigned int _81;
  unsigned int _82;
  unsigned int _83;
  unsigned int buffer.6_84;
  unsigned int _85;
  uint16_t * _86;
  short unsigned int _87;
  short unsigned int _88;
  unsigned int _89;
  unsigned int _90;
  unsigned int _91;
  unsigned int _92;
  unsigned int _93;
  sizetype _94;
  uint8_t * _95;
  unsigned char _96;
  uint8_t * hdr_addr.7_97;
  unsigned char _98;
  unsigned char _99;
  sizetype _100;
  const void * _101;
  int _102;
  sizetype _103;
  uint8_t * _104;
  unsigned char _105;
  unsigned char _106;
  sizetype _107;
  const void * _108;
  int _109;
  errno_t _126;

  <bb 2> :
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  ret_112 = 0;
  # DEBUG ret => ret_112
  # DEBUG BEGIN_STMT
  _1 = (unsigned int) l2_len_113(D);
  buffer.0_2 = (unsigned int) buffer_114(D);
  hdr_addr_115 = _1 + buffer.0_2;
  # DEBUG hdr_addr => hdr_addr_115
  # DEBUG BEGIN_STMT
  _3 = (unsigned int) off_116(D);
  buffer.1_4 = (unsigned int) buffer_114(D);
  _5 = _3 + buffer.1_4;
  _6 = (uint16_t *) _5;
  _7 = *_6;
  _8 = _7 >> 8;
  _9 = (unsigned int) _8;
  _10 = _9 & 255;
  _11 = (unsigned int) off_116(D);
  buffer.2_12 = (unsigned int) buffer_114(D);
  _13 = _11 + buffer.2_12;
  _14 = (uint16_t *) _13;
  _15 = *_14;
  _16 = _15 << 8;
  _17 = (unsigned int) _16;
  _18 = _17 & 65280;
  _19 = _10 | _18;
  if (_19 == 2048)
    goto <bb 3>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 3> :
  _20 = (unsigned int) l2_len_113(D);
  _21 = _20 + 20;
  if (len_118(D) >= _21)
    goto <bb 4>; [INV]
  else
    goto <bb 10>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  *l3_len_119(D) = 20;
  # DEBUG BEGIN_STMT
  _22 = hdr_addr_115 + 9;
  _23 = (uint8_t *) _22;
  _24 = *_23;
  if (_24 == 17)
    goto <bb 5>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 5> :
  hdr_addr.3_25 = (uint8_t *) hdr_addr_115;
  _26 = *hdr_addr.3_25;
  _27 = _26 >> 4;
  if (_27 == 4)
    goto <bb 6>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 6> :
  hdr_addr.4_28 = (uint8_t *) hdr_addr_115;
  _29 = *hdr_addr.4_28;
  _30 = (unsigned int) _29;
  _31 = _30 & 15;
  if (_31 == 5)
    goto <bb 7>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 7> :
  _32 = hdr_addr_115 + 16;
  _33 = (uint32_t *) _32;
  _34 = *_33;
  _35 = _34 >> 24;
  _36 = hdr_addr_115 + 16;
  _37 = (uint32_t *) _36;
  _38 = *_37;
  _39 = _38 >> 8;
  _40 = _39 & 65280;
  _41 = _35 | _40;
  _42 = hdr_addr_115 + 16;
  _43 = (uint32_t *) _42;
  _44 = *_43;
  _45 = _44 << 8;
  _46 = _45 & 16711680;
  _47 = _41 | _46;
  _48 = hdr_addr_115 + 16;
  _49 = (uint32_t *) _48;
  _50 = *_49;
  _51 = _50 << 24;
  _52 = _47 | _51;
  _53 = _52 + 536870527;
  if (_53 <= 3)
    goto <bb 20>; [INV]
  else
    goto <bb 8>; [INV]

  <bb 8> :
  _54 = hdr_addr_115 + 16;
  _55 = (uint32_t *) _54;
  _56 = *_55;
  _57 = _56 >> 24;
  _58 = hdr_addr_115 + 16;
  _59 = (uint32_t *) _58;
  _60 = *_59;
  _61 = _60 >> 8;
  _62 = _61 & 65280;
  _63 = _57 | _62;
  _64 = hdr_addr_115 + 16;
  _65 = (uint32_t *) _64;
  _66 = *_65;
  _67 = _66 << 8;
  _68 = _67 & 16711680;
  _69 = _63 | _68;
  _70 = hdr_addr_115 + 16;
  _71 = (uint32_t *) _70;
  _72 = *_71;
  _73 = _72 << 24;
  _74 = _69 | _73;
  if (_74 == 3758096488)
    goto <bb 20>; [INV]
  else
    goto <bb 9>; [INV]

  <bb 9> :
  # DEBUG BEGIN_STMT
  ret_121 = 2;
  # DEBUG ret => ret_121
  goto <bb 20>; [INV]

  <bb 10> :
  # DEBUG BEGIN_STMT
  _75 = (unsigned int) off_116(D);
  buffer.5_76 = (unsigned int) buffer_114(D);
  _77 = _75 + buffer.5_76;
  _78 = (uint16_t *) _77;
  _79 = *_78;
  _80 = _79 >> 8;
  _81 = (unsigned int) _80;
  _82 = _81 & 255;
  _83 = (unsigned int) off_116(D);
  buffer.6_84 = (unsigned int) buffer_114(D);
  _85 = _83 + buffer.6_84;
  _86 = (uint16_t *) _85;
  _87 = *_86;
  _88 = _87 << 8;
  _89 = (unsigned int) _88;
  _90 = _89 & 65280;
  _91 = _82 | _90;
  if (_91 == 34525)
    goto <bb 11>; [INV]
  else
    goto <bb 19>; [INV]

  <bb 11> :
  _92 = (unsigned int) l2_len_113(D);
  _93 = _92 + 40;
  if (len_118(D) >= _93)
    goto <bb 12>; [INV]
  else
    goto <bb 19>; [INV]

  <bb 12> :
  # DEBUG BEGIN_STMT
  *l3_len_119(D) = 40;
  # DEBUG BEGIN_STMT
  _94 = hdr_addr_115 + 6;
  _95 = (uint8_t *) _94;
  _96 = *_95;
  if (_96 == 17)
    goto <bb 13>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 13> :
  hdr_addr.7_97 = (uint8_t *) hdr_addr_115;
  _98 = *hdr_addr.7_97;
  _99 = _98 >> 4;
  if (_99 == 6)
    goto <bb 14>; [INV]
  else
    goto <bb 18>; [INV]

  <bb 14> :
  # DEBUG BEGIN_STMT
  _100 = hdr_addr_115 + 26;
  _101 = (const void *) _100;
  _102 = memcmp (_101, &primary_mcast[2], 14);
  if (_102 == 0)
    goto <bb 15>; [INV]
  else
    goto <bb 16>; [INV]

  <bb 15> :
  _103 = hdr_addr_115 + 24;
  _104 = (uint8_t *) _103;
  _105 = *_104;
  _106 = 255;
  if (_105 == _106)
    goto <bb 20>; [INV]
  else
    goto <bb 16>; [INV]

  <bb 16> :
  # DEBUG BEGIN_STMT
  _107 = hdr_addr_115 + 24;
  _108 = (const void *) _107;
  _109 = memcmp (_108, &pdelay_mcast, 16);
  if (_109 == 0)
    goto <bb 20>; [INV]
  else
    goto <bb 17>; [INV]

  <bb 17> :
  # DEBUG BEGIN_STMT
  ret_123 = 2;
  # DEBUG ret => ret_123
  goto <bb 20>; [INV]

  <bb 18> :
  # DEBUG BEGIN_STMT
  ret_124 = 2;
  # DEBUG ret => ret_124
  goto <bb 20>; [INV]

  <bb 19> :
  # DEBUG BEGIN_STMT
  ret_125 = 2;
  # DEBUG ret => ret_125

  <bb 20> :
  # ret_110 = PHI <ret_121(9), ret_124(18), ret_125(19), ret_112(8), ret_112(7), ret_112(16), ret_123(17), ret_112(15)>
  # DEBUG ret => ret_110
  # DEBUG BEGIN_STMT
  _126 = ret_110;
  return _126;

}


oal_mutex_unlock (const oal_mutex_t * mutex)
{
  errno_t retval;
  short unsigned int _1;
  short unsigned int _2;
  int _3;
  unsigned char _4;
  short unsigned int _5;
  int _6;
  void (*<T4e7>) (void) _7;
  errno_t _15;

  <bb 2> :
  # DEBUG BEGIN_STMT
  retval_10 = 22;
  # DEBUG retval => retval_10
  # DEBUG BEGIN_STMT
  _1 = *mutex_12(D);
  if (_1 <= 255)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _2 = *mutex_12(D);
  _3 = (int) _2;
  _4 = mutex_alloc[_3];
  if (_4 != 0)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _5 = *mutex_12(D);
  _6 = (int) _5;
  _7 = SchM_Exit_Eth_43_PFE_ETH_EXCLUSIVE_AREA_ID[_6];
  _7 ();
  # DEBUG BEGIN_STMT
  retval_14 = 0;
  # DEBUG retval => retval_14

  <bb 5> :
  # retval_8 = PHI <retval_10(2), retval_10(3), retval_14(4)>
  # DEBUG retval => retval_8
  # DEBUG BEGIN_STMT
  _15 = retval_8;
  return _15;

}


oal_mutex_lock (const oal_mutex_t * mutex)
{
  errno_t retval;
  short unsigned int _1;
  short unsigned int _2;
  int _3;
  unsigned char _4;
  short unsigned int _5;
  int _6;
  void (*<T4e7>) (void) _7;
  errno_t _15;

  <bb 2> :
  # DEBUG BEGIN_STMT
  retval_10 = 22;
  # DEBUG retval => retval_10
  # DEBUG BEGIN_STMT
  _1 = *mutex_12(D);
  if (_1 <= 255)
    goto <bb 3>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 3> :
  # DEBUG BEGIN_STMT
  _2 = *mutex_12(D);
  _3 = (int) _2;
  _4 = mutex_alloc[_3];
  if (_4 != 0)
    goto <bb 4>; [INV]
  else
    goto <bb 5>; [INV]

  <bb 4> :
  # DEBUG BEGIN_STMT
  _5 = *mutex_12(D);
  _6 = (int) _5;
  _7 = SchM_Enter_Eth_43_PFE_ETH_EXCLUSIVE_AREA_ID[_6];
  _7 ();
  # DEBUG BEGIN_STMT
  retval_14 = 0;
  # DEBUG retval => retval_14

  <bb 5> :
  # retval_8 = PHI <retval_10(2), retval_10(3), retval_14(4)>
  # DEBUG retval => retval_8
  # DEBUG BEGIN_STMT
  _15 = retval_8;
  return _15;

}


oal_mutex_init (oal_mutex_t * mutex)
{
  errno_t _4;

  <bb 2> :
  # DEBUG BEGIN_STMT
  _4 = oal_mutex_init_internal (mutex_2(D));
  return _4;

}


