LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/subprocess.c
// Function: subprocess_read_selfpipe
int subprocess_read_selfpipe()
{
	if (got_SIGCHLD) {
		/* this may seem paranoid, but, is certainly the right
		 * thing (sigprocmask) to do
		 */
		sigprocmask(SIG_BLOCK, sigset_SIGCHLD, NULL);
		if (got_SIGCHLD) got_SIGCHLD = 0;
		/* we can clear got_SIGCHLD early, since this is the
		 * only place where it is checked for
		 */
		sigprocmask(SIG_UNBLOCK, sigset_SIGCHLD, NULL);
		return subprocess_read_selfpipe0();
	}
	DEBUG_INFO("subprocess_read_selfpipe(): nothing new");
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpl $0x0, 0xacab(%rip)      # 0x11750
je 0x6bb6
leaq 0xacae(%rip), %rsi      # 0x11760
xorl %edi, %edi
xorl %edx, %edx
callq 0x2050
cmpl $0x0, 0xac8e(%rip)      # 0x11750
je 0x6ace
movl $0x0, 0xac82(%rip)      # 0x11750
leaq 0xac8b(%rip), %rsi      # 0x11760
movl $0x1, %edi
xorl %edx, %edx
callq 0x2050
movl 0xac29(%rip), %edi      # 0x11710
leaq -0x50(%rbp), %rbx
movl $0x28, %edx
movq %rbx, %rsi
callq 0x2200
movq %rax, %r14
testl %r14d, %r14d
js 0x6b9f
testb $0x3, %r14b
jne 0x6be6
testl %r14d, %r14d
je 0x6bb6
andl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
movl %r14d, %r12d
shrl $0x2, %r12d
movq %rbx, %r13
movq 0xacb1(%rip), %rdi      # 0x117e0
movl (%r13), %eax
movq (%rdi), %r15
leaq 0x8(%rdi), %rcx
cmpq %rcx, %r15
je 0x6b59
movq 0x10(%r15), %rdx
cmpl %eax, 0x18(%rdx)
je 0x6b5c
jle 0x6b4f
movq (%r15), %r15
jmp 0x6b3a
movq 0x8(%r15), %r15
andq $-0x2, %r15
jmp 0x6b3a
xorl %r15d, %r15d
testq %r15, %r15
je 0x6b85
movq 0x10(%r15), %rcx
cmpl 0x18(%rcx), %eax
jne 0x6bc7
movq %r15, %rsi
callq 0x5dd3
movq 0x10(%r15), %rax
movl $0x1, 0x34(%rax)
movq %r15, %rdi
callq 0x2060
addq $0x4, %r13
decl %r12d
jne 0x6b28
cmpl $0x28, %r14d
jne 0x6bb6
movl 0xab76(%rip), %edi      # 0x11710
jmp 0x6aeb
callq 0x2080
cmpl $-0x1, %r14d
jne 0x6c05
movl (%rax), %edi
cmpl $0x4, %edi
je 0x6bb6
cmpl $0xb, %edi
jne 0x6c24
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x5c58(%rip), %rdi      # 0xc826
leaq 0x5351(%rip), %rsi      # 0xbf26
leaq 0x5bff(%rip), %rcx      # 0xc7db
movl $0x1cc, %edx            # imm = 0x1CC
callq 0x21b0
leaq 0x5c22(%rip), %rdi      # 0xc80f
leaq 0x5332(%rip), %rsi      # 0xbf26
leaq 0x5be0(%rip), %rcx      # 0xc7db
movl $0x1c5, %edx            # imm = 0x1C5
callq 0x21b0
leaq 0x46f4(%rip), %rdi      # 0xb300
leaq 0x5313(%rip), %rsi      # 0xbf26
leaq 0x5bc1(%rip), %rcx      # 0xc7db
movl $0x1b7, %edx            # imm = 0x1B7
callq 0x21b0
movq %rax, %rsi
callq 0x2b03
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/subprocess.c
// Function: subprocess_fork
int subprocess_fork(struct subprocess *sp)
{
	int pid;

	assert(sp);
	assert(sp->argv);
	assert(sp->argv[0]);

	if (sp->envp && sp->search_path) {
		DEBUG_INFO("it is not allowed to use search path while specifying environment variables");
		return -1;
	}

	if ((pid = subprocess_fork0(sp)) == 0) {
		char buf[1024];
		char *execve_frontend = NULL;

		/* execute
		 */
		if (sp->envp) {
			execve(sp->argv[0], sp->argv, sp->envp);
			execve_frontend = "execve";
		} else if (sp->search_path) {
			execvp(sp->argv[0], sp->argv);
			execve_frontend = "execvp";
		} else {
			execv(sp->argv[0], sp->argv);
			execve_frontend = "execv";
		}

		snprintf(buf, sizeof(buf), "%s(%s)", execve_frontend, sp->argv[0]);
		perror(buf);
		fflush(stderr);

		close(STDIN_FILENO);
		close(STDOUT_FILENO);
		close(STDERR_FILENO);

		abort();
	} else if (sp->pid == -1) {
		perror("fork");
		return -1;
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
testq %rdi, %rdi
je 0x759b
movq %rdi, %rbx
movq (%rdi), %rax
testq %rax, %rax
je 0x75ba
cmpq $0x0, (%rax)
je 0x75d9
cmpq $0x0, 0x8(%rbx)
je 0x7566
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl $0x0, 0x10(%rbx)
jne 0x757e
movq %rbx, %rdi
callq 0x6e86
testl %eax, %eax
je 0x75f8
xorl %eax, %eax
cmpl $-0x1, 0x18(%rbx)
je 0x7588
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %rbp
retq
leaq 0x5074(%rip), %rdi      # 0xc603
callq 0x2310
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x757e
leaq 0x4dc2(%rip), %rdi      # 0xc364
leaq 0x497d(%rip), %rsi      # 0xbf26
leaq 0x4ffa(%rip), %rcx      # 0xc5aa
movl $0x3b3, %edx            # imm = 0x3B3
callq 0x21b0
leaq 0x5012(%rip), %rdi      # 0xc5d3
leaq 0x495e(%rip), %rsi      # 0xbf26
leaq 0x4fdb(%rip), %rcx      # 0xc5aa
movl $0x3b4, %edx            # imm = 0x3B4
callq 0x21b0
leaq 0x4ffc(%rip), %rdi      # 0xc5dc
leaq 0x493f(%rip), %rsi      # 0xbf26
leaq 0x4fbc(%rip), %rcx      # 0xc5aa
movl $0x3b5, %edx            # imm = 0x3B5
callq 0x21b0
leaq 0x8(%rbx), %rsi
leaq -0x410(%rbp), %rdi
movq %rbx, %rdx
callq 0x2bc8
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/subprocess.c
// Function: subprocess_exit_debug
void subprocess_exit_debug(struct subprocess *sp)
{
	int status = sp->exit_status;

	assert(sp->pid > 0);
	assert(sp->waitpid_pid == sp->pid); /* must be terminated */

	if (WIFEXITED(status)) {
		if (WEXITSTATUS(status) != EXIT_SUCCESS) {
			DEBUG_INFO("child %i exited with error, exit status = %i", sp->pid, WEXITSTATUS(status));
		} else {
			DEBUG_INFO("child %i exited with EXIT_SUCCESS", sp->pid);
		}
	} else if (WIFSIGNALED(status)) {
		printf("child %i was killed by signal %d\n", sp->pid, WTERMSIG(status));
	} else if (WIFSTOPPED(status)) {
		printf("child %i was stopped by signal %d\n", sp->pid, WSTOPSIG(status));
#ifdef WIFCONTINUED
	} else if (WIFCONTINUED(status)) {
		printf("continued\n");
#endif
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x18(%rdi), %esi
testl %esi, %esi
jle 0x7865
cmpl %esi, 0x1c(%rdi)
jne 0x7884
movl 0x14(%rdi), %eax
movl %eax, %edx
andl $0x7f, %edx
je 0x7863
movl %edx, %ecx
shll $0x18, %ecx
addl $0x1000000, %ecx        # imm = 0x1000000
cmpl $0x2000000, %ecx        # imm = 0x2000000
jl 0x7839
leaq 0x4eff(%rip), %rdi      # 0xc736
jmp 0x7847
cmpb $0x7f, %al
jne 0x784f
movzbl %ah, %edx
leaq 0x4f11(%rip), %rdi      # 0xc758
xorl %eax, %eax
popq %rbp
jmp 0x2170
cmpl $0xffff, %eax           # imm = 0xFFFF
jne 0x7863
leaq 0x52bd(%rip), %rdi      # 0xcb1a
popq %rbp
jmp 0x20c0
popq %rbp
retq
leaq 0x405b(%rip), %rdi      # 0xb8c7
leaq 0x46b3(%rip), %rsi      # 0xbf26
leaq 0x4e8c(%rip), %rcx      # 0xc706
movl $0x437, %edx            # imm = 0x437
callq 0x21b0
leaq 0x4dab(%rip), %rdi      # 0xc636
leaq 0x4694(%rip), %rsi      # 0xbf26
leaq 0x4e6d(%rip), %rcx      # 0xc706
movl $0x438, %edx            # imm = 0x438
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/subprocess.c
// Function: sigaction_SIGCHLD
static void sigaction_SIGCHLD(int n, siginfo_t *si, void *vp)
{
	char msg[] = "sigaction_SIGCHLD(), pid_gone=-1234567890\n";

	//assert(sizeof(si->si_pid) == sizeof(int));

	backfill_u4_dec(msg + sizeof(msg) - 2 /* "\n\0" */, si->si_pid, ' ');
	write_exact(STDERR_FILENO, msg, sizeof(msg) - 1);

	if (selfpipe[1] != -1) {
		int r = write(selfpipe[1], (void*)&si->si_pid, sizeof(si->si_pid));
		if (r == -1 && errno == EAGAIN) {
			char msg[] = "sigaction_SIGCHLD(), pipe buffer is full, drained -1234567890 bytes\n";
			char buf[4096];
			r = read(selfpipe[0], buf, sizeof(buf));
			backfill_u4_dec(msg + sizeof(msg) - 8 /* " bytes\n\0" */, r, ' ');
			write_exact(STDERR_FILENO, msg, sizeof(msg) - 1);
		}
	}

	got_SIGCHLD = 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x1080, %rsp           # imm = 0x1080
movq %rsi, %rbx
movups 0x4abf(%rip), %xmm0     # 0xcb4b
leaq -0x17(%rbp), %rdi
movups %xmm0, -0xe(%rdi)
movaps 0x4aa5(%rip), %xmm0     # 0xcb40
movaps %xmm0, -0x19(%rdi)
movaps 0x4a8a(%rip), %xmm0     # 0xcb30
movaps %xmm0, -0x29(%rdi)
movl 0x10(%rsi), %esi
addq $0x10, %rbx
callq 0x819b
xorl %r14d, %r14d
movl %r14d, %eax
leaq (%rax,%rbp), %rsi
addq $-0x40, %rsi
movl $0x2a, %eax
subl %r14d, %eax
movslq %eax, %rdx
movl $0x2, %edi
callq 0x2120
testl %eax, %eax
jle 0x80e6
addl %eax, %r14d
cmpl $0x2a, %r14d
jl 0x80b9
movl 0x9628(%rip), %edi      # 0x11714
cmpl $-0x1, %edi
je 0x8185
movl $0x4, %edx
movq %rbx, %rsi
callq 0x2120
cmpl $-0x1, %eax
jne 0x8185
callq 0x2080
cmpl $0xb, (%rax)
jne 0x8185
leaq 0x4a48(%rip), %rsi      # 0xcb60
leaq -0x90(%rbp), %rax
movl $0x8, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movb $0x0, 0x44(%rax)
movl $0xa736574, 0x40(%rax)  # imm = 0xA736574
movl 0x95d5(%rip), %edi      # 0x11710
leaq -0x1090(%rbp), %rsi
movl $0x1000, %edx           # imm = 0x1000
callq 0x2200
leaq -0x53(%rbp), %rdi
movl %eax, %esi
callq 0x819b
xorl %ebx, %ebx
movl %ebx, %eax
leaq (%rax,%rbp), %rsi
addq $-0x90, %rsi
movl $0x44, %eax
subl %ebx, %eax
movslq %eax, %rdx
movl $0x2, %edi
callq 0x2120
testl %eax, %eax
jle 0x8185
addl %eax, %ebx
cmpl $0x44, %ebx
jl 0x8159
movl $0x1, 0x95c1(%rip)      # 0x11750
addq $0x1080, %rsp           # imm = 0x1080
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/subprocess.c
// Function: backfill_u4_dec
static void backfill_u4_dec(char *s, int v, int pad)
{
	char *r = s - 11;
	assert(s);
	if (v > 0) {
		while (v) {
			*--s = DEC_DIGIT(v % 10);
			v = v / 10;
		}
	} else if (v < 0) {
		unsigned int x = -v;
		while (x) {
			*--s = DEC_DIGIT(x % 10);
			x = x / 10;
		}
		*--s = '-';
	} else {
		*--s = '0';
	}
	while (r < s) {
		*--s = pad;
	}
}

// Assembly:
testq %rdi, %rdi
je 0x8251
testl %esi, %esi
jle 0x81e5
xorl %edx, %edx
movl $0xcccccccd, %eax       # imm = 0xCCCCCCCD
leaq 0x47e4(%rip), %rcx      # 0xc99a
movl %esi, %r8d
imulq %rax, %r8
shrq $0x23, %r8
leal (%r8,%r8), %r9d
leal (%r9,%r9,4), %r9d
movl %esi, %r10d
subl %r9d, %r10d
movb (%r10,%rcx), %r9b
movb %r9b, -0x1(%rdi,%rdx)
decq %rdx
cmpl $0xa, %esi
movl %r8d, %esi
jae 0x81b6
jmp 0x8238
js 0x81f2
movb $0x30, %al
movq $-0x1, %rdx
jmp 0x8235
negl %esi
movq $-0x1, %rdx
movl $0xcccccccd, %eax       # imm = 0xCCCCCCCD
leaq 0x4793(%rip), %rcx      # 0xc99a
movl %esi, %r8d
imulq %rax, %r8
shrq $0x23, %r8
leal (%r8,%r8), %r9d
leal (%r9,%r9,4), %r9d
movl %esi, %r10d
subl %r9d, %r10d
movb (%r10,%rcx), %r9b
movb %r9b, (%rdi,%rdx)
decq %rdx
cmpl $0x9, %esi
movl %r8d, %esi
ja 0x8207
movb $0x2d, %al
movb %al, (%rdi,%rdx)
cmpq $-0xa, %rdx
jl 0x8250
addq $-0xb, %rdi
addq $0xb, %rdx
movl $0x20, %esi
jmp 0x21d0
retq
pushq %rbp
movq %rsp, %rbp
leaq 0x512e(%rip), %rdi      # 0xd38a
leaq 0x3cc3(%rip), %rsi      # 0xbf26
leaq 0x4709(%rip), %rcx      # 0xc973
movl $0xd5, %edx
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_alloc
void str_alloc(struct str *x, int n)
{
  if (x->s) {
    if (n > x->a) {
      int i = n + (n >> 3) + 30;
      void *p = realloc_(x->s, x->len, i);
      if (p) {
        x->a = i;
        x->s = p;
        return;
      }
      FATAL("memory allocation failed"); /* it's better be safer than sorry */
    }
    return;
  }
  x->s = malloc(n);
  assert(x->s);
  x->a = n;
  x->len = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x9cb0
cmpl %r15d, 0xc(%rbx)
jge 0x9cdc
movl %r15d, %eax
sarl $0x3, %eax
leal (%r15,%rax), %r13d
addl $0x1e, %r13d
movslq 0x8(%rbx), %r12
movslq %r13d, %rdi
callq 0x22a0
testq %rax, %rax
je 0x9ccd
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2270
movq %r14, %rdi
callq 0x2060
jmp 0x9cd0
movslq %r15d, %rdi
callq 0x22a0
movq %rax, (%rbx)
testq %rax, %rax
je 0x9ceb
movl %r15d, 0xc(%rbx)
movl $0x0, 0x8(%rbx)
jmp 0x9cdc
xorl %r15d, %r15d
testq %r15, %r15
je 0x9d0a
movl %r13d, 0xc(%rbx)
movq %r15, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3695(%rip), %rdi      # 0xd387
leaq 0x366f(%rip), %rsi      # 0xd368
leaq 0x368c(%rip), %rcx      # 0xd38c
movl $0x80, %edx
callq 0x21b0
callq 0x2d8d
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_copyn
void str_copyn(struct str *sa, const char *s, int n)
{
  str_alloc(sa, n + 1);
  memcpy(sa->s, s, n);
  sa->len = n;
  sa->s[n] = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leal 0x1(%rbx), %esi
callq 0x9c54
movq (%r15), %rdi
movslq %ebx, %rbx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2270
movl %ebx, 0x8(%r15)
movq (%r15), %rax
movb $0x0, (%rax,%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_copyc
void str_copyc(struct str *sa, int c)
{
  if (sa->len == 0) {
    str_alloc(sa, 1);
  }
  sa->s[0] = c;
  sa->len = 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
jne 0x9e1d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x9c54
movq (%rbx), %rax
movb %r14b, (%rax)
movl $0x1, 0x8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_catn
void str_catn(struct str *sa, const char *s, int n)
{
  if (!sa->s) {
    str_copyn(sa, s, n);
    return;
  }
  str_alloc(sa, sa->len + n + 1);
  memcpy(sa->s + sa->len, s, n);
  sa->len += n;
  sa->s[sa->len] = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x9e7c
movl 0x8(%rbx), %eax
leal (%r14,%rax), %esi
incl %esi
movq %rbx, %rdi
callq 0x9c54
movslq 0x8(%rbx), %rdi
addq (%rbx), %rdi
movslq %r14d, %r14
movq %r15, %rsi
movq %r14, %rdx
callq 0x2270
movslq 0x8(%rbx), %r12
addq %r14, %r12
movl %r12d, 0x8(%rbx)
jmp 0x9e9d
leal 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x9c54
movq (%rbx), %rdi
movslq %r14d, %r12
movq %r15, %rsi
movq %r12, %rdx
callq 0x2270
movl %r14d, 0x8(%rbx)
addq (%rbx), %r12
movb $0x0, (%r12)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_catc
void str_catc(struct str *sa, int c)
{
  if ((sa->len + 1) >= sa->a) {
    str_alloc(sa, sa->len + 2);
  }
  sa->s[sa->len++] = c;
  sa->s[sa->len] = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movl 0x8(%rdi), %esi
leal 0x1(%rsi), %eax
cmpl 0xc(%rdi), %eax
jl 0x9f0a
addl $0x2, %esi
movq %rbx, %rdi
callq 0x9c54
movq (%rbx), %rax
movslq 0x8(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x8(%rbx)
movb %r14b, (%rax,%rcx)
movq (%rbx), %rax
movslq 0x8(%rbx), %rcx
movb $0x0, (%rax,%rcx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_diffn
int str_diffn(struct str *a, char *b, int bl)
{
  int x = a->len - bl;
  int y = 0;

  if (x > 0) {
    x = 1;
    y = bdiff(a->s, bl, b);
  } else if (x < 0) {
    x = -1;
    y = bdiff(a->s, a->len, b);
  } else {
    y = bdiff(a->s, a->len, b);
  }
  return y ? y : x;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x8(%rdi), %r8d
movl %r8d, %eax
subl %edx, %eax
jle 0xa353
movl $0x1, %eax
testl %edx, %edx
je 0xa39d
movq (%rdi), %rdi
movl %edx, %edx
xorl %r8d, %r8d
movzbl (%rdi,%r8), %ecx
movzbl (%rsi,%r8), %r9d
cmpb %r9b, %cl
jne 0xa3a1
incq %r8
cmpl %r8d, %edx
jne 0xa33a
jmp 0xa39d
js 0xa378
testq %r8, %r8
je 0xa374
movq (%rdi), %rax
xorl %edx, %edx
movzbl (%rax,%rdx), %ecx
movzbl (%rsi,%rdx), %edi
cmpb %dil, %cl
jne 0xa3a6
incq %rdx
cmpl %edx, %r8d
jne 0xa35f
xorl %eax, %eax
jmp 0xa39d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r8, %r8
je 0xa39d
movq (%rdi), %rdx
xorl %edi, %edi
movzbl (%rdx,%rdi), %ecx
movzbl (%rsi,%rdi), %r9d
cmpb %r9b, %cl
jne 0xa3a1
incq %rdi
cmpl %edi, %r8d
jne 0xa387
xorl %ecx, %ecx
jmp 0xa3aa
subl %r9d, %ecx
jmp 0xa3aa
subl %edi, %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovnel %ecx, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_upper
void str_upper(struct str *s)
{
  int i;
  char c;
  for (i=0; i<s->len; i++, c++) {
    c = s->s[i];
    if (isalpha(c)) {
      s->s[i] = toupper(c);
    }
  }
}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0xa47c
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r15d, %r15d
callq 0x23c0
movq %rax, %r14
movq (%rbx), %r12
movsbq (%r12,%r15), %r13
movq (%r14), %rax
testb $0x4, 0x1(%rax,%r13,2)
je 0xa462
callq 0x2030
movq (%rax), %rax
movb (%rax,%r13,4), %al
movb %al, (%r12,%r15)
incq %r15
movslq 0x8(%rbx), %rax
cmpq %rax, %r15
jl 0xa43f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_lower
void str_lower(struct str *s)
{
  int i;
  char c;
  for (i=0; i<s->len; i++, c++) {
    c = s->s[i];
    if (isalpha(c)) {
      s->s[i] = tolower(c);
    }
  }
}

// Assembly:
cmpl $0x0, 0x8(%rdi)
jle 0xa4dc
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r15d, %r15d
callq 0x23c0
movq %rax, %r14
movq (%rbx), %r12
movsbq (%r12,%r15), %r13
movq (%r14), %rax
testb $0x4, 0x1(%rax,%r13,2)
je 0xa4c2
callq 0x23b0
movq (%rax), %rax
movb (%rax,%r13,4), %al
movb %al, (%r12,%r15)
incq %r15
movslq 0x8(%rbx), %rax
cmpq %rax, %r15
jl 0xa49f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_shiftr
void str_shiftr(struct str *s, int start, int end, int n, int pad)
{
  int i, window_size;
  char *ss;

  if (start < 0) {
    start = s->len + start;
  }

  if (end < 0) {
    end = s->len + end;
  }

  assert(n >= 0);
  assert(start >= 0);
  assert(start <= s->len);

  window_size = end - start;

  assert(end >= 0);
  assert(start <= end);
  assert(n <= window_size);

  if (end > s->len) {
    /* end is exclusive, so its len compatible
     */
    str_alloc(s, end);
    s->len = end;
  }
  ss = s->s + start;
  bcopyr(ss + n, window_size - n, ss);

  for (i=0; i<n; i++) {
    ss[i] = pad;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r14d
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r13
testl %esi, %esi
jns 0xa4fe
addl 0x8(%r13), %r15d
testl %ebx, %ebx
jns 0xa506
addl 0x8(%r13), %ebx
testl %r14d, %r14d
js 0xa5d5
testl %r15d, %r15d
js 0xa5f4
movl 0x8(%r13), %eax
cmpl %eax, %r15d
jg 0xa613
testl %ebx, %ebx
js 0xa632
cmpl %r15d, %ebx
jl 0xa651
movl %ebx, %r12d
subl %r15d, %r12d
cmpl %r14d, %r12d
jl 0xa670
cmpl %eax, %ebx
jle 0xa55f
movq %r13, %rdi
movl %ebx, %esi
movl %r8d, -0x2c(%rbp)
callq 0x9c54
movl -0x2c(%rbp), %r8d
movl %ebx, 0x8(%r13)
movq (%r13), %rdi
movl %r15d, %eax
cmpl %r14d, %r12d
je 0xa59b
movl %r14d, %ecx
movslq %r12d, %rsi
addq %rax, %rsi
movslq %r14d, %rdx
notq %rdx
addq %rsi, %rdx
addq %rdi, %rdx
notl %r15d
addl %ebx, %r15d
incq %r15
movb (%rdx), %sil
movb %sil, (%rdx,%rcx)
decq %rdx
decq %r15
cmpl %r15d, %ecx
jne 0xa589
testl %r14d, %r14d
je 0xa5c6
addq %rax, %rdi
cmpl $0x2, %r14d
movl $0x1, %edx
cmovgel %r14d, %edx
movl %r8d, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x21d0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xddc(%rip), %rdi       # 0xb3b8
leaq 0x2d85(%rip), %rsi      # 0xd368
leaq 0x2ed0(%rip), %rcx      # 0xd4ba
movl $0x1c4, %edx            # imm = 0x1C4
callq 0x21b0
leaq 0x2ef1(%rip), %rdi      # 0xd4ec
leaq 0x2d66(%rip), %rsi      # 0xd368
leaq 0x2eb1(%rip), %rcx      # 0xd4ba
movl $0x1c5, %edx            # imm = 0x1C5
callq 0x21b0
leaq 0x2edd(%rip), %rdi      # 0xd4f7
leaq 0x2d47(%rip), %rsi      # 0xd368
leaq 0x2e92(%rip), %rcx      # 0xd4ba
movl $0x1c6, %edx            # imm = 0x1C6
callq 0x21b0
leaq 0x2ece(%rip), %rdi      # 0xd507
leaq 0x2d28(%rip), %rsi      # 0xd368
leaq 0x2e73(%rip), %rcx      # 0xd4ba
movl $0x1ca, %edx            # imm = 0x1CA
callq 0x21b0
leaq 0x2eb8(%rip), %rdi      # 0xd510
leaq 0x2d09(%rip), %rsi      # 0xd368
leaq 0x2e54(%rip), %rcx      # 0xd4ba
movl $0x1cb, %edx            # imm = 0x1CB
callq 0x21b0
leaq 0x2ea6(%rip), %rdi      # 0xd51d
leaq 0x2cea(%rip), %rsi      # 0xd368
leaq 0x2e35(%rip), %rcx      # 0xd4ba
movl $0x1cc, %edx            # imm = 0x1CC
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_shiftl
void str_shiftl(struct str *s, int start, int end, int n, int pad)
{
  int i, window_size;
  char *ss;

  if (start < 0) {
    start = s->len + start;
  }

  if (end < 0) {
    end = s->len + end;
  }

  assert(n >= 0);
  assert(start >= 0);
  assert(start <= s->len);

  window_size = end - start;

  assert(end >= 0);
  assert(start <= end);
  assert(n <= window_size);

  assert(end <= s->len);

  ss = s->s + start;
  bcopyl(ss, window_size - n, ss + n);

  ss += window_size - n;
  for (i=0; i<n; i++) {
    ss[i] = pad;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %esi, %esi
jns 0xa69a
addl 0x8(%rdi), %esi
testl %edx, %edx
jns 0xa6a1
addl 0x8(%rdi), %edx
testl %ecx, %ecx
js 0xa729
testl %esi, %esi
js 0xa748
movl 0x8(%rdi), %eax
cmpl %eax, %esi
jg 0xa767
testl %edx, %edx
js 0xa786
cmpl %esi, %edx
jl 0xa7a5
movl %edx, %r9d
subl %esi, %r9d
cmpl %ecx, %r9d
jl 0xa7c4
cmpl %eax, %edx
jg 0xa7e3
movl %esi, %eax
addq (%rdi), %rax
subl %ecx, %r9d
je 0xa706
movl %ecx, %edx
addq %rax, %rdx
movl %r9d, %esi
xorl %edi, %edi
movb (%rdx,%rdi), %r10b
movb %r10b, (%rax,%rdi)
incq %rdi
cmpl %edi, %esi
jne 0xa6f7
testl %ecx, %ecx
je 0xa727
movslq %r9d, %rdx
addq %rdx, %rax
cmpl $0x2, %ecx
movl $0x1, %edx
cmovgel %ecx, %edx
movq %rax, %rdi
movl %r8d, %esi
popq %rbp
jmp 0x21d0
popq %rbp
retq
leaq 0xc88(%rip), %rdi       # 0xb3b8
leaq 0x2c31(%rip), %rsi      # 0xd368
leaq 0x2df0(%rip), %rcx      # 0xd52e
movl $0x1e9, %edx            # imm = 0x1E9
callq 0x21b0
leaq 0x2d9d(%rip), %rdi      # 0xd4ec
leaq 0x2c12(%rip), %rsi      # 0xd368
leaq 0x2dd1(%rip), %rcx      # 0xd52e
movl $0x1ea, %edx            # imm = 0x1EA
callq 0x21b0
leaq 0x2d89(%rip), %rdi      # 0xd4f7
leaq 0x2bf3(%rip), %rsi      # 0xd368
leaq 0x2db2(%rip), %rcx      # 0xd52e
movl $0x1eb, %edx            # imm = 0x1EB
callq 0x21b0
leaq 0x2d7a(%rip), %rdi      # 0xd507
leaq 0x2bd4(%rip), %rsi      # 0xd368
leaq 0x2d93(%rip), %rcx      # 0xd52e
movl $0x1ef, %edx            # imm = 0x1EF
callq 0x21b0
leaq 0x2d64(%rip), %rdi      # 0xd510
leaq 0x2bb5(%rip), %rsi      # 0xd368
leaq 0x2d74(%rip), %rcx      # 0xd52e
movl $0x1f0, %edx            # imm = 0x1F0
callq 0x21b0
leaq 0x2d52(%rip), %rdi      # 0xd51d
leaq 0x2b96(%rip), %rsi      # 0xd368
leaq 0x2d55(%rip), %rcx      # 0xd52e
movl $0x1f1, %edx            # imm = 0x1F1
callq 0x21b0
leaq 0x2d76(%rip), %rdi      # 0xd560
leaq 0x2b77(%rip), %rsi      # 0xd368
leaq 0x2d36(%rip), %rcx      # 0xd52e
movl $0x1f3, %edx            # imm = 0x1F3
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/alexgirao[P]aimant/str.c
// Function: str_from_file
void str_from_file(struct str *s, const char *file)
{
  off_t fsz = get_file_size(file);
  str_alloc(s, fsz + 1);
  get_file_data(file, fsz, s->s);
  s->s[fsz] = 0;
  s->len = fsz;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq -0xb0(%rbp), %rsi
movq %r15, %rdi
callq 0x2260
testl %eax, %eax
jne 0xa8c3
movq -0x80(%rbp), %r14
leal 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x9c54
movq (%rbx), %r12
leaq 0x2d34(%rip), %rsi      # 0xd5a1
movq %r15, %rdi
callq 0x2300
testq %r12, %r12
je 0xa8e2
movq %rax, %r15
testq %rax, %rax
je 0xa901
movl $0x1, %edx
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x20e0
cmpq $0x1, %rax
jne 0xa920
movq %r15, %rdi
callq 0x2130
movq (%rbx), %rax
movb $0x0, (%rax,%r14)
movl %r14d, 0x8(%rbx)
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2ca4(%rip), %rdi      # 0xd56e
leaq 0x2a97(%rip), %rsi      # 0xd368
leaq 0x2ca7(%rip), %rcx      # 0xd57f
movl $0x20b, %edx            # imm = 0x20B
callq 0x21b0
leaq 0xf6a(%rip), %rdi       # 0xb853
leaq 0x2a78(%rip), %rsi      # 0xd368
leaq 0x2cad(%rip), %rcx      # 0xd5a4
movl $0x212, %edx            # imm = 0x212
callq 0x21b0
leaq 0x10ad(%rip), %rdi      # 0xb9b5
leaq 0x2a59(%rip), %rsi      # 0xd368
leaq 0x2c8e(%rip), %rcx      # 0xd5a4
movl $0x213, %edx            # imm = 0x213
callq 0x21b0
leaq 0x2cae(%rip), %rdi      # 0xd5d5
leaq 0x2a3a(%rip), %rsi      # 0xd368
leaq 0x2c6f(%rip), %rcx      # 0xd5a4
movl $0x214, %edx            # imm = 0x214
callq 0x21b0
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: alloc_block
void
alloc_block(void)
{
	int i;
	struct atom *p;

	if (block_count == MAXBLOCKS) {
		tos = 0;
		gc(); // prep for next run
		stopf("out of memory");
	}

	p = alloc_mem(BLOCKSIZE * sizeof (struct atom));

	mem[block_count++] = p;

	for (i = 0; i < BLOCKSIZE - 1; i++) {
		p[i].atomtype = FREEATOM;
		p[i].u.next = p + i + 1;
	}

	p[i].atomtype = FREEATOM;
	p[i].u.next = NULL;

	free_list = p;
	free_count = BLOCKSIZE;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl $0x7d0, 0x32d89(%rip)   # imm = 0x7D0
je 0x759f
movl $0x3a980, %edi          # imm = 0x3A980
callq 0x7260
testq %rax, %rax
je 0x75ba
movslq 0x32d71(%rip), %rcx     # 0x3a2b4
leal 0x1(%rcx), %edx
movl %edx, 0x32d68(%rip)     # 0x3a2b4
leaq 0x32d6d(%rip), %rdx     # 0x3a2c0
movq %rax, (%rdx,%rcx,8)
movq %rax, %rcx
addq $0x18, %rcx
xorl %edx, %edx
movb $0x0, 0x10(%rax,%rdx)
leaq (%rcx,%rdx), %rsi
movq %rsi, (%rax,%rdx)
addq $0x18, %rdx
cmpq $0x3a968, %rdx          # imm = 0x3A968
jne 0x7560
movb $0x0, 0x3a978(%rax)
movq $0x0, 0x3a968(%rax)
movq %rax, 0x32d15(%rip)     # 0x3a2a8
movl $0x2710, 0x32d03(%rip)  # imm = 0x2710
popq %rbp
retq
movl $0x0, 0x32d0f(%rip)     # 0x3a2b8
callq 0x75c4
leaq 0x1ebcb(%rip), %rdi     # 0x26180
callq 0x77c8
movl $0x1, %edi
callq 0x7330
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: stopf
void
stopf(char *s)
{
	print_trace(RED);
	snprintf(strbuf, STRBUFLEN, "Stop: %s\n", s);
	printbuf(strbuf, RED);
	longjmp(jmpbuf, 1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x25032
leaq 0x10a132(%rip), %r14    # 0x111910
leaq 0x236e7(%rip), %rdx     # 0x2aecc
movl $0x3e8, %esi            # imm = 0x3E8
movq %r14, %rdi
movq %rbx, %rcx
xorl %eax, %eax
callq 0x7100
movq %r14, %rdi
callq 0x14d2c
leaq 0x109ffa(%rip), %rdi    # 0x111800
movl $0x1, %esi
callq 0x72d0
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: alloc_mem
void *
alloc_mem(int n)
{
	void *p = malloc(n);
	if (p == NULL)
		exit(1);
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq %edi, %rdi
callq 0x7260
testq %rax, %rax
je 0x7823
popq %rbp
retq
movl $0x1, %edi
callq 0x7330
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: alloc_vector
struct atom *
alloc_vector(int nrow)
{
	struct atom *p = alloc_tensor(nrow);
	p->u.tensor->ndim = 1;
	p->u.tensor->dim[0] = nrow;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
callq 0x7850
movq (%rax), %rcx
movl $0x1, (%rcx)
movq (%rax), %rcx
movl %ebx, 0x4(%rcx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: alloc_tensor
struct atom *
alloc_tensor(int nelem)
{
	int i;
	struct atom *p;
	struct tensor *t;
	p = alloc_atom();
	t = alloc_mem(sizeof (struct tensor) + nelem * sizeof (struct atom *));
	p->atomtype = TENSOR;
	p->u.tensor = t;
	t->nelem = nelem;
	for (i = 0; i < nelem; i++)
		t->elem[i] = zero;
	tensor_count++;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edi, %r14d
callq 0x74ec
movq %rax, %rbx
leal 0x70(,%r14,8), %edi
callq 0x7810
movb $0x7, 0x10(%rbx)
movq %rax, (%rbx)
movl %r14d, 0x64(%rax)
testl %r14d, %r14d
jle 0x7898
movq 0x368ba(%rip), %rcx     # 0x3e140
movl %r14d, %edx
xorl %esi, %esi
movq %rcx, 0x68(%rax,%rsi,8)
incq %rsi
cmpq %rsi, %rdx
jne 0x788b
incl 0x368aa(%rip)           # 0x3e148
movq %rbx, %rax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: alloc_matrix
struct atom *
alloc_matrix(int nrow, int ncol)
{
	struct atom *p = alloc_tensor(nrow * ncol);
	p->u.tensor->ndim = 2;
	p->u.tensor->dim[0] = nrow;
	p->u.tensor->dim[1] = ncol;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %r14d
movl %esi, %edi
imull %r14d, %edi
callq 0x7850
movq (%rax), %rcx
movl $0x2, (%rcx)
movq (%rax), %rcx
movl %r14d, 0x4(%rcx)
movq (%rax), %rcx
movl %ebx, 0x8(%rcx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mfloat
double
mfloat(uint32_t *p)
{
	int i, n;
	double d;
	n = MLENGTH(p);
	d = 0.0;
	for (i = 0; i < n; i++)
		d += scalbn((double) p[i], 32 * i);
	return d;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movslq -0x4(%rdi), %r15
testq %r15, %r15
jle 0x794d
movq %rdi, %rbx
shlq $0x5, %r15
xorps %xmm0, %xmm0
xorl %r14d, %r14d
movsd %xmm0, -0x20(%rbp)
movl (%rbx), %eax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
movl %r14d, %edi
callq 0x7270
movsd -0x20(%rbp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, -0x20(%rbp)
movsd -0x20(%rbp), %xmm0
addq $0x20, %r14
addq $0x4, %rbx
cmpq %r14, %r15
jne 0x7914
jmp 0x7950
xorps %xmm0, %xmm0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mscan
uint32_t *
mscan(char *s)
{
	int i, k, len;
	uint32_t *a, *b, *t;
	a = mint(0);
	len = (int) strlen(s);
	if (len == 0)
		return a;
	k = len % 9;
	if (k == 0)
		k = 9;
	for (i = 0; i < k; i++)
		a[0] = 10 * a[0] + s[i] - '0';
	if (k == len)
		return a;
	b = mint(0);
	while (k < len) {
		b[0] = 1000000000; // 10^9
		t = mmul(a, b);
		mfree(a);
		a = t;
		b[0] = 0;
		for (i = 0; i < 9; i++)
			b[0] = 10 * b[0] + s[k++] - '0';
		t = madd(a, b);
		mfree(a);
		a = t;
	}
	mfree(b);
	return a;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r13
xorl %edi, %edi
callq 0x7ad5
movq %rax, %r15
movq %r13, %rdi
callq 0x70e0
movq %rax, %rbx
testl %ebx, %ebx
je 0x7ac3
movslq %ebx, %rax
imulq $0x38e38e39, %rax, %rax # imm = 0x38E38E39
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x21, %rax
addl %ecx, %eax
leal (%rax,%rax,8), %eax
movl %ebx, %ecx
subl %eax, %ecx
movl $0x9, %r14d
cmovnel %ecx, %r14d
testl %r14d, %r14d
jle 0x7a05
movl (%r15), %ecx
movl %r14d, %eax
xorl %edx, %edx
leal (%rcx,%rcx,4), %ecx
movsbl (%r13,%rdx), %esi
leal (%rsi,%rcx,2), %ecx
addl $-0x30, %ecx
incq %rdx
cmpq %rdx, %rax
jne 0x79eb
movl %ecx, (%r15)
cmpl %ebx, %r14d
je 0x7ac3
xorl %edi, %edi
callq 0x7ad5
movq %rax, %r12
cmpl %ebx, %r14d
jge 0x7ab1
movq %r13, -0x38(%rbp)
movq %rbx, -0x30(%rbp)
movslq %r14d, %rbx
addq %r13, %rbx
movl $0x3b9aca00, (%r12)     # imm = 0x3B9ACA00
movq %r15, %rdi
movq %r12, %rsi
callq 0x7b16
movq %rax, %r13
addq $-0x4, %r15
movq %r15, %rdi
callq 0x7040
decl 0x36705(%rip)           # 0x3e15c
movl $0x0, (%r12)
xorl %eax, %eax
xorl %ecx, %ecx
leal (%rcx,%rcx,4), %ecx
movsbl (%rbx,%rax), %edx
leal (%rdx,%rcx,2), %ecx
addl $-0x30, %ecx
incq %rax
cmpl $0x9, %eax
jne 0x7a63
addl $0x9, %r14d
movl %ecx, (%r12)
movq %r13, %rdi
movq %r12, %rsi
callq 0x7c0e
movq %rax, %r15
addq $-0x4, %r13
movq %r13, %rdi
callq 0x7040
decl 0x366bc(%rip)           # 0x3e15c
movq -0x30(%rbp), %rbx
cmpl %ebx, %r14d
movq -0x38(%rbp), %r13
jl 0x7a29
addq $-0x4, %r12
movq %r12, %rdi
callq 0x7040
decl 0x36699(%rip)           # 0x3e15c
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mint
uint32_t *
mint(uint32_t n)
{
	uint32_t *p;
	p = mnew(1);
	p[0] = n;
	return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
movl $0x8, %edi
callq 0x7260
testq %rax, %rax
je 0x7b0c
incl 0x3666a(%rip)           # 0x3e15c
movl $0x1, (%rax)
movq %rax, %rcx
addq $0x4, %rcx
movl %ebx, 0x4(%rax)
movq %rcx, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl $0x1, %edi
callq 0x7330
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mmul
uint32_t *
mmul(uint32_t *u, uint32_t *v)
{
	int i, j, nu, nv, nw;
	uint64_t t;
	uint32_t *w;
	nu = MLENGTH(u);
	nv = MLENGTH(v);
	nw = nu + nv;
	w = mnew(nw);
	for (i = 0; i < nw; i++)
		w[i] = 0;
	for (i = 0; i < nu; i++) {
		t = 0;
		for (j = 0; j < nv; j++) {
			t += (uint64_t) u[i] * v[j] + w[i + j];
			w[i + j] = (uint32_t) t;
			t >>= 32;
		}
		w[i + j] = (uint32_t) t;
	}
	mnorm(w);
	return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, -0x30(%rbp)
movl -0x4(%rdi), %r13d
movl -0x4(%rsi), %r12d
leal (%r12,%r13), %r14d
leal 0x4(,%r14,4), %edi
callq 0x7810
incl 0x36612(%rip)           # 0x3e15c
movq %rax, %rbx
movl %r14d, (%rax)
movq %r14, %rax
leaq 0x4(%rbx), %r14
testl %eax, %eax
jle 0x7b73
leal (%r12,%r13), %eax
decl %eax
leaq 0x4(,%rax,4), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x7130
testl %r13d, %r13d
movq -0x30(%rbp), %r10
jle 0x7bcc
xorl %eax, %eax
movq %r14, %rcx
testl %r12d, %r12d
jle 0x7bb5
movl (%r10,%rax,4), %edi
xorl %edx, %edx
xorl %esi, %esi
movl (%r15,%rdx,4), %r8d
imulq %rdi, %r8
movl (%rcx,%rdx,4), %r9d
addq %rsi, %r9
addq %r8, %r9
movl %r9d, (%rcx,%rdx,4)
movq %r9, %rsi
shrq $0x20, %rsi
incq %rdx
cmpq %rdx, %r12
jne 0x7b8e
jmp 0x7bb9
xorl %edx, %edx
xorl %esi, %esi
leaq (%r14,%rdx,4), %rdx
movl %esi, (%rdx,%rax,4)
incq %rax
addq $0x4, %rcx
cmpq %r13, %rax
jne 0x7b81
movl (%rbx), %eax
cmpl $0x2, %eax
jl 0x7be7
movl %eax, %ecx
cmpl $0x0, (%rbx,%rcx,4)
jne 0x7be7
leal -0x1(%rax), %ecx
movl %ecx, (%rbx)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x7bd3
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: madd
uint32_t *
madd(uint32_t *u, uint32_t *v)
{
	int i, nu, nv, nw;
	uint64_t t;
	uint32_t *w;
	nu = MLENGTH(u);
	nv = MLENGTH(v);
	if (nu > nv)
		nw = nu + 1;
	else
		nw = nv + 1;
	w = mnew(nw);
	for (i = 0; i < nu; i++)
		w[i] = u[i];
	for (i = nu; i < nw; i++)
		w[i] = 0;
	t = 0;
	for (i = 0; i < nv; i++) {
		t += (uint64_t) w[i] + v[i];
		w[i] = (uint32_t) t;
		t >>= 32;
	}
	for (i = nv; i < nw; i++) {
		t += w[i];
		w[i] = (uint32_t) t;
		t >>= 32;
	}
	mnorm(w);
	return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, -0x40(%rbp)
movslq -0x4(%rdi), %r14
movl -0x4(%rsi), %r12d
cmpl %r12d, %r14d
movl %r12d, %r13d
cmovgl %r14d, %r13d
leal 0x1(%r13), %eax
movl %eax, -0x30(%rbp)
leal 0x8(,%r13,4), %edi
callq 0x7810
incl 0x3650a(%rip)           # 0x3e15c
leaq 0x4(%rax), %rbx
movl -0x30(%rbp), %ecx
movl %ecx, (%rax)
testq %r14, %r14
movq %rax, -0x38(%rbp)
jle 0x7c7c
leaq (,%r14,4), %rdx
movq %rbx, %rdi
movq -0x40(%rbp), %rsi
callq 0x7210
movq -0x38(%rbp), %rax
movslq %r12d, %rcx
movq %rcx, -0x30(%rbp)
leaq (%rax,%r14,4), %rdi
addq $0x4, %rdi
movl %r13d, %eax
subl %r14d, %eax
leaq 0x4(,%rax,4), %rdx
xorl %r14d, %r14d
xorl %esi, %esi
callq 0x7130
testl %r12d, %r12d
jle 0x7cca
xorl %eax, %eax
xorl %r14d, %r14d
movl (%rbx,%rax,4), %ecx
addq %r14, %rcx
movl (%r15,%rax,4), %r14d
addq %rcx, %r14
movl %r14d, (%rbx,%rax,4)
shrq $0x20, %r14
incq %rax
cmpq %rax, %r12
jne 0x7cad
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rax
leaq (%rsi,%rax,4), %rax
addq $0x4, %rax
subl %r12d, %r13d
incl %r13d
xorl %ecx, %ecx
movl (%rax,%rcx,4), %edx
addq %r14, %rdx
movl %edx, (%rax,%rcx,4)
shrq $0x20, %rdx
incq %rcx
movq %rdx, %r14
cmpl %ecx, %r13d
jne 0x7ce2
movl (%rsi), %eax
cmpl $0x2, %eax
jl 0x7d15
movl %eax, %ecx
cmpl $0x0, (%rsi,%rcx,4)
jne 0x7d15
leal -0x1(%rax), %ecx
movl %ecx, (%rsi)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x7d01
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mstr
char *
mstr(uint32_t *u)
{
	int i, k, n, r;
	static char *buf;
	static int len;

	// estimate string length

	// note that 0xffffffff -> 000000004 294967295

	// hence space for 8 leading zeroes is required

	n = 10 * MLENGTH(u) + 10;

	n = 1000 * (n / 1000 + 1);

	if (n > len) {
		if (buf)
			free(buf);
		buf = alloc_mem(n);
		len = n;
	}

	u = mcopy(u);

	k = len - 1;
	buf[k] = '\0'; // string terminator

	for (;;) {
		r = mdivby1billion(u);
		for (i = 0; i < 9; i++) {
			buf[--k] = r % 10 + '0';
			r /= 10;
		}
		if (MZERO(u))
			break;
	}

	mfree(u);

	// remove leading zeroes

	while (buf[k] == '0' && buf[k + 1])
		k++;

	return buf + k;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl -0x4(%rdi), %eax
leal (%rax,%rax,4), %eax
leal 0xa(,%rax,2), %eax
cltq
imulq $0x10624dd3, %rax, %rax # imm = 0x10624DD3
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x26, %rax
addl %ecx, %eax
imull $0x3e8, %eax, %r14d     # imm = 0x3E8
addl $0x3e8, %r14d           # imm = 0x3E8
cmpl 0x363eb(%rip), %r14d    # 0x3e158
jle 0x7d96
movq 0x363da(%rip), %rdi     # 0x3e150
testq %rdi, %rdi
je 0x7d80
callq 0x7040
movl %r14d, %edi
callq 0x7810
movq %rax, 0x363c1(%rip)     # 0x3e150
movl %r14d, 0x363c2(%rip)    # 0x3e158
movq %rbx, %rdi
callq 0x7e34
movq %rax, %rbx
movslq 0x363b0(%rip), %r14     # 0x3e158
movq 0x363a1(%rip), %r12     # 0x3e150
movb $0x0, -0x1(%r12,%r14)
decq %r14
movq %rbx, %rdi
callq 0x7e7d
movslq %r14d, %r15
addq %r12, %r15
xorl %ecx, %ecx
movslq %eax, %rdx
imulq $0x66666667, %rdx, %rax # imm = 0x66666667
movq %rax, %rsi
shrq $0x3f, %rsi
sarq $0x22, %rax
addl %esi, %eax
leal (%rax,%rax), %esi
leal (%rsi,%rsi,4), %esi
subl %esi, %edx
addb $0x30, %dl
movb %dl, -0x1(%r15)
decq %r15
incl %ecx
cmpl $0x9, %ecx
jne 0x7dc8
subl %ecx, %r14d
cmpl $0x1, -0x4(%rbx)
jne 0x7db8
cmpl $0x0, (%rbx)
jne 0x7db8
addq $-0x4, %rbx
movq %rbx, %rdi
callq 0x7040
decl 0x36344(%rip)           # 0x3e15c
movq %r15, %rax
cmpb $0x30, (%r15)
jne 0x7e2b
leaq 0x1(%rax), %r15
cmpb $0x0, 0x1(%rax)
jne 0x7e18
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mcopy
uint32_t *
mcopy(uint32_t *u)
{
	int i;
	uint32_t *v;
	v = mnew(MLENGTH(u));
	for (i = 0; i < MLENGTH(u); i++)
		v[i] = u[i];
	return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl -0x4(%rdi), %r14d
leal 0x4(,%r14,4), %edi
callq 0x7810
incl 0x36307(%rip)           # 0x3e15c
movl %r14d, (%rax)
addq $0x4, %rax
movslq -0x4(%rbx), %rdx
testq %rdx, %rdx
jle 0x7e78
shlq $0x2, %rdx
movq %rax, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %rbp
jmp 0x7210
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mdivby1billion
int
mdivby1billion(uint32_t *u)
{
	int i;
	uint64_t r = 0;
	for (i = MLENGTH(u) - 1; i >= 0; i--) {
		r = r << 32 | u[i];
		u[i] = (uint32_t) (r / 1000000000);
		r -= (uint64_t) 1000000000 * u[i];
	}
	mnorm(u);
	return (int) r;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq -0x4(%rdi), %rcx
testq %rcx, %rcx
jle 0x7ecf
movq %rcx, %rsi
incq %rsi
xorl %eax, %eax
movabsq $0x44b82fa09b5a53, %r8  # imm = 0x44B82FA09B5A53
shlq $0x20, %rax
movl -0x8(%rdi,%rsi,4), %r9d
orq %rax, %r9
movq %r9, %rax
shrq $0x9, %rax
mulq %r8
shrq $0xb, %rdx
movl %edx, -0x8(%rdi,%rsi,4)
imulq $-0x3b9aca00, %rdx, %rax # imm = 0xC4653600
addq %r9, %rax
decq %rsi
cmpq $0x1, %rsi
jg 0x7e9c
jmp 0x7ed1
xorl %eax, %eax
cmpl $0x2, %ecx
jl 0x7eec
movl %ecx, %edx
cmpl $0x0, -0x4(%rdi,%rdx,4)
jne 0x7eec
leal -0x1(%rcx), %edx
movl %edx, -0x4(%rdi)
cmpl $0x2, %ecx
movl %edx, %ecx
jg 0x7ed6
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mnew
uint32_t *
mnew(int n)
{
	uint32_t *u;
	u = alloc_mem((n + 1) * sizeof (uint32_t));
	bignum_count++;
	*u = n;
	return u + 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
leal 0x4(,%rbx,4), %edi
callq 0x7810
incl 0x36230(%rip)           # 0x3e15c
movl %ebx, (%rax)
addq $0x4, %rax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: msub
uint32_t *
msub(uint32_t *u, uint32_t *v)
{
	int i, nu, nv, nw;
	uint64_t t;
	uint32_t *w;
	nu = MLENGTH(u);
	nv = MLENGTH(v);
	if (nu > nv)
		nw = nu;
	else
		nw = nv;
	w = mnew(nw);
	for (i = 0; i < nu; i++)
		w[i] = u[i];
	for (i = nu; i < nw; i++)
		w[i] = 0;
	t = 0;
	for (i = 0; i < nv; i++) {
		t += (uint64_t) w[i] - v[i];
		w[i] = (uint32_t) t;
		t = (int64_t) t >> 32; // cast to extend sign
	}
	for (i = nv; i < nw; i++) {
		t += w[i];
		w[i] = (uint32_t) t;
		t = (int64_t) t >> 32; // cast to extend sign
	}
	mnorm(w);
	return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r15
movq %rdi, -0x38(%rbp)
movslq -0x4(%rdi), %rax
movq %rax, -0x40(%rbp)
movl -0x4(%rsi), %r13d
cmpl %r13d, %eax
movl %r13d, %r12d
cmovgl %eax, %r12d
leal 0x4(,%r12,4), %edi
callq 0x7810
incl 0x361e2(%rip)           # 0x3e15c
movq %rax, %r14
leaq 0x4(%rax), %rbx
movq %r12, -0x30(%rbp)
movl %r12d, (%rax)
movq -0x40(%rbp), %r12
testq %r12, %r12
jle 0x7fa5
leaq (,%r12,4), %rdx
movq %rbx, %rdi
movq -0x38(%rbp), %rsi
callq 0x7210
cmpl %r12d, %r13d
jle 0x7fc9
leaq (%r14,%r12,4), %rdi
addq $0x4, %rdi
movl %r12d, %eax
notl %eax
addl -0x30(%rbp), %eax
leaq 0x4(,%rax,4), %rdx
xorl %esi, %esi
callq 0x7130
testl %r13d, %r13d
jle 0x7ff3
xorl %ecx, %ecx
xorl %edx, %edx
movl (%rbx,%rcx,4), %eax
movl (%r15,%rcx,4), %esi
subq %rsi, %rax
addq %rdx, %rax
movl %eax, (%rbx,%rcx,4)
sarq $0x20, %rax
incq %rcx
movq %rax, %rdx
cmpq %rcx, %r13
jne 0x7fd2
jmp 0x7ff5
xorl %eax, %eax
cmpl %r13d, %r12d
jle 0x8019
movslq %r13d, %rcx
movslq -0x30(%rbp), %rdx
movl (%rbx,%rcx,4), %esi
addq %rax, %rsi
movl %esi, (%rbx,%rcx,4)
sarq $0x20, %rsi
incq %rcx
movq %rsi, %rax
cmpq %rcx, %rdx
jne 0x8001
movl (%r14), %eax
cmpl $0x2, %eax
jl 0x8037
movl %eax, %ecx
cmpl $0x0, (%r14,%rcx,4)
jne 0x8037
leal -0x1(%rax), %ecx
movl %ecx, (%r14)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x8021
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mpow
uint32_t *
mpow(uint32_t *u, uint32_t *v)
{
	uint32_t *t, *w;
	u = mcopy(u);
	v = mcopy(v);
	// w = 1
	w = mnew(1);
	w[0] = 1;
	for (;;) {
		if (v[0] & 1) {
			// w = w * u
			t = mmul(w, u);
			mfree(w);
			w = t;
		}
		// v = v >> 1
		mshr(v);
		// v = 0?
		if (MLENGTH(v) == 1 && v[0] == 0)
			break;
		// u = u * u
		t = mmul(u, u);
		mfree(u);
		u = t;
	}
	mfree(u);
	mfree(v);
	return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
callq 0x7e34
movq %rax, %r15
movq %rbx, %rdi
callq 0x7e34
movq %rax, %rbx
movl $0x8, %edi
callq 0x7260
testq %rax, %rax
je 0x860b
movq %rax, %r14
incl 0x35c02(%rip)           # 0x3e15c
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, (%r14)
addq $0x4, %r14
testb $0x1, (%rbx)
je 0x8593
movq %r14, %rdi
movq %r15, %rsi
callq 0x7b16
movq %rax, %r12
addq $-0x4, %r14
movq %r14, %rdi
callq 0x7040
decl 0x35bcc(%rip)           # 0x3e15c
movq %r12, %r14
movq %rbx, %rdi
callq 0x8615
cmpl $0x1, -0x4(%rbx)
jne 0x85a6
cmpl $0x0, (%rbx)
je 0x85cb
movq %r15, %rdi
movq %r15, %rsi
callq 0x7b16
movq %rax, %r12
addq $-0x4, %r15
movq %r15, %rdi
callq 0x7040
decl 0x35b96(%rip)           # 0x3e15c
movq %r12, %r15
jmp 0x856b
addq $-0x4, %rbx
addq $-0x4, %r15
movq %r15, %rdi
callq 0x7040
movl 0x35b7a(%rip), %r15d    # 0x3e15c
leal -0x1(%r15), %eax
movl %eax, 0x35b70(%rip)     # 0x3e15c
movq %rbx, %rdi
callq 0x7040
addl $-0x2, %r15d
movl %r15d, 0x35b5d(%rip)    # 0x3e15c
movq %r14, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %edi
callq 0x7330
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mshr
void
mshr(uint32_t *u)
{
	int i;
	for (i = 0; i < MLENGTH(u) - 1; i++) {
		u[i] >>= 1;
		if (u[i + 1] & 1)
			u[i] |= 0x80000000;
	}
	u[i] >>= 1;
	mnorm(u);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl -0x4(%rdi), %eax
cmpl $0x2, %eax
jl 0x8648
leal -0x1(%rax), %edx
xorl %ecx, %ecx
movl (%rdi,%rcx,4), %esi
shrl %esi
movl %esi, (%rdi,%rcx,4)
testb $0x1, 0x4(%rdi,%rcx,4)
je 0x863e
orl $0x80000000, %esi       # imm = 0x80000000
movl %esi, (%rdi,%rcx,4)
incq %rcx
cmpq %rcx, %rdx
jne 0x8626
jmp 0x864a
xorl %ecx, %ecx
shrl (%rdi,%rcx,4)
cmpl $0x2, %eax
jl 0x8668
movl %eax, %ecx
cmpl $0x0, -0x4(%rdi,%rcx,4)
jne 0x8668
leal -0x1(%rax), %ecx
movl %ecx, -0x4(%rdi)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x8652
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: mcmp
int
mcmp(uint32_t *u, uint32_t *v)
{
	int i;
	mnorm(u);
	mnorm(v);
	if (MLENGTH(u) < MLENGTH(v))
		return -1;
	if (MLENGTH(u) > MLENGTH(v))
		return 1;
	for (i = MLENGTH(u) - 1; i >= 0; i--) {
		if (u[i] < v[i])
			return -1;
		if (u[i] > v[i])
			return 1;
	}
	return 0; // u = v
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl -0x4(%rdi), %eax
cmpl $0x2, %eax
jl 0x868c
movl %eax, %ecx
cmpl $0x0, -0x4(%rdi,%rcx,4)
jne 0x868c
leal -0x1(%rax), %ecx
movl %ecx, -0x4(%rdi)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x8676
movl -0x4(%rsi), %eax
cmpl $0x2, %eax
jl 0x86aa
movl %eax, %ecx
cmpl $0x0, -0x4(%rsi,%rcx,4)
jne 0x86aa
leal -0x1(%rax), %ecx
movl %ecx, -0x4(%rsi)
cmpl $0x2, %eax
movl %ecx, %eax
jg 0x8694
movl -0x4(%rdi), %ecx
movl -0x4(%rsi), %edx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl %edx, %ecx
jl 0x86e0
cmpl %edx, %ecx
jg 0x86d7
testl %ecx, %ecx
jle 0x86de
movl -0x4(%rdi,%rcx,4), %edx
movl -0x4(%rsi,%rcx,4), %r8d
cmpl %r8d, %edx
jb 0x86e0
decq %rcx
cmpl %r8d, %edx
jbe 0x86bd
movl $0x1, %eax
jmp 0x86e0
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]eigenmath/eigenmath.c
// Function: meq
int
meq(uint32_t *u, uint32_t *v)
{
	int i;
	if (MLENGTH(u) != MLENGTH(v))
		return 0;
	for (i = 0; i < MLENGTH(u); i++)
		if (u[i] != v[i])
			return 0;
	return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl -0x4(%rdi), %ecx
xorl %eax, %eax
cmpl -0x4(%rsi), %ecx
jne 0x8711
movl $0x1, %eax
testl %ecx, %ecx
jle 0x8711
xorl %edx, %edx
movl (%rdi,%rdx,4), %r8d
cmpl (%rsi,%rdx,4), %r8d
jne 0x870f
incq %rdx
cmpq %rdx, %rcx
jne 0x86fb
jmp 0x8711
xorl %eax, %eax
popq %rbp
retq