// File: /workspace/github_c_makefile_star2_O1/pwelke[P]GraphMiningTools/loading.c
// Function: parseHeader
static inline int parseHeader(int* id, int* activity, int* n, int* m) { 
	const char *current = *HEAD_PTR + 1;
	if ((*HEAD_PTR)[0] != '#') { 
		return -1; 
	}

	*id = fastAtoiAgnostic(&current);
	int agnostic_errors = AGNOSTIC_ERROR;
	*activity = fastAtoiAgnostic(&current);
	agnostic_errors += AGNOSTIC_ERROR;
	*n = fastAtoi(&current);
	*m = fastAtoi(&current);
	/* return number of correctly read items.
		See: C11(ISO/IEC 9899:201x) §6.5.8 Relational operators */
	return 2 - agnostic_errors + (*n != -1) + (*m != -1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x1fa86(%rip), %rax     # 0x2d190
movq (%rax), %r13
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpb $0x23, (%r13)
jne 0xd906
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
incq %r13
callq 0x1260
movq (%rax), %rcx
movq %r13, %rsi
movsbq (%rsi), %rdx
incq %rsi
testb $0x20, 0x1(%rcx,%rdx,2)
jne 0xd737
xorl %edi, %edi
cmpb $0x2d, %dl
setne %dil
movq %rsi, %rax
subq %rdi, %rax
movsbl (%rax), %r10d
addl $-0x30, %r10d
leaq -0x1(%rsi), %r9
xorl %r8d, %r8d
cmpl $0x9, %r10d
ja 0xd790
negq %rdi
xorl %r8d, %r8d
leal (%r8,%r8,4), %eax
leal (%r10,%rax,2), %r8d
movsbl 0x1(%rsi,%rdi), %r10d
addl $-0x30, %r10d
incq %rsi
cmpl $0xa, %r10d
jb 0xd76f
addq %rdi, %rsi
movq %rsi, %rax
cmpq %rax, %r9
je 0xd7aa
movl %r8d, %esi
negl %esi
cmpb $0x2d, %dl
movb $0x1, 0x1fa1c(%rip)     # 0x2d1c0
cmovnel %r8d, %esi
jmp 0xd7b6
movb $0x0, 0x1fa0f(%rip)     # 0x2d1c0
xorl %esi, %esi
movq %r13, %rax
movl %esi, (%r12)
movzbl 0x1f9ff(%rip), %esi     # 0x2d1c0
movq %rax, %r8
movsbq (%r8), %rdi
incq %r8
testb $0x20, 0x1(%rcx,%rdi,2)
jne 0xd7c4
xorl %r9d, %r9d
cmpb $0x2d, %dil
setne %r9b
movq %r8, %rdx
subq %r9, %rdx
movsbl (%rdx), %r12d
addl $-0x30, %r12d
leaq -0x1(%r8), %r11
xorl %r10d, %r10d
cmpl $0x9, %r12d
ja 0xd81f
negq %r9
xorl %r10d, %r10d
leal (%r10,%r10,4), %edx
leal (%r12,%rdx,2), %r10d
movsbl 0x1(%r8,%r9), %r12d
addl $-0x30, %r12d
incq %r9
cmpl $0xa, %r12d
jb 0xd7fe
addq %r9, %r8
movq %r8, %rdx
cmpq %rdx, %r11
je 0xd83b
movl %r10d, %r8d
negl %r8d
cmpb $0x2d, %dil
movb $0x1, 0x1f98b(%rip)     # 0x2d1c0
cmovnel %r10d, %r8d
jmp 0xd848
movb $0x0, 0x1f97e(%rip)     # 0x2d1c0
xorl %r8d, %r8d
movq %rax, %rdx
movl %r8d, (%r15)
movzbl 0x1f96e(%rip), %eax     # 0x2d1c0
leaq -0x1(%rdx), %rdi
movsbq 0x1(%rdi), %r8
incq %rdi
testb $0x20, 0x1(%rcx,%r8,2)
jne 0xd856
addl $-0x30, %r8d
xorl %r9d, %r9d
movq %rdi, %r10
cmpl $0x9, %r8d
ja 0xd896
xorl %r9d, %r9d
movq %rdi, %r10
leal (%r9,%r9,4), %r9d
leal (%r8,%r9,2), %r9d
movsbl 0x1(%r10), %r8d
incq %r10
addl $-0x30, %r8d
cmpl $0xa, %r8d
jb 0xd87c
addl %esi, %eax
cmpq %r10, %rdi
cmovneq %r10, %rdx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
cmovnel %r9d, %esi
movl %esi, (%rbx)
decq %rdx
movsbq 0x1(%rdx), %rsi
incq %rdx
testb $0x20, 0x1(%rcx,%rsi,2)
jne 0xd8ad
addl $-0x30, %esi
xorl %ecx, %ecx
movq %rdx, %rdi
cmpl $0x9, %esi
ja 0xd8e3
xorl %ecx, %ecx
movq %rdx, %rdi
leal (%rcx,%rcx,4), %ecx
leal (%rsi,%rcx,2), %ecx
movsbl 0x1(%rdi), %esi
incq %rdi
addl $-0x30, %esi
cmpl $0xa, %esi
jb 0xd8ce
cmpq %rdi, %rdx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmovnel %ecx, %edx
movl %edx, (%r14)
xorl %ecx, %ecx
cmpl $-0x1, (%rbx)
setne %cl
xorl %esi, %esi
cmpl $-0x1, %edx
setne %sil
addl %esi, %eax
addl %ecx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq