task_name
stringlengths
8
10
source_code
stringlengths
58
1.86k
compiler_asm
stringlengths
391
9.46k
object_asm
stringlengths
365
18.3k
shared_asm
stringlengths
3.88k
22.8k
program_asm
stringlengths
4.91k
26.3k
problem17
#include <stdio.h> #include <string.h> #include <ctype.h> int func0(const char *str) { int count = 0; int char_map[256] = {0}; int index; for (index = 0; str[index]; index++) { char ch = tolower((unsigned char)str[index]); if (char_map[ch] == 0 && isalpha((unsigned char)ch)) { ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -16]! .cfi_def_cfa_offset 16 .cfi_offset 29, -16 .cfi_offset 30, -8 mov x29, sp sub sp, sp, #1072 .cfi_def_cfa_offset 1088 str xzr, [sp, 1024] str x0, [sp, 8] adrp x0, :got...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/000_problem17/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bf7bfd stp x29, x30, [sp, #-16]! 4: 910003fd mov x29, sp 8: d110c3ff sub sp, sp, #0x430 c: f90203ff str xzr, [sp, #1024] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/000_problem17/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005c0 <_init>: 5c0: d503201f nop 5c4: a9bf7bfd stp x29, x30, [sp, #-16]! 5c8: 910003fd mov x29, sp 5cc: 94000025 bl 660 <call_weak_fn> 5d0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/000_problem17/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006f0 <_init>: 6f0: d503201f nop 6f4: a9bf7bfd stp x29, x30, [sp, #-16]! 6f8: 910003fd mov x29, sp 6fc: 9400003e bl 7f4 <call_weak_fn> 700: a8...
problem81
#include <string.h> #include <stdbool.h> bool func0(const char* s) { if (strlen(s) < 3) return false; for (int i = 2; i < strlen(s); i++) if (s[i] == s[i-1] || s[i] == s[i-2]) return false; return true; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -48 str x0, [sp, 40] ldr x0, [sp, 40] bl strlen cmp x0, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/001_problem81/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/001_problem81/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/001_problem81/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem118
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> char **func0(const char *s, int n, int *returnSize) { const char *vowels = "aeiouAEIOU"; char **out = NULL; int numc = 0, word_count = 0, begin = 0; size_t length = strlen(s); char *current = (char *)malloc(length + 1); ...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "aeiouAEIOU" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -112]! .cfi_def_cfa_offset 112 .cfi_offset 29, -112 .cfi_offset 30, -104 mov x29, sp str x19, [sp, 16] .cfi_offs...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/002_problem118/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9b97bfd stp x29, x30, [sp, #-112]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f9001fe0 str x0, [sp, #56] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/002_problem118/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005e8 <_init>: 5e8: d503201f nop 5ec: a9bf7bfd stp x29, x30, [sp, #-16]! 5f0: 910003fd mov x29, sp 5f4: 9400002f bl 6b0 <call_weak_fn> 5f8: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/002_problem118/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000718 <_init>: 718: d503201f nop 71c: a9bf7bfd stp x29, x30, [sp, #-16]! 720: 910003fd mov x29, sp 724: 94000044 bl 834 <call_weak_fn> 728: a...
problem41
#include <stdio.h> #include <stdbool.h> bool func0(int *l, int size) { for (int i = 0; i < size; i++) for (int j = i + 1; j < size; j++) for (int k = j + 1; k < size; k++) if (l[i] + l[j] + l[k] == 0) return true; return false; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 20] b .L2 .L9: ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 24] b .L3 .L8: ldr w0, [sp, 24] add w0, w0, 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/003_problem41/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90017ff str wzr, [sp, #20] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/003_problem41/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/003_problem41/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem15
#include <stdio.h> #include <stdlib.h> #include <string.h> char **func0(const char *str, int *count) { int len = strlen(str); char **out = malloc(len * sizeof(char *)); char *current = malloc(len + 1); current[0] = '\0'; for (int i = 0; i < len; ++i) { size_t current_len = strlen(curr...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -64 str x0, [sp, 40] str x1, [sp, 32] ldr x0, [sp, 40] b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/004_problem15/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/004_problem15/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000570 <_init>: 570: d503201f nop 574: a9bf7bfd stp x29, x30, [sp, #-16]! 578: 910003fd mov x29, sp 57c: 94000029 bl 620 <call_weak_fn> 580: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/004_problem15/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006a0 <_init>: 6a0: d503201f nop 6a4: a9bf7bfd stp x29, x30, [sp, #-16]! 6a8: 910003fd mov x29, sp 6ac: 94000042 bl 7b4 <call_weak_fn> 6b0: a8...
problem9
#include <stdio.h> void func0(int *numbers, int size, int *result) { int sum = 0, product = 1; for (int i = 0; i < size; i++) { sum += numbers[i]; product *= numbers[i]; } result[0] = sum; result[1] = product; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] str wzr, [sp, 36] mov w0, 1 str w0, [sp, 40] str wzr, [sp, 44] b .L2 .L3: ldrsw x0, [sp, 44] lsl x0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/005_problem9/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: b9...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/005_problem9/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/005_problem9/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8c...
problem65
#include <stdio.h> #include <string.h> #include <ctype.h> int func0(const char *s) { const char *vowels = "aeiouAEIOU"; int count = 0; int length = strlen(s); for (int i = 0; i < length; i++) { if (strchr(vowels, s[i])) { count++; } } if (length > 0 && (s[l...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "aeiouAEIOU" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, .LC0 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/006_problem65/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: 90000000 adrp x0, 0 <func0> 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/006_problem65/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/006_problem65/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8...
problem57
#include <stdio.h> #include <stdbool.h> #include <string.h> bool func0(const char *brackets) { int level = 0; int i = 0; while (brackets[i]) { if (brackets[i] == '<') level++; if (brackets[i] == '>') level--; if (level < 0) return false; i++; } if (level != 0) return...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L7: ldrsw x0, [sp, 28] ldr x1, [sp, 8] add x0, x1, x0 ldrb w0, [x0] cmp w0, 60 bne .L3 ldr...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/007_problem57/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b9001bff str wzr, [sp, #24] c: b9001fff str wzr, [sp, #28] 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/007_problem57/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/007_problem57/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem33
#include <stdio.h> #include <math.h> double func0(const double *xs, int size) { double ans = 0.0; double value, driv, x_pow; int i; value = xs[0]; for (i = 1; i < size; i++) { x_pow = 1.0; for (int j = 0; j < i; j++) { x_pow *= ans; } value += xs[i] * x_...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 8] str w1, [sp, 4] str xzr, [sp, 32] ldr x0, [sp, 8] ldr d0, [x0] str d0, [sp, 40] mov w0, 1 str w0, [sp, 16] b .L2 .L5: fmov d0, 1.0e+0 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/008_problem33/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10103ff sub sp, sp, #0x40 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: f90013ff str xzr, [sp, #32] 10: f...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/008_problem33/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/008_problem33/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem48
#include <stdio.h> #include <math.h> #include <stdlib.h> float func0(float *l, int size) { for (int i = 0; i < size; i++) { for (int j = i + 1; j < size; j++) { if (l[i] > l[j]) { float temp = l[i]; l[i] = l[j]; l[j] = temp; } ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 20] b .L2 .L7: ldr w0, [sp, 20] add w0, w0, 1 str w0, [sp, 24] b .L3 .L6: ldrsw x0, [sp, 20] lsl x0, x0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/009_problem48/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90017ff str wzr, [sp, #20] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/009_problem48/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/009_problem48/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem145
#include <stdio.h> #include <stdlib.h> int func0(const char* x, const char* n){ int a, b, c, d, i, j; char num[101], den[101]; for (i = 0; x[i] != '/'; i++) { num[i] = x[i]; } num[i] = '\0'; a = atoi(num); for (j = 0, i = i + 1; x[i] != '\0'; i++, j++) { den[j] = x[i]; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #272 .cfi_def_cfa_offset 272 stp x29, x30, [sp, 256] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 256 str x0, [sp, 8] str x1, [sp] adrp x0, :got:__stack_chk_guard ldr x0, [...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/010_problem145/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10443ff sub sp, sp, #0x110 4: a9107bfd stp x29, x30, [sp, #256] 8: 910403fd add x29, sp, #0x100 c: f90007e0 str x0, [sp, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/010_problem145/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000548 <_init>: 548: d503201f nop 54c: a9bf7bfd stp x29, x30, [sp, #-16]! 550: 910003fd mov x29, sp 554: 9400001b bl 5c0 <call_weak_fn> 558: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/010_problem145/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000678 <_init>: 678: d503201f nop 67c: a9bf7bfd stp x29, x30, [sp, #-16]! 680: 910003fd mov x29, sp 684: 9400003c bl 774 <call_weak_fn> 688: a...
problem117
#include <stdio.h> #include <stdlib.h> void func0(int *arr, int size) { int count_ones, x, y, temp; for (int i = 0; i < size; i++) { for (int j = i + 1; j < size; j++) { count_ones = 0; x = arr[i]; y = arr[j]; while (x > 0) { count_ones +=...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 36] b .L2 .L11: ldr w0, [sp, 36] add w0, w0, 1 str w0, [sp, 40] b .L3 .L10: str wzr, [sp, 24] ldrsw x0, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/011_problem117/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90027ff str wzr, [sp, #36] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/011_problem117/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/011_problem117/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem71
#include <stdio.h> #include <stdlib.h> void func0(int *lst, int size, int *out) { for (int i = 0; i < size - 1; i++) { for (int j = i + 1; j < size; j++) { if (lst[i] > lst[j]) { int temp = lst[i]; lst[i] = lst[j]; lst[j] = temp; } ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] str wzr, [sp, 40] b .L2 .L6: ldr w0, [sp, 40] add w0, w0, 1 str w0, [sp, 44] b .L3 .L5: ldrsw x0, [s...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/012_problem71/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10103ff sub sp, sp, #0x40 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/012_problem71/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/012_problem71/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem125
#include <stdio.h> #include <string.h> #include <stdlib.h> int func0(const char *date) { int mm, dd, yy; if (strlen(date) != 10) return 0; for (int i = 0; i < 10; i++) { if (i == 2 || i == 5) { if (date[i] != '-') return 0; } else { if (date[i] < '0' || date[i] > '9...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, 64] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 64 str x0, [sp, 8] adrp x0, :got:__stack_chk_guard ldr x0, [x0, :got_lo12:__st...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/013_problem125/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10143ff sub sp, sp, #0x50 4: a9047bfd stp x29, x30, [sp, #64] 8: 910103fd add x29, sp, #0x40 c: f90007e0 str x0, [sp, #8]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/013_problem125/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 94000021 bl 610 <call_weak_fn> 590: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/013_problem125/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006b0 <_init>: 6b0: d503201f nop 6b4: a9bf7bfd stp x29, x30, [sp, #-16]! 6b8: 910003fd mov x29, sp 6bc: 9400003e bl 7b4 <call_weak_fn> 6c0: a...
problem54
#include <stdio.h> int func0(int x, int y) { return x + y; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] str w1, [sp, 8] ldr w1, [sp, 12] ldr w0, [sp, 8] add w0, w1, w0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .LFE0: .size fu...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/014_problem54/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10043ff sub sp, sp, #0x10 4: b9000fe0 str w0, [sp, #12] 8: b9000be1 str w1, [sp, #8] c: b9400fe1 ldr w1, [sp, #12] 10: b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/014_problem54/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/014_problem54/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem26
#include <stdio.h> #include <stdlib.h> int* func0(int n, int* size) { int* out = malloc(sizeof(int) * 64); *size = 0; for (int i = 2; i * i <= n; i++) { while (n % i == 0) { n = n / i; out[(*size)++] = i; } } if (n > 1) { out[(*size)++] = n; } ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] mov x0, 256 bl malloc str x0, [sp, 40] ldr x0, [sp, 16] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/015_problem26/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: b9001fe0 str w0, [sp, #28] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/015_problem26/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/015_problem26/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem109
#include <stdio.h> #include <stdlib.h> int func0(int *n, int size) { int num = 0; for (int i = 0; i < size; i++) { if (n[i] > 0) { num += 1; } else { int sum = 0; int w = abs(n[i]); while (w >= 10) { sum += w % 10; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 16] str wzr, [sp, 20] b .L2 .L7: ldrsw x0, [sp, 20] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/016_problem109/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90013ff str wzr, [sp, #16] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/016_problem109/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/016_problem109/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem82
#include <stdio.h> #include <stdlib.h> char** func0(float* grades, int size) { char** out = malloc(size * sizeof(char*)); for (int i = 0; i < size; ++i) { if (grades[i] >= 3.9999) out[i] = "A+"; else if (grades[i] > 3.7001) out[i] = "A"; else if (grades[i] > 3.3001) out[i] = "A-"; ...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "A+" .align 3 .LC1: .string "A" .align 3 .LC2: .string "A-" .align 3 .LC3: .string "B+" .align 3 .LC4: .string "B" .align 3 .LC5: .string "B-" .align 3 .LC6: .string "C+" .align 3 .LC7: .string "C" .align 3 .LC8: .string ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/017_problem82/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: b90017e1 str w1, [sp, #20] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/017_problem82/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/017_problem82/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem37
#include <stdio.h> int func0(int n) { int count = 0; for (int i = 0; i < n; i++) if (i % 11 == 0 || i % 13 == 0) { int q = i; while (q > 0) { if (q % 10 == 7) count += 1; q = q / 10; } } return count; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str wzr, [sp, 20] str wzr, [sp, 24] b .L2 .L8: ldr w1, [sp, 24] mov w0, 41705 movk w0, 0x2e8b, lsl 16 smull x0, w1, w0 lsr x0, x0, 32 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/018_problem37/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b90017ff str wzr, [sp, #20] c: b9001bff str wzr, [sp, #24] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/018_problem37/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/018_problem37/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem140
#include <stdio.h> long long func0(int n) { long long fact = 1, bfact = 1; for (int i = 1; i <= n; i++) { fact = fact * i; bfact = bfact * fact; } return bfact; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str w0, [sp, 12] mov x0, 1 str x0, [sp, 32] mov x0, 1 str x0, [sp, 40] mov w0, 1 str w0, [sp, 28] b .L2 .L3: ldrsw x0, [sp, 28] ldr x1, [sp, 32] mul ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/019_problem140/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: b9000fe0 str w0, [sp, #12] 8: d2800020 mov x0, #0x1 // #1 c: f90013e0 str...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/019_problem140/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/019_problem140/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem38
#include <stdio.h> #include <stdlib.h> #include <math.h> void func0(float *l, int size, float *out) { float *even = malloc((size / 2 + 1) * sizeof(float)); int i, j, even_count = 0; for (i = 0; i < size; i += 2) { even[even_count++] = l[i]; } for (i = 0; i < even_count - 1; i++) { ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldr w0, [sp, 36] lsr w1, w0, 31 add w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/020_problem38/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/020_problem38/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c0 <_init>: 4c0: d503201f nop 4c4: a9bf7bfd stp x29, x30, [sp, #-16]! 4c8: 910003fd mov x29, sp 4cc: 9400001d bl 540 <call_weak_fn> 4d0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/020_problem38/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f0 <_init>: 5f0: d503201f nop 5f4: a9bf7bfd stp x29, x30, [sp, #-16]! 5f8: 910003fd mov x29, sp 5fc: 9400003e bl 6f4 <call_weak_fn> 600: a8...
problem88
#include <stdio.h> #include <stdlib.h> int **func0(int **lst, int lst_size, int *row_sizes, int x, int *return_size) { int **out = (int **)malloc(100 * sizeof(int *)); int count = 0; for (int i = 0; i < lst_size; i++) { for (int j = row_sizes[i] - 1; j >= 0; j--) { if (lst[i][j] == x) {...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -80 str x0, [sp, 56] str w1, [sp, 52] str x2, [sp, 40] s...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/021_problem88/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9ba7bfd stp x29, x30, [sp, #-96]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f9001fe0 str x0, [sp, #56] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/021_problem88/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/021_problem88/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem28
#include <stdio.h> #include <string.h> void func0(const char* str, char* out) { int length = strlen(str); for (int i = 0; i < length; i++) { char w = str[i]; if (w >= 'a' && w <= 'z') { w -= 32; } else if (w >= 'A' && w <= 'Z') { w += 32; } out[i]...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 24] bl strlen str w0, [sp, 44] str wzr, [sp...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/022_problem28/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/022_problem28/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/022_problem28/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem155
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdbool.h> bool func0(const char *a, const char *b) { int len_a = strlen(a); int len_b = strlen(b); char *temp = (char *)malloc(2 * len_b + 1); for (int i = 0; i < len_b; i++) { strncpy(temp, b + i, len_b - i); strncp...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 24] bl strlen str w0, [sp, 48] ldr x0, [sp,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/023_problem155/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/023_problem155/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000570 <_init>: 570: d503201f nop 574: a9bf7bfd stp x29, x30, [sp, #-16]! 578: 910003fd mov x29, sp 57c: 94000029 bl 620 <call_weak_fn> 580: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/023_problem155/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006a0 <_init>: 6a0: d503201f nop 6a4: a9bf7bfd stp x29, x30, [sp, #-16]! 6a8: 910003fd mov x29, sp 6ac: 94000042 bl 7b4 <call_weak_fn> 6b0: a...
problem133
#include <stdio.h> #include <string.h> int func0(const char *str) { int count = 0, maxcount = 0; for (int i = 0; i < strlen(str); i++) { if (str[i] == '[') count += 1; if (str[i] == ']') count -= 1; if (count < 0) count = 0; if (count > maxcount) maxcount = count; if (co...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -48 str x0, [sp, 40] str wzr, [sp, 52] str wzr, [sp, 56] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/024_problem133/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/024_problem133/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/024_problem133/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a...
problem160
#include <stdio.h> void func0(int number, int need, int remaining, int result[2]) { if (need > remaining) { result[0] = number + remaining; result[1] = 0; } else { result[0] = number + need; result[1] = remaining - need; } }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 28] str w1, [sp, 24] str w2, [sp, 20] str x3, [sp, 8] ldr w1, [sp, 24] ldr w0, [sp, 20] cmp w1, w0 ble .L2 ldr w1, [sp, 28] ldr w0, [sp, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/025_problem160/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9001fe0 str w0, [sp, #28] 8: b9001be1 str w1, [sp, #24] c: b90017e2 str w2, [sp, #20] 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/025_problem160/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/025_problem160/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem31
#include <stdio.h> #include <stdlib.h> float* func0(const float* l, int count, int* out_count) { float* out = (float*)malloc(count * sizeof(float)); *out_count = 0; for (int i = 0; i < count; i++) { if (l[i] > 0) { out[(*out_count)++] = l[i]; } } return out; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldrsw x0, [sp, 36] lsl x0, x0, 2 bl mal...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/026_problem31/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/026_problem31/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/026_problem31/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem158
#include <stdio.h> #include <math.h> int func0(float a, float b, float c) { if (fabs(a*a + b*b - c*c) < 1e-4 || fabs(a*a + c*c - b*b) < 1e-4 || fabs(b*b + c*c - a*a) < 1e-4) return 1; return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str s0, [sp, 12] str s1, [sp, 8] str s2, [sp, 4] ldr s0, [sp, 12] fmul s1, s0, s0 ldr s0, [sp, 8] fmul s0, s0, s0 fadd s1, s1, s0 ldr s0, [sp, 4] fmul...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/027_problem158/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10043ff sub sp, sp, #0x10 4: bd000fe0 str s0, [sp, #12] 8: bd000be1 str s1, [sp, #8] c: bd0007e2 str s2, [sp, #4] 10: b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/027_problem158/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/027_problem158/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem68
#include <stdio.h> #include <stdlib.h> #include <ctype.h> int func0(const char *s, int n) { char num1[10] = ""; char num2[10] = ""; int is12 = 0, j = 0; for (int i = 0; s[i] != '\0'; i++) { if (isdigit(s[i])) { if (is12 == 0) { num1[j++] = s[i]; } else {...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, 80] .cfi_offset 29, -32 .cfi_offset 30, -24 add x29, sp, 80 str x19, [sp, 96] .cfi_offset 19, -16 str x0, [sp, 8] str w1, [sp, 4] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/028_problem68/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d101c3ff sub sp, sp, #0x70 4: a9057bfd stp x29, x30, [sp, #80] 8: 910143fd add x29, sp, #0x50 c: f90033f3 str x19, [sp, #96...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/028_problem68/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000588 <_init>: 588: d503201f nop 58c: a9bf7bfd stp x29, x30, [sp, #-16]! 590: 910003fd mov x29, sp 594: 9400001f bl 610 <call_weak_fn> 598: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/028_problem68/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006b8 <_init>: 6b8: d503201f nop 6bc: a9bf7bfd stp x29, x30, [sp, #-16]! 6c0: 910003fd mov x29, sp 6c4: 9400003c bl 7b4 <call_weak_fn> 6c8: a8...
problem2
#include <stdio.h> #include <stdlib.h> #include <string.h> char** func0(const char* paren_string, int* group_count) { int length = strlen(paren_string); int level = 0; int capacity = 10; char** groups = malloc(capacity * sizeof(char*)); char* buffer = malloc(length + 1); int buffer_index = 0; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -80 str x0, [sp, 40] str x1, [sp, 32] ldr x0, [sp, 40] b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/029_problem2/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9ba7bfd stp x29, x30, [sp, #-96]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/029_problem2/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000570 <_init>: 570: d503201f nop 574: a9bf7bfd stp x29, x30, [sp, #-16]! 578: 910003fd mov x29, sp 57c: 94000029 bl 620 <call_weak_fn> 580: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/029_problem2/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006a0 <_init>: 6a0: d503201f nop 6a4: a9bf7bfd stp x29, x30, [sp, #-16]! 6a8: 910003fd mov x29, sp 6ac: 94000042 bl 7b4 <call_weak_fn> 6b0: a8c...
problem69
#include <stdio.h> #include <limits.h> int *func0(int arr[], int length, int output[2]) { int smallestEven = INT_MAX; int index = -1; for (int i = 0; i < length; ++i) { if (arr[i] % 2 == 0 && (arr[i] < smallestEven || index == -1)) { smallestEven = arr[i]; index = i; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] mov w0, 2147483647 str w0, [sp, 36] mov w0, -1 str w0, [sp, 40] str wzr, [sp, 44] b .L2 .L5: ldrsw x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/030_problem69/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/030_problem69/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/030_problem69/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem45
#include <stdio.h> #include <stdlib.h> #include <string.h> void func0(int x, int base, char *out) { int index = 0; char temp[33]; while (x > 0) { temp[index++] = (x % base) + '0'; x = x / base; } int j = 0; while(index > 0) { out[j++] = temp[--index]; } out[j] = ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x29, x30, [sp, 80] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 80 str w0, [sp, 12] str w1, [sp, 8] str x2, [sp] adrp x0, :got:__stack_chk_gu...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/031_problem45/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10183ff sub sp, sp, #0x60 4: a9057bfd stp x29, x30, [sp, #80] 8: 910143fd add x29, sp, #0x50 c: b9000fe0 str w0, [sp, #12]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/031_problem45/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000510 <_init>: 510: d503201f nop 514: a9bf7bfd stp x29, x30, [sp, #-16]! 518: 910003fd mov x29, sp 51c: 94000019 bl 580 <call_weak_fn> 520: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/031_problem45/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000640 <_init>: 640: d503201f nop 644: a9bf7bfd stp x29, x30, [sp, #-16]! 648: 910003fd mov x29, sp 64c: 9400003a bl 734 <call_weak_fn> 650: a8...
problem25
#include <stdio.h> int func0(int n) { for (int i = 2; i * i <= n; i++) if (n % i == 0) return n / i; return 1; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] mov w0, 2 str w0, [sp, 28] b .L2 .L5: ldr w0, [sp, 12] ldr w1, [sp, 28] sdiv w2, w0, w1 ldr w1, [sp, 28] mul w1, w2, w1 sub w0, w0, w...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/032_problem25/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: 52800040 mov w0, #0x2 // #2 c: b9001fe0 str ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/032_problem25/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/032_problem25/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem1
#include <stdio.h> #include <stdlib.h> #include <math.h> int func0(float numbers[], int size, float threshold) { int i, j; for (i = 0; i < size; i++) for (j = i + 1; j < size; j++) if (fabs(numbers[i] - numbers[j]) < threshold) return 1; return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str s0, [sp] str wzr, [sp, 24] b .L2 .L8: ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 28] b .L3 .L7: ldrsw x0, [sp, 24...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/033_problem1/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: bd0003e0 str s0, [sp] 10: b9001bff...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/033_problem1/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/033_problem1/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8c...
problem87
#include <stdio.h> #include <string.h> #include <stdlib.h> char* func0(const char* s) { int len = strlen(s); char* out = malloc(len + 2); char current[51]; int out_index = 0, current_index = 0; for (int i = 0; i <= len; i++) { if (s[i] == ' ' || s[i] == '\0') { for (int j = 0;...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, 128] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 128 str x0, [sp, 8] adrp x0, :got:__stack_chk_guard ldr x0, [x0, :got_lo12:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/034_problem87/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10243ff sub sp, sp, #0x90 4: a9087bfd stp x29, x30, [sp, #128] 8: 910203fd add x29, sp, #0x80 c: f90007e0 str x0, [sp, #8]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/034_problem87/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 94000021 bl 610 <call_weak_fn> 590: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/034_problem87/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006b0 <_init>: 6b0: d503201f nop 6b4: a9bf7bfd stp x29, x30, [sp, #-16]! 6b8: 910003fd mov x29, sp 6bc: 9400003e bl 7b4 <call_weak_fn> 6c0: a8...
problem73
#include <stdio.h> #include <stdbool.h> bool func0(int q[], int size, int w) { int sum = 0; for (int i = 0; i < size / 2; i++) { if (q[i] != q[size - 1 - i]) return false; sum += q[i] + q[size - 1 - i]; } if (size % 2 == 1) sum += q[size / 2]; return sum <= w; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str w2, [sp] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L5: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/035_problem73/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90003e2 str w2, [sp] 10: b9001bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/035_problem73/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/035_problem73/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem78
#include <stdio.h> #include <math.h> #include <stdlib.h> int func0(int a) { for (int i = 0; i * i * i <= abs(a); i++) if (i * i * i == abs(a)) return 1; return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str wzr, [sp, 28] b .L2 .L5: ldr w0, [sp, 28] mul w1, w0, w0 ldr w0, [sp, 28] mul w1, w1, w0 ldr w0, [sp, 12] cmp w0, 0 csneg w0, w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/036_problem78/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b9001fff str wzr, [sp, #28] c: 1400000f b 48 <func0+0x48> 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/036_problem78/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/036_problem78/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem154
#include <stdio.h> #include <string.h> void func0(const char* class_name, const char** extensions, int ext_count, char* output) { int max_strength = -1000; const char* strongest = NULL; for (int i = 0; i < ext_count; i++) { const char* extension = extensions[i]; int strength = 0; fo...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "%s.%s" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str x1, [sp, 32] s...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/037_problem154/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9ba7bfd stp x29, x30, [sp, #-96]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: f90013e1 str x1, [sp, #32] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/037_problem154/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/037_problem154/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005c0 <_init>: 5c0: d503201f nop 5c4: a9bf7bfd stp x29, x30, [sp, #-16]! 5c8: 910003fd mov x29, sp 5cc: 9400003a bl 6b4 <call_weak_fn> 5d0: a...
problem89
#include <stdio.h> #include <stdlib.h> void func0(int *array, int size, int **out_array, int *out_size) { *out_size = size; if (size == 0) { *out_array = NULL; return; } *out_array = (int *)malloc(sizeof(int) * size); if (*out_array == NULL) { exit(1); } for (int i...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] str x3, [sp, 16] ldr x0, [sp, 16] ldr w...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/038_problem89/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/038_problem89/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c0 <_init>: 4c0: d503201f nop 4c4: a9bf7bfd stp x29, x30, [sp, #-16]! 4c8: 910003fd mov x29, sp 4cc: 9400001d bl 540 <call_weak_fn> 4d0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/038_problem89/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f0 <_init>: 5f0: d503201f nop 5f4: a9bf7bfd stp x29, x30, [sp, #-16]! 5f8: 910003fd mov x29, sp 5fc: 9400003e bl 6f4 <call_weak_fn> 600: a8...
problem99
#include <stdio.h> #include <string.h> int func0(const char *s) { const char *uvowel = "AEIOU"; int count = 0; for (int i = 0; s[i] != '\0' && i * 2 < strlen(s); i++) { if (strchr(uvowel, s[i * 2]) != NULL) { count += 1; } } return count; }
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "AEIOU" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -4...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/039_problem99/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/039_problem99/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/039_problem99/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8...
problem74
#include <stdio.h> int func0(int arr[], int size) { int out = 0; for (int i = 0; i < size / 2; i++) { if (arr[i] != arr[size - 1 - i]) { out++; } } return out; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L4: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w1,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/040_problem74/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/040_problem74/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/040_problem74/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem32
#include <stdbool.h> bool func0(long long n) { if (n < 2) return false; for (long long i = 2; i * i <= n; i++) if (n % i == 0) return false; return true; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] ldr x0, [sp, 8] cmp x0, 1 bgt .L2 mov w0, 0 b .L3 .L2: mov x0, 2 str x0, [sp, 24] b .L4 .L6: ldr x0, [sp, 8] ldr x1, [sp, 24] sdiv x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/041_problem32/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: f94007e0 ldr x0, [sp, #8] c: f100041f cmp x0, #0x1 10: 5400006...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/041_problem32/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/041_problem32/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem139
#include <stdio.h> int func0(int n) { if (n % 2 == 0 && n >= 8) return 1; return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, 12] ldr w0, [sp, 12] and w0, w0, 1 cmp w0, 0 bne .L2 ldr w0, [sp, 12] cmp w0, 7 ble .L2 mov w0, 1 b .L3 .L2: mov w0, 0 .L3: add sp, sp,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/042_problem139/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10043ff sub sp, sp, #0x10 4: b9000fe0 str w0, [sp, #12] 8: b9400fe0 ldr w0, [sp, #12] c: 12000000 and w0, w0, #0x1 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/042_problem139/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/042_problem139/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem149
#include <stdio.h> #include <string.h> #include <stdlib.h> char** func0(const char* planet1, const char* planet2, int* returnSize) { const char* planets[] = {"Mercury", "Venus", "Earth", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune"}; int pos1 = -1, pos2 = -1, m; for (m = 0; m < 8; m++) { if (st...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, 128] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 128 str x0, [sp, 24] str x1, [sp, 16] str x2, [sp, 8] adrp x0, :got:__stac...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/043_problem149/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10243ff sub sp, sp, #0x90 4: a9087bfd stp x29, x30, [sp, #128] 8: 910203fd add x29, sp, #0x80 c: f9000fe0 str x0, [sp, #2...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/043_problem149/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000640 <_init>: 640: d503201f nop 644: a9bf7bfd stp x29, x30, [sp, #-16]! 648: 910003fd mov x29, sp 64c: 94000021 bl 6d0 <call_weak_fn> 650: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/043_problem149/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000770 <_init>: 770: d503201f nop 774: a9bf7bfd stp x29, x30, [sp, #-16]! 778: 910003fd mov x29, sp 77c: 9400003e bl 874 <call_weak_fn> 780: a...
problem3
#include <stdio.h> #include <math.h> float func0(float number) { return number - (int)number; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #16 .cfi_def_cfa_offset 16 str s0, [sp, 12] ldr s0, [sp, 12] fcvtzs s0, s0 scvtf s0, s0 ldr s1, [sp, 12] fsub s0, s1, s0 add sp, sp, 16 .cfi_def_cfa_offset 0 ret .cfi_endproc .L...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/044_problem3/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10043ff sub sp, sp, #0x10 4: bd000fe0 str s0, [sp, #12] 8: bd400fe0 ldr s0, [sp, #12] c: 5ea1b800 fcvtzs s0, s0 10: 5e21d...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/044_problem3/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/044_problem3/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8c...
problem7
#include <stdio.h> #include <stdlib.h> #include <string.h> int* func0(const char* paren_string, int* returnSize) { int* all_levels = NULL; int level = 0, max_level = 0, i = 0, count = 0; char chr; for (i = 0; paren_string[i] != '\0'; i++) { chr = paren_string[i]; if (chr == '(') { ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] str xzr, [sp, 56] str wzr, [sp, 40] str wzr, [sp, 44] st...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/045_problem7/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/045_problem7/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/045_problem7/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005c0 <_init>: 5c0: d503201f nop 5c4: a9bf7bfd stp x29, x30, [sp, #-16]! 5c8: 910003fd mov x29, sp 5cc: 9400003a bl 6b4 <call_weak_fn> 5d0: a8c...
problem27
#include <stdio.h> #include <stdlib.h> int* func0(int* numbers, int size, int* new_size) { int* out = (int*)malloc(size * sizeof(int)); int* has1 = (int*)calloc(size, sizeof(int)); int* has2 = (int*)calloc(size, sizeof(int)); int has1_count = 0; int has2_count = 0; int out_count = 0; for (...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldrsw x0, [sp, 36] lsl x0, x0, 2 bl...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/046_problem27/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9b87bfd stp x29, x30, [sp, #-128]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/046_problem27/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000500 <_init>: 500: d503201f nop 504: a9bf7bfd stp x29, x30, [sp, #-16]! 508: 910003fd mov x29, sp 50c: 94000021 bl 590 <call_weak_fn> 510: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/046_problem27/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000628 <_init>: 628: d503201f nop 62c: a9bf7bfd stp x29, x30, [sp, #-16]! 630: 910003fd mov x29, sp 634: 94000040 bl 734 <call_weak_fn> 638: a8...
problem4
#include <stdio.h> int func0(int operations[], int size) { int num = 0; for (int i = 0; i < size; i++) { num += operations[i]; if (num < 0) return 1; } return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L5: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/047_problem4/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: b9...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/047_problem4/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/047_problem4/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8c...
problem156
#include <stdio.h> #include <stdlib.h> void func0(int num, int *result) { int even_count = 0, odd_count = 0; num = abs(num); do { int digit = num % 10; if (digit % 2 == 0) { even_count++; } else { odd_count++; } num /= 10; } while (nu...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str x1, [sp] str wzr, [sp, 20] str wzr, [sp, 24] ldr w0, [sp, 12] cmp w0, 0 csneg w0, w0, w0, ge str w0, [sp, 12] .L4: ldr w1, [sp, 12...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/048_problem156/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: f90003e1 str x1, [sp] c: b90017ff str wzr, [sp, #20] 10: b90...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/048_problem156/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/048_problem156/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem148
#include <stdio.h> #include <stdlib.h> int func0(int n) { int *a = (int *)malloc(n * sizeof(int)); int **sum = (int **)malloc((n + 1) * sizeof(int *)); int **sum2 = (int **)malloc((n + 1) * sizeof(int *)); for (int i = 0; i <= n; i++) { sum[i] = (int *)calloc(3, sizeof(int)); sum2[i] = ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -128]! .cfi_def_cfa_offset 128 .cfi_offset 29, -128 .cfi_offset 30, -120 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -112 str w0, [sp, 44] ldrsw x0, [sp, 44] lsl x0, x0, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/049_problem148/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9b87bfd stp x29, x30, [sp, #-128]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: b9002fe0 str w0, [sp, #44] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/049_problem148/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000500 <_init>: 500: d503201f nop 504: a9bf7bfd stp x29, x30, [sp, #-16]! 508: 910003fd mov x29, sp 50c: 94000021 bl 590 <call_weak_fn> 510: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/049_problem148/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000628 <_init>: 628: d503201f nop 62c: a9bf7bfd stp x29, x30, [sp, #-16]! 630: 910003fd mov x29, sp 634: 94000040 bl 734 <call_weak_fn> 638: a...
problem119
#include <stdio.h> #include <string.h> char *func0(const char *word) { static char out[2] = {0}; const char *vowels = "AEIOUaeiou"; size_t len = strlen(word); for (int i = len - 2; i >= 1; i--) { if (strchr(vowels, word[i]) && !strchr(vowels, word[i + 1]) && !strchr(vowels, word[i - 1])) {...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "AEIOUaeiou" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] adrp x0, .LC0 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/050_problem119/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: 90000000 adrp x0, 0 <func0> ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/050_problem119/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/050_problem119/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a...
problem51
#include <stdio.h> #include <string.h> #include <stdlib.h> void func0(char *s, int encode) { int shift = encode ? 5 : 21; size_t len = strlen(s); for (size_t i = 0; i < len; i++) { int w = ((s[i] - 'a' + shift) % 26) + 'a'; s[i] = (char)w; } }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] ldr w0, [sp, 20] cmp w0, 0 beq .L2 mov w0, 5 b .L3 .L2:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/051_problem51/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: b90017e1 str w1, [sp, #20] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/051_problem51/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/051_problem51/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem102
#include <stdio.h> #include <stdlib.h> #include <string.h> char** func0(const char* s, int* count) { int capacity = 10; char** out = malloc(capacity * sizeof(char*)); char* current = malloc(strlen(s) + 1); int word_count = 0; int current_length = 0; for (int i = 0; s[i]; i++) { if (s[i...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -64 str x0, [sp, 40] str x1, [sp, 32] mov w0, 10 str w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/052_problem102/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/052_problem102/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000570 <_init>: 570: d503201f nop 574: a9bf7bfd stp x29, x30, [sp, #-16]! 578: 910003fd mov x29, sp 57c: 94000029 bl 620 <call_weak_fn> 580: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/052_problem102/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000006a0 <_init>: 6a0: d503201f nop 6a4: a9bf7bfd stp x29, x30, [sp, #-16]! 6a8: 910003fd mov x29, sp 6ac: 94000042 bl 7b4 <call_weak_fn> 6b0: a...
problem29
#include <stdio.h> #include <string.h> #include <stdlib.h> char* func0(char** strings, int count) { int length = 0; for (int i = 0; i < count; i++) { length += strlen(strings[i]); } char* out = (char*)malloc(length + 1); if (!out) { return NULL; } out[0] = '\0'; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] str wzr, [sp, 44] str wzr, [sp, 48] b .L2 .L3: ldrsw x0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/053_problem29/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: b90017e1 str w1, [sp, #20] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/053_problem29/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000500 <_init>: 500: d503201f nop 504: a9bf7bfd stp x29, x30, [sp, #-16]! 508: 910003fd mov x29, sp 50c: 94000021 bl 590 <call_weak_fn> 510: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/053_problem29/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000630 <_init>: 630: d503201f nop 634: a9bf7bfd stp x29, x30, [sp, #-16]! 638: 910003fd mov x29, sp 63c: 9400003e bl 734 <call_weak_fn> 640: a8...
problem8
#include <stdio.h> #include <stdlib.h> #include <string.h> char **func0(char **strings, int size, const char *substring, int *out_size) { char **out = NULL; int count = 0; for (int i = 0; i < size; i++) { if (strstr(strings[i], substring) != NULL) { out = (char **)realloc(out, sizeof(ch...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] str x3, [sp, 16] str xzr, [sp, 56] str ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/054_problem8/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/054_problem8/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bfd...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/054_problem8/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8c...
problem115
#include <stdio.h> long long func0(long long *nums, int size) { long long current = nums[0]; long long min = nums[0]; for (int i = 1; i < size; i++) { current = current < 0 ? current + nums[i] : nums[i]; if (current < min) min = current; } return min; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 8] str w1, [sp, 4] ldr x0, [sp, 8] ldr x0, [x0] str x0, [sp, 32] ldr x0, [sp, 8] ldr x0, [x0] str x0, [sp, 40] mov w0, 1 str w0, [sp, 28]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/055_problem115/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: f94007e0 ldr x0, [sp, #8] 10: f9...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/055_problem115/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/055_problem115/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem137
#include <stdio.h> void func0(const int *lst, int size, int result[2]) { int maxneg = 0; int minpos = 0; for (int i = 0; i < size; i++) { if (lst[i] < 0 && (maxneg == 0 || lst[i] > maxneg)) maxneg = lst[i]; if (lst[i] > 0 && (minpos == 0 || lst[i] < minpos)) minpos = lst[i]; } resul...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] str wzr, [sp, 36] str wzr, [sp, 40] str wzr, [sp, 44] b .L2 .L7: ldrsw x0, [sp, 44] lsl x0, x0, 2 ld...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/056_problem137/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/056_problem137/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/056_problem137/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem94
#include <stdio.h> #include <ctype.h> #include <string.h> void func0(const char* message, char* out) { const char* vowels = "aeiouAEIOU"; int i, j; for (i = 0; message[i] != '\0'; ++i) { char w = message[i]; if (islower(w)) { w = toupper(w); } else if (isupper(w)) {...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "aeiouAEIOU" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/057_problem94/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/057_problem94/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000508 <_init>: 508: d503201f nop 50c: a9bf7bfd stp x29, x30, [sp, #-16]! 510: 910003fd mov x29, sp 514: 9400001f bl 590 <call_weak_fn> 518: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/057_problem94/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000638 <_init>: 638: d503201f nop 63c: a9bf7bfd stp x29, x30, [sp, #-16]! 640: 910003fd mov x29, sp 644: 9400003c bl 734 <call_weak_fn> 648: a8...
problem108
#include <stdio.h> #include <stdlib.h> int* func0(int n) { int* counts = (int*)malloc(2 * sizeof(int)); counts[0] = 0; counts[1] = 0; for (int i = 1; i <= n; i++) { int reversed = 0, original = i; int number = i; while (number != 0) { reversed = reversed * 10 + num...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str w0, [sp, 28] mov x0, 8 bl malloc str x0, [sp, 56] ldr x0, [sp, 56] str wzr, [x0] ldr ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/058_problem108/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: b9001fe0 str w0, [sp, #28] c: d2800100 mov x0, #0x8 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/058_problem108/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/058_problem108/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a...
problem107
#include <stdio.h> #include <stdlib.h> int* func0(int n) { int* out = (int*)malloc(n * sizeof(int)); int sum = 0, prod = 1; for (int i = 1; i <= n; i++) { sum += i; prod *= i; if (i % 2 == 0) out[i - 1] = prod; else out[i - 1] = sum; } return out; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str w0, [sp, 28] ldrsw x0, [sp, 28] lsl x0, x0, 2 bl malloc str x0, [sp, 56] str wzr, [sp,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/059_problem107/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: b9001fe0 str w0, [sp, #28] c: b9801fe0 ldrsw x0, [sp, #28] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/059_problem107/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/059_problem107/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a...
problem63
#include <stdio.h> void func0(const float *xs, int xs_size, float *out) { for (int i = 1; i < xs_size; i++) { out[i - 1] = i * xs[i]; } }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] mov w0, 1 str w0, [sp, 44] b .L2 .L3: ldr s0, [sp, 44] scvtf s1, s0 ldrsw x0, [sp, 44] lsl x0, x0, 2...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/060_problem63/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: 5...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/060_problem63/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/060_problem63/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem53
#include <stdio.h> #include <stdbool.h> bool func0(int *l, int size, int t) { for (int i = 0; i < size; i++) if (l[i] >= t) return false; return true; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str w2, [sp] str wzr, [sp, 28] b .L2 .L5: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0, [x0]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/061_problem53/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b90003e2 str w2, [sp] 10: b9001ff...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/061_problem53/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/061_problem53/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem122
#include <stdio.h> int func0(int* lst, int size) { int sum = 0; for (int i = 0; i * 2 < size; i++) if (lst[i * 2] % 2 == 1) sum += lst[i * 2]; return sum; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L4: ldr w0, [sp, 28] lsl w0, w0, 1 sxtw x0, w0 lsl x0, x0, 2 ldr x1, [sp, 8...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/062_problem122/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/062_problem122/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/062_problem122/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem143
#include <stdio.h> int func0(int* lst, int size) { int sum = 0; for (int i = 0; i < size; i++) { if (i % 3 == 0) sum += lst[i] * lst[i]; else if (i % 4 == 0) sum += lst[i] * lst[i] * lst[i]; else sum += lst[i]; } return sum; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L6: ldr w2, [sp, 28] mov w0, 21846 movk w0, 0x5555, lsl 16 smull x0, w2, w0 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/063_problem143/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/063_problem143/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/063_problem143/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem62
#include <stdio.h> #include <stdbool.h> #include <string.h> bool func0(const char *brackets) { int level = 0; for (int i = 0; i < strlen(brackets); i++) { if (brackets[i] == '(') level += 1; if (brackets[i] == ')') level -= 1; if (level < 0) return false; } return level == 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -48 str x0, [sp, 40] str wzr, [sp, 56] str wzr, [sp, 60] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/064_problem62/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/064_problem62/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/064_problem62/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem90
#include <stdio.h> #include <string.h> void func0(const char *s, char *out) { int i; for (i = 0; s[i] != '\0'; i++) { int w = ((int)s[i] - 'a' + 4) % 26 + 'a'; out[i] = (char)w; } out[i] = '\0'; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str x1, [sp] str wzr, [sp, 24] b .L2 .L3: ldrsw x0, [sp, 24] ldr x1, [sp, 8] add x0, x1, x0 ldrb w0, [x0] sub w1, w0, #93 mov w0, 6049...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/065_problem90/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: f90003e1 str x1, [sp] c: b9001bff str wzr, [sp, #24] 10: 14000...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/065_problem90/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/065_problem90/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem132
#include <stdio.h> int func0(int n) { int prod = 1, has_odd = 0, digit; while (n > 0) { digit = n % 10; if (digit % 2 == 1) { has_odd = 1; prod *= digit; } n /= 10; } return has_odd ? prod : 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] mov w0, 1 str w0, [sp, 20] str wzr, [sp, 24] b .L2 .L4: ldr w1, [sp, 12] mov w0, 26215 movk w0, 0x6666, lsl 16 smull x0, w1, w0 lsr x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/066_problem132/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: 52800020 mov w0, #0x1 // #1 c: b90017e0 str...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/066_problem132/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/066_problem132/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem141
#include <stdio.h> #include <string.h> void func0(const char *text, char *out) { int space_len = 0; int j = 0; for (int i = 0; i < strlen(text); i++) { if (text[i] == ' ') { space_len++; } else { if (space_len == 1) out[j++] = '_'; if (space_len == 2) out...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -48 str x0, [sp, 40] str x1, [sp, 32] str wzr, [sp, 52] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/067_problem141/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/067_problem141/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/067_problem141/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a...
problem36
#include <stdio.h> float func0(float *l, int size) { float max = -10000; for (int i = 0; i < size; i++) if (max < l[i]) max = l[i]; return max; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] mov w0, 16384 movk w0, 0xc61c, lsl 16 fmov s0, w0 str s0, [sp, 24] str wzr, [sp, 28] b .L2 .L5: ldrsw x0, [sp, 28] lsl...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/068_problem36/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: 52880000 mov w0, #0x4000 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/068_problem36/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/068_problem36/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem127
#include <stdio.h> #include <stdbool.h> bool func0(const int *lst, int lst_size) { if (lst_size == 0) return true; for (int i = 1; i < lst_size; i++) { if (lst[i] < lst[i - 1]) return false; if (i >= 2 && lst[i] == lst[i - 1] && lst[i] == lst[i - 2]) return false; } return true; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] ldr w0, [sp, 4] cmp w0, 0 bne .L2 mov w0, 1 b .L3 .L2: mov w0, 1 str w0, [sp, 28] b .L4 .L7: ldrsw x0, [sp, 28] lsl ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/069_problem127/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b94007e0 ldr w0, [sp, #4] 10: 71...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/069_problem127/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/069_problem127/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem44
#include <stdio.h> #include <stdbool.h> bool func0(int *l, int size) { for (int i = 0; i < size; i++) for (int j = i + 1; j < size; j++) if (l[i] + l[j] == 0) return true; return false; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] b .L2 .L7: ldr w0, [sp, 24] add w0, w0, 1 str w0, [sp, 28] b .L3 .L6: ldrsw x0, [sp, 24] lsl x0, x0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/070_problem44/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/070_problem44/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/070_problem44/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem34
#include <stdio.h> #include <stdlib.h> void func0(int *l, int size, int *out) { int *third = malloc((size / 3 + 1) * sizeof(int)); int i, k = 0, third_size = 0; for (i = 0; i * 3 < size; i++) { third[i] = l[i * 3]; third_size++; } for (i = 0; i < third_size - 1; i++) { int...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldr w0, [sp, 36] mov w1, 21846 movk w1,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/071_problem34/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/071_problem34/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c0 <_init>: 4c0: d503201f nop 4c4: a9bf7bfd stp x29, x30, [sp, #-16]! 4c8: 910003fd mov x29, sp 4cc: 9400001d bl 540 <call_weak_fn> 4d0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/071_problem34/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f0 <_init>: 5f0: d503201f nop 5f4: a9bf7bfd stp x29, x30, [sp, #-16]! 5f8: 910003fd mov x29, sp 5fc: 9400003e bl 6f4 <call_weak_fn> 600: a8...
problem11
#include <stdio.h> #include <stdlib.h> #include <string.h> char *func0(const char *str) { int len = strlen(str), i, j; char *result = (char *)malloc(2 * len + 1); if (!result) { return NULL; } for (i = 0; i < len; i++) { int is_palindrome = 1; for (j = 0; j < (len - i) / 2...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] bl strlen str w0, [sp, 52] ldr w0, [sp, 52] lsl w0, w0, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/072_problem11/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9400fe0 ldr x0, [sp, #24] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/072_problem11/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000500 <_init>: 500: d503201f nop 504: a9bf7bfd stp x29, x30, [sp, #-16]! 508: 910003fd mov x29, sp 50c: 94000021 bl 590 <call_weak_fn> 510: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/072_problem11/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000630 <_init>: 630: d503201f nop 634: a9bf7bfd stp x29, x30, [sp, #-16]! 638: 910003fd mov x29, sp 63c: 9400003e bl 734 <call_weak_fn> 640: a8...
problem72
#include <stdio.h> #include <math.h> float func0(float a, float b, float c) { if (a + b <= c || a + c <= b || b + c <= a) return -1; float s = (a + b + c) / 2; float area = sqrtf(s * (s - a) * (s - b) * (s - c)); return roundf(area * 100) / 100; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str s0, [sp, 28] str s1, [sp, 24] str s2, [sp, 20] ldr s1, [sp, 28] ldr s0, [sp, 24] fadd ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/073_problem72/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: bd001fe0 str s0, [sp, #28] c: bd001be1 str s1, [sp, #24] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/073_problem72/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/073_problem72/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000620 <_init>: 620: d503201f nop 624: a9bf7bfd stp x29, x30, [sp, #-16]! 628: 910003fd mov x29, sp 62c: 94000032 bl 6f4 <call_weak_fn> 630: a8...
problem150
#include <stdio.h> #include <stdlib.h> #include <string.h> char** func0(char **lst, int lst_size, int *return_size) { int i, j; char *temp; *return_size = 0; for (i = 0; i < lst_size; ++i) { if (strlen(lst[i]) % 2 == 0) { lst[*return_size] = lst[i]; (*return_size)++; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -96]! .cfi_def_cfa_offset 96 .cfi_offset 29, -96 .cfi_offset 30, -88 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldr x0, [sp, 24] str wzr, [x0] str wzr,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/074_problem150/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9ba7bfd stp x29, x30, [sp, #-96]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/074_problem150/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000500 <_init>: 500: d503201f nop 504: a9bf7bfd stp x29, x30, [sp, #-16]! 508: 910003fd mov x29, sp 50c: 94000021 bl 590 <call_weak_fn> 510: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/074_problem150/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000630 <_init>: 630: d503201f nop 634: a9bf7bfd stp x29, x30, [sp, #-16]! 638: 910003fd mov x29, sp 63c: 9400003e bl 734 <call_weak_fn> 640: a...
problem77
#include <stdio.h> int func0(int x, int n) { int p = 1, count = 0; while (p <= x && count < 100) { if (p == x) return 1; p = p * n; count += 1; } return 0; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str w1, [sp, 8] mov w0, 1 str w0, [sp, 24] str wzr, [sp, 28] b .L2 .L6: ldr w1, [sp, 24] ldr w0, [sp, 12] cmp w1, w0 bne .L3 mov w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/075_problem77/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b9000be1 str w1, [sp, #8] c: 52800020 mov w0, #0x1 ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/075_problem77/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/075_problem77/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem21
#include <stdio.h> #include <math.h> #include <float.h> void func0(float numbers[], int size, float out[2]) { float min_diff = FLT_MAX; int i, j; out[0] = numbers[0]; out[1] = numbers[1]; for (i = 0; i < size; i++) { for (j = i + 1; j < size; j++) { float diff = fabs(numbers[i...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #64 .cfi_def_cfa_offset 64 str x0, [sp, 24] str w1, [sp, 20] str x2, [sp, 8] mov w0, 2139095039 fmov s0, w0 str s0, [sp, 44] ldr x0, [sp, 24] ldr s0, [x0] ldr x0, [sp, 8] str s0...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/076_problem21/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10103ff sub sp, sp, #0x40 4: f9000fe0 str x0, [sp, #24] 8: b90017e1 str w1, [sp, #20] c: f90007e2 str x2, [sp, #8] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/076_problem21/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/076_problem21/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem20
#include <stdio.h> #include <string.h> const char* func0(const char* numbers) { int count[10] = {0}; const char* numto[10] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; int index, i, j, k; static char out[1000]; char current[6]; index = 0; if (*numbe...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, 176] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 176 str x0, [sp, 8] adrp x0, :got:__stack_chk_guard ldr x0, [x0, :got_lo12:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/077_problem20/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10303ff sub sp, sp, #0xc0 4: a90b7bfd stp x29, x30, [sp, #176] 8: 9102c3fd add x29, sp, #0xb0 c: f90007e0 str x0, [sp, #8]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/077_problem20/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000638 <_init>: 638: d503201f nop 63c: a9bf7bfd stp x29, x30, [sp, #-16]! 640: 910003fd mov x29, sp 644: 9400001b bl 6b0 <call_weak_fn> 648: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/077_problem20/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000768 <_init>: 768: d503201f nop 76c: a9bf7bfd stp x29, x30, [sp, #-16]! 770: 910003fd mov x29, sp 774: 94000030 bl 834 <call_weak_fn> 778: a8...
problem120
#include <stdio.h> #include <string.h> const char *func0(const char *s1, const char *s2) { int count = 0; int len1 = strlen(s1); int len2 = strlen(s2); int i; int can = 1; for (i = 0; i < len1; i++) { if (s1[i] == '(') count++; if (s1[i] == ')') count--; if (count < 0) ...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "Yes" .align 3 .LC1: .string "No" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/078_problem120/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/078_problem120/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/078_problem120/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a...
problem151
#include <stdio.h> int func0(int n, int x, int y) { int isp = 1; if (n < 2) isp = 0; for (int i = 2; i * i <= n; i++) { if (n % i == 0) isp = 0; } if (isp) return x; return y; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] str w1, [sp, 8] str w2, [sp, 4] mov w0, 1 str w0, [sp, 24] ldr w0, [sp, 12] cmp w0, 1 bgt .L2 str wzr, [sp, 24] .L2: mov w0, 2 str w...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/079_problem151/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b9000be1 str w1, [sp, #8] c: b90007e2 str w2, [sp, #4] 10: 5...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/079_problem151/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/079_problem151/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem55
#include <stdio.h> #include <string.h> #include <stdbool.h> bool func0(const char *s0, const char *s1) { int len0 = strlen(s0), len1 = strlen(s1); for (int i = 0; i < len0; i++) { bool found = false; for (int j = 0; j < len1; j++) { if (s0[i] == s1[j]) { found = true...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 24] bl strlen str w0, [sp, 56] ldr x0, [sp,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/080_problem55/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/080_problem55/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/080_problem55/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem136
#include <stdio.h> int func0(int *arr, int size) { int max = -1; for (int i = 1; i < size; ++i) { if (arr[i] < arr[i - 1]) max = i; } return max; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] mov w0, -1 str w0, [sp, 24] mov w0, 1 str w0, [sp, 28] b .L2 .L4: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] ad...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/081_problem136/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: 12800000 mov w0, #0xffffffff ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/081_problem136/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/081_problem136/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem79
#include <stdio.h> #include <string.h> int func0(const char* num) { const char* key = "2357BD"; int out = 0; for (int i = 0; i < strlen(num); i++) { if (strchr(key, num[i])) out += 1; } return out; }
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "2357BD" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x19, [sp, 16] .cfi_offset 19, -...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/082_problem79/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000bf3 str x19, [sp, #16] c: f90017e0 str x0, [sp, #40] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/082_problem79/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/082_problem79/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8...
problem43
#include <stdio.h> void func0(int *l, int size) { for (int i = 0; i < size; i++) l[i] += 1; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 28] b .L2 .L3: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w1, [x0] ldrsw x0, [s...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/083_problem43/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001fff str wzr, [sp, #28] 10: 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/083_problem43/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/083_problem43/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem124
#include <stdio.h> #include <stdlib.h> void func0(int n, int *out, int *size) { int capacity = 10; *size = 1; out[0] = 1; while (n != 1) { if (n % 2 == 1) { if (*size >= capacity) { capacity *= 2; out = (int*)realloc(out, capacity * sizeof(int));...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str w0, [sp, 44] str x1, [sp, 32] str x2, [sp, 24] mov w0, 10 str w0, [sp, 48] ldr x0, [sp...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/084_problem124/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: b9002fe0 str w0, [sp, #44] c: f90013e1 str x1, [sp, #32] 1...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/084_problem124/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/084_problem124/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005c0 <_init>: 5c0: d503201f nop 5c4: a9bf7bfd stp x29, x30, [sp, #-16]! 5c8: 910003fd mov x29, sp 5cc: 9400003a bl 6b4 <call_weak_fn> 5d0: a...
problem35
#include <stdio.h> #include <stdlib.h> int *func0(int *l, int size, int *out_size) { int *out = malloc(size * sizeof(int)); int found, out_count = 0, i, j; for (i = 0; i < size; i++) { found = 0; for (j = 0; j < out_count; j++) { if (l[i] == out[j]) { found = 1; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -80]! .cfi_def_cfa_offset 80 .cfi_offset 29, -80 .cfi_offset 30, -72 mov x29, sp str x0, [sp, 40] str w1, [sp, 36] str x2, [sp, 24] ldrsw x0, [sp, 36] lsl x0, x0, 2 bl mal...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/085_problem35/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bb7bfd stp x29, x30, [sp, #-80]! 4: 910003fd mov x29, sp 8: f90017e0 str x0, [sp, #40] c: b90027e1 str w1, [sp, #36] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/085_problem35/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/085_problem35/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem49
#include <stdio.h> #include <string.h> #include <stdbool.h> bool func0(const char *text) { int len = strlen(text); for (int i = 0; i < len / 2; i++) { if (text[i] != text[len - 1 - i]) { return false; } } return true; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] ldr x0, [sp, 24] bl strlen str w0, [sp, 44] str wzr, [sp, 40] b .L2 .L5: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/086_problem49/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9400fe0 ldr x0, [sp, #24] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/086_problem49/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/086_problem49/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem66
#include <stdio.h> #include <stdlib.h> #include <string.h> char* func0(int x, int shift) { static char xs[50]; sprintf(xs, "%d", x); int len = strlen(xs); if (len < shift) { for (int i = 0; i < len / 2; i++) { char temp = xs[i]; xs[i] = xs[len - 1 - i]; xs[l...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "%d" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x29, x30, [sp, 96] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 96 str w0, [sp, 12] st...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/087_problem66/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d101c3ff sub sp, sp, #0x70 4: a9067bfd stp x29, x30, [sp, #96] 8: 910183fd add x29, sp, #0x60 c: b9000fe0 str w0, [sp, #12]...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/087_problem66/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 94000027 bl 6a0 <call_weak_fn> 608: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/087_problem66/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000728 <_init>: 728: d503201f nop 72c: a9bf7bfd stp x29, x30, [sp, #-16]! 730: 910003fd mov x29, sp 734: 94000040 bl 834 <call_weak_fn> 738: a8...
problem76
#include <stdio.h> #include <stdlib.h> int func0(int a) { if (a < 2) return 0; int num = 0; for (int i = 2; i * i <= a; i++) { while (a % i == 0) { a = a / i; num++; } } if (a > 1) num++; return num == 3; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] ldr w0, [sp, 12] cmp w0, 1 bgt .L2 mov w0, 0 b .L3 .L2: str wzr, [sp, 24] mov w0, 2 str w0, [sp, 28] b .L4 .L6: ldr w1, [sp, 12] ld...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/088_problem76/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b9400fe0 ldr w0, [sp, #12] c: 7100041f cmp w0, #0x1 10: 54000...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/088_problem76/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/088_problem76/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem84
#include <stdio.h> int func0(int n) { if (n < 1) return 0; if (n == 1) return 1; int out = 18; for (int i = 2; i < n; i++) out = out * 10; return out; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str w0, [sp, 12] ldr w0, [sp, 12] cmp w0, 0 bgt .L2 mov w0, 0 b .L3 .L2: ldr w0, [sp, 12] cmp w0, 1 bne .L4 mov w0, 1 b .L3 .L4: mov w0, 18 str w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/089_problem84/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: b9000fe0 str w0, [sp, #12] 8: b9400fe0 ldr w0, [sp, #12] c: 7100001f cmp w0, #0x0 10: 54000...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/089_problem84/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/089_problem84/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem147
#include <stdio.h> #include <stdlib.h> int func0(int nums[], int size) { int num = 0; for (int i = 0; i < size; i++) { if (nums[i] > 10) { int first, last; last = nums[i] % 10; int n = nums[i]; while (n >= 10) { n /= 10; } ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc sub sp, sp, #48 .cfi_def_cfa_offset 48 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 28] str wzr, [sp, 32] b .L2 .L6: ldrsw x0, [sp, 32] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/090_problem147/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d100c3ff sub sp, sp, #0x30 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001fff str wzr, [sp, #28] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/090_problem147/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/090_problem147/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem19
#include <stdio.h> #include <string.h> int func0(const char *str, const char *substring) { int out = 0; int str_len = strlen(str); int sub_len = strlen(substring); if (str_len == 0) return 0; for (int i = 0; i <= str_len - sub_len; i++) { if (strncmp(&str[i], substring, sub_len) == 0) ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -48]! .cfi_def_cfa_offset 48 .cfi_offset 29, -48 .cfi_offset 30, -40 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] str wzr, [sp, 32] ldr x0, [sp, 24] bl strlen str w0, [sp...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/091_problem19/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bd7bfd stp x29, x30, [sp, #-48]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/091_problem19/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/091_problem19/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8...
problem162
#include <stdio.h> #include <string.h> #include <ctype.h> char* func0(char *s){ int nletter = 0; int length = strlen(s); for (int i = 0; i < length; i++) { if (isalpha((unsigned char)s[i])) { if (isupper((unsigned char)s[i])) s[i] = tolower((unsigned char)s[i]); else if (isl...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str wzr, [sp, 48] ldr x0, [sp, 24] bl strlen str w0, [sp, 60] str wzr, [s...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/092_problem162/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: b90033ff str wzr, [sp, #48] ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/092_problem162/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000540 <_init>: 540: d503201f nop 544: a9bf7bfd stp x29, x30, [sp, #-16]! 548: 910003fd mov x29, sp 54c: 94000025 bl 5e0 <call_weak_fn> 550: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/092_problem162/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000670 <_init>: 670: d503201f nop 674: a9bf7bfd stp x29, x30, [sp, #-16]! 678: 910003fd mov x29, sp 67c: 9400003e bl 774 <call_weak_fn> 680: a...
problem13
#include <stdio.h> #include <string.h> char *func0(char **strings, int count) { char *out = ""; int longest_length = 0; for (int i = 0; i < count; i++) { int current_length = strlen(strings[i]); if (current_length > longest_length) { out = strings[i]; longest_length ...
.arch armv8-a .file "source.c" .text .section .rodata .align 3 .LC0: .string "" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str w1, [sp, 20] adrp x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/093_problem13/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: b90017e1 str w1, [sp, #20] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/093_problem13/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/093_problem13/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem97
#include <stdio.h> #include <stdlib.h> int *func0(int n, int *count) { int *out = malloc(n * sizeof(int)); *count = 0; int i, j, isp, k; for (i = 2; i < n; i++) { isp = 1; for (j = 0; j < *count; j++) { k = out[j]; if (k * k > i) break; if (i % k == ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str w0, [sp, 28] str x1, [sp, 16] ldrsw x0, [sp, 28] lsl x0, x0, 2 bl malloc str x0, [sp, ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/094_problem97/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: b9001fe0 str w0, [sp, #28] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/094_problem97/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000490 <_init>: 490: d503201f nop 494: a9bf7bfd stp x29, x30, [sp, #-16]! 498: 910003fd mov x29, sp 49c: 94000019 bl 500 <call_weak_fn> 4a0: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/094_problem97/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005b8 <_init>: 5b8: d503201f nop 5bc: a9bf7bfd stp x29, x30, [sp, #-16]! 5c0: 910003fd mov x29, sp 5c4: 9400002c bl 674 <call_weak_fn> 5c8: a8...
problem12
#include <stdio.h> #include <stdlib.h> #include <string.h> char *func0(const char *a, const char *b) { int len_a = strlen(a); int len_b = strlen(b); int min_len = len_a < len_b ? len_a : len_b; char *output = malloc((min_len + 1) * sizeof(char)); if (!output) return NULL; for (int i = 0; i < m...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB6: .cfi_startproc stp x29, x30, [sp, -64]! .cfi_def_cfa_offset 64 .cfi_offset 29, -64 .cfi_offset 30, -56 mov x29, sp str x0, [sp, 24] str x1, [sp, 16] ldr x0, [sp, 24] bl strlen str w0, [sp, 44] ldr x0, [sp,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/095_problem12/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: a9bc7bfd stp x29, x30, [sp, #-64]! 4: 910003fd mov x29, sp 8: f9000fe0 str x0, [sp, #24] c: f9000be1 str x1, [sp, #16] 10...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/095_problem12/code.so: file format elf64-littleaarch64 Disassembly of section .init: 00000000000004c8 <_init>: 4c8: d503201f nop 4cc: a9bf7bfd stp x29, x30, [sp, #-16]! 4d0: 910003fd mov x29, sp 4d4: 9400001b bl 540 <call_weak_fn> 4d8: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/095_problem12/code.program: file format elf64-littleaarch64 Disassembly of section .init: 00000000000005f8 <_init>: 5f8: d503201f nop 5fc: a9bf7bfd stp x29, x30, [sp, #-16]! 600: 910003fd mov x29, sp 604: 9400003c bl 6f4 <call_weak_fn> 608: a8...
problem112
#include <stdio.h> #include <string.h> void func0(const char* test, int* freq, int* max_count, char* letters) { int local_freq[26] = {0}; // for 'a' to 'z' int local_max = 0; const char* ptr = test; int idx = 0; while (*ptr) { if (*ptr != ' ') { int letter_index = *ptr - 'a'; ...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #192 .cfi_def_cfa_offset 192 stp x29, x30, [sp, 176] .cfi_offset 29, -16 .cfi_offset 30, -8 add x29, sp, 176 str x0, [sp, 24] str x1, [sp, 16] str x2, [sp, 8] str x3, [sp] adrp x...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/096_problem112/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10303ff sub sp, sp, #0xc0 4: a90b7bfd stp x29, x30, [sp, #176] 8: 9102c3fd add x29, sp, #0xb0 c: f9000fe0 str x0, [sp, #2...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/096_problem112/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000510 <_init>: 510: d503201f nop 514: a9bf7bfd stp x29, x30, [sp, #-16]! 518: 910003fd mov x29, sp 51c: 94000019 bl 580 <call_weak_fn> 520: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/096_problem112/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000640 <_init>: 640: d503201f nop 644: a9bf7bfd stp x29, x30, [sp, #-16]! 648: 910003fd mov x29, sp 64c: 9400003a bl 734 <call_weak_fn> 650: a...
problem123
#include <stdio.h> int func0(int arr[], int k) { int sum = 0; for (int i = 0; i < k; i++) if (arr[i] >= -99 && arr[i] <= 99) sum += arr[i]; return sum; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L4: ldrsw x0, [sp, 28] lsl x0, x0, 2 ldr x1, [sp, 8] add x0, x1, x0 ldr w0,...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/097_problem123/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b9001bff str wzr, [sp, #24] 10: ...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/097_problem123/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17b...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/097_problem123/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a...
problem91
#include <stdio.h> #include <limits.h> int func0(int *lst, int size) { if (size < 2) return -1; int first = INT_MAX, second = INT_MAX; for (int i = 0; i < size; ++i) { if (lst[i] < first) { second = first; first = lst[i]; } else if (lst[i] < second && lst[i] != firs...
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str w1, [sp, 4] ldr w0, [sp, 4] cmp w0, 1 bgt .L2 mov w0, -1 b .L3 .L2: mov w0, 2147483647 str w0, [sp, 20] mov w0, 2147483647 str w0...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/098_problem91/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b90007e1 str w1, [sp, #4] c: b94007e0 ldr w0, [sp, #4] 10: 710...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/098_problem91/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/098_problem91/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...
problem67
#include <stdio.h> #include <string.h> int func0(const char *s) { int sum = 0; for (int i = 0; s[i] != '\0'; i++) if (s[i] >= 'A' && s[i] <= 'Z') sum += s[i]; return sum; }
.arch armv8-a .file "source.c" .text .align 2 .global func0 .type func0, %function func0: .LFB0: .cfi_startproc sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, 8] str wzr, [sp, 24] str wzr, [sp, 28] b .L2 .L4: ldrsw x0, [sp, 28] ldr x1, [sp, 8] add x0, x1, x0 ldrb w0, [x0] cmp w0, 64 bls .L3 ldr...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/099_problem67/code.o: file format elf64-littleaarch64 Disassembly of section .text: 0000000000000000 <func0>: 0: d10083ff sub sp, sp, #0x20 4: f90007e0 str x0, [sp, #8] 8: b9001bff str wzr, [sp, #24] c: b9001fff str wzr, [sp, #28] 10:...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/099_problem67/code.so: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000410 <_init>: 410: d503201f nop 414: a9bf7bfd stp x29, x30, [sp, #-16]! 418: 910003fd mov x29, sp 41c: 94000015 bl 470 <call_weak_fn> 420: a8c17bf...
/home/alexanderpretko/HE/generated_humaneval_arm64_linux/O0/099_problem67/code.program: file format elf64-littleaarch64 Disassembly of section .init: 0000000000000580 <_init>: 580: d503201f nop 584: a9bf7bfd stp x29, x30, [sp, #-16]! 588: 910003fd mov x29, sp 58c: 9400002a bl 634 <call_weak_fn> 590: a8...