LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: misohena[P]drawstars/drawstars.cpp
// Function: OptionTime::setArgument(Options&, std::basic_string_view<char, std::char_traits<char>>) const
void setArgument(Options &options, std::string_view str) const override
    {
        int year, month, day, hour, min, sec;
        if(sscanf(str.data(), "%d-%d-%d %d:%d:%d", &year, &month, &day, &hour, &min, &sec) == 6){
            std::tm lt = {sec, min, hour, day, month-1, year-1900, 0, 0, 0};
            std::time_t unixSeconds = std::mktime(&lt);
            if(unixSeconds != -1){
                options.*dst = unixSeconds;
                return;
            }
        }
        throw std::invalid_argument("Invalid time syntax");
    }

// Assembly:
subq $0xa8, %rsp
movq %rdx, 0x98(%rsp)
movq %rcx, 0xa0(%rsp)
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq 0x90(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x18280
movq %rax, %rdi
leaq 0x642b(%rip), %rsi      # 0x1e526
leaq 0x84(%rsp), %rdx
leaq 0x80(%rsp), %rcx
leaq 0x7c(%rsp), %r8
leaq 0x78(%rsp), %r9
leaq 0x74(%rsp), %r10
leaq 0x70(%rsp), %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
movb $0x0, %al
callq 0x4360
cmpl $0x6, %eax
jne 0x181de
movl 0x70(%rsp), %eax
movl %eax, 0x38(%rsp)
movl 0x74(%rsp), %eax
movl %eax, 0x3c(%rsp)
movl 0x78(%rsp), %eax
movl %eax, 0x40(%rsp)
movl 0x7c(%rsp), %eax
movl %eax, 0x44(%rsp)
movl 0x80(%rsp), %eax
subl $0x1, %eax
movl %eax, 0x48(%rsp)
movl 0x84(%rsp), %eax
subl $0x76c, %eax            # imm = 0x76C
movl %eax, 0x4c(%rsp)
movl $0x0, 0x50(%rsp)
movl $0x0, 0x54(%rsp)
movl $0x0, 0x58(%rsp)
movq $0x0, 0x60(%rsp)
movq $0x0, 0x68(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x4260
movq %rax, 0x30(%rsp)
cmpq $-0x1, 0x30(%rsp)
je 0x181dc
movq 0x18(%rsp), %rcx
cvtsi2sdq 0x30(%rsp), %xmm0
movq 0x88(%rsp), %rax
movq 0x8(%rcx), %rcx
movsd %xmm0, (%rax,%rcx)
addq $0xa8, %rsp
retq
jmp 0x181de
movl $0x10, %edi
callq 0x41c0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
leaq 0x633e(%rip), %rsi      # 0x1e538
callq 0x4650
jmp 0x18201
movq 0x10(%rsp), %rdi
movq 0x11ddb(%rip), %rsi     # 0x29fe8
movq 0x11dc4(%rip), %rdx     # 0x29fd8
callq 0x45b0
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x4290
movq 0x28(%rsp), %rdi
callq 0x45f0
nopl (%rax,%rax)
// File: misohena[P]drawstars/drawstars.cpp
// Function: void drawStarsOnEquirectangular<Range<GaiaStar>>(Image<ColorRGB<double>>&, Range<GaiaStar>, float, float, StarAppearanceOptions const&)
void drawStarsOnEquirectangular(ImageType &canvas, Range stars, float minMag, float maxMag, const StarAppearanceOptions &starAppearanceOptions)
{
    for(const auto &star : stars){
        const auto mag = star.mag();
        if(!(mag >= minMag && mag <= maxMag)){
            continue;
        }
        drawStarOnEquirectangular(canvas, star, starAppearanceOptions);
    }
}

// Assembly:
subq $0x58, %rsp
movq %rsi, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %rdi, 0x40(%rsp)
movss %xmm0, 0x3c(%rsp)
movss %xmm1, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
leaq 0x48(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rdi
callq 0x1b5c0
movq %rax, 0x20(%rsp)
movq 0x28(%rsp), %rdi
callq 0x1b5d0
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0x1b576
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rdi
callq 0x1b5e0
movss %xmm0, 0xc(%rsp)
movss 0xc(%rsp), %xmm0
ucomiss 0x3c(%rsp), %xmm0
jb 0x1b550
movss 0xc(%rsp), %xmm1
movss 0x38(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jae 0x1b552
jmp 0x1b566
movq 0x40(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x1b5f0
movq 0x20(%rsp), %rax
addq $0x18, %rax
movq %rax, 0x20(%rsp)
jmp 0x1b50c
addq $0x58, %rsp
retq
nopl (%rax,%rax)
// File: misohena[P]drawstars/drawstars.cpp
// Function: void drawStarOnEquirectangular<GaiaStar>(Image<ColorRGB<double>>&, GaiaStar const&, StarAppearanceOptions const&)
void drawStarOnEquirectangular(ImageType &canvas, const StarType &star, const StarAppearanceOptions &starAppearanceOptions)
{
    const StarAppearance appearance = calculateStarAppearance(star, starAppearanceOptions);

    fillCircleOnEquirectangular(
        canvas,
        star.ra_deg(), star.dec_deg(),
        appearance.radius,
        PixelPlotter(appearance));
}

// Assembly:
subq $0x98, %rsp
movq %rdi, 0x90(%rsp)
movq %rsi, 0x88(%rsp)
movq %rdx, 0x80(%rsp)
movq 0x88(%rsp), %rsi
movq 0x80(%rsp), %rdx
leaq 0x60(%rsp), %rdi
callq 0x1b6d0
movq 0x90(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x88(%rsp), %rdi
callq 0x1bea0
movss %xmm0, 0x34(%rsp)
movq 0x88(%rsp), %rdi
callq 0x1beb0
movss %xmm0, 0x38(%rsp)
movss 0x78(%rsp), %xmm0
movss %xmm0, 0x3c(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x60(%rsp), %rsi
callq 0x1bec0
movq 0x28(%rsp), %rdi
movss 0x34(%rsp), %xmm0
movss 0x38(%rsp), %xmm1
movss 0x3c(%rsp), %xmm2
leaq 0x40(%rsp), %rax
movq (%rax), %rcx
movq %rcx, (%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x8(%rsp)
movq 0x10(%rax), %rcx
movq %rcx, 0x10(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x18(%rsp)
callq 0x1b860
addq $0x98, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: misohena[P]drawstars/drawstars.cpp
// Function: StarAppearance calculateStarAppearance<GaiaStar>(GaiaStar const&, StarAppearanceOptions const&)
StarAppearance calculateStarAppearance(const Star &star, const StarAppearanceOptions &options)
{
    const float flux = mag2flux(star.mag());
    const float radius =
        flux > options.fluxIncRadius ?
        clamp(std::sqrt(options.radiusDefault * options.radiusDefault * flux / options.fluxIncRadius), 0.0f, options.radiusMax) :
        options.radiusDefault;
    const float fluxAdjusted = options.fluxOffset + options.fluxMultiplier * flux;
    const float fluxSaturated = std::min(options.fluxGamma==1.0 ? fluxAdjusted : std::pow(fluxAdjusted, options.fluxGamma), options.fluxMax);

    return {fluxSaturated * temperatureToRGB(star.teff()), radius};
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x18(%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x60(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x60(%rsp), %rdi
callq 0x1b5e0
callq 0x7b80
movss %xmm0, 0x54(%rsp)
movss 0x54(%rsp), %xmm0
movq 0x58(%rsp), %rax
ucomiss 0x10(%rax), %xmm0
jbe 0x1b751
movq 0x58(%rsp), %rax
movss 0x14(%rax), %xmm0
movq 0x58(%rsp), %rax
mulss 0x14(%rax), %xmm0
mulss 0x54(%rsp), %xmm0
movq 0x58(%rsp), %rax
divss 0x10(%rax), %xmm0
callq 0x1bf70
movq 0x58(%rsp), %rax
movss 0x18(%rax), %xmm2
xorps %xmm1, %xmm1
callq 0x1bf00
movss %xmm0, 0x14(%rsp)
jmp 0x1b761
movq 0x58(%rsp), %rax
movss 0x14(%rax), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0x14(%rsp), %xmm0
movss %xmm0, 0x50(%rsp)
movq 0x58(%rsp), %rax
movss (%rax), %xmm1
movq 0x58(%rsp), %rax
movss 0x4(%rax), %xmm0
movss 0x54(%rsp), %xmm2
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x4c(%rsp)
movq 0x58(%rsp), %rax
movss 0x8(%rax), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x28ae(%rip), %xmm1     # 0x1e058
ucomisd %xmm1, %xmm0
jne 0x1b7c0
jp 0x1b7c0
movss 0x4c(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
jmp 0x1b7db
movss 0x4c(%rsp), %xmm0
movq 0x58(%rsp), %rax
movss 0x8(%rax), %xmm1
callq 0xd7b0
movss %xmm0, 0x10(%rsp)
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x44(%rsp)
movq 0x58(%rsp), %rsi
addq $0xc, %rsi
leaq 0x44(%rsp), %rdi
callq 0x1bf90
movss (%rax), %xmm0
movss %xmm0, 0x48(%rsp)
movss 0x48(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movq 0x60(%rsp), %rdi
callq 0x1c030
cvtss2sd %xmm0, %xmm0
leaq 0x28(%rsp), %rdi
callq 0x7ec0
movss 0xc(%rsp), %xmm0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1bfd0
movq 0x18(%rsp), %rcx
movq 0x20(%rsp), %rax
movss 0x50(%rsp), %xmm0
movss %xmm0, 0x18(%rcx)
addq $0x68, %rsp
retq
nopw (%rax,%rax)
// File: misohena[P]drawstars/drawstars.cpp
// Function: GaiaStar::teff() const
float teff() const
    {
        if(teff_val >= 100 && teff_val < 50000){ // 3229.0 <= teff_val <= 9803.0
            return teff_val;
        }
        else{
            // see: https://github.com/langurmonkey/gaiasky/blob/cfab3a75051a0d521c69b54b5f937b8dafa38b02/core/src/gaiasky/data/group/DR2DataProvider.java#L290
            const float xp = bp - rp;
            return xp <= 1.5 ?
                // Gaia broad band photometry : 5.1.G_BP−G_RP as indicator ofTeﬀ / https://arxiv.org/abs/1008.0815
                std::pow(10, 3.999 + (-0.654+ (0.709 - 0.316*xp) * xp) * xp) :
                lint(xp, 1.5f, 15.0f, 3521.6f, 3000.0f);
        }
    }

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movss 0x14(%rax), %xmm0
movss 0x1fec(%rip), %xmm1     # 0x1e03c
ucomiss %xmm1, %xmm0
jb 0x1c07d
movq 0x8(%rsp), %rax
movss 0x1fde(%rip), %xmm0     # 0x1e040
ucomiss 0x14(%rax), %xmm0
jbe 0x1c07d
movq 0x8(%rsp), %rax
movss 0x14(%rax), %xmm0
movss %xmm0, 0x24(%rsp)
jmp 0x1c154
movq 0x8(%rsp), %rax
movss 0xc(%rax), %xmm0
subss 0x10(%rax), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0x14(%rsp), %xmm0
cvtss2sd %xmm0, %xmm1
movsd 0x20b4(%rip), %xmm0     # 0x1e158
ucomisd %xmm1, %xmm0
jb 0x1c111
movss 0x14(%rsp), %xmm0
cvtss2sd %xmm0, %xmm0
movsd 0x20b4(%rip), %xmm1     # 0x1e170
mulsd %xmm1, %xmm0
movsd 0x20b0(%rip), %xmm1     # 0x1e178
addsd %xmm1, %xmm0
movss 0x14(%rsp), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm1, %xmm0
movsd 0x2086(%rip), %xmm1     # 0x1e168
addsd %xmm1, %xmm0
movss 0x14(%rsp), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm1, %xmm0
movsd 0x2064(%rip), %xmm1     # 0x1e160
addsd %xmm1, %xmm0
movl $0xa, %edi
callq 0x1c160
movsd %xmm0, (%rsp)
jmp 0x1c145
movss 0x14(%rsp), %xmm0
movss 0x1f25(%rip), %xmm1     # 0x1e044
movss 0x1f21(%rip), %xmm2     # 0x1e048
movss 0x1f1d(%rip), %xmm3     # 0x1e04c
movss 0x1f19(%rip), %xmm4     # 0x1e050
callq 0x1c190
cvtss2sd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movsd (%rsp), %xmm0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, 0x24(%rsp)
movss 0x24(%rsp), %xmm0
addq $0x28, %rsp
retq
nop
// File: misohena[P]drawstars/./vmath.h
// Function: float lint<float>(float, float, float, float, float)
T lint(T x, T x0, T x1, T y0, T y1)
{
    if(x0 > x1){
        std::swap(x0, x1);
    }
    return
        (x < x0) ? y0 :
        (x > x1) ? y1 :
        y0 + (y1 - y0) * (x - x0) / (x1 - x0);
}

// Assembly:
subq $0x28, %rsp
movss %xmm0, 0x24(%rsp)
movss %xmm1, 0x20(%rsp)
movss %xmm2, 0x1c(%rsp)
movss %xmm3, 0x18(%rsp)
movss %xmm4, 0x14(%rsp)
movss 0x20(%rsp), %xmm0
ucomiss 0x1c(%rsp), %xmm0
jbe 0x1c1ce
leaq 0x20(%rsp), %rdi
leaq 0x1c(%rsp), %rsi
callq 0x1c260
movss 0x24(%rsp), %xmm1
movss 0x20(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x1c1ed
movss 0x18(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
jmp 0x1c250
movss 0x24(%rsp), %xmm0
ucomiss 0x1c(%rsp), %xmm0
jbe 0x1c208
movss 0x14(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
jmp 0x1c244
movss 0x18(%rsp), %xmm0
movss 0x14(%rsp), %xmm1
subss 0x18(%rsp), %xmm1
movss 0x24(%rsp), %xmm2
subss 0x20(%rsp), %xmm2
mulss %xmm2, %xmm1
movss 0x1c(%rsp), %xmm2
subss 0x20(%rsp), %xmm2
divss %xmm2, %xmm1
addss %xmm1, %xmm0
movss %xmm0, 0xc(%rsp)
movss 0xc(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x10(%rsp), %xmm0
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: misohena[P]drawstars/./image.h
// Function: ColorRGB<double> pow<double>(ColorRGB<double> const&, double)
ColorRGB<ValueT> pow(const ColorRGB<ValueT> &lhs, ValueT rhs)
{
    return ColorRGB<ValueT>(
        std::pow(lhs.r, rhs),
        std::pow(lhs.g, rhs),
        std::pow(lhs.b, rhs));
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x8(%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x30(%rsp)
movsd %xmm0, 0x28(%rsp)
movq 0x30(%rsp), %rax
movsd (%rax), %xmm0
movsd 0x28(%rsp), %xmm1
callq 0x45d0
movsd %xmm0, 0x18(%rsp)
movq 0x30(%rsp), %rax
movsd 0x8(%rax), %xmm0
movsd 0x28(%rsp), %xmm1
callq 0x45d0
movsd %xmm0, 0x10(%rsp)
movq 0x30(%rsp), %rax
movsd 0x10(%rax), %xmm0
movsd 0x28(%rsp), %xmm1
callq 0x45d0
movq 0x8(%rsp), %rdi
movsd 0x10(%rsp), %xmm1
movaps %xmm0, %xmm2
movsd 0x18(%rsp), %xmm0
callq 0xd810
movq 0x20(%rsp), %rax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: TrainData::readInput(std::vector<double, std::allocator<double>>&)
unsigned int TrainData::readInput(vector<double> &input)
{
  // Clear input vector
  input.clear();

  string in;
  m_trainFile >> in;
  if (in.compare("in:") == 0)
  {
    double inputVal;
    m_trainFile >> inputVal;
    input.push_back(inputVal);
    m_trainFile >> inputVal;
    input.push_back(inputVal);
  }

  return input.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
callq 0x50e0
leaq -0x30(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x32c0
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x3290
jmp 0x384d
leaq -0x30(%rbp), %rdi
leaq 0xa816(%rip), %rsi      # 0xe06e
callq 0x3080
cmpl $0x0, %eax
jne 0x38b7
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x3180
jmp 0x3871
movq -0x10(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x5100
jmp 0x3880
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x3180
jmp 0x388f
movq -0x10(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x5100
jmp 0x389e
jmp 0x38b7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3100
jmp 0x38d5
movq -0x10(%rbp), %rdi
callq 0x5170
movl %eax, -0x5c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3100
movl -0x5c(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x33a0
nop
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: TrainData::readTarget(std::vector<double, std::allocator<double>>&)
unsigned int TrainData::readTarget(vector<double> &target)
{
  // Clear target vector
  target.clear();

  string out;
  m_trainFile >> out;
  if (out.compare("out:") == 0)
  {
    double targetVal;
    m_trainFile >> targetVal;
    target.push_back(targetVal);
  }

  return target.size();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x10(%rbp), %rdi
callq 0x50e0
leaq -0x30(%rbp), %rdi
movq %rdi, -0x50(%rbp)
callq 0x32c0
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x3290
jmp 0x395d
leaq -0x30(%rbp), %rdi
leaq 0xa70a(%rip), %rsi      # 0xe072
callq 0x3080
cmpl $0x0, %eax
jne 0x39a9
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x3180
jmp 0x3981
movq -0x10(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x5100
jmp 0x3990
jmp 0x39a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3100
jmp 0x39c7
movq -0x10(%rbp), %rdi
callq 0x5170
movl %eax, -0x5c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x3100
movl -0x5c(%rbp), %eax
addq $0x60, %rsp
popq %rbp
retq
movq -0x38(%rbp), %rdi
callq 0x33a0
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Neuron::calculateOutputGradient(double, std::vector<Neuron, std::allocator<Neuron>>&)
void Neuron::calculateOutputGradient(double target, Layer &prevLayer)
{
  for (unsigned n = 0; n < prevLayer.size()-1; n++)
  {
    m_target = target;
    m_error = m_target - m_outputValue;
    double delta = -(m_target - m_outputValue);
    m_gradient = delta * derivativeSigmoid(m_outputValue) * prevLayer[n].m_outputValue;
    prevLayer[n].m_outputWeight[m_index].deltaWeight = m_gradient * eta;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movsd %xmm0, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
callq 0x51d0
movq %rax, %rcx
movq -0x38(%rbp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x3c60
movq -0x30(%rbp), %rdi
movsd -0x10(%rbp), %xmm0
movsd %xmm0, 0x18(%rdi)
movsd 0x18(%rdi), %xmm0
subsd 0x8(%rdi), %xmm0
movsd %xmm0, 0x20(%rdi)
movsd 0x18(%rdi), %xmm0
subsd 0x8(%rdi), %xmm0
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd %xmm0, -0x28(%rbp)
movsd -0x28(%rbp), %xmm0
movsd %xmm0, -0x50(%rbp)
movsd 0x8(%rdi), %xmm0
callq 0x3ad0
movaps %xmm0, %xmm1
movsd -0x50(%rbp), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x48(%rbp)
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movsd -0x48(%rbp), %xmm0
movq %rax, %rcx
movq -0x30(%rbp), %rax
mulsd 0x8(%rcx), %xmm0
movsd %xmm0, 0x10(%rax)
movsd 0x10(%rax), %xmm0
mulsd 0x11607(%rip), %xmm0    # 0x15228
movsd %xmm0, -0x40(%rbp)
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movq %rax, %rdi
movq -0x30(%rbp), %rax
addq $0x28, %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0x51b0
movsd -0x40(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3b64
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Neuron::feedForward(std::vector<Neuron, std::allocator<Neuron>> const&)
void Neuron::feedForward(const Layer &prevLayer)
{
  double sum = 0.0;
  // calculate the output*weights of neurons from previous Layer
  for (unsigned i = 0; i < prevLayer.size(); i++)
  {
    sum += prevLayer[i].getOutputVal() * prevLayer[i].m_outputWeight[m_index].weight;
  }

  m_outputValue = Neuron::sigmoid(sum);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
callq 0x51d0
movq %rax, %rcx
movq -0x30(%rbp), %rax
cmpq %rcx, %rax
jae 0x3f06
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x5210
movq %rax, %rdi
callq 0x5230
movsd %xmm0, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x5210
movq %rax, %rdi
movq -0x28(%rbp), %rax
addq $0x28, %rdi
movl (%rax), %eax
movl %eax, %esi
callq 0x5250
movsd -0x38(%rbp), %xmm0
movsd (%rax), %xmm2
movsd -0x18(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3e87
movq -0x28(%rbp), %rdi
movsd -0x18(%rbp), %xmm0
callq 0x3a80
movq -0x28(%rbp), %rax
movsd %xmm0, 0x8(%rax)
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Neuron::Neuron(unsigned int, unsigned int)
Neuron::Neuron(unsigned outputs, unsigned index)
{
  // Real random
  random_device rd;
  mt19937 gen(rd());
  uniform_real_distribution<> dis(0, 1);

  for (unsigned i = 0; i < outputs; i++)
  {
    m_outputWeight.push_back(Connection());
    m_outputWeight.back().weight = dis(gen);
    cout << m_outputWeight.back().weight << endl;
  }

  m_index = index;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2790, %rsp           # imm = 0x2790
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x2770(%rbp)
addq $0x28, %rdi
movq %rdi, -0x2768(%rbp)
callq 0x5270
leaq -0x1398(%rbp), %rdi
callq 0x5290
jmp 0x3f6e
leaq -0x1398(%rbp), %rdi
callq 0x5330
movl %eax, -0x2774(%rbp)
jmp 0x3f82
movl -0x2774(%rbp), %eax
movl %eax, %eax
movl %eax, %esi
leaq -0x2730(%rbp), %rdi
callq 0x5350
jmp 0x3f9a
leaq -0x2740(%rbp), %rdi
xorps %xmm0, %xmm0
movsd 0xa05c(%rip), %xmm1     # 0xe008
callq 0x5380
jmp 0x3fb3
movl $0x0, -0x2744(%rbp)
movl -0x2744(%rbp), %eax
cmpl -0xc(%rbp), %eax
jae 0x40b3
movq -0x2770(%rbp), %rdi
addq $0x28, %rdi
xorps %xmm0, %xmm0
movaps %xmm0, -0x2760(%rbp)
leaq -0x2760(%rbp), %rsi
callq 0x53b0
jmp 0x3fef
leaq -0x2740(%rbp), %rdi
leaq -0x2730(%rbp), %rsi
callq 0x53e0
movsd %xmm0, -0x2780(%rbp)
jmp 0x400c
movq -0x2770(%rbp), %rdi
addq $0x28, %rdi
movq %rdi, -0x2790(%rbp)
callq 0x5410
movsd -0x2780(%rbp), %xmm0
movq -0x2790(%rbp), %rdi
movsd %xmm0, (%rax)
callq 0x5410
movsd (%rax), %xmm0
movq 0x10f92(%rip), %rdi     # 0x14fd8
callq 0x33f0
movq %rax, -0x2788(%rbp)
jmp 0x4054
movq -0x2788(%rbp), %rdi
movq 0x10f5e(%rip), %rsi     # 0x14fc0
callq 0x3210
jmp 0x4069
jmp 0x406b
movl -0x2744(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2744(%rbp)
jmp 0x3fbd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x13a0(%rbp)
movl %eax, -0x13a4(%rbp)
jmp 0x40d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x13a0(%rbp)
movl %eax, -0x13a4(%rbp)
leaq -0x1398(%rbp), %rdi
callq 0x5450
jmp 0x40d4
movq -0x2770(%rbp), %rax
movl -0x10(%rbp), %ecx
movl %ecx, (%rax)
leaq -0x1398(%rbp), %rdi
callq 0x5450
addq $0x2790, %rsp           # imm = 0x2790
popq %rbp
retq
movq -0x2768(%rbp), %rdi
callq 0x5480
movq -0x13a0(%rbp), %rdi
callq 0x33a0
nopl (%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Net::getOutputValLayer(std::vector<double, std::allocator<double>>&)
void Net::getOutputValLayer(vector<double> &results)
{
  results.clear();
  Layer &outputLayer = m_layers.back();
  for (unsigned i = 0; i < outputLayer.size()-1; i++) // No bias node output
  {
    results.push_back(outputLayer[i].getOutputVal());
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
callq 0x50e0
movq -0x30(%rbp), %rdi
addq $0x10, %rdi
callq 0x54e0
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
callq 0x51d0
movq %rax, %rcx
movq -0x38(%rbp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x41d4
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movq %rax, %rdi
callq 0x5230
movq -0x40(%rbp), %rdi
movsd %xmm0, -0x28(%rbp)
leaq -0x28(%rbp), %rsi
callq 0x5520
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4179
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Net::feedForward(std::vector<double, std::allocator<double>> const&)
void Net::feedForward(const vector<double> &input)
{
  // Assign input values to input neurons
  for (unsigned i = 0; i < input.size(); i++)
  {
    m_layers[0][i].setOutputVal(input[i]);
  }

  // Start @ the first hidden layer after the input layer
  // Per neuron calculate the output*weights of the last layer
  for (unsigned layerNum = 1; layerNum < m_layers.size(); layerNum++)
  {
    Layer &prevLayer = m_layers[layerNum - 1];
    for (unsigned n = 0; n < m_layers[layerNum].size()-1; n++)
    {
      m_layers[layerNum][n].feedForward(prevLayer);
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5170
movq %rax, %rcx
movq -0x38(%rbp), %rax
cmpq %rcx, %rax
jae 0x4263
movq -0x30(%rbp), %rdi
addq $0x10, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x5550
movq %rax, %rdi
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, %esi
callq 0x5590
movq -0x40(%rbp), %rdi
movsd (%rax), %xmm0
callq 0x5570
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x41ff
movl $0x1, -0x18(%rbp)
movq -0x30(%rbp), %rdi
movl -0x18(%rbp), %eax
movq %rax, -0x48(%rbp)
addq $0x10, %rdi
callq 0x55b0
movq %rax, %rcx
movq -0x48(%rbp), %rax
cmpq %rcx, %rax
jae 0x4327
movq -0x30(%rbp), %rdi
addq $0x10, %rdi
movl -0x18(%rbp), %eax
subl $0x1, %eax
movl %eax, %eax
movl %eax, %esi
callq 0x5550
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x30(%rbp), %rdi
movl -0x24(%rbp), %eax
movq %rax, -0x50(%rbp)
addq $0x10, %rdi
movl -0x18(%rbp), %eax
movl %eax, %esi
callq 0x5550
movq %rax, %rdi
callq 0x51d0
movq %rax, %rcx
movq -0x50(%rbp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x4317
movq -0x30(%rbp), %rdi
addq $0x10, %rdi
movl -0x18(%rbp), %eax
movl %eax, %esi
callq 0x5550
movq %rax, %rdi
movl -0x24(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movq %rax, %rdi
movq -0x20(%rbp), %rsi
callq 0x3e60
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x42b0
jmp 0x4319
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x426a
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: Net::calcTotalError(std::vector<double, std::allocator<double>> const&)
double Net::calcTotalError(const vector<double> &target)
{
  double sum = 0.;
  for (unsigned n = 0; n < m_layers.back().size()-1; n++)
  {
    sum += 0.5*pow(target[n]-m_layers.back()[n].getError(), 2);
  }

  m_error = sum;

  return sum;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movq -0x28(%rbp), %rdi
movl -0x1c(%rbp), %eax
movq %rax, -0x30(%rbp)
addq $0x10, %rdi
callq 0x54e0
movq %rax, %rdi
callq 0x51d0
movq %rax, %rcx
movq -0x30(%rbp), %rax
subq $0x1, %rcx
cmpq %rcx, %rax
jae 0x462a
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x5590
movq -0x28(%rbp), %rdi
movsd (%rax), %xmm0
movsd %xmm0, -0x38(%rbp)
addq $0x10, %rdi
callq 0x54e0
movq %rax, %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0x51f0
movq %rax, %rdi
callq 0x5610
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
subsd %xmm1, %xmm0
movl $0x2, %edi
callq 0x55e0
movsd -0x18(%rbp), %xmm1
movsd 0x9a01(%rip), %xmm2     # 0xe010
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x18(%rbp)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x4587
movq -0x28(%rbp), %rax
movsd -0x18(%rbp), %xmm0
movsd %xmm0, 0x8(%rax)
movsd -0x18(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/main.cpp
// Function: showVectorValues[abi:cxx11](std::vector<double, std::allocator<double>>)
string showVectorValues(vector<double> value)
{
  string vStr;
  for (unsigned int i = 0; i < value.size(); i++)
  {
    vStr.append(to_string(value[i]));
    vStr.append(" ");
  }

  return vStr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rsi, -0x60(%rbp)
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x32c0
movl $0x0, -0x18(%rbp)
movq -0x60(%rbp), %rdi
movl -0x18(%rbp), %eax
movq %rax, -0x68(%rbp)
callq 0x5170
movq %rax, %rcx
movq -0x68(%rbp), %rax
cmpq %rcx, %rax
jae 0x4934
movq -0x60(%rbp), %rdi
movl -0x18(%rbp), %eax
movl %eax, %esi
callq 0x5880
movsd (%rax), %xmm0
leaq -0x38(%rbp), %rdi
callq 0x5830
jmp 0x48d8
movq -0x58(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x3410
jmp 0x48e7
leaq -0x38(%rbp), %rdi
callq 0x3100
movq -0x58(%rbp), %rdi
leaq 0x9771(%rip), %rsi      # 0xe06c
callq 0x3400
jmp 0x4902
jmp 0x4904
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x489f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x4951
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x3100
jmp 0x4951
movb $0x1, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0x4947
movq -0x58(%rbp), %rdi
callq 0x3100
movq -0x50(%rbp), %rax
addq $0x70, %rsp
popq %rbp
retq
movq -0x58(%rbp), %rdi
callq 0x3100
movq -0x40(%rbp), %rdi
callq 0x33a0
nopw %cs:(%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/mnist.cpp
// Function: getInput(std::vector<int, std::allocator<int>>&, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>, int)
int getInput(vector<int> &input, vector<vector<int> > training, int index)
{
	input.clear();
	unsigned size = training[index].size();
	for (unsigned n = 0; n < size; n++)
	{
		input.push_back(training[index].at(n));
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rsi, -0x28(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
callq 0xb070
movq -0x28(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0xb0f0
movq %rax, %rdi
callq 0xb110
movl %eax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
cmpl -0x18(%rbp), %eax
jae 0xaef0
movq -0x28(%rbp), %rdi
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movslq -0x14(%rbp), %rsi
callq 0xb0f0
movq %rax, %rdi
movl -0x1c(%rbp), %eax
movl %eax, %esi
callq 0xb1a0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0xb130
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0xaeaf
xorl %eax, %eax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: wkohlenberg[P]simple_NN/src/mnist.cpp
// Function: getOutput(std::vector<int, std::allocator<int>>&, std::vector<int, std::allocator<int>>, int)
int getOutput(vector<int> &output, vector<int> labels, int index)
{
	// Load vector ouput with zero's
	fill (output.begin(), output.end(), 0);

	int label = labels.at(index);
	for (unsigned i = 0; i < labels.size(); i++)
	{
		if (int(i)== label)
		{
			output.at(i) = 1;
		}
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rsi, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
callq 0xb220
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0xb250
movq %rax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x20(%rbp), %rdi
movq -0x28(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0xb1e0
movq -0x40(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0xb1a0
movl (%rax), %eax
movl %eax, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movq -0x40(%rbp), %rdi
movl -0x34(%rbp), %eax
movq %rax, -0x48(%rbp)
callq 0xb110
movq %rax, %rcx
movq -0x48(%rbp), %rax
cmpq %rcx, %rax
jae 0xafa7
movl -0x34(%rbp), %eax
cmpl -0x30(%rbp), %eax
jne 0xaf9a
movq -0x8(%rbp), %rdi
movl -0x34(%rbp), %eax
movl %eax, %esi
callq 0xb1a0
movl $0x1, (%rax)
jmp 0xaf9c
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xaf62
xorl %eax, %eax
addq $0x50, %rsp
popq %rbp
retq
nop
// File: kaiming[P]Chamber-Crawler-3k/Board/board.cc
// Function: Board::isUnoccupied(std::shared_ptr<WalkableTile>)
bool Board::isUnoccupied(std::shared_ptr<WalkableTile> target) {
    // Check in chamber (not a doorway or hallway)
    if (target->getRoom() < 0 || target->getOccupant() || target->getGold() || target->getPotion() || target->isExit()) {
        return false;
    } else {
        return true;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rsi, -0x78(%rbp)
movq %rdi, %rax
movq -0x78(%rbp), %rdi
movq %rdi, -0x70(%rbp)
movq %rax, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
callq 0x2e040
movq %rax, %rdi
callq 0x3c0c0
movl %eax, %ecx
movb $0x0, -0x29(%rbp)
movb $0x0, -0x4d(%rbp)
movb $0x0, -0x61(%rbp)
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x62(%rbp)
jl 0x26187
movq -0x70(%rbp), %rdi
callq 0x2e040
movq %rax, %rsi
leaq -0x28(%rbp), %rdi
callq 0x3bf60
movb $0x1, -0x29(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x2e330
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, -0x62(%rbp)
jne 0x26187
movq -0x70(%rbp), %rdi
callq 0x2e040
movq %rax, %rsi
leaq -0x40(%rbp), %rdi
callq 0x3c020
jmp 0x26120
movb $0x1, -0x4d(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x2e350
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, -0x62(%rbp)
jne 0x26187
movq -0x70(%rbp), %rdi
callq 0x2e040
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x3bfc0
jmp 0x26150
movb $0x1, -0x61(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x2e370
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, -0x62(%rbp)
jne 0x26187
movq -0x70(%rbp), %rdi
callq 0x2e040
movq %rax, %rdi
callq 0x3c080
movb %al, -0x79(%rbp)
jmp 0x2617f
movb -0x79(%rbp), %al
movb %al, -0x62(%rbp)
jmp 0x26187
movb -0x62(%rbp), %al
movb %al, -0x7a(%rbp)
testb $0x1, -0x61(%rbp)
jne 0x26195
jmp 0x2619e
leaq -0x60(%rbp), %rdi
callq 0x11f80
testb $0x1, -0x4d(%rbp)
jne 0x261a6
jmp 0x261af
leaq -0x40(%rbp), %rdi
callq 0x11f60
testb $0x1, -0x29(%rbp)
jne 0x261b7
jmp 0x261c0
leaq -0x28(%rbp), %rdi
callq 0x11fa0
movb -0x7a(%rbp), %al
testb $0x1, %al
jne 0x261c9
jmp 0x26230
movb $0x0, -0x1(%rbp)
jmp 0x26234
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x2621d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x2620a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
testb $0x1, -0x61(%rbp)
jne 0x261ff
jmp 0x26208
leaq -0x60(%rbp), %rdi
callq 0x11f80
jmp 0x2620a
testb $0x1, -0x4d(%rbp)
jne 0x26212
jmp 0x2621b
leaq -0x40(%rbp), %rdi
callq 0x11f60
jmp 0x2621d
testb $0x1, -0x29(%rbp)
jne 0x26225
jmp 0x2622e
leaq -0x28(%rbp), %rdi
callq 0x11fa0
jmp 0x26242
movb $0x1, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x80, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x6540
nopl (%rax,%rax)
// File: kaiming[P]Chamber-Crawler-3k/Board/board.cc
// Function: Board::changeFloor()
void Board::changeFloor() {
    // Change Floor
    floorNum += 1;

    // Check if floors[floorNum-1] is populated
    if (filled[floorNum-1]) {
        // Floor has been pre-generated
        player = playerSpawns[floorNum-1];
        player->setOccupant(playerPtr);
    } else {
        // Floor has not been pre-generated
        enemies.clear();
        chambers.clear();
        dragonHoards.clear();
        assignChambers();
        generateFloor();
    }

    player->getOccupant()->setAtk(defaultAtk);
    player->getOccupant()->setDef(defaultDef);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x60(%rbp)
movl 0x108(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x108(%rax)
movq %rax, %rdi
addq $0x18, %rdi
movl 0x108(%rax), %eax
subl $0x1, %eax
movslq %eax, %rsi
callq 0x12120
movq %rax, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
leaq -0x18(%rbp), %rdi
callq 0xcf70
testb $0x1, %al
jne 0x262a8
jmp 0x26333
movq -0x60(%rbp), %rax
movq %rax, %rdi
addq $0x40, %rdi
movl 0x108(%rax), %eax
decl %eax
movslq %eax, %rsi
callq 0x2dc70
movq -0x60(%rbp), %rdi
movq %rax, %rsi
addq $0xb8, %rdi
movq %rdi, -0x78(%rbp)
callq 0x2e390
movq -0x78(%rbp), %rdi
callq 0x2e040
movq -0x60(%rbp), %rsi
movq %rax, -0x70(%rbp)
addq $0xf8, %rsi
leaq -0x28(%rbp), %rdi
movq %rdi, -0x68(%rbp)
callq 0x2e060
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x3bf90
jmp 0x2630e
leaq -0x28(%rbp), %rdi
callq 0x11fa0
jmp 0x2636f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x11fa0
jmp 0x2643a
movq -0x60(%rbp), %rdi
addq $0x58, %rdi
callq 0x2e3c0
movq -0x60(%rbp), %rdi
addq $0xe0, %rdi
callq 0x2e3c0
movq -0x60(%rbp), %rdi
addq $0x70, %rdi
callq 0x2e3c0
movq -0x60(%rbp), %rdi
callq 0x234c0
movq -0x60(%rbp), %rdi
callq 0x237b0
movq -0x60(%rbp), %rdi
addq $0xb8, %rdi
callq 0x2e040
movq %rax, %rsi
leaq -0x48(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x3bf60
movq -0x80(%rbp), %rdi
callq 0x2e3e0
movq %rax, %rdi
movq -0x60(%rbp), %rax
cvtsi2sdl 0xb0(%rax), %xmm0
callq 0x347e0
jmp 0x263ae
leaq -0x48(%rbp), %rdi
callq 0x11fa0
movq -0x60(%rbp), %rdi
addq $0xb8, %rdi
callq 0x2e040
movq %rax, %rsi
leaq -0x58(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0x3bf60
movq -0x88(%rbp), %rdi
callq 0x2e3e0
movq %rax, %rdi
movq -0x60(%rbp), %rax
cvtsi2sdl 0xb4(%rax), %xmm0
callq 0x34820
jmp 0x263fc
leaq -0x58(%rbp), %rdi
callq 0x11fa0
addq $0x90, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x11fa0
jmp 0x2643a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x11fa0
movq -0x30(%rbp), %rdi
callq 0x6540
nopw %cs:(%rax,%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::getAttacked(Player&)
bool Dragon::getAttacked(Player & p) {
    
    bool Killed = p.attack(*this);

    // Check if Dragon is dead
    if (Killed) {
        isAlive = false;
    }

    return Killed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
andb $0x1, %al
movb %al, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
je 0x34995
movq -0x20(%rbp), %rax
movb $0x0, 0x20(%rax)
movb -0x11(%rbp), %al
andb $0x1, %al
addq $0x20, %rsp
popq %rbp
retq
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::attack(Shade&)
bool Dragon::attack(Shade & s) {
    // Determine attack success/fail
    if (std::rand() % 2 == 0) {
        // Attack failed
        return false;
    } // Else, attack proceeds
    
    // Calculate damage dealt
    double damage = std::ceil(100/(100 + s.getDef()) * this->getAtk());

    // Set new defender HP
    s.setHP(s.getHP() - damage);

    // Check if defender died
    if (s.getHP() <= 0) {
        s.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x349d3
movb $0x0, -0x1(%rbp)
jmp 0x34a62
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x28(%rbp), %rdi
movsd 0x9658(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x964c(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x30(%rbp), %rdi
subsd -0x20(%rbp), %xmm0
callq 0x347c0
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x34a5e
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x34a62
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::attack(Drow&)
bool Dragon::attack(Drow & d) {
    // Determine attack success/fail
    if (std::rand() % 2 == 0) {
        // Attack failed
        return false;
    } // Else, attack proceeds
    
    // Calculate damage dealt
    double damage = std::ceil(100/(100 + d.getDef()) * this->getAtk());

    // Set new defender HP
    d.setHP(d.getHP() - damage);

    // Check if defender died
    if (d.getHP() <= 0) {
        d.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x34aa3
movb $0x0, -0x1(%rbp)
jmp 0x34b32
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x28(%rbp), %rdi
movsd 0x9588(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x957c(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x30(%rbp), %rdi
subsd -0x20(%rbp), %xmm0
callq 0x347c0
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x34b2e
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x34b32
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::attack(Vampire&)
bool Dragon::attack(Vampire & v) {
    // Determine attack success/fail
    if (std::rand() % 2 == 0) {
        // Attack failed
        return false;
    } // Else, attack proceeds
    
    // Calculate damage dealt
    double damage = std::ceil(100/(100 + v.getDef()) * this->getAtk());

    // Set new defender HP
    v.setHP(v.getHP() - damage);

    // Check if defender died
    if (v.getHP() <= 0) {
        v.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x34b73
movb $0x0, -0x1(%rbp)
jmp 0x34c02
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x28(%rbp), %rdi
movsd 0x94b8(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x94ac(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x30(%rbp), %rdi
subsd -0x20(%rbp), %xmm0
callq 0x347c0
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x34bfe
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x34c02
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::attack(Troll&)
bool Dragon::attack(Troll & t) {
    // Determine attack success/fail
    if (std::rand() % 2 == 0) {
        // Attack failed
        return false;
    } // Else, attack proceeds
    
    // Calculate damage dealt
    double damage = std::ceil(100/(100 + t.getDef()) * this->getAtk());

    // Set new defender HP
    t.setHP(t.getHP() - damage);

    // Check if defender died
    if (t.getHP() <= 0) {
        t.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x34c43
movb $0x0, -0x1(%rbp)
jmp 0x34cd2
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x28(%rbp), %rdi
movsd 0x93e8(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x93dc(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x30(%rbp), %rdi
subsd -0x20(%rbp), %xmm0
callq 0x347c0
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x34cce
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x34cd2
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/dragon.cc
// Function: Dragon::attack(Goblin&)
bool Dragon::attack(Goblin & g) {
    // Determine attack success/fail
    if (std::rand() % 2 == 0) {
        // Attack failed
        return false;
    } // Else, attack proceeds
    
    // Calculate damage dealt
    double damage = std::ceil(100/(100 + g.getDef()) * this->getAtk());

    // Set new defender HP
    g.setHP(g.getHP() - damage);

    // Check if defender died
    if (g.getHP() <= 0) {
        g.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x34d13
movb $0x0, -0x1(%rbp)
jmp 0x34da2
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x28(%rbp), %rdi
movsd 0x9318(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x930c(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x38(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x38(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x30(%rbp), %rdi
subsd -0x20(%rbp), %xmm0
callq 0x347c0
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x34d9e
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x34da2
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/elf.cc
// Function: Elf::attack(Shade&)
bool Elf::attack(Shade & s) {
    // SPECIAL EFFECT: gets two attacks 
    for (int i = 0; i < 2; i++) {
        // Determine attack success/fail
        if (std::rand() % 2 == 0) {
            // Attack failed
            continue;
        } // Else, attack proceeds
        
        // Calculate damage dealt
        double damage = std::ceil(100/(100 + s.getDef()) * this->getAtk());

        // Set new defender HP
        s.setHP(s.getHP() - damage);
    }

    // Check if defender died
    if (s.getHP() <= 0) {
        s.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x1c(%rbp)
cmpl $0x2, -0x1c(%rbp)
jge 0x3544f
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x353dd
jmp 0x35441
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x30(%rbp), %rdi
movsd 0x8c4e(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x8c42(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x40(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x38(%rbp), %rdi
subsd -0x28(%rbp), %xmm0
callq 0x347c0
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x353bf
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x35476
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x3547a
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: kaiming[P]Chamber-Crawler-3k/Enemy/elf.cc
// Function: Elf::attack(Troll&)
bool Elf::attack(Troll & t) {
    // SPECIAL EFFECT: gets two attacks 
    for (int i = 0; i < 2; i++) {
        // Determine attack success/fail
        if (std::rand() % 2 == 0) {
            // Attack failed
            continue;
        } // Else, attack proceeds
        
        // Calculate damage dealt
        double damage = std::ceil(100/(100 + t.getDef()) * this->getAtk());

        // Set new defender HP
        t.setHP(t.getHP() - damage);
    }

    // Check if defender died
    if (t.getHP() <= 0) {
        t.setHP(0);
        return true;
    }

    // Defender alive otherwise
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x1c(%rbp)
cmpl $0x2, -0x1c(%rbp)
jge 0x356ff
callq 0x60c0
movl $0x2, %ecx
cltd
idivl %ecx
cmpl $0x0, %edx
jne 0x3568d
jmp 0x356f1
movq -0x18(%rbp), %rdi
callq 0x347a0
movq -0x30(%rbp), %rdi
movsd 0x899e(%rip), %xmm1     # 0x3e040
addsd %xmm0, %xmm1
movsd 0x8992(%rip), %xmm0     # 0x3e040
divsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
callq 0x34780
movaps %xmm0, %xmm1
movsd -0x40(%rbp), %xmm0
mulsd %xmm1, %xmm0
callq 0x6060
movsd %xmm0, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x18(%rbp), %rdi
callq 0x34760
movq -0x38(%rbp), %rdi
subsd -0x28(%rbp), %xmm0
callq 0x347c0
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x3566f
movq -0x18(%rbp), %rdi
callq 0x34760
movaps %xmm0, %xmm1
xorps %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jb 0x35726
movq -0x18(%rbp), %rdi
xorps %xmm0, %xmm0
callq 0x347c0
movb $0x1, -0x1(%rbp)
jmp 0x3572a
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)