Dataset Viewer
Auto-converted to Parquet
files
stringlengths
20
22
arm_O2
stringlengths
589
3.73k
arm_O0
stringlengths
763
6.5k
eval/problem145/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 216 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, lr} ldrb r3, [r0] @ zero_extendqisi2 ldr r2, .L22 sub sp, sp, #220 cmp r3, #47 mov r6, r0 mov r5, r1 ldr r2, [r2] str r2, [sp, #212] mov r2,#0 beq .L11 mov r2, r0 add r1, sp, #3 rsb ip, r0, #1 .L3: strb r3, [r1, #1]! add r0, ip, r2 ldrb r3, [r2, #1]! @ zero_extendqisi2 cmp r3, #47 bne .L3 add r7, r0, #1 mov r8, r7 .L2: mov r1, #0 add r3, sp, #216 add r3, r3, r0 mov r2, #10 add r0, sp, #4 strb r1, [r3, #-212] bl strtol ldrb r2, [r6, r8] @ zero_extendqisi2 mov r4, r0 cmp r2, #0 beq .L12 add r3, r7, #1 add r3, r6, r3 add r0, r6, r7 add r1, sp, #107 .L5: strb r2, [r1, #1]! sub ip, r3, r0 ldrb r2, [r3], #1 @ zero_extendqisi2 cmp r2, #0 bne .L5 .L4: mov r7, #0 add r3, sp, #216 add ip, r3, ip mov r1, r7 mov r2, #10 add r0, sp, #108 strb r7, [ip, #-108] bl strtol ldrb r3, [r5] @ zero_extendqisi2 mov r6, r0 cmp r3, #47 beq .L13 mov r2, r5 add r0, sp, #3 rsb r1, r5, #1 .L7: strb r3, [r0, #1]! add ip, r1, r2 ldrb r3, [r2, #1]! @ zero_extendqisi2 cmp r3, #47 bne .L7 add r8, ip, #1 mov r9, r8 .L6: mov r1, #0 add r3, sp, #216 mov r2, #10 add ip, r3, ip add r0, sp, #4 strb r1, [ip, #-212] bl strtol ldrb r2, [r5, r9] @ zero_extendqisi2 mov r7, r0 cmp r2, #0 beq .L14 add r3, r8, #1 add r3, r5, r3 add ip, sp, #107 add r5, r5, r8 .L9: strb r2, [ip, #1]! sub r0, r3, r5 ldrb r2, [r3], #1 @ zero_extendqisi2 cmp r2, #0 bne .L9 .L8: mov r1, #0 add r3, sp, #216 add r3, r3, r0 mov r2, #10 add r0, sp, #108 strb r1, [r3, #-108] bl strtol mov r1, r0 mul r0, r7, r4 mul r1, r6, r1 bl __aeabi_idivmod ldr r3, .L22 clz r0, r1 ldr r2, [r3] ldr r3, [sp, #212] eors r2, r3, r2 mov r3, #0 lsr r0, r0, #5 bne .L21 add sp, sp, #220 @ sp needed pop {r4, r5, r6, r7, r8, r9, pc} .L11: mov r8, #1 mov r0, #0 mov r7, r8 b .L2 .L12: mov ip, r2 b .L4 .L13: mov r9, #1 mov ip, r7 mov r8, r9 b .L6 .L14: mov r0, r2 b .L8 .L21: bl __stack_chk_fail .L23: .align 2 .L22: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .section .rodata .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 248 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #248 str r0, [fp, #-248] str r1, [fp, #-252] ldr r3, .L14 ldr r3, [r3] str r3, [fp, #-8] mov r3,#0 mov r3, #0 str r3, [fp, #-240] b .L2 .L3: ldr r3, [fp, #-240] ldr r2, [fp, #-248] add r3, r2, r3 ldrb r1, [r3] @ zero_extendqisi2 sub r2, fp, #216 ldr r3, [fp, #-240] add r3, r2, r3 mov r2, r1 strb r2, [r3] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] .L2: ldr r3, [fp, #-240] ldr r2, [fp, #-248] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #47 bne .L3 sub r2, fp, #216 ldr r3, [fp, #-240] add r3, r2, r3 mov r2, #0 strb r2, [r3] sub r3, fp, #216 mov r0, r3 bl atoi str r0, [fp, #-232] mov r3, #0 str r3, [fp, #-236] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] b .L4 .L5: ldr r3, [fp, #-240] ldr r2, [fp, #-248] add r3, r2, r3 ldrb r1, [r3] @ zero_extendqisi2 sub r2, fp, #112 ldr r3, [fp, #-236] add r3, r2, r3 mov r2, r1 strb r2, [r3] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] ldr r3, [fp, #-236] add r3, r3, #1 str r3, [fp, #-236] .L4: ldr r3, [fp, #-240] ldr r2, [fp, #-248] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L5 sub r2, fp, #112 ldr r3, [fp, #-236] add r3, r2, r3 mov r2, #0 strb r2, [r3] sub r3, fp, #112 mov r0, r3 bl atoi str r0, [fp, #-228] mov r3, #0 str r3, [fp, #-240] b .L6 .L7: ldr r3, [fp, #-240] ldr r2, [fp, #-252] add r3, r2, r3 ldrb r1, [r3] @ zero_extendqisi2 sub r2, fp, #216 ldr r3, [fp, #-240] add r3, r2, r3 mov r2, r1 strb r2, [r3] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] .L6: ldr r3, [fp, #-240] ldr r2, [fp, #-252] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #47 bne .L7 sub r2, fp, #216 ldr r3, [fp, #-240] add r3, r2, r3 mov r2, #0 strb r2, [r3] sub r3, fp, #216 mov r0, r3 bl atoi str r0, [fp, #-224] mov r3, #0 str r3, [fp, #-236] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] b .L8 .L9: ldr r3, [fp, #-240] ldr r2, [fp, #-252] add r3, r2, r3 ldrb r1, [r3] @ zero_extendqisi2 sub r2, fp, #112 ldr r3, [fp, #-236] add r3, r2, r3 mov r2, r1 strb r2, [r3] ldr r3, [fp, #-240] add r3, r3, #1 str r3, [fp, #-240] ldr r3, [fp, #-236] add r3, r3, #1 str r3, [fp, #-236] .L8: ldr r3, [fp, #-240] ldr r2, [fp, #-252] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L9 sub r2, fp, #112 ldr r3, [fp, #-236] add r3, r2, r3 mov r2, #0 strb r2, [r3] sub r3, fp, #112 mov r0, r3 bl atoi str r0, [fp, #-220] ldr r3, [fp, #-232] ldr r2, [fp, #-224] mul r0, r2, r3 ldr r3, [fp, #-228] ldr r2, [fp, #-220] mul r3, r2, r3 mov r1, r3 bl __aeabi_idivmod mov r3, r1 cmp r3, #0 bne .L10 mov r3, #1 b .L12 .L10: mov r3, #0 .L12: ldr r2, .L14 ldr r1, [r2] ldr r2, [fp, #-8] eors r1, r2, r1 mov r2, #0 beq .L13 bl __stack_chk_fail .L13: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L15: .align 2 .L14: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem44/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 ble .L5 push {r4, lr} mov r4, #0 sub lr, r0, #4 .L4: add r4, r4, #1 cmp r1, r4 beq .L6 ldr ip, [lr, #4]! mov r3, r4 mov r2, lr b .L3 .L14: cmp r1, r3 beq .L4 .L3: ldr r0, [r2, #4]! add r3, r3, #1 cmn ip, r0 bne .L14 mov r0, #1 pop {r4, pc} .L6: mov r0, #0 pop {r4, pc} .L5: mov r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mov r3, #0 str r3, [fp, #-12] b .L2 .L7: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-8] b .L3 .L6: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r1, [fp, #-16] add r3, r1, r3 ldr r3, [r3] add r3, r2, r3 cmp r3, #0 bne .L4 mov r3, #1 b .L5 .L4: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L3: ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 blt .L6 ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-20] cmp r2, r3 blt .L7 mov r3, #0 .L5: mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem55/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r8, r1 mov r6, r0 bl strlen mov r5, r0 mov r0, r8 bl strlen cmp r5, #0 subne r4, r6, #1 subne r1, r8, #1 addne r9, r4, r5 addne lr, r1, r0 beq .L26 .L11: cmp r0, #0 popeq {r4, r5, r6, r7, r8, r9, r10, pc} mov r7, r1 mov r3, r1 ldrb ip, [r4, #1]! @ zero_extendqisi2 b .L5 .L27: cmp r3, lr beq .L23 .L5: ldrb r2, [r3, #1]! @ zero_extendqisi2 cmp r2, ip bne .L27 cmp r4, r9 bne .L11 .L12: mov lr, r7 rsb r8, r8, #1 .L13: cmp r5, #0 beq .L23 sub r3, r6, #1 ldrb r1, [lr, #1]! @ zero_extendqisi2 add ip, r3, r5 b .L9 .L28: cmp r3, ip beq .L23 .L9: ldrb r2, [r3, #1]! @ zero_extendqisi2 cmp r2, r1 bne .L28 add r3, r8, lr cmp r0, r3 bgt .L13 .L24: mov r0, #1 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L23: mov r0, #0 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L26: cmp r0, #0 beq .L24 sub r7, r8, #1 b .L12 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 40 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #40 str r0, [fp, #-40] str r1, [fp, #-44] ldr r0, [fp, #-40] bl strlen mov r3, r0 str r3, [fp, #-12] ldr r0, [fp, #-44] bl strlen mov r3, r0 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-28] b .L2 .L9: mov r3, #0 strb r3, [fp, #-30] mov r3, #0 str r3, [fp, #-24] b .L3 .L6: ldr r3, [fp, #-28] ldr r2, [fp, #-40] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-24] ldr r1, [fp, #-44] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 bne .L4 mov r3, #1 strb r3, [fp, #-30] b .L5 .L4: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L3: ldr r2, [fp, #-24] ldr r3, [fp, #-8] cmp r2, r3 blt .L6 .L5: ldrb r3, [fp, #-30] eor r3, r3, #1 and r3, r3, #255 cmp r3, #0 beq .L7 mov r3, #0 b .L8 .L7: ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r2, [fp, #-28] ldr r3, [fp, #-12] cmp r2, r3 blt .L9 mov r3, #0 str r3, [fp, #-20] b .L10 .L16: mov r3, #0 strb r3, [fp, #-29] mov r3, #0 str r3, [fp, #-16] b .L11 .L14: ldr r3, [fp, #-20] ldr r2, [fp, #-44] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-16] ldr r1, [fp, #-40] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 bne .L12 mov r3, #1 strb r3, [fp, #-29] b .L13 .L12: ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L11: ldr r2, [fp, #-16] ldr r3, [fp, #-12] cmp r2, r3 blt .L14 .L13: ldrb r3, [fp, #-29] eor r3, r3, #1 and r3, r3, #255 cmp r3, #0 beq .L15 mov r3, #0 b .L8 .L15: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L10: ldr r2, [fp, #-20] ldr r3, [fp, #-8] cmp r2, r3 blt .L16 mov r3, #1 .L8: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem61/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. add r3, r0, #1 mul r0, r3, r0 add r0, r0, r0, lsr #31 asr r0, r0, #1 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #12 str r0, [fp, #-8] ldr r3, [fp, #-8] add r3, r3, #1 ldr r2, [fp, #-8] mul r3, r2, r3 lsr r2, r3, #31 add r3, r2, r3 asr r3, r3, #1 mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem10/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 ble .L10 push {r4, r5, r6, lr} lsl r5, r1, #2 mov r4, r0 mov r0, r5 bl malloc cmp r0, #0 beq .L2 ldr r3, [r4] mov ip, r4 mov r1, r3 sub lr, r5, #4 add lr, r0, lr sub r2, r0, #4 .L4: cmp r3, r1 movlt r3, r1 str r3, [r2, #4]! cmp r2, lr popeq {r4, r5, r6, pc} ldr r1, [ip, #4]! b .L4 .L2: mov r0, #0 pop {r4, r5, r6, pc} .L10: mov r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] str r1, [fp, #-28] ldr r3, [fp, #-28] cmp r3, #0 bgt .L2 mov r3, #0 b .L3 .L2: ldr r3, [fp, #-28] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-8] cmp r3, #0 bne .L4 mov r3, #0 b .L3 .L4: ldr r3, [fp, #-24] ldr r3, [r3] str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-12] b .L5 .L7: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-16] cmp r2, r3 bge .L6 ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-16] .L6: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-16] str r2, [r3] ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L5: ldr r2, [fp, #-12] ldr r3, [fp, #-28] cmp r2, r3 blt .L7 ldr r3, [fp, #-8] .L3: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem56/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 4008 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} sub sp, sp, #4000 sub sp, sp, #8 ldr r3, .L12 mov r4, r0 mov r2, #4000 mov r1, #0 add r0, sp, #4 ldr r3, [r3] str r3, [sp, #4004] mov r3,#0 bl memset mov r2, #1 cmp r4, r2 str r2, [sp, #8] lslle r4, r4, #2 ble .L2 mov ip, sp mov r1, #0 add ip, ip, r4, lsl #2 add r3, sp, #8 lsl r4, r4, #2 b .L3 .L10: ldr r1, [r3], #4 .L3: add r2, r2, r1 cmp r3, ip str r2, [r3, #4] bne .L10 .L2: add r3, sp, #4000 add r3, r3, #8 add r4, r3, r4 ldr r3, .L12 ldr r0, [r4, #-4004] ldr r2, [r3] ldr r3, [sp, #4004] eors r2, r3, r2 mov r3, #0 bne .L11 add sp, sp, #4000 add sp, sp, #8 @ sp needed pop {r4, pc} .L11: bl __stack_chk_fail .L13: .align 2 .L12: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 4016 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #4016 str r0, [fp, #-4016] ldr r3, .L6 ldr r3, [r3] str r3, [fp, #-8] mov r3,#0 sub r3, fp, #4000 sub r3, r3, #4 sub r3, r3, #4 mov r2, #4000 mov r1, #0 mov r0, r3 bl memset mov r3, #0 str r3, [fp, #-4008] mov r3, #1 str r3, [fp, #-4004] mov r3, #2 str r3, [fp, #-4012] b .L2 .L3: ldr r3, [fp, #-4012] sub r3, r3, #1 lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r2, [r3, #-4004] ldr r3, [fp, #-4012] sub r3, r3, #2 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-4004] add r2, r2, r3 ldr r3, [fp, #-4012] lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 str r2, [r3, #-4004] ldr r3, [fp, #-4012] add r3, r3, #1 str r3, [fp, #-4012] .L2: ldr r2, [fp, #-4012] ldr r3, [fp, #-4016] cmp r2, r3 ble .L3 ldr r3, [fp, #-4016] lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r3, [r3, #-4004] ldr r2, .L6 ldr r1, [r2] ldr r2, [fp, #-8] eors r1, r2, r1 mov r2, #0 beq .L5 bl __stack_chk_fail .L5: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L7: .align 2 .L6: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem11/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r9, r0 bl strlen mov r4, r0 lsl r0, r0, #1 add r0, r0, #1 bl malloc subs r8, r0, #0 beq .L1 cmp r4, #0 beq .L8 mov r5, #0 sub r7, r4, #1 sub r10, r9, #1 .L13: sub r0, r4, r5 add r0, r0, r0, lsr #31 cmp r5, r7 asr r0, r0, #1 beq .L6 add r6, r9, r4 mov ip, r6 add lr, r10, r5 b .L5 .L27: cmp r0, r3 ble .L6 .L5: ldrb r2, [ip, #-1]! @ zero_extendqisi2 ldrb r1, [lr, #1]! @ zero_extendqisi2 sub r3, r9, ip cmp r1, r2 add r3, r3, r4 beq .L27 add r5, r5, #1 cmp r4, r5 bne .L13 mov r2, r4 mov r1, r9 mov r0, r8 bl strncpy add r7, r8, r7 .L10: ldrb r3, [r6, #-1]! @ zero_extendqisi2 cmp r6, r9 strb r3, [r7, #1]! bne .L10 .L8: mov r3, #0 strb r3, [r8, r4, lsl #1] .L1: mov r0, r8 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L6: mov r2, r4 mov r1, r9 mov r0, r8 bl strncpy cmp r5, #0 addne r7, r8, r7 addne r3, r9, r5 beq .L12 .L7: ldrb r2, [r3, #-1]! @ zero_extendqisi2 cmp r9, r3 strb r2, [r7, #1]! bne .L7 .L12: mov r3, #0 add r4, r8, r4 mov r0, r8 strb r3, [r4, r5] pop {r4, r5, r6, r7, r8, r9, r10, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #32 str r0, [fp, #-32] ldr r0, [fp, #-32] bl strlen mov r3, r0 str r3, [fp, #-12] ldr r3, [fp, #-12] lsl r3, r3, #1 add r3, r3, #1 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-8] cmp r3, #0 bne .L2 mov r3, #0 b .L3 .L2: mov r3, #0 str r3, [fp, #-24] b .L4 .L12: mov r3, #1 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-20] b .L5 .L8: ldr r2, [fp, #-24] ldr r3, [fp, #-20] add r3, r2, r3 mov r2, r3 ldr r3, [fp, #-32] add r3, r3, r2 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-12] sub r1, r3, #1 ldr r3, [fp, #-20] sub r3, r1, r3 mov r1, r3 ldr r3, [fp, #-32] add r3, r3, r1 ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 beq .L6 mov r3, #0 str r3, [fp, #-16] b .L7 .L6: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L5: ldr r2, [fp, #-12] ldr r3, [fp, #-24] sub r3, r2, r3 lsr r2, r3, #31 add r3, r2, r3 asr r3, r3, #1 mov r2, r3 ldr r3, [fp, #-20] cmp r3, r2 blt .L8 .L7: ldr r3, [fp, #-16] cmp r3, #0 beq .L9 ldr r3, [fp, #-12] mov r2, r3 ldr r1, [fp, #-32] ldr r0, [fp, #-8] bl strncpy mov r3, #0 str r3, [fp, #-20] b .L10 .L11: ldr r2, [fp, #-24] ldr r3, [fp, #-20] sub r3, r2, r3 sub r3, r3, #1 ldr r2, [fp, #-32] add r2, r2, r3 ldr r1, [fp, #-12] ldr r3, [fp, #-20] add r3, r1, r3 mov r1, r3 ldr r3, [fp, #-8] add r3, r3, r1 ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L10: ldr r2, [fp, #-20] ldr r3, [fp, #-24] cmp r2, r3 blt .L11 ldr r2, [fp, #-12] ldr r3, [fp, #-24] add r3, r2, r3 mov r2, r3 ldr r3, [fp, #-8] add r3, r3, r2 mov r2, #0 strb r2, [r3] ldr r3, [fp, #-8] b .L3 .L9: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L4: ldr r2, [fp, #-24] ldr r3, [fp, #-12] cmp r2, r3 blt .L12 ldr r3, [fp, #-12] mov r2, r3 ldr r1, [fp, #-32] ldr r0, [fp, #-8] bl strncpy mov r3, #0 str r3, [fp, #-20] b .L13 .L14: ldr r2, [fp, #-12] ldr r3, [fp, #-20] sub r3, r2, r3 sub r3, r3, #1 ldr r2, [fp, #-32] add r2, r2, r3 ldr r1, [fp, #-12] ldr r3, [fp, #-20] add r3, r1, r3 mov r1, r3 ldr r3, [fp, #-8] add r3, r3, r1 ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L13: ldr r2, [fp, #-20] ldr r3, [fp, #-12] cmp r2, r3 blt .L14 ldr r3, [fp, #-12] lsl r3, r3, #1 mov r2, r3 ldr r3, [fp, #-8] add r3, r3, r2 mov r2, #0 strb r2, [r3] ldr r3, [fp, #-8] .L3: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem5/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_i2f .global __aeabi_fadd .global __aeabi_fsub .global __aeabi_fdiv .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r6, r1 mov r5, r0 mov r0, r1 bl __aeabi_i2f cmp r6, #0 mov r7, r0 ble .L6 sub r5, r5, #4 mov r4, r5 mov r3, #0 add r6, r5, r6, lsl #2 .L3: mov r0, r3 ldr r1, [r4, #4]! @ float bl __aeabi_fadd cmp r6, r4 mov r3, r0 bne .L3 mov r1, r7 bl __aeabi_fdiv mov r4, #0 mov r8, r0 .L5: mov r1, r8 ldr r0, [r5, #4]! @ float bl __aeabi_fsub bic r1, r0, #-2147483648 mov r0, r4 bl __aeabi_fadd cmp r6, r5 mov r4, r0 bne .L5 .L2: mov r1, r7 mov r0, r4 bl __aeabi_fdiv pop {r4, r5, r6, r7, r8, pc} .L6: mov r4, #0 b .L2 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fadd .global __aeabi_i2f .global __aeabi_fdiv .global __aeabi_fsub .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] str r1, [fp, #-28] mov r3, #0 str r3, [fp, #-20] @ float mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-12] b .L2 .L3: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] @ float mov r1, r3 ldr r0, [fp, #-20] @ float bl __aeabi_fadd mov r3, r0 str r3, [fp, #-20] @ float ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-28] cmp r2, r3 blt .L3 ldr r0, [fp, #-28] bl __aeabi_i2f mov r3, r0 mov r1, r3 ldr r0, [fp, #-20] @ float bl __aeabi_fdiv mov r3, r0 str r3, [fp, #-8] @ float mov r3, #0 str r3, [fp, #-16] @ float mov r3, #0 str r3, [fp, #-12] b .L4 .L5: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] @ float ldr r1, [fp, #-8] @ float mov r0, r3 bl __aeabi_fsub mov r3, r0 bic r3, r3, #-2147483648 mov r1, r3 ldr r0, [fp, #-16] @ float bl __aeabi_fadd mov r3, r0 str r3, [fp, #-16] @ float ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L4: ldr r2, [fp, #-12] ldr r3, [fp, #-28] cmp r2, r3 blt .L5 ldr r0, [fp, #-28] bl __aeabi_i2f mov r3, r0 mov r1, r3 ldr r0, [fp, #-16] @ float bl __aeabi_fdiv mov r3, r0 mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem15/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} sub sp, sp, #12 str r1, [sp, #4] mov r5, r0 bl strlen mov r9, r0 lsl r0, r0, #2 bl malloc mov r7, #0 mov r10, r0 add r0, r9, #1 bl malloc cmp r9, r7 mov r4, r0 strb r7, [r0] beq .L2 sub r5, r5, #1 add r8, r5, r9 sub r6, r10, #4 .L3: mov r0, r4 bl strlen mov fp, r0 mov r0, r4 add r1, fp, #2 bl realloc mov r3, r0 ldrb r1, [r5, #1]! @ zero_extendqisi2 mov r4, r0 strb r1, [r3, fp]! strb r7, [r3, #1] bl strlen add fp, r0, #1 mov r0, fp bl malloc mov r2, fp mov r1, r4 str r0, [r6, #4]! bl memcpy cmp r5, r8 bne .L3 .L2: mov r0, r4 bl free mov r0, r10 ldr r3, [sp, #4] str r9, [r3] add sp, sp, #12 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {r4, fp, lr} add fp, sp, #8 sub sp, sp, #36 str r0, [fp, #-40] str r1, [fp, #-44] ldr r0, [fp, #-40] bl strlen mov r3, r0 str r3, [fp, #-24] ldr r3, [fp, #-24] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-20] ldr r3, [fp, #-24] add r3, r3, #1 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-32] ldr r3, [fp, #-32] mov r2, #0 strb r2, [r3] mov r3, #0 str r3, [fp, #-28] b .L2 .L3: ldr r0, [fp, #-32] bl strlen str r0, [fp, #-16] ldr r3, [fp, #-16] add r3, r3, #2 mov r1, r3 ldr r0, [fp, #-32] bl realloc str r0, [fp, #-32] ldr r3, [fp, #-28] ldr r2, [fp, #-40] add r2, r2, r3 ldr r1, [fp, #-32] ldr r3, [fp, #-16] add r3, r1, r3 ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] ldr r3, [fp, #-16] add r3, r3, #1 ldr r2, [fp, #-32] add r3, r2, r3 mov r2, #0 strb r2, [r3] ldr r0, [fp, #-32] bl strlen mov r3, r0 add r1, r3, #1 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-20] add r4, r2, r3 mov r0, r1 bl malloc mov r3, r0 str r3, [r4] ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r3, [r3] ldr r1, [fp, #-32] mov r0, r3 bl strcpy ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r2, [fp, #-28] ldr r3, [fp, #-24] cmp r2, r3 blt .L3 ldr r0, [fp, #-32] bl free ldr r3, [fp, #-44] ldr r2, [fp, #-24] str r2, [r3] ldr r3, [fp, #-20] mov r0, r3 sub sp, fp, #8 @ sp needed pop {r4, fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem41/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 ble .L7 push {r4, r5, r6, lr} mov r6, #0 .L6: add r6, r6, #1 cmp r1, r6 beq .L8 mov r5, r0 mov r4, r6 .L5: add r4, r4, #1 cmp r1, r4 beq .L3 ldr ip, [r5, #4]! ldr lr, [r0] mov r3, r4 mov r2, r5 add lr, lr, ip b .L4 .L17: cmp r1, r3 beq .L5 .L4: ldr ip, [r2, #4]! add r3, r3, #1 cmn lr, ip bne .L17 mov r0, #1 pop {r4, r5, r6, pc} .L8: mov r0, #0 pop {r4, r5, r6, pc} .L3: add r0, r0, #4 b .L6 .L7: mov r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #28 str r0, [fp, #-24] str r1, [fp, #-28] mov r3, #0 str r3, [fp, #-16] b .L2 .L9: ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-12] b .L3 .L8: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-8] b .L4 .L7: ldr r3, [fp, #-16] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 ldr r3, [r3] add r2, r2, r3 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 ldr r3, [r3] add r3, r2, r3 cmp r3, #0 bne .L5 mov r3, #1 b .L6 .L5: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L4: ldr r2, [fp, #-8] ldr r3, [fp, #-28] cmp r2, r3 blt .L7 ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L3: ldr r2, [fp, #-12] ldr r3, [fp, #-28] cmp r2, r3 blt .L8 ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L2: ldr r2, [fp, #-16] ldr r3, [fp, #-28] cmp r2, r3 blt .L9 mov r3, #0 .L6: mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem107/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} mov r4, r0 lsl r0, r0, #2 bl malloc cmp r4, #0 pople {r4, pc} mov r3, #1 mov r1, #0 mov r2, r3 add ip, r4, r3 sub lr, r0, #4 .L5: mul r2, r3, r2 tst r3, #1 add r1, r1, r3 streq r2, [lr, r3, lsl #2] strne r1, [lr, r3, lsl #2] add r3, r3, #1 cmp ip, r3 bne .L5 pop {r4, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] ldr r3, [fp, #-24] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-20] mov r3, #1 str r3, [fp, #-16] mov r3, #1 str r3, [fp, #-12] b .L2 .L5: ldr r2, [fp, #-20] ldr r3, [fp, #-12] add r3, r2, r3 str r3, [fp, #-20] ldr r3, [fp, #-16] ldr r2, [fp, #-12] mul r3, r2, r3 str r3, [fp, #-16] ldr r3, [fp, #-12] and r3, r3, #1 cmp r3, #0 bne .L3 ldr r3, [fp, #-12] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-16] str r2, [r3] b .L4 .L3: ldr r3, [fp, #-12] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-20] str r2, [r3] .L4: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-24] cmp r2, r3 ble .L5 ldr r3, [fp, #-8] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem110/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 beq .L7 cmp r1, #1 push {r4, lr} ble .L8 mov r3, r0 mov lr, #0 sub r4, r0, #4 add r4, r4, r1, lsl #2 .L5: ldm r3, {r2, ip} add r3, r3, #4 cmp ip, r2 addlt lr, lr, #1 cmp r3, r4 bne .L5 .L3: sub r1, r1, #-1073741823 ldr r2, [r0, r1, lsl #2] ldr r3, [r0] cmp r2, r3 addgt lr, lr, #1 cmp lr, #1 movgt r0, #0 movle r0, #1 pop {r4, pc} .L7: mov r0, #1 bx lr .L8: mov lr, #0 b .L3 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mov r3, #0 str r3, [fp, #-12] ldr r3, [fp, #-20] cmp r3, #0 bne .L2 mov r3, #1 b .L3 .L2: mov r3, #1 str r3, [fp, #-8] b .L4 .L6: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-8] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r1, [fp, #-16] add r3, r1, r3 ldr r3, [r3] cmp r2, r3 bge .L5 ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L5: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L4: ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 blt .L6 ldr r3, [fp, #-20] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] ldr r3, [r3] cmp r2, r3 ble .L7 ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L7: ldr r3, [fp, #-12] cmp r3, #1 bgt .L8 mov r3, #1 b .L3 .L8: mov r3, #0 .L3: mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem119/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "AEIOUaeiou\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} mov r7, r0 bl strlen sub r3, r0, #2 cmp r3, #0 ble .L2 add r4, r7, r0 ldr r6, .L12 add r7, r7, #2 b .L5 .L3: sub r4, r4, #1 cmp r7, r4 beq .L2 .L5: ldrb r5, [r4, #-2] @ zero_extendqisi2 mov r0, r6 mov r1, r5 bl strchr cmp r0, #0 beq .L3 mov r0, r6 ldrb r1, [r4, #-1] @ zero_extendqisi2 bl strchr cmp r0, #0 bne .L3 mov r0, r6 ldrb r1, [r4, #-3] @ zero_extendqisi2 bl strchr cmp r0, #0 bne .L3 ldr r3, .L12+4 ldr r0, .L12+4 strb r5, [r3] pop {r4, r5, r6, r7, r8, pc} .L2: mov r2, #0 ldr r3, .L12+4 ldr r0, .L12+4 strb r2, [r3] pop {r4, r5, r6, r7, r8, pc} .L13: .align 2 .L12: .word .LC0 .word .LANCHOR0 .size func0, .-func0 .bss .align 2 .set .LANCHOR0,. + 0 .type out.5042, %object .size out.5042, 2 out.5042: .space 2 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "AEIOUaeiou\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] ldr r3, .L6 str r3, [fp, #-12] ldr r0, [fp, #-24] bl strlen str r0, [fp, #-8] ldr r3, [fp, #-8] sub r3, r3, #2 str r3, [fp, #-16] b .L2 .L5: ldr r3, [fp, #-16] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 mov r1, r3 ldr r0, [fp, #-12] bl strchr mov r3, r0 cmp r3, #0 beq .L3 ldr r3, [fp, #-16] add r3, r3, #1 ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 mov r1, r3 ldr r0, [fp, #-12] bl strchr mov r3, r0 cmp r3, #0 bne .L3 ldr r3, [fp, #-16] sub r3, r3, #1 ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 mov r1, r3 ldr r0, [fp, #-12] bl strchr mov r3, r0 cmp r3, #0 bne .L3 ldr r3, [fp, #-16] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, .L6+4 strb r2, [r3] ldr r3, .L6+4 b .L4 .L3: ldr r3, [fp, #-16] sub r3, r3, #1 str r3, [fp, #-16] .L2: ldr r3, [fp, #-16] cmp r3, #0 bgt .L5 ldr r3, .L6+4 mov r2, #0 strb r2, [r3] ldr r3, .L6+4 .L4: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L7: .align 2 .L6: .word .LC0 .word out.4781 .size func0, .-func0 .local out.4781 .comm out.4781,2,4 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem153/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r3, #0 bxle lr sub r0, r0, #4 str lr, [sp, #-4]! sub r1, r1, #4 add lr, r0, r3, lsl #2 sub r2, r2, #4 .L3: ldr r3, [r0, #4]! ldr ip, [r1, #4]! sub r3, r3, ip cmp r3, #0 rsblt r3, r3, #0 cmp r0, lr str r3, [r2, #4]! bne .L3 ldr pc, [sp], #4 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #28 str r0, [fp, #-16] str r1, [fp, #-20] str r2, [fp, #-24] str r3, [fp, #-28] mov r3, #0 str r3, [fp, #-8] b .L2 .L3: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r1, [fp, #-20] add r3, r1, r3 ldr r3, [r3] sub r2, r2, r3 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 cmp r2, #0 rsblt r2, r2, #0 str r2, [r3] ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-28] cmp r2, r3 blt .L3 nop nop add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem136/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #1 ble .L5 mov r2, r0 mov r3, #1 mvn r0, #0 str lr, [sp, #-4]! .L4: ldm r2, {ip, lr} cmp lr, ip movlt r0, r3 add r3, r3, #1 cmp r1, r3 add r2, r2, #4 bne .L4 ldr pc, [sp], #4 .L5: mvn r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mvn r3, #0 str r3, [fp, #-12] mov r3, #1 str r3, [fp, #-8] b .L2 .L4: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-8] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r1, [fp, #-16] add r3, r1, r3 ldr r3, [r3] cmp r2, r3 bge .L3 ldr r3, [fp, #-8] str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 blt .L4 ldr r3, [fp, #-12] mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem151/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r0, #1 push {r4, r5, r6, r7, r8, lr} movle r6, #0 movgt r6, #1 cmp r0, #3 mov r7, r1 mov r8, r2 ble .L2 mov r5, r0 mov r4, #2 .L4: mov r1, r4 mov r0, r5 bl __aeabi_idivmod add r4, r4, #1 mul r3, r4, r4 cmp r1, #0 moveq r6, #0 cmp r3, r5 ble .L4 .L2: cmp r6, #0 moveq r0, r8 movne r0, r7 pop {r4, r5, r6, r7, r8, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-16] str r1, [fp, #-20] str r2, [fp, #-24] mov r3, #1 str r3, [fp, #-12] ldr r3, [fp, #-16] cmp r3, #1 bgt .L2 mov r3, #0 str r3, [fp, #-12] .L2: mov r3, #2 str r3, [fp, #-8] b .L3 .L5: ldr r3, [fp, #-16] ldr r1, [fp, #-8] mov r0, r3 bl __aeabi_idivmod mov r3, r1 cmp r3, #0 bne .L4 mov r3, #0 str r3, [fp, #-12] .L4: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L3: ldr r3, [fp, #-8] mov r2, r3 mul r2, r3, r2 mov r3, r2 ldr r2, [fp, #-16] cmp r2, r3 bge .L5 ldr r3, [fp, #-12] cmp r3, #0 beq .L6 ldr r3, [fp, #-20] b .L7 .L6: ldr r3, [fp, #-24] .L7: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem158/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fmul .global __aeabi_fadd .global __aeabi_fsub .global __aeabi_f2d .global __aeabi_dcmplt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, r1 mov r1, r0 mov r6, r2 bl __aeabi_fmul mov r1, r5 mov r4, r0 mov r0, r5 bl __aeabi_fmul mov r1, r6 mov r5, r0 mov r0, r6 bl __aeabi_fmul mov r6, r0 mov r1, r5 mov r0, r4 bl __aeabi_fadd mov r1, r6 bl __aeabi_fsub bic r0, r0, #-2147483648 bl __aeabi_f2d ldr r2, .L8 ldr r3, .L8+4 bl __aeabi_dcmplt cmp r0, #0 bne .L5 mov r1, r6 mov r0, r4 bl __aeabi_fadd mov r1, r5 bl __aeabi_fsub bic r0, r0, #-2147483648 bl __aeabi_f2d ldr r2, .L8 ldr r3, .L8+4 bl __aeabi_dcmplt cmp r0, #0 bne .L5 mov r1, r6 mov r0, r5 bl __aeabi_fadd mov r1, r4 bl __aeabi_fsub bic r0, r0, #-2147483648 bl __aeabi_f2d ldr r2, .L8 ldr r3, .L8+4 bl __aeabi_dcmplt subs r0, r0, #0 movne r0, #1 pop {r4, r5, r6, pc} .L5: mov r0, #1 pop {r4, r5, r6, pc} .L9: .align 2 .L8: .word -350469331 .word 1058682594 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fmul .global __aeabi_fadd .global __aeabi_fsub .global __aeabi_f2d .global __aeabi_dcmplt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 push {r4, fp, lr} add fp, sp, #8 sub sp, sp, #20 str r0, [fp, #-16] @ float str r1, [fp, #-20] @ float str r2, [fp, #-24] @ float ldr r1, [fp, #-16] @ float ldr r0, [fp, #-16] @ float bl __aeabi_fmul mov r3, r0 mov r4, r3 ldr r1, [fp, #-20] @ float ldr r0, [fp, #-20] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fadd mov r3, r0 mov r4, r3 ldr r1, [fp, #-24] @ float ldr r0, [fp, #-24] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fsub mov r3, r0 bic r3, r3, #-2147483648 mov r0, r3 bl __aeabi_f2d ldr r2, .L7 ldr r3, .L7+4 bl __aeabi_dcmplt mov r3, r0 cmp r3, #0 bne .L2 ldr r1, [fp, #-16] @ float ldr r0, [fp, #-16] @ float bl __aeabi_fmul mov r3, r0 mov r4, r3 ldr r1, [fp, #-24] @ float ldr r0, [fp, #-24] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fadd mov r3, r0 mov r4, r3 ldr r1, [fp, #-20] @ float ldr r0, [fp, #-20] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fsub mov r3, r0 bic r3, r3, #-2147483648 mov r0, r3 bl __aeabi_f2d ldr r2, .L7 ldr r3, .L7+4 bl __aeabi_dcmplt mov r3, r0 cmp r3, #0 bne .L2 ldr r1, [fp, #-20] @ float ldr r0, [fp, #-20] @ float bl __aeabi_fmul mov r3, r0 mov r4, r3 ldr r1, [fp, #-24] @ float ldr r0, [fp, #-24] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fadd mov r3, r0 mov r4, r3 ldr r1, [fp, #-16] @ float ldr r0, [fp, #-16] @ float bl __aeabi_fmul mov r3, r0 mov r1, r3 mov r0, r4 bl __aeabi_fsub mov r3, r0 bic r3, r3, #-2147483648 mov r0, r3 bl __aeabi_f2d ldr r2, .L7 ldr r3, .L7+4 bl __aeabi_dcmplt mov r3, r0 cmp r3, #0 beq .L6 .L2: mov r3, #1 b .L5 .L6: mov r3, #0 .L5: mov r0, r3 sub sp, fp, #8 @ sp needed pop {r4, fp, pc} .L8: .align 2 .L7: .word -350469331 .word 1058682594 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem6/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} subs r6, r1, #0 ble .L2 mov r4, r0 lsl r0, r6, #1 sub r0, r0, #1 str r0, [r3] lsl r0, r0, #2 mov r5, r2 bl malloc ldr r3, [r4] cmp r6, #1 str r3, [r0] popeq {r4, r5, r6, pc} mov r3, r4 mov ip, r0 sub r2, r4, #4 add r2, r2, r6, lsl #2 .L4: ldr r1, [r3, #4]! str r5, [ip, #4] cmp r2, r3 str r1, [ip, #8]! bne .L4 pop {r4, r5, r6, pc} .L2: mov r0, #0 pop {r4, r5, r6, lr} str r0, [r3] b malloc .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #32 str r0, [fp, #-24] str r1, [fp, #-28] str r2, [fp, #-32] str r3, [fp, #-36] ldr r3, [fp, #-28] cmp r3, #0 ble .L2 ldr r3, [fp, #-28] lsl r3, r3, #1 sub r3, r3, #1 b .L3 .L2: mov r3, #0 .L3: ldr r2, [fp, #-36] str r3, [r2] ldr r3, [fp, #-36] ldr r3, [r3] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-28] cmp r3, #0 ble .L4 ldr r3, [fp, #-24] ldr r2, [r3] ldr r3, [fp, #-8] str r2, [r3] .L4: mov r3, #1 str r3, [fp, #-16] mov r3, #1 str r3, [fp, #-12] b .L5 .L6: ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-32] str r2, [r3] ldr r3, [fp, #-16] lsl r3, r3, #2 ldr r2, [fp, #-24] add r2, r2, r3 ldr r3, [fp, #-12] add r1, r3, #1 str r1, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-8] add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L5: ldr r2, [fp, #-16] ldr r3, [fp, #-28] cmp r2, r3 blt .L6 ldr r3, [fp, #-8] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem106/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "\000" .align 2 .LC1: .ascii "One\000" .align 2 .LC2: .ascii "Two\000" .align 2 .LC3: .ascii "Three\000" .align 2 .LC4: .ascii "Four\000" .align 2 .LC5: .ascii "Five\000" .align 2 .LC6: .ascii "Six\000" .align 2 .LC7: .ascii "Seven\000" .align 2 .LC8: .ascii "Eight\000" .align 2 .LC9: .ascii "Nine\000" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC12: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 48 @ frame_needed = 0, uses_anonymous_args = 0 mov ip, r1 push {r4, r5, r6, r7, r8, lr} ldr r5, .L26 sub sp, sp, #48 add lr, sp, #4 mov r8, r0 mov r7, r2 mov r6, r3 ldmia r5!, {r0, r1, r2, r3} stmia lr!, {r0, r1, r2, r3} ldmia r5!, {r0, r1, r2, r3} stmia lr!, {r0, r1, r2, r3} ldm r5, {r0, r1} ldr r3, .L26+4 sub r5, ip, #1 cmp r5, #0 ldr r3, [r3] str r3, [sp, #44] mov r3,#0 stm lr, {r0, r1} ble .L2 mov r3, r5 sub r4, r8, #4 add r4, r4, ip, lsl #2 lsl r2, ip, #2 .L3: mov r1, r8 .L5: ldr ip, [r1] ldr lr, [r1, #4]! cmp ip, lr strgt lr, [r1, #-4] strgt ip, [r1] cmp r1, r4 bne .L5 subs r3, r3, #1 sub r4, r1, #4 bne .L3 str r3, [r6] .L16: add r8, r8, r2 mov r2, r8 mov r3, r5 mov r0, #0 .L9: ldr r1, [r2, #-4]! sub r1, r1, #1 cmp r1, #8 addls r0, r0, #1 strls r0, [r6] subs r3, r3, #1 bcs .L9 lsl r0, r0, #2 bl malloc ldr ip, [r6] mov r2, #0 str r0, [r7] b .L12 .L14: ldr r3, [r8, #-4]! sub r1, r3, #1 cmp r1, #8 addls r1, sp, #48 addls r3, r1, r3, lsl #2 ldrls r3, [r3, #-44] strls r3, [r0, r2, lsl #2] addls r2, r2, #1 subs r5, r5, #1 bcc .L1 .L12: cmp ip, r2 bgt .L14 .L1: ldr r3, .L26+4 ldr r2, [r3] ldr r3, [sp, #44] eors r2, r3, r2 mov r3, #0 bne .L24 add sp, sp, #48 @ sp needed pop {r4, r5, r6, r7, r8, pc} .L2: mov r0, #0 str r0, [r6] beq .L25 bl malloc str r0, [r7] b .L1 .L25: lsl r2, ip, #2 b .L16 .L24: bl __stack_chk_fail .L27: .align 2 .L26: .word .LANCHOR0 .word .LC12 .size func0, .-func0 .section .rodata .align 2 .set .LANCHOR0,. + 0 .LC11: .word .LC0 .word .LC1 .word .LC2 .word .LC3 .word .LC4 .word .LC5 .word .LC6 .word .LC7 .word .LC8 .word .LC9 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .section .rodata .align 2 .LC0: .ascii "\000" .align 2 .LC1: .ascii "One\000" .align 2 .LC2: .ascii "Two\000" .align 2 .LC3: .ascii "Three\000" .align 2 .LC4: .ascii "Four\000" .align 2 .LC5: .ascii "Five\000" .align 2 .LC6: .ascii "Six\000" .align 2 .LC7: .ascii "Seven\000" .align 2 .LC8: .ascii "Eight\000" .align 2 .LC9: .ascii "Nine\000" .text .section .rodata .align 2 .LC11: .word .LC0 .word .LC1 .word .LC2 .word .LC3 .word .LC4 .word .LC5 .word .LC6 .word .LC7 .word .LC8 .word .LC9 .align 2 .LC12: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 72 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #72 str r0, [fp, #-64] str r1, [fp, #-68] str r2, [fp, #-72] str r3, [fp, #-76] ldr r3, .L16 ldr r3, [r3] str r3, [fp, #-8] mov r3,#0 ldr r3, .L16+4 sub ip, fp, #48 mov lr, r3 ldmia lr!, {r0, r1, r2, r3} stmia ip!, {r0, r1, r2, r3} ldmia lr!, {r0, r1, r2, r3} stmia ip!, {r0, r1, r2, r3} ldm lr, {r0, r1} stm ip, {r0, r1} mov r3, #0 str r3, [fp, #-60] b .L2 .L6: mov r3, #0 str r3, [fp, #-56] b .L3 .L5: ldr r3, [fp, #-56] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-56] add r3, r3, #1 lsl r3, r3, #2 ldr r1, [fp, #-64] add r3, r1, r3 ldr r3, [r3] cmp r2, r3 ble .L4 ldr r3, [fp, #-56] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-52] ldr r3, [fp, #-56] add r3, r3, #1 lsl r3, r3, #2 ldr r2, [fp, #-64] add r2, r2, r3 ldr r3, [fp, #-56] lsl r3, r3, #2 ldr r1, [fp, #-64] add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-56] add r3, r3, #1 lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r2, [fp, #-52] str r2, [r3] .L4: ldr r3, [fp, #-56] add r3, r3, #1 str r3, [fp, #-56] .L3: ldr r2, [fp, #-68] ldr r3, [fp, #-60] sub r3, r2, r3 sub r3, r3, #1 ldr r2, [fp, #-56] cmp r2, r3 blt .L5 ldr r3, [fp, #-60] add r3, r3, #1 str r3, [fp, #-60] .L2: ldr r3, [fp, #-68] sub r3, r3, #1 ldr r2, [fp, #-60] cmp r2, r3 blt .L6 ldr r3, [fp, #-76] mov r2, #0 str r2, [r3] ldr r3, [fp, #-68] sub r3, r3, #1 str r3, [fp, #-60] b .L7 .L9: ldr r3, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r3, [r3] cmp r3, #0 ble .L8 ldr r3, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r3, [r3] cmp r3, #9 bgt .L8 ldr r3, [fp, #-76] ldr r3, [r3] add r2, r3, #1 ldr r3, [fp, #-76] str r2, [r3] .L8: ldr r3, [fp, #-60] sub r3, r3, #1 str r3, [fp, #-60] .L7: ldr r3, [fp, #-60] cmp r3, #0 bge .L9 ldr r3, [fp, #-76] ldr r3, [r3] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 mov r2, r3 ldr r3, [fp, #-72] str r2, [r3] ldr r3, [fp, #-68] sub r3, r3, #1 str r3, [fp, #-60] mov r3, #0 str r3, [fp, #-56] b .L10 .L13: ldr r3, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r3, [r3] cmp r3, #0 ble .L11 ldr r3, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r3, [r3] cmp r3, #9 bgt .L11 ldr r3, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-64] add r3, r2, r3 ldr r1, [r3] ldr r3, [fp, #-72] ldr r2, [r3] ldr r3, [fp, #-56] add r0, r3, #1 str r0, [fp, #-56] lsl r3, r3, #2 add r2, r2, r3 lsl r3, r1, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-44] str r3, [r2] .L11: ldr r3, [fp, #-60] sub r3, r3, #1 str r3, [fp, #-60] .L10: ldr r3, [fp, #-60] cmp r3, #0 blt .L15 ldr r3, [fp, #-76] ldr r3, [r3] ldr r2, [fp, #-56] cmp r2, r3 blt .L13 .L15: nop ldr r3, .L16 ldr r2, [r3] ldr r3, [fp, #-8] eors r2, r3, r2 mov r3, #0 beq .L14 bl __stack_chk_fail .L14: sub sp, fp, #4 @ sp needed pop {fp, pc} .L17: .align 2 .L16: .word .LC12 .word .LC11 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem47/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 408 @ frame_needed = 0, uses_anonymous_args = 0 mov r1, #0 mov r3, #2 push {r4, lr} ldr r2, .L12 sub sp, sp, #408 cmp r0, #3 ldr r2, [r2] str r2, [sp, #404] mov r2,#0 lslle r0, r0, r3 str r1, [sp, #4] str r1, [sp, #8] str r1, [sp, #16] str r3, [sp, #12] ble .L2 sub r2, sp, #8 add r4, r2, r0, lsl #2 mov ip, r3 mov lr, r1 mov r3, r1 lsl r0, r0, #2 add r2, sp, #8 b .L3 .L10: ldr ip, [r2, #8] ldr lr, [r2, #4] ldr r1, [r2], #4 .L3: add r3, r3, ip add r3, r3, lr add r3, r3, r1 cmp r2, r4 str r3, [r2, #12] bne .L10 .L2: add r3, sp, #408 add r0, r3, r0 ldr r3, .L12 ldr r0, [r0, #-404] ldr r2, [r3] ldr r3, [sp, #404] eors r2, r3, r2 mov r3, #0 bne .L11 add sp, sp, #408 @ sp needed pop {r4, pc} .L11: bl __stack_chk_fail .L13: .align 2 .L12: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 416 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #416 str r0, [fp, #-416] ldr r3, .L6 ldr r3, [r3] str r3, [fp, #-8] mov r3,#0 mov r3, #0 str r3, [fp, #-408] mov r3, #0 str r3, [fp, #-404] mov r3, #2 str r3, [fp, #-400] mov r3, #0 str r3, [fp, #-396] mov r3, #4 str r3, [fp, #-412] b .L2 .L3: ldr r3, [fp, #-412] sub r3, r3, #1 lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r2, [r3, #-404] ldr r3, [fp, #-412] sub r3, r3, #2 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-404] add r2, r2, r3 ldr r3, [fp, #-412] sub r3, r3, #3 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-404] add r2, r2, r3 ldr r3, [fp, #-412] sub r3, r3, #4 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-404] add r2, r2, r3 ldr r3, [fp, #-412] lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 str r2, [r3, #-404] ldr r3, [fp, #-412] add r3, r3, #1 str r3, [fp, #-412] .L2: ldr r2, [fp, #-412] ldr r3, [fp, #-416] cmp r2, r3 ble .L3 ldr r3, [fp, #-416] lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r3, [r3, #-404] ldr r2, .L6 ldr r1, [r2] ldr r2, [fp, #-8] eors r1, r2, r1 mov r2, #0 beq .L5 bl __stack_chk_fail .L5: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L7: .align 2 .L6: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem92/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} ldrb r4, [r0] @ zero_extendqisi2 cmp r4, #0 beq .L9 mov r5, r0 bl __ctype_b_loc mov r3, r0 mov r0, #0 mov r1, r5 mov lr, r0 mov r2, #1 ldr r5, [r3] b .L7 .L20: cmp lr, #0 addne r0, r0, #1 cmp ip, #0 bne .L10 .L8: cmp r4, #63 cmpne r4, #46 moveq r3, #1 movne r3, #0 cmp r4, #33 movne r4, r3 orreq r4, r3, #1 cmp r4, #0 movne r2, #1 mov lr, #0 .L6: ldrb r4, [r1, #1]! @ zero_extendqisi2 cmp r4, #0 popeq {r4, r5, r6, pc} .L7: lsl r3, r4, #1 ldrh r3, [r5, r3] cmp r4, #73 movne ip, #0 andeq ip, r2, #1 ands r3, r3, #8192 bne .L20 cmp ip, #0 moveq r2, ip beq .L8 mov r2, r3 .L5: mov lr, #1 b .L6 .L10: mov r2, #1 b .L5 .L9: mov r0, r4 pop {r4, r5, r6, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] mov r3, #1 str r3, [fp, #-20] mov r3, #0 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L9: bl __ctype_b_loc mov r3, r0 ldr r2, [r3] ldr r3, [fp, #-8] ldr r1, [fp, #-24] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 lsl r3, r3, #1 add r3, r2, r3 ldrh r3, [r3] and r3, r3, #8192 cmp r3, #0 beq .L3 ldr r3, [fp, #-16] cmp r3, #0 beq .L3 mov r3, #0 str r3, [fp, #-16] ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #73 bne .L4 ldr r3, [fp, #-20] cmp r3, #0 beq .L4 mov r3, #1 str r3, [fp, #-16] b .L5 .L4: bl __ctype_b_loc mov r3, r0 ldr r2, [r3] ldr r3, [fp, #-8] ldr r1, [fp, #-24] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 lsl r3, r3, #1 add r3, r2, r3 ldrh r3, [r3] and r3, r3, #8192 cmp r3, #0 bne .L5 mov r3, #0 str r3, [fp, #-16] .L5: bl __ctype_b_loc mov r3, r0 ldr r2, [r3] ldr r3, [fp, #-8] ldr r1, [fp, #-24] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 lsl r3, r3, #1 add r3, r2, r3 ldrh r3, [r3] and r3, r3, #8192 cmp r3, #0 bne .L6 mov r3, #0 str r3, [fp, #-20] .L6: ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #46 beq .L7 ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #63 beq .L7 ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #33 bne .L8 .L7: mov r3, #1 str r3, [fp, #-20] .L8: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L9 ldr r3, [fp, #-12] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem52/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "AEIOUaeiou\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldrb r4, [r0] @ zero_extendqisi2 mov r5, r0 cmp r4, #0 beq .L2 mov r6, r0 ldr r7, .L11 .L4: mov r1, r4 mov r0, r7 bl strchr cmp r0, #0 moveq r0, r5 strbeq r4, [r0], #1 ldrb r4, [r6, #1]! @ zero_extendqisi2 moveq r5, r0 cmp r4, #0 bne .L4 .L2: mov r3, #0 strb r3, [r5] pop {r4, r5, r6, r7, r8, pc} .L12: .align 2 .L11: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "AEIOUaeiou\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #16 str r0, [fp, #-16] ldr r3, .L5 str r3, [fp, #-8] ldr r3, [fp, #-16] str r3, [fp, #-12] b .L2 .L4: ldr r3, [fp, #-16] ldrb r3, [r3] @ zero_extendqisi2 mov r1, r3 ldr r0, [fp, #-8] bl strchr mov r3, r0 cmp r3, #0 bne .L3 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] ldr r2, [fp, #-16] ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] .L3: ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L2: ldr r3, [fp, #-16] ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L4 ldr r3, [fp, #-12] mov r2, #0 strb r2, [r3] nop sub sp, fp, #4 @ sp needed pop {fp, pc} .L6: .align 2 .L5: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem24/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. mov r3, r0 ldrb r0, [r0] @ zero_extendqisi2 cmp r0, #0 bxeq lr rsb r1, r3, #1 .L3: add r0, r1, r3 ldrb r2, [r3, #1]! @ zero_extendqisi2 cmp r2, #0 bne .L3 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] mov r3, #0 str r3, [fp, #-8] b .L2 .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L3 ldr r3, [fp, #-8] mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem71/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} sub r6, r1, #1 cmp r6, #0 ble .L2 mov r4, r0 mov r7, #0 sub r8, r0, #4 add r5, r8, r1, lsl #2 .L4: add r7, r7, #1 cmp r1, r7 movgt r3, r4 ble .L7 .L3: ldr lr, [r3, #4]! ldr ip, [r4] cmp ip, lr strgt lr, [r4] strgt ip, [r3] cmp r5, r3 bne .L3 .L7: cmp r6, r7 add r4, r4, #4 bne .L4 .L5: mov r1, #0 mov ip, r8 mov r3, r1 .L8: ldr lr, [ip, #4]! cmp r1, r6 str lr, [r2, r3, lsl #2] ldrne lr, [r0, r6, lsl #2] add r4, r2, r3, lsl #2 add r5, r3, #1 subne r6, r6, #1 add r1, r1, #1 moveq r3, r5 addne r3, r3, #2 strne lr, [r4, #4] cmp r6, r1 bge .L8 pop {r4, r5, r6, r7, r8, pc} .L2: subeq r8, r0, #4 popne {r4, r5, r6, r7, r8, pc} b .L5 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 40 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #44 str r0, [fp, #-32] str r1, [fp, #-36] str r2, [fp, #-40] mov r3, #0 str r3, [fp, #-28] b .L2 .L6: ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-24] b .L3 .L5: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-24] lsl r3, r3, #2 ldr r1, [fp, #-32] add r3, r1, r3 ldr r3, [r3] cmp r2, r3 ble .L4 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-8] ldr r3, [fp, #-24] lsl r3, r3, #2 ldr r2, [fp, #-32] add r2, r2, r3 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r1, [fp, #-32] add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-24] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [fp, #-8] str r2, [r3] .L4: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L3: ldr r2, [fp, #-24] ldr r3, [fp, #-36] cmp r2, r3 blt .L5 ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r3, [fp, #-36] sub r3, r3, #1 ldr r2, [fp, #-28] cmp r2, r3 blt .L6 mov r3, #0 str r3, [fp, #-20] ldr r3, [fp, #-36] sub r3, r3, #1 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-12] b .L7 .L9: ldr r2, [fp, #-20] ldr r3, [fp, #-16] cmp r2, r3 bne .L8 ldr r3, [fp, #-20] add r2, r3, #1 str r2, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r2, r2, r3 ldr r3, [fp, #-12] add r1, r3, #1 str r1, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-40] add r3, r1, r3 ldr r2, [r2] str r2, [r3] b .L7 .L8: ldr r3, [fp, #-20] add r2, r3, #1 str r2, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r2, r2, r3 ldr r3, [fp, #-12] add r1, r3, #1 str r1, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-40] add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-16] sub r2, r3, #1 str r2, [fp, #-16] lsl r3, r3, #2 ldr r2, [fp, #-32] add r2, r2, r3 ldr r3, [fp, #-12] add r1, r3, #1 str r1, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-40] add r3, r1, r3 ldr r2, [r2] str r2, [r3] .L7: ldr r2, [fp, #-20] ldr r3, [fp, #-16] cmp r2, r3 ble .L9 nop nop add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem27/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} lsl r8, r1, #2 mov r10, r0 mov r0, r8 mov r9, r1 mov r6, r2 bl malloc mov r1, #4 mov r5, r0 mov r0, r9 bl calloc mov r1, #4 mov r4, r0 mov r0, r9 bl calloc cmp r9, #0 mov r7, r0 ble .L14 mov r1, #0 sub r0, r10, #4 mov r10, r0 mov r9, r1 add r8, r0, r8 .L9: cmp r1, #0 ldr r2, [r10, #4]! beq .L3 mov r3, #0 sub ip, r7, #4 b .L5 .L32: cmp r1, r3 beq .L3 .L5: ldr lr, [ip, #4]! add r3, r3, #1 cmp lr, r2 bne .L32 cmp r10, r8 bne .L9 .L35: mov r9, #0 .L13: cmp r1, #0 ldr r2, [r0, #4]! beq .L10 mov r3, #0 sub ip, r7, #4 b .L12 .L33: cmp r1, r3 beq .L10 .L12: ldr lr, [ip, #4]! add r3, r3, #1 cmp lr, r2 bne .L33 cmp r0, r8 bne .L13 .L2: mov r0, r4 str r9, [r6] bl free mov r0, r7 bl free mov r0, r5 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L3: cmp r9, #0 beq .L6 mov r3, #0 sub ip, r4, #4 b .L8 .L34: cmp r9, r3 beq .L6 .L8: ldr lr, [ip, #4]! add r3, r3, #1 cmp lr, r2 bne .L34 cmp r10, r8 str r2, [r7, r1, lsl #2] add r1, r1, #1 bne .L9 b .L35 .L10: cmp r0, r8 str r2, [r5, r9, lsl #2] add r9, r9, #1 bne .L13 b .L2 .L6: cmp r10, r8 str r2, [r4, r9, lsl #2] add r9, r9, #1 bne .L9 b .L35 .L14: mov r9, #0 b .L2 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 80 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #80 str r0, [fp, #-72] str r1, [fp, #-76] str r2, [fp, #-80] ldr r3, [fp, #-76] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-24] ldr r3, [fp, #-76] mov r1, #4 mov r0, r3 bl calloc mov r3, r0 str r3, [fp, #-20] ldr r3, [fp, #-76] mov r1, #4 mov r0, r3 bl calloc mov r3, r0 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-68] mov r3, #0 str r3, [fp, #-64] mov r3, #0 str r3, [fp, #-60] mov r3, #0 str r3, [fp, #-56] b .L2 .L14: ldr r3, [fp, #-56] lsl r3, r3, #2 ldr r2, [fp, #-72] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-52] mov r3, #0 str r3, [fp, #-48] b .L3 .L6: ldr r3, [fp, #-48] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-8] cmp r2, r3 bne .L4 mov r3, #1 str r3, [fp, #-52] b .L5 .L4: ldr r3, [fp, #-48] add r3, r3, #1 str r3, [fp, #-48] .L3: ldr r2, [fp, #-48] ldr r3, [fp, #-64] cmp r2, r3 blt .L6 .L5: ldr r3, [fp, #-52] cmp r3, #0 bne .L23 mov r3, #0 str r3, [fp, #-44] mov r3, #0 str r3, [fp, #-40] b .L9 .L12: ldr r3, [fp, #-40] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-8] cmp r2, r3 bne .L10 mov r3, #1 str r3, [fp, #-44] b .L11 .L10: ldr r3, [fp, #-40] add r3, r3, #1 str r3, [fp, #-40] .L9: ldr r2, [fp, #-40] ldr r3, [fp, #-68] cmp r2, r3 blt .L12 .L11: ldr r3, [fp, #-44] cmp r3, #0 beq .L13 ldr r3, [fp, #-64] add r2, r3, #1 str r2, [fp, #-64] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r2, [fp, #-8] str r2, [r3] b .L8 .L13: ldr r3, [fp, #-68] add r2, r3, #1 str r2, [fp, #-68] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r2, [fp, #-8] str r2, [r3] b .L8 .L23: nop .L8: ldr r3, [fp, #-56] add r3, r3, #1 str r3, [fp, #-56] .L2: ldr r2, [fp, #-56] ldr r3, [fp, #-76] cmp r2, r3 blt .L14 mov r3, #0 str r3, [fp, #-36] b .L15 .L21: ldr r3, [fp, #-36] lsl r3, r3, #2 ldr r2, [fp, #-72] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-32] mov r3, #0 str r3, [fp, #-28] b .L16 .L19: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 bne .L17 mov r3, #1 str r3, [fp, #-32] b .L18 .L17: ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L16: ldr r2, [fp, #-28] ldr r3, [fp, #-64] cmp r2, r3 blt .L19 .L18: ldr r3, [fp, #-32] cmp r3, #0 bne .L20 ldr r3, [fp, #-60] add r2, r3, #1 str r2, [fp, #-60] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [fp, #-12] str r2, [r3] .L20: ldr r3, [fp, #-36] add r3, r3, #1 str r3, [fp, #-36] .L15: ldr r2, [fp, #-36] ldr r3, [fp, #-76] cmp r2, r3 blt .L21 ldr r3, [fp, #-80] ldr r2, [fp, #-60] str r2, [r3] ldr r0, [fp, #-20] bl free ldr r0, [fp, #-16] bl free ldr r3, [fp, #-24] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem36/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fcmpgt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 push {r4, r5, r6, r7, r8, lr} ble .L6 sub r4, r0, #4 ldr r6, .L11 add r7, r4, r1, lsl #2 .L5: ldr r5, [r4, #4]! @ float mov r1, r6 mov r0, r5 bl __aeabi_fcmpgt cmp r0, #0 movne r6, r5 cmp r4, r7 bne .L5 mov r0, r6 pop {r4, r5, r6, r7, r8, pc} .L6: ldr r6, .L11 mov r0, r6 pop {r4, r5, r6, r7, r8, pc} .L12: .align 2 .L11: .word -971227136 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fcmplt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #16 str r0, [fp, #-16] str r1, [fp, #-20] ldr r3, .L8 str r3, [fp, #-12] @ float mov r3, #0 str r3, [fp, #-8] b .L2 .L5: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] @ float mov r1, r3 ldr r0, [fp, #-12] @ float bl __aeabi_fcmplt mov r3, r0 cmp r3, #0 beq .L3 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] @ float str r3, [fp, #-12] @ float .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 blt .L5 ldr r3, [fp, #-12] @ float mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L9: .align 2 .L8: .word -971227136 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem31/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fcmpgt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} lsl r7, r1, #2 mov r4, r0 mov r0, r7 mov r5, r1 mov r6, r2 bl malloc mov r3, #0 cmp r5, r3 mov r8, r0 str r3, [r6] ble .L1 mov r9, #0 sub r4, r4, #4 add r7, r4, r7 .L5: ldr r5, [r4, #4]! @ float mov r1, r9 mov r0, r5 bl __aeabi_fcmpgt cmp r0, #0 ldrne r3, [r6] addne r2, r3, #1 strne r5, [r8, r3, lsl #2] @ float strne r2, [r6] cmp r4, r7 bne .L5 .L1: mov r0, r8 pop {r4, r5, r6, r7, r8, r9, r10, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_fcmpgt .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-16] str r1, [fp, #-20] str r2, [fp, #-24] ldr r3, [fp, #-20] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-24] mov r2, #0 str r2, [r3] mov r3, #0 str r3, [fp, #-12] b .L2 .L5: ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] @ float mov r1, #0 mov r0, r3 bl __aeabi_fcmpgt mov r3, r0 cmp r3, #0 beq .L3 ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r2, [fp, #-16] add r2, r2, r3 ldr r3, [fp, #-24] ldr r3, [r3] add r0, r3, #1 ldr r1, [fp, #-24] str r0, [r1] lsl r3, r3, #2 ldr r1, [fp, #-8] add r3, r1, r3 ldr r2, [r2] @ float str r2, [r3] @ float .L3: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-20] cmp r2, r3 blt .L5 ldr r3, [fp, #-8] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem86/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. cmp r1, #1 ble .L5 mov r3, r0 mov r0, #0 sub r1, r1, #2 lsr r2, r1, #1 add r1, r3, #8 add r1, r1, r2, lsl #3 .L4: ldr r2, [r3, #4] add r3, r3, #8 tst r2, #1 addeq r0, r0, r2 cmp r3, r1 bne .L4 bx lr .L5: mov r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L4: ldr r3, [fp, #-8] lsl r3, r3, #3 add r3, r3, #4 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] and r3, r3, #1 cmp r3, #0 bne .L3 ldr r3, [fp, #-8] lsl r3, r3, #3 add r3, r3, #4 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] add r3, r2, r3 str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r3, [fp, #-8] lsl r3, r3, #1 add r3, r3, #1 ldr r2, [fp, #-20] cmp r2, r3 bgt .L4 ldr r3, [fp, #-12] mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem77/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. subs ip, r0, #0 ble .L5 cmp ip, #1 beq .L7 mov r2, #0 mov r3, #1 .L3: mul r3, r1, r3 add r2, r2, #1 cmp ip, r3 movlt r0, #0 movge r0, #1 cmp r2, #99 movgt r0, #0 cmp r0, #0 bxeq lr cmp ip, r3 bne .L3 .L7: mov r0, #1 bx lr .L5: mov r0, #0 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mov r3, #1 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L6: ldr r2, [fp, #-12] ldr r3, [fp, #-16] cmp r2, r3 bne .L3 mov r3, #1 b .L4 .L3: ldr r3, [fp, #-12] ldr r2, [fp, #-20] mul r3, r2, r3 str r3, [fp, #-12] ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-16] cmp r2, r3 bgt .L5 ldr r3, [fp, #-8] cmp r3, #99 ble .L6 .L5: mov r3, #0 .L4: mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem9/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 cmp r1, #0 str lr, [sp, #-4]! mov ip, #1 mov lr, #0 ble .L2 sub r0, r0, #4 add r1, r0, r1, lsl #2 .L3: ldr r3, [r0, #4]! cmp r0, r1 mul ip, r3, ip add lr, lr, r3 bne .L3 .L2: str lr, [r2] str ip, [r2, #4] ldr pc, [sp], #4 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #36 str r0, [fp, #-24] str r1, [fp, #-28] str r2, [fp, #-32] mov r3, #0 str r3, [fp, #-16] mov r3, #1 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L3: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-16] add r3, r2, r3 str r3, [fp, #-16] ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-12] mul r3, r2, r3 str r3, [fp, #-12] ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-28] cmp r2, r3 blt .L3 ldr r3, [fp, #-32] ldr r2, [fp, #-16] str r2, [r3] ldr r3, [fp, #-32] add r3, r3, #4 ldr r2, [fp, #-12] str r2, [r3] nop add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem64/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.cst4,"aM",%progbits,4 .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 408 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} ldr r3, .L12 sub sp, sp, #408 mov r4, r0 mov r2, #400 mov r1, #0 add r0, sp, #4 ldr r3, [r3] str r3, [sp, #404] mov r3,#0 bl memset mov r3, #1 cmp r4, #2 str r3, [sp, #12] lslle r4, r4, #2 ble .L2 mov r1, #0 sub r2, sp, #4 add lr, r2, r4, lsl #2 mov ip, r1 lsl r4, r4, #2 add r2, sp, #8 b .L3 .L10: ldr ip, [r2, #4] ldr r1, [r2], #4 .L3: add r3, r3, ip add r3, r3, r1 cmp r2, lr str r3, [r2, #8] bne .L10 .L2: add r3, sp, #408 add r4, r3, r4 ldr r3, .L12 ldr r0, [r4, #-404] ldr r2, [r3] ldr r3, [sp, #404] eors r2, r3, r2 mov r3, #0 bne .L11 add sp, sp, #408 @ sp needed pop {r4, pc} .L11: bl __stack_chk_fail .L13: .align 2 .L12: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .word __stack_chk_guard .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 416 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #416 str r0, [fp, #-416] ldr r3, .L6 ldr r3, [r3] str r3, [fp, #-8] mov r3,#0 sub r3, fp, #408 mov r2, #400 mov r1, #0 mov r0, r3 bl memset mov r3, #0 str r3, [fp, #-404] mov r3, #1 str r3, [fp, #-400] mov r3, #3 str r3, [fp, #-412] b .L2 .L3: ldr r3, [fp, #-412] sub r3, r3, #1 lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r2, [r3, #-404] ldr r3, [fp, #-412] sub r3, r3, #2 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-404] add r2, r2, r3 ldr r3, [fp, #-412] sub r3, r3, #3 lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 ldr r3, [r3, #-404] add r2, r2, r3 ldr r3, [fp, #-412] lsl r3, r3, #2 sub r1, fp, #4 add r3, r1, r3 str r2, [r3, #-404] ldr r3, [fp, #-412] add r3, r3, #1 str r3, [fp, #-412] .L2: ldr r2, [fp, #-412] ldr r3, [fp, #-416] cmp r2, r3 ble .L3 ldr r3, [fp, #-416] lsl r3, r3, #2 sub r2, fp, #4 add r3, r2, r3 ldr r3, [r3, #-404] ldr r2, .L6 ldr r1, [r2] ldr r2, [fp, #-8] eors r1, r2, r1 mov r2, #0 beq .L5 bl __stack_chk_fail .L5: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L7: .align 2 .L6: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem123/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. cmp r1, #0 mov r3, r0 mov r0, #0 bxle lr sub r3, r3, #4 add ip, r3, r1, lsl #2 .L4: ldr r2, [r3, #4]! add r1, r2, #99 cmp r1, #198 addls r0, r0, r2 cmp r3, ip bne .L4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] str r1, [fp, #-20] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L4: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] cmn r3, #99 blt .L3 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] cmp r3, #99 bgt .L3 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] add r3, r2, r3 str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 blt .L4 ldr r3, [fp, #-12] mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem114/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "the number of odd elements %d in the string %d of t" .ascii "he %d input.\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, lr} lsl r6, r1, #2 mov r5, r1 mov r4, r0 sub sp, sp, #20 mov r0, r6 bl malloc cmp r5, #0 mov r8, r0 ble .L1 sub r4, r4, #4 ldr r7, .L14 add r6, r4, r6 sub r5, r0, #4 .L3: ldr r2, [r4, #4]! ldrb r3, [r2] @ zero_extendqisi2 cmp r3, #0 moveq r9, r3 beq .L7 mov r9, #0 .L5: sub r1, r3, #48 cmp r1, #9 bhi .L4 tst r3, #1 addne r9, r9, #1 .L4: ldrb r3, [r2, #1]! @ zero_extendqisi2 cmp r3, #0 bne .L5 .L7: mov r0, #100 bl malloc str r9, [sp, #8] str r9, [sp, #4] str r9, [sp] mov r3, r7 mov r2, #100 mov r1, #1 str r0, [r5, #4]! bl __sprintf_chk cmp r4, r6 bne .L3 .L1: mov r0, r8 add sp, sp, #20 @ sp needed pop {r4, r5, r6, r7, r8, r9, pc} .L15: .align 2 .L14: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "the number of odd elements %d in the string %d of t" .ascii "he %d input.\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {r4, fp, lr} add fp, sp, #8 sub sp, sp, #36 str r0, [fp, #-32] str r1, [fp, #-36] ldr r3, [fp, #-36] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-28] b .L2 .L6: mov r3, #0 str r3, [fp, #-24] mov r3, #0 str r3, [fp, #-20] b .L3 .L5: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-20] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #47 bls .L4 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-20] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #57 bhi .L4 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-20] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 sub r3, r3, #48 cmp r3, #0 and r3, r3, #1 rsblt r3, r3, #0 cmp r3, #1 bne .L4 ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L4: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L3: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-20] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L5 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-16] add r4, r2, r3 mov r0, #100 bl malloc mov r3, r0 str r3, [r4] ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-16] add r3, r2, r3 ldr r0, [r3] ldr r3, [fp, #-24] str r3, [sp] ldr r3, [fp, #-24] ldr r2, [fp, #-24] ldr r1, .L8 bl sprintf ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r2, [fp, #-28] ldr r3, [fp, #-36] cmp r2, r3 blt .L6 ldr r3, [fp, #-16] mov r0, r3 sub sp, fp, #8 @ sp needed pop {r4, fp, pc} .L9: .align 2 .L8: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem105/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} lsl r7, r1, #2 mov r4, r0 mov r0, r7 mov r6, r1 mov r8, r2 mov r5, r3 bl malloc mov ip, #0 cmp r6, ip str r0, [r8] str ip, [r5] pople {r4, r5, r6, r7, r8, pc} mov r3, ip sub r4, r4, #4 ldr lr, .L21 add r7, r4, r7 .L6: ldr r6, [r4, #4]! cmp r6, #0 beq .L3 ble .L4 mov r2, r6 .L5: mvn r1, r2 and r1, r1, #1 eor ip, r1, #1 cmp r2, #9 movle ip, #0 andgt ip, ip, #1 umull r8, r2, lr, r2 cmp ip, #0 lsr r2, r2, #3 bne .L5 cmp r1, #0 bne .L3 .L4: str r6, [r0, r3, lsl #2] add r3, r3, #1 str r3, [r5] .L3: cmp r7, r4 bne .L6 sub lr, r3, #1 cmp lr, #0 pople {r4, r5, r6, r7, r8, pc} sub ip, r0, #4 add ip, ip, r3, lsl #2 .L7: mov r3, r0 .L9: ldr r2, [r3] ldr r1, [r3, #4]! cmp r2, r1 stmdagt r3, {r1, r2} cmp ip, r3 bne .L9 subs lr, lr, #1 sub ip, ip, #4 bne .L7 pop {r4, r5, r6, r7, r8, pc} .L22: .align 2 .L21: .word -858993459 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 40 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #40 str r0, [fp, #-32] str r1, [fp, #-36] str r2, [fp, #-40] str r3, [fp, #-44] ldr r3, [fp, #-36] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 mov r2, r3 ldr r3, [fp, #-40] str r2, [r3] ldr r3, [fp, #-44] mov r2, #0 str r2, [r3] mov r3, #0 str r3, [fp, #-24] b .L2 .L9: ldr r3, [fp, #-24] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-20] mov r3, #0 strb r3, [fp, #-25] ldr r3, [fp, #-20] cmp r3, #0 bne .L4 mov r3, #1 strb r3, [fp, #-25] b .L4 .L7: ldr r3, [fp, #-20] and r3, r3, #1 cmp r3, #0 bne .L5 mov r3, #1 strb r3, [fp, #-25] .L5: ldr r3, [fp, #-20] ldr r2, .L15 smull r1, r2, r3, r2 asr r2, r2, #2 asr r3, r3, #31 sub r3, r2, r3 str r3, [fp, #-20] .L4: ldr r3, [fp, #-20] cmp r3, #0 ble .L6 ldrb r3, [fp, #-25] eor r3, r3, #1 and r3, r3, #255 cmp r3, #0 bne .L7 .L6: ldrb r3, [fp, #-25] eor r3, r3, #1 and r3, r3, #255 cmp r3, #0 beq .L8 ldr r3, [fp, #-24] lsl r3, r3, #2 ldr r2, [fp, #-32] add r2, r2, r3 ldr r3, [fp, #-40] ldr r1, [r3] ldr r3, [fp, #-44] ldr r3, [r3] lsl r3, r3, #2 add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-44] ldr r3, [r3] add r2, r3, #1 ldr r3, [fp, #-44] str r2, [r3] .L8: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L2: ldr r2, [fp, #-24] ldr r3, [fp, #-36] cmp r2, r3 blt .L9 mov r3, #0 str r3, [fp, #-16] b .L10 .L14: mov r3, #0 str r3, [fp, #-12] b .L11 .L13: ldr r3, [fp, #-40] ldr r2, [r3] ldr r3, [fp, #-12] lsl r3, r3, #2 add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-40] ldr r1, [r3] ldr r3, [fp, #-12] add r3, r3, #1 lsl r3, r3, #2 add r3, r1, r3 ldr r3, [r3] cmp r2, r3 ble .L12 ldr r3, [fp, #-40] ldr r2, [r3] ldr r3, [fp, #-12] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-8] ldr r3, [fp, #-40] ldr r2, [r3] ldr r3, [fp, #-12] add r3, r3, #1 lsl r3, r3, #2 add r2, r2, r3 ldr r3, [fp, #-40] ldr r1, [r3] ldr r3, [fp, #-12] lsl r3, r3, #2 add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-40] ldr r2, [r3] ldr r3, [fp, #-12] add r3, r3, #1 lsl r3, r3, #2 add r3, r2, r3 ldr r2, [fp, #-8] str r2, [r3] .L12: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L11: ldr r3, [fp, #-44] ldr r2, [r3] ldr r3, [fp, #-16] sub r3, r2, r3 sub r3, r3, #1 ldr r2, [fp, #-12] cmp r2, r3 blt .L13 ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L10: ldr r3, [fp, #-44] ldr r3, [r3] sub r3, r3, #1 ldr r2, [fp, #-16] cmp r2, r3 blt .L14 nop nop sub sp, fp, #4 @ sp needed pop {fp, pc} .L16: .align 2 .L15: .word 1717986919 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem113/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "False\000" .align 2 .LC1: .ascii "True\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r5, r0 mov r9, r1 mov r7, r2 mov r6, r3 bl strlen add r0, r0, #1 bl malloc ldrb r4, [r5] @ zero_extendqisi2 mov r8, r0 cmp r4, #0 beq .L11 mov r2, #0 ldrb r3, [r9] @ zero_extendqisi2 .L3: cmp r3, #0 movne lr, r9 movne ip, r3 bne .L5 b .L6 .L21: ldrb ip, [lr, #1]! @ zero_extendqisi2 cmp ip, #0 beq .L6 .L5: cmp r4, ip bne .L21 ldrb r4, [r5, #1]! @ zero_extendqisi2 cmp r4, #0 bne .L3 .L23: add r2, r8, r2 .L2: mov r3, #0 mov r0, r8 strb r3, [r2] bl strlen asrs r4, r0, #1 beq .L7 sub r1, r8, #1 add r4, r1, r4 add r3, r8, r0 b .L9 .L22: cmp r4, r1 beq .L7 .L9: ldrb lr, [r1, #1]! @ zero_extendqisi2 ldrb ip, [r3, #-1]! @ zero_extendqisi2 cmp lr, ip beq .L22 mov r1, r8 add r2, r0, #1 mov r0, r7 bl memcpy ldr r1, .L24 .L10: mov r0, r6 bl strcpy mov r0, r8 pop {r4, r5, r6, r7, r8, r9, r10, lr} b free .L6: strb r4, [r8, r2] ldrb r4, [r5, #1]! @ zero_extendqisi2 add r2, r2, #1 cmp r4, #0 bne .L3 b .L23 .L7: mov r1, r8 add r2, r0, #1 mov r0, r7 bl memcpy ldr r1, .L24+4 b .L10 .L11: mov r2, r0 b .L2 .L25: .align 2 .L24: .word .LC0 .word .LC1 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "True\000" .align 2 .LC1: .ascii "False\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 48 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #48 str r0, [fp, #-40] str r1, [fp, #-44] str r2, [fp, #-48] str r3, [fp, #-52] ldr r0, [fp, #-40] bl strlen mov r3, r0 str r3, [fp, #-16] ldr r3, [fp, #-16] add r3, r3, #1 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-32] mov r3, #0 str r3, [fp, #-28] b .L2 .L8: ldr r3, [fp, #-44] str r3, [fp, #-24] mov r3, #0 strb r3, [fp, #-34] b .L3 .L6: ldr r3, [fp, #-28] ldr r2, [fp, #-40] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-24] ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 bne .L4 mov r3, #1 strb r3, [fp, #-34] b .L5 .L4: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L3: ldr r3, [fp, #-24] ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L6 .L5: ldrb r3, [fp, #-34] eor r3, r3, #1 and r3, r3, #255 cmp r3, #0 beq .L7 ldr r3, [fp, #-28] ldr r2, [fp, #-40] add r2, r2, r3 ldr r3, [fp, #-32] add r1, r3, #1 str r1, [fp, #-32] mov r1, r3 ldr r3, [fp, #-12] add r3, r3, r1 ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] .L7: ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r3, [fp, #-28] ldr r2, [fp, #-40] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L8 ldr r3, [fp, #-32] ldr r2, [fp, #-12] add r3, r2, r3 mov r2, #0 strb r2, [r3] ldr r0, [fp, #-12] bl strlen mov r3, r0 str r3, [fp, #-8] mov r3, #1 strb r3, [fp, #-33] mov r3, #0 str r3, [fp, #-20] b .L9 .L12: ldr r3, [fp, #-20] ldr r2, [fp, #-12] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-8] sub r1, r3, #1 ldr r3, [fp, #-20] sub r3, r1, r3 mov r1, r3 ldr r3, [fp, #-12] add r3, r3, r1 ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 beq .L10 mov r3, #0 strb r3, [fp, #-33] b .L11 .L10: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L9: ldr r3, [fp, #-8] lsr r2, r3, #31 add r3, r2, r3 asr r3, r3, #1 mov r2, r3 ldr r3, [fp, #-20] cmp r3, r2 blt .L12 .L11: ldr r1, [fp, #-12] ldr r0, [fp, #-48] bl strcpy ldrb r3, [fp, #-33] @ zero_extendqisi2 cmp r3, #0 beq .L13 ldr r3, .L15 b .L14 .L13: ldr r3, .L15+4 .L14: mov r1, r3 ldr r0, [fp, #-52] bl strcpy ldr r0, [fp, #-12] bl free nop sub sp, fp, #4 @ sp needed pop {fp, pc} .L16: .align 2 .L15: .word .LC0 .word .LC1 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem108/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, r0 mov r0, #8 bl malloc mov r3, #0 cmp r5, r3 str r3, [r0] str r3, [r0, #4] pople {r4, r5, r6, pc} mov r4, #1 ldr lr, .L11 add r5, r5, r4 .L6: mov ip, r4 mov r2, #0 .L3: umull r1, r3, lr, ip lsr r3, r3, #3 add r1, r3, r3, lsl #2 sub r1, ip, r1, lsl #1 add r2, r2, r2, lsl #2 subs ip, r3, #0 add r2, r1, r2, lsl #1 bne .L3 cmp r4, r2 bne .L4 tst r4, #1 ldreq r3, [r0] ldrne r3, [r0, #4] addeq r3, r3, #1 addne r3, r3, #1 streq r3, [r0] strne r3, [r0, #4] .L4: add r4, r4, #1 cmp r5, r4 bne .L6 pop {r4, r5, r6, pc} .L12: .align 2 .L11: .word -858993459 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #32 str r0, [fp, #-32] mov r0, #8 bl malloc mov r3, r0 str r3, [fp, #-12] ldr r3, [fp, #-12] mov r2, #0 str r2, [r3] ldr r3, [fp, #-12] add r3, r3, #4 mov r2, #0 str r2, [r3] mov r3, #1 str r3, [fp, #-24] b .L2 .L7: mov r3, #0 str r3, [fp, #-20] ldr r3, [fp, #-24] str r3, [fp, #-8] ldr r3, [fp, #-24] str r3, [fp, #-16] b .L3 .L4: ldr r2, [fp, #-20] mov r3, r2 lsl r3, r3, #2 add r3, r3, r2 lsl r3, r3, #1 mov r0, r3 ldr r1, [fp, #-16] ldr r3, .L9 smull r2, r3, r1, r3 asr r2, r3, #2 asr r3, r1, #31 sub r2, r2, r3 mov r3, r2 lsl r3, r3, #2 add r3, r3, r2 lsl r3, r3, #1 sub r2, r1, r3 add r3, r0, r2 str r3, [fp, #-20] ldr r3, [fp, #-16] ldr r2, .L9 smull r1, r2, r3, r2 asr r2, r2, #2 asr r3, r3, #31 sub r3, r2, r3 str r3, [fp, #-16] .L3: ldr r3, [fp, #-16] cmp r3, #0 bne .L4 ldr r2, [fp, #-8] ldr r3, [fp, #-20] cmp r2, r3 bne .L5 ldr r3, [fp, #-8] and r3, r3, #1 cmp r3, #0 bne .L6 ldr r3, [fp, #-12] ldr r3, [r3] add r2, r3, #1 ldr r3, [fp, #-12] str r2, [r3] b .L5 .L6: ldr r3, [fp, #-12] add r3, r3, #4 ldr r2, [r3] add r2, r2, #1 str r2, [r3] .L5: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L2: ldr r2, [fp, #-24] ldr r3, [fp, #-32] cmp r2, r3 ble .L7 ldr r3, [fp, #-12] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .L10: .align 2 .L9: .word 1717986919 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem83/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_uidivmod .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} bl strlen cmp r0, #1 bls .L5 cmp r0, #3 mov r5, r0 bls .L6 ands r1, r0, #1 beq .L5 mov r4, #2 b .L3 .L4: mov r1, r4 mov r0, r5 bl __aeabi_idivmod cmp r1, #0 beq .L5 .L3: add r4, r4, #1 mul r3, r4, r4 cmp r3, r5 ble .L4 .L6: mov r0, #1 pop {r4, r5, r6, pc} .L5: mov r0, #0 pop {r4, r5, r6, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #16 str r0, [fp, #-16] ldr r0, [fp, #-16] bl strlen mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-8] cmp r3, #1 bgt .L2 mov r3, #0 b .L3 .L2: mov r3, #2 str r3, [fp, #-12] b .L4 .L6: ldr r3, [fp, #-8] ldr r1, [fp, #-12] mov r0, r3 bl __aeabi_idivmod mov r3, r1 cmp r3, #0 bne .L5 mov r3, #0 b .L3 .L5: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L4: ldr r3, [fp, #-12] mov r2, r3 mul r2, r3, r2 mov r3, r2 ldr r2, [fp, #-8] cmp r2, r3 bge .L6 mov r3, #1 .L3: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem144/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_uidivmod .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} ldrb r3, [r0] @ zero_extendqisi2 mov r7, r1 cmp r3, #0 beq .L2 mov r10, #0 mov r6, r0 mov r9, #32 mov r8, r10 mov r4, r10 b .L8 .L4: add r10, r10, #1 ldrb r3, [r6, r10] @ zero_extendqisi2 cmp r3, #0 beq .L31 .L8: cmp r3, #32 addne r4, r4, #1 bne .L4 cmp r4, #1 bgt .L32 .L17: add r10, r10, #1 ldrb r3, [r6, r10] @ zero_extendqisi2 mov r4, #0 cmp r3, #0 bne .L8 .L31: cmp r4, #1 ble .L29 cmp r4, #3 ble .L10 tst r4, #1 movne r5, #2 bne .L11 b .L29 .L12: mov r1, r5 mov r0, r4 bl __aeabi_idivmod cmp r1, #0 beq .L29 .L11: add r5, r5, #1 mul r3, r5, r5 cmp r3, r4 ble .L12 .L10: cmp r8, #0 moveq r5, r4 moveq r0, r7 beq .L16 mov r3, #32 add r5, r8, #1 add r0, r7, r5 strb r3, [r7, r8] add r5, r4, r5 .L16: sub r1, r10, r4 mov r2, r4 add r1, r6, r1 bl memcpy add r7, r7, r5 .L2: mov r3, #0 strb r3, [r7] pop {r4, r5, r6, r7, r8, r9, r10, pc} .L32: cmp r4, #3 ble .L5 ands r3, r4, #1 beq .L17 mov r5, #2 b .L6 .L7: mov r1, r5 mov r0, r4 bl __aeabi_idivmod cmp r1, #0 beq .L19 .L6: add r5, r5, #1 mul r3, r5, r5 cmp r3, r4 ble .L7 .L5: cmp r8, #0 moveq r8, r4 moveq r0, r7 addne r3, r8, #1 strbne r9, [r7, r8] addne r0, r7, r3 addne r8, r3, r4 .L14: sub r1, r10, r4 mov r2, r4 add r1, r6, r1 bl memcpy mov r4, #0 b .L4 .L29: add r7, r7, r8 b .L2 .L19: mov r4, r1 b .L4 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_idivmod .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #32 str r0, [fp, #-32] str r1, [fp, #-36] mov r3, #0 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-24] mov r3, #0 str r3, [fp, #-20] mov r3, #0 str r3, [fp, #-16] b .L2 .L13: ldr r3, [fp, #-16] ldr r2, [fp, #-32] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #32 beq .L3 ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] b .L4 .L3: ldr r3, [fp, #-24] cmp r3, #1 ble .L5 mov r3, #1 strb r3, [fp, #-25] mov r3, #2 str r3, [fp, #-12] b .L6 .L9: ldr r3, [fp, #-24] ldr r1, [fp, #-12] mov r0, r3 bl __aeabi_idivmod mov r3, r1 cmp r3, #0 bne .L7 mov r3, #0 strb r3, [fp, #-25] b .L10 .L7: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L6: ldr r3, [fp, #-12] mov r2, r3 mul r2, r3, r2 mov r3, r2 ldr r2, [fp, #-24] cmp r2, r3 bge .L9 b .L10 .L5: mov r3, #0 strb r3, [fp, #-25] .L10: ldrb r3, [fp, #-25] @ zero_extendqisi2 cmp r3, #0 beq .L11 ldr r3, [fp, #-20] cmp r3, #0 ble .L12 ldr r3, [fp, #-20] add r2, r3, #1 str r2, [fp, #-20] mov r2, r3 ldr r3, [fp, #-36] add r3, r3, r2 mov r2, #32 strb r2, [r3] .L12: ldr r3, [fp, #-20] ldr r2, [fp, #-36] add r0, r2, r3 ldr r2, [fp, #-16] ldr r3, [fp, #-24] sub r3, r2, r3 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [fp, #-24] mov r1, r3 bl memcpy ldr r2, [fp, #-20] ldr r3, [fp, #-24] add r3, r2, r3 str r3, [fp, #-20] .L11: mov r3, #0 str r3, [fp, #-24] .L4: ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L2: ldr r3, [fp, #-16] ldr r2, [fp, #-32] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L13 ldr r3, [fp, #-24] cmp r3, #1 ble .L14 mov r3, #1 strb r3, [fp, #-25] mov r3, #2 str r3, [fp, #-12] b .L15 .L18: ldr r3, [fp, #-24] ldr r1, [fp, #-12] mov r0, r3 bl __aeabi_idivmod mov r3, r1 cmp r3, #0 bne .L16 mov r3, #0 strb r3, [fp, #-25] b .L19 .L16: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L15: ldr r3, [fp, #-12] mov r2, r3 mul r2, r3, r2 mov r3, r2 ldr r2, [fp, #-24] cmp r2, r3 bge .L18 b .L19 .L14: mov r3, #0 strb r3, [fp, #-25] .L19: ldrb r3, [fp, #-25] @ zero_extendqisi2 cmp r3, #0 beq .L20 ldr r3, [fp, #-20] cmp r3, #0 ble .L21 ldr r3, [fp, #-20] add r2, r3, #1 str r2, [fp, #-20] mov r2, r3 ldr r3, [fp, #-36] add r3, r3, r2 mov r2, #32 strb r2, [r3] .L21: ldr r3, [fp, #-20] ldr r2, [fp, #-36] add r0, r2, r3 ldr r2, [fp, #-16] ldr r3, [fp, #-24] sub r3, r2, r3 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [fp, #-24] mov r1, r3 bl memcpy ldr r2, [fp, #-20] ldr r3, [fp, #-24] add r3, r2, r3 str r3, [fp, #-20] .L20: ldr r3, [fp, #-20] ldr r2, [fp, #-36] add r3, r2, r3 mov r2, #0 strb r2, [r3] nop sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem141/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r9, r1 mov r4, #0 mov r5, r0 mov r6, r4 bl strlen mov r7, #95 mov ip, r9 mov r2, r4 mov r8, #45 b .L2 .L5: cmp r2, #2 bne .L16 strb r7, [ip] strb r7, [r0] add r1, r6, #2 ldrb r3, [r5, r4] @ zero_extendqisi2 add r0, r9, r1 .L6: strb r3, [r0] mov r0, r5 add r6, r1, #1 bl strlen mov r2, #0 add ip, r9, r6 .L4: add r4, r4, #1 .L2: cmp r0, r4 bls .L17 ldrb r3, [r5, r4] @ zero_extendqisi2 cmp r3, #32 addeq r2, r2, #1 beq .L4 add r1, r6, #1 cmp r2, #1 add r0, r9, r1 bne .L5 strb r7, [ip] ldrb r3, [r5, r4] @ zero_extendqisi2 b .L6 .L16: movle r0, ip movle r1, r6 strbgt r8, [ip] ldrbgt r3, [r5, r4] @ zero_extendqisi2 b .L6 .L17: cmp r2, #1 moveq r3, #95 addeq r6, r6, #1 strbeq r3, [ip] beq .L11 cmp r2, #2 bne .L18 mov r2, #95 add r3, r6, #1 strb r2, [ip] add r6, r6, #2 strb r2, [r9, r3] .L11: mov r3, #0 strb r3, [r9, r6] pop {r4, r5, r6, r7, r8, r9, r10, pc} .L18: movgt r3, #45 addgt r6, r6, #1 strbgt r3, [ip] b .L11 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] str r1, [fp, #-28] mov r3, #0 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L8: ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #32 bne .L3 ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] b .L4 .L3: ldr r3, [fp, #-16] cmp r3, #1 bne .L5 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] .L5: ldr r3, [fp, #-16] cmp r3, #2 bne .L6 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] .L6: ldr r3, [fp, #-16] cmp r3, #2 ble .L7 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #45 strb r2, [r3] .L7: mov r3, #0 str r3, [fp, #-16] ldr r3, [fp, #-8] ldr r2, [fp, #-24] add r2, r2, r3 ldr r3, [fp, #-12] add r1, r3, #1 str r1, [fp, #-12] mov r1, r3 ldr r3, [fp, #-28] add r3, r3, r1 ldrb r2, [r2] @ zero_extendqisi2 strb r2, [r3] .L4: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r0, [fp, #-24] bl strlen mov r2, r0 ldr r3, [fp, #-8] cmp r2, r3 bhi .L8 ldr r3, [fp, #-16] cmp r3, #1 bne .L9 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] .L9: ldr r3, [fp, #-16] cmp r3, #2 bne .L10 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #95 strb r2, [r3] .L10: ldr r3, [fp, #-16] cmp r3, #2 ble .L11 ldr r3, [fp, #-12] add r2, r3, #1 str r2, [fp, #-12] mov r2, r3 ldr r3, [fp, #-28] add r3, r3, r2 mov r2, #45 strb r2, [r3] .L11: ldr r3, [fp, #-12] ldr r2, [fp, #-28] add r3, r2, r3 mov r2, #0 strb r2, [r3] nop sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem3/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_f2iz .global __aeabi_i2f .global __aeabi_fsub .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, lr} mov r4, r0 bl __aeabi_f2iz bl __aeabi_i2f mov r1, r0 mov r0, r4 bl __aeabi_fsub pop {r4, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .global __aeabi_f2iz .global __aeabi_i2f .global __aeabi_fsub .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #8 str r0, [fp, #-8] @ float ldr r0, [fp, #-8] @ float bl __aeabi_f2iz mov r3, r0 mov r0, r3 bl __aeabi_i2f mov r3, r0 mov r1, r3 ldr r0, [fp, #-8] @ float bl __aeabi_fsub mov r3, r0 mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem94/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "aeiouAEIOU\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} ldrb r4, [r0] @ zero_extendqisi2 mov r7, r1 cmp r4, #0 beq .L2 mov r6, r0 bl __ctype_b_loc mov r8, r0 sub r5, r7, #1 rsb r9, r7, #1 .L8: ldr r2, [r8] lsl r3, r4, #1 ldrh r3, [r2, r3] tst r3, #512 beq .L3 bl __ctype_toupper_loc ldr r3, [r0] ldrb r4, [r3, r4, lsl #2] @ zero_extendqisi2 .L4: mov r3, #97 mov r2, #0 ldr ip, .L19 b .L7 .L5: ldrb r3, [ip, #1]! @ zero_extendqisi2 add r2, r2, #1 cmp r3, #0 beq .L6 .L7: cmp r4, r3 bne .L5 cmp r2, #9 addle r4, r4, #2 andle r4, r4, #255 .L6: add r5, r5, #1 mov r3, r5 strb r4, [r3], r9 ldrb r4, [r6, #1]! @ zero_extendqisi2 cmp r4, #0 bne .L8 add r7, r7, r3 .L2: mov r3, #0 strb r3, [r7] pop {r4, r5, r6, r7, r8, r9, r10, pc} .L3: tst r3, #256 beq .L4 bl __ctype_tolower_loc ldr r3, [r0] ldrb r4, [r3, r4, lsl #2] @ zero_extendqisi2 b .L4 .L20: .align 2 .L19: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "aeiouAEIOU\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] str r1, [fp, #-28] ldr r3, .L12 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-16] b .L2 .L10: ldr r3, [fp, #-16] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] strb r3, [fp, #-17] bl __ctype_b_loc mov r3, r0 ldr r2, [r3] ldrb r3, [fp, #-17] @ zero_extendqisi2 lsl r3, r3, #1 add r3, r2, r3 ldrh r3, [r3] and r3, r3, #512 cmp r3, #0 beq .L3 ldrb r3, [fp, #-17] @ zero_extendqisi2 mov r0, r3 bl toupper mov r3, r0 strb r3, [fp, #-17] b .L4 .L3: bl __ctype_b_loc mov r3, r0 ldr r2, [r3] ldrb r3, [fp, #-17] @ zero_extendqisi2 lsl r3, r3, #1 add r3, r2, r3 ldrh r3, [r3] and r3, r3, #256 cmp r3, #0 beq .L4 ldrb r3, [fp, #-17] @ zero_extendqisi2 mov r0, r3 bl tolower mov r3, r0 strb r3, [fp, #-17] .L4: mov r3, #0 str r3, [fp, #-12] b .L5 .L9: ldr r3, [fp, #-12] ldr r2, [fp, #-8] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 ldrb r2, [fp, #-17] @ zero_extendqisi2 cmp r2, r3 bne .L6 ldr r3, [fp, #-12] cmp r3, #9 bgt .L11 ldrb r3, [fp, #-17] add r3, r3, #2 strb r3, [fp, #-17] b .L11 .L6: ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L5: ldr r3, [fp, #-12] ldr r2, [fp, #-8] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L9 b .L8 .L11: nop .L8: ldr r3, [fp, #-16] ldr r2, [fp, #-28] add r3, r2, r3 ldrb r2, [fp, #-17] strb r2, [r3] ldr r3, [fp, #-16] add r3, r3, #1 str r3, [fp, #-16] .L2: ldr r3, [fp, #-16] ldr r2, [fp, #-24] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L10 ldr r3, [fp, #-16] ldr r2, [fp, #-28] add r3, r2, r3 mov r2, #0 strb r2, [r3] nop sub sp, fp, #4 @ sp needed pop {fp, pc} .L13: .align 2 .L12: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem130/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} subs r9, r1, #0 mov r8, r2 ble .L2 mov r7, #0 sub r2, r0, #4 .L3: ldr lr, [r2, #4]! mov r1, #0 sub lr, lr, #4 b .L5 .L14: mov r1, ip .L5: ldr r6, [lr, #4]! add ip, r1, #1 cmp r6, #1 moveq r4, r1 moveq r5, r7 cmp r9, ip bne .L14 cmp r1, r7 add r7, r7, #1 bne .L3 .L2: cmp r5, #0 mul r6, r9, r9 beq .L6 sub r2, r5, #-1073741823 ldr r2, [r0, r2, lsl #2] ldr r2, [r2, r4, lsl #2] cmp r6, r2 movge r6, r2 .L6: sub r9, r9, #1 cmp r9, r5 ble .L7 add r2, r5, #1 ldr r2, [r0, r2, lsl #2] ldr r2, [r2, r4, lsl #2] cmp r6, r2 movge r6, r2 .L7: cmp r4, #0 beq .L8 ldr r2, [r0, r5, lsl #2] sub r1, r4, #-1073741823 ldr r2, [r2, r1, lsl #2] cmp r6, r2 movge r6, r2 .L8: cmp r9, r4 ble .L9 ldr r2, [r0, r5, lsl #2] add r4, r4, #1 ldr r2, [r2, r4, lsl #2] cmp r6, r2 movge r6, r2 .L9: str r8, [r3] lsl r0, r8, #2 bl malloc cmp r8, #0 pople {r4, r5, r6, r7, r8, r9, r10, pc} mov r3, #0 mov r2, #1 .L10: tst r3, #1 streq r2, [r0, r3, lsl #2] strne r6, [r0, r3, lsl #2] add r3, r3, #1 cmp r8, r3 bne .L10 pop {r4, r5, r6, r7, r8, r9, r10, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 40 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #40 str r0, [fp, #-32] str r1, [fp, #-36] str r2, [fp, #-40] str r3, [fp, #-44] mov r3, #0 str r3, [fp, #-28] b .L2 .L6: mov r3, #0 str r3, [fp, #-24] b .L3 .L5: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-24] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] cmp r3, #1 bne .L4 ldr r3, [fp, #-28] str r3, [fp, #-20] ldr r3, [fp, #-24] str r3, [fp, #-16] .L4: ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L3: ldr r2, [fp, #-24] ldr r3, [fp, #-36] cmp r2, r3 blt .L5 ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L2: ldr r2, [fp, #-28] ldr r3, [fp, #-36] cmp r2, r3 blt .L6 ldr r3, [fp, #-36] mov r2, r3 mul r2, r3, r2 mov r3, r2 str r3, [fp, #-12] ldr r3, [fp, #-20] cmp r3, #0 ble .L7 ldr r3, [fp, #-20] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 ble .L7 ldr r3, [fp, #-20] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] .L7: ldr r3, [fp, #-36] sub r3, r3, #1 ldr r2, [fp, #-20] cmp r2, r3 bge .L8 ldr r3, [fp, #-20] add r3, r3, #1 lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 ble .L8 ldr r3, [fp, #-20] add r3, r3, #1 lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] .L8: ldr r3, [fp, #-16] cmp r3, #0 ble .L9 ldr r3, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] sub r3, r3, #-1073741823 lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 ble .L9 ldr r3, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] sub r3, r3, #-1073741823 lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] .L9: ldr r3, [fp, #-36] sub r3, r3, #1 ldr r2, [fp, #-16] cmp r2, r3 bge .L10 ldr r3, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] add r3, r3, #1 lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 ble .L10 ldr r3, [fp, #-20] lsl r3, r3, #2 ldr r2, [fp, #-32] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-16] add r3, r3, #1 lsl r3, r3, #2 add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] .L10: ldr r3, [fp, #-44] ldr r2, [fp, #-40] str r2, [r3] ldr r3, [fp, #-40] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-28] b .L11 .L14: ldr r3, [fp, #-28] and r3, r3, #1 cmp r3, #0 bne .L12 ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 mov r2, #1 str r2, [r3] b .L13 .L12: ldr r3, [fp, #-28] lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-12] str r2, [r3] .L13: ldr r3, [fp, #-28] add r3, r3, #1 str r3, [fp, #-28] .L11: ldr r2, [fp, #-28] ldr r3, [fp, #-40] cmp r2, r3 blt .L14 ldr r3, [fp, #-8] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem99/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata.str1.4,"aMS",%progbits,1 .align 2 .LC0: .ascii "AEIOU\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, lr} ldrb r5, [r0] @ zero_extendqisi2 cmp r5, #0 beq .L1 mov r8, r0 bl strlen mvn r7, #1 add r4, r8, #1 add r6, r0, #1 sub r7, r7, r8 mov r5, #0 ldr r8, .L15 add r6, r4, r6, lsr #1 b .L3 .L5: ldrb r1, [r7, r4, lsl #1] @ zero_extendqisi2 mov r0, r8 bl strchr ldrb r3, [r4], #1 @ zero_extendqisi2 cmp r0, #0 addne r5, r5, #1 cmp r3, #0 beq .L1 .L3: cmp r4, r6 bne .L5 .L1: mov r0, r5 pop {r4, r5, r6, r7, r8, pc} .L16: .align 2 .L15: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .section .rodata .align 2 .LC0: .ascii "AEIOU\000" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {r4, fp, lr} add fp, sp, #8 sub sp, sp, #28 str r0, [fp, #-32] ldr r3, .L7 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-24] mov r3, #0 str r3, [fp, #-20] b .L2 .L5: ldr r3, [fp, #-20] lsl r3, r3, #1 mov r2, r3 ldr r3, [fp, #-32] add r3, r3, r2 ldrb r3, [r3] @ zero_extendqisi2 mov r1, r3 ldr r0, [fp, #-16] bl strchr mov r3, r0 cmp r3, #0 beq .L3 ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L3: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L2: ldr r3, [fp, #-20] ldr r2, [fp, #-32] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 beq .L4 ldr r3, [fp, #-20] lsl r3, r3, #1 mov r4, r3 ldr r0, [fp, #-32] bl strlen mov r3, r0 cmp r4, r3 bcc .L5 .L4: ldr r3, [fp, #-24] mov r0, r3 sub sp, fp, #8 @ sp needed pop {r4, fp, pc} .L8: .align 2 .L7: .word .LC0 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem12/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} mov r5, r1 mov r4, r0 bl strlen mov r6, r0 mov r0, r5 bl strlen cmp r6, r0 movge r6, r0 add r0, r6, #1 bl malloc cmp r0, #0 popeq {r4, r5, r6, pc} cmp r6, #0 beq .L3 sub r2, r4, #1 sub r1, r5, #1 add r4, r2, r6 sub ip, r0, #1 .L5: ldrb r3, [r2, #1]! @ zero_extendqisi2 ldrb lr, [r1, #1]! @ zero_extendqisi2 cmp r3, lr moveq r3, #48 movne r3, #49 cmp r2, r4 strb r3, [ip, #1]! bne .L5 .L3: mov r3, #0 strb r3, [r0, r6] pop {r4, r5, r6, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #32 str r0, [fp, #-32] str r1, [fp, #-36] ldr r0, [fp, #-32] bl strlen mov r3, r0 str r3, [fp, #-20] ldr r0, [fp, #-36] bl strlen mov r3, r0 str r3, [fp, #-16] ldr r2, [fp, #-16] ldr r3, [fp, #-20] cmp r2, r3 movlt r3, r2 movge r3, r3 str r3, [fp, #-12] ldr r3, [fp, #-12] add r3, r3, #1 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-8] cmp r3, #0 bne .L2 mov r3, #0 b .L3 .L2: mov r3, #0 str r3, [fp, #-24] b .L4 .L7: ldr r3, [fp, #-24] ldr r2, [fp, #-32] add r3, r2, r3 ldrb r2, [r3] @ zero_extendqisi2 ldr r3, [fp, #-24] ldr r1, [fp, #-36] add r3, r1, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r2, r3 bne .L5 mov r1, #48 b .L6 .L5: mov r1, #49 .L6: ldr r3, [fp, #-24] ldr r2, [fp, #-8] add r3, r2, r3 mov r2, r1 strb r2, [r3] ldr r3, [fp, #-24] add r3, r3, #1 str r3, [fp, #-24] .L4: ldr r2, [fp, #-24] ldr r3, [fp, #-12] cmp r2, r3 blt .L7 ldr r3, [fp, #-12] ldr r2, [fp, #-8] add r3, r2, r3 mov r2, #0 strb r2, [r3] ldr r3, [fp, #-8] .L3: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem155/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, lr} mov r9, r0 mov r0, r1 mov r7, r1 bl strlen mov r5, r0 lsl r0, r0, #1 add r0, r0, #1 bl malloc cmp r5, #0 movne r4, #0 mov r6, r0 movne r10, r4 addne r8, r0, r5 bne .L5 b .L6 .L4: cmp r5, r4 beq .L6 .L5: sub r2, r5, r4 add r1, r7, r4 mov r0, r6 bl strncpy mov r2, r4 mov r1, r7 sub r0, r8, r4 bl strncpy mov r1, r6 mov r0, r9 strb r10, [r8] bl strstr cmp r0, #0 add r4, r4, #1 beq .L4 mov r0, r6 bl free mov r0, #1 pop {r4, r5, r6, r7, r8, r9, r10, pc} .L6: mov r0, r6 bl free mov r0, #0 pop {r4, r5, r6, r7, r8, r9, r10, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 24 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #24 str r0, [fp, #-24] str r1, [fp, #-28] ldr r0, [fp, #-24] bl strlen mov r3, r0 str r3, [fp, #-16] ldr r0, [fp, #-28] bl strlen mov r3, r0 str r3, [fp, #-12] ldr r3, [fp, #-12] lsl r3, r3, #1 add r3, r3, #1 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] mov r3, #0 str r3, [fp, #-20] b .L2 .L5: ldr r3, [fp, #-20] ldr r2, [fp, #-28] add r1, r2, r3 ldr r2, [fp, #-12] ldr r3, [fp, #-20] sub r3, r2, r3 mov r2, r3 ldr r0, [fp, #-8] bl strncpy ldr r2, [fp, #-12] ldr r3, [fp, #-20] sub r3, r2, r3 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [fp, #-20] ldr r1, [fp, #-28] mov r0, r3 bl strncpy ldr r3, [fp, #-12] ldr r2, [fp, #-8] add r3, r2, r3 mov r2, #0 strb r2, [r3] ldr r1, [fp, #-8] ldr r0, [fp, #-24] bl strstr mov r3, r0 cmp r3, #0 beq .L3 ldr r0, [fp, #-8] bl free mov r3, #1 b .L4 .L3: ldr r3, [fp, #-20] add r3, r3, #1 str r3, [fp, #-20] .L2: ldr r2, [fp, #-20] ldr r3, [fp, #-12] cmp r2, r3 blt .L5 ldr r0, [fp, #-8] bl free mov r3, #0 .L4: mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem67/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldrb r3, [r0] @ zero_extendqisi2 mov r2, r0 cmp r3, #0 beq .L5 mov r0, #0 .L4: sub r1, r3, #65 cmp r1, #25 addls r0, r0, r3 ldrb r3, [r2, #1]! @ zero_extendqisi2 cmp r3, #0 bne .L4 bx lr .L5: mov r0, r3 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L4: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #64 bls .L3 ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #90 bhi .L3 ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 mov r2, r3 ldr r3, [fp, #-12] add r3, r3, r2 str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L4 ldr r3, [fp, #-12] mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem57/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. ldrb r3, [r0] @ zero_extendqisi2 cmp r3, #0 beq .L7 mov r2, #0 b .L6 .L4: ldrb r3, [r0, #1]! @ zero_extendqisi2 cmp r3, #0 beq .L11 .L6: cmp r3, #60 addeq r2, r2, #1 beq .L4 cmp r3, #62 bne .L4 subs r2, r2, #1 bcs .L4 mov r0, #0 bx lr .L11: clz r0, r2 lsr r0, r0, #5 bx lr .L7: mov r0, #1 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 str r0, [fp, #-16] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L7: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #60 bne .L3 ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L3: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #62 bne .L4 ldr r3, [fp, #-12] sub r3, r3, #1 str r3, [fp, #-12] .L4: ldr r3, [fp, #-12] cmp r3, #0 bge .L5 mov r3, #0 b .L6 .L5: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r3, [fp, #-8] ldr r2, [fp, #-16] add r3, r2, r3 ldrb r3, [r3] @ zero_extendqisi2 cmp r3, #0 bne .L7 ldr r3, [fp, #-12] cmp r3, #0 beq .L8 mov r3, #0 b .L6 .L8: mov r3, #1 .L6: mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem101/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, lr} lsl r5, r0, #2 mov r4, r0 mov r0, r5 bl malloc cmp r4, #1 str r4, [r0] pople {r4, r5, r6, pc} mov r3, r0 sub r2, r5, #4 add r2, r2, r0 .L3: add r4, r4, #2 str r4, [r3, #4]! cmp r3, r2 bne .L3 pop {r4, r5, r6, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 push {fp, lr} add fp, sp, #4 sub sp, sp, #16 str r0, [fp, #-16] ldr r3, [fp, #-16] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-8] ldr r3, [fp, #-8] ldr r2, [fp, #-16] str r2, [r3] mov r3, #1 str r3, [fp, #-12] b .L2 .L3: ldr r3, [fp, #-12] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-8] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-12] lsl r3, r3, #2 ldr r1, [fp, #-8] add r3, r1, r3 add r2, r2, #2 str r2, [r3] ldr r3, [fp, #-12] add r3, r3, #1 str r3, [fp, #-12] .L2: ldr r2, [fp, #-12] ldr r3, [fp, #-16] cmp r2, r3 blt .L3 ldr r3, [fp, #-8] mov r0, r3 sub sp, fp, #4 @ sp needed pop {fp, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem54/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. add r0, r0, r1 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 8 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #12 str r0, [fp, #-8] str r1, [fp, #-12] ldr r2, [fp, #-8] ldr r3, [fp, #-12] add r3, r2, r3 mov r0, r3 add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem148/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 0, uses_anonymous_args = 0 push {r4, r5, r6, r7, r8, r9, r10, fp, lr} lsl r9, r0, #2 sub sp, sp, #36 mov r5, r0 str r0, [sp, #28] mov r0, r9 bl malloc mov r3, r0 add r4, r9, #4 mov r0, r4 str r3, [sp, #16] bl malloc mov r3, r0 mov r0, r4 str r3, [sp, #8] bl malloc cmp r5, #0 str r0, [sp, #4] blt .L30 ldr r3, [sp, #8] ldr r2, [sp, #4] sub r4, r3, #4 sub r5, r2, #4 add r6, r3, r9 .L6: mov r1, #4 mov r0, #3 bl calloc mov r3, r0 mov r1, #4 str r3, [r4, #4]! mov r0, #3 bl calloc cmp r4, r6 str r0, [r5, #4]! bne .L6 mov r3, #0 ldr r4, [sp, #8] ldr r2, [sp, #4] ldr r1, [sp, #28] ldr r2, [r2] ldr r0, [r4] cmp r1, r3 str r2, [sp, #20] str r3, [r0, #8] str r3, [r0, #4] str r3, [r0] str r3, [r2, #8] str r3, [r2, #4] str r3, [r2] ble .L8 ldr r3, [sp, #16] add r7, r1, #1 sub r5, r3, #4 mov r1, #1 mov r3, r0 ldr r6, .L33 .L5: mov ip, r3 sub r2, r1, #1 mul r2, r1, r2 add r2, r2, #1 umull r3, lr, r6, r2 bic r3, lr, #1 add r3, r3, lr, lsr #1 sub r2, r2, r3 str r2, [r5, #4]! ldr lr, [ip] ldr r3, [r4, #4]! add r1, r1, #1 str lr, [r3] ldr lr, [ip, #4] cmp r1, r7 str lr, [r3, #4] ldr ip, [ip, #8] str ip, [r3, #8] ldr ip, [r3, r2, lsl #2] add ip, ip, #1 str ip, [r3, r2, lsl #2] bne .L5 .L8: ldr r3, [sp, #4] mov r7, #0 add r9, r9, r3 mov r3, #2 ldr r8, .L33+4 ldr fp, [sp, #28] str r3, [sp, #24] str r0, [sp, #12] .L9: cmp fp, #0 ble .L17 ldmib sp, {r5, r10, lr} mov ip, lr ldr r3, [sp, #16] sub r6, r3, #4 ldr r3, [sp, #20] .L13: ldr r0, [r3] ldr r1, [r5, #4]! ldr r2, [r6, #4]! str r0, [r1] ldr r0, [r3, #4] str r0, [r1, #4] ldr r3, [r3, #8] sub r0, ip, #4 str r3, [r1, #8] add ip, ip, #8 .L10: smull lr, r3, r8, r2 sub r3, r3, r2, asr #31 add r3, r3, r3, lsl #1 sub r3, r2, r3 ldr lr, [r1, r3, lsl #2] ldr r4, [r0, #4]! add r2, r2, #1 add lr, lr, r4 cmp r0, ip str lr, [r1, r3, lsl #2] bne .L10 cmp r9, r5 beq .L14 mov r3, r1 ldr ip, [r10, #4]! b .L13 .L17: bne .L15 .L14: mov r1, #0 ldr r4, [sp, #8] ldr lr, [sp, #4] ldr r2, [sp, #12] ldr r3, [sp, #20] b .L12 .L31: ldr r3, [lr, #4]! ldr r2, [r4, #4]! .L12: ldm r3, {r0, ip} add r1, r1, #1 str r0, [r2] ldr r0, [r3, #8] cmp fp, r1 str r7, [r3] str ip, [r2, #4] str r7, [r3, #4] str r0, [r2, #8] str r7, [r3, #8] bge .L31 .L15: ldr r3, [sp, #24] cmp r3, #1 movne r3, #1 strne r3, [sp, #24] bne .L9 .L16: ldr r2, [sp, #28] ldr r5, [sp, #8] cmp r2, #0 ldr r3, [r5, r2, lsl #2] ldr r0, [sp, #12] ldr r6, [r3] blt .L18 ldr r3, [sp, #4] sub r4, r3, #4 b .L19 .L32: ldr r0, [r5, #4]! .L19: bl free ldr r0, [r4, #4]! bl free cmp r9, r4 bne .L32 .L18: ldr r0, [sp, #8] bl free ldr r0, [sp, #4] bl free ldr r0, [sp, #16] bl free mov r0, r6 add sp, sp, #36 @ sp needed pop {r4, r5, r6, r7, r8, r9, r10, fp, pc} .L30: mov r3, #0 ldr r2, [sp, #8] ldr r0, [r2] ldr r2, [sp, #4] str r3, [r0, #8] ldr r2, [r2] str r3, [r0, #4] str r2, [sp, #20] str r3, [r0] str r3, [r2, #8] str r3, [r2, #4] str r3, [r2] b .L8 .L34: .align 2 .L33: .word -1431655765 .word 1431655766 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 64 @ frame_needed = 1, uses_anonymous_args = 0 push {r4, fp, lr} add fp, sp, #8 sub sp, sp, #68 str r0, [fp, #-72] ldr r3, [fp, #-72] lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-28] ldr r3, [fp, #-72] add r3, r3, #1 lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-24] ldr r3, [fp, #-72] add r3, r3, #1 lsl r3, r3, #2 mov r0, r3 bl malloc mov r3, r0 str r3, [fp, #-20] mov r3, #0 str r3, [fp, #-68] b .L2 .L3: ldr r3, [fp, #-68] lsl r3, r3, #2 ldr r2, [fp, #-24] add r4, r2, r3 mov r1, #4 mov r0, #3 bl calloc mov r3, r0 str r3, [r4] ldr r3, [fp, #-68] lsl r3, r3, #2 ldr r2, [fp, #-20] add r4, r2, r3 mov r1, #4 mov r0, #3 bl calloc mov r3, r0 str r3, [r4] ldr r3, [fp, #-68] add r3, r3, #1 str r3, [fp, #-68] .L2: ldr r2, [fp, #-68] ldr r3, [fp, #-72] cmp r2, r3 ble .L3 ldr r3, [fp, #-24] ldr r3, [r3] add r2, r3, #8 mov r3, #0 str r3, [r2] ldr r3, [fp, #-24] ldr r3, [r3] add r3, r3, #4 ldr r2, [r2] str r2, [r3] ldr r2, [fp, #-24] ldr r2, [r2] ldr r3, [r3] str r3, [r2] ldr r3, [fp, #-20] ldr r3, [r3] add r2, r3, #8 mov r3, #0 str r3, [r2] ldr r3, [fp, #-20] ldr r3, [r3] add r3, r3, #4 ldr r2, [r2] str r2, [r3] ldr r2, [fp, #-20] ldr r2, [r2] ldr r3, [r3] str r3, [r2] mov r3, #1 str r3, [fp, #-64] b .L4 .L7: ldr r3, [fp, #-64] mul r2, r3, r3 ldr r3, [fp, #-64] sub r3, r2, r3 add r1, r3, #1 ldr r3, [fp, #-64] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-28] add r0, r2, r3 ldr r3, .L24 smull ip, r2, r3, r1 asr r3, r1, #31 sub r2, r2, r3 mov r3, r2 lsl r3, r3, #1 add r3, r3, r2 sub r2, r1, r3 str r2, [r0] mov r3, #0 str r3, [fp, #-60] b .L5 .L6: ldr r3, [fp, #-64] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-60] lsl r3, r3, #2 add r2, r2, r3 ldr r3, [fp, #-64] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 ldr r1, [r3] ldr r3, [fp, #-60] lsl r3, r3, #2 add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-60] add r3, r3, #1 str r3, [fp, #-60] .L5: ldr r3, [fp, #-60] cmp r3, #2 ble .L6 ldr r3, [fp, #-64] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-64] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r1, [fp, #-28] add r3, r1, r3 ldr r3, [r3] lsl r3, r3, #2 add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-64] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 ldr r1, [r3] ldr r3, [fp, #-64] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r0, [fp, #-28] add r3, r0, r3 ldr r3, [r3] lsl r3, r3, #2 add r3, r1, r3 add r2, r2, #1 str r2, [r3] ldr r3, [fp, #-64] add r3, r3, #1 str r3, [fp, #-64] .L4: ldr r2, [fp, #-64] ldr r3, [fp, #-72] cmp r2, r3 ble .L7 mov r3, #1 str r3, [fp, #-56] b .L8 .L20: mov r3, #1 str r3, [fp, #-52] b .L9 .L15: mov r3, #0 str r3, [fp, #-48] b .L10 .L11: ldr r3, [fp, #-52] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-48] lsl r3, r3, #2 add r2, r2, r3 ldr r3, [fp, #-52] lsl r3, r3, #2 ldr r1, [fp, #-20] add r3, r1, r3 ldr r1, [r3] ldr r3, [fp, #-48] lsl r3, r3, #2 add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-48] add r3, r3, #1 str r3, [fp, #-48] .L10: ldr r3, [fp, #-48] cmp r3, #2 ble .L11 ldr r3, [fp, #-52] cmp r3, #0 ble .L12 mov r3, #0 str r3, [fp, #-44] b .L13 .L14: ldr r3, [fp, #-52] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r0, [r3] ldr r3, [fp, #-52] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-28] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-44] add r2, r2, r3 ldr r3, .L24 smull ip, r1, r3, r2 asr r3, r2, #31 sub r1, r1, r3 mov r3, r1 lsl r3, r3, #1 add r3, r3, r1 sub r1, r2, r3 mov r3, r1 lsl r3, r3, #2 add r3, r0, r3 ldr r0, [r3] ldr r3, [fp, #-52] sub r3, r3, #-1073741823 lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-44] lsl r3, r3, #2 add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-52] lsl r3, r3, #2 ldr ip, [fp, #-20] add r3, ip, r3 ldr ip, [r3] mov r3, r1 lsl r3, r3, #2 add r3, ip, r3 add r2, r0, r2 str r2, [r3] ldr r3, [fp, #-44] add r3, r3, #1 str r3, [fp, #-44] .L13: ldr r3, [fp, #-44] cmp r3, #2 ble .L14 .L12: ldr r3, [fp, #-52] add r3, r3, #1 str r3, [fp, #-52] .L9: ldr r2, [fp, #-52] ldr r3, [fp, #-72] cmp r2, r3 ble .L15 mov r3, #0 str r3, [fp, #-40] b .L16 .L19: mov r3, #0 str r3, [fp, #-36] b .L17 .L18: ldr r3, [fp, #-40] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-36] lsl r3, r3, #2 add r2, r2, r3 ldr r3, [fp, #-40] lsl r3, r3, #2 ldr r1, [fp, #-24] add r3, r1, r3 ldr r1, [r3] ldr r3, [fp, #-36] lsl r3, r3, #2 add r3, r1, r3 ldr r2, [r2] str r2, [r3] ldr r3, [fp, #-40] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r2, [r3] ldr r3, [fp, #-36] lsl r3, r3, #2 add r3, r2, r3 mov r2, #0 str r2, [r3] ldr r3, [fp, #-36] add r3, r3, #1 str r3, [fp, #-36] .L17: ldr r3, [fp, #-36] cmp r3, #2 ble .L18 ldr r3, [fp, #-40] add r3, r3, #1 str r3, [fp, #-40] .L16: ldr r2, [fp, #-40] ldr r3, [fp, #-72] cmp r2, r3 ble .L19 ldr r3, [fp, #-56] add r3, r3, #1 str r3, [fp, #-56] .L8: ldr r3, [fp, #-56] cmp r3, #2 ble .L20 ldr r3, [fp, #-72] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] ldr r3, [r3] str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-32] b .L21 .L22: ldr r3, [fp, #-32] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] mov r0, r3 bl free ldr r3, [fp, #-32] lsl r3, r3, #2 ldr r2, [fp, #-20] add r3, r2, r3 ldr r3, [r3] mov r0, r3 bl free ldr r3, [fp, #-32] add r3, r3, #1 str r3, [fp, #-32] .L21: ldr r2, [fp, #-32] ldr r3, [fp, #-72] cmp r2, r3 ble .L22 ldr r0, [fp, #-24] bl free ldr r0, [fp, #-20] bl free ldr r0, [fp, #-28] bl free ldr r3, [fp, #-16] mov r0, r3 sub sp, fp, #8 @ sp needed pop {r4, fp, pc} .L25: .align 2 .L24: .word 1431655766 .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
eval/problem137/code.c
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 2 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 mov ip, #0 cmp r1, #0 push {r4, lr} mov lr, ip ble .L2 sub r0, r0, #4 add r4, r0, r1, lsl #2 b .L5 .L3: beq .L4 cmp r3, ip movge r1, #0 movlt r1, #1 cmp ip, #0 moveq r1, #1 cmp r1, #0 movne ip, r3 .L4: cmp r4, r0 beq .L2 .L5: ldr r3, [r0, #4]! cmp r3, #0 bge .L3 clz r1, lr lsr r1, r1, #5 cmp r3, lr orrgt r1, r1, #1 cmp r1, #0 movne lr, r3 cmp r4, r0 bne .L5 .L2: str lr, [r2] str ip, [r2, #4] pop {r4, pc} .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits
.arch armv5t .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .file "code.c" .text .align 2 .global func0 .syntax unified .arm .fpu softvfp .type func0, %function func0: @ args = 0, pretend = 0, frame = 32 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #36 str r0, [fp, #-24] str r1, [fp, #-28] str r2, [fp, #-32] mov r3, #0 str r3, [fp, #-16] mov r3, #0 str r3, [fp, #-12] mov r3, #0 str r3, [fp, #-8] b .L2 .L7: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] cmp r3, #0 bge .L3 ldr r3, [fp, #-16] cmp r3, #0 beq .L4 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-16] cmp r2, r3 bge .L3 .L4: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-16] .L3: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] cmp r3, #0 ble .L5 ldr r3, [fp, #-12] cmp r3, #0 beq .L6 ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] ldr r2, [fp, #-12] cmp r2, r3 ble .L5 .L6: ldr r3, [fp, #-8] lsl r3, r3, #2 ldr r2, [fp, #-24] add r3, r2, r3 ldr r3, [r3] str r3, [fp, #-12] .L5: ldr r3, [fp, #-8] add r3, r3, #1 str r3, [fp, #-8] .L2: ldr r2, [fp, #-8] ldr r3, [fp, #-28] cmp r2, r3 blt .L7 ldr r3, [fp, #-32] ldr r2, [fp, #-16] str r2, [r3] ldr r3, [fp, #-32] add r3, r3, #4 ldr r2, [fp, #-12] str r2, [r3] nop add sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size func0, .-func0 .ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0" .section .note.GNU-stack,"",%progbits

Dataset Card for "asm_arm_O2_arm_O0_bench"

More Information needed

Downloads last month
0