omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / OMC-EFF-2 / null-control / disasm-c / sieve.O2.s
| 1 | |
| 2 | /tmp/omc-eff-2-aa/work/obj/sieve.O2.o: file format elf64-littleaarch64 |
| 3 | |
| 4 | |
| 5 | Disassembly of section .text: |
| 6 | |
| 7 | 0000000000000000 <pass>: |
| 8 | 0: a9be7bfd stp x29, x30, [sp, #-32]! |
| 9 | 4: d2909022 mov x2, #0x8481 // #33921 |
| 10 | 8: f2a003c2 movk x2, #0x1e, lsl #16 |
| 11 | c: 910003fd mov x29, sp |
| 12 | 10: f9000bf3 str x19, [sp, #16] |
| 13 | 14: 90000013 adrp x19, 0 <pass> |
| 14 | 14: R_AARCH64_ADR_PREL_PG_HI21 .bss |
| 15 | 18: 91000263 add x3, x19, #0x0 |
| 16 | 18: R_AARCH64_ADD_ABS_LO12_NC .bss |
| 17 | 1c: 52800001 mov w1, #0x0 // #0 |
| 18 | 20: aa0303e0 mov x0, x3 |
| 19 | 24: 94000000 bl 0 <memset> |
| 20 | 24: R_AARCH64_CALL26 memset |
| 21 | 28: aa0003e3 mov x3, x0 |
| 22 | 2c: d2909002 mov x2, #0x8480 // #33920 |
| 23 | 30: d2800041 mov x1, #0x2 // #2 |
| 24 | 34: d2800080 mov x0, #0x4 // #4 |
| 25 | 38: 52800024 mov w4, #0x1 // #1 |
| 26 | 3c: f2a003c2 movk x2, #0x1e, lsl #16 |
| 27 | 40: 14000005 b 54 <pass+0x54> |
| 28 | 44: 91000421 add x1, x1, #0x1 |
| 29 | 48: 9b017c20 mul x0, x1, x1 |
| 30 | 4c: eb02001f cmp x0, x2 |
| 31 | 50: 540001a8 b.hi 84 <pass+0x84> // b.pmore |
| 32 | 54: 38616865 ldrb w5, [x3, x1] |
| 33 | 58: 35ffff65 cbnz w5, 44 <pass+0x44> |
| 34 | 5c: d503201f nop |
| 35 | 60: 38206864 strb w4, [x3, x0] |
| 36 | 64: 8b010000 add x0, x0, x1 |
| 37 | 68: eb02001f cmp x0, x2 |
| 38 | 6c: 54fffec8 b.hi 44 <pass+0x44> // b.pmore |
| 39 | 70: 38206864 strb w4, [x3, x0] |
| 40 | 74: 8b010000 add x0, x0, x1 |
| 41 | 78: eb02001f cmp x0, x2 |
| 42 | 7c: 54ffff29 b.ls 60 <pass+0x60> // b.plast |
| 43 | 80: 17fffff1 b 44 <pass+0x44> |
| 44 | 84: 91000263 add x3, x19, #0x0 |
| 45 | 84: R_AARCH64_ADD_ABS_LO12_NC .bss |
| 46 | 88: 90000001 adrp x1, 0 <pass> |
| 47 | 88: R_AARCH64_ADR_PREL_PG_HI21 .bss+0x2 |
| 48 | 8c: 9147a063 add x3, x3, #0x1e8, lsl #12 |
| 49 | 90: 91000021 add x1, x1, #0x0 |
| 50 | 90: R_AARCH64_ADD_ABS_LO12_NC .bss+0x2 |
| 51 | 94: 91120463 add x3, x3, #0x481 |
| 52 | 98: d2800000 mov x0, #0x0 // #0 |
| 53 | 9c: d503201f nop |
| 54 | a0: 38401422 ldrb w2, [x1], #1 |
| 55 | a4: 7100005f cmp w2, #0x0 |
| 56 | a8: 9a801400 cinc x0, x0, eq // eq = none |
| 57 | ac: eb01007f cmp x3, x1 |
| 58 | b0: 54ffff81 b.ne a0 <pass+0xa0> // b.any |
| 59 | b4: f9400bf3 ldr x19, [sp, #16] |
| 60 | b8: a8c27bfd ldp x29, x30, [sp], #32 |
| 61 | bc: d65f03c0 ret |
| 62 | |
| 63 | Disassembly of section .text.startup: |
| 64 | |
| 65 | 0000000000000000 <main>: |
| 66 | 0: d10183ff sub sp, sp, #0x60 |
| 67 | 4: 52800020 mov w0, #0x1 // #1 |
| 68 | 8: 90000002 adrp x2, 0 <__stack_chk_guard> |
| 69 | 8: R_AARCH64_ADR_GOT_PAGE __stack_chk_guard |
| 70 | c: f9400042 ldr x2, [x2] |
| 71 | c: R_AARCH64_LD64_GOT_LO12_NC __stack_chk_guard |
| 72 | 10: a9027bfd stp x29, x30, [sp, #32] |
| 73 | 14: 910083fd add x29, sp, #0x20 |
| 74 | 18: a90353f3 stp x19, x20, [sp, #48] |
| 75 | 1c: a9045bf5 stp x21, x22, [sp, #64] |
| 76 | 20: d2800015 mov x21, #0x0 // #0 |
| 77 | 24: a90563f7 stp x23, x24, [sp, #80] |
| 78 | 28: 910023f8 add x24, sp, #0x8 |
| 79 | 2c: aa1803e1 mov x1, x24 |
| 80 | 30: f9400043 ldr x3, [x2] |
| 81 | 34: f9000fe3 str x3, [sp, #24] |
| 82 | 38: d2800003 mov x3, #0x0 // #0 |
| 83 | 3c: 94000000 bl 0 <clock_gettime> |
| 84 | 3c: R_AARCH64_CALL26 clock_gettime |
| 85 | 40: a940dff6 ldp x22, x23, [sp, #8] |
| 86 | 44: d2994000 mov x0, #0xca00 // #51712 |
| 87 | 48: f2a77340 movk x0, #0x3b9a, lsl #16 |
| 88 | 4c: 9b007ed6 mul x22, x22, x0 |
| 89 | 50: aa1503e0 mov x0, x21 |
| 90 | 54: d2800654 mov x20, #0x32 // #50 |
| 91 | 58: 94000000 bl 0 <main> |
| 92 | 58: R_AARCH64_CALL26 .text |
| 93 | 5c: aa0003f3 mov x19, x0 |
| 94 | 60: f1000694 subs x20, x20, #0x1 |
| 95 | 64: 8b0002b5 add x21, x21, x0 |
| 96 | 68: 54ffff81 b.ne 58 <main+0x58> // b.any |
| 97 | 6c: 52800020 mov w0, #0x1 // #1 |
| 98 | 70: aa1803e1 mov x1, x24 |
| 99 | 74: 94000000 bl 0 <clock_gettime> |
| 100 | 74: R_AARCH64_CALL26 clock_gettime |
| 101 | 78: 90000014 adrp x20, 0 <main> |
| 102 | 78: R_AARCH64_ADR_PREL_PG_HI21 .rodata.str1.8 |
| 103 | 7c: a94093e1 ldp x1, x4, [sp, #8] |
| 104 | 80: d2994002 mov x2, #0xca00 // #51712 |
| 105 | 84: 90000000 adrp x0, 0 <stderr> |
| 106 | 84: R_AARCH64_ADR_GOT_PAGE stderr |
| 107 | 88: f9400000 ldr x0, [x0] |
| 108 | 88: R_AARCH64_LD64_GOT_LO12_NC stderr |
| 109 | 8c: f2a77342 movk x2, #0x3b9a, lsl #16 |
| 110 | 90: 91000294 add x20, x20, #0x0 |
| 111 | 90: R_AARCH64_ADD_ABS_LO12_NC .rodata.str1.8 |
| 112 | 94: 9b027c21 mul x1, x1, x2 |
| 113 | 98: cb160084 sub x4, x4, x22 |
| 114 | 9c: f9400000 ldr x0, [x0] |
| 115 | a0: cb170023 sub x3, x1, x23 |
| 116 | a4: 8b030083 add x3, x4, x3 |
| 117 | a8: aa1403e2 mov x2, x20 |
| 118 | ac: 52800041 mov w1, #0x2 // #2 |
| 119 | b0: 94000000 bl 0 <__fprintf_chk> |
| 120 | b0: R_AARCH64_CALL26 __fprintf_chk |
| 121 | b4: aa1303e2 mov x2, x19 |
| 122 | b8: aa1403e1 mov x1, x20 |
| 123 | bc: 52800040 mov w0, #0x2 // #2 |
| 124 | c0: 94000000 bl 0 <__printf_chk> |
| 125 | c0: R_AARCH64_CALL26 __printf_chk |
| 126 | c4: aa1503e2 mov x2, x21 |
| 127 | c8: aa1403e1 mov x1, x20 |
| 128 | cc: 52800040 mov w0, #0x2 // #2 |
| 129 | d0: 94000000 bl 0 <__printf_chk> |
| 130 | d0: R_AARCH64_CALL26 __printf_chk |
| 131 | d4: 90000000 adrp x0, 0 <__stack_chk_guard> |
| 132 | d4: R_AARCH64_ADR_GOT_PAGE __stack_chk_guard |
| 133 | d8: f9400000 ldr x0, [x0] |
| 134 | d8: R_AARCH64_LD64_GOT_LO12_NC __stack_chk_guard |
| 135 | dc: f9400fe2 ldr x2, [sp, #24] |
| 136 | e0: f9400001 ldr x1, [x0] |
| 137 | e4: eb010042 subs x2, x2, x1 |
| 138 | e8: d2800001 mov x1, #0x0 // #0 |
| 139 | ec: 54000101 b.ne 10c <main+0x10c> // b.any |
| 140 | f0: a9427bfd ldp x29, x30, [sp, #32] |
| 141 | f4: 52800000 mov w0, #0x0 // #0 |
| 142 | f8: a94353f3 ldp x19, x20, [sp, #48] |
| 143 | fc: a9445bf5 ldp x21, x22, [sp, #64] |
| 144 | 100: a94563f7 ldp x23, x24, [sp, #80] |
| 145 | 104: 910183ff add sp, sp, #0x60 |
| 146 | 108: d65f03c0 ret |
| 147 | 10c: 94000000 bl 0 <__stack_chk_fail> |
| 148 | 10c: R_AARCH64_CALL26 __stack_chk_fail |