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

  entry:
    set_info(0x0207, *(arg_06));
    if (!Item.getFrame(arg_06)) goto block_410A;

  block_4100:
    newFrame = 11;
    goto block_4111;

  block_410A:
    newFrame = 26;

  block_4111:
    class_0A0C_slot_2D(Item.getZ(arg_06), Item.legal_create(arg_06), Intrinsic0013(arg_06), newFrame, 0x03C6, *(arg_06));
    if (!retval) goto block_4151;

  block_4147:
    /* word_to_dword  */
    /* pop_result  */
    goto block_41BA;

  block_4151:
    counter = 0;

  block_4165:
    if (counter <= 11) goto block_41B0;

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

  block_41B0:
    /* word_to_dword  */
    /* pop_result  */
    goto block_41BA;

  block_41BA:
    return;

}
