LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/regularization.c
// Function: morpheus_cost_reg
double morpheus_cost_reg(const morpheus_reg_t *params,
                         const double num_features,
                         const double *theta) {
  if (params->type == morpheus_reg_l2) {
    theta = theta + 1;  /* skip the first element */
    return morpheus_ddot(num_features-1, theta, theta) * params->lambda * 0.5;
  }
  return 0;
}

// Assembly:
movapd %xmm0, %xmm1
xorpd %xmm0, %xmm0
cmpl $0x1, (%rdi)
jne 0x4a37
pushq %rbx
movq %rdi, %rbx
addq $0x8, %rsi
addsd 0x2e63(%rip), %xmm1     # 0x7880
cvttsd2si %xmm1, %edi
movq %rsi, %rdx
callq 0x4b78
mulsd 0x8(%rbx), %xmm0
mulsd 0x39aa(%rip), %xmm0     # 0x83e0
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/regularization.c
// Function: morpheus_gradient_reg
void morpheus_gradient_reg(const morpheus_reg_t *params,
                           const double num_features,
                           const double *theta,
                           double *reg) {
  if (params->type == morpheus_reg_l2) {
    morpheus_dcopy(num_features, theta, reg);
    morpheus_dscal(num_features, params->lambda, reg);
    reg[0] = 0;
  } else {
    for (int i = 0; i < num_features; ++i) {
      reg[i] = 0;
    }
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
cmpl $0x1, (%rdi)
jne 0x4a6e
movq %rdi, %r14
cvttsd2si %xmm0, %ebp
movl %ebp, %edi
movq %rbx, %rdx
callq 0x4ad4
movsd 0x8(%r14), %xmm0
movl %ebp, %edi
movq %rbx, %rsi
callq 0x4aca
movq $0x0, (%rbx)
jmp 0x4a92
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x4a92
xorl %eax, %eax
movq $0x0, (%rbx,%rax,8)
incq %rax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
ucomisd %xmm1, %xmm0
ja 0x4a7a
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/statistics.c
// Function: morpheus_mean
double morpheus_mean(int n, const double *x) {
  double m = 0;
  for (int i = 0; i < n; ++i) {
    m += x[i];
  }
  return m/n;
}

// Assembly:
testl %edi, %edi
jle 0x4d73
movl %edi, %eax
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
addsd (%rsi,%rcx,8), %xmm0
incq %rcx
cmpq %rcx, %rax
jne 0x4d64
jmp 0x4d77
xorpd %xmm0, %xmm0
cvtsi2sd %edi, %xmm1
divsd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/statistics.c
// Function: morpheus_stddev_m
double morpheus_stddev_m(double mean, int n, const double *x) {
  if (n < 2) return 0;

  double s = 0;
  for (int i = 0; i < n; ++i) {
    double v = x[i] - mean;
    s += v*v;
  }
  return sqrt(s/(n-1));
}

// Assembly:
movapd %xmm0, %xmm1
xorpd %xmm0, %xmm0
cmpl $0x2, %edi
jl 0x4dc9
movl %edi, %eax
xorl %ecx, %ecx
movsd (%rsi,%rcx,8), %xmm2
subsd %xmm1, %xmm2
mulsd %xmm2, %xmm2
addsd %xmm2, %xmm0
incq %rcx
cmpq %rcx, %rax
jne 0x4d91
decl %edi
xorps %xmm1, %xmm1
cvtsi2sd %edi, %xmm1
divsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x1130
sqrtsd %xmm0, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/statistics.c
// Function: morpheus_column_stddev_m
void morpheus_column_stddev_m(morpheus_layout_e layout,
                              int nrows, int ncols,
                              const double *means,
                              const double *x,
                              double *s) {
  if (layout == morpheus_row_major) {
    for (int j = 0; j < ncols; ++j) {
      s[j] = 0;
    }
    for (int i = 0; i < nrows; ++i) {
      const double *row = x + i*ncols;
      for (int j = 0; j < ncols; ++j) {
        double v = row[j] - means[j];
        s[j] += v*v;
      }
    }
  } else if (layout == morpheus_col_major) {
    for (int j = 0; j < ncols; ++j) {
      const double *column = &x[j*nrows];
      s[j] = 0;
      for (int i = 0; i < nrows; ++i) {
        double v = column[i] - means[j];
        s[j] += v*v;
      }
    }
  } else {
    perror("unkwnown matrix layout");
    assert(0);
  }
  for (int j = 0; j < ncols; ++j) {
    s[j] = sqrt(s[j]/(nrows-1));
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r9, %rbx
movq %r8, %r15
movq %rcx, %r12
movl %edx, %ebp
movl %esi, %r14d
cmpl $0x15, %edi
je 0x4f22
cmpl $0x16, %edi
jne 0x4fdb
testl %ebp, %ebp
jle 0x4fce
movslq %r14d, %rax
movl %ebp, %ecx
movl %eax, %edx
shlq $0x3, %rax
xorl %esi, %esi
movq $0x0, (%rbx,%rsi,8)
testl %r14d, %r14d
jle 0x4f15
xorpd %xmm0, %xmm0
xorl %edi, %edi
movsd (%r15,%rdi,8), %xmm1
subsd (%r12,%rsi,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%rbx,%rsi,8)
incq %rdi
cmpq %rdi, %rdx
jne 0x4ef4
incq %rsi
addq %rax, %r15
cmpq %rcx, %rsi
jne 0x4ee1
jmp 0x4f7c
testl %ebp, %ebp
jle 0x4f36
movl %ebp, %edx
shlq $0x3, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1040
testl %r14d, %r14d
jle 0x4f7c
movslq %ebp, %rax
movl %r14d, %ecx
movl %ebp, %edx
shlq $0x3, %rax
xorl %esi, %esi
testl %ebp, %ebp
jle 0x4f71
xorl %edi, %edi
movsd (%r15,%rdi,8), %xmm0
subsd (%r12,%rdi,8), %xmm0
mulsd %xmm0, %xmm0
addsd (%rbx,%rdi,8), %xmm0
movsd %xmm0, (%rbx,%rdi,8)
incq %rdi
cmpq %rdi, %rdx
jne 0x4f4f
incq %rsi
addq %rax, %r15
cmpq %rcx, %rsi
jne 0x4f49
testl %ebp, %ebp
jle 0x4fce
decl %r14d
xorps %xmm1, %xmm1
cvtsi2sd %r14d, %xmm1
movl %ebp, %r14d
xorl %r15d, %r15d
xorpd %xmm2, %xmm2
movsd %xmm1, 0x8(%rsp)
movsd (%rbx,%r15,8), %xmm0
divsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0x4fb1
sqrtsd %xmm0, %xmm0
jmp 0x4fc0
callq 0x1130
xorpd %xmm2, %xmm2
movsd 0x8(%rsp), %xmm1
movsd %xmm0, (%rbx,%r15,8)
incq %r15
cmpq %r15, %r14
jne 0x4f9b
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x12da
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/src/statistics.c
// Function: morpheus_row_stddev_m
void morpheus_row_stddev_m(morpheus_layout_e layout,
                           int nrows, int ncols,
                           const double *means,
                           const double *x,
                           double *s) {
  if (layout == morpheus_row_major) {
    for (int i = 0; i < nrows; ++i) {
      const double *row = x + i*ncols;
      s[i] = 0;
      for (int j = 0; j < ncols; ++j) {
        double v = row[j] - means[i];
        s[i] += v*v;
      }
    }
  } else if (layout == morpheus_col_major) {
    for (int i = 0; i < nrows; ++i) {
      s[i] = 0;
    }
    for (int j = 0; j < ncols; ++j) {
      const double *column = x + j*nrows;
      for (int i = 0; i < nrows; ++i) {
        double v = column[i] - means[i];
        s[i] += v*v;
      }
    }
  } else {
    perror("unkwnown matrix layout");
    assert(0);
  }
  for (int i = 0; i < nrows; ++i) {
    s[i] = sqrt(s[i]/(ncols-1));
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebp
movl %esi, %r12d
movl %esi, %r13d
cmpl $0x15, %edi
je 0x506a
cmpl $0x16, %edi
jne 0x5117
testl %r12d, %r12d
jle 0x5021
leaq (,%r13,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1040
testl %ebp, %ebp
jle 0x50bc
movslq %r12d, %rax
movl %ebp, %ecx
shlq $0x3, %rax
xorl %edx, %edx
testl %r12d, %r12d
jle 0x505d
xorl %esi, %esi
movsd (%r14,%rsi,8), %xmm0
subsd (%r15,%rsi,8), %xmm0
mulsd %xmm0, %xmm0
addsd (%rbx,%rsi,8), %xmm0
movsd %xmm0, (%rbx,%rsi,8)
incq %rsi
cmpq %rsi, %r13
jne 0x503b
incq %rdx
addq %rax, %r14
cmpq %rcx, %rdx
jne 0x5034
jmp 0x50bc
testl %r12d, %r12d
jle 0x5108
movslq %ebp, %rax
movl %ebp, %ecx
shlq $0x3, %rax
xorl %edx, %edx
movq $0x0, (%rbx,%rdx,8)
testl %ebp, %ebp
jle 0x50b1
xorpd %xmm0, %xmm0
xorl %esi, %esi
movsd (%r14,%rsi,8), %xmm1
subsd (%r15,%rdx,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, (%rbx,%rdx,8)
incq %rsi
cmpq %rsi, %rcx
jne 0x5090
incq %rdx
addq %rax, %r14
cmpq %r13, %rdx
jne 0x507e
testl %r12d, %r12d
jle 0x5108
decl %ebp
xorps %xmm1, %xmm1
cvtsi2sd %ebp, %xmm1
xorl %r14d, %r14d
xorpd %xmm2, %xmm2
movsd %xmm1, (%rsp)
movsd (%rbx,%r14,8), %xmm0
divsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0x50ec
sqrtsd %xmm0, %xmm0
jmp 0x50fa
callq 0x1130
xorpd %xmm2, %xmm2
movsd (%rsp), %xmm1
movsd %xmm0, (%rbx,%r14,8)
incq %r14
cmpq %r14, %r13
jne 0x50d6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1304
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/external/Unity/unity.c
// Function: UnityPrint
void UnityPrint(const char* string)
{
    const char* pch = string;

    if (pch != NULL)
    {
        while (*pch)
        {
            /* printable characters plus CR & LF are printed */
            if ((*pch <= 126) && (*pch >= 32))
            {
                UNITY_OUTPUT_CHAR(*pch);
            }
            /* write escaped carriage returns */
            else if (*pch == 13)
            {
                UNITY_OUTPUT_CHAR('\\');
                UNITY_OUTPUT_CHAR('r');
            }
            /* write escaped line feeds */
            else if (*pch == 10)
            {
                UNITY_OUTPUT_CHAR('\\');
                UNITY_OUTPUT_CHAR('n');
            }
            /* unprintable characters are shown as codes */
            else
            {
                UNITY_OUTPUT_CHAR('\\');
                UNITY_OUTPUT_CHAR('x');
                UnityPrintNumberHex((UNITY_UINT)*pch, 2);
            }
            pch++;
        }
    }
}

// Assembly:
testq %rdi, %rdi
je 0x5379
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movb (%rdi), %r14b
testb %r14b, %r14b
je 0x5375
incq %rbx
leal -0x20(%r14), %eax
movzbl %r14b, %ebp
cmpb $0x5e, %al
ja 0x5327
movl %ebp, %edi
jmp 0x5348
movl $0x5c, %edi
callq 0x1090
cmpb $0xa, %r14b
je 0x5343
cmpl $0xd, %ebp
jne 0x535a
movl $0x72, %edi
jmp 0x5348
movl $0x6e, %edi
callq 0x1090
movb (%rbx), %r14b
incq %rbx
testb %r14b, %r14b
jne 0x5317
jmp 0x5375
movl $0x78, %edi
callq 0x1090
movsbq -0x1(%rbx), %rdi
movl $0x2, %esi
callq 0x537a
jmp 0x534d
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/external/Unity/unity.c
// Function: UnityPrintDecimalAndNumberWithLeadingZeros
static void UnityPrintDecimalAndNumberWithLeadingZeros(UNITY_INT32 fraction_part, UNITY_INT32 divisor)
{
    UNITY_OUTPUT_CHAR('.');
    while (divisor > 0)
    {
        UNITY_OUTPUT_CHAR('0' + fraction_part / divisor);
        fraction_part %= divisor;
        divisor /= 10;
        if (fraction_part == 0) break; /* Truncate trailing 0's */
    }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %ebp
movl $0x2e, %edi
callq 0x1090
movl $0xcccccccd, %r14d      # imm = 0xCCCCCCCD
movl %ebp, %eax
cltd
idivl %ebx
leal 0x30(%rax), %edi
movl %edx, %ebp
callq 0x1090
cmpl $0xa, %ebx
jl 0x5839
movl %ebx, %ebx
imulq %r14, %rbx
shrq $0x23, %rbx
testl %ebp, %ebp
jne 0x5817
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/external/Unity/unity.c
// Function: UnityAssertEqualDoubleArray
void UnityAssertEqualDoubleArray(UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* expected,
                                 UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* actual,
                                 const UNITY_UINT32 num_elements,
                                 const char* msg,
                                 const UNITY_LINE_TYPE lineNumber,
                                 const UNITY_FLAGS_T flags)
{
    UNITY_UINT32 elements = num_elements;
    UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* ptr_expected = expected;
    UNITY_PTR_ATTRIBUTE const UNITY_DOUBLE* ptr_actual = actual;

    RETURN_IF_FAIL_OR_IGNORE;

    if (elements == 0)
    {
        UnityPrintPointlessAndBail();
    }

    if (expected == actual) return; /* Both are NULL or same pointer */
    if (UnityIsOneArrayNull((UNITY_INTERNAL_PTR)expected, (UNITY_INTERNAL_PTR)actual, lineNumber, msg))
        UNITY_FAIL_AND_BAIL;

    while (elements--)
    {
        if (!UnityDoublesWithin(*ptr_expected * UNITY_DOUBLE_PRECISION, *ptr_expected, *ptr_actual))
        {
            UnityTestResultsFailBegin(lineNumber);
            UnityPrint(UnityStrElement);
            UnityPrintNumberUnsigned(num_elements - elements - 1);
            UNITY_PRINT_EXPECTED_AND_ACTUAL_FLOAT(*ptr_expected, *ptr_actual);
            UnityAddMsgIfSpecified(msg);
            UNITY_FAIL_AND_BAIL;
        }
        if (flags == UNITY_ARRAY_TO_ARRAY)
        {
            ptr_expected++;
        }
        ptr_actual++;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, (%rsp)
movq 0x6100(%rip), %rax      # 0xc118
orq 0x60f1(%rip), %rax      # 0xc110
jne 0x6092
movq %r8, %r12
movl %edx, %ebp
testl %edx, %edx
je 0x610f
movq %rsi, %r14
movq %rdi, %r15
cmpq %rsi, %rdi
je 0x6092
movl %r9d, %r13d
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq (%rsp), %rcx
callq 0x5c30
testl %eax, %eax
jne 0x60f3
xorl %ebx, %ebx
cmpl $0x1, %r13d
sete %bl
shll $0x3, %ebx
movl %ebp, %ebp
xorl %r13d, %r13d
movsd (%r15), %xmm1
movapd %xmm1, %xmm0
mulsd 0x27b8(%rip), %xmm0     # 0x8830
movsd (%r14,%r13,8), %xmm2
callq 0x6125
testl %eax, %eax
je 0x60a1
addq %rbx, %r15
incq %r13
cmpl %r13d, %ebp
jne 0x6067
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x596d
leaq 0x28b7(%rip), %rdi      # 0x8967
callq 0x5300
movq %r13, %rdi
callq 0x54ed
leaq 0x284c(%rip), %rdi      # 0x8910
callq 0x5300
movsd (%r15), %xmm0
callq 0x55a7
leaq 0x2841(%rip), %rdi      # 0x891b
callq 0x5300
movsd (%r14,%r13,8), %xmm0
callq 0x55a7
movq (%rsp), %rdi
callq 0x5994
movq $0x1, 0x6012(%rip) # 0xc110
leaq 0x601b(%rip), %rdi      # 0xc120
movl $0x1, %esi
callq 0x10e0
movq %r12, %rdi
callq 0x596d
leaq 0x2812(%rip), %rdi      # 0x8930
callq 0x5300
jmp 0x60ea
// File: /workspace/github_c_makefile_star2_O3/aligusnet[P]morpheus/external/Unity/unity.c
// Function: UnityAssertDoublesWithin
void UnityAssertDoublesWithin(const UNITY_DOUBLE delta,
                              const UNITY_DOUBLE expected,
                              const UNITY_DOUBLE actual,
                              const char* msg,
                              const UNITY_LINE_TYPE lineNumber)
{
    RETURN_IF_FAIL_OR_IGNORE;

    if (!UnityDoublesWithin(delta, expected, actual))
    {
        UnityTestResultsFailBegin(lineNumber);
        UNITY_PRINT_EXPECTED_AND_ACTUAL_FLOAT(expected, actual);
        UnityAddMsgIfSpecified(msg);
        UNITY_FAIL_AND_BAIL;
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq 0x5f3c(%rip), %rax      # 0xc118
orq 0x5f2d(%rip), %rax      # 0xc110
jne 0x620c
movq %rsi, %r14
movq %rdi, %rbx
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm1
movsd %xmm2, 0x10(%rsp)
movsd 0x10(%rsp), %xmm2
callq 0x6125
testl %eax, %eax
je 0x6214
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x596d
leaq 0x26ed(%rip), %rdi      # 0x8910
callq 0x5300
movsd 0x8(%rsp), %xmm0
callq 0x55a7
leaq 0x26e1(%rip), %rdi      # 0x891b
callq 0x5300
movsd 0x10(%rsp), %xmm0
callq 0x55a7
movq %rbx, %rdi
callq 0x5994
movq $0x1, 0x5eb3(%rip) # 0xc110
leaq 0x5ebc(%rip), %rdi      # 0xc120
movl $0x1, %esi
callq 0x10e0
// File: /workspace/github_c_makefile_star2_O3/joncampbell123[P]swfhax/c4_swfunzip.c
// Function: main
int main(int argc,char **argv) {
	swf_reader *swf;
	int fd,ofd,rd;

	if (argc < 3) {
		fprintf(stderr,"c4_swfdump <file> <output uncompressed swf>\n");
		return 1;
	}

	fd = open(argv[1],O_RDONLY);
	if (fd < 0) {
		fprintf(stderr,"Unable to open file %s\n",argv[1]);
		return 1;
	}
	ofd = open(argv[2],O_WRONLY|O_CREAT|O_TRUNC,0644);
	if (ofd < 0) {
		fprintf(stderr,"Unable to create file %s\n",argv[2]);
		return 1;
	}
	if ((swf=swf_reader_create()) == NULL) {
		fprintf(stderr,"Cannot create SWF reader\n");
		return 1;
	}
	if (swf_reader_assign_fd(swf,fd)) {
		fprintf(stderr,"Cannot assign fd\n");
		return 1;
	}
	swf_reader_assign_fd_ownership(swf);
	if (swf_reader_get_file_header(swf)) {
		fprintf(stderr,"Unable to read file header.\n");
		return 1;
	}

	printf("SWF version %u (%c%c%c), file length %lu\n",
		swf->header.Version,
		swf->header.Signature[0],
		swf->header.Signature[1],
		swf->header.Signature[2],
		(unsigned long)swf->header.FileLength);

	/* copy */
	if (swf_reader_seek(swf,0)) {
		printf("Unable to seek to offset 0\n");
		return 1;
	}

	while ((rd=swf_reader_read(swf,temp,sizeof(temp))) > 0)
		write(ofd,temp,rd);

	swf = swf_reader_destroy(swf);
	close(ofd);
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x2, %edi
jle 0x17a9
movq %rsi, %r14
movq 0x8(%rsi), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x1180
testl %eax, %eax
js 0x17b0
movl %eax, %r15d
movq 0x10(%r14), %rdi
movl $0x241, %esi            # imm = 0x241
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x1180
testl %eax, %eax
js 0x17be
movl %eax, %ebx
xorl %eax, %eax
callq 0x1e66
testq %rax, %rax
je 0x17cf
movq %rax, %r14
movq %rax, %rdi
movl %r15d, %esi
callq 0x1fc7
testl %eax, %eax
jne 0x17d9
movq %r14, %rdi
callq 0x1eab
movq %r14, %rdi
callq 0x200d
testl %eax, %eax
jne 0x17e3
movzbl 0x3b(%r14), %esi
movzbl 0x38(%r14), %edx
movzbl 0x39(%r14), %ecx
movzbl 0x3a(%r14), %r8d
movl 0x3c(%r14), %r9d
leaq 0x3986(%rip), %rdi      # 0x50ac
xorl %eax, %eax
callq 0x1080
movq %r14, %rdi
xorl %esi, %esi
callq 0x186f
testl %eax, %eax
je 0x174e
leaq 0x3994(%rip), %rdi      # 0x50d6
callq 0x1060
movl $0x1, %eax
jmp 0x179e
leaq 0x7a2b(%rip), %rsi      # 0x9180
movq %r14, %rdi
movl $0x1000, %edx           # imm = 0x1000
callq 0x188f
testl %eax, %eax
jle 0x178d
leaq 0x7a13(%rip), %r15      # 0x9180
movl %eax, %edx
movl %ebx, %edi
movq %r15, %rsi
callq 0x1070
movq %r14, %rdi
movq %r15, %rsi
movl $0x1000, %edx           # imm = 0x1000
callq 0x188f
testl %eax, %eax
jg 0x176d
movq %r14, %rdi
callq 0x1e87
movl %ebx, %edi
callq 0x10c0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x1293
jmp 0x1747
addq $0x8, %r14
movq %r14, %rdi
callq 0x1270
jmp 0x1747
addq $0x10, %r14
movq %r14, %rdi
callq 0x124d
jmp 0x1747
callq 0x121e
jmp 0x1747
callq 0x11c0
jmp 0x1747
callq 0x11ef
jmp 0x1747
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/icepole256av2/ref/encrypt.c
// Function: crypto_aead_encrypt
int crypto_aead_encrypt(
	unsigned char *c,unsigned long long *clen,
	const unsigned char *m,unsigned long long mlen,
	const unsigned char *ad,unsigned long long adlen,
	const unsigned char *nsec,
	const unsigned char *npub,
	const unsigned char *k )
{
    ICESTATE S;
    unsigned int frameBit;
    
    /* initialize the state with secret key and nonce */
    initState256a(S, k, npub);

    /* ciphertext length is plaintext len + size of tag and nsec */
    *clen = mlen + ICEPOLETAGLEN; 
    
    /* secret message number is zero length */
    processDataBlock(S, NULL, NULL, 0, 0);
    
    /* process auth-only associated data blocks */
    do {
        unsigned long long blocklen = ICEPOLEDATABLOCKLEN;
        frameBit = (adlen <= blocklen ? 1 : 0); /* is it the last block? */
        if (adlen < blocklen) {
            blocklen = adlen;
        }
        /* apply the permutation to the state */
        P6(S,S);
        /* absorb a data block */
        processDataBlock(S, ad, NULL, blocklen, frameBit);
        ad += blocklen;
        adlen -= blocklen;
    } while (adlen > 0);

    /* process plaintext blocks to get the ciphertext */
    do {
        unsigned long long blocklen = ICEPOLEDATABLOCKLEN;
        frameBit = (mlen <=blocklen ? 0 : 1);
        if (mlen < blocklen) {
            blocklen = mlen;
        }
        /* apply the permutation to the state */
        P6(S,S);
        /* absorb a data block and produce a ciphertext block */
        processDataBlock(S, m, &c, blocklen, frameBit);
        m += blocklen;
        mlen -= blocklen;    
    } while (mlen > 0);

    /* store authentication tag at the end of the ciphertext */
    generateTag(S, c);
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %rbx
movq %rdx, 0x8(%rsp)
movq %rsi, %rbp
movq 0x100(%rsp), %rsi
movq 0xf8(%rsp), %rdx
movq %rdi, (%rsp)
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1030
leaq 0x10(%rbx), %rax
movq %rax, (%rbp)
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x1050
xorl %ebp, %ebp
cmpq $0x79, %r15
setb %bpl
cmpq $0x78, %r15
movl $0x78, %r13d
cmovbq %r15, %r13
leaq 0x10(%rsp), %r14
movq %r14, %rdi
movq %r14, %rsi
callq 0x1100
movq %r14, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %r13, %rcx
movl %ebp, %r8d
callq 0x1050
addq %r13, %r12
subq %r13, %r15
jne 0x1268
leaq 0x10(%rsp), %r15
movq %rsp, %r12
movq 0x8(%rsp), %r14
xorl %ebp, %ebp
cmpq $0x79, %rbx
setae %bpl
cmpq $0x78, %rbx
movl $0x78, %r13d
cmovbq %rbx, %r13
movq %r15, %rdi
movq %r15, %rsi
callq 0x1100
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r13, %rcx
movl %ebp, %r8d
callq 0x1050
addq %r13, %r14
subq %r13, %rbx
jne 0x12b8
movq (%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x10e0
xorl %eax, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/ex.h
// Function: tino_verror_ext
static void
tino_verror_ext(TINO_VA_LIST list, int err, const char *prefix, ...)
{
  tino_va_list	list2;

  tino_va_start(list2, prefix);
  tino_verror_vext(&list2, list, err);
  tino_va_end(list2);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xf0, %rsp
movl %esi, %ebx
movq %rdi, %r14
leaq 0x40(%rsp), %rsi
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x23b3
movaps %xmm0, 0x70(%rsp)
movaps %xmm1, 0x80(%rsp)
movaps %xmm2, 0x90(%rsp)
movaps %xmm3, 0xa0(%rsp)
movaps %xmm4, 0xb0(%rsp)
movaps %xmm5, 0xc0(%rsp)
movaps %xmm6, 0xd0(%rsp)
movaps %xmm7, 0xe0(%rsp)
movq %rdx, (%rsp)
movabsq $0x3000000018, %rax     # imm = 0x3000000018
movq %rax, 0x8(%rsp)
leaq 0x110(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %rsi, 0x18(%rsp)
movq 0xabf9(%rip), %rax      # 0xcfd8
movq (%rax), %rdi
callq 0x2230
movq (%rsp), %rsi
testq %rsi, %rsi
je 0x2430
leaq 0x8(%rsp), %rax
movq 0xabfc(%rip), %r15      # 0xcff8
movq (%r15), %rdi
leaq 0x28(%rsp), %rdx
movq %rsi, -0x8(%rdx)
movups (%rax), %xmm0
movups %xmm0, (%rdx)
movq 0x10(%rax), %rax
movq %rax, 0x10(%rdx)
callq 0x22a0
movq (%r15), %rcx
leaq 0x6a83(%rip), %rdi      # 0x8ea8
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
callq 0x22d0
movq 0xabc1(%rip), %r15      # 0xcff8
movq (%r15), %rdi
movq (%r14), %rsi
leaq 0x28(%rsp), %rdx
movq %rsi, -0x8(%rdx)
movups 0x8(%r14), %xmm0
movups %xmm0, (%rdx)
movq 0x18(%r14), %rax
movq %rax, 0x10(%rdx)
callq 0x22a0
movq (%r15), %r14
testl %ebx, %ebx
jne 0x2482
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x21a0
movq (%r15), %rdi
callq 0x2230
addq $0xf0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl %ebx, %edi
callq 0x22f0
leaq 0x7255(%rip), %rsi      # 0x96e5
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x21e0
jmp 0x246d
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/data.h
// Function: tino_data_file_readI
static int
tino_data_file_readI(TINO_DATA *d, void *ptr, size_t max)
{
  int	n;

  n	= tino_file_readI(d->user.fd, ptr, max);
  if (n<0 && errno!=EINTR)
    {
      tino_data_error(d, "file read error fd %d", d->user.fd);
      n	= 0;
    }
  return n;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x28(%rdi), %edi
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
cmpq %rax, %rdx
cmovaeq %rax, %rdx
callq 0x21b0
movq %rax, %r14
testl %r14d, %r14d
jns 0x34b9
callq 0x2070
cmpl $0x4, (%rax)
je 0x34b9
movl 0x28(%rbx), %edx
leaq 0x59ff(%rip), %rsi      # 0x8eab
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/data.h
// Function: tino_data_file_writeI
static int
tino_data_file_writeI(TINO_DATA *d, const void *ptr, size_t max)
{
  int	n;

  n	= tino_file_writeI(d->user.fd, ptr, max);
  if (n<0 && errno!=EINTR)
    {
      tino_data_error(d, "file write error fd %d", d->user.fd);
      n	= 0;
    }
  return n;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x28(%rdi), %edi
callq 0x20e0
movq %rax, %r14
testl %r14d, %r14d
jns 0x34fc
callq 0x2070
cmpl $0x4, (%rax)
je 0x34fc
movl 0x28(%rbx), %edx
leaq 0x59dc(%rip), %rsi      # 0x8ecb
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/data.h
// Function: tino_data_file_syncA
static int
tino_data_file_syncA(TINO_DATA *d, int sync)
{
  if (sync && tino_file_flush_fdE(d->user.fd))
    {
      tino_data_error(d, "file flush error fd %d", d->user.fd);
      return -1;
    }
  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
xorl %ebp, %ebp
testl %esi, %esi
je 0x3538
movq %rdi, %rbx
movl 0x28(%rdi), %edi
callq 0x2080
testl %eax, %eax
je 0x3538
movl 0x28(%rbx), %edx
leaq 0x59b9(%rip), %rsi      # 0x8ee2
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/data.h
// Function: tino_data_size_genericA
static tino_file_size_t
tino_data_size_genericA(TINO_DATA *d)
{
  tino_file_size_t	pos, len;

  if (!d || !d->handler || !d->handler->seek_end)
    {
      tino_data_error(d, "cannot seek to get size");
      return 0;
    }
  pos	= tino_data_posA(d);
  len	= tino_data_seek_endA(d);
  tino_data_seekA(d, pos);
  return len;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
je 0x3594
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x3594
cmpq $0x0, 0x38(%rax)
je 0x3594
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x35b1
movq %rbx, %rdi
callq *%rax
movq %rax, %r14
cmpq $-0x1, %rax
jne 0x35c5
movq $-0x1, %r14
leaq 0x598f(%rip), %rsi      # 0x8f21
jmp 0x35bb
leaq 0x595e(%rip), %rsi      # 0x8ef9
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x5959(%rip), %rsi      # 0x8f11
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movq 0x20(%rbx), %rax
leaq 0x5965(%rip), %rsi      # 0x8f35
testq %rax, %rax
je 0x35fc
movq 0x38(%rax), %rax
testq %rax, %rax
je 0x35fc
movq %rbx, %rdi
callq *%rax
movq %rax, %r15
cmpq $-0x1, %rax
jne 0x3609
movq $-0x1, %r15
leaq 0x5950(%rip), %rsi      # 0x8f4a
jmp 0x35ff
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x5240
movq 0x20(%rbx), %rax
leaq 0x594b(%rip), %rsi      # 0x8f5f
testq %rax, %rax
je 0x359e
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x359e
movq %rbx, %rdi
movq %r14, %rsi
callq *%rax
cmpq %r14, %rax
je 0x35a8
leaq 0x5932(%rip), %rsi      # 0x8f70
jmp 0x359e
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/buf.h
// Function: tino_buf_add_nO
static void
tino_buf_add_nO(TINO_BUF *buf, const void *ptr, size_t len)
{
  tino_FATAL(!ptr);

  cDP(("(%p,%p,%ld)", buf, ptr, (long)len));
  memcpy(tino_buf_add_ptrO(buf, len), ptr, len);
  buf->fill	+= len;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rsi, %rsi
je 0x4e62
movq %rdi, %r14
testq %rdi, %rdi
je 0x4e85
movq %rdx, %rbx
movq %rsi, %r15
movq (%r14), %rdi
leaq (%rdi,%rdx), %rsi
subq 0x8(%r14), %rsi
jb 0x4e4a
incq %rsi
movq %r14, %rdi
callq 0x4f9e
movq (%r14), %rdi
addq 0x18(%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x2210
addq %rbx, (%r14)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3fa2(%rip), %rdi      # 0x8e0b
leaq 0x3f7e(%rip), %rsi      # 0x8dee
leaq 0x3f84(%rip), %rcx      # 0x8dfb
leaq 0x3f6b(%rip), %r8       # 0x8de9
movl $0x128, %edx            # imm = 0x128
jmp 0x4ea6
leaq 0x3f7f(%rip), %rdi      # 0x8e0b
leaq 0x3f5b(%rip), %rsi      # 0x8dee
leaq 0x3f8f(%rip), %rcx      # 0x8e29
leaq 0x3f83(%rip), %r8       # 0x8e24
movl $0x11b, %edx            # imm = 0x11B
xorl %eax, %eax
callq 0x4ead
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/buf.h
// Function: tino_buf_extendO
static void
tino_buf_extendO(TINO_BUF *buf, size_t len)
{
  tino_FATAL(!buf);

  cDP(("(%p,%ld) p=%p l=%ld m=%ld p=%ld", buf, (long)len,
      buf->data, (long)buf->fill, (long)buf->max, (long)buf->off));
  if (!len)
    return;
  if (buf->off>=len)
    {
      tino_FATAL(buf->fill<buf->off);
      if ((buf->fill-=buf->off)!=0)
	memmove(buf->data, buf->data+buf->off, buf->fill);
      buf->off	= 0;
    }
  else
    {
      buf->max	+= len;
      buf->data	=  (char *)tino_reallocO(buf->data, buf->max);
    }
  cDP(("() %p", buf->data));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x501e
movq %rsi, %r14
testq %rsi, %rsi
je 0x5018
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
cmpq %r14, %rsi
jae 0x4fd7
addq 0x8(%rbx), %r14
movq %r14, 0x8(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4ffa
movq %r14, %rsi
callq 0x2240
jmp 0x5002
movq (%rbx), %rdx
subq %rsi, %rdx
jb 0x5041
movq %rdx, (%rbx)
je 0x4ff0
movq 0x18(%rbx), %rdi
addq %rdi, %rsi
callq 0x2270
movq $0x0, 0x10(%rbx)
jmp 0x5018
movq %r14, %rdi
callq 0x2220
movq %rax, %r15
testq %rax, %rax
jne 0x5014
movq %r14, %rsi
xorl %eax, %eax
callq 0x5069
movq %r15, 0x18(%rbx)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3de6(%rip), %rdi      # 0x8e0b
leaq 0x3dc2(%rip), %rsi      # 0x8dee
leaq 0x3e08(%rip), %rcx      # 0x8e3b
leaq 0x3dea(%rip), %r8       # 0x8e24
movl $0x42, %edx
jmp 0x5062
leaq 0x3dc3(%rip), %rdi      # 0x8e0b
leaq 0x3d9f(%rip), %rsi      # 0x8dee
leaq 0x3de5(%rip), %rcx      # 0x8e3b
leaq 0x3def(%rip), %r8       # 0x8e4c
movl $0x4a, %edx
xorl %eax, %eax
callq 0x4ead
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/err.h
// Function: tino_err_new
static int
tino_err_new(const char *opt_tag_params_short, ...)
{
  tino_va_list	list;
  int		ret;

  tino_va_start(list, opt_tag_params_short);
  ret	= tino_verr_new(&list);
  tino_va_end(list);
  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xf8, %rsp
leaq 0x40(%rsp), %rdi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x50d0
movaps %xmm0, 0x70(%rsp)
movaps %xmm1, 0x80(%rsp)
movaps %xmm2, 0x90(%rsp)
movaps %xmm3, 0xa0(%rsp)
movaps %xmm4, 0xb0(%rsp)
movaps %xmm5, 0xc0(%rsp)
movaps %xmm6, 0xd0(%rsp)
movaps %xmm7, 0xe0(%rsp)
leaq 0x3d88(%rip), %rax      # 0x8e5f
leaq 0x28(%rsp), %r14
movq %rax, -0x8(%r14)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%r14)
leaq 0x120(%rsp), %rax
movq %rax, 0x8(%r14)
movq %rdi, 0x10(%r14)
callq 0x2070
movl (%rax), %ebx
movq -0x8(%r14), %rdx
movq %rdx, %rax
andq $-0x2, %rax
cmpq $0x2, %rax
je 0x5211
movb (%rdx), %al
leaq 0x3d58(%rip), %rdi      # 0x8e7a
cmpb $0x25, %al
jne 0x5176
movb $0x25, %al
cmpb $0x73, 0x1(%rdx)
jne 0x51b8
movq %rdx, (%rsp)
movups (%r14), %xmm0
movups %xmm0, 0x8(%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x18(%rsp)
movl 0x8(%rsp), %ecx
cmpq $0x28, %rcx
ja 0x5163
movq %rcx, %rax
addq 0x18(%rsp), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%rsp)
jmp 0x5171
movq 0x10(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rdx
movb (%rdx), %al
movzbl %al, %esi
leal -0x45(%rsi), %ecx
cmpl $0x9, %ecx
ja 0x519a
leaq 0x2f10(%rip), %rsi      # 0x8098
movslq (%rsi,%rcx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
leaq 0x3de5(%rip), %rdi      # 0x8f7d
jmp 0x51b8
cmpl $0x57, %esi
jne 0x51b8
leaq 0x3ceb(%rip), %rdi      # 0x8e91
jmp 0x51b8
leaq 0x3cec(%rip), %rdi      # 0x8e9b
jmp 0x51b8
leaq 0x3cde(%rip), %rdi      # 0x8e96
incq %rdx
movl %eax, %ebp
movb (%rdx), %al
leal -0x30(%rax), %ecx
incq %rdx
cmpb $0x2b, %cl
jb 0x51bb
cmpb $0x55, %bpl
je 0x51d9
movzbl %bpl, %eax
cmpl $0x46, %eax
jne 0x51db
xorl %ebx, %ebx
movq 0x80de(%rip), %rax      # 0xd2c0
testq %rax, %rax
leaq -0x27a(%rip), %rcx      # 0x4f72
cmovneq %rax, %rcx
leaq 0x20(%rsp), %rsi
movl %ebx, %edx
callq *%rcx
addb $-0x43, %bpl
cmpb $0x3, %bpl
jbe 0x522c
addq $0xf8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x20(%rsp), %rsi
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rcx
callq 0x2af6
movq (%r15), %rdx
jmp 0x5119
movl $0xfffffffe, %edi       # imm = 0xFFFFFFFE
callq 0x22c0
leaq 0x20(%rsp), %rdi
callq 0x4f34
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/data.h
// Function: tino_data_error
static void
tino_data_error(TINO_DATA *d, const char *s, ...)
{
  tino_va_list	list;

  tino_va_start(list, s);
  if (d && d->err)
    d->err(d, &list);
  else
    tino_vpexit((d->handler ? d->handler->type : "tino_data"), &list);
  tino_va_end(list);
}

// Assembly:
pushq %rbx
subq $0xd0, %rsp
leaq 0x20(%rsp), %r10
movq %rdx, 0x10(%r10)
movq %rcx, 0x18(%r10)
movq %r8, 0x20(%r10)
movq %r9, 0x28(%r10)
testb %al, %al
je 0x5298
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %rsi, (%rsp)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, 0x8(%rsp)
leaq 0xe0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r10, 0x18(%rsp)
testq %rdi, %rdi
je 0x52d9
movq 0x30(%rdi), %rax
testq %rax, %rax
je 0x52d9
movq %rsp, %rsi
callq *%rax
addq $0xd0, %rsp
popq %rbx
retq
movq 0x20(%rdi), %rax
testq %rax, %rax
jne 0x52eb
leaq 0x3bd8(%rip), %rbx      # 0x8ec1
jmp 0x52ee
movq (%rax), %rbx
callq 0x2070
movl (%rax), %edx
movq 0x7fc4(%rip), %rax      # 0xd2c0
testq %rax, %rax
leaq -0x394(%rip), %rcx      # 0x4f72
cmovneq %rax, %rcx
movq %rsp, %rsi
movq %rbx, %rdi
callq *%rcx
movzbl 0x7fa3(%rip), %edi      # 0xd2bc
notl %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/ex.h
// Function: tino_vpexit_n
static void
tino_vpexit_n(int n, const char *prefix, TINO_VA_LIST list)
{
  tino_verror(prefix, list, errno);
  if (n==0)
    n = tino_exit_default_code;
  TINO_ABORT(n);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, %ebp
callq 0x2070
movl (%rax), %edx
movq 0x7f86(%rip), %rax      # 0xd2c0
testq %rax, %rax
leaq -0x3d2(%rip), %rcx      # 0x4f72
cmovneq %rax, %rcx
movq %r14, %rdi
movq %rbx, %rsi
callq *%rcx
testl %ebp, %ebp
movzbl 0x7f63(%rip), %edi      # 0xd2bc
notl %edi
cmovnel %ebp, %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/main.h
// Function: tino_main_verror_fn
static void
tino_main_verror_fn(const char *prefix, TINO_VA_LIST list, int err)
{
  int	tmp;

  tmp			= *tino_main_errflag;
  *tino_main_errflag	= 3;	/* We are in the error routine	*/

  tino_verror_std(prefix, list, err);
  if (tmp<0)
    exit(-tmp);

  /* Switch in error mode
   */
  *tino_main_errflag	= tmp ? tmp : 2;
}

// Assembly:
pushq %rbx
movq 0x7f3a(%rip), %rax      # 0xd2c8
movl (%rax), %ebx
movl $0x3, (%rax)
callq 0x4f72
testl %ebx, %ebx
js 0x53b2
movl $0x2, %eax
cmovel %eax, %ebx
movq 0x7f1a(%rip), %rax      # 0xd2c8
movl %ebx, (%rax)
popq %rbx
retq
negl %ebx
movl %ebx, %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/getopt.h
// Function: tino_getopt_var_set_varg
static void
tino_getopt_var_set_varg(struct tino_getopt_impl *p, union tino_getopt_types *ptr, TINO_VA_LIST list)
{
  if (!ptr)
    ptr	= p->varptr;
  if (p->DEBUG_var)
    {
      fprintf(stderr, "getopt set: %s %.*s to ",
              (ptr==p->varptr ? "opt" :
               ptr== &p->min ? "min" :
               ptr== &p->max ? "max" :
               "unknown(oops)"
               ), p->optlen, p->opt);
      fflush(stderr);
    }
  switch (p->type)
    {
    case TINO_GETOPT_TYPE_UNSIGNED:
    case TINO_GETOPT_TYPE_INT:
    case TINO_GETOPT_TYPE_FLAG:
      ptr->i	= TINO_VA_ARG(list, int);
      break;

    case TINO_GETOPT_TYPE_STRINGFLAG:
    case TINO_GETOPT_TYPE_STRING:
      ptr->s	= TINO_VA_ARG(list, char *);
      break;

    case TINO_GETOPT_TYPE_UBYTE:
    case TINO_GETOPT_TYPE_BYTE:
    case TINO_GETOPT_TYPE_UCHAR:
    case TINO_GETOPT_TYPE_CHAR:
      ptr->c	= TINO_VA_ARG(list, int);
      break;

    case TINO_GETOPT_TYPE_USHORT:
    case TINO_GETOPT_TYPE_SHORT:
      ptr->w	= TINO_VA_ARG(list, int);
      break;

    case TINO_GETOPT_TYPE_ULONGINT:
    case TINO_GETOPT_TYPE_LONGINT:
      ptr->I	= TINO_VA_ARG(list, long);
      break;

    case TINO_GETOPT_TYPE_ULLONG:
    case TINO_GETOPT_TYPE_LLONG:
      ptr->l	= TINO_VA_ARG(list, long long);
      break;

    case TINO_GETOPT_TYPE_HELP:
    case TINO_GETOPT_TYPE_IGNORE:
      break;
    }
  if (p->DEBUG_var)
    {
      char	auxbuf[TINO_GETOPT_AUXBUF_SIZE];

      fprintf(stderr, "%s\n", tino_getopt_var_to_str(ptr, p->type, auxbuf));
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
testq %rsi, %rsi
jne 0x6031
movq 0x8(%r14), %rbx
cmpl $0x0, 0x4c(%r14)
jne 0x6119
movl (%r14), %eax
decl %eax
cmpl $0xe, %eax
ja 0x610c
leaq 0x20bb(%rip), %rcx      # 0x810c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x60a8
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x60b4
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x60d6
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x60e2
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x60e8
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x60f4
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movq (%rax), %rax
movq %rax, (%rbx)
jmp 0x610c
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x60fa
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x6106
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movb (%rax), %al
movb %al, (%rbx)
jmp 0x610c
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movl (%rax), %eax
movl %eax, (%rbx)
jmp 0x610c
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movzwl (%rax), %eax
movw %ax, (%rbx)
cmpl $0x0, 0x4c(%r14)
jne 0x6129
popq %rbx
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3048
jmp 0x603c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x30ae
jmp 0x6113
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/getopt.h
// Function: tino_getopt_var_set_arg
static int
tino_getopt_var_set_arg(struct tino_getopt_impl *p, const char *arg, const char *next, int invert)
{
  int		n;
  const char	*s;

  n			= 1;
  p->DEFAULT_var	= 0;
  p->NODEFAULT_var	= 0;
  if (!arg || (!*arg && !p->DIRECT_var))
    {
      n		= 2;
      arg	= next;
      if (!arg)
        arg	= "";
      if (invert<0)
        invert	= 0;
    }
  else if ((p->LLOPT_var || p->LOPT_var || p->DD_var) && *arg)
    {
      /* Long options have --"long"=arg or --"long."arg or --"long arg"
       * (--"long" "arg" has !*arg).
       * --long above can be +long on PLUS LLOPT or -long on LOPT
       *
       * In case of PLUS_var on _FLAG we see invert==-1, in this case
       * (and only in this) the next character can be '+' to invert.
       */
      if (isalnum(p->opt[p->optlen-1]))	/* option ends on AlNum	*/
        {
          /* skip next character, which must be a separator	*/
          if (*arg++!='+')		/* keep invert on --long+ or +long+ (latter can't happen)	*/
            invert	= 0;
        }
      else if (invert<0 && *arg=='+')	/* --_long_+ or --long.+ or similar	*/
        arg++;
      else
        invert	= 0;
    }
  else
    invert	= 0;
  n	= tino_getopt_var_set_arg_imp(p, arg, n, invert);
  if (n<0 || !p->FN_var)
    return n;

  s	= p->FN_var(p->varptr, arg, p->opt, p->USER_var);
  if (!s)
    return n;

  if (*s)
    fprintf(stderr, "getopt: rejected option %.*s: %s\n", p->optlen, p->opt, s);
  return -2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdi, %rbx
movq $0x0, 0x50(%rdi)
testq %rsi, %rsi
je 0x6f97
movq %rsi, %r14
movb (%rsi), %r15b
testb %r15b, %r15b
jne 0x6f4e
cmpl $0x0, 0x70(%rbx)
je 0x6f97
cmpl $0x0, 0x6c(%rbx)
jne 0x6f5e
cmpl $0x0, 0x68(%rbx)
je 0x701a
testb %r15b, %r15b
je 0x6fb3
callq 0x2330
movq (%rax), %rax
movq 0x40(%rbx), %rcx
movslq 0x48(%rbx), %rdx
movsbq -0x1(%rcx,%rdx), %rcx
testb $0x8, (%rax,%rcx,2)
jne 0x6fbc
cmpb $0x2b, %r15b
sete %al
testl %ebp, %ebp
sets %cl
andb %al, %cl
movzbl %cl, %ecx
addq %rcx, %r14
negl %ecx
jmp 0x6fc8
testq %rdx, %rdx
leaq 0x2223(%rip), %r14      # 0x91c4
cmovneq %rdx, %r14
xorl %ecx, %ecx
testl %ebp, %ebp
cmovgl %ebp, %ecx
movl $0x2, %edx
jmp 0x6fcd
movl $0x1, %edx
xorl %ecx, %ecx
jmp 0x6fcd
incq %r14
xorl %ecx, %ecx
cmpb $0x2b, %r15b
cmovel %ebp, %ecx
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6136
movl %eax, %ebp
testl %eax, %eax
js 0x700d
movq 0xa0(%rbx), %rax
testq %rax, %rax
je 0x700d
movq 0x8(%rbx), %rdi
movq 0x40(%rbx), %rdx
movq 0x98(%rbx), %rcx
movq %r14, %rsi
callq *%rax
testq %rax, %rax
je 0x700d
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
cmpb $0x0, (%rax)
jne 0x7032
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
xorl %ecx, %ecx
movl $0x1, %edx
testb %r15b, %r15b
je 0x6fcd
cmpl $0x0, 0x74(%rbx)
jne 0x6f63
jmp 0x6fcd
movq 0x5fbf(%rip), %rcx      # 0xcff8
movq (%rcx), %rdi
movl 0x48(%rbx), %edx
movq 0x40(%rbx), %rcx
leaq 0x28cf(%rip), %rsi      # 0x9919
movq %rax, %r8
xorl %eax, %eax
callq 0x21e0
jmp 0x700d
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/getopt.h
// Function: tino_getopt_print_option_name
static void
tino_getopt_print_option_name(struct tino_getopt_impl *q, int full, const char *suffix)
{
  if (!q->DD_var)
    {
      if (q->LLOPT_var)
        fputc('-', stderr);
      fputc('-', stderr);
    }
  if (full)
    fprintf(stderr, "%s", q->opt);
  else
    fprintf(stderr, "%.*s", q->optlen, q->opt);
  if (suffix)
    fprintf(stderr, "%s", suffix);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
cmpl $0x0, 0x74(%rdi)
jne 0x709a
cmpl $0x0, 0x6c(%r14)
je 0x7086
movq 0x5f7f(%rip), %rax      # 0xcff8
movq (%rax), %rsi
movl $0x2d, %edi
callq 0x21a0
movq 0x5f6b(%rip), %rax      # 0xcff8
movq (%rax), %rsi
movl $0x2d, %edi
callq 0x21a0
movq 0x5f57(%rip), %r15      # 0xcff8
movq (%r15), %rax
testl %ebp, %ebp
jne 0x70c3
movl 0x48(%r14), %edx
movq 0x40(%r14), %rcx
leaq 0x28cd(%rip), %rsi      # 0x9984
movq %rax, %rdi
xorl %eax, %eax
callq 0x21e0
jmp 0x70cf
movq 0x40(%r14), %rdi
movq %rax, %rsi
callq 0x2160
testq %rbx, %rbx
jne 0x70df
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq (%r15), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2160
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/unbuffered.c
// Function: add_prefix
static void
add_prefix(const char *what, ...)
{
  tino_va_list	list;

  if (!tino_buf_get_lenO(&prefix))
    {
      const char *p= in_line ? line_cont_prefix : line_prefix;
      if (p && *p)
        tino_buf_add_sO(&prefix, p);
    }
  tino_va_start(list, what);
  tino_buf_add_vsprintfO(&prefix, &list);
  tino_va_end(list);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
movq %rsi, 0x8(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x20(%rsp)
movq %r9, 0x28(%rsp)
testb %al, %al
je 0x744c
movaps %xmm0, 0x30(%rsp)
movaps %xmm1, 0x40(%rsp)
movaps %xmm2, 0x50(%rsp)
movaps %xmm3, 0x60(%rsp)
movaps %xmm4, 0x70(%rsp)
movaps %xmm5, 0x80(%rsp)
movaps %xmm6, 0x90(%rsp)
movaps %xmm7, 0xa0(%rsp)
movq 0x5ec5(%rip), %rax      # 0xd318
cmpq 0x5ece(%rip), %rax      # 0xd328
jne 0x749d
cmpl $0x0, 0x5ee5(%rip)      # 0xd348
leaq 0x5e2e(%rip), %rax      # 0xd298
leaq 0x5e17(%rip), %rcx      # 0xd288
cmovneq %rax, %rcx
movq (%rcx), %r14
testq %r14, %r14
je 0x749d
cmpb $0x0, (%r14)
je 0x749d
movq %r14, %rdi
callq 0x20f0
leaq 0x5e86(%rip), %rdi      # 0xd318
movq %r14, %rsi
movq %rax, %rdx
callq 0x4e17
leaq 0xb8(%rsp), %rsi
movq %rbx, (%rsi)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, 0x8(%rsi)
leaq 0xf0(%rsp), %rax
movq %rax, 0x10(%rsi)
movq %rsp, %rax
movq %rax, 0x18(%rsi)
leaq 0x5e48(%rip), %rdi      # 0xd318
callq 0x7c3b
addq $0xd8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/unbuffered.c
// Function: out_open
static void
out_open(void)
{
  if (out_is_open)
    return;
  if (!append_file)
    {
      tino_data_fileA(&out, fd_out>=0 ? fd_out : flag_cat ? 1 : 2);
      out_is_open = -1;
    }
  else
    {
      tino_data_fileA(&out, tino_file_open_createE(append_file, O_APPEND|O_WRONLY, 0666));
      out_is_open	= 1;
    }
}

// Assembly:
cmpl $0x0, 0x5e69(%rip)      # 0xd350
je 0x74ea
retq
pushq %rbp
pushq %r14
pushq %rbx
movq 0x5d63(%rip), %r14      # 0xd258
testq %r14, %r14
je 0x7525
movl $0x1, %ebp
movq %r14, %rdi
movl $0x441, %esi            # imm = 0x441
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x2250
movl %eax, %ebx
testl %eax, %eax
jns 0x7541
callq 0x2070
cmpl $0x4, (%rax)
je 0x74ff
jmp 0x7541
movl 0x5d55(%rip), %eax      # 0xd280
xorl %ebx, %ebx
cmpl $0x1, 0x5d30(%rip)      # 0xd264
adcl $0x1, %ebx
testl %eax, %eax
cmovnsl %eax, %ebx
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebx, %edi
callq 0x7d2b
movl %ebp, 0x5e02(%rip)      # 0xd350
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/buf.h
// Function: tino_buf_get_sN
static const char *
tino_buf_get_sN(TINO_BUF *buf)
{
  cDP(("(%p)", buf));
  if (!buf)
    return 0;
  if (!buf->fill)
    return "";
  if (buf->fill>=buf->max)
    tino_buf_extendO(buf, 1);
  buf->data[buf->fill]	= 0;
  cDP(("() '%s'", buf->data+buf->off));
  return buf->data+buf->off;
}

// Assembly:
movq 0x5dbe(%rip), %rax      # 0xd318
testq %rax, %rax
je 0x759f
pushq %rax
cmpq 0x5db9(%rip), %rax      # 0xd320
jb 0x7581
leaq 0x5da8(%rip), %rdi      # 0xd318
movl $0x1, %esi
callq 0x4f9e
movq 0x5d97(%rip), %rax      # 0xd318
movq 0x5da8(%rip), %rcx      # 0xd330
movb $0x0, (%rcx,%rax)
movq 0x5d9d(%rip), %rax      # 0xd330
addq 0x5d8e(%rip), %rax      # 0xd328
addq $0x8, %rsp
retq
leaq 0x1c1e(%rip), %rax      # 0x91c4
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/./tino/buf.h
// Function: tino_buf_write_away_allE
static int
tino_buf_write_away_allE(TINO_BUF *buf, int fd, int max)
{
  cDP(("(%p,%d,%d)", buf, fd, max));
  for (;;)
    {
      int	len, put;

      len	= tino_buf_get_lenO(buf);
      if (max>=0 && len>max)
	len	= max;
      if (!len)
	{
	  cDP(("() 0"));
	  return 0;
	}
      cDP(("() write %d", len));
      if ((put=TINO_F_write(fd, tino_buf_getN(buf), len))>0)
	{
	  max	-= put;
	  tino_buf_advanceO(buf, put);
	}
      else if (!put)
	{
	  cDP(("() 1"));
	  return 1;
	}
      else if (errno!=EINTR && errno!=EAGAIN)
	{
	  cDP(("() -1"));
	  return -1;
	}
#ifdef TINO_ALARM_RUN
      else
	TINO_ALARM_RUN();
#endif
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x78e1
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
movl (%r15), %ecx
movq 0x10(%r15), %rsi
subl %esi, %ecx
cmpl %ecx, %ebp
movl %ecx, %eax
cmovll %ebp, %eax
testl %ebp, %ebp
cmovsl %ecx, %eax
testl %eax, %eax
je 0x78e1
addq 0x18(%r15), %rsi
movslq %eax, %rdx
movl %r14d, %edi
callq 0x20e0
testl %eax, %eax
jle 0x78c2
subl %eax, %ebp
movq %r15, %rdi
movl %eax, %esi
callq 0x7806
jmp 0x7888
je 0x78dc
callq 0x2070
movl (%rax), %eax
cmpl $0xb, %eax
je 0x7888
cmpl $0x4, %eax
je 0x7888
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x78e1
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/unbuffered.c
// Function: out_close
static void
out_close(void)
{
  if (!out_is_open)
    return;
  tino_data_freeA(&out);
  out_is_open	= 0;
}

// Assembly:
cmpl $0x0, 0x5a5b(%rip)      # 0xd350
je 0x794c
pushq %rax
movq 0x59f9(%rip), %rax      # 0xd2f8
testq %rax, %rax
je 0x7916
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x7916
leaq 0x59c4(%rip), %rdi      # 0xd2d8
callq *%rax
movq $0x0, 0x59d7(%rip) # 0xd2f8
leaq 0x59b0(%rip), %rdi      # 0xd2d8
callq 0x7eec
movq 0x59dc(%rip), %rdi      # 0xd310
testq %rdi, %rdi
je 0x793e
callq 0x2050
movl $0x0, 0x5a08(%rip)      # 0xd350
addq $0x8, %rsp
retq