LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/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 0x4a9e
movq %rdi, %r14
cvttsd2si %xmm0, %ebp
movl %ebp, %edi
movq %rbx, %rdx
callq 0x4b04
movsd 0x8(%r14), %xmm0
movl %ebp, %edi
movq %rbx, %rsi
callq 0x4afa
movq $0x0, (%rbx)
jmp 0x4ac2
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x4ac2
xorl %eax, %eax
movq $0x0, (%rbx,%rax,8)
incq %rax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
ucomisd %xmm1, %xmm0
ja 0x4aaa
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/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 0x4d7f
movl %edi, %eax
xorpd %xmm0, %xmm0
xorl %ecx, %ecx
addsd (%rsi,%rcx,8), %xmm0
incq %rcx
cmpq %rcx, %rax
jne 0x4d70
jmp 0x4d83
xorpd %xmm0, %xmm0
cvtsi2sd %edi, %xmm1
divsd %xmm1, %xmm0
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x4dd5
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 0x4d9d
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_O1/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 0x4f2b
cmpl $0x16, %edi
jne 0x4fe1
testl %ebp, %ebp
jle 0x4f85
movslq %r14d, %rax
movl %ebp, %ecx
movl %eax, %edx
shlq $0x3, %rax
xorl %esi, %esi
movq $0x0, (%rbx,%rsi,8)
testl %r14d, %r14d
jle 0x4f1e
xorl %edi, %edi
movsd (%r15,%rdi,8), %xmm0
subsd (%r12,%rsi,8), %xmm0
mulsd %xmm0, %xmm0
addsd (%rbx,%rsi,8), %xmm0
movsd %xmm0, (%rbx,%rsi,8)
incq %rdi
cmpq %rdi, %rdx
jne 0x4efc
incq %rsi
addq %rax, %r15
cmpq %rcx, %rsi
jne 0x4eed
jmp 0x4f85
testl %ebp, %ebp
jle 0x4f3f
movl %ebp, %edx
shlq $0x3, %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1040
testl %r14d, %r14d
jle 0x4f85
movslq %ebp, %rax
movl %r14d, %ecx
movl %ebp, %edx
shlq $0x3, %rax
xorl %esi, %esi
testl %ebp, %ebp
jle 0x4f7a
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 0x4f58
incq %rsi
addq %rax, %r15
cmpq %rcx, %rsi
jne 0x4f52
testl %ebp, %ebp
jle 0x4fd4
decl %r14d
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 0x4fb7
sqrtsd %xmm0, %xmm0
jmp 0x4fc6
callq 0x1130
xorpd %xmm2, %xmm2
movsd 0x8(%rsp), %xmm1
movsd %xmm0, (%rbx,%r15,8)
incq %r15
cmpq %r15, %r14
jne 0x4fa1
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
callq 0x12da
// File: /workspace/github_c_makefile_star2_O1/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 0x5070
cmpl $0x16, %edi
jne 0x5113
testl %r12d, %r12d
jle 0x5027
leaq (,%r13,8), %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1040
testl %ebp, %ebp
jle 0x50bb
movslq %r12d, %rax
movl %ebp, %ecx
shlq $0x3, %rax
xorl %edx, %edx
testl %r12d, %r12d
jle 0x5063
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 0x5041
incq %rdx
addq %rax, %r14
cmpq %rcx, %rdx
jne 0x503a
jmp 0x50bb
testl %r12d, %r12d
jle 0x50bb
movslq %ebp, %rax
movl %ebp, %ecx
shlq $0x3, %rax
xorl %edx, %edx
movq $0x0, (%rbx,%rdx,8)
testl %ebp, %ebp
jle 0x50b0
xorl %esi, %esi
movsd (%r14,%rsi,8), %xmm0
subsd (%r15,%rdx,8), %xmm0
mulsd %xmm0, %xmm0
addsd (%rbx,%rdx,8), %xmm0
movsd %xmm0, (%rbx,%rdx,8)
incq %rsi
cmpq %rsi, %rcx
jne 0x508e
incq %rdx
addq %rax, %r14
cmpq %r13, %rdx
jne 0x5080
testl %r12d, %r12d
jle 0x5104
decl %ebp
cvtsi2sd %ebp, %xmm1
xorl %r14d, %r14d
xorpd %xmm2, %xmm2
movsd %xmm1, (%rsp)
movsd (%rbx,%r14,8), %xmm0
divsd %xmm1, %xmm0
ucomisd %xmm2, %xmm0
jb 0x50e8
sqrtsd %xmm0, %xmm0
jmp 0x50f6
callq 0x1130
xorpd %xmm2, %xmm2
movsd (%rsp), %xmm1
movsd %xmm0, (%rbx,%r14,8)
incq %r14
cmpq %r14, %r13
jne 0x50d2
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1304
// File: /workspace/github_c_makefile_star2_O1/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 0x539d
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movb (%rdi), %r14b
testb %r14b, %r14b
je 0x5399
incq %rbx
leal -0x20(%r14), %eax
movzbl %r14b, %ebp
cmpb $0x5e, %al
ja 0x534b
movl %ebp, %edi
jmp 0x536c
movl $0x5c, %edi
callq 0x1090
cmpb $0xa, %r14b
je 0x5367
cmpl $0xd, %ebp
jne 0x537e
movl $0x72, %edi
jmp 0x536c
movl $0x6e, %edi
callq 0x1090
movb (%rbx), %r14b
incq %rbx
testb %r14b, %r14b
jne 0x533b
jmp 0x5399
movl $0x78, %edi
callq 0x1090
movsbq -0x1(%rbx), %rdi
movl $0x2, %esi
callq 0x539e
jmp 0x5371
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movl $0x2e, %edi
callq 0x1090
movl %ebp, %eax
cltd
idivl %ebx
leal 0x30(%rax), %edi
movl %edx, %ebp
callq 0x1090
cmpl $0xa, %ebx
jl 0x5866
movslq %ebx, %rax
imulq $0x66666667, %rax, %rbx # imm = 0x66666667
movq %rbx, %rax
shrq $0x3f, %rax
sarq $0x22, %rbx
addl %eax, %ebx
testl %ebp, %ebp
jne 0x5837
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x60d2(%rip), %rax      # 0xc118
orq 0x60c3(%rip), %rax      # 0xc110
jne 0x60c0
movq %r8, %r12
movl %edx, %ebp
testl %edx, %edx
je 0x613d
movq %rsi, %r14
movq %rdi, %r15
cmpq %rsi, %rdi
je 0x60c0
movl %r9d, %r13d
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq (%rsp), %rcx
callq 0x5c5f
testl %eax, %eax
jne 0x6121
xorl %ebx, %ebx
cmpl $0x1, %r13d
sete %bl
shll $0x3, %ebx
movl %ebp, %ebp
xorl %r13d, %r13d
movsd (%r15), %xmm1
movapd %xmm1, %xmm0
mulsd 0x279a(%rip), %xmm0     # 0x8840
movsd (%r14,%r13,8), %xmm2
callq 0x6153
testl %eax, %eax
je 0x60cf
addq %rbx, %r15
incq %r13
cmpl %r13d, %ebp
jne 0x6095
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
callq 0x599c
leaq 0x2899(%rip), %rdi      # 0x8977
callq 0x5324
movq %r13, %rdi
callq 0x5514
leaq 0x282e(%rip), %rdi      # 0x8920
callq 0x5324
movsd (%r15), %xmm0
callq 0x55ce
leaq 0x2823(%rip), %rdi      # 0x892b
callq 0x5324
movsd (%r14,%r13,8), %xmm0
callq 0x55ce
movq (%rsp), %rdi
callq 0x59c3
movq $0x1, 0x5fe4(%rip) # 0xc110
leaq 0x5fed(%rip), %rdi      # 0xc120
movl $0x1, %esi
callq 0x10e0
movq %r12, %rdi
callq 0x599c
leaq 0x27f4(%rip), %rdi      # 0x8940
callq 0x5324
jmp 0x6118
// File: /workspace/github_c_makefile_star2_O1/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 0x5f0e(%rip), %rax      # 0xc118
orq 0x5eff(%rip), %rax      # 0xc110
jne 0x623a
movq %rsi, %r14
movq %rdi, %rbx
movsd %xmm1, 0x8(%rsp)
movsd 0x8(%rsp), %xmm1
movsd %xmm2, 0x10(%rsp)
movsd 0x10(%rsp), %xmm2
callq 0x6153
testl %eax, %eax
je 0x6242
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
callq 0x599c
leaq 0x26cf(%rip), %rdi      # 0x8920
callq 0x5324
movsd 0x8(%rsp), %xmm0
callq 0x55ce
leaq 0x26c3(%rip), %rdi      # 0x892b
callq 0x5324
movsd 0x10(%rsp), %xmm0
callq 0x55ce
movq %rbx, %rdi
callq 0x59c3
movq $0x1, 0x5e85(%rip) # 0xc110
leaq 0x5e8e(%rip), %rdi      # 0xc120
movl $0x1, %esi
callq 0x10e0
// File: /workspace/github_c_makefile_star2_O1/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 0x1799
movq %rsi, %r14
movq 0x8(%rsi), %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x1170
testl %eax, %eax
js 0x17a0
movl %eax, %r15d
movq 0x10(%r14), %rdi
movl $0x241, %esi            # imm = 0x241
movl $0x1a4, %edx            # imm = 0x1A4
xorl %eax, %eax
callq 0x1170
testl %eax, %eax
js 0x17ae
movl %eax, %ebx
xorl %eax, %eax
callq 0x1e55
testq %rax, %rax
je 0x17bf
movq %rax, %r14
movq %rax, %rdi
movl %r15d, %esi
callq 0x1fdb
testl %eax, %eax
jne 0x17c9
movq %r14, %rdi
callq 0x1eb5
movq %r14, %rdi
callq 0x2021
testl %eax, %eax
jne 0x17d3
movzbl 0x3b(%r14), %esi
movzbl 0x38(%r14), %edx
movzbl 0x39(%r14), %ecx
movzbl 0x3a(%r14), %r8d
movl 0x3c(%r14), %r9d
leaq 0x3996(%rip), %rdi      # 0x50ac
xorl %eax, %eax
callq 0x1080
movq %r14, %rdi
xorl %esi, %esi
callq 0x185f
testl %eax, %eax
je 0x173e
leaq 0x39a4(%rip), %rdi      # 0x50d6
callq 0x1060
movl $0x1, %eax
jmp 0x178e
leaq 0x7a2b(%rip), %rsi      # 0x9170
movq %r14, %rdi
movl $0x1000, %edx           # imm = 0x1000
callq 0x187f
testl %eax, %eax
jle 0x177d
leaq 0x7a13(%rip), %r15      # 0x9170
movl %eax, %edx
movl %ebx, %edi
movq %r15, %rsi
callq 0x1070
movq %r14, %rdi
movq %r15, %rsi
movl $0x1000, %edx           # imm = 0x1000
callq 0x187f
testl %eax, %eax
jg 0x175d
movq %r14, %rdi
callq 0x1e91
movl %ebx, %edi
callq 0x10c0
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
callq 0x1283
jmp 0x1737
addq $0x8, %r14
movq %r14, %rdi
callq 0x1260
jmp 0x1737
addq $0x10, %r14
movq %r14, %rdi
callq 0x123d
jmp 0x1737
callq 0x120e
jmp 0x1737
callq 0x11b0
jmp 0x1737
callq 0x11df
jmp 0x1737
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O1/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 0x10f0
movq %r14, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %r13, %rcx
movl %ebp, %r8d
callq 0x1050
addq %r13, %r12
subq %r13, %r15
jne 0x1258
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 0x10f0
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
movq %r13, %rcx
movl %ebp, %r8d
callq 0x1050
addq %r13, %r14
subq %r13, %rbx
jne 0x12a8
movq (%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x10d0
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_O1/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 0xbbf9(%rip), %rax      # 0xdfd8
movq (%rax), %rdi
callq 0x2230
movq (%rsp), %rsi
testq %rsi, %rsi
je 0x2430
leaq 0x8(%rsp), %rax
movq 0xbbfc(%rip), %r15      # 0xdff8
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 0x7a1b(%rip), %rdi      # 0x9e40
pushq $0x2
popq %rsi
pushq $0x1
popq %rdx
callq 0x22d0
movq 0xbbc1(%rip), %r15      # 0xdff8
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 0x821e(%rip), %rsi      # 0xa6ae
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x21e0
jmp 0x246d
// File: /workspace/github_c_makefile_star2_O1/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 0x3468
callq 0x2070
cmpl $0x4, (%rax)
je 0x3468
movl 0x28(%rbx), %edx
leaq 0x69e8(%rip), %rsi      # 0x9e43
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x34ab
callq 0x2070
cmpl $0x4, (%rax)
je 0x34ab
movl 0x28(%rbx), %edx
leaq 0x69c5(%rip), %rsi      # 0x9e63
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x34e7
movq %rdi, %rbx
movl 0x28(%rdi), %edi
callq 0x2080
testl %eax, %eax
je 0x34e7
movl 0x28(%rbx), %edx
leaq 0x69a2(%rip), %rsi      # 0x9e7a
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x353c
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x353c
cmpq $0x0, 0x38(%rax)
je 0x353c
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x3559
movq %rbx, %rdi
callq *%rax
movq %rax, %r14
cmpq $-0x1, %rax
jne 0x356d
leaq 0x697f(%rip), %rsi      # 0x9eb9
jmp 0x3563
leaq 0x694e(%rip), %rsi      # 0x9e91
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x6949(%rip), %rsi      # 0x9ea9
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movq 0x20(%rbx), %rax
leaq 0x6955(%rip), %rsi      # 0x9ecd
testq %rax, %rax
je 0x359d
movq 0x38(%rax), %rax
testq %rax, %rax
je 0x359d
movq %rbx, %rdi
callq *%rax
movq %rax, %r15
cmpq $-0x1, %rax
jne 0x35aa
leaq 0x6947(%rip), %rsi      # 0x9ee2
jmp 0x35a0
xorl %r15d, %r15d
movq %rbx, %rdi
xorl %eax, %eax
callq 0x53c3
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x35d5
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x35d5
movq %rbx, %rdi
movq %r14, %rsi
callq *%rax
cmpq %r14, %rax
je 0x3550
leaq 0x6938(%rip), %rsi      # 0x9f08
jmp 0x3546
leaq 0x691b(%rip), %rsi      # 0x9ef7
jmp 0x3546
// File: /workspace/github_c_makefile_star2_O1/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 0x4ff6
movq %rdi, %r14
testq %rdi, %rdi
je 0x5019
movq %rdx, %rbx
movq %rsi, %r15
movq (%r14), %rsi
addq %rdx, %rsi
subq 0x8(%r14), %rsi
jb 0x4fdb
incq %rsi
movq %r14, %rdi
callq 0x5136
movq 0x18(%r14), %rdi
addq (%r14), %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x2210
addq %rbx, (%r14)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x4da6(%rip), %rdi      # 0x9da3
leaq 0x4d82(%rip), %rsi      # 0x9d86
leaq 0x4d88(%rip), %rcx      # 0x9d93
leaq 0x4d6f(%rip), %r8       # 0x9d81
movl $0x128, %edx            # imm = 0x128
jmp 0x503a
leaq 0x4d83(%rip), %rdi      # 0x9da3
leaq 0x4d5f(%rip), %rsi      # 0x9d86
leaq 0x4d93(%rip), %rcx      # 0x9dc1
leaq 0x4d87(%rip), %r8       # 0x9dbc
movl $0x11b, %edx            # imm = 0x11B
xorl %eax, %eax
callq 0x5041
// File: /workspace/github_c_makefile_star2_O1/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 0x51b6
movq %rsi, %r14
testq %rsi, %rsi
je 0x51b0
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
cmpq %r14, %rsi
jae 0x516f
addq 0x8(%rbx), %r14
movq %r14, 0x8(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x5192
movq %r14, %rsi
callq 0x2240
jmp 0x519a
movq (%rbx), %rdx
subq %rsi, %rdx
jb 0x51d9
movq %rdx, (%rbx)
je 0x5188
movq 0x18(%rbx), %rdi
addq %rdi, %rsi
callq 0x2270
movq $0x0, 0x10(%rbx)
jmp 0x51b0
movq %r14, %rdi
callq 0x2220
movq %rax, %r15
testq %rax, %rax
jne 0x51ac
movq %r14, %rsi
xorl %eax, %eax
callq 0x5201
movq %r15, 0x18(%rbx)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x4be6(%rip), %rdi      # 0x9da3
leaq 0x4bc2(%rip), %rsi      # 0x9d86
leaq 0x4c08(%rip), %rcx      # 0x9dd3
leaq 0x4bea(%rip), %r8       # 0x9dbc
movl $0x42, %edx
jmp 0x51fa
leaq 0x4bc3(%rip), %rdi      # 0x9da3
leaq 0x4b9f(%rip), %rsi      # 0x9d86
leaq 0x4be5(%rip), %rcx      # 0x9dd3
leaq 0x4bef(%rip), %r8       # 0x9de4
movl $0x4a, %edx
xorl %eax, %eax
callq 0x5041
// File: /workspace/github_c_makefile_star2_O1/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 %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 0x5265
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 0x4b8b(%rip), %rax      # 0x9df7
leaq 0x28(%rsp), %r14
movq %rax, -0x8(%r14)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%r14)
leaq 0x110(%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 0x539d
movq 0x20(%rsp), %rax
cmpb $0x25, (%rax)
jne 0x5300
cmpb $0x73, 0x1(%rax)
jne 0x5300
movq %rax, (%rsp)
movups (%r14), %xmm0
movups %xmm0, 0x8(%rsp)
movq 0x10(%r14), %rax
movq %rax, 0x18(%rsp)
movl 0x8(%rsp), %ecx
cmpq $0x28, %rcx
ja 0x52ef
movq %rcx, %rax
addq 0x18(%rsp), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%rsp)
jmp 0x52fd
movq 0x10(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq (%rax), %rax
movzbl (%rax), %ecx
leaq 0x4b08(%rip), %rdi      # 0x9e12
leal -0x45(%rcx), %edx
cmpl $0x9, %edx
ja 0x532b
leaq 0x3d63(%rip), %rcx      # 0x907c
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
leaq 0x4bec(%rip), %rdi      # 0x9f15
jmp 0x5349
cmpl $0x57, %ecx
jne 0x5349
leaq 0x4af2(%rip), %rdi      # 0x9e29
jmp 0x5349
leaq 0x4af3(%rip), %rdi      # 0x9e33
jmp 0x5349
leaq 0x4ae5(%rip), %rdi      # 0x9e2e
incq %rax
movb (%rax), %cl
addb $-0x30, %cl
incq %rax
cmpb $0x2b, %cl
jb 0x534c
movzbl -0x2(%rax), %r14d
cmpl $0x55, %r14d
je 0x536a
cmpl $0x46, %r14d
jne 0x536c
xorl %ebx, %ebx
movq 0x8f4d(%rip), %rax      # 0xe2c0
testq %rax, %rax
leaq -0x273(%rip), %rcx      # 0x510a
cmovneq %rax, %rcx
leaq 0x20(%rsp), %rsi
movl %ebx, %edx
callq *%rcx
leal -0x43(%r14), %eax
cmpb $0x3, %al
jbe 0x53af
addq $0xf8, %rsp
popq %rbx
popq %r14
retq
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x2a5e
jmp 0x52ae
movl $0xfffffffe, %edi       # imm = 0xFFFFFFFE
callq 0x22c0
leaq 0x20(%rsp), %rdi
callq 0x50c8
// File: /workspace/github_c_makefile_star2_O1/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 0x541b
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 0x545c
movq 0x30(%rdi), %rax
testq %rax, %rax
je 0x545c
movq %rsp, %rsi
callq *%rax
addq $0xd0, %rsp
popq %rbx
retq
movq 0x20(%rdi), %rax
testq %rax, %rax
jne 0x546e
leaq 0x49ed(%rip), %rbx      # 0x9e59
jmp 0x5471
movq (%rax), %rbx
callq 0x2070
movl (%rax), %edx
movq 0x8e41(%rip), %rax      # 0xe2c0
testq %rax, %rax
leaq -0x37f(%rip), %rcx      # 0x510a
cmovneq %rax, %rcx
movq %rsp, %rsi
movq %rbx, %rdi
callq *%rcx
movzbl 0x8e20(%rip), %edi      # 0xe2bc
notl %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O1/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 0x8e03(%rip), %rax      # 0xe2c0
testq %rax, %rax
leaq -0x3bd(%rip), %rcx      # 0x510a
cmovneq %rax, %rcx
movq %r14, %rdi
movq %rbx, %rsi
callq *%rcx
testl %ebp, %ebp
movzbl 0x8de0(%rip), %edi      # 0xe2bc
notl %edi
cmovnel %ebp, %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O1/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 0x8db7(%rip), %rax      # 0xe2c8
movl (%rax), %ebx
movl $0x3, (%rax)
callq 0x510a
testl %ebx, %ebx
js 0x5535
movl $0x2, %eax
cmovel %eax, %ebx
movq 0x8d97(%rip), %rax      # 0xe2c8
movl %ebx, (%rax)
popq %rbx
retq
negl %ebx
movl %ebx, %edi
callq 0x22c0
// File: /workspace/github_c_makefile_star2_O1/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 0x6211
movq 0x8(%r14), %rbx
cmpl $0x0, 0x4c(%r14)
jne 0x62f9
movl (%r14), %eax
decl %eax
cmpl $0xe, %eax
ja 0x62ec
leaq 0x2e73(%rip), %rcx      # 0x90a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x6288
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x6294
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x62b6
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x62c2
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x62c8
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x62d4
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movq (%rax), %rax
movq %rax, (%rbx)
jmp 0x62ec
movl 0x8(%r15), %ecx
cmpq $0x28, %rcx
ja 0x62da
movq %rcx, %rax
addq 0x18(%r15), %rax
addl $0x8, %ecx
movl %ecx, 0x8(%r15)
jmp 0x62e6
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movb (%rax), %al
movb %al, (%rbx)
jmp 0x62ec
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movl (%rax), %eax
movl %eax, (%rbx)
jmp 0x62ec
movq 0x10(%r15), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x10(%r15)
movzwl (%rax), %eax
movw %ax, (%rbx)
cmpl $0x0, 0x4c(%r14)
jne 0x6309
popq %rbx
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2faf
jmp 0x621c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3015
jmp 0x62f3
// File: /workspace/github_c_makefile_star2_O1/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 0x7161
movq %rsi, %r14
movb (%rsi), %r15b
testb %r15b, %r15b
jne 0x7118
cmpl $0x0, 0x70(%rbx)
je 0x7161
cmpl $0x0, 0x6c(%rbx)
jne 0x7128
cmpl $0x0, 0x68(%rbx)
je 0x71e4
testb %r15b, %r15b
je 0x717d
callq 0x2330
movq (%rax), %rax
movq 0x40(%rbx), %rcx
movslq 0x48(%rbx), %rdx
movsbq -0x1(%rcx,%rdx), %rcx
testb $0x8, (%rax,%rcx,2)
jne 0x7186
cmpb $0x2b, %r15b
sete %al
testl %ebp, %ebp
sets %cl
andb %al, %cl
movzbl %cl, %ecx
addq %rcx, %r14
negl %ecx
jmp 0x7192
testq %rdx, %rdx
leaq 0x3106(%rip), %r14      # 0xa271
cmovneq %rdx, %r14
xorl %ecx, %ecx
testl %ebp, %ebp
cmovgl %ebp, %ecx
movl $0x2, %edx
jmp 0x7197
movl $0x1, %edx
xorl %ecx, %ecx
jmp 0x7197
incq %r14
xorl %ecx, %ecx
cmpb $0x2b, %r15b
cmovel %ebp, %ecx
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6316
movl %eax, %ebp
testl %eax, %eax
js 0x71d7
movq 0xa0(%rbx), %rax
testq %rax, %rax
je 0x71d7
movq 0x8(%rbx), %rdi
movq 0x40(%rbx), %rdx
movq 0x98(%rbx), %rcx
movq %r14, %rsi
callq *%rax
testq %rax, %rax
je 0x71d7
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
cmpb $0x0, (%rax)
jne 0x71fc
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 0x7197
cmpl $0x0, 0x74(%rbx)
jne 0x712d
jmp 0x7197
movq 0x6df5(%rip), %rcx      # 0xdff8
movq (%rcx), %rdi
movl 0x48(%rbx), %edx
movq 0x40(%rbx), %rcx
leaq 0x36ce(%rip), %rsi      # 0xa8e2
movq %rax, %r8
xorl %eax, %eax
callq 0x21e0
jmp 0x71d7
// File: /workspace/github_c_makefile_star2_O1/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 0x7264
cmpl $0x0, 0x6c(%r14)
je 0x7250
movq 0x6db5(%rip), %rax      # 0xdff8
movq (%rax), %rsi
movl $0x2d, %edi
callq 0x21a0
movq 0x6da1(%rip), %rax      # 0xdff8
movq (%rax), %rsi
movl $0x2d, %edi
callq 0x21a0
movq 0x6d8d(%rip), %r15      # 0xdff8
movq (%r15), %rax
testl %ebp, %ebp
jne 0x728d
movl 0x48(%r14), %edx
movq 0x40(%r14), %rcx
leaq 0x36cc(%rip), %rsi      # 0xa94d
movq %rax, %rdi
xorl %eax, %eax
callq 0x21e0
jmp 0x7299
movq 0x40(%r14), %rdi
movq %rax, %rsi
callq 0x2160
testq %rbx, %rbx
jne 0x72a9
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_O1/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 0x760e
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 0x6d03(%rip), %rax      # 0xe318
cmpq 0x6d0c(%rip), %rax      # 0xe328
jne 0x765f
cmpl $0x0, 0x6d23(%rip)      # 0xe348
leaq 0x6c6c(%rip), %rax      # 0xe298
leaq 0x6c55(%rip), %rcx      # 0xe288
cmovneq %rax, %rcx
movq (%rcx), %r14
testq %r14, %r14
je 0x765f
cmpb $0x0, (%r14)
je 0x765f
movq %r14, %rdi
callq 0x20f0
leaq 0x6cc4(%rip), %rdi      # 0xe318
movq %r14, %rsi
movq %rax, %rdx
callq 0x4fac
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 0x6c86(%rip), %rdi      # 0xe318
callq 0x7e47
addq $0xd8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/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, 0x6ca7(%rip)      # 0xe350
je 0x76ac
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x6b9e(%rip), %rbx      # 0xe258
testq %rbx, %rbx
je 0x76fb
xorl %r15d, %r15d
movq %rbx, %rdi
movl $0x441, %esi            # imm = 0x441
movl $0x1b6, %edx            # imm = 0x1B6
xorl %eax, %eax
callq 0x2250
movl %eax, %ebp
testl %eax, %eax
jns 0x76ec
callq 0x2070
cmpl $0x4, (%rax)
sete %r15b
cmovel %r14d, %ebp
movl %ebp, %r14d
testb %r15b, %r15b
jne 0x76bf
movl $0x1, %ebx
jmp 0x7717
movl 0x6b7f(%rip), %eax      # 0xe280
xorl %ebp, %ebp
cmpl $0x1, 0x6b5a(%rip)      # 0xe264
adcl $0x1, %ebp
testl %eax, %eax
cmovnsl %eax, %ebp
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebp, %edi
callq 0x7f1f
movl %ebx, 0x6c2c(%rip)      # 0xe350
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x6be2(%rip), %rax      # 0xe318
testq %rax, %rax
je 0x777b
pushq %rax
cmpq 0x6bdd(%rip), %rax      # 0xe320
jb 0x7756
leaq 0x6bcc(%rip), %rdi      # 0xe318
movl $0x1, %esi
callq 0x5136
movq 0x6bd3(%rip), %rax      # 0xe330
movq 0x6bb4(%rip), %rcx      # 0xe318
movb $0x0, (%rax,%rcx)
movq 0x6bc1(%rip), %rax      # 0xe330
addq 0x6bb2(%rip), %rax      # 0xe328
addq $0x8, %rsp
retq
leaq 0x2aef(%rip), %rax      # 0xa271
retq
// File: /workspace/github_c_makefile_star2_O1/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
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
movl $0x0, %ecx
testq %r14, %r14
je 0x7a69
movl (%r14), %ecx
subl 0x10(%r14), %ecx
cmpl %ecx, %ebx
movl %ecx, %eax
cmovll %ebx, %eax
testl %ebx, %ebx
cmovsl %ecx, %eax
testl %eax, %eax
je 0x7a88
testq %r14, %r14
je 0x7a8f
movq 0x18(%r14), %rsi
addq 0x10(%r14), %rsi
jmp 0x7a91
xorl %r15d, %r15d
xorl %eax, %eax
jmp 0x7aad
xorl %esi, %esi
movslq %eax, %rdx
movl %ebp, %edi
callq 0x20e0
testl %eax, %eax
jle 0x7ab3
subl %eax, %ebx
movq %r14, %rdi
movl %eax, %esi
callq 0x79de
movb $0x1, %al
testb %al, %al
jne 0x7a58
jmp 0x7ad6
je 0x7ace
callq 0x2070
movl (%rax), %eax
cmpl $0xb, %eax
je 0x7aab
cmpl $0x4, %eax
je 0x7aab
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jmp 0x7a8b
movl $0x1, %r15d
jmp 0x7a8b
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/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, 0x6865(%rip)      # 0xe350
je 0x7b42
pushq %rax
movq 0x6803(%rip), %rax      # 0xe2f8
testq %rax, %rax
je 0x7b0c
movq 0x40(%rax), %rax
testq %rax, %rax
je 0x7b0c
leaq 0x67ce(%rip), %rdi      # 0xe2d8
callq *%rax
movq $0x0, 0x67e1(%rip) # 0xe2f8
leaq 0x67ba(%rip), %rdi      # 0xe2d8
callq 0x80e0
movq 0x67e6(%rip), %rdi      # 0xe310
testq %rdi, %rdi
je 0x7b34
callq 0x2050
movl $0x0, 0x6812(%rip)      # 0xe350
addq $0x8, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/hilbix[P]unbuffered/unbuffered.c
// Function: terminate
static void
terminate()
{
  int	status;
  pid_t	pid;

  /* Be sure not to re-enter waitpid()!	*/
  while ((pid=tino_wait_child_poll(&status, NULL))!=0)
    if (pid==consumer)
      exit(status);	/* Premature termination of consumer	*/
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
leaq 0xc(%rsp), %r14
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0x0, 0x8(%rsp)
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x7c5c
testl %eax, %eax
jne 0x7c3a
movl 0xc(%rsp), %ecx
movl %ecx, %eax
andl $0x7f, %eax
je 0x7c32
shll $0x18, %eax
addl $0x1000000, %eax        # imm = 0x1000000
xorl %ebp, %ebp
testb %cl, %cl
sets %bpl
addl $-0x3, %ebp
cmpl $0x2000000, %eax        # imm = 0x2000000
cmovgel %r15d, %ebp
jmp 0x7c35
movzbl %ch, %ebp
movl 0x8(%rsp), %r12d
testl %r12d, %r12d
je 0x7c4f
cmpl 0x668e(%rip), %r12d     # 0xe2d4
jne 0x7bed
movl %ebp, %edi
callq 0x22c0
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq