LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HMC5883L/HMC5883L.cpp
// Function: HMC5883L::initialize()
void HMC5883L::initialize() {
    // write CONFIG_A register
    I2Cdev::writeByte(devAddr, HMC5883L_RA_CONFIG_A,
        (HMC5883L_AVERAGING_8 << (HMC5883L_CRA_AVERAGE_BIT - HMC5883L_CRA_AVERAGE_LENGTH + 1)) |
        (HMC5883L_RATE_15     << (HMC5883L_CRA_RATE_BIT - HMC5883L_CRA_RATE_LENGTH + 1)) |
        (HMC5883L_BIAS_NORMAL << (HMC5883L_CRA_BIAS_BIT - HMC5883L_CRA_BIAS_LENGTH + 1)));

    // write CONFIG_B register
    setGain(HMC5883L_GAIN_1090);
    
    // write MODE register
    setMode(HMC5883L_MODE_SINGLE);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
xorl %esi, %esi
movl $0x70, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x1, %esi
movl $0x20, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x2, %esi
movl $0x1, %edx
callq 0x1f5d0
movb $0x1, 0x7(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HMC5883L/HMC5883L.cpp
// Function: HMC5883L::getHeading(short*, short*, short*)
void HMC5883L::getHeading(int16_t *x, int16_t *y, int16_t *z) {
    I2Cdev::readBytes(devAddr, HMC5883L_RA_DATAX_H, 6, buffer);
    if (mode == HMC5883L_MODE_SINGLE) I2Cdev::writeByte(devAddr, HMC5883L_RA_MODE, HMC5883L_MODE_SINGLE << (HMC5883L_MODEREG_BIT - HMC5883L_MODEREG_LENGTH + 1));
    *x = (((int16_t)buffer[0]) << 8) | buffer[1];
    *y = (((int16_t)buffer[4]) << 8) | buffer[5];
    *z = (((int16_t)buffer[2]) << 8) | buffer[3];
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movzbl (%rdi), %edi
leaq 0x1(%r15), %rcx
movq 0x1f432(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x3, %esi
movl $0x6, %edx
callq 0x1f630
cmpb $0x1, 0x7(%r15)
jne 0x27b43
movzbl (%r15), %edi
movl $0x2, %esi
movl $0x1, %edx
callq 0x1f5d0
movzwl 0x1(%r15), %eax
rolw $0x8, %ax
movw %ax, (%r12)
movzwl 0x5(%r15), %eax
rolw $0x8, %ax
movw %ax, (%r14)
movzwl 0x3(%r15), %eax
rolw $0x8, %ax
movw %ax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HMC5883L/HMC5883L.cpp
// Function: HMC5883L::getHeadingX()
int16_t HMC5883L::getHeadingX() {
    // each axis read requires that ALL axis registers be read, even if only
    // one is used; this was not done ineffiently in the code by accident
    I2Cdev::readBytes(devAddr, HMC5883L_RA_DATAX_H, 6, buffer);
    if (mode == HMC5883L_MODE_SINGLE) I2Cdev::writeByte(devAddr, HMC5883L_RA_MODE, HMC5883L_MODE_SINGLE << (HMC5883L_MODEREG_BIT - HMC5883L_MODEREG_LENGTH + 1));
    return (((int16_t)buffer[0]) << 8) | buffer[1];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1f3c0(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x3, %esi
movl $0x6, %edx
callq 0x1f630
cmpb $0x1, 0x7(%rbx)
jne 0x27bb3
movzbl (%rbx), %edi
movl $0x2, %esi
movl $0x1, %edx
callq 0x1f5d0
movzwl 0x1(%rbx), %eax
rolw $0x8, %ax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HMC5883L/HMC5883L.cpp
// Function: HMC5883L::getHeadingY()
int16_t HMC5883L::getHeadingY() {
    // each axis read requires that ALL axis registers be read, even if only
    // one is used; this was not done ineffiently in the code by accident
    I2Cdev::readBytes(devAddr, HMC5883L_RA_DATAX_H, 6, buffer);
    if (mode == HMC5883L_MODE_SINGLE) I2Cdev::writeByte(devAddr, HMC5883L_RA_MODE, HMC5883L_MODE_SINGLE << (HMC5883L_MODEREG_BIT - HMC5883L_MODEREG_LENGTH + 1));
    return (((int16_t)buffer[4]) << 8) | buffer[5];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1f378(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x3, %esi
movl $0x6, %edx
callq 0x1f630
cmpb $0x1, 0x7(%rbx)
jne 0x27bfb
movzbl (%rbx), %edi
movl $0x2, %esi
movl $0x1, %edx
callq 0x1f5d0
movzwl 0x5(%rbx), %eax
rolw $0x8, %ax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HMC5883L/HMC5883L.cpp
// Function: HMC5883L::getHeadingZ()
int16_t HMC5883L::getHeadingZ() {
    // each axis read requires that ALL axis registers be read, even if only
    // one is used; this was not done ineffiently in the code by accident
    I2Cdev::readBytes(devAddr, HMC5883L_RA_DATAX_H, 6, buffer);
    if (mode == HMC5883L_MODE_SINGLE) I2Cdev::writeByte(devAddr, HMC5883L_RA_MODE, HMC5883L_MODE_SINGLE << (HMC5883L_MODEREG_BIT - HMC5883L_MODEREG_LENGTH + 1));
    return (((int16_t)buffer[2]) << 8) | buffer[3];
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1f330(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x3, %esi
movl $0x6, %edx
callq 0x1f630
cmpb $0x1, 0x7(%rbx)
jne 0x27c43
movzbl (%rbx), %edi
movl $0x2, %esi
movl $0x1, %edx
callq 0x1f5d0
movzwl 0x3(%rbx), %eax
rolw $0x8, %ax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HTU21D/HTU21D.cpp
// Function: HTU21D::testConnection()
bool HTU21D::testConnection() {
    reset();
    buffer[0] = 0;
    I2Cdev::readByte(devAddr, HTU21D_READ_USER_REGISTER, buffer);
    return buffer[0] == 0x2;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
movl $0xfe, %esi
xorl %edx, %edx
callq 0x1f5d0
movl $0xf, %edi
callq 0x1f460
leaq 0x1(%rbx), %rdx
movb $0x0, 0x1(%rbx)
movzbl (%rbx), %edi
movq 0x1f1c9(%rip), %rax     # 0x46f48
movzwl (%rax), %ecx
movl $0xe7, %esi
callq 0x1f6d0
cmpb $0x2, 0x1(%rbx)
sete %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HTU21D/HTU21D.cpp
// Function: HTU21D::getTemperature()
float HTU21D::getTemperature() {
    // Ignore the CRC byte
    uint16_t t = 0;
    if (1!=I2Cdev::readWord(devAddr, HTU21D_RA_TEMPERATURE, &t)){
        return NAN;
    }
    // clear the status bits (bit0 & bit1) and calculate the temperature 
    // as per the formula in the datasheet
    return ((float)(t&0xFFFC))*175.72/65536.0-46.85;
}

// Assembly:
pushq %rax
leaq 0x6(%rsp), %rdx
movw $0x0, (%rdx)
movzbl (%rdi), %edi
movq 0x1f19d(%rip), %rax     # 0x46f48
movzwl (%rax), %ecx
movl $0xe3, %esi
callq 0x1f6a0
cmpb $0x1, %al
jne 0x27de6
movzwl 0x6(%rsp), %eax
andl $-0x4, %eax
cvtsi2sd %eax, %xmm0
mulsd 0xe248(%rip), %xmm0     # 0x36018
mulsd 0xe248(%rip), %xmm0     # 0x36020
addsd 0xe248(%rip), %xmm0     # 0x36028
cvtsd2ss %xmm0, %xmm0
jmp 0x27dee
movss 0xe1a6(%rip), %xmm0     # 0x35f94
popq %rax
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/HTU21D/HTU21D.cpp
// Function: HTU21D::getHumidity()
float HTU21D::getHumidity() {
    // Ignore the CRC byte
    uint16_t t = 0;
    if (1!=I2Cdev::readWord(devAddr, HTU21D_RA_HUMIDITY, &t)){
        return NAN;
    }
    // clear the status bits (bit0 & bit1) and calculate the humidity 
    // as per the formula in the datasheet
    return ((float)(t&0xFFFC))*125.0/65536.0-6.0;
}

// Assembly:
pushq %rax
leaq 0x6(%rsp), %rdx
movw $0x0, (%rdx)
movzbl (%rdi), %edi
movq 0x1f143(%rip), %rax     # 0x46f48
movzwl (%rax), %ecx
movl $0xe5, %esi
callq 0x1f6a0
cmpb $0x1, %al
jne 0x27e40
movzwl 0x6(%rsp), %eax
andl $-0x4, %eax
cvtsi2sd %eax, %xmm0
mulsd 0xe206(%rip), %xmm0     # 0x36030
mulsd 0xe1ee(%rip), %xmm0     # 0x36020
addsd 0xe1fe(%rip), %xmm0     # 0x36038
cvtsd2ss %xmm0, %xmm0
jmp 0x27e48
movss 0xe14c(%rip), %xmm0     # 0x35f94
popq %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)
int8_t I2Cdev::readBit(uint8_t devAddr, uint8_t regAddr, uint8_t bitNum, uint8_t *data, uint16_t timeout) {
    uint8_t b;
    uint8_t count = readByte(devAddr, regAddr, &b, timeout);
    *data = b & (1 << bitNum);
    return count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movl $0x1, %r15d
leaq 0x7(%rsp), %r14
movl $0x1, %edx
movq %r14, %rcx
callq 0x1f630
movl %ebp, %ecx
shll %cl, %r15d
andb (%r14), %r15b
movb %r15b, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)
int8_t I2Cdev::readBitW(uint8_t devAddr, uint8_t regAddr, uint8_t bitNum, uint16_t *data, uint16_t timeout) {
    uint16_t b;
    uint8_t count = readWord(devAddr, regAddr, &b, timeout);
    *data = b & (1 << bitNum);
    return count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movl $0x1, %r15d
leaq 0x6(%rsp), %r14
movl $0x1, %edx
movq %r14, %rcx
callq 0x1f230
movl %ebp, %ecx
shll %cl, %r15d
andw (%r14), %r15w
movw %r15w, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned short)
int8_t I2Cdev::readBits(uint8_t devAddr, uint8_t regAddr, uint8_t bitStart, uint8_t length, uint8_t *data, uint16_t timeout) {
    // 01101001 read byte
    // 76543210 bit numbers
    //    xxx   args: bitStart=4, length=3
    //    010   masked
    //   -> 010 shifted
    uint8_t count, b;
    if ((count = readByte(devAddr, regAddr, &b, timeout)) != 0) {
        uint8_t mask = ((1 << length) - 1) << (bitStart - length + 1);
        b &= mask;
        b >>= (bitStart - length + 1);
        *data = b;
    }
    return count;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %r8, %rbx
movl %ecx, %r14d
movl %edx, %ebp
leaq 0xf(%rsp), %rcx
movl $0x1, %edx
movl %r9d, %r8d
callq 0x1f630
testb %al, %al
je 0x27f36
movzbl %r14b, %ecx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
notl %esi
movzbl %bpl, %edx
subl %ecx, %edx
incb %dl
movl %edx, %ecx
shll %cl, %esi
andb 0xf(%rsp), %sil
movzbl %sil, %esi
shrl %cl, %esi
movb %sil, 0xf(%rsp)
movb %sil, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short*, unsigned short)
int8_t I2Cdev::readBitsW(uint8_t devAddr, uint8_t regAddr, uint8_t bitStart, uint8_t length, uint16_t *data, uint16_t timeout) {
    // 1101011001101001 read byte
    // fedcba9876543210 bit numbers
    //    xxx           args: bitStart=12, length=3
    //    010           masked
    //           -> 010 shifted
    uint8_t count;
    uint16_t w;
    if ((count = readWord(devAddr, regAddr, &w, timeout)) != 0) {
        uint16_t mask = ((1 << length) - 1) << (bitStart - length + 1);
        w &= mask;
        w >>= (bitStart - length + 1);
        *data = w;
    }
    return count;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %r8, %rbx
movl %ecx, %r14d
movl %edx, %ebp
leaq 0xe(%rsp), %rcx
movl $0x1, %edx
movl %r9d, %r8d
callq 0x1f230
testb %al, %al
je 0x27f91
movzbl %r14b, %ecx
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
shll %cl, %esi
notl %esi
movzbl %bpl, %edx
subl %ecx, %edx
incb %dl
movl %edx, %ecx
shll %cl, %esi
andw 0xe(%rsp), %si
movzwl %si, %esi
shrl %cl, %esi
movw %si, 0xe(%rsp)
movw %si, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)
bool I2Cdev::writeBit(uint8_t devAddr, uint8_t regAddr, uint8_t bitNum, uint8_t data) {
    uint8_t b;
    readByte(devAddr, regAddr, &b);
    b = (data != 0) ? (b | (1 << bitNum)) : (b & ~(1 << bitNum));
    return writeByte(devAddr, regAddr, b);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
movl %edi, %r15d
movq 0x1ecc1(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
leaq 0xe(%rsp), %r12
movl $0x1, %edx
movq %r12, %rcx
callq 0x1f630
movzbl (%r12), %eax
movl %eax, %ecx
btsl %ebp, %ecx
btrl %ebp, %eax
testl %ebx, %ebx
cmovnel %ecx, %eax
movb %al, (%r12)
leaq 0xf(%rsp), %rcx
movb %al, (%rcx)
movl %r15d, %edi
movl %r14d, %esi
movl $0x1, %edx
callq 0x1f150
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned short)
bool I2Cdev::writeBitW(uint8_t devAddr, uint8_t regAddr, uint8_t bitNum, uint16_t data) {
    uint16_t w;
    readWord(devAddr, regAddr, &w);
    w = (data != 0) ? (w | (1 << bitNum)) : (w & ~(1 << bitNum));
    return writeWord(devAddr, regAddr, w);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r14d
movl %edi, %r15d
movq 0x1ec3f(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
leaq 0xc(%rsp), %r12
movl $0x1, %edx
movq %r12, %rcx
callq 0x1f230
movzwl (%r12), %eax
movl %eax, %ecx
btsl %ebp, %ecx
btrl %ebp, %eax
testl %ebx, %ebx
cmovnel %ecx, %eax
movw %ax, (%r12)
leaq 0xe(%rsp), %rcx
movw %ax, (%rcx)
movl %r15d, %edi
movl %r14d, %esi
movl $0x1, %edx
callq 0x1f7d0
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)
bool I2Cdev::writeBits(uint8_t devAddr, uint8_t regAddr, uint8_t bitStart, uint8_t length, uint8_t data) {
    //      010 value to write
    // 76543210 bit numbers
    //    xxx   args: bitStart=4, length=3
    // 00011100 mask byte
    // 10101111 original value (sample)
    // 10100011 original & ~mask
    // 10101011 masked | value
    uint8_t b;
    if (readByte(devAddr, regAddr, &b) != 0) {
        uint8_t mask = ((1 << length) - 1) << (bitStart - length + 1);
        data <<= (bitStart - length + 1); // shift data into correct position
        data &= mask; // zero all non-important bits in data
        b &= ~(mask); // zero all important bits in existing byte
        b |= data; // combine data with existing byte
        return writeByte(devAddr, regAddr, b);
    } else {
        return false;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %r14d
movl %ecx, %r12d
movl %edx, %r15d
movl %esi, %ebx
movl %edi, %ebp
movq 0x1ebb6(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
leaq 0xe(%rsp), %rcx
movl $0x1, %edx
callq 0x1f630
testb %al, %al
je 0x283f3
movzbl %r12b, %ecx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
notl %edx
movzbl %r15b, %eax
subl %ecx, %eax
incb %al
movzbl %r14b, %esi
andl %edx, %esi
movl %eax, %ecx
shll %cl, %edx
shll %cl, %esi
notb %dl
andb 0xe(%rsp), %dl
orb %dl, %sil
movb %sil, 0xe(%rsp)
leaq 0xf(%rsp), %rcx
movb %sil, (%rcx)
movzbl %bpl, %edi
movzbl %bl, %esi
movl $0x1, %edx
callq 0x1f150
jmp 0x283f5
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/I2Cdev/I2Cdev.cpp
// Function: I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned short)
bool I2Cdev::writeBitsW(uint8_t devAddr, uint8_t regAddr, uint8_t bitStart, uint8_t length, uint16_t data) {
    //              010 value to write
    // fedcba9876543210 bit numbers
    //    xxx           args: bitStart=12, length=3
    // 0001110000000000 mask word
    // 1010111110010110 original value (sample)
    // 1010001110010110 original & ~mask
    // 1010101110010110 masked | value
    uint16_t w;
    if (readWord(devAddr, regAddr, &w) != 0) {
        uint16_t mask = ((1 << length) - 1) << (bitStart - length + 1);
        data <<= (bitStart - length + 1); // shift data into correct position
        data &= mask; // zero all non-important bits in data
        w &= ~(mask); // zero all important bits in existing word
        w |= data; // combine data with existing word
        return writeWord(devAddr, regAddr, w);
    } else {
        return false;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %r14d
movl %ecx, %r12d
movl %edx, %r15d
movl %esi, %ebx
movl %edi, %ebp
movq 0x1eb26(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
leaq 0xc(%rsp), %rcx
movl $0x1, %edx
callq 0x1f230
testb %al, %al
je 0x28482
movzbl %r12b, %ecx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
shll %cl, %edx
notl %edx
movzbl %r15b, %eax
subl %ecx, %eax
incb %al
andl %edx, %r14d
movl %eax, %ecx
shll %cl, %edx
shll %cl, %r14d
notl %edx
andw 0xc(%rsp), %dx
orl %r14d, %edx
movw %dx, 0xc(%rsp)
leaq 0xe(%rsp), %rcx
movw %dx, (%rcx)
movzbl %bpl, %edi
movzbl %bl, %esi
movl $0x1, %edx
callq 0x1f7d0
jmp 0x28484
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/IAQ2000/IAQ2000.cpp
// Function: IAQ2000::testConnection()
bool IAQ2000::testConnection() {
    if (getIaqpred() >= 450) {
        return true;
    }
    else {
    return false;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %esi
leaq 0x1(%rdi), %rcx
movq 0x1e9b0(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x2, %edx
callq 0x1f7e0
movzwl 0x1(%rbx), %eax
rolw $0x8, %ax
movzwl %ax, %eax
cmpl $0x1c2, %eax            # imm = 0x1C2
setae %al
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/IAQ2000/IAQ2000.cpp
// Function: IAQ2000::readAllBytes(unsigned char, unsigned char, unsigned char*, unsigned short)
int8_t IAQ2000::readAllBytes(uint8_t devAddr, uint8_t length, uint8_t *data, uint16_t timeout) {
#ifdef I2CDEV_SERIAL_DEBUG
    Serial.print("I2C (0x");
    Serial.print(devAddr, HEX);
    Serial.print(") reading ");
    Serial.print(length, DEC);
    Serial.print(" bytes...");
#endif
    
    int8_t count = 0;

    Wire.requestFrom(devAddr, length);
    
    uint32_t t1 = millis();
    for (; Wire.available() && (timeout == 0 || millis() - t1 < timeout); count++) {
#if ((I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE && ARDUINO < 100) || I2CDEV_IMPLEMENTATION == I2CDEV_BUILTIN_NBWIRE)
        data[count] = Wire.receive();
#elif (I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE && ARDUINO >= 100)
        data[count] = Wire.read();
#endif
#ifdef I2CDEV_SERIAL_DEBUG
        Serial.print(data[count], HEX);
        if (count + 1 < length) Serial.print(" ");
#endif
    }
    if (timeout > 0 && millis() - t1 >= timeout && count < length) count = -1; // timeout
    
#ifdef I2CDEV_SERIAL_DEBUG
    Serial.print(". Done (");
    Serial.print(count, DEC);
    Serial.println(" read).");
#endif
    
    return count;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %r12
movl %edx, %ebx
movq 0x1e978(%rip), %r14     # 0x46f78
movq %r14, %rdi
callq 0x1f8b0
callq 0x1f600
movl %eax, %r15d
movq %r14, %rdi
callq 0x1f4b0
xorl %r14d, %r14d
testl %eax, %eax
je 0x28656
movq 0x1e952(%rip), %r13     # 0x46f78
testw %bp, %bp
je 0x28637
callq 0x1f600
subl %r15d, %eax
cmpl %ebp, %eax
jae 0x28656
movq %r13, %rdi
callq 0x1f9b0
movsbq %r14b, %r14
movb %al, (%r12,%r14)
incb %r14b
movq %r13, %rdi
callq 0x1f4b0
testl %eax, %eax
jne 0x28626
testw %bp, %bp
je 0x28680
movzwl %bp, %ebp
callq 0x1f600
subl %r15d, %eax
cmpl %ebp, %eax
jb 0x28680
movsbl %r14b, %eax
movzbl %bl, %ecx
cmpl %ecx, %eax
movzbl %al, %eax
movl $0xff, %r14d
cmovgel %eax, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/ITG3200/ITG3200.cpp
// Function: ITG3200::getRotation(short*, short*, short*)
void ITG3200::getRotation(int16_t* x, int16_t* y, int16_t* z) {
    I2Cdev::readBytes(devAddr, ITG3200_RA_GYRO_XOUT_H, 6, buffer);
    *x = (((int16_t)buffer[0]) << 8) | buffer[1];
    *y = (((int16_t)buffer[2]) << 8) | buffer[3];
    *z = (((int16_t)buffer[4]) << 8) | buffer[5];
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movzbl (%rdi), %edi
leaq 0x1(%r12), %rcx
movq 0x1e491(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0x1d, %esi
movl $0x6, %edx
callq 0x1f630
movzwl 0x1(%r12), %eax
rolw $0x8, %ax
movw %ax, (%r15)
movzwl 0x3(%r12), %eax
rolw $0x8, %ax
movw %ax, (%r14)
movzwl 0x5(%r12), %eax
rolw $0x8, %ax
movw %ax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::initialize()
void L3G4200D::initialize() {
	I2Cdev::writeByte(devAddr, L3G4200D_RA_CTRL_REG1, 0b00001111);
    I2Cdev::writeByte(devAddr, L3G4200D_RA_CTRL_REG2, 0b00000000);
    I2Cdev::writeByte(devAddr, L3G4200D_RA_CTRL_REG3, 0b00000000);
    I2Cdev::writeByte(devAddr, L3G4200D_RA_CTRL_REG4, 0b00000000);
    I2Cdev::writeByte(devAddr, L3G4200D_RA_CTRL_REG5, 0b00000000);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
movl $0x20, %esi
movl $0xf, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x21, %esi
xorl %edx, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x22, %esi
xorl %edx, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x23, %esi
xorl %edx, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movl $0x24, %esi
xorl %edx, %edx
popq %rbx
jmp 0x1f5d0
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::setOutputDataRate(unsigned short)
void L3G4200D::setOutputDataRate(uint16_t rate) {
	uint8_t writeVal;
	
	if (rate == 100) {
		writeVal = L3G4200D_RATE_100;
	} else if (rate == 200) {
		writeVal = L3G4200D_RATE_200;
	} else if (rate == 400) {
		writeVal = L3G4200D_RATE_400;
	} else {
		writeVal = L3G4200D_RATE_800;
	}
	
	I2Cdev::writeBits(devAddr, L3G4200D_RA_CTRL_REG1, L3G4200D_ODR_BIT,
		L3G4200D_ODR_LENGTH, writeVal); 
}

// Assembly:
cmpl $0x64, %esi
je 0x28da5
cmpl $0x190, %esi            # imm = 0x190
je 0x28da1
cmpl $0xc8, %esi
jne 0x28da9
movb $0x1, %al
jmp 0x28dab
movb $0x2, %al
jmp 0x28dab
xorl %eax, %eax
jmp 0x28dab
movb $0x3, %al
movzbl (%rdi), %edi
movzbl %al, %r8d
movl $0x20, %esi
movl $0x7, %edx
movl $0x2, %ecx
jmp 0x1f6b0
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getOutputDataRate()
uint16_t L3G4200D::getOutputDataRate() {
	I2Cdev::readBits(devAddr, L3G4200D_RA_CTRL_REG1, L3G4200D_ODR_BIT, 
		L3G4200D_ODR_LENGTH, buffer);
	uint8_t rate = buffer[0];

	if (rate == L3G4200D_RATE_100) {
		return 100;
	} else if (rate == L3G4200D_RATE_200) {
		return 200;
	} else if (rate == L3G4200D_RATE_400) {
		return 400;
	}
	return 800;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %r8
movq 0x1e170(%rip), %rax     # 0x46f48
movzwl (%rax), %r9d
movl $0x20, %esi
movl $0x7, %edx
movl $0x2, %ecx
callq 0x1f930
movzbl 0x1(%rbx), %eax
movl %eax, %ecx
shll $0x4, %ecx
movabsq $0x19000c80064, %rdx    # imm = 0x19000C80064
shrq %cl, %rdx
cmpb $0x3, %al
movl $0x320, %eax            # imm = 0x320
cmovbl %edx, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getBandwidthCutOff()
float L3G4200D::getBandwidthCutOff() {
	uint16_t dataRate = getOutputDataRate();
	uint8_t bandwidthMode = getBandwidthCutOffMode();

	if (dataRate == 100) {
		if (bandwidthMode == L3G4200D_BW_LOW) {
			return 12.5;
		} else {
			return 25.0;
		}
	} else if (dataRate == 200) {
		if (bandwidthMode == L3G4200D_BW_LOW) {
			return 12.5;
		} else if (bandwidthMode == L3G4200D_BW_MED_LOW) {
			return 25.0;
		} else if (bandwidthMode == L3G4200D_BW_MED_HIGH) {
			return 50.0;
		} else {
			return 70.0;
		}
	} else if (dataRate == 400) {
		if (bandwidthMode == L3G4200D_BW_LOW) {
			return 20.0;
		} else if (bandwidthMode == L3G4200D_BW_MED_LOW) {
			return 25.0;
		} else if (bandwidthMode == L3G4200D_BW_MED_HIGH) {
			return 50.0;
		} else {
			return 110.0;
		}
	} else {
		if (bandwidthMode == L3G4200D_BW_LOW) {
			return 30.0;
		} else if (bandwidthMode == L3G4200D_BW_MED_LOW) {
			return 35.0;
		} else if (bandwidthMode == L3G4200D_BW_MED_HIGH) {
			return 50.0;
		} else {
			return 110.0;
		}
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x1f7a0
movl %eax, %ebp
movzbl (%rbx), %edi
leaq 0x1(%rbx), %r8
movq 0x1e0d1(%rip), %rax     # 0x46f48
movzwl (%rax), %r9d
movl $0x20, %esi
movl $0x5, %edx
movl $0x2, %ecx
callq 0x1f930
movzbl 0x1(%rbx), %eax
movzwl %bp, %ecx
cmpl $0x190, %ecx            # imm = 0x190
je 0x28ece
cmpl $0xc8, %ecx
je 0x28ec1
cmpl $0x64, %ecx
jne 0x28edb
xorl %ecx, %ecx
testq %rax, %rax
sete %cl
leaq 0xd18e(%rip), %rax      # 0x36048
movss (%rax,%rcx,4), %xmm0
jmp 0x28eff
cmpb $0x3, %al
jae 0x28ef7
leaq 0xd184(%rip), %rcx      # 0x36050
jmp 0x28ee6
cmpb $0x3, %al
jae 0x28eed
leaq 0xd183(%rip), %rcx      # 0x3605c
jmp 0x28ee6
cmpb $0x3, %al
jae 0x28eed
leaq 0xd182(%rip), %rcx      # 0x36068
movss (%rcx,%rax,4), %xmm0
jmp 0x28eff
movss 0xd14b(%rip), %xmm0     # 0x36040
jmp 0x28eff
movss 0xd145(%rip), %xmm0     # 0x36044
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getFullScale()
uint16_t L3G4200D::getFullScale() {
	I2Cdev::readBits(devAddr, L3G4200D_RA_CTRL_REG4, 
		L3G4200D_FS_BIT, L3G4200D_FS_LENGTH, buffer);
	uint8_t readBits = buffer[0];
	
	if (readBits == L3G4200D_FS_250) {
		return 250;
	} else if (readBits == L3G4200D_FS_500) {
		return 500;
	} else {
		return 2000;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %r8
movq 0x1dbfc(%rip), %rax     # 0x46f48
movzwl (%rax), %r9d
movl $0x23, %esi
movl $0x5, %edx
movl $0x2, %ecx
callq 0x1f930
movb 0x1(%rbx), %al
cmpb $0x1, %al
movl $0x1f4, %ecx            # imm = 0x1F4
movl $0x7d0, %edx            # imm = 0x7D0
cmovel %ecx, %edx
testb %al, %al
movl $0xfa, %eax
cmovnel %edx, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::setDataFilter(unsigned char)
void L3G4200D::setDataFilter(uint8_t filter) {
	if (filter == L3G4200D_HIGH_PASS || filter == L3G4200D_LOW_HIGH_PASS) {
		setHighPassFilterEnabled(true);
	} else {
		setHighPassFilterEnabled(false);
	}
	
	I2Cdev::writeBits(devAddr, L3G4200D_RA_CTRL_REG5, L3G4200D_OUT_SEL_BIT, 
		L3G4200D_OUT_SEL_LENGTH, filter);
	I2Cdev::writeBits(devAddr, L3G4200D_RA_CTRL_REG5, L3G4200D_INT1_SEL_BIT, 
		L3G4200D_INT1_SEL_LENGTH, filter);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %ebx, %eax
andb $-0x3, %al
xorl %ecx, %ecx
cmpb $0x1, %al
sete %cl
movzbl (%rdi), %edi
movl $0x24, %esi
movl $0x4, %edx
callq 0x1f980
movzbl (%r14), %edi
movl $0x24, %esi
movl $0x1, %edx
movl $0x2, %ecx
movl %ebx, %r8d
callq 0x1f6b0
movzbl (%r14), %edi
movl $0x24, %esi
movl $0x3, %edx
movl $0x2, %ecx
movl %ebx, %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1f6b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getDataFilter()
uint8_t L3G4200D::getDataFilter() {
	I2Cdev::readBits(devAddr, L3G4200D_RA_CTRL_REG5, L3G4200D_OUT_SEL_BIT, 
		L3G4200D_OUT_SEL_LENGTH, buffer);
	uint8_t outBits = buffer[0];

	if (outBits == L3G4200D_NON_HIGH_PASS || outBits == L3G4200D_HIGH_PASS) {
		return outBits;
	}

	if (getHighPassFilterEnabled()) {
		return L3G4200D_LOW_HIGH_PASS;
	} else {
		return L3G4200D_LOW_PASS;
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %r14
movq 0x1da28(%rip), %r15     # 0x46f48
movzwl (%r15), %r9d
movl $0x24, %esi
movl $0x1, %edx
movl $0x2, %ecx
movq %r14, %r8
callq 0x1f930
movb 0x1(%rbx), %al
cmpb $0x2, %al
jb 0x29564
movzbl (%rbx), %edi
movzwl (%r15), %r8d
movl $0x24, %esi
movl $0x4, %edx
movq %r14, %rcx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
sete %al
xorb $0x3, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getAngularVelocityX()
int16_t L3G4200D::getAngularVelocityX() {
	uint8_t bufferL[6];
	uint8_t bufferH[6];
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_X_L, 1, bufferL);
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_X_H, 1, bufferH);
	if (getEndianMode() == L3G4200D_BIG_ENDIAN) {
		return (((int16_t) bufferL[0]) << 8) | bufferH[0];
	} else {
		return (((int16_t) bufferH[0]) << 8) | bufferL[0];
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movzbl (%rdi), %edi
movq 0x1d7c0(%rip), %r12     # 0x46f48
movzwl (%r12), %r8d
leaq 0x12(%rsp), %r14
movl $0x28, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1f630
movzbl (%rbx), %edi
movzwl (%r12), %r8d
leaq 0xc(%rsp), %r15
movl $0x29, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x1f630
movzbl (%rbx), %edi
leaq 0x1(%rbx), %rcx
movzwl (%r12), %r8d
movl $0x23, %esi
movl $0x6, %edx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movq %r15, %rax
cmoveq %r14, %rax
cmoveq %r15, %r14
movzbl (%r14), %ecx
shll $0x8, %ecx
movzbl (%rax), %eax
orl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getAngularVelocityY()
int16_t L3G4200D::getAngularVelocityY() {
	uint8_t bufferL[6];
	uint8_t bufferH[6];
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_Y_L, 1, bufferL);
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_Y_H, 1, bufferH);
	if (getEndianMode() == L3G4200D_BIG_ENDIAN) {
		return (((int16_t) bufferL[0]) << 8) | bufferH[0];
	} else {
		return (((int16_t) bufferH[0]) << 8) | bufferL[0];
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movzbl (%rdi), %edi
movq 0x1d72a(%rip), %r12     # 0x46f48
movzwl (%r12), %r8d
leaq 0x12(%rsp), %r14
movl $0x2a, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1f630
movzbl (%rbx), %edi
movzwl (%r12), %r8d
leaq 0xc(%rsp), %r15
movl $0x2b, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x1f630
movzbl (%rbx), %edi
leaq 0x1(%rbx), %rcx
movzwl (%r12), %r8d
movl $0x23, %esi
movl $0x6, %edx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movq %r15, %rax
cmoveq %r14, %rax
cmoveq %r15, %r14
movzbl (%r14), %ecx
shll $0x8, %ecx
movzbl (%rax), %eax
orl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3G4200D/L3G4200D.cpp
// Function: L3G4200D::getAngularVelocityZ()
int16_t L3G4200D::getAngularVelocityZ() {
	uint8_t bufferL[6];
	uint8_t bufferH[6];
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_Z_L, 1, bufferL);
	I2Cdev::readBytes(devAddr, L3G4200D_RA_OUT_Z_H, 1, bufferH);
	if (getEndianMode() == L3G4200D_BIG_ENDIAN) {
		return (((int16_t) bufferL[0]) << 8) | bufferH[0];
	} else {
		return (((int16_t) bufferH[0]) << 8) | bufferL[0];
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movzbl (%rdi), %edi
movq 0x1d694(%rip), %r12     # 0x46f48
movzwl (%r12), %r8d
leaq 0x12(%rsp), %r14
movl $0x2c, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x1f630
movzbl (%rbx), %edi
movzwl (%r12), %r8d
leaq 0xc(%rsp), %r15
movl $0x2d, %esi
movl $0x1, %edx
movq %r15, %rcx
callq 0x1f630
movzbl (%rbx), %edi
leaq 0x1(%rbx), %rcx
movzwl (%r12), %r8d
movl $0x23, %esi
movl $0x6, %edx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movq %r15, %rax
cmoveq %r14, %rax
cmoveq %r15, %r14
movzbl (%r14), %ecx
shll $0x8, %ecx
movzbl (%rax), %eax
orl %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::setOutputDataRate(unsigned short)
void L3GD20H::setOutputDataRate(uint16_t rate) {
	uint8_t writeVal;
	bool lowODRwriteVal;

	if (rate ==12) {
		writeVal = L3GD20H_RATE_100_12;
		setLowODREnabled(true);
	} else if (rate == 25) {
		writeVal = L3GD20H_RATE_200_25;
		setLowODREnabled(true);
	} else if (rate == 50) {
		writeVal = L3GD20H_RATE_400_50;
		setLowODREnabled(true);
	} else if (rate == 100) {
		writeVal = L3GD20H_RATE_100_12;
		setLowODREnabled(false);
	} else if (rate == 200) {
		writeVal = L3GD20H_RATE_200_25;
		setLowODREnabled(false);
	} else if (rate == 400) {
		writeVal = L3GD20H_RATE_400_50;
		setLowODREnabled(false);
	} else {
		writeVal = L3GD20H_RATE_800_50;
		setLowODREnabled(false);
	}
	
	I2Cdev::writeBits(devAddr, L3GD20H_RA_CTRL1, L3GD20H_ODR_BIT,
		L3GD20H_ODR_LENGTH, writeVal); 
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb (%rdi), %al
cmpl $0x63, %esi
jg 0x2a063
movb $0x1, %cl
cmpl $0xc, %esi
je 0x2a07f
cmpl $0x19, %esi
je 0x2a088
cmpl $0x32, %esi
jne 0x2a083
movb $0x2, %bpl
jmp 0x2a094
cmpl $0x64, %esi
je 0x2a07d
cmpl $0xc8, %esi
je 0x2a08f
cmpl $0x190, %esi            # imm = 0x190
jne 0x2a083
movb $0x2, %bpl
jmp 0x2a092
xorl %ecx, %ecx
xorl %ebp, %ebp
jmp 0x2a094
movb $0x3, %bpl
jmp 0x2a092
movb $0x1, %cl
movb $0x1, %bpl
jmp 0x2a094
movb $0x1, %bpl
xorl %ecx, %ecx
movzbl %al, %edi
movzbl %cl, %ecx
movl $0x39, %esi
xorl %edx, %edx
callq 0x1f980
movzbl (%rbx), %edi
movzbl %bpl, %r8d
movl $0x20, %esi
movl $0x7, %edx
movl $0x2, %ecx
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x1f6b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::getOutputDataRate()
uint16_t L3GD20H::getOutputDataRate() {
	I2Cdev::readBits(devAddr, L3GD20H_RA_CTRL1, L3GD20H_ODR_BIT, 
		L3GD20H_ODR_LENGTH, buffer);
	uint8_t rate = buffer[0];

	if (rate == L3GD20H_RATE_100_12) {
		if (getLowODREnabled() == true) {
			return 12;
		} else {
			return 100;	
		}
	} else if (rate == L3GD20H_RATE_200_25) {
		if (getLowODREnabled() == true) {
			return 25;
		} else {
			return 200;
		}
	} else if (rate == L3GD20H_RATE_400_50) {
		if (getLowODREnabled() == true) {
			return 50;
		} else {
			return 400;
		}
	} else if (rate == L3GD20H_RATE_800_50) {
		if (getLowODREnabled() == true) {
			return 50;
		} else {
			return 800;
		}
	}
	return 800;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %r14
movq 0x1ce58(%rip), %r15     # 0x46f48
movzwl (%r15), %r9d
movl $0x20, %esi
movl $0x7, %edx
movl $0x2, %ecx
movq %r14, %r8
callq 0x1f930
movzbl 0x1(%rbx), %eax
cmpq $0x3, %rax
ja 0x2a1c3
leaq 0xbf54(%rip), %rcx      # 0x36074
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movzbl (%rbx), %edi
movzwl (%r15), %r8d
movl $0x39, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movl $0x64, %ecx
movl $0xc, %eax
jmp 0x2a1ba
movzbl (%rbx), %edi
movzwl (%r15), %r8d
movl $0x39, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movl $0x190, %ecx            # imm = 0x190
jmp 0x2a18f
movzbl (%rbx), %edi
movzwl (%r15), %r8d
movl $0x39, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movl $0x320, %ecx            # imm = 0x320
movl $0x32, %eax
jmp 0x2a1ba
movzbl (%rbx), %edi
movzwl (%r15), %r8d
movl $0x39, %esi
xorl %edx, %edx
movq %r14, %rcx
callq 0x1fa20
cmpb $0x0, 0x1(%rbx)
movl $0xc8, %ecx
movl $0x19, %eax
cmovel %ecx, %eax
popq %rbx
popq %r14
popq %r15
retq
movw $0x320, %ax             # imm = 0x320
jmp 0x2a1bd
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::getAngularVelocity(short*, short*, short*)
void L3GD20H::getAngularVelocity(int16_t* x, int16_t* y, int16_t* z) {
	I2Cdev::readBytes(devAddr, L3GD20H_RA_OUT_X_L | 0x80, 6, buffer);
	if (endianMode == L3GD20H_LITTLE_ENDIAN) {
		*x = (((int16_t)buffer[1]) << 8) | buffer[0];
		*y = (((int16_t)buffer[3]) << 8) | buffer[2];
		*z = (((int16_t)buffer[5]) << 8) | buffer[4];
	} else {
		*x = (((int16_t)buffer[0]) << 8) | buffer[1];
		*y = (((int16_t)buffer[2]) << 8) | buffer[3];
		*z = (((int16_t)buffer[4]) << 8) | buffer[5];
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movzbl (%rdi), %edi
leaq 0x1(%r14), %r13
movq 0x1c449(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xa8, %esi
movl $0x6, %edx
movq %r13, %rcx
callq 0x1f630
cmpb $0x0, 0x7(%r14)
je 0x2ab36
leaq 0x2(%r14), %rsi
movl $0x6, %eax
movl $0x5, %ecx
movl $0x4, %edx
movl $0x3, %edi
jmp 0x2ab51
movq %r13, %rsi
leaq 0x2(%r14), %r13
movl $0x5, %eax
movl $0x6, %ecx
movl $0x3, %edx
movl $0x4, %edi
movzbl (%r13), %r8d
shll $0x8, %r8d
movzbl (%rsi), %esi
orl %r8d, %esi
movw %si, (%r12)
movzbl (%r14,%rdi), %esi
shll $0x8, %esi
movzbl (%r14,%rdx), %edx
orl %esi, %edx
movw %dx, (%r15)
movzbl (%r14,%rcx), %ecx
shll $0x8, %ecx
movzbl (%r14,%rax), %eax
orl %ecx, %eax
movw %ax, (%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::getAngularVelocityX()
int16_t L3GD20H::getAngularVelocityX() {
	I2Cdev::readBytes(devAddr, L3GD20H_RA_OUT_X_L | 0x80, 2, buffer);
	if (endianMode == L3GD20H_LITTLE_ENDIAN) {
		return (((int16_t)buffer[1]) << 8) | buffer[0];
	} else {
		return (((int16_t)buffer[0]) << 8) | buffer[1];
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1c3a2(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xa8, %esi
movl $0x2, %edx
callq 0x1f630
cmpb $0x0, 0x7(%rbx)
movzbl 0x2(%rbx), %eax
movzbl 0x1(%rbx), %ecx
movl %ecx, %edx
cmovel %eax, %edx
cmovnel %eax, %ecx
shll $0x8, %edx
movzbl %cl, %eax
orl %edx, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::getAngularVelocityY()
int16_t L3GD20H::getAngularVelocityY() {
	I2Cdev::readBytes(devAddr, L3GD20H_RA_OUT_Y_L | 0x80, 2, buffer);
	if (endianMode == L3GD20H_LITTLE_ENDIAN) {
		return (((int16_t)buffer[1]) << 8) | buffer[0];
	} else {
		return (((int16_t)buffer[0]) << 8) | buffer[1];
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1c35e(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xaa, %esi
movl $0x2, %edx
callq 0x1f630
cmpb $0x0, 0x7(%rbx)
movzbl 0x2(%rbx), %eax
movzbl 0x1(%rbx), %ecx
movl %ecx, %edx
cmovel %eax, %edx
cmovnel %eax, %ecx
shll $0x8, %edx
movzbl %cl, %eax
orl %edx, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/L3GD20H/L3GD20H.cpp
// Function: L3GD20H::getAngularVelocityZ()
int16_t L3GD20H::getAngularVelocityZ() {
	I2Cdev::readBytes(devAddr, L3GD20H_RA_OUT_Z_L | 0x80, 2, buffer);
	if (endianMode == L3GD20H_LITTLE_ENDIAN) {
		return (((int16_t)buffer[1]) << 8) | buffer[0];
	} else {
		return (((int16_t)buffer[0]) << 8) | buffer[1];
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rcx
movq 0x1c31a(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xac, %esi
movl $0x2, %edx
callq 0x1f630
cmpb $0x0, 0x7(%rbx)
movzbl 0x2(%rbx), %eax
movzbl 0x1(%rbx), %ecx
movl %ecx, %edx
cmovel %eax, %edx
cmovnel %eax, %ecx
shll $0x8, %edx
movzbl %cl, %eax
orl %edx, %eax
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LM73/LM73.cpp
// Function: LM73::getTemp()
float LM73::getTemp() {
    uint16_t buf;
    int16_t temp;
    I2Cdev::readWord(devAddr, LM73_RA_TEMP, &buf);
    temp = buf;
    temp = (temp>>2);
    return 0.03125f * (float)temp;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movzbl (%rdi), %edi
movq 0x1bac1(%rip), %rax     # 0x46f48
movzwl (%rax), %ecx
leaq 0xe(%rsp), %rbx
xorl %esi, %esi
movq %rbx, %rdx
callq 0x1f6a0
movswl (%rbx), %eax
sarl $0x2, %eax
cvtsi2ss %eax, %xmm0
mulss 0xabd9(%rip), %xmm0     # 0x36084
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LM73/LM73.cpp
// Function: LM73::setResolution(unsigned char)
void LM73::setResolution(uint8_t resolution) {
    if(10 < resolution && resolution < 15) {
        LM73::getCtrlStat();
        devCtrlStat.bit.RES = resolution - 11;
        LM73::setCtrlStat(devCtrlStat);
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
leal -0xb(%r14), %eax
cmpb $0x3, %al
ja 0x2b50d
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x1(%rbx), %rdx
movq 0x1ba76(%rip), %rax     # 0x46f48
movzwl (%rax), %ecx
movl $0x4, %esi
callq 0x1f6d0
movb 0x1(%rbx), %al
shlb $0x5, %r14b
addb $0x20, %r14b
andb $0x60, %r14b
andb $-0x61, %al
orb %r14b, %al
movb %al, 0x8(%rbx)
movzbl (%rbx), %edi
movzbl %al, %edx
movl $0x4, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1f5d0
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LSM303DLHC/LSM303DLHC.cpp
// Function: LSM303DLHC::testConnection()
bool LSM303DLHC::testConnection() {
    I2Cdev::readByte(devAddrA, LSM303DLHC_RA_CTRL_REG1_A, buffer);
    uint8_t origValA = buffer[0];
    I2Cdev::readByte(devAddrM, LSM303DLHC_RA_CRA_REG_M, buffer);
    uint8_t origValM = buffer[0];

    uint8_t zeros = 0b00000000;
    I2Cdev::writeByte(devAddrA, LSM303DLHC_RA_CTRL_REG1_A, zeros);
    I2Cdev::writeByte(devAddrM, LSM303DLHC_RA_CRA_REG_M, zeros);
    
    I2Cdev::readByte(devAddrA, LSM303DLHC_RA_CTRL_REG1_A, buffer);
    uint8_t newValA = buffer[0];
    I2Cdev::readByte(devAddrM, LSM303DLHC_RA_CRA_REG_M, buffer);
    uint8_t newValM = buffer[0];
    
    I2Cdev::writeByte(devAddrA, LSM303DLHC_RA_CTRL_REG1_A, origValA);
    I2Cdev::writeByte(devAddrM, LSM303DLHC_RA_CRA_REG_M, origValM);

    if ((newValM == zeros) and (newValA == zeros)) {
      return true;
    }
    return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x2(%rbx), %r14
movq 0x1b9d6(%rip), %r12     # 0x46f48
movzwl (%r12), %ecx
movl $0x20, %esi
movq %r14, %rdx
callq 0x1f6d0
movzbl 0x2(%rbx), %ebp
movzbl 0x1(%rbx), %edi
movzwl (%r12), %ecx
xorl %esi, %esi
movq %r14, %rdx
callq 0x1f6d0
movzbl 0x2(%rbx), %r15d
movzbl (%rbx), %edi
movl $0x20, %esi
xorl %edx, %edx
callq 0x1f5d0
movzbl 0x1(%rbx), %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1f5d0
movzbl (%rbx), %edi
movzwl (%r12), %ecx
movl $0x20, %esi
movq %r14, %rdx
callq 0x1f6d0
movb 0x2(%rbx), %r13b
movzbl 0x1(%rbx), %edi
movzwl (%r12), %ecx
xorl %esi, %esi
movq %r14, %rdx
callq 0x1f6d0
movzbl (%rbx), %edi
orb 0x2(%rbx), %r13b
sete %r14b
movl $0x20, %esi
movl %ebp, %edx
callq 0x1f5d0
movzbl 0x1(%rbx), %edi
xorl %esi, %esi
movl %r15d, %edx
callq 0x1f5d0
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LSM303DLHC/LSM303DLHC.cpp
// Function: LSM303DLHC::setAccelOutputDataRate(unsigned short)
void LSM303DLHC::setAccelOutputDataRate(uint16_t rate) {
  uint8_t writeVal;
  
  if (rate == 0) {
    writeVal = LSM303DLHC_ODR_RATE_POWERDOWN;
  } else if (rate == 1) {
    writeVal = LSM303DLHC_ODR_RATE_1;
  } else if (rate == 10) {
    writeVal = LSM303DLHC_ODR_RATE_10;
  } else if (rate == 25) {
    writeVal = LSM303DLHC_ODR_RATE_25;
  } else if (rate == 50) {
    writeVal = LSM303DLHC_ODR_RATE_50;
  } else if (rate == 100) {
    writeVal = LSM303DLHC_ODR_RATE_100;
  } else if (rate == 200) {
    writeVal = LSM303DLHC_ODR_RATE_200;
  } else if (rate == 400) {
    writeVal = LSM303DLHC_ODR_RATE_400;
  } else if (rate == 1620) {
    writeVal = LSM303DLHC_ODR_RATE_1620_LP;
  } else if (rate == 1344) {
    writeVal = LSM303DLHC_ODR_RATE_1344_N_5376_LP;
  } else if (rate == 5376) {
    writeVal = LSM303DLHC_ODR_RATE_1344_N_5376_LP;
  }
  
  I2Cdev::writeBits(devAddrA, LSM303DLHC_RA_CTRL_REG1_A, LSM303DLHC_ODR_BIT,
    LSM303DLHC_ODR_LENGTH, writeVal); 
}

// Assembly:
xorl %eax, %eax
cmpl $0xc7, %esi
jg 0x2b642
cmpl $0x18, %esi
jle 0x2b666
cmpl $0x19, %esi
je 0x2b690
cmpl $0x32, %esi
je 0x2b694
cmpl $0x64, %esi
jne 0x2b69a
movb $0x5, %al
jmp 0x2b69a
cmpl $0x53f, %esi            # imm = 0x53F
jle 0x2b674
cmpl $0x540, %esi            # imm = 0x540
je 0x2b662
cmpl $0x654, %esi            # imm = 0x654
je 0x2b698
cmpl $0x1500, %esi           # imm = 0x1500
jne 0x2b69a
movb $0x9, %al
jmp 0x2b69a
cmpl $0x1, %esi
je 0x2b688
cmpl $0xa, %esi
jne 0x2b69a
movb $0x2, %al
jmp 0x2b69a
cmpl $0xc8, %esi
je 0x2b68c
cmpl $0x190, %esi            # imm = 0x190
jne 0x2b69a
movb $0x7, %al
jmp 0x2b69a
movb $0x1, %al
jmp 0x2b69a
movb $0x6, %al
jmp 0x2b69a
movb $0x3, %al
jmp 0x2b69a
movb $0x4, %al
jmp 0x2b69a
movb $0x8, %al
movzbl (%rdi), %edi
movzbl %al, %r8d
movl $0x20, %esi
movl $0x7, %edx
movl $0x4, %ecx
jmp 0x1f6b0
nop
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LSM303DLHC/LSM303DLHC.cpp
// Function: LSM303DLHC::getAccelFullScale()
uint8_t LSM303DLHC::getAccelFullScale() {
  I2Cdev::readBits(devAddrA, LSM303DLHC_RA_CTRL_REG4_A, 
    LSM303DLHC_FS_BIT, LSM303DLHC_FS_LENGTH, buffer);
  uint8_t readBits = buffer[0];
  
  if (readBits == LSM303DLHC_FS_2) {
    return 2;
  } else if (readBits == LSM303DLHC_FS_4) {
    return 4;
  } else if (readBits == LSM303DLHC_FS_8) {
    return 8;
  } else {
    return 16;
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x2(%rbx), %r8
movq 0x1b442(%rip), %rax     # 0x46f48
movzwl (%rax), %r9d
movl $0x23, %esi
movl $0x5, %edx
movl $0x2, %ecx
callq 0x1f930
movzbl 0x2(%rbx), %eax
movl %eax, %ecx
shll $0x3, %ecx
movl $0x80402, %edx          # imm = 0x80402
shrl %cl, %edx
cmpb $0x3, %al
movl $0x10, %eax
cmovbl %edx, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LSM303DLHC/LSM303DLHC.cpp
// Function: LSM303DLHC::getAcceleration(short*, short*, short*)
void LSM303DLHC::getAcceleration(int16_t* x, int16_t* y, int16_t* z) {
  I2Cdev::readBytes(devAddrA, LSM303DLHC_RA_OUT_X_L_A | 0x80, 6, buffer);
  if (endianMode == LSM303DLHC_LITTLE_ENDIAN) {
    *x = (((int16_t)buffer[1]) << 8) | buffer[0];
    *y = (((int16_t)buffer[3]) << 8) | buffer[2];
    *z = (((int16_t)buffer[5]) << 8) | buffer[4];
  } else {
    *x = (((int16_t)buffer[0]) << 8) | buffer[1];
    *y = (((int16_t)buffer[2]) << 8) | buffer[3];
    *z = (((int16_t)buffer[4]) << 8) | buffer[5];
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
movzbl (%rdi), %edi
leaq 0x2(%r14), %r13
movq 0x1af21(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xa8, %esi
movl $0x6, %edx
movq %r13, %rcx
callq 0x1f630
cmpb $0x0, 0x8(%r14)
je 0x2c05e
leaq 0x3(%r14), %rsi
movl $0x7, %eax
movl $0x6, %ecx
movl $0x5, %edx
movl $0x4, %edi
jmp 0x2c079
movq %r13, %rsi
leaq 0x3(%r14), %r13
movl $0x6, %eax
movl $0x7, %ecx
movl $0x4, %edx
movl $0x5, %edi
movzbl (%r13), %r8d
shll $0x8, %r8d
movzbl (%rsi), %esi
orl %r8d, %esi
movw %si, (%r12)
movzbl (%r14,%rdi), %esi
shll $0x8, %esi
movzbl (%r14,%rdx), %edx
orl %esi, %edx
movw %dx, (%r15)
movzbl (%r14,%rcx), %ecx
shll $0x8, %ecx
movzbl (%r14,%rax), %eax
orl %ecx, %eax
movw %ax, (%rbx)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/mrlordkaj[P]i2cdevlib-pi/LSM303DLHC/LSM303DLHC.cpp
// Function: LSM303DLHC::getAccelerationX()
int16_t LSM303DLHC::getAccelerationX() {
  I2Cdev::readBytes(devAddrA, LSM303DLHC_RA_OUT_X_L_A | 0x80, 2, buffer);
  if (endianMode == LSM303DLHC_LITTLE_ENDIAN) {
    return (((int16_t)buffer[1]) << 8) | buffer[0];
  } else {
    return (((int16_t)buffer[0]) << 8) | buffer[1];
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %edi
leaq 0x2(%rbx), %rcx
movq 0x1ae7a(%rip), %rax     # 0x46f48
movzwl (%rax), %r8d
movl $0xa8, %esi
movl $0x2, %edx
callq 0x1f630
cmpb $0x0, 0x8(%rbx)
movzbl 0x3(%rbx), %eax
movzbl 0x2(%rbx), %ecx
movl %ecx, %edx
cmovel %eax, %edx
cmovnel %eax, %ecx
shll $0x8, %edx
movzbl %cl, %eax
orl %edx, %eax
popq %rbx
retq
nop