Berry include changes in 're' to HASPmota (#23153)

This commit is contained in:
s-hadinger 2025-03-15 18:58:21 +01:00 committed by GitHub
parent 508992258f
commit a97d306a16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 247 additions and 245 deletions

View File

@ -2845,7 +2845,7 @@ class HASPmota
def init()
self.fix_lv_version()
import re
self.re_page_target = re.compile("p\\d+")
self.re_page_target = re.compilebytes("p\\d+")
# nothing to put here up to now
end
@ -3094,6 +3094,7 @@ class HASPmota
# Returns: the target page object if changed, or `nil` if still on same page
#====================================================================
def page_show(action, anim, duration)
import re
# resolve between page numbers
# p1 is either a number or nil (stored value)
# p2 is the default value
@ -3129,7 +3130,7 @@ class HASPmota
if (to_page == cur_page.id())
to_page = to_page_resolve(int(cur_page.next), sorted_pages_list[1], sorted_pages_list)
end
elif self.re_page_target.match(action)
elif re.match(self.re_page_target, action)
# action is supposed to be `p<number>` format
to_page = to_page_resolve(int(action[1..-1]), nil #-default to nil-#, sorted_pages_list)
end

View File

@ -11947,7 +11947,7 @@ be_local_class(lvh_page,
be_str_weak(lvh_page)
);
extern const bclass be_class_HASPmota;
// compact class 'HASPmota' ktab size: 124, total: 196 (saved 576 bytes)
// compact class 'HASPmota' ktab size: 124, total: 197 (saved 584 bytes)
static const bvalue be_ktab_class_HASPmota[124] = {
/* K0 */ be_nested_str_weak(global),
/* K1 */ be_nested_str_weak(introspect),
@ -11977,49 +11977,49 @@ static const bvalue be_ktab_class_HASPmota[124] = {
/* K25 */ be_nested_str_weak(HSP_X3A_X20unable_X20to_X20compile_X20berry_X20code_X20_X22_X25s_X22_X20_X2D_X20_X27_X25s_X27_X20_X2D_X20_X25s),
/* K26 */ be_nested_str_weak(function),
/* K27 */ be_nested_str_weak(HSP_X3A_X20unable_X20to_X20run_X20berry_X20code_X20_X22_X25s_X22_X20_X2D_X20_X27_X25s_X27_X20_X2D_X20_X25s),
/* K28 */ be_nested_str_weak(get_page_cur),
/* K29 */ be_nested_str_weak(pages_list_sorted),
/* K30 */ be_nested_str_weak(lvh_page_cur_idx),
/* K31 */ be_const_int(1),
/* K32 */ be_nested_str_weak(prev),
/* K33 */ be_nested_str_weak(next),
/* K34 */ be_nested_str_weak(back),
/* K35 */ be_nested_str_weak(delete),
/* K36 */ be_nested_str_weak(re_page_target),
/* K28 */ be_nested_str_weak(re),
/* K29 */ be_nested_str_weak(get_page_cur),
/* K30 */ be_nested_str_weak(pages_list_sorted),
/* K31 */ be_nested_str_weak(lvh_page_cur_idx),
/* K32 */ be_const_int(1),
/* K33 */ be_nested_str_weak(prev),
/* K34 */ be_nested_str_weak(next),
/* K35 */ be_nested_str_weak(back),
/* K36 */ be_nested_str_weak(delete),
/* K37 */ be_nested_str_weak(match),
/* K38 */ be_nested_str_weak(lvh_pages),
/* K39 */ be_nested_str_weak(show),
/* K40 */ be_nested_str_weak(page_show),
/* K41 */ be_nested_str_weak(lvh_page_cur_idx_parsing),
/* K42 */ be_nested_str_weak(contains),
/* K43 */ be_nested_str_weak(remove),
/* K44 */ be_nested_str_weak(p_X25s),
/* K45 */ be_nested_str_weak(string),
/* K46 */ be_nested_str_weak(json),
/* K47 */ be_nested_str_weak(r),
/* K48 */ be_nested_str_weak(read),
/* K49 */ be_nested_str_weak(close),
/* K50 */ be_nested_str_weak(split),
/* K51 */ be_nested_str_weak(_X0A),
/* K52 */ be_nested_str_weak(load),
/* K53 */ be_nested_str_weak(instance),
/* K54 */ be_nested_str_weak(tasmota),
/* K55 */ be_nested_str_weak(loglevel),
/* K56 */ be_nested_str_weak(log),
/* K57 */ be_nested_str_weak(HSP_X3A_X20parsing_X20line_X20_X27_X25s_X27),
/* K58 */ be_nested_str_weak(parse_page),
/* K59 */ be_nested_str_weak(value_error),
/* K60 */ be_nested_str_weak(no_X20page_X20_X27id_X27_X20defined),
/* K61 */ be_nested_str_weak(parse_obj),
/* K62 */ be_nested_str_weak(tr),
/* K63 */ be_nested_str_weak(_X20_X09),
/* K64 */ be_nested_str_weak(),
/* K65 */ be_nested_str_weak(HSP_X3A_X20invalid_X20JSON_X20line_X20_X27_X25s_X27),
/* K66 */ be_const_int(2),
/* K67 */ be_nested_str_weak(no_X20page_X20object_X20defined),
/* K68 */ be_nested_str_weak(fix_lv_version),
/* K69 */ be_nested_str_weak(re),
/* K70 */ be_nested_str_weak(compile),
/* K38 */ be_nested_str_weak(re_page_target),
/* K39 */ be_nested_str_weak(lvh_pages),
/* K40 */ be_nested_str_weak(show),
/* K41 */ be_nested_str_weak(page_show),
/* K42 */ be_nested_str_weak(lvh_page_cur_idx_parsing),
/* K43 */ be_nested_str_weak(contains),
/* K44 */ be_nested_str_weak(remove),
/* K45 */ be_nested_str_weak(p_X25s),
/* K46 */ be_nested_str_weak(string),
/* K47 */ be_nested_str_weak(json),
/* K48 */ be_nested_str_weak(r),
/* K49 */ be_nested_str_weak(read),
/* K50 */ be_nested_str_weak(close),
/* K51 */ be_nested_str_weak(split),
/* K52 */ be_nested_str_weak(_X0A),
/* K53 */ be_nested_str_weak(load),
/* K54 */ be_nested_str_weak(instance),
/* K55 */ be_nested_str_weak(tasmota),
/* K56 */ be_nested_str_weak(loglevel),
/* K57 */ be_nested_str_weak(log),
/* K58 */ be_nested_str_weak(HSP_X3A_X20parsing_X20line_X20_X27_X25s_X27),
/* K59 */ be_nested_str_weak(parse_page),
/* K60 */ be_nested_str_weak(value_error),
/* K61 */ be_nested_str_weak(no_X20page_X20_X27id_X27_X20defined),
/* K62 */ be_nested_str_weak(parse_obj),
/* K63 */ be_nested_str_weak(tr),
/* K64 */ be_nested_str_weak(_X20_X09),
/* K65 */ be_nested_str_weak(),
/* K66 */ be_nested_str_weak(HSP_X3A_X20invalid_X20JSON_X20line_X20_X27_X25s_X27),
/* K67 */ be_const_int(2),
/* K68 */ be_nested_str_weak(no_X20page_X20object_X20defined),
/* K69 */ be_nested_str_weak(fix_lv_version),
/* K70 */ be_nested_str_weak(compilebytes),
/* K71 */ be_nested_str_weak(p_X5Cd_X2B),
/* K72 */ be_nested_str_weak(has),
/* K73 */ be_nested_str_weak(page),
@ -12345,7 +12345,7 @@ be_local_closure(class_HASPmota_parse_obj, /* name */
********************************************************************/
be_local_closure(class_HASPmota_page_show, /* name */
be_nested_proto(
13, /* nstack */
14, /* nstack */
4, /* argc */
10, /* varg */
0, /* has upvals */
@ -12387,115 +12387,116 @@ be_local_closure(class_HASPmota_page_show, /* name */
&be_ktab_class_HASPmota, /* shared constants */
be_str_weak(page_show),
&be_const_str_solidified,
( &(const binstruction[108]) { /* code */
0x84100000, // 0000 CLOSURE R4 P0
0x4C140000, // 0001 LDNIL R5
0x8C18011C, // 0002 GETMET R6 R0 K28
0x7C180200, // 0003 CALL R6 1
0x8C1C011D, // 0004 GETMET R7 R0 K29
0x8824011E, // 0005 GETMBR R9 R0 K30
0x7C1C0400, // 0006 CALL R7 2
0x6020000C, // 0007 GETGBL R8 G12
0x5C240E00, // 0008 MOVE R9 R7
0x7C200200, // 0009 CALL R8 1
0x1820111F, // 000A LE R8 R8 K31
0x78220001, // 000B JMPF R8 #000E
0x4C200000, // 000C LDNIL R8
0x80041000, // 000D RET 1 R8
0x1C200320, // 000E EQ R8 R1 K32
0x78220009, // 000F JMPF R8 #001A
0x5C200800, // 0010 MOVE R8 R4
0x60240009, // 0011 GETGBL R9 G9
0x88280D20, // 0012 GETMBR R10 R6 K32
0x7C240200, // 0013 CALL R9 1
0x5429FFFE, // 0014 LDINT R10 -1
0x94280E0A, // 0015 GETIDX R10 R7 R10
0x5C2C0E00, // 0016 MOVE R11 R7
0x7C200600, // 0017 CALL R8 3
0x5C141000, // 0018 MOVE R5 R8
0x70020041, // 0019 JMP #005C
0x1C200321, // 001A EQ R8 R1 K33
0x78220008, // 001B JMPF R8 #0025
0x5C200800, // 001C MOVE R8 R4
0x60240009, // 001D GETGBL R9 G9
0x88280D21, // 001E GETMBR R10 R6 K33
0x7C240200, // 001F CALL R9 1
0x94280F1F, // 0020 GETIDX R10 R7 K31
0x5C2C0E00, // 0021 MOVE R11 R7
0x7C200600, // 0022 CALL R8 3
0x5C141000, // 0023 MOVE R5 R8
0x70020036, // 0024 JMP #005C
0x1C200322, // 0025 EQ R8 R1 K34
0x7822000B, // 0026 JMPF R8 #0033
0x5C200800, // 0027 MOVE R8 R4
0x60240009, // 0028 GETGBL R9 G9
0x88280D22, // 0029 GETMBR R10 R6 K34
0x7C240200, // 002A CALL R9 1
0x8C28011D, // 002B GETMET R10 R0 K29
0x4C300000, // 002C LDNIL R12
0x7C280400, // 002D CALL R10 2
0x94281506, // 002E GETIDX R10 R10 K6
0x5C2C0E00, // 002F MOVE R11 R7
0x7C200600, // 0030 CALL R8 3
0x5C141000, // 0031 MOVE R5 R8
0x70020028, // 0032 JMP #005C
0x1C200323, // 0033 EQ R8 R1 K35
0x78220017, // 0034 JMPF R8 #004D
0x5C200800, // 0035 MOVE R8 R4
0x60240009, // 0036 GETGBL R9 G9
0x88280D22, // 0037 GETMBR R10 R6 K34
0x7C240200, // 0038 CALL R9 1
0x8C28011D, // 0039 GETMET R10 R0 K29
0x4C300000, // 003A LDNIL R12
0x7C280400, // 003B CALL R10 2
0x94281506, // 003C GETIDX R10 R10 K6
0x5C2C0E00, // 003D MOVE R11 R7
0x7C200600, // 003E CALL R8 3
0x5C141000, // 003F MOVE R5 R8
0x8C200D03, // 0040 GETMET R8 R6 K3
0x7C200200, // 0041 CALL R8 1
0x1C200A08, // 0042 EQ R8 R5 R8
0x78220007, // 0043 JMPF R8 #004C
0x5C200800, // 0044 MOVE R8 R4
0x60240009, // 0045 GETGBL R9 G9
0x88280D21, // 0046 GETMBR R10 R6 K33
0x7C240200, // 0047 CALL R9 1
0x94280F1F, // 0048 GETIDX R10 R7 K31
0x5C2C0E00, // 0049 MOVE R11 R7
0x7C200600, // 004A CALL R8 3
0x5C141000, // 004B MOVE R5 R8
0x7002000E, // 004C JMP #005C
0x88200124, // 004D GETMBR R8 R0 K36
0x8C201125, // 004E GETMET R8 R8 K37
0x5C280200, // 004F MOVE R10 R1
0x7C200400, // 0050 CALL R8 2
0x78220009, // 0051 JMPF R8 #005C
0x5C200800, // 0052 MOVE R8 R4
0x60240009, // 0053 GETGBL R9 G9
0x5429FFFE, // 0054 LDINT R10 -1
0x402A3E0A, // 0055 CONNECT R10 K31 R10
0x9428020A, // 0056 GETIDX R10 R1 R10
0x7C240200, // 0057 CALL R9 1
0x4C280000, // 0058 LDNIL R10
0x5C2C0E00, // 0059 MOVE R11 R7
0x7C200600, // 005A CALL R8 3
0x5C141000, // 005B MOVE R5 R8
0x4C200000, // 005C LDNIL R8
0x20200A08, // 005D NE R8 R5 R8
0x7822000B, // 005E JMPF R8 #006B
0x24200B06, // 005F GT R8 R5 K6
0x78220009, // 0060 JMPF R8 #006B
0x88200126, // 0061 GETMBR R8 R0 K38
0x94201005, // 0062 GETIDX R8 R8 R5
0x4C240000, // 0063 LDNIL R9
0x20241009, // 0064 NE R9 R8 R9
0x78260003, // 0065 JMPF R9 #006A
0x8C241127, // 0066 GETMET R9 R8 K39
0x5C2C0400, // 0067 MOVE R11 R2
0x5C300600, // 0068 MOVE R12 R3
0x7C240600, // 0069 CALL R9 3
0x80041000, // 006A RET 1 R8
0x80000000, // 006B RET 0
( &(const binstruction[109]) { /* code */
0xA4123800, // 0000 IMPORT R4 K28
0x84140000, // 0001 CLOSURE R5 P0
0x4C180000, // 0002 LDNIL R6
0x8C1C011D, // 0003 GETMET R7 R0 K29
0x7C1C0200, // 0004 CALL R7 1
0x8C20011E, // 0005 GETMET R8 R0 K30
0x8828011F, // 0006 GETMBR R10 R0 K31
0x7C200400, // 0007 CALL R8 2
0x6024000C, // 0008 GETGBL R9 G12
0x5C281000, // 0009 MOVE R10 R8
0x7C240200, // 000A CALL R9 1
0x18241320, // 000B LE R9 R9 K32
0x78260001, // 000C JMPF R9 #000F
0x4C240000, // 000D LDNIL R9
0x80041200, // 000E RET 1 R9
0x1C240321, // 000F EQ R9 R1 K33
0x78260009, // 0010 JMPF R9 #001B
0x5C240A00, // 0011 MOVE R9 R5
0x60280009, // 0012 GETGBL R10 G9
0x882C0F21, // 0013 GETMBR R11 R7 K33
0x7C280200, // 0014 CALL R10 1
0x542DFFFE, // 0015 LDINT R11 -1
0x942C100B, // 0016 GETIDX R11 R8 R11
0x5C301000, // 0017 MOVE R12 R8
0x7C240600, // 0018 CALL R9 3
0x5C181200, // 0019 MOVE R6 R9
0x70020041, // 001A JMP #005D
0x1C240322, // 001B EQ R9 R1 K34
0x78260008, // 001C JMPF R9 #0026
0x5C240A00, // 001D MOVE R9 R5
0x60280009, // 001E GETGBL R10 G9
0x882C0F22, // 001F GETMBR R11 R7 K34
0x7C280200, // 0020 CALL R10 1
0x942C1120, // 0021 GETIDX R11 R8 K32
0x5C301000, // 0022 MOVE R12 R8
0x7C240600, // 0023 CALL R9 3
0x5C181200, // 0024 MOVE R6 R9
0x70020036, // 0025 JMP #005D
0x1C240323, // 0026 EQ R9 R1 K35
0x7826000B, // 0027 JMPF R9 #0034
0x5C240A00, // 0028 MOVE R9 R5
0x60280009, // 0029 GETGBL R10 G9
0x882C0F23, // 002A GETMBR R11 R7 K35
0x7C280200, // 002B CALL R10 1
0x8C2C011E, // 002C GETMET R11 R0 K30
0x4C340000, // 002D LDNIL R13
0x7C2C0400, // 002E CALL R11 2
0x942C1706, // 002F GETIDX R11 R11 K6
0x5C301000, // 0030 MOVE R12 R8
0x7C240600, // 0031 CALL R9 3
0x5C181200, // 0032 MOVE R6 R9
0x70020028, // 0033 JMP #005D
0x1C240324, // 0034 EQ R9 R1 K36
0x78260017, // 0035 JMPF R9 #004E
0x5C240A00, // 0036 MOVE R9 R5
0x60280009, // 0037 GETGBL R10 G9
0x882C0F23, // 0038 GETMBR R11 R7 K35
0x7C280200, // 0039 CALL R10 1
0x8C2C011E, // 003A GETMET R11 R0 K30
0x4C340000, // 003B LDNIL R13
0x7C2C0400, // 003C CALL R11 2
0x942C1706, // 003D GETIDX R11 R11 K6
0x5C301000, // 003E MOVE R12 R8
0x7C240600, // 003F CALL R9 3
0x5C181200, // 0040 MOVE R6 R9
0x8C240F03, // 0041 GETMET R9 R7 K3
0x7C240200, // 0042 CALL R9 1
0x1C240C09, // 0043 EQ R9 R6 R9
0x78260007, // 0044 JMPF R9 #004D
0x5C240A00, // 0045 MOVE R9 R5
0x60280009, // 0046 GETGBL R10 G9
0x882C0F22, // 0047 GETMBR R11 R7 K34
0x7C280200, // 0048 CALL R10 1
0x942C1120, // 0049 GETIDX R11 R8 K32
0x5C301000, // 004A MOVE R12 R8
0x7C240600, // 004B CALL R9 3
0x5C181200, // 004C MOVE R6 R9
0x7002000E, // 004D JMP #005D
0x8C240925, // 004E GETMET R9 R4 K37
0x882C0126, // 004F GETMBR R11 R0 K38
0x5C300200, // 0050 MOVE R12 R1
0x7C240600, // 0051 CALL R9 3
0x78260009, // 0052 JMPF R9 #005D
0x5C240A00, // 0053 MOVE R9 R5
0x60280009, // 0054 GETGBL R10 G9
0x542DFFFE, // 0055 LDINT R11 -1
0x402E400B, // 0056 CONNECT R11 K32 R11
0x942C020B, // 0057 GETIDX R11 R1 R11
0x7C280200, // 0058 CALL R10 1
0x4C2C0000, // 0059 LDNIL R11
0x5C301000, // 005A MOVE R12 R8
0x7C240600, // 005B CALL R9 3
0x5C181200, // 005C MOVE R6 R9
0x4C240000, // 005D LDNIL R9
0x20240C09, // 005E NE R9 R6 R9
0x7826000B, // 005F JMPF R9 #006C
0x24240D06, // 0060 GT R9 R6 K6
0x78260009, // 0061 JMPF R9 #006C
0x88240127, // 0062 GETMBR R9 R0 K39
0x94241206, // 0063 GETIDX R9 R9 R6
0x4C280000, // 0064 LDNIL R10
0x2028120A, // 0065 NE R10 R9 R10
0x782A0003, // 0066 JMPF R10 #006B
0x8C281328, // 0067 GETMET R10 R9 K40
0x5C300400, // 0068 MOVE R12 R2
0x5C340600, // 0069 MOVE R13 R3
0x7C280600, // 006A CALL R10 3
0x80041200, // 006B RET 1 R9
0x80000000, // 006C RET 0
})
)
);
@ -12519,14 +12520,14 @@ be_local_closure(class_HASPmota__remove_page, /* name */
be_str_weak(_remove_page),
&be_const_str_solidified,
( &(const binstruction[37]) { /* code */
0x8C08011C, // 0000 GETMET R2 R0 K28
0x8C08011D, // 0000 GETMET R2 R0 K29
0x7C080200, // 0001 CALL R2 1
0x8C080503, // 0002 GETMET R2 R2 K3
0x7C080200, // 0003 CALL R2 1
0x1C0C0202, // 0004 EQ R3 R1 R2
0x780E0008, // 0005 JMPF R3 #000F
0x8C0C0128, // 0006 GETMET R3 R0 K40
0x58140023, // 0007 LDCONST R5 K35
0x8C0C0129, // 0006 GETMET R3 R0 K41
0x58140024, // 0007 LDCONST R5 K36
0x58180006, // 0008 LDCONST R6 K6
0x581C0006, // 0009 LDCONST R7 K6
0x7C0C0800, // 000A CALL R3 4
@ -12534,22 +12535,22 @@ be_local_closure(class_HASPmota__remove_page, /* name */
0x1C100604, // 000C EQ R4 R3 R4
0x78120000, // 000D JMPF R4 #000F
0x80000800, // 000E RET 0
0x880C0129, // 000F GETMBR R3 R0 K41
0x880C012A, // 000F GETMBR R3 R0 K42
0x1C0C0601, // 0010 EQ R3 R3 R1
0x780E0001, // 0011 JMPF R3 #0014
0x880C011E, // 0012 GETMBR R3 R0 K30
0x90025203, // 0013 SETMBR R0 K41 R3
0x880C0126, // 0014 GETMBR R3 R0 K38
0x8C0C072A, // 0015 GETMET R3 R3 K42
0x880C011F, // 0012 GETMBR R3 R0 K31
0x90025403, // 0013 SETMBR R0 K42 R3
0x880C0127, // 0014 GETMBR R3 R0 K39
0x8C0C072B, // 0015 GETMET R3 R3 K43
0x5C140200, // 0016 MOVE R5 R1
0x7C0C0400, // 0017 CALL R3 2
0x780E0003, // 0018 JMPF R3 #001D
0x880C0126, // 0019 GETMBR R3 R0 K38
0x8C0C072B, // 001A GETMET R3 R3 K43
0x880C0127, // 0019 GETMBR R3 R0 K39
0x8C0C072C, // 001A GETMET R3 R3 K44
0x5C140200, // 001B MOVE R5 R1
0x7C0C0400, // 001C CALL R3 2
0x600C0018, // 001D GETGBL R3 G24
0x5810002C, // 001E LDCONST R4 K44
0x5810002D, // 001E LDCONST R4 K45
0x5C140200, // 001F MOVE R5 R1
0x7C0C0400, // 0020 CALL R3 2
0xB8120000, // 0021 GETNGBL R4 K0
@ -12579,8 +12580,8 @@ be_local_closure(class_HASPmota_get_page_cur_parsing, /* name */
be_str_weak(get_page_cur_parsing),
&be_const_str_solidified,
( &(const binstruction[ 4]) { /* code */
0x88040126, // 0000 GETMBR R1 R0 K38
0x88080129, // 0001 GETMBR R2 R0 K41
0x88040127, // 0000 GETMBR R1 R0 K39
0x8808012A, // 0001 GETMBR R2 R0 K42
0x94040202, // 0002 GETIDX R1 R1 R2
0x80040200, // 0003 RET 1 R1
})
@ -12606,19 +12607,19 @@ be_local_closure(class_HASPmota__load, /* name */
be_str_weak(_load),
&be_const_str_solidified,
( &(const binstruction[99]) { /* code */
0xA40A5A00, // 0000 IMPORT R2 K45
0xA40E5C00, // 0001 IMPORT R3 K46
0xA40A5C00, // 0000 IMPORT R2 K46
0xA40E5E00, // 0001 IMPORT R3 K47
0x60100011, // 0002 GETGBL R4 G17
0x5C140200, // 0003 MOVE R5 R1
0x5818002F, // 0004 LDCONST R6 K47
0x58180030, // 0004 LDCONST R6 K48
0x7C100400, // 0005 CALL R4 2
0x8C140930, // 0006 GETMET R5 R4 K48
0x8C140931, // 0006 GETMET R5 R4 K49
0x7C140200, // 0007 CALL R5 1
0x8C180931, // 0008 GETMET R6 R4 K49
0x8C180932, // 0008 GETMET R6 R4 K50
0x7C180200, // 0009 CALL R6 1
0x8C180532, // 000A GETMET R6 R2 K50
0x8C180533, // 000A GETMET R6 R2 K51
0x5C200A00, // 000B MOVE R8 R5
0x58240033, // 000C LDCONST R9 K51
0x58240034, // 000C LDCONST R9 K52
0x7C180600, // 000D CALL R6 3
0x4C100000, // 000E LDNIL R4
0x4C140000, // 000F LDNIL R5
@ -12627,66 +12628,66 @@ be_local_closure(class_HASPmota__load, /* name */
0x7C1C0200, // 0012 CALL R7 1
0x241C0F06, // 0013 GT R7 R7 K6
0x781E0039, // 0014 JMPF R7 #004F
0x8C1C0734, // 0015 GETMET R7 R3 K52
0x8C1C0735, // 0015 GETMET R7 R3 K53
0x94240D06, // 0016 GETIDX R9 R6 K6
0x7C1C0400, // 0017 CALL R7 2
0x60200004, // 0018 GETGBL R8 G4
0x5C240E00, // 0019 MOVE R9 R7
0x7C200200, // 001A CALL R8 1
0x1C201135, // 001B EQ R8 R8 K53
0x1C201136, // 001B EQ R8 R8 K54
0x7822001B, // 001C JMPF R8 #0039
0xB8226C00, // 001D GETNGBL R8 K54
0x8C201137, // 001E GETMET R8 R8 K55
0xB8226E00, // 001D GETNGBL R8 K55
0x8C201138, // 001E GETMET R8 R8 K56
0x542A0003, // 001F LDINT R10 4
0x7C200400, // 0020 CALL R8 2
0x78220007, // 0021 JMPF R8 #002A
0xB8226C00, // 0022 GETNGBL R8 K54
0x8C201138, // 0023 GETMET R8 R8 K56
0xB8226E00, // 0022 GETNGBL R8 K55
0x8C201139, // 0023 GETMET R8 R8 K57
0x60280018, // 0024 GETGBL R10 G24
0x582C0039, // 0025 LDCONST R11 K57
0x582C003A, // 0025 LDCONST R11 K58
0x94300D06, // 0026 GETIDX R12 R6 K6
0x7C280400, // 0027 CALL R10 2
0x542E0003, // 0028 LDINT R11 4
0x7C200600, // 0029 CALL R8 3
0x8C20013A, // 002A GETMET R8 R0 K58
0x8C20013B, // 002A GETMET R8 R0 K59
0x5C280E00, // 002B MOVE R10 R7
0x7C200400, // 002C CALL R8 2
0x88200126, // 002D GETMBR R8 R0 K38
0x88200127, // 002D GETMBR R8 R0 K39
0x4C240000, // 002E LDNIL R9
0x1C201009, // 002F EQ R8 R8 R9
0x78220000, // 0030 JMPF R8 #0032
0xB006773C, // 0031 RAISE 1 K59 K60
0x8C20013D, // 0032 GETMET R8 R0 K61
0xB006793D, // 0031 RAISE 1 K60 K61
0x8C20013E, // 0032 GETMET R8 R0 K62
0x5C280E00, // 0033 MOVE R10 R7
0x882C0126, // 0034 GETMBR R11 R0 K38
0x88300129, // 0035 GETMBR R12 R0 K41
0x882C0127, // 0034 GETMBR R11 R0 K39
0x8830012A, // 0035 GETMBR R12 R0 K42
0x942C160C, // 0036 GETIDX R11 R11 R12
0x7C200600, // 0037 CALL R8 3
0x70020010, // 0038 JMP #004A
0x6020000C, // 0039 GETGBL R8 G12
0x8C24053E, // 003A GETMET R9 R2 K62
0x8C24053F, // 003A GETMET R9 R2 K63
0x942C0D06, // 003B GETIDX R11 R6 K6
0x5830003F, // 003C LDCONST R12 K63
0x58340040, // 003D LDCONST R13 K64
0x58300040, // 003C LDCONST R12 K64
0x58340041, // 003D LDCONST R13 K65
0x7C240800, // 003E CALL R9 4
0x7C200200, // 003F CALL R8 1
0x24201106, // 0040 GT R8 R8 K6
0x78220007, // 0041 JMPF R8 #004A
0xB8226C00, // 0042 GETNGBL R8 K54
0x8C201138, // 0043 GETMET R8 R8 K56
0xB8226E00, // 0042 GETNGBL R8 K55
0x8C201139, // 0043 GETMET R8 R8 K57
0x60280018, // 0044 GETGBL R10 G24
0x582C0041, // 0045 LDCONST R11 K65
0x582C0042, // 0045 LDCONST R11 K66
0x94300D06, // 0046 GETIDX R12 R6 K6
0x7C280400, // 0047 CALL R10 2
0x582C0042, // 0048 LDCONST R11 K66
0x582C0043, // 0048 LDCONST R11 K67
0x7C200600, // 0049 CALL R8 3
0x4C1C0000, // 004A LDNIL R7
0x8C200D2B, // 004B GETMET R8 R6 K43
0x8C200D2C, // 004B GETMET R8 R6 K44
0x58280006, // 004C LDCONST R10 K6
0x7C200400, // 004D CALL R8 2
0x7001FFC0, // 004E JMP #0010
0x4C180000, // 004F LDNIL R6
0x8C1C011D, // 0050 GETMET R7 R0 K29
0x8C1C011E, // 0050 GETMET R7 R0 K30
0x4C240000, // 0051 LDNIL R9
0x7C1C0400, // 0052 CALL R7 2
0x6020000C, // 0053 GETGBL R8 G12
@ -12694,13 +12695,13 @@ be_local_closure(class_HASPmota__load, /* name */
0x7C200200, // 0055 CALL R8 1
0x1C201106, // 0056 EQ R8 R8 K6
0x78220000, // 0057 JMPF R8 #0059
0xB0067743, // 0058 RAISE 1 K59 K67
0xB0067944, // 0058 RAISE 1 K60 K68
0x94200F06, // 0059 GETIDX R8 R7 K6
0x90023C08, // 005A SETMBR R0 K30 R8
0x88200126, // 005B GETMBR R8 R0 K38
0x8824011E, // 005C GETMBR R9 R0 K30
0x90023E08, // 005A SETMBR R0 K31 R8
0x88200127, // 005B GETMBR R8 R0 K39
0x8824011F, // 005C GETMBR R9 R0 K31
0x94201009, // 005D GETIDX R8 R8 R9
0x8C201127, // 005E GETMET R8 R8 K39
0x8C201128, // 005E GETMET R8 R8 K40
0x58280006, // 005F LDCONST R10 K6
0x582C0006, // 0060 LDCONST R11 K6
0x7C200600, // 0061 CALL R8 3
@ -12728,13 +12729,13 @@ be_local_closure(class_HASPmota_init, /* name */
be_str_weak(init),
&be_const_str_solidified,
( &(const binstruction[ 8]) { /* code */
0x8C040144, // 0000 GETMET R1 R0 K68
0x8C040145, // 0000 GETMET R1 R0 K69
0x7C040200, // 0001 CALL R1 1
0xA4068A00, // 0002 IMPORT R1 K69
0xA4063800, // 0002 IMPORT R1 K28
0x8C080346, // 0003 GETMET R2 R1 K70
0x58100047, // 0004 LDCONST R4 K71
0x7C080400, // 0005 CALL R2 2
0x90024802, // 0006 SETMBR R0 K36 R2
0x90024C02, // 0006 SETMBR R0 K38 R2
0x80000000, // 0007 RET 0
})
)
@ -12771,19 +12772,19 @@ be_local_closure(class_HASPmota_parse_page, /* name */
0x60080009, // 0009 GETGBL R2 G9
0x940C0349, // 000A GETIDX R3 R1 K73
0x7C080200, // 000B CALL R2 1
0x90025202, // 000C SETMBR R0 K41 R2
0x880C011E, // 000D GETMBR R3 R0 K30
0x90025402, // 000C SETMBR R0 K42 R2
0x880C011F, // 000D GETMBR R3 R0 K31
0x4C100000, // 000E LDNIL R4
0x1C0C0604, // 000F EQ R3 R3 R4
0x780E0000, // 0010 JMPF R3 #0012
0x90023C02, // 0011 SETMBR R0 K30 R2
0x880C0126, // 0012 GETMBR R3 R0 K38
0x8C0C072A, // 0013 GETMET R3 R3 K42
0x90023E02, // 0011 SETMBR R0 K31 R2
0x880C0127, // 0012 GETMBR R3 R0 K39
0x8C0C072B, // 0013 GETMET R3 R3 K43
0x5C140400, // 0014 MOVE R5 R2
0x7C0C0400, // 0015 CALL R3 2
0x740E0006, // 0016 JMPT R3 #001E
0x880C014B, // 0017 GETMBR R3 R0 K75
0x88100126, // 0018 GETMBR R4 R0 K38
0x88100127, // 0018 GETMBR R4 R0 K39
0x5C140600, // 0019 MOVE R5 R3
0x5C180400, // 001A MOVE R6 R2
0x5C1C0000, // 001B MOVE R7 R0
@ -12798,25 +12799,25 @@ be_local_closure(class_HASPmota_parse_page, /* name */
0x7C0C0200, // 0024 CALL R3 1
0x60100009, // 0025 GETGBL R4 G9
0x8C140302, // 0026 GETMET R5 R1 K2
0x581C0020, // 0027 LDCONST R7 K32
0x581C0021, // 0027 LDCONST R7 K33
0x4C200000, // 0028 LDNIL R8
0x7C140600, // 0029 CALL R5 3
0x7C100200, // 002A CALL R4 1
0x900E4004, // 002B SETMBR R3 K32 R4
0x900E4204, // 002B SETMBR R3 K33 R4
0x60100009, // 002C GETGBL R4 G9
0x8C140302, // 002D GETMET R5 R1 K2
0x581C0021, // 002E LDCONST R7 K33
0x581C0022, // 002E LDCONST R7 K34
0x4C200000, // 002F LDNIL R8
0x7C140600, // 0030 CALL R5 3
0x7C100200, // 0031 CALL R4 1
0x900E4204, // 0032 SETMBR R3 K33 R4
0x900E4404, // 0032 SETMBR R3 K34 R4
0x60100009, // 0033 GETGBL R4 G9
0x8C140302, // 0034 GETMET R5 R1 K2
0x581C0022, // 0035 LDCONST R7 K34
0x581C0023, // 0035 LDCONST R7 K35
0x4C200000, // 0036 LDNIL R8
0x7C140600, // 0037 CALL R5 3
0x7C100200, // 0038 CALL R4 1
0x900E4404, // 0039 SETMBR R3 K34 R4
0x900E4604, // 0039 SETMBR R3 K35 R4
0x80000000, // 003A RET 0
})
)
@ -12841,26 +12842,26 @@ be_local_closure(class_HASPmota_parse, /* name */
be_str_weak(parse),
&be_const_str_solidified,
( &(const binstruction[21]) { /* code */
0xA40A5C00, // 0000 IMPORT R2 K46
0x8C0C0534, // 0001 GETMET R3 R2 K52
0xA40A5E00, // 0000 IMPORT R2 K47
0x8C0C0535, // 0001 GETMET R3 R2 K53
0x5C140200, // 0002 MOVE R5 R1
0x7C0C0400, // 0003 CALL R3 2
0x60100004, // 0004 GETGBL R4 G4
0x5C140600, // 0005 MOVE R5 R3
0x7C100200, // 0006 CALL R4 1
0x1C100935, // 0007 EQ R4 R4 K53
0x1C100936, // 0007 EQ R4 R4 K54
0x78120009, // 0008 JMPF R4 #0013
0x8C10013A, // 0009 GETMET R4 R0 K58
0x8C10013B, // 0009 GETMET R4 R0 K59
0x5C180600, // 000A MOVE R6 R3
0x7C100400, // 000B CALL R4 2
0x8C10013D, // 000C GETMET R4 R0 K61
0x8C10013E, // 000C GETMET R4 R0 K62
0x5C180600, // 000D MOVE R6 R3
0x881C0126, // 000E GETMBR R7 R0 K38
0x8820011E, // 000F GETMBR R8 R0 K30
0x881C0127, // 000E GETMBR R7 R0 K39
0x8820011F, // 000F GETMBR R8 R0 K31
0x941C0E08, // 0010 GETIDX R7 R7 R8
0x7C100600, // 0011 CALL R4 3
0x70020000, // 0012 JMP #0014
0xB006774C, // 0013 RAISE 1 K59 K76
0xB006794C, // 0013 RAISE 1 K60 K76
0x80000000, // 0014 RET 0
})
)
@ -12985,7 +12986,7 @@ be_local_closure(class_HASPmota_start, /* name */
0x7C140600, // 0061 CALL R5 3
0x60140013, // 0062 GETGBL R5 G19
0x7C140000, // 0063 CALL R5 0
0x90024C05, // 0064 SETMBR R0 K38 R5
0x90024E05, // 0064 SETMBR R0 K39 R5
0x8C14016B, // 0065 GETMET R5 R0 K107
0x5C1C0400, // 0066 MOVE R7 R2
0x7C140400, // 0067 CALL R5 2
@ -13013,7 +13014,7 @@ be_local_closure(class_HASPmota_get_pages, /* name */
be_str_weak(get_pages),
&be_const_str_solidified,
( &(const binstruction[ 4]) { /* code */
0x8C04011D, // 0000 GETMET R1 R0 K29
0x8C04011E, // 0000 GETMET R1 R0 K30
0x4C0C0000, // 0001 LDNIL R3
0x7C040400, // 0002 CALL R1 2
0x80040200, // 0003 RET 1 R1
@ -13051,17 +13052,17 @@ be_local_closure(class_HASPmota_sort, /* name */
0x5C100400, // 0008 MOVE R4 R2
0x24140906, // 0009 GT R5 R4 K6
0x78160008, // 000A JMPF R5 #0014
0x0414091F, // 000B SUB R5 R4 K31
0x04140920, // 000B SUB R5 R4 K32
0x94140005, // 000C GETIDX R5 R0 R5
0x24140A03, // 000D GT R5 R5 R3
0x78160004, // 000E JMPF R5 #0014
0x0414091F, // 000F SUB R5 R4 K31
0x04140920, // 000F SUB R5 R4 K32
0x94140005, // 0010 GETIDX R5 R0 R5
0x98000805, // 0011 SETIDX R0 R4 R5
0x0410091F, // 0012 SUB R4 R4 K31
0x04100920, // 0012 SUB R4 R4 K32
0x7001FFF4, // 0013 JMP #0009
0x98000803, // 0014 SETIDX R0 R4 R3
0x0008051F, // 0015 ADD R2 R2 K31
0x00080520, // 0015 ADD R2 R2 K32
0x7001FFEA, // 0016 JMP #0002
0x80040000, // 0017 RET 1 R0
})
@ -13092,7 +13093,7 @@ be_local_closure(class_HASPmota_do_action, /* name */
0x200C0403, // 0002 NE R3 R2 R3
0x780E0000, // 0003 JMPF R3 #0005
0x80000600, // 0004 RET 0
0x8C0C0128, // 0005 GETMET R3 R0 K40
0x8C0C0129, // 0005 GETMET R3 R0 K41
0x8814036E, // 0006 GETMBR R5 R1 K110
0x7C0C0400, // 0007 CALL R3 2
0x80000000, // 0008 RET 0
@ -13147,7 +13148,7 @@ be_local_closure(class_HASPmota_event_dispatch, /* name */
0x60180004, // 0019 GETGBL R6 G4
0x5C1C0A00, // 001A MOVE R7 R5
0x7C180200, // 001B CALL R6 1
0x1C180D35, // 001C EQ R6 R6 K53
0x1C180D36, // 001C EQ R6 R6 K54
0x781A0002, // 001D JMPF R6 #0021
0x8C180B75, // 001E GETMET R6 R5 K117
0x88200170, // 001F GETMBR R8 R0 K112
@ -13282,8 +13283,8 @@ be_local_closure(class_HASPmota_get_page_cur, /* name */
be_str_weak(get_page_cur),
&be_const_str_solidified,
( &(const binstruction[ 4]) { /* code */
0x88040126, // 0000 GETMBR R1 R0 K38
0x8808011E, // 0001 GETMBR R2 R0 K30
0x88040127, // 0000 GETMBR R1 R0 K39
0x8808011F, // 0001 GETMBR R2 R0 K31
0x94040202, // 0002 GETIDX R1 R1 R2
0x80040200, // 0003 RET 1 R1
})
@ -13309,7 +13310,7 @@ be_local_closure(class_HASPmota_page_dir_to, /* name */
be_str_weak(page_dir_to),
&be_const_str_solidified,
( &(const binstruction[32]) { /* code */
0x8C08011D, // 0000 GETMET R2 R0 K29
0x8C08011E, // 0000 GETMET R2 R0 K30
0x58100006, // 0001 LDCONST R4 K6
0x7C080400, // 0002 CALL R2 2
0x4C0C0000, // 0003 LDNIL R3
@ -13319,12 +13320,12 @@ be_local_closure(class_HASPmota_page_dir_to, /* name */
0x600C000C, // 0007 GETGBL R3 G12
0x5C100400, // 0008 MOVE R4 R2
0x7C0C0200, // 0009 CALL R3 1
0x1810071F, // 000A LE R4 R3 K31
0x18100720, // 000A LE R4 R3 K32
0x78120000, // 000B JMPF R4 #000D
0x80060C00, // 000C RET 1 K6
0x1C100742, // 000D EQ R4 R3 K66
0x1C100743, // 000D EQ R4 R3 K67
0x78120000, // 000E JMPF R4 #0010
0x80063E00, // 000F RET 1 K31
0x80064000, // 000F RET 1 K32
0x8C100502, // 0010 GETMET R4 R2 K2
0x5C180200, // 0011 MOVE R6 R1
0x7C100400, // 0012 CALL R4 2
@ -13332,11 +13333,11 @@ be_local_closure(class_HASPmota_page_dir_to, /* name */
0x1C140805, // 0014 EQ R5 R4 R5
0x78160000, // 0015 JMPF R5 #0017
0x80060C00, // 0016 RET 1 K6
0x0014071F, // 0017 ADD R5 R3 K31
0x0C140B42, // 0018 DIV R5 R5 K66
0x00140720, // 0017 ADD R5 R3 K32
0x0C140B43, // 0018 DIV R5 R5 K67
0x18140805, // 0019 LE R5 R4 R5
0x78160001, // 001A JMPF R5 #001D
0x80063E00, // 001B RET 1 K31
0x80064000, // 001B RET 1 K32
0x70020001, // 001C JMP #001F
0x5415FFFE, // 001D LDINT R5 -1
0x80040A00, // 001E RET 1 R5
@ -13368,9 +13369,9 @@ be_local_closure(class_HASPmota_pages_list_sorted, /* name */
0x7C080000, // 0001 CALL R2 0
0x1C0C0306, // 0002 EQ R3 R1 K6
0x780E0000, // 0003 JMPF R3 #0005
0x8804011E, // 0004 GETMBR R1 R0 K30
0x8804011F, // 0004 GETMBR R1 R0 K31
0x600C0010, // 0005 GETGBL R3 G16
0x88100126, // 0006 GETMBR R4 R0 K38
0x88100127, // 0006 GETMBR R4 R0 K39
0x8C100914, // 0007 GETMET R4 R4 K20
0x7C100200, // 0008 CALL R4 1
0x7C0C0200, // 0009 CALL R3 1
@ -13407,7 +13408,7 @@ be_local_closure(class_HASPmota_pages_list_sorted, /* name */
0x4C140000, // 0028 LDNIL R5
0x80040A00, // 0029 RET 1 R5
0x00140803, // 002A ADD R5 R4 R3
0x04140B1F, // 002B SUB R5 R5 K31
0x04140B20, // 002B SUB R5 R5 K32
0x40140805, // 002C CONNECT R5 R4 R5
0x94080405, // 002D GETIDX R2 R2 R5
0x80040400, // 002E RET 1 R2