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 / kfd / 20261112 / disassembly / a64-ALLOC_MEMORY_OF_GPU.dis
| 1 | |
| 2 | /home/drakestapleton/work/hive/amdserve/OmegaKfd/omega-mv/build/kfd/a64-ALLOC_MEMORY_OF_GPU: file format elf64-littleaarch64 |
| 3 | |
| 4 | Disassembly of section PT_LOAD#0: |
| 5 | |
| 6 | 0000000000400000 <PT_LOAD#0>: |
| 7 | 400000: 464c457f <unknown> |
| 8 | 400004: 00010102 <unknown> |
| 9 | ... |
| 10 | 400010: 00b70002 <unknown> |
| 11 | 400014: 00000001 udf #0x1 |
| 12 | 400018: 004000b0 <unknown> |
| 13 | 40001c: 00000000 udf #0x0 |
| 14 | 400020: 00000040 udf #0x40 |
| 15 | ... |
| 16 | 400034: 00380040 <unknown> |
| 17 | 400038: 00000002 udf #0x2 |
| 18 | 40003c: 00000000 udf #0x0 |
| 19 | 400040: 00000001 udf #0x1 |
| 20 | 400044: 00000005 udf #0x5 |
| 21 | ... |
| 22 | 400050: 00400000 <unknown> |
| 23 | 400054: 00000000 udf #0x0 |
| 24 | 400058: 00400000 <unknown> |
| 25 | 40005c: 00000000 udf #0x0 |
| 26 | 400060: 000004e8 udf #0x4e8 |
| 27 | 400064: 00000000 udf #0x0 |
| 28 | 400068: 000004e8 udf #0x4e8 |
| 29 | 40006c: 00000000 udf #0x0 |
| 30 | 400070: 00001000 udf #0x1000 |
| 31 | 400074: 00000000 udf #0x0 |
| 32 | 400078: 00000001 udf #0x1 |
| 33 | 40007c: 00000006 udf #0x6 |
| 34 | ... |
| 35 | 400088: 10000000 adr x0, 0x400088 <PT_LOAD#0+0x88> |
| 36 | 40008c: 00000000 udf #0x0 |
| 37 | 400090: 10000000 adr x0, 0x400090 <PT_LOAD#0+0x90> |
| 38 | ... |
| 39 | 4000a0: 008010d0 <unknown> |
| 40 | 4000a4: 00000000 udf #0x0 |
| 41 | 4000a8: 00001000 udf #0x1000 |
| 42 | 4000ac: 00000000 udf #0x0 |
| 43 | 4000b0: 14000108 b 0x4004d0 <PT_LOAD#0+0x4d0> |
| 44 | 4000b4: d10043ff sub sp, sp, #0x10 |
| 45 | 4000b8: eb3c63ff cmp sp, x28 |
| 46 | 4000bc: 54002063 b.lo 0x4004c8 <PT_LOAD#0+0x4c8> |
| 47 | 4000c0: f90003e0 str x0, [sp] |
| 48 | 4000c4: f90007fe str x30, [sp, #0x8] |
| 49 | 4000c8: d2a00401 mov x1, #0x200000 // =2097152 |
| 50 | 4000cc: f100003f cmp x1, #0x0 |
| 51 | 4000d0: 54001f80 b.eq 0x4004c0 <PT_LOAD#0+0x4c0> |
| 52 | 4000d4: 92800004 mov x4, #-0x1 // =-1 |
| 53 | 4000d8: d2800005 mov x5, #0x0 // =0 |
| 54 | 4000dc: d281ffef mov x15, #0xfff // =4095 |
| 55 | 4000e0: 8a0f002e and x14, x1, x15 |
| 56 | 4000e4: f10001df cmp x14, #0x0 |
| 57 | 4000e8: 54001ec1 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 58 | 4000ec: d2a0040f mov x15, #0x200000 // =2097152 |
| 59 | 4000f0: ab0f0021 adds x1, x1, x15 |
| 60 | 4000f4: 54001e62 b.hs 0x4004c0 <PT_LOAD#0+0x4c0> |
| 61 | 4000f8: d2801a09 mov x9, #0xd0 // =208 |
| 62 | 4000fc: f2a21009 movk x9, #0x1080, lsl #16 |
| 63 | 400100: d280002a mov x10, #0x1 // =1 |
| 64 | 400104: f940012b ldr x11, [x9] |
| 65 | 400108: f100017f cmp x11, #0x0 |
| 66 | 40010c: 54000101 b.ne 0x40012c <PT_LOAD#0+0x12c> |
| 67 | 400110: f940092b ldr x11, [x9, #0x10] |
| 68 | 400114: d29fffef mov x15, #0xffff // =65535 |
| 69 | 400118: f2bfffef movk x15, #0xffff, lsl #16 |
| 70 | 40011c: f2dfffef movk x15, #0xffff, lsl #32 |
| 71 | 400120: f2e00fef movk x15, #0x7f, lsl #48 |
| 72 | 400124: eb0f017f cmp x11, x15 |
| 73 | 400128: 540000e3 b.lo 0x400144 <PT_LOAD#0+0x144> |
| 74 | 40012c: 91008129 add x9, x9, #0x20 |
| 75 | 400130: 9100054a add x10, x10, #0x1 |
| 76 | 400134: f102015f cmp x10, #0x80 |
| 77 | 400138: 54fffe69 b.ls 0x400104 <PT_LOAD#0+0x104> |
| 78 | 40013c: 928002e0 mov x0, #-0x18 // =-24 |
| 79 | 400140: 14000032 b 0x400208 <PT_LOAD#0+0x208> |
| 80 | 400144: d2800000 mov x0, #0x0 // =0 |
| 81 | 400148: d2800002 mov x2, #0x0 // =0 |
| 82 | 40014c: d2800443 mov x3, #0x22 // =34 |
| 83 | 400150: d2801bc8 mov x8, #0xde // =222 |
| 84 | 400154: d4000001 svc #0 |
| 85 | 400158: f100001f cmp x0, #0x0 |
| 86 | 40015c: 5400056b b.lt 0x400208 <PT_LOAD#0+0x208> |
| 87 | 400160: d2a0040f mov x15, #0x200000 // =2097152 |
| 88 | 400164: cb0f0021 sub x1, x1, x15 |
| 89 | 400168: d29fffef mov x15, #0xffff // =65535 |
| 90 | 40016c: f2a003ef movk x15, #0x1f, lsl #16 |
| 91 | 400170: 8b0f0002 add x2, x0, x15 |
| 92 | 400174: 929fffef mov x15, #-0x10000 // =-65536 |
| 93 | 400178: f2bffc0f movk x15, #0xffe0, lsl #16 |
| 94 | 40017c: 8a0f0042 and x2, x2, x15 |
| 95 | 400180: cb000043 sub x3, x2, x0 |
| 96 | 400184: d10083ff sub sp, sp, #0x20 |
| 97 | 400188: f90003e1 str x1, [sp] |
| 98 | 40018c: f90007e2 str x2, [sp, #0x8] |
| 99 | 400190: f9000be3 str x3, [sp, #0x10] |
| 100 | 400194: f100007f cmp x3, #0x0 |
| 101 | 400198: 540000c0 b.eq 0x4001b0 <PT_LOAD#0+0x1b0> |
| 102 | 40019c: aa0303e1 mov x1, x3 |
| 103 | 4001a0: d2801ae8 mov x8, #0xd7 // =215 |
| 104 | 4001a4: d4000001 svc #0 |
| 105 | 4001a8: f100001f cmp x0, #0x0 |
| 106 | 4001ac: 540018a1 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 107 | 4001b0: f94007e0 ldr x0, [sp, #0x8] |
| 108 | 4001b4: f94003e1 ldr x1, [sp] |
| 109 | 4001b8: 8b010000 add x0, x0, x1 |
| 110 | 4001bc: f9400be2 ldr x2, [sp, #0x10] |
| 111 | 4001c0: d2a00401 mov x1, #0x200000 // =2097152 |
| 112 | 4001c4: cb020021 sub x1, x1, x2 |
| 113 | 4001c8: d2801ae8 mov x8, #0xd7 // =215 |
| 114 | 4001cc: d4000001 svc #0 |
| 115 | 4001d0: f100001f cmp x0, #0x0 |
| 116 | 4001d4: 54001761 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 117 | 4001d8: f94007e0 ldr x0, [sp, #0x8] |
| 118 | 4001dc: f94003e1 ldr x1, [sp] |
| 119 | 4001e0: 910083ff add sp, sp, #0x20 |
| 120 | 4001e4: f9000120 str x0, [x9] |
| 121 | 4001e8: f9000521 str x1, [x9, #0x8] |
| 122 | 4001ec: 9100056b add x11, x11, #0x1 |
| 123 | 4001f0: f900092b str x11, [x9, #0x10] |
| 124 | 4001f4: d280000f mov x15, #0x0 // =0 |
| 125 | 4001f8: f9000d2f str x15, [x9, #0x18] |
| 126 | 4001fc: d280010f mov x15, #0x8 // =8 |
| 127 | 400200: 9acf2160 lsl x0, x11, x15 |
| 128 | 400204: aa0a0000 orr x0, x0, x10 |
| 129 | 400208: f94007fe ldr x30, [sp, #0x8] |
| 130 | 40020c: 910043ff add sp, sp, #0x10 |
| 131 | 400210: d2800001 mov x1, #0x0 // =0 |
| 132 | 400214: d2800102 mov x2, #0x8 // =8 |
| 133 | 400218: d2a21003 mov x3, #0x10800000 // =276824064 |
| 134 | 40021c: 38226861 strb w1, [x3, x2] |
| 135 | 400220: d2800201 mov x1, #0x10 // =16 |
| 136 | 400224: d2800122 mov x2, #0x9 // =9 |
| 137 | 400228: d2a21003 mov x3, #0x10800000 // =276824064 |
| 138 | 40022c: 38226861 strb w1, [x3, x2] |
| 139 | 400230: d2800001 mov x1, #0x0 // =0 |
| 140 | 400234: d2800142 mov x2, #0xa // =10 |
| 141 | 400238: d2a21003 mov x3, #0x10800000 // =276824064 |
| 142 | 40023c: 38226861 strb w1, [x3, x2] |
| 143 | 400240: d2800001 mov x1, #0x0 // =0 |
| 144 | 400244: d2800162 mov x2, #0xb // =11 |
| 145 | 400248: d2a21003 mov x3, #0x10800000 // =276824064 |
| 146 | 40024c: 38226861 strb w1, [x3, x2] |
| 147 | 400250: d2800001 mov x1, #0x0 // =0 |
| 148 | 400254: d2800182 mov x2, #0xc // =12 |
| 149 | 400258: d2a21003 mov x3, #0x10800000 // =276824064 |
| 150 | 40025c: 38226861 strb w1, [x3, x2] |
| 151 | 400260: d2800001 mov x1, #0x0 // =0 |
| 152 | 400264: d28001a2 mov x2, #0xd // =13 |
| 153 | 400268: d2a21003 mov x3, #0x10800000 // =276824064 |
| 154 | 40026c: 38226861 strb w1, [x3, x2] |
| 155 | 400270: d2800001 mov x1, #0x0 // =0 |
| 156 | 400274: d28001c2 mov x2, #0xe // =14 |
| 157 | 400278: d2a21003 mov x3, #0x10800000 // =276824064 |
| 158 | 40027c: 38226861 strb w1, [x3, x2] |
| 159 | 400280: d2800001 mov x1, #0x0 // =0 |
| 160 | 400284: d28001e2 mov x2, #0xf // =15 |
| 161 | 400288: d2a21003 mov x3, #0x10800000 // =276824064 |
| 162 | 40028c: 38226861 strb w1, [x3, x2] |
| 163 | 400290: d2800041 mov x1, #0x2 // =2 |
| 164 | 400294: d2800482 mov x2, #0x24 // =36 |
| 165 | 400298: d2a21003 mov x3, #0x10800000 // =276824064 |
| 166 | 40029c: 38226861 strb w1, [x3, x2] |
| 167 | 4002a0: d2800001 mov x1, #0x0 // =0 |
| 168 | 4002a4: d28004a2 mov x2, #0x25 // =37 |
| 169 | 4002a8: d2a21003 mov x3, #0x10800000 // =276824064 |
| 170 | 4002ac: 38226861 strb w1, [x3, x2] |
| 171 | 4002b0: d2800001 mov x1, #0x0 // =0 |
| 172 | 4002b4: d28004c2 mov x2, #0x26 // =38 |
| 173 | 4002b8: d2a21003 mov x3, #0x10800000 // =276824064 |
| 174 | 4002bc: 38226861 strb w1, [x3, x2] |
| 175 | 4002c0: d2800001 mov x1, #0x0 // =0 |
| 176 | 4002c4: d28004e2 mov x2, #0x27 // =39 |
| 177 | 4002c8: d2a21003 mov x3, #0x10800000 // =276824064 |
| 178 | 4002cc: 38226861 strb w1, [x3, x2] |
| 179 | 4002d0: d2800022 mov x2, #0x1 // =1 |
| 180 | 4002d4: cb0203e3 neg x3, x2 |
| 181 | 4002d8: eb23c07f cmp x3, w3, sxtw |
| 182 | 4002dc: 54000ee1 b.ne 0x4004b8 <PT_LOAD#0+0x4b8> |
| 183 | 4002e0: d2800004 mov x4, #0x0 // =0 |
| 184 | 4002e4: d2800505 mov x5, #0x28 // =40 |
| 185 | 4002e8: d2800b06 mov x6, #0x58 // =88 |
| 186 | 4002ec: eb0600bf cmp x5, x6 |
| 187 | 4002f0: 54000e88 b.hi 0x4004c0 <PT_LOAD#0+0x4c0> |
| 188 | 4002f4: cb0500c6 sub x6, x6, x5 |
| 189 | 4002f8: eb06009f cmp x4, x6 |
| 190 | 4002fc: 54000e28 b.hi 0x4004c0 <PT_LOAD#0+0x4c0> |
| 191 | 400300: d10103ff sub sp, sp, #0x40 |
| 192 | 400304: eb3c63ff cmp sp, x28 |
| 193 | 400308: 54000e03 b.lo 0x4004c8 <PT_LOAD#0+0x4c8> |
| 194 | 40030c: f90003e0 str x0, [sp] |
| 195 | 400310: f90007e1 str x1, [sp, #0x8] |
| 196 | 400314: f9000be2 str x2, [sp, #0x10] |
| 197 | 400318: f9000fe3 str x3, [sp, #0x18] |
| 198 | 40031c: f90013e4 str x4, [sp, #0x20] |
| 199 | 400320: f90017e5 str x5, [sp, #0x28] |
| 200 | 400324: f9001be6 str x6, [sp, #0x30] |
| 201 | 400328: f9001ffe str x30, [sp, #0x38] |
| 202 | 40032c: f94017e0 ldr x0, [sp, #0x28] |
| 203 | 400330: d2800510 mov x16, #0x28 // =40 |
| 204 | 400334: eb10001f cmp x0, x16 |
| 205 | 400338: 54000c41 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 206 | 40033c: d2a21003 mov x3, #0x10800000 // =276824064 |
| 207 | 400340: f94013f0 ldr x16, [sp, #0x20] |
| 208 | 400344: 8b100063 add x3, x3, x16 |
| 209 | 400348: 910003e6 mov x6, sp |
| 210 | 40034c: d10383ff sub sp, sp, #0xe0 |
| 211 | 400350: eb3c63ff cmp sp, x28 |
| 212 | 400354: 54000ba3 b.lo 0x4004c8 <PT_LOAD#0+0x4c8> |
| 213 | 400358: f9001be3 str x3, [sp, #0x30] |
| 214 | 40035c: f9400060 ldr x0, [x3] |
| 215 | 400360: f90003e0 str x0, [sp] |
| 216 | 400364: f9400460 ldr x0, [x3, #0x8] |
| 217 | 400368: f90007e0 str x0, [sp, #0x8] |
| 218 | 40036c: f9400860 ldr x0, [x3, #0x10] |
| 219 | 400370: f9000be0 str x0, [sp, #0x10] |
| 220 | 400374: f9400c60 ldr x0, [x3, #0x18] |
| 221 | 400378: f9000fe0 str x0, [sp, #0x18] |
| 222 | 40037c: f9401060 ldr x0, [x3, #0x20] |
| 223 | 400380: f90013e0 str x0, [sp, #0x20] |
| 224 | 400384: b94027e0 ldr w0, [sp, #0x24] |
| 225 | 400388: d2800090 mov x16, #0x4 // =4 |
| 226 | 40038c: 8a100000 and x0, x0, x16 |
| 227 | 400390: d2800010 mov x16, #0x0 // =0 |
| 228 | 400394: eb10001f cmp x0, x16 |
| 229 | 400398: 54000941 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 230 | 40039c: f94003e0 ldr x0, [sp] |
| 231 | 4003a0: d2800010 mov x16, #0x0 // =0 |
| 232 | 4003a4: eb10001f cmp x0, x16 |
| 233 | 4003a8: 540008c1 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 234 | 4003ac: f94007e0 ldr x0, [sp, #0x8] |
| 235 | 4003b0: f9001fe0 str x0, [sp, #0x38] |
| 236 | 4003b4: f94000ca ldr x10, [x6] |
| 237 | 4003b8: f100015f cmp x10, #0x0 |
| 238 | 4003bc: d2801fef mov x15, #0xff // =255 |
| 239 | 4003c0: 8a0f014b and x11, x10, x15 |
| 240 | 4003c4: f100057f cmp x11, #0x1 |
| 241 | 4003c8: 540007c3 b.lo 0x4004c0 <PT_LOAD#0+0x4c0> |
| 242 | 4003cc: f102017f cmp x11, #0x80 |
| 243 | 4003d0: 54000788 b.hi 0x4004c0 <PT_LOAD#0+0x4c0> |
| 244 | 4003d4: d100056b sub x11, x11, #0x1 |
| 245 | 4003d8: d280040f mov x15, #0x20 // =32 |
| 246 | 4003dc: 9b0f7d6b mul x11, x11, x15 |
| 247 | 4003e0: d2801a0f mov x15, #0xd0 // =208 |
| 248 | 4003e4: f2a2100f movk x15, #0x1080, lsl #16 |
| 249 | 4003e8: 8b0f016b add x11, x11, x15 |
| 250 | 4003ec: f940096e ldr x14, [x11, #0x10] |
| 251 | 4003f0: f10001df cmp x14, #0x0 |
| 252 | 4003f4: 54000660 b.eq 0x4004c0 <PT_LOAD#0+0x4c0> |
| 253 | 4003f8: d280010f mov x15, #0x8 // =8 |
| 254 | 4003fc: 9acf254a lsr x10, x10, x15 |
| 255 | 400400: eb0e015f cmp x10, x14 |
| 256 | 400404: 540005e1 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 257 | 400408: f940016d ldr x13, [x11] |
| 258 | 40040c: f10001bf cmp x13, #0x0 |
| 259 | 400410: 54000580 b.eq 0x4004c0 <PT_LOAD#0+0x4c0> |
| 260 | 400414: f940056c ldr x12, [x11, #0x8] |
| 261 | 400418: f9400d60 ldr x0, [x11, #0x18] |
| 262 | 40041c: d2800010 mov x16, #0x0 // =0 |
| 263 | 400420: eb10001f cmp x0, x16 |
| 264 | 400424: 540004e1 b.ne 0x4004c0 <PT_LOAD#0+0x4c0> |
| 265 | 400428: f9401fe0 ldr x0, [sp, #0x38] |
| 266 | 40042c: eb0c001f cmp x0, x12 |
| 267 | 400430: 54000488 b.hi 0x4004c0 <PT_LOAD#0+0x4c0> |
| 268 | 400434: f90003ed str x13, [sp] |
| 269 | 400438: f9400cc0 ldr x0, [x6, #0x18] |
| 270 | 40043c: d28962c1 mov x1, #0x4b16 // =19222 |
| 271 | 400440: f2b80501 movk x1, #0xc028, lsl #16 |
| 272 | 400444: 910003e2 mov x2, sp |
| 273 | 400448: d28003a8 mov x8, #0x1d // =29 |
| 274 | 40044c: d4000001 svc #0 |
| 275 | 400450: f9401be3 ldr x3, [sp, #0x30] |
| 276 | 400454: f94007e1 ldr x1, [sp, #0x8] |
| 277 | 400458: f9000461 str x1, [x3, #0x8] |
| 278 | 40045c: f9400be1 ldr x1, [sp, #0x10] |
| 279 | 400460: f9000861 str x1, [x3, #0x10] |
| 280 | 400464: f9400fe1 ldr x1, [sp, #0x18] |
| 281 | 400468: f9000c61 str x1, [x3, #0x18] |
| 282 | 40046c: f94013e1 ldr x1, [sp, #0x20] |
| 283 | 400470: f9001061 str x1, [x3, #0x20] |
| 284 | 400474: 910383ff add sp, sp, #0xe0 |
| 285 | 400478: aa0003e1 mov x1, x0 |
| 286 | 40047c: f94003e0 ldr x0, [sp] |
| 287 | 400480: f9401ffe ldr x30, [sp, #0x38] |
| 288 | 400484: 910103ff add sp, sp, #0x40 |
| 289 | 400488: d2800122 mov x2, #0x9 // =9 |
| 290 | 40048c: eb0203e3 negs x3, x2 |
| 291 | 400490: 54000146 b.vs 0x4004b8 <PT_LOAD#0+0x4b8> |
| 292 | 400494: eb03003f cmp x1, x3 |
| 293 | 400498: 54000060 b.eq 0x4004a4 <PT_LOAD#0+0x4a4> |
| 294 | 40049c: d2800a00 mov x0, #0x50 // =80 |
| 295 | 4004a0: d65f03c0 ret |
| 296 | 4004a4: d2800000 mov x0, #0x0 // =0 |
| 297 | 4004a8: d65f03c0 ret |
| 298 | 4004ac: 91019020 add x0, x1, #0x64 |
| 299 | 4004b0: d2800ba8 mov x8, #0x5d // =93 |
| 300 | 4004b4: d4000001 svc #0 |
| 301 | 4004b8: d2800021 mov x1, #0x1 // =1 |
| 302 | 4004bc: 17fffffc b 0x4004ac <PT_LOAD#0+0x4ac> |
| 303 | 4004c0: d2800061 mov x1, #0x3 // =3 |
| 304 | 4004c4: 17fffffa b 0x4004ac <PT_LOAD#0+0x4ac> |
| 305 | 4004c8: d28000c1 mov x1, #0x6 // =6 |
| 306 | 4004cc: 17fffff8 b 0x4004ac <PT_LOAD#0+0x4ac> |
| 307 | 4004d0: d2a2001c mov x28, #0x10000000 // =268435456 |
| 308 | 4004d4: d2a21010 mov x16, #0x10800000 // =276824064 |
| 309 | 4004d8: 9100021f mov sp, x16 |
| 310 | 4004dc: 97fffef6 bl 0x4000b4 <PT_LOAD#0+0xb4> |
| 311 | 4004e0: d2800ba8 mov x8, #0x5d // =93 |
| 312 | 4004e4: d4000001 svc #0 |