LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayInitWithDetails
int eaDSDynamicArrayInitWithDetails(eaDSDynamicArray * dynamicArray, void * (*dataCreateAndCopy)(const void *), int (*dataCompare)(const void *, const void *), void (*dataClear)(void *), unsigned short expFactor, unsigned short startingCapacity)
{
	if (startingCapacity == 0)
		startingCapacity = DEFAULT_STARTING_CAPACITY;

	dynamicArray->Data = (void **) malloc(startingCapacity * sizeof(void *));

	if (NULL == dynamicArray->Data)
	{
		perror(NULL);
		return EXIT_FAILURE;
	}

	dynamicArray->Count = 0;
	dynamicArray->Capacity = startingCapacity;
	dynamicArray->StartingCapacity = startingCapacity;
	dynamicArray->ExpFactor = (expFactor < 2) ? DEFAULT_EXP_FACTOR : expFactor;
	dynamicArray->dataCreateAndCopy = (NULL == dataCreateAndCopy) ? copyAddress : dataCreateAndCopy;
	dynamicArray->dataCompare = (NULL == dataCompare) ? compareAddress : dataCompare;
	dynamicArray->dataClear = (NULL == dataClear) ? free : dataClear;

	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
testl %r9d, %r9d
pushq $0x4
popq %r13
cmovnel %r9d, %r13d
leal (,%r13,8), %edi
callq 0x1090
movq %rax, (%r14)
testq %rax, %rax
je 0x1616
andq $0x0, 0x8(%r14)
movq %r13, 0x10(%r14)
movw %r13w, 0x1a(%r14)
cmpw $0x3, %bp
pushq $0x2
popq %rax
cmovael %ebp, %eax
movw %ax, 0x18(%r14)
movq %r12, %xmm0
movq %r15, %xmm1
punpcklqdq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0]
pxor %xmm0, %xmm0
pcmpeqd %xmm1, %xmm0
pshufd $0xb1, %xmm0, %xmm2     # xmm2 = xmm0[1,0,3,2]
pand %xmm0, %xmm2
leaq 0x58(%rip), %rax        # 0x1626
movq %rax, %xmm0
leaq 0x48(%rip), %rax        # 0x1622
movq %rax, %xmm3
punpcklqdq %xmm0, %xmm3    # xmm3 = xmm3[0],xmm0[0]
pand %xmm2, %xmm3
pandn %xmm1, %xmm2
por %xmm3, %xmm2
movdqu %xmm2, 0x20(%r14)
testq %rbx, %rbx
jne 0x1601
movq 0x49cf(%rip), %rbx      # 0x5fd0
movq %rbx, 0x30(%r14)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rax
jmp 0x1607
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayReset
int eaDSDynamicArrayReset(eaDSDynamicArray * dynamicArray)
{
	if (NULL == dynamicArray->Data)
	{
		dynamicArray->Data = (void **) malloc(dynamicArray->Capacity * sizeof(void *));

		if (NULL == dynamicArray->Data)
		{
			perror(NULL);

			return EXIT_FAILURE;
		}
	}
	else
	{
		while (dynamicArray->Count)
		{
			dynamicArray->dataClear(dynamicArray->Data[--dynamicArray->Count]);
		}

		if (dynamicArray->StartingCapacity < dynamicArray->Capacity)
		{
			free(dynamicArray->Data);
			dynamicArray->Data = (void **) malloc(dynamicArray->StartingCapacity * sizeof(void *));

			if (NULL == dynamicArray->Data)
			{
				perror(NULL);

				return EXIT_FAILURE;
			}

			dynamicArray->Capacity = dynamicArray->StartingCapacity;
		}
	}

	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x168e
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x165a
movq (%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rcx,%rax,8), %rdi
callq *0x30(%rbx)
jmp 0x163c
movzwl 0x1a(%rbx), %eax
xorl %ebp, %ebp
cmpq %rax, 0x10(%rbx)
jbe 0x16a5
movq (%rbx), %rdi
callq 0x10e0
movzwl 0x1a(%rbx), %r14d
leal (,%r14,8), %edi
callq 0x1090
movq %rax, (%rbx)
testq %rax, %rax
je 0x16ac
movq %r14, 0x10(%rbx)
jmp 0x16a5
movq 0x10(%rbx), %rdi
shlq $0x3, %rdi
callq 0x1090
movq %rax, (%rbx)
xorl %ebp, %ebp
testq %rax, %rax
je 0x16ac
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rbp
jmp 0x16a5
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayClear
void eaDSDynamicArrayClear(eaDSDynamicArray * dynamicArray)
{
	if (NULL != dynamicArray->Data)
	{
		while (dynamicArray->Count)
		{
			dynamicArray->dataClear(dynamicArray->Data[--dynamicArray->Count]);
		}

		free(dynamicArray->Data);
	}
}

// Assembly:
cmpq $0x0, (%rdi)
je 0x16e9
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x16e0
movq (%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rcx,%rax,8), %rdi
callq *0x30(%rbx)
jmp 0x16c2
movq (%rbx), %rdi
popq %rbx
jmp 0x10e0
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArraySort
void eaDSDynamicArraySort(eaDSDynamicArray * dynamicArray)
{
	void * buf;
	size_t i, j, N = dynamicArray->Count;

	for (i = 1; i < N; i++)
	{
		for (j = i; (0 < j) && (dynamicArray->dataCompare(dynamicArray->Data[j - 1], dynamicArray->Data[j]) > 0); j--)
		{
			buf = dynamicArray->Data[j];
			dynamicArray->Data[j] = dynamicArray->Data[j - 1];
			dynamicArray->Data[j - 1] = buf;
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %r14
pushq $0x1
popq %r15
xorl %r12d, %r12d
cmpq %r14, %r15
jae 0x1747
movq %r12, %r13
cmpq $-0x1, %r13
je 0x173f
movq (%rbx), %rax
movq (%rax,%r13,8), %rdi
movq 0x8(%rax,%r13,8), %rsi
callq *0x28(%rbx)
testl %eax, %eax
jle 0x173f
movq (%rbx), %rax
movq (%rax,%r13,8), %rcx
movq 0x8(%rax,%r13,8), %rdx
movq %rcx, 0x8(%rax,%r13,8)
movq (%rbx), %rax
movq %rdx, (%rax,%r13,8)
decq %r13
jmp 0x1709
incq %r15
incq %r12
jmp 0x1701
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayAdd
int eaDSDynamicArrayAdd(eaDSDynamicArray * dynamicArray, const void * data)
{
	void * item = dynamicArray->dataCreateAndCopy(data);

	if (NULL == item)
	{
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (dynamicArray->Count == dynamicArray->Capacity)
	{
		void ** tmp;

		dynamicArray->Capacity *= dynamicArray->ExpFactor;
		tmp = (void **) realloc(dynamicArray->Data, dynamicArray->Capacity * sizeof(void *));

		if (NULL == tmp)
		{
			perror(NULL);
			dynamicArray->Capacity /= dynamicArray->ExpFactor;

			return EXIT_FAILURE;
		}

		dynamicArray->Data = tmp;
	}

	dynamicArray->Data[dynamicArray->Count] = item;
	dynamicArray->Count++;

	return EXIT_SUCCESS;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, %rdi
callq *0x20(%rbx)
testq %rax, %rax
je 0x17b6
movq %rax, %r14
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
jne 0x17a1
movzwl 0x18(%rbx), %ecx
imulq %rcx, %rsi
movq %rsi, 0x10(%rbx)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x10a0
testq %rax, %rax
je 0x17bf
movq %rax, (%rbx)
movq 0x8(%rbx), %rsi
movq %r14, (%rax,%rsi,8)
incq %rsi
movq %rsi, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x17d7
xorl %edi, %edi
callq 0x10b0
movzwl 0x18(%rbx), %ecx
movq 0x10(%rbx), %rax
xorl %edx, %edx
divq %rcx
movq %rax, 0x10(%rbx)
pushq $0x1
popq %rax
jmp 0x17ae
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayInsert
int eaDSDynamicArrayInsert(eaDSDynamicArray * dynamicArray, const void * data, size_t index)
{
	size_t j, cnt = dynamicArray->Count;

	if (index <= cnt)
	{
		void * item;

		if (NULL == (item = dynamicArray->dataCreateAndCopy(data)))
		{
			perror(NULL);

			return EXIT_FAILURE;
		}

		if (dynamicArray->Count == dynamicArray->Capacity)
		{
			void ** tmp;

			dynamicArray->Capacity *= dynamicArray->ExpFactor;
			tmp = (void **) realloc(dynamicArray->Data, dynamicArray->Capacity * sizeof(void *));

			if (NULL == tmp)
			{
				perror(NULL);
				dynamicArray->Capacity /= dynamicArray->ExpFactor;

				return EXIT_FAILURE;
			}

			dynamicArray->Data = tmp;
		}

		if (cnt)
		{
			for (j = cnt - 1; j >= index; j--)
			{
				dynamicArray->Data[j + 1] = dynamicArray->Data[j];

				if (!j)
				{
					break;
				}
			}
		}

		dynamicArray->Data[index] = item;
		dynamicArray->Count++;

		return EXIT_SUCCESS;
	}

	return EXIT_FAILURE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x8(%rdi), %r12
pushq $0x1
popq %rbp
cmpq %rdx, %r12
jb 0x185a
movq %rdx, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq *0x20(%rbx)
testq %rax, %rax
je 0x1865
movq %rax, %r15
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
jne 0x182e
movzwl 0x18(%rbx), %eax
imulq %rax, %rsi
movq %rsi, 0x10(%rbx)
movq (%rbx), %rdi
shlq $0x3, %rsi
callq 0x10a0
testq %rax, %rax
je 0x186e
movq %rax, (%rbx)
testq %r12, %r12
je 0x184d
decq %r12
cmpq %r14, %r12
jb 0x184d
movq (%rbx), %rax
movq (%rax,%r12,8), %rcx
movq %rcx, 0x8(%rax,%r12,8)
addq $-0x1, %r12
jb 0x1836
movq (%rbx), %rax
movq %r15, (%rax,%r14,8)
incq 0x8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x185a
xorl %edi, %edi
callq 0x10b0
movzwl 0x18(%rbx), %ecx
movq 0x10(%rbx), %rax
xorl %edx, %edx
divq %rcx
movq %rax, 0x10(%rbx)
jmp 0x185a
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayRemove
void eaDSDynamicArrayRemove(eaDSDynamicArray * dynamicArray, const void * data)
{
	size_t i, cnt = dynamicArray->Count;

	for (i = 0; i < cnt; i++)
	{
		if (!dynamicArray->dataCompare(data, dynamicArray->Data[i]))
		{
			if ((DEFAULT_STARTING_CAPACITY < dynamicArray->Capacity) && (dynamicArray->Count < dynamicArray->Capacity / dynamicArray->ExpFactor))
			{
				void ** tmp;

				dynamicArray->Capacity /= dynamicArray->ExpFactor;
				tmp = (void **) realloc(dynamicArray->Data, dynamicArray->Capacity * sizeof(void *));

				if (NULL != tmp)
				{
					dynamicArray->Data = tmp;
				}
				else
				{
					dynamicArray->Capacity *= dynamicArray->ExpFactor;
				}
				
			}

			dynamicArray->Count--;
			dynamicArray->dataClear(dynamicArray->Data[i]);

			for (; i < (cnt - 1); i++)
			{
				dynamicArray->Data[i] = dynamicArray->Data[i + 1];
			}

			break;
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %r15
movq %r15, %r13
negq %r13
pushq $0x1
popq %r12
leaq (%r12,%r13), %rax
cmpq $0x1, %rax
je 0x1935
movq (%rbx), %rax
movq -0x8(%rax,%r12,8), %rsi
movq %r14, %rdi
callq *0x28(%rbx)
testl %eax, %eax
je 0x18ca
incq %r12
jmp 0x18a5
movq 0x10(%rbx), %rax
cmpq $0x5, %rax
jb 0x1910
movq 0x8(%rbx), %rcx
movzwl 0x18(%rbx), %esi
xorl %edx, %edx
divq %rsi
cmpq %rax, %rcx
jae 0x1910
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
shlq $0x3, %rax
movq %rax, %rsi
callq 0x10a0
testq %rax, %rax
je 0x1903
movq %rax, (%rbx)
jmp 0x1910
movzwl 0x18(%rbx), %eax
imulq 0x10(%rbx), %rax
movq %rax, 0x10(%rbx)
decq 0x8(%rbx)
movq (%rbx), %rax
movq -0x8(%rax,%r12,8), %rdi
callq *0x30(%rbx)
cmpq %r12, %r15
je 0x1935
movq (%rbx), %rax
movq (%rax,%r12,8), %rcx
movq %rcx, -0x8(%rax,%r12,8)
incq %r12
jmp 0x191f
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayRemoveAt
void eaDSDynamicArrayRemoveAt(eaDSDynamicArray * dynamicArray, size_t index)
{
	size_t cnt = dynamicArray->Count;

	if (cnt && (index < cnt))
	{
		size_t j = index;

		dynamicArray->dataClear(dynamicArray->Data[index]);

		for (; j < cnt - 1; j++)
		{
			dynamicArray->Data[j] = dynamicArray->Data[j + 1];
		}

		dynamicArray->Count--;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x8(%rdi), %r15
cmpq %rsi, %r15
jbe 0x1a2c
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq (%rax,%rsi,8), %rdi
callq *0x30(%rbx)
decq %r15
cmpq %r15, %r14
jae 0x1a28
movq (%rbx), %rax
movq 0x8(%rax,%r14,8), %rcx
movq %rcx, (%rax,%r14,8)
incq %r14
jmp 0x1a12
decq 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSDynamicArray.c
// Function: eaDSDynamicArrayRemoveAtCopyLastItem
void eaDSDynamicArrayRemoveAtCopyLastItem(eaDSDynamicArray * dynamicArray, size_t index)
{
	size_t cnt = dynamicArray->Count;

	if (cnt && (index < cnt))
	{
		if ((DEFAULT_STARTING_CAPACITY < dynamicArray->Capacity) && (dynamicArray->Count < dynamicArray->Capacity / dynamicArray->ExpFactor))
		{
			void ** tmp;

			dynamicArray->Capacity /= dynamicArray->ExpFactor;
			tmp = (void **) realloc(dynamicArray->Data, dynamicArray->Capacity * sizeof(void *));

			if (NULL != tmp)
			{
				dynamicArray->Data = tmp;
			}
			else
			{
				dynamicArray->Capacity *= dynamicArray->ExpFactor;
			}
		}
		
		dynamicArray->dataClear(dynamicArray->Data[index]);

		if (cnt - 1)
		{
			dynamicArray->Data[index] = dynamicArray->Data[cnt - 1];
		}

		dynamicArray->Count--;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x8(%rdi), %r15
cmpq %rsi, %r15
jbe 0x1aa8
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq $0x5, %rax
jb 0x1a88
movzwl 0x18(%rbx), %ecx
xorl %edx, %edx
divq %rcx
cmpq %rax, %r15
jae 0x1a88
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
shlq $0x3, %rax
movq %rax, %rsi
callq 0x10a0
testq %rax, %rax
je 0x1a7b
movq %rax, (%rbx)
jmp 0x1a88
movzwl 0x18(%rbx), %eax
imulq 0x10(%rbx), %rax
movq %rax, 0x10(%rbx)
movq (%rbx), %rax
movq (%rax,%r14,8), %rdi
callq *0x30(%rbx)
cmpq $0x1, %r15
je 0x1aa4
movq (%rbx), %rax
movq -0x8(%rax,%r15,8), %rcx
movq %rcx, (%rax,%r14,8)
decq 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListInit
eaDSLinkedList eaDSLinkedListInit(void * (*dataCreateAndCopy)(const void *), int (*dataCompare)(const void *, const void *), void (*dataClear)(void *))
{
	eaDSLinkedList linkedList = (eaDSLinkedList) malloc(sizeof(struct _eaDSLinkedList));

	if (NULL == linkedList)
	{
		perror(NULL);
	}
	else
	{
		linkedList->Head = NULL;
		linkedList->Tail = NULL;
		linkedList->dataCreateAndCopy = (NULL == dataCreateAndCopy) ? copyAddress : dataCreateAndCopy;
		linkedList->dataCompare = (NULL == dataCompare) ? compareAddress : dataCompare;
		linkedList->dataClear = (NULL == dataClear) ? free : dataClear;
	}

	return linkedList;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
pushq $0x28
popq %rdi
callq 0x1090
movq %rax, %rbx
testq %rax, %rax
je 0x1b6c
movq %r12, %xmm0
movq %r15, %xmm1
punpcklqdq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0]
pxor %xmm0, %xmm0
movdqa %xmm1, %xmm2
pcmpeqd %xmm0, %xmm2
pshufd $0xb1, %xmm2, %xmm3     # xmm3 = xmm2[1,0,3,2]
pand %xmm2, %xmm3
movdqu %xmm0, (%rbx)
leaq 0x52(%rip), %rax        # 0x1b79
movq %rax, %xmm0
leaq 0x42(%rip), %rax        # 0x1b75
movq %rax, %xmm2
punpcklqdq %xmm0, %xmm2    # xmm2 = xmm2[0],xmm0[0]
pand %xmm3, %xmm2
pandn %xmm1, %xmm3
por %xmm2, %xmm3
movdqu %xmm3, 0x10(%rbx)
testq %r14, %r14
jne 0x1b59
movq 0x4477(%rip), %r14      # 0x5fd0
movq %r14, 0x20(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x1b5d
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListReset
void eaDSLinkedListReset(eaDSLinkedList linkedList)
{
	while(NULL != linkedList->Head)
	{
		ItemLL * tmp = linkedList->Head;
		linkedList->Head = tmp->Next;
		linkedList->dataClear(tmp->Data);

		free(tmp);
	}

	linkedList->Tail = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rbx), %r14
testq %r14, %r14
je 0x1ba8
movq 0x8(%r14), %rax
movq %rax, (%rbx)
movq (%r14), %rdi
callq *0x20(%rbx)
movq %r14, %rdi
callq 0x10e0
jmp 0x1b89
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListAdd
int eaDSLinkedListAdd(eaDSLinkedList linkedList, const void * data)
{
	ItemLL * iter = linkedList->Head, * tmp;

	if(NULL == (tmp = (ItemLL *) malloc(sizeof(ItemLL))))
	{
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (NULL == (tmp->Data = linkedList->dataCreateAndCopy(data)))
	{
		free(tmp);
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (NULL == iter)
	{
		linkedList->Head = tmp;
	}
	else
	{
		linkedList->Tail->Next = tmp;
	}

	tmp->Next = NULL;
	linkedList->Tail = tmp;

	return EXIT_SUCCESS;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %r12
pushq $0x10
popq %rdi
callq 0x1090
testq %rax, %rax
je 0x1c3e
movq %rax, %r14
movq %r15, %rdi
callq *0x10(%rbx)
movq %rax, (%r14)
testq %rax, %rax
je 0x1c36
movq %rbx, %rax
testq %r12, %r12
je 0x1c1c
movq 0x8(%rbx), %rax
addq $0x8, %rax
movq %r14, (%rax)
andq $0x0, 0x8(%r14)
movq %r14, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
callq 0x10e0
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rax
jmp 0x1c2a
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListRemove
void eaDSLinkedListRemove(eaDSLinkedList linkedList, const void * data)
{
	ItemLL * iter = linkedList->Head, * p;

	if (NULL == iter)
	{
		return;
	}

	if (iter == linkedList->Tail)
	{
		if (!linkedList->dataCompare(data, iter->Data))
		{
			linkedList->dataClear(iter->Data);
			free(iter);
			linkedList->Head = NULL;
			linkedList->Tail = NULL;
		}

		return;
	}

	while (0 != linkedList->dataCompare(data, iter->Data))
	{
		if (iter->Next == linkedList->Tail)
		{
			if (!linkedList->dataCompare(data, iter->Next->Data))
			{
				linkedList->dataClear(iter->Next->Data);
				free(iter->Next);
				iter->Next = NULL;
				linkedList->Tail = iter;
			}

			return;
		}

		iter = iter->Next;
	}

	linkedList->dataClear(iter->Data);

	if (iter->Next == linkedList->Tail)
	{
		linkedList->Tail = iter;
	}

	p = iter->Next->Next;
	iter->Data = iter->Next->Data;

	free(iter->Next);
	iter->Next = p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r15
testq %r15, %r15
je 0x1d01
movq %rsi, %r14
movq %rdi, %rbx
cmpq 0x8(%rdi), %r15
je 0x1cb3
movq %r15, %r12
movq (%r15), %rsi
movq %r14, %rdi
callq *0x18(%rbx)
testl %eax, %eax
je 0x1cd6
movq 0x8(%r12), %r15
cmpq 0x8(%rbx), %r15
jne 0x1c6a
movq (%r15), %rsi
movq %r14, %rdi
callq *0x18(%rbx)
testl %eax, %eax
jne 0x1d01
movq 0x8(%r12), %rax
movq (%rax), %rdi
callq *0x20(%rbx)
movq 0x8(%r12), %rdi
callq 0x10e0
andq $0x0, 0x8(%r12)
movq %r12, 0x8(%rbx)
jmp 0x1d01
movq (%r15), %rsi
movq %r14, %rdi
callq *0x18(%rbx)
testl %eax, %eax
jne 0x1d01
movq (%r15), %rdi
callq *0x20(%rbx)
movq %r15, %rdi
callq 0x10e0
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp 0x1d01
movq (%r12), %rdi
callq *0x20(%rbx)
movq 0x8(%r12), %rdi
cmpq 0x8(%rbx), %rdi
jne 0x1cec
movq %r12, 0x8(%rbx)
movq (%rdi), %rax
movq 0x8(%rdi), %rbx
movq %rax, (%r12)
callq 0x10e0
movq %rbx, 0x8(%r12)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListInsert
int eaDSLinkedListInsert(eaDSLinkedList linkedList, const void * data, size_t index)
{
	size_t i;
	void * p;
	ItemLL * iter = linkedList->Head, * tmp = (ItemLL *) malloc(sizeof(ItemLL));

	if(NULL == tmp)
	{
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (NULL == (p = linkedList->dataCreateAndCopy(data)))
	{
		free(tmp);
		perror(NULL);

		return EXIT_FAILURE;
	}

	for (i = 0; i < index; i++)
	{
		if (NULL == iter)
		{
			return EXIT_FAILURE;
		}
		iter = iter->Next;
	}

	if (0 == index || NULL == iter)
	{
		tmp->Next = iter;
		iter = tmp;

		if (0 == index)
		{
			linkedList->Head = tmp;
		}
	}
	else
	{
		tmp->Data = iter->Data;
		tmp->Next = iter->Next;
		iter->Next = tmp;
	}

	iter->Data = p;

	if (NULL == iter->Next)
	{
		linkedList->Tail = iter;
	}

	return EXIT_SUCCESS;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq (%rdi), %r13
pushq $0x10
popq %rdi
callq 0x1090
testq %rax, %rax
je 0x1e0a
movq %rax, %r14
movq %r12, %rdi
callq *0x10(%rbx)
testq %rax, %rax
je 0x1e02
pushq $0x1
popq %rcx
movq %r15, %rdx
subq $0x1, %rdx
jb 0x1dbe
testq %r13, %r13
je 0x1e14
movq 0x8(%r13), %r13
jmp 0x1dad
testq %r15, %r15
sete %cl
testq %r13, %r13
sete %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x1ded
movq %r13, 0x8(%r14)
testq %r15, %r15
jne 0x1ddd
movq %r14, (%rbx)
movq %rax, (%r14)
xorl %ecx, %ecx
testq %r13, %r13
jne 0x1e14
movq %r14, 0x8(%rbx)
jmp 0x1e14
movups (%r13), %xmm0
movups %xmm0, (%r14)
movq %r14, 0x8(%r13)
movq %rax, (%r13)
xorl %ecx, %ecx
jmp 0x1e14
movq %r14, %rdi
callq 0x10e0
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rcx
movl %ecx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSLinkedList.c
// Function: eaDSLinkedListGetFrom
void * eaDSLinkedListGetFrom(const eaDSLinkedList linkedList, size_t index)
{
	size_t i = 0;
	void * data = NULL;
	ItemLL * iter = linkedList->Head;

	while (NULL != iter)
	{
		if (index == i++)
		{
			if (NULL == (data = linkedList->dataCreateAndCopy(iter->Data)))
			{
				perror(NULL);
			}

			break;
		}

		iter = iter->Next;
	}

	return data;
}

// Assembly:
pushq %rbx
movq %rdi, %rax
xorl %ebx, %ebx
movq %rdi, %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x1e4b
subq $0x1, %rsi
jb 0x1e3d
addq $0x8, %rcx
jmp 0x1e29
movq (%rcx), %rdi
callq *0x10(%rax)
movq %rax, %rbx
testq %rax, %rax
je 0x1e50
movq %rbx, %rax
popq %rbx
retq
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x10b0
jmp 0x1e4b
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSQueue.c
// Function: eaDSQueueInit
eaDSQueue eaDSQueueInit(void * (*dataCreateAndCopy)(const void *), void (*dataClear)(void *))
{
	eaDSQueue queue = (eaDSQueue) malloc(sizeof(struct _eaDSQueue));

	if (NULL == queue)
	{
		perror(NULL);
	}
	else
	{
		queue->Front = NULL;
		queue->Rear = NULL;
		queue->dataCreateAndCopy = (NULL == dataCreateAndCopy) ? copyAddress : dataCreateAndCopy;
		queue->dataClear = (NULL == dataClear) ? free : dataClear;
	}

	return queue;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
pushq $0x20
popq %rdi
callq 0x1090
movq %rax, %rbx
testq %rax, %rax
je 0x1eec
movq %r15, %xmm0
movq %r14, %xmm1
punpcklqdq %xmm0, %xmm1    # xmm1 = xmm1[0],xmm0[0]
pxor %xmm0, %xmm0
movdqa %xmm1, %xmm2
pcmpeqd %xmm0, %xmm2
pshufd $0xb1, %xmm2, %xmm3     # xmm3 = xmm2[1,0,3,2]
pand %xmm2, %xmm3
movdqu %xmm0, (%rbx)
leaq 0x34(%rip), %rax        # 0x1ef5
movq %rax, %xmm0
movq 0x4102(%rip), %xmm2     # 0x5fd0
punpcklqdq %xmm2, %xmm0    # xmm0 = xmm0[0],xmm2[0]
pand %xmm3, %xmm0
pandn %xmm1, %xmm3
por %xmm0, %xmm3
movdqu %xmm3, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x1ee3
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSQueue.c
// Function: eaDSQueueReset
void eaDSQueueReset(eaDSQueue queue)
{
	while (NULL != queue->Front)
	{
		ItemQue * tmp = queue->Front;
		queue->Front = tmp->Next;
		queue->dataClear(tmp->Data);

		free(tmp);
	}

	queue->Rear = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rbx), %r14
testq %r14, %r14
je 0x1f1f
movq 0x8(%r14), %rax
movq %rax, (%rbx)
movq (%r14), %rdi
callq *0x18(%rbx)
movq %r14, %rdi
callq 0x10e0
jmp 0x1f00
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSQueue.c
// Function: eaDSQueueDequeue
void * eaDSQueueDequeue(eaDSQueue queue)
{
	void * p, * data;

	if (NULL == queue->Front)
	{
		return NULL;
	}

	data = queue->dataCreateAndCopy(queue->Front->Data);

	if (NULL == data)
	{
		perror(NULL);
	}

	queue->dataClear(queue->Front->Data);

	p = queue->Front;
	queue->Front = queue->Front->Next;
	free(p);

	if (NULL == queue->Front)
	{
		queue->Rear = NULL;
	}

	return data;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %rax
testq %rax, %rax
je 0x1f8c
movq %rdi, %r14
movq (%rax), %rdi
callq *0x10(%r14)
movq %rax, %rbx
testq %rax, %rax
je 0x1f99
movq (%r14), %rax
movq (%rax), %rdi
callq *0x18(%r14)
movq (%r14), %rdi
movq 0x8(%rdi), %rax
movq %rax, (%r14)
callq 0x10e0
cmpq $0x0, (%r14)
jne 0x1f8e
andq $0x0, 0x8(%r14)
jmp 0x1f8e
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x1f66
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSQueue.c
// Function: eaDSQueueEnqueue
int eaDSQueueEnqueue(eaDSQueue queue, const void * data)
{
	ItemQue * tmp = (ItemQue *) malloc(sizeof(ItemQue));

	if (NULL == tmp)
	{
		perror(NULL);
		return EXIT_FAILURE;
	}

	tmp->Next = NULL;
	tmp->Data = queue->dataCreateAndCopy(data);

	if (NULL == tmp->Data)
	{
		free(tmp);
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (NULL == queue->Front)
	{
		queue->Front = tmp;
	}
	else
	{
		queue->Rear->Next = tmp;
	}

	queue->Rear = tmp;
	
	return EXIT_SUCCESS;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
pushq $0x10
popq %rdi
callq 0x1090
testq %rax, %rax
je 0x1ff8
movq %rax, %r14
andq $0x0, 0x8(%rax)
movq %r15, %rdi
callq *0x10(%rbx)
movq %rax, (%r14)
testq %rax, %rax
je 0x1ff0
cmpq $0x0, (%rbx)
movq %rbx, %rax
je 0x1fe1
movq 0x8(%rbx), %rax
addq $0x8, %rax
movq %r14, (%rax)
movq %r14, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
movq %r14, %rdi
callq 0x10e0
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rax
jmp 0x1fea
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSQueue.c
// Function: eaDSQueuePeekValue
void * eaDSQueuePeekValue(const eaDSQueue queue)
{
	void * data = NULL;

	if (NULL == queue->Front)
	{
		return NULL;
	}

	data = queue->dataCreateAndCopy(queue->Front->Data);

	if (NULL == data)
	{
		perror(NULL);
	}

	return data;
}

// Assembly:
pushq %rbx
movq (%rdi), %rcx
testq %rcx, %rcx
je 0x2029
movq %rdi, %rax
movq (%rcx), %rdi
callq *0x10(%rax)
movq %rax, %rbx
testq %rax, %rax
jne 0x202b
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x10b0
jmp 0x202b
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackInitWithDetails
eaDSStack eaDSStackInitWithDetails(void * (*dataCreateAndCopy)(const void *), void (*dataClear)(void *), unsigned short expFactor, unsigned short startingCapacity)
{
	eaDSStack stack = (eaDSStack) malloc(sizeof(struct _eaDSStack));

	if (NULL == stack)
	{
		perror(NULL);
	}
	else
	{
		stack->StartingCapacity = startingCapacity ? startingCapacity : DEFAULT_STARTING_CAPACITY;
		stack->Data = (void **)malloc(stack->StartingCapacity * sizeof(void *));

		if (NULL == stack->Data)
		{
			perror(NULL);
			free(stack);
			stack = NULL;
		}
		else
		{
			stack->Count = 0;
			stack->Capacity = stack->StartingCapacity;
			stack->ExpFactor = (expFactor < 2) ? DEFAULT_EXP_FACTOR : expFactor;
			stack->dataCreateAndCopy = (NULL == dataCreateAndCopy) ? copyAddress : dataCreateAndCopy;
			stack->dataClear = (NULL == dataClear) ? free : dataClear;
		}
	}

	return stack;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %r12d
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
pushq $0x38
popq %rdi
callq 0x1090
testq %rax, %rax
je 0x20db
movq %rax, %rbx
testw %r12w, %r12w
pushq $0x4
popq %rax
cmovnel %r12d, %eax
movw %ax, 0x1a(%rbx)
movzwl %ax, %r12d
leal (,%r12,8), %edi
callq 0x1090
movq %rax, (%rbx)
testq %rax, %rax
je 0x20e6
andq $0x0, 0x8(%rbx)
cmpw $0x3, %bp
pushq $0x2
popq %rax
cmovael %ebp, %eax
movq %r12, 0x10(%rbx)
movw %ax, 0x18(%rbx)
testq %r15, %r15
leaq 0x42(%rip), %rax        # 0x20f9
cmovneq %r15, %rax
movq %rax, 0x20(%rbx)
testq %r14, %r14
jne 0x20cb
movq 0x3f05(%rip), %r14      # 0x5fd0
movq %r14, 0x30(%rbx)
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x10b0
jmp 0x20cf
xorl %edi, %edi
callq 0x10b0
movq %rbx, %rdi
callq 0x10e0
xorl %ebx, %ebx
jmp 0x20cf
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackReset
int eaDSStackReset(eaDSStack stack)
{
	if (NULL == stack->Data)
	{
		stack->Data = (void **) malloc(stack->Capacity * sizeof(void *));

		if (NULL == stack->Data)
		{
			perror(NULL);

			return EXIT_FAILURE;
		}
	}
	else
	{
		while (stack->Count)
		{
			stack->dataClear(stack->Data[--stack->Count]);
		}

		if (stack->StartingCapacity < stack->Capacity)
		{
			free(stack->Data);
			stack->Data = (void **) malloc(stack->Capacity * sizeof(void *));

			if (NULL == stack->Data)
			{
				perror(NULL);

				return EXIT_FAILURE;
			}

			stack->Capacity = stack->StartingCapacity;
		}
	}

	return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x215a
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x2127
movq (%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rcx,%rax,8), %rdi
callq *0x30(%rbx)
jmp 0x2109
movzwl 0x1a(%rbx), %eax
xorl %ebp, %ebp
cmpq %rax, 0x10(%rbx)
jbe 0x2171
movq (%rbx), %rdi
callq 0x10e0
movq 0x10(%rbx), %rdi
shlq $0x3, %rdi
callq 0x1090
movq %rax, (%rbx)
testq %rax, %rax
je 0x217a
movzwl 0x1a(%rbx), %eax
movq %rax, 0x10(%rbx)
jmp 0x2171
movq 0x10(%rbx), %rdi
shlq $0x3, %rdi
callq 0x1090
movq %rax, (%rbx)
xorl %ebp, %ebp
testq %rax, %rax
je 0x217a
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
xorl %edi, %edi
callq 0x10b0
pushq $0x1
popq %rbp
jmp 0x2171
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackClear
void eaDSStackClear(eaDSStack stack)
{
	if (NULL != stack->Data)
	{
		while(stack->Count)
		{
			stack->dataClear(stack->Data[--stack->Count]);
		}

		free(stack->Data);
	}

	free(stack);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, (%rdi)
je 0x21b6
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x21ae
movq (%rbx), %rcx
leaq -0x1(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rcx,%rax,8), %rdi
callq *0x30(%rbx)
jmp 0x2190
movq (%rbx), %rdi
callq 0x10e0
movq %rbx, %rdi
popq %rbx
jmp 0x10e0
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackPop
void * eaDSStackPop(eaDSStack stack)
{
	void * data = NULL;

	if (stack->Count)
	{
		if ((DEFAULT_STARTING_CAPACITY < stack->Capacity) && (stack->Count < stack->Capacity / stack->ExpFactor))
		{
			void ** tmp;

			stack->Capacity /= stack->ExpFactor;
			tmp = (void **) realloc(stack->Data, stack->Capacity * sizeof(void *));

			if (NULL != tmp)
			{
				stack->Data = tmp;
			}
			else 
			{
				stack->Capacity *= stack->ExpFactor;
			}
		}

		data = stack->dataCreateAndCopy(stack->Data[stack->Count - 1]);

		if (NULL != data)
		{
			stack->dataClear(stack->Data[--stack->Count]);
		}
		else
		{
			perror(NULL);
		}
	}

	return data;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x220e
movq %rdi, %rbx
movq 0x10(%rdi), %rax
cmpq $0x5, %rax
jb 0x2220
movzwl 0x18(%rbx), %esi
xorl %edx, %edx
divq %rsi
cmpq %rax, %rcx
jae 0x2220
movq %rax, 0x10(%rbx)
movq (%rbx), %rdi
shlq $0x3, %rax
movq %rax, %rsi
callq 0x10a0
testq %rax, %rax
je 0x2213
movq %rax, (%rbx)
jmp 0x2220
xorl %r14d, %r14d
jmp 0x224e
movzwl 0x18(%rbx), %eax
imulq 0x10(%rbx), %rax
movq %rax, 0x10(%rbx)
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
movq -0x8(%rax,%rcx,8), %rdi
callq *0x20(%rbx)
testq %rax, %rax
je 0x2259
movq %rax, %r14
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
leaq -0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movq -0x8(%rax,%rcx,8), %rdi
callq *0x30(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %r14d, %r14d
xorl %edi, %edi
callq 0x10b0
jmp 0x224e
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackPush
int eaDSStackPush(eaDSStack stack, const void * data)
{
	void * item = stack->dataCreateAndCopy(data);

	if (NULL == item)
	{
		perror(NULL);

		return EXIT_FAILURE;
	}

	if (stack->Count == stack->Capacity)
	{
		void ** tmp;

		stack->Capacity *= stack->ExpFactor;
		tmp = (void **) realloc(stack->Data, stack->Capacity * sizeof(void *));

		if (NULL == tmp)
		{
			perror(NULL);
			stack->Capacity /= stack->ExpFactor;

			return EXIT_FAILURE;
		}

		stack->Data = tmp;
	}

	stack->Data[stack->Count] = item;
	stack->Count++;

	return EXIT_SUCCESS;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, %rdi
callq *0x20(%rbx)
testq %rax, %rax
je 0x22c0
movq %rax, %r14
movq (%rbx), %rax
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
jne 0x22ab
movzwl 0x18(%rbx), %ecx
imulq %rcx, %rsi
movq %rsi, 0x10(%rbx)
shlq $0x3, %rsi
movq %rax, %rdi
callq 0x10a0
testq %rax, %rax
je 0x22c9
movq %rax, (%rbx)
movq 0x8(%rbx), %rsi
movq %r14, (%rax,%rsi,8)
incq %rsi
movq %rsi, 0x8(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %edi, %edi
callq 0x10b0
jmp 0x22e1
xorl %edi, %edi
callq 0x10b0
movzwl 0x18(%rbx), %ecx
movq 0x10(%rbx), %rax
xorl %edx, %edx
divq %rcx
movq %rax, 0x10(%rbx)
pushq $0x1
popq %rax
jmp 0x22b8
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/DS/eaDSStack.c
// Function: eaDSStackPeekStack
void * eaDSStackPeekStack(const eaDSStack stack)
{
	void * data = NULL;

	if (stack->Count)
	{
		data = stack->dataCreateAndCopy(stack->Data[stack->Count - 1]);

		if (NULL == data)
		{
			perror(NULL);
		}
	}

	return data;
}

// Assembly:
pushq %rbx
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x2311
movq %rdi, %rax
movq (%rdi), %rdx
movq -0x8(%rdx,%rcx,8), %rdi
callq *0x20(%rax)
movq %rax, %rbx
testq %rax, %rax
jne 0x2313
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x10b0
jmp 0x2313
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/Enes1313[P]DataStructures/Simulation/main.c
// Function: freeMemory
void freeMemory(eaDSDynamicArray * dynamicArray1, eaDSDynamicArray * dynamicArray2)
{
	int i;

	eaDSDynamicArrayClear(dynamicArray1);

	for (i = 0; i < COUNT_LOCATIONS; i++)
	{
		eaDSDynamicArrayClear(&dynamicArray2[i]);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
callq 0x16b8
xorl %r14d, %r14d
cmpq $0x7e0, %r14            # imm = 0x7E0
je 0x277f
leaq (%rbx,%r14), %rdi
callq 0x16b8
addq $0x38, %r14
jmp 0x2767
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/CSerxzm[P]WindowstoLinuxInterface/src/RD.c
// Function: remove_dir
int remove_dir(const char *dir){
    DIR* dirp;
    struct dirent *dp;
    struct stat dir_stat;
    char dir_name[255];

    if(access(dir,F_OK)!=0){
        return 0;
    } 
    if(stat(dir, &dir_stat)<0){
        perror("dir stat errpr!\n");
        return -1;
    }
    if(S_ISREG(dir_stat.st_mode)){
        remove(dir);
    }
    else if(S_ISDIR(dir_stat.st_mode)){
        dirp=opendir(dir);
        while((dp=readdir(dirp))!=NULL){
            if((0==strcmp(".", dp->d_name))||(0==strcmp("..",dp->d_name))) 
                continue;
            
            sprintf(dir_name, "%s/%s", dir, dp->d_name);
            remove_dir(dir_name);
        }
        closedir(dirp);
        rmdir(dir);
    }
    else{
        perror("error!\n");
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %rdi, %rbx
xorl %r14d, %r14d
xorl %esi, %esi
callq 0x10b0
testl %eax, %eax
jne 0x13c4
leaq -0xb8(%rbp), %rsi
movq %rbx, %rdi
callq 0x1090
testl %eax, %eax
js 0x13d9
movl $0xf000, %eax           # imm = 0xF000
andl -0xa0(%rbp), %eax
cmpw $0x4000, %ax            # imm = 0x4000
je 0x133d
cmpl $0x8000, %eax           # imm = 0x8000
jne 0x13eb
movq %rbx, %rdi
callq 0x1030
jmp 0x13c4
movq %rbx, %rdi
callq 0x1040
movq %rax, %r14
leaq 0xcc6(%rip), %r15       # 0x2015
leaq -0x1c0(%rbp), %r12
pushq $0x2e
popq %r13
movq %r14, %rdi
callq 0x10a0
testq %rax, %rax
je 0x13b1
movzbl 0x13(%rax), %edx
cmpl $0x2e, %edx
jne 0x1387
cmpb $0x0, 0x14(%rax)
je 0x135a
movzbl 0x14(%rax), %ecx
subl $0x2e, %ecx
jne 0x1383
movzbl 0x15(%rax), %ecx
negl %ecx
jmp 0x138c
movl %r13d, %ecx
subl %edx, %ecx
testl %ecx, %ecx
je 0x135a
addq $0x13, %rax
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x10d0
movq %r12, %rdi
callq 0x12d4
jmp 0x135a
movq %r14, %rdi
callq 0x1070
movq %rbx, %rdi
callq 0x1050
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc24(%rip), %rdi       # 0x2004
callq 0x10c0
pushq $-0x1
popq %r14
jmp 0x13c4
leaq 0xc29(%rip), %rdi       # 0x201b
callq 0x10c0
jmp 0x13c4
// File: /workspace/github_c_makefile_star2_O2/CSerxzm[P]WindowstoLinuxInterface/src/RD.c
// Function: main
int main(int argc, char** argv){
    char lines[argc+1][255];
    predealLine(argc, argv, lines);
    if((strcmp("rd",lines[0])==0)||(strcmp("rmdir",lines[0])==0)){
        for(int i=1;i<argc;i++){
            remove_dir(lines[i]);
        }
    }
    else{
        perror("error after lines\n");
    }

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %r14d
leal 0x1(%r14), %eax
movq %rsp, %r15
imulq $0xff, %rax, %r12
addq $0xf, %r12
andq $-0x10, %r12
movq %r15, %rbx
subq %r12, %rbx
movq %rbx, %rsp
negq %r12
movq %rbx, %rdx
callq 0x11fc
movzbl (%r15,%r12), %eax
subl $0x72, %eax
jne 0x1448
movzbl 0x1(%rbx), %eax
subl $0x64, %eax
jne 0x1448
movzbl 0x2(%rbx), %eax
negl %eax
testl %eax, %eax
je 0x1461
leaq 0xbce(%rip), %rdi       # 0x2023
movq %rbx, %rsi
callq 0x1080
testl %eax, %eax
jne 0x1488
movslq %r14d, %r14
addq $0xff, %rbx
pushq $0x1
popq %r15
cmpq %r14, %r15
jge 0x1494
movq %rbx, %rdi
callq 0x12d4
incq %r15
addq $0xff, %rbx
jmp 0x146f
leaq 0xb9a(%rip), %rdi       # 0x2029
callq 0x10c0
xorl %eax, %eax
leaq -0x20(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/Joy-Division[P]tools-mgs/dar-extract_psx.c
// Function: matchhash
unsigned int matchhash( uint32_t hash, uint32_t extension, dicentry *dictionary, int numentries ) {
	int i;
	for( i = 0; i < numentries; i++ ) {
		if((dictionary[i].hash == hash) && (dictionary[i].extension == extension)) return i;
	}
	return 0xFFFFFFFF;
}

// Assembly:
xorl %r8d, %r8d
testl %ecx, %ecx
cmovlel %r8d, %ecx
addq $0x4, %rdx
pushq $-0x1
popq %rax
cmpq %r8, %rcx
je 0x16a4
cmpl %edi, -0x4(%rdx)
jne 0x1695
cmpl %esi, (%rdx)
je 0x16a1
incq %r8
addq $0x108, %rdx            # imm = 0x108
jmp 0x1687
movl %r8d, %eax
retq
// File: /workspace/github_c_makefile_star2_O2/Joy-Division[P]tools-mgs/dar-extract_psx.c
// Function: getNameFromDetails
char *getNameFromDetails(uint16_t hash, uint16_t extension) {
	char *retstring = malloc(32);
	unsigned int result;
	result = matchhash(hash, extension, commondic, numcommondic);
	if(result != 0xFFFFFFFF) sprintf(retstring, "%s", commondic[result].name);
	else {
		sprintf( retstring, "%04x.%c", hash, extension );
	}
	return retstring;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movl %edi, %r14d
pushq $0x20
popq %rdi
callq 0x1100
movq %rax, %rbx
movq 0x2a15(%rip), %r15      # 0x40d8
movl 0x2a1f(%rip), %ecx      # 0x40e8
movl %r14d, %edi
movl %ebp, %esi
movq %r15, %rdx
callq 0x1677
cmpl $-0x1, %eax
je 0x16fe
movl %eax, %eax
imulq $0x108, %rax, %rax      # imm = 0x108
leaq (%r15,%rax), %rsi
addq $0x8, %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1050
leaq 0xa0c(%rip), %rsi       # 0x2111
movq %rbx, %rdi
movl %r14d, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1160
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/kilobyte[P]colormatch/riemersma-256.c
// Function: main
int main()
{
    for (int c = 0; c < 16777216; ++c)
    {
        nt[c] = closest(c);
        if (!(c&0xff))
            printf("%06X\n", c);
    }

    int fd = creat("riemersma.rgb", 0666);
    write(fd, nt, sizeof(nt));
    close(fd);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl $0xff, %r15d
xorl %ebx, %ebx
cmpq $0x1000000, %rbx        # imm = 0x1000000
je 0x1261
movl %ebx, %r14d
shrl $0x10, %r14d
movl %ebx, %r12d
shrl $0x8, %r12d
andl %r15d, %r12d
movq %rbx, 0x10(%rsp)
movl %ebx, %eax
andl %r15d, %eax
movl %eax, 0xc(%rsp)
xorl %ebp, %ebp
movl $0x7fffffff, %ebx       # imm = 0x7FFFFFFF
xorl %r13d, %r13d
cmpl $0x100, %ebp            # imm = 0x100
je 0x1232
movl %ebp, %edi
callq 0x12a0
movl %eax, %ecx
movl %eax, %esi
sarl $0x10, %esi
movl %eax, %edi
shrl $0x8, %edi
leal (%rsi,%r14), %eax
cltd
pushq $0x2
popq %r8
idivl %r8d
andl %r15d, %esi
subl %r14d, %esi
imull %esi, %esi
andl %r15d, %edi
subl %r12d, %edi
imull %edi, %edi
andl %r15d, %ecx
subl 0xc(%rsp), %ecx
imull %ecx, %ecx
leal (%rcx,%rcx,2), %edx
leal (%rdx,%rdi,4), %edx
leal (%rdx,%rsi,2), %edi
movl %esi, %edx
subl %ecx, %edx
imull %edx, %eax
cltd
movl $0x100, %ecx            # imm = 0x100
idivl %ecx
addl %eax, %edi
cmpl %ebx, %edi
cmovll %edi, %ebx
cmovll %ebp, %r13d
incl %ebp
jmp 0x11c8
leaq 0x2e27(%rip), %rax      # 0x4060
movq 0x10(%rsp), %rbx
movb %r13b, (%rbx,%rax)
cmpl $0x0, 0xc(%rsp)
jne 0x1259
leaq 0xdb4(%rip), %rdi       # 0x2004
movl %ebx, %esi
xorl %eax, %eax
callq 0x1050
incq %rbx
jmp 0x1192
leaq 0xda2(%rip), %rdi       # 0x200a
movl $0x1b6, %esi            # imm = 0x1B6
callq 0x1070
movl %eax, %ebx
leaq 0x2de5(%rip), %rsi      # 0x4060
movl $0x1000000, %edx        # imm = 0x1000000
movl %eax, %edi
callq 0x1040
movl %ebx, %edi
callq 0x1060
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/kobolt[P]curses-collection/storage/storage.c
// Function: box_draw
static void box_draw(int pattern, int start_y, int start_x,
  int size_y, int size_x)
{
  int y, x;
  for (y = 0; y < size_y; y++) {
    for (x = 0; x < size_x; x++) {
      if ((pattern % 14) > 6) {
        wattrset(stdscr, A_BOLD | COLOR_PAIR((pattern % 7) + 1));
      } else {
        wattrset(stdscr, COLOR_PAIR((pattern % 7) + 1));
      }
      mvaddch(start_y + y, start_x + x, pattern + 0x41);
    }
  }
  refresh();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, 0xc(%rsp)
movq %rsi, 0x18(%rsp)
movl %edi, %r12d
pushq $0xe
popq %rsi
movl %edi, %eax
cltd
idivl %esi
movl %edx, %edi
pushq $0x7
popq %rsi
movl %r12d, %eax
cltd
idivl %esi
shll $0x8, %edx
addl $0x100, %edx            # imm = 0x100
movzwl %dx, %eax
addl $0x41, %r12d
xorl %edx, %edx
testl %r8d, %r8d
cmovlel %edx, %r8d
movl %r8d, 0x10(%rsp)
leal 0x200000(%rax), %r13d
testl %ecx, %ecx
cmovlel %edx, %ecx
movl %ecx, 0x14(%rsp)
cmpl $0x7, %edi
cmovll %eax, %r13d
movq 0x2991(%rip), %rbp      # 0x3fd8
cmpl 0x14(%rsp), %edx
je 0x16a3
movq 0x18(%rsp), %rax
movq %rdx, 0x20(%rsp)
leal (%rdx,%rax), %r14d
movl 0xc(%rsp), %r15d
movl 0x10(%rsp), %ebx
subl $0x1, %ebx
jb 0x169a
movq (%rbp), %rdi
movl %r13d, %esi
callq 0x1040
movq (%rbp), %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x1100
cmpl $-0x1, %eax
je 0x1695
movq (%rbp), %rdi
movl %r12d, %esi
callq 0x1120
incl %r15d
jmp 0x1664
movq 0x20(%rsp), %rdx
incl %edx
jmp 0x1647
movq (%rbp), %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10a0
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O2/aap[P]pdp11/1120.c
// Function: loadmem
void
loadmem(char *filename)
{
	FILE *f;
	char line[100], *s;
	word w;

	w = 0;
	f = fopen(filename, "r");
	if(f == nil)
		return;
	while(s = fgets(line, 100, f), s != nil){
		while(isspace(*s)) s++;
		if(*s == ':')
			w = strtol(s+1, nil, 8)>>1;
		if(*s >= '0' && *s <= '7')
			memory[w++] = strtol(s, nil, 8);
	}
	fclose(f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
leaq 0x5389(%rip), %rsi      # 0x77a5
callq 0x21b0
testq %rax, %rax
je 0x24b8
movq %rax, %rbx
xorl %r12d, %r12d
movq %rsp, %r14
pushq $0x64
popq %rbp
pushq $0x8
popq %r15
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x2110
testq %rax, %rax
je 0x24b0
movq %rax, %r13
callq 0x2220
movq (%rax), %rcx
movsbq (%r13), %rax
incq %r13
testb $0x20, 0x1(%rcx,%rax,2)
jne 0x2457
cmpb $0x3a, %al
jne 0x2481
movq %r13, %rdi
xorl %esi, %esi
movl %r15d, %edx
callq 0x2130
movq %rax, %r12
shrl %r12d
movb -0x1(%r13), %al
andb $-0x8, %al
cmpb $0x30, %al
jne 0x243a
decq %r13
movq %r13, %rdi
xorl %esi, %esi
movl %r15d, %edx
callq 0x2130
movzwl %r12w, %ecx
leal 0x1(%r12), %edx
leaq 0x7f09(%rip), %rsi      # 0xa3b0
movw %ax, (%rsi,%rcx,2)
movl %edx, %r12d
jmp 0x243a
movq %rbx, %rdi
callq 0x2090
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/aap[P]pdp11/1120.c
// Function: dumpmem
void
dumpmem(int start, int end)
{
	start >>= 1;
	end >>= 1;
	for(; start != end; start++)
		printf("%06o: %06o\n", start<<1, memory[start]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
movl %edi, %eax
sarl %eax
sarl %esi
movslq %eax, %r15
movslq %esi, %r12
subq %r15, %r12
andl $-0x2, %ebx
addq %r15, %r15
leaq 0x7c92(%rip), %r13      # 0xa3b0
leaq 0x48f1(%rip), %r14      # 0x7016
xorl %ebp, %ebp
cmpq %rbp, %r12
je 0x274a
leaq (%r15,%rbp,2), %rax
movzwl (%r13,%rax), %edx
movq %r14, %rdi
movl %ebx, %esi
xorl %eax, %eax
callq 0x20a0
incq %rbp
addl $0x2, %ebx
jmp 0x2727
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/aap[P]pdp11/ka11.c
// Function: tracestate
void
tracestate(KA11 *cpu)
{
	(void)cpu;
	trace(" R0 %06o R1 %06o R2 %06o R3 %06o R4 %06o R5 %06o R6 %06o R7 %06o\n"
		" 10 %06o 11 %06o 12 %06o 13 %06o 14 %06o 15 %06o 16 %06o 17 %06o\n"
		" BA %06o IR %06o PSW %03o\n"
		,
		cpu->r[0], cpu->r[1], cpu->r[2], cpu->r[3],
		cpu->r[4], cpu->r[5], cpu->r[6], cpu->r[7],
		cpu->r[8], cpu->r[9], cpu->r[10], cpu->r[11],
		cpu->r[12], cpu->r[13], cpu->r[14], cpu->r[15],
		cpu->ba, cpu->ir, cpu->psw);
}

// Assembly:
cmpl $0x0, 0x113ad(%rip)     # 0x13cc8
je 0x29eb
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movzwl (%rdi), %esi
movzwl 0x2(%rdi), %edx
movzwl 0x4(%rdi), %ecx
movzwl 0x6(%rdi), %r8d
movzwl 0x8(%rdi), %r9d
movzwl 0xa(%rdi), %eax
movq %rax, 0x30(%rsp)
movzwl 0xc(%rdi), %eax
movq %rax, 0x28(%rsp)
movzwl 0xe(%rdi), %eax
movq %rax, 0x20(%rsp)
movzwl 0x10(%rdi), %eax
movq %rax, 0x18(%rsp)
movzwl 0x12(%rdi), %eax
movq %rax, 0x10(%rsp)
movzwl 0x14(%rdi), %eax
movq %rax, 0x8(%rsp)
movzwl 0x16(%rdi), %r13d
movzwl 0x18(%rdi), %ebp
movzwl 0x1a(%rdi), %r10d
movzwl 0x1c(%rdi), %r11d
movzwl 0x1e(%rdi), %ebx
movzwl 0x22(%rdi), %r14d
movzwl 0x24(%rdi), %r15d
movzbl 0x30(%rdi), %r12d
leaq 0x47a9(%rip), %rdi      # 0x7150
xorl %eax, %eax
pushq %r12
pushq %r15
pushq %r14
pushq %rbx
pushq %r11
pushq %r10
pushq %rbp
pushq %r13
pushq 0x48(%rsp)
pushq 0x58(%rsp)
pushq 0x68(%rsp)
pushq 0x78(%rsp)
pushq 0x88(%rsp)
pushq 0x98(%rsp)
callq 0x20a0
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/aap[P]pdp11/ka11.c
// Function: reset
void
reset(KA11 *cpu)
{
	Busdev *bd;

	cpu->traps = 0;

	for(bd = cpu->bus->devs; bd; bd = bd->next)
		bd->reset(bd->dev);
}

// Assembly:
pushq %rbx
andl $0x0, 0x34(%rdi)
movq 0x28(%rdi), %rbx
movq (%rbx), %rbx
testq %rbx, %rbx
je 0x2ad1
movq 0x8(%rbx), %rdi
callq *0x38(%rbx)
jmp 0x2ac0
popq %rbx
retq