Skip to content

Instantly share code, notes, and snippets.

@lights0123
Last active February 1, 2019 21:45
Show Gist options
  • Save lights0123/ecc6c2d24adb9c5d1175835974101ce2 to your computer and use it in GitHub Desktop.
Save lights0123/ecc6c2d24adb9c5d1175835974101ce2 to your computer and use it in GitHub Desktop.
format:
.Lfunc_begin63:
.loc 20 28 0 is_stmt 1
.fnstart
.cfi_startproc
.save {r4, r5, r6, r7, r8, r9, r11, lr}
push {r4, r5, r6, r7, r8, r9, r11, lr}
.cfi_def_cfa_offset 32
.cfi_offset lr, -4
.cfi_offset r11, -8
.cfi_offset r9, -12
.cfi_offset r8, -16
.cfi_offset r7, -20
.cfi_offset r6, -24
.cfi_offset r5, -28
.cfi_offset r4, -32
.pad #40
sub sp, sp, #40
.cfi_def_cfa_offset 72
mov r2, r1
mov r3, r0
str r1, [sp, #12]
.Ltmp320:
.loc 20 29 1 prologue_end
ldr r1, [sp, #12]
add r12, sp, #16
.loc 20 29 15 is_stmt 0
mov lr, r12
ldm r0, {r4, r5, r6, r7, r8, r9}
stm lr, {r4, r5, r6, r7, r8, r9}
.loc 20 29 1
mov r0, r1
.Ltmp321:
mov r1, r12
str r2, [sp, #8]
str r3, [sp, #4]
bl _ZN4core3fmt5Write9write_fmt17h83f6b39be9fccb52E
str r0, [sp]
b .LBB63_1
.LBB63_1:
.loc 20 30 1 is_stmt 1
add sp, sp, #40
pop {r4, r5, r6, r7, r8, r9, r11, pc}
.Ltmp322:
.Lfunc_end63:
.size format, .Lfunc_end63-format
.cfi_endproc
.fnend
.section .text.main,"ax",%progbits
.globl main
.p2align 2
.type main,%function
.code 32
main:
.Lfunc_begin64:
.loc 20 32 0
.fnstart
.cfi_startproc
.save {r11, lr}
push {r11, lr}
.cfi_def_cfa_offset 8
.cfi_offset lr, -4
.cfi_offset r11, -8
.pad #104
sub sp, sp, #104
.cfi_def_cfa_offset 112
mov r0, #0
.Ltmp334:
.loc 20 34 13 prologue_end
str r0, [sp, #28]
str r0, [sp, #32]
mov r0, #240
str r0, [sp, #36]
mov r0, #250
str r0, [sp, #40]
add r0, sp, #44
.Ltmp335:
.loc 20 40 13
bl _ZN5alloc6string6String3new17hc47dcd31fcc2ae45E
b .LBB64_2
.Ltmp336:
.LBB64_1:
.loc 20 32 0
ldr r0, [sp, #96]
bl _Unwind_Resume
.inst 0xe7ffdefe
.LBB64_2:
.Ltmp323:
.Ltmp337:
.loc 20 41 1
ldr r0, .LCPI64_0
.LPC64_0:
add r0, pc, r0
mov r1, #3
str r0, [sp, #24]
str r1, [sp, #20]
ldr r2, [sp, #24]
ldr r3, [sp, #20]
bl _ZN6nspire8bindings3msg3msg17h0bdbf95668ba4530E
.Ltmp324:
b .LBB64_3
.LBB64_3:
.loc 20 0 1 is_stmt 0
add r0, sp, #28
.loc 20 42 27 is_stmt 1
add r0, r0, #8
.loc 20 42 8 is_stmt 0
str r0, [sp, #88]
ldr r0, [sp, #88]
str r0, [sp, #92]
.Ltmp338:
.loc 20 42 8
ldr r0, [sp, #92]
.Ltmp325:
ldr r1, .LCPI64_1
.LPC64_1:
ldr r1, [pc, r1]
bl _ZN4core3fmt10ArgumentV13new17h4af9b34cd96932c0E
.Ltmp326:
str r1, [sp, #16]
str r0, [sp, #12]
b .LBB64_5
.Ltmp339:
.LBB64_4:
.loc 20 0 8
add r0, sp, #44
.loc 20 44 0 is_stmt 1
bl _ZN4core3ptr18real_drop_in_place17hcdcec8e716a73fc0E
b .LBB64_1
.LBB64_5:
.Ltmp340:
.loc 20 42 8
ldr r0, [sp, #12]
str r0, [sp, #80]
ldr r1, [sp, #16]
str r1, [sp, #84]
.Ltmp341:
.Ltmp327:
.loc 20 42 8 is_stmt 0
mov r2, sp
mov r3, #1
str r3, [r2]
ldr r1, .LCPI64_2
.LPC64_2:
add r1, pc, r1
add r0, sp, #56
add r2, sp, #80
str r2, [sp, #8]
mov r2, r3
ldr r3, [sp, #8]
bl _ZN4core3fmt9Arguments6new_v117h20c685e61d7ba3ceE
.Ltmp328:
b .LBB64_6
.LBB64_6:
.Ltmp329:
.loc 20 0 8
add r0, sp, #56
add r1, sp, #44
.loc 20 42 1
bl format
.Ltmp330:
b .LBB64_7
.LBB64_7:
.Ltmp331:
.loc 20 43 1 is_stmt 1
ldr r0, .LCPI64_3
.LPC64_3:
add r0, pc, r0
ldr r2, .LCPI64_4
.LPC64_4:
add r2, pc, r2
mov r1, #3
mov r3, #4
bl _ZN6nspire8bindings3msg3msg17h0bdbf95668ba4530E
.Ltmp332:
b .LBB64_8
.Ltmp342:
.LBB64_8:
.loc 20 0 1 is_stmt 0
add r0, sp, #44
.loc 20 44 0 is_stmt 1
bl _ZN4core3ptr18real_drop_in_place17hcdcec8e716a73fc0E
b .LBB64_9
.Ltmp343:
.LBB64_9:
.loc 20 44 1 is_stmt 0
add sp, sp, #104
pop {r11, pc}
.Ltmp344:
.LBB64_10:
.Ltmp333:
.loc 20 0 1
str r0, [sp, #96]
str r1, [sp, #100]
b .LBB64_4
.p2align 2
.LCPI64_0:
.long .L__unnamed_13-(.LPC64_0+8)
.LCPI64_1:
.Ltmp345:
.long _ZN4core3fmt3num52_$LT$impl$u20$core..fmt..Display$u20$for$u20$u32$GT$3fmt17h21163d4984c84005E(GOT_PREL)-((.LPC64_1+8)-.Ltmp345)
.LCPI64_2:
.long .L__unnamed_11-(.LPC64_2+8)
.LCPI64_3:
.long .L__unnamed_13-(.LPC64_3+8)
.LCPI64_4:
.long .L__unnamed_14-(.LPC64_4+8)
.Lfunc_end64:
.size main, .Lfunc_end64-main
.cfi_endproc
.globl rust_eh_personality
.personality rust_eh_personality
.handlerdata
.p2align 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment