function litewall_slot_20() /* entry=386 class_id=0x0A10 slot=0x20 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    r, /* [BP+0Ah] type=0x69 */
    wall, /* [BP-02h] type=0x24 */
    tempType, /* [BP-04h] type=0x69 */
    realType, /* [BP-06h] type=0x69 */
    counter; /* [BP-08h] type=0x69 */

  entry:
    set_info(0x0001, *(arg_06));
    set_info(1, r);
    wall = r;
    counter = 0;
    if (Intrinsic0016(wall) != 0x045E) goto block_012F;

  block_011C:
    realType = 0x045E;
    tempType = 0x0462;
    goto block_0198;

  block_012F:
    if (Intrinsic0016(wall) != 0x045F) goto block_0152;

  block_013F:
    realType = 0x045F;
    tempType = 0x0463;
    goto block_0198;

  block_0152:
    if (Intrinsic0016(wall) != 0x0460) goto block_0175;

  block_0162:
    realType = 0x0460;
    tempType = 0x0464;
    goto block_0198;

  block_0175:
    if (Intrinsic0016(wall) != 0x0461) goto block_0198;

  block_0185:
    realType = 0x0461;
    tempType = 0x0465;
    goto block_0198;

  block_0198:

  block_01A5:
    if (counter < 4) goto block_01F3;

  block_01B3:
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    counter = (1 + counter);
    goto block_01A5;

  block_01F3:
    spawn class_0A0C_slot_32(pid, 3, 0x00000000);
    suspend;

  block_0219:
    if counter goto block_0261;

  block_0221:
    spawn class_0A0C_slot_32(pid, 2, 0x00000000);
    suspend;
    counter = (counter - 1);
    goto block_0219;

  block_0261:
    /* pop_global global_id=0x5 size=0x1 */
    return;

}
