LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/sergiosvieira[P]ptd2ns2/rng.cc
// Function: (anonymous namespace)::MatPowModM(double const (*) [3], double (*) [3], double, long)
void MatPowModM(const double A[3][3], double B[3][3], double m, long n) {
	int i, j;
	double W[3][3];
	/* initialize: W = A; B = I */
	for (i = 0; i < 3; ++i)
		for (j = 0; j < 3; ++j) {
			W[i][j] = A[i][j];
			B[i][j] = 0.0;
		}
	for (j = 0; j < 3; ++j)
		B[j][j] = 1.0;
	/* Compute B = A^n mod m using the binary decomposition of n */
	while (n > 0) {
		if (n % 2)
			MatMatModM(W, B, B, m);
		MatMatModM(W, W, W, m);

		n /= 2;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movsd %xmm0, -0x20(%rbp)
movq %rsi, %r14
leaq -0x70(%rbp), %rax
xorl %ecx, %ecx
movq %rsi, %rdx
cmpq $0x3, %rcx
je 0x49aa
xorl %esi, %esi
cmpq $0x3, %rsi
je 0x4999
movsd (%rdi,%rsi,8), %xmm0
movsd %xmm0, (%rax,%rsi,8)
andq $0x0, (%rdx,%rsi,8)
incq %rsi
jmp 0x497f
incq %rcx
addq $0x18, %rdx
addq $0x18, %rdi
addq $0x18, %rax
jmp 0x4977
xorl %eax, %eax
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
cmpq $0x60, %rax
je 0x49c6
movq %rcx, (%r14,%rax)
addq $0x20, %rax
jmp 0x49b6
leaq -0x70(%rbp), %r15
testq %rbx, %rbx
jle 0x49ff
testb $0x1, %bl
je 0x49e7
movq %r15, %rdi
movq %r14, %rsi
movq %r14, %rdx
movsd -0x20(%rbp), %xmm0
callq 0x4a0a
movq %r15, %rdi
movq %r15, %rsi
movq %r15, %rdx
movsd -0x20(%rbp), %xmm0
callq 0x4a0a
shrq %rbx
jmp 0x49ca
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/sergiosvieira[P]ptd2ns2/rng.cc
// Function: (anonymous namespace)::MatMatModM(double const (*) [3], double const (*) [3], double (*) [3], double)
void MatMatModM(const double A[3][3], const double B[3][3], double C[3][3],
		double m) {
	int i, j;
	double V[3], W[3][3];
	for (i = 0; i < 3; ++i) {
		for (j = 0; j < 3; ++j)
			V[j] = B[j][i];
		MatVecModM(A, V, V, m);
		for (j = 0; j < 3; ++j)

			W[j][i] = V[j];
	}
	for (i = 0; i < 3; ++i)
		for (j = 0; j < 3; ++j)
			C[i][j] = W[i][j];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movsd %xmm0, -0x38(%rbp)
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, -0x30(%rbp)
leaq -0xa0(%rbp), %r13
xorl %r15d, %r15d
leaq -0x50(%rbp), %r12
cmpq $0x3, %r15
je 0x4a9b
movq %r14, %rax
xorl %ecx, %ecx
cmpq $0x3, %rcx
je 0x4a5c
movsd (%rax), %xmm0
movsd %xmm0, -0x50(%rbp,%rcx,8)
incq %rcx
addq $0x18, %rax
jmp 0x4a43
movq -0x30(%rbp), %rdi
movq %r12, %rsi
movq %r12, %rdx
movsd -0x38(%rbp), %xmm0
callq 0x4249
movq %r13, %rax
xorl %ecx, %ecx
cmpq $0x3, %rcx
je 0x4a8e
movsd -0x50(%rbp,%rcx,8), %xmm0
movsd %xmm0, (%rax)
incq %rcx
addq $0x18, %rax
jmp 0x4a75
incq %r15
addq $0x8, %r14
addq $0x8, %r13
jmp 0x4a38
leaq -0xa0(%rbp), %rax
xorl %ecx, %ecx
cmpq $0x3, %rcx
je 0x4ace
xorl %edx, %edx
cmpq $0x3, %rdx
je 0x4ac1
movsd (%rax,%rdx,8), %xmm0
movsd %xmm0, (%rbx,%rdx,8)
incq %rdx
jmp 0x4aac
incq %rcx
addq $0x18, %rbx
addq $0x18, %rax
jmp 0x4aa4
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/sergiosvieira[P]ptd2ns2/rng.cc
// Function: RNG::write_state() const
void RNG::write_state() const {
	printf("The current state of the Rngstream %s:\n", name_);
	printf(" Cg_ = { ");
	for (int i = 0; i < 5; i++) {
		printf("%lu, ", (unsigned long) Cg_[i]);
	}
	printf("%lu }\n\n", (unsigned long) Cg_[5]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x92(%rdi), %rsi
leaq 0xe71(%rip), %rdi       # 0x596a
xorl %eax, %eax
callq 0x2040
leaq 0xe8b(%rip), %rdi       # 0x5992
xorl %eax, %eax
callq 0x2040
leaq 0xe87(%rip), %r14       # 0x599c
xorl %r15d, %r15d
cmpq $0x5, %r15
je 0x4b52
movsd (%rbx,%r15,8), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x898(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2040
incq %r15
jmp 0x4b18
movsd 0x28(%rbx), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x865(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
leaq 0xe25(%rip), %rdi       # 0x59a2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2040
// File: /workspace/github_cpp_makefile_star2_O2/sergiosvieira[P]ptd2ns2/rng.cc
// Function: RNG::write_state_full() const
void RNG::write_state_full() const {
	int i;
	printf("The RNG %s:\n", name_);
	printf(" anti_ = %s", (anti_ ? "true" : "false"));
	printf(" inc_prec_ = %s\n", (inc_prec_ ? "true" : "false"));

	printf(" Ig_ = { ");
	for (i = 0; i < 5; i++) {
		printf("%lu, ", (unsigned long) Ig_[i]);
	}
	printf("%lu }\n", (unsigned long) Ig_[5]);

	printf(" Bg_ = { ");
	for (i = 0; i < 5; i++) {
		printf("%lu, ", (unsigned long) Bg_[i]);
	}
	printf("%lu }\n", (unsigned long) Bg_[5]);

	printf(" Cg_ = { ");
	for (i = 0; i < 5; i++) {
		printf("%lu, ", (unsigned long) Cg_[i]);
	}
	printf("%lu }\n\n", (unsigned long) Cg_[5]);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x92(%rdi), %rsi
leaq 0xe01(%rip), %rdi       # 0x59aa
xorl %eax, %eax
callq 0x2040
leaq 0xe0c(%rip), %r15       # 0x59c3
cmpb $0x0, 0x90(%rbx)
leaq 0xe03(%rip), %r14       # 0x59c8
movq %r14, %rsi
cmovneq %r15, %rsi
leaq 0xde4(%rip), %rdi       # 0x59b7
xorl %eax, %eax
callq 0x2040
cmpb $0x0, 0x91(%rbx)
cmovneq %r15, %r14
leaq 0xde2(%rip), %rdi       # 0x59ce
movq %r14, %rsi
xorl %eax, %eax
callq 0x2040
leaq 0xde2(%rip), %rdi       # 0x59df
xorl %eax, %eax
callq 0x2040
leaq 0xd91(%rip), %r14       # 0x599c
xorl %r15d, %r15d
cmpq $0x5, %r15
je 0x4c49
movsd 0x60(%rbx,%r15,8), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x7a1(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2040
incq %r15
jmp 0x4c0e
movsd 0x88(%rbx), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x76b(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
leaq 0xd72(%rip), %rdi       # 0x59e9
xorl %eax, %eax
callq 0x2040
leaq 0xd6b(%rip), %rdi       # 0x59f0
xorl %eax, %eax
callq 0x2040
leaq 0xd09(%rip), %r14       # 0x599c
xorl %r15d, %r15d
cmpq $0x5, %r15
je 0x4cd1
movsd 0x30(%rbx,%r15,8), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x719(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2040
incq %r15
jmp 0x4c96
movsd 0x58(%rbx), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x6e6(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
leaq 0xced(%rip), %rdi       # 0x59e9
xorl %eax, %eax
callq 0x2040
leaq 0xc88(%rip), %rdi       # 0x5992
xorl %eax, %eax
callq 0x2040
leaq 0xc84(%rip), %r14       # 0x599c
xorl %r15d, %r15d
cmpq $0x5, %r15
je 0x4d55
movsd (%rbx,%r15,8), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x695(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2040
incq %r15
jmp 0x4d1b
movsd 0x28(%rbx), %xmm0
cvttsd2si %xmm0, %rax
movq %rax, %rcx
sarq $0x3f, %rcx
subsd 0x662(%rip), %xmm0      # 0x53d0
cvttsd2si %xmm0, %rsi
andq %rcx, %rsi
orq %rax, %rsi
leaq 0xc22(%rip), %rdi       # 0x59a2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2040
nop
// File: /workspace/github_cpp_makefile_star2_O2/sergiosvieira[P]ptd2ns2/rng.cc
// Function: (anonymous namespace)::MultModM(double, double, double, double)
double MultModM(double a, double s, double c, double m) {
	double v;
	long a1;
	v = a * s + c;

	if (v >= two53 || v <= -two53) {
		a1 = static_cast<long> (a / two17);
		a -= a1 * two17;
		v = a1 * s;
		a1 = static_cast<long> (v / m);
		v -= a1 * m;
		v = v * two17 + a * s + c;
	}
	a1 = static_cast<long> (v / m);
	/* in case v < 0)*/
	if ((v -= a1 * m) < 0.0)
		return v += m;
	else
		return v;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movapd %xmm0, %xmm4
mulsd %xmm1, %xmm4
addsd %xmm2, %xmm4
movapd 0x68b(%rip), %xmm5      # 0x5450
andpd %xmm4, %xmm5
ucomisd 0x647(%rip), %xmm5      # 0x5418
jb 0x4e2b
movsd 0x645(%rip), %xmm4      # 0x5420
mulsd %xmm0, %xmm4
cvttsd2si %xmm4, %rax
cvtsi2sd %rax, %xmm4
movsd 0x637(%rip), %xmm5      # 0x5428
movapd %xmm4, %xmm6
mulsd %xmm5, %xmm6
subsd %xmm6, %xmm0
mulsd %xmm1, %xmm4
movapd %xmm4, %xmm6
divsd %xmm3, %xmm6
cvttsd2si %xmm6, %rax
cvtsi2sd %rax, %xmm6
mulsd %xmm3, %xmm6
subsd %xmm6, %xmm4
mulsd %xmm1, %xmm0
mulsd %xmm5, %xmm4
addsd %xmm0, %xmm4
addsd %xmm2, %xmm4
movapd %xmm4, %xmm0
divsd %xmm3, %xmm0
cvttsd2si %xmm0, %rax
cvtsi2sd %rax, %xmm0
mulsd %xmm3, %xmm0
subsd %xmm0, %xmm4
addsd %xmm4, %xmm3
xorpd %xmm1, %xmm1
movapd %xmm4, %xmm0
cmpltsd %xmm1, %xmm0
andpd %xmm0, %xmm3
andnpd %xmm4, %xmm0
orpd %xmm3, %xmm0
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::ReedSolomon()
ReedSolomon::ReedSolomon(){
    int i=0;
    unsigned int x=1;
    expTable[0]=1;
    for(i=1;i<255;i++){
        x<<=1;
        if(x>0xff) x^=0x11d;
        unsigned char c=x&0xff;
        expTable[i]=c;
        logTable[c]=i;
    }
    for(i=255;i<512;i++){
        expTable[i]=expTable[i-255];
    }
    logTable[expTable[255]]=255;
}

// Assembly:
movb $0x1, (%rdi)
pushq $0x1
popq %rax
pushq $0x1
popq %rcx
cmpq $0xff, %rcx
je 0x2382
addl %eax, %eax
movl %eax, %edx
xorl $0x11d, %edx            # imm = 0x11D
cmpl $0x100, %eax            # imm = 0x100
cmovael %edx, %eax
movb %al, (%rdi,%rcx)
movzbl %al, %edx
movb %cl, 0x200(%rdi,%rdx)
incq %rcx
jmp 0x2355
movq $-0x101, %rax           # imm = 0xFEFF
testq %rax, %rax
je 0x23a1
movb 0x101(%rdi,%rax), %cl
movb %cl, 0x200(%rdi,%rax)
incq %rax
jmp 0x2389
movzbl 0xff(%rdi), %eax
movb $-0x1, 0x200(%rdi,%rax)
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::multiplyPoly(POLY&, POLY&, unsigned char*)
POLY& ReedSolomon::multiplyPoly(POLY& x,POLY& y,unsigned char* tmp){
    int i=0,j=0;
    int n=x.n+y.n-1;

    for(j=0;j<n;j++) tmp[j]=0;
    for(i=0;i<x.n;i++){
        for(j=0;j<y.n;j++){
            tmp[i+j]^=multiply(x.data[i],y.data[j]);
        }
    }
    for(j=0;j<n;j++) x.data[j]=tmp[j];
    x.n+=y.n-1;
    return x;
}

// Assembly:
movq %rsi, %rax
movl 0x8(%rsi), %esi
movl 0x8(%rdx), %r8d
addl %r8d, %esi
decl %esi
xorl %r8d, %r8d
testl %esi, %esi
cmovlel %r8d, %esi
cmpq %r8, %rsi
je 0x23d9
movb $0x0, (%rcx,%r8)
incq %r8
jmp 0x23ca
pushq %rbx
xorl %r8d, %r8d
movq %rcx, %r9
movslq 0x8(%rax), %r10
cmpq %r10, %r8
jge 0x243d
xorl %r10d, %r10d
movslq 0x8(%rdx), %r11
cmpq %r11, %r10
jge 0x2435
movq (%rax), %r11
movzbl (%r11,%r8), %r11d
testq %r11, %r11
je 0x2429
movq (%rdx), %rbx
movzbl (%rbx,%r10), %ebx
testq %rbx, %rbx
je 0x2429
movzbl 0x200(%rdi,%r11), %r11d
movzbl 0x200(%rdi,%rbx), %ebx
addq %r11, %rbx
movb (%rdi,%rbx), %r11b
jmp 0x242c
xorl %r11d, %r11d
xorb %r11b, (%r9,%r10)
incq %r10
jmp 0x23ec
incq %r8
incq %r9
jmp 0x23e0
xorl %edi, %edi
cmpq %rdi, %rsi
je 0x2454
movb (%rcx,%rdi), %r8b
movq (%rax), %r9
movb %r8b, (%r9,%rdi)
incq %rdi
jmp 0x243f
movl 0x8(%rdx), %ecx
movl 0x8(%rax), %edx
addl %edx, %ecx
decl %ecx
movl %ecx, 0x8(%rax)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::evaluatePoly(POLY&, unsigned char)
unsigned char ReedSolomon::evaluatePoly(POLY& x,unsigned char y){
    int i=0;
    unsigned char r=x.data[0];
    for(i=1;i<x.n;i++){
        r=multiply(r,y) ^ x.data[i];
    }
    return r;
}

// Assembly:
movq (%rsi), %rcx
movb (%rcx), %al
movslq 0x8(%rsi), %rsi
movl %edx, %r8d
pushq $0x1
popq %r9
cmpq %rsi, %r9
jge 0x24ab
xorl %r10d, %r10d
testb %dl, %dl
je 0x249f
testb %al, %al
je 0x249f
movzbl %al, %eax
movzbl 0x200(%rdi,%rax), %eax
movzbl 0x200(%rdi,%r8), %r10d
addq %rax, %r10
movb (%rdi,%r10), %r10b
xorb (%rcx,%r9), %r10b
incq %r9
movl %r10d, %eax
jmp 0x2474
retq
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::calcGenerator(POLY&)
POLY& ReedSolomon::calcGenerator(POLY& result){
    int i=0;
    int num=result.n-1;

    unsigned char *tmp=(unsigned char *)malloc(num+1);

    result.data[0]=1;
    result.n=1;
    unsigned char c[2]={0x1,0};
    POLY p={c,2};
    for(i=0;i<num;i++){
        c[1]=expTable[i];
        multiplyPoly(result,p,tmp);
    }
    free(tmp);
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movslq 0x8(%rsi), %r13
movq %r13, %rdi
callq 0x21a0
movq %rax, %r15
movq (%rbx), %rax
movb $0x1, (%rax)
movl $0x1, 0x8(%rbx)
leaq 0x6(%rsp), %rax
movw $0x1, (%rax)
leaq 0x8(%rsp), %r12
movq %rax, (%r12)
movl $0x2, 0x8(%r12)
cmpl $0x2, %r13d
pushq $0x1
popq %rbp
cmovgel %r13d, %ebp
decl %ebp
xorl %r13d, %r13d
cmpq %r13, %rbp
je 0x252b
movb (%r14,%r13), %al
movb %al, 0x7(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %r12, %rdx
movq %r15, %rcx
callq 0x23b2
incq %r13
jmp 0x2508
movq %r15, %rdi
callq 0x2190
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::encodeMessage(POLY&, POLY&)
unsigned char* ReedSolomon::encodeMessage(POLY& msgIn,POLY& generator){
    int i=0;
    int j=0;
    unsigned char coef=0;

    for(i=0;i<msgIn.n;i++){
        coef=msgIn.data[i];
        if(coef!=0){
            for(j=0;j<generator.n;j++){
                msgIn.data[i+j] ^= multiply(generator.data[j], coef);
            }
        }
    }
    return msgIn.data+msgIn.n;
}

// Assembly:
xorl %ecx, %ecx
movslq 0x8(%rsi), %r8
movq (%rsi), %rax
cmpq %r8, %rcx
jge 0x25a8
movzbl (%rax,%rcx), %eax
testq %rax, %rax
je 0x25a3
xorl %r8d, %r8d
movslq 0x8(%rdx), %r9
cmpq %r9, %r8
jge 0x25a3
movq (%rdx), %r9
movzbl (%r9,%r8), %r9d
testq %r9, %r9
je 0x2591
movzbl 0x200(%rdi,%r9), %r9d
movzbl 0x200(%rdi,%rax), %r10d
addq %r9, %r10
movb (%rdi,%r10), %r9b
jmp 0x2594
xorl %r9d, %r9d
movq (%rsi), %r10
addq %rcx, %r10
xorb %r9b, (%r8,%r10)
incq %r8
jmp 0x2560
incq %rcx
jmp 0x2548
addq %r8, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/NinjaDevelper[P]ReedSolomon/cxx/ReedSolomon.cpp
// Function: ReedSolomon::calcSyndrome(POLY&, POLY&)
POLY& ReedSolomon::calcSyndrome(POLY& msg, POLY& result){
    int i=0;
    for(i=0;i<result.n;i++){
        result.data[i] = evaluatePoly(msg, expTable[i]);
    }
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
movslq 0x8(%rbx), %rax
cmpq %rax, %r12
jge 0x25e5
movzbl (%r15,%r12), %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x2464
movq (%rbx), %rcx
movb %al, (%rcx,%r12)
incq %r12
jmp 0x25c0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/args.cc
// Function: fasttext::Args::Args()
Args::Args() {
  lr = 0.05;
  boostNgrams = 1.0;
  dim = 100;
  ws = 5;
  dropoutK = 0;
  epoch = 5;
  minCount = 5;
  minCountLabel = 0;
  neg = 5;
  wordNgrams = 1;
  loss = loss_name::ns;
  model = model_name::sg;
  bucket = 2000000;
  bucketChar = 1;
  minn = 3;
  maxn = 6;
  thread = 12;
  lrUpdateRate = 100;
  t = 1e-4;
  label = "__label__";
  verbose = 2;
  pretrainedVectors = "";
  saveOutput = 0;
  maxVocabSize = -1;
  numCheckPoints = 1;
  qout = false;
  retrain = false;
  qnorm = false;
  cutoff = 0;
  dsub = 2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
xorl %eax, %eax
movb %al, 0x10(%rdi)
leaq 0x30(%rdi), %rcx
movq %rcx, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x50(%rdi), %rcx
movq %rcx, 0x40(%rdi)
andq $0x0, 0x48(%rdi)
movb %al, 0x50(%rdi)
leaq 0x70(%rdi), %rcx
movq %rcx, 0x60(%rdi)
andq $0x0, 0x68(%rdi)
leaq 0x20(%rdi), %r14
leaq 0x40(%rdi), %r15
movb %al, 0x70(%rdi)
leaq 0xf0(%rdi), %rcx
movq %rcx, 0xe0(%rdi)
andq $0x0, 0xe8(%rdi)
leaq 0x60(%rdi), %r12
leaq 0xe0(%rdi), %r13
movb %al, 0xf0(%rdi)
leaq 0x118(%rdi), %rcx
movq %rcx, 0x108(%rdi)
andq $0x0, 0x110(%rdi)
leaq 0x108(%rdi), %rbp
movb %al, 0x118(%rdi)
movaps 0x145fc(%rip), %xmm0    # 0x19010
movups %xmm0, 0x80(%rdi)
movl $0x5, 0xa0(%rdi)
movaps 0x145f4(%rip), %xmm0    # 0x19020
movups %xmm0, 0xa8(%rdi)
movaps 0x145f6(%rip), %xmm0    # 0x19030
movups %xmm0, 0xbc(%rdi)
movabsq $0x600000003, %rax      # imm = 0x600000003
movq %rax, 0xcc(%rdi)
movl $0xc, 0xd4(%rdi)
movaps 0x145dd(%rip), %xmm0    # 0x19040
movups %xmm0, 0x90(%rdi)
movabsq $0x3f1a36e2eb1c432d, %rax # imm = 0x3F1A36E2EB1C432D
movq %rax, 0xd8(%rdi)
leaq 0x145ce(%rip), %rsi     # 0x19050
movq %r13, %rdi
callq 0x4640
movl $0x2, 0x100(%rbx)
leaq 0x16036(%rip), %rsi     # 0x1aad1
movq %rbp, %rdi
callq 0x4640
andl $0x0, 0x128(%rbx)
orl $-0x1, 0xa4(%rbx)
movl $0x1, 0xb8(%rbx)
andw $0x0, 0x12c(%rbx)
movb $0x0, 0x12e(%rbx)
andq $0x0, 0x130(%rbx)
movq $0x2, 0x138(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, (%rsp)
movq %rbp, %rdi
callq 0x46c8
movq %r13, %rdi
callq 0x46c8
movq %r12, %rdi
callq 0x46c8
movq %r15, %rdi
callq 0x46c8
movq %r14, %rdi
callq 0x46c8
movq %rbx, %rdi
callq 0x46c8
movq (%rsp), %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/args.cc
// Function: fasttext::Args::save(std::ostream&)
void Args::save(std::ostream& out) {
  out.write((char*) &(dim), sizeof(int));
  out.write((char*) &(ws), sizeof(int));
  out.write((char*) &(epoch), sizeof(int));
  out.write((char*) &(minCount), sizeof(int));
  out.write((char*) &(neg), sizeof(int));
  out.write((char*) &(wordNgrams), sizeof(int));
  out.write((char*) &(loss), sizeof(loss_name));
  out.write((char*) &(model), sizeof(model_name));
  out.write((char*) &(bucket), sizeof(int));
  if (model == model_name::cbowCWNgrams)
    out.write((char*) &(bucketChar), sizeof(int));
  out.write((char*) &(minn), sizeof(int));
  out.write((char*) &(maxn), sizeof(int));
  out.write((char*) &(lrUpdateRate), sizeof(int));
  out.write((char*) &(t), sizeof(double));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x94(%rdi), %rsi
pushq $0x4
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0x98(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xa0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xa8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xb0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xb4(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xbc(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xc0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xc4(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
cmpl $0x5, 0xc0(%r14)
jne 0x5b49
leaq 0xc8(%r14), %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x4430
leaq 0xcc(%r14), %rsi
pushq $0x4
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0xd0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
leaq 0x90(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4430
addq $0xd8, %r14
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x4430
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/args.cc
// Function: fasttext::Args::load(std::istream&)
void Args::load(std::istream& in) {
  in.read((char*) &(dim), sizeof(int));
  in.read((char*) &(ws), sizeof(int));
  in.read((char*) &(epoch), sizeof(int));
  in.read((char*) &(minCount), sizeof(int));
  in.read((char*) &(neg), sizeof(int));
  in.read((char*) &(wordNgrams), sizeof(int));
  in.read((char*) &(loss), sizeof(loss_name));
  in.read((char*) &(model), sizeof(model_name));
  in.read((char*) &(bucket), sizeof(int));
  if (model == model_name::cbowCWNgrams)
    in.read((char*) &(bucketChar), sizeof(int));
  in.read((char*) &(minn), sizeof(int));
  in.read((char*) &(maxn), sizeof(int));
  in.read((char*) &(lrUpdateRate), sizeof(int));
  in.read((char*) &(t), sizeof(double));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x94(%rdi), %rsi
pushq $0x4
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0x98(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xa0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xa8(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xb0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xb4(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xbc(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xc0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xc4(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
cmpl $0x5, 0xc0(%r14)
jne 0x5c6b
leaq 0xc8(%r14), %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x43e0
leaq 0xcc(%r14), %rsi
pushq $0x4
popq %r15
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0xd0(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
leaq 0x90(%r14), %rsi
movq %rbx, %rdi
movq %r15, %rdx
callq 0x43e0
addq $0xd8, %r14
pushq $0x8
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x43e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/dictionary.cc
// Function: fasttext::Dictionary::computeNgrams(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<int, std::allocator<int>>&) const
void Dictionary::computeNgrams(const std::string& word,
                               std::vector<int32_t>& ngrams) const {
  for (size_t i = 0; i < word.size(); i++) {
    std::string ngram;
    if ((word[i] & 0xC0) == 0x80) continue;
    for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) {
      ngram.push_back(word[j++]);
      while (j < word.size() && (word[j] & 0xC0) == 0x80) {
        ngram.push_back(word[j++]);
      }
      if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) {
        if (args_->model == model_name::cbowCWNgrams) {
          int32_t h = hash(ngram) % args_->bucketChar;
          ngrams.push_back(nwords_ + args_->bucket + h);
        } else {
          int32_t h = hash(ngram) % args_->bucket;
          ngrams.push_back(nwords_ + h);
        }
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, 0x20(%rsp)
movq %rsi, %r14
movq %rdi, %r15
xorl %edx, %edx
leaq 0x28(%rsp), %r12
movq %rdi, 0x18(%rsp)
movq 0x8(%r14), %rax
cmpq %rax, %rdx
jae 0x6229
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
andq $0x0, 0x30(%rsp)
movb $0x0, 0x38(%rsp)
movq (%r14), %rcx
movq %rdx, 0x10(%rsp)
movb (%rcx,%rdx), %cl
andb $-0x40, %cl
negb %cl
jno 0x6139
movq %r12, %rdi
callq 0x46c8
movq 0x10(%rsp), %rdx
incq %rdx
jmp 0x60f3
movq 0x10(%rsp), %rbp
pushq $0x1
popq %rbx
cmpq %rax, %rbp
jae 0x6127
movq (%r15), %rax
movslq 0xd0(%rax), %rax
cmpq %rax, %rbx
ja 0x6127
movq (%r14), %rax
movsbl (%rax,%rbp), %esi
movq %r12, %rdi
callq 0x42d0
incq %rbp
movq 0x8(%r14), %rax
cmpq %rax, %rbp
jae 0x618f
movq (%r14), %rcx
movb (%rcx,%rbp), %cl
movl %ecx, %edx
andb $-0x40, %dl
negb %dl
jno 0x618f
incq %rbp
movsbl %cl, %esi
movq %r12, %rdi
callq 0x42d0
jmp 0x6167
movq (%r15), %r13
movslq 0xcc(%r13), %rcx
cmpq %rcx, %rbx
jb 0x621d
cmpq $0x0, 0x10(%rsp)
sete %cl
cmpq %rax, %rbp
sete %al
cmpq $0x1, %rbx
jne 0x61b7
orb %al, %cl
jne 0x621d
movl 0xc0(%r13), %r15d
movq %r12, %rsi
callq 0x5e8c
xorl %edx, %edx
cmpl $0x5, %r15d
jne 0x61fa
divl 0xc8(%r13)
movq 0x18(%rsp), %r15
addl 0x5c(%r15), %edx
addl 0xc4(%r13), %edx
movl %edx, 0xc(%rsp)
movq 0x20(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x947c
jmp 0x621d
divl 0xc4(%r13)
movq 0x18(%rsp), %r15
addl 0x5c(%r15), %edx
movl %edx, 0xc(%rsp)
movq 0x20(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x947c
incq %rbx
movq 0x8(%r14), %rax
jmp 0x6141
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x623e
jmp 0x623e
jmp 0x623e
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x46c8
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/dictionary.cc
// Function: fasttext::Dictionary::discard(int, float) const
bool Dictionary::discard(int32_t id, real rand) const {
  assert(id >= 0);
  assert(id < nwords_);
  if (args_->model == model_name::sup || args_->model == model_name::sent2vec || args_->model == model_name::cbowCWNgrams) return false;
  return rand > pdiscard_[id];
}

// Assembly:
pushq %rax
testl %esi, %esi
js 0x64d6
cmpl %esi, 0x5c(%rdi)
jle 0x64ef
movq (%rdi), %rax
movl 0xc0(%rax), %eax
addl $-0x3, %eax
cmpl $0x3, %eax
jae 0x64c7
xorl %eax, %eax
jmp 0x64d4
movl %esi, %eax
movq 0x40(%rdi), %rcx
ucomiss (%rcx,%rax,4), %xmm0
seta %al
popq %rcx
retq
leaq 0x13743(%rip), %rdi     # 0x19c20
leaq 0x134d2(%rip), %rsi     # 0x199b6
leaq 0x13534(%rip), %rcx     # 0x19a1f
pushq $0x62
jmp 0x6506
leaq 0x13561(%rip), %rdi     # 0x19a57
leaq 0x134b9(%rip), %rsi     # 0x199b6
leaq 0x1351b(%rip), %rcx     # 0x19a1f
pushq $0x63
popq %rdx
callq 0x4210
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/dictionary.cc
// Function: fasttext::Dictionary::getLine(std::istream&, std::vector<int, std::allocator<int>>&, std::vector<int, std::allocator<int>>&, std::linear_congruential_engine<unsigned long, 48271ul, 0ul, 2147483647ul>&) const
int32_t Dictionary::getLine(std::istream& in,
                            std::vector<int32_t>& words,
                            std::vector<int32_t>& labels,
                            std::minstd_rand& rng) const {
  std::vector<int32_t> word_hashes;
  int32_t ntokens = getLine(in, words, word_hashes, labels, rng);
  if (args_->model == model_name::sup) {
    addNgrams(words, word_hashes, args_->wordNgrams);
  }
  return ntokens;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %r8, %r9
movq %rcx, %r8
movq %rdx, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
andq $0x0, 0x10(%rcx)
callq 0x75e4
movl %eax, %ebp
movq (%r14), %rax
cmpl $0x3, 0xc0(%rax)
jne 0x7857
movl 0xb4(%rax), %ecx
movq %rsp, %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x7010
movq %rsp, %rdi
callq 0x8df8
movl %ebp, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x8df8
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/model.cc
// Function: fasttext::Model::update(std::vector<int, std::allocator<int>> const&, int, float)
void Model::update(const std::vector<int32_t>& input, int32_t target, real lr) {
  assert(target >= 0);
  assert(target < osz_);
  if (input.size() == 0) return;
  computeHidden(input, hidden_);
  if (args_->loss == loss_name::ns) {
    loss_ += negativeSampling(target, lr);
  } else if (args_->loss == loss_name::hs) {
    loss_ += hierarchicalSoftmax(target, lr);
  } else {
    loss_ += softmax(target, lr);
  }
  nexamples_ += 1;

  if (args_->model == model_name::sup || args_->model == model_name::sent2vec) {
    grad_.mul(1.0 / input.size());
  }
  for (auto it = input.cbegin(); it != input.cend(); ++it) {
    wi_->addRow(grad_, *it, 1.0);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
testl %edx, %edx
js 0xe540
movl %edx, %ebp
movq %rdi, %r14
cmpl %edx, 0x88(%rdi)
jle 0xe55f
movq %rsi, %rbx
movq 0x8(%rsi), %rax
cmpq (%rsi), %rax
je 0xe533
movss %xmm0, 0xc(%rsp)
leaq 0x50(%r14), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0xdf5a
movq 0x40(%r14), %rax
movl 0xbc(%rax), %eax
cmpl $0x1, %eax
je 0xe482
cmpl $0x2, %eax
movss 0xc(%rsp), %xmm0
movq %r14, %rdi
movl %ebp, %esi
jne 0xe494
callq 0xdbc8
jmp 0xe499
movq %r14, %rdi
movl %ebp, %esi
movss 0xc(%rsp), %xmm0
callq 0xdc7a
jmp 0xe499
callq 0xde62
addss 0x8c(%r14), %xmm0
movss %xmm0, 0x8c(%r14)
incq 0x90(%r14)
movq 0x40(%r14), %rax
movl 0xc0(%rax), %eax
addl $-0x3, %eax
cmpl $0x1, %eax
ja 0xe509
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0xb4a4(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xb4ac(%rip), %xmm0     # 0x19990
leaq 0x70(%r14), %rdi
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0xb45c(%rip), %xmm0     # 0x19958
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
callq 0xd2b4
movq (%rbx), %r12
leaq 0x70(%r14), %r15
cmpq 0x8(%rbx), %r12
je 0xe533
movq (%r14), %rdi
movslq (%r12), %rdx
movq %r15, %rsi
movss 0xbcb8(%rip), %xmm0     # 0x1a1e0
callq 0xc204
addq $0x4, %r12
jmp 0xe510
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc0e4(%rip), %rdi      # 0x1a62b
leaq 0xbff0(%rip), %rsi      # 0x1a53e
leaq 0xc0e2(%rip), %rcx      # 0x1a637
movl $0xcc, %edx
callq 0x4210
leaq 0xc11b(%rip), %rdi      # 0x1a681
leaq 0xbfd1(%rip), %rsi      # 0x1a53e
leaq 0xc0c3(%rip), %rcx      # 0x1a637
movl $0xcd, %edx
callq 0x4210
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/fasttext.cc
// Function: fasttext::FastText::saveVectors()
void FastText::saveVectors() {
  std::ofstream ofs(args_->output + ".vec");
  if (!ofs.is_open()) {
    std::cerr << "Error opening file for saving vectors." << std::endl;
    exit(EXIT_FAILURE);
  }
  ofs << dict_->nwords() << " " << args_->dim << std::endl;
  Vector vec(args_->dim);
  for (int32_t i = 0; i < dict_->nwords(); i++) {
    std::string word = dict_->getWord(i);
    getVector(vec, word);
    ofs << word << " " << vec << std::endl;
  }
  ofs.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movq %rdi, %rbx
movq (%rdi), %rsi
addq $0x40, %rsi
leaq 0xad52(%rip), %rdx      # 0x1a9ae
leaq 0x18(%rsp), %r14
movq %r14, %rdi
callq 0xc92a
leaq 0x38(%rsp), %rdi
pushq $0x10
popq %rdx
movq %r14, %rsi
callq 0x4650
leaq 0x18(%rsp), %rdi
callq 0x46c8
leaq 0xa8(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0xfd8f
movq 0x10(%rbx), %rdi
callq 0x5f90
leaq 0x38(%rsp), %rdi
movl %eax, %esi
callq 0x45b0
leaq 0x9f25(%rip), %rsi      # 0x19bd9
movq %rax, %rdi
callq 0x4330
movq (%rbx), %rcx
movl 0x94(%rcx), %esi
movq %rax, %rdi
callq 0x45b0
movq %rax, %rdi
callq 0x4190
movq (%rbx), %rax
movslq 0x94(%rax), %rsi
leaq 0x8(%rsp), %rdi
callq 0xd224
xorl %ebp, %ebp
leaq 0x18(%rsp), %r14
leaq 0x8(%rsp), %r15
leaq 0x38(%rsp), %r12
leaq 0x9ed8(%rip), %r13      # 0x19bd9
movq 0x10(%rbx), %rdi
callq 0x5f90
cmpl %eax, %ebp
jge 0xfd5f
movq 0x10(%rbx), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x655c
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0xfb74
movq %r12, %rdi
movq %r14, %rsi
callq 0x42f0
movq %rax, %rdi
movq %r13, %rsi
callq 0x4330
movq %rax, %rdi
movq %r15, %rsi
callq 0xd655
movq %rax, %rdi
callq 0x4190
movq %r14, %rdi
callq 0x46c8
incl %ebp
jmp 0xfd01
leaq 0x38(%rsp), %rdi
callq 0x4490
leaq 0x8(%rsp), %rdi
callq 0xd24e
leaq 0x38(%rsp), %rdi
callq 0x44c0
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x1725a(%rip), %rdi     # 0x26ff0
leaq 0xac16(%rip), %rsi      # 0x1a9b3
callq 0x4330
movq %rax, %rdi
callq 0x4190
pushq $0x1
popq %rdi
callq 0x43b0
jmp 0xfdcc
jmp 0xfdc5
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x46c8
jmp 0xfdf2
movq %rax, %rbx
jmp 0xfde8
jmp 0xfdcc
movq %rax, %rbx
jmp 0xfdde
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x46c8
leaq 0x8(%rsp), %rdi
callq 0xd24e
leaq 0x38(%rsp), %rdi
callq 0x44c0
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/fasttext.cc
// Function: fasttext::FastText::loadModel(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, int)
void FastText::loadModel(const std::string& filename,
                         const bool inference_mode /* = false */,
                         const bool shared_mem_enabled /* = true */,
                         const int timeout_sec /* = -1 */) {
  std::ifstream ifs(filename, std::ifstream::binary);
  if (!ifs.is_open()) {
    std::cerr << "Model file cannot be opened for loading!" << std::endl;
    exit(EXIT_FAILURE);
  }
  if (!checkModel(ifs)) {
    std::cerr << "Model file has wrong file format!" << std::endl;
    exit(EXIT_FAILURE);
  }
  if (inference_mode) {
    if (shared_mem_enabled) {
      loadModelWithSharedMemory(ifs, filename, timeout_sec);
    } else {
      loadModel(ifs, false);
    }
  } else {
    loadModel(ifs, true);
  }
  ifs.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
movl %r8d, %ebp
movl %ecx, %r12d
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
pushq $0x4
popq %rdx
callq 0x4520
leaq 0x80(%rsp), %rdi
callq 0x40c0
testb %al, %al
je 0x10670
leaq 0x8(%rsp), %rsi
callq 0xffca
testb %al, %al
je 0x1068d
andb %r15b, %r12b
cmpb $0x1, %r12b
jne 0x10637
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x106c6
jmp 0x1064c
xorb $0x1, %r15b
movzbl %r15b, %edx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1096e
leaq 0x8(%rsp), %rdi
callq 0x40a0
leaq 0x8(%rsp), %rdi
callq 0x40e0
addq $0x210, %rsp            # imm = 0x210
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x16979(%rip), %rdi     # 0x26ff0
leaq 0xa38c(%rip), %rsi      # 0x1aa0a
callq 0x4330
movq %rax, %rdi
callq 0x4190
jmp 0x106a8
movq 0x1695c(%rip), %rdi     # 0x26ff0
leaq 0xa398(%rip), %rsi      # 0x1aa33
callq 0x4330
movq %rax, %rdi
callq 0x4190
pushq $0x1
popq %rdi
callq 0x43b0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x40e0
movq %rbx, %rdi
callq 0x45d0
nop
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/fasttext.cc
// Function: fasttext::FastText::skipgram(fasttext::Model&, float, std::vector<int, std::allocator<int>> const&)
void FastText::skipgram(Model& model, real lr,
                        const std::vector<int32_t>& line) {
  std::uniform_int_distribution<> uniform(1, args_->ws);
  for (int32_t w = 0; w < line.size(); w++) {
    int32_t boundary = uniform(model.rng);
    const std::vector<int32_t>& ngrams = dict_->getNgrams(line[w]);
    for (int32_t c = -boundary; c <= boundary; c++) {
      if (c != 0 && w + c >= 0 && w + c < line.size()) {
        model.update(ngrams, line[w + c], lr);
      }
    }
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movss %xmm0, 0xc(%rsp)
movq %rsi, %r14
movq %rdi, 0x18(%rsp)
movq (%rdi), %rax
movl 0x98(%rax), %eax
leaq 0x20(%rsp), %rcx
movl $0x1, (%rcx)
movl %eax, 0x4(%rcx)
leaq 0x110(%rsi), %rax
movq %rax, 0x10(%rsp)
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x2, %rax
cmpq %r15, %rax
jbe 0x1145b
leaq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x8b16
movl %eax, %r13d
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rdi
movq (%rbx), %rax
movl (%rax,%r15,4), %esi
callq 0x5f9e
movq %rax, %r12
movl %r13d, %ebp
negl %ebp
cmpl %r13d, %ebp
jg 0x11453
testl %ebp, %ebp
je 0x1144f
movl %r15d, %eax
addl %ebp, %eax
js 0x1144f
movl %eax, %eax
movq (%rbx), %rcx
movq 0x8(%rbx), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
cmpq %rax, %rdx
jbe 0x1144f
movl (%rcx,%rax,4), %edx
movq %r14, %rdi
movq %r12, %rsi
movss 0xc(%rsp), %xmm0
callq 0xe412
incl %ebp
jmp 0x11416
incq %r15
jmp 0x113d7
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/fasttext.cc
// Function: fasttext::FastText::sent2vec(fasttext::Model&, float, std::vector<int, std::allocator<int>> const&)
void FastText::sent2vec(Model& model, real lr, const std::vector<int32_t>& line){
  if (line.size() <= 1) return;
  std::vector<int32_t> context;
  std::uniform_real_distribution<> uniform(0, 1);
  for (int32_t i=0; i<line.size(); ++i){
    if (uniform(model.rng) > dict_->getPDiscard(line[i]) || dict_->getTokenCount(line[i]) < args_->minCountLabel)
      continue;
    context = line;
    context[i] = 0;
    dict_->addNgrams(context, args_->wordNgrams, args_->dropoutK, model.rng);
    model.update(context, line[i], lr);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movss %xmm0, 0xc(%rsp)
movq (%rdx), %rcx
movq 0x8(%rdx), %rax
movq %rax, %rdx
subq %rcx, %rdx
cmpq $0x5, %rdx
jb 0x119fc
movq %rdi, %r15
leaq 0x20(%rsp), %r12
andq $0x0, 0x10(%r12)
xorps %xmm0, %xmm0
movaps %xmm0, (%r12)
movhps 0x803b(%rip), %xmm0     # xmm0 = xmm0[0,1],mem[0,1]
leaq 0x40(%rsp), %r13
movaps %xmm0, (%r13)
movq %rsi, 0x10(%rsp)
leaq 0x110(%rsi), %rbp
xorl %r14d, %r14d
subq %rcx, %rax
sarq $0x2, %rax
cmpq %r14, %rax
jbe 0x119f2
movq %r13, %rdi
movq %rbp, %rsi
callq 0x8b92
movsd %xmm0, 0x18(%rsp)
movq 0x10(%r15), %rdi
movq (%rbx), %rax
movl (%rax,%r14,4), %esi
callq 0x6664
cvtss2sd %xmm0, %xmm0
movsd 0x18(%rsp), %xmm1
ucomisd %xmm0, %xmm1
ja 0x119e3
movq 0x10(%r15), %rdi
movq (%rbx), %rax
movl (%rax,%r14,4), %esi
callq 0x660a
movq (%r15), %rcx
movslq 0xac(%rcx), %rcx
cmpq %rcx, %rax
jl 0x119e3
movq %r12, %rdi
movq %rbx, %rsi
callq 0x8bec
movq 0x20(%rsp), %rax
andl $0x0, (%rax,%r14,4)
movq (%r15), %rax
movq 0x10(%r15), %rdi
movl 0x9c(%rax), %ecx
movl 0xb4(%rax), %edx
movq %r12, %rsi
movq %rbp, %r8
callq 0x735e
movq (%rbx), %rax
movl (%rax,%r14,4), %edx
movq 0x10(%rsp), %rdi
movq %r12, %rsi
movss 0xc(%rsp), %xmm0
callq 0xe412
incq %r14
movq (%rbx), %rcx
movq 0x8(%rbx), %rax
jmp 0x11936
leaq 0x20(%rsp), %rdi
callq 0x8df8
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8df8
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/fasttext.cc
// Function: fasttext::FastText::textVector(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, fasttext::Vector&, std::vector<int, std::allocator<int>>&, std::vector<int, std::allocator<int>>&)
void FastText::textVector(std::string text, Vector& vec, std::vector<int32_t>& line, std::vector<int32_t>& labels) {
  std::istringstream text_stream(text);
  dict_->getLine(text_stream, line, labels, model_->rng);
  vec.zero();
  if (args_->model == model_name::cbowCWNgrams){
    Vector buff(args_->dim);
    for (int i=0; i< line.size(); ++i) {
        getVector(buff, line[i]);
        vec.addVector(buff);
    }
    if (!line.empty()) {
      vec.mul(1.0 / line.size());
    }
  } else {
    if (args_->model == model_name::sent2vec){
      dict_->addNgrams(line, args_->wordNgrams);
    }
    for (auto it = line.cbegin(); it != line.cend(); ++it) {
      vec.addRow(*input_, *it);
    }
    if (!line.empty()) {
      vec.mul(1.0 / line.size());
    }
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %rbx
movq %rdi, %r15
leaq 0x10(%rsp), %r13
pushq $0x8
popq %rdx
movq %r13, %rdi
callq 0x4570
movq 0x10(%r15), %rdi
movl $0x110, %r8d            # imm = 0x110
addq 0x60(%r15), %r8
movq %r13, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0x780e
movq %rbx, %rdi
callq 0xd260
movq (%r15), %rax
movl 0xc0(%rax), %ecx
cmpl $0x4, %ecx
je 0x126f3
cmpl $0x5, %ecx
jne 0x12705
movslq 0x94(%rax), %rsi
movq %rsp, %rdi
callq 0xd224
xorl %r13d, %r13d
movq %rsp, %r12
movq (%r14), %rcx
movq 0x8(%r14), %rdx
movq %rdx, %rax
subq %rcx, %rax
sarq $0x2, %rax
cmpq %r13, %rax
jbe 0x1277b
movl (%rcx,%r13,4), %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x12a6c
movq %rbx, %rdi
movq %r12, %rsi
callq 0xd2de
incq %r13
jmp 0x126ba
movq 0x10(%r15), %rdi
movl 0xb4(%rax), %edx
movq %r14, %rsi
callq 0x7518
movq (%r14), %r13
movq %r13, %r12
negq %r12
cmpq 0x8(%r14), %r13
je 0x1272e
movq 0x20(%r15), %rsi
movslq (%r13), %rdx
movq %rbx, %rdi
callq 0xd386
addq $0x4, %r13
addq $-0x4, %r12
jmp 0x1270e
movq (%r14), %rax
cmpq %rax, %r13
je 0x127a5
addq %r12, %rax
negq %rax
sarq $0x2, %rax
movq %rax, %xmm0
punpckldq 0x7233(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x723b(%rip), %xmm0     # 0x19990
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
movsd 0x71ef(%rip), %xmm0     # 0x19958
divsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq %rbx, %rdi
callq 0xd2b4
jmp 0x127a5
cmpq %rdx, %rcx
je 0x1279d
cvtsi2sd %rax, %xmm0
movsd 0x71cb(%rip), %xmm1     # 0x19958
divsd %xmm0, %xmm1
cvtsd2ss %xmm1, %xmm0
movq %rbx, %rdi
callq 0xd2b4
movq %rsp, %rdi
callq 0xd24e
leaq 0x10(%rsp), %rdi
callq 0x4180
addq $0x190, %rsp            # imm = 0x190
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x127c6
jmp 0x127d3
jmp 0x127d3
movq %rax, %rbx
movq %rsp, %rdi
callq 0xd24e
jmp 0x127d6
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x4180
movq %rbx, %rdi
callq 0x45d0
// File: /workspace/github_cpp_makefile_star2_O2/epfml[P]sent2vec/src/main.cc
// Function: printUsage()
void printUsage() {
  std::cerr
    << "usage: fasttext <command> <args>\n\n"
    << "The commands supported by fasttext are:\n\n"
    << "  supervised                train a supervised classifier\n"
    << "  sent2vec                  train unsupervised sentence embeddings\n"
    << "  quantize                  quantize a model to reduce the memory usage\n"
    << "  test                      evaluate a supervised classifier\n"
    << "  predict                   predict most likely labels\n"
    << "  predict-prob              predict most likely labels with probabilities\n"
    << "  skipgram                  train a skipgram model\n"
    << "  cbow                      train a cbow model\n"
    << "  cbow-c+w-ngrams           train a cbow model augmented with character and word ngrams\n"
    << "  print-word-vectors        print word vectors given a trained model\n"
    << "  print-sentence-vectors    print sentence vectors given a trained model\n"
    << "  print-vocabulary-vectors  print unigram vectors in vocabulary\n"
    << "  print-vocabulary          print word in vocabulary with count\n"
    << "  nn                        query for nearest neighbors\n"
    << "  nnSent                    query for nearest neighbors for sentences\n"
    << "  analogies                 query for analogies\n"
    << "  analogiesSent             query for analogies for Sentences\n"
    << std::endl;
}

// Assembly:
pushq %rax
movq 0xf620(%rip), %rdi      # 0x26ff0
leaq 0x35b1(%rip), %rsi      # 0x1af88
callq 0x4330
leaq 0x35c8(%rip), %rsi      # 0x1afab
movq %rax, %rdi
callq 0x4330
leaq 0x35e3(%rip), %rsi      # 0x1afd5
movq %rax, %rdi
callq 0x4330
leaq 0x360f(%rip), %rsi      # 0x1b010
movq %rax, %rdi
callq 0x4330
leaq 0x3644(%rip), %rsi      # 0x1b054
movq %rax, %rdi
callq 0x4330
leaq 0x367e(%rip), %rsi      # 0x1b09d
movq %rax, %rdi
callq 0x4330
leaq 0x36ad(%rip), %rsi      # 0x1b0db
movq %rax, %rdi
callq 0x4330
leaq 0x36d6(%rip), %rsi      # 0x1b113
movq %rax, %rdi
callq 0x4330
leaq 0x3712(%rip), %rsi      # 0x1b15e
movq %rax, %rdi
callq 0x4330
leaq 0x3737(%rip), %rsi      # 0x1b192
movq %rax, %rdi
callq 0x4330
leaq 0x3758(%rip), %rsi      # 0x1b1c2
movq %rax, %rdi
callq 0x4330
leaq 0x37a2(%rip), %rsi      # 0x1b21b
movq %rax, %rdi
callq 0x4330
leaq 0x37d9(%rip), %rsi      # 0x1b261
movq %rax, %rdi
callq 0x4330
leaq 0x3814(%rip), %rsi      # 0x1b2ab
movq %rax, %rdi
callq 0x4330
leaq 0x3846(%rip), %rsi      # 0x1b2ec
movq %rax, %rdi
callq 0x4330
leaq 0x3878(%rip), %rsi      # 0x1b32d
movq %rax, %rdi
callq 0x4330
leaq 0x38a2(%rip), %rsi      # 0x1b366
movq %rax, %rdi
callq 0x4330
leaq 0x38da(%rip), %rsi      # 0x1b3ad
movq %rax, %rdi
callq 0x4330
leaq 0x38fc(%rip), %rsi      # 0x1b3de
movq %rax, %rdi
callq 0x4330
movq %rax, %rdi
popq %rax
jmp 0x4190
// File: /workspace/github_cpp_makefile_star2_O2/DimitriDaSilva[P]42_ft_containers/containers/utils/red_black_tree.hpp
// Function: ft::red_black_tree<char, ft::pair<char const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, ft::less<char>, std::allocator<ft::red_black_tree_node<ft::pair<char const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>>::insert(ft::pair<char const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&)
ft::pair<iterator, bool>
		insert(value_type const& val)
		{
			// Ignore duplicates keys
			iterator it = find(get_key_from_val(val));

			if (it != end())
				return ft::make_pair(it, false);

			// New nodes are necessarily red and leaf nodes so they point
			// to _nil
			node_pointer node = _alloc.allocate(1);
			_alloc.construct(node, node_type(val, NULL, _nil, _nil, red));

			it = iterator(insert_helper(node, _root), _root, _nil);

			_size++;

			return ft::make_pair(it, true);
		}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
movq %rdx, %rsi
callq *0x10(%rax)
leaq -0x90(%rbp), %rdx
movb %al, (%rdx)
leaq -0x48(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x18036
leaq -0x90(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
callq 0x18086
movq 0x8(%r15), %rax
cmpq 0x8(%r13), %rax
je 0x17f2a
movq -0x38(%rbp), %rcx
movq -0x30(%rbp), %rdx
xorl %esi, %esi
jmp 0x17fb0
pushq $0x48
popq %rdi
callq 0x51b0
movq %rax, %r15
leaq -0xb8(%rbp), %r13
movq %r13, %rdi
movq %r12, %rsi
callq 0x17de0
movq 0x10(%r14), %r12
leaq -0x90(%rbp), %rdi
movq %r13, %rsi
callq 0x17de0
leaq -0x90(%rbp), %rsi
andq $0x0, 0x28(%rsi)
movq %r12, 0x30(%rsi)
movq %r12, 0x38(%rsi)
andl $0x0, 0x40(%rsi)
movq %r15, %rdi
callq 0x17db6
leaq -0x88(%rbp), %rdi
callq 0x51d0
leaq -0xb0(%rbp), %rdi
callq 0x51d0
movq 0x8(%r14), %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x180c8
movq 0x8(%r14), %rcx
movq 0x10(%r14), %rdx
incq 0x18(%r14)
movb $0x1, %sil
leaq 0x2e7c1(%rip), %rdi     # 0x46778
movq %rdi, (%rbx)
movq %rax, 0x8(%rbx)
movq %rcx, 0x10(%rbx)
movq %rdx, 0x18(%rbx)
movb %sil, 0x20(%rbx)
movq %rbx, %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x88(%rbp), %rdi
callq 0x51d0
jmp 0x17ff3
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x51d0
movq %rbx, %rdi
callq 0x52d0
movq %rax, %rdi
callq 0x5d57
nop