name
string | code
string | asm
string | file
string |
|---|---|---|---|
testing::UnitTest::current_test_case() const
|
GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
return impl_->current_test_suite();
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x23d482
movq 0x40(%rbx), %rax
movq 0x168(%rax), %rbx
movq %r14, %rdi
callq 0x23d520
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::UnitTest::current_test_info() const
|
GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
return impl_->current_test_info();
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x23d482
movq 0x40(%rbx), %rax
movq 0x170(%rax), %rbx
movq %r14, %rdi
callq 0x23d520
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::UnitTest::PushGTestTrace(testing::internal::TraceInfo const&)
|
GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
impl_->gtest_trace_stack().push_back(trace);
}
|
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x23d482
movl $0x248, %edi # imm = 0x248
addq 0x40(%r15), %rdi
callq 0x23dba0
movq %rax, %rdi
movq %r14, %rsi
callq 0x23b39c
movq %rbx, %rdi
callq 0x23d520
popq %rbx
popq %r14
popq %r15
retq
jmp 0x22c3ed
movq %rax, %r14
movq %rbx, %rdi
callq 0x23d520
movq %r14, %rdi
callq 0x6dd70
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::UnitTestImpl::ConfigureStreamingOutput()
|
int UnitTestImpl::reportable_test_count() const {
return SumOverTestSuiteList(test_suites_, &TestSuite::reportable_test_count);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
cmpq $0x0, 0x4c50e8(%rip) # 0x6f1c78
je 0x22ccc3
movq %rdi, %r14
leaq 0x4c50d0(%rip), %rdi # 0x6f1c70
movl $0x3a, %esi
xorl %edx, %edx
callq 0x6d990
cmpq $-0x1, %rax
je 0x22cc58
movq %rax, %r15
movl $0x10, %edi
callq 0x6df30
movq %rax, %rbx
leaq 0x4c50a3(%rip), %rsi # 0x6f1c70
leaq 0x8(%rsp), %rdi
xorl %edx, %edx
movq %r15, %rcx
callq 0x6d710
incq %r15
leaq 0x4c508a(%rip), %rsi # 0x6f1c70
leaq 0x28(%rsp), %rdi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0x6d710
movb $0x1, %bpl
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x23b5c8
movq 0x1f8(%r14), %rdi
xorl %ebp, %ebp
movq %rbx, %rsi
callq 0x222644
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22cc3b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22ccc3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22ccc3
leaq 0x2870a8(%rip), %rdx # 0x4b3d07
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x1603, %ecx # imm = 0x1603
callq 0x235d96
movq 0x356376(%rip), %rdi # 0x582ff0
leaq 0x28819c(%rip), %rsi # 0x4b4e1d
movl $0x1f, %edx
callq 0x6d7d0
movq 0x4c4fde(%rip), %rsi # 0x6f1c70
movq 0x4c4fdf(%rip), %rdx # 0x6f1c78
movq 0x356350(%rip), %rdi # 0x582ff0
callq 0x6d7d0
leaq 0x288166(%rip), %rsi # 0x4b4e12
movl $0xa, %edx
movq %rax, %rdi
callq 0x6d7d0
leaq 0x8(%rsp), %rdi
callq 0x235ed8
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movb $0x1, %bpl
jmp 0x22cd0b
movq %rax, %r14
movb $0x1, %bpl
jmp 0x22cd26
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x235ed8
jmp 0x22cd38
movq %rax, %r14
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22cd0b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22cd26
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %bpl, %bpl
je 0x22cd38
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6d6d0
movq %r14, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::UnitTestImpl::UnshuffleTests()
|
void UnitTestImpl::UnshuffleTests() {
for (size_t i = 0; i < test_suites_.size(); i++) {
// Unshuffles the tests in each test suite.
test_suites_[i]->UnshuffleTests();
// Resets the index of each test suite.
test_suite_indices_[i] = static_cast<int>(i);
}
}
|
movq 0xb8(%rdi), %rax
movq 0xc0(%rdi), %rcx
subq %rax, %rcx
je 0x22d8bf
sarq $0x3, %rcx
movq 0xd0(%rdi), %rdx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
movdqa 0x279256(%rip), %xmm0 # 0x4a6a50
movdqa 0x2748ae(%rip), %xmm1 # 0x4a20b0
pcmpeqd %xmm2, %xmm2
movdqa 0x285292(%rip), %xmm3 # 0x4b2aa0
movq (%rax,%rsi,8), %r8
movq 0x48(%r8), %rdi
movq 0x50(%r8), %r9
subq %rdi, %r9
je 0x22d8b0
sarq $0x2, %r9
cmpq $0x1, %r9
adcq $0x0, %r9
leaq 0x1(%r9), %r8
andq $-0x2, %r8
decq %r9
movq %r9, %xmm4
pshufd $0x44, %xmm4, %xmm4 # xmm4 = xmm4[0,1,0,1]
pxor %xmm1, %xmm4
xorl %r9d, %r9d
movdqa %xmm0, %xmm5
movdqa %xmm5, %xmm6
pxor %xmm1, %xmm6
movdqa %xmm6, %xmm7
pcmpgtd %xmm4, %xmm7
pcmpeqd %xmm4, %xmm6
pshufd $0xf5, %xmm6, %xmm8 # xmm8 = xmm6[1,1,3,3]
pand %xmm7, %xmm8
pshufd $0xf5, %xmm7, %xmm6 # xmm6 = xmm7[1,1,3,3]
por %xmm8, %xmm6
movd %xmm6, %r10d
notl %r10d
testb $0x1, %r10b
je 0x22d88a
movl %r9d, (%rdi,%r9,4)
pxor %xmm2, %xmm6
pextrw $0x4, %xmm6, %r10d
testb $0x1, %r10b
je 0x22d8a3
leal 0x1(%r9), %r10d
movl %r10d, 0x4(%rdi,%r9,4)
addq $0x2, %r9
paddq %xmm3, %xmm5
cmpq %r9, %r8
jne 0x22d84f
movl %esi, (%rdx,%rsi,4)
incq %rsi
cmpq %rcx, %rsi
jne 0x22d80e
retq
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::PrintOnOneLine(char const*, int)
|
static void PrintOnOneLine(const char* str, int max_length) {
if (str != nullptr) {
for (int i = 0; *str != '\0'; ++str) {
if (i >= max_length) {
printf("...");
break;
}
if (*str == '\n') {
printf("\\n");
i += 2;
} else {
printf("%c", *str);
++i;
}
}
}
}
|
pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x22dbb3
movq %rdi, %rbx
movb (%rdi), %al
testb %al, %al
je 0x22dbb3
incq %rbx
leaq 0x1df83(%rip), %r14 # 0x24baff
xorl %ebp, %ebp
cmpl $0xfa, %ebp
jae 0x22dbb8
cmpb $0xa, %al
jne 0x22db9b
movq %r14, %rdi
xorl %eax, %eax
callq 0x6d080
movl $0x2, %eax
jmp 0x22dba8
movsbl %al, %edi
callq 0x6da70
movl $0x1, %eax
addl %eax, %ebp
movb (%rbx), %al
incq %rbx
testb %al, %al
jne 0x22db7e
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x2871cd(%rip), %rdi # 0x4b4d8c
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x6d080
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::ParseFlag(char const*, char const*, int*)
|
bool ParseFlag(const char* str, const char* flag_name, int32_t* value) {
// Gets the value of the flag as a string.
const char* const value_str = ParseFlagValue(str, flag_name, false);
// Aborts if the parsing failed.
if (value_str == nullptr) return false;
// Sets *value to the value of the flag.
return ParseInt32(Message() << "The value of flag --" << flag_name, value_str,
value);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
xorl %ebp, %ebp
xorl %edx, %edx
callq 0x22dd21
testq %rax, %rax
je 0x22dcf7
movq %rax, %r15
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %r13
leaq 0x2873a9(%rip), %rsi # 0x4b504c
movl $0x14, %edx
movq %r13, %rdi
callq 0x6d7d0
testq %r12, %r12
je 0x22dcc2
movq %r12, %rdi
callq 0x6d2d0
movq %rax, %rdx
jmp 0x22dcce
movl $0x6, %edx
leaq 0x157d8(%rip), %r12 # 0x2434a6
movq %r13, %rdi
movq %r12, %rsi
callq 0x6d7d0
movq %rsp, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x22d8c0
movl %eax, %ebp
testq %rbx, %rbx
je 0x22dcf7
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
testq %rbx, %rbx
je 0x22dd19
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movq %r14, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::ParseFlagValue(char const*, char const*, bool)
|
static const char* ParseFlagValue(const char* str, const char* flag_name,
bool def_optional) {
// str and flag must not be NULL.
if (str == nullptr || flag_name == nullptr) return nullptr;
// The flag must start with "--" followed by GTEST_FLAG_PREFIX_.
const std::string flag_str =
std::string("--") + GTEST_FLAG_PREFIX_ + flag_name;
const size_t flag_len = flag_str.length();
if (strncmp(str, flag_str.c_str(), flag_len) != 0) return nullptr;
// Skips the flag name.
const char* flag_end = str + flag_len;
// When def_optional is true, it's OK to not have a "=value" part.
if (def_optional && (flag_end[0] == '\0')) {
return flag_end;
}
// If def_optional is true and there are more characters after the
// flag name, or if def_optional is false, there must be a '=' after
// the flag name.
if (flag_end[0] != '=') return nullptr;
// Returns the string after "=".
return flag_end + 1;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
je 0x22dd46
xorl %ebx, %ebx
jmp 0x22de9b
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2872ff(%rip), %rsi # 0x4b505e
leaq 0x2872fa(%rip), %rdx # 0x4b5060
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0x7b4ac
leaq 0x287683(%rip), %rsi # 0x4b53fd
movq %r15, %rdi
callq 0x6de90
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x22dda9
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x22ddb0
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r14, %rsi
callq 0x6de90
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x22ddfb
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x22de03
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22de32
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x22de49
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x28(%rsp), %r14
movq 0x30(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6d310
testl %eax, %eax
je 0x22de69
xorl %ebx, %ebx
jmp 0x22de86
addq %r15, %rbx
testb %bpl, %bpl
je 0x22de76
cmpb $0x0, (%rbx)
je 0x22de86
xorl %eax, %eax
cmpb $0x3d, (%rbx)
leaq 0x1(%rbx), %rcx
cmoveq %rcx, %rax
movq %rax, %rbx
cmpq %r13, %r14
je 0x22de9b
movq 0x38(%rsp), %rsi
incq %rsi
movq %r14, %rdi
callq 0x6d6d0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22decc
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22decc
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x22dee3
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::ParseGoogleTestFlagsOnly(int*, char**)
|
void ParseGoogleTestFlagsOnly(int* argc, char** argv) {
ParseGoogleTestFlagsOnlyImpl(argc, argv);
// Fix the value of *_NSGetArgc() on macOS, but if and only if
// *_NSGetArgv() == argv
// Only applicable to char** version of argv
#if GTEST_OS_MAC
#ifndef GTEST_OS_IOS
if (*_NSGetArgv() == argv) {
*_NSGetArgc() = *argc;
}
#endif
#endif
}
|
jmp 0x23bc48
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::InitGoogleTest()
|
void InitGoogleTest() {
// Since Arduino doesn't have a command line, fake out the argc/argv arguments
int argc = 1;
const auto arg0 = "dummy";
char* argv0 = const_cast<char*>(arg0);
char** argv = &argv0;
#if defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_(&argc, argv);
#else // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
internal::InitGoogleTestImpl(&argc, argv);
#endif // defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
}
|
subq $0x18, %rsp
leaq 0xc(%rsp), %rdi
movl $0x1, (%rdi)
leaq 0x27f047(%rip), %rax # 0x4acf5c
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
callq 0x23bfda
addq $0x18, %rsp
retq
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::TempDir[abi:cxx11]()
|
std::string TempDir() {
#if defined(GTEST_CUSTOM_TEMPDIR_FUNCTION_)
return GTEST_CUSTOM_TEMPDIR_FUNCTION_();
#elif GTEST_OS_WINDOWS_MOBILE
return "\\temp\\";
#elif GTEST_OS_WINDOWS
const char* temp_dir = internal::posix::GetEnv("TEMP");
if (temp_dir == nullptr || temp_dir[0] == '\0') {
return "\\temp\\";
} else if (temp_dir[strlen(temp_dir) - 1] == '\\') {
return temp_dir;
} else {
return std::string(temp_dir) + "\\";
}
#elif GTEST_OS_LINUX_ANDROID
const char* temp_dir = internal::posix::GetEnv("TEST_TMPDIR");
if (temp_dir == nullptr || temp_dir[0] == '\0') {
return "/data/local/tmp/";
} else {
return temp_dir;
}
#elif GTEST_OS_LINUX
const char* temp_dir = internal::posix::GetEnv("TEST_TMPDIR");
if (temp_dir == nullptr || temp_dir[0] == '\0') {
return "/tmp/";
} else {
return temp_dir;
}
#else
return "/tmp/";
#endif // GTEST_OS_WINDOWS_MOBILE
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x28712c(%rip), %rdi # 0x4b5061
callq 0x6d890
testq %rax, %rax
je 0x22df64
movq %rax, %r14
cmpb $0x0, (%rax)
je 0x22df64
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x6d2d0
movq %r14, %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x22df7c
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x2870fb(%rip), %rsi # 0x4b506d
leaq 0x2870f9(%rip), %rdx # 0x4b5072
movq %rbx, %rdi
callq 0x7b4ac
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::ScopedTrace::PushTrace(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
|
explicit FailureTest(const CodeLocation& loc, std::string error_message,
bool as_error)
: loc_(loc),
error_message_(std::move(error_message)),
as_error_(as_error) {}
|
pushq %r14
pushq %rbx
subq $0x38, %rsp
leaq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movq %rsi, -0x20(%r14)
movl %edx, -0x18(%r14)
movq %rcx, %rsi
callq 0x6d4e0
callq 0x2170b2
leaq 0x4c3d0f(%rip), %rdi # 0x6f1cd8
leaq 0x8(%rsp), %rsi
callq 0x22c39a
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x22dfea
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6d6d0
addq $0x38, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x22e00c
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::InDeathTestChild()
|
bool InDeathTestChild() {
# if GTEST_OS_WINDOWS || GTEST_OS_FUCHSIA
// On Windows and Fuchsia, death tests are thread-safe regardless of the value
// of the death_test_style flag.
return !GTEST_FLAG_GET(internal_run_death_test).empty();
# else
if (GTEST_FLAG_GET(death_test_style) == "threadsafe")
return !GTEST_FLAG_GET(internal_run_death_test).empty();
else
return g_in_fast_death_test_child;
#endif
}
|
pushq %rax
leaq 0x4c3d10(%rip), %rdi # 0x6f1d48
leaq 0x287059(%rip), %rsi # 0x4b5098
callq 0x6d1e0
xorl %ecx, %ecx
cmpq $0x0, 0x4c3ce2(%rip) # 0x6f1d30
setne %cl
testl %eax, %eax
movzbl 0x4c3d0f(%rip), %eax # 0x6f1d69
cmovel %ecx, %eax
andb $0x1, %al
popq %rcx
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::DeathTest::DeathTest()
|
DeathTest::DeathTest() {
TestInfo* const info = GetUnitTestImpl()->current_test_info();
if (info == nullptr) {
DeathTestAbort("Cannot run a death test outside of a TEST or "
"TEST_F construct");
}
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x3545ee(%rip), %rax # 0x5826d8
movq %rax, (%rdi)
callq 0x2170b2
movq 0x4c3c1f(%rip), %rax # 0x6f1d18
cmpq $0x0, 0x170(%rax)
je 0x22e10b
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x286f88(%rip), %rsi # 0x4b50a3
leaq 0x286fbe(%rip), %rdx # 0x4b50e0
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7b4ac
movq %rbx, %rdi
callq 0x22e159
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22e151
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::DeathTestAbort(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
|
static void DeathTestAbort(const std::string& message) {
// On a POSIX system, this function may be called from a threadsafe-style
// death test child process, which operates on a very small stack. Use
// the heap for any additional non-minuscule memory requirements.
const InternalRunDeathTestFlag* const flag =
GetUnitTestImpl()->internal_run_death_test_flag();
if (flag != nullptr) {
FILE* parent = posix::FDOpen(flag->write_fd(), "w");
fputc(kDeathTestInternalError, parent);
fprintf(parent, "%s", message.c_str());
fflush(parent);
_exit(1);
} else {
fprintf(stderr, "%s", message.c_str());
fflush(stderr);
posix::Abort();
}
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2170b2
movq 0x4c3bac(%rip), %rax # 0x6f1d18
movq 0x238(%rax), %rax
testq %rax, %rax
jne 0x22e197
movq 0x354e41(%rip), %r14 # 0x582fc0
movq (%r14), %rsi
movq (%rbx), %rdi
callq 0x6d7a0
movq (%r14), %rdi
callq 0x6d820
callq 0x23a3bd
movl 0x28(%rax), %edi
leaq 0x17349(%rip), %rsi # 0x2454ea
callq 0x23f786
movq %rax, %r14
movl $0x49, %edi
movq %rax, %rsi
callq 0x6d8d0
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x6d7a0
movq %r14, %rdi
callq 0x6d820
movl $0x1, %edi
callq 0x6dc80
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::DeathTestImpl::Abort(testing::internal::DeathTest::AbortReason)
|
void DeathTestImpl::Abort(AbortReason reason) {
// The parent process considers the death test to be a failure if
// it finds any data in our pipe. So, here we write a single flag byte
// to the pipe, then exit.
const char status_ch =
reason == TEST_DID_NOT_DIE ? kDeathTestLived :
reason == TEST_THREW_EXCEPTION ? kDeathTestThrew : kDeathTestReturned;
GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
// We are leaking the descriptor here because on some platforms (i.e.,
// when built as Windows DLL), destructors of global objects will still
// run after calling _exit(). On such systems, write_fd_ will be
// indirectly closed from the destructor of UnitTestImpl, causing double
// close if it is also closed here. On debug configurations, double close
// may assert. As there are no in-process buffers to flush here, we are
// relying on the OS to close the descriptor after the process terminates
// when the destructors are not run.
_exit(1); // Exits w/o any normal exit hooks (we were supposed to crash)
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
cmpl $0x1, %esi
sete %al
addb %al, %al
addb $0x52, %al
cmpl $0x2, %esi
movzbl %al, %eax
movl $0x4c, %ecx
cmovnel %eax, %ecx
leaq 0xf(%rsp), %r14
movb %cl, (%r14)
movl 0x38(%rbx), %edi
movl $0x1, %edx
movq %r14, %rsi
callq 0x6d260
cmpl $-0x1, %eax
jne 0x22eb82
callq 0x6d070
cmpl $0x4, (%rax)
je 0x22eb06
leaq 0x108(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x28668d(%rip), %rsi # 0x4b51c5
leaq 0x286699(%rip), %rdx # 0x4b51d8
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x7b4ac
leaq 0x28658b(%rip), %rsi # 0x4b50e1
movq %rbx, %rdi
callq 0x6de90
leaq 0xc8(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22eb8c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x22eb9f
movl $0x1, %edi
callq 0x6dc80
movq %rdx, 0xb8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xc8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xb8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x286614(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x40(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22ebed
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x22ebfa
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xb4(%rsp), %rsi
movl $0x20a, (%rsi) # imm = 0x20A
leaq 0x50(%rsp), %rdi
callq 0x23afc8
movq 0x30(%rsp), %rcx
movq 0x38(%rsp), %r8
movq 0x58(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x22ec4c
movq 0x40(%rsp), %rsi
leaq 0x60(%rsp), %r13
cmpq %rsi, %rax
jbe 0x22ec6c
movl $0xf, %esi
cmpq %r13, 0x50(%rsp)
je 0x22ec67
movq 0x60(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x22ec7d
movq 0x50(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x6d200
jmp 0x22ec8b
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x20(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x22eca8
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x22ecb5
movq %rsi, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x279c3b(%rip), %rsi # 0x4a8914
leaq 0x10(%rsp), %rdi
callq 0x6de90
leaq 0xa0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22ed07
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x22ed1a
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2864b9(%rip), %rsi # 0x4b51f9
callq 0x6de90
leaq 0x80(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22ed68
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
jmp 0x22ed78
movq %rdx, 0x70(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x80(%rsp)
movq 0x8(%rax), %rdx
leaq 0x70(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28665b(%rip), %rsi # 0x4b53f6
callq 0x6de90
leaq 0xe8(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22edc6
movups (%rcx), %xmm0
movq %rsi, %rbp
movups %xmm0, (%rsi)
jmp 0x22eddc
movq %rsi, %rbp
movq %rdx, 0xd8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xd8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x22ee25
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22ee25
movq %rax, %rbx
leaq 0x80(%rsp), %rbp
movq 0x70(%rsp), %rdi
cmpq %rbp, %rdi
je 0x22ee47
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0xa0(%rsp), %rbp
jmp 0x22ee54
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %rbp, %rdi
je 0x22ee76
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22ee76
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22ee96
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22ee96
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r13, %rdi
je 0x22eeb2
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22eeb2
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r12, %rdi
je 0x22eece
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22eece
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
cmpq %r15, %rdi
je 0x22eef0
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22eef0
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22ef0d
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::DeathTestImpl::Passed(bool)
|
bool DeathTestImpl::Passed(bool status_ok) {
if (!spawned())
return false;
const std::string error_message = GetErrorLogs();
bool success = false;
Message buffer;
buffer << "Death test: " << statement() << "\n";
switch (outcome()) {
case LIVED:
buffer << " Result: failed to die.\n"
<< " Error msg:\n" << FormatDeathTestOutput(error_message);
break;
case THREW:
buffer << " Result: threw an exception.\n"
<< " Error msg:\n" << FormatDeathTestOutput(error_message);
break;
case RETURNED:
buffer << " Result: illegal return in test statement.\n"
<< " Error msg:\n" << FormatDeathTestOutput(error_message);
break;
case DIED:
if (status_ok) {
if (matcher_.Matches(error_message)) {
success = true;
} else {
std::ostringstream stream;
matcher_.DescribeTo(&stream);
buffer << " Result: died but not with expected error.\n"
<< " Expected: " << stream.str() << "\n"
<< "Actual msg:\n"
<< FormatDeathTestOutput(error_message);
}
} else {
buffer << " Result: died but not with expected exit code:\n"
<< " " << ExitSummary(status()) << "\n"
<< "Actual msg:\n" << FormatDeathTestOutput(error_message);
}
break;
case IN_PROGRESS:
default:
GTEST_LOG_(FATAL)
<< "DeathTest::Passed somehow called before conclusion of test";
}
DeathTest::set_last_death_test_message(buffer.GetString());
return success;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
cmpb $0x1, 0x28(%rdi)
jne 0x22ef79
movl %esi, %ebp
movq %rdi, %r14
movq (%rdi), %rax
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq *0x30(%rax)
leaq 0x28(%rsp), %rdi
callq 0x21b02a
movq 0x28(%rsp), %rbx
addq $0x10, %rbx
leaq 0x2862cb(%rip), %rsi # 0x4b5221
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
movq 0x8(%r14), %r15
testq %r15, %r15
je 0x22ef80
movq %r15, %rdi
callq 0x6d2d0
movq %rax, %rdx
jmp 0x22ef8c
xorl %ebp, %ebp
jmp 0x22f421
movl $0x6, %edx
leaq 0x1451a(%rip), %r15 # 0x2434a6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6d7d0
leaq 0x285947(%rip), %rsi # 0x4b48e5
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
movl 0x30(%r14), %eax
decl %eax
cmpl $0x3, %eax
ja 0x22f1f2
leaq 0x283b27(%rip), %rcx # 0x4b2ae8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testb %bpl, %bpl
je 0x22f234
addq $0x10, %r14
leaq 0x70(%rsp), %rdx
movq $0x0, 0x8(%rdx)
leaq 0x353c65(%rip), %rax # 0x582c50
movq %rax, (%rdx)
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x242426
movb $0x1, %bpl
testb %al, %al
jne 0x22f3b4
leaq 0x70(%rsp), %rdi
callq 0x6da10
leaq 0x70(%rsp), %rsi
movq %r14, %rdi
callq 0x23c224
leaq 0x286283(%rip), %rsi # 0x4b52a7
movl $0x2e, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x28629e(%rip), %rsi # 0x4b52d6
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x78(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6dc10
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x285878(%rip), %rsi # 0x4b48e5
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x286262(%rip), %rsi # 0x4b52e3
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x22f577
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f0ca
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f0e5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x353eb4(%rip), %rsi # 0x582fa0
leaq 0x70(%rsp), %rdi
callq 0x6d390
leaq 0xe0(%rsp), %rdi
callq 0x6d240
jmp 0x22f3b2
leaq 0x286169(%rip), %rsi # 0x4b5278
movl $0x2e, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x286127(%rip), %rsi # 0x4b524a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x22f577
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
jmp 0x22f391
leaq 0x2860fa(%rip), %rsi # 0x4b5257
movl $0x20, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x2860d9(%rip), %rsi # 0x4b524a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x22f577
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
jmp 0x22f391
leaq 0x286083(%rip), %rsi # 0x4b522e
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x28608b(%rip), %rsi # 0x4b524a
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x22f577
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
jmp 0x22f391
leaq 0x285ee8(%rip), %rdx # 0x4b50e1
leaq 0x70(%rsp), %rdi
movl $0x3, %esi
movl $0x268, %ecx # imm = 0x268
callq 0x235d96
movq 0x353ddc(%rip), %rdi # 0x582ff0
leaq 0x286115(%rip), %rsi # 0x4b5330
movl $0x3a, %edx
callq 0x6d7d0
leaq 0x70(%rsp), %rdi
callq 0x235ed8
jmp 0x22f3b2
leaq 0x2860b5(%rip), %rsi # 0x4b52f0
movl $0x32, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x2860d4(%rip), %rsi # 0x4b5323
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
movl 0x2c(%r14), %r14d
leaq 0x8(%rsp), %rdi
callq 0x21b02a
movl %r14d, %ebp
andl $0x7f, %r14d
je 0x22f2b2
movl %r14d, %eax
shll $0x18, %eax
addl $0x1000000, %eax # imm = 0x1000000
cmpl $0x2000000, %eax # imm = 0x2000000
jl 0x22f2dc
movl %r14d, %r15d
movq 0x8(%rsp), %r14
addq $0x10, %r14
leaq 0x286b5b(%rip), %rsi # 0x4b5df3
movl $0x15, %edx
movq %r14, %rdi
callq 0x6d7d0
movq %r14, %rdi
movl %r15d, %esi
callq 0x6dd10
jmp 0x22f2dc
movq 0x8(%rsp), %r14
addq $0x10, %r14
leaq 0x286b18(%rip), %rsi # 0x4b5dda
movl $0x18, %edx
movq %r14, %rdi
callq 0x6d7d0
movl %ebp, %eax
movzbl %ah, %esi
movq %r14, %rdi
callq 0x6dd10
testb %bpl, %bpl
jns 0x22f2fb
movq 0x8(%rsp), %rdi
addq $0x10, %rdi
leaq 0x286b18(%rip), %rsi # 0x4b5e09
movl $0xe, %edx
callq 0x6d7d0
movq 0x8(%rsp), %r14
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
callq 0x21b29f
testq %r14, %r14
je 0x22f31b
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x2855b1(%rip), %rsi # 0x4b48e5
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x285f9b(%rip), %rsi # 0x4b52e3
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x22f577
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f391
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f3b2
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
xorl %ebp, %ebp
movq 0x28(%rsp), %rbx
leaq 0x70(%rsp), %rdi
movq %rbx, %rsi
callq 0x21b29f
leaq 0x4c29a3(%rip), %rdi # 0x6f1d70
leaq 0x70(%rsp), %rsi
callq 0x6d3a0
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f3f8
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testq %rbx, %rbx
je 0x22f406
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f421
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movl %ebp, %eax
addq $0x1e8, %rsp # imm = 0x1E8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x22f4f2
jmp 0x22f4f2
movq %rax, %rbx
leaq 0x60(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f495
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22f495
jmp 0x22f492
jmp 0x22f4b2
jmp 0x22f538
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f50c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22f50c
jmp 0x22f509
jmp 0x22f538
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f4b5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22f4b5
movq %rax, %rbx
movq 0x353ae4(%rip), %rsi # 0x582fa0
leaq 0x70(%rsp), %rdi
callq 0x6d390
leaq 0xe0(%rsp), %rdi
callq 0x6d240
jmp 0x22f53b
jmp 0x22f509
jmp 0x22f509
jmp 0x22f509
jmp 0x22f538
jmp 0x22f538
jmp 0x22f538
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x235ed8
jmp 0x22f53b
jmp 0x22f538
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x22f53b
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x22f53b
jmp 0x22f509
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f53b
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22f53b
jmp 0x22f538
movq %rax, %rbx
jmp 0x22f554
jmp 0x22f538
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x22f54b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22f56f
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::FormatDeathTestOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
|
static ::std::string FormatDeathTestOutput(const ::std::string& output) {
::std::string ret;
for (size_t at = 0; ; ) {
const size_t line_end = output.find('\n', at);
ret += "[ DEATH ] ";
if (line_end == ::std::string::npos) {
ret += output.substr(at);
break;
}
ret += output.substr(at, line_end + 1 - at);
at = line_end + 1;
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
xorl %r15d, %r15d
movq %rsp, %r12
movq %r14, %rdi
movl $0xa, %esi
movq %r15, %rdx
callq 0x6d990
movq %rax, %r13
movq %rbx, %rdi
leaq 0x286806(%rip), %rsi # 0x4b5dcc
callq 0x6de90
cmpq $-0x1, %r13
je 0x22f61a
leaq 0x1(%r13), %rbp
movq %rbp, %rcx
subq %r15, %rcx
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6d710
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d200
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x22f615
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbp, %r15
jmp 0x22f65b
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq $-0x1, %rcx
callq 0x6d710
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
callq 0x6d200
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x22f65b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
cmpq $-0x1, %r13
jne 0x22f5a9
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x22f67b
jmp 0x22f69d
movq %rax, %r14
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x22f6a0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x22f6a0
jmp 0x22f69d
movq %rax, %r14
movq (%rbx), %rdi
movq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x22f6b8
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq %r14, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::NoExecDeathTest::AssumeRole()
|
DeathTest::TestRole NoExecDeathTest::AssumeRole() {
const size_t thread_count = GetThreadCount();
if (thread_count != 1) {
GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
}
int pipe_fd[2];
GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1);
DeathTest::set_last_death_test_message("");
CaptureStderr();
// When we fork the process below, the log file buffers are copied, but the
// file descriptors are shared. We flush all log files here so that closing
// the file descriptors in the child process doesn't throw off the
// synchronization between descriptors and buffers in the parent process.
// This is as close to the fork as possible to avoid a race condition in case
// there are multiple threads running before the death test, and another
// thread writes to the log file.
FlushInfoLog();
const pid_t child_pid = fork();
GTEST_DEATH_TEST_CHECK_(child_pid != -1);
set_child_pid(child_pid);
if (child_pid == 0) {
GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0]));
set_write_fd(pipe_fd[1]);
// Redirects all logging to stderr in the child process to prevent
// concurrent writes to the log files. We capture stderr in the parent
// process and append the child process' output to a log.
LogToStderr();
// Event forwarding to the listeners of event listener API mush be shut
// down in death test subprocesses.
GetUnitTestImpl()->listeners()->SuppressEventForwarding();
g_in_fast_death_test_child = true;
return EXECUTE_TEST;
} else {
GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1]));
set_read_fd(pipe_fd[0]);
set_spawned(true);
return OVERSEE_TEST;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
callq 0x230d55
cmpq $0x1, %rax
je 0x22fd53
movq %rax, %r12
leaq 0x2854e8(%rip), %rdx # 0x4b50e1
leaq 0x28(%rsp), %rdi
movl $0x1, %esi
movl $0x464, %ecx # imm = 0x464
callq 0x235d96
leaq 0x88(%rsp), %rdi
callq 0x21b02a
movq 0x88(%rsp), %r14
leaq 0x10(%r14), %r15
leaq 0x2861eb(%rip), %rsi # 0x4b5e18
movl $0x34, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0x28620c(%rip), %rsi # 0x4b5e4d
movl $0x27, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0x284b83(%rip), %rsi # 0x4b47d8
movl $0xb, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0xc8935(%rip), %rsi # 0x2f859e
movl $0x1, %edx
movq %r15, %rdi
callq 0x6d7d0
testq %r12, %r12
je 0x22fca9
leaq 0x28621a(%rip), %rsi # 0x4b5e9c
movl $0x9, %r13d
movl $0x9, %edx
movq %r15, %rdi
callq 0x6d7d0
movq %r15, %rdi
movq %r12, %rsi
callq 0x6d480
leaq 0x2861eb(%rip), %rsi # 0x4b5e92
jmp 0x22fcb6
movl $0x26, %r13d
leaq 0x2861bf(%rip), %rsi # 0x4b5e75
movq %r15, %rdi
movq %r13, %rdx
callq 0x6d7d0
leaq 0x2861de(%rip), %rsi # 0x4b5ea6
movl $0x5e, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0x286229(%rip), %rsi # 0x4b5f05
movl $0x3c, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0x286252(%rip), %rsi # 0x4b5f42
movl $0x3d, %edx
movq %r15, %rdi
callq 0x6d7d0
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x21b29f
testq %r14, %r14
je 0x22fd18
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
movq 0x3532c7(%rip), %rdi # 0x582ff0
callq 0x6d7d0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x22fd49
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x28(%rsp), %rdi
callq 0x235ed8
leaq 0xe8(%rsp), %rdi
callq 0x6da30
cmpl $-0x1, %eax
je 0x2300aa
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x16be18(%rip), %rdx # 0x39bb91
leaq 0x48(%rsp), %rdi
movq %rdx, %rsi
callq 0x7b4ac
leaq 0x4c1fe3(%rip), %rdi # 0x6f1d70
leaq 0x48(%rsp), %rsi
callq 0x6d3a0
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x22fdae
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x285809(%rip), %rsi # 0x4b55be
leaq 0x4c1fdc(%rip), %rdx # 0x6f1d98
movl $0x2, %edi
callq 0x235f43
xorl %edi, %edi
callq 0x6d820
callq 0x6d1c0
cmpl $-0x1, %eax
je 0x23010d
movl %eax, 0x3c(%rbx)
testl %eax, %eax
je 0x22fe77
movl 0xec(%rsp), %edi
callq 0x6ded0
cmpl $-0x1, %eax
jne 0x22feb7
callq 0x6d070
cmpl $0x4, (%rax)
je 0x22fde6
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2853ad(%rip), %rsi # 0x4b51c5
leaq 0x2853b9(%rip), %rdx # 0x4b51d8
leaq 0xa8(%rsp), %rdi
callq 0x7b4ac
leaq 0x2852ae(%rip), %rsi # 0x4b50e1
leaq 0xa8(%rsp), %rdi
callq 0x6de90
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22ff3a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x22ff4d
callq 0x6d070
cmpl $0x4, (%rax)
jne 0x22fed9
movl 0xe8(%rsp), %edi
callq 0x6ded0
cmpl $-0x1, %eax
je 0x22fe6d
movl 0xec(%rsp), %eax
movl %eax, 0x38(%rbx)
callq 0x2170b2
movq 0x4c1e7a(%rip), %rax # 0x6f1d18
movq 0x1f8(%rax), %rax
movb $0x0, 0x8(%rax)
movb $0x1, 0x4c1eb9(%rip) # 0x6f1d69
movl $0x1, %eax
jmp 0x22fec7
movl 0xe8(%rsp), %eax
movl %eax, 0x34(%rbx)
movb $0x1, 0x28(%rbx)
xorl %eax, %eax
addq $0x118, %rsp # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xb8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2852d9(%rip), %rsi # 0x4b51c5
leaq 0x2852e5(%rip), %rdx # 0x4b51d8
leaq 0xa8(%rsp), %rdi
callq 0x7b4ac
leaq 0x2851da(%rip), %rsi # 0x4b50e1
leaq 0xa8(%rsp), %rdi
callq 0x6de90
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x22ff9a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x22ffad
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x285266(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230001
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x23000e
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x285206(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230172
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x23017f
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x114(%rsp), %rsi
movl $0x485, (%rsi) # imm = 0x485
leaq 0xf0(%rsp), %rdi
callq 0x23afc8
movq 0x68(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0xf8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x230066
movq 0x78(%rsp), %rsi
leaq 0x100(%rsp), %rbp
cmpq %rsi, %rax
jbe 0x230093
movl $0xf, %esi
cmpq %rbp, 0xf0(%rsp)
je 0x23008a
movq 0x100(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x230217
movq 0xf0(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x6d200
jmp 0x230228
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x285108(%rip), %rsi # 0x4b51c5
leaq 0x285114(%rip), %rdx # 0x4b51d8
leaq 0xc8(%rsp), %rdi
callq 0x7b4ac
leaq 0x285009(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2303a4
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2303b1
leaq 0xd8(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2850a5(%rip), %rsi # 0x4b51c5
leaq 0x2850b1(%rip), %rdx # 0x4b51d8
leaq 0xc8(%rsp), %rdi
callq 0x7b4ac
leaq 0x284fa6(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230403
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x230410
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x114(%rsp), %rsi
movl $0x479, (%rsi) # imm = 0x479
leaq 0xf0(%rsp), %rdi
callq 0x23afc8
movq 0x68(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0xf8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x2301d7
movq 0x78(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x230200
leaq 0x100(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x2301f7
movq 0x100(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2302ac
movq 0xf0(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x6d200
jmp 0x2302bd
leaq 0xf0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x230245
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x230252
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x27869e(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23033d
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23034a
leaq 0xf0(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x2302da
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x2302e7
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x278609(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230461
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x23046e
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28505a(%rip), %rsi # 0x4b53c7
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2304c8
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2304db
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284e05(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23052a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x230537
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284da6(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2305cf
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x2305dc
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284f24(%rip), %rsi # 0x4b53b5
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230674
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x230687
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284ef5(%rip), %rsi # 0x4b53f6
callq 0x6de90
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2306cf
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x2306dc
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf0(%rsp), %rsi
movl $0x468, (%rsi) # imm = 0x468
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x23058f
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2305b8
leaq 0xb8(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x2305af
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x23072b
movq 0xa8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6d200
jmp 0x23073c
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xf0(%rsp), %rsi
movl $0x476, (%rsi) # imm = 0x476
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x230634
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x23065d
leaq 0xb8(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x230654
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2307c0
movq 0xa8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6d200
jmp 0x2307d1
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284d49(%rip), %rsi # 0x4b53f6
callq 0x6de90
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2306fd
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x23070a
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x230759
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x230766
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x27818a(%rip), %rsi # 0x4a8914
leaq 0x28(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23084d
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x230860
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x38(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x2307ee
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x2307fb
movq %rsi, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2780f5(%rip), %rsi # 0x4a8914
leaq 0x28(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2308ac
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x2308bf
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284b0b(%rip), %rsi # 0x4b5391
callq 0x6de90
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230907
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x230914
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284ac0(%rip), %rsi # 0x4b53a5
callq 0x6de90
movq %r14, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x230935
movups (%rcx), %xmm0
movups %xmm0, (%r14)
jmp 0x230942
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x230982
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230982
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2309e2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2309e2
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2309c0
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2309c0
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x230a02
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230a02
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230a22
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230a22
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230a4c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230a4c
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230ac3
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230ac3
movq %rax, %rbx
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230ae6
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230ae6
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x230a92
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230a92
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x230b4f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230b4f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x230b6b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230b6b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x230b87
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230b87
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x230b25
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230b25
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x230ba3
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230ba3
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %rbp, %rdi
je 0x230bc4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230bc4
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x230be4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230be4
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x230bf9
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230bf9
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x230c1a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230c1a
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230c3a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230c3a
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x230c0a
jmp 0x230d4d
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0x230d4d
movq 0xd8(%rsp), %rsi
jmp 0x230d21
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230c89
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230c89
movq %rax, %rbx
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
jne 0x230c96
jmp 0x230cca
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230d3c
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230d3c
jmp 0x230d4a
jmp 0x230d4a
movq %rax, %rbx
jmp 0x230d3c
movq %rax, %rbx
movq 0xf0(%rsp), %rdi
cmpq %rbp, %rdi
je 0x230cca
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230cca
jmp 0x230cc7
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x230d4d
movq 0x58(%rsp), %rsi
jmp 0x230d21
jmp 0x230d4a
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x230ce8
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230ce8
jmp 0x230ce5
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x230d0c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230d0c
jmp 0x230d09
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r15, %rdi
je 0x230d4d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x230d4d
movq %rax, %rbx
testq %r14, %r14
je 0x230d3c
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x28(%rsp), %rdi
callq 0x235ed8
jmp 0x230d4d
jmp 0x230d4a
movq %rax, %rbx
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::GetThreadCount()
|
size_t GetThreadCount() {
const std::string filename =
(Message() << "/proc/" << getpid() << "/stat").GetString();
return ReadProcFileField<size_t>(filename, 19);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x258, %rsp # imm = 0x258
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %r14
leaq 0x284735(%rip), %rsi # 0x4b54b2
movl $0x6, %edx
movq %r14, %rdi
callq 0x6d7d0
callq 0x6daf0
movq %r14, %rdi
movl %eax, %esi
callq 0x6dd10
leaq 0x284719(%rip), %rsi # 0x4b54b9
movl $0x5, %edx
movq %r14, %rdi
callq 0x6d7d0
leaq 0x10(%rsp), %rdi
movq %rbx, %rsi
callq 0x21b29f
testq %rbx, %rbx
je 0x230dc8
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x40(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq 0x10(%rsp), %rsi
leaq 0x50(%rsp), %rdi
movl $0x8, %edx
callq 0x6ddf0
movl $0xffffffec, %ebp # imm = 0xFFFFFFEC
leaq 0x50(%rsp), %rbx
leaq 0x30(%rsp), %r14
incl %ebp
je 0x230e11
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6d930
jmp 0x230e00
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
leaq 0x50(%rsp), %rdi
callq 0x6d3b0
movq 0x8(%rsp), %rbx
leaq 0x50(%rsp), %rdi
callq 0x6d1b0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x230e4d
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230e68
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rax
addq $0x258, %rsp # imm = 0x258
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x230e95
movq %rax, %r14
jmp 0x230ea2
jmp 0x230e82
movq %rax, %r14
testq %rbx, %rbx
je 0x230ed4
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
jmp 0x230ed4
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x6d1b0
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x230eb9
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x230ed4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %r14, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc
|
testing::internal::ExecDeathTest::AssumeRole()
|
DeathTest::TestRole ExecDeathTest::AssumeRole() {
const UnitTestImpl* const impl = GetUnitTestImpl();
const InternalRunDeathTestFlag* const flag =
impl->internal_run_death_test_flag();
const TestInfo* const info = impl->current_test_info();
const int death_test_index = info->result()->death_test_count();
if (flag != nullptr) {
set_write_fd(flag->write_fd());
return EXECUTE_TEST;
}
int pipe_fd[2];
GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1);
// Clear the close-on-exec flag on the write end of the pipe, lest
// it be closed when the child process does an exec:
GTEST_DEATH_TEST_CHECK_(fcntl(pipe_fd[1], F_SETFD, 0) != -1);
const std::string filter_flag = std::string("--") + GTEST_FLAG_PREFIX_ +
"filter=" + info->test_suite_name() + "." +
info->name();
const std::string internal_flag = std::string("--") + GTEST_FLAG_PREFIX_ +
"internal_run_death_test=" + file_ + "|" +
StreamableToString(line_) + "|" +
StreamableToString(death_test_index) + "|" +
StreamableToString(pipe_fd[1]);
Arguments args;
args.AddArguments(GetArgvsForDeathTestChildProcess());
args.AddArgument(filter_flag.c_str());
args.AddArgument(internal_flag.c_str());
DeathTest::set_last_death_test_message("");
CaptureStderr();
// See the comment in NoExecDeathTest::AssumeRole for why the next line
// is necessary.
FlushInfoLog();
const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]);
GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1]));
set_child_pid(child_pid);
set_read_fd(pipe_fd[0]);
set_spawned(true);
return OVERSEE_TEST;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %rdi, %rbx
callq 0x2170b2
movq 0x4c0e04(%rip), %rax # 0x6f1d18
movq 0x170(%rax), %r14
movq 0x238(%rax), %rax
movl 0xf8(%r14), %ecx
movl %ecx, 0x130(%rsp)
testq %rax, %rax
je 0x230f45
movl 0x28(%rax), %eax
movl %eax, 0x38(%rbx)
movl $0x1, %eax
jmp 0x231c63
leaq 0x108(%rsp), %rdi
callq 0x6da30
cmpl $-0x1, %eax
je 0x231ff9
movl 0x10c(%rsp), %edi
movl $0x2, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x6d3f0
cmpl $-0x1, %eax
je 0x232053
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2840d5(%rip), %rsi # 0x4b505e
leaq 0x2840d0(%rip), %rdx # 0x4b5060
leaq 0x8(%rsp), %rdi
callq 0x7b4ac
leaq 0x28445c(%rip), %rsi # 0x4b53fd
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x230fd3
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x230fdb
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284406(%rip), %rsi # 0x4b5404
callq 0x6de90
leaq 0x78(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23102a
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x231031
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%r14), %rsi
callq 0x6de90
leaq 0x240(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231085
movq %rdx, 0x230(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x240(%rsp)
jmp 0x23108b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq 0x230(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x27bd2e(%rip), %rsi # 0x4acddf
callq 0x6de90
leaq 0x1a8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2310e6
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
jmp 0x2310ee
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x198(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%r14), %rsi
callq 0x6de90
leaq 0x188(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231146
movq %rdx, 0x178(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x188(%rsp)
jmp 0x23114c
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x180(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x231184
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x2311a9
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x68(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2311c0
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x2311d7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2311ee
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x283e5d(%rip), %rsi # 0x4b505e
leaq 0x283e58(%rip), %rdx # 0x4b5060
leaq 0xa8(%rsp), %rdi
callq 0x7b4ac
leaq 0x2841e1(%rip), %rsi # 0x4b53fd
leaq 0xa8(%rsp), %rdi
callq 0x6de90
leaq 0xd8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231259
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
jmp 0x231260
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x284186(%rip), %rsi # 0x4b540c
callq 0x6de90
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2312bb
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
jmp 0x2312c2
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x40(%rbx), %rsi
callq 0x6de90
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231312
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x23131a
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2675cd(%rip), %rsi # 0x49890a
callq 0x6de90
movq %r15, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231365
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x23136c
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x48(%rbx), %rsi
leaq 0xe8(%rsp), %rdi
callq 0x23afc8
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r15, %rcx
je 0x2313ba
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2313df
leaq 0xf8(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x2313da
movq 0xf8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2313f3
movq 0xe8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6d200
jmp 0x231404
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x38(%rsp), %rsi
movq %rsi, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x231429
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x23142f
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2674b7(%rip), %rsi # 0x49890a
leaq 0x28(%rsp), %rdi
callq 0x6de90
leaq 0x78(%rsp), %rsi
movq %rsi, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x231485
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0x23148b
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x110(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0x23afc8
movq 0x68(%rsp), %rcx
movq 0x70(%rsp), %r8
movq 0x118(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x78(%rsp), %rdi
cmpq %rdi, %rcx
je 0x2314e2
movq 0x78(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x231507
leaq 0x120(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x231502
movq 0x120(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x23151b
movq 0x110(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x6d200
jmp 0x23152c
leaq 0x110(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x240(%rsp), %rsi
movq %rsi, 0x230(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x23155d
movq %rdx, 0x230(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x240(%rsp)
jmp 0x231563
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x238(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x267380(%rip), %rsi # 0x49890a
leaq 0x230(%rsp), %rdi
callq 0x6de90
leaq 0x10c(%rsp), %rsi
movq %r13, 0x198(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x2315cb
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
jmp 0x2315d3
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x1a0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x138(%rsp), %rdi
callq 0x23afc8
movq 0x198(%rsp), %rcx
movq 0x1a0(%rsp), %r8
movq 0x140(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x231629
movq 0x1a8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x23164e
leaq 0x148(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x231649
movq 0x148(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x231665
movq 0x138(%rsp), %rsi
leaq 0x198(%rsp), %rdi
callq 0x6d200
jmp 0x231676
leaq 0x138(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x168(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x2316a3
movq %rsi, 0x158(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x168(%rsp)
jmp 0x2316a9
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x160(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x148(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2316ea
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x231707
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x23172c
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x23174d
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x231769
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x231785
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2317a6
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2317bd
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x2317d4
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x2317f1
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23180e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x231833
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x110(%rsp), %rdi
callq 0x23c2a0
leaq 0x198(%rsp), %rdi
callq 0x23613b
leaq 0x110(%rsp), %rdi
leaq 0x198(%rsp), %rsi
callq 0x23c2e6
leaq 0x198(%rsp), %r14
movq %r14, %rdi
callq 0x7b038
movq 0x178(%rsp), %rdi
leaq 0x110(%rsp), %r15
movq 0x8(%r15), %r12
addq $-0x8, %r12
callq 0x6dde0
movq %rax, (%r14)
leaq 0x198(%rsp), %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x23f8f4
movq 0x158(%rsp), %rdi
leaq 0x110(%rsp), %r14
movq 0x8(%r14), %r15
addq $-0x8, %r15
callq 0x6dde0
leaq 0x198(%rsp), %rdx
movq %rax, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x23f8f4
leaq 0x198(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x16a2a7(%rip), %rdx # 0x39bb91
movq %rdx, %rsi
callq 0x7b4ac
leaq 0x4c0477(%rip), %rdi # 0x6f1d70
leaq 0x198(%rsp), %rsi
callq 0x6d3a0
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x231923
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x283c94(%rip), %rsi # 0x4b55be
leaq 0x4c0467(%rip), %rdx # 0x6f1d98
movl $0x2, %edi
callq 0x235f43
xorl %edi, %edi
callq 0x6d820
movq 0x110(%rsp), %rax
movl 0x108(%rsp), %ecx
movq %rax, 0x138(%rsp)
movl %ecx, 0x140(%rsp)
leaq 0x230(%rsp), %r14
movl $0x98, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x6d3c0
leaq 0x238(%rsp), %r15
movq %r15, %rdi
callq 0x6d8e0
movq $0x1, -0x8(%r15)
leaq 0x198(%rsp), %r15
movl $0x1b, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6d8f0
cmpl $-0x1, %eax
jne 0x231a17
callq 0x6d070
cmpl $0x4, (%rax)
je 0x231997
leaq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x2837f5(%rip), %rsi # 0x4b51c5
leaq 0x283801(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x2836fe(%rip), %rsi # 0x4b50e1
leaq 0xa8(%rsp), %rdi
callq 0x6de90
movq %rbp, 0xc8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231c75
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x231c88
movb 0x4c034a(%rip), %r12b # 0x6f1d68
movl $0xffffffff, %ebp # imm = 0xFFFFFFFF
testb %r12b, %r12b
jne 0x231ac8
movb 0x4c038e(%rip), %al # 0x6f1dc0
testb %al, %al
je 0x23211d
callq 0x6ddc0
addl %eax, %eax
movslq %eax, %r14
xorl %edi, %edi
movq %r14, %rsi
movl $0x3, %edx
movl $0x22, %ecx
movl $0xffffffff, %r8d # imm = 0xFFFFFFFF
xorl %r9d, %r9d
callq 0x6dd80
cmpq $-0x1, %rax
je 0x232127
movq %rax, %r15
xorl %esi, %esi
cmpb $0x0, 0x4c0341(%rip) # 0x6f1db8
leaq -0x40(%r14), %rax
cmovneq %rax, %rsi
cmpl $0x41, %r14d
jb 0x232197
addq %r15, %rsi
movl %esi, %eax
andl $0x3f, %eax
jne 0x232197
leaq 0x5b39(%rip), %rdi # 0x2375d7
leaq 0x138(%rsp), %rcx
movl $0x11, %edx
xorl %eax, %eax
callq 0x6de20
movl %eax, %ebp
movq %r15, %rdi
movq %r14, %rsi
callq 0x6d3e0
cmpl $-0x1, %eax
je 0x232214
testb %r12b, %r12b
je 0x231adc
callq 0x6d1c0
movl %eax, %ebp
testl %eax, %eax
je 0x232207
leaq 0x198(%rsp), %r14
movl $0x1b, %edi
movq %r14, %rsi
xorl %edx, %edx
callq 0x6d8f0
cmpl $-0x1, %eax
jne 0x231b72
callq 0x6d070
cmpl $0x4, (%rax)
je 0x231ae4
leaq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x2836a9(%rip), %rsi # 0x4b51c5
leaq 0x2836b5(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x2835b2(%rip), %rsi # 0x4b50e1
leaq 0xa8(%rsp), %rdi
callq 0x6de90
leaq 0xd8(%rsp), %rcx
movq %rcx, 0xc8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231ce9
movups (%rcx), %xmm0
leaq 0xd8(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x231cfc
cmpl $-0x1, %ebp
je 0x2320ad
movl 0x10c(%rsp), %edi
callq 0x6ded0
cmpl $-0x1, %eax
jne 0x231bfd
callq 0x6d070
cmpl $0x4, (%rax)
je 0x231b7b
leaq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
movq %rax, (%rdi)
leaq 0x283615(%rip), %rsi # 0x4b51c5
leaq 0x283621(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x28351e(%rip), %rsi # 0x4b50e1
leaq 0x88(%rsp), %rdi
callq 0x6de90
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231d5d
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x231d6a
movl %ebp, 0x3c(%rbx)
movl 0x108(%rsp), %eax
movl %eax, 0x34(%rbx)
movb $0x1, 0x28(%rbx)
leaq 0x110(%rsp), %rdi
callq 0x23c344
leaq 0x168(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x231c3c
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x231c61
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x6d6d0
xorl %eax, %eax
addq $0x2c8, %rsp # imm = 0x2C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28352b(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231dbf
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x231dd2
movq %rdx, 0xc8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2834b7(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231e85
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x231e98
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28344c(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x231f4b
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x231f58
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x134(%rsp), %rsi
movl $0x549, (%rsi) # imm = 0x549
leaq 0xe8(%rsp), %rdi
callq 0x23afc8
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %r8
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x98(%rsp), %rdi
cmpq %rdi, %rcx
je 0x231e3e
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x231e6b
movl $0xf, %esi
leaq 0xf8(%rsp), %rdi
cmpq %rdi, 0xe8(%rsp)
je 0x231e62
movq 0xf8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232284
movq 0xe8(%rsp), %rsi
leaq 0x88(%rsp), %rdi
callq 0x6d200
jmp 0x232295
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x90(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x134(%rsp), %rsi
movl $0x574, (%rsi) # imm = 0x574
leaq 0xe8(%rsp), %rdi
callq 0x23afc8
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %r8
movq 0xf0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x98(%rsp), %rdi
cmpq %rdi, %rcx
je 0x231f04
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x231f31
movl $0xf, %esi
leaq 0xf8(%rsp), %rdi
cmpq %rdi, 0xe8(%rsp)
je 0x231f28
movq 0xf8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232320
movq 0xe8(%rsp), %rsi
leaq 0x88(%rsp), %rdi
callq 0x6d200
jmp 0x232331
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xa8(%rsp), %rsi
movl $0x5a6, (%rsi) # imm = 0x5A6
leaq 0xc8(%rsp), %rdi
callq 0x23afc8
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0xd0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x18(%rsp), %rdi
cmpq %rdi, %rcx
je 0x231fb5
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x231fe2
movl $0xf, %esi
leaq 0xd8(%rsp), %rdi
cmpq %rdi, 0xc8(%rsp)
je 0x231fd9
movq 0xd8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2323bc
movq 0xc8(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x6d200
jmp 0x2323cd
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2831bc(%rip), %rsi # 0x4b51c5
leaq 0x2831c8(%rip), %rdx # 0x4b51d8
leaq 0x48(%rsp), %rdi
callq 0x7b4ac
leaq 0x2830c0(%rip), %rsi # 0x4b50e1
leaq 0x48(%rsp), %rdi
callq 0x6de90
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232587
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x232594
leaq 0x58(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x283162(%rip), %rsi # 0x4b51c5
leaq 0x28316e(%rip), %rdx # 0x4b51d8
leaq 0x48(%rsp), %rdi
callq 0x7b4ac
leaq 0x283066(%rip), %rsi # 0x4b50e1
leaq 0x48(%rsp), %rdi
callq 0x6de90
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2325e6
movups (%rcx), %xmm0
movups %xmm0, (%r15)
jmp 0x2325f3
leaq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x2830fe(%rip), %rsi # 0x4b51c5
leaq 0x28310a(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x283007(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232645
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232658
callq 0x7181a
jmp 0x231a3a
leaq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x283084(%rip), %rsi # 0x4b51c5
leaq 0x283090(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x282f8d(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232924
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232937
leaq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x283014(%rip), %rsi # 0x4b51c5
leaq 0x283020(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x282f1d(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23298f
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2329a2
leaq 0x138(%rsp), %rdi
callq 0x2375d7
leaq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
movq %rax, (%rdi)
leaq 0x282f97(%rip), %rsi # 0x4b51c5
leaq 0x282fa3(%rip), %rdx # 0x4b51d8
callq 0x7b4ac
leaq 0x282ea0(%rip), %rsi # 0x4b50e1
leaq 0xc8(%rsp), %rdi
callq 0x6de90
leaq 0x98(%rsp), %rcx
movq %rcx, 0x88(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2329fa
movups (%rcx), %xmm0
leaq 0x98(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232a0d
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x2322b8
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2322c5
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x27662b(%rip), %rsi # 0x4a8914
leaq 0x48(%rsp), %rdi
callq 0x6de90
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232458
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232465
leaq 0xe8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x232354
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232361
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x27658f(%rip), %rsi # 0x4a8914
leaq 0x48(%rsp), %rdi
callq 0x6de90
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2324ba
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2324c7
leaq 0xc8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x2323f0
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2323fd
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2764f3(%rip), %rsi # 0x4a8914
leaq 0x28(%rsp), %rdi
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23251c
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232529
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x283af8(%rip), %rsi # 0x4b5f80
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2326b0
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2326bd
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x283b86(%rip), %rsi # 0x4b6070
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232712
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23271f
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282e7b(%rip), %rsi # 0x4b53c7
callq 0x6de90
leaq 0x240(%rsp), %rcx
movq %rcx, 0x230(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232774
movups (%rcx), %xmm0
leaq 0x240(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232787
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282c22(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2327da
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x2327e7
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282bc3(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23287f
movups (%rcx), %xmm0
movups %xmm0, (%r12)
jmp 0x23288c
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282b5b(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232a65
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232a72
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282d16(%rip), %rsi # 0x4b53f6
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232b13
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232b20
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282cb4(%rip), %rsi # 0x4b53f6
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232b41
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232b4e
movq %rdx, 0x230(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x240(%rsp)
movq 0x8(%rax), %rdx
leaq 0x230(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282c49(%rip), %rsi # 0x4b53f6
callq 0x6de90
movq %r13, 0x198(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232b6f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x232b82
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xc8(%rsp), %rsi
movl $0x58c, (%rsi) # imm = 0x58C
leaq 0x88(%rsp), %rdi
callq 0x23afc8
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x23283f
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232868
leaq 0x98(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x23285f
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232db0
movq 0x88(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x6d200
jmp 0x232dc1
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x30(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xc8(%rsp), %rsi
movl $0x58f, (%rsi) # imm = 0x58F
leaq 0x88(%rsp), %rdi
callq 0x23afc8
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x2328e4
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x23290d
leaq 0x98(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x232904
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232e45
movq 0x88(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x6d200
jmp 0x232e56
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28287c(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232ba6
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232bb3
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282811(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232c54
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232c61
movq %rdx, 0x88(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x98(%rsp)
movq 0x8(%rax), %rdx
leaq 0x88(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2827a6(%rip), %rsi # 0x4b51d9
callq 0x6de90
leaq 0x58(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232d02
movups (%rcx), %xmm0
leaq 0x58(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232d0f
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rsi
movl $0x577, (%rsi) # imm = 0x577
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x232acf
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232afc
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x232af3
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232eda
movq 0xa8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x6d200
jmp 0x232eeb
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
movq 0x8(%rax), %rdx
leaq 0x198(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rsi
movl $0x555, (%rsi) # imm = 0x555
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x232c10
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232c3d
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x232c34
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x233048
movq 0xa8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x6d200
jmp 0x233059
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rsi
movl $0x563, (%rsi) # imm = 0x563
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x232cbe
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232ceb
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x232ce2
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2330e4
movq 0xa8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x6d200
jmp 0x2330f5
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0xe8(%rsp), %rsi
movl $0x567, (%rsi) # imm = 0x567
leaq 0xa8(%rsp), %rdi
callq 0x23afc8
movq 0x48(%rsp), %rcx
movq 0x50(%rsp), %r8
movq 0xb0(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
leaq 0x58(%rsp), %rdi
cmpq %rdi, %rcx
je 0x232d6c
movq 0x58(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x232d99
movl $0xf, %esi
leaq 0xb8(%rsp), %rdi
cmpq %rdi, 0xa8(%rsp)
je 0x232d90
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x233180
movq 0xa8(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x6d200
jmp 0x233191
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x78(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x232dde
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x232deb
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x275b05(%rip), %rsi # 0x4a8914
leaq 0x68(%rsp), %rdi
callq 0x6de90
leaq 0x240(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232f76
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x232f89
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x78(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x232e73
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x232e80
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x275a70(%rip), %rsi # 0x4a8914
leaq 0x68(%rsp), %rdi
callq 0x6de90
leaq 0x240(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x232fdf
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x232ff2
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x232f0e
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x232f1b
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2759d5(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23321c
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x233229
movq %rdx, 0x230(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x240(%rsp)
movq 0x8(%rax), %rdx
leaq 0x230(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2823e2(%rip), %rsi # 0x4b5391
callq 0x6de90
leaq 0x1a8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23327e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x233291
movq %rdx, 0x230(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x240(%rsp)
movq 0x8(%rax), %rdx
leaq 0x230(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2823c1(%rip), %rsi # 0x4b53d9
callq 0x6de90
leaq 0x1a8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2332b5
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
jmp 0x2332c8
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x23307c
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x233089
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x275867(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2332ec
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2332f9
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x233118
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x233125
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x2757cb(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23334e
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23335b
leaq 0xa8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x18(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
jne 0x2331b4
movups (%rcx), %xmm0
leaq 0x18(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2331c1
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x27572f(%rip), %rsi # 0x4a8914
leaq 0x8(%rsp), %rdi
callq 0x6de90
leaq 0x38(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x2333b0
movups (%rcx), %xmm0
leaq 0x38(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2333bd
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282159(%rip), %rsi # 0x4b53a5
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x233412
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23341f
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
movq 0x8(%rax), %rdx
leaq 0x198(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x198(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x1a8(%rsp)
movq 0x8(%rax), %rdx
leaq 0x198(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282ca7(%rip), %rsi # 0x4b5fc3
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x233440
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23344d
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282c59(%rip), %rsi # 0x4b5fd7
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23346e
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x23347b
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x282c70(%rip), %rsi # 0x4b6050
callq 0x6de90
leaq 0x78(%rsp), %rcx
movq %rcx, 0x68(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x23349c
movups (%rcx), %xmm0
leaq 0x78(%rsp), %rdx
movups %xmm0, (%rdx)
jmp 0x2334a9
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
movq %rdx, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
movq 0x8(%rax), %rdx
leaq 0x68(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
callq 0x22e159
jmp 0x2334d6
jmp 0x2334f7
jmp 0x2334d6
jmp 0x2334f7
jmp 0x2334d6
jmp 0x2334f7
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2334fa
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2334fa
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x233569
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233569
jmp 0x233566
jmp 0x233566
jmp 0x233566
jmp 0x233522
jmp 0x233544
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %rbp, %rdi
je 0x233547
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233547
movq %rax, %rbx
movq 0x230(%rsp), %rdi
cmpq %r13, %rdi
je 0x233592
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233592
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2335b2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2335b2
jmp 0x2335af
jmp 0x2335af
jmp 0x2335af
jmp 0x23358f
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2335e4
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2335e4
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x23360a
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23360a
jmp 0x233607
jmp 0x233607
jmp 0x233607
jmp 0x2335e1
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x233643
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233643
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x23374b
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23374b
jmp 0x233748
jmp 0x233748
jmp 0x233748
jmp 0x233640
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x23378d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23378d
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x233688
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233688
movq %rax, %rbx
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x2337b0
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2337b0
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2336da
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2336da
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2337d8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2337d8
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x233723
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233723
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x233800
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233800
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x233828
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233828
jmp 0x233825
jmp 0x233825
jmp 0x233825
jmp 0x23378a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x233862
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233862
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x23387d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23387d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x23389e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23389e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2338bf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2338bf
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x233d5c
movq 0xd8(%rsp), %rsi
jmp 0x233d49
jmp 0x233d59
jmp 0x233d59
jmp 0x233d59
jmp 0x23385f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r14, %rdi
je 0x233daf
movq 0x58(%rsp), %rsi
jmp 0x233da7
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x2338f8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2338f8
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x233929
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233929
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x23395a
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23395a
jmp 0x233d59
jmp 0x233d59
jmp 0x233c26
jmp 0x233c26
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
je 0x233c31
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233c31
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x233c52
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233c52
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
leaq 0xf8(%rsp), %rax
cmpq %rax, %rdi
je 0x233c7c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233c7c
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x233d5c
movq 0x1a8(%rsp), %rsi
jmp 0x233d49
jmp 0x233d59
movq %rax, %rbx
leaq 0x198(%rsp), %rdi
callq 0x7b038
jmp 0x233d5c
jmp 0x233d59
movq %rax, %rbx
jmp 0x233d69
movq %rax, %rbx
leaq 0x148(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2339f9
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2339f9
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x233a1b
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233a1b
movq %rax, %rbx
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x233a45
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233a45
movq %rax, %rbx
leaq 0x120(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x233a6b
movq 0x120(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233a6b
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x233a8c
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233a8c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x233aad
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233aad
movq %rax, %rbx
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x233ad3
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233ad3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x233aef
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233aef
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x233b06
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x233b23
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x233b40
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x233d8a
movq 0xb8(%rsp), %rsi
jmp 0x233d82
movq %rax, %rbx
jmp 0x233b06
movq %rax, %rbx
jmp 0x233b23
movq %rax, %rbx
jmp 0x233b40
movq %rax, %rbx
jmp 0x233d8a
movq %rax, %rbx
movq 0x198(%rsp), %rdi
cmpq %r13, %rdi
je 0x233ba2
movq 0x1a8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233ba2
movq %rax, %rbx
movq 0x230(%rsp), %rdi
leaq 0x240(%rsp), %rax
cmpq %rax, %rdi
je 0x233bcc
movq 0x240(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233bcc
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x233bed
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233bed
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x233c0e
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233c0e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x233daf
movq 0x18(%rsp), %rsi
jmp 0x233da7
movq %rax, %rbx
jmp 0x233daf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x233cab
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233cab
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x233ccc
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233ccc
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x233ce6
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233ce6
jmp 0x233d59
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x233d08
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233d08
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
leaq 0xd8(%rsp), %rax
cmpq %rax, %rdi
jne 0x233cf3
jmp 0x233d2c
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x233d2c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233d2c
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x233d5c
movq 0x98(%rsp), %rsi
jmp 0x233d49
jmp 0x233d29
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x233d5c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x233d5c
jmp 0x233d59
jmp 0x233d59
jmp 0x233d59
movq %rax, %rbx
leaq 0x110(%rsp), %rdi
callq 0x23c344
leaq 0x168(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x233d8a
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x178(%rsp), %rdi
leaq 0x188(%rsp), %rax
cmpq %rax, %rdi
je 0x233daf
movq 0x188(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::DefaultDeathTestFactory::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>, char const*, int, testing::internal::DeathTest**)
|
bool DefaultDeathTestFactory::Create(const char* statement,
Matcher<const std::string&> matcher,
const char* file, int line,
DeathTest** test) {
UnitTestImpl* const impl = GetUnitTestImpl();
const InternalRunDeathTestFlag* const flag =
impl->internal_run_death_test_flag();
const int death_test_index = impl->current_test_info()
->increment_death_test_count();
if (flag != nullptr) {
if (death_test_index > flag->index()) {
DeathTest::set_last_death_test_message(
"Death test count (" + StreamableToString(death_test_index)
+ ") somehow exceeded expected maximum ("
+ StreamableToString(flag->index()) + ")");
return false;
}
if (!(flag->file() == file && flag->line() == line &&
flag->index() == death_test_index)) {
*test = nullptr;
return true;
}
}
# if GTEST_OS_WINDOWS
if (GTEST_FLAG_GET(death_test_style) == "threadsafe" ||
GTEST_FLAG_GET(death_test_style) == "fast") {
*test = new WindowsDeathTest(statement, std::move(matcher), file, line);
}
# elif GTEST_OS_FUCHSIA
if (GTEST_FLAG_GET(death_test_style) == "threadsafe" ||
GTEST_FLAG_GET(death_test_style) == "fast") {
*test = new FuchsiaDeathTest(statement, std::move(matcher), file, line);
}
# else
if (GTEST_FLAG_GET(death_test_style) == "threadsafe") {
*test = new ExecDeathTest(statement, std::move(matcher), file, line);
} else if (GTEST_FLAG_GET(death_test_style) == "fast") {
*test = new NoExecDeathTest(statement, std::move(matcher));
}
# endif // GTEST_OS_WINDOWS
else { // NOLINT - this is more readable than unbalanced brackets inside #if.
DeathTest::set_last_death_test_message("Unknown death test style \"" +
GTEST_FLAG_GET(death_test_style) +
"\" encountered");
return false;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %r9, %rbx
movl %r8d, %ebp
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %r15
callq 0x2170b2
movq 0x4bdf34(%rip), %rax # 0x6f1d18
movq 0x238(%rax), %r14
movq 0x170(%rax), %rcx
movl 0xf8(%rcx), %eax
leal 0x1(%rax), %edx
movl %edx, 0xf8(%rcx)
movl %edx, 0xc(%rsp)
testq %r14, %r14
je 0x233e3f
cmpl 0x24(%r14), %eax
jge 0x233ecd
movq %r14, %rdi
movq %r13, %rsi
callq 0x6d1e0
testl %eax, %eax
jne 0x233f2f
cmpl %ebp, 0x20(%r14)
jne 0x233f2f
movl 0x24(%r14), %eax
cmpl 0xc(%rsp), %eax
jne 0x233f2f
leaq 0x4bdf02(%rip), %rdi # 0x6f1d48
leaq 0x28124b(%rip), %rsi # 0x4b5098
callq 0x6d1e0
testl %eax, %eax
je 0x233f3b
leaq 0x4bdee7(%rip), %rdi # 0x6f1d48
leaq 0x27ed8b(%rip), %rsi # 0x4b2bf3
callq 0x6d1e0
testl %eax, %eax
je 0x23408a
leaq 0x2815e2(%rip), %rsi # 0x4b545e
leaq 0x4bdec5(%rip), %rdx # 0x6f1d48
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x887d8
leaq 0x2815e2(%rip), %rsi # 0x4b5479
movq %rbx, %rdi
callq 0x6de90
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23424e
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x234255
leaq 0xb8(%rsp), %rbx
leaq 0xc(%rsp), %rsi
movq %rbx, %rdi
callq 0x23afc8
leaq 0x28153c(%rip), %rcx # 0x4b5425
movl $0x12, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0xa0(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x233fa0
movq %rdx, 0x90(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xa0(%rsp)
jmp 0x233fa7
movq $0x0, (%rbx)
jmp 0x2340e9
movl $0x50, %edi
callq 0x6df30
movq %rax, %r14
leaq 0x34eb31(%rip), %rax # 0x582a80
leaq 0xf0(%rsp), %rdx
movq %rax, (%rdx)
movq 0x8(%r12), %rax
movq %rax, 0x8(%rdx)
movq 0x10(%r12), %rax
movq %rax, 0x10(%rdx)
movq $0x0, 0x8(%r12)
leaq 0x34e79c(%rip), %rax # 0x582718
movq %rax, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rcx
movl %ebp, %r8d
callq 0x23c38a
movq %r14, (%rbx)
leaq 0xf0(%rsp), %rdi
jmp 0x2340e4
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x90(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28146b(%rip), %rsi # 0x4b5438
callq 0x6de90
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x233ffa
movq %rdx, 0x50(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x60(%rsp)
jmp 0x234002
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, 0x58(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x24(%r14), %eax
leaq 0xb4(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x70(%rsp), %rdi
callq 0x23afc8
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x78(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x234054
movq 0x60(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x234079
leaq 0x80(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x234074
movq 0x80(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x2340f0
movq 0x70(%rsp), %rsi
leaq 0x50(%rsp), %rdi
callq 0x6d200
jmp 0x2340fe
movl $0x40, %edi
callq 0x6df30
movq %rax, %r14
leaq 0x34e9e2(%rip), %rax # 0x582a80
leaq 0xd8(%rsp), %rdx
movq %rax, (%rdx)
movq 0x8(%r12), %rax
movq %rax, 0x8(%rdx)
movq 0x10(%r12), %rax
movq %rax, 0x10(%rdx)
movq $0x0, 0x8(%r12)
leaq 0x34e64d(%rip), %rax # 0x582718
movq %rax, (%rdx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x23c410
movq %r14, (%rbx)
leaq 0xd8(%rsp), %rdi
callq 0x23c1ea
movb $0x1, %al
jmp 0x2342b1
leaq 0x70(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6d7b0
leaq 0x20(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x234122
movq %rsi, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x234128
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x167fa(%rip), %rsi # 0x24a946
leaq 0x10(%rsp), %rdi
callq 0x6de90
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x23417d
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x234184
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4bdbc9(%rip), %rdi # 0x6f1d70
callq 0x6d3a0
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2341c3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2341de
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2341ff
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x234216
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x234233
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2342af
movq 0xc8(%rsp), %rsi
jmp 0x2342a7
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x30(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x4bdaf8(%rip), %rdi # 0x6f1d70
callq 0x6d3a0
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x234294
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2342af
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
xorl %eax, %eax
addq $0x108, %rsp # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xd8(%rsp), %rdi
callq 0x23c1ea
movl $0x40, %esi
jmp 0x2342ef
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x23c1ea
movl $0x50, %esi
movq %r14, %rdi
jmp 0x2343f1
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x234316
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x234316
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2343f6
movq 0x20(%rsp), %rsi
jmp 0x2343ee
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x234351
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x234351
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x234371
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x234371
movq %rax, %rbx
leaq 0x80(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x234397
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x234397
movq %rax, %rbx
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x2343b3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2343b3
movq %rax, %rbx
movq 0x90(%rsp), %rdi
cmpq %r15, %rdi
je 0x2343d5
movq 0xa0(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2343d5
movq %rax, %rbx
leaq 0xc8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2343f6
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc
|
testing::internal::FilePath::FileOrDirectoryExists() const
|
bool FilePath::FileOrDirectoryExists() const {
#if GTEST_OS_WINDOWS_MOBILE
LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
const DWORD attributes = GetFileAttributes(unicode);
delete [] unicode;
return attributes != kInvalidFileAttributes;
#else
posix::StatStruct file_stat{};
return posix::Stat(pathname_.c_str(), &file_stat) == 0;
#endif // GTEST_OS_WINDOWS_MOBILE
}
|
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movl $0x90, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x6d3c0
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x6d600
testl %eax, %eax
sete %al
addq $0x98, %rsp
popq %rbx
popq %r14
retq
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-filepath.cc
|
testing::internal::PrintTo(char16_t const*, std::ostream*)
|
void PrintTo(const char16_t* s, ostream* os) { PrintCStringTo(s, os); }
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rdi, %rdi
je 0x23666a
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6d560
leaq 0x27fe8b(%rip), %rsi # 0x4b64c2
movl $0xd, %edx
movq %rax, %rdi
callq 0x6d7d0
movq $-0x1, %rsi
cmpw $0x0, 0x2(%r14,%rsi,2)
leaq 0x1(%rsi), %rsi
jne 0x23664b
movq %r14, %rdi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x236a81
leaq 0x14461(%rip), %rsi # 0x24aad2
movl $0x4, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6d7d0
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-printers.cc
|
testing::internal::CharFormat testing::internal::PrintCharsAsStringTo<char16_t>(char16_t const*, unsigned long, std::ostream*)
|
static CharFormat PrintCharsAsStringTo(
const CharType* begin, size_t len, ostream* os) {
const char* const quote_prefix = GetCharWidthPrefix(*begin);
*os << quote_prefix << "\"";
bool is_previous_hex = false;
CharFormat print_format = kAsIs;
for (size_t index = 0; index < len; ++index) {
const CharType cur = begin[index];
if (is_previous_hex && IsXDigit(cur)) {
// Previous character is of '\x..' form and this character can be
// interpreted as another hexadecimal digit in its number. Break string to
// disambiguate.
*os << "\" " << quote_prefix << "\"";
}
is_previous_hex = PrintAsStringLiteralTo(cur, os) == kHexEscape;
// Remember if any characters required hex escaping.
if (is_previous_hex) {
print_format = kHexEscape;
}
}
*os << "\"";
return print_format;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x3055f(%rip), %rsi # 0x266ffb
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x276cac(%rip), %rsi # 0x4ad75c
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
testq %r14, %r14
je 0x236b3d
xorl %eax, %eax
leaq 0x276c91(%rip), %rbp # 0x4ad75c
xorl %r13d, %r13d
movzwl (%r15,%r13,2), %r12d
testb $0x1, %al
je 0x236b24
cmpl $0xff, %r12d
ja 0x236b24
movl %r12d, %edi
callq 0x6d180
testl %eax, %eax
je 0x236b24
movl $0x2, %edx
movq %rbx, %rdi
leaq 0x12a7b(%rip), %rsi # 0x249576
callq 0x6d7d0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x304ec(%rip), %rsi # 0x266ffb
callq 0x6d7d0
movl $0x1, %edx
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x6d7d0
movl %r12d, %edi
movq %rbx, %rsi
callq 0x238f7b
cmpl $0x1, %eax
sete %al
incq %r13
cmpq %r13, %r14
jne 0x236ace
leaq 0x276c18(%rip), %rsi # 0x4ad75c
movl $0x1, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6d7d0
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-printers.cc
|
testing::internal::HasNewFatalFailureHelper::~HasNewFatalFailureHelper()
|
HasNewFatalFailureHelper::~HasNewFatalFailureHelper() {
GetUnitTestImpl()->SetTestPartResultReporterForCurrentThread(
original_reporter_);
}
|
pushq %rbx
movq %rdi, %rbx
leaq 0x34b0c9(%rip), %rax # 0x582080
movq %rax, (%rdi)
callq 0x2170b2
movq 0x10(%rbx), %rbx
movl $0x90, %edi
addq 0x4bad49(%rip), %rdi # 0x6f1d18
callq 0x24036a
movq %rbx, (%rax)
popq %rbx
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-test-part.cc
|
testing::internal::TypedTestSuitePState::VerifyRegisteredTestNames(char const*, char const*, int, char const*)
|
const char* TypedTestSuitePState::VerifyRegisteredTestNames(
const char* test_suite_name, const char* file, int line,
const char* registered_tests) {
RegisterTypeParameterizedTestSuite(test_suite_name, CodeLocation(file, line));
typedef RegisteredTestsMap::const_iterator RegisteredTestIter;
registered_ = true;
std::vector<std::string> name_vec = SplitIntoTestNames(registered_tests);
Message errors;
std::set<std::string> tests;
for (std::vector<std::string>::const_iterator name_it = name_vec.begin();
name_it != name_vec.end(); ++name_it) {
const std::string& name = *name_it;
if (tests.count(name) != 0) {
errors << "Test " << name << " is listed more than once.\n";
continue;
}
if (registered_tests_.count(name) != 0) {
tests.insert(name);
} else {
errors << "No test named " << name
<< " can be found in this test suite.\n";
}
}
for (RegisteredTestIter it = registered_tests_.begin();
it != registered_tests_.end();
++it) {
if (tests.count(it->first) == 0) {
errors << "You forgot to list test " << it->first << ".\n";
}
}
const std::string& errors_str = errors.GetString();
if (errors_str != "") {
fprintf(stderr, "%s %s", FormatFileLocation(file, line).c_str(),
errors_str.c_str());
fflush(stderr);
posix::Abort();
}
return registered_tests;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r12, %rsi
callq 0x86e14
leaq 0xb0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rdi
callq 0x79bac
leaq 0xa0(%rsp), %rsi
movl %ebp, 0x20(%rsi)
movq %rbx, %rdi
callq 0x217f0a
movl %ebp, 0x3c(%rsp)
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x23709d
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %r12, 0x88(%rsp)
leaq 0x50(%rsp), %rbp
movq -0x10(%rbp), %rdi
cmpq %rbp, %rdi
je 0x2370c0
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x30(%rsp), %rax
movb $0x1, (%rax)
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
movq $0x0, 0x80(%rsp)
movq %r15, 0x90(%rsp)
leaq -0x1(%r15), %r12
movzbl 0x1(%r12), %edi
incq %r12
callq 0x6d0c0
testl %eax, %eax
jne 0x2370e8
leaq 0x18(%rsp), %rbx
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movl $0x2c, %esi
callq 0x6d280
movq %rbx, 0x8(%rsp)
testq %rax, %rax
je 0x23712b
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x7b4ac
jmp 0x237142
movq %r12, %rdi
callq 0x6d2d0
leaq (%rax,%r12), %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0x7b4ac
movq 0x8(%rsp), %r14
movq 0x10(%rsp), %r15
testq %r15, %r15
je 0x237190
addq %r14, %r15
movzbl -0x1(%r15), %edi
callq 0x6d0c0
testl %eax, %eax
je 0x237190
decq %r15
movq %r15, %rbx
subq %r14, %rbx
movl $0x1, %edx
movq %r13, %rdi
movq %rbx, %rsi
callq 0x6d850
movq 0x8(%rsp), %rax
addq %rax, %rbx
cmpq %r14, %r15
movq %rax, %r14
movq %rbx, %r15
jne 0x237154
jmp 0x237193
movq %r14, %rax
movq %rbp, 0x40(%rsp)
leaq 0x18(%rsp), %rbx
cmpq %rbx, %rax
je 0x2371b3
movq %rax, 0x40(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x50(%rsp)
jmp 0x2371ba
movups (%rbx), %xmm0
movups %xmm0, (%rbp)
movq 0x10(%rsp), %rax
movq %rax, 0x48(%rsp)
movq %rbx, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
leaq 0x70(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x8ab9e
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2371fd
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rsp), %rdi
cmpq %rbx, %rdi
je 0x237214
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %r12, %rdi
movl $0x2c, %esi
callq 0x6d280
testq %rax, %rax
je 0x23723d
movq %rax, %r12
movzbl 0x1(%r12), %edi
incq %r12
callq 0x6d0c0
testl %eax, %eax
jne 0x237229
jmp 0x237240
xorl %r12d, %r12d
testq %r12, %r12
jne 0x237104
leaq 0x28(%rsp), %rdi
callq 0x21b02a
leaq 0x48(%rsp), %r13
movl $0x0, (%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq 0x70(%rsp), %r14
cmpq 0x78(%rsp), %r14
je 0x23734f
movq 0x28(%rsp), %r12
addq $0x10, %r12
movq 0x30(%rsp), %rax
leaq 0x8(%rax), %r15
addq $0x10, %rax
movq %rax, 0x98(%rsp)
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1edc9a
cmpq %r13, %rax
je 0x2372f1
movl $0x5, %edx
movq %r12, %rdi
leaq 0x27e41a(%rip), %rsi # 0x4b56de
callq 0x6d7d0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movl $0x1b, %ebx
movq %r12, %rdi
callq 0x6d7d0
leaq 0x27e400(%rip), %rsi # 0x4b56e4
movq %r12, %rdi
movq %rbx, %rdx
callq 0x6d7d0
jmp 0x237311
movq %r15, %rdi
movq %r14, %rsi
callq 0x23fd64
cmpq 0x98(%rsp), %rax
je 0x23731e
movq %rbp, %rdi
movq %r14, %rsi
callq 0x1eca4e
addq $0x20, %r14
cmpq 0x78(%rsp), %r14
jne 0x2372a5
jmp 0x23734f
movl $0xe, %edx
movq %r12, %rdi
leaq 0x27e3d3(%rip), %rsi # 0x4b5700
callq 0x6d7d0
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movl $0x22, %ebx
movq %r12, %rdi
callq 0x6d7d0
leaq 0x27e3c2(%rip), %rsi # 0x4b570f
jmp 0x2372e4
movq 0x30(%rsp), %rax
movq 0x20(%rax), %rbx
addq $0x10, %rax
cmpq %rax, %rbx
je 0x2373ce
movq %rax, %r15
leaq 0x40(%rsp), %r14
leaq 0x27d4ca(%rip), %r12 # 0x4b483a
leaq 0x20(%rbx), %rsi
movq %r14, %rdi
callq 0x1edc9a
cmpq %r13, %rax
jne 0x2373be
movq 0x28(%rsp), %rbp
addq $0x10, %rbp
movl $0x18, %edx
movq %rbp, %rdi
leaq 0x27e399(%rip), %rsi # 0x4b5732
callq 0x6d7d0
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %rbp, %rdi
callq 0x6d7d0
movl $0x2, %edx
movq %rbp, %rdi
movq %r12, %rsi
callq 0x6d7d0
movq %rbx, %rdi
callq 0x6d7f0
movq %rax, %rbx
cmpq %r15, %rax
jne 0x237370
movq 0x28(%rsp), %rbx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x21b29f
leaq 0x1647aa(%rip), %rsi # 0x39bb91
leaq 0x8(%rsp), %rdi
callq 0x6d1e0
testl %eax, %eax
movq 0x90(%rsp), %r14
leaq 0x18(%rsp), %rax
jne 0x237450
movq 0x8(%rsp), %rdi
cmpq %rax, %rdi
je 0x237419
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x40(%rsp), %rdi
callq 0x1e9c9c
testq %rbx, %rbx
je 0x237431
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
leaq 0x70(%rsp), %rdi
callq 0x7b038
movq %r14, %rax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x34bb69(%rip), %rax # 0x582fc0
movq (%rax), %rbx
leaq 0xc8(%rsp), %rdi
movq 0x88(%rsp), %rsi
movl 0x3c(%rsp), %edx
callq 0x21fb4a
leaq 0xc8(%rsp), %rdi
leaq 0x8(%rsp), %rsi
movq %rbx, %rdx
callq 0x7187e
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x237524
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x237524
jmp 0x237521
jmp 0x2374fe
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x2374d6
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2374d6
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x237572
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x237572
movq %rax, %rbx
jmp 0x237572
jmp 0x2374fe
movq %rax, %rbx
jmp 0x237568
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23754c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x23754c
jmp 0x237521
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x1e9c9c
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x23753e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
jmp 0x237568
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x237568
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
leaq 0x70(%rsp), %rdi
callq 0x7b038
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-typed-test.cc
|
testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0)::FactoryImpl::~FactoryImpl()
|
explicit FactoryImpl(Factory f) : factory_(std::move(f)) {}
|
pushq %rbx
movq %rdi, %rbx
leaq 0x34a529(%rip), %rax # 0x5825c0
movq %rax, (%rdi)
movq 0x28(%rdi), %rdi
leaq 0x38(%rbx), %rax
cmpq %rax, %rdi
je 0x2380b2
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x2380cb
movq (%rbx), %rsi
incq %rsi
popq %rbx
jmp 0x6d6d0
popq %rbx
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h
|
testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0)::FactoryImpl::CreateTest()
|
Test* CreateTest() override { return factory_(); }
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movl $0x60, %edi
callq 0x6df30
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x79bac
addq $0x28, %r14
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2381b8
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x238177
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x2381a2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
jmp 0x2381a2
movq %rax, %r14
movl $0x60, %esi
movq %rbx, %rdi
callq 0x6d6d0
movq %r14, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h
|
testing::internal::(anonymous namespace)::FailureTest::TestBody()
|
void TestBody() override {
if (as_error_) {
AssertHelper(TestPartResult::kNonFatalFailure, loc_.file.c_str(),
loc_.line, "") = Message() << error_message_;
} else {
std::cout << error_message_ << std::endl;
}
}
|
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
cmpb $0x1, 0x58(%rdi)
jne 0x238396
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %rdi
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
callq 0x6d7d0
movq 0x10(%r14), %rdx
movl 0x30(%r14), %ecx
leaq 0x163839(%rip), %r8 # 0x39bb91
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
callq 0x216f22
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x216fc0
leaq 0x8(%rsp), %rdi
callq 0x216f8e
testq %rbx, %rbx
je 0x23838e
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
movq 0x34ac13(%rip), %rdi # 0x582fb8
callq 0x6d7d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x6d690
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6d050
movq %rax, %rdi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0x6d490
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x216f8e
jmp 0x2383ef
jmp 0x2383ec
movq %rax, %r14
testq %rbx, %rbx
je 0x2383fd
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x8(%rax)
movq %r14, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*)
|
static std::string FormatCxxExceptionMessage(const char* description,
const char* location) {
Message message;
if (description != nullptr) {
message << "C++ exception with description \"" << description << "\"";
} else {
message << "Unknown C++ exception";
}
message << " thrown in " << location << ".";
return message.GetString();
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
testq %r12, %r12
je 0x2385c1
leaq 0x27dcb4(%rip), %rsi # 0x4b6244
movl $0x20, %edx
movq %r15, %rdi
callq 0x6d7d0
movq %r12, %rdi
callq 0x6d2d0
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x6d7d0
movl $0x1, %edx
leaq 0x27519d(%rip), %rsi # 0x4ad75c
jmp 0x2385cd
movl $0x15, %edx
leaq 0x27dc98(%rip), %rsi # 0x4b6265
movq %r15, %rdi
callq 0x6d7d0
movq (%rsp), %r15
leaq 0x10(%r15), %r12
leaq 0x27dc97(%rip), %rsi # 0x4b627b
movl $0xb, %edx
movq %r12, %rdi
callq 0x6d7d0
testq %r14, %r14
je 0x238603
movq %r14, %rdi
callq 0x6d2d0
movq %rax, %rdx
jmp 0x23860f
movl $0x6, %edx
leaq 0xae97(%rip), %r14 # 0x2434a6
movq %r12, %rdi
movq %r14, %rsi
callq 0x6d7d0
leaq 0x2747be(%rip), %rsi # 0x4acddf
movl $0x1, %edx
movq %r12, %rdi
callq 0x6d7d0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x21b29f
testq %r15, %r15
je 0x238647
movq (%r15), %rax
movq %r15, %rdi
callq *0x8(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x238668
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::ParseGoogleTestFlag(char const*)
|
static bool ParseGoogleTestFlag(const char* const arg) {
#define GTEST_INTERNAL_PARSE_FLAG(flag_name) \
do { \
auto value = GTEST_FLAG_GET(flag_name); \
if (ParseFlag(arg, #flag_name, &value)) { \
GTEST_FLAG_SET(flag_name, value); \
return true; \
} \
} while (false)
GTEST_INTERNAL_PARSE_FLAG(also_run_disabled_tests);
GTEST_INTERNAL_PARSE_FLAG(break_on_failure);
GTEST_INTERNAL_PARSE_FLAG(catch_exceptions);
GTEST_INTERNAL_PARSE_FLAG(color);
GTEST_INTERNAL_PARSE_FLAG(death_test_style);
GTEST_INTERNAL_PARSE_FLAG(death_test_use_fork);
GTEST_INTERNAL_PARSE_FLAG(fail_fast);
GTEST_INTERNAL_PARSE_FLAG(filter);
GTEST_INTERNAL_PARSE_FLAG(internal_run_death_test);
GTEST_INTERNAL_PARSE_FLAG(list_tests);
GTEST_INTERNAL_PARSE_FLAG(output);
GTEST_INTERNAL_PARSE_FLAG(brief);
GTEST_INTERNAL_PARSE_FLAG(print_time);
GTEST_INTERNAL_PARSE_FLAG(print_utf8);
GTEST_INTERNAL_PARSE_FLAG(random_seed);
GTEST_INTERNAL_PARSE_FLAG(repeat);
GTEST_INTERNAL_PARSE_FLAG(recreate_environments_when_repeating);
GTEST_INTERNAL_PARSE_FLAG(shuffle);
GTEST_INTERNAL_PARSE_FLAG(stack_trace_depth);
GTEST_INTERNAL_PARSE_FLAG(stream_result_to);
GTEST_INTERNAL_PARSE_FLAG(throw_on_failure);
return false;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movb 0x4b9568(%rip), %al # 0x6f1beb
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b585(%rip), %rsi # 0x4b3c16
callq 0x238f49
testb %al, %al
je 0x2386a6
movb 0x8(%rsp), %al
movb %al, 0x4b9547(%rip) # 0x6f1beb
jmp 0x2386fc
movb 0x4b9540(%rip), %al # 0x6f1bec
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b574(%rip), %rsi # 0x4b3c2e
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x2386d2
movb 0x8(%rsp), %al
movb %al, 0x4b951c(%rip) # 0x6f1bec
jmp 0x2386fc
movb 0x4b9515(%rip), %al # 0x6f1bed
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b559(%rip), %rsi # 0x4b3c3f
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x23870c
movb 0x8(%rsp), %al
movb %al, 0x4b94f1(%rip) # 0x6f1bed
movb $0x1, %bpl
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x4b94d4(%rip), %rsi # 0x6f1bf0
movq 0x4b94d5(%rip), %rdx # 0x6f1bf8
addq %rsi, %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x79bac
leaq 0x27bfed(%rip), %rsi # 0x4b4727
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x23875d
leaq 0x4b949d(%rip), %rdi # 0x6f1bf0
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x238774
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movb $0x1, %bpl
testb %r14b, %r14b
jne 0x2386ff
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq 0x4b95bd(%rip), %rsi # 0x6f1d48
movq 0x4b95be(%rip), %rdx # 0x6f1d50
addq %rsi, %rdx
movq %r14, %rdi
callq 0x79bac
leaq 0x27c8cf(%rip), %rsi # 0x4b5073
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x2387c7
leaq 0x4b958b(%rip), %rdi # 0x6f1d48
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2387de
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %r14b, %r14b
jne 0x2386ff
movb 0x4b957b(%rip), %al # 0x6f1d68
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27c889(%rip), %rsi # 0x4b5084
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238816
movb 0x8(%rsp), %al
movb %al, 0x4b9557(%rip) # 0x6f1d68
jmp 0x2386ff
movb 0x4b93ce(%rip), %al # 0x6f1bea
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b3e2(%rip), %rsi # 0x4b3c0c
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238845
movb 0x8(%rsp), %al
movb %al, 0x4b93aa(%rip) # 0x6f1bea
jmp 0x2386ff
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq 0x4b93bc(%rip), %rsi # 0x6f1c10
movq 0x4b93bd(%rip), %rdx # 0x6f1c18
addq %rsi, %rdx
movq %r14, %rdi
callq 0x79bac
leaq 0xcc5c(%rip), %rsi # 0x2454c9
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x238890
leaq 0x4b938a(%rip), %rdi # 0x6f1c10
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2388a7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %r14b, %r14b
jne 0x2386ff
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq 0x4b9469(%rip), %rsi # 0x6f1d28
movq 0x4b946a(%rip), %rdx # 0x6f1d30
addq %rsi, %rdx
movq %r14, %rdi
callq 0x79bac
leaq 0x27dac9(%rip), %rsi # 0x4b63a1
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x2388fb
leaq 0x4b9437(%rip), %rdi # 0x6f1d28
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x238912
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %r14b, %r14b
jne 0x2386ff
movb 0x4b9310(%rip), %al # 0x6f1c31
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27da8a(%rip), %rsi # 0x4b63b9
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x23894a
movb 0x8(%rsp), %al
movb %al, 0x4b92ec(%rip) # 0x6f1c31
jmp 0x2386ff
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq 0x4b92df(%rip), %rsi # 0x6f1c38
movq 0x4b92e0(%rip), %rdx # 0x6f1c40
addq %rsi, %rdx
movq %r14, %rdi
callq 0x79bac
leaq 0x27b2fd(%rip), %rsi # 0x4b3c6f
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x238995
leaq 0x4b92ad(%rip), %rdi # 0x6f1c38
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2389ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %r14b, %r14b
jne 0x2386ff
movb 0x4b929d(%rip), %al # 0x6f1c58
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b2ad(%rip), %rsi # 0x4b3c76
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x2389e4
movb 0x8(%rsp), %al
movb %al, 0x4b9279(%rip) # 0x6f1c58
jmp 0x2386ff
movb 0x4b926f(%rip), %al # 0x6f1c59
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b284(%rip), %rsi # 0x4b3c7c
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238a13
movb 0x8(%rsp), %al
movb %al, 0x4b924b(%rip) # 0x6f1c59
jmp 0x2386ff
movb 0x4b9241(%rip), %al # 0x6f1c5a
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b260(%rip), %rsi # 0x4b3c87
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238a42
movb 0x8(%rsp), %al
movb %al, 0x4b921d(%rip) # 0x6f1c5a
jmp 0x2386ff
movl 0x4b9214(%rip), %eax # 0x6f1c5c
leaq 0x8(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x27b23c(%rip), %rsi # 0x4b3c92
movq %rbx, %rdi
callq 0x22dc68
testb %al, %al
je 0x238a71
movl 0x8(%rsp), %eax
movl %eax, 0x4b91f0(%rip) # 0x6f1c5c
jmp 0x2386ff
movl 0x4b91e9(%rip), %eax # 0x6f1c60
leaq 0x8(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x27b219(%rip), %rsi # 0x4b3c9e
movq %rbx, %rdi
callq 0x22dc68
testb %al, %al
je 0x238aa0
movl 0x8(%rsp), %eax
movl %eax, 0x4b91c5(%rip) # 0x6f1c60
jmp 0x2386ff
movb 0x4b91be(%rip), %al # 0x6f1c64
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b1f1(%rip), %rsi # 0x4b3ca5
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238acf
movb 0x8(%rsp), %al
movb %al, 0x4b919a(%rip) # 0x6f1c64
jmp 0x2386ff
movb 0x4b9191(%rip), %al # 0x6f1c66
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x2162b7(%rip), %rsi # 0x44ed9a
movq %rbx, %rdi
callq 0x238f49
testb %al, %al
je 0x238afe
movb 0x8(%rsp), %al
movb %al, 0x4b916d(%rip) # 0x6f1c66
jmp 0x2386ff
movl 0x4b9164(%rip), %eax # 0x6f1c68
leaq 0x8(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x27b1b8(%rip), %rsi # 0x4b3cca
movq %rbx, %rdi
callq 0x22dc68
testb %al, %al
je 0x238b2d
movl 0x8(%rsp), %eax
movl %eax, 0x4b9140(%rip) # 0x6f1c68
jmp 0x2386ff
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq 0x4b9134(%rip), %rsi # 0x6f1c70
movq 0x4b9135(%rip), %rdx # 0x6f1c78
addq %rsi, %rdx
movq %r14, %rdi
callq 0x79bac
leaq 0x27b187(%rip), %rsi # 0x4b3cdc
movq %rbx, %rdi
movq %r14, %rdx
callq 0x238bf9
movl %eax, %r14d
testb %al, %al
je 0x238b78
leaq 0x4b9102(%rip), %rdi # 0x6f1c70
leaq 0x8(%rsp), %rsi
callq 0x6d3a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x238b8f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
testb %r14b, %r14b
jne 0x2386ff
movb 0x4b90f2(%rip), %al # 0x6f1c90
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b141(%rip), %rsi # 0x4b3ced
movq %rbx, %rdi
callq 0x238f49
movl %eax, %ebp
testb %al, %al
je 0x2386ff
movb 0x8(%rsp), %al
movb %al, 0x4b90c8(%rip) # 0x6f1c90
jmp 0x2386ff
jmp 0x238bd7
jmp 0x238bd7
jmp 0x238bd7
jmp 0x238bd7
jmp 0x238bd7
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x238bf1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::HasGoogleTestFlagPrefix(char const*)
|
static bool HasGoogleTestFlagPrefix(const char* str) {
return (SkipPrefix("--", &str) ||
SkipPrefix("-", &str) ||
SkipPrefix("/", &str)) &&
!SkipPrefix(GTEST_FLAG_PREFIX_ "internal_", &str) &&
(SkipPrefix(GTEST_FLAG_PREFIX_, &str) ||
SkipPrefix(GTEST_FLAG_PREFIX_DASH_, &str));
}
|
pushq %rax
movq %rsp, %rsi
movq %rdi, (%rsi)
leaq 0x27c2a1(%rip), %rdi # 0x4b505e
callq 0x22dc26
testb %al, %al
jne 0x238dec
leaq 0x27c292(%rip), %rdi # 0x4b505f
movq %rsp, %rsi
callq 0x22dc26
testb %al, %al
jne 0x238dec
leaq 0x27bdc7(%rip), %rdi # 0x4b4ba7
movq %rsp, %rsi
callq 0x22dc26
testb %al, %al
je 0x238dff
leaq 0x27d5d1(%rip), %rdi # 0x4b63c4
movq %rsp, %rsi
callq 0x22dc26
testb %al, %al
je 0x238e03
xorl %eax, %eax
jmp 0x238e29
leaq 0x27c5f3(%rip), %rdi # 0x4b53fd
movq %rsp, %rsi
callq 0x22dc26
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x238e29
leaq 0x27d5b3(%rip), %rdi # 0x4b63d4
movq %rsp, %rsi
callq 0x22dc26
popq %rcx
retq
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::AssertionResult& testing::AssertionResult::operator<<<char [15]>(char const (&) [15])
|
AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
movq %r14, %rdi
callq 0x6d2d0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6d7d0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x239810
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x239830
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h
|
testing::internal::GTestFlagSaver::GTestFlagSaver()
|
GTestFlagSaver() {
also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
break_on_failure_ = GTEST_FLAG_GET(break_on_failure);
catch_exceptions_ = GTEST_FLAG_GET(catch_exceptions);
color_ = GTEST_FLAG_GET(color);
death_test_style_ = GTEST_FLAG_GET(death_test_style);
death_test_use_fork_ = GTEST_FLAG_GET(death_test_use_fork);
fail_fast_ = GTEST_FLAG_GET(fail_fast);
filter_ = GTEST_FLAG_GET(filter);
internal_run_death_test_ = GTEST_FLAG_GET(internal_run_death_test);
list_tests_ = GTEST_FLAG_GET(list_tests);
output_ = GTEST_FLAG_GET(output);
brief_ = GTEST_FLAG_GET(brief);
print_time_ = GTEST_FLAG_GET(print_time);
print_utf8_ = GTEST_FLAG_GET(print_utf8);
random_seed_ = GTEST_FLAG_GET(random_seed);
repeat_ = GTEST_FLAG_GET(repeat);
recreate_environments_when_repeating_ =
GTEST_FLAG_GET(recreate_environments_when_repeating);
shuffle_ = GTEST_FLAG_GET(shuffle);
stack_trace_depth_ = GTEST_FLAG_GET(stack_trace_depth);
stream_result_to_ = GTEST_FLAG_GET(stream_result_to);
throw_on_failure_ = GTEST_FLAG_GET(throw_on_failure);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r13
addq $0x8, %rdi
leaq 0x18(%r13), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x8(%r13)
xorl %eax, %eax
movq %rax, 0x10(%r13)
movb %al, 0x18(%r13)
leaq 0x28(%r13), %rcx
movq %rcx, 0x28(%rsp)
leaq 0x38(%r13), %rcx
movq %rcx, 0x10(%rsp)
movq %rcx, 0x28(%r13)
movq %rax, 0x30(%r13)
movb %al, 0x38(%r13)
leaq 0x50(%r13), %rcx
movq %rcx, 0x20(%rsp)
leaq 0x60(%r13), %rcx
movq %rcx, 0x8(%rsp)
movq %rcx, 0x50(%r13)
movq %rax, 0x58(%r13)
movb %al, 0x60(%r13)
leaq 0x70(%r13), %r12
leaq 0x80(%r13), %rcx
movq %rcx, (%rsp)
movq %rcx, 0x70(%r13)
movq %rax, 0x78(%r13)
movb %al, 0x80(%r13)
leaq 0x98(%r13), %rbp
leaq 0xa8(%r13), %r15
movq %r15, 0x98(%r13)
movq %rax, 0xa0(%r13)
movb %al, 0xa8(%r13)
leaq 0xd0(%r13), %rbx
leaq 0xe0(%r13), %r14
movq %r14, 0xd0(%r13)
movq %rax, 0xd8(%r13)
movb %al, 0xe0(%r13)
movb 0x4b7587(%rip), %al # 0x6f1beb
movb %al, (%r13)
movb 0x4b757e(%rip), %al # 0x6f1bec
movb %al, 0x1(%r13)
movb 0x4b7575(%rip), %al # 0x6f1bed
movb %al, 0x2(%r13)
leaq 0x4b756d(%rip), %rsi # 0x6f1bf0
movq %rdi, 0x30(%rsp)
callq 0x6d3a0
leaq 0x4b76b4(%rip), %rsi # 0x6f1d48
movq 0x28(%rsp), %rdi
callq 0x6d3a0
movb 0x4b76c4(%rip), %al # 0x6f1d68
movb %al, 0x48(%r13)
movb 0x4b753c(%rip), %al # 0x6f1bea
movb %al, 0x49(%r13)
leaq 0x4b7557(%rip), %rsi # 0x6f1c10
movq 0x20(%rsp), %rdi
callq 0x6d3a0
leaq 0x4b765e(%rip), %rsi # 0x6f1d28
movq %r12, %rdi
callq 0x6d3a0
movb 0x4b7559(%rip), %al # 0x6f1c31
movb %al, 0x90(%r13)
leaq 0x4b7552(%rip), %rsi # 0x6f1c38
movq %rbp, %rdi
callq 0x6d3a0
movb 0x4b7564(%rip), %al # 0x6f1c58
movb %al, 0xb8(%r13)
movb 0x4b7558(%rip), %al # 0x6f1c59
movb %al, 0xb9(%r13)
movb 0x4b754c(%rip), %al # 0x6f1c5a
movb %al, 0xba(%r13)
movl 0x4b7541(%rip), %eax # 0x6f1c5c
movl %eax, 0xbc(%r13)
movl 0x4b7538(%rip), %eax # 0x6f1c60
movl %eax, 0xc0(%r13)
movb 0x4b752f(%rip), %al # 0x6f1c64
movb %al, 0xc4(%r13)
movb 0x4b7524(%rip), %al # 0x6f1c66
movb %al, 0xc5(%r13)
movl 0x4b7519(%rip), %eax # 0x6f1c68
movl %eax, 0xc8(%r13)
leaq 0x4b7513(%rip), %rsi # 0x6f1c70
movq %rbx, %rdi
callq 0x6d3a0
movb 0x4b7525(%rip), %al # 0x6f1c90
movb %al, 0xf0(%r13)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r13
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x23a797
movq (%r14), %rsi
incq %rsi
callq 0x6d6d0
movq (%rbp), %rdi
cmpq %r15, %rdi
je 0x23a7ab
movq (%r15), %rsi
incq %rsi
callq 0x6d6d0
movq (%r12), %rdi
cmpq (%rsp), %rdi
je 0x23a7c4
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x20(%rsp), %rax
movq (%rax), %rdi
cmpq 0x8(%rsp), %rdi
je 0x23a7e3
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x28(%rsp), %rax
movq (%rax), %rdi
cmpq 0x10(%rsp), %rdi
je 0x23a802
movq 0x10(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x30(%rsp), %rax
movq (%rax), %rdi
cmpq 0x18(%rsp), %rdi
je 0x23a821
movq 0x18(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq %r13, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
void testing::internal::InitGoogleTestImpl<wchar_t>(int*, wchar_t**)
|
void InitGoogleTestImpl(int* argc, CharType** argv) {
// We don't want to run the initialization code twice.
if (GTestIsInitialized()) return;
if (*argc <= 0) return;
g_argvs.clear();
for (int i = 0; i != *argc; i++) {
g_argvs.push_back(StreamableToString(argv[i]));
}
#if GTEST_HAS_ABSL
absl::InitializeSymbolizer(g_argvs[0].c_str());
#endif // GTEST_HAS_ABSL
ParseGoogleTestFlagsOnly(argc, argv);
GetUnitTestImpl()->PostFlagParsingInit();
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r13
movq %rdi, %r14
leaq 0x4b5bbb(%rip), %rsi # 0x6f1cb8
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x7d99c
movq 0x8(%r15), %rbx
movq (%r15), %r12
movq %r15, %rdi
callq 0x7b038
cmpq %r12, %rbx
jne 0x23c1b9
cmpl $0x0, (%r14)
jle 0x23c1b9
movq %r13, (%rsp)
movq 0x4b5b81(%rip), %rsi # 0x6f1cb8
leaq 0x4b5b7a(%rip), %rdi # 0x6f1cb8
callq 0xb8178
cmpl $0x0, (%r14)
je 0x23c19c
leaq 0x18(%rsp), %rbp
xorl %ebx, %ebx
leaq 0x8(%rsp), %r15
leaq 0x4b5b5c(%rip), %r12 # 0x6f1cb8
movq (%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
callq 0x2423ba
movq %r12, %rdi
movq %r15, %rsi
callq 0x8ab9e
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23c18d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
incq %rbx
movl (%r14), %eax
addq $0x8, %r13
cmpq %rax, %rbx
jne 0x23c160
movq %r14, %rdi
movq (%rsp), %rsi
callq 0x23be11
callq 0x2170b2
movq 0x4b5b64(%rip), %rdi # 0x6f1d18
callq 0x22cd40
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x23c1e2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest.cc
|
testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::~MatcherBase()
|
~MatcherBase() override { Destroy(); }
|
pushq %rax
leaq 0x34688e(%rip), %rax # 0x582a80
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x23c219
cmpq $0x0, 0x18(%rax)
je 0x23c219
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x23c219
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::~Matcher()
|
class GTEST_API_ Matcher<std::string>
: public internal::MatcherBase<std::string> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const std::string&>* impl)
: internal::MatcherBase<std::string>(impl) {}
explicit Matcher(const MatcherInterface<std::string>* impl)
: internal::MatcherBase<std::string>(impl) {}
template <typename M, typename = typename std::remove_reference<
M>::type::is_gtest_matcher>
Matcher(M&& m) // NOLINT
: internal::MatcherBase<std::string>(std::forward<M>(m)) {}
// Allows the user to write str instead of Eq(str) sometimes, where
// str is a string object.
Matcher(const std::string& s); // NOLINT
// Allows the user to write "foo" instead of Eq("foo") sometimes.
Matcher(const char* s); // NOLINT
}
|
pushq %rbx
movq %rdi, %rbx
callq 0x23ff3c
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::Matcher<std::basic_string_view<char, std::char_traits<char>> const&>::~Matcher()
|
class GTEST_API_ Matcher<const internal::StringView&>
: public internal::MatcherBase<const internal::StringView&> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
: internal::MatcherBase<const internal::StringView&>(impl) {}
template <typename M, typename = typename std::remove_reference<
M>::type::is_gtest_matcher>
Matcher(M&& m) // NOLINT
: internal::MatcherBase<const internal::StringView&>(std::forward<M>(m)) {
}
// Allows the user to write str instead of Eq(str) sometimes, where
// str is a std::string object.
Matcher(const std::string& s); // NOLINT
// Allows the user to write "foo" instead of Eq("foo") sometimes.
Matcher(const char* s); // NOLINT
// Allows the user to pass absl::string_views or std::string_views directly.
Matcher(internal::StringView s); // NOLINT
}
|
pushq %rbx
movq %rdi, %rbx
callq 0x23ff8e
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::Matcher<std::basic_string_view<char, std::char_traits<char>>>::~Matcher()
|
class GTEST_API_ Matcher<internal::StringView>
: public internal::MatcherBase<internal::StringView> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
: internal::MatcherBase<internal::StringView>(impl) {}
explicit Matcher(const MatcherInterface<internal::StringView>* impl)
: internal::MatcherBase<internal::StringView>(impl) {}
template <typename M, typename = typename std::remove_reference<
M>::type::is_gtest_matcher>
Matcher(M&& m) // NOLINT
: internal::MatcherBase<internal::StringView>(std::forward<M>(m)) {}
// Allows the user to write str instead of Eq(str) sometimes, where
// str is a std::string object.
Matcher(const std::string& s); // NOLINT
// Allows the user to write "foo" instead of Eq("foo") sometimes.
Matcher(const char* s); // NOLINT
// Allows the user to pass absl::string_views or std::string_views directly.
Matcher(internal::StringView s); // NOLINT
}
|
pushq %rbx
movq %rdi, %rbx
callq 0x23ffe0
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::AssertionResult& testing::AssertionResult::operator<<<char [14]>(char const (&) [14])
|
AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
movq %r14, %rdi
callq 0x6d2d0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6d7d0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x23d45a
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x23d47a
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h
|
testing::internal::StreamingListener::OnTestProgramStart(testing::UnitTest const&)
|
void OnTestProgramStart(const UnitTest& /* unit_test */) override {
SendLn("event=TestProgramStart");
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x277cae(%rip), %rsi # 0x4b5c2e
leaq 0x277cbd(%rip), %rdx # 0x4b5c44
movq %rsp, %r14
movq %r14, %rdi
callq 0x7b4ac
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x23f6a4
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x23dfb4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x23dfd7
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
testing::internal::StreamingListener::SocketWriter::~SocketWriter()
|
~SocketWriter() override {
if (sockfd_ != -1)
CloseConnection();
}
|
pushq %rbx
movq %rdi, %rbx
leaq 0x34358d(%rip), %rax # 0x582a28
movq %rax, (%rdi)
cmpl $-0x1, 0x8(%rdi)
je 0x23f4ac
movq %rbx, %rdi
callq 0x23f616
movq 0x30(%rbx), %rdi
leaq 0x40(%rbx), %rax
cmpq %rax, %rdi
je 0x23f4c4
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x10(%rbx), %rdi
addq $0x20, %rbx
cmpq %rbx, %rdi
je 0x23f4dd
movq (%rbx), %rsi
incq %rsi
popq %rbx
jmp 0x6d6d0
popq %rbx
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
testing::internal::StreamingListener::SocketWriter::CloseConnection()
|
void CloseConnection() override {
GTEST_CHECK_(sockfd_ != -1)
<< "CloseConnection() can be called only when there is a connection.";
close(sockfd_);
sockfd_ = -1;
}
|
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $-0x1, 0x8(%rdi)
jne 0x23f679
leaq 0x27633c(%rip), %rdx # 0x4b5967
leaq 0xc(%rsp), %rdi
movl $0x3, %esi
movl $0x44a, %ecx # imm = 0x44A
callq 0x235d96
movq 0x3439aa(%rip), %rdi # 0x582ff0
leaq 0x2764fd(%rip), %rsi # 0x4b5b4a
movl $0x20, %edx
callq 0x6d7d0
movq 0x343992(%rip), %rdi # 0x582ff0
leaq 0x276563(%rip), %rsi # 0x4b5bc8
movl $0x40, %edx
callq 0x6d7d0
leaq 0xc(%rsp), %rdi
callq 0x235ed8
movl 0x8(%rbx), %edi
callq 0x6ded0
movl $0xffffffff, 0x8(%rbx) # imm = 0xFFFFFFFF
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0xc(%rsp), %rdi
callq 0x235ed8
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
testing::internal::StreamingListener::AbstractSocketWriter::SendLn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
|
void SendLn(const std::string& message) { Send(message + "\n"); }
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x79bac
leaq 0x27520d(%rip), %rsi # 0x4b48e5
movq %r14, %rdi
callq 0x6de90
movq (%rbx), %rax
movq %rsp, %rsi
movq %rbx, %rdi
callq *0x10(%rax)
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x23f702
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x23f70e
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x23f727
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::operator=(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>&&)
|
MatcherBase& operator=(MatcherBase&& other) {
if (this == &other) return *this;
Destroy();
vtable_ = other.vtable_;
buffer_ = other.buffer_;
other.vtable_ = nullptr;
return *this;
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x23facb
movq %rsi, %r14
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x23fab3
cmpq $0x0, 0x18(%rax)
je 0x23fab3
movq 0x10(%rbx), %rax
lock
decl (%rax)
jne 0x23fab3
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rdi
callq *0x18(%rax)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x10(%rbx)
movq $0x0, 0x8(%r14)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::internal::CapturedStream::CapturedStream(int)
|
explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) {
# if GTEST_OS_WINDOWS
char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT
char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
::GetTempPathA(sizeof(temp_dir_path), temp_dir_path);
const UINT success = ::GetTempFileNameA(temp_dir_path,
"gtest_redir",
0, // Generate unique file name.
temp_file_path);
GTEST_CHECK_(success != 0)
<< "Unable to create a temporary file in " << temp_dir_path;
const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file "
<< temp_file_path;
filename_ = temp_file_path;
# else
// There's no guarantee that a test has write access to the current
// directory, so we create the temporary file in a temporary directory.
std::string name_template;
# if GTEST_OS_LINUX_ANDROID
// Note: Android applications are expected to call the framework's
// Context.getExternalStorageDirectory() method through JNI to get
// the location of the world-writable SD Card directory. However,
// this requires a Context handle, which cannot be retrieved
// globally from native code. Doing so also precludes running the
// code as part of a regular standalone executable, which doesn't
// run in a Dalvik process (e.g. when running it through 'adb shell').
//
// The location /data/local/tmp is directly accessible from native code.
// '/sdcard' and other variants cannot be relied on, as they are not
// guaranteed to be mounted, or may have a delay in mounting.
name_template = "/data/local/tmp/";
# elif GTEST_OS_IOS
char user_temp_dir[PATH_MAX + 1];
// Documented alternative to NSTemporaryDirectory() (for obtaining creating
// a temporary directory) at
// https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/RaceConditions.html#//apple_ref/doc/uid/TP40002585-SW10
//
// _CS_DARWIN_USER_TEMP_DIR (as well as _CS_DARWIN_USER_CACHE_DIR) is not
// documented in the confstr() man page at
// https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/confstr.3.html#//apple_ref/doc/man/3/confstr
// but are still available, according to the WebKit patches at
// https://trac.webkit.org/changeset/262004/webkit
// https://trac.webkit.org/changeset/263705/webkit
//
// The confstr() implementation falls back to getenv("TMPDIR"). See
// https://opensource.apple.com/source/Libc/Libc-1439.100.3/gen/confstr.c.auto.html
::confstr(_CS_DARWIN_USER_TEMP_DIR, user_temp_dir, sizeof(user_temp_dir));
name_template = user_temp_dir;
if (name_template.back() != GTEST_PATH_SEP_[0])
name_template.push_back(GTEST_PATH_SEP_[0]);
# else
name_template = "/tmp/";
# endif
name_template.append("gtest_captured_stream.XXXXXX");
// mkstemp() modifies the string bytes in place, and does not go beyond the
// string's length. This results in well-defined behavior in C++17.
//
// The const_cast is needed below C++17. The constraints on std::string
// implementations in C++11 and above make assumption behind the const_cast
// fairly safe.
const int captured_fd = ::mkstemp(const_cast<char*>(name_template.data()));
if (captured_fd == -1) {
GTEST_LOG_(WARNING)
<< "Failed to create tmp file " << name_template
<< " for test; does the test have access to the /tmp directory?";
}
filename_ = std::move(name_template);
# endif // GTEST_OS_WINDOWS
fflush(nullptr);
dup2(captured_fd, fd_);
close(captured_fd);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %r14
movl %esi, (%rdi)
movl %esi, %edi
callq 0x6db90
movl %eax, 0x4(%r14)
leaq 0x8(%r14), %rbx
leaq 0x18(%r14), %r15
movq %r15, 0x8(%r14)
xorl %eax, %eax
movq %rax, 0x10(%r14)
movb %al, 0x18(%r14)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%r12)
movq %rax, -0x8(%r12)
movb %al, (%r12)
leaq 0x27554b(%rip), %rcx # 0x4b506d
leaq 0x10(%rsp), %rdi
movl $0x5, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x6dbc0
leaq 0x2765cb(%rip), %rsi # 0x4b6108
leaq 0x10(%rsp), %rdi
callq 0x6de90
movq 0x10(%rsp), %rdi
callq 0x6d220
movl %eax, %ebp
cmpl $-0x1, %eax
jne 0x23fbbf
leaq 0x2759b0(%rip), %rdx # 0x4b550f
leaq 0xc(%rsp), %rdi
movl $0x1, %esi
movl $0x47c, %ecx # imm = 0x47C
callq 0x235d96
movq 0x343476(%rip), %rdi # 0x582ff0
leaq 0x2765a4(%rip), %rsi # 0x4b6125
movl $0x1a, %edx
callq 0x6d7d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x343454(%rip), %rdi # 0x582ff0
callq 0x6d7d0
leaq 0x276598(%rip), %rsi # 0x4b6140
movl $0x3b, %edx
movq %rax, %rdi
callq 0x6d7d0
leaq 0xc(%rsp), %rdi
callq 0x235ed8
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x6d8b0
xorl %edi, %edi
callq 0x6d820
movl (%r14), %esi
movl %ebp, %edi
callq 0x6d640
movl %ebp, %edi
callq 0x6ded0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x23fbfb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x23fc1b
movq %rax, %r14
leaq 0xc(%rsp), %rdi
callq 0x235ed8
jmp 0x23fc1e
jmp 0x23fc1b
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x23fc35
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x6d6d0
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x23fc48
movq (%r15), %rsi
incq %rsi
callq 0x6d6d0
movq %r14, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc
|
testing::internal::CapturedStream::GetCapturedString[abi:cxx11]()
|
std::string GetCapturedString() {
if (uncaptured_fd_ != -1) {
// Restores the original stream.
fflush(nullptr);
dup2(uncaptured_fd_, fd_);
close(uncaptured_fd_);
uncaptured_fd_ = -1;
}
FILE* const file = posix::FOpen(filename_.c_str(), "r");
if (file == nullptr) {
GTEST_LOG_(FATAL) << "Failed to open tmp file " << filename_
<< " for capturing stream.";
}
const std::string content = ReadEntireFile(file);
posix::FClose(file);
return content;
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
cmpl $-0x1, 0x4(%rsi)
je 0x23fc89
xorl %edi, %edi
callq 0x6d820
movl (%r15), %esi
movl 0x4(%r15), %edi
callq 0x6d640
movl 0x4(%r15), %edi
callq 0x6ded0
movl $0xffffffff, 0x4(%r15) # imm = 0xFFFFFFFF
movq 0x8(%r15), %rdi
leaq 0x7f89c(%rip), %rsi # 0x2bf530
callq 0x6d830
movq %rax, %r14
testq %rax, %rax
jne 0x23fd06
leaq 0x275867(%rip), %rdx # 0x4b550f
leaq 0xc(%rsp), %rdi
movl $0x3, %esi
movl $0x496, %ecx # imm = 0x496
callq 0x235d96
movq 0x34332d(%rip), %rdi # 0x582ff0
leaq 0x2764b2(%rip), %rsi # 0x4b617c
movl $0x18, %edx
callq 0x6d7d0
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
movq 0x34330d(%rip), %rdi # 0x582ff0
callq 0x6d7d0
leaq 0x2764a6(%rip), %rsi # 0x4b6195
movl $0x16, %edx
movq %rax, %rdi
callq 0x6d7d0
leaq 0xc(%rsp), %rdi
callq 0x235ed8
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2360a7
movq %r14, %rdi
callq 0x6d6a0
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0xc(%rsp), %rdi
callq 0x235ed8
movq %rbx, %rdi
callq 0x6dd70
nop
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc
|
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::~MatcherBase()
|
~MatcherBase() override { Destroy(); }
|
pushq %rax
leaq 0x342b4a(%rip), %rax # 0x582ae0
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x23ffbd
cmpq $0x0, 0x18(%rax)
je 0x23ffbd
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x23ffbd
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::~MatcherBase()
|
~MatcherBase() override { Destroy(); }
|
pushq %rax
leaq 0x342b28(%rip), %rax # 0x582b10
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x24000f
cmpq $0x0, 0x18(%rax)
je 0x24000f
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x24000f
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::internal::FloatingPoint<float>::AlmostEquals(testing::internal::FloatingPoint<float> const&) const
|
Bits exponent_bits() const { return kExponentBitMask & u_.bits_; }
|
movl (%rdi), %eax
movl %eax, %ecx
notl %ecx
testl $0x7f800000, %ecx # imm = 0x7F800000
sete %cl
testl $0x7fffff, %eax # imm = 0x7FFFFF
setne %dl
testb %dl, %cl
jne 0x240a4d
movl (%rsi), %ecx
movl %ecx, %edx
notl %edx
testl $0x7f800000, %edx # imm = 0x7F800000
sete %dl
testl $0x7fffff, %ecx # imm = 0x7FFFFF
setne %sil
testb %sil, %dl
je 0x240a50
xorl %eax, %eax
retq
movl %eax, %edx
negl %edx
movl $0x80000000, %esi # imm = 0x80000000
movl %eax, %edi
orl %esi, %edi
testl %eax, %eax
cmovsl %edx, %edi
movl %ecx, %eax
negl %eax
orl %ecx, %esi
testl %ecx, %ecx
cmovsl %eax, %esi
movl %edi, %eax
subl %esi, %eax
negl %eax
subl %esi, %edi
cmovbl %eax, %edi
cmpl $0x5, %edi
setb %al
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h
|
testing::internal::FloatingPoint<double>::AlmostEquals(testing::internal::FloatingPoint<double> const&) const
|
bool AlmostEquals(const FloatingPoint& rhs) const {
// The IEEE standard says that any comparison operation involving
// a NAN must return false.
if (is_nan() || rhs.is_nan()) return false;
return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_)
<= kMaxUlps;
}
|
movabsq $0x7ff0000000000000, %rdx # imm = 0x7FF0000000000000
movq (%rdi), %rax
movq %rax, %rcx
notq %rcx
testq %rdx, %rcx
sete %cl
movq %rax, %rdi
shlq $0xc, %rdi
setne %dil
testb %dil, %cl
jne 0x240ace
movabsq $0xfffffffffffff, %rdi # imm = 0xFFFFFFFFFFFFF
movq (%rsi), %rcx
movq %rcx, %rsi
notq %rsi
testq %rsi, %rdx
sete %dl
testq %rdi, %rcx
setne %sil
testb %sil, %dl
je 0x240ad1
xorl %eax, %eax
retq
movq %rax, %rdx
negq %rdx
movq %rax, %rsi
btsq $0x3f, %rsi
testq %rax, %rax
cmovsq %rdx, %rsi
movq %rcx, %rax
negq %rax
movq %rcx, %rdx
btsq $0x3f, %rdx
testq %rcx, %rcx
cmovsq %rax, %rdx
movq %rsi, %rax
subq %rdx, %rax
negq %rax
subq %rdx, %rsi
cmovbq %rax, %rsi
cmpq $0x5, %rsi
setb %al
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h
|
testing::AssertionResult& testing::AssertionResult::operator<<<wchar_t const*>(wchar_t const* const&)
|
AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r14), %rsi
movq %r15, %rdi
callq 0x21b07a
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x240bd6
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x240bf6
movq (%rdi), %rax
callq *0x8(%rax)
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h
|
void __gnu_cxx::new_allocator<testing::TestPartResult>::construct<testing::TestPartResult, testing::TestPartResult>(testing::TestPartResult*, testing::TestPartResult&&)
|
class GTEST_API_ TestPartResult {
public:
// The possible outcomes of a test part (i.e. an assertion or an
// explicit SUCCEED(), FAIL(), or ADD_FAILURE()).
enum Type {
kSuccess, // Succeeded.
kNonFatalFailure, // Failed but the test can continue.
kFatalFailure, // Failed and the test should be terminated.
kSkip // Skipped.
};
// C'tor. TestPartResult does NOT have a default constructor.
// Always use this constructor (with parameters) to create a
// TestPartResult object.
TestPartResult(Type a_type, const char* a_file_name, int a_line_number,
const char* a_message)
: type_(a_type),
file_name_(a_file_name == nullptr ? "" : a_file_name),
line_number_(a_line_number),
summary_(ExtractSummary(a_message)),
message_(a_message) {}
// Gets the outcome of the test part.
Type type() const { return type_; }
// Gets the name of the source file where the test part took place, or
// NULL if it's unknown.
const char* file_name() const {
return file_name_.empty() ? nullptr : file_name_.c_str();
}
// Gets the line in the source file where the test part took place,
// or -1 if it's unknown.
int line_number() const { return line_number_; }
// Gets the summary of the failure message.
const char* summary() const { return summary_.c_str(); }
// Gets the message associated with the test part.
const char* message() const { return message_.c_str(); }
// Returns true if and only if the test part was skipped.
bool skipped() const { return type_ == kSkip; }
// Returns true if and only if the test part passed.
bool passed() const { return type_ == kSuccess; }
// Returns true if and only if the test part non-fatally failed.
bool nonfatally_failed() const { return type_ == kNonFatalFailure; }
// Returns true if and only if the test part fatally failed.
bool fatally_failed() const { return type_ == kFatalFailure; }
// Returns true if and only if the test part failed.
bool failed() const { return fatally_failed() || nonfatally_failed(); }
private:
Type type_;
// Gets the summary of the failure message by omitting the stack
// trace in it.
static std::string ExtractSummary(const char* message);
// The name of the source file where the test part took place, or
// "" if the source file is unknown.
std::string file_name_;
// The line in the source file where the test part took place, or -1
// if the line number is unknown.
int line_number_;
std::string summary_; // The test failure summary.
std::string message_; // The test failure message.
}
|
movl (%rdx), %eax
movl %eax, (%rsi)
leaq 0x18(%rsi), %rcx
movq %rcx, 0x8(%rsi)
movq 0x8(%rdx), %rdi
leaq 0x18(%rdx), %rax
cmpq %rax, %rdi
je 0x240fc2
movq %rdi, 0x8(%rsi)
movq (%rax), %rcx
movq %rcx, 0x18(%rsi)
jmp 0x240fc8
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x10(%rdx), %rcx
movq %rcx, 0x10(%rsi)
movq %rax, 0x8(%rdx)
movq $0x0, 0x10(%rdx)
movb $0x0, 0x18(%rdx)
movl 0x28(%rdx), %eax
movl %eax, 0x28(%rsi)
leaq 0x40(%rsi), %rcx
movq %rcx, 0x30(%rsi)
movq 0x30(%rdx), %rdi
leaq 0x40(%rdx), %rax
cmpq %rax, %rdi
je 0x241008
movq %rdi, 0x30(%rsi)
movq (%rax), %rcx
movq %rcx, 0x40(%rsi)
jmp 0x24100e
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x38(%rdx), %rcx
movq %rcx, 0x38(%rsi)
movq %rax, 0x30(%rdx)
movq $0x0, 0x38(%rdx)
movb $0x0, 0x40(%rdx)
leaq 0x60(%rsi), %rcx
movq %rcx, 0x50(%rsi)
movq 0x50(%rdx), %rdi
leaq 0x60(%rdx), %rax
cmpq %rax, %rdi
je 0x241048
movq %rdi, 0x50(%rsi)
movq (%rax), %rcx
movq %rcx, 0x60(%rsi)
jmp 0x24104e
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x58(%rdx), %rcx
movq %rcx, 0x58(%rsi)
movq %rax, 0x50(%rdx)
movq $0x0, 0x58(%rdx)
movb $0x0, 0x60(%rdx)
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-test-part.h
|
testing::internal::GTestFlagSaver::~GTestFlagSaver()
|
~GTestFlagSaver() {
GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
GTEST_FLAG_SET(break_on_failure, break_on_failure_);
GTEST_FLAG_SET(catch_exceptions, catch_exceptions_);
GTEST_FLAG_SET(color, color_);
GTEST_FLAG_SET(death_test_style, death_test_style_);
GTEST_FLAG_SET(death_test_use_fork, death_test_use_fork_);
GTEST_FLAG_SET(filter, filter_);
GTEST_FLAG_SET(fail_fast, fail_fast_);
GTEST_FLAG_SET(internal_run_death_test, internal_run_death_test_);
GTEST_FLAG_SET(list_tests, list_tests_);
GTEST_FLAG_SET(output, output_);
GTEST_FLAG_SET(brief, brief_);
GTEST_FLAG_SET(print_time, print_time_);
GTEST_FLAG_SET(print_utf8, print_utf8_);
GTEST_FLAG_SET(random_seed, random_seed_);
GTEST_FLAG_SET(repeat, repeat_);
GTEST_FLAG_SET(recreate_environments_when_repeating,
recreate_environments_when_repeating_);
GTEST_FLAG_SET(shuffle, shuffle_);
GTEST_FLAG_SET(stack_trace_depth, stack_trace_depth_);
GTEST_FLAG_SET(stream_result_to, stream_result_to_);
GTEST_FLAG_SET(throw_on_failure, throw_on_failure_);
}
|
pushq %rbx
movq %rdi, %rbx
movb (%rdi), %al
movb %al, 0x4b05e7(%rip) # 0x6f1beb
movb 0x1(%rdi), %al
movb %al, 0x4b05df(%rip) # 0x6f1bec
movb 0x2(%rdi), %al
movb %al, 0x4b05d7(%rip) # 0x6f1bed
leaq 0x8(%rdi), %rsi
leaq 0x4b05cf(%rip), %rdi # 0x6f1bf0
callq 0x6d3a0
leaq 0x28(%rbx), %rsi
leaq 0x4b0717(%rip), %rdi # 0x6f1d48
callq 0x6d3a0
movb 0x48(%rbx), %al
movb %al, 0x4b0729(%rip) # 0x6f1d68
leaq 0x50(%rbx), %rsi
leaq 0x4b05c6(%rip), %rdi # 0x6f1c10
callq 0x6d3a0
movb 0x49(%rbx), %al
movb %al, 0x4b0592(%rip) # 0x6f1bea
leaq 0x70(%rbx), %rsi
leaq 0x4b06c5(%rip), %rdi # 0x6f1d28
callq 0x6d3a0
movb 0x90(%rbx), %al
movb %al, 0x4b05bd(%rip) # 0x6f1c31
leaq 0x98(%rbx), %rsi
leaq 0x4b05b6(%rip), %rdi # 0x6f1c38
callq 0x6d3a0
movb 0xb8(%rbx), %al
movb %al, 0x4b05c5(%rip) # 0x6f1c58
movb 0xb9(%rbx), %al
movb %al, 0x4b05ba(%rip) # 0x6f1c59
movb 0xba(%rbx), %al
movb %al, 0x4b05af(%rip) # 0x6f1c5a
movl 0xbc(%rbx), %eax
movl %eax, 0x4b05a5(%rip) # 0x6f1c5c
movl 0xc0(%rbx), %eax
movl %eax, 0x4b059d(%rip) # 0x6f1c60
movb 0xc4(%rbx), %al
movb %al, 0x4b0595(%rip) # 0x6f1c64
movb 0xc5(%rbx), %al
movb %al, 0x4b058b(%rip) # 0x6f1c66
movl 0xc8(%rbx), %eax
movl %eax, 0x4b0581(%rip) # 0x6f1c68
leaq 0xd0(%rbx), %rsi
leaq 0x4b057b(%rip), %rdi # 0x6f1c70
callq 0x6d3a0
movb 0xf0(%rbx), %al
movb %al, 0x4b058a(%rip) # 0x6f1c90
movq 0xd0(%rbx), %rdi
leaq 0xe0(%rbx), %rax
cmpq %rax, %rdi
je 0x241724
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x98(%rbx), %rdi
leaq 0xa8(%rbx), %rax
cmpq %rax, %rdi
je 0x241742
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x70(%rbx), %rdi
leaq 0x80(%rbx), %rax
cmpq %rax, %rdi
je 0x24175d
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x50(%rbx), %rdi
leaq 0x60(%rbx), %rax
cmpq %rax, %rdi
je 0x241775
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x28(%rbx), %rdi
leaq 0x38(%rbx), %rax
cmpq %rax, %rdi
je 0x24178d
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x2417a6
movq (%rbx), %rsi
incq %rsi
popq %rbx
jmp 0x6d6d0
popq %rbx
retq
movq %rax, %rdi
callq 0x79c3c
|
/google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h
|
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::CreateKey()
|
static pthread_key_t CreateKey() {
pthread_key_t key;
// When a thread exits, DeleteThreadLocalValue() will be called on
// the object managed for that thread.
GTEST_CHECK_POSIX_SUCCESS_(
pthread_key_create(&key, &DeleteThreadLocalValue));
return key;
}
|
pushq %rbx
subq $0x10, %rsp
leaq -0x52(%rip), %rsi # 0x241ed2
leaq 0xc(%rsp), %rdi
callq 0x6dc00
testl %eax, %eax
je 0x241f97
movl %eax, %ebx
leaq 0x273893(%rip), %rdx # 0x4b57ce
leaq 0x8(%rsp), %rdi
movl $0x3, %esi
movl $0x705, %ecx # imm = 0x705
callq 0x235d96
movq 0x34109a(%rip), %rdi # 0x582ff0
leaq 0x27432a(%rip), %rsi # 0x4b6287
movl $0x31, %edx
callq 0x6d7d0
movq 0x341082(%rip), %rdi # 0x582ff0
leaq 0x2738fd(%rip), %rsi # 0x4b5872
movl $0x12, %edx
callq 0x6d7d0
movq 0x34106a(%rip), %rdi # 0x582ff0
movl %ebx, %esi
callq 0x6dd10
leaq 0x8(%rsp), %rdi
callq 0x235ed8
movl 0xc(%rsp), %eax
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x235ed8
movq %rbx, %rdi
callq 0x6dd70
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-port.h
|
testing::MatcherDescriberInterface const* testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::GetDescriberImpl<testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>>(testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&> const&)
|
static const MatcherDescriberInterface* GetDescriberImpl(
const MatcherBase& m) {
// If the impl is a MatcherDescriberInterface, then return it.
// Otherwise use MatcherBase itself.
// This allows us to implement the GetDescriber() function without support
// from the impl, but some users really want to get their impl back when
// they call GetDescriber().
// We use std::get on a tuple as a workaround of not having `if constexpr`.
return std::get<(
std::is_convertible<decltype(&P::Get(m)),
const MatcherDescriberInterface*>::value
? 1
: 0)>(std::make_tuple(&m, &P::Get(m)));
}
|
movq %rdi, %rax
retq
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
decltype(testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::MatchAndExplainImpl<testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>>(testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::MatchResultListener*)
|
static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
}
|
movq 0x10(%rdi), %rax
movq 0x8(%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x2425eb
testq %rdx, %rdx
je 0x2425ee
pushq %rax
movq 0x8(%rax), %rax
movq (%rsi), %rdi
movq %rax, %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
nop
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
decltype(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::MatchAndExplainImpl<testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>>(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&> const&, std::basic_string_view<char, std::char_traits<char>> const&, testing::MatchResultListener*)
|
static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
}
|
movq 0x10(%rdi), %rax
movq (%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x242636
testq %rdx, %rdx
je 0x242639
pushq %rax
movq 0x8(%rsi), %rdi
movq 0x8(%rax), %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
decltype(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::MatchAndExplainImpl<testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>>(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>> const&, std::basic_string_view<char, std::char_traits<char>> const&, testing::MatchResultListener*)
|
static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
}
|
movq 0x10(%rdi), %rax
movq (%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x242680
testq %rdx, %rdx
je 0x242683
pushq %rax
movq 0x8(%rsi), %rdi
movq 0x8(%rax), %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
testing::MatcherDescriberInterface const* testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::GetDescriberImpl<testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>>(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>> const&)
|
static const MatcherDescriberInterface* GetDescriberImpl(
const MatcherBase& m) {
// If the impl is a MatcherDescriberInterface, then return it.
// Otherwise use MatcherBase itself.
// This allows us to implement the GetDescriber() function without support
// from the impl, but some users really want to get their impl back when
// they call GetDescriber().
// We use std::get on a tuple as a workaround of not having `if constexpr`.
return std::get<(
std::is_convertible<decltype(&P::Get(m)),
const MatcherDescriberInterface*>::value
? 1
: 0)>(std::make_tuple(&m, &P::Get(m)));
}
|
movq %rdi, %rax
retq
|
/google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h
|
OPLL_dump2patch
|
void
OPLL_dump2patch (const e_uint8 * dump, OPLL_PATCH * patch)
{
patch[0].AM = (dump[0] >> 7) & 1;
patch[1].AM = (dump[1] >> 7) & 1;
patch[0].PM = (dump[0] >> 6) & 1;
patch[1].PM = (dump[1] >> 6) & 1;
patch[0].EG = (dump[0] >> 5) & 1;
patch[1].EG = (dump[1] >> 5) & 1;
patch[0].KR = (dump[0] >> 4) & 1;
patch[1].KR = (dump[1] >> 4) & 1;
patch[0].ML = (dump[0]) & 15;
patch[1].ML = (dump[1]) & 15;
patch[0].KL = (dump[2] >> 6) & 3;
patch[1].KL = (dump[3] >> 6) & 3;
patch[0].TL = (dump[2]) & 63;
patch[0].FB = (dump[3]) & 7;
patch[0].WF = (dump[3] >> 3) & 1;
patch[1].WF = (dump[3] >> 4) & 1;
patch[0].AR = (dump[4] >> 4) & 15;
patch[1].AR = (dump[5] >> 4) & 15;
patch[0].DR = (dump[4]) & 15;
patch[1].DR = (dump[5]) & 15;
patch[0].SL = (dump[6] >> 4) & 15;
patch[1].SL = (dump[7] >> 4) & 15;
patch[0].RR = (dump[6]) & 15;
patch[1].RR = (dump[7]) & 15;
}
|
movzbl (%rdi), %eax
shrl $0x7, %eax
movl %eax, 0x28(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x7, %eax
movl %eax, 0x5c(%rsi)
movzbl (%rdi), %eax
shrl $0x6, %eax
andl $0x1, %eax
movl %eax, 0x2c(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x6, %eax
andl $0x1, %eax
movl %eax, 0x60(%rsi)
movzbl (%rdi), %eax
shrl $0x5, %eax
andl $0x1, %eax
movl %eax, 0x8(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x5, %eax
andl $0x1, %eax
movl %eax, 0x3c(%rsi)
movzbl (%rdi), %eax
shrl $0x4, %eax
andl $0x1, %eax
movl %eax, 0x20(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x4, %eax
andl $0x1, %eax
movl %eax, 0x54(%rsi)
movzbl (%rdi), %eax
andl $0xf, %eax
movl %eax, 0xc(%rsi)
movzbl 0x1(%rdi), %eax
andl $0xf, %eax
movl %eax, 0x40(%rsi)
movzbl 0x2(%rdi), %eax
shrl $0x6, %eax
movl %eax, 0x24(%rsi)
movzbl 0x3(%rdi), %eax
shrl $0x6, %eax
movl %eax, 0x58(%rsi)
movzbl 0x2(%rdi), %eax
andl $0x3f, %eax
movl %eax, (%rsi)
movzbl 0x3(%rdi), %eax
andl $0x7, %eax
movl %eax, 0x4(%rsi)
movzbl 0x3(%rdi), %eax
shrl $0x3, %eax
andl $0x1, %eax
movl %eax, 0x30(%rsi)
movzbl 0x3(%rdi), %eax
shrl $0x4, %eax
andl $0x1, %eax
movl %eax, 0x64(%rsi)
movzbl 0x4(%rdi), %eax
shrl $0x4, %eax
movl %eax, 0x10(%rsi)
movzbl 0x5(%rdi), %eax
shrl $0x4, %eax
movl %eax, 0x44(%rsi)
movzbl 0x4(%rdi), %eax
andl $0xf, %eax
movl %eax, 0x14(%rsi)
movzbl 0x5(%rdi), %eax
andl $0xf, %eax
movl %eax, 0x48(%rsi)
movzbl 0x6(%rdi), %eax
shrl $0x4, %eax
movl %eax, 0x18(%rsi)
movzbl 0x7(%rdi), %eax
shrl $0x4, %eax
movl %eax, 0x4c(%rsi)
movzbl 0x6(%rdi), %eax
andl $0xf, %eax
movl %eax, 0x1c(%rsi)
movzbl 0x7(%rdi), %eax
andl $0xf, %eax
movl %eax, 0x50(%rsi)
retq
|
/Wohlstand[P]scc/emidi_alpha/device/emu2413.c
|
OPLL_set_rate
|
void
OPLL_set_rate (OPLL * opll, e_uint32 r)
{
if (opll->quality)
rate = 49716;
else
rate = r;
internal_refresh ();
rate = r;
}
|
pushq %rbx
movl %esi, %ebx
cmpl $0x0, 0x104(%rdi)
movl $0xc234, %eax # imm = 0xC234
cmovel %esi, %eax
movl %eax, 0x11d8e(%rip) # 0x1d190
callq 0xb40f
movl %ebx, 0x11d83(%rip) # 0x1d190
popq %rbx
retq
|
/Wohlstand[P]scc/emidi_alpha/device/emu2413.c
|
OPLL_setMask
|
e_uint32
OPLL_setMask (OPLL * opll, e_uint32 mask)
{
e_uint32 ret;
if (opll)
{
ret = opll->mask;
opll->mask = mask;
return ret;
}
else
return 0;
}
|
testq %rdi, %rdi
je 0xbe9f
movl 0xf48(%rdi), %eax
movl %esi, 0xf48(%rdi)
retq
xorl %eax, %eax
retq
|
/Wohlstand[P]scc/emidi_alpha/device/emu2413.c
|
internal_refresh
|
static void
internal_refresh (SCC * scc)
{
if (scc->quality)
{
scc->base_incr = 2 << GETA_BITS;
scc->realstep = (e_uint32) ((1 << 31) / scc->rate);
scc->sccstep = (e_uint32) ((1 << 31) / (scc->clk / 2));
scc->scctime = 0;
}
else
{
scc->base_incr = (e_uint32) ((double) scc->clk * (1 << GETA_BITS) / scc->rate);
}
}
|
cmpl $0x0, 0xc(%rdi)
je 0xcf84
movl $0x800000, 0x8(%rdi) # imm = 0x800000
xorl %ecx, %ecx
movl $0x80000000, %eax # imm = 0x80000000
xorl %edx, %edx
divl 0x4(%rdi)
movl %eax, 0x28(%rdi)
movl (%rdi), %esi
shrl %esi
movl $0x80000000, %eax # imm = 0x80000000
xorl %edx, %edx
divl %esi
movl %eax, 0x30(%rdi)
movl $0x2c, %eax
jmp 0xcfa9
movl (%rdi), %eax
movl 0x4(%rdi), %ecx
cvtsi2sd %rax, %xmm0
mulsd 0x955a(%rip), %xmm0 # 0x164f0
cvtsi2sd %rcx, %xmm1
divsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
movl $0x8, %eax
movl %ecx, (%rdi,%rax)
retq
|
/Wohlstand[P]scc/emidi_alpha/device/emu2212.c
|
hexdump
|
char *hexdump(const unsigned char *buffer, size_t len)
{
static char dump[200 * 3 + 1];
char *p = dump;
size_t i;
if(len > 200)
return NULL;
for(i = 0; i<len; i++, p += 3)
snprintf(p, 4, "%02x ", buffer[i]);
return dump;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0xc8, %rsi
jbe 0x134b
xorl %ebx, %ebx
jmp 0x1395
movq %rsi, %r14
testq %rsi, %rsi
je 0x138e
movq %rdi, %r15
leaq 0x2d53(%rip), %rbx # 0x40b0
leaq 0xd62(%rip), %r12 # 0x20c6
xorl %ebp, %ebp
movq %rbx, %r13
movzbl (%r15,%rbp), %ecx
movl $0x4, %esi
movq %r13, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x1070
incq %rbp
addq $0x3, %r13
cmpq %rbp, %r14
jne 0x1369
jmp 0x1395
leaq 0x2d1b(%rip), %rbx # 0x40b0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/mitls[P]mitls-curl/tests/libtest/first.c
|
comex_fence_proc
|
int comex_fence_proc(int proc, comex_group_t group)
{
int *notify = NULL;
CHECK_GROUP(group,proc);
#if DEBUG
printf("[%d] comex_fence_proc(proc=%d,group=$d)\n",
l_state.rank, proc, group);
#endif
/* Corner case */
if (proc == l_state.rank) {
return COMEX_SUCCESS;
}
/* are there outstanding put/acc requests to proc? */
if (!fence_array[proc]) {
return COMEX_SUCCESS;
}
/* we allocate the notifier on the heap in order to avoid reentry
* into this function causing the same stack address to be reused */
notify = _my_malloc(sizeof(int));
*notify = 1;
_send_fence_message(proc, notify);
while (*notify > 0) {
comex_make_progress();
}
fence_array[proc] = 0;
_my_free(notify);
return COMEX_SUCCESS;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movl %edi, %ebx
movq %rsp, %rsi
movl %ebp, %edi
callq 0xb204
testl %eax, %eax
jne 0x9eeb
testl %ebx, %ebx
js 0x9ef4
cmpl %ebx, (%rsp)
jle 0x9efd
testl %ebp, %ebp
je 0x9e83
leaq 0x4(%rsp), %r14
movl %ebp, %edi
movl %ebx, %esi
movq %r14, %rdx
callq 0xb243
movl (%r14), %ebx
leaq 0xe2b6(%rip), %rax # 0x18140
cmpl 0x8(%rax), %ebx
je 0x9ede
movq 0xe30a(%rip), %rax # 0x181a0
movslq %ebx, %r15
cmpb $0x0, (%rax,%r15)
je 0x9ede
movl $0x4, %edi
callq 0x916a
movq %rax, %r14
movl $0x1, (%rax)
movl %ebx, %edi
movq %rax, %rsi
callq 0x9de5
cmpl $0x0, (%r14)
jle 0x9eca
callq 0x88ec
jmp 0x9ebd
movq 0xe2cf(%rip), %rax # 0x181a0
movb $0x0, (%rax,%r15)
movq %r14, %rdi
callq 0x2190
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6459(%rip), %rdi # 0x1034b
jmp 0x9f04
leaq 0x649d(%rip), %rdi # 0x10398
jmp 0x9f04
leaq 0x649e(%rip), %rdi # 0x103a2
leaq 0x63c7(%rip), %rsi # 0x102d2
leaq 0x6606(%rip), %rcx # 0x10518
movl $0x448, %edx # imm = 0x448
callq 0x20e0
|
/GlobalArrays[P]ga/comex/src-mpi/comex.c
|
comex_finalize
|
int comex_finalize()
{
/* it's okay to call multiple times -- extra calls are no-ops */
if (!initialized) {
return COMEX_SUCCESS;
}
initialized = 0;
/* Make sure that all outstanding operations are done */
comex_barrier(COMEX_GROUP_WORLD);
/* groups */
comex_group_finalize();
free(fence_array);
/* destroy the communicators */
MPI_Comm_free(&l_state.world_comm);
return COMEX_SUCCESS;
}
|
cmpb $0x1, 0xdb42(%rip) # 0x181a8
jne 0xa69a
pushq %rax
movb $0x0, 0xdb38(%rip) # 0x181a8
xorl %edi, %edi
callq 0x9f1c
xorl %eax, %eax
callq 0xb560
movq 0xdb1b(%rip), %rdi # 0x181a0
callq 0x2190
leaq 0xdaaf(%rip), %rdi # 0x18140
callq 0x2260
addq $0x8, %rsp
xorl %eax, %eax
retq
|
/GlobalArrays[P]ga/comex/src-mpi/comex.c
|
comex_group_rank
|
int comex_group_rank(comex_group_t group, int *rank)
{
int status;
comex_igroup_t *igroup = comex_get_igroup_from_group(group);
status = MPI_Group_rank(igroup->group, rank);
if (status != MPI_SUCCESS) {
comex_error("MPI_Group_rank: Failed ", status);
}
return COMEX_SUCCESS;
}
|
pushq %rbx
movq %rsi, %rbx
callq 0xb188
movq 0x18(%rax), %rdi
movq %rbx, %rsi
callq 0x2100
testl %eax, %eax
je 0xb200
leaq 0x5a83(%rip), %rdi # 0x10c7c
movl %eax, %esi
callq 0x240f
xorl %eax, %eax
popq %rbx
retq
|
/GlobalArrays[P]ga/comex/src-mpi/groups.c
|
MA_push_get
|
public Boolean MA_push_get(
Integer datatype, /* of elements in this block */
Integer nelem, /* # of elements in this block */
const char *name, /* assigned to this block by client */
Integer *memhandle, /* RETURN: handle for this block */
MA_AccessIndex *index /* RETURN: index for this block */)
{
#ifdef STATS
ma_stats.calls[(int)FID_MA_push_get]++;
#endif /* STATS */
if (MA_push_stack(datatype, nelem, name, memhandle))
/* MA_push_stack succeeded; try MA_get_index */
return MA_get_index(*memhandle, index);
else
/* MA_push_stack failed */
return MA_FALSE;
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
incq 0xb2d1(%rip) # 0x182b8
callq 0xd00d
testq %rax, %rax
je 0xd003
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb8c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
|
/GlobalArrays[P]ga/ma/ma.c
|
ctemplate::StringToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
|
void StringToFile(const string& s, const string& filename) {
FILE* fp = fopen(filename.c_str(), "wb");
ASSERT(fp);
size_t r = fwrite(s.data(), 1, s.length(), fp);
ASSERT(r == s.length());
fclose(fp);
g_time_mutex.Lock();
const time_t file_time = mock_time++;
g_time_mutex.Unlock();
struct utimbuf timbuf = { file_time, file_time };
utime(filename.c_str(), &timbuf);
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
leaq 0x23da(%rip), %rsi # 0x8209
callq 0x5270
testq %rax, %rax
je 0x5ed4
movq %rax, %r15
movq (%r14), %rdi
movq 0x8(%r14), %rdx
movl $0x1, %esi
movq %rax, %rcx
callq 0x5400
cmpq 0x8(%r14), %rax
jne 0x5f0c
movq %r15, %rdi
callq 0x5210
movb 0x548c(%rip), %al # 0xb2f8
cmpb $0x1, %al
jne 0x5e84
leaq 0x5449(%rip), %rdi # 0xb2c0
callq 0x5310
testl %eax, %eax
jne 0x5f39
movq 0x53cd(%rip), %r14 # 0xb258
leaq 0x1(%r14), %rax
movq %rax, 0x53c2(%rip) # 0xb258
movb 0x545c(%rip), %al # 0xb2f8
cmpb $0x1, %al
jne 0x5eb4
leaq 0x5419(%rip), %rdi # 0xb2c0
callq 0x52a0
testl %eax, %eax
jne 0x5f39
leaq 0x8(%rsp), %rsi
movq %r14, (%rsi)
movq %r14, 0x8(%rsi)
movq (%rbx), %rdi
callq 0x5120
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x2331(%rip), %rdi # 0x820c
leaq 0x2346(%rip), %rbx # 0x8228
movl $0x80, %esi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x5040
leaq 0x2333(%rip), %rsi # 0x822b
leaq 0x239b(%rip), %rcx # 0x829a
movq %rbx, %rdi
movl $0x80, %edx
callq 0x5160
movq %rax, %r12
leaq 0x22f6(%rip), %rdi # 0x820c
leaq 0x23ba(%rip), %rdx # 0x82d7
movl $0x82, %esi
xorl %eax, %eax
callq 0x5040
cmpq 0x8(%r14), %r12
jne 0x5f3e
movl $0x1, %edi
callq 0x5280
callq 0x5140
leaq 0x2392(%rip), %rdi # 0x82d7
leaq 0x22df(%rip), %rsi # 0x822b
leaq 0x2347(%rip), %rcx # 0x829a
movl $0x82, %edx
callq 0x5160
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ctemplate::AssertExpandWithDataIs(ctemplate::Template const*, ctemplate::TemplateDictionary const*, ctemplate::PerExpandData*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
|
void AssertExpandWithDataIs(const Template* tpl,
const TemplateDictionary *dict,
PerExpandData* per_expand_data,
const string& is, bool expected) {
const char* buf = ExpandIs(tpl, dict, per_expand_data, expected);
if (strcmp(buf, is.c_str())) {
printf("expected = '%s'\n", is.c_str());
printf("actual = '%s'\n", buf);
}
ASSERT(string(buf) == is);
delete [] buf;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movl %r8d, %ecx
callq 0x6199
movq %rax, %r14
movq (%rbx), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x52e0
testl %eax, %eax
je 0x64ee
leaq 0x1fcf(%rip), %rdi # 0x84a2
movq %r15, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x1fcf(%rip), %rdi # 0x84b3
movq %r14, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x50c0
movq 0x8(%r15), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x652a
movq 0x8(%rsp), %r15
testq %rdx, %rdx
je 0x6533
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x5240
testl %eax, %eax
sete %bpl
jmp 0x6536
movq 0x8(%rsp), %r15
xorl %ebp, %ebp
jmp 0x6536
movb $0x1, %bpl
leaq 0x18(%rsp), %rax
cmpq %rax, %r15
je 0x6548
movq %r15, %rdi
callq 0x51f0
testb %bpl, %bpl
je 0x6560
movq %r14, %rdi
callq 0x5290
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1ca5(%rip), %rdi # 0x820c
leaq 0x1f56(%rip), %rdx # 0x84c4
movl $0xcb, %esi
xorl %eax, %eax
callq 0x5040
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x50c0
movq 0x8(%r15), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x65c3
testq %rdx, %rdx
je 0x65af
movq (%rbx), %rsi
movq 0x8(%rsp), %rdi
callq 0x5240
testl %eax, %eax
jne 0x65c3
leaq 0x8(%rsp), %rdi
callq 0x5428
movl $0x1, %edi
callq 0x5280
leaq 0x1efa(%rip), %rdi # 0x84c4
leaq 0x1c5a(%rip), %rsi # 0x822b
leaq 0x1efe(%rip), %rcx # 0x84d6
movl $0xcb, %edx
callq 0x5160
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ctemplate::AssertExpandWithCacheIs(ctemplate::TemplateCache*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, ctemplate::Strip, ctemplate::TemplateDictionary const*, ctemplate::PerExpandData*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
|
void AssertExpandWithCacheIs(TemplateCache* cache,
const string& filename, Strip strip,
const TemplateDictionary *dict,
PerExpandData* per_expand_data,
const string& is, bool expected) {
const char* buf = ExpandWithCacheIs(cache, filename, strip, dict,
per_expand_data, expected);
if (strcmp(buf, is.c_str())) {
printf("expected = '%s'\n", is.c_str());
printf("actual = '%s'\n", buf);
}
ASSERT(string(buf) == is);
delete [] buf;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbx
movzbl 0x50(%rsp), %r9d
callq 0x633e
movq %rax, %r14
movq (%rbx), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x52e0
testl %eax, %eax
je 0x663e
leaq 0x1e7f(%rip), %rdi # 0x84a2
movq %r15, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x1e7f(%rip), %rdi # 0x84b3
movq %r14, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x50c0
movq 0x8(%r15), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x667a
movq 0x8(%rsp), %r15
testq %rdx, %rdx
je 0x6683
movq (%rbx), %rsi
movq %r15, %rdi
callq 0x5240
testl %eax, %eax
sete %bpl
jmp 0x6686
movq 0x8(%rsp), %r15
xorl %ebp, %ebp
jmp 0x6686
movb $0x1, %bpl
leaq 0x18(%rsp), %rax
cmpq %rax, %r15
je 0x6698
movq %r15, %rdi
callq 0x51f0
testb %bpl, %bpl
je 0x66b0
movq %r14, %rdi
callq 0x5290
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1b55(%rip), %rdi # 0x820c
leaq 0x1e06(%rip), %rdx # 0x84c4
movl $0xdf, %esi
xorl %eax, %eax
callq 0x5040
leaq 0x8(%rsp), %r15
leaq 0x7(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x50c0
movq 0x8(%r15), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x6713
testq %rdx, %rdx
je 0x66ff
movq (%rbx), %rsi
movq 0x8(%rsp), %rdi
callq 0x5240
testl %eax, %eax
jne 0x6713
leaq 0x8(%rsp), %rdi
callq 0x5428
movl $0x1, %edi
callq 0x5280
leaq 0x1daa(%rip), %rdi # 0x84c4
leaq 0x1b0a(%rip), %rsi # 0x822b
leaq 0x1e2a(%rip), %rcx # 0x8552
movl $0xdf, %edx
callq 0x5160
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ctemplate::TemporaryRegisterTemplate::TemporaryRegisterTemplate(char const*)
|
TemporaryRegisterTemplate::TemporaryRegisterTemplate(const char* name) {
old_namelist_ = TemplateNamelist::namelist_;
if (old_namelist_) {
namelist_ = *old_namelist_;
}
namelist_.insert(name);
TemplateNamelist::namelist_ = &namelist_;
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
leaq 0x8(%rdi), %rbx
leaq 0x38(%rdi), %rax
movq %rax, 0x8(%rdi)
movq $0x1, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
movl $0x3f800000, 0x28(%rdi) # imm = 0x3F800000
movups %xmm0, 0x30(%rdi)
movq 0x486d(%rip), %r15 # 0xafd8
movq (%r15), %rsi
movq %rsi, (%rdi)
testq %rsi, %rsi
sete %al
cmpq %rbx, %rsi
sete %cl
orb %al, %cl
jne 0x6789
movq %rbx, %rdi
callq 0x6abc
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %r14, %rsi
callq 0x50c0
leaq 0x28(%rsp), %rdx
movq %rbx, (%rdx)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6fea
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x67c3
callq 0x51f0
movq %rbx, (%r15)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
jmp 0x67ea
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x67ed
callq 0x51f0
jmp 0x67ed
movq %rax, %r14
movq %rbx, %rdi
callq 0x6fcc
movq %r14, %rdi
callq 0x53d0
nop
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ctemplate::TemplateDictionaryPeer::GetSectionDictionaries(ctemplate::TemplateString const&, std::vector<ctemplate::TemplateDictionary const*, std::allocator<ctemplate::TemplateDictionary const*>>*) const
|
int TemplateDictionaryPeer::GetSectionDictionaries(
const TemplateString& section_name,
vector<const TemplateDictionary*>* dicts) const {
dicts->clear();
if (dict_->IsHiddenSection(section_name))
return 0;
TemplateDictionaryInterface::Iterator* di =
dict_->CreateSectionIterator(section_name);
while (di->HasNext())
dicts->push_back(down_cast<const TemplateDictionary*>(&di->Next()));
delete di;
return static_cast<int>(dicts->size());
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x68b7
movq %rax, 0x8(%rbx)
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x693a
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x40(%rax)
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x6926
leaq 0x8(%rsp), %r15
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x690e
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x6919
movq %rbx, %rdi
movq %r15, %rdx
callq 0x73bc
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
jne 0x68ec
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x3, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ctemplate::TemplateDictionaryPeer::GetIncludeDictionaries(ctemplate::TemplateString const&, std::vector<ctemplate::TemplateDictionary const*, std::allocator<ctemplate::TemplateDictionary const*>>*) const
|
int TemplateDictionaryPeer::GetIncludeDictionaries(
const TemplateString& section_name,
vector<const TemplateDictionary*>* dicts) const {
dicts->clear();
if (dict_->IsHiddenTemplate(section_name))
return 0;
TemplateDictionaryInterface::Iterator* di =
dict_->CreateTemplateIterator(section_name);
while (di->HasNext())
dicts->push_back(down_cast<const TemplateDictionary*>(&di->Next()));
delete di;
return static_cast<int>(dicts->size());
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x6963
movq %rax, 0x8(%rbx)
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x69e6
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x38(%rax)
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x69d2
leaq 0x8(%rsp), %r15
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq %rax, 0x8(%rsp)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x69ba
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x69c5
movq %rbx, %rdi
movq %r15, %rdx
callq 0x73bc
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
jne 0x6998
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x3, %rax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
|
/rockdreamer[P]ctemplate/src/tests/template_test_util.cc
|
ycqian::thread_pool::thread_pool(unsigned long)
|
explicit thread_pool(size_t size) : data_(std::make_shared<data>()) {
for (size_t i = 0; i < size; ++i) {
std::thread([data = data_]{
std::unique_lock<std::mutex> lk(data->mutex);
for (;;) {
if (data->tasks.size()>0) {
auto current = data->tasks.front();
data->tasks.pop();
lk.unlock();
current();
lk.lock();
} else if (data->shutdown) {
break;
} else {
data->cv.wait(lk);
}
}
}).detach();
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x291a
leaq 0x18(%rsp), %r14
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
subq $0x1, %r15
jb 0x2695
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2f20
movq %r13, %rdi
movq %r12, %rsi
callq 0x2936
movq %r13, %rdi
callq 0x2230
movq %r13, %rdi
callq 0x29a8
movq %r14, %rdi
callq 0x31e8
jmp 0x265f
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r15
jmp 0x26b5
movq %rax, %r15
leaq 0x8(%rsp), %rdi
callq 0x29a8
movq %r14, %rdi
callq 0x31e8
addq $0x8, %rbx
movq %rbx, %rdi
callq 0x31e8
movq %r15, %rdi
callq 0x2240
nop
|
/QianYC[P]libycqian/examples/thread/../../thread/thread_pool.hpp
|
compute_padded_integral_img_simd_early_cast_int(unsigned char*, integral_image*)
|
void compute_padded_integral_img_simd_early_cast_int(uint8_t *gray_image, struct integral_image *iimage) {
float *iimage_padded_data = iimage->padded_data;
int data_width = iimage->data_width;
int data_height = iimage->data_height;
int width = iimage->width;
int height = iimage->height;
int border = (data_width - width) / 2;
//int border = PADDING_SIZE;
// Block layout of padded integral image:
// AAA
// BIC
// BDE
__m256 zeros_float = _mm256_setzero_ps();
// BLOCK A
for (int j = 0; j < border; ++j) {
int i = 0;
for (; i < data_width - 7; i+=8) {
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, zeros_float);
}
for (; i < data_width; ++i) {
iimage_padded_data[j * data_width + i] = 0.0f;
}
}
// BLOCK B
for (int j = border; j < data_height; ++j) {
int i = 0;
for (; i < border - 7; i+=8) {
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, zeros_float);
}
for (; i < border; ++i) {
iimage_padded_data[j * data_width + i] = 0.0f;
}
}
// BLOCK I
{
__m256i MASK = _mm256_setr_epi64x(0x00000000000000FF, 0x000000000000FFFF, 0x0000000000FFFFFF, 0x00000000FFFFFFFF);
__m256i PACK = _mm256_setr_epi32(0, 2, 4, 6, 1, 3, 5, 7);
//__m256i ZERO = _mm256_set1_epi32(0);
__m256i ZERO = _mm256_setzero_si256();
// Implementation adapted from:
// https://stackoverflow.com/questions/46520275/how-to-speed-up-calculation-of-integral-image
// https://github.com/ermig1979/Simd/blob/master/src/Simd/SimdAvx2Integral.cpp
uint32_t *iimage_idata = (uint32_t *) iimage->data;
size_t aligned_width = width / 4 * 4;
{
__m256i row_sums = ZERO;
size_t i = 0;
for(; i < aligned_width; i+=4) {
// If (gray_image + i) has following uint8_t pixels: a b c d
// a0000000 ab000000 abc00000 abcd0000
__m256i img_rep_mask = _mm256_and_si256(_mm256_set1_epi32(*(uint32_t*)(gray_image + i)), MASK);
// Summing together blocks of 8 uint8_t's and storing results
// uint32_t eeee = a
// uint32_t ffff = a + b
// uint32_t gggg = a + b + c
// uint32_t hhhh = a + b + c + d
// eeee0000 ffff0000 gggg0000 hhhh0000
__m256i img_sad_sum = _mm256_sad_epu8(img_rep_mask, ZERO);
// Updating row_sum by adding previously computed img_sad_sum
// eeee0000 ffff0000 hhhh0000 hhhh0000
// + iiii**** jjjj**** kkkk**** llll****
// -------------------------------------
// mmmm**** nnnn**** oooo**** pppp****
row_sums = _mm256_add_epi32(row_sums, img_sad_sum);
// Permuting row_sum from first row to second and cutting off upper 128 bits
// mmmm**** nnnn**** oooo**** pppp****
// mmmmnnnn oooopppp ******** ********
__m128i curr_row_sums = _mm256_castsi256_si128(_mm256_permutevar8x32_epi32(row_sums, PACK));
// Storing 128 bits (4*uint32_t) in curr_row_sums back to memory
//
_mm_storeu_si128((__m128i*)(iimage_idata + i), curr_row_sums); // For unaligned
//_mm_store_si128((__m128i *)(iimage_idata + i), curr_row_sums);
// Updating row_sums to only include highest of four values (pppp)
// mmmm**** nnnn**** oooo**** pppp****
// pppp**** pppp**** pppp**** pppp****
row_sums = _mm256_permute4x64_epi64(row_sums, 0xFF);
}
uint32_t row_sum = iimage_idata[i - 1];
for (; i < width; ++i) {
row_sum += gray_image[i];
iimage_idata[i] = row_sum;
}
}
float *iimage_data = iimage->data;
__m128 factor = _mm_set1_ps(1.0f / 255.0f);
for(size_t j = 1; j < height; ++j) {
__m256i row_sums = ZERO;
size_t i = 0;
for(; i < aligned_width; i+=4) {
// If (gray_image + i) has following uint8_t pixels: a b c d
// a0000000 ab000000 abc00000 abcd0000
__m256i img_rep_mask = _mm256_and_si256(_mm256_set1_epi32(*(uint32_t*)(gray_image + j * width + i)), MASK);
// Summing together blocks of 8 uint8_t's and storing results
// uint32_t eeee = a
// uint32_t ffff = a + b
// uint32_t gggg = a + b + c
// uint32_t hhhh = a + b + c + d
// eeee0000 ffff0000 gggg0000 hhhh0000
__m256i img_sad_sum = _mm256_sad_epu8(img_rep_mask, ZERO);
// Updating row_sum by adding previously computed img_sad_sum
// eeee0000 ffff0000 hhhh0000 hhhh0000
// + iiii**** jjjj**** kkkk**** llll****
// -------------------------------------
// mmmm**** nnnn**** oooo**** pppp****
row_sums = _mm256_add_epi32(row_sums, img_sad_sum);
// Permuting row_sum from first row to second and cutting off upper 128 bits
// mmmm**** nnnn**** oooo**** pppp****
// mmmmnnnn oooopppp ******** ********
__m128i curr_row_sums = _mm256_castsi256_si128(_mm256_permutevar8x32_epi32(row_sums, PACK));
// Loading row_sum from previous row
__m128i prev_row_sums = _mm_loadu_si128((__m128i *)(iimage_idata + (j-1) * data_width + i));
//__m128i prev_row_sums = _mm_load_si128((__m128i *)(iimage_idata + (j-1) * data_width + i));
// AVX512 only :(
//__m128 prev_row_sums_cast = _mm_cvtepu32_ps(prev_row_sums);
__m128 prev_row_sums_cast = _mm_cvtepi32_ps(prev_row_sums);
//__128 prev_row_sums_cast = _my_mm_cvtepu32_ps(prev_row_sums);
// Multiplying float version of previous row sum converted with (1.0f/255.0f)
__m128 prev_iimage_float = _mm_mul_ps(factor, prev_row_sums_cast);
// Storing float of previous row sum back to memory as final integral image value
_mm_storeu_ps(iimage_data +(j-1) * data_width + i, prev_iimage_float);
// Adding curr_row_sums with prev_row_sums
__m128i add_row_sums = _mm_add_epi32(curr_row_sums, prev_row_sums);
// Storing 128 bits (4*uint32_t) in curr_row_sums back to memory
_mm_storeu_si128((__m128i *)(iimage_idata + j * data_width + i), add_row_sums); // For unaligned
//_mm_store_si128((__m128i *)(iimage_idata + j * data_width + i), add_row_sums);
// Updating row_sums to only include highest of four values (pppp)
// mmmm**** nnnn**** oooo**** pppp****
// pppp**** pppp**** pppp**** pppp****
row_sums = _mm256_permute4x64_epi64(row_sums, 0xFF);
}
uint32_t row_sum = iimage_idata[j * data_width + i - 1] - iimage_idata[(j-1) * data_width + i - 1];
for (; i < width; ++i) {
row_sum += gray_image[j * width + i];
float prev_row_sum = iimage_idata[(j-1) * data_width + i];
iimage_idata[j * data_width + i] = row_sum + prev_row_sum;
iimage_data[(j-1) * data_width + i] = (1.0f / 255.0f) * ((float) prev_row_sum);
}
}
// Converting last row to floats
__m256 factor256 = _mm256_set1_ps(1.0f / 255.0f);
size_t i = 0;
for (; i < width - 7; i+=8) { // TODO: Check if -7 correct here
__m256i v_int = _mm256_loadu_si256((__m256i *)(iimage_idata + (height - 1) * data_width + i));
//__m256i v_int = _mm256_load_si256((__m256i *)(iimage_idata + j * data_width + i));
// AVX512 only :(
//__m256 v_float = _mm256_cvtepu32_ps(v_int);
__m256 v_float = _mm256_cvtepi32_ps(v_int);
//__m256 v_float = _my_mm256_cvtepu32_ps(v_int);
// Multiplying converted float with (1.0f/255.0f)
__m256 v_iimage = _mm256_mul_ps(factor256, v_float);
// Storing value back to memory
_mm256_storeu_ps(iimage_data + (height - 1) * data_width + i, v_iimage);
}
for (; i < width; ++i) {
iimage_data[(height - 1) * data_width + i] = (1.0f / 255.0f) * ((float) iimage_idata[(height - 1) * data_width + i]);
}
}
// BLOCK C
for (int j = border; j < border + height; ++j) {
float last_element_in_row_float = iimage_padded_data[j * data_width + border + width - 1];
__m256 last_element_in_row_vec = _mm256_set1_ps(last_element_in_row_float);
int i = width + border;
for (; i < data_width - 7; i+=8) {
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, last_element_in_row_vec);
}
for (; i < data_width; ++i) {
iimage_padded_data[j * data_width + i] = last_element_in_row_float;
}
}
// BLOCK D
for (int j = border + height; j < data_height; ++j) {
int i = border;
for (; i < width + border - 7; i+=8) {
__m256 prev_elements_in_row = _mm256_loadu_ps(iimage_padded_data + (j-1) * data_width + i);
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, prev_elements_in_row);
}
for (; i < width + border; ++i) {
iimage_padded_data[j * data_width + i] = iimage_padded_data[(j-1) * data_width + i];
}
}
// TODO: WRITE SECOND VERSION WITH COLMAJOR
/*
int i = border;
for (; i < width + border - 7; i+=8) {
__m256 prev_elements_in_row_vec = _mm256_loadu_ps(iimage_padded_data + (border + height - 1) * data_width + i);
for (int j = border + height; j < data_height; ++j) {
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, prev_elements_in_row_vec);
}
}
for (; i < width + border; ++i) {
float prev_elements_in_row_float = iimage_padded_data[(border + height - 1) * data_width + i];
for (int j = border + height; j < data_height; ++j) {
iimage_padded_data[j * data_width + i] = prev_elements_in_row_float;
}
}
*/
// BLOCK E
int index_last_element = (border + height - 1) * data_width + border + width - 1;
float max_value_float = iimage_padded_data[index_last_element];
__m256 max_value_vec = _mm256_set1_ps(max_value_float);
for (int j = border + height; j < data_height; ++j) {
int i = border + width;
for (; i < data_width - 7; i+=8) {
_mm256_storeu_ps(iimage_padded_data + j * data_width + i, max_value_vec);
}
for (; i < data_width; ++i) {
iimage_padded_data[j * data_width + i] = max_value_float;
}
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movslq 0x10(%rsi), %r9
movslq (%rsi), %r8
movq 0x18(%rsi), %r12
movslq 0x14(%rsi), %r15
movslq 0x4(%rsi), %r13
movl $0x2, %ecx
vxorps %xmm0, %xmm0, %xmm0
movq %rdi, %r11
movl %r9d, %eax
subl %r8d, %eax
leaq (,%r9,4), %r14
leaq -0x7(%r9), %rbx
cltd
idivl %ecx
movl %eax, %ecx
sarl $0x1f, %ecx
movq %r12, %rdx
andnl %eax, %ecx, %ebp
xorl %ecx, %ecx
cmpq %rbp, %rcx
je 0xd173
movq %rdx, %rdi
xorl %r10d, %r10d
cmpq %rbx, %r10
jge 0xd166
vmovups %ymm0, (%rdx,%r10,4)
addq $0x8, %r10
addq $0x20, %rdi
jmp 0xd147
andl $0x0, (%rdi)
incq %r10
addq $0x4, %rdi
cmpq %r9, %r10
jl 0xd15c
incq %rcx
addq %r14, %rdx
jmp 0xd13c
leal -0x7(%rax), %ecx
movslq %eax, %rdx
vxorps %xmm0, %xmm0, %xmm0
movslq %ecx, %rbp
movq %r9, %rcx
imulq %rdx, %rcx
movq %rdx, -0x48(%rsp)
movq %rcx, -0x20(%rsp)
leaq (%r12,%rcx,4), %rcx
cmpq %r15, %rdx
jge 0xd1ce
movq %rcx, %rdi
xorl %r10d, %r10d
cmpq %rbp, %r10
jge 0xd1bf
vmovups %ymm0, (%rcx,%r10,4)
addq $0x8, %r10
addq $0x20, %rdi
jmp 0xd1a0
andl $0x0, (%rdi)
incq %r10
addq $0x4, %rdi
cmpq -0x48(%rsp), %r10
jl 0xd1b5
incq %rdx
addq %r14, %rcx
jmp 0xd195
movq %rax, -0x40(%rsp)
movl %r8d, %eax
movl $0x4, %ecx
cltd
movq %r12, -0x30(%rsp)
movq %r15, -0x28(%rsp)
movq 0x8(%rsi), %rbp
vmovaps 0x5302e(%rip), %ymm0 # 0x60220
vpxor %xmm1, %xmm1, %xmm1
vpxor %xmm2, %xmm2, %xmm2
idivl %ecx
xorl %ecx, %ecx
shll $0x2, %eax
cltq
cmpq %rax, %rcx
jae 0xd234
vmovd (%r11,%rcx), %xmm3
vpxor %xmm4, %xmm4, %xmm4
vpermt2b %ymm3, %ymm0, %ymm4
vpsadbw %ymm1, %ymm4, %ymm3
vpaddd %ymm2, %ymm3, %ymm2
vpmovqd %ymm2, (%rbp,%rcx,4)
vpermq $0xff, %ymm2, %ymm2 # ymm2 = ymm2[3,3,3,3]
addq $0x4, %rcx
jmp 0xd203
movl -0x4(%rbp,%rcx,4), %edx
cmpq %r8, %rcx
jae 0xd24d
movzbl (%r11,%rcx), %edi
addl %edi, %edx
movl %edx, (%rbp,%rcx,4)
incq %rcx
jmp 0xd238
vbroadcastss 0x52fba(%rip), %xmm3 # 0x60210
vmovss 0x52fb2(%rip), %xmm1 # 0x60210
movq 0x8(%rsi), %rcx
leaq (%rbp,%r9,4), %rsi
addq %r8, %r11
movabsq $0x1, %rdi
vpxor %xmm2, %xmm2, %xmm2
xorl %r15d, %r15d
movq %rbp, %r10
movq %r13, -0x18(%rsp)
movq %rcx, %rdx
cmpq %r13, %rdi
jae 0xd36f
vpxor %xmm4, %xmm4, %xmm4
movq %rdi, -0x38(%rsp)
movq %r11, %rdi
xorl %r13d, %r13d
movq %r15, -0x8(%rsp)
movq %r10, -0x10(%rsp)
cmpq %rax, %r13
jae 0xd300
vmovd (%r11,%r13), %xmm5
vpxor %xmm6, %xmm6, %xmm6
addq $0x10, %r15
addq $0x4, %rdi
vpermt2b %ymm5, %ymm0, %ymm6
vpsadbw %ymm2, %ymm6, %ymm5
vpaddd %ymm4, %ymm5, %ymm4
vmovdqu (%r10), %xmm5
vpmovqd %ymm4, %xmm7
vpermq $0xff, %ymm4, %ymm4 # ymm4 = ymm4[3,3,3,3]
vcvtdq2ps %xmm5, %xmm6
vpaddd %xmm7, %xmm5, %xmm5
vmulps %xmm3, %xmm6, %xmm6
vmovups %xmm6, (%rdx,%r13,4)
vmovdqu %xmm5, (%r10,%r14)
addq $0x4, %r13
addq $0x10, %r10
jmp 0xd2a8
movl -0x4(%r10,%r14), %r12d
subl -0x4(%r10), %r12d
cmpq %r8, %r13
jae 0xd347
vcvtusi2ssl (%rbp,%r15), %xmm8, %xmm4
movzbl (%rdi), %r10d
incq %r13
incq %rdi
addl %r10d, %r12d
vcvtusi2ss %r12d, %xmm8, %xmm5
vaddss %xmm5, %xmm4, %xmm5
vmulss %xmm1, %xmm4, %xmm4
vcvttss2usi %xmm5, %r10d
movl %r10d, (%rsi,%r15)
vmovss %xmm4, (%rcx,%r15)
addq $0x4, %r15
jmp 0xd309
movq -0x38(%rsp), %rdi
movq -0x10(%rsp), %r10
movq -0x8(%rsp), %r15
movq -0x18(%rsp), %r13
addq %r8, %r11
addq %r14, %rdx
incq %rdi
addq %r14, %r10
addq %r14, %r15
jmp 0xd286
vbroadcastss 0x52e98(%rip), %ymm0 # 0x60210
leal -0x1(%r13), %eax
movq -0x30(%rsp), %r12
movq -0x40(%rsp), %r11
leaq -0x7(%r8), %rsi
imull %r9d, %eax
movslq %eax, %rdx
leaq (%rbp,%rdx,4), %rax
leaq (%rcx,%rdx,4), %rcx
xorl %edx, %edx
cmpq %rsi, %rdx
jae 0xd3c8
vcvtdq2ps (%rax,%rdx,4), %ymm2
vmulps %ymm0, %ymm2, %ymm2
vmovups %ymm2, (%rcx,%rdx,4)
addq $0x8, %rdx
jmp 0xd39c
vcvtusi2ssl (%rax,%rdx,4), %xmm5, %xmm0
vmulss %xmm1, %xmm0, %xmm0
vmovss %xmm0, (%rcx,%rdx,4)
incq %rdx
cmpq %r8, %rdx
jb 0xd3b5
movq -0x20(%rsp), %rdx
addl %r8d, %r11d
movq -0x48(%rsp), %rdi
movslq %r11d, %rax
leaq (,%rax,4), %rsi
movq %rsi, -0x38(%rsp)
leaq (%rsi,%rdx,4), %rsi
leaq (%r12,%rdx,4), %rcx
addq %rdi, %r13
addq %r12, %rsi
cmpq %r13, %rdi
jge 0xd448
movl %edi, %r8d
imull %r9d, %r8d
movq %rax, %r10
addl %r11d, %r8d
movslq %r8d, %r8
vbroadcastss -0x4(%r12,%r8,4), %ymm0
movq %rsi, %r8
cmpq %rbx, %r10
jge 0xd438
vmovups %ymm0, (%rcx,%r10,4)
addq $0x8, %r10
addq $0x20, %r8
jmp 0xd417
vmovss %xmm0, (%r8)
incq %r10
addq $0x4, %r8
cmpq %r9, %r10
jl 0xd42c
incq %rdi
addq %r14, %rcx
addq %r14, %rsi
jmp 0xd3f8
movq -0x48(%rsp), %rdx
leal -0x7(%r11), %ecx
movq %r11, -0x40(%rsp)
leaq -0x1(%r13), %r11
movslq %ecx, %rsi
movq %r9, %rcx
imulq %r9, %r11
imulq %r13, %rcx
leaq (%r12,%r11,4), %rdi
leaq (%r12,%rcx,4), %r8
leaq (,%rdx,4), %r15
movq %r13, %rdx
leaq (%r15,%rcx,4), %r10
leaq (%r15,%r11,4), %r11
xorl %r15d, %r15d
addq %r12, %r10
addq %r12, %r11
movq -0x48(%rsp), %r12
movq %r15, %rbp
cmpq -0x28(%rsp), %r13
jl 0xd4b1
jmp 0xd4de
vmovups (%rdi,%r12,4), %ymm0
addq $0x20, %rbp
vmovups %ymm0, (%r8,%r12,4)
addq $0x8, %r12
cmpq %rsi, %r12
jl 0xd49d
jmp 0xd4cb
vmovss (%r11,%rbp), %xmm0
incq %r12
vmovss %xmm0, (%r10,%rbp)
addq $0x4, %rbp
cmpq %rax, %r12
jl 0xd4b8
incq %r13
addq %r14, %rdi
addq %r14, %r8
addq %r14, %r15
jmp 0xd48c
leal -0x1(%rdx), %esi
movq %rdx, %r10
movq -0x40(%rsp), %rdx
movq -0x30(%rsp), %r8
movq -0x38(%rsp), %rdi
imull %r9d, %esi
addl %esi, %edx
movslq %edx, %rsi
vbroadcastss -0x4(%r8,%rsi,4), %ymm0
leaq (%r8,%rcx,4), %rsi
leaq (%rdi,%rcx,4), %rcx
addq %r8, %rcx
movq -0x28(%rsp), %r8
cmpq %r8, %r10
jge 0xd54d
movq %rcx, %rdx
movq %rax, %rdi
cmpq %rbx, %rdi
jge 0xd53d
vmovups %ymm0, (%rsi,%rdi,4)
addq $0x8, %rdi
addq $0x20, %rdx
jmp 0xd51e
vmovss %xmm0, (%rdx)
incq %rdi
addq $0x4, %rdx
cmpq %r9, %rdi
jl 0xd532
incq %r10
addq %r14, %rsi
addq %r14, %rcx
jmp 0xd513
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
nop
|
/laurinpaech[P]Haswellhof/src/optimization/integral_image_simd.cpp
|
get_msurf_descriptor_precompute_gauss_case(integral_image*, interest_point*)
|
void get_msurf_descriptor_precompute_gauss_case(struct integral_image* iimage, struct interest_point* ipoint) {
/*
applied optimizations:
- all of get_msurf_inlinedHaarWavelets
- precompute gauss_s2 like get_msurf_descriptor_gauss_s2_precomputed
(changed to use case statements here)
- precompute gauss_s1 by computing them once
with separable kernels and using case statements
*/
float scale = ipoint->scale;
// float scale_mul_25f = 2.5f*scale;
int int_scale = (int) roundf(scale);
// int int_scale_mul_2 = 2 * int_scale;
float scale_squared = scale*scale;
float g1_factor = -0.08f / (scale_squared); // since 0.08f / (scale*scale) == 1.0f / (2.0f * 2.5f * scale * 2.5f * scale)
//float g2_factor = -1.0f / 4.5f; // since 1.0f / 4.5f == 1.0f / (2.0f * 1.5f * 1.5f)
float ipoint_x = roundf(ipoint->x) + 0.5*scale;
float ipoint_y = roundf(ipoint->y) + 0.5*scale;
// build descriptor
float* descriptor = ipoint->descriptor;
int desc_idx = 0;
float sum_of_squares = 0.0f;
// Initializing gauss_s2 index for precomputed array
int gauss_s2_index = 0;
//r(2.5*s) + r(1.5*s) == -(r(2.5*s) - r(6.5*s))
float s0 = roundf( 0.5 * scale);
float s1 = roundf( 1.5 * scale);
float s2 = roundf( 2.5 * scale);
float s3 = roundf( 3.5 * scale);
float s4 = roundf( 4.5 * scale);
float s5 = roundf( 5.5 * scale);
float s6 = roundf( 6.5 * scale);
float s7 = roundf( 7.5 * scale);
float s8 = roundf( 8.5 * scale);
float s9 = roundf( 9.5 * scale);
float s10 = roundf(10.5 * scale);
float s11 = roundf(11.5 * scale);
float e_c0_m4 = s2 + s1; // CAREFUL HERE!
float e_c0_m3 = s2 + s0; // CAREFUL HERE!
float e_c0_m2 = s2 - s0;
float e_c0_m1 = s2 - s1;
//float e_c0_z0 = s2 - s2;
float e_c0_p1 = s2 - s3;
float e_c0_p2 = s2 - s4;
float e_c0_p3 = s2 - s5;
float e_c0_p4 = s2 - s6;
float e_c1_m4 = s7 - s3;
float e_c1_m3 = s7 - s4;
float e_c1_m2 = s7 - s5;
float e_c1_m1 = s7 - s6;
//float e_c1_z0 = s7 - s7;
float e_c1_p1 = s7 - s8;
float e_c1_p2 = s7 - s9;
float e_c1_p3 = s7 - s10;
float e_c1_p4 = s7 - s11;
float gauss_s1_c0_m4 = expf(g1_factor * (e_c0_m4 * e_c0_m4));
float gauss_s1_c0_m3 = expf(g1_factor * (e_c0_m3 * e_c0_m3));
float gauss_s1_c0_m2 = expf(g1_factor * (e_c0_m2 * e_c0_m2));
float gauss_s1_c0_m1 = expf(g1_factor * (e_c0_m1 * e_c0_m1));
float gauss_s1_c0_z0 = 1.0f; //expf(g1_factor * (e_c0_z0 * e_c0_z0));
float gauss_s1_c0_p1 = expf(g1_factor * (e_c0_p1 * e_c0_p1));
float gauss_s1_c0_p2 = expf(g1_factor * (e_c0_p2 * e_c0_p2));
float gauss_s1_c0_p3 = expf(g1_factor * (e_c0_p3 * e_c0_p3));
float gauss_s1_c0_p4 = expf(g1_factor * (e_c0_p4 * e_c0_p4));
float gauss_s1_c1_m4 = expf(g1_factor * (e_c1_m4 * e_c1_m4));
float gauss_s1_c1_m3 = expf(g1_factor * (e_c1_m3 * e_c1_m3));
float gauss_s1_c1_m2 = expf(g1_factor * (e_c1_m2 * e_c1_m2));
float gauss_s1_c1_m1 = expf(g1_factor * (e_c1_m1 * e_c1_m1));
float gauss_s1_c1_z0 = 1.0f; //expf(g1_factor * (e_c1_z0 * e_c1_z0));
float gauss_s1_c1_p1 = expf(g1_factor * (e_c1_p1 * e_c1_p1));
float gauss_s1_c1_p2 = expf(g1_factor * (e_c1_p2 * e_c1_p2));
float gauss_s1_c1_p3 = expf(g1_factor * (e_c1_p3 * e_c1_p3));
float gauss_s1_c1_p4 = expf(g1_factor * (e_c1_p4 * e_c1_p4));
// calculate descriptor for this interest point
for (int i=-8; i<8; i+=5) {
for (int j=-8; j<8; j+=5) {
float dx = 0.0f;
float dy = 0.0f;
float mdx = 0.0f;
float mdy = 0.0f;
//int xs = (int) roundf(ipoint_x + (i+0.5f) * scale);
//int ys = (int) roundf(ipoint_y + (j+0.5f) * scale);
int gauss_index_l = -4;
for (int l = j-4; l < j + 5; ++l, ++gauss_index_l) {
//Get y coords of sample point
int sample_y = (int) roundf(ipoint_y + l * scale);
//float ys_sub_sample_y = (float) ys-sample_y;
//float ys_sub_sample_y_squared = ys_sub_sample_y*ys_sub_sample_y;
//Get y coords of sample point
int sample_y_sub_int_scale = sample_y-int_scale;
float gauss_s1_y = -1;
if (j == -8) {
switch (gauss_index_l) {
case -4: gauss_s1_y = gauss_s1_c1_p4; break;
case -3: gauss_s1_y = gauss_s1_c1_p3; break;
case -2: gauss_s1_y = gauss_s1_c1_p2; break;
case -1: gauss_s1_y = gauss_s1_c1_p1; break;
case 0: gauss_s1_y = gauss_s1_c1_z0; break;
case 1: gauss_s1_y = gauss_s1_c1_m1; break;
case 2: gauss_s1_y = gauss_s1_c1_m2; break;
case 3: gauss_s1_y = gauss_s1_c1_m3; break;
case 4: gauss_s1_y = gauss_s1_c1_m4; break;
};
} else if (j == -3) {
switch (gauss_index_l) {
case -4: gauss_s1_y = gauss_s1_c0_p4; break;
case -3: gauss_s1_y = gauss_s1_c0_p3; break;
case -2: gauss_s1_y = gauss_s1_c0_p2; break;
case -1: gauss_s1_y = gauss_s1_c0_p1; break;
case 0: gauss_s1_y = gauss_s1_c0_z0; break;
case 1: gauss_s1_y = gauss_s1_c0_m1; break;
case 2: gauss_s1_y = gauss_s1_c0_m2; break;
case 3: gauss_s1_y = gauss_s1_c0_m3; break;
case 4: gauss_s1_y = gauss_s1_c0_m4; break;
};
} else if (j == 2) {
switch (gauss_index_l) {
case -4: gauss_s1_y = gauss_s1_c0_m4; break;
case -3: gauss_s1_y = gauss_s1_c0_m3; break;
case -2: gauss_s1_y = gauss_s1_c0_m2; break;
case -1: gauss_s1_y = gauss_s1_c0_m1; break;
case 0: gauss_s1_y = gauss_s1_c0_z0; break;
case 1: gauss_s1_y = gauss_s1_c0_p1; break;
case 2: gauss_s1_y = gauss_s1_c0_p2; break;
case 3: gauss_s1_y = gauss_s1_c0_p3; break;
case 4: gauss_s1_y = gauss_s1_c0_p4; break;
};
} else if (j == 7) {
switch (gauss_index_l) {
case -4: gauss_s1_y = gauss_s1_c1_m4; break;
case -3: gauss_s1_y = gauss_s1_c1_m3; break;
case -2: gauss_s1_y = gauss_s1_c1_m2; break;
case -1: gauss_s1_y = gauss_s1_c1_m1; break;
case 0: gauss_s1_y = gauss_s1_c1_z0; break;
case 1: gauss_s1_y = gauss_s1_c1_p1; break;
case 2: gauss_s1_y = gauss_s1_c1_p2; break;
case 3: gauss_s1_y = gauss_s1_c1_p3; break;
case 4: gauss_s1_y = gauss_s1_c1_p4; break;
};
}
int gauss_index_k = -4;
for (int k = i-4; k < i + 5; ++k, ++gauss_index_k) {
//Get x coords of sample point
int sample_x = (int) roundf(ipoint_x + k * scale);
//float xs_sub_sample_x = (float) xs-sample_x;
//float xs_sub_sample_x_squared = xs_sub_sample_x*xs_sub_sample_x;
//Get x coords of sample point
int sample_x_sub_int_scale = sample_x-int_scale;
float gauss_s1_x = -1;
if (i == -8) {
switch (gauss_index_k) {
case -4: gauss_s1_x = gauss_s1_c1_p4; break;
case -3: gauss_s1_x = gauss_s1_c1_p3; break;
case -2: gauss_s1_x = gauss_s1_c1_p2; break;
case -1: gauss_s1_x = gauss_s1_c1_p1; break;
case 0: gauss_s1_x = gauss_s1_c1_z0; break;
case 1: gauss_s1_x = gauss_s1_c1_m1; break;
case 2: gauss_s1_x = gauss_s1_c1_m2; break;
case 3: gauss_s1_x = gauss_s1_c1_m3; break;
case 4: gauss_s1_x = gauss_s1_c1_m4; break;
};
} else if (i == -3) {
switch (gauss_index_k) {
case -4: gauss_s1_x = gauss_s1_c0_p4; break;
case -3: gauss_s1_x = gauss_s1_c0_p3; break;
case -2: gauss_s1_x = gauss_s1_c0_p2; break;
case -1: gauss_s1_x = gauss_s1_c0_p1; break;
case 0: gauss_s1_x = gauss_s1_c0_z0; break;
case 1: gauss_s1_x = gauss_s1_c0_m1; break;
case 2: gauss_s1_x = gauss_s1_c0_m2; break;
case 3: gauss_s1_x = gauss_s1_c0_m3; break;
case 4: gauss_s1_x = gauss_s1_c0_m4; break;
};
} else if (i == 2) {
switch (gauss_index_k) {
case -4: gauss_s1_x = gauss_s1_c0_m4; break;
case -3: gauss_s1_x = gauss_s1_c0_m3; break;
case -2: gauss_s1_x = gauss_s1_c0_m2; break;
case -1: gauss_s1_x = gauss_s1_c0_m1; break;
case 0: gauss_s1_x = gauss_s1_c0_z0; break;
case 1: gauss_s1_x = gauss_s1_c0_p1; break;
case 2: gauss_s1_x = gauss_s1_c0_p2; break;
case 3: gauss_s1_x = gauss_s1_c0_p3; break;
case 4: gauss_s1_x = gauss_s1_c0_p4; break;
};
} else if (i == 7) {
switch (gauss_index_k) {
case -4: gauss_s1_x = gauss_s1_c1_m4; break;
case -3: gauss_s1_x = gauss_s1_c1_m3; break;
case -2: gauss_s1_x = gauss_s1_c1_m2; break;
case -1: gauss_s1_x = gauss_s1_c1_m1; break;
case 0: gauss_s1_x = gauss_s1_c1_z0; break;
case 1: gauss_s1_x = gauss_s1_c1_p1; break;
case 2: gauss_s1_x = gauss_s1_c1_p2; break;
case 3: gauss_s1_x = gauss_s1_c1_p3; break;
case 4: gauss_s1_x = gauss_s1_c1_p4; break;
};
}
/*
//Get the gaussian weighted x and y responses
float gauss_s1_x_real = expf(g1_factor * (xs_sub_sample_x_squared));
float gauss_s1_y_real = expf(g1_factor * (ys_sub_sample_y_squared));
if (gauss_s1_x != gauss_s1_x_real || gauss_s1_y != gauss_s1_y_real) {
std::cout << "gauss_s1_x: " << gauss_s1_x << std::endl;
std::cout << "gauss_s1_y: " << gauss_s1_y << std::endl;
std::cout << "gauss_s1_x_real: " << gauss_s1_x_real << std::endl;
std::cout << "gauss_s1_y_real: " << gauss_s1_y_real << std::endl;
}
*/
float gauss_s1 = gauss_s1_x * gauss_s1_y;
float rx = 0.0f;
float ry = 0.0f;
haarXY_precheck_boundaries(iimage, sample_y_sub_int_scale, sample_x_sub_int_scale, int_scale, &rx, &ry);
//Get the gaussian weighted x and y responses on rotated axis
float rrx = gauss_s1 * ry;
float rry = gauss_s1 * rx;
dx += rrx;
dy += rry;
mdx += fabsf(rrx);
mdy += fabsf(rry);
}
}
//float gauss_s2 = expf(g2_factor * (cx_squared + cy_squared));
// Precomputed 4x4 gauss_s2 with (x,y) = {-1.5, -0.5, 0.5, 1.5}^2 and sig = 1.5f
//float gauss_s2 = gauss_s2_precomputed[gauss_s2_index++];
float gauss_s2;
switch (gauss_s2_index) {
case 0: gauss_s2 = 0.026022f; break;
case 1: gauss_s2 = 0.040585f; break;
case 2: gauss_s2 = 0.040585f; break;
case 3: gauss_s2 = 0.026022f; break;
case 4: gauss_s2 = 0.040585f; break;
case 5: gauss_s2 = 0.063297f; break;
case 6: gauss_s2 = 0.063297f; break;
case 7: gauss_s2 = 0.040585f; break;
case 8: gauss_s2 = 0.040585f; break;
case 9: gauss_s2 = 0.063297f; break;
case 10: gauss_s2 = 0.063297f; break;
case 11: gauss_s2 = 0.040585f; break;
case 12: gauss_s2 = 0.026022f; break;
case 13: gauss_s2 = 0.040585f; break;
case 14: gauss_s2 = 0.040585f; break;
case 15: gauss_s2 = 0.026022f; break;
};
gauss_s2_index++;
// add the values to the descriptor vector
float d1 = dx * gauss_s2;
float d2 = dy * gauss_s2;
float d3 = mdx * gauss_s2;
float d4 = mdy * gauss_s2;
descriptor[desc_idx] = d1;
descriptor[desc_idx+1] = d2;
descriptor[desc_idx+2] = d3;
descriptor[desc_idx+3] = d4;
// precompute for normaliztion
sum_of_squares += (d1*d1 + d2*d2 + d3*d3 + d4*d4);
desc_idx += 4;
}
}
// rescale to unit vector
// NOTE: using sqrtf() for floats
float norm_factor = 1.0f / sqrtf(sum_of_squares);
for (int i = 0; i < 64; ++i) {
descriptor[i] *= norm_factor;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
vpbroadcastd 0x16832(%rip), %xmm1 # 0x600a0
vpbroadcastd 0x16825(%rip), %xmm0 # 0x6009c
vmovd 0x8(%rsi), %xmm14
vmovss 0x16a00(%rip), %xmm3 # 0x60284
vmovsd 0x1683c(%rip), %xmm5 # 0x600c8
movq %rdi, %r14
movq %rsi, 0x98(%rsp)
vmovdqa %xmm14, 0xc0(%rsp)
vmovdqa %xmm1, %xmm2
vpternlogd $0xf8, %xmm0, %xmm14, %xmm2
vmovdqa %xmm1, %xmm4
vmovdqa %xmm1, %xmm6
vmovdqa %xmm1, %xmm7
vmovdqa %xmm1, %xmm8
vmovdqa %xmm1, %xmm9
vmovdqa %xmm1, %xmm10
vmovdqa %xmm1, %xmm11
vmovdqa %xmm1, %xmm12
vmovdqa %xmm1, %xmm13
vaddss %xmm2, %xmm14, %xmm2
vroundss $0xb, %xmm2, %xmm2, %xmm2
vcvttss2si %xmm2, %ebp
vmulss %xmm14, %xmm14, %xmm2
vdivss %xmm2, %xmm3, %xmm15
vmovd (%rsi), %xmm2
vmovd 0x4(%rsi), %xmm3
vpternlogd $0xf8, %xmm0, %xmm2, %xmm4
vaddss %xmm4, %xmm2, %xmm2
vcvtss2sd %xmm14, %xmm14, %xmm4
vmovss %xmm15, 0x50(%rsp)
vroundss $0xb, %xmm2, %xmm2, %xmm2
vcvtss2sd %xmm2, %xmm2, %xmm2
vfmadd231sd %xmm5, %xmm4, %xmm2 # xmm2 = (xmm4 * xmm5) + xmm2
vcvtsd2ss %xmm2, %xmm2, %xmm2
vmovss %xmm2, 0x94(%rsp)
vmovdqa %xmm1, %xmm2
vpternlogd $0xf8, %xmm0, %xmm3, %xmm2
vaddss %xmm2, %xmm3, %xmm2
vmovdqa %xmm1, %xmm3
vroundss $0xb, %xmm2, %xmm2, %xmm2
vcvtss2sd %xmm2, %xmm2, %xmm2
vfmadd231sd %xmm5, %xmm4, %xmm2 # xmm2 = (xmm4 * xmm5) + xmm2
vmovdqa %xmm1, %xmm4
vmovdqa %xmm1, %xmm5
vcvtsd2ss %xmm2, %xmm2, %xmm2
vmovss %xmm2, 0x8c(%rsp)
vmulss 0x166d0(%rip), %xmm14, %xmm2 # 0x60030
vpternlogd $0xf8, %xmm0, %xmm2, %xmm3
vaddss %xmm3, %xmm2, %xmm2
vmulss 0x16735(%rip), %xmm14, %xmm3 # 0x600a8
vroundss $0xb, %xmm2, %xmm2, %xmm2
vpternlogd $0xf8, %xmm0, %xmm3, %xmm4
vaddss %xmm4, %xmm3, %xmm3
vmulss 0x16718(%rip), %xmm14, %xmm4 # 0x600a4
vroundss $0xb, %xmm3, %xmm3, %xmm3
vpternlogd $0xf8, %xmm0, %xmm4, %xmm5
vaddss %xmm5, %xmm4, %xmm4
vmulss 0x168f3(%rip), %xmm14, %xmm5 # 0x60298
vroundss $0xb, %xmm4, %xmm4, %xmm4
vpternlogd $0xf8, %xmm0, %xmm5, %xmm6
vaddss %xmm6, %xmm5, %xmm5
vmulss 0x168de(%rip), %xmm14, %xmm6 # 0x6029c
vroundss $0xb, %xmm5, %xmm5, %xmm5
vpternlogd $0xf8, %xmm0, %xmm6, %xmm7
vaddss %xmm7, %xmm6, %xmm6
vmulss 0x168c9(%rip), %xmm14, %xmm7 # 0x602a0
vroundss $0xb, %xmm6, %xmm6, %xmm6
vpternlogd $0xf8, %xmm0, %xmm7, %xmm8
vaddss %xmm7, %xmm8, %xmm7
vmulss 0x168b4(%rip), %xmm14, %xmm8 # 0x602a4
vroundss $0xb, %xmm7, %xmm7, %xmm7
vpternlogd $0xf8, %xmm0, %xmm8, %xmm9
vaddss %xmm9, %xmm8, %xmm8
vmulss 0x1689e(%rip), %xmm14, %xmm9 # 0x602a8
vroundss $0xb, %xmm8, %xmm8, %xmm8
vpternlogd $0xf8, %xmm0, %xmm9, %xmm10
vaddss %xmm10, %xmm9, %xmm9
vmulss 0x16888(%rip), %xmm14, %xmm10 # 0x602ac
vroundss $0xb, %xmm9, %xmm9, %xmm9
vpternlogd $0xf8, %xmm0, %xmm10, %xmm11
vaddss %xmm11, %xmm10, %xmm10
vmulss 0x16872(%rip), %xmm14, %xmm11 # 0x602b0
vroundss $0xb, %xmm10, %xmm10, %xmm10
vpternlogd $0xf8, %xmm0, %xmm11, %xmm12
vaddss %xmm12, %xmm11, %xmm11
vmulss 0x1685c(%rip), %xmm14, %xmm12 # 0x602b4
vroundss $0xb, %xmm11, %xmm11, %xmm11
vpternlogd $0xf8, %xmm0, %xmm12, %xmm13
vaddss %xmm13, %xmm12, %xmm12
vmulss 0x16846(%rip), %xmm14, %xmm13 # 0x602b8
vroundss $0xb, %xmm12, %xmm12, %xmm12
vpternlogd $0xf8, %xmm0, %xmm13, %xmm1
vaddss %xmm1, %xmm13, %xmm0
vaddss %xmm2, %xmm4, %xmm13
vaddss %xmm3, %xmm4, %xmm1
vsubss %xmm2, %xmm4, %xmm2
vmovss %xmm13, 0x34(%rsp)
vsubss %xmm3, %xmm4, %xmm13
vsubss %xmm5, %xmm4, %xmm3
vroundss $0xb, %xmm0, %xmm0, %xmm0
vmovss %xmm2, 0x30(%rsp)
vmovss %xmm3, 0x28(%rsp)
vsubss %xmm7, %xmm4, %xmm3
vmovss %xmm13, 0x2c(%rsp)
vsubss %xmm6, %xmm4, %xmm13
vsubss %xmm0, %xmm9, %xmm0
vmovss %xmm3, 0x20(%rsp)
vsubss %xmm5, %xmm9, %xmm3
vmovss %xmm13, 0x24(%rsp)
vsubss %xmm8, %xmm4, %xmm13
vsubss %xmm6, %xmm9, %xmm4
vmovss %xmm0, 0xa0(%rsp)
vmulss %xmm1, %xmm1, %xmm0
vmovss %xmm3, 0x18(%rsp)
vsubss %xmm7, %xmm9, %xmm3
vmovss %xmm4, 0x14(%rsp)
vsubss %xmm8, %xmm9, %xmm4
vmulss %xmm0, %xmm15, %xmm0
vmovss %xmm13, 0x1c(%rsp)
vmovss %xmm3, 0x10(%rsp)
vsubss %xmm10, %xmm9, %xmm3
vmovss %xmm4, 0x80(%rsp)
vsubss %xmm11, %xmm9, %xmm4
vmovss %xmm3, 0x64(%rsp)
vsubss %xmm12, %xmm9, %xmm3
vmovss %xmm4, 0x68(%rsp)
vmovss %xmm3, 0xc(%rsp)
callq 0x8270
vmovss %xmm0, 0x4c(%rsp)
vmovss 0x34(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x34(%rsp)
vmovss 0x30(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x30(%rsp)
vmovss 0x2c(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x2c(%rsp)
vmovss 0x28(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x28(%rsp)
vmovss 0x24(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x24(%rsp)
vmovss 0x20(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x20(%rsp)
vmovss 0x1c(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x1c(%rsp)
vmovss 0x18(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18(%rsp)
vmovss 0x14(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x14(%rsp)
vmovss 0x10(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x10(%rsp)
vmovss 0x80(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x48(%rsp)
vmovss 0x64(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x44(%rsp)
vmovss 0x68(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x40(%rsp)
vmovss 0xc(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x3c(%rsp)
vmovss 0xa0(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss 0x50(%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x38(%rsp)
vxorps %xmm0, %xmm0, %xmm0
pushq $-0x8
popq %r15
pushq $0x4
popq %rax
movl %eax, 0x70(%rsp)
xorl %ebx, %ebx
xorl %eax, %eax
movl $0x0, 0x6c(%rsp)
cmpl $0x7, %r15d
jg 0x4a1cb
cltq
movq %rax, %rcx
pushq $-0x3
popq %rax
movl %eax, 0x74(%rsp)
pushq $-0x8
popq %rax
movl 0x6c(%rsp), %esi
movl %eax, %edx
movq %rcx, %rax
cmpl 0x70(%rsp), %esi
je 0x4a1b5
leal -0x4(%rdx), %edi
vxorps %xmm3, %xmm3, %xmm3
movq %rax, 0xb0(%rsp)
pushq $-0x4
popq %rax
movl %eax, %r8d
vmovss %xmm0, 0x68(%rsp)
movq %rdx, 0xb8(%rsp)
movl %esi, 0x90(%rsp)
cmpl 0x74(%rsp), %edi
je 0x4a13a
cmpl $0x7, %edx
je 0x49e0d
cmpl $-0x3, %edx
je 0x49dac
cmpl $0x2, %edx
je 0x49dd7
vmovss 0x1654a(%rip), %xmm1 # 0x602bc
vmovss %xmm1, 0xc(%rsp)
cmpl $-0x8, %edx
jne 0x49ebe
vmovss 0x16533(%rip), %xmm1 # 0x602bc
leal 0x4(%r8), %eax
vmovss %xmm1, 0xc(%rsp)
cmpl $0x8, %eax
ja 0x49ebe
leaq 0x165c9(%rip), %rcx # 0x6036c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x16508(%rip), %xmm1 # 0x602bc
leal 0x4(%r8), %eax
vmovss %xmm1, 0xc(%rsp)
cmpl $0x8, %eax
ja 0x49ebe
leaq 0x1657a(%rip), %rcx # 0x60348
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x164dd(%rip), %xmm1 # 0x602bc
leal 0x4(%r8), %eax
vmovss %xmm1, 0xc(%rsp)
cmpl $0x8, %eax
ja 0x49ebe
leaq 0x1652b(%rip), %rcx # 0x60324
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x4c(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x164a7(%rip), %xmm1 # 0x602bc
leal 0x4(%r8), %eax
vmovss %xmm1, 0xc(%rsp)
cmpl $0x8, %eax
ja 0x49ebe
leaq 0x164d1(%rip), %rcx # 0x60300
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x18(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x161bc(%rip), %xmm1 # 0x60004
jmp 0x49eb8
vmovss 0x28(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x20(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x10(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x24(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x34(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x1c(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x48(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x3c(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x14(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x2c(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x30(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x44(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x40(%rsp), %xmm1
jmp 0x49eb8
vmovss 0x38(%rsp), %xmm1
vmovss %xmm1, 0xc(%rsp)
vmovss 0x8c(%rsp), %xmm1
vcvtsi2ss %edi, %xmm4, %xmm2
movq %r8, 0x80(%rsp)
movl %edi, 0x64(%rsp)
vfmadd132ss 0xc0(%rsp), %xmm1, %xmm2 # xmm2 = (xmm2 * mem) + xmm1
vpbroadcastd 0x161b6(%rip), %xmm1 # 0x600a0
vpternlogd $0xf8, 0x161a7(%rip){1to4}, %xmm2, %xmm1 # 0x6009c
vaddss %xmm1, %xmm2, %xmm1
vroundss $0xb, %xmm1, %xmm1, %xmm1
vcvttss2si %xmm1, %r13d
subl %ebp, %r13d
pushq $-0xc
popq %rax
movl %eax, %r12d
cmpl $-0x3, %r12d
je 0x4a115
leal 0x8(%r12), %eax
vmovaps %xmm3, 0x50(%rsp)
cmpl $0x7, %r15d
je 0x49fc0
cmpl $-0x3, %r15d
je 0x49f6d
cmpl $0x2, %r15d
je 0x49f91
vmovss 0x1637d(%rip), %xmm0 # 0x602bc
cmpl $-0x8, %r15d
jne 0x4a064
vmovss 0x1636b(%rip), %xmm0 # 0x602bc
addl $0x4, %eax
cmpl $0x8, %eax
ja 0x4a064
leaq 0x16498(%rip), %rcx # 0x603fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x16347(%rip), %xmm0 # 0x602bc
addl $0x4, %eax
cmpl $0x8, %eax
ja 0x4a064
leaq 0x16450(%rip), %rcx # 0x603d8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x16323(%rip), %xmm0 # 0x602bc
addl $0x4, %eax
cmpl $0x8, %eax
ja 0x4a064
leaq 0x16408(%rip), %rcx # 0x603b4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x4c(%rsp), %xmm0
jmp 0x4a064
vmovss 0x162f4(%rip), %xmm0 # 0x602bc
addl $0x4, %eax
cmpl $0x8, %eax
ja 0x4a064
leaq 0x163b5(%rip), %rcx # 0x60390
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vmovss 0x18(%rsp), %xmm0
jmp 0x4a064
vmovss 0x16010(%rip), %xmm0 # 0x60004
jmp 0x4a064
vmovss 0x28(%rsp), %xmm0
jmp 0x4a064
vmovss 0x20(%rsp), %xmm0
jmp 0x4a064
vmovss 0x10(%rsp), %xmm0
jmp 0x4a064
vmovss 0x24(%rsp), %xmm0
jmp 0x4a064
vmovss 0x34(%rsp), %xmm0
jmp 0x4a064
vmovss 0x1c(%rsp), %xmm0
jmp 0x4a064
vmovss 0x48(%rsp), %xmm0
jmp 0x4a064
vmovss 0x3c(%rsp), %xmm0
jmp 0x4a064
vmovss 0x14(%rsp), %xmm0
jmp 0x4a064
vmovss 0x2c(%rsp), %xmm0
jmp 0x4a064
vmovss 0x30(%rsp), %xmm0
jmp 0x4a064
vmovss 0x44(%rsp), %xmm0
jmp 0x4a064
vmovss 0x40(%rsp), %xmm0
jmp 0x4a064
vmovss 0x38(%rsp), %xmm0
leal (%rbx,%r12), %eax
vmovss 0x94(%rsp), %xmm2
andl $0x0, 0x7c(%rsp)
andl $0x0, 0x78(%rsp)
leaq 0x7c(%rsp), %r8
leaq 0x78(%rsp), %r9
movq %r14, %rdi
movl %r13d, %esi
movl %ebp, %ecx
vcvtsi2ss %eax, %xmm4, %xmm1
vfmadd132ss 0xc0(%rsp), %xmm2, %xmm1 # xmm1 = (xmm1 * mem) + xmm2
vpbroadcastd 0x15ffc(%rip), %xmm2 # 0x600a0
vpternlogd $0xf8, 0x15fed(%rip){1to4}, %xmm1, %xmm2 # 0x6009c
vaddss %xmm2, %xmm1, %xmm1
vroundss $0xb, %xmm1, %xmm1, %xmm1
vmulss 0xc(%rsp), %xmm0, %xmm0
vcvttss2si %xmm1, %edx
subl %ebp, %edx
vmovaps %xmm0, 0xa0(%rsp)
callq 0x53924
vmovss 0x78(%rsp), %xmm1
vbroadcastss 0xa0(%rsp), %xmm0
vmovaps 0x50(%rsp), %xmm3
incl %r12d
vinsertps $0x10, 0x7c(%rsp), %xmm1, %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[2,3]
vmulps %xmm1, %xmm0, %xmm0
vandps 0x15f2a(%rip){1to4}, %xmm0, %xmm1 # 0x6002c
vmovlhps %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[0],xmm1[0]
vaddps %xmm0, %xmm3, %xmm3
vmovss 0x68(%rsp), %xmm0
jmp 0x49f0c
movq 0x80(%rsp), %r8
movl 0x64(%rsp), %edi
movq 0xb8(%rsp), %rdx
movl 0x90(%rsp), %esi
incl %edi
incl %r8d
jmp 0x49d4d
cmpl $0x10, %esi
jae 0x4a156
leaq 0x164fa(%rip), %rcx # 0x60640
movl %esi, %eax
vmovss (%rcx,%rax,4), %xmm1
vmovaps %xmm1, 0xd0(%rsp)
vbroadcastss 0xd0(%rsp), %xmm1
addl $0x5, 0x74(%rsp)
movq 0x98(%rsp), %rax
movq 0xb0(%rsp), %rcx
addl $0x5, %edx
incl %esi
vmulps %xmm1, %xmm3, %xmm3
vmulps %xmm3, %xmm3, %xmm1
vshufpd $0x1, %xmm3, %xmm3, %xmm2 # xmm2 = xmm3[1,0]
vmovups %xmm3, 0x14(%rax,%rcx,4)
movq %rcx, %rax
addq $0x4, %rax
vmovshdup %xmm1, %xmm1 # xmm1 = xmm1[1,1,3,3]
vfmadd231ss %xmm3, %xmm3, %xmm1 # xmm1 = (xmm3 * xmm3) + xmm1
vfmadd213ss %xmm1, %xmm2, %xmm2 # xmm2 = (xmm2 * xmm2) + xmm1
vshufps $0xff, %xmm3, %xmm3, %xmm1 # xmm1 = xmm3[3,3,3,3]
vfmadd213ss %xmm2, %xmm1, %xmm1 # xmm1 = (xmm1 * xmm1) + xmm2
vaddss %xmm1, %xmm0, %xmm0
jmp 0x49d19
addl $0x4, 0x6c(%rsp)
addl $0x4, 0x70(%rsp)
addl $0x5, %r15d
addl $0x5, %ebx
jmp 0x49cf7
vxorps %xmm1, %xmm1, %xmm1
vucomiss %xmm1, %xmm0
jb 0x4a1db
vsqrtss %xmm0, %xmm0, %xmm0
jmp 0x4a1e0
callq 0x8290
vmovss 0x15e1c(%rip), %xmm1 # 0x60004
movq 0x98(%rsp), %rcx
xorl %eax, %eax
vdivss %xmm0, %xmm1, %xmm0
cmpq $0x40, %rax
je 0x4a20d
vmulss 0x14(%rcx,%rax,4), %xmm0, %xmm1
vmovss %xmm1, 0x14(%rcx,%rax,4)
incq %rax
jmp 0x4a1f6
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.cpp
|
get_msurf_descriptor_rounding_unroll_2_24_True_winner_unconditional(integral_image*, interest_point*)
|
void get_msurf_descriptor_rounding_unroll_2_24_True_winner_unconditional(struct integral_image* iimage, struct interest_point* ipoint) {
float scale = ipoint->scale;
int int_scale = (int) roundf(scale);
float scale_squared = scale*scale;
float g1_factor = -0.08f / (scale_squared);
float ipoint_x = roundf(ipoint->x) + 0.5*scale;
float ipoint_y = roundf(ipoint->y) + 0.5*scale;
float ipoint_x_sub_int_scale = ipoint_x-int_scale;
float ipoint_y_sub_int_scale = ipoint_y-int_scale;
float ipoint_x_sub_int_scale_add_05 = ipoint_x-int_scale + 0.5;
float ipoint_y_sub_int_scale_add_05 = ipoint_y-int_scale + 0.5;
int width = iimage->width;
int height = iimage->height;
// build descriptor
float* descriptor = ipoint->descriptor;
int desc_idx = 0;
float sum_of_squares = 0.0f;
// Initializing gauss_s2 index for precomputed array
int gauss_s2_index = 0;
// check if we ever hit a boundary
// if (((int) roundf(ipoint_x - 12*scale)) - int_scale <= 0
// || ((int) roundf(ipoint_y - 12*scale)) - int_scale <= 0
// || ((int) roundf(ipoint_x + 11*scale)) + int_scale > width
// || ((int) roundf(ipoint_y + 11*scale)) + int_scale > height)
// { // still need this for rounding to work -.-
for (int l=-12, l_count=0; l<12; l+=2, l_count+=2) {
int l0 = l + 0;
int l1 = l + 1;
int l_count0 = l_count + 0;
int l_count1 = l_count + 1;
float ipoint_y_sub_int_scale_add_l0_mul_scale = ipoint_y_sub_int_scale + l0 * scale;
float ipoint_y_sub_int_scale_add_l1_mul_scale = ipoint_y_sub_int_scale + l1 * scale;
int sample_y_sub_int_scale0 = (int) roundf(ipoint_y_sub_int_scale_add_l0_mul_scale);// + (ipoint_y_sub_int_scale_add_l0_mul_scale>=0 ? 0.5 : -0.5));
int sample_y_sub_int_scale1 = (int) roundf(ipoint_y_sub_int_scale_add_l1_mul_scale);// + (ipoint_y_sub_int_scale_add_l1_mul_scale>=0 ? 0.5 : -0.5));
for (int k=-12, k_count=0; k<12; k+=24, k_count+=24) {
int k0 = k + 0;
int k1 = k + 1;
int k2 = k + 2;
int k3 = k + 3;
int k4 = k + 4;
int k5 = k + 5;
int k6 = k + 6;
int k7 = k + 7;
int k8 = k + 8;
int k9 = k + 9;
int k10 = k + 10;
int k11 = k + 11;
int k12 = k + 12;
int k13 = k + 13;
int k14 = k + 14;
int k15 = k + 15;
int k16 = k + 16;
int k17 = k + 17;
int k18 = k + 18;
int k19 = k + 19;
int k20 = k + 20;
int k21 = k + 21;
int k22 = k + 22;
int k23 = k + 23;
int k_count0 = k_count + 0;
int k_count1 = k_count + 1;
int k_count2 = k_count + 2;
int k_count3 = k_count + 3;
int k_count4 = k_count + 4;
int k_count5 = k_count + 5;
int k_count6 = k_count + 6;
int k_count7 = k_count + 7;
int k_count8 = k_count + 8;
int k_count9 = k_count + 9;
int k_count10 = k_count + 10;
int k_count11 = k_count + 11;
int k_count12 = k_count + 12;
int k_count13 = k_count + 13;
int k_count14 = k_count + 14;
int k_count15 = k_count + 15;
int k_count16 = k_count + 16;
int k_count17 = k_count + 17;
int k_count18 = k_count + 18;
int k_count19 = k_count + 19;
int k_count20 = k_count + 20;
int k_count21 = k_count + 21;
int k_count22 = k_count + 22;
int k_count23 = k_count + 23;
float ipoint_x_sub_int_scale_add_k0_mul_scale = ipoint_x_sub_int_scale + k0 * scale;
float ipoint_x_sub_int_scale_add_k1_mul_scale = ipoint_x_sub_int_scale + k1 * scale;
float ipoint_x_sub_int_scale_add_k2_mul_scale = ipoint_x_sub_int_scale + k2 * scale;
float ipoint_x_sub_int_scale_add_k3_mul_scale = ipoint_x_sub_int_scale + k3 * scale;
float ipoint_x_sub_int_scale_add_k4_mul_scale = ipoint_x_sub_int_scale + k4 * scale;
float ipoint_x_sub_int_scale_add_k5_mul_scale = ipoint_x_sub_int_scale + k5 * scale;
float ipoint_x_sub_int_scale_add_k6_mul_scale = ipoint_x_sub_int_scale + k6 * scale;
float ipoint_x_sub_int_scale_add_k7_mul_scale = ipoint_x_sub_int_scale + k7 * scale;
float ipoint_x_sub_int_scale_add_k8_mul_scale = ipoint_x_sub_int_scale + k8 * scale;
float ipoint_x_sub_int_scale_add_k9_mul_scale = ipoint_x_sub_int_scale + k9 * scale;
float ipoint_x_sub_int_scale_add_k10_mul_scale = ipoint_x_sub_int_scale + k10 * scale;
float ipoint_x_sub_int_scale_add_k11_mul_scale = ipoint_x_sub_int_scale + k11 * scale;
float ipoint_x_sub_int_scale_add_k12_mul_scale = ipoint_x_sub_int_scale + k12 * scale;
float ipoint_x_sub_int_scale_add_k13_mul_scale = ipoint_x_sub_int_scale + k13 * scale;
float ipoint_x_sub_int_scale_add_k14_mul_scale = ipoint_x_sub_int_scale + k14 * scale;
float ipoint_x_sub_int_scale_add_k15_mul_scale = ipoint_x_sub_int_scale + k15 * scale;
float ipoint_x_sub_int_scale_add_k16_mul_scale = ipoint_x_sub_int_scale + k16 * scale;
float ipoint_x_sub_int_scale_add_k17_mul_scale = ipoint_x_sub_int_scale + k17 * scale;
float ipoint_x_sub_int_scale_add_k18_mul_scale = ipoint_x_sub_int_scale + k18 * scale;
float ipoint_x_sub_int_scale_add_k19_mul_scale = ipoint_x_sub_int_scale + k19 * scale;
float ipoint_x_sub_int_scale_add_k20_mul_scale = ipoint_x_sub_int_scale + k20 * scale;
float ipoint_x_sub_int_scale_add_k21_mul_scale = ipoint_x_sub_int_scale + k21 * scale;
float ipoint_x_sub_int_scale_add_k22_mul_scale = ipoint_x_sub_int_scale + k22 * scale;
float ipoint_x_sub_int_scale_add_k23_mul_scale = ipoint_x_sub_int_scale + k23 * scale;
int sample_x_sub_int_scale1 = (int) roundf(ipoint_x_sub_int_scale_add_k1_mul_scale);// + (ipoint_x_sub_int_scale_add_k1_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale0 = (int) roundf(ipoint_x_sub_int_scale_add_k0_mul_scale);// + (ipoint_x_sub_int_scale_add_k0_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale2 = (int) roundf(ipoint_x_sub_int_scale_add_k2_mul_scale);// + (ipoint_x_sub_int_scale_add_k2_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale3 = (int) roundf(ipoint_x_sub_int_scale_add_k3_mul_scale);// + (ipoint_x_sub_int_scale_add_k3_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale4 = (int) roundf(ipoint_x_sub_int_scale_add_k4_mul_scale);// + (ipoint_x_sub_int_scale_add_k4_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale5 = (int) roundf(ipoint_x_sub_int_scale_add_k5_mul_scale);// + (ipoint_x_sub_int_scale_add_k5_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale6 = (int) roundf(ipoint_x_sub_int_scale_add_k6_mul_scale);// + (ipoint_x_sub_int_scale_add_k6_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale7 = (int) roundf(ipoint_x_sub_int_scale_add_k7_mul_scale);// + (ipoint_x_sub_int_scale_add_k7_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale8 = (int) roundf(ipoint_x_sub_int_scale_add_k8_mul_scale);// + (ipoint_x_sub_int_scale_add_k8_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale9 = (int) roundf(ipoint_x_sub_int_scale_add_k9_mul_scale);// + (ipoint_x_sub_int_scale_add_k9_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale10 = (int) roundf(ipoint_x_sub_int_scale_add_k10_mul_scale);// + (ipoint_x_sub_int_scale_add_k10_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale11 = (int) roundf(ipoint_x_sub_int_scale_add_k11_mul_scale);// + (ipoint_x_sub_int_scale_add_k11_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale12 = (int) roundf(ipoint_x_sub_int_scale_add_k12_mul_scale);// + (ipoint_x_sub_int_scale_add_k12_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale13 = (int) roundf(ipoint_x_sub_int_scale_add_k13_mul_scale);// + (ipoint_x_sub_int_scale_add_k13_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale14 = (int) roundf(ipoint_x_sub_int_scale_add_k14_mul_scale);// + (ipoint_x_sub_int_scale_add_k14_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale15 = (int) roundf(ipoint_x_sub_int_scale_add_k15_mul_scale);// + (ipoint_x_sub_int_scale_add_k15_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale16 = (int) roundf(ipoint_x_sub_int_scale_add_k16_mul_scale);// + (ipoint_x_sub_int_scale_add_k16_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale17 = (int) roundf(ipoint_x_sub_int_scale_add_k17_mul_scale);// + (ipoint_x_sub_int_scale_add_k17_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale18 = (int) roundf(ipoint_x_sub_int_scale_add_k18_mul_scale);// + (ipoint_x_sub_int_scale_add_k18_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale19 = (int) roundf(ipoint_x_sub_int_scale_add_k19_mul_scale);// + (ipoint_x_sub_int_scale_add_k19_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale20 = (int) roundf(ipoint_x_sub_int_scale_add_k20_mul_scale);// + (ipoint_x_sub_int_scale_add_k20_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale21 = (int) roundf(ipoint_x_sub_int_scale_add_k21_mul_scale);// + (ipoint_x_sub_int_scale_add_k21_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale22 = (int) roundf(ipoint_x_sub_int_scale_add_k22_mul_scale);// + (ipoint_x_sub_int_scale_add_k22_mul_scale>=0 ? 0.5 : -0.5));
int sample_x_sub_int_scale23 = (int) roundf(ipoint_x_sub_int_scale_add_k23_mul_scale);// + (ipoint_x_sub_int_scale_add_k23_mul_scale>=0 ? 0.5 : -0.5));
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale0, int_scale, &haarResponseX[l_count0*24+k_count0], &haarResponseY[l_count0*24+k_count0]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale0, int_scale, &haarResponseX[l_count1*24+k_count0], &haarResponseY[l_count1*24+k_count0]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale1, int_scale, &haarResponseX[l_count0*24+k_count1], &haarResponseY[l_count0*24+k_count1]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale1, int_scale, &haarResponseX[l_count1*24+k_count1], &haarResponseY[l_count1*24+k_count1]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale2, int_scale, &haarResponseX[l_count0*24+k_count2], &haarResponseY[l_count0*24+k_count2]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale2, int_scale, &haarResponseX[l_count1*24+k_count2], &haarResponseY[l_count1*24+k_count2]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale3, int_scale, &haarResponseX[l_count0*24+k_count3], &haarResponseY[l_count0*24+k_count3]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale3, int_scale, &haarResponseX[l_count1*24+k_count3], &haarResponseY[l_count1*24+k_count3]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale4, int_scale, &haarResponseX[l_count0*24+k_count4], &haarResponseY[l_count0*24+k_count4]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale4, int_scale, &haarResponseX[l_count1*24+k_count4], &haarResponseY[l_count1*24+k_count4]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale5, int_scale, &haarResponseX[l_count0*24+k_count5], &haarResponseY[l_count0*24+k_count5]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale5, int_scale, &haarResponseX[l_count1*24+k_count5], &haarResponseY[l_count1*24+k_count5]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale6, int_scale, &haarResponseX[l_count0*24+k_count6], &haarResponseY[l_count0*24+k_count6]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale6, int_scale, &haarResponseX[l_count1*24+k_count6], &haarResponseY[l_count1*24+k_count6]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale7, int_scale, &haarResponseX[l_count0*24+k_count7], &haarResponseY[l_count0*24+k_count7]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale7, int_scale, &haarResponseX[l_count1*24+k_count7], &haarResponseY[l_count1*24+k_count7]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale8, int_scale, &haarResponseX[l_count0*24+k_count8], &haarResponseY[l_count0*24+k_count8]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale8, int_scale, &haarResponseX[l_count1*24+k_count8], &haarResponseY[l_count1*24+k_count8]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale9, int_scale, &haarResponseX[l_count0*24+k_count9], &haarResponseY[l_count0*24+k_count9]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale9, int_scale, &haarResponseX[l_count1*24+k_count9], &haarResponseY[l_count1*24+k_count9]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale10, int_scale, &haarResponseX[l_count0*24+k_count10], &haarResponseY[l_count0*24+k_count10]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale10, int_scale, &haarResponseX[l_count1*24+k_count10], &haarResponseY[l_count1*24+k_count10]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale11, int_scale, &haarResponseX[l_count0*24+k_count11], &haarResponseY[l_count0*24+k_count11]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale11, int_scale, &haarResponseX[l_count1*24+k_count11], &haarResponseY[l_count1*24+k_count11]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale12, int_scale, &haarResponseX[l_count0*24+k_count12], &haarResponseY[l_count0*24+k_count12]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale12, int_scale, &haarResponseX[l_count1*24+k_count12], &haarResponseY[l_count1*24+k_count12]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale13, int_scale, &haarResponseX[l_count0*24+k_count13], &haarResponseY[l_count0*24+k_count13]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale13, int_scale, &haarResponseX[l_count1*24+k_count13], &haarResponseY[l_count1*24+k_count13]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale14, int_scale, &haarResponseX[l_count0*24+k_count14], &haarResponseY[l_count0*24+k_count14]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale14, int_scale, &haarResponseX[l_count1*24+k_count14], &haarResponseY[l_count1*24+k_count14]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale15, int_scale, &haarResponseX[l_count0*24+k_count15], &haarResponseY[l_count0*24+k_count15]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale15, int_scale, &haarResponseX[l_count1*24+k_count15], &haarResponseY[l_count1*24+k_count15]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale16, int_scale, &haarResponseX[l_count0*24+k_count16], &haarResponseY[l_count0*24+k_count16]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale16, int_scale, &haarResponseX[l_count1*24+k_count16], &haarResponseY[l_count1*24+k_count16]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale17, int_scale, &haarResponseX[l_count0*24+k_count17], &haarResponseY[l_count0*24+k_count17]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale17, int_scale, &haarResponseX[l_count1*24+k_count17], &haarResponseY[l_count1*24+k_count17]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale18, int_scale, &haarResponseX[l_count0*24+k_count18], &haarResponseY[l_count0*24+k_count18]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale18, int_scale, &haarResponseX[l_count1*24+k_count18], &haarResponseY[l_count1*24+k_count18]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale19, int_scale, &haarResponseX[l_count0*24+k_count19], &haarResponseY[l_count0*24+k_count19]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale19, int_scale, &haarResponseX[l_count1*24+k_count19], &haarResponseY[l_count1*24+k_count19]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale20, int_scale, &haarResponseX[l_count0*24+k_count20], &haarResponseY[l_count0*24+k_count20]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale20, int_scale, &haarResponseX[l_count1*24+k_count20], &haarResponseY[l_count1*24+k_count20]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale21, int_scale, &haarResponseX[l_count0*24+k_count21], &haarResponseY[l_count0*24+k_count21]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale22, int_scale, &haarResponseX[l_count1*24+k_count22], &haarResponseY[l_count1*24+k_count22]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale23, int_scale, &haarResponseX[l_count0*24+k_count23], &haarResponseY[l_count0*24+k_count23]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale23, int_scale, &haarResponseX[l_count1*24+k_count23], &haarResponseY[l_count1*24+k_count23]);
haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale21, int_scale, &haarResponseX[l_count1*24+k_count21], &haarResponseY[l_count1*24+k_count21]);
haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale22, int_scale, &haarResponseX[l_count0*24+k_count22], &haarResponseY[l_count0*24+k_count22]);
}
}
// } else {
// for (int l=-12, l_count=0; l<12; l+=2, l_count+=2) {
// int l0 = l + 0;
// int l1 = l + 1;
// int l_count0 = l_count + 0;
// int l_count1 = l_count + 1;
// int sample_y_sub_int_scale0 = (int) (ipoint_y_sub_int_scale_add_05 + l0 * scale);
// int sample_y_sub_int_scale1 = (int) (ipoint_y_sub_int_scale_add_05 + l1 * scale);
// for (int k=-12, k_count=0; k<12; k+=24, k_count+=24) {
// int k0 = k + 0;
// int k1 = k + 1;
// int k2 = k + 2;
// int k3 = k + 3;
// int k4 = k + 4;
// int k5 = k + 5;
// int k6 = k + 6;
// int k7 = k + 7;
// int k8 = k + 8;
// int k9 = k + 9;
// int k10 = k + 10;
// int k11 = k + 11;
// int k12 = k + 12;
// int k13 = k + 13;
// int k14 = k + 14;
// int k15 = k + 15;
// int k16 = k + 16;
// int k17 = k + 17;
// int k18 = k + 18;
// int k19 = k + 19;
// int k20 = k + 20;
// int k21 = k + 21;
// int k22 = k + 22;
// int k23 = k + 23;
// int k_count0 = k_count + 0;
// int k_count1 = k_count + 1;
// int k_count2 = k_count + 2;
// int k_count3 = k_count + 3;
// int k_count4 = k_count + 4;
// int k_count5 = k_count + 5;
// int k_count6 = k_count + 6;
// int k_count7 = k_count + 7;
// int k_count8 = k_count + 8;
// int k_count9 = k_count + 9;
// int k_count10 = k_count + 10;
// int k_count11 = k_count + 11;
// int k_count12 = k_count + 12;
// int k_count13 = k_count + 13;
// int k_count14 = k_count + 14;
// int k_count15 = k_count + 15;
// int k_count16 = k_count + 16;
// int k_count17 = k_count + 17;
// int k_count18 = k_count + 18;
// int k_count19 = k_count + 19;
// int k_count20 = k_count + 20;
// int k_count21 = k_count + 21;
// int k_count22 = k_count + 22;
// int k_count23 = k_count + 23;
// int sample_x_sub_int_scale0 = (int) (ipoint_x_sub_int_scale_add_05 + k0 * scale);
// int sample_x_sub_int_scale1 = (int) (ipoint_x_sub_int_scale_add_05 + k1 * scale);
// int sample_x_sub_int_scale2 = (int) (ipoint_x_sub_int_scale_add_05 + k2 * scale);
// int sample_x_sub_int_scale3 = (int) (ipoint_x_sub_int_scale_add_05 + k3 * scale);
// int sample_x_sub_int_scale4 = (int) (ipoint_x_sub_int_scale_add_05 + k4 * scale);
// int sample_x_sub_int_scale5 = (int) (ipoint_x_sub_int_scale_add_05 + k5 * scale);
// int sample_x_sub_int_scale6 = (int) (ipoint_x_sub_int_scale_add_05 + k6 * scale);
// int sample_x_sub_int_scale7 = (int) (ipoint_x_sub_int_scale_add_05 + k7 * scale);
// int sample_x_sub_int_scale8 = (int) (ipoint_x_sub_int_scale_add_05 + k8 * scale);
// int sample_x_sub_int_scale9 = (int) (ipoint_x_sub_int_scale_add_05 + k9 * scale);
// int sample_x_sub_int_scale10 = (int) (ipoint_x_sub_int_scale_add_05 + k10 * scale);
// int sample_x_sub_int_scale11 = (int) (ipoint_x_sub_int_scale_add_05 + k11 * scale);
// int sample_x_sub_int_scale12 = (int) (ipoint_x_sub_int_scale_add_05 + k12 * scale);
// int sample_x_sub_int_scale13 = (int) (ipoint_x_sub_int_scale_add_05 + k13 * scale);
// int sample_x_sub_int_scale14 = (int) (ipoint_x_sub_int_scale_add_05 + k14 * scale);
// int sample_x_sub_int_scale15 = (int) (ipoint_x_sub_int_scale_add_05 + k15 * scale);
// int sample_x_sub_int_scale16 = (int) (ipoint_x_sub_int_scale_add_05 + k16 * scale);
// int sample_x_sub_int_scale17 = (int) (ipoint_x_sub_int_scale_add_05 + k17 * scale);
// int sample_x_sub_int_scale18 = (int) (ipoint_x_sub_int_scale_add_05 + k18 * scale);
// int sample_x_sub_int_scale19 = (int) (ipoint_x_sub_int_scale_add_05 + k19 * scale);
// int sample_x_sub_int_scale20 = (int) (ipoint_x_sub_int_scale_add_05 + k20 * scale);
// int sample_x_sub_int_scale21 = (int) (ipoint_x_sub_int_scale_add_05 + k21 * scale);
// int sample_x_sub_int_scale22 = (int) (ipoint_x_sub_int_scale_add_05 + k22 * scale);
// int sample_x_sub_int_scale23 = (int) (ipoint_x_sub_int_scale_add_05 + k23 * scale);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale0, int_scale, &haarResponseX[l_count0*24+k_count0], &haarResponseY[l_count0*24+k_count0]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale0, int_scale, &haarResponseX[l_count1*24+k_count0], &haarResponseY[l_count1*24+k_count0]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale1, int_scale, &haarResponseX[l_count0*24+k_count1], &haarResponseY[l_count0*24+k_count1]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale1, int_scale, &haarResponseX[l_count1*24+k_count1], &haarResponseY[l_count1*24+k_count1]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale2, int_scale, &haarResponseX[l_count0*24+k_count2], &haarResponseY[l_count0*24+k_count2]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale2, int_scale, &haarResponseX[l_count1*24+k_count2], &haarResponseY[l_count1*24+k_count2]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale3, int_scale, &haarResponseX[l_count0*24+k_count3], &haarResponseY[l_count0*24+k_count3]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale3, int_scale, &haarResponseX[l_count1*24+k_count3], &haarResponseY[l_count1*24+k_count3]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale4, int_scale, &haarResponseX[l_count0*24+k_count4], &haarResponseY[l_count0*24+k_count4]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale4, int_scale, &haarResponseX[l_count1*24+k_count4], &haarResponseY[l_count1*24+k_count4]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale5, int_scale, &haarResponseX[l_count0*24+k_count5], &haarResponseY[l_count0*24+k_count5]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale5, int_scale, &haarResponseX[l_count1*24+k_count5], &haarResponseY[l_count1*24+k_count5]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale6, int_scale, &haarResponseX[l_count0*24+k_count6], &haarResponseY[l_count0*24+k_count6]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale6, int_scale, &haarResponseX[l_count1*24+k_count6], &haarResponseY[l_count1*24+k_count6]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale7, int_scale, &haarResponseX[l_count0*24+k_count7], &haarResponseY[l_count0*24+k_count7]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale7, int_scale, &haarResponseX[l_count1*24+k_count7], &haarResponseY[l_count1*24+k_count7]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale8, int_scale, &haarResponseX[l_count0*24+k_count8], &haarResponseY[l_count0*24+k_count8]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale8, int_scale, &haarResponseX[l_count1*24+k_count8], &haarResponseY[l_count1*24+k_count8]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale9, int_scale, &haarResponseX[l_count0*24+k_count9], &haarResponseY[l_count0*24+k_count9]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale9, int_scale, &haarResponseX[l_count1*24+k_count9], &haarResponseY[l_count1*24+k_count9]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale10, int_scale, &haarResponseX[l_count0*24+k_count10], &haarResponseY[l_count0*24+k_count10]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale10, int_scale, &haarResponseX[l_count1*24+k_count10], &haarResponseY[l_count1*24+k_count10]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale11, int_scale, &haarResponseX[l_count0*24+k_count11], &haarResponseY[l_count0*24+k_count11]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale11, int_scale, &haarResponseX[l_count1*24+k_count11], &haarResponseY[l_count1*24+k_count11]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale12, int_scale, &haarResponseX[l_count0*24+k_count12], &haarResponseY[l_count0*24+k_count12]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale12, int_scale, &haarResponseX[l_count1*24+k_count12], &haarResponseY[l_count1*24+k_count12]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale13, int_scale, &haarResponseX[l_count0*24+k_count13], &haarResponseY[l_count0*24+k_count13]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale13, int_scale, &haarResponseX[l_count1*24+k_count13], &haarResponseY[l_count1*24+k_count13]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale14, int_scale, &haarResponseX[l_count0*24+k_count14], &haarResponseY[l_count0*24+k_count14]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale14, int_scale, &haarResponseX[l_count1*24+k_count14], &haarResponseY[l_count1*24+k_count14]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale15, int_scale, &haarResponseX[l_count0*24+k_count15], &haarResponseY[l_count0*24+k_count15]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale15, int_scale, &haarResponseX[l_count1*24+k_count15], &haarResponseY[l_count1*24+k_count15]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale16, int_scale, &haarResponseX[l_count0*24+k_count16], &haarResponseY[l_count0*24+k_count16]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale16, int_scale, &haarResponseX[l_count1*24+k_count16], &haarResponseY[l_count1*24+k_count16]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale17, int_scale, &haarResponseX[l_count0*24+k_count17], &haarResponseY[l_count0*24+k_count17]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale17, int_scale, &haarResponseX[l_count1*24+k_count17], &haarResponseY[l_count1*24+k_count17]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale18, int_scale, &haarResponseX[l_count0*24+k_count18], &haarResponseY[l_count0*24+k_count18]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale18, int_scale, &haarResponseX[l_count1*24+k_count18], &haarResponseY[l_count1*24+k_count18]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale19, int_scale, &haarResponseX[l_count0*24+k_count19], &haarResponseY[l_count0*24+k_count19]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale19, int_scale, &haarResponseX[l_count1*24+k_count19], &haarResponseY[l_count1*24+k_count19]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale20, int_scale, &haarResponseX[l_count0*24+k_count20], &haarResponseY[l_count0*24+k_count20]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale20, int_scale, &haarResponseX[l_count1*24+k_count20], &haarResponseY[l_count1*24+k_count20]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale21, int_scale, &haarResponseX[l_count0*24+k_count21], &haarResponseY[l_count0*24+k_count21]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale21, int_scale, &haarResponseX[l_count1*24+k_count21], &haarResponseY[l_count1*24+k_count21]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale22, int_scale, &haarResponseX[l_count0*24+k_count22], &haarResponseY[l_count0*24+k_count22]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale22, int_scale, &haarResponseX[l_count1*24+k_count22], &haarResponseY[l_count1*24+k_count22]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale0, sample_x_sub_int_scale23, int_scale, &haarResponseX[l_count0*24+k_count23], &haarResponseY[l_count0*24+k_count23]);
// haarXY_unconditional(iimage, sample_y_sub_int_scale1, sample_x_sub_int_scale23, int_scale, &haarResponseX[l_count1*24+k_count23], &haarResponseY[l_count1*24+k_count23]);
// }
// }
// }
float s0 = roundf( 0.5 * scale);
float s1 = roundf( 1.5 * scale);
float s2 = roundf( 2.5 * scale);
float s3 = roundf( 3.5 * scale);
float s4 = roundf( 4.5 * scale);
float s5 = roundf( 5.5 * scale);
float s6 = roundf( 6.5 * scale);
float s7 = roundf( 7.5 * scale);
float s8 = roundf( 8.5 * scale);
float s9 = roundf( 9.5 * scale);
float s10 = roundf(10.5 * scale);
float s11 = roundf(11.5 * scale);
float e_c0_m4 = s2 + s1; // CAREFUL HERE!
float e_c0_m3 = s2 + s0; // CAREFUL HERE!
float e_c0_m2 = s2 - s0;
float e_c0_m1 = s2 - s1;
//float e_c0_z0 = s2 - s2;
float e_c0_p1 = s2 - s3;
float e_c0_p2 = s2 - s4;
float e_c0_p3 = s2 - s5;
float e_c0_p4 = s2 - s6;
float e_c1_m4 = s7 - s3;
float e_c1_m3 = s7 - s4;
float e_c1_m2 = s7 - s5;
float e_c1_m1 = s7 - s6;
//float e_c1_z0 = s7 - s7;
float e_c1_p1 = s7 - s8;
float e_c1_p2 = s7 - s9;
float e_c1_p3 = s7 - s10;
float e_c1_p4 = s7 - s11;
gauss_s1_c0[0] = expf(g1_factor * (e_c0_m4 * e_c0_m4));
gauss_s1_c0[1] = expf(g1_factor * (e_c0_m3 * e_c0_m3));
gauss_s1_c0[2] = expf(g1_factor * (e_c0_m2 * e_c0_m2));
gauss_s1_c0[3] = expf(g1_factor * (e_c0_m1 * e_c0_m1));
gauss_s1_c0[4] = 1.0f; //expf(g1_factor * (e_c0_z0 * e_c0_z0));
gauss_s1_c0[5] = expf(g1_factor * (e_c0_p1 * e_c0_p1));
gauss_s1_c0[6] = expf(g1_factor * (e_c0_p2 * e_c0_p2));
gauss_s1_c0[7] = expf(g1_factor * (e_c0_p3 * e_c0_p3));
gauss_s1_c0[8] = expf(g1_factor * (e_c0_p4 * e_c0_p4));
gauss_s1_c1[0] = expf(g1_factor * (e_c1_m4 * e_c1_m4));
gauss_s1_c1[1] = expf(g1_factor * (e_c1_m3 * e_c1_m3));
gauss_s1_c1[2] = expf(g1_factor * (e_c1_m2 * e_c1_m2));
gauss_s1_c1[3] = expf(g1_factor * (e_c1_m1 * e_c1_m1));
gauss_s1_c1[4] = 1.0f; //expf(g1_factor * (e_c1_z0 * e_c1_z0));
gauss_s1_c1[5] = expf(g1_factor * (e_c1_p1 * e_c1_p1));
gauss_s1_c1[6] = expf(g1_factor * (e_c1_p2 * e_c1_p2));
gauss_s1_c1[7] = expf(g1_factor * (e_c1_p3 * e_c1_p3));
gauss_s1_c1[8] = expf(g1_factor * (e_c1_p4 * e_c1_p4));
// calculate descriptor for this interest point
for (int i=-8; i<8; i+=5) {
float *i_arr;
if (i == -8 || i == 7) {
i_arr = gauss_s1_c1;
} else {
i_arr = gauss_s1_c0;
}
int gauss_index_k_start = (i<0?8:0);
int gauss_index_k_inc = (i<0?-1:1);
for (int j=-8; j<8; j+=5) {
float *j_arr;
if (j == -8 || j == 7) {
j_arr = gauss_s1_c1;
} else {
j_arr = gauss_s1_c0;
}
float dx = 0.0f;
float dy = 0.0f;
float mdx = 0.0f;
float mdy = 0.0f;
int gauss_index_l = (j<0?8:0);
int gauss_index_l_inc = (j<0?-1:1);
for (int l = (j+8)*24; l < (j + 17)*24; l+=24, gauss_index_l+=gauss_index_l_inc) {
float gauss_s1_y = j_arr[gauss_index_l];
int gauss_index_k = gauss_index_k_start;
for (int k = i+8; k < i + 17; ++k, gauss_index_k+=gauss_index_k_inc) {
float gauss_s1_x = i_arr[gauss_index_k];
float gauss_s1 = gauss_s1_x * gauss_s1_y;
float rx = haarResponseX[l+k];
float ry = haarResponseY[l+k];
//Get the gaussian weighted x and y responses on rotated axis
float rrx = gauss_s1 * ry;
float rry = gauss_s1 * rx;
dx += rrx;
dy += rry;
mdx += fabsf(rrx);
mdy += fabsf(rry);
}
}
// Precomputed 4x4 gauss_s2 with (x,y) = {-1.5, -0.5, 0.5, 1.5}^2 and sig = 1.5f
float gauss_s2 = gauss_s2_arr[gauss_s2_index];
gauss_s2_index++;
// add the values to the descriptor vector
float d1 = dx * gauss_s2;
float d2 = dy * gauss_s2;
float d3 = mdx * gauss_s2;
float d4 = mdy * gauss_s2;
descriptor[desc_idx] = d1;
descriptor[desc_idx+1] = d2;
descriptor[desc_idx+2] = d3;
descriptor[desc_idx+3] = d4;
// precompute for normaliztion
sum_of_squares += (d1*d1 + d2*d2 + d3*d3 + d4*d4);
desc_idx += 4;
}
}
// rescale to unit vector
float norm_factor = 1.0f / sqrtf(sum_of_squares);
for (int i = 0; i < 64; ++i) {
descriptor[i] *= norm_factor;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
vmovss 0x8(%rsi), %xmm4
vpbroadcastd 0x10bdb(%rip), %xmm5 # 0x600a0
vpbroadcastd 0x10bce(%rip), %xmm6 # 0x6009c
vmovd 0x4(%rsi), %xmm2
movq %rdi, 0xc0(%rsp)
movq %rsi, 0x98(%rsp)
vmulss %xmm4, %xmm4, %xmm1
vmovaps %xmm4, 0xa0(%rsp)
vmovdqa %xmm5, %xmm0
vpternlogd $0xf8, %xmm6, %xmm4, %xmm0
vmovdqa %xmm5, %xmm3
vpternlogd $0xf8, %xmm6, %xmm2, %xmm5
vaddss %xmm0, %xmm4, %xmm0
vaddss %xmm5, %xmm2, %xmm2
vmovss %xmm1, 0x5c(%rsp)
vmovd (%rsi), %xmm1
vroundss $0xb, %xmm0, %xmm0, %xmm0
vroundss $0xb, %xmm2, %xmm2, %xmm2
vcvttss2si %xmm0, %eax
vpternlogd $0xf8, %xmm6, %xmm1, %xmm3
vcvtss2sd %xmm2, %xmm2, %xmm2
vaddss %xmm3, %xmm1, %xmm1
vcvtss2sd %xmm4, %xmm4, %xmm3
vmovsd 0x10b85(%rip), %xmm4 # 0x600c8
movl %eax, 0x68(%rsp)
vroundss $0xb, %xmm1, %xmm1, %xmm1
vcvtss2sd %xmm1, %xmm1, %xmm1
vfmadd231sd %xmm4, %xmm3, %xmm2 # xmm2 = (xmm3 * xmm4) + xmm2
vfmadd231sd %xmm4, %xmm3, %xmm1 # xmm1 = (xmm3 * xmm4) + xmm1
vcvtsd2ss %xmm2, %xmm2, %xmm2
vcvtsd2ss %xmm1, %xmm1, %xmm1
vcvttps2dq %xmm0, %xmm0
vcvtdq2ps %xmm0, %xmm0
vsubss %xmm0, %xmm1, %xmm1
vsubss %xmm0, %xmm2, %xmm0
vmovss %xmm1, 0x6c(%rsp)
vmovss %xmm0, 0x60(%rsp)
pushq $-0xc
popq %rcx
pushq $0x60
popq %r13
movq 0xc0(%rsp), %rbp
cmpl $0xc, %ecx
jge 0x5036d
vmovaps 0xa0(%rsp), %xmm2
vmovss 0x60(%rsp), %xmm3
vcvtsi2ss %ecx, %xmm7, %xmm0
vpbroadcastd 0x10aed(%rip), %xmm4 # 0x600a0
vpbroadcastd 0x10ae0(%rip), %xmm5 # 0x6009c
movl %ecx, %eax
orl $0x1, %eax
movl %ecx, 0x64(%rsp)
movq %r13, 0xb8(%rsp)
vfmadd213ss %xmm3, %xmm2, %xmm0 # xmm0 = (xmm2 * xmm0) + xmm3
vcvtsi2ss %eax, %xmm7, %xmm1
vfmadd213ss %xmm3, %xmm2, %xmm1 # xmm1 = (xmm2 * xmm1) + xmm3
vmovdqa %xmm4, %xmm2
vpternlogd $0xf8, %xmm5, %xmm0, %xmm2
vaddss %xmm2, %xmm0, %xmm0
vroundss $0xb, %xmm0, %xmm0, %xmm0
vcvttss2si %xmm0, %eax
vmovdqa %xmm4, %xmm0
vpternlogd $0xf8, %xmm5, %xmm1, %xmm0
vaddss %xmm0, %xmm1, %xmm0
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x18(%rsp)
vcvttss2si %xmm0, %eax
movl %eax, 0x10(%rsp)
pushq $-0xc
popq %rax
cmpl $0xc, %eax
jge 0x50352
movq %rax, (%rsp)
vcvtsi2ss %eax, %xmm7, %xmm0
vmovaps 0xa0(%rsp), %xmm24
vmovss 0x6c(%rsp), %xmm25
vpbroadcastd 0x10a5d(%rip), %xmm26 # 0x600a0
vpbroadcastd 0x10a4f(%rip), %xmm27 # 0x6009c
movq 0x19c14(%rip), %r8 # 0x69268
movq 0x19c15(%rip), %rdi # 0x69270
movl 0x18(%rsp), %r15d
movl 0x68(%rsp), %r12d
movq (%rsp), %rax
leaq -0x60(%rdi,%r13), %r9
leaq -0x60(%r8,%r13), %r8
movq %rbp, %rdi
movl %r15d, %esi
leal 0x1(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm13
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm0 # xmm0 = (xmm24 * xmm0) + xmm25
vfmadd213ss %xmm25, %xmm24, %xmm13 # xmm13 = (xmm24 * xmm13) + xmm25
leal 0x2(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm1
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm1 # xmm1 = (xmm24 * xmm1) + xmm25
leal 0x3(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm2
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm2 # xmm2 = (xmm24 * xmm2) + xmm25
leal 0x4(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm3
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm3 # xmm3 = (xmm24 * xmm3) + xmm25
leal 0x5(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm4
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm4 # xmm4 = (xmm24 * xmm4) + xmm25
leal 0x6(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm5
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm5 # xmm5 = (xmm24 * xmm5) + xmm25
leal 0x7(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm6
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm6 # xmm6 = (xmm24 * xmm6) + xmm25
leal 0x8(%rax), %eax
vcvtsi2ss %eax, %xmm7, %xmm7
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm7 # xmm7 = (xmm24 * xmm7) + xmm25
leal 0x9(%rax), %eax
vcvtsi2ss %eax, %xmm8, %xmm8
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm8 # xmm8 = (xmm24 * xmm8) + xmm25
leal 0xa(%rax), %eax
vcvtsi2ss %eax, %xmm9, %xmm9
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm9 # xmm9 = (xmm24 * xmm9) + xmm25
leal 0xb(%rax), %eax
vcvtsi2ss %eax, %xmm10, %xmm10
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm10 # xmm10 = (xmm24 * xmm10) + xmm25
leal 0xc(%rax), %eax
vcvtsi2ss %eax, %xmm11, %xmm11
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm11 # xmm11 = (xmm24 * xmm11) + xmm25
leal 0xd(%rax), %eax
vcvtsi2ss %eax, %xmm12, %xmm12
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm12 # xmm12 = (xmm24 * xmm12) + xmm25
leal 0xe(%rax), %eax
vcvtsi2ss %eax, %xmm14, %xmm14
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm14 # xmm14 = (xmm24 * xmm14) + xmm25
leal 0xf(%rax), %eax
vcvtsi2ss %eax, %xmm15, %xmm15
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm15 # xmm15 = (xmm24 * xmm15) + xmm25
leal 0x10(%rax), %eax
vcvtsi2ss %eax, %xmm16, %xmm16
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm16 # xmm16 = (xmm24 * xmm16) + xmm25
leal 0x11(%rax), %eax
vcvtsi2ss %eax, %xmm17, %xmm17
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm17 # xmm17 = (xmm24 * xmm17) + xmm25
leal 0x12(%rax), %eax
vcvtsi2ss %eax, %xmm18, %xmm18
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm18 # xmm18 = (xmm24 * xmm18) + xmm25
leal 0x13(%rax), %eax
vcvtsi2ss %eax, %xmm19, %xmm19
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm19 # xmm19 = (xmm24 * xmm19) + xmm25
leal 0x14(%rax), %eax
vcvtsi2ss %eax, %xmm20, %xmm20
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm20 # xmm20 = (xmm24 * xmm20) + xmm25
leal 0x15(%rax), %eax
vcvtsi2ss %eax, %xmm21, %xmm21
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm21 # xmm21 = (xmm24 * xmm21) + xmm25
leal 0x16(%rax), %eax
vcvtsi2ss %eax, %xmm22, %xmm22
movq (%rsp), %rax
vfmadd213ss %xmm25, %xmm24, %xmm22 # xmm22 = (xmm24 * xmm22) + xmm25
leal 0x17(%rax), %eax
vcvtsi2ss %eax, %xmm23, %xmm23
vfmadd213ss %xmm25, %xmm24, %xmm23 # xmm23 = (xmm24 * xmm23) + xmm25
vmovdqa64 %xmm26, %xmm24
vpternlogd $0xf8, %xmm27, %xmm13, %xmm24
vaddss %xmm24, %xmm13, %xmm13
vroundss $0xb, %xmm13, %xmm13, %xmm13
vcvttss2si %xmm13, %eax
vmovdqa64 %xmm26, %xmm13
vpternlogd $0xf8, %xmm27, %xmm0, %xmm13
vaddss %xmm0, %xmm13, %xmm0
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0xc(%rsp)
vcvttss2si %xmm0, %r14d
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm1, %xmm0
vaddss %xmm0, %xmm1, %xmm0
vmovdqa64 %xmm26, %xmm1
vpternlogd $0xf8, %xmm27, %xmm14, %xmm1
vaddss %xmm1, %xmm14, %xmm1
vroundss $0xb, %xmm0, %xmm0, %xmm0
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm2, %xmm0
vaddss %xmm0, %xmm2, %xmm0
vmovdqa64 %xmm26, %xmm2
vpternlogd $0xf8, %xmm27, %xmm15, %xmm2
vaddss %xmm2, %xmm15, %xmm2
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x8(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm3, %xmm0
vaddss %xmm0, %xmm3, %xmm0
vmovdqa64 %xmm26, %xmm3
vpternlogd $0xf8, %xmm27, %xmm16, %xmm3
vaddss %xmm3, %xmm16, %xmm3
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x70(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm4, %xmm0
vaddss %xmm0, %xmm4, %xmm0
vmovdqa64 %xmm26, %xmm4
vpternlogd $0xf8, %xmm27, %xmm17, %xmm4
vaddss %xmm4, %xmm17, %xmm4
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x74(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm5, %xmm0
vaddss %xmm0, %xmm5, %xmm0
vmovdqa64 %xmm26, %xmm5
vpternlogd $0xf8, %xmm27, %xmm18, %xmm5
vaddss %xmm5, %xmm18, %xmm5
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x78(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm6, %xmm0
vaddss %xmm0, %xmm6, %xmm0
vmovdqa64 %xmm26, %xmm6
vpternlogd $0xf8, %xmm27, %xmm19, %xmm6
vaddss %xmm6, %xmm19, %xmm6
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x40(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm7, %xmm0
vaddss %xmm0, %xmm7, %xmm0
vmovdqa64 %xmm26, %xmm7
vpternlogd $0xf8, %xmm27, %xmm20, %xmm7
vaddss %xmm7, %xmm20, %xmm7
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x7c(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm8, %xmm0
vaddss %xmm0, %xmm8, %xmm0
vmovdqa64 %xmm26, %xmm8
vpternlogd $0xf8, %xmm27, %xmm21, %xmm8
vaddss %xmm8, %xmm21, %xmm8
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x80(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm9, %xmm0
vaddss %xmm0, %xmm9, %xmm0
vmovdqa64 %xmm26, %xmm9
vpternlogd $0xf8, %xmm27, %xmm22, %xmm9
vaddss %xmm9, %xmm22, %xmm9
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x84(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm10, %xmm0
vaddss %xmm0, %xmm10, %xmm0
vmovdqa64 %xmm26, %xmm10
vpternlogd $0xf8, %xmm27, %xmm23, %xmm10
vaddss %xmm10, %xmm23, %xmm10
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x88(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm11, %xmm0
vaddss %xmm0, %xmm11, %xmm0
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x8c(%rsp)
vcvttss2si %xmm0, %eax
vmovdqa64 %xmm26, %xmm0
vpternlogd $0xf8, %xmm27, %xmm12, %xmm0
vaddss %xmm0, %xmm12, %xmm0
vroundss $0xb, %xmm0, %xmm0, %xmm0
movl %eax, 0x94(%rsp)
vcvttss2si %xmm0, %ecx
vroundss $0xb, %xmm1, %xmm1, %xmm1
vroundss $0xb, %xmm2, %xmm2, %xmm2
vroundss $0xb, %xmm3, %xmm3, %xmm3
vroundss $0xb, %xmm4, %xmm4, %xmm4
vroundss $0xb, %xmm5, %xmm5, %xmm5
vroundss $0xb, %xmm6, %xmm6, %xmm6
vroundss $0xb, %xmm7, %xmm7, %xmm7
vroundss $0xb, %xmm8, %xmm8, %xmm8
vroundss $0xb, %xmm9, %xmm9, %xmm9
vroundss $0xb, %xmm10, %xmm10, %xmm10
vcvttss2si %xmm1, %edx
movl %ecx, 0x90(%rsp)
vcvttss2si %xmm2, %ecx
movl %edx, 0x20(%rsp)
vcvttss2si %xmm3, %edx
movl %ecx, 0x24(%rsp)
vcvttss2si %xmm4, %ecx
movl %edx, 0x28(%rsp)
vcvttss2si %xmm5, %edx
movl %ecx, 0x2c(%rsp)
vcvttss2si %xmm6, %ecx
movl %edx, 0x30(%rsp)
vcvttss2si %xmm7, %edx
movl %ecx, 0x34(%rsp)
vcvttss2si %xmm8, %ecx
movl %edx, 0x38(%rsp)
vcvttss2si %xmm9, %edx
movl %ecx, 0x48(%rsp)
vcvttss2si %xmm10, %ecx
movl %edx, 0x50(%rsp)
movl %r14d, %edx
movl %ecx, 0x3c(%rsp)
movl %r12d, %ecx
callq 0x53a01
movq 0x19738(%rip), %r8 # 0x69268
movq 0x19739(%rip), %r9 # 0x69270
movl 0x10(%rsp), %ebx
movq %rbp, %rdi
movl %r14d, %edx
movl %r12d, %ecx
addq %r13, %r8
addq %r13, %r9
movl %ebx, %esi
callq 0x53a01
movq 0x19710(%rip), %rax # 0x69268
movq 0x19711(%rip), %rdi # 0x69270
movl 0xc(%rsp), %edx
movl %r15d, %esi
movl %r12d, %ecx
leaq -0x5c(%rdi,%r13), %r9
leaq -0x5c(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x196e6(%rip), %rax # 0x69268
movq 0x196e7(%rip), %rdi # 0x69270
movl 0xc(%rsp), %edx
movl %ebx, %esi
movl %r12d, %ecx
leaq 0x4(%rdi,%r13), %r9
leaq 0x4(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x196bd(%rip), %rax # 0x69268
movq 0x196be(%rip), %rdi # 0x69270
movl 0x8(%rsp), %edx
movl %r15d, %esi
movl %r12d, %ecx
leaq -0x58(%rdi,%r13), %r9
leaq -0x58(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19693(%rip), %rax # 0x69268
movq 0x19694(%rip), %rdi # 0x69270
movl 0x8(%rsp), %edx
movl %ebx, %esi
movl %r12d, %ecx
leaq 0x8(%rdi,%r13), %r9
leaq 0x8(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x1966a(%rip), %rax # 0x69268
movq 0x1966b(%rip), %rdi # 0x69270
movl 0x70(%rsp), %r14d
movl %r15d, %esi
movl %r12d, %ecx
leaq -0x54(%rdi,%r13), %r9
leaq -0x54(%rax,%r13), %r8
movq %rbp, %rdi
movl %r14d, %edx
callq 0x53a01
movq 0x1963c(%rip), %rax # 0x69268
movq 0x1963d(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %ebx, %r15d
movl %r14d, %edx
movl %r12d, %ecx
leaq 0xc(%rdi,%r13), %r9
leaq 0xc(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19611(%rip), %rax # 0x69268
movq 0x19612(%rip), %rdi # 0x69270
movl 0x18(%rsp), %r14d
movl 0x74(%rsp), %ebx
movl %r12d, %ecx
leaq -0x50(%rdi,%r13), %r9
leaq -0x50(%rax,%r13), %r8
movq %rbp, %rdi
movl %r14d, %esi
movl %ebx, %edx
callq 0x53a01
movq 0x195e0(%rip), %rax # 0x69268
movq 0x195e1(%rip), %rdi # 0x69270
movl %r15d, %esi
movl %ebx, %edx
movl %r12d, %ecx
leaq 0x10(%rdi,%r13), %r9
leaq 0x10(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x195b8(%rip), %rax # 0x69268
movq 0x195b9(%rip), %rdi # 0x69270
movl 0x78(%rsp), %r15d
movl %r14d, %esi
movl %r14d, %ebx
movl %r12d, %ecx
leaq -0x4c(%rdi,%r13), %r9
leaq -0x4c(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x19587(%rip), %rax # 0x69268
movq 0x19588(%rip), %rdi # 0x69270
movl 0x10(%rsp), %r14d
movl %r15d, %edx
movl %r12d, %ecx
leaq 0x14(%rdi,%r13), %r9
leaq 0x14(%rax,%r13), %r8
movq %rbp, %rdi
movl %r14d, %esi
callq 0x53a01
movq 0x19559(%rip), %rax # 0x69268
movq 0x1955a(%rip), %rdi # 0x69270
movl 0x40(%rsp), %edx
movl %ebx, %esi
movl %r12d, %ecx
leaq -0x48(%rdi,%r13), %r9
leaq -0x48(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19530(%rip), %rax # 0x69268
movq 0x19531(%rip), %rdi # 0x69270
movl 0x40(%rsp), %edx
movl %r14d, %r15d
movl %r14d, %esi
movl %r12d, %ecx
leaq 0x18(%rdi,%r13), %r9
leaq 0x18(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19503(%rip), %rax # 0x69268
movq 0x19504(%rip), %rdi # 0x69270
movl %ebx, %esi
movl 0x7c(%rsp), %ebx
movl %r12d, %ecx
leaq -0x44(%rdi,%r13), %r9
leaq -0x44(%rax,%r13), %r8
movq %rbp, %rdi
movl %ebx, %edx
callq 0x53a01
movq 0x194d8(%rip), %rax # 0x69268
movq 0x194d9(%rip), %rdi # 0x69270
movl %r14d, %esi
movl %ebx, %edx
movl %r12d, %ecx
leaq 0x1c(%rdi,%r13), %r9
leaq 0x1c(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x194b0(%rip), %rax # 0x69268
movq 0x194b1(%rip), %rdi # 0x69270
movl 0x18(%rsp), %ebx
movl 0x80(%rsp), %r14d
movl %r12d, %ecx
leaq -0x40(%rdi,%r13), %r9
leaq -0x40(%rax,%r13), %r8
movq %rbp, %rdi
movl %ebx, %esi
movl %r14d, %edx
callq 0x53a01
movq 0x1947c(%rip), %rax # 0x69268
movq 0x1947d(%rip), %rdi # 0x69270
movl %r14d, %edx
movl %r15d, %esi
movl %r12d, %r14d
movl %r12d, %ecx
leaq 0x20(%rdi,%r13), %r9
leaq 0x20(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19450(%rip), %rax # 0x69268
movq 0x19451(%rip), %rdi # 0x69270
movl 0x84(%rsp), %r15d
movl %ebx, %esi
movl %r12d, %ecx
leaq -0x3c(%rdi,%r13), %r9
leaq -0x3c(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x19420(%rip), %rax # 0x69268
movq 0x19421(%rip), %rdi # 0x69270
movl 0x10(%rsp), %r12d
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x24(%rdi,%r13), %r9
leaq 0x24(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %esi
callq 0x53a01
movq 0x193f2(%rip), %rax # 0x69268
movq 0x193f3(%rip), %rdi # 0x69270
movl %ebx, %r15d
movl %ebx, %esi
movl 0x88(%rsp), %ebx
movl %r14d, %ecx
leaq -0x38(%rdi,%r13), %r9
leaq -0x38(%rax,%r13), %r8
movq %rbp, %rdi
movl %ebx, %edx
callq 0x53a01
movq 0x193c1(%rip), %rax # 0x69268
movq 0x193c2(%rip), %rdi # 0x69270
movl %r12d, %esi
movl %ebx, %edx
movl %r14d, %ecx
leaq 0x28(%rdi,%r13), %r9
leaq 0x28(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19399(%rip), %rax # 0x69268
movq 0x1939a(%rip), %rdi # 0x69270
movl 0x8c(%rsp), %r12d
movl %r15d, %esi
movl %r14d, %ecx
leaq -0x34(%rdi,%r13), %r9
leaq -0x34(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %edx
callq 0x53a01
movq 0x19368(%rip), %rax # 0x69268
movq 0x19369(%rip), %rdi # 0x69270
movl 0x10(%rsp), %ebx
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x2c(%rdi,%r13), %r9
leaq 0x2c(%rax,%r13), %r8
movq %rbp, %rdi
movl %ebx, %esi
callq 0x53a01
movq 0x1933c(%rip), %rax # 0x69268
movq 0x1933d(%rip), %rdi # 0x69270
movl %r15d, %r12d
movl %r15d, %esi
movl 0x94(%rsp), %r15d
movl %r14d, %ecx
leaq -0x30(%rdi,%r13), %r9
leaq -0x30(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x19308(%rip), %rax # 0x69268
movq 0x19309(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x30(%rdi,%r13), %r9
leaq 0x30(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x192e0(%rip), %rax # 0x69268
movq 0x192e1(%rip), %rdi # 0x69270
movl 0x90(%rsp), %r15d
movl %r12d, %esi
movl %r14d, %ecx
leaq -0x2c(%rdi,%r13), %r9
leaq -0x2c(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x192af(%rip), %rax # 0x69268
movq 0x192b0(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x34(%rdi,%r13), %r9
leaq 0x34(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19287(%rip), %rax # 0x69268
movq 0x19288(%rip), %rdi # 0x69270
movl %r12d, %esi
movl %r12d, %r15d
movl 0x20(%rsp), %r12d
movl %r14d, %ecx
leaq -0x28(%rdi,%r13), %r9
leaq -0x28(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %edx
callq 0x53a01
movq 0x19256(%rip), %rax # 0x69268
movq 0x19257(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x38(%rdi,%r13), %r9
leaq 0x38(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x1922e(%rip), %rax # 0x69268
movq 0x1922f(%rip), %rdi # 0x69270
movl 0x24(%rsp), %r12d
movl %r15d, %esi
movl %r14d, %ecx
leaq -0x24(%rdi,%r13), %r9
leaq -0x24(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %edx
callq 0x53a01
movq 0x19200(%rip), %rax # 0x69268
movq 0x19201(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x3c(%rdi,%r13), %r9
leaq 0x3c(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x191d8(%rip), %rax # 0x69268
movq 0x191d9(%rip), %rdi # 0x69270
movl %r15d, %r12d
movl %r15d, %esi
movl 0x28(%rsp), %r15d
movl %r14d, %ecx
leaq -0x20(%rdi,%r13), %r9
leaq -0x20(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x191a7(%rip), %rax # 0x69268
movq 0x191a8(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x40(%rdi,%r13), %r9
leaq 0x40(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x1917f(%rip), %rax # 0x69268
movq 0x19180(%rip), %rdi # 0x69270
movl %r12d, %r15d
movl %r12d, %esi
movl 0x2c(%rsp), %r12d
movl %r14d, %ecx
leaq -0x1c(%rdi,%r13), %r9
leaq -0x1c(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %edx
callq 0x53a01
movq 0x1914e(%rip), %rax # 0x69268
movq 0x1914f(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x44(%rdi,%r13), %r9
leaq 0x44(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19126(%rip), %rax # 0x69268
movq 0x19127(%rip), %rdi # 0x69270
movl %r15d, %r12d
movl %r15d, %esi
movl 0x30(%rsp), %r15d
movl %r14d, %ecx
leaq -0x18(%rdi,%r13), %r9
leaq -0x18(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x190f5(%rip), %rax # 0x69268
movq 0x190f6(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x48(%rdi,%r13), %r9
leaq 0x48(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x190cd(%rip), %rax # 0x69268
movq 0x190ce(%rip), %rdi # 0x69270
movl %r12d, %r15d
movl %r12d, %esi
movl 0x34(%rsp), %r12d
movl %r14d, %ecx
leaq -0x14(%rdi,%r13), %r9
leaq -0x14(%rax,%r13), %r8
movq %rbp, %rdi
movl %r12d, %edx
callq 0x53a01
movq 0x1909c(%rip), %rax # 0x69268
movq 0x1909d(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r12d, %edx
movl %r14d, %ecx
leaq 0x4c(%rdi,%r13), %r9
leaq 0x4c(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x19074(%rip), %rax # 0x69268
movq 0x19075(%rip), %rdi # 0x69270
movl %r15d, %r12d
movl %r15d, %esi
movl 0x38(%rsp), %r15d
movl %r14d, %ecx
leaq -0x10(%rdi,%r13), %r9
leaq -0x10(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x19043(%rip), %rax # 0x69268
movq 0x19044(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x50(%rdi,%r13), %r9
leaq 0x50(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x1901b(%rip), %rax # 0x69268
movq 0x1901c(%rip), %rdi # 0x69270
movl 0x48(%rsp), %edx
movl %r12d, %esi
movl %r14d, %ecx
leaq -0xc(%rdi,%r13), %r9
leaq -0xc(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x18ff1(%rip), %rax # 0x69268
movq 0x18ff2(%rip), %rdi # 0x69270
movl 0x50(%rsp), %edx
movl %ebx, %esi
movl %r14d, %ecx
leaq 0x58(%rdi,%r13), %r9
leaq 0x58(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x18fc8(%rip), %rax # 0x69268
movq 0x18fc9(%rip), %rdi # 0x69270
movl 0x3c(%rsp), %r15d
movl %r12d, %esi
movl %r14d, %ecx
leaq -0x4(%rdi,%r13), %r9
leaq -0x4(%rax,%r13), %r8
movq %rbp, %rdi
movl %r15d, %edx
callq 0x53a01
movq 0x18f9a(%rip), %rax # 0x69268
movq 0x18f9b(%rip), %rdi # 0x69270
movl %ebx, %esi
movl %r15d, %edx
movl %r14d, %ecx
leaq 0x5c(%rdi,%r13), %r9
leaq 0x5c(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x18f72(%rip), %rax # 0x69268
movq 0x18f73(%rip), %rdi # 0x69270
movl 0x48(%rsp), %edx
movl %ebx, %esi
movl %r14d, %ecx
leaq 0x54(%rdi,%r13), %r9
leaq 0x54(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq 0x18f49(%rip), %rax # 0x69268
movq 0x18f4a(%rip), %rdi # 0x69270
movl 0x50(%rsp), %edx
movl %r12d, %esi
movl %r14d, %ecx
leaq -0x8(%rdi,%r13), %r9
leaq -0x8(%rax,%r13), %r8
movq %rbp, %rdi
callq 0x53a01
movq (%rsp), %rax
addq $0x60, %r13
addl $0x18, %eax
jmp 0x4f618
movl 0x64(%rsp), %ecx
movq 0xb8(%rsp), %r13
addl $0x2, %ecx
addq $0xc0, %r13
jmp 0x4f58e
vmovss 0xff0f(%rip), %xmm0 # 0x60284
vmovaps 0xa0(%rsp), %xmm14
vpbroadcastd 0xfd19(%rip), %xmm13 # 0x600a0
vpbroadcastd 0xfd0c(%rip), %xmm12 # 0x6009c
vdivss 0x5c(%rsp), %xmm0, %xmm15
vmulss 0xfc92(%rip), %xmm14, %xmm0 # 0x60030
vmovdqa %xmm13, %xmm1
vmovdqa %xmm13, %xmm2
vmovdqa %xmm13, %xmm3
vmovdqa %xmm13, %xmm4
vmovdqa %xmm13, %xmm5
vmovdqa %xmm13, %xmm6
vmovdqa %xmm13, %xmm7
vmovdqa %xmm13, %xmm8
vmovdqa %xmm13, %xmm9
vmovdqa %xmm13, %xmm10
vmovdqa %xmm13, %xmm11
vpternlogd $0xf8, %xmm12, %xmm0, %xmm1
vaddss %xmm1, %xmm0, %xmm0
vmulss 0xfcc7(%rip), %xmm14, %xmm1 # 0x600a8
vroundss $0xb, %xmm0, %xmm0, %xmm0
vmovss %xmm15, (%rsp)
vpternlogd $0xf8, %xmm12, %xmm1, %xmm2
vaddss %xmm2, %xmm1, %xmm1
vmulss 0xfca5(%rip), %xmm14, %xmm2 # 0x600a4
vroundss $0xb, %xmm1, %xmm1, %xmm1
vpternlogd $0xf8, %xmm12, %xmm2, %xmm3
vaddss %xmm3, %xmm2, %xmm2
vmulss 0xfe80(%rip), %xmm14, %xmm3 # 0x60298
vroundss $0xb, %xmm2, %xmm2, %xmm2
vpternlogd $0xf8, %xmm12, %xmm3, %xmm4
vaddss %xmm4, %xmm3, %xmm3
vmulss 0xfe6b(%rip), %xmm14, %xmm4 # 0x6029c
vroundss $0xb, %xmm3, %xmm3, %xmm3
vpternlogd $0xf8, %xmm12, %xmm4, %xmm5
vaddss %xmm5, %xmm4, %xmm4
vmulss 0xfe56(%rip), %xmm14, %xmm5 # 0x602a0
vroundss $0xb, %xmm4, %xmm4, %xmm4
vpternlogd $0xf8, %xmm12, %xmm5, %xmm6
vaddss %xmm6, %xmm5, %xmm5
vmulss 0xfe41(%rip), %xmm14, %xmm6 # 0x602a4
vroundss $0xb, %xmm5, %xmm5, %xmm5
vpternlogd $0xf8, %xmm12, %xmm6, %xmm7
vaddss %xmm7, %xmm6, %xmm6
vmulss 0xfe2c(%rip), %xmm14, %xmm7 # 0x602a8
vroundss $0xb, %xmm6, %xmm6, %xmm6
vpternlogd $0xf8, %xmm12, %xmm7, %xmm8
vaddss %xmm7, %xmm8, %xmm7
vmulss 0xfe17(%rip), %xmm14, %xmm8 # 0x602ac
vroundss $0xb, %xmm7, %xmm7, %xmm7
vpternlogd $0xf8, %xmm12, %xmm8, %xmm9
vaddss %xmm9, %xmm8, %xmm8
vmulss 0xfe01(%rip), %xmm14, %xmm9 # 0x602b0
vroundss $0xb, %xmm8, %xmm8, %xmm8
vpternlogd $0xf8, %xmm12, %xmm9, %xmm10
vaddss %xmm10, %xmm9, %xmm9
vmulss 0xfdeb(%rip), %xmm14, %xmm10 # 0x602b4
vroundss $0xb, %xmm9, %xmm9, %xmm9
vpternlogd $0xf8, %xmm12, %xmm10, %xmm11
vaddss %xmm11, %xmm10, %xmm10
vmulss 0xfdd5(%rip), %xmm14, %xmm11 # 0x602b8
vroundss $0xb, %xmm10, %xmm10, %xmm10
vpternlogd $0xf8, %xmm12, %xmm11, %xmm13
vaddss %xmm1, %xmm2, %xmm12
vaddss %xmm13, %xmm11, %xmm11
vaddss %xmm0, %xmm2, %xmm13
vroundss $0xb, %xmm11, %xmm11, %xmm11
vsubss %xmm0, %xmm2, %xmm0
vmovss %xmm13, 0x20(%rsp)
vmovss %xmm0, 0x24(%rsp)
vsubss %xmm1, %xmm2, %xmm0
vmovss %xmm0, 0x28(%rsp)
vsubss %xmm3, %xmm2, %xmm0
vmovss %xmm0, 0x2c(%rsp)
vsubss %xmm4, %xmm2, %xmm0
vmovss %xmm0, 0x30(%rsp)
vsubss %xmm5, %xmm2, %xmm0
vmovss %xmm0, 0x34(%rsp)
vsubss %xmm6, %xmm2, %xmm0
vmovss %xmm0, 0x38(%rsp)
vsubss %xmm3, %xmm7, %xmm0
vmovss %xmm0, 0x3c(%rsp)
vsubss %xmm4, %xmm7, %xmm0
vmovss %xmm0, 0xc(%rsp)
vsubss %xmm5, %xmm7, %xmm0
vmovss %xmm0, 0x8(%rsp)
vsubss %xmm6, %xmm7, %xmm0
vmovss %xmm0, 0x40(%rsp)
vsubss %xmm8, %xmm7, %xmm0
vmovss %xmm0, 0x48(%rsp)
vsubss %xmm9, %xmm7, %xmm0
vmovss %xmm0, 0x50(%rsp)
vsubss %xmm10, %xmm7, %xmm0
vmovss %xmm0, 0x18(%rsp)
vsubss %xmm11, %xmm7, %xmm0
vmovss %xmm0, 0x10(%rsp)
vmulss %xmm12, %xmm12, %xmm0
vmulss %xmm0, %xmm15, %xmm0
callq 0x8270
vmovss %xmm0, 0x18c51(%rip) # 0x69200
vmovss 0x20(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18c39(%rip) # 0x69204
vmovss 0x24(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18c21(%rip) # 0x69208
vmovss 0x28(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18c09(%rip) # 0x6920c
vmovss 0x2c(%rsp), %xmm0
movl $0x3f800000, %ebx # imm = 0x3F800000
movl %ebx, 0x18bfc(%rip) # 0x69210
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18bea(%rip) # 0x69214
vmovss 0x30(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18bd2(%rip) # 0x69218
vmovss 0x34(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18bba(%rip) # 0x6921c
vmovss 0x38(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18ba2(%rip) # 0x69220
vmovss 0x3c(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18ba6(%rip) # 0x69240
vmovss 0xc(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b8e(%rip) # 0x69244
vmovss 0x8(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b76(%rip) # 0x69248
vmovss 0x40(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b5e(%rip) # 0x6924c
vmovss 0x48(%rsp), %xmm0
movl %ebx, 0x18b56(%rip) # 0x69250
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b44(%rip) # 0x69254
vmovss 0x50(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b2c(%rip) # 0x69258
vmovss 0x18(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
vmovss %xmm0, 0x18b14(%rip) # 0x6925c
vmovss 0x10(%rsp), %xmm0
vmulss %xmm0, %xmm0, %xmm0
vmulss (%rsp), %xmm0, %xmm0
callq 0x8270
movq 0x18b05(%rip), %rdi # 0x69268
vmovss %xmm0, 0x18af5(%rip) # 0x69260
vxorps %xmm0, %xmm0, %xmm0
xorl %esi, %esi
pushq $-0x8
popq %r8
vbroadcastss 0xf8ae(%rip), %xmm1 # 0x6002c
movq 0x18aeb(%rip), %rbp # 0x69270
xorl %r9d, %r9d
cmpl $0x8, %r8d
jge 0x5093e
movl %r8d, %eax
shrl $0x1f, %eax
leaq 0x18a61(%rip), %rbx # 0x69200
leaq 0x18a9a(%rip), %rcx # 0x69240
movslq %esi, %r12
movslq %r9d, %r9
movl %r8d, 0x8(%rsp)
movq %rbp, 0x48(%rsp)
movq %rdi, 0x50(%rsp)
shll $0x5, %eax
cmpl $0x7, %r8d
cmoveq %rcx, %rbx
cmpl $-0x8, %r8d
cmoveq %rcx, %rbx
movl %r8d, %ecx
notl %ecx
xorl %r13d, %r13d
shrl $0x1f, %ecx
addq %rax, %rbx
leaq -0x4(,%rcx,8), %r15
leal 0x4(%r12), %ecx
movq %rcx, 0x40(%rsp)
movslq %ecx, %rcx
movq %rcx, 0x18(%rsp)
pushq $-0x8
popq %rsi
cmpq 0x18(%rsp), %r12
je 0x50919
movl %esi, %edx
shrl $0x1c, %edx
leaq 0x189f0(%rip), %r8 # 0x69200
leaq 0x18a29(%rip), %rax # 0x69240
movq %r9, (%rsp)
vxorps %xmm2, %xmm2, %xmm2
movq %rbp, 0x10(%rsp)
movq %r13, %rcx
andl $-0x8, %edx
cmpl $0x7, %esi
cmoveq %rax, %r8
cmpl $-0x8, %esi
cmoveq %rax, %r8
xorl %eax, %eax
testl %esi, %esi
setns %al
imull $0x18, %esi, %r11d
leaq -0x1(%rax,%rax), %r9
movq %rdi, %rax
addl $0x198, %r11d # imm = 0x198
cmpq %r11, %rcx
jae 0x508b0
vmovss (%r8,%rdx,4), %xmm3
movq %rbx, %r14
xorl %r10d, %r10d
cmpq $0x9, %r10
je 0x5089f
vmulss (%r14), %xmm3, %xmm4
addq %r15, %r14
vmulss (%rbp,%r10,4), %xmm4, %xmm5
vmulss (%rax,%r10,4), %xmm4, %xmm4
incq %r10
vandps %xmm1, %xmm4, %xmm7
vandps %xmm1, %xmm5, %xmm6
vinsertps $0x10, %xmm4, %xmm5, %xmm4 # xmm4 = xmm5[0],xmm4[0],xmm5[2,3]
vmovlhps %xmm6, %xmm4, %xmm4 # xmm4 = xmm4[0],xmm6[0]
vinsertps $0x30, %xmm7, %xmm4, %xmm4 # xmm4 = xmm4[0,1,2],xmm7[0]
vaddps %xmm4, %xmm2, %xmm2
jmp 0x50863
addq $0x18, %rcx
addq %r9, %rdx
addq $0x60, %rax
addq $0x60, %rbp
jmp 0x50852
leaq 0xfd89(%rip), %rax # 0x60640
movq (%rsp), %r9
movq 0x10(%rsp), %rbp
addl $0x5, %esi
addq $0x78, %r13
vmulps (%rax,%r12,4){1to4}, %xmm2, %xmm2
movq 0x98(%rsp), %rax
incq %r12
vmulps %xmm2, %xmm2, %xmm3
vshufpd $0x1, %xmm2, %xmm2, %xmm4 # xmm4 = xmm2[1,0]
vmovups %xmm2, 0x14(%rax,%r9,4)
movl $0x1e0, %eax # imm = 0x1E0
addq $0x4, %r9
addq %rax, %rdi
addq %rax, %rbp
vmovshdup %xmm3, %xmm3 # xmm3 = xmm3[1,1,3,3]
vfmadd231ss %xmm2, %xmm2, %xmm3 # xmm3 = (xmm2 * xmm2) + xmm3
vshufps $0xff, %xmm2, %xmm2, %xmm2 # xmm2 = xmm2[3,3,3,3]
vfmadd213ss %xmm3, %xmm4, %xmm4 # xmm4 = (xmm4 * xmm4) + xmm3
vfmadd213ss %xmm4, %xmm2, %xmm2 # xmm2 = (xmm2 * xmm2) + xmm4
vaddss %xmm2, %xmm0, %xmm0
jmp 0x507f9
movl 0x8(%rsp), %r8d
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rbp
movq 0x40(%rsp), %rsi
addl $0x5, %r8d
addq $0x14, %rdi
addq $0x14, %rbp
jmp 0x50788
vxorps %xmm1, %xmm1, %xmm1
vucomiss %xmm1, %xmm0
jb 0x5094e
vsqrtss %xmm0, %xmm0, %xmm0
jmp 0x50953
callq 0x8290
vmovss 0xf6a9(%rip), %xmm1 # 0x60004
movq 0x98(%rsp), %rcx
xorl %eax, %eax
vdivss %xmm0, %xmm1, %xmm0
cmpq $0x40, %rax
je 0x50980
vmulss 0x14(%rcx,%rax,4), %xmm0, %xmm1
vmovss %xmm1, 0x14(%rcx,%rax,4)
incq %rax
jmp 0x50969
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.cpp
|
haarXY(integral_image*, int, int, int, float*, float*)
|
inline void haarXY(struct integral_image *iimage, int row, int col, int scale, float* haarX, float* haarY) {
// TODO: (Sebastian) fix for iimage with padding
int width = iimage->width;
int height = iimage->height;
// subtracting by one for row/col because row/col is inclusive.
int r0 = MIN(row, height) - 1;
int c0 = MIN(col, width) - 1;
int r1 = MIN(row + scale, height) - 1;
int c1 = MIN(col + scale, width) - 1;
int r2 = MIN(row + 2*scale, height) - 1;
int c2 = MIN(col + 2*scale, width) - 1;
float r0c0 = 0.0f; // A
float r0c1 = 0.0f; // B
float r0c2 = 0.0f; // C
float r1c0 = 0.0f; // D
float r1c2 = 0.0f; // E
float r2c0 = 0.0f; // F
float r2c1 = 0.0f; // G
float r2c2 = 0.0f; // H
float *data = iimage->data;
int data_width = iimage->data_width;
if (r0 >= 0 && c0 >= 0) {
r0c0 = data[r0 * data_width + c0];
}
if (r0 >= 0 && c1 >= 0) {
r0c1 = data[r0 * data_width + c1];
}
if (r0 >= 0 && c2 >= 0) {
r0c2 = data[r0 * data_width + c2];
}
if (r1 >= 0 && c0 >= 0) {
r1c0 = data[r1 * data_width + c0];
}
if (r1 >= 0 && c2 >= 0) {
r1c2 = data[r1 * data_width + c2];
}
if (r2 >= 0 && c0 >= 0) {
r2c0 = data[r2 * data_width + c0];
}
if (r2 >= 0 && c1 >= 0) {
r2c1 = data[r2 * data_width + c1];
}
if (r2 >= 0 && c2 >= 0) {
r2c2 = data[r2 * data_width + c2];
}
// *haarX = (r0c1 - r0c2 - r2c1 + r2c2) - (r0c0 - r0c1 - r2c0 + r2c1);
// *haarY = (r1c0 - r1c2 - r2c0 + r2c2) - (r0c0 - r0c2 - r1c0 + r1c2);
float r2c2_sub_r0c0 = r2c2 - r0c0;
float r2c0_sub_r0c2 = r2c0 - r0c2;
*haarX = 2*(r0c1 - r2c1) + r2c2_sub_r0c0 + r2c0_sub_r0c2;
*haarY = 2*(r1c0 - r1c2) + r2c2_sub_r0c0 - r2c0_sub_r0c2;
// for FMA
// *haarX = (2*r0c1 + r2c0_sub_r0c2) - (2*r2c1 - r2c2_sub_r0c0);
// *haarY = (2*r1c0 - r2c0_sub_r0c2) - (2*r1c2 - r2c2_sub_r0c0);
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0x4(%rdi), %r10d
movl (%rdi), %eax
leal (%rcx,%rsi), %r14d
movl %esi, %r12d
leal (%rsi,%rcx,2), %ebp
movl %edx, %ebx
vxorps %xmm0, %xmm0, %xmm0
vxorps %xmm1, %xmm1, %xmm1
cmpl %esi, %r10d
leal (%rcx,%rdx), %esi
leal (%rdx,%rcx,2), %ecx
cmovll %r10d, %r12d
cmpl %edx, %eax
movl 0x10(%rdi), %edx
cmovll %eax, %ebx
cmpl %r10d, %r14d
leal -0x1(%r12), %r15d
cmovgel %r10d, %r14d
cmpl %eax, %esi
leal -0x1(%rbx), %r11d
cmovgel %eax, %esi
cmpl %r10d, %ebp
cmovll %ebp, %r10d
cmpl %eax, %ecx
cmovll %ecx, %eax
movq 0x8(%rdi), %rcx
testl %r12d, %r12d
setg %dil
testl %ebx, %ebx
setg %bpl
andb %dil, %bpl
cmpb $0x1, %bpl
jne 0x537b4
movl %r15d, %edi
imull %edx, %edi
addl %r11d, %edi
movslq %edi, %rdi
vmovss (%rcx,%rdi,4), %xmm1
testl %r12d, %r12d
leal -0x1(%rsi), %edi
setg %bpl
testl %esi, %esi
setg %r13b
andb %bpl, %r13b
cmpb $0x1, %r13b
jne 0x537de
movl %r15d, %ebp
imull %edx, %ebp
addl %edi, %ebp
movslq %ebp, %r13
vmovss (%rcx,%r13,4), %xmm0
testl %r12d, %r12d
leal -0x1(%rax), %ebp
vxorps %xmm2, %xmm2, %xmm2
vxorps %xmm3, %xmm3, %xmm3
setg %r12b
testl %eax, %eax
setg %r13b
andb %r12b, %r13b
cmpb $0x1, %r13b
jne 0x5380f
imull %edx, %r15d
addl %ebp, %r15d
movslq %r15d, %r15
vmovss (%rcx,%r15,4), %xmm3
testl %ebx, %ebx
leal -0x1(%r14), %r15d
setg %r12b
testl %r14d, %r14d
setg %r13b
andb %r12b, %r13b
cmpb $0x1, %r13b
jne 0x5383c
movl %r15d, %r12d
imull %edx, %r12d
addl %r11d, %r12d
movslq %r12d, %r12
vmovss (%rcx,%r12,4), %xmm2
testl %r14d, %r14d
vxorps %xmm5, %xmm5, %xmm5
vxorps %xmm4, %xmm4, %xmm4
setg %r14b
testl %eax, %eax
setg %r12b
andb %r14b, %r12b
cmpb $0x1, %r12b
jne 0x5386a
imull %edx, %r15d
addl %ebp, %r15d
movslq %r15d, %r14
vmovss (%rcx,%r14,4), %xmm4
testl %ebx, %ebx
leal -0x1(%r10), %r14d
setg %bl
testl %r10d, %r10d
setg %r15b
andb %bl, %r15b
cmpb $0x1, %r15b
jne 0x53895
movl %r14d, %ebx
imull %edx, %ebx
addl %r11d, %ebx
movslq %ebx, %r11
vmovss (%rcx,%r11,4), %xmm5
testl %r10d, %r10d
vxorps %xmm7, %xmm7, %xmm7
vxorps %xmm6, %xmm6, %xmm6
setg %r11b
testl %esi, %esi
setg %sil
andb %r11b, %sil
cmpb $0x1, %sil
jne 0x538c3
movl %r14d, %esi
imull %edx, %esi
addl %edi, %esi
movslq %esi, %rsi
vmovss (%rcx,%rsi,4), %xmm6
testl %r10d, %r10d
setg %sil
testl %eax, %eax
setg %al
andb %sil, %al
cmpb $0x1, %al
jne 0x538e5
imull %edx, %r14d
addl %ebp, %r14d
movslq %r14d, %rax
vmovss (%rcx,%rax,4), %xmm7
vsubss %xmm6, %xmm0, %xmm0
vmovss 0xc99b(%rip), %xmm6 # 0x6028c
vsubss %xmm1, %xmm7, %xmm1
vsubss %xmm3, %xmm5, %xmm3
vfmadd213ss %xmm1, %xmm6, %xmm0 # xmm0 = (xmm6 * xmm0) + xmm1
vaddss %xmm0, %xmm3, %xmm0
vmovss %xmm0, (%r8)
vsubss %xmm4, %xmm2, %xmm0
vfmadd213ss %xmm1, %xmm6, %xmm0 # xmm0 = (xmm6 * xmm0) + xmm1
vsubss %xmm3, %xmm0, %xmm0
vmovss %xmm0, (%r9)
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.h
|
box_integral_improved(integral_image*, int, int, int, int)
|
inline float box_integral_improved(struct integral_image *iimage, int row, int col, int rows, int cols) {
float *data = (float *)iimage->data;
int data_width = iimage->data_width;
int width = iimage->width;
int height = iimage->height;
float temp0, temp1, res;
// subtracting by one for row/col because row/col is inclusive.
int r0 = MIN(row, height) - 1; // r - 3
int c0 = MIN(col, width) - 1; // c - b - 1
int r1 = MIN(row + rows, height) - 1; // r - 3 + 5
int c1 = MIN(col + cols, width) - 1; // c - b + filter_size - 1
// Example with 9x9 filter at (0,0)
// A: (-3, -5)
// B: (-3, 8)
// C: (2, -1)
// D: (2, 4)
float A = 0.0f;
float B = 0.0f;
float C = 0.0f;
float D = 0.0f;
if (r0 >= 0 && c0 >= 0) {
A = data[r0 * data_width + c0];
}
if (r0 >= 0 && c1 >= 0) {
B = data[r0 * data_width + c1];
}
if (r1 >= 0 && c0 >= 0) {
C = data[r1 * data_width + c0];
}
if (r1 >= 0 && c1 >= 0) {
D = data[r1 * data_width + c1];
}
// there was a floating point arithmetic bug in the original implementation
// this fixes it and now fmaxf is not needed
// use this for validation:
temp0 = A - C;
temp1 = D - B;
res = temp0 + temp1;
return res;
}
|
pushq %rbp
pushq %r14
pushq %rbx
movl 0x4(%rdi), %r14d
movl (%rdi), %ebp
movl %esi, %ebx
movl %edx, %r10d
movq 0x8(%rdi), %rax
movl 0x10(%rdi), %r9d
vxorps %xmm0, %xmm0, %xmm0
vxorps %xmm1, %xmm1, %xmm1
cmpl %esi, %r14d
cmovll %r14d, %ebx
cmpl %edx, %ebp
cmovll %ebp, %r10d
addl %esi, %ecx
leal -0x1(%rbx), %r11d
cmpl %r14d, %ecx
leal -0x1(%r10), %edi
cmovgel %r14d, %ecx
addl %edx, %r8d
cmpl %ebp, %r8d
cmovgel %ebp, %r8d
testl %ebx, %ebx
setg %dl
testl %r10d, %r10d
setg %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x53c5b
movl %r11d, %edx
imull %r9d, %edx
addl %edi, %edx
movslq %edx, %rdx
vmovss (%rax,%rdx,4), %xmm1
testl %ebx, %ebx
leal -0x1(%r8), %edx
setg %sil
testl %r8d, %r8d
setg %bl
andb %sil, %bl
cmpb $0x1, %bl
jne 0x53c82
imull %r9d, %r11d
addl %edx, %r11d
movslq %r11d, %rsi
vmovss (%rax,%rsi,4), %xmm0
testl %r10d, %r10d
leal -0x1(%rcx), %esi
vxorps %xmm2, %xmm2, %xmm2
vxorps %xmm3, %xmm3, %xmm3
setg %r10b
testl %ecx, %ecx
setg %r11b
andb %r10b, %r11b
cmpb $0x1, %r11b
jne 0x53cb5
movl %esi, %r10d
imull %r9d, %r10d
addl %edi, %r10d
movslq %r10d, %rdi
vmovss (%rax,%rdi,4), %xmm3
testl %ecx, %ecx
setg %cl
testl %r8d, %r8d
setg %dil
andb %cl, %dil
cmpb $0x1, %dil
jne 0x53cd8
imull %r9d, %esi
addl %edx, %esi
movslq %esi, %rcx
vmovss (%rax,%rcx,4), %xmm2
vsubss %xmm0, %xmm2, %xmm0
vsubss %xmm3, %xmm1, %xmm1
vaddss %xmm0, %xmm1, %xmm0
popq %rbx
popq %r14
popq %rbp
retq
nopl (%rax)
|
/laurinpaech[P]Haswellhof/src/optimization/integral_image_opt.h
|
validate_integral_image_int(void (*)(unsigned char*, integral_image*), std::vector<void (*)(unsigned char*, integral_image*), std::allocator<void (*)(unsigned char*, integral_image*)>> const&, int, int, unsigned char*, bool)
|
bool validate_integral_image_int(void (*original_function)(uint8_t *, struct integral_image *),
const std::vector<void (*)(uint8_t *, struct integral_image *)> &test_functions, int width,
int height, uint8_t *image, bool is_padded) {
// Checking if original integral image should be padded and initializing it
struct integral_image *original_iimage;
if (!is_padded) {
original_iimage = create_integral_img(width, height);
} else {
original_iimage = create_padded_integral_img(width, height);
}
// Compute original integral image
original_function(image, original_iimage);
bool all_functions_equal = true;
// Iterating through all test functions
for (int j = 0; j < test_functions.size(); ++j) {
// Checking if original integral image should be padded and initializing it
struct integral_image *optimized_iimage;
if (!is_padded) {
optimized_iimage = create_integral_img(width, height);
} else {
optimized_iimage = create_padded_integral_img(width, height);
}
// Compute integral image
test_functions[j](image, optimized_iimage);
if (!are_float_matrices_equal(original_iimage->padded_data,
optimized_iimage->padded_data,
original_iimage->data_width,
original_iimage->data_height)) {
all_functions_equal = false;
printf("Error: compute_integral_img_int() test function %d does not match original function.\n", j);
}
free(optimized_iimage->padded_data);
free(optimized_iimage);
}
free(original_iimage->padded_data);
free(original_iimage);
return all_functions_equal;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movq %r8, 0x10(%rsp)
movl %ecx, %ebp
movl %edx, %r15d
movl %r9d, 0xc(%rsp)
movl %edx, %edi
movl %ecx, %esi
testl %r9d, %r9d
je 0x53e1d
callq 0xc01b
jmp 0x53e22
callq 0x8590
movq 0x10(%rsp), %rdi
movq %rax, %rsi
movq %rax, %r13
callq *%rbx
movb $0x1, %al
xorl %ebx, %ebx
movl %eax, 0x8(%rsp)
movq 0x8(%r12), %rax
subq (%r12), %rax
sarq $0x3, %rax
cmpq %rbx, %rax
jbe 0x53ec2
cmpb $0x0, 0xc(%rsp)
je 0x53e5c
movl %r15d, %edi
movl %ebp, %esi
callq 0xc01b
jmp 0x53e66
movl %r15d, %edi
movl %ebp, %esi
callq 0x8590
movq %rax, %r14
movq (%r12), %rax
movq 0x10(%rsp), %rdi
movq %r14, %rsi
callq *(%rax,%rbx,8)
movq 0x18(%r13), %rdi
movq 0x18(%r14), %rsi
movl 0x10(%r13), %edx
movl 0x14(%r13), %ecx
callq 0x546b4
testb %al, %al
jne 0x53ea9
leaq 0xc8aa(%rip), %rdi # 0x60742
movl $0x0, 0x8(%rsp)
movl %ebx, %esi
xorl %eax, %eax
callq 0x8040
movq 0x18(%r14), %rdi
callq 0x8190
movq %r14, %rdi
callq 0x8190
incq %rbx
jmp 0x53e37
movq 0x18(%r13), %rdi
callq 0x8190
movq %r13, %rdi
callq 0x8190
movl 0x8(%rsp), %eax
andb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/validation/validation.cpp
|
validate_get_msurf_descriptors(void (*)(integral_image*, interest_point*), std::vector<void (*)(integral_image*, interest_point*), std::allocator<void (*)(integral_image*, interest_point*)>> const&, integral_image*, std::vector<interest_point, std::allocator<interest_point>> const*)
|
bool validate_get_msurf_descriptors(
void (*original_function)(struct integral_image *, struct interest_point *),
const std::vector<void (*)(struct integral_image *, struct interest_point *)> &test_functions,
struct integral_image *iimage, const std::vector<struct interest_point> *interest_points) {
// Copying over interest points to new vector
std::vector<struct interest_point> original_interest_points = *interest_points;
bool all_valid = true;
for (int i = 50; i < interest_points->size(); ++i) {
struct interest_point ref_ipoint = interest_points->at(i);
original_function(iimage, &ref_ipoint);
bool valid = true;
for (int j = 0; j < test_functions.size(); ++j) {
struct interest_point test_ipoint = interest_points->at(i);
test_functions[j](iimage, &test_ipoint);
bool valid = compare_arrays_close(ref_ipoint.descriptor, test_ipoint.descriptor, 64, VALIDATION_PRECISION);
if (!valid) {
printf("ERROR: MSURF descriptor test function %d does not match original function\n", j);
}
// Updating flag indicating if all functions are valid
all_valid &= valid;
}
}
return all_valid;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rdi, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
movq %rsi, %r15
movq %rcx, %rsi
movq %rcx, %rbx
movq %rdx, 0x8(%rsp)
callq 0x54852
movb $0x1, %bpl
pushq $0x32
popq %r12
movq 0x8(%rbx), %rax
movl $0x114, %ecx # imm = 0x114
subq (%rbx), %rax
cqto
idivq %rcx
cmpq %r12, %rax
jbe 0x54679
movq %rbx, %r13
movq %rbx, %rdi
movq %r12, %rsi
callq 0x548aa
leaq 0x144(%rsp), %rbx
movl $0x114, %edx # imm = 0x114
movq %rax, %rsi
movq %rbx, %rdi
callq 0x80e0
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq *0x10(%rsp)
xorl %r14d, %r14d
movq 0x8(%r15), %rax
subq (%r15), %rax
sarq $0x3, %rax
cmpq %r14, %rax
jbe 0x5466e
movq %r13, %rdi
movq %r12, %rsi
callq 0x548aa
leaq 0x30(%rsp), %rbx
movl $0x114, %edx # imm = 0x114
movq %rax, %rsi
movq %rbx, %rdi
callq 0x80e0
movq (%r15), %rax
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq *(%rax,%r14,8)
leaq 0x158(%rsp), %rdi
leaq 0x44(%rsp), %rsi
pushq $0x40
popq %rdx
vmovss 0xc096(%rip), %xmm0 # 0x606e0
callq 0x547b5
movl %eax, %ebx
testb %al, %al
jne 0x54666
leaq 0xc3e2(%rip), %rdi # 0x60a3e
movl %r14d, %esi
xorl %eax, %eax
callq 0x8040
andb %bl, %bpl
incq %r14
jmp 0x545f3
incq %r12
movq %r13, %rbx
jmp 0x545a4
leaq 0x18(%rsp), %rdi
callq 0xbd0e
andb $0x1, %bpl
movl %ebp, %eax
addq $0x258, %rsp # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5469f
jmp 0x5469f
leaq 0x18(%rsp), %rdi
movq %rax, %rbx
callq 0xbd0e
movq %rbx, %rdi
callq 0x8280
|
/laurinpaech[P]Haswellhof/src/validation/validation.cpp
|
are_bool_matrices_equal(bool*, bool*, int, int)
|
inline bool are_bool_matrices_equal(bool *matrix1, bool *matrix2, int width, int height) {
for (int i = 0; i < height; i++) {
for (int j = 0; j < width; j++) {
if (matrix1[i * width + j] != matrix2[i * width + j]) {
printf("DIFFERENCE LAPLACIAN: (%i, %i)\n", i, j);
return false;
}
}
}
return true;
}
|
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %eax
sarl $0x1f, %eax
movl %ebx, %r8d
sarl $0x1f, %r8d
movslq %edx, %rcx
xorl %r14d, %r14d
andnl %edx, %eax, %eax
andnl %ebx, %r8d, %r8d
cmpq %r8, %r14
je 0x547a4
xorl %edx, %edx
cmpq %rdx, %rax
je 0x54788
movb (%rdi,%rdx), %r9b
cmpb (%rsi,%rdx), %r9b
jne 0x54793
incq %rdx
jmp 0x54774
incq %r14
addq %rcx, %rdi
addq %rcx, %rsi
jmp 0x5476d
leaq 0xc321(%rip), %rdi # 0x60abb
movl %r14d, %esi
xorl %eax, %eax
callq 0x8040
movslq %ebx, %rax
cmpq %rax, %r14
setge %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
|
/laurinpaech[P]Haswellhof/src/base/helper.h
|
stbi__load_and_postprocess_16bit(stbi__context*, int*, int*, int*, int)
|
static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x, int *y, int *comp, int req_comp)
{
stbi__result_info ri;
void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 16);
if (result == NULL)
return NULL;
if (ri.bits_per_channel != 16) {
STBI_ASSERT(ri.bits_per_channel == 8);
result = stbi__convert_8_to_16((stbi_uc *) result, *x, *y, req_comp == 0 ? *comp : req_comp);
ri.bits_per_channel = 16;
}
// @TODO: move stbi__convert_format16 to here
// @TODO: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision
if (stbi__vertically_flip_on_load) {
int channels = req_comp ? req_comp : *comp;
stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi__uint16));
}
return (stbi__uint16 *) result;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x1c(%rsp), %r9
movl %r8d, %ebx
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movl $0x10, (%rsp)
callq 0x56ab1
testq %rax, %rax
je 0x54d95
cmpl $0x10, 0x1c(%rsp)
movq %rax, %rbp
movq %r13, 0x10(%rsp)
jne 0x54d9d
movq %rbp, %r13
jmp 0x54e0b
xorl %r13d, %r13d
jmp 0x54e51
movl (%r15), %eax
movl (%r14), %r12d
movl %ebx, %ecx
testl %ebx, %ebx
jne 0x54dad
movl (%r13), %ecx
imull %eax, %r12d
imull %ecx, %r12d
leal (%r12,%r12), %eax
movslq %eax, %rdi
callq 0x81b0
movq %rax, %r13
testq %rax, %rax
je 0x54dfb
movl %r12d, %eax
sarl $0x1f, %eax
xorl %ecx, %ecx
andnl %r12d, %eax, %eax
cmpq %rcx, %rax
je 0x54df1
movzbl (%rbp,%rcx), %edx
imull $0x101, %edx, %edx # imm = 0x101
movw %dx, (%r13,%rcx,2)
incq %rcx
jmp 0x54dd6
movq %rbp, %rdi
callq 0x8190
jmp 0x54e0b
leaq 0xc5c5(%rip), %rax # 0x613c7
movq %rax, %fs:-0x10
movq %fs:0x0, %rax
cmpl $0x0, %fs:-0x4
leaq 0x144c0(%rip), %rcx # 0x692e4
leaq -0x8(%rax), %rax
cmovneq %rax, %rcx
cmpl $0x0, (%rcx)
je 0x54e51
testl %ebx, %ebx
jne 0x54e3f
movq 0x10(%rsp), %rax
movl (%rax), %ebx
movl (%r15), %esi
movl (%r14), %edx
addl %ebx, %ebx
movq %r13, %rdi
movl %ebx, %ecx
callq 0x59f1b
movq %r13, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_load_16_from_memory
|
STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
{
stbi__context s;
stbi__start_mem(&s,buffer,len);
return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
}
|
subq $0xd8, %rsp
movq %rsp, %rax
andq $0x0, 0x10(%rax)
andl $0x0, 0x30(%rax)
movslq %esi, %rsi
movq %rdi, 0xc8(%rax)
movq %rdi, 0xb8(%rax)
addq %rdi, %rsi
movq %rax, %rdi
movq %rsi, 0xd0(%rax)
movq %rsi, 0xc0(%rax)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movl %r9d, %r8d
callq 0x54d51
addq $0xd8, %rsp
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_load_from_memory
|
STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
{
stbi__context s;
stbi__start_mem(&s,buffer,len);
return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
}
|
subq $0xd8, %rsp
movq %rsp, %rax
andq $0x0, 0x10(%rax)
andl $0x0, 0x30(%rax)
movslq %esi, %rsi
movq %rdi, 0xc8(%rax)
movq %rdi, 0xb8(%rax)
addq %rdi, %rsi
movq %rax, %rdi
movq %rsi, 0xd0(%rax)
movq %rsi, 0xc0(%rax)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movl %r9d, %r8d
callq 0x54bd2
addq $0xd8, %rsp
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_loadf
|
STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp)
{
float *result;
FILE *f = stbi__fopen(filename, "rb");
if (!f) return stbi__errpf("can't fopen", "Unable to open file");
result = stbi_loadf_from_file(f,x,y,comp,req_comp);
fclose(f);
return result;
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r12
leaq 0xbcae(%rip), %rsi # 0x61290
movl %r8d, %ebx
movq %rcx, %r14
movq %rdx, %r15
callq 0x8180
testq %rax, %rax
je 0x5561c
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movl %ebx, %r8d
callq 0x55638
movq %r13, %rdi
movq %rax, %rbx
callq 0x8130
movq %rbx, %rax
jmp 0x5562e
leaq 0xbc70(%rip), %rax # 0x61293
movq %rax, %fs:-0x10
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__hdr_test(stbi__context*)
|
static int stbi__hdr_test(stbi__context* s)
{
int r = stbi__hdr_test_core(s, "#?RADIANCE\n");
stbi__rewind(s);
if(!r) {
r = stbi__hdr_test_core(s, "#?RGBE\n");
stbi__rewind(s);
}
return r;
}
|
pushq %rbx
leaq 0xc0ed(%rip), %rsi # 0x617c3
movq %rdi, %rbx
callq 0x5f693
vmovups 0xc8(%rbx), %xmm0
vmovups %xmm0, 0xb8(%rbx)
testl %eax, %eax
je 0x556f7
pushq $0x1
popq %rax
popq %rbx
retq
leaq 0xc0d1(%rip), %rsi # 0x617cf
movq %rbx, %rdi
callq 0x5f693
vmovups 0xc8(%rbx), %xmm0
vmovups %xmm0, 0xb8(%rbx)
popq %rbx
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_zlib_decode_malloc_guesssize_headerflag
|
STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header)
{
stbi__zbuf a;
char *p = (char *) stbi__malloc(initial_size);
if (p == NULL) return NULL;
a.zbuffer = (stbi_uc *) buffer;
a.zbuffer_end = (stbi_uc *) buffer + len;
if (stbi__do_zlib(&a, p, initial_size, 1, parse_header)) {
if (outlen) *outlen = (int) (a.zout - a.zout_start);
return a.zout_start;
} else {
STBI_FREE(a.zout_start);
return NULL;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1000, %rsp # imm = 0x1000
movq %rdi, %r15
movslq %edx, %rdi
movl %r8d, %ebp
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %r12d
callq 0x81b0
testq %rax, %rax
je 0x55e70
movslq %r12d, %rcx
movq %rsp, %rdi
movq %r15, (%rdi)
addq %r15, %rcx
movq %rcx, 0x8(%rdi)
pushq $0x1
popq %rcx
movq %rax, %rsi
movl %r14d, %edx
movl %ebp, %r8d
callq 0x55883
testl %eax, %eax
je 0x55e66
testq %rbx, %rbx
je 0x55e82
movl 0x18(%rsp), %ecx
movq 0x20(%rsp), %rax
subl %eax, %ecx
movl %ecx, (%rbx)
jmp 0x55e72
movq 0x20(%rsp), %rdi
callq 0x8190
xorl %eax, %eax
addq $0x1000, %rsp # imm = 0x1000
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x20(%rsp), %rax
jmp 0x55e72
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_zlib_decode_noheader_malloc
|
STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen)
{
stbi__zbuf a;
char *p = (char *) stbi__malloc(16384);
if (p == NULL) return NULL;
a.zbuffer = (stbi_uc *) buffer;
a.zbuffer_end = (stbi_uc *) buffer+len;
if (stbi__do_zlib(&a, p, 16384, 1, 0)) {
if (outlen) *outlen = (int) (a.zout - a.zout_start);
return a.zout_start;
} else {
STBI_FREE(a.zout_start);
return NULL;
}
}
|
pushq %rbp
pushq %r14
pushq %rbx
subq $0x1000, %rsp # imm = 0x1000
movq %rdi, %r14
movl $0x4000, %edi # imm = 0x4000
movq %rdx, %rbx
movl %esi, %ebp
callq 0x81b0
testq %rax, %rax
je 0x55f33
movslq %ebp, %rcx
movq %rsp, %rdi
movq %r14, (%rdi)
addq %r14, %rcx
movq %rcx, 0x8(%rdi)
pushq $0x1
popq %rcx
movl $0x4000, %edx # imm = 0x4000
movq %rax, %rsi
xorl %r8d, %r8d
callq 0x55883
testl %eax, %eax
je 0x55f29
testq %rbx, %rbx
je 0x55f41
movl 0x18(%rsp), %ecx
movq 0x20(%rsp), %rax
subl %eax, %ecx
movl %ecx, (%rbx)
jmp 0x55f35
movq 0x20(%rsp), %rdi
callq 0x8190
xorl %eax, %eax
addq $0x1000, %rsp # imm = 0x1000
popq %rbx
popq %r14
popq %rbp
retq
movq 0x20(%rsp), %rax
jmp 0x55f35
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__info_main(stbi__context*, int*, int*, int*)
|
static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp)
{
#ifndef STBI_NO_JPEG
if (stbi__jpeg_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_PNG
if (stbi__png_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_GIF
if (stbi__gif_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_BMP
if (stbi__bmp_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_PSD
if (stbi__psd_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_PIC
if (stbi__pic_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_PNM
if (stbi__pnm_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_HDR
if (stbi__hdr_info(s, x, y, comp)) return 1;
#endif
// test tga last because it's a crappy test!
#ifndef STBI_NO_TGA
if (stbi__tga_info(s, x, y, comp))
return 1;
#endif
return stbi__err("unknown image type", "Image not of any known type, or corrupt");
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp # imm = 0x428
movq %rdi, %r12
movl $0x4888, %edi # imm = 0x4888
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
callq 0x81b0
movq %rax, %r13
movq %r12, (%rax)
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x5a51d
movl %eax, %ebp
testl %eax, %eax
je 0x560d6
testq %r15, %r15
je 0x560ad
movq (%r13), %rax
movl (%rax), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x560bc
movq (%r13), %rax
movl 0x4(%rax), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x560ea
movq (%r13), %rax
xorl %ecx, %ecx
cmpl $0x3, 0x8(%rax)
setge %cl
leal 0x1(%rcx,%rcx), %eax
movl %eax, (%rbx)
jmp 0x560ea
movq (%r13), %rax
vmovups 0xc8(%rax), %xmm0
vmovups %xmm0, 0xb8(%rax)
movq %r13, %rdi
callq 0x8190
pushq $0x1
popq %r13
testl %ebp, %ebp
jne 0x56158
leaq 0x20(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
movq %r12, (%rdi)
callq 0x5f6d8
testl %eax, %eax
jne 0x56158
movl $0x8870, %edi # imm = 0x8870
callq 0x81b0
movq %rax, %rbp
pushq $0x1
popq %r13
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
movl %r13d, %ecx
callq 0x5eb89
testl %eax, %eax
je 0x5616d
testq %r15, %r15
je 0x56145
movl (%rbp), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x56150
movl 0x4(%rbp), %eax
movl %eax, (%r14)
movq %rbp, %rdi
callq 0x8190
movl %r13d, %eax
addq $0x428, %rsp # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbp, %rdi
callq 0x8190
vmovups 0xc8(%r12), %xmm0
leaq 0x20(%rsp), %rsi
movq %r12, %rdi
vmovups %xmm0, 0xb8(%r12)
movl $0xff, 0x1c(%rsi)
callq 0x5e1ab
vmovups 0xc8(%r12), %xmm0
vmovups %xmm0, 0xb8(%r12)
testq %rax, %rax
je 0x56202
testq %r15, %r15
je 0x561c2
movl (%r12), %eax
movl %eax, (%r15)
testq %r14, %r14
je 0x561cf
movl 0x4(%r12), %eax
movl %eax, (%r14)
testq %rbx, %rbx
je 0x56158
movl 0x20(%rsp), %eax
movl 0x38(%rsp), %ecx
movl %ecx, %edx
xorl $0x18, %eax
xorl $0xff000000, %edx # imm = 0xFF000000
orl %eax, %edx
sete %al
testl %ecx, %ecx
sete %cl
orb %al, %cl
movzbl %cl, %eax
pushq $0x4
popq %rcx
subl %eax, %ecx
movl %ecx, (%rbx)
jmp 0x56158
movq %r12, %rdi
callq 0x5d459
cmpl $0x38425053, %eax # imm = 0x38425053
jne 0x56289
movq %r12, %rdi
callq 0x5b7ba
cmpl $0x1, %eax
jne 0x56289
pushq $0x6
popq %rsi
movq %r12, %rdi
callq 0x5b95d
movq %r12, %rdi
callq 0x5b7ba
cmpl $0x10, %eax
ja 0x56289
movq %r12, %rdi
callq 0x5d459
testq %r14, %r14
je 0x56246
movl %eax, (%r14)
movq %r12, %rdi
callq 0x5d459
testq %r15, %r15
je 0x56256
movl %eax, (%r15)
movq %r12, %rdi
callq 0x5b7ba
cmpl $0x10, %eax
je 0x56268
cmpl $0x8, %eax
jne 0x56289
movq %r12, %rdi
callq 0x5b7ba
cmpl $0x3, %eax
jne 0x56289
testq %rbx, %rbx
je 0x56158
movl $0x4, (%rbx)
jmp 0x56158
vmovups 0xc8(%r12), %xmm0
leaq 0xb3fb(%rip), %rsi # 0x61695
movq %r12, %rdi
vmovups %xmm0, 0xb8(%r12)
callq 0x5ee1a
testl %eax, %eax
je 0x562ed
pushq $0x58
popq %rsi
movq %r12, %rdi
callq 0x5b95d
movq %r12, %rdi
callq 0x5b7ba
movl %eax, %ebp
testq %r15, %r15
je 0x562cd
movl %ebp, (%r15)
movq %r12, %rdi
callq 0x5b7ba
testq %r14, %r14
je 0x562df
movl %eax, (%r14)
jmp 0x562e1
movl %eax, %ebp
movq %r12, %rdi
callq 0x5b6ff
testl %eax, %eax
je 0x56362
vmovups 0xc8(%r12), %xmm0
vmovups %xmm0, 0xb8(%r12)
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x5eedd
testl %eax, %eax
jne 0x56158
movq %r12, %rdi
callq 0x556ce
testl %eax, %eax
je 0x564bb
xorl %ebp, %ebp
leaq 0x20(%rsp), %rsi
movq %r12, %rdi
callq 0x5f09e
cmpb $0x0, 0x20(%rsp)
je 0x5641f
leaq 0x20(%rsp), %rdi
leaq 0xb38d(%rip), %rsi # 0x616dd
pushq $0x17
popq %rdx
callq 0x8160
testl %eax, %eax
pushq $0x1
popq %rax
cmovel %eax, %ebp
jmp 0x5632c
movl %ebp, %ecx
testq %r15, %r15
je 0x5636c
movl (%r15), %ecx
testl %ecx, %ecx
je 0x56389
movl $0x10000000, %eax # imm = 0x10000000
xorl %edx, %edx
idivl %ecx
testq %r14, %r14
je 0x56381
movl (%r14), %ebp
cmpl %ebp, %eax
jl 0x562ed
pushq $0x8
popq %rsi
movq %r12, %rdi
callq 0x5b95d
xorl %eax, %eax
pushq $0xb
popq %rcx
decl %ecx
je 0x56301
movq %r12, %rdi
movl %ecx, 0xc(%rsp)
movl %eax, 0x10(%rsp)
callq 0x5b739
movq %r12, %rdi
movb %al, 0x8(%rsp)
callq 0x5b739
movq %r12, %rdi
movb %al, 0x7(%rsp)
callq 0x5b739
movq %r12, %rdi
callq 0x5b739
movq %r12, %rdi
movl %eax, %ebp
callq 0x5b6ff
testl %eax, %eax
jne 0x562ed
cmpb $0x8, 0x7(%rsp)
jne 0x562ed
movl 0x10(%rsp), %ecx
movzbl %bpl, %eax
orl %eax, %ecx
cmpb $0x0, 0x8(%rsp)
movl %ecx, %eax
movl 0xc(%rsp), %ecx
jne 0x56399
testq %rbx, %rbx
je 0x56158
andl $0x10, %eax
cmpl $0x1, %eax
pushq $0x4
popq %rax
sbbl $0x0, %eax
jmp 0x56617
testl %ebp, %ebp
je 0x564bb
leaq 0x20(%rsp), %rbp
movq %r12, %rdi
movq %rbp, %rsi
callq 0x5f09e
leaq 0xb2c9(%rip), %rsi # 0x61707
pushq $0x3
popq %rdx
movq %rbp, %rdi
callq 0x8160
testl %eax, %eax
jne 0x564bb
leaq 0x23(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq %rdi, (%rsi)
pushq $0xa
popq %rdx
callq 0x81d0
testq %r14, %r14
je 0x5646a
movl %eax, (%r14)
movq 0x18(%rsp), %rdi
addq $0x2, %rdi
movzbl -0x2(%rdi), %eax
incq %rdi
cmpl $0x20, %eax
je 0x56473
cmpl $0x2b, %eax
jne 0x564bb
cmpb $0x58, -0x2(%rdi)
jne 0x564bb
cmpb $0x20, -0x1(%rdi)
jne 0x564bb
movq %rdi, 0x18(%rsp)
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x81d0
testq %r15, %r15
je 0x564a7
movl %eax, (%r15)
testq %rbx, %rbx
je 0x564b2
movl $0x3, (%rbx)
pushq $0x1
popq %r13
jmp 0x56158
vmovups 0xc8(%r12), %xmm0
movq %r12, %rdi
vmovups %xmm0, 0xb8(%r12)
callq 0x5b739
movq %r12, %rdi
callq 0x5b739
cmpb $0x1, %al
jbe 0x5650f
vmovups 0xc8(%r12), %xmm0
leaq 0xadc8(%rip), %rax # 0x612bc
xorl %r13d, %r13d
vmovups %xmm0, 0xb8(%r12)
movq %rax, %fs:-0x10
jmp 0x56158
movq %r12, %rdi
movl %eax, %ebp
callq 0x5b739
movb %al, 0x7(%rsp)
cmpb $0x1, %bpl
jne 0x5655c
andb $-0x9, %al
cmpb $0x1, %al
jne 0x564e3
pushq $0x4
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0x5b95d
movq %r12, %rdi
callq 0x5b739
cmpb $0x20, %al
ja 0x564e3
movzbl %al, %ecx
movabsq $0x101018100, %rax # imm = 0x101018100
btq %rcx, %rax
movq %rcx, 0x10(%rsp)
jb 0x5656e
jmp 0x564e3
andb $-0xa, %al
cmpb $0x2, %al
jne 0x564e3
movq $0x0, 0x10(%rsp)
pushq $0x9
popq %rbp
movq %r12, %rdi
movl %ebp, %esi
callq 0x5b95d
movq %r12, %rdi
callq 0x5e186
movl %eax, 0xc(%rsp)
testl %eax, %eax
je 0x564e3
movq %r12, %rdi
callq 0x5e186
movl %eax, 0x8(%rsp)
testl %eax, %eax
je 0x564e3
movq %r12, %rdi
callq 0x5b739
movq %r12, %rdi
movl %eax, %ebp
callq 0x5b739
cmpl $0x0, 0x10(%rsp)
je 0x565d5
cmpb $0x10, %bpl
je 0x565cc
movzbl %bpl, %eax
cmpl $0x8, %eax
jne 0x564e3
movq 0x10(%rsp), %rdi
xorl %esi, %esi
jmp 0x565e7
movb 0x7(%rsp), %al
xorl %esi, %esi
movzbl %bpl, %edi
andb $-0x9, %al
cmpb $0x3, %al
sete %sil
xorl %edx, %edx
callq 0x5f277
testl %eax, %eax
je 0x564e3
testq %r15, %r15
je 0x56602
movl 0xc(%rsp), %ecx
movl %ecx, (%r15)
testq %r14, %r14
je 0x5660e
movl 0x8(%rsp), %ecx
movl %ecx, (%r14)
testq %rbx, %rbx
je 0x56158
movl %eax, (%rbx)
jmp 0x56158
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi_is_16_bit_from_file
|
STBIDEF int stbi_is_16_bit_from_file(FILE *f)
{
int r;
stbi__context s;
long pos = ftell(f);
stbi__start_file(&s, f);
r = stbi__is_16_main(&s);
fseek(f,pos,SEEK_SET);
return r;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
callq 0x8030
movq %rsp, %r15
movq %rax, %r14
movq %r15, %rdi
movq %rbx, %rsi
callq 0x54bc3
movq %r15, %rdi
callq 0x566b1
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x8170
movl %ebp, %eax
addq $0xd8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
main
|
int main(int argc, char const *argv[])
{
if (argc != 3) {
printf("Invaid argument count.\nUsage:\n\t./surf image_path descriptor_file_target_path\n");
return 1;
}
int width, height, channels;
// Load image
stbi_ldr_to_hdr_gamma(1.0f);
float* image = stbi_loadf(argv[1], &width, &height, &channels, STBI_grey);
if (!image) {
printf("Could not open or find image\n");
return -1;
}
// Create integral image
struct integral_image* iimage = create_integral_img(width, height);
// Compute integral image
compute_integral_img(image, iimage);
// Fast-Hessian
struct fasthessian* fh = create_fast_hessian(iimage);
// Create octaves with response layers
create_response_map(fh);
// Compute responses for every layer
compute_response_layers(fh);
// Getting interest points with non-maximum supression
std::vector<struct interest_point> interest_points;
get_interest_points(fh, &interest_points);
// Getting M-SURF descriptors for each interest point
get_msurf_descriptors(iimage, &interest_points);
// Write results to file
FILE * fp = fopen(argv[2],"w");
printf("%d %d %d\n", iimage->width, iimage->height, channels);
for (size_t i=0; i<interest_points.size(); ++i) {
fprintf(fp, "%f %f %f %d ", interest_points[i].x, interest_points[i].y, interest_points[i].scale, interest_points[i].laplacian);
for(size_t j = 0; j < 64; j++) {
fprintf(fp, "%f ", interest_points[i].descriptor[j]);
}
fprintf(fp, "\n");
}
fclose(fp);
// Free memory
stbi_image_free(image); // possibly move this to create_integral_img
free(iimage->data);
free(iimage);
for (int i = 0; i < NUM_LAYERS; ++i) {
free(fh->response_map[i]->response);
free(fh->response_map[i]->laplacian);
free(fh->response_map[i]);
}
free(fh);
return 0;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpl $0x3, %edi
jne 0x569da
movl $0x3f800000, 0x128ee(%rip) # imm = 0x3F800000
movq %rsi, %r12
leaq 0x8(%rsp), %rdx
leaq 0x4(%rsp), %rcx
movq 0x8(%rsi), %rdi
leaq 0xc(%rsp), %rsi
pushq $0x1
popq %r8
callq 0x555cf
testq %rax, %rax
je 0x56a5a
movl 0xc(%rsp), %edi
movl 0x8(%rsp), %esi
movq %rax, %rbx
callq 0x8590
movq %rax, %r14
movq %rbx, 0x30(%rsp)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x85cd
movq %r14, %rdi
callq 0x8650
movq %rax, %rdi
movq %rax, %rbx
callq 0x86d1
movq %rbx, %rdi
callq 0x87d8
leaq 0x10(%rsp), %rsi
vxorps %xmm0, %xmm0, %xmm0
andq $0x0, 0x10(%rsi)
vmovaps %xmm0, (%rsi)
movq %rbx, %rdi
callq 0x8b0c
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x981d
movq 0x10(%r12), %rdi
leaq 0xa984(%rip), %rsi # 0x6129f
callq 0x8180
movl (%r14), %esi
movl 0x4(%r14), %edx
movl 0x4(%rsp), %ecx
leaq 0xa96f(%rip), %rdi # 0x612a1
movq %rax, %r12
xorl %eax, %eax
movq %r14, 0x28(%rsp)
xorl %r15d, %r15d
callq 0x8040
pushq $0x14
popq %r13
leaq 0xa969(%rip), %r14 # 0x612b8
movq 0x10(%rsp), %rcx
movq 0x18(%rsp), %rax
movl $0x114, %esi # imm = 0x114
subq %rcx, %rax
cqto
idivq %rsi
cmpq %rax, %r15
jae 0x569ea
imulq $0x114, %r15, %rax # imm = 0x114
leaq 0xa932(%rip), %rsi # 0x612ab
movq %r12, %rdi
vcvtss2sd (%rcx,%rax), %xmm3, %xmm0
movzbl 0x11(%rcx,%rax), %edx
vcvtss2sd 0x4(%rcx,%rax), %xmm3, %xmm1
vcvtss2sd 0x8(%rcx,%rax), %xmm3, %xmm2
movb $0x3, %al
callq 0x81e0
xorl %ebp, %ebp
cmpq $0x40, %rbp
je 0x569c0
movq 0x10(%rsp), %rax
movq %r12, %rdi
movq %r14, %rsi
addq %r13, %rax
vcvtss2sd (%rax,%rbp,4), %xmm3, %xmm0
movb $0x1, %al
callq 0x81e0
incq %rbp
jmp 0x5699b
pushq $0xa
popq %rdi
movq %r12, %rsi
callq 0x81a0
incq %r15
addq $0x114, %r13 # imm = 0x114
jmp 0x5694f
leaq 0xae13(%rip), %rdi # 0x617f4
callq 0x8220
pushq $0x1
jmp 0x56a68
movq %r12, %rdi
callq 0x8130
movq 0x30(%rsp), %rdi
callq 0x8190
movq 0x28(%rsp), %r14
movq 0x8(%r14), %rdi
callq 0x8190
movq %r14, %rdi
callq 0x8190
pushq $0x1
popq %r14
cmpq $0x5, %r14
je 0x56a44
movq (%rbx,%r14,8), %rax
movq 0x10(%rax), %rdi
callq 0x8190
movq (%rbx,%r14,8), %rax
movq 0x18(%rax), %rdi
callq 0x8190
movq (%rbx,%r14,8), %rdi
callq 0x8190
incq %r14
jmp 0x56a16
movq %rbx, %rdi
callq 0x8190
leaq 0x10(%rsp), %rdi
callq 0xbd0e
xorl %eax, %eax
jmp 0x56a69
leaq 0xad76(%rip), %rdi # 0x617d7
callq 0x8220
pushq $-0x1
popq %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %rdi
movq %rax, %rbx
callq 0xbd0e
movq %rbx, %rdi
callq 0x8280
|
/laurinpaech[P]Haswellhof/src/playground/main_playground.cpp
|
stbi__gif_test(stbi__context*)
|
static int stbi__gif_test(stbi__context *s)
{
int r = stbi__gif_test_raw(s);
stbi__rewind(s);
return r;
}
|
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5b739
xorl %ebp, %ebp
cmpb $0x47, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x49, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x46, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x38, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x39, %al
je 0x5a03e
movzbl %al, %eax
cmpl $0x37, %eax
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
xorl %ebp, %ebp
cmpb $0x61, %al
sete %bpl
vmovups 0xc8(%rbx), %xmm0
movl %ebp, %eax
vmovups %xmm0, 0xb8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__decode_jpeg_header(stbi__jpeg*, int)
|
static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan)
{
int m;
z->jfif = 0;
z->app14_color_transform = -1; // valid values are 0,1,2
z->marker = STBI__MARKER_none; // initialize cached marker to empty
m = stbi__get_marker(z);
if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG");
if (scan == STBI__SCAN_type) return 1;
m = stbi__get_marker(z);
while (!stbi__SOF(m)) {
if (!stbi__process_marker(z,m)) return 0;
m = stbi__get_marker(z);
while (m == STBI__MARKER_none) {
// some files have extra padding after their blocks, so ok, we'll scan
if (stbi__at_eof(z->s)) return stbi__err("no SOF", "Corrupt JPEG");
m = stbi__get_marker(z);
}
}
z->progressive = stbi__SOF_progressive(m);
if (!stbi__process_frame_header(z, scan)) return 0;
return 1;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000
movl %esi, %r14d
movq %rdi, %rbx
movq %rax, 0x4848(%rdi)
movb $-0x1, 0x4828(%rdi)
callq 0x5b265
cmpb $-0x28, %al
jne 0x5a5a5
pushq $0x1
popq %rbp
cmpl $0x1, %r14d
je 0x5a5b7
movq %rbx, %rdi
callq 0x5b265
movzbl %al, %esi
cmpb $-0x3e, %sil
je 0x5a5c8
movl %esi, %eax
andl $-0x2, %eax
cmpl $0xc0, %eax
je 0x5a5c8
movq %rbx, %rdi
callq 0x5b29d
testl %eax, %eax
je 0x5a5b5
movq %rbx, %rdi
callq 0x5b265
cmpb $-0x1, %al
jne 0x5a563
movq (%rbx), %rdi
callq 0x5b6ff
testl %eax, %eax
je 0x5a584
leaq 0x6d33(%rip), %rax # 0x612d6
jmp 0x5a5ac
leaq 0x6d23(%rip), %rax # 0x612cf
movq %rax, %fs:-0x10
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
cmpl $0xc2, %esi
sete %al
movl %eax, 0x4830(%rbx)
movq (%rbx), %r15
movq %r15, %rdi
callq 0x5b7ba
cmpl $0xa, %eax
ja 0x5a5f2
leaq 0x6d76(%rip), %rax # 0x61366
jmp 0x5a5ac
movq %r15, %rdi
movl %eax, %r12d
callq 0x5b739
cmpb $0x8, %al
jne 0x5a66c
movq %r15, %rdi
callq 0x5b7ba
movl %eax, 0x4(%r15)
testl %eax, %eax
je 0x5a678
movq %r15, %rdi
callq 0x5b7ba
movl %eax, (%r15)
testl %eax, %eax
je 0x5a73a
movq %r15, %rdi
callq 0x5b739
cmpb $0x4, %al
ja 0x5a746
movzbl %al, %eax
pushq $0x1a
popq %rcx
btl %eax, %ecx
jae 0x5a746
movl %eax, %ecx
imulq $0x60, %rcx, %rcx
xorl %edx, %edx
movl %eax, 0x8(%r15)
cmpq %rdx, %rcx
je 0x5a684
andq $0x0, 0x46d0(%rbx,%rdx)
andq $0x0, 0x46e8(%rbx,%rdx)
addq $0x60, %rdx
jmp 0x5a64f
leaq 0x6cff(%rip), %rax # 0x61372
jmp 0x5a5ac
leaq 0x6cfe(%rip), %rax # 0x6137d
jmp 0x5a5ac
leal 0x8(%rax,%rax,2), %eax
cmpl %eax, %r12d
jne 0x5a5e9
andl $0x0, 0x4850(%rbx)
leaq 0x46ac(%rbx), %r13
xorl %ecx, %ecx
movslq 0x8(%r15), %r12
cmpq %r12, %rcx
jge 0x5a752
movq %r15, %rdi
movq %rcx, %r12
callq 0x5b739
movzbl %al, %ecx
movl %ecx, -0xc(%r13)
cmpl $0x3, 0x8(%r15)
jne 0x5a6da
leaq 0x66b1(%rip), %rcx # 0x60d7f
cmpb (%r12,%rcx), %al
jne 0x5a6da
incl 0x4850(%rbx)
movq %r15, %rdi
callq 0x5b739
movzbl %al, %eax
movl %eax, %ecx
shrl $0x4, %ecx
movl %ecx, -0x8(%r13)
leal -0x50(%rax), %ecx
cmpb $-0x41, %cl
jbe 0x5a7b3
andl $0xf, %eax
movl %eax, -0x4(%r13)
addl $-0x5, %eax
cmpl $-0x5, %eax
jbe 0x5a7bf
movq %r15, %rdi
callq 0x5b739
movzbl %al, %eax
movq %r12, %rcx
incq %rcx
movl %eax, (%r13)
addq $0x60, %r13
cmpb $0x4, %al
jb 0x5a6a1
leaq 0x6c81(%rip), %rax # 0x613b6
jmp 0x5a5ac
leaq 0x6c4d(%rip), %rax # 0x6138e
jmp 0x5a5ac
leaq 0x6c49(%rip), %rax # 0x61396
jmp 0x5a5ac
testl %r14d, %r14d
jne 0x5a5b7
movl (%r15), %edi
movl 0x4(%r15), %esi
xorl %ebp, %ebp
movl %r12d, %edx
xorl %ecx, %ecx
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
callq 0x5b9b3
testl %eax, %eax
je 0x5a983
vpbroadcastd 0x63cf(%rip), %xmm0 # 0x60b58
movl %r12d, %eax
sarl $0x1f, %eax
andnl %r12d, %eax, %eax
imulq $0x60, %rax, %rcx
xorl %eax, %eax
cmpq %rax, %rcx
je 0x5a7cb
vmovq 0x46a4(%rbx,%rax), %xmm1
addq $0x60, %rax
vpmaxsd %xmm0, %xmm1, %xmm0
jmp 0x5a79a
leaq 0x6bf0(%rip), %rax # 0x613aa
jmp 0x5a5ac
leaq 0x6bea(%rip), %rax # 0x613b0
jmp 0x5a5ac
movq 0x28(%rsp), %rax
vmovd %xmm0, %edi
vpextrd $0x1, %xmm0, %r8d
movq %rcx, 0x40(%rsp)
vmovq %xmm0, 0x4688(%rbx)
xorl %edx, %edx
xorl %r14d, %r14d
leal (,%rdi,8), %ecx
leal (,%r8,8), %esi
movl %ecx, 0x4698(%rbx)
movl %esi, 0x469c(%rbx)
leal -0x1(%rax,%rdi,8), %eax
divl %ecx
leal -0x1(%r8), %ecx
xorl %edx, %edx
movl %eax, 0x18(%rsp)
movl %eax, 0x4690(%rbx)
movq 0x20(%rsp), %rax
leal -0x1(%rax,%r8,8), %eax
divl %esi
leal -0x1(%rdi), %edx
movq %rdi, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movl %ecx, 0xc(%rsp)
movl %edx, 0x10(%rsp)
movl %eax, 0x14(%rsp)
movl %eax, 0x4694(%rbx)
pushq $0x1
popq %rbp
movl %ebp, 0x8(%rsp)
cmpq %r14, 0x40(%rsp)
je 0x5a5b7
movl 0x46a4(%rbx,%r14), %r13d
movl 0x46a8(%rbx,%r14), %r15d
xorl %edx, %edx
movl %r13d, %eax
imull 0x28(%rsp), %eax
addl 0x10(%rsp), %eax
divl 0x38(%rsp)
xorl %edx, %edx
movl %eax, 0x46bc(%rbx,%r14)
movl %r15d, %eax
imull 0x20(%rsp), %eax
addl 0xc(%rsp), %eax
divl 0x30(%rsp)
imull 0x18(%rsp), %r13d
imull 0x14(%rsp), %r15d
leal (,%r15,8), %r12d
leal (,%r13,8), %edi
movl %edi, 0x1c(%rsp)
movl %r12d, %esi
movl %eax, 0x46c0(%rbx,%r14)
movl %edi, 0x46c4(%rbx,%r14)
movl %r12d, 0x46c8(%rbx,%r14)
pushq $0xf
popq %rdx
callq 0x5ba10
andq $0x0, 0x46f0(%rbx,%r14)
vpxor %xmm0, %xmm0, %xmm0
vmovdqu %xmm0, 0x46e0(%rbx,%r14)
movq %rax, 0x46d8(%rbx,%r14)
testq %rax, %rax
je 0x5a962
addq $0xf, %rax
andq $-0x10, %rax
movq %rax, 0x46d0(%rbx,%r14)
cmpl $0x0, 0x4830(%rbx)
je 0x5a955
movl 0x1c(%rsp), %edi
movl %r13d, 0x46f8(%rbx,%r14)
movl %r15d, 0x46fc(%rbx,%r14)
movl %r12d, %esi
pushq $0x2
popq %rdx
pushq $0xf
popq %rcx
callq 0x5babe
movq %rax, 0x46e0(%rbx,%r14)
testq %rax, %rax
je 0x5a962
addq $0xf, %rax
andq $-0x10, %rax
movq %rax, 0x46f0(%rbx,%r14)
incl 0x8(%rsp)
addq $0x60, %r14
jmp 0x5a84f
movl 0x8(%rsp), %esi
leaq 0x6a5a(%rip), %rax # 0x613c7
movq %rbx, %rdi
movq %rax, %fs:-0x10
callq 0x5ba44
jmp 0x5a5b5
leaq 0x6a33(%rip), %rax # 0x613bd
movq %rax, %fs:-0x10
jmp 0x5a5b7
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__at_eof(stbi__context*)
|
stbi_inline static int stbi__at_eof(stbi__context *s)
{
if (s->io.read) {
if (!(s->io.eof)(s->io_user_data)) return 0;
// if feof() is true, check if buffer = end
// special case: we've only got the special 0 character at the end
if (s->read_from_callbacks == 0) return 1;
}
return s->img_buffer >= s->img_buffer_end;
}
|
pushq %rbx
cmpq $0x0, 0x10(%rdi)
movq %rdi, %rbx
je 0x5b71b
movq 0x28(%rbx), %rdi
callq *0x20(%rbx)
testl %eax, %eax
je 0x5b730
cmpl $0x0, 0x30(%rbx)
je 0x5b734
movq 0xb8(%rbx), %rcx
xorl %eax, %eax
cmpq 0xc0(%rbx), %rcx
setae %al
jmp 0x5b737
xorl %eax, %eax
jmp 0x5b737
pushq $0x1
popq %rax
popq %rbx
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__skip(stbi__context*, int)
|
static void stbi__skip(stbi__context *s, int n)
{
if (n < 0) {
s->img_buffer = s->img_buffer_end;
return;
}
if (s->io.read) {
int blen = (int) (s->img_buffer_end - s->img_buffer);
if (blen < n) {
s->img_buffer = s->img_buffer_end;
(s->io.skip)(s->io_user_data, n - blen);
return;
}
}
s->img_buffer += n;
}
|
testl %esi, %esi
js 0x5b996
cmpq $0x0, 0x10(%rdi)
je 0x5b99f
movq 0xc0(%rdi), %rdx
movq 0xb8(%rdi), %rcx
movl %esi, %eax
movl %edx, %r8d
subl %ecx, %r8d
subl %r8d, %eax
jle 0x5b9a6
movq %rdx, 0xb8(%rdi)
movl %eax, %esi
movq 0x18(%rdi), %rcx
movq 0x28(%rdi), %rdi
jmpq *%rcx
movq 0xc0(%rdi), %rax
jmp 0x5b9ab
movq 0xb8(%rdi), %rcx
movl %esi, %eax
addq %rcx, %rax
movq %rax, 0xb8(%rdi)
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
stbi__check_png_header(stbi__context*)
|
static int stbi__check_png_header(stbi__context *s)
{
static const stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 };
int i;
for (i=0; i < 8; ++i)
if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG");
return 1;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %r15d, %r15d
pushq $0x1
popq %rbx
leaq 0x5163(%rip), %r12 # 0x61288
cmpq $0x8, %r15
je 0x5c152
movq %r14, %rdi
callq 0x5b739
leaq 0x1(%r15), %rcx
cmpb (%r15,%r12), %al
movq %rcx, %r15
je 0x5c125
leaq 0x531c(%rip), %rax # 0x61463
xorl %ebx, %ebx
movq %rax, %fs:-0x10
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
|
/laurinpaech[P]Haswellhof/src/base/stb_image.h
|
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.