function door2_slot_3D() /* entry=377 class_id=0x0A07 slot=0x3D */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    item; /* [BP-04h] type=0x24 */

  entry:
    set_info(0x0207, *(arg_06));
    spawn class_0A06_slot_22(pid, arg_06);
    suspend;
    counter = 1;

  block_3402:
    if (counter <= 4) goto block_344A;

  block_340A:
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_3402;

  block_344A:
    if (Intrinsic0016(arg_06) != 0x03FF) goto block_3481;

  block_3470:
    goto block_34C9;

  block_3481:

  block_34C9:
    /* word_to_dword  */
    /* pop_result  */
    goto block_34DE;

  block_34DE:
    return;

}
