1 #include "core__fixed_ints.sep.0.h"
2 /* method fixed_ints#Float#to_i8 for (self: Float): Int8 */
3 int8_t core__fixed_ints___Float___Numeric__to_i8(double self
) {
4 int8_t var
/* : Int8 */;
5 int8_t var1
/* : Int8 */;
12 /* method fixed_ints#Float#to_i8 for (self: Numeric): Int8 */
13 int8_t VIRTUAL_core__fixed_ints___Float___Numeric__to_i8(val
* self
) {
14 int8_t var
/* : Int8 */;
15 int8_t var1
/* : Int8 */;
16 double var3
/* : Float */;
17 int8_t var4
/* : Int8 */;
18 { /* Inline fixed_ints#Float#to_i8 (self) on <self:Numeric(Float)> */
19 var3
= ((struct instance_core__Float
*)self
)->value
; /* autounbox from Numeric to Float */;
29 /* method fixed_ints#Float#to_i16 for (self: Float): Int16 */
30 int16_t core__fixed_ints___Float___Numeric__to_i16(double self
) {
31 int16_t var
/* : Int16 */;
32 int16_t var1
/* : Int16 */;
39 /* method fixed_ints#Float#to_i16 for (self: Numeric): Int16 */
40 int16_t VIRTUAL_core__fixed_ints___Float___Numeric__to_i16(val
* self
) {
41 int16_t var
/* : Int16 */;
42 int16_t var1
/* : Int16 */;
43 double var3
/* : Float */;
44 int16_t var4
/* : Int16 */;
45 { /* Inline fixed_ints#Float#to_i16 (self) on <self:Numeric(Float)> */
46 var3
= ((struct instance_core__Float
*)self
)->value
; /* autounbox from Numeric to Float */;
56 /* method fixed_ints#Float#to_u16 for (self: Float): UInt16 */
57 uint16_t core__fixed_ints___Float___Numeric__to_u16(double self
) {
58 uint16_t var
/* : UInt16 */;
59 uint16_t var1
/* : UInt16 */;
60 var1
= (uint16_t)self
;
66 /* method fixed_ints#Float#to_u16 for (self: Numeric): UInt16 */
67 uint16_t VIRTUAL_core__fixed_ints___Float___Numeric__to_u16(val
* self
) {
68 uint16_t var
/* : UInt16 */;
69 uint16_t var1
/* : UInt16 */;
70 double var3
/* : Float */;
71 uint16_t var4
/* : UInt16 */;
72 { /* Inline fixed_ints#Float#to_u16 (self) on <self:Numeric(Float)> */
73 var3
= ((struct instance_core__Float
*)self
)->value
; /* autounbox from Numeric to Float */;
74 var4
= (uint16_t)var3
;
83 /* method fixed_ints#Float#to_i32 for (self: Float): Int32 */
84 int32_t core__fixed_ints___Float___Numeric__to_i32(double self
) {
85 int32_t var
/* : Int32 */;
86 int32_t var1
/* : Int32 */;
93 /* method fixed_ints#Float#to_i32 for (self: Numeric): Int32 */
94 int32_t VIRTUAL_core__fixed_ints___Float___Numeric__to_i32(val
* self
) {
95 int32_t var
/* : Int32 */;
96 int32_t var1
/* : Int32 */;
97 double var3
/* : Float */;
98 int32_t var4
/* : Int32 */;
99 { /* Inline fixed_ints#Float#to_i32 (self) on <self:Numeric(Float)> */
100 var3
= ((struct instance_core__Float
*)self
)->value
; /* autounbox from Numeric to Float */;
101 var4
= (int32_t)var3
;
110 /* method fixed_ints#Float#to_u32 for (self: Float): UInt32 */
111 uint32_t core__fixed_ints___Float___Numeric__to_u32(double self
) {
112 uint32_t var
/* : UInt32 */;
113 uint32_t var1
/* : UInt32 */;
114 var1
= (uint32_t)self
;
120 /* method fixed_ints#Float#to_u32 for (self: Numeric): UInt32 */
121 uint32_t VIRTUAL_core__fixed_ints___Float___Numeric__to_u32(val
* self
) {
122 uint32_t var
/* : UInt32 */;
123 uint32_t var1
/* : UInt32 */;
124 double var3
/* : Float */;
125 uint32_t var4
/* : UInt32 */;
126 { /* Inline fixed_ints#Float#to_u32 (self) on <self:Numeric(Float)> */
127 var3
= ((struct instance_core__Float
*)self
)->value
; /* autounbox from Numeric to Float */;
128 var4
= (uint32_t)var3
;
137 /* method fixed_ints#Byte#to_i8 for (self: Byte): Int8 */
138 int8_t core__fixed_ints___Byte___Numeric__to_i8(unsigned char self
) {
139 int8_t var
/* : Int8 */;
140 int8_t var1
/* : Int8 */;
147 /* method fixed_ints#Byte#to_i8 for (self: Numeric): Int8 */
148 int8_t VIRTUAL_core__fixed_ints___Byte___Numeric__to_i8(val
* self
) {
149 int8_t var
/* : Int8 */;
150 int8_t var1
/* : Int8 */;
151 unsigned char var3
/* : Byte */;
152 int8_t var4
/* : Int8 */;
153 { /* Inline fixed_ints#Byte#to_i8 (self) on <self:Numeric(Byte)> */
154 var3
= ((struct instance_core__Byte
*)self
)->value
; /* autounbox from Numeric to Byte */;
164 /* method fixed_ints#Byte#to_i16 for (self: Byte): Int16 */
165 int16_t core__fixed_ints___Byte___Numeric__to_i16(unsigned char self
) {
166 int16_t var
/* : Int16 */;
167 int16_t var1
/* : Int16 */;
168 var1
= (int16_t)self
;
174 /* method fixed_ints#Byte#to_i16 for (self: Numeric): Int16 */
175 int16_t VIRTUAL_core__fixed_ints___Byte___Numeric__to_i16(val
* self
) {
176 int16_t var
/* : Int16 */;
177 int16_t var1
/* : Int16 */;
178 unsigned char var3
/* : Byte */;
179 int16_t var4
/* : Int16 */;
180 { /* Inline fixed_ints#Byte#to_i16 (self) on <self:Numeric(Byte)> */
181 var3
= ((struct instance_core__Byte
*)self
)->value
; /* autounbox from Numeric to Byte */;
182 var4
= (int16_t)var3
;
191 /* method fixed_ints#Byte#to_u16 for (self: Byte): UInt16 */
192 uint16_t core__fixed_ints___Byte___Numeric__to_u16(unsigned char self
) {
193 uint16_t var
/* : UInt16 */;
194 uint16_t var1
/* : UInt16 */;
195 var1
= (uint16_t)self
;
201 /* method fixed_ints#Byte#to_u16 for (self: Numeric): UInt16 */
202 uint16_t VIRTUAL_core__fixed_ints___Byte___Numeric__to_u16(val
* self
) {
203 uint16_t var
/* : UInt16 */;
204 uint16_t var1
/* : UInt16 */;
205 unsigned char var3
/* : Byte */;
206 uint16_t var4
/* : UInt16 */;
207 { /* Inline fixed_ints#Byte#to_u16 (self) on <self:Numeric(Byte)> */
208 var3
= ((struct instance_core__Byte
*)self
)->value
; /* autounbox from Numeric to Byte */;
209 var4
= (uint16_t)var3
;
218 /* method fixed_ints#Byte#to_i32 for (self: Byte): Int32 */
219 int32_t core__fixed_ints___Byte___Numeric__to_i32(unsigned char self
) {
220 int32_t var
/* : Int32 */;
221 int32_t var1
/* : Int32 */;
222 var1
= (int32_t)self
;
228 /* method fixed_ints#Byte#to_i32 for (self: Numeric): Int32 */
229 int32_t VIRTUAL_core__fixed_ints___Byte___Numeric__to_i32(val
* self
) {
230 int32_t var
/* : Int32 */;
231 int32_t var1
/* : Int32 */;
232 unsigned char var3
/* : Byte */;
233 int32_t var4
/* : Int32 */;
234 { /* Inline fixed_ints#Byte#to_i32 (self) on <self:Numeric(Byte)> */
235 var3
= ((struct instance_core__Byte
*)self
)->value
; /* autounbox from Numeric to Byte */;
236 var4
= (int32_t)var3
;
245 /* method fixed_ints#Byte#to_u32 for (self: Byte): UInt32 */
246 uint32_t core__fixed_ints___Byte___Numeric__to_u32(unsigned char self
) {
247 uint32_t var
/* : UInt32 */;
248 uint32_t var1
/* : UInt32 */;
249 var1
= (uint32_t)self
;
255 /* method fixed_ints#Byte#to_u32 for (self: Numeric): UInt32 */
256 uint32_t VIRTUAL_core__fixed_ints___Byte___Numeric__to_u32(val
* self
) {
257 uint32_t var
/* : UInt32 */;
258 uint32_t var1
/* : UInt32 */;
259 unsigned char var3
/* : Byte */;
260 uint32_t var4
/* : UInt32 */;
261 { /* Inline fixed_ints#Byte#to_u32 (self) on <self:Numeric(Byte)> */
262 var3
= ((struct instance_core__Byte
*)self
)->value
; /* autounbox from Numeric to Byte */;
263 var4
= (uint32_t)var3
;
272 /* method fixed_ints#Int#to_i8 for (self: Int): Int8 */
273 int8_t core__fixed_ints___Int___Numeric__to_i8(long self
) {
274 int8_t var
/* : Int8 */;
275 int8_t var1
/* : Int8 */;
282 /* method fixed_ints#Int#to_i8 for (self: Numeric): Int8 */
283 int8_t VIRTUAL_core__fixed_ints___Int___Numeric__to_i8(val
* self
) {
284 int8_t var
/* : Int8 */;
285 int8_t var1
/* : Int8 */;
286 long var3
/* : Int */;
287 int8_t var4
/* : Int8 */;
288 { /* Inline fixed_ints#Int#to_i8 (self) on <self:Numeric(Int)> */
289 var3
= (long)(self
)>>2;
299 /* method fixed_ints#Int#to_i16 for (self: Int): Int16 */
300 int16_t core__fixed_ints___Int___Numeric__to_i16(long self
) {
301 int16_t var
/* : Int16 */;
302 int16_t var1
/* : Int16 */;
303 var1
= (int16_t)self
;
309 /* method fixed_ints#Int#to_i16 for (self: Numeric): Int16 */
310 int16_t VIRTUAL_core__fixed_ints___Int___Numeric__to_i16(val
* self
) {
311 int16_t var
/* : Int16 */;
312 int16_t var1
/* : Int16 */;
313 long var3
/* : Int */;
314 int16_t var4
/* : Int16 */;
315 { /* Inline fixed_ints#Int#to_i16 (self) on <self:Numeric(Int)> */
316 var3
= (long)(self
)>>2;
317 var4
= (int16_t)var3
;
326 /* method fixed_ints#Int#to_u16 for (self: Int): UInt16 */
327 uint16_t core__fixed_ints___Int___Numeric__to_u16(long self
) {
328 uint16_t var
/* : UInt16 */;
329 uint16_t var1
/* : UInt16 */;
330 var1
= (uint16_t)self
;
336 /* method fixed_ints#Int#to_u16 for (self: Numeric): UInt16 */
337 uint16_t VIRTUAL_core__fixed_ints___Int___Numeric__to_u16(val
* self
) {
338 uint16_t var
/* : UInt16 */;
339 uint16_t var1
/* : UInt16 */;
340 long var3
/* : Int */;
341 uint16_t var4
/* : UInt16 */;
342 { /* Inline fixed_ints#Int#to_u16 (self) on <self:Numeric(Int)> */
343 var3
= (long)(self
)>>2;
344 var4
= (uint16_t)var3
;
353 /* method fixed_ints#Int#to_i32 for (self: Int): Int32 */
354 int32_t core__fixed_ints___Int___Numeric__to_i32(long self
) {
355 int32_t var
/* : Int32 */;
356 int32_t var1
/* : Int32 */;
357 var1
= (int32_t)self
;
363 /* method fixed_ints#Int#to_i32 for (self: Numeric): Int32 */
364 int32_t VIRTUAL_core__fixed_ints___Int___Numeric__to_i32(val
* self
) {
365 int32_t var
/* : Int32 */;
366 int32_t var1
/* : Int32 */;
367 long var3
/* : Int */;
368 int32_t var4
/* : Int32 */;
369 { /* Inline fixed_ints#Int#to_i32 (self) on <self:Numeric(Int)> */
370 var3
= (long)(self
)>>2;
371 var4
= (int32_t)var3
;
380 /* method fixed_ints#Int#to_u32 for (self: Int): UInt32 */
381 uint32_t core__fixed_ints___Int___Numeric__to_u32(long self
) {
382 uint32_t var
/* : UInt32 */;
383 uint32_t var1
/* : UInt32 */;
384 var1
= (uint32_t)self
;
390 /* method fixed_ints#Int#to_u32 for (self: Numeric): UInt32 */
391 uint32_t VIRTUAL_core__fixed_ints___Int___Numeric__to_u32(val
* self
) {
392 uint32_t var
/* : UInt32 */;
393 uint32_t var1
/* : UInt32 */;
394 long var3
/* : Int */;
395 uint32_t var4
/* : UInt32 */;
396 { /* Inline fixed_ints#Int#to_u32 (self) on <self:Numeric(Int)> */
397 var3
= (long)(self
)>>2;
398 var4
= (uint32_t)var3
;
407 /* method fixed_ints#Int8#successor for (self: Int8, Int): Int8 */
408 int8_t core___core__Int8___core__kernel__Discrete__successor(int8_t self
, long p0
) {
409 int8_t var
/* : Int8 */;
410 long var_i
/* var i: Int */;
411 int8_t var1
/* : Int8 */;
412 int8_t var3
/* : Int8 */;
413 int8_t var4
/* : Int8 */;
414 short int var6
/* : Bool */;
417 const char* var_class_name
;
418 int8_t var7
/* : Int8 */;
421 { /* Inline fixed_ints#Int#to_i8 (var_i) on <var_i:Int> */
422 var3
= (int8_t)var_i
;
429 { /* Inline fixed_ints#Int8#+ (self,var1) on <self:Int8> */
430 /* Covariant cast for argument 0 (i) <var1:Int8> isa OTHER */
431 /* <var1:Int8> isa OTHER */
432 var6
= 1; /* easy <var1:Int8> isa OTHER*/
433 if (unlikely(!var6
)) {
434 var_class_name
= type_core__Int8
.name
;
435 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
436 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 122);
450 /* method fixed_ints#Int8#successor for (self: Discrete, Int): Discrete */
451 val
* VIRTUAL_core___core__Int8___core__kernel__Discrete__successor(val
* self
, long p0
) {
452 val
* var
/* : Discrete */;
453 int8_t var1
/* : Int8 */;
454 int8_t var2
/* : Int8 */;
455 val
* var3
/* : Discrete */;
456 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Discrete to Int8 */;
457 var1
= core___core__Int8___core__kernel__Discrete__successor(var2
, p0
);
458 var3
= BOX_core__Int8(var1
); /* autobox from Int8 to Discrete */
463 /* method fixed_ints#Int8#object_id for (self: Int8): Int */
464 long core___core__Int8___core__kernel__Object__object_id(int8_t self
) {
465 long var
/* : Int */;
466 long var1
/* : Int */;
473 /* method fixed_ints#Int8#object_id for (self: Object): Int */
474 long VIRTUAL_core___core__Int8___core__kernel__Object__object_id(val
* self
) {
475 long var
/* : Int */;
476 long var1
/* : Int */;
477 int8_t var3
/* : Int8 */;
478 long var4
/* : Int */;
479 { /* Inline fixed_ints#Int8#object_id (self) on <self:Object(Int8)> */
480 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Object to Int8 */;
490 /* method fixed_ints#Int8#hash for (self: Int8): Int */
491 long core___core__Int8___core__kernel__Object__hash(int8_t self
) {
492 long var
/* : Int */;
493 long var1
/* : Int */;
494 long var3
/* : Int */;
496 { /* Inline fixed_ints#Int8#to_i (self) on <self:Int8> */
508 /* method fixed_ints#Int8#hash for (self: Object): Int */
509 long VIRTUAL_core___core__Int8___core__kernel__Object__hash(val
* self
) {
510 long var
/* : Int */;
511 long var1
/* : Int */;
512 int8_t var2
/* : Int8 */;
513 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Object to Int8 */;
514 var1
= core___core__Int8___core__kernel__Object__hash(var2
);
519 /* method fixed_ints#Int8#== for (self: Int8, nullable Object): Bool */
520 short int core___core__Int8___core__kernel__Object___61d_61d(int8_t self
, val
* p0
) {
521 short int var
/* : Bool */;
522 short int var1
/* : Bool */;
523 int8_t var2
/* : Int8 */;
524 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int8
)) {
525 var2
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from nullable Object to Int8 */;
533 /* method fixed_ints#Int8#== for (self: Object, nullable Object): Bool */
534 short int VIRTUAL_core___core__Int8___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
535 short int var
/* : Bool */;
536 short int var1
/* : Bool */;
537 short int var3
/* : Bool */;
538 { /* Inline fixed_ints#Int8#== (self,p0) on <self:Object(Int8)> */
539 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int8
*)self
)->value
== ((struct instance_core__Int8
*)p0
)->value
);
548 /* method fixed_ints#Int8#!= for (self: Int8, nullable Object): Bool */
549 short int core___core__Int8___core__kernel__Object___33d_61d(int8_t self
, val
* p0
) {
550 short int var
/* : Bool */;
551 short int var1
/* : Bool */;
552 int8_t var2
/* : Int8 */;
553 short int var3
/* : Bool */;
554 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int8
)) {
555 var2
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from nullable Object to Int8 */;
564 /* method fixed_ints#Int8#!= for (self: Object, nullable Object): Bool */
565 short int VIRTUAL_core___core__Int8___core__kernel__Object___33d_61d(val
* self
, val
* p0
) {
566 short int var
/* : Bool */;
567 short int var1
/* : Bool */;
568 short int var3
/* : Bool */;
569 short int var4
/* : Bool */;
570 { /* Inline fixed_ints#Int8#!= (self,p0) on <self:Object(Int8)> */
571 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int8
*)self
)->value
== ((struct instance_core__Int8
*)p0
)->value
);
581 /* method fixed_ints#Int8#<= for (self: Int8, Int8): Bool */
582 short int core___core__Int8___core__kernel__Comparable___60d_61d(int8_t self
, int8_t p0
) {
583 short int var
/* : Bool */;
584 short int var1
/* : Bool */;
587 const char* var_class_name
;
588 short int var2
/* : Bool */;
589 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
590 /* <p0:Int8> isa OTHER */
591 var1
= 1; /* easy <p0:Int8> isa OTHER*/
592 if (unlikely(!var1
)) {
593 var_class_name
= type_core__Int8
.name
;
594 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
595 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 118);
604 /* method fixed_ints#Int8#<= for (self: Comparable, Comparable): Bool */
605 short int VIRTUAL_core___core__Int8___core__kernel__Comparable___60d_61d(val
* self
, val
* p0
) {
606 short int var
/* : Bool */;
607 short int var1
/* : Bool */;
608 short int var3
/* : Bool */;
611 const struct type
* type_struct
;
612 const char* var_class_name
;
613 int8_t var4
/* : Int8 */;
614 int8_t var5
/* : Int8 */;
615 short int var6
/* : Bool */;
616 { /* Inline fixed_ints#Int8#<= (self,p0) on <self:Comparable(Int8)> */
617 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
618 /* <p0:Comparable> isa OTHER */
619 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
620 cltype
= type_struct
->color
;
621 idtype
= type_struct
->id
;
622 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
625 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
627 if (unlikely(!var3
)) {
628 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
629 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
630 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 118);
633 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Comparable to Int8 */;
634 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Comparable to Int8 */;
644 /* method fixed_ints#Int8#< for (self: Int8, Int8): Bool */
645 short int core___core__Int8___core__kernel__Comparable___60d(int8_t self
, int8_t p0
) {
646 short int var
/* : Bool */;
647 short int var1
/* : Bool */;
650 const char* var_class_name
;
651 short int var2
/* : Bool */;
652 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
653 /* <p0:Int8> isa OTHER */
654 var1
= 1; /* easy <p0:Int8> isa OTHER*/
655 if (unlikely(!var1
)) {
656 var_class_name
= type_core__Int8
.name
;
657 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
658 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 119);
667 /* method fixed_ints#Int8#< for (self: Comparable, Comparable): Bool */
668 short int VIRTUAL_core___core__Int8___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
669 short int var
/* : Bool */;
670 short int var1
/* : Bool */;
671 short int var3
/* : Bool */;
674 const struct type
* type_struct
;
675 const char* var_class_name
;
676 int8_t var4
/* : Int8 */;
677 int8_t var5
/* : Int8 */;
678 short int var6
/* : Bool */;
679 { /* Inline fixed_ints#Int8#< (self,p0) on <self:Comparable(Int8)> */
680 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
681 /* <p0:Comparable> isa OTHER */
682 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
683 cltype
= type_struct
->color
;
684 idtype
= type_struct
->id
;
685 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
688 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
690 if (unlikely(!var3
)) {
691 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
692 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
693 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 119);
696 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Comparable to Int8 */;
697 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Comparable to Int8 */;
707 /* method fixed_ints#Int8#>= for (self: Int8, Int8): Bool */
708 short int core___core__Int8___core__kernel__Comparable___62d_61d(int8_t self
, int8_t p0
) {
709 short int var
/* : Bool */;
710 short int var1
/* : Bool */;
713 const char* var_class_name
;
714 short int var2
/* : Bool */;
715 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
716 /* <p0:Int8> isa OTHER */
717 var1
= 1; /* easy <p0:Int8> isa OTHER*/
718 if (unlikely(!var1
)) {
719 var_class_name
= type_core__Int8
.name
;
720 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
721 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 120);
730 /* method fixed_ints#Int8#>= for (self: Comparable, Comparable): Bool */
731 short int VIRTUAL_core___core__Int8___core__kernel__Comparable___62d_61d(val
* self
, val
* p0
) {
732 short int var
/* : Bool */;
733 short int var1
/* : Bool */;
734 short int var3
/* : Bool */;
737 const struct type
* type_struct
;
738 const char* var_class_name
;
739 int8_t var4
/* : Int8 */;
740 int8_t var5
/* : Int8 */;
741 short int var6
/* : Bool */;
742 { /* Inline fixed_ints#Int8#>= (self,p0) on <self:Comparable(Int8)> */
743 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
744 /* <p0:Comparable> isa OTHER */
745 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
746 cltype
= type_struct
->color
;
747 idtype
= type_struct
->id
;
748 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
751 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
753 if (unlikely(!var3
)) {
754 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
755 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
756 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 120);
759 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Comparable to Int8 */;
760 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Comparable to Int8 */;
770 /* method fixed_ints#Int8#> for (self: Int8, Int8): Bool */
771 short int core___core__Int8___core__kernel__Comparable___62d(int8_t self
, int8_t p0
) {
772 short int var
/* : Bool */;
773 short int var1
/* : Bool */;
776 const char* var_class_name
;
777 short int var2
/* : Bool */;
778 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
779 /* <p0:Int8> isa OTHER */
780 var1
= 1; /* easy <p0:Int8> isa OTHER*/
781 if (unlikely(!var1
)) {
782 var_class_name
= type_core__Int8
.name
;
783 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
784 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 121);
793 /* method fixed_ints#Int8#> for (self: Comparable, Comparable): Bool */
794 short int VIRTUAL_core___core__Int8___core__kernel__Comparable___62d(val
* self
, val
* p0
) {
795 short int var
/* : Bool */;
796 short int var1
/* : Bool */;
797 short int var3
/* : Bool */;
800 const struct type
* type_struct
;
801 const char* var_class_name
;
802 int8_t var4
/* : Int8 */;
803 int8_t var5
/* : Int8 */;
804 short int var6
/* : Bool */;
805 { /* Inline fixed_ints#Int8#> (self,p0) on <self:Comparable(Int8)> */
806 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
807 /* <p0:Comparable> isa OTHER */
808 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
809 cltype
= type_struct
->color
;
810 idtype
= type_struct
->id
;
811 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
814 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
816 if (unlikely(!var3
)) {
817 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
818 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
819 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 121);
822 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Comparable to Int8 */;
823 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Comparable to Int8 */;
833 /* method fixed_ints#Int8#+ for (self: Int8, Int8): Int8 */
834 int8_t core___core__Int8___core__kernel__Numeric___43d(int8_t self
, int8_t p0
) {
835 int8_t var
/* : Int8 */;
836 short int var1
/* : Bool */;
839 const char* var_class_name
;
840 int8_t var2
/* : Int8 */;
841 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
842 /* <p0:Int8> isa OTHER */
843 var1
= 1; /* easy <p0:Int8> isa OTHER*/
844 if (unlikely(!var1
)) {
845 var_class_name
= type_core__Int8
.name
;
846 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
847 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 122);
856 /* method fixed_ints#Int8#+ for (self: Numeric, Numeric): Numeric */
857 val
* VIRTUAL_core___core__Int8___core__kernel__Numeric___43d(val
* self
, val
* p0
) {
858 val
* var
/* : Numeric */;
859 int8_t var1
/* : Int8 */;
860 short int var3
/* : Bool */;
863 const struct type
* type_struct
;
864 const char* var_class_name
;
865 int8_t var4
/* : Int8 */;
866 int8_t var5
/* : Int8 */;
867 int8_t var6
/* : Int8 */;
868 val
* var7
/* : Numeric */;
869 { /* Inline fixed_ints#Int8#+ (self,p0) on <self:Numeric(Int8)> */
870 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
871 /* <p0:Numeric> isa OTHER */
872 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
873 cltype
= type_struct
->color
;
874 idtype
= type_struct
->id
;
875 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
878 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
880 if (unlikely(!var3
)) {
881 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
882 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
883 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 122);
886 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
887 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Numeric to Int8 */;
893 var7
= BOX_core__Int8(var1
); /* autobox from Int8 to Numeric */
898 /* method fixed_ints#Int8#unary - for (self: Int8): Int8 */
899 int8_t core___core__Int8___core__kernel__Numeric__unary_32d_45d(int8_t self
) {
900 int8_t var
/* : Int8 */;
901 int8_t var1
/* : Int8 */;
908 /* method fixed_ints#Int8#unary - for (self: Numeric): Numeric */
909 val
* VIRTUAL_core___core__Int8___core__kernel__Numeric__unary_32d_45d(val
* self
) {
910 val
* var
/* : Numeric */;
911 int8_t var1
/* : Int8 */;
912 int8_t var3
/* : Int8 */;
913 int8_t var4
/* : Int8 */;
914 val
* var5
/* : Numeric */;
915 { /* Inline fixed_ints#Int8#unary - (self) on <self:Numeric(Int8)> */
916 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
922 var5
= BOX_core__Int8(var1
); /* autobox from Int8 to Numeric */
927 /* method fixed_ints#Int8#- for (self: Int8, Int8): Int8 */
928 int8_t core___core__Int8___core__kernel__Numeric___45d(int8_t self
, int8_t p0
) {
929 int8_t var
/* : Int8 */;
930 short int var1
/* : Bool */;
933 const char* var_class_name
;
934 int8_t var2
/* : Int8 */;
935 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
936 /* <p0:Int8> isa OTHER */
937 var1
= 1; /* easy <p0:Int8> isa OTHER*/
938 if (unlikely(!var1
)) {
939 var_class_name
= type_core__Int8
.name
;
940 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
941 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 127);
950 /* method fixed_ints#Int8#- for (self: Numeric, Numeric): Numeric */
951 val
* VIRTUAL_core___core__Int8___core__kernel__Numeric___45d(val
* self
, val
* p0
) {
952 val
* var
/* : Numeric */;
953 int8_t var1
/* : Int8 */;
954 short int var3
/* : Bool */;
957 const struct type
* type_struct
;
958 const char* var_class_name
;
959 int8_t var4
/* : Int8 */;
960 int8_t var5
/* : Int8 */;
961 int8_t var6
/* : Int8 */;
962 val
* var7
/* : Numeric */;
963 { /* Inline fixed_ints#Int8#- (self,p0) on <self:Numeric(Int8)> */
964 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
965 /* <p0:Numeric> isa OTHER */
966 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
967 cltype
= type_struct
->color
;
968 idtype
= type_struct
->id
;
969 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
972 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
974 if (unlikely(!var3
)) {
975 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
976 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
977 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 127);
980 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
981 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Numeric to Int8 */;
987 var7
= BOX_core__Int8(var1
); /* autobox from Int8 to Numeric */
992 /* method fixed_ints#Int8#* for (self: Int8, Int8): Int8 */
993 int8_t core___core__Int8___core__kernel__Numeric___42d(int8_t self
, int8_t p0
) {
994 int8_t var
/* : Int8 */;
995 short int var1
/* : Bool */;
998 const char* var_class_name
;
999 int8_t var2
/* : Int8 */;
1000 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
1001 /* <p0:Int8> isa OTHER */
1002 var1
= 1; /* easy <p0:Int8> isa OTHER*/
1003 if (unlikely(!var1
)) {
1004 var_class_name
= type_core__Int8
.name
;
1005 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1006 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 128);
1015 /* method fixed_ints#Int8#* for (self: Numeric, Numeric): Numeric */
1016 val
* VIRTUAL_core___core__Int8___core__kernel__Numeric___42d(val
* self
, val
* p0
) {
1017 val
* var
/* : Numeric */;
1018 int8_t var1
/* : Int8 */;
1019 short int var3
/* : Bool */;
1022 const struct type
* type_struct
;
1023 const char* var_class_name
;
1024 int8_t var4
/* : Int8 */;
1025 int8_t var5
/* : Int8 */;
1026 int8_t var6
/* : Int8 */;
1027 val
* var7
/* : Numeric */;
1028 { /* Inline fixed_ints#Int8#* (self,p0) on <self:Numeric(Int8)> */
1029 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
1030 /* <p0:Numeric> isa OTHER */
1031 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1032 cltype
= type_struct
->color
;
1033 idtype
= type_struct
->id
;
1034 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
1037 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
1039 if (unlikely(!var3
)) {
1040 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
1041 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1042 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 128);
1045 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1046 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Numeric to Int8 */;
1052 var7
= BOX_core__Int8(var1
); /* autobox from Int8 to Numeric */
1057 /* method fixed_ints#Int8#/ for (self: Int8, Int8): Int8 */
1058 int8_t core___core__Int8___core__kernel__Numeric___47d(int8_t self
, int8_t p0
) {
1059 int8_t var
/* : Int8 */;
1060 short int var1
/* : Bool */;
1063 const char* var_class_name
;
1064 int8_t var2
/* : Int8 */;
1065 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
1066 /* <p0:Int8> isa OTHER */
1067 var1
= 1; /* easy <p0:Int8> isa OTHER*/
1068 if (unlikely(!var1
)) {
1069 var_class_name
= type_core__Int8
.name
;
1070 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1071 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 129);
1080 /* method fixed_ints#Int8#/ for (self: Numeric, Numeric): Numeric */
1081 val
* VIRTUAL_core___core__Int8___core__kernel__Numeric___47d(val
* self
, val
* p0
) {
1082 val
* var
/* : Numeric */;
1083 int8_t var1
/* : Int8 */;
1084 short int var3
/* : Bool */;
1087 const struct type
* type_struct
;
1088 const char* var_class_name
;
1089 int8_t var4
/* : Int8 */;
1090 int8_t var5
/* : Int8 */;
1091 int8_t var6
/* : Int8 */;
1092 val
* var7
/* : Numeric */;
1093 { /* Inline fixed_ints#Int8#/ (self,p0) on <self:Numeric(Int8)> */
1094 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
1095 /* <p0:Numeric> isa OTHER */
1096 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1097 cltype
= type_struct
->color
;
1098 idtype
= type_struct
->id
;
1099 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
1102 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
1104 if (unlikely(!var3
)) {
1105 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
1106 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1107 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 129);
1110 var4
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1111 var5
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Numeric to Int8 */;
1117 var7
= BOX_core__Int8(var1
); /* autobox from Int8 to Numeric */
1122 /* method fixed_ints#Int8#to_i for (self: Int8): Int */
1123 long core___core__Int8___core__kernel__Numeric__to_i(int8_t self
) {
1124 long var
/* : Int */;
1125 long var1
/* : Int */;
1132 /* method fixed_ints#Int8#to_i for (self: Numeric): Int */
1133 long VIRTUAL_core___core__Int8___core__kernel__Numeric__to_i(val
* self
) {
1134 long var
/* : Int */;
1135 long var1
/* : Int */;
1136 int8_t var3
/* : Int8 */;
1137 long var4
/* : Int */;
1138 { /* Inline fixed_ints#Int8#to_i (self) on <self:Numeric(Int8)> */
1139 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1149 /* method fixed_ints#Int8#to_f for (self: Int8): Float */
1150 double core___core__Int8___core__kernel__Numeric__to_f(int8_t self
) {
1151 double var
/* : Float */;
1152 double var1
/* : Float */;
1153 var1
= (double)self
;
1159 /* method fixed_ints#Int8#to_f for (self: Numeric): Float */
1160 double VIRTUAL_core___core__Int8___core__kernel__Numeric__to_f(val
* self
) {
1161 double var
/* : Float */;
1162 double var1
/* : Float */;
1163 int8_t var3
/* : Int8 */;
1164 double var4
/* : Float */;
1165 { /* Inline fixed_ints#Int8#to_f (self) on <self:Numeric(Int8)> */
1166 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1167 var4
= (double)var3
;
1176 /* method fixed_ints#Int8#to_b for (self: Int8): Byte */
1177 unsigned char core___core__Int8___core__kernel__Numeric__to_b(int8_t self
) {
1178 unsigned char var
/* : Byte */;
1179 unsigned char var1
/* : Byte */;
1180 var1
= (unsigned char)self
;
1186 /* method fixed_ints#Int8#to_b for (self: Numeric): Byte */
1187 unsigned char VIRTUAL_core___core__Int8___core__kernel__Numeric__to_b(val
* self
) {
1188 unsigned char var
/* : Byte */;
1189 unsigned char var1
/* : Byte */;
1190 int8_t var3
/* : Int8 */;
1191 unsigned char var4
/* : Byte */;
1192 { /* Inline fixed_ints#Int8#to_b (self) on <self:Numeric(Int8)> */
1193 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1194 var4
= (unsigned char)var3
;
1203 /* method fixed_ints#Int8#to_i8 for (self: Int8): Int8 */
1204 int8_t core___core__Int8___Numeric__to_i8(int8_t self
) {
1205 int8_t var
/* : Int8 */;
1211 /* method fixed_ints#Int8#to_i8 for (self: Numeric): Int8 */
1212 int8_t VIRTUAL_core___core__Int8___Numeric__to_i8(val
* self
) {
1213 int8_t var
/* : Int8 */;
1214 int8_t var1
/* : Int8 */;
1215 int8_t var2
/* : Int8 */;
1216 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1217 var1
= core___core__Int8___Numeric__to_i8(var2
);
1222 /* method fixed_ints#Int8#to_i16 for (self: Int8): Int16 */
1223 int16_t core___core__Int8___Numeric__to_i16(int8_t self
) {
1224 int16_t var
/* : Int16 */;
1225 int16_t var1
/* : Int16 */;
1226 var1
= (int16_t)self
;
1232 /* method fixed_ints#Int8#to_i16 for (self: Numeric): Int16 */
1233 int16_t VIRTUAL_core___core__Int8___Numeric__to_i16(val
* self
) {
1234 int16_t var
/* : Int16 */;
1235 int16_t var1
/* : Int16 */;
1236 int8_t var3
/* : Int8 */;
1237 int16_t var4
/* : Int16 */;
1238 { /* Inline fixed_ints#Int8#to_i16 (self) on <self:Numeric(Int8)> */
1239 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1240 var4
= (int16_t)var3
;
1249 /* method fixed_ints#Int8#to_u16 for (self: Int8): UInt16 */
1250 uint16_t core___core__Int8___Numeric__to_u16(int8_t self
) {
1251 uint16_t var
/* : UInt16 */;
1252 uint16_t var1
/* : UInt16 */;
1253 var1
= (uint16_t)self
;
1259 /* method fixed_ints#Int8#to_u16 for (self: Numeric): UInt16 */
1260 uint16_t VIRTUAL_core___core__Int8___Numeric__to_u16(val
* self
) {
1261 uint16_t var
/* : UInt16 */;
1262 uint16_t var1
/* : UInt16 */;
1263 int8_t var3
/* : Int8 */;
1264 uint16_t var4
/* : UInt16 */;
1265 { /* Inline fixed_ints#Int8#to_u16 (self) on <self:Numeric(Int8)> */
1266 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1267 var4
= (uint16_t)var3
;
1276 /* method fixed_ints#Int8#to_i32 for (self: Int8): Int32 */
1277 int32_t core___core__Int8___Numeric__to_i32(int8_t self
) {
1278 int32_t var
/* : Int32 */;
1279 int32_t var1
/* : Int32 */;
1280 var1
= (int32_t)self
;
1286 /* method fixed_ints#Int8#to_i32 for (self: Numeric): Int32 */
1287 int32_t VIRTUAL_core___core__Int8___Numeric__to_i32(val
* self
) {
1288 int32_t var
/* : Int32 */;
1289 int32_t var1
/* : Int32 */;
1290 int8_t var3
/* : Int8 */;
1291 int32_t var4
/* : Int32 */;
1292 { /* Inline fixed_ints#Int8#to_i32 (self) on <self:Numeric(Int8)> */
1293 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1294 var4
= (int32_t)var3
;
1303 /* method fixed_ints#Int8#to_u32 for (self: Int8): UInt32 */
1304 uint32_t core___core__Int8___Numeric__to_u32(int8_t self
) {
1305 uint32_t var
/* : UInt32 */;
1306 uint32_t var1
/* : UInt32 */;
1307 var1
= (uint32_t)self
;
1313 /* method fixed_ints#Int8#to_u32 for (self: Numeric): UInt32 */
1314 uint32_t VIRTUAL_core___core__Int8___Numeric__to_u32(val
* self
) {
1315 uint32_t var
/* : UInt32 */;
1316 uint32_t var1
/* : UInt32 */;
1317 int8_t var3
/* : Int8 */;
1318 uint32_t var4
/* : UInt32 */;
1319 { /* Inline fixed_ints#Int8#to_u32 (self) on <self:Numeric(Int8)> */
1320 var3
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Numeric to Int8 */;
1321 var4
= (uint32_t)var3
;
1330 /* method fixed_ints#Int8#distance for (self: Int8, Int8): Int */
1331 long core___core__Int8___core__kernel__Discrete__distance(int8_t self
, int8_t p0
) {
1332 long var
/* : Int */;
1333 short int var1
/* : Bool */;
1336 const char* var_class_name
;
1337 int8_t var_i
/* var i: Int8 */;
1338 int8_t var2
/* : Int8 */;
1339 short int var4
/* : Bool */;
1342 const char* var_class_name7
;
1343 int8_t var8
/* : Int8 */;
1344 long var9
/* : Int */;
1345 long var11
/* : Int */;
1346 /* Covariant cast for argument 0 (i) <p0:Int8> isa OTHER */
1347 /* <p0:Int8> isa OTHER */
1348 var1
= 1; /* easy <p0:Int8> isa OTHER*/
1349 if (unlikely(!var1
)) {
1350 var_class_name
= type_core__Int8
.name
;
1351 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1352 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 164);
1357 { /* Inline fixed_ints#Int8#- (self,var_i) on <self:Int8> */
1358 /* Covariant cast for argument 0 (i) <var_i:Int8> isa OTHER */
1359 /* <var_i:Int8> isa OTHER */
1360 var4
= 1; /* easy <var_i:Int8> isa OTHER*/
1361 if (unlikely(!var4
)) {
1362 var_class_name7
= type_core__Int8
.name
;
1363 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
1364 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 127);
1367 var8
= self
- var_i
;
1374 { /* Inline fixed_ints#Int8#to_i (var2) on <var2:Int8> */
1378 RET_LABEL10
:(void)0;
1386 /* method fixed_ints#Int8#distance for (self: Discrete, Discrete): Int */
1387 long VIRTUAL_core___core__Int8___core__kernel__Discrete__distance(val
* self
, val
* p0
) {
1388 long var
/* : Int */;
1389 long var1
/* : Int */;
1390 int8_t var2
/* : Int8 */;
1391 int8_t var3
/* : Int8 */;
1392 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Discrete to Int8 */;
1393 var3
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Discrete to Int8 */;
1394 var1
= core___core__Int8___core__kernel__Discrete__distance(var2
, var3
);
1399 /* method fixed_ints#Int8#<=> for (self: Int8, Int8): Int */
1400 long core___core__Int8___core__kernel__Comparable___60d_61d_62d(int8_t self
, int8_t p0
) {
1401 long var
/* : Int */;
1402 short int var1
/* : Bool */;
1405 const char* var_class_name
;
1406 int8_t var_other
/* var other: Int8 */;
1407 short int var2
/* : Bool */;
1408 short int var4
/* : Bool */;
1411 const char* var_class_name7
;
1412 short int var8
/* : Bool */;
1413 long var9
/* : Int */;
1414 long var11
/* : Int */;
1415 short int var12
/* : Bool */;
1416 short int var14
/* : Bool */;
1419 const char* var_class_name17
;
1420 short int var18
/* : Bool */;
1421 /* Covariant cast for argument 0 (other) <p0:Int8> isa OTHER */
1422 /* <p0:Int8> isa OTHER */
1423 var1
= 1; /* easy <p0:Int8> isa OTHER*/
1424 if (unlikely(!var1
)) {
1425 var_class_name
= type_core__Int8
.name
;
1426 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1427 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 166);
1432 { /* Inline fixed_ints#Int8#< (self,var_other) on <self:Int8> */
1433 /* Covariant cast for argument 0 (i) <var_other:Int8> isa OTHER */
1434 /* <var_other:Int8> isa OTHER */
1435 var4
= 1; /* easy <var_other:Int8> isa OTHER*/
1436 if (unlikely(!var4
)) {
1437 var_class_name7
= type_core__Int8
.name
;
1438 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
1439 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 119);
1442 var8
= self
< var_other
;
1450 { /* Inline kernel#Int#unary - (1l) on <1l:Int> */
1454 RET_LABEL10
:(void)0;
1461 { /* Inline fixed_ints#Int8#< (var_other,self) on <var_other:Int8> */
1462 /* Covariant cast for argument 0 (i) <self:Int8> isa OTHER */
1463 /* <self:Int8> isa OTHER */
1464 var14
= 1; /* easy <self:Int8> isa OTHER*/
1465 if (unlikely(!var14
)) {
1466 var_class_name17
= type_core__Int8
.name
;
1467 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name17
);
1468 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 119);
1471 var18
= var_other
< self
;
1474 RET_LABEL13
:(void)0;
1488 /* method fixed_ints#Int8#<=> for (self: Comparable, Comparable): Int */
1489 long VIRTUAL_core___core__Int8___core__kernel__Comparable___60d_61d_62d(val
* self
, val
* p0
) {
1490 long var
/* : Int */;
1491 long var1
/* : Int */;
1492 int8_t var2
/* : Int8 */;
1493 int8_t var3
/* : Int8 */;
1494 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Comparable to Int8 */;
1495 var3
= ((struct instance_core__Int8
*)p0
)->value
; /* autounbox from Comparable to Int8 */;
1496 var1
= core___core__Int8___core__kernel__Comparable___60d_61d_62d(var2
, var3
);
1501 /* method fixed_ints#Int8#to_s_len for (self: Int8): Int */
1502 long core___core__Int8___to_s_len(int8_t self
) {
1503 long var
/* : Int */;
1504 long var1
/* : Int */;
1505 var1
= fixed_ints___Int8_to_s_len___impl(self
);
1511 /* method fixed_ints#Int8#native_to_s for (self: Int8, NativeString, Int) */
1512 void core___core__Int8___native_to_s(int8_t self
, char* p0
, long p1
) {
1513 fixed_ints___Int8_native_to_s___impl(self
, p0
, p1
);
1516 /* method fixed_ints#Int8#to_s for (self: Int8): String */
1517 val
* core___core__Int8___core__abstract_text__Object__to_s(int8_t self
) {
1518 val
* var
/* : String */;
1519 long var1
/* : Int */;
1520 long var3
/* : Int */;
1521 long var_nslen
/* var nslen: Int */;
1522 char* var4
/* : NativeString */;
1523 long var5
/* : Int */;
1524 short int var7
/* : Bool */;
1527 const char* var_class_name
;
1528 long var8
/* : Int */;
1529 char* var9
/* : NativeString */;
1530 char* var11
/* : NativeString */;
1531 char* var_ns
/* var ns: NativeString */;
1532 long var13
/* : Int */;
1533 short int var15
/* : Bool */;
1536 const char* var_class_name18
;
1537 long var19
/* : Int */;
1538 val
* var21
/* : FlatString */;
1540 { /* Inline fixed_ints#Int8#to_s_len (self) on <self:Int8> */
1541 var3
= fixed_ints___Int8_to_s_len___impl(self
);
1548 var4
= NULL
/*special!*/;
1550 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
1551 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
1552 /* <1l:Int> isa OTHER */
1553 var7
= 1; /* easy <1l:Int> isa OTHER*/
1554 if (unlikely(!var7
)) {
1555 var_class_name
= type_core__Int
.name
;
1556 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1557 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
1560 var8
= var_nslen
+ 1l;
1567 { /* Inline native#NativeString#new (var4,var5) on <var4:NativeString> */
1568 var11
= (char*)nit_alloc(var5
);
1571 RET_LABEL10
:(void)0;
1576 { /* Inline native#NativeString#[]= (var_ns,var_nslen,((unsigned char)0x00)) on <var_ns:NativeString> */
1577 var_ns
[var_nslen
]=(unsigned char)((unsigned char)0x00);
1578 RET_LABEL12
:(void)0;
1582 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
1583 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
1584 /* <1l:Int> isa OTHER */
1585 var15
= 1; /* easy <1l:Int> isa OTHER*/
1586 if (unlikely(!var15
)) {
1587 var_class_name18
= type_core__Int
.name
;
1588 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name18
);
1589 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
1592 var19
= var_nslen
+ 1l;
1595 RET_LABEL14
:(void)0;
1599 { /* Inline fixed_ints#Int8#native_to_s (self,var_ns,var13) on <self:Int8> */
1600 fixed_ints___Int8_native_to_s___impl(self
, var_ns
, var13
);
1601 RET_LABEL20
:(void)0;
1605 var21
= core__flat___NativeString___to_s_with_length(var_ns
, var_nslen
);
1612 /* method fixed_ints#Int8#to_s for (self: Object): String */
1613 val
* VIRTUAL_core___core__Int8___core__abstract_text__Object__to_s(val
* self
) {
1614 val
* var
/* : String */;
1615 val
* var1
/* : String */;
1616 int8_t var2
/* : Int8 */;
1617 var2
= ((struct instance_core__Int8
*)self
)->value
; /* autounbox from Object to Int8 */;
1618 var1
= core___core__Int8___core__abstract_text__Object__to_s(var2
);
1623 /* method fixed_ints#Int16#successor for (self: Int16, Int): Int16 */
1624 int16_t core___core__Int16___core__kernel__Discrete__successor(int16_t self
, long p0
) {
1625 int16_t var
/* : Int16 */;
1626 long var_i
/* var i: Int */;
1627 int16_t var1
/* : Int16 */;
1628 int16_t var3
/* : Int16 */;
1629 int16_t var4
/* : Int16 */;
1630 short int var6
/* : Bool */;
1633 const char* var_class_name
;
1634 int16_t var7
/* : Int16 */;
1637 { /* Inline fixed_ints#Int#to_i16 (var_i) on <var_i:Int> */
1638 var3
= (int16_t)var_i
;
1645 { /* Inline fixed_ints#Int16#+ (self,var1) on <self:Int16> */
1646 /* Covariant cast for argument 0 (i) <var1:Int16> isa OTHER */
1647 /* <var1:Int16> isa OTHER */
1648 var6
= 1; /* easy <var1:Int16> isa OTHER*/
1649 if (unlikely(!var6
)) {
1650 var_class_name
= type_core__Int16
.name
;
1651 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1652 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 268);
1666 /* method fixed_ints#Int16#successor for (self: Discrete, Int): Discrete */
1667 val
* VIRTUAL_core___core__Int16___core__kernel__Discrete__successor(val
* self
, long p0
) {
1668 val
* var
/* : Discrete */;
1669 int16_t var1
/* : Int16 */;
1670 int16_t var2
/* : Int16 */;
1671 val
* var3
/* : Discrete */;
1672 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Discrete to Int16 */;
1673 var1
= core___core__Int16___core__kernel__Discrete__successor(var2
, p0
);
1674 var3
= BOX_core__Int16(var1
); /* autobox from Int16 to Discrete */
1679 /* method fixed_ints#Int16#object_id for (self: Int16): Int */
1680 long core___core__Int16___core__kernel__Object__object_id(int16_t self
) {
1681 long var
/* : Int */;
1682 long var1
/* : Int */;
1689 /* method fixed_ints#Int16#object_id for (self: Object): Int */
1690 long VIRTUAL_core___core__Int16___core__kernel__Object__object_id(val
* self
) {
1691 long var
/* : Int */;
1692 long var1
/* : Int */;
1693 int16_t var3
/* : Int16 */;
1694 long var4
/* : Int */;
1695 { /* Inline fixed_ints#Int16#object_id (self) on <self:Object(Int16)> */
1696 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Object to Int16 */;
1706 /* method fixed_ints#Int16#hash for (self: Int16): Int */
1707 long core___core__Int16___core__kernel__Object__hash(int16_t self
) {
1708 long var
/* : Int */;
1709 long var1
/* : Int */;
1710 long var3
/* : Int */;
1712 { /* Inline fixed_ints#Int16#to_i (self) on <self:Int16> */
1724 /* method fixed_ints#Int16#hash for (self: Object): Int */
1725 long VIRTUAL_core___core__Int16___core__kernel__Object__hash(val
* self
) {
1726 long var
/* : Int */;
1727 long var1
/* : Int */;
1728 int16_t var2
/* : Int16 */;
1729 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Object to Int16 */;
1730 var1
= core___core__Int16___core__kernel__Object__hash(var2
);
1735 /* method fixed_ints#Int16#== for (self: Int16, nullable Object): Bool */
1736 short int core___core__Int16___core__kernel__Object___61d_61d(int16_t self
, val
* p0
) {
1737 short int var
/* : Bool */;
1738 short int var1
/* : Bool */;
1739 int16_t var2
/* : Int16 */;
1740 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int16
)) {
1741 var2
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from nullable Object to Int16 */;
1742 var1
= var2
== self
;
1749 /* method fixed_ints#Int16#== for (self: Object, nullable Object): Bool */
1750 short int VIRTUAL_core___core__Int16___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
1751 short int var
/* : Bool */;
1752 short int var1
/* : Bool */;
1753 short int var3
/* : Bool */;
1754 { /* Inline fixed_ints#Int16#== (self,p0) on <self:Object(Int16)> */
1755 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int16
*)self
)->value
== ((struct instance_core__Int16
*)p0
)->value
);
1764 /* method fixed_ints#Int16#!= for (self: Int16, nullable Object): Bool */
1765 short int core___core__Int16___core__kernel__Object___33d_61d(int16_t self
, val
* p0
) {
1766 short int var
/* : Bool */;
1767 short int var1
/* : Bool */;
1768 int16_t var2
/* : Int16 */;
1769 short int var3
/* : Bool */;
1770 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int16
)) {
1771 var2
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from nullable Object to Int16 */;
1772 var1
= var2
== self
;
1780 /* method fixed_ints#Int16#!= for (self: Object, nullable Object): Bool */
1781 short int VIRTUAL_core___core__Int16___core__kernel__Object___33d_61d(val
* self
, val
* p0
) {
1782 short int var
/* : Bool */;
1783 short int var1
/* : Bool */;
1784 short int var3
/* : Bool */;
1785 short int var4
/* : Bool */;
1786 { /* Inline fixed_ints#Int16#!= (self,p0) on <self:Object(Int16)> */
1787 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int16
*)self
)->value
== ((struct instance_core__Int16
*)p0
)->value
);
1797 /* method fixed_ints#Int16#<= for (self: Int16, Int16): Bool */
1798 short int core___core__Int16___core__kernel__Comparable___60d_61d(int16_t self
, int16_t p0
) {
1799 short int var
/* : Bool */;
1800 short int var1
/* : Bool */;
1803 const char* var_class_name
;
1804 short int var2
/* : Bool */;
1805 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
1806 /* <p0:Int16> isa OTHER */
1807 var1
= 1; /* easy <p0:Int16> isa OTHER*/
1808 if (unlikely(!var1
)) {
1809 var_class_name
= type_core__Int16
.name
;
1810 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1811 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 264);
1820 /* method fixed_ints#Int16#<= for (self: Comparable, Comparable): Bool */
1821 short int VIRTUAL_core___core__Int16___core__kernel__Comparable___60d_61d(val
* self
, val
* p0
) {
1822 short int var
/* : Bool */;
1823 short int var1
/* : Bool */;
1824 short int var3
/* : Bool */;
1827 const struct type
* type_struct
;
1828 const char* var_class_name
;
1829 int16_t var4
/* : Int16 */;
1830 int16_t var5
/* : Int16 */;
1831 short int var6
/* : Bool */;
1832 { /* Inline fixed_ints#Int16#<= (self,p0) on <self:Comparable(Int16)> */
1833 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
1834 /* <p0:Comparable> isa OTHER */
1835 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1836 cltype
= type_struct
->color
;
1837 idtype
= type_struct
->id
;
1838 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
1841 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
1843 if (unlikely(!var3
)) {
1844 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
1845 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1846 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 264);
1849 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Comparable to Int16 */;
1850 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Comparable to Int16 */;
1851 var6
= var4
<= var5
;
1860 /* method fixed_ints#Int16#< for (self: Int16, Int16): Bool */
1861 short int core___core__Int16___core__kernel__Comparable___60d(int16_t self
, int16_t p0
) {
1862 short int var
/* : Bool */;
1863 short int var1
/* : Bool */;
1866 const char* var_class_name
;
1867 short int var2
/* : Bool */;
1868 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
1869 /* <p0:Int16> isa OTHER */
1870 var1
= 1; /* easy <p0:Int16> isa OTHER*/
1871 if (unlikely(!var1
)) {
1872 var_class_name
= type_core__Int16
.name
;
1873 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1874 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 265);
1883 /* method fixed_ints#Int16#< for (self: Comparable, Comparable): Bool */
1884 short int VIRTUAL_core___core__Int16___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
1885 short int var
/* : Bool */;
1886 short int var1
/* : Bool */;
1887 short int var3
/* : Bool */;
1890 const struct type
* type_struct
;
1891 const char* var_class_name
;
1892 int16_t var4
/* : Int16 */;
1893 int16_t var5
/* : Int16 */;
1894 short int var6
/* : Bool */;
1895 { /* Inline fixed_ints#Int16#< (self,p0) on <self:Comparable(Int16)> */
1896 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
1897 /* <p0:Comparable> isa OTHER */
1898 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1899 cltype
= type_struct
->color
;
1900 idtype
= type_struct
->id
;
1901 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
1904 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
1906 if (unlikely(!var3
)) {
1907 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
1908 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1909 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 265);
1912 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Comparable to Int16 */;
1913 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Comparable to Int16 */;
1923 /* method fixed_ints#Int16#>= for (self: Int16, Int16): Bool */
1924 short int core___core__Int16___core__kernel__Comparable___62d_61d(int16_t self
, int16_t p0
) {
1925 short int var
/* : Bool */;
1926 short int var1
/* : Bool */;
1929 const char* var_class_name
;
1930 short int var2
/* : Bool */;
1931 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
1932 /* <p0:Int16> isa OTHER */
1933 var1
= 1; /* easy <p0:Int16> isa OTHER*/
1934 if (unlikely(!var1
)) {
1935 var_class_name
= type_core__Int16
.name
;
1936 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1937 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 266);
1946 /* method fixed_ints#Int16#>= for (self: Comparable, Comparable): Bool */
1947 short int VIRTUAL_core___core__Int16___core__kernel__Comparable___62d_61d(val
* self
, val
* p0
) {
1948 short int var
/* : Bool */;
1949 short int var1
/* : Bool */;
1950 short int var3
/* : Bool */;
1953 const struct type
* type_struct
;
1954 const char* var_class_name
;
1955 int16_t var4
/* : Int16 */;
1956 int16_t var5
/* : Int16 */;
1957 short int var6
/* : Bool */;
1958 { /* Inline fixed_ints#Int16#>= (self,p0) on <self:Comparable(Int16)> */
1959 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
1960 /* <p0:Comparable> isa OTHER */
1961 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1962 cltype
= type_struct
->color
;
1963 idtype
= type_struct
->id
;
1964 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
1967 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
1969 if (unlikely(!var3
)) {
1970 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
1971 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1972 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 266);
1975 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Comparable to Int16 */;
1976 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Comparable to Int16 */;
1977 var6
= var4
>= var5
;
1986 /* method fixed_ints#Int16#> for (self: Int16, Int16): Bool */
1987 short int core___core__Int16___core__kernel__Comparable___62d(int16_t self
, int16_t p0
) {
1988 short int var
/* : Bool */;
1989 short int var1
/* : Bool */;
1992 const char* var_class_name
;
1993 short int var2
/* : Bool */;
1994 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
1995 /* <p0:Int16> isa OTHER */
1996 var1
= 1; /* easy <p0:Int16> isa OTHER*/
1997 if (unlikely(!var1
)) {
1998 var_class_name
= type_core__Int16
.name
;
1999 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2000 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 267);
2009 /* method fixed_ints#Int16#> for (self: Comparable, Comparable): Bool */
2010 short int VIRTUAL_core___core__Int16___core__kernel__Comparable___62d(val
* self
, val
* p0
) {
2011 short int var
/* : Bool */;
2012 short int var1
/* : Bool */;
2013 short int var3
/* : Bool */;
2016 const struct type
* type_struct
;
2017 const char* var_class_name
;
2018 int16_t var4
/* : Int16 */;
2019 int16_t var5
/* : Int16 */;
2020 short int var6
/* : Bool */;
2021 { /* Inline fixed_ints#Int16#> (self,p0) on <self:Comparable(Int16)> */
2022 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
2023 /* <p0:Comparable> isa OTHER */
2024 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
2025 cltype
= type_struct
->color
;
2026 idtype
= type_struct
->id
;
2027 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
2030 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
2032 if (unlikely(!var3
)) {
2033 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
2034 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2035 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 267);
2038 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Comparable to Int16 */;
2039 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Comparable to Int16 */;
2049 /* method fixed_ints#Int16#+ for (self: Int16, Int16): Int16 */
2050 int16_t core___core__Int16___core__kernel__Numeric___43d(int16_t self
, int16_t p0
) {
2051 int16_t var
/* : Int16 */;
2052 short int var1
/* : Bool */;
2055 const char* var_class_name
;
2056 int16_t var2
/* : Int16 */;
2057 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
2058 /* <p0:Int16> isa OTHER */
2059 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2060 if (unlikely(!var1
)) {
2061 var_class_name
= type_core__Int16
.name
;
2062 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2063 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 268);
2072 /* method fixed_ints#Int16#+ for (self: Numeric, Numeric): Numeric */
2073 val
* VIRTUAL_core___core__Int16___core__kernel__Numeric___43d(val
* self
, val
* p0
) {
2074 val
* var
/* : Numeric */;
2075 int16_t var1
/* : Int16 */;
2076 short int var3
/* : Bool */;
2079 const struct type
* type_struct
;
2080 const char* var_class_name
;
2081 int16_t var4
/* : Int16 */;
2082 int16_t var5
/* : Int16 */;
2083 int16_t var6
/* : Int16 */;
2084 val
* var7
/* : Numeric */;
2085 { /* Inline fixed_ints#Int16#+ (self,p0) on <self:Numeric(Int16)> */
2086 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
2087 /* <p0:Numeric> isa OTHER */
2088 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
2089 cltype
= type_struct
->color
;
2090 idtype
= type_struct
->id
;
2091 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
2094 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
2096 if (unlikely(!var3
)) {
2097 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
2098 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2099 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 268);
2102 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2103 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Numeric to Int16 */;
2109 var7
= BOX_core__Int16(var1
); /* autobox from Int16 to Numeric */
2114 /* method fixed_ints#Int16#unary - for (self: Int16): Int16 */
2115 int16_t core___core__Int16___core__kernel__Numeric__unary_32d_45d(int16_t self
) {
2116 int16_t var
/* : Int16 */;
2117 int16_t var1
/* : Int16 */;
2124 /* method fixed_ints#Int16#unary - for (self: Numeric): Numeric */
2125 val
* VIRTUAL_core___core__Int16___core__kernel__Numeric__unary_32d_45d(val
* self
) {
2126 val
* var
/* : Numeric */;
2127 int16_t var1
/* : Int16 */;
2128 int16_t var3
/* : Int16 */;
2129 int16_t var4
/* : Int16 */;
2130 val
* var5
/* : Numeric */;
2131 { /* Inline fixed_ints#Int16#unary - (self) on <self:Numeric(Int16)> */
2132 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2138 var5
= BOX_core__Int16(var1
); /* autobox from Int16 to Numeric */
2143 /* method fixed_ints#Int16#- for (self: Int16, Int16): Int16 */
2144 int16_t core___core__Int16___core__kernel__Numeric___45d(int16_t self
, int16_t p0
) {
2145 int16_t var
/* : Int16 */;
2146 short int var1
/* : Bool */;
2149 const char* var_class_name
;
2150 int16_t var2
/* : Int16 */;
2151 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
2152 /* <p0:Int16> isa OTHER */
2153 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2154 if (unlikely(!var1
)) {
2155 var_class_name
= type_core__Int16
.name
;
2156 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2157 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 273);
2166 /* method fixed_ints#Int16#- for (self: Numeric, Numeric): Numeric */
2167 val
* VIRTUAL_core___core__Int16___core__kernel__Numeric___45d(val
* self
, val
* p0
) {
2168 val
* var
/* : Numeric */;
2169 int16_t var1
/* : Int16 */;
2170 short int var3
/* : Bool */;
2173 const struct type
* type_struct
;
2174 const char* var_class_name
;
2175 int16_t var4
/* : Int16 */;
2176 int16_t var5
/* : Int16 */;
2177 int16_t var6
/* : Int16 */;
2178 val
* var7
/* : Numeric */;
2179 { /* Inline fixed_ints#Int16#- (self,p0) on <self:Numeric(Int16)> */
2180 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
2181 /* <p0:Numeric> isa OTHER */
2182 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
2183 cltype
= type_struct
->color
;
2184 idtype
= type_struct
->id
;
2185 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
2188 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
2190 if (unlikely(!var3
)) {
2191 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
2192 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2193 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 273);
2196 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2197 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Numeric to Int16 */;
2203 var7
= BOX_core__Int16(var1
); /* autobox from Int16 to Numeric */
2208 /* method fixed_ints#Int16#* for (self: Int16, Int16): Int16 */
2209 int16_t core___core__Int16___core__kernel__Numeric___42d(int16_t self
, int16_t p0
) {
2210 int16_t var
/* : Int16 */;
2211 short int var1
/* : Bool */;
2214 const char* var_class_name
;
2215 int16_t var2
/* : Int16 */;
2216 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
2217 /* <p0:Int16> isa OTHER */
2218 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2219 if (unlikely(!var1
)) {
2220 var_class_name
= type_core__Int16
.name
;
2221 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2222 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 274);
2231 /* method fixed_ints#Int16#* for (self: Numeric, Numeric): Numeric */
2232 val
* VIRTUAL_core___core__Int16___core__kernel__Numeric___42d(val
* self
, val
* p0
) {
2233 val
* var
/* : Numeric */;
2234 int16_t var1
/* : Int16 */;
2235 short int var3
/* : Bool */;
2238 const struct type
* type_struct
;
2239 const char* var_class_name
;
2240 int16_t var4
/* : Int16 */;
2241 int16_t var5
/* : Int16 */;
2242 int16_t var6
/* : Int16 */;
2243 val
* var7
/* : Numeric */;
2244 { /* Inline fixed_ints#Int16#* (self,p0) on <self:Numeric(Int16)> */
2245 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
2246 /* <p0:Numeric> isa OTHER */
2247 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
2248 cltype
= type_struct
->color
;
2249 idtype
= type_struct
->id
;
2250 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
2253 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
2255 if (unlikely(!var3
)) {
2256 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
2257 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2258 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 274);
2261 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2262 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Numeric to Int16 */;
2268 var7
= BOX_core__Int16(var1
); /* autobox from Int16 to Numeric */
2273 /* method fixed_ints#Int16#/ for (self: Int16, Int16): Int16 */
2274 int16_t core___core__Int16___core__kernel__Numeric___47d(int16_t self
, int16_t p0
) {
2275 int16_t var
/* : Int16 */;
2276 short int var1
/* : Bool */;
2279 const char* var_class_name
;
2280 int16_t var2
/* : Int16 */;
2281 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
2282 /* <p0:Int16> isa OTHER */
2283 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2284 if (unlikely(!var1
)) {
2285 var_class_name
= type_core__Int16
.name
;
2286 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2287 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 275);
2296 /* method fixed_ints#Int16#/ for (self: Numeric, Numeric): Numeric */
2297 val
* VIRTUAL_core___core__Int16___core__kernel__Numeric___47d(val
* self
, val
* p0
) {
2298 val
* var
/* : Numeric */;
2299 int16_t var1
/* : Int16 */;
2300 short int var3
/* : Bool */;
2303 const struct type
* type_struct
;
2304 const char* var_class_name
;
2305 int16_t var4
/* : Int16 */;
2306 int16_t var5
/* : Int16 */;
2307 int16_t var6
/* : Int16 */;
2308 val
* var7
/* : Numeric */;
2309 { /* Inline fixed_ints#Int16#/ (self,p0) on <self:Numeric(Int16)> */
2310 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
2311 /* <p0:Numeric> isa OTHER */
2312 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
2313 cltype
= type_struct
->color
;
2314 idtype
= type_struct
->id
;
2315 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
2318 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
2320 if (unlikely(!var3
)) {
2321 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
2322 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2323 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 275);
2326 var4
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2327 var5
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Numeric to Int16 */;
2333 var7
= BOX_core__Int16(var1
); /* autobox from Int16 to Numeric */
2338 /* method fixed_ints#Int16#to_i for (self: Int16): Int */
2339 long core___core__Int16___core__kernel__Numeric__to_i(int16_t self
) {
2340 long var
/* : Int */;
2341 long var1
/* : Int */;
2348 /* method fixed_ints#Int16#to_i for (self: Numeric): Int */
2349 long VIRTUAL_core___core__Int16___core__kernel__Numeric__to_i(val
* self
) {
2350 long var
/* : Int */;
2351 long var1
/* : Int */;
2352 int16_t var3
/* : Int16 */;
2353 long var4
/* : Int */;
2354 { /* Inline fixed_ints#Int16#to_i (self) on <self:Numeric(Int16)> */
2355 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2365 /* method fixed_ints#Int16#to_f for (self: Int16): Float */
2366 double core___core__Int16___core__kernel__Numeric__to_f(int16_t self
) {
2367 double var
/* : Float */;
2368 double var1
/* : Float */;
2369 var1
= (double)self
;
2375 /* method fixed_ints#Int16#to_f for (self: Numeric): Float */
2376 double VIRTUAL_core___core__Int16___core__kernel__Numeric__to_f(val
* self
) {
2377 double var
/* : Float */;
2378 double var1
/* : Float */;
2379 int16_t var3
/* : Int16 */;
2380 double var4
/* : Float */;
2381 { /* Inline fixed_ints#Int16#to_f (self) on <self:Numeric(Int16)> */
2382 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2383 var4
= (double)var3
;
2392 /* method fixed_ints#Int16#to_b for (self: Int16): Byte */
2393 unsigned char core___core__Int16___core__kernel__Numeric__to_b(int16_t self
) {
2394 unsigned char var
/* : Byte */;
2395 unsigned char var1
/* : Byte */;
2396 var1
= (unsigned char)self
;
2402 /* method fixed_ints#Int16#to_b for (self: Numeric): Byte */
2403 unsigned char VIRTUAL_core___core__Int16___core__kernel__Numeric__to_b(val
* self
) {
2404 unsigned char var
/* : Byte */;
2405 unsigned char var1
/* : Byte */;
2406 int16_t var3
/* : Int16 */;
2407 unsigned char var4
/* : Byte */;
2408 { /* Inline fixed_ints#Int16#to_b (self) on <self:Numeric(Int16)> */
2409 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2410 var4
= (unsigned char)var3
;
2419 /* method fixed_ints#Int16#to_i8 for (self: Int16): Int8 */
2420 int8_t core___core__Int16___Numeric__to_i8(int16_t self
) {
2421 int8_t var
/* : Int8 */;
2422 int8_t var1
/* : Int8 */;
2423 var1
= (int8_t)self
;
2429 /* method fixed_ints#Int16#to_i8 for (self: Numeric): Int8 */
2430 int8_t VIRTUAL_core___core__Int16___Numeric__to_i8(val
* self
) {
2431 int8_t var
/* : Int8 */;
2432 int8_t var1
/* : Int8 */;
2433 int16_t var3
/* : Int16 */;
2434 int8_t var4
/* : Int8 */;
2435 { /* Inline fixed_ints#Int16#to_i8 (self) on <self:Numeric(Int16)> */
2436 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2437 var4
= (int8_t)var3
;
2446 /* method fixed_ints#Int16#to_i16 for (self: Int16): Int16 */
2447 int16_t core___core__Int16___Numeric__to_i16(int16_t self
) {
2448 int16_t var
/* : Int16 */;
2454 /* method fixed_ints#Int16#to_i16 for (self: Numeric): Int16 */
2455 int16_t VIRTUAL_core___core__Int16___Numeric__to_i16(val
* self
) {
2456 int16_t var
/* : Int16 */;
2457 int16_t var1
/* : Int16 */;
2458 int16_t var2
/* : Int16 */;
2459 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2460 var1
= core___core__Int16___Numeric__to_i16(var2
);
2465 /* method fixed_ints#Int16#to_u16 for (self: Int16): UInt16 */
2466 uint16_t core___core__Int16___Numeric__to_u16(int16_t self
) {
2467 uint16_t var
/* : UInt16 */;
2468 uint16_t var1
/* : UInt16 */;
2469 var1
= (uint16_t)self
;
2475 /* method fixed_ints#Int16#to_u16 for (self: Numeric): UInt16 */
2476 uint16_t VIRTUAL_core___core__Int16___Numeric__to_u16(val
* self
) {
2477 uint16_t var
/* : UInt16 */;
2478 uint16_t var1
/* : UInt16 */;
2479 int16_t var3
/* : Int16 */;
2480 uint16_t var4
/* : UInt16 */;
2481 { /* Inline fixed_ints#Int16#to_u16 (self) on <self:Numeric(Int16)> */
2482 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2483 var4
= (uint16_t)var3
;
2492 /* method fixed_ints#Int16#to_i32 for (self: Int16): Int32 */
2493 int32_t core___core__Int16___Numeric__to_i32(int16_t self
) {
2494 int32_t var
/* : Int32 */;
2495 int32_t var1
/* : Int32 */;
2496 var1
= (int32_t)self
;
2502 /* method fixed_ints#Int16#to_i32 for (self: Numeric): Int32 */
2503 int32_t VIRTUAL_core___core__Int16___Numeric__to_i32(val
* self
) {
2504 int32_t var
/* : Int32 */;
2505 int32_t var1
/* : Int32 */;
2506 int16_t var3
/* : Int16 */;
2507 int32_t var4
/* : Int32 */;
2508 { /* Inline fixed_ints#Int16#to_i32 (self) on <self:Numeric(Int16)> */
2509 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2510 var4
= (int32_t)var3
;
2519 /* method fixed_ints#Int16#to_u32 for (self: Int16): UInt32 */
2520 uint32_t core___core__Int16___Numeric__to_u32(int16_t self
) {
2521 uint32_t var
/* : UInt32 */;
2522 uint32_t var1
/* : UInt32 */;
2523 var1
= (uint32_t)self
;
2529 /* method fixed_ints#Int16#to_u32 for (self: Numeric): UInt32 */
2530 uint32_t VIRTUAL_core___core__Int16___Numeric__to_u32(val
* self
) {
2531 uint32_t var
/* : UInt32 */;
2532 uint32_t var1
/* : UInt32 */;
2533 int16_t var3
/* : Int16 */;
2534 uint32_t var4
/* : UInt32 */;
2535 { /* Inline fixed_ints#Int16#to_u32 (self) on <self:Numeric(Int16)> */
2536 var3
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Numeric to Int16 */;
2537 var4
= (uint32_t)var3
;
2546 /* method fixed_ints#Int16#distance for (self: Int16, Int16): Int */
2547 long core___core__Int16___core__kernel__Discrete__distance(int16_t self
, int16_t p0
) {
2548 long var
/* : Int */;
2549 short int var1
/* : Bool */;
2552 const char* var_class_name
;
2553 int16_t var_i
/* var i: Int16 */;
2554 int16_t var2
/* : Int16 */;
2555 short int var4
/* : Bool */;
2558 const char* var_class_name7
;
2559 int16_t var8
/* : Int16 */;
2560 long var9
/* : Int */;
2561 long var11
/* : Int */;
2562 /* Covariant cast for argument 0 (i) <p0:Int16> isa OTHER */
2563 /* <p0:Int16> isa OTHER */
2564 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2565 if (unlikely(!var1
)) {
2566 var_class_name
= type_core__Int16
.name
;
2567 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2568 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 310);
2573 { /* Inline fixed_ints#Int16#- (self,var_i) on <self:Int16> */
2574 /* Covariant cast for argument 0 (i) <var_i:Int16> isa OTHER */
2575 /* <var_i:Int16> isa OTHER */
2576 var4
= 1; /* easy <var_i:Int16> isa OTHER*/
2577 if (unlikely(!var4
)) {
2578 var_class_name7
= type_core__Int16
.name
;
2579 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
2580 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 273);
2583 var8
= self
- var_i
;
2590 { /* Inline fixed_ints#Int16#to_i (var2) on <var2:Int16> */
2594 RET_LABEL10
:(void)0;
2602 /* method fixed_ints#Int16#distance for (self: Discrete, Discrete): Int */
2603 long VIRTUAL_core___core__Int16___core__kernel__Discrete__distance(val
* self
, val
* p0
) {
2604 long var
/* : Int */;
2605 long var1
/* : Int */;
2606 int16_t var2
/* : Int16 */;
2607 int16_t var3
/* : Int16 */;
2608 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Discrete to Int16 */;
2609 var3
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Discrete to Int16 */;
2610 var1
= core___core__Int16___core__kernel__Discrete__distance(var2
, var3
);
2615 /* method fixed_ints#Int16#<=> for (self: Int16, Int16): Int */
2616 long core___core__Int16___core__kernel__Comparable___60d_61d_62d(int16_t self
, int16_t p0
) {
2617 long var
/* : Int */;
2618 short int var1
/* : Bool */;
2621 const char* var_class_name
;
2622 int16_t var_other
/* var other: Int16 */;
2623 short int var2
/* : Bool */;
2624 short int var4
/* : Bool */;
2627 const char* var_class_name7
;
2628 short int var8
/* : Bool */;
2629 long var9
/* : Int */;
2630 long var11
/* : Int */;
2631 short int var12
/* : Bool */;
2632 short int var14
/* : Bool */;
2635 const char* var_class_name17
;
2636 short int var18
/* : Bool */;
2637 /* Covariant cast for argument 0 (other) <p0:Int16> isa OTHER */
2638 /* <p0:Int16> isa OTHER */
2639 var1
= 1; /* easy <p0:Int16> isa OTHER*/
2640 if (unlikely(!var1
)) {
2641 var_class_name
= type_core__Int16
.name
;
2642 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2643 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 312);
2648 { /* Inline fixed_ints#Int16#< (self,var_other) on <self:Int16> */
2649 /* Covariant cast for argument 0 (i) <var_other:Int16> isa OTHER */
2650 /* <var_other:Int16> isa OTHER */
2651 var4
= 1; /* easy <var_other:Int16> isa OTHER*/
2652 if (unlikely(!var4
)) {
2653 var_class_name7
= type_core__Int16
.name
;
2654 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
2655 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 265);
2658 var8
= self
< var_other
;
2666 { /* Inline kernel#Int#unary - (1l) on <1l:Int> */
2670 RET_LABEL10
:(void)0;
2677 { /* Inline fixed_ints#Int16#< (var_other,self) on <var_other:Int16> */
2678 /* Covariant cast for argument 0 (i) <self:Int16> isa OTHER */
2679 /* <self:Int16> isa OTHER */
2680 var14
= 1; /* easy <self:Int16> isa OTHER*/
2681 if (unlikely(!var14
)) {
2682 var_class_name17
= type_core__Int16
.name
;
2683 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name17
);
2684 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 265);
2687 var18
= var_other
< self
;
2690 RET_LABEL13
:(void)0;
2704 /* method fixed_ints#Int16#<=> for (self: Comparable, Comparable): Int */
2705 long VIRTUAL_core___core__Int16___core__kernel__Comparable___60d_61d_62d(val
* self
, val
* p0
) {
2706 long var
/* : Int */;
2707 long var1
/* : Int */;
2708 int16_t var2
/* : Int16 */;
2709 int16_t var3
/* : Int16 */;
2710 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Comparable to Int16 */;
2711 var3
= ((struct instance_core__Int16
*)p0
)->value
; /* autounbox from Comparable to Int16 */;
2712 var1
= core___core__Int16___core__kernel__Comparable___60d_61d_62d(var2
, var3
);
2717 /* method fixed_ints#Int16#to_s_len for (self: Int16): Int */
2718 long core___core__Int16___to_s_len(int16_t self
) {
2719 long var
/* : Int */;
2720 long var1
/* : Int */;
2721 var1
= fixed_ints___Int16_to_s_len___impl(self
);
2727 /* method fixed_ints#Int16#native_to_s for (self: Int16, NativeString, Int) */
2728 void core___core__Int16___native_to_s(int16_t self
, char* p0
, long p1
) {
2729 fixed_ints___Int16_native_to_s___impl(self
, p0
, p1
);
2732 /* method fixed_ints#Int16#to_s for (self: Int16): String */
2733 val
* core___core__Int16___core__abstract_text__Object__to_s(int16_t self
) {
2734 val
* var
/* : String */;
2735 long var1
/* : Int */;
2736 long var3
/* : Int */;
2737 long var_nslen
/* var nslen: Int */;
2738 char* var4
/* : NativeString */;
2739 long var5
/* : Int */;
2740 short int var7
/* : Bool */;
2743 const char* var_class_name
;
2744 long var8
/* : Int */;
2745 char* var9
/* : NativeString */;
2746 char* var11
/* : NativeString */;
2747 char* var_ns
/* var ns: NativeString */;
2748 long var13
/* : Int */;
2749 short int var15
/* : Bool */;
2752 const char* var_class_name18
;
2753 long var19
/* : Int */;
2754 val
* var21
/* : FlatString */;
2756 { /* Inline fixed_ints#Int16#to_s_len (self) on <self:Int16> */
2757 var3
= fixed_ints___Int16_to_s_len___impl(self
);
2764 var4
= NULL
/*special!*/;
2766 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
2767 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2768 /* <1l:Int> isa OTHER */
2769 var7
= 1; /* easy <1l:Int> isa OTHER*/
2770 if (unlikely(!var7
)) {
2771 var_class_name
= type_core__Int
.name
;
2772 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2773 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2776 var8
= var_nslen
+ 1l;
2783 { /* Inline native#NativeString#new (var4,var5) on <var4:NativeString> */
2784 var11
= (char*)nit_alloc(var5
);
2787 RET_LABEL10
:(void)0;
2792 { /* Inline native#NativeString#[]= (var_ns,var_nslen,((unsigned char)0x00)) on <var_ns:NativeString> */
2793 var_ns
[var_nslen
]=(unsigned char)((unsigned char)0x00);
2794 RET_LABEL12
:(void)0;
2798 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
2799 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2800 /* <1l:Int> isa OTHER */
2801 var15
= 1; /* easy <1l:Int> isa OTHER*/
2802 if (unlikely(!var15
)) {
2803 var_class_name18
= type_core__Int
.name
;
2804 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name18
);
2805 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2808 var19
= var_nslen
+ 1l;
2811 RET_LABEL14
:(void)0;
2815 { /* Inline fixed_ints#Int16#native_to_s (self,var_ns,var13) on <self:Int16> */
2816 fixed_ints___Int16_native_to_s___impl(self
, var_ns
, var13
);
2817 RET_LABEL20
:(void)0;
2821 var21
= core__flat___NativeString___to_s_with_length(var_ns
, var_nslen
);
2828 /* method fixed_ints#Int16#to_s for (self: Object): String */
2829 val
* VIRTUAL_core___core__Int16___core__abstract_text__Object__to_s(val
* self
) {
2830 val
* var
/* : String */;
2831 val
* var1
/* : String */;
2832 int16_t var2
/* : Int16 */;
2833 var2
= ((struct instance_core__Int16
*)self
)->value
; /* autounbox from Object to Int16 */;
2834 var1
= core___core__Int16___core__abstract_text__Object__to_s(var2
);
2839 /* method fixed_ints#UInt16#successor for (self: UInt16, Int): UInt16 */
2840 uint16_t core___core__UInt16___core__kernel__Discrete__successor(uint16_t self
, long p0
) {
2841 uint16_t var
/* : UInt16 */;
2842 long var_i
/* var i: Int */;
2843 uint16_t var1
/* : UInt16 */;
2844 uint16_t var3
/* : UInt16 */;
2845 uint16_t var4
/* : UInt16 */;
2846 short int var6
/* : Bool */;
2849 const char* var_class_name
;
2850 uint16_t var7
/* : UInt16 */;
2853 { /* Inline fixed_ints#Int#to_u16 (var_i) on <var_i:Int> */
2854 var3
= (uint16_t)var_i
;
2861 { /* Inline fixed_ints#UInt16#+ (self,var1) on <self:UInt16> */
2862 /* Covariant cast for argument 0 (i) <var1:UInt16> isa OTHER */
2863 /* <var1:UInt16> isa OTHER */
2864 var6
= 1; /* easy <var1:UInt16> isa OTHER*/
2865 if (unlikely(!var6
)) {
2866 var_class_name
= type_core__UInt16
.name
;
2867 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2868 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 414);
2882 /* method fixed_ints#UInt16#successor for (self: Discrete, Int): Discrete */
2883 val
* VIRTUAL_core___core__UInt16___core__kernel__Discrete__successor(val
* self
, long p0
) {
2884 val
* var
/* : Discrete */;
2885 uint16_t var1
/* : UInt16 */;
2886 uint16_t var2
/* : UInt16 */;
2887 val
* var3
/* : Discrete */;
2888 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Discrete to UInt16 */;
2889 var1
= core___core__UInt16___core__kernel__Discrete__successor(var2
, p0
);
2890 var3
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Discrete */
2895 /* method fixed_ints#UInt16#object_id for (self: UInt16): Int */
2896 long core___core__UInt16___core__kernel__Object__object_id(uint16_t self
) {
2897 long var
/* : Int */;
2898 long var1
/* : Int */;
2905 /* method fixed_ints#UInt16#object_id for (self: Object): Int */
2906 long VIRTUAL_core___core__UInt16___core__kernel__Object__object_id(val
* self
) {
2907 long var
/* : Int */;
2908 long var1
/* : Int */;
2909 uint16_t var3
/* : UInt16 */;
2910 long var4
/* : Int */;
2911 { /* Inline fixed_ints#UInt16#object_id (self) on <self:Object(UInt16)> */
2912 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Object to UInt16 */;
2922 /* method fixed_ints#UInt16#hash for (self: UInt16): Int */
2923 long core___core__UInt16___core__kernel__Object__hash(uint16_t self
) {
2924 long var
/* : Int */;
2925 long var1
/* : Int */;
2926 long var3
/* : Int */;
2928 { /* Inline fixed_ints#UInt16#to_i (self) on <self:UInt16> */
2940 /* method fixed_ints#UInt16#hash for (self: Object): Int */
2941 long VIRTUAL_core___core__UInt16___core__kernel__Object__hash(val
* self
) {
2942 long var
/* : Int */;
2943 long var1
/* : Int */;
2944 uint16_t var2
/* : UInt16 */;
2945 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Object to UInt16 */;
2946 var1
= core___core__UInt16___core__kernel__Object__hash(var2
);
2951 /* method fixed_ints#UInt16#== for (self: UInt16, nullable Object): Bool */
2952 short int core___core__UInt16___core__kernel__Object___61d_61d(uint16_t self
, val
* p0
) {
2953 short int var
/* : Bool */;
2954 short int var1
/* : Bool */;
2955 uint16_t var2
/* : UInt16 */;
2956 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__UInt16
)) {
2957 var2
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from nullable Object to UInt16 */;
2958 var1
= var2
== self
;
2965 /* method fixed_ints#UInt16#== for (self: Object, nullable Object): Bool */
2966 short int VIRTUAL_core___core__UInt16___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
2967 short int var
/* : Bool */;
2968 short int var1
/* : Bool */;
2969 short int var3
/* : Bool */;
2970 { /* Inline fixed_ints#UInt16#== (self,p0) on <self:Object(UInt16)> */
2971 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__UInt16
*)self
)->value
== ((struct instance_core__UInt16
*)p0
)->value
);
2980 /* method fixed_ints#UInt16#!= for (self: UInt16, nullable Object): Bool */
2981 short int core___core__UInt16___core__kernel__Object___33d_61d(uint16_t self
, val
* p0
) {
2982 short int var
/* : Bool */;
2983 short int var1
/* : Bool */;
2984 uint16_t var2
/* : UInt16 */;
2985 short int var3
/* : Bool */;
2986 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__UInt16
)) {
2987 var2
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from nullable Object to UInt16 */;
2988 var1
= var2
== self
;
2996 /* method fixed_ints#UInt16#!= for (self: Object, nullable Object): Bool */
2997 short int VIRTUAL_core___core__UInt16___core__kernel__Object___33d_61d(val
* self
, val
* p0
) {
2998 short int var
/* : Bool */;
2999 short int var1
/* : Bool */;
3000 short int var3
/* : Bool */;
3001 short int var4
/* : Bool */;
3002 { /* Inline fixed_ints#UInt16#!= (self,p0) on <self:Object(UInt16)> */
3003 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__UInt16
*)self
)->value
== ((struct instance_core__UInt16
*)p0
)->value
);
3013 /* method fixed_ints#UInt16#<= for (self: UInt16, UInt16): Bool */
3014 short int core___core__UInt16___core__kernel__Comparable___60d_61d(uint16_t self
, uint16_t p0
) {
3015 short int var
/* : Bool */;
3016 short int var1
/* : Bool */;
3019 const char* var_class_name
;
3020 short int var2
/* : Bool */;
3021 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3022 /* <p0:UInt16> isa OTHER */
3023 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3024 if (unlikely(!var1
)) {
3025 var_class_name
= type_core__UInt16
.name
;
3026 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3027 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 410);
3036 /* method fixed_ints#UInt16#<= for (self: Comparable, Comparable): Bool */
3037 short int VIRTUAL_core___core__UInt16___core__kernel__Comparable___60d_61d(val
* self
, val
* p0
) {
3038 short int var
/* : Bool */;
3039 short int var1
/* : Bool */;
3040 short int var3
/* : Bool */;
3043 const struct type
* type_struct
;
3044 const char* var_class_name
;
3045 uint16_t var4
/* : UInt16 */;
3046 uint16_t var5
/* : UInt16 */;
3047 short int var6
/* : Bool */;
3048 { /* Inline fixed_ints#UInt16#<= (self,p0) on <self:Comparable(UInt16)> */
3049 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
3050 /* <p0:Comparable> isa OTHER */
3051 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3052 cltype
= type_struct
->color
;
3053 idtype
= type_struct
->id
;
3054 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3057 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3059 if (unlikely(!var3
)) {
3060 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3061 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3062 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 410);
3065 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Comparable to UInt16 */;
3066 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Comparable to UInt16 */;
3067 var6
= var4
<= var5
;
3076 /* method fixed_ints#UInt16#< for (self: UInt16, UInt16): Bool */
3077 short int core___core__UInt16___core__kernel__Comparable___60d(uint16_t self
, uint16_t p0
) {
3078 short int var
/* : Bool */;
3079 short int var1
/* : Bool */;
3082 const char* var_class_name
;
3083 short int var2
/* : Bool */;
3084 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3085 /* <p0:UInt16> isa OTHER */
3086 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3087 if (unlikely(!var1
)) {
3088 var_class_name
= type_core__UInt16
.name
;
3089 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3090 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 411);
3099 /* method fixed_ints#UInt16#< for (self: Comparable, Comparable): Bool */
3100 short int VIRTUAL_core___core__UInt16___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
3101 short int var
/* : Bool */;
3102 short int var1
/* : Bool */;
3103 short int var3
/* : Bool */;
3106 const struct type
* type_struct
;
3107 const char* var_class_name
;
3108 uint16_t var4
/* : UInt16 */;
3109 uint16_t var5
/* : UInt16 */;
3110 short int var6
/* : Bool */;
3111 { /* Inline fixed_ints#UInt16#< (self,p0) on <self:Comparable(UInt16)> */
3112 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
3113 /* <p0:Comparable> isa OTHER */
3114 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3115 cltype
= type_struct
->color
;
3116 idtype
= type_struct
->id
;
3117 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3120 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3122 if (unlikely(!var3
)) {
3123 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3124 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3125 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 411);
3128 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Comparable to UInt16 */;
3129 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Comparable to UInt16 */;
3139 /* method fixed_ints#UInt16#>= for (self: UInt16, UInt16): Bool */
3140 short int core___core__UInt16___core__kernel__Comparable___62d_61d(uint16_t self
, uint16_t p0
) {
3141 short int var
/* : Bool */;
3142 short int var1
/* : Bool */;
3145 const char* var_class_name
;
3146 short int var2
/* : Bool */;
3147 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3148 /* <p0:UInt16> isa OTHER */
3149 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3150 if (unlikely(!var1
)) {
3151 var_class_name
= type_core__UInt16
.name
;
3152 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3153 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 412);
3162 /* method fixed_ints#UInt16#>= for (self: Comparable, Comparable): Bool */
3163 short int VIRTUAL_core___core__UInt16___core__kernel__Comparable___62d_61d(val
* self
, val
* p0
) {
3164 short int var
/* : Bool */;
3165 short int var1
/* : Bool */;
3166 short int var3
/* : Bool */;
3169 const struct type
* type_struct
;
3170 const char* var_class_name
;
3171 uint16_t var4
/* : UInt16 */;
3172 uint16_t var5
/* : UInt16 */;
3173 short int var6
/* : Bool */;
3174 { /* Inline fixed_ints#UInt16#>= (self,p0) on <self:Comparable(UInt16)> */
3175 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
3176 /* <p0:Comparable> isa OTHER */
3177 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3178 cltype
= type_struct
->color
;
3179 idtype
= type_struct
->id
;
3180 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3183 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3185 if (unlikely(!var3
)) {
3186 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3187 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3188 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 412);
3191 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Comparable to UInt16 */;
3192 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Comparable to UInt16 */;
3193 var6
= var4
>= var5
;
3202 /* method fixed_ints#UInt16#> for (self: UInt16, UInt16): Bool */
3203 short int core___core__UInt16___core__kernel__Comparable___62d(uint16_t self
, uint16_t p0
) {
3204 short int var
/* : Bool */;
3205 short int var1
/* : Bool */;
3208 const char* var_class_name
;
3209 short int var2
/* : Bool */;
3210 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3211 /* <p0:UInt16> isa OTHER */
3212 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3213 if (unlikely(!var1
)) {
3214 var_class_name
= type_core__UInt16
.name
;
3215 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3216 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 413);
3225 /* method fixed_ints#UInt16#> for (self: Comparable, Comparable): Bool */
3226 short int VIRTUAL_core___core__UInt16___core__kernel__Comparable___62d(val
* self
, val
* p0
) {
3227 short int var
/* : Bool */;
3228 short int var1
/* : Bool */;
3229 short int var3
/* : Bool */;
3232 const struct type
* type_struct
;
3233 const char* var_class_name
;
3234 uint16_t var4
/* : UInt16 */;
3235 uint16_t var5
/* : UInt16 */;
3236 short int var6
/* : Bool */;
3237 { /* Inline fixed_ints#UInt16#> (self,p0) on <self:Comparable(UInt16)> */
3238 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
3239 /* <p0:Comparable> isa OTHER */
3240 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3241 cltype
= type_struct
->color
;
3242 idtype
= type_struct
->id
;
3243 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3246 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3248 if (unlikely(!var3
)) {
3249 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3250 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3251 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 413);
3254 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Comparable to UInt16 */;
3255 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Comparable to UInt16 */;
3265 /* method fixed_ints#UInt16#+ for (self: UInt16, UInt16): UInt16 */
3266 uint16_t core___core__UInt16___core__kernel__Numeric___43d(uint16_t self
, uint16_t p0
) {
3267 uint16_t var
/* : UInt16 */;
3268 short int var1
/* : Bool */;
3271 const char* var_class_name
;
3272 uint16_t var2
/* : UInt16 */;
3273 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3274 /* <p0:UInt16> isa OTHER */
3275 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3276 if (unlikely(!var1
)) {
3277 var_class_name
= type_core__UInt16
.name
;
3278 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3279 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 414);
3288 /* method fixed_ints#UInt16#+ for (self: Numeric, Numeric): Numeric */
3289 val
* VIRTUAL_core___core__UInt16___core__kernel__Numeric___43d(val
* self
, val
* p0
) {
3290 val
* var
/* : Numeric */;
3291 uint16_t var1
/* : UInt16 */;
3292 short int var3
/* : Bool */;
3295 const struct type
* type_struct
;
3296 const char* var_class_name
;
3297 uint16_t var4
/* : UInt16 */;
3298 uint16_t var5
/* : UInt16 */;
3299 uint16_t var6
/* : UInt16 */;
3300 val
* var7
/* : Numeric */;
3301 { /* Inline fixed_ints#UInt16#+ (self,p0) on <self:Numeric(UInt16)> */
3302 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
3303 /* <p0:Numeric> isa OTHER */
3304 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3305 cltype
= type_struct
->color
;
3306 idtype
= type_struct
->id
;
3307 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3310 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3312 if (unlikely(!var3
)) {
3313 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3314 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3315 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 414);
3318 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3319 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Numeric to UInt16 */;
3325 var7
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Numeric */
3330 /* method fixed_ints#UInt16#unary - for (self: UInt16): UInt16 */
3331 uint16_t core___core__UInt16___core__kernel__Numeric__unary_32d_45d(uint16_t self
) {
3332 uint16_t var
/* : UInt16 */;
3333 uint16_t var1
/* : UInt16 */;
3340 /* method fixed_ints#UInt16#unary - for (self: Numeric): Numeric */
3341 val
* VIRTUAL_core___core__UInt16___core__kernel__Numeric__unary_32d_45d(val
* self
) {
3342 val
* var
/* : Numeric */;
3343 uint16_t var1
/* : UInt16 */;
3344 uint16_t var3
/* : UInt16 */;
3345 uint16_t var4
/* : UInt16 */;
3346 val
* var5
/* : Numeric */;
3347 { /* Inline fixed_ints#UInt16#unary - (self) on <self:Numeric(UInt16)> */
3348 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3354 var5
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Numeric */
3359 /* method fixed_ints#UInt16#- for (self: UInt16, UInt16): UInt16 */
3360 uint16_t core___core__UInt16___core__kernel__Numeric___45d(uint16_t self
, uint16_t p0
) {
3361 uint16_t var
/* : UInt16 */;
3362 short int var1
/* : Bool */;
3365 const char* var_class_name
;
3366 uint16_t var2
/* : UInt16 */;
3367 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3368 /* <p0:UInt16> isa OTHER */
3369 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3370 if (unlikely(!var1
)) {
3371 var_class_name
= type_core__UInt16
.name
;
3372 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3373 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 419);
3382 /* method fixed_ints#UInt16#- for (self: Numeric, Numeric): Numeric */
3383 val
* VIRTUAL_core___core__UInt16___core__kernel__Numeric___45d(val
* self
, val
* p0
) {
3384 val
* var
/* : Numeric */;
3385 uint16_t var1
/* : UInt16 */;
3386 short int var3
/* : Bool */;
3389 const struct type
* type_struct
;
3390 const char* var_class_name
;
3391 uint16_t var4
/* : UInt16 */;
3392 uint16_t var5
/* : UInt16 */;
3393 uint16_t var6
/* : UInt16 */;
3394 val
* var7
/* : Numeric */;
3395 { /* Inline fixed_ints#UInt16#- (self,p0) on <self:Numeric(UInt16)> */
3396 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
3397 /* <p0:Numeric> isa OTHER */
3398 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3399 cltype
= type_struct
->color
;
3400 idtype
= type_struct
->id
;
3401 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3404 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3406 if (unlikely(!var3
)) {
3407 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3408 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3409 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 419);
3412 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3413 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Numeric to UInt16 */;
3419 var7
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Numeric */
3424 /* method fixed_ints#UInt16#* for (self: UInt16, UInt16): UInt16 */
3425 uint16_t core___core__UInt16___core__kernel__Numeric___42d(uint16_t self
, uint16_t p0
) {
3426 uint16_t var
/* : UInt16 */;
3427 short int var1
/* : Bool */;
3430 const char* var_class_name
;
3431 uint16_t var2
/* : UInt16 */;
3432 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3433 /* <p0:UInt16> isa OTHER */
3434 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3435 if (unlikely(!var1
)) {
3436 var_class_name
= type_core__UInt16
.name
;
3437 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3438 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 420);
3447 /* method fixed_ints#UInt16#* for (self: Numeric, Numeric): Numeric */
3448 val
* VIRTUAL_core___core__UInt16___core__kernel__Numeric___42d(val
* self
, val
* p0
) {
3449 val
* var
/* : Numeric */;
3450 uint16_t var1
/* : UInt16 */;
3451 short int var3
/* : Bool */;
3454 const struct type
* type_struct
;
3455 const char* var_class_name
;
3456 uint16_t var4
/* : UInt16 */;
3457 uint16_t var5
/* : UInt16 */;
3458 uint16_t var6
/* : UInt16 */;
3459 val
* var7
/* : Numeric */;
3460 { /* Inline fixed_ints#UInt16#* (self,p0) on <self:Numeric(UInt16)> */
3461 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
3462 /* <p0:Numeric> isa OTHER */
3463 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3464 cltype
= type_struct
->color
;
3465 idtype
= type_struct
->id
;
3466 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3469 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3471 if (unlikely(!var3
)) {
3472 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3473 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3474 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 420);
3477 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3478 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Numeric to UInt16 */;
3484 var7
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Numeric */
3489 /* method fixed_ints#UInt16#/ for (self: UInt16, UInt16): UInt16 */
3490 uint16_t core___core__UInt16___core__kernel__Numeric___47d(uint16_t self
, uint16_t p0
) {
3491 uint16_t var
/* : UInt16 */;
3492 short int var1
/* : Bool */;
3495 const char* var_class_name
;
3496 uint16_t var2
/* : UInt16 */;
3497 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3498 /* <p0:UInt16> isa OTHER */
3499 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3500 if (unlikely(!var1
)) {
3501 var_class_name
= type_core__UInt16
.name
;
3502 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3503 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 421);
3512 /* method fixed_ints#UInt16#/ for (self: Numeric, Numeric): Numeric */
3513 val
* VIRTUAL_core___core__UInt16___core__kernel__Numeric___47d(val
* self
, val
* p0
) {
3514 val
* var
/* : Numeric */;
3515 uint16_t var1
/* : UInt16 */;
3516 short int var3
/* : Bool */;
3519 const struct type
* type_struct
;
3520 const char* var_class_name
;
3521 uint16_t var4
/* : UInt16 */;
3522 uint16_t var5
/* : UInt16 */;
3523 uint16_t var6
/* : UInt16 */;
3524 val
* var7
/* : Numeric */;
3525 { /* Inline fixed_ints#UInt16#/ (self,p0) on <self:Numeric(UInt16)> */
3526 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
3527 /* <p0:Numeric> isa OTHER */
3528 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
3529 cltype
= type_struct
->color
;
3530 idtype
= type_struct
->id
;
3531 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
3534 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
3536 if (unlikely(!var3
)) {
3537 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
3538 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3539 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 421);
3542 var4
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3543 var5
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Numeric to UInt16 */;
3549 var7
= BOX_core__UInt16(var1
); /* autobox from UInt16 to Numeric */
3554 /* method fixed_ints#UInt16#to_i for (self: UInt16): Int */
3555 long core___core__UInt16___core__kernel__Numeric__to_i(uint16_t self
) {
3556 long var
/* : Int */;
3557 long var1
/* : Int */;
3564 /* method fixed_ints#UInt16#to_i for (self: Numeric): Int */
3565 long VIRTUAL_core___core__UInt16___core__kernel__Numeric__to_i(val
* self
) {
3566 long var
/* : Int */;
3567 long var1
/* : Int */;
3568 uint16_t var3
/* : UInt16 */;
3569 long var4
/* : Int */;
3570 { /* Inline fixed_ints#UInt16#to_i (self) on <self:Numeric(UInt16)> */
3571 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3581 /* method fixed_ints#UInt16#to_f for (self: UInt16): Float */
3582 double core___core__UInt16___core__kernel__Numeric__to_f(uint16_t self
) {
3583 double var
/* : Float */;
3584 double var1
/* : Float */;
3585 var1
= (double)self
;
3591 /* method fixed_ints#UInt16#to_f for (self: Numeric): Float */
3592 double VIRTUAL_core___core__UInt16___core__kernel__Numeric__to_f(val
* self
) {
3593 double var
/* : Float */;
3594 double var1
/* : Float */;
3595 uint16_t var3
/* : UInt16 */;
3596 double var4
/* : Float */;
3597 { /* Inline fixed_ints#UInt16#to_f (self) on <self:Numeric(UInt16)> */
3598 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3599 var4
= (double)var3
;
3608 /* method fixed_ints#UInt16#to_b for (self: UInt16): Byte */
3609 unsigned char core___core__UInt16___core__kernel__Numeric__to_b(uint16_t self
) {
3610 unsigned char var
/* : Byte */;
3611 unsigned char var1
/* : Byte */;
3612 var1
= (unsigned char)self
;
3618 /* method fixed_ints#UInt16#to_b for (self: Numeric): Byte */
3619 unsigned char VIRTUAL_core___core__UInt16___core__kernel__Numeric__to_b(val
* self
) {
3620 unsigned char var
/* : Byte */;
3621 unsigned char var1
/* : Byte */;
3622 uint16_t var3
/* : UInt16 */;
3623 unsigned char var4
/* : Byte */;
3624 { /* Inline fixed_ints#UInt16#to_b (self) on <self:Numeric(UInt16)> */
3625 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3626 var4
= (unsigned char)var3
;
3635 /* method fixed_ints#UInt16#to_i8 for (self: UInt16): Int8 */
3636 int8_t core___core__UInt16___Numeric__to_i8(uint16_t self
) {
3637 int8_t var
/* : Int8 */;
3638 int8_t var1
/* : Int8 */;
3639 var1
= (int8_t)self
;
3645 /* method fixed_ints#UInt16#to_i8 for (self: Numeric): Int8 */
3646 int8_t VIRTUAL_core___core__UInt16___Numeric__to_i8(val
* self
) {
3647 int8_t var
/* : Int8 */;
3648 int8_t var1
/* : Int8 */;
3649 uint16_t var3
/* : UInt16 */;
3650 int8_t var4
/* : Int8 */;
3651 { /* Inline fixed_ints#UInt16#to_i8 (self) on <self:Numeric(UInt16)> */
3652 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3653 var4
= (int8_t)var3
;
3662 /* method fixed_ints#UInt16#to_i16 for (self: UInt16): Int16 */
3663 int16_t core___core__UInt16___Numeric__to_i16(uint16_t self
) {
3664 int16_t var
/* : Int16 */;
3665 int16_t var1
/* : Int16 */;
3666 var1
= (int16_t)self
;
3672 /* method fixed_ints#UInt16#to_i16 for (self: Numeric): Int16 */
3673 int16_t VIRTUAL_core___core__UInt16___Numeric__to_i16(val
* self
) {
3674 int16_t var
/* : Int16 */;
3675 int16_t var1
/* : Int16 */;
3676 uint16_t var3
/* : UInt16 */;
3677 int16_t var4
/* : Int16 */;
3678 { /* Inline fixed_ints#UInt16#to_i16 (self) on <self:Numeric(UInt16)> */
3679 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3680 var4
= (int16_t)var3
;
3689 /* method fixed_ints#UInt16#to_u16 for (self: UInt16): UInt16 */
3690 uint16_t core___core__UInt16___Numeric__to_u16(uint16_t self
) {
3691 uint16_t var
/* : UInt16 */;
3697 /* method fixed_ints#UInt16#to_u16 for (self: Numeric): UInt16 */
3698 uint16_t VIRTUAL_core___core__UInt16___Numeric__to_u16(val
* self
) {
3699 uint16_t var
/* : UInt16 */;
3700 uint16_t var1
/* : UInt16 */;
3701 uint16_t var2
/* : UInt16 */;
3702 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3703 var1
= core___core__UInt16___Numeric__to_u16(var2
);
3708 /* method fixed_ints#UInt16#to_i32 for (self: UInt16): Int32 */
3709 int32_t core___core__UInt16___Numeric__to_i32(uint16_t self
) {
3710 int32_t var
/* : Int32 */;
3711 int32_t var1
/* : Int32 */;
3712 var1
= (int32_t)self
;
3718 /* method fixed_ints#UInt16#to_i32 for (self: Numeric): Int32 */
3719 int32_t VIRTUAL_core___core__UInt16___Numeric__to_i32(val
* self
) {
3720 int32_t var
/* : Int32 */;
3721 int32_t var1
/* : Int32 */;
3722 uint16_t var3
/* : UInt16 */;
3723 int32_t var4
/* : Int32 */;
3724 { /* Inline fixed_ints#UInt16#to_i32 (self) on <self:Numeric(UInt16)> */
3725 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3726 var4
= (int32_t)var3
;
3735 /* method fixed_ints#UInt16#to_u32 for (self: UInt16): UInt32 */
3736 uint32_t core___core__UInt16___Numeric__to_u32(uint16_t self
) {
3737 uint32_t var
/* : UInt32 */;
3738 uint32_t var1
/* : UInt32 */;
3739 var1
= (uint32_t)self
;
3745 /* method fixed_ints#UInt16#to_u32 for (self: Numeric): UInt32 */
3746 uint32_t VIRTUAL_core___core__UInt16___Numeric__to_u32(val
* self
) {
3747 uint32_t var
/* : UInt32 */;
3748 uint32_t var1
/* : UInt32 */;
3749 uint16_t var3
/* : UInt16 */;
3750 uint32_t var4
/* : UInt32 */;
3751 { /* Inline fixed_ints#UInt16#to_u32 (self) on <self:Numeric(UInt16)> */
3752 var3
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Numeric to UInt16 */;
3753 var4
= (uint32_t)var3
;
3762 /* method fixed_ints#UInt16#distance for (self: UInt16, UInt16): Int */
3763 long core___core__UInt16___core__kernel__Discrete__distance(uint16_t self
, uint16_t p0
) {
3764 long var
/* : Int */;
3765 short int var1
/* : Bool */;
3768 const char* var_class_name
;
3769 uint16_t var_i
/* var i: UInt16 */;
3770 uint16_t var2
/* : UInt16 */;
3771 short int var4
/* : Bool */;
3774 const char* var_class_name7
;
3775 uint16_t var8
/* : UInt16 */;
3776 long var9
/* : Int */;
3777 long var11
/* : Int */;
3778 /* Covariant cast for argument 0 (i) <p0:UInt16> isa OTHER */
3779 /* <p0:UInt16> isa OTHER */
3780 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3781 if (unlikely(!var1
)) {
3782 var_class_name
= type_core__UInt16
.name
;
3783 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3784 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 456);
3789 { /* Inline fixed_ints#UInt16#- (self,var_i) on <self:UInt16> */
3790 /* Covariant cast for argument 0 (i) <var_i:UInt16> isa OTHER */
3791 /* <var_i:UInt16> isa OTHER */
3792 var4
= 1; /* easy <var_i:UInt16> isa OTHER*/
3793 if (unlikely(!var4
)) {
3794 var_class_name7
= type_core__UInt16
.name
;
3795 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
3796 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 419);
3799 var8
= self
- var_i
;
3806 { /* Inline fixed_ints#UInt16#to_i (var2) on <var2:UInt16> */
3810 RET_LABEL10
:(void)0;
3818 /* method fixed_ints#UInt16#distance for (self: Discrete, Discrete): Int */
3819 long VIRTUAL_core___core__UInt16___core__kernel__Discrete__distance(val
* self
, val
* p0
) {
3820 long var
/* : Int */;
3821 long var1
/* : Int */;
3822 uint16_t var2
/* : UInt16 */;
3823 uint16_t var3
/* : UInt16 */;
3824 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Discrete to UInt16 */;
3825 var3
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Discrete to UInt16 */;
3826 var1
= core___core__UInt16___core__kernel__Discrete__distance(var2
, var3
);
3831 /* method fixed_ints#UInt16#<=> for (self: UInt16, UInt16): Int */
3832 long core___core__UInt16___core__kernel__Comparable___60d_61d_62d(uint16_t self
, uint16_t p0
) {
3833 long var
/* : Int */;
3834 short int var1
/* : Bool */;
3837 const char* var_class_name
;
3838 uint16_t var_other
/* var other: UInt16 */;
3839 short int var2
/* : Bool */;
3840 short int var4
/* : Bool */;
3843 const char* var_class_name7
;
3844 short int var8
/* : Bool */;
3845 long var9
/* : Int */;
3846 long var11
/* : Int */;
3847 short int var12
/* : Bool */;
3848 short int var14
/* : Bool */;
3851 const char* var_class_name17
;
3852 short int var18
/* : Bool */;
3853 /* Covariant cast for argument 0 (other) <p0:UInt16> isa OTHER */
3854 /* <p0:UInt16> isa OTHER */
3855 var1
= 1; /* easy <p0:UInt16> isa OTHER*/
3856 if (unlikely(!var1
)) {
3857 var_class_name
= type_core__UInt16
.name
;
3858 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3859 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 458);
3864 { /* Inline fixed_ints#UInt16#< (self,var_other) on <self:UInt16> */
3865 /* Covariant cast for argument 0 (i) <var_other:UInt16> isa OTHER */
3866 /* <var_other:UInt16> isa OTHER */
3867 var4
= 1; /* easy <var_other:UInt16> isa OTHER*/
3868 if (unlikely(!var4
)) {
3869 var_class_name7
= type_core__UInt16
.name
;
3870 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
3871 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 411);
3874 var8
= self
< var_other
;
3882 { /* Inline kernel#Int#unary - (1l) on <1l:Int> */
3886 RET_LABEL10
:(void)0;
3893 { /* Inline fixed_ints#UInt16#< (var_other,self) on <var_other:UInt16> */
3894 /* Covariant cast for argument 0 (i) <self:UInt16> isa OTHER */
3895 /* <self:UInt16> isa OTHER */
3896 var14
= 1; /* easy <self:UInt16> isa OTHER*/
3897 if (unlikely(!var14
)) {
3898 var_class_name17
= type_core__UInt16
.name
;
3899 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name17
);
3900 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 411);
3903 var18
= var_other
< self
;
3906 RET_LABEL13
:(void)0;
3920 /* method fixed_ints#UInt16#<=> for (self: Comparable, Comparable): Int */
3921 long VIRTUAL_core___core__UInt16___core__kernel__Comparable___60d_61d_62d(val
* self
, val
* p0
) {
3922 long var
/* : Int */;
3923 long var1
/* : Int */;
3924 uint16_t var2
/* : UInt16 */;
3925 uint16_t var3
/* : UInt16 */;
3926 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Comparable to UInt16 */;
3927 var3
= ((struct instance_core__UInt16
*)p0
)->value
; /* autounbox from Comparable to UInt16 */;
3928 var1
= core___core__UInt16___core__kernel__Comparable___60d_61d_62d(var2
, var3
);
3933 /* method fixed_ints#UInt16#to_s_len for (self: UInt16): Int */
3934 long core___core__UInt16___to_s_len(uint16_t self
) {
3935 long var
/* : Int */;
3936 long var1
/* : Int */;
3937 var1
= fixed_ints___UInt16_to_s_len___impl(self
);
3943 /* method fixed_ints#UInt16#native_to_s for (self: UInt16, NativeString, Int) */
3944 void core___core__UInt16___native_to_s(uint16_t self
, char* p0
, long p1
) {
3945 fixed_ints___UInt16_native_to_s___impl(self
, p0
, p1
);
3948 /* method fixed_ints#UInt16#to_s for (self: UInt16): String */
3949 val
* core___core__UInt16___core__abstract_text__Object__to_s(uint16_t self
) {
3950 val
* var
/* : String */;
3951 long var1
/* : Int */;
3952 long var3
/* : Int */;
3953 long var_nslen
/* var nslen: Int */;
3954 char* var4
/* : NativeString */;
3955 long var5
/* : Int */;
3956 short int var7
/* : Bool */;
3959 const char* var_class_name
;
3960 long var8
/* : Int */;
3961 char* var9
/* : NativeString */;
3962 char* var11
/* : NativeString */;
3963 char* var_ns
/* var ns: NativeString */;
3964 long var13
/* : Int */;
3965 short int var15
/* : Bool */;
3968 const char* var_class_name18
;
3969 long var19
/* : Int */;
3970 val
* var21
/* : FlatString */;
3972 { /* Inline fixed_ints#UInt16#to_s_len (self) on <self:UInt16> */
3973 var3
= fixed_ints___UInt16_to_s_len___impl(self
);
3980 var4
= NULL
/*special!*/;
3982 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
3983 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
3984 /* <1l:Int> isa OTHER */
3985 var7
= 1; /* easy <1l:Int> isa OTHER*/
3986 if (unlikely(!var7
)) {
3987 var_class_name
= type_core__Int
.name
;
3988 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
3989 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
3992 var8
= var_nslen
+ 1l;
3999 { /* Inline native#NativeString#new (var4,var5) on <var4:NativeString> */
4000 var11
= (char*)nit_alloc(var5
);
4003 RET_LABEL10
:(void)0;
4008 { /* Inline native#NativeString#[]= (var_ns,var_nslen,((unsigned char)0x00)) on <var_ns:NativeString> */
4009 var_ns
[var_nslen
]=(unsigned char)((unsigned char)0x00);
4010 RET_LABEL12
:(void)0;
4014 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
4015 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
4016 /* <1l:Int> isa OTHER */
4017 var15
= 1; /* easy <1l:Int> isa OTHER*/
4018 if (unlikely(!var15
)) {
4019 var_class_name18
= type_core__Int
.name
;
4020 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name18
);
4021 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
4024 var19
= var_nslen
+ 1l;
4027 RET_LABEL14
:(void)0;
4031 { /* Inline fixed_ints#UInt16#native_to_s (self,var_ns,var13) on <self:UInt16> */
4032 fixed_ints___UInt16_native_to_s___impl(self
, var_ns
, var13
);
4033 RET_LABEL20
:(void)0;
4037 var21
= core__flat___NativeString___to_s_with_length(var_ns
, var_nslen
);
4044 /* method fixed_ints#UInt16#to_s for (self: Object): String */
4045 val
* VIRTUAL_core___core__UInt16___core__abstract_text__Object__to_s(val
* self
) {
4046 val
* var
/* : String */;
4047 val
* var1
/* : String */;
4048 uint16_t var2
/* : UInt16 */;
4049 var2
= ((struct instance_core__UInt16
*)self
)->value
; /* autounbox from Object to UInt16 */;
4050 var1
= core___core__UInt16___core__abstract_text__Object__to_s(var2
);
4055 /* method fixed_ints#Int32#successor for (self: Int32, Int): Int32 */
4056 int32_t core___core__Int32___core__kernel__Discrete__successor(int32_t self
, long p0
) {
4057 int32_t var
/* : Int32 */;
4058 long var_i
/* var i: Int */;
4059 int32_t var1
/* : Int32 */;
4060 int32_t var3
/* : Int32 */;
4061 int32_t var4
/* : Int32 */;
4062 short int var6
/* : Bool */;
4065 const char* var_class_name
;
4066 int32_t var7
/* : Int32 */;
4069 { /* Inline fixed_ints#Int#to_i32 (var_i) on <var_i:Int> */
4070 var3
= (int32_t)var_i
;
4077 { /* Inline fixed_ints#Int32#+ (self,var1) on <self:Int32> */
4078 /* Covariant cast for argument 0 (i) <var1:Int32> isa OTHER */
4079 /* <var1:Int32> isa OTHER */
4080 var6
= 1; /* easy <var1:Int32> isa OTHER*/
4081 if (unlikely(!var6
)) {
4082 var_class_name
= type_core__Int32
.name
;
4083 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4084 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 561);
4098 /* method fixed_ints#Int32#successor for (self: Discrete, Int): Discrete */
4099 val
* VIRTUAL_core___core__Int32___core__kernel__Discrete__successor(val
* self
, long p0
) {
4100 val
* var
/* : Discrete */;
4101 int32_t var1
/* : Int32 */;
4102 int32_t var2
/* : Int32 */;
4103 val
* var3
/* : Discrete */;
4104 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Discrete to Int32 */;
4105 var1
= core___core__Int32___core__kernel__Discrete__successor(var2
, p0
);
4106 var3
= BOX_core__Int32(var1
); /* autobox from Int32 to Discrete */
4111 /* method fixed_ints#Int32#object_id for (self: Int32): Int */
4112 long core___core__Int32___core__kernel__Object__object_id(int32_t self
) {
4113 long var
/* : Int */;
4114 long var1
/* : Int */;
4121 /* method fixed_ints#Int32#object_id for (self: Object): Int */
4122 long VIRTUAL_core___core__Int32___core__kernel__Object__object_id(val
* self
) {
4123 long var
/* : Int */;
4124 long var1
/* : Int */;
4125 int32_t var3
/* : Int32 */;
4126 long var4
/* : Int */;
4127 { /* Inline fixed_ints#Int32#object_id (self) on <self:Object(Int32)> */
4128 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Object to Int32 */;
4138 /* method fixed_ints#Int32#hash for (self: Int32): Int */
4139 long core___core__Int32___core__kernel__Object__hash(int32_t self
) {
4140 long var
/* : Int */;
4141 long var1
/* : Int */;
4142 long var3
/* : Int */;
4144 { /* Inline fixed_ints#Int32#to_i (self) on <self:Int32> */
4156 /* method fixed_ints#Int32#hash for (self: Object): Int */
4157 long VIRTUAL_core___core__Int32___core__kernel__Object__hash(val
* self
) {
4158 long var
/* : Int */;
4159 long var1
/* : Int */;
4160 int32_t var2
/* : Int32 */;
4161 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Object to Int32 */;
4162 var1
= core___core__Int32___core__kernel__Object__hash(var2
);
4167 /* method fixed_ints#Int32#== for (self: Int32, nullable Object): Bool */
4168 short int core___core__Int32___core__kernel__Object___61d_61d(int32_t self
, val
* p0
) {
4169 short int var
/* : Bool */;
4170 short int var1
/* : Bool */;
4171 int32_t var2
/* : Int32 */;
4172 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int32
)) {
4173 var2
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from nullable Object to Int32 */;
4174 var1
= var2
== self
;
4181 /* method fixed_ints#Int32#== for (self: Object, nullable Object): Bool */
4182 short int VIRTUAL_core___core__Int32___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
4183 short int var
/* : Bool */;
4184 short int var1
/* : Bool */;
4185 short int var3
/* : Bool */;
4186 { /* Inline fixed_ints#Int32#== (self,p0) on <self:Object(Int32)> */
4187 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int32
*)self
)->value
== ((struct instance_core__Int32
*)p0
)->value
);
4196 /* method fixed_ints#Int32#!= for (self: Int32, nullable Object): Bool */
4197 short int core___core__Int32___core__kernel__Object___33d_61d(int32_t self
, val
* p0
) {
4198 short int var
/* : Bool */;
4199 short int var1
/* : Bool */;
4200 int32_t var2
/* : Int32 */;
4201 short int var3
/* : Bool */;
4202 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__Int32
)) {
4203 var2
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from nullable Object to Int32 */;
4204 var1
= var2
== self
;
4212 /* method fixed_ints#Int32#!= for (self: Object, nullable Object): Bool */
4213 short int VIRTUAL_core___core__Int32___core__kernel__Object___33d_61d(val
* self
, val
* p0
) {
4214 short int var
/* : Bool */;
4215 short int var1
/* : Bool */;
4216 short int var3
/* : Bool */;
4217 short int var4
/* : Bool */;
4218 { /* Inline fixed_ints#Int32#!= (self,p0) on <self:Object(Int32)> */
4219 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__Int32
*)self
)->value
== ((struct instance_core__Int32
*)p0
)->value
);
4229 /* method fixed_ints#Int32#<= for (self: Int32, Int32): Bool */
4230 short int core___core__Int32___core__kernel__Comparable___60d_61d(int32_t self
, int32_t p0
) {
4231 short int var
/* : Bool */;
4232 short int var1
/* : Bool */;
4235 const char* var_class_name
;
4236 short int var2
/* : Bool */;
4237 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4238 /* <p0:Int32> isa OTHER */
4239 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4240 if (unlikely(!var1
)) {
4241 var_class_name
= type_core__Int32
.name
;
4242 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4243 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 557);
4252 /* method fixed_ints#Int32#<= for (self: Comparable, Comparable): Bool */
4253 short int VIRTUAL_core___core__Int32___core__kernel__Comparable___60d_61d(val
* self
, val
* p0
) {
4254 short int var
/* : Bool */;
4255 short int var1
/* : Bool */;
4256 short int var3
/* : Bool */;
4259 const struct type
* type_struct
;
4260 const char* var_class_name
;
4261 int32_t var4
/* : Int32 */;
4262 int32_t var5
/* : Int32 */;
4263 short int var6
/* : Bool */;
4264 { /* Inline fixed_ints#Int32#<= (self,p0) on <self:Comparable(Int32)> */
4265 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
4266 /* <p0:Comparable> isa OTHER */
4267 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4268 cltype
= type_struct
->color
;
4269 idtype
= type_struct
->id
;
4270 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4273 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4275 if (unlikely(!var3
)) {
4276 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4277 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4278 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 557);
4281 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Comparable to Int32 */;
4282 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Comparable to Int32 */;
4283 var6
= var4
<= var5
;
4292 /* method fixed_ints#Int32#< for (self: Int32, Int32): Bool */
4293 short int core___core__Int32___core__kernel__Comparable___60d(int32_t self
, int32_t p0
) {
4294 short int var
/* : Bool */;
4295 short int var1
/* : Bool */;
4298 const char* var_class_name
;
4299 short int var2
/* : Bool */;
4300 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4301 /* <p0:Int32> isa OTHER */
4302 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4303 if (unlikely(!var1
)) {
4304 var_class_name
= type_core__Int32
.name
;
4305 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4306 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 558);
4315 /* method fixed_ints#Int32#< for (self: Comparable, Comparable): Bool */
4316 short int VIRTUAL_core___core__Int32___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
4317 short int var
/* : Bool */;
4318 short int var1
/* : Bool */;
4319 short int var3
/* : Bool */;
4322 const struct type
* type_struct
;
4323 const char* var_class_name
;
4324 int32_t var4
/* : Int32 */;
4325 int32_t var5
/* : Int32 */;
4326 short int var6
/* : Bool */;
4327 { /* Inline fixed_ints#Int32#< (self,p0) on <self:Comparable(Int32)> */
4328 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
4329 /* <p0:Comparable> isa OTHER */
4330 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4331 cltype
= type_struct
->color
;
4332 idtype
= type_struct
->id
;
4333 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4336 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4338 if (unlikely(!var3
)) {
4339 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4340 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4341 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 558);
4344 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Comparable to Int32 */;
4345 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Comparable to Int32 */;
4355 /* method fixed_ints#Int32#>= for (self: Int32, Int32): Bool */
4356 short int core___core__Int32___core__kernel__Comparable___62d_61d(int32_t self
, int32_t p0
) {
4357 short int var
/* : Bool */;
4358 short int var1
/* : Bool */;
4361 const char* var_class_name
;
4362 short int var2
/* : Bool */;
4363 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4364 /* <p0:Int32> isa OTHER */
4365 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4366 if (unlikely(!var1
)) {
4367 var_class_name
= type_core__Int32
.name
;
4368 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4369 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 559);
4378 /* method fixed_ints#Int32#>= for (self: Comparable, Comparable): Bool */
4379 short int VIRTUAL_core___core__Int32___core__kernel__Comparable___62d_61d(val
* self
, val
* p0
) {
4380 short int var
/* : Bool */;
4381 short int var1
/* : Bool */;
4382 short int var3
/* : Bool */;
4385 const struct type
* type_struct
;
4386 const char* var_class_name
;
4387 int32_t var4
/* : Int32 */;
4388 int32_t var5
/* : Int32 */;
4389 short int var6
/* : Bool */;
4390 { /* Inline fixed_ints#Int32#>= (self,p0) on <self:Comparable(Int32)> */
4391 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
4392 /* <p0:Comparable> isa OTHER */
4393 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4394 cltype
= type_struct
->color
;
4395 idtype
= type_struct
->id
;
4396 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4399 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4401 if (unlikely(!var3
)) {
4402 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4403 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4404 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 559);
4407 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Comparable to Int32 */;
4408 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Comparable to Int32 */;
4409 var6
= var4
>= var5
;
4418 /* method fixed_ints#Int32#> for (self: Int32, Int32): Bool */
4419 short int core___core__Int32___core__kernel__Comparable___62d(int32_t self
, int32_t p0
) {
4420 short int var
/* : Bool */;
4421 short int var1
/* : Bool */;
4424 const char* var_class_name
;
4425 short int var2
/* : Bool */;
4426 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4427 /* <p0:Int32> isa OTHER */
4428 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4429 if (unlikely(!var1
)) {
4430 var_class_name
= type_core__Int32
.name
;
4431 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4432 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 560);
4441 /* method fixed_ints#Int32#> for (self: Comparable, Comparable): Bool */
4442 short int VIRTUAL_core___core__Int32___core__kernel__Comparable___62d(val
* self
, val
* p0
) {
4443 short int var
/* : Bool */;
4444 short int var1
/* : Bool */;
4445 short int var3
/* : Bool */;
4448 const struct type
* type_struct
;
4449 const char* var_class_name
;
4450 int32_t var4
/* : Int32 */;
4451 int32_t var5
/* : Int32 */;
4452 short int var6
/* : Bool */;
4453 { /* Inline fixed_ints#Int32#> (self,p0) on <self:Comparable(Int32)> */
4454 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
4455 /* <p0:Comparable> isa OTHER */
4456 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4457 cltype
= type_struct
->color
;
4458 idtype
= type_struct
->id
;
4459 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4462 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4464 if (unlikely(!var3
)) {
4465 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4466 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4467 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 560);
4470 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Comparable to Int32 */;
4471 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Comparable to Int32 */;
4481 /* method fixed_ints#Int32#+ for (self: Int32, Int32): Int32 */
4482 int32_t core___core__Int32___core__kernel__Numeric___43d(int32_t self
, int32_t p0
) {
4483 int32_t var
/* : Int32 */;
4484 short int var1
/* : Bool */;
4487 const char* var_class_name
;
4488 int32_t var2
/* : Int32 */;
4489 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4490 /* <p0:Int32> isa OTHER */
4491 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4492 if (unlikely(!var1
)) {
4493 var_class_name
= type_core__Int32
.name
;
4494 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4495 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 561);
4504 /* method fixed_ints#Int32#+ for (self: Numeric, Numeric): Numeric */
4505 val
* VIRTUAL_core___core__Int32___core__kernel__Numeric___43d(val
* self
, val
* p0
) {
4506 val
* var
/* : Numeric */;
4507 int32_t var1
/* : Int32 */;
4508 short int var3
/* : Bool */;
4511 const struct type
* type_struct
;
4512 const char* var_class_name
;
4513 int32_t var4
/* : Int32 */;
4514 int32_t var5
/* : Int32 */;
4515 int32_t var6
/* : Int32 */;
4516 val
* var7
/* : Numeric */;
4517 { /* Inline fixed_ints#Int32#+ (self,p0) on <self:Numeric(Int32)> */
4518 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
4519 /* <p0:Numeric> isa OTHER */
4520 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4521 cltype
= type_struct
->color
;
4522 idtype
= type_struct
->id
;
4523 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4526 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4528 if (unlikely(!var3
)) {
4529 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4530 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4531 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 561);
4534 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4535 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Numeric to Int32 */;
4541 var7
= BOX_core__Int32(var1
); /* autobox from Int32 to Numeric */
4546 /* method fixed_ints#Int32#unary - for (self: Int32): Int32 */
4547 int32_t core___core__Int32___core__kernel__Numeric__unary_32d_45d(int32_t self
) {
4548 int32_t var
/* : Int32 */;
4549 int32_t var1
/* : Int32 */;
4556 /* method fixed_ints#Int32#unary - for (self: Numeric): Numeric */
4557 val
* VIRTUAL_core___core__Int32___core__kernel__Numeric__unary_32d_45d(val
* self
) {
4558 val
* var
/* : Numeric */;
4559 int32_t var1
/* : Int32 */;
4560 int32_t var3
/* : Int32 */;
4561 int32_t var4
/* : Int32 */;
4562 val
* var5
/* : Numeric */;
4563 { /* Inline fixed_ints#Int32#unary - (self) on <self:Numeric(Int32)> */
4564 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4570 var5
= BOX_core__Int32(var1
); /* autobox from Int32 to Numeric */
4575 /* method fixed_ints#Int32#- for (self: Int32, Int32): Int32 */
4576 int32_t core___core__Int32___core__kernel__Numeric___45d(int32_t self
, int32_t p0
) {
4577 int32_t var
/* : Int32 */;
4578 short int var1
/* : Bool */;
4581 const char* var_class_name
;
4582 int32_t var2
/* : Int32 */;
4583 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4584 /* <p0:Int32> isa OTHER */
4585 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4586 if (unlikely(!var1
)) {
4587 var_class_name
= type_core__Int32
.name
;
4588 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4589 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 566);
4598 /* method fixed_ints#Int32#- for (self: Numeric, Numeric): Numeric */
4599 val
* VIRTUAL_core___core__Int32___core__kernel__Numeric___45d(val
* self
, val
* p0
) {
4600 val
* var
/* : Numeric */;
4601 int32_t var1
/* : Int32 */;
4602 short int var3
/* : Bool */;
4605 const struct type
* type_struct
;
4606 const char* var_class_name
;
4607 int32_t var4
/* : Int32 */;
4608 int32_t var5
/* : Int32 */;
4609 int32_t var6
/* : Int32 */;
4610 val
* var7
/* : Numeric */;
4611 { /* Inline fixed_ints#Int32#- (self,p0) on <self:Numeric(Int32)> */
4612 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
4613 /* <p0:Numeric> isa OTHER */
4614 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4615 cltype
= type_struct
->color
;
4616 idtype
= type_struct
->id
;
4617 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4620 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4622 if (unlikely(!var3
)) {
4623 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4624 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4625 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 566);
4628 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4629 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Numeric to Int32 */;
4635 var7
= BOX_core__Int32(var1
); /* autobox from Int32 to Numeric */
4640 /* method fixed_ints#Int32#* for (self: Int32, Int32): Int32 */
4641 int32_t core___core__Int32___core__kernel__Numeric___42d(int32_t self
, int32_t p0
) {
4642 int32_t var
/* : Int32 */;
4643 short int var1
/* : Bool */;
4646 const char* var_class_name
;
4647 int32_t var2
/* : Int32 */;
4648 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4649 /* <p0:Int32> isa OTHER */
4650 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4651 if (unlikely(!var1
)) {
4652 var_class_name
= type_core__Int32
.name
;
4653 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4654 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 567);
4663 /* method fixed_ints#Int32#* for (self: Numeric, Numeric): Numeric */
4664 val
* VIRTUAL_core___core__Int32___core__kernel__Numeric___42d(val
* self
, val
* p0
) {
4665 val
* var
/* : Numeric */;
4666 int32_t var1
/* : Int32 */;
4667 short int var3
/* : Bool */;
4670 const struct type
* type_struct
;
4671 const char* var_class_name
;
4672 int32_t var4
/* : Int32 */;
4673 int32_t var5
/* : Int32 */;
4674 int32_t var6
/* : Int32 */;
4675 val
* var7
/* : Numeric */;
4676 { /* Inline fixed_ints#Int32#* (self,p0) on <self:Numeric(Int32)> */
4677 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
4678 /* <p0:Numeric> isa OTHER */
4679 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4680 cltype
= type_struct
->color
;
4681 idtype
= type_struct
->id
;
4682 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4685 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4687 if (unlikely(!var3
)) {
4688 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4689 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4690 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 567);
4693 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4694 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Numeric to Int32 */;
4700 var7
= BOX_core__Int32(var1
); /* autobox from Int32 to Numeric */
4705 /* method fixed_ints#Int32#/ for (self: Int32, Int32): Int32 */
4706 int32_t core___core__Int32___core__kernel__Numeric___47d(int32_t self
, int32_t p0
) {
4707 int32_t var
/* : Int32 */;
4708 short int var1
/* : Bool */;
4711 const char* var_class_name
;
4712 int32_t var2
/* : Int32 */;
4713 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4714 /* <p0:Int32> isa OTHER */
4715 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4716 if (unlikely(!var1
)) {
4717 var_class_name
= type_core__Int32
.name
;
4718 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4719 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 568);
4728 /* method fixed_ints#Int32#/ for (self: Numeric, Numeric): Numeric */
4729 val
* VIRTUAL_core___core__Int32___core__kernel__Numeric___47d(val
* self
, val
* p0
) {
4730 val
* var
/* : Numeric */;
4731 int32_t var1
/* : Int32 */;
4732 short int var3
/* : Bool */;
4735 const struct type
* type_struct
;
4736 const char* var_class_name
;
4737 int32_t var4
/* : Int32 */;
4738 int32_t var5
/* : Int32 */;
4739 int32_t var6
/* : Int32 */;
4740 val
* var7
/* : Numeric */;
4741 { /* Inline fixed_ints#Int32#/ (self,p0) on <self:Numeric(Int32)> */
4742 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
4743 /* <p0:Numeric> isa OTHER */
4744 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
4745 cltype
= type_struct
->color
;
4746 idtype
= type_struct
->id
;
4747 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
4750 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
4752 if (unlikely(!var3
)) {
4753 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
4754 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
4755 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 568);
4758 var4
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4759 var5
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Numeric to Int32 */;
4765 var7
= BOX_core__Int32(var1
); /* autobox from Int32 to Numeric */
4770 /* method fixed_ints#Int32#to_i for (self: Int32): Int */
4771 long core___core__Int32___core__kernel__Numeric__to_i(int32_t self
) {
4772 long var
/* : Int */;
4773 long var1
/* : Int */;
4780 /* method fixed_ints#Int32#to_i for (self: Numeric): Int */
4781 long VIRTUAL_core___core__Int32___core__kernel__Numeric__to_i(val
* self
) {
4782 long var
/* : Int */;
4783 long var1
/* : Int */;
4784 int32_t var3
/* : Int32 */;
4785 long var4
/* : Int */;
4786 { /* Inline fixed_ints#Int32#to_i (self) on <self:Numeric(Int32)> */
4787 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4797 /* method fixed_ints#Int32#to_f for (self: Int32): Float */
4798 double core___core__Int32___core__kernel__Numeric__to_f(int32_t self
) {
4799 double var
/* : Float */;
4800 double var1
/* : Float */;
4801 var1
= (double)self
;
4807 /* method fixed_ints#Int32#to_f for (self: Numeric): Float */
4808 double VIRTUAL_core___core__Int32___core__kernel__Numeric__to_f(val
* self
) {
4809 double var
/* : Float */;
4810 double var1
/* : Float */;
4811 int32_t var3
/* : Int32 */;
4812 double var4
/* : Float */;
4813 { /* Inline fixed_ints#Int32#to_f (self) on <self:Numeric(Int32)> */
4814 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4815 var4
= (double)var3
;
4824 /* method fixed_ints#Int32#to_b for (self: Int32): Byte */
4825 unsigned char core___core__Int32___core__kernel__Numeric__to_b(int32_t self
) {
4826 unsigned char var
/* : Byte */;
4827 unsigned char var1
/* : Byte */;
4828 var1
= (unsigned char)self
;
4834 /* method fixed_ints#Int32#to_b for (self: Numeric): Byte */
4835 unsigned char VIRTUAL_core___core__Int32___core__kernel__Numeric__to_b(val
* self
) {
4836 unsigned char var
/* : Byte */;
4837 unsigned char var1
/* : Byte */;
4838 int32_t var3
/* : Int32 */;
4839 unsigned char var4
/* : Byte */;
4840 { /* Inline fixed_ints#Int32#to_b (self) on <self:Numeric(Int32)> */
4841 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4842 var4
= (unsigned char)var3
;
4851 /* method fixed_ints#Int32#to_i8 for (self: Int32): Int8 */
4852 int8_t core___core__Int32___Numeric__to_i8(int32_t self
) {
4853 int8_t var
/* : Int8 */;
4854 int8_t var1
/* : Int8 */;
4855 var1
= (int8_t)self
;
4861 /* method fixed_ints#Int32#to_i8 for (self: Numeric): Int8 */
4862 int8_t VIRTUAL_core___core__Int32___Numeric__to_i8(val
* self
) {
4863 int8_t var
/* : Int8 */;
4864 int8_t var1
/* : Int8 */;
4865 int32_t var3
/* : Int32 */;
4866 int8_t var4
/* : Int8 */;
4867 { /* Inline fixed_ints#Int32#to_i8 (self) on <self:Numeric(Int32)> */
4868 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4869 var4
= (int8_t)var3
;
4878 /* method fixed_ints#Int32#to_i16 for (self: Int32): Int16 */
4879 int16_t core___core__Int32___Numeric__to_i16(int32_t self
) {
4880 int16_t var
/* : Int16 */;
4881 int16_t var1
/* : Int16 */;
4882 var1
= (int16_t)self
;
4888 /* method fixed_ints#Int32#to_i16 for (self: Numeric): Int16 */
4889 int16_t VIRTUAL_core___core__Int32___Numeric__to_i16(val
* self
) {
4890 int16_t var
/* : Int16 */;
4891 int16_t var1
/* : Int16 */;
4892 int32_t var3
/* : Int32 */;
4893 int16_t var4
/* : Int16 */;
4894 { /* Inline fixed_ints#Int32#to_i16 (self) on <self:Numeric(Int32)> */
4895 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4896 var4
= (int16_t)var3
;
4905 /* method fixed_ints#Int32#to_u16 for (self: Int32): UInt16 */
4906 uint16_t core___core__Int32___Numeric__to_u16(int32_t self
) {
4907 uint16_t var
/* : UInt16 */;
4908 uint16_t var1
/* : UInt16 */;
4909 var1
= (uint16_t)self
;
4915 /* method fixed_ints#Int32#to_u16 for (self: Numeric): UInt16 */
4916 uint16_t VIRTUAL_core___core__Int32___Numeric__to_u16(val
* self
) {
4917 uint16_t var
/* : UInt16 */;
4918 uint16_t var1
/* : UInt16 */;
4919 int32_t var3
/* : Int32 */;
4920 uint16_t var4
/* : UInt16 */;
4921 { /* Inline fixed_ints#Int32#to_u16 (self) on <self:Numeric(Int32)> */
4922 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4923 var4
= (uint16_t)var3
;
4932 /* method fixed_ints#Int32#to_i32 for (self: Int32): Int32 */
4933 int32_t core___core__Int32___Numeric__to_i32(int32_t self
) {
4934 int32_t var
/* : Int32 */;
4940 /* method fixed_ints#Int32#to_i32 for (self: Numeric): Int32 */
4941 int32_t VIRTUAL_core___core__Int32___Numeric__to_i32(val
* self
) {
4942 int32_t var
/* : Int32 */;
4943 int32_t var1
/* : Int32 */;
4944 int32_t var2
/* : Int32 */;
4945 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4946 var1
= core___core__Int32___Numeric__to_i32(var2
);
4951 /* method fixed_ints#Int32#to_u32 for (self: Int32): UInt32 */
4952 uint32_t core___core__Int32___Numeric__to_u32(int32_t self
) {
4953 uint32_t var
/* : UInt32 */;
4954 uint32_t var1
/* : UInt32 */;
4955 var1
= (uint32_t)self
;
4961 /* method fixed_ints#Int32#to_u32 for (self: Numeric): UInt32 */
4962 uint32_t VIRTUAL_core___core__Int32___Numeric__to_u32(val
* self
) {
4963 uint32_t var
/* : UInt32 */;
4964 uint32_t var1
/* : UInt32 */;
4965 int32_t var3
/* : Int32 */;
4966 uint32_t var4
/* : UInt32 */;
4967 { /* Inline fixed_ints#Int32#to_u32 (self) on <self:Numeric(Int32)> */
4968 var3
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Numeric to Int32 */;
4969 var4
= (uint32_t)var3
;
4978 /* method fixed_ints#Int32#distance for (self: Int32, Int32): Int */
4979 long core___core__Int32___core__kernel__Discrete__distance(int32_t self
, int32_t p0
) {
4980 long var
/* : Int */;
4981 short int var1
/* : Bool */;
4984 const char* var_class_name
;
4985 int32_t var_i
/* var i: Int32 */;
4986 int32_t var2
/* : Int32 */;
4987 short int var4
/* : Bool */;
4990 const char* var_class_name7
;
4991 int32_t var8
/* : Int32 */;
4992 long var9
/* : Int */;
4993 long var11
/* : Int */;
4994 /* Covariant cast for argument 0 (i) <p0:Int32> isa OTHER */
4995 /* <p0:Int32> isa OTHER */
4996 var1
= 1; /* easy <p0:Int32> isa OTHER*/
4997 if (unlikely(!var1
)) {
4998 var_class_name
= type_core__Int32
.name
;
4999 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5000 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 603);
5005 { /* Inline fixed_ints#Int32#- (self,var_i) on <self:Int32> */
5006 /* Covariant cast for argument 0 (i) <var_i:Int32> isa OTHER */
5007 /* <var_i:Int32> isa OTHER */
5008 var4
= 1; /* easy <var_i:Int32> isa OTHER*/
5009 if (unlikely(!var4
)) {
5010 var_class_name7
= type_core__Int32
.name
;
5011 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
5012 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 566);
5015 var8
= self
- var_i
;
5022 { /* Inline fixed_ints#Int32#to_i (var2) on <var2:Int32> */
5026 RET_LABEL10
:(void)0;
5034 /* method fixed_ints#Int32#distance for (self: Discrete, Discrete): Int */
5035 long VIRTUAL_core___core__Int32___core__kernel__Discrete__distance(val
* self
, val
* p0
) {
5036 long var
/* : Int */;
5037 long var1
/* : Int */;
5038 int32_t var2
/* : Int32 */;
5039 int32_t var3
/* : Int32 */;
5040 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Discrete to Int32 */;
5041 var3
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Discrete to Int32 */;
5042 var1
= core___core__Int32___core__kernel__Discrete__distance(var2
, var3
);
5047 /* method fixed_ints#Int32#<=> for (self: Int32, Int32): Int */
5048 long core___core__Int32___core__kernel__Comparable___60d_61d_62d(int32_t self
, int32_t p0
) {
5049 long var
/* : Int */;
5050 short int var1
/* : Bool */;
5053 const char* var_class_name
;
5054 int32_t var_other
/* var other: Int32 */;
5055 short int var2
/* : Bool */;
5056 short int var4
/* : Bool */;
5059 const char* var_class_name7
;
5060 short int var8
/* : Bool */;
5061 long var9
/* : Int */;
5062 long var11
/* : Int */;
5063 short int var12
/* : Bool */;
5064 short int var14
/* : Bool */;
5067 const char* var_class_name17
;
5068 short int var18
/* : Bool */;
5069 /* Covariant cast for argument 0 (other) <p0:Int32> isa OTHER */
5070 /* <p0:Int32> isa OTHER */
5071 var1
= 1; /* easy <p0:Int32> isa OTHER*/
5072 if (unlikely(!var1
)) {
5073 var_class_name
= type_core__Int32
.name
;
5074 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5075 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 605);
5080 { /* Inline fixed_ints#Int32#< (self,var_other) on <self:Int32> */
5081 /* Covariant cast for argument 0 (i) <var_other:Int32> isa OTHER */
5082 /* <var_other:Int32> isa OTHER */
5083 var4
= 1; /* easy <var_other:Int32> isa OTHER*/
5084 if (unlikely(!var4
)) {
5085 var_class_name7
= type_core__Int32
.name
;
5086 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
5087 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 558);
5090 var8
= self
< var_other
;
5098 { /* Inline kernel#Int#unary - (1l) on <1l:Int> */
5102 RET_LABEL10
:(void)0;
5109 { /* Inline fixed_ints#Int32#< (var_other,self) on <var_other:Int32> */
5110 /* Covariant cast for argument 0 (i) <self:Int32> isa OTHER */
5111 /* <self:Int32> isa OTHER */
5112 var14
= 1; /* easy <self:Int32> isa OTHER*/
5113 if (unlikely(!var14
)) {
5114 var_class_name17
= type_core__Int32
.name
;
5115 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name17
);
5116 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 558);
5119 var18
= var_other
< self
;
5122 RET_LABEL13
:(void)0;
5136 /* method fixed_ints#Int32#<=> for (self: Comparable, Comparable): Int */
5137 long VIRTUAL_core___core__Int32___core__kernel__Comparable___60d_61d_62d(val
* self
, val
* p0
) {
5138 long var
/* : Int */;
5139 long var1
/* : Int */;
5140 int32_t var2
/* : Int32 */;
5141 int32_t var3
/* : Int32 */;
5142 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Comparable to Int32 */;
5143 var3
= ((struct instance_core__Int32
*)p0
)->value
; /* autounbox from Comparable to Int32 */;
5144 var1
= core___core__Int32___core__kernel__Comparable___60d_61d_62d(var2
, var3
);
5149 /* method fixed_ints#Int32#to_s_len for (self: Int32): Int */
5150 long core___core__Int32___to_s_len(int32_t self
) {
5151 long var
/* : Int */;
5152 long var1
/* : Int */;
5153 var1
= fixed_ints___Int32_to_s_len___impl(self
);
5159 /* method fixed_ints#Int32#native_to_s for (self: Int32, NativeString, Int) */
5160 void core___core__Int32___native_to_s(int32_t self
, char* p0
, long p1
) {
5161 fixed_ints___Int32_native_to_s___impl(self
, p0
, p1
);
5164 /* method fixed_ints#Int32#to_s for (self: Int32): String */
5165 val
* core___core__Int32___core__abstract_text__Object__to_s(int32_t self
) {
5166 val
* var
/* : String */;
5167 long var1
/* : Int */;
5168 long var3
/* : Int */;
5169 long var_nslen
/* var nslen: Int */;
5170 char* var4
/* : NativeString */;
5171 long var5
/* : Int */;
5172 short int var7
/* : Bool */;
5175 const char* var_class_name
;
5176 long var8
/* : Int */;
5177 char* var9
/* : NativeString */;
5178 char* var11
/* : NativeString */;
5179 char* var_ns
/* var ns: NativeString */;
5180 long var13
/* : Int */;
5181 short int var15
/* : Bool */;
5184 const char* var_class_name18
;
5185 long var19
/* : Int */;
5186 val
* var21
/* : FlatString */;
5188 { /* Inline fixed_ints#Int32#to_s_len (self) on <self:Int32> */
5189 var3
= fixed_ints___Int32_to_s_len___impl(self
);
5196 var4
= NULL
/*special!*/;
5198 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
5199 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
5200 /* <1l:Int> isa OTHER */
5201 var7
= 1; /* easy <1l:Int> isa OTHER*/
5202 if (unlikely(!var7
)) {
5203 var_class_name
= type_core__Int
.name
;
5204 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5205 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
5208 var8
= var_nslen
+ 1l;
5215 { /* Inline native#NativeString#new (var4,var5) on <var4:NativeString> */
5216 var11
= (char*)nit_alloc(var5
);
5219 RET_LABEL10
:(void)0;
5224 { /* Inline native#NativeString#[]= (var_ns,var_nslen,((unsigned char)0x00)) on <var_ns:NativeString> */
5225 var_ns
[var_nslen
]=(unsigned char)((unsigned char)0x00);
5226 RET_LABEL12
:(void)0;
5230 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
5231 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
5232 /* <1l:Int> isa OTHER */
5233 var15
= 1; /* easy <1l:Int> isa OTHER*/
5234 if (unlikely(!var15
)) {
5235 var_class_name18
= type_core__Int
.name
;
5236 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name18
);
5237 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
5240 var19
= var_nslen
+ 1l;
5243 RET_LABEL14
:(void)0;
5247 { /* Inline fixed_ints#Int32#native_to_s (self,var_ns,var13) on <self:Int32> */
5248 fixed_ints___Int32_native_to_s___impl(self
, var_ns
, var13
);
5249 RET_LABEL20
:(void)0;
5253 var21
= core__flat___NativeString___to_s_with_length(var_ns
, var_nslen
);
5260 /* method fixed_ints#Int32#to_s for (self: Object): String */
5261 val
* VIRTUAL_core___core__Int32___core__abstract_text__Object__to_s(val
* self
) {
5262 val
* var
/* : String */;
5263 val
* var1
/* : String */;
5264 int32_t var2
/* : Int32 */;
5265 var2
= ((struct instance_core__Int32
*)self
)->value
; /* autounbox from Object to Int32 */;
5266 var1
= core___core__Int32___core__abstract_text__Object__to_s(var2
);
5271 /* method fixed_ints#UInt32#successor for (self: UInt32, Int): UInt32 */
5272 uint32_t core___core__UInt32___core__kernel__Discrete__successor(uint32_t self
, long p0
) {
5273 uint32_t var
/* : UInt32 */;
5274 long var_i
/* var i: Int */;
5275 uint32_t var1
/* : UInt32 */;
5276 uint32_t var3
/* : UInt32 */;
5277 uint32_t var4
/* : UInt32 */;
5278 short int var6
/* : Bool */;
5281 const char* var_class_name
;
5282 uint32_t var7
/* : UInt32 */;
5285 { /* Inline fixed_ints#Int#to_u32 (var_i) on <var_i:Int> */
5286 var3
= (uint32_t)var_i
;
5293 { /* Inline fixed_ints#UInt32#+ (self,var1) on <self:UInt32> */
5294 /* Covariant cast for argument 0 (i) <var1:UInt32> isa OTHER */
5295 /* <var1:UInt32> isa OTHER */
5296 var6
= 1; /* easy <var1:UInt32> isa OTHER*/
5297 if (unlikely(!var6
)) {
5298 var_class_name
= type_core__UInt32
.name
;
5299 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5300 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 707);
5314 /* method fixed_ints#UInt32#successor for (self: Discrete, Int): Discrete */
5315 val
* VIRTUAL_core___core__UInt32___core__kernel__Discrete__successor(val
* self
, long p0
) {
5316 val
* var
/* : Discrete */;
5317 uint32_t var1
/* : UInt32 */;
5318 uint32_t var2
/* : UInt32 */;
5319 val
* var3
/* : Discrete */;
5320 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Discrete to UInt32 */;
5321 var1
= core___core__UInt32___core__kernel__Discrete__successor(var2
, p0
);
5322 var3
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Discrete */
5327 /* method fixed_ints#UInt32#object_id for (self: UInt32): Int */
5328 long core___core__UInt32___core__kernel__Object__object_id(uint32_t self
) {
5329 long var
/* : Int */;
5330 long var1
/* : Int */;
5337 /* method fixed_ints#UInt32#object_id for (self: Object): Int */
5338 long VIRTUAL_core___core__UInt32___core__kernel__Object__object_id(val
* self
) {
5339 long var
/* : Int */;
5340 long var1
/* : Int */;
5341 uint32_t var3
/* : UInt32 */;
5342 long var4
/* : Int */;
5343 { /* Inline fixed_ints#UInt32#object_id (self) on <self:Object(UInt32)> */
5344 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Object to UInt32 */;
5354 /* method fixed_ints#UInt32#hash for (self: UInt32): Int */
5355 long core___core__UInt32___core__kernel__Object__hash(uint32_t self
) {
5356 long var
/* : Int */;
5357 long var1
/* : Int */;
5358 long var3
/* : Int */;
5360 { /* Inline fixed_ints#UInt32#to_i (self) on <self:UInt32> */
5372 /* method fixed_ints#UInt32#hash for (self: Object): Int */
5373 long VIRTUAL_core___core__UInt32___core__kernel__Object__hash(val
* self
) {
5374 long var
/* : Int */;
5375 long var1
/* : Int */;
5376 uint32_t var2
/* : UInt32 */;
5377 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Object to UInt32 */;
5378 var1
= core___core__UInt32___core__kernel__Object__hash(var2
);
5383 /* method fixed_ints#UInt32#== for (self: UInt32, nullable Object): Bool */
5384 short int core___core__UInt32___core__kernel__Object___61d_61d(uint32_t self
, val
* p0
) {
5385 short int var
/* : Bool */;
5386 short int var1
/* : Bool */;
5387 uint32_t var2
/* : UInt32 */;
5388 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__UInt32
)) {
5389 var2
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from nullable Object to UInt32 */;
5390 var1
= var2
== self
;
5397 /* method fixed_ints#UInt32#== for (self: Object, nullable Object): Bool */
5398 short int VIRTUAL_core___core__UInt32___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
5399 short int var
/* : Bool */;
5400 short int var1
/* : Bool */;
5401 short int var3
/* : Bool */;
5402 { /* Inline fixed_ints#UInt32#== (self,p0) on <self:Object(UInt32)> */
5403 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__UInt32
*)self
)->value
== ((struct instance_core__UInt32
*)p0
)->value
);
5412 /* method fixed_ints#UInt32#!= for (self: UInt32, nullable Object): Bool */
5413 short int core___core__UInt32___core__kernel__Object___33d_61d(uint32_t self
, val
* p0
) {
5414 short int var
/* : Bool */;
5415 short int var1
/* : Bool */;
5416 uint32_t var2
/* : UInt32 */;
5417 short int var3
/* : Bool */;
5418 if ((p0
!= NULL
) && ((((long)p0
&3)?class_info
[((long)p0
&3)]:p0
->class) == &class_core__UInt32
)) {
5419 var2
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from nullable Object to UInt32 */;
5420 var1
= var2
== self
;
5428 /* method fixed_ints#UInt32#!= for (self: Object, nullable Object): Bool */
5429 short int VIRTUAL_core___core__UInt32___core__kernel__Object___33d_61d(val
* self
, val
* p0
) {
5430 short int var
/* : Bool */;
5431 short int var1
/* : Bool */;
5432 short int var3
/* : Bool */;
5433 short int var4
/* : Bool */;
5434 { /* Inline fixed_ints#UInt32#!= (self,p0) on <self:Object(UInt32)> */
5435 var3
= self
== p0
|| (p0
!= NULL
&& (!((long)p0
&3)) && self
->class == p0
->class && ((struct instance_core__UInt32
*)self
)->value
== ((struct instance_core__UInt32
*)p0
)->value
);
5445 /* method fixed_ints#UInt32#<= for (self: UInt32, UInt32): Bool */
5446 short int core___core__UInt32___core__kernel__Comparable___60d_61d(uint32_t self
, uint32_t p0
) {
5447 short int var
/* : Bool */;
5448 short int var1
/* : Bool */;
5451 const char* var_class_name
;
5452 short int var2
/* : Bool */;
5453 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5454 /* <p0:UInt32> isa OTHER */
5455 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5456 if (unlikely(!var1
)) {
5457 var_class_name
= type_core__UInt32
.name
;
5458 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5459 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 703);
5468 /* method fixed_ints#UInt32#<= for (self: Comparable, Comparable): Bool */
5469 short int VIRTUAL_core___core__UInt32___core__kernel__Comparable___60d_61d(val
* self
, val
* p0
) {
5470 short int var
/* : Bool */;
5471 short int var1
/* : Bool */;
5472 short int var3
/* : Bool */;
5475 const struct type
* type_struct
;
5476 const char* var_class_name
;
5477 uint32_t var4
/* : UInt32 */;
5478 uint32_t var5
/* : UInt32 */;
5479 short int var6
/* : Bool */;
5480 { /* Inline fixed_ints#UInt32#<= (self,p0) on <self:Comparable(UInt32)> */
5481 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
5482 /* <p0:Comparable> isa OTHER */
5483 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5484 cltype
= type_struct
->color
;
5485 idtype
= type_struct
->id
;
5486 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5489 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5491 if (unlikely(!var3
)) {
5492 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5493 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5494 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 703);
5497 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Comparable to UInt32 */;
5498 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Comparable to UInt32 */;
5499 var6
= var4
<= var5
;
5508 /* method fixed_ints#UInt32#< for (self: UInt32, UInt32): Bool */
5509 short int core___core__UInt32___core__kernel__Comparable___60d(uint32_t self
, uint32_t p0
) {
5510 short int var
/* : Bool */;
5511 short int var1
/* : Bool */;
5514 const char* var_class_name
;
5515 short int var2
/* : Bool */;
5516 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5517 /* <p0:UInt32> isa OTHER */
5518 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5519 if (unlikely(!var1
)) {
5520 var_class_name
= type_core__UInt32
.name
;
5521 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5522 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 704);
5531 /* method fixed_ints#UInt32#< for (self: Comparable, Comparable): Bool */
5532 short int VIRTUAL_core___core__UInt32___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
5533 short int var
/* : Bool */;
5534 short int var1
/* : Bool */;
5535 short int var3
/* : Bool */;
5538 const struct type
* type_struct
;
5539 const char* var_class_name
;
5540 uint32_t var4
/* : UInt32 */;
5541 uint32_t var5
/* : UInt32 */;
5542 short int var6
/* : Bool */;
5543 { /* Inline fixed_ints#UInt32#< (self,p0) on <self:Comparable(UInt32)> */
5544 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
5545 /* <p0:Comparable> isa OTHER */
5546 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5547 cltype
= type_struct
->color
;
5548 idtype
= type_struct
->id
;
5549 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5552 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5554 if (unlikely(!var3
)) {
5555 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5556 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5557 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 704);
5560 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Comparable to UInt32 */;
5561 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Comparable to UInt32 */;
5571 /* method fixed_ints#UInt32#>= for (self: UInt32, UInt32): Bool */
5572 short int core___core__UInt32___core__kernel__Comparable___62d_61d(uint32_t self
, uint32_t p0
) {
5573 short int var
/* : Bool */;
5574 short int var1
/* : Bool */;
5577 const char* var_class_name
;
5578 short int var2
/* : Bool */;
5579 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5580 /* <p0:UInt32> isa OTHER */
5581 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5582 if (unlikely(!var1
)) {
5583 var_class_name
= type_core__UInt32
.name
;
5584 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5585 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 705);
5594 /* method fixed_ints#UInt32#>= for (self: Comparable, Comparable): Bool */
5595 short int VIRTUAL_core___core__UInt32___core__kernel__Comparable___62d_61d(val
* self
, val
* p0
) {
5596 short int var
/* : Bool */;
5597 short int var1
/* : Bool */;
5598 short int var3
/* : Bool */;
5601 const struct type
* type_struct
;
5602 const char* var_class_name
;
5603 uint32_t var4
/* : UInt32 */;
5604 uint32_t var5
/* : UInt32 */;
5605 short int var6
/* : Bool */;
5606 { /* Inline fixed_ints#UInt32#>= (self,p0) on <self:Comparable(UInt32)> */
5607 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
5608 /* <p0:Comparable> isa OTHER */
5609 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5610 cltype
= type_struct
->color
;
5611 idtype
= type_struct
->id
;
5612 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5615 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5617 if (unlikely(!var3
)) {
5618 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5619 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5620 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 705);
5623 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Comparable to UInt32 */;
5624 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Comparable to UInt32 */;
5625 var6
= var4
>= var5
;
5634 /* method fixed_ints#UInt32#> for (self: UInt32, UInt32): Bool */
5635 short int core___core__UInt32___core__kernel__Comparable___62d(uint32_t self
, uint32_t p0
) {
5636 short int var
/* : Bool */;
5637 short int var1
/* : Bool */;
5640 const char* var_class_name
;
5641 short int var2
/* : Bool */;
5642 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5643 /* <p0:UInt32> isa OTHER */
5644 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5645 if (unlikely(!var1
)) {
5646 var_class_name
= type_core__UInt32
.name
;
5647 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5648 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 706);
5657 /* method fixed_ints#UInt32#> for (self: Comparable, Comparable): Bool */
5658 short int VIRTUAL_core___core__UInt32___core__kernel__Comparable___62d(val
* self
, val
* p0
) {
5659 short int var
/* : Bool */;
5660 short int var1
/* : Bool */;
5661 short int var3
/* : Bool */;
5664 const struct type
* type_struct
;
5665 const char* var_class_name
;
5666 uint32_t var4
/* : UInt32 */;
5667 uint32_t var5
/* : UInt32 */;
5668 short int var6
/* : Bool */;
5669 { /* Inline fixed_ints#UInt32#> (self,p0) on <self:Comparable(UInt32)> */
5670 /* Covariant cast for argument 0 (i) <p0:Comparable> isa OTHER */
5671 /* <p0:Comparable> isa OTHER */
5672 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5673 cltype
= type_struct
->color
;
5674 idtype
= type_struct
->id
;
5675 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5678 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5680 if (unlikely(!var3
)) {
5681 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5682 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5683 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 706);
5686 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Comparable to UInt32 */;
5687 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Comparable to UInt32 */;
5697 /* method fixed_ints#UInt32#+ for (self: UInt32, UInt32): UInt32 */
5698 uint32_t core___core__UInt32___core__kernel__Numeric___43d(uint32_t self
, uint32_t p0
) {
5699 uint32_t var
/* : UInt32 */;
5700 short int var1
/* : Bool */;
5703 const char* var_class_name
;
5704 uint32_t var2
/* : UInt32 */;
5705 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5706 /* <p0:UInt32> isa OTHER */
5707 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5708 if (unlikely(!var1
)) {
5709 var_class_name
= type_core__UInt32
.name
;
5710 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5711 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 707);
5720 /* method fixed_ints#UInt32#+ for (self: Numeric, Numeric): Numeric */
5721 val
* VIRTUAL_core___core__UInt32___core__kernel__Numeric___43d(val
* self
, val
* p0
) {
5722 val
* var
/* : Numeric */;
5723 uint32_t var1
/* : UInt32 */;
5724 short int var3
/* : Bool */;
5727 const struct type
* type_struct
;
5728 const char* var_class_name
;
5729 uint32_t var4
/* : UInt32 */;
5730 uint32_t var5
/* : UInt32 */;
5731 uint32_t var6
/* : UInt32 */;
5732 val
* var7
/* : Numeric */;
5733 { /* Inline fixed_ints#UInt32#+ (self,p0) on <self:Numeric(UInt32)> */
5734 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
5735 /* <p0:Numeric> isa OTHER */
5736 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5737 cltype
= type_struct
->color
;
5738 idtype
= type_struct
->id
;
5739 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5742 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5744 if (unlikely(!var3
)) {
5745 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5746 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5747 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 707);
5750 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
5751 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Numeric to UInt32 */;
5757 var7
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Numeric */
5762 /* method fixed_ints#UInt32#unary - for (self: UInt32): UInt32 */
5763 uint32_t core___core__UInt32___core__kernel__Numeric__unary_32d_45d(uint32_t self
) {
5764 uint32_t var
/* : UInt32 */;
5765 uint32_t var1
/* : UInt32 */;
5772 /* method fixed_ints#UInt32#unary - for (self: Numeric): Numeric */
5773 val
* VIRTUAL_core___core__UInt32___core__kernel__Numeric__unary_32d_45d(val
* self
) {
5774 val
* var
/* : Numeric */;
5775 uint32_t var1
/* : UInt32 */;
5776 uint32_t var3
/* : UInt32 */;
5777 uint32_t var4
/* : UInt32 */;
5778 val
* var5
/* : Numeric */;
5779 { /* Inline fixed_ints#UInt32#unary - (self) on <self:Numeric(UInt32)> */
5780 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
5786 var5
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Numeric */
5791 /* method fixed_ints#UInt32#- for (self: UInt32, UInt32): UInt32 */
5792 uint32_t core___core__UInt32___core__kernel__Numeric___45d(uint32_t self
, uint32_t p0
) {
5793 uint32_t var
/* : UInt32 */;
5794 short int var1
/* : Bool */;
5797 const char* var_class_name
;
5798 uint32_t var2
/* : UInt32 */;
5799 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5800 /* <p0:UInt32> isa OTHER */
5801 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5802 if (unlikely(!var1
)) {
5803 var_class_name
= type_core__UInt32
.name
;
5804 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5805 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 712);
5814 /* method fixed_ints#UInt32#- for (self: Numeric, Numeric): Numeric */
5815 val
* VIRTUAL_core___core__UInt32___core__kernel__Numeric___45d(val
* self
, val
* p0
) {
5816 val
* var
/* : Numeric */;
5817 uint32_t var1
/* : UInt32 */;
5818 short int var3
/* : Bool */;
5821 const struct type
* type_struct
;
5822 const char* var_class_name
;
5823 uint32_t var4
/* : UInt32 */;
5824 uint32_t var5
/* : UInt32 */;
5825 uint32_t var6
/* : UInt32 */;
5826 val
* var7
/* : Numeric */;
5827 { /* Inline fixed_ints#UInt32#- (self,p0) on <self:Numeric(UInt32)> */
5828 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
5829 /* <p0:Numeric> isa OTHER */
5830 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5831 cltype
= type_struct
->color
;
5832 idtype
= type_struct
->id
;
5833 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5836 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5838 if (unlikely(!var3
)) {
5839 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5840 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5841 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 712);
5844 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
5845 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Numeric to UInt32 */;
5851 var7
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Numeric */
5856 /* method fixed_ints#UInt32#* for (self: UInt32, UInt32): UInt32 */
5857 uint32_t core___core__UInt32___core__kernel__Numeric___42d(uint32_t self
, uint32_t p0
) {
5858 uint32_t var
/* : UInt32 */;
5859 short int var1
/* : Bool */;
5862 const char* var_class_name
;
5863 uint32_t var2
/* : UInt32 */;
5864 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5865 /* <p0:UInt32> isa OTHER */
5866 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5867 if (unlikely(!var1
)) {
5868 var_class_name
= type_core__UInt32
.name
;
5869 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5870 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 713);
5879 /* method fixed_ints#UInt32#* for (self: Numeric, Numeric): Numeric */
5880 val
* VIRTUAL_core___core__UInt32___core__kernel__Numeric___42d(val
* self
, val
* p0
) {
5881 val
* var
/* : Numeric */;
5882 uint32_t var1
/* : UInt32 */;
5883 short int var3
/* : Bool */;
5886 const struct type
* type_struct
;
5887 const char* var_class_name
;
5888 uint32_t var4
/* : UInt32 */;
5889 uint32_t var5
/* : UInt32 */;
5890 uint32_t var6
/* : UInt32 */;
5891 val
* var7
/* : Numeric */;
5892 { /* Inline fixed_ints#UInt32#* (self,p0) on <self:Numeric(UInt32)> */
5893 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
5894 /* <p0:Numeric> isa OTHER */
5895 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5896 cltype
= type_struct
->color
;
5897 idtype
= type_struct
->id
;
5898 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5901 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5903 if (unlikely(!var3
)) {
5904 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5905 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5906 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 713);
5909 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
5910 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Numeric to UInt32 */;
5916 var7
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Numeric */
5921 /* method fixed_ints#UInt32#/ for (self: UInt32, UInt32): UInt32 */
5922 uint32_t core___core__UInt32___core__kernel__Numeric___47d(uint32_t self
, uint32_t p0
) {
5923 uint32_t var
/* : UInt32 */;
5924 short int var1
/* : Bool */;
5927 const char* var_class_name
;
5928 uint32_t var2
/* : UInt32 */;
5929 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
5930 /* <p0:UInt32> isa OTHER */
5931 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
5932 if (unlikely(!var1
)) {
5933 var_class_name
= type_core__UInt32
.name
;
5934 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5935 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 714);
5944 /* method fixed_ints#UInt32#/ for (self: Numeric, Numeric): Numeric */
5945 val
* VIRTUAL_core___core__UInt32___core__kernel__Numeric___47d(val
* self
, val
* p0
) {
5946 val
* var
/* : Numeric */;
5947 uint32_t var1
/* : UInt32 */;
5948 short int var3
/* : Bool */;
5951 const struct type
* type_struct
;
5952 const char* var_class_name
;
5953 uint32_t var4
/* : UInt32 */;
5954 uint32_t var5
/* : UInt32 */;
5955 uint32_t var6
/* : UInt32 */;
5956 val
* var7
/* : Numeric */;
5957 { /* Inline fixed_ints#UInt32#/ (self,p0) on <self:Numeric(UInt32)> */
5958 /* Covariant cast for argument 0 (i) <p0:Numeric> isa OTHER */
5959 /* <p0:Numeric> isa OTHER */
5960 type_struct
= (((long)self
&3)?type_info
[((long)self
&3)]:self
->type
)->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
5961 cltype
= type_struct
->color
;
5962 idtype
= type_struct
->id
;
5963 if(cltype
>= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->table_size
) {
5966 var3
= (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->type_table
[cltype
] == idtype
;
5968 if (unlikely(!var3
)) {
5969 var_class_name
= p0
== NULL ?
"null" : (((long)p0
&3)?type_info
[((long)p0
&3)]:p0
->type
)->name
;
5970 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
5971 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 714);
5974 var4
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
5975 var5
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Numeric to UInt32 */;
5981 var7
= BOX_core__UInt32(var1
); /* autobox from UInt32 to Numeric */
5986 /* method fixed_ints#UInt32#to_i for (self: UInt32): Int */
5987 long core___core__UInt32___core__kernel__Numeric__to_i(uint32_t self
) {
5988 long var
/* : Int */;
5989 long var1
/* : Int */;
5996 /* method fixed_ints#UInt32#to_i for (self: Numeric): Int */
5997 long VIRTUAL_core___core__UInt32___core__kernel__Numeric__to_i(val
* self
) {
5998 long var
/* : Int */;
5999 long var1
/* : Int */;
6000 uint32_t var3
/* : UInt32 */;
6001 long var4
/* : Int */;
6002 { /* Inline fixed_ints#UInt32#to_i (self) on <self:Numeric(UInt32)> */
6003 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6013 /* method fixed_ints#UInt32#to_f for (self: UInt32): Float */
6014 double core___core__UInt32___core__kernel__Numeric__to_f(uint32_t self
) {
6015 double var
/* : Float */;
6016 double var1
/* : Float */;
6017 var1
= (double)self
;
6023 /* method fixed_ints#UInt32#to_f for (self: Numeric): Float */
6024 double VIRTUAL_core___core__UInt32___core__kernel__Numeric__to_f(val
* self
) {
6025 double var
/* : Float */;
6026 double var1
/* : Float */;
6027 uint32_t var3
/* : UInt32 */;
6028 double var4
/* : Float */;
6029 { /* Inline fixed_ints#UInt32#to_f (self) on <self:Numeric(UInt32)> */
6030 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6031 var4
= (double)var3
;
6040 /* method fixed_ints#UInt32#to_b for (self: UInt32): Byte */
6041 unsigned char core___core__UInt32___core__kernel__Numeric__to_b(uint32_t self
) {
6042 unsigned char var
/* : Byte */;
6043 unsigned char var1
/* : Byte */;
6044 var1
= (unsigned char)self
;
6050 /* method fixed_ints#UInt32#to_b for (self: Numeric): Byte */
6051 unsigned char VIRTUAL_core___core__UInt32___core__kernel__Numeric__to_b(val
* self
) {
6052 unsigned char var
/* : Byte */;
6053 unsigned char var1
/* : Byte */;
6054 uint32_t var3
/* : UInt32 */;
6055 unsigned char var4
/* : Byte */;
6056 { /* Inline fixed_ints#UInt32#to_b (self) on <self:Numeric(UInt32)> */
6057 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6058 var4
= (unsigned char)var3
;
6067 /* method fixed_ints#UInt32#to_i8 for (self: UInt32): Int8 */
6068 int8_t core___core__UInt32___Numeric__to_i8(uint32_t self
) {
6069 int8_t var
/* : Int8 */;
6070 int8_t var1
/* : Int8 */;
6071 var1
= (int8_t)self
;
6077 /* method fixed_ints#UInt32#to_i8 for (self: Numeric): Int8 */
6078 int8_t VIRTUAL_core___core__UInt32___Numeric__to_i8(val
* self
) {
6079 int8_t var
/* : Int8 */;
6080 int8_t var1
/* : Int8 */;
6081 uint32_t var3
/* : UInt32 */;
6082 int8_t var4
/* : Int8 */;
6083 { /* Inline fixed_ints#UInt32#to_i8 (self) on <self:Numeric(UInt32)> */
6084 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6085 var4
= (int8_t)var3
;
6094 /* method fixed_ints#UInt32#to_i16 for (self: UInt32): Int16 */
6095 int16_t core___core__UInt32___Numeric__to_i16(uint32_t self
) {
6096 int16_t var
/* : Int16 */;
6097 int16_t var1
/* : Int16 */;
6098 var1
= (int16_t)self
;
6104 /* method fixed_ints#UInt32#to_i16 for (self: Numeric): Int16 */
6105 int16_t VIRTUAL_core___core__UInt32___Numeric__to_i16(val
* self
) {
6106 int16_t var
/* : Int16 */;
6107 int16_t var1
/* : Int16 */;
6108 uint32_t var3
/* : UInt32 */;
6109 int16_t var4
/* : Int16 */;
6110 { /* Inline fixed_ints#UInt32#to_i16 (self) on <self:Numeric(UInt32)> */
6111 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6112 var4
= (int16_t)var3
;
6121 /* method fixed_ints#UInt32#to_u16 for (self: UInt32): UInt16 */
6122 uint16_t core___core__UInt32___Numeric__to_u16(uint32_t self
) {
6123 uint16_t var
/* : UInt16 */;
6124 uint16_t var1
/* : UInt16 */;
6125 var1
= (uint16_t)self
;
6131 /* method fixed_ints#UInt32#to_u16 for (self: Numeric): UInt16 */
6132 uint16_t VIRTUAL_core___core__UInt32___Numeric__to_u16(val
* self
) {
6133 uint16_t var
/* : UInt16 */;
6134 uint16_t var1
/* : UInt16 */;
6135 uint32_t var3
/* : UInt32 */;
6136 uint16_t var4
/* : UInt16 */;
6137 { /* Inline fixed_ints#UInt32#to_u16 (self) on <self:Numeric(UInt32)> */
6138 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6139 var4
= (uint16_t)var3
;
6148 /* method fixed_ints#UInt32#to_i32 for (self: UInt32): Int32 */
6149 int32_t core___core__UInt32___Numeric__to_i32(uint32_t self
) {
6150 int32_t var
/* : Int32 */;
6151 int32_t var1
/* : Int32 */;
6152 var1
= (int32_t)self
;
6158 /* method fixed_ints#UInt32#to_i32 for (self: Numeric): Int32 */
6159 int32_t VIRTUAL_core___core__UInt32___Numeric__to_i32(val
* self
) {
6160 int32_t var
/* : Int32 */;
6161 int32_t var1
/* : Int32 */;
6162 uint32_t var3
/* : UInt32 */;
6163 int32_t var4
/* : Int32 */;
6164 { /* Inline fixed_ints#UInt32#to_i32 (self) on <self:Numeric(UInt32)> */
6165 var3
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6166 var4
= (int32_t)var3
;
6175 /* method fixed_ints#UInt32#to_u32 for (self: UInt32): UInt32 */
6176 uint32_t core___core__UInt32___Numeric__to_u32(uint32_t self
) {
6177 uint32_t var
/* : UInt32 */;
6183 /* method fixed_ints#UInt32#to_u32 for (self: Numeric): UInt32 */
6184 uint32_t VIRTUAL_core___core__UInt32___Numeric__to_u32(val
* self
) {
6185 uint32_t var
/* : UInt32 */;
6186 uint32_t var1
/* : UInt32 */;
6187 uint32_t var2
/* : UInt32 */;
6188 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Numeric to UInt32 */;
6189 var1
= core___core__UInt32___Numeric__to_u32(var2
);
6194 /* method fixed_ints#UInt32#distance for (self: UInt32, UInt32): Int */
6195 long core___core__UInt32___core__kernel__Discrete__distance(uint32_t self
, uint32_t p0
) {
6196 long var
/* : Int */;
6197 short int var1
/* : Bool */;
6200 const char* var_class_name
;
6201 uint32_t var_i
/* var i: UInt32 */;
6202 uint32_t var2
/* : UInt32 */;
6203 short int var4
/* : Bool */;
6206 const char* var_class_name7
;
6207 uint32_t var8
/* : UInt32 */;
6208 long var9
/* : Int */;
6209 long var11
/* : Int */;
6210 /* Covariant cast for argument 0 (i) <p0:UInt32> isa OTHER */
6211 /* <p0:UInt32> isa OTHER */
6212 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
6213 if (unlikely(!var1
)) {
6214 var_class_name
= type_core__UInt32
.name
;
6215 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6216 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 749);
6221 { /* Inline fixed_ints#UInt32#- (self,var_i) on <self:UInt32> */
6222 /* Covariant cast for argument 0 (i) <var_i:UInt32> isa OTHER */
6223 /* <var_i:UInt32> isa OTHER */
6224 var4
= 1; /* easy <var_i:UInt32> isa OTHER*/
6225 if (unlikely(!var4
)) {
6226 var_class_name7
= type_core__UInt32
.name
;
6227 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
6228 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 712);
6231 var8
= self
- var_i
;
6238 { /* Inline fixed_ints#UInt32#to_i (var2) on <var2:UInt32> */
6242 RET_LABEL10
:(void)0;
6250 /* method fixed_ints#UInt32#distance for (self: Discrete, Discrete): Int */
6251 long VIRTUAL_core___core__UInt32___core__kernel__Discrete__distance(val
* self
, val
* p0
) {
6252 long var
/* : Int */;
6253 long var1
/* : Int */;
6254 uint32_t var2
/* : UInt32 */;
6255 uint32_t var3
/* : UInt32 */;
6256 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Discrete to UInt32 */;
6257 var3
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Discrete to UInt32 */;
6258 var1
= core___core__UInt32___core__kernel__Discrete__distance(var2
, var3
);
6263 /* method fixed_ints#UInt32#<=> for (self: UInt32, UInt32): Int */
6264 long core___core__UInt32___core__kernel__Comparable___60d_61d_62d(uint32_t self
, uint32_t p0
) {
6265 long var
/* : Int */;
6266 short int var1
/* : Bool */;
6269 const char* var_class_name
;
6270 uint32_t var_other
/* var other: UInt32 */;
6271 short int var2
/* : Bool */;
6272 short int var4
/* : Bool */;
6275 const char* var_class_name7
;
6276 short int var8
/* : Bool */;
6277 long var9
/* : Int */;
6278 long var11
/* : Int */;
6279 short int var12
/* : Bool */;
6280 short int var14
/* : Bool */;
6283 const char* var_class_name17
;
6284 short int var18
/* : Bool */;
6285 /* Covariant cast for argument 0 (other) <p0:UInt32> isa OTHER */
6286 /* <p0:UInt32> isa OTHER */
6287 var1
= 1; /* easy <p0:UInt32> isa OTHER*/
6288 if (unlikely(!var1
)) {
6289 var_class_name
= type_core__UInt32
.name
;
6290 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6291 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 751);
6296 { /* Inline fixed_ints#UInt32#< (self,var_other) on <self:UInt32> */
6297 /* Covariant cast for argument 0 (i) <var_other:UInt32> isa OTHER */
6298 /* <var_other:UInt32> isa OTHER */
6299 var4
= 1; /* easy <var_other:UInt32> isa OTHER*/
6300 if (unlikely(!var4
)) {
6301 var_class_name7
= type_core__UInt32
.name
;
6302 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name7
);
6303 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 704);
6306 var8
= self
< var_other
;
6314 { /* Inline kernel#Int#unary - (1l) on <1l:Int> */
6318 RET_LABEL10
:(void)0;
6325 { /* Inline fixed_ints#UInt32#< (var_other,self) on <var_other:UInt32> */
6326 /* Covariant cast for argument 0 (i) <self:UInt32> isa OTHER */
6327 /* <self:UInt32> isa OTHER */
6328 var14
= 1; /* easy <self:UInt32> isa OTHER*/
6329 if (unlikely(!var14
)) {
6330 var_class_name17
= type_core__UInt32
.name
;
6331 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name17
);
6332 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 704);
6335 var18
= var_other
< self
;
6338 RET_LABEL13
:(void)0;
6352 /* method fixed_ints#UInt32#<=> for (self: Comparable, Comparable): Int */
6353 long VIRTUAL_core___core__UInt32___core__kernel__Comparable___60d_61d_62d(val
* self
, val
* p0
) {
6354 long var
/* : Int */;
6355 long var1
/* : Int */;
6356 uint32_t var2
/* : UInt32 */;
6357 uint32_t var3
/* : UInt32 */;
6358 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Comparable to UInt32 */;
6359 var3
= ((struct instance_core__UInt32
*)p0
)->value
; /* autounbox from Comparable to UInt32 */;
6360 var1
= core___core__UInt32___core__kernel__Comparable___60d_61d_62d(var2
, var3
);
6365 /* method fixed_ints#UInt32#to_s_len for (self: UInt32): Int */
6366 long core___core__UInt32___to_s_len(uint32_t self
) {
6367 long var
/* : Int */;
6368 long var1
/* : Int */;
6369 var1
= fixed_ints___UInt32_to_s_len___impl(self
);
6375 /* method fixed_ints#UInt32#native_to_s for (self: UInt32, NativeString, Int) */
6376 void core___core__UInt32___native_to_s(uint32_t self
, char* p0
, long p1
) {
6377 fixed_ints___UInt32_native_to_s___impl(self
, p0
, p1
);
6380 /* method fixed_ints#UInt32#to_s for (self: UInt32): String */
6381 val
* core___core__UInt32___core__abstract_text__Object__to_s(uint32_t self
) {
6382 val
* var
/* : String */;
6383 long var1
/* : Int */;
6384 long var3
/* : Int */;
6385 long var_nslen
/* var nslen: Int */;
6386 char* var4
/* : NativeString */;
6387 long var5
/* : Int */;
6388 short int var7
/* : Bool */;
6391 const char* var_class_name
;
6392 long var8
/* : Int */;
6393 char* var9
/* : NativeString */;
6394 char* var11
/* : NativeString */;
6395 char* var_ns
/* var ns: NativeString */;
6396 long var13
/* : Int */;
6397 short int var15
/* : Bool */;
6400 const char* var_class_name18
;
6401 long var19
/* : Int */;
6402 val
* var21
/* : FlatString */;
6404 { /* Inline fixed_ints#UInt32#to_s_len (self) on <self:UInt32> */
6405 var3
= fixed_ints___UInt32_to_s_len___impl(self
);
6412 var4
= NULL
/*special!*/;
6414 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
6415 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
6416 /* <1l:Int> isa OTHER */
6417 var7
= 1; /* easy <1l:Int> isa OTHER*/
6418 if (unlikely(!var7
)) {
6419 var_class_name
= type_core__Int
.name
;
6420 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6421 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
6424 var8
= var_nslen
+ 1l;
6431 { /* Inline native#NativeString#new (var4,var5) on <var4:NativeString> */
6432 var11
= (char*)nit_alloc(var5
);
6435 RET_LABEL10
:(void)0;
6440 { /* Inline native#NativeString#[]= (var_ns,var_nslen,((unsigned char)0x00)) on <var_ns:NativeString> */
6441 var_ns
[var_nslen
]=(unsigned char)((unsigned char)0x00);
6442 RET_LABEL12
:(void)0;
6446 { /* Inline kernel#Int#+ (var_nslen,1l) on <var_nslen:Int> */
6447 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
6448 /* <1l:Int> isa OTHER */
6449 var15
= 1; /* easy <1l:Int> isa OTHER*/
6450 if (unlikely(!var15
)) {
6451 var_class_name18
= type_core__Int
.name
;
6452 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name18
);
6453 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
6456 var19
= var_nslen
+ 1l;
6459 RET_LABEL14
:(void)0;
6463 { /* Inline fixed_ints#UInt32#native_to_s (self,var_ns,var13) on <self:UInt32> */
6464 fixed_ints___UInt32_native_to_s___impl(self
, var_ns
, var13
);
6465 RET_LABEL20
:(void)0;
6469 var21
= core__flat___NativeString___to_s_with_length(var_ns
, var_nslen
);
6476 /* method fixed_ints#UInt32#to_s for (self: Object): String */
6477 val
* VIRTUAL_core___core__UInt32___core__abstract_text__Object__to_s(val
* self
) {
6478 val
* var
/* : String */;
6479 val
* var1
/* : String */;
6480 uint32_t var2
/* : UInt32 */;
6481 var2
= ((struct instance_core__UInt32
*)self
)->value
; /* autounbox from Object to UInt32 */;
6482 var1
= core___core__UInt32___core__abstract_text__Object__to_s(var2
);
6487 /* method fixed_ints#Text#strip_numhead for (self: Text): Text */
6488 val
* core__fixed_ints___Text___strip_numhead(val
* self
) {
6489 val
* var
/* : Text */;
6490 val
* var1
/* : Text */;
6491 static val
* varonce
;
6492 val
* var2
/* : String */;
6493 char* var3
/* : NativeString */;
6494 val
* var4
/* : String */;
6495 short int var5
/* : Bool */;
6496 val
* var_other
/* var other: nullable Object */;
6497 short int var7
/* : Bool */;
6498 short int var8
/* : Bool */;
6499 val
* var9
/* : Text */;
6501 var1
= core__fixed_ints___Text___get_numhead(self
);
6503 if (likely(varonce
!=NULL
)) {
6507 var4
= core__flat___NativeString___to_s_full(var3
, 0l, 0l);
6512 { /* Inline kernel#Object#!= (var1,var2) on <var1:Text> */
6515 var7
= ((short int(*)(val
* self
, val
* p0
))(var1
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var1
, var_other
); /* == on <var1:Text>*/
6525 var9
= ((val
*(*)(val
* self
, long p0
))(self
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(self
, 2l); /* substring_from on <self:Text>*/
6536 /* method fixed_ints#Text#get_numhead for (self: Text): Text */
6537 val
* core__fixed_ints___Text___get_numhead(val
* self
) {
6538 val
* var
/* : Text */;
6539 long var1
/* : Int */;
6540 short int var2
/* : Bool */;
6541 short int var4
/* : Bool */;
6544 const char* var_class_name
;
6545 short int var5
/* : Bool */;
6546 static val
* varonce
;
6547 val
* var6
/* : String */;
6548 char* var7
/* : NativeString */;
6549 val
* var8
/* : String */;
6550 uint32_t var9
/* : Char */;
6551 uint32_t var_c
/* var c: Char */;
6552 short int var10
/* : Bool */;
6553 short int var12
/* : Bool */;
6554 short int var13
/* : Bool */;
6555 static val
* varonce14
;
6556 val
* var15
/* : String */;
6557 char* var16
/* : NativeString */;
6558 val
* var17
/* : String */;
6559 uint32_t var18
/* : Char */;
6560 short int var19
/* : Bool */;
6561 short int var20
/* : Bool */;
6562 short int var21
/* : Bool */;
6563 short int var22
/* : Bool */;
6564 short int var23
/* : Bool */;
6565 short int var24
/* : Bool */;
6566 short int var26
/* : Bool */;
6567 short int var_
/* var : Bool */;
6568 short int var27
/* : Bool */;
6569 short int var29
/* : Bool */;
6570 short int var_30
/* var : Bool */;
6571 short int var31
/* : Bool */;
6572 short int var33
/* : Bool */;
6573 short int var_34
/* var : Bool */;
6574 short int var35
/* : Bool */;
6575 short int var37
/* : Bool */;
6576 short int var_38
/* var : Bool */;
6577 short int var39
/* : Bool */;
6578 short int var41
/* : Bool */;
6579 short int var_42
/* var : Bool */;
6580 short int var43
/* : Bool */;
6581 short int var45
/* : Bool */;
6582 val
* var46
/* : Text */;
6583 static val
* varonce47
;
6584 val
* var48
/* : String */;
6585 char* var49
/* : NativeString */;
6586 val
* var50
/* : String */;
6588 var1
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__length
]))(self
); /* length on <self:Text>*/
6591 { /* Inline kernel#Int#< (var1,2l) on <var1:Int> */
6592 /* Covariant cast for argument 0 (i) <2l:Int> isa OTHER */
6593 /* <2l:Int> isa OTHER */
6594 var4
= 1; /* easy <2l:Int> isa OTHER*/
6595 if (unlikely(!var4
)) {
6596 var_class_name
= type_core__Int
.name
;
6597 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6598 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
6608 if (likely(varonce
!=NULL
)) {
6612 var8
= core__flat___NativeString___to_s_full(var7
, 0l, 0l);
6621 var9
= ((uint32_t(*)(val
* self
, long p0
))(self
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(self
, 0l); /* [] on <self:Text>*/
6625 { /* Inline kernel#Char#!= (var_c,'0') on <var_c:Char> */
6626 var12
= var_c
== '0';
6630 RET_LABEL11
:(void)0;
6634 if (likely(varonce14
!=NULL
)) {
6638 var17
= core__flat___NativeString___to_s_full(var16
, 0l, 0l);
6647 var18
= ((uint32_t(*)(val
* self
, long p0
))(self
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(self
, 1l); /* [] on <self:Text>*/
6651 { /* Inline kernel#Char#== (var_c,'x') on <var_c:Char> */
6652 var26
= var_c
== 'x';
6655 RET_LABEL25
:(void)0;
6663 { /* Inline kernel#Char#== (var_c,'b') on <var_c:Char> */
6664 var29
= var_c
== 'b';
6667 RET_LABEL28
:(void)0;
6677 { /* Inline kernel#Char#== (var_c,'o') on <var_c:Char> */
6678 var33
= var_c
== 'o';
6681 RET_LABEL32
:(void)0;
6691 { /* Inline kernel#Char#== (var_c,'X') on <var_c:Char> */
6692 var37
= var_c
== 'X';
6695 RET_LABEL36
:(void)0;
6705 { /* Inline kernel#Char#== (var_c,'B') on <var_c:Char> */
6706 var41
= var_c
== 'B';
6709 RET_LABEL40
:(void)0;
6719 { /* Inline kernel#Char#== (var_c,'O') on <var_c:Char> */
6720 var45
= var_c
== 'O';
6723 RET_LABEL44
:(void)0;
6730 var46
= ((val
*(*)(val
* self
, long p0
, long p1
))(self
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(self
, 0l, 2l); /* substring on <self:Text>*/
6736 if (likely(varonce47
!=NULL
)) {
6740 var50
= core__flat___NativeString___to_s_full(var49
, 0l, 0l);
6749 /* method fixed_ints#Text#strip_numext for (self: Text): Text */
6750 val
* core__fixed_ints___Text___strip_numext(val
* self
) {
6751 val
* var
/* : Text */;
6752 val
* var1
/* : Text */;
6753 val
* var_ext
/* var ext: Text */;
6754 static val
* varonce
;
6755 val
* var2
/* : String */;
6756 char* var3
/* : NativeString */;
6757 val
* var4
/* : String */;
6758 short int var5
/* : Bool */;
6759 val
* var_other
/* var other: nullable Object */;
6760 short int var7
/* : Bool */;
6761 short int var8
/* : Bool */;
6762 long var9
/* : Int */;
6763 long var10
/* : Int */;
6764 long var11
/* : Int */;
6765 short int var13
/* : Bool */;
6768 const char* var_class_name
;
6769 long var14
/* : Int */;
6770 val
* var15
/* : Text */;
6772 var1
= core__fixed_ints___Text___get_numext(self
);
6775 if (likely(varonce
!=NULL
)) {
6779 var4
= core__flat___NativeString___to_s_full(var3
, 0l, 0l);
6784 { /* Inline kernel#Object#!= (var_ext,var2) on <var_ext:Text> */
6787 var7
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var_other
); /* == on <var_ext:Text>*/
6797 var9
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__length
]))(self
); /* length on <self:Text>*/
6800 var10
= ((long(*)(val
* self
))(var_ext
->class->vft
[COLOR_core__abstract_text__Text__length
]))(var_ext
); /* length on <var_ext:Text>*/
6803 { /* Inline kernel#Int#- (var9,var10) on <var9:Int> */
6804 /* Covariant cast for argument 0 (i) <var10:Int> isa OTHER */
6805 /* <var10:Int> isa OTHER */
6806 var13
= 1; /* easy <var10:Int> isa OTHER*/
6807 if (unlikely(!var13
)) {
6808 var_class_name
= type_core__Int
.name
;
6809 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6810 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
6813 var14
= var9
- var10
;
6816 RET_LABEL12
:(void)0;
6820 var15
= ((val
*(*)(val
* self
, long p0
, long p1
))(self
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(self
, 0l, var11
); /* substring on <self:Text>*/
6831 /* method fixed_ints#Text#get_numext for (self: Text): Text */
6832 val
* core__fixed_ints___Text___get_numext(val
* self
) {
6833 val
* var
/* : Text */;
6834 long var1
/* : Int */;
6835 long var_len
/* var len: Int */;
6836 long var2
/* : Int */;
6837 long var3
/* : Int */;
6838 short int var4
/* : Bool */;
6839 short int var6
/* : Bool */;
6842 const char* var_class_name
;
6843 short int var7
/* : Bool */;
6844 long var8
/* : Int */;
6845 long var_max
/* var max: Int */;
6846 long var_i
/* var i: Int */;
6847 long var_
/* var : Int */;
6848 short int var9
/* : Bool */;
6849 short int var11
/* : Bool */;
6852 const char* var_class_name14
;
6853 short int var15
/* : Bool */;
6854 long var16
/* : Int */;
6855 short int var18
/* : Bool */;
6858 const char* var_class_name21
;
6859 long var22
/* : Int */;
6860 uint32_t var23
/* : Char */;
6861 uint32_t var_c
/* var c: Char */;
6862 short int var24
/* : Bool */;
6863 short int var25
/* : Bool */;
6864 short int var27
/* : Bool */;
6865 short int var_28
/* var : Bool */;
6866 short int var29
/* : Bool */;
6867 short int var31
/* : Bool */;
6868 long var32
/* : Int */;
6869 short int var34
/* : Bool */;
6872 const char* var_class_name37
;
6873 long var38
/* : Int */;
6874 val
* var39
/* : Text */;
6875 long var40
/* : Int */;
6876 static val
* varonce
;
6877 val
* var41
/* : String */;
6878 char* var42
/* : NativeString */;
6879 val
* var43
/* : String */;
6881 var1
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__length
]))(self
); /* length on <self:Text>*/
6885 var3
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__length
]))(self
); /* length on <self:Text>*/
6888 { /* Inline kernel#Int#< (var3,3l) on <var3:Int> */
6889 /* Covariant cast for argument 0 (i) <3l:Int> isa OTHER */
6890 /* <3l:Int> isa OTHER */
6891 var6
= 1; /* easy <3l:Int> isa OTHER*/
6892 if (unlikely(!var6
)) {
6893 var_class_name
= type_core__Int
.name
;
6894 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6895 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
6906 var8
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__length
]))(self
); /* length on <self:Text>*/
6917 { /* Inline kernel#Int#<= (var_i,var_) on <var_i:Int> */
6918 /* Covariant cast for argument 0 (i) <var_:Int> isa OTHER */
6919 /* <var_:Int> isa OTHER */
6920 var11
= 1; /* easy <var_:Int> isa OTHER*/
6921 if (unlikely(!var11
)) {
6922 var_class_name14
= type_core__Int
.name
;
6923 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name14
);
6924 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 727);
6927 var15
= var_i
<= var_
;
6930 RET_LABEL10
:(void)0;
6938 { /* Inline kernel#Int#- (var_len,var_i) on <var_len:Int> */
6939 /* Covariant cast for argument 0 (i) <var_i:Int> isa OTHER */
6940 /* <var_i:Int> isa OTHER */
6941 var18
= 1; /* easy <var_i:Int> isa OTHER*/
6942 if (unlikely(!var18
)) {
6943 var_class_name21
= type_core__Int
.name
;
6944 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name21
);
6945 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
6948 var22
= var_len
- var_i
;
6951 RET_LABEL17
:(void)0;
6955 var23
= ((uint32_t(*)(val
* self
, long p0
))(self
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(self
, var16
); /* [] on <self:Text>*/
6959 { /* Inline kernel#Char#== (var_c,'i') on <var_c:Char> */
6960 var27
= var_c
== 'i';
6963 RET_LABEL26
:(void)0;
6971 { /* Inline kernel#Char#== (var_c,'u') on <var_c:Char> */
6972 var31
= var_c
== 'u';
6975 RET_LABEL30
:(void)0;
6982 { /* Inline kernel#Int#- (var_len,var_i) on <var_len:Int> */
6983 /* Covariant cast for argument 0 (i) <var_i:Int> isa OTHER */
6984 /* <var_i:Int> isa OTHER */
6985 var34
= 1; /* easy <var_i:Int> isa OTHER*/
6986 if (unlikely(!var34
)) {
6987 var_class_name37
= type_core__Int
.name
;
6988 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name37
);
6989 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
6992 var38
= var_len
- var_i
;
6995 RET_LABEL33
:(void)0;
6999 var39
= ((val
*(*)(val
* self
, long p0
))(self
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(self
, var32
); /* substring_from on <self:Text>*/
7006 var40
= core___core__Int___Discrete__successor(var_i
, 1l);
7010 BREAK_label
: (void)0;
7011 if (likely(varonce
!=NULL
)) {
7015 var43
= core__flat___NativeString___to_s_full(var42
, 0l, 0l);
7024 /* method fixed_ints#Text#is_int for (self: Text): Bool */
7025 short int core__fixed_ints___Text___is_int(val
* self
) {
7026 short int var
/* : Bool */;
7027 long var1
/* : Int */;
7028 short int var2
/* : Bool */;
7029 short int var4
/* : Bool */;
7030 val
* var5
/* : String */;
7031 val
* var6
/* : Pattern */;
7032 val
* var_s
/* var s: String */;
7033 long var_pos
/* var pos: Int */;
7034 uint32_t var7
/* : Char */;
7035 short int var8
/* : Bool */;
7036 short int var10
/* : Bool */;
7037 long var11
/* : Int */;
7038 short int var13
/* : Bool */;
7041 const char* var_class_name
;
7042 long var14
/* : Int */;
7043 val
* var15
/* : Text */;
7044 val
* var16
/* : Text */;
7045 val
* var_rets
/* var rets: Text */;
7046 static val
* varonce
;
7047 val
* var17
/* : String */;
7048 char* var18
/* : NativeString */;
7049 val
* var19
/* : String */;
7050 short int var20
/* : Bool */;
7051 val
* var21
/* : Text */;
7052 val
* var_hd
/* var hd: Text */;
7053 short int var22
/* : Bool */;
7054 static val
* varonce23
;
7055 val
* var24
/* : String */;
7056 char* var25
/* : NativeString */;
7057 val
* var26
/* : String */;
7058 short int var27
/* : Bool */;
7059 short int var_
/* var : Bool */;
7060 static val
* varonce28
;
7061 val
* var29
/* : String */;
7062 char* var30
/* : NativeString */;
7063 val
* var31
/* : String */;
7064 short int var32
/* : Bool */;
7065 short int var33
/* : Bool */;
7066 short int var34
/* : Bool */;
7067 static val
* varonce35
;
7068 val
* var36
/* : String */;
7069 char* var37
/* : NativeString */;
7070 val
* var38
/* : String */;
7071 short int var39
/* : Bool */;
7072 short int var_40
/* var : Bool */;
7073 static val
* varonce41
;
7074 val
* var42
/* : String */;
7075 char* var43
/* : NativeString */;
7076 val
* var44
/* : String */;
7077 short int var45
/* : Bool */;
7078 short int var46
/* : Bool */;
7079 short int var47
/* : Bool */;
7080 static val
* varonce48
;
7081 val
* var49
/* : String */;
7082 char* var50
/* : NativeString */;
7083 val
* var51
/* : String */;
7084 short int var52
/* : Bool */;
7085 short int var_53
/* var : Bool */;
7086 static val
* varonce54
;
7087 val
* var55
/* : String */;
7088 char* var56
/* : NativeString */;
7089 val
* var57
/* : String */;
7090 short int var58
/* : Bool */;
7091 short int var59
/* : Bool */;
7092 short int var60
/* : Bool */;
7094 var1
= ((long(*)(val
* self
))(self
->class->vft
[COLOR_core__abstract_text__Text__bytelen
]))(self
); /* bytelen on <self:Text>*/
7097 { /* Inline kernel#Int#== (var1,0l) on <var1:Int> */
7110 var6
= (val
*)((long)('_')<<2|2);
7111 var5
= core__string_search___Text___remove_all(self
, var6
);
7117 var7
= ((uint32_t(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(var_s
, var_pos
); /* [] on <var_s:String>*/
7120 { /* Inline kernel#Char#== (var7,'-') on <var7:Char> */
7121 var10
= var7
== '-';
7129 { /* Inline kernel#Int#+ (var_pos,1l) on <var_pos:Int> */
7130 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
7131 /* <1l:Int> isa OTHER */
7132 var13
= 1; /* easy <1l:Int> isa OTHER*/
7133 if (unlikely(!var13
)) {
7134 var_class_name
= type_core__Int
.name
;
7135 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
7136 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
7139 var14
= var_pos
+ 1l;
7142 RET_LABEL12
:(void)0;
7150 BREAK_label
: (void)0;
7152 var15
= ((val
*(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(var_s
, var_pos
); /* substring_from on <var_s:String>*/
7156 var16
= core__fixed_ints___Text___strip_numhead(var_s
);
7159 if (likely(varonce
!=NULL
)) {
7163 var19
= core__flat___NativeString___to_s_full(var18
, 0l, 0l);
7168 var20
= ((short int(*)(val
* self
, val
* p0
))(var_rets
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_rets
, var17
); /* == on <var_rets:Text>*/
7176 var21
= core__fixed_ints___Text___get_numhead(self
);
7179 if (likely(varonce23
!=NULL
)) {
7183 var26
= core__flat___NativeString___to_s_full(var25
, 2l, 2l);
7188 var27
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var24
); /* == on <var_hd:Text>*/
7194 if (likely(varonce28
!=NULL
)) {
7198 var31
= core__flat___NativeString___to_s_full(var30
, 2l, 2l);
7203 var32
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var29
); /* == on <var_hd:Text>*/
7209 var33
= core___core__Text___is_hex(var_rets
);
7215 if (likely(varonce35
!=NULL
)) {
7219 var38
= core__flat___NativeString___to_s_full(var37
, 2l, 2l);
7224 var39
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var36
); /* == on <var_hd:Text>*/
7230 if (likely(varonce41
!=NULL
)) {
7234 var44
= core__flat___NativeString___to_s_full(var43
, 2l, 2l);
7239 var45
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var42
); /* == on <var_hd:Text>*/
7245 var46
= core___core__Text___is_bin(var_rets
);
7251 if (likely(varonce48
!=NULL
)) {
7255 var51
= core__flat___NativeString___to_s_full(var50
, 2l, 2l);
7260 var52
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var49
); /* == on <var_hd:Text>*/
7266 if (likely(varonce54
!=NULL
)) {
7270 var57
= core__flat___NativeString___to_s_full(var56
, 2l, 2l);
7275 var58
= ((short int(*)(val
* self
, val
* p0
))(var_hd
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_hd
, var55
); /* == on <var_hd:Text>*/
7281 var59
= core___core__Text___is_oct(var_rets
);
7288 var60
= core___core__Text___is_dec(var_hd
);
7295 /* method fixed_ints#Text#to_i for (self: Text): Int */
7296 long core__fixed_ints___Text___to_i(val
* self
) {
7297 long var
/* : Int */;
7298 short int var1
/* : Bool */;
7299 val
* var2
/* : String */;
7300 val
* var3
/* : Pattern */;
7301 val
* var_s
/* var s: String */;
7302 long var_val
/* var val: Int */;
7303 short int var_neg
/* var neg: Bool */;
7304 long var_pos
/* var pos: Int */;
7305 uint32_t var4
/* : Char */;
7306 short int var5
/* : Bool */;
7307 short int var7
/* : Bool */;
7308 short int var8
/* : Bool */;
7309 long var9
/* : Int */;
7310 short int var11
/* : Bool */;
7313 const char* var_class_name
;
7314 long var12
/* : Int */;
7315 val
* var13
/* : Text */;
7316 long var14
/* : Int */;
7317 short int var15
/* : Bool */;
7318 short int var17
/* : Bool */;
7321 const char* var_class_name20
;
7322 short int var21
/* : Bool */;
7323 uint32_t var22
/* : Char */;
7324 uint32_t var_s1
/* var s1: Char */;
7325 short int var23
/* : Bool */;
7326 short int var24
/* : Bool */;
7327 short int var26
/* : Bool */;
7328 short int var_
/* var : Bool */;
7329 short int var27
/* : Bool */;
7330 short int var29
/* : Bool */;
7331 val
* var30
/* : Text */;
7332 long var31
/* : Int */;
7333 short int var32
/* : Bool */;
7334 short int var33
/* : Bool */;
7335 short int var35
/* : Bool */;
7336 short int var_36
/* var : Bool */;
7337 short int var37
/* : Bool */;
7338 short int var39
/* : Bool */;
7339 val
* var40
/* : Text */;
7340 long var41
/* : Int */;
7341 short int var42
/* : Bool */;
7342 short int var43
/* : Bool */;
7343 short int var45
/* : Bool */;
7344 short int var_46
/* var : Bool */;
7345 short int var47
/* : Bool */;
7346 short int var49
/* : Bool */;
7347 val
* var50
/* : Text */;
7348 long var51
/* : Int */;
7349 short int var52
/* : Bool */;
7350 long var53
/* : Int */;
7351 long var54
/* : Int */;
7352 long var55
/* : Int */;
7353 long var56
/* : Int */;
7354 long var58
/* : Int */;
7356 var1
= core__fixed_ints___Text___is_int(self
);
7358 if (unlikely(!var1
)) {
7359 PRINT_ERROR("Runtime error: %s", "Assert failed");
7360 PRINT_ERROR(" (%s:%d)\n", FILE_core__fixed_ints
, 921);
7364 var3
= (val
*)((long)('_')<<2|2);
7365 var2
= core__string_search___Text___remove_all(self
, var3
);
7373 var4
= ((uint32_t(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(var_s
, var_pos
); /* [] on <var_s:String>*/
7376 { /* Inline kernel#Char#== (var4,'-') on <var4:Char> */
7387 { /* Inline kernel#Int#+ (var_pos,1l) on <var_pos:Int> */
7388 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
7389 /* <1l:Int> isa OTHER */
7390 var11
= 1; /* easy <1l:Int> isa OTHER*/
7391 if (unlikely(!var11
)) {
7392 var_class_name
= type_core__Int
.name
;
7393 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
7394 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
7397 var12
= var_pos
+ 1l;
7400 RET_LABEL10
:(void)0;
7408 BREAK_label
: (void)0;
7410 var13
= ((val
*(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(var_s
, var_pos
); /* substring_from on <var_s:String>*/
7414 var14
= ((long(*)(val
* self
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__length
]))(var_s
); /* length on <var_s:String>*/
7417 { /* Inline kernel#Int#>= (var14,2l) on <var14:Int> */
7418 /* Covariant cast for argument 0 (i) <2l:Int> isa OTHER */
7419 /* <2l:Int> isa OTHER */
7420 var17
= 1; /* easy <2l:Int> isa OTHER*/
7421 if (unlikely(!var17
)) {
7422 var_class_name20
= type_core__Int
.name
;
7423 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name20
);
7424 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 729);
7427 var21
= var14
>= 2l;
7430 RET_LABEL16
:(void)0;
7435 var22
= ((uint32_t(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(var_s
, 1l); /* [] on <var_s:String>*/
7439 { /* Inline kernel#Char#== (var_s1,'x') on <var_s1:Char> */
7440 var26
= var_s1
== 'x';
7443 RET_LABEL25
:(void)0;
7451 { /* Inline kernel#Char#== (var_s1,'X') on <var_s1:Char> */
7452 var29
= var_s1
== 'X';
7455 RET_LABEL28
:(void)0;
7462 var30
= ((val
*(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(var_s
, 2l); /* substring_from on <var_s:String>*/
7465 var31
= ((long(*)(val
* self
, val
* p0
, val
* p1
))(var30
->class->vft
[COLOR_core__abstract_text__Text__to_hex
]))(var30
, ((val
*)NULL
), ((val
*)NULL
)); /* to_hex on <var30:Text(String)>*/
7470 { /* Inline kernel#Char#== (var_s1,'o') on <var_s1:Char> */
7471 var35
= var_s1
== 'o';
7474 RET_LABEL34
:(void)0;
7482 { /* Inline kernel#Char#== (var_s1,'O') on <var_s1:Char> */
7483 var39
= var_s1
== 'O';
7486 RET_LABEL38
:(void)0;
7493 var40
= ((val
*(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(var_s
, 2l); /* substring_from on <var_s:String>*/
7496 var41
= core___core__Text___to_oct(var40
);
7501 { /* Inline kernel#Char#== (var_s1,'b') on <var_s1:Char> */
7502 var45
= var_s1
== 'b';
7505 RET_LABEL44
:(void)0;
7513 { /* Inline kernel#Char#== (var_s1,'B') on <var_s1:Char> */
7514 var49
= var_s1
== 'B';
7517 RET_LABEL48
:(void)0;
7524 var50
= ((val
*(*)(val
* self
, long p0
))(var_s
->class->vft
[COLOR_core__abstract_text__Text__substring_from
]))(var_s
, 2l); /* substring_from on <var_s:String>*/
7527 var51
= core___core__Text___to_bin(var50
);
7532 var52
= core__abstract_text___Char___is_numeric(var_s1
);
7536 var53
= core___core__Text___to_dec(var_s
);
7546 var54
= core___core__Text___to_dec(var_s
);
7552 { /* Inline kernel#Int#unary - (var_val) on <var_val:Int> */
7556 RET_LABEL57
:(void)0;
7568 /* method fixed_ints#Text#is_num for (self: Text): Bool */
7569 short int core__fixed_ints___Text___is_num(val
* self
) {
7570 short int var
/* : Bool */;
7571 val
* var1
/* : Text */;
7572 val
* var_prefix
/* var prefix: Text */;
7573 val
* var2
/* : Text */;
7574 val
* var3
/* : Text */;
7575 val
* var4
/* : String */;
7576 val
* var5
/* : Pattern */;
7577 val
* var_s
/* var s: String */;
7578 static val
* varonce
;
7579 val
* var6
/* : String */;
7580 char* var7
/* : NativeString */;
7581 val
* var8
/* : String */;
7582 short int var9
/* : Bool */;
7583 val
* var_other
/* var other: nullable Object */;
7584 short int var11
/* : Bool */;
7585 short int var12
/* : Bool */;
7586 uint32_t var13
/* : Char */;
7587 uint32_t var_c
/* var c: Char */;
7588 short int var14
/* : Bool */;
7589 short int var15
/* : Bool */;
7590 short int var17
/* : Bool */;
7591 short int var_
/* var : Bool */;
7592 short int var18
/* : Bool */;
7593 short int var20
/* : Bool */;
7594 short int var21
/* : Bool */;
7595 short int var22
/* : Bool */;
7596 short int var23
/* : Bool */;
7597 short int var25
/* : Bool */;
7598 short int var_26
/* var : Bool */;
7599 short int var27
/* : Bool */;
7600 short int var29
/* : Bool */;
7601 short int var30
/* : Bool */;
7602 short int var31
/* : Bool */;
7603 short int var32
/* : Bool */;
7604 short int var34
/* : Bool */;
7605 short int var_35
/* var : Bool */;
7606 short int var36
/* : Bool */;
7607 short int var38
/* : Bool */;
7608 short int var39
/* : Bool */;
7609 short int var40
/* : Bool */;
7611 var1
= core__fixed_ints___Text___get_numhead(self
);
7615 var2
= core__fixed_ints___Text___strip_numhead(self
);
7618 var3
= core__fixed_ints___Text___strip_numext(var2
);
7621 var5
= (val
*)((long)('_')<<2|2);
7622 var4
= core__string_search___Text___remove_all(var3
, var5
);
7625 if (likely(varonce
!=NULL
)) {
7629 var8
= core__flat___NativeString___to_s_full(var7
, 0l, 0l);
7634 { /* Inline kernel#Object#!= (var_prefix,var6) on <var_prefix:Text> */
7637 var11
= ((short int(*)(val
* self
, val
* p0
))(var_prefix
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_prefix
, var_other
); /* == on <var_prefix:Text>*/
7642 RET_LABEL10
:(void)0;
7647 var13
= ((uint32_t(*)(val
* self
, long p0
))(var_prefix
->class->vft
[COLOR_core__abstract_text__Text___91d_93d
]))(var_prefix
, 1l); /* [] on <var_prefix:Text>*/
7651 { /* Inline kernel#Char#== (var_c,'x') on <var_c:Char> */
7652 var17
= var_c
== 'x';
7655 RET_LABEL16
:(void)0;
7663 { /* Inline kernel#Char#== (var_c,'X') on <var_c:Char> */
7664 var20
= var_c
== 'X';
7667 RET_LABEL19
:(void)0;
7674 var21
= core___core__Text___is_hex(var_s
);
7681 { /* Inline kernel#Char#== (var_c,'o') on <var_c:Char> */
7682 var25
= var_c
== 'o';
7685 RET_LABEL24
:(void)0;
7693 { /* Inline kernel#Char#== (var_c,'O') on <var_c:Char> */
7694 var29
= var_c
== 'O';
7697 RET_LABEL28
:(void)0;
7704 var30
= core___core__Text___is_oct(var_s
);
7711 { /* Inline kernel#Char#== (var_c,'b') on <var_c:Char> */
7712 var34
= var_c
== 'b';
7715 RET_LABEL33
:(void)0;
7723 { /* Inline kernel#Char#== (var_c,'B') on <var_c:Char> */
7724 var38
= var_c
== 'B';
7727 RET_LABEL37
:(void)0;
7734 var39
= core___core__Text___is_bin(var_s
);
7743 var40
= core___core__Text___is_dec(var_s
);
7750 /* method fixed_ints#Text#to_num for (self: Text): nullable Numeric */
7751 val
* core__fixed_ints___Text___to_num(val
* self
) {
7752 val
* var
/* : nullable Numeric */;
7753 short int var1
/* : Bool */;
7754 short int var2
/* : Bool */;
7755 val
* var3
/* : String */;
7756 val
* var4
/* : Pattern */;
7757 val
* var_s
/* var s: String */;
7758 val
* var5
/* : Text */;
7759 val
* var_ext
/* var ext: Text */;
7760 val
* var6
/* : Text */;
7761 val
* var_trunk
/* var trunk: Text */;
7762 val
* var7
/* : Text */;
7763 static val
* varonce
;
7764 val
* var8
/* : String */;
7765 char* var9
/* : NativeString */;
7766 val
* var10
/* : String */;
7767 short int var11
/* : Bool */;
7768 long var12
/* : Int */;
7769 long var_trval
/* var trval: Int */;
7770 static val
* varonce13
;
7771 val
* var14
/* : String */;
7772 char* var15
/* : NativeString */;
7773 val
* var16
/* : String */;
7774 short int var17
/* : Bool */;
7775 unsigned char var18
/* : Byte */;
7776 unsigned char var20
/* : Byte */;
7777 val
* var21
/* : nullable Numeric */;
7778 static val
* varonce22
;
7779 val
* var23
/* : String */;
7780 char* var24
/* : NativeString */;
7781 val
* var25
/* : String */;
7782 short int var26
/* : Bool */;
7783 int8_t var27
/* : Int8 */;
7784 int8_t var29
/* : Int8 */;
7785 val
* var30
/* : nullable Numeric */;
7786 static val
* varonce31
;
7787 val
* var32
/* : String */;
7788 char* var33
/* : NativeString */;
7789 val
* var34
/* : String */;
7790 short int var35
/* : Bool */;
7791 int16_t var36
/* : Int16 */;
7792 int16_t var38
/* : Int16 */;
7793 val
* var39
/* : nullable Numeric */;
7794 static val
* varonce40
;
7795 val
* var41
/* : String */;
7796 char* var42
/* : NativeString */;
7797 val
* var43
/* : String */;
7798 short int var44
/* : Bool */;
7799 uint16_t var45
/* : UInt16 */;
7800 uint16_t var47
/* : UInt16 */;
7801 val
* var48
/* : nullable Numeric */;
7802 static val
* varonce49
;
7803 val
* var50
/* : String */;
7804 char* var51
/* : NativeString */;
7805 val
* var52
/* : String */;
7806 short int var53
/* : Bool */;
7807 int32_t var54
/* : Int32 */;
7808 int32_t var56
/* : Int32 */;
7809 val
* var57
/* : nullable Numeric */;
7810 static val
* varonce58
;
7811 val
* var59
/* : String */;
7812 char* var60
/* : NativeString */;
7813 val
* var61
/* : String */;
7814 short int var62
/* : Bool */;
7815 uint32_t var63
/* : UInt32 */;
7816 uint32_t var65
/* : UInt32 */;
7817 val
* var66
/* : nullable Numeric */;
7818 static val
* varonce67
;
7819 val
* var68
/* : String */;
7820 char* var69
/* : NativeString */;
7821 val
* var70
/* : String */;
7822 short int var71
/* : Bool */;
7823 val
* var72
/* : nullable Numeric */;
7825 var1
= core__fixed_ints___Text___is_num(self
);
7834 var4
= (val
*)((long)('_')<<2|2);
7835 var3
= core__string_search___Text___remove_all(self
, var4
);
7839 var5
= core__fixed_ints___Text___get_numext(var_s
);
7843 var6
= core__fixed_ints___Text___strip_numext(var_s
);
7847 var7
= core__fixed_ints___Text___strip_numhead(var_trunk
);
7849 if (likely(varonce
!=NULL
)) {
7853 var10
= core__flat___NativeString___to_s_full(var9
, 0l, 0l);
7858 var11
= ((short int(*)(val
* self
, val
* p0
))(var7
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var7
, var8
); /* == on <var7:Text>*/
7866 var12
= core__fixed_ints___Text___to_i(var_trunk
);
7869 if (likely(varonce13
!=NULL
)) {
7873 var16
= core__flat___NativeString___to_s_full(var15
, 2l, 2l);
7878 var17
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var14
); /* == on <var_ext:Text>*/
7882 { /* Inline kernel#Int#to_b (var_trval) on <var_trval:Int> */
7883 var20
= (unsigned char)var_trval
;
7886 RET_LABEL19
:(void)0;
7889 var21
= BOX_core__Byte(var18
); /* autobox from Byte to nullable Numeric */
7893 if (likely(varonce22
!=NULL
)) {
7897 var25
= core__flat___NativeString___to_s_full(var24
, 2l, 2l);
7902 var26
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var23
); /* == on <var_ext:Text>*/
7906 { /* Inline fixed_ints#Int#to_i8 (var_trval) on <var_trval:Int> */
7907 var29
= (int8_t)var_trval
;
7910 RET_LABEL28
:(void)0;
7913 var30
= BOX_core__Int8(var27
); /* autobox from Int8 to nullable Numeric */
7917 if (likely(varonce31
!=NULL
)) {
7921 var34
= core__flat___NativeString___to_s_full(var33
, 3l, 3l);
7926 var35
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var32
); /* == on <var_ext:Text>*/
7930 { /* Inline fixed_ints#Int#to_i16 (var_trval) on <var_trval:Int> */
7931 var38
= (int16_t)var_trval
;
7934 RET_LABEL37
:(void)0;
7937 var39
= BOX_core__Int16(var36
); /* autobox from Int16 to nullable Numeric */
7941 if (likely(varonce40
!=NULL
)) {
7945 var43
= core__flat___NativeString___to_s_full(var42
, 3l, 3l);
7950 var44
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var41
); /* == on <var_ext:Text>*/
7954 { /* Inline fixed_ints#Int#to_u16 (var_trval) on <var_trval:Int> */
7955 var47
= (uint16_t)var_trval
;
7958 RET_LABEL46
:(void)0;
7961 var48
= BOX_core__UInt16(var45
); /* autobox from UInt16 to nullable Numeric */
7965 if (likely(varonce49
!=NULL
)) {
7969 var52
= core__flat___NativeString___to_s_full(var51
, 3l, 3l);
7974 var53
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var50
); /* == on <var_ext:Text>*/
7978 { /* Inline fixed_ints#Int#to_i32 (var_trval) on <var_trval:Int> */
7979 var56
= (int32_t)var_trval
;
7982 RET_LABEL55
:(void)0;
7985 var57
= BOX_core__Int32(var54
); /* autobox from Int32 to nullable Numeric */
7989 if (likely(varonce58
!=NULL
)) {
7993 var61
= core__flat___NativeString___to_s_full(var60
, 3l, 3l);
7998 var62
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var59
); /* == on <var_ext:Text>*/
8002 { /* Inline fixed_ints#Int#to_u32 (var_trval) on <var_trval:Int> */
8003 var65
= (uint32_t)var_trval
;
8006 RET_LABEL64
:(void)0;
8009 var66
= BOX_core__UInt32(var63
); /* autobox from UInt32 to nullable Numeric */
8013 if (likely(varonce67
!=NULL
)) {
8017 var70
= core__flat___NativeString___to_s_full(var69
, 0l, 0l);
8022 var71
= ((short int(*)(val
* self
, val
* p0
))(var_ext
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ext
, var68
); /* == on <var_ext:Text>*/
8025 var72
= (val
*)(var_trval
<<2|1);