name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
(anonymous namespace)::RealFileSystem::printImpl(llvm::raw_ostream&, llvm::vfs::FileSystem::PrintType, unsigned int) const
void RealFileSystem::printImpl(raw_ostream &OS, PrintType Type, unsigned IndentLevel) const { printIndent(OS, IndentLevel); OS << "RealFileSystem using "; if (WD) OS << "own"; else OS << "process"; OS << " CWD\n"; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movl %edx, 0x14(%rsp) movl %ecx, 0x10(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x8(%rsp) movq 0x18(%rsp), %rsi movl 0x10(%rsp), %edx callq 0x59b3d0 movq 0x18(%rsp), %rdi leaq 0x494220(%rip), %rsi # 0xa3097a callq 0x983b0 movq 0x8(%rsp), %rdi addq $0x10, %rdi callq 0x59cf70 testb $0x1, %al jne 0x59c773 jmp 0x59c786 movq 0x18(%rsp), %rdi leaq 0x4ee334(%rip), %rsi # 0xa8aab3 callq 0x983b0 jmp 0x59c797 movq 0x18(%rsp), %rdi leaq 0x49577c(%rip), %rsi # 0xa31f0e callq 0x983b0 movq 0x18(%rsp), %rdi leaq 0x4941ed(%rip), %rsi # 0xa30990 callq 0x983b0 addq $0x28, %rsp retq nopl (%rax)
/Support/VirtualFileSystem.cpp
llvm::yaml::Document::parseDirectives()
bool Document::parseDirectives() { bool isDirective = false; while (true) { Token T = peekNext(); if (T.Kind == Token::TK_TagDirective) { parseTAGDirective(); isDirective = true; } else if (T.Kind == Token::TK_VersionDirective) { parseYAMLDirective(); isDirective = true; } else break; } return isDirective; }
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq 0x50(%rsp), %rax movq %rax, (%rsp) movb $0x0, 0x4f(%rsp) movq (%rsp), %rdi callq 0x5a8820 movq %rax, %rsi leaq 0x10(%rsp), %rdi callq 0x5a38b0 cmpl $0x4, 0x10(%rsp) jne 0x5ab254 movq (%rsp), %rdi callq 0x5ab910 movb $0x1, 0x4f(%rsp) jmp 0x5ab277 cmpl $0x3, 0x10(%rsp) jne 0x5ab26b movq (%rsp), %rdi callq 0x5abaf0 movb $0x1, 0x4f(%rsp) jmp 0x5ab275 movl $0x3, 0xc(%rsp) jmp 0x5ab27f jmp 0x5ab277 movl $0x0, 0xc(%rsp) leaq 0x10(%rsp), %rdi callq 0x5a1630 movl 0xc(%rsp), %eax testl %eax, %eax je 0x5ab295 jmp 0x5ab293 jmp 0x5ab297 jmp 0x5ab227 movb 0x4f(%rsp), %al andb $0x1, %al addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nopl (%rax)
/Support/YAMLParser.cpp
llvm::getBitcodeFileContents(llvm::MemoryBufferRef)
Expected<BitcodeFileContents> llvm::getBitcodeFileContents(MemoryBufferRef Buffer) { Expected<BitstreamCursor> StreamOrErr = initStream(Buffer); if (!StreamOrErr) return StreamOrErr.takeError(); BitstreamCursor &Stream = *StreamOrErr; BitcodeFileContents F; while (true) { uint64_t BCBegin = Stream.getCurrentByteNo(); // We may be consuming bitcode from a client that leaves garbage at the end // of the bitcode stream (e.g. Apple's ar tool). If we are close enough to // the end that there cannot possibly be another module, stop looking. if (BCBegin + 8 >= Stream.getBitcodeBytes().size()) return F; Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); if (!MaybeEntry) return MaybeEntry.takeError(); llvm::BitstreamEntry Entry = MaybeEntry.get(); switch (Entry.Kind) { case BitstreamEntry::EndBlock: case BitstreamEntry::Error: return error("Malformed block"); case BitstreamEntry::SubBlock: { uint64_t IdentificationBit = -1ull; if (Entry.ID == bitc::IDENTIFICATION_BLOCK_ID) { IdentificationBit = Stream.GetCurrentBitNo() - BCBegin * 8; if (Error Err = Stream.SkipBlock()) return std::move(Err); { Expected<llvm::BitstreamEntry> MaybeEntry = Stream.advance(); if (!MaybeEntry) return MaybeEntry.takeError(); Entry = MaybeEntry.get(); } if (Entry.Kind != BitstreamEntry::SubBlock || Entry.ID != bitc::MODULE_BLOCK_ID) return error("Malformed block"); } if (Entry.ID == bitc::MODULE_BLOCK_ID) { uint64_t ModuleBit = Stream.GetCurrentBitNo() - BCBegin * 8; if (Error Err = Stream.SkipBlock()) return std::move(Err); F.Mods.push_back({Stream.getBitcodeBytes().slice( BCBegin, Stream.getCurrentByteNo() - BCBegin), Buffer.getBufferIdentifier(), IdentificationBit, ModuleBit}); continue; } if (Entry.ID == bitc::STRTAB_BLOCK_ID) { Expected<StringRef> Strtab = readBlobInRecord(Stream, bitc::STRTAB_BLOCK_ID, bitc::STRTAB_BLOB); if (!Strtab) return Strtab.takeError(); // This string table is used by every preceding bitcode module that does // not have its own string table. A bitcode file may have multiple // string tables if it was created by binary concatenation, for example // with "llvm-cat -b". for (BitcodeModule &I : llvm::reverse(F.Mods)) { if (!I.Strtab.empty()) break; I.Strtab = *Strtab; } // Similarly, the string table is used by every preceding symbol table; // normally there will be just one unless the bitcode file was created // by binary concatenation. if (!F.Symtab.empty() && F.StrtabForSymtab.empty()) F.StrtabForSymtab = *Strtab; continue; } if (Entry.ID == bitc::SYMTAB_BLOCK_ID) { Expected<StringRef> SymtabOrErr = readBlobInRecord(Stream, bitc::SYMTAB_BLOCK_ID, bitc::SYMTAB_BLOB); if (!SymtabOrErr) return SymtabOrErr.takeError(); // We can expect the bitcode file to have multiple symbol tables if it // was created by binary concatenation. In that case we silently // ignore any subsequent symbol tables, which is fine because this is a // low level function. The client is expected to notice that the number // of modules in the symbol table does not match the number of modules // in the input file and regenerate the symbol table. if (F.Symtab.empty()) F.Symtab = *SymtabOrErr; continue; } if (Error Err = Stream.SkipBlock()) return std::move(Err); continue; } case BitstreamEntry::Record: if (Error E = Stream.skipRecord(Entry.ID).takeError()) return std::move(E); continue; } } }
subq $0x408, %rsp # imm = 0x408 movq %rdi, 0x48(%rsp) movq %rdi, %rax movq %rax, 0x50(%rsp) leaq 0x410(%rsp), %rax movq %rax, 0x58(%rsp) movq %rdi, 0x400(%rsp) movq (%rax), %rcx movq %rcx, 0x280(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x288(%rsp) movq 0x10(%rax), %rcx movq %rcx, 0x290(%rsp) movq 0x18(%rax), %rax movq %rax, 0x298(%rsp) leaq 0x2a0(%rsp), %rdi leaq 0x280(%rsp), %rax movq (%rax), %rcx movq %rcx, (%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x8(%rsp) movq 0x10(%rax), %rcx movq %rcx, 0x10(%rsp) movq 0x18(%rax), %rax movq %rax, 0x18(%rsp) callq 0x5ec4e0 leaq 0x2a0(%rsp), %rdi callq 0x5ec6f0 testb $0x1, %al jne 0x5ebb54 leaq 0x278(%rsp), %rdi leaq 0x2a0(%rsp), %rsi callq 0x5ec710 movq 0x48(%rsp), %rdi leaq 0x278(%rsp), %rsi callq 0x5ec7d0 leaq 0x278(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec439 leaq 0x2a0(%rsp), %rdi callq 0x5ec810 movq %rax, 0x268(%rsp) leaq 0x230(%rsp), %rdi callq 0x5ec840 jmp 0x5ebb78 movq 0x268(%rsp), %rdi callq 0x5ec880 movq %rax, 0x228(%rsp) movq 0x228(%rsp), %rax addq $0x8, %rax movq %rax, 0x40(%rsp) movq 0x268(%rsp), %rdi callq 0x5ec8a0 movq %rax, 0x218(%rsp) movq %rdx, 0x220(%rsp) leaq 0x218(%rsp), %rdi callq 0xed8d0 movq %rax, %rcx movq 0x40(%rsp), %rax cmpq %rcx, %rax jb 0x5ebbfb movq 0x48(%rsp), %rdi leaq 0x230(%rsp), %rsi xorl %eax, %eax movl %eax, %edx callq 0x5ec8c0 movl $0x1, 0x274(%rsp) jmp 0x5ec42c movq 0x268(%rsp), %rsi leaq 0x208(%rsp), %rdi xorl %edx, %edx callq 0x5ec900 leaq 0x208(%rsp), %rdi callq 0x5ecba0 testb $0x1, %al jne 0x5ebc67 leaq 0x200(%rsp), %rdi leaq 0x208(%rsp), %rsi callq 0x5ecbc0 movq 0x48(%rsp), %rdi leaq 0x200(%rsp), %rsi callq 0x5ec7d0 leaq 0x200(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec3fa leaq 0x208(%rsp), %rdi callq 0x5ecc70 movq (%rax), %rax movq %rax, 0x1f8(%rsp) movl 0x1f8(%rsp), %eax movl %eax, 0x3c(%rsp) subl $0x2, %eax jb 0x5ebcae jmp 0x5ebc91 movl 0x3c(%rsp), %eax subl $0x2, %eax je 0x5ebd06 jmp 0x5ebc9c movl 0x3c(%rsp), %eax subl $0x3, %eax je 0x5ec362 jmp 0x5ec3ef leaq 0x1c8(%rsp), %rdi leaq 0x449cc3(%rip), %rsi # 0xa35980 callq 0x9a970 leaq 0x1f0(%rsp), %rdi leaq 0x1c8(%rsp), %rsi callq 0x5ecca0 movq 0x48(%rsp), %rdi leaq 0x1f0(%rsp), %rsi callq 0x5ec7d0 leaq 0x1f0(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec3fa movq $-0x1, 0x1c0(%rsp) cmpl $0xd, 0x1fc(%rsp) jne 0x5ebecc movq 0x268(%rsp), %rdi callq 0x5ecd00 movq 0x228(%rsp), %rcx shlq $0x3, %rcx subq %rcx, %rax movq %rax, 0x1c0(%rsp) movq 0x268(%rsp), %rsi leaq 0x1b8(%rsp), %rdi callq 0x5ecd20 leaq 0x1b8(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x5ebd6c jmp 0x5ebd8b movq 0x48(%rsp), %rdi leaq 0x1b8(%rsp), %rsi callq 0x5ec7d0 movl $0x1, 0x274(%rsp) jmp 0x5ebd96 movl $0x0, 0x274(%rsp) leaq 0x1b8(%rsp), %rdi callq 0x91f40 movl 0x274(%rsp), %eax testl %eax, %eax jne 0x5ec3fa jmp 0x5ebdb4 movq 0x268(%rsp), %rsi leaq 0x1a8(%rsp), %rdi xorl %edx, %edx callq 0x5ec900 leaq 0x1a8(%rsp), %rdi callq 0x5ecba0 testb $0x1, %al jne 0x5ebe1d leaq 0x1a0(%rsp), %rdi leaq 0x1a8(%rsp), %rsi callq 0x5ecbc0 movq 0x48(%rsp), %rdi leaq 0x1a0(%rsp), %rsi callq 0x5ec7d0 leaq 0x1a0(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ebe40 leaq 0x1a8(%rsp), %rdi callq 0x5ecc70 movq (%rax), %rax movq %rax, 0x1f8(%rsp) movl $0x0, 0x274(%rsp) leaq 0x1a8(%rsp), %rdi callq 0x5ecf60 movl 0x274(%rsp), %eax testl %eax, %eax jne 0x5ec3fa jmp 0x5ebe5e cmpl $0x2, 0x1f8(%rsp) jne 0x5ebe72 cmpl $0x8, 0x1fc(%rsp) je 0x5ebeca leaq 0x170(%rsp), %rdi leaq 0x449aff(%rip), %rsi # 0xa35980 callq 0x9a970 leaq 0x198(%rsp), %rdi leaq 0x170(%rsp), %rsi callq 0x5ecca0 movq 0x48(%rsp), %rdi leaq 0x198(%rsp), %rsi callq 0x5ec7d0 leaq 0x198(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec3fa jmp 0x5ebecc cmpl $0x8, 0x1fc(%rsp) jne 0x5ec05c movq 0x268(%rsp), %rdi callq 0x5ecd00 movq 0x228(%rsp), %rcx shlq $0x3, %rcx subq %rcx, %rax movq %rax, 0x168(%rsp) movq 0x268(%rsp), %rsi leaq 0x160(%rsp), %rdi callq 0x5ecd20 leaq 0x160(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x5ebf26 jmp 0x5ebf45 movq 0x48(%rsp), %rdi leaq 0x160(%rsp), %rsi callq 0x5ec7d0 movl $0x1, 0x274(%rsp) jmp 0x5ebf50 movl $0x0, 0x274(%rsp) leaq 0x160(%rsp), %rdi callq 0x91f40 movl 0x274(%rsp), %eax testl %eax, %eax jne 0x5ec3fa jmp 0x5ebf6e leaq 0x230(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x268(%rsp), %rdi callq 0x5ec8a0 movq %rax, 0x100(%rsp) movq %rdx, 0x108(%rsp) movq 0x228(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x268(%rsp), %rdi callq 0x5ec880 movq 0x28(%rsp), %rsi movq %rax, %rdx subq 0x228(%rsp), %rdx leaq 0x100(%rsp), %rdi callq 0x1008d0 movq 0x58(%rsp), %rdi movq %rax, 0x110(%rsp) movq %rdx, 0x118(%rsp) callq 0x2f73f0 movq %rax, 0xf0(%rsp) movq %rdx, 0xf8(%rsp) movq 0x1c0(%rsp), %r9 movq 0x168(%rsp), %rax movq 0x110(%rsp), %rsi movq 0x118(%rsp), %rdx movq 0xf0(%rsp), %rcx movq 0xf8(%rsp), %r8 leaq 0x120(%rsp), %rdi movq %rax, (%rsp) callq 0x5ecfe0 movq 0x30(%rsp), %rdi leaq 0x120(%rsp), %rsi callq 0x5ecfb0 movl $0x2, 0x274(%rsp) jmp 0x5ec3fa cmpl $0x17, 0x1fc(%rsp) jne 0x5ec217 movq 0x268(%rsp), %rsi leaq 0xd8(%rsp), %rdi movl $0x17, %edx movl $0x1, %ecx callq 0x5ed060 leaq 0xd8(%rsp), %rdi callq 0xa1f10 testb $0x1, %al jne 0x5ec0de leaq 0xd0(%rsp), %rdi leaq 0xd8(%rsp), %rsi callq 0xa1fa0 movq 0x48(%rsp), %rdi leaq 0xd0(%rsp), %rsi callq 0x5ec7d0 leaq 0xd0(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec205 leaq 0x230(%rsp), %rsi leaq 0xb8(%rsp), %rdi callq 0x5ed3c0 leaq 0xb8(%rsp), %rax movq %rax, 0xc8(%rsp) movq 0xc8(%rsp), %rsi leaq 0xb0(%rsp), %rdi callq 0x5ed420 movq 0xc8(%rsp), %rsi leaq 0xa8(%rsp), %rdi callq 0x5ed450 leaq 0xb0(%rsp), %rdi leaq 0xa8(%rsp), %rsi callq 0x5ed480 testb $0x1, %al jne 0x5ec148 jmp 0x5ec1aa leaq 0xb0(%rsp), %rdi callq 0x5ed4b0 movq %rax, 0xa0(%rsp) movq 0xa0(%rsp), %rdi addq $0x20, %rdi callq 0x92020 testb $0x1, %al jne 0x5ec174 jmp 0x5ec1aa leaq 0xd8(%rsp), %rdi callq 0xa1f30 movq %rax, %rcx movq 0xa0(%rsp), %rax movq (%rcx), %rdx movq %rdx, 0x20(%rax) movq 0x8(%rcx), %rcx movq %rcx, 0x28(%rax) leaq 0xb0(%rsp), %rdi callq 0x5ed4e0 jmp 0x5ec12d leaq 0x230(%rsp), %rdi addq $0x18, %rdi callq 0x92020 testb $0x1, %al jne 0x5ec1fa leaq 0x230(%rsp), %rdi addq $0x28, %rdi callq 0x92020 testb $0x1, %al jne 0x5ec1d6 jmp 0x5ec1fa leaq 0xd8(%rsp), %rdi callq 0xa1f30 movq (%rax), %rcx movq %rcx, 0x258(%rsp) movq 0x8(%rax), %rax movq %rax, 0x260(%rsp) movl $0x2, 0x274(%rsp) leaq 0xd8(%rsp), %rdi callq 0xa1ba0 jmp 0x5ec3fa cmpl $0x19, 0x1fc(%rsp) jne 0x5ec2ee movq 0x268(%rsp), %rsi leaq 0x88(%rsp), %rdi movl $0x19, %edx movl $0x1, %ecx callq 0x5ed060 leaq 0x88(%rsp), %rdi callq 0xa1f10 testb $0x1, %al jne 0x5ec296 leaq 0x80(%rsp), %rdi leaq 0x88(%rsp), %rsi callq 0xa1fa0 movq 0x48(%rsp), %rdi leaq 0x80(%rsp), %rsi callq 0x5ec7d0 leaq 0x80(%rsp), %rdi callq 0x91f40 movl $0x1, 0x274(%rsp) jmp 0x5ec2dc leaq 0x230(%rsp), %rdi addq $0x18, %rdi callq 0x92020 testb $0x1, %al jne 0x5ec2ad jmp 0x5ec2d1 leaq 0x88(%rsp), %rdi callq 0xa1f30 movq (%rax), %rcx movq %rcx, 0x248(%rsp) movq 0x8(%rax), %rax movq %rax, 0x250(%rsp) movl $0x2, 0x274(%rsp) leaq 0x88(%rsp), %rdi callq 0xa1ba0 jmp 0x5ec3fa movq 0x268(%rsp), %rsi leaq 0x78(%rsp), %rdi callq 0x5ecd20 leaq 0x78(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x5ec310 jmp 0x5ec32c movq 0x48(%rsp), %rdi leaq 0x78(%rsp), %rsi callq 0x5ec7d0 movl $0x1, 0x274(%rsp) jmp 0x5ec337 movl $0x0, 0x274(%rsp) leaq 0x78(%rsp), %rdi callq 0x91f40 movl 0x274(%rsp), %eax testl %eax, %eax jne 0x5ec3fa jmp 0x5ec352 movl $0x2, 0x274(%rsp) jmp 0x5ec3fa movq 0x268(%rsp), %rsi movl 0x1fc(%rsp), %edx leaq 0x60(%rsp), %rdi callq 0x8a50a0 leaq 0x70(%rsp), %rdi leaq 0x60(%rsp), %rsi callq 0xea100 leaq 0x60(%rsp), %rdi callq 0xea220 leaq 0x70(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x5ec3a4 jmp 0x5ec3c0 movq 0x48(%rsp), %rdi leaq 0x70(%rsp), %rsi callq 0x5ec7d0 movl $0x1, 0x274(%rsp) jmp 0x5ec3cb movl $0x0, 0x274(%rsp) leaq 0x70(%rsp), %rdi callq 0x91f40 movl 0x274(%rsp), %eax testl %eax, %eax jne 0x5ec3fa jmp 0x5ec3e2 movl $0x2, 0x274(%rsp) jmp 0x5ec3fa movl $0x0, 0x274(%rsp) leaq 0x208(%rsp), %rdi callq 0x5ecf60 movl 0x274(%rsp), %eax movl %eax, 0x24(%rsp) testl %eax, %eax je 0x5ec427 jmp 0x5ec418 movl 0x24(%rsp), %eax subl $0x2, %eax je 0x5ebb76 jmp 0x5ec42c jmp 0x5ebb76 leaq 0x230(%rsp), %rdi callq 0x3b4330 leaq 0x2a0(%rsp), %rdi callq 0x5ed510 movq 0x50(%rsp), %rax addq $0x408, %rsp # imm = 0x408 retq nopw %cs:(%rax,%rax) nopl (%rax)
/Bitcode/Reader/BitcodeReader.cpp
llvm::DenseMapIterator<unsigned int, llvm::Value*, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::Value*>, false>::DenseMapIterator(llvm::detail::DenseMapPair<unsigned int, llvm::Value*>*, llvm::detail::DenseMapPair<unsigned int, llvm::Value*>*, llvm::DebugEpochBase const&, bool)
DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch, bool NoAdvance = false) : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) { assert(isHandleInSync() && "invalid construction!"); if (NoAdvance) return; if (shouldReverseIterate<KeyT>()) { RetreatPastEmptyBuckets(); return; } AdvancePastEmptyBuckets(); }
subq $0x38, %rsp movb %r8b, %al movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq %rdx, 0x20(%rsp) movq %rcx, 0x18(%rsp) andb $0x1, %al movb %al, 0x17(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x8(%rsp) movq 0x18(%rsp), %rsi callq 0x955d0 movq 0x8(%rsp), %rax movq 0x28(%rsp), %rcx movq %rcx, (%rax) movq 0x20(%rsp), %rcx movq %rcx, 0x8(%rax) testb $0x1, 0x17(%rsp) je 0x5f8754 jmp 0x5f8775 callq 0x1eb020 testb $0x1, %al jne 0x5f875f jmp 0x5f876b movq 0x8(%rsp), %rdi callq 0x5f8780 jmp 0x5f8775 movq 0x8(%rsp), %rdi callq 0x5f8840 addq $0x38, %rsp retq nopw (%rax,%rax)
/llvm/ADT/DenseMap.h
llvm::GetElementPtrInst::GetElementPtrInst(llvm::Type*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, unsigned int, llvm::Twine const&, llvm::InsertPosition)
GetElementPtrInst::GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, InsertPosition InsertBefore) : Instruction(getGEPReturnType(Ptr, IdxList), GetElementPtr, OperandTraits<GetElementPtrInst>::op_end(this) - Values, Values, InsertBefore), SourceElementType(PointeeType), ResultElementType(getIndexedType(PointeeType, IdxList)) { init(Ptr, IdxList, NameStr); }
subq $0x98, %rsp leaq 0xa8(%rsp), %rax movq %rax, 0x18(%rsp) movq 0xa0(%rsp), %rax movq %rcx, 0x88(%rsp) movq %r8, 0x90(%rsp) movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) movl %r9d, 0x6c(%rsp) movq 0x80(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x70(%rsp), %rdi movq 0x88(%rsp), %rax movq %rax, 0x58(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x60(%rsp) movq 0x58(%rsp), %rsi movq 0x60(%rsp), %rdx callq 0x5fd0d0 movq 0x20(%rsp), %rdi movq %rax, 0x10(%rsp) callq 0x5fd1e0 movq 0x10(%rsp), %rsi movq 0x20(%rsp), %rdi movq %rax, %rcx movq 0x18(%rsp), %rax movl 0x6c(%rsp), %edx movl %edx, %r8d xorl %edx, %edx subq %r8, %rdx shlq $0x5, %rdx addq %rdx, %rcx movl 0x6c(%rsp), %r8d movq (%rax), %rdx movq %rdx, 0x48(%rsp) movq 0x8(%rax), %rax movq %rax, 0x50(%rsp) movl $0x22, %edx leaq 0x48(%rsp), %rax movq (%rax), %r9 movq %r9, (%rsp) movq 0x8(%rax), %rax movq %rax, 0x8(%rsp) callq 0x7c1ad0 movq 0x20(%rsp), %rax movq 0x78(%rsp), %rcx movq %rcx, 0x48(%rax) movq 0x78(%rsp), %rdi movq 0x88(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x40(%rsp) movq 0x38(%rsp), %rsi movq 0x40(%rsp), %rdx callq 0x7c9fe0 movq 0x20(%rsp), %rdi movq %rax, 0x50(%rdi) movq 0x70(%rsp), %rsi movq 0x88(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x30(%rsp) movq 0xa0(%rsp), %r8 movq 0x28(%rsp), %rdx movq 0x30(%rsp), %rcx callq 0x7c9e70 addq $0x98, %rsp retq nopw (%rax,%rax)
/llvm/IR/Instructions.h
llvm::DenseMap<unsigned int, llvm::SmallVector<unsigned int, 1u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallVector<unsigned int, 1u>>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets); // Free the old table. deallocate_buffer(OldBuckets, sizeof(BucketT) * OldNumBuckets, alignof(BucketT)); }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x94600 movl %eax, 0x8(%rsp) leaq 0xc(%rsp), %rdi leaq 0x8(%rsp), %rsi callq 0x95b10 movq (%rsp), %rdi movl (%rax), %esi callq 0x5f3830 cmpq $0x0, 0x10(%rsp) jne 0x62b3ce movq (%rsp), %rdi callq 0x5f38a0 jmp 0x62b405 movq (%rsp), %rdi movq 0x10(%rsp), %rsi movq 0x10(%rsp), %rdx movl 0x18(%rsp), %eax shlq $0x5, %rax addq %rax, %rdx callq 0x62b410 movq 0x10(%rsp), %rdi movl 0x18(%rsp), %eax movl %eax, %esi shlq $0x5, %rsi movl $0x8, %edx callq 0x57fdf0 addq $0x28, %rsp retq nopw (%rax,%rax)
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::SmallDenseMap<llvm::BasicBlock*, llvm::Value*, 4u, llvm::DenseMapInfo<llvm::BasicBlock*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*>>, llvm::BasicBlock*, llvm::Value*, llvm::DenseMapInfo<llvm::BasicBlock*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*>>::makeIterator(llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*>*, llvm::detail::DenseMapPair<llvm::BasicBlock*, llvm::Value*>*, llvm::DebugEpochBase&, bool)
iterator makeIterator(BucketT *P, BucketT *E, DebugEpochBase &Epoch, bool NoAdvance=false) { if (shouldReverseIterate<KeyT>()) { BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1; return iterator(B, E, Epoch, NoAdvance); } return iterator(P, E, Epoch, NoAdvance); }
subq $0x58, %rsp movb %r8b, %al movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) andb $0x1, %al movb %al, 0x27(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x62eed0 testb $0x1, %al jne 0x62ee26 jmp 0x62ee92 movq 0x10(%rsp), %rdi movq 0x38(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x62ec30 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax jne 0x62ee57 movq 0x10(%rsp), %rdi callq 0x62ec20 movq %rax, (%rsp) jmp 0x62ee64 movq 0x38(%rsp), %rax addq $0x10, %rax movq %rax, (%rsp) movq (%rsp), %rax movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x62f130 jmp 0x62eeb5 movq 0x38(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x62f130 movq 0x48(%rsp), %rax movq 0x50(%rsp), %rdx addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::Metadata*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::Metadata*, void>, llvm::detail::DenseSetPair<llvm::Metadata*>>, llvm::Metadata*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::Metadata*, void>, llvm::detail::DenseSetPair<llvm::Metadata*>>::makeConstIterator(llvm::detail::DenseSetPair<llvm::Metadata*> const*, llvm::detail::DenseSetPair<llvm::Metadata*> const*, llvm::DebugEpochBase const&, bool) const
const_iterator makeConstIterator(const BucketT *P, const BucketT *E, const DebugEpochBase &Epoch, const bool NoAdvance=false) const { if (shouldReverseIterate<KeyT>()) { const BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1; return const_iterator(B, E, Epoch, NoAdvance); } return const_iterator(P, E, Epoch, NoAdvance); }
subq $0x58, %rsp movb %r8b, %al movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) andb $0x1, %al movb %al, 0x27(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x6691d0 testb $0x1, %al jne 0x669ea6 jmp 0x669f12 movq 0x10(%rsp), %rdi movq 0x38(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x669f50 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax jne 0x669ed7 movq 0x10(%rsp), %rdi callq 0x6693f0 movq %rax, (%rsp) jmp 0x669ee4 movq 0x38(%rsp), %rax addq $0x8, %rax movq %rax, (%rsp) movq (%rsp), %rax movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x66a010 jmp 0x669f35 movq 0x38(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x66a010 movq 0x48(%rsp), %rax movq 0x50(%rsp), %rdx addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::ModuleSlotTracker::getMachine()
SlotTracker *ModuleSlotTracker::getMachine() { if (!ShouldCreateStorage) return Machine; ShouldCreateStorage = false; MachineStorage = std::make_unique<SlotTracker>(M, ShouldInitializeAllMetadata); Machine = MachineStorage.get(); if (ProcessModuleHookFn) Machine->setProcessHook(ProcessModuleHookFn); if (ProcessFunctionHookFn) Machine->setProcessHook(ProcessFunctionHookFn); return Machine; }
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq 0x68(%rsp), %rax movq %rax, 0x18(%rsp) testb $0x1, 0x10(%rax) jne 0x684e8c movq 0x18(%rsp), %rax movq 0x28(%rax), %rax movq %rax, 0x70(%rsp) jmp 0x684f79 movq 0x18(%rsp), %rdx movb $0x0, 0x10(%rdx) movq %rdx, %rsi addq $0x18, %rsi addq $0x11, %rdx leaq 0x60(%rsp), %rdi callq 0x684f90 movq 0x18(%rsp), %rdi addq $0x8, %rdi leaq 0x60(%rsp), %rsi callq 0x685000 leaq 0x60(%rsp), %rdi callq 0x684dd0 movq 0x18(%rsp), %rdi addq $0x8, %rdi callq 0x685030 movq 0x18(%rsp), %rdi movq %rax, 0x28(%rdi) addq $0x30, %rdi callq 0x685040 testb $0x1, %al jne 0x684eed jmp 0x684f22 movq 0x18(%rsp), %rsi movq 0x28(%rsi), %rax movq %rax, 0x10(%rsp) addq $0x30, %rsi leaq 0x40(%rsp), %rdi callq 0x685090 movq 0x10(%rsp), %rdi leaq 0x40(%rsp), %rsi callq 0x685060 leaq 0x40(%rsp), %rdi callq 0x684dc0 movq 0x18(%rsp), %rdi addq $0x50, %rdi callq 0x685120 testb $0x1, %al jne 0x684f36 jmp 0x684f6b movq 0x18(%rsp), %rsi movq 0x28(%rsi), %rax movq %rax, 0x8(%rsp) addq $0x50, %rsi leaq 0x20(%rsp), %rdi callq 0x685170 movq 0x8(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x685140 leaq 0x20(%rsp), %rdi callq 0x684db0 movq 0x18(%rsp), %rax movq 0x28(%rax), %rax movq %rax, 0x70(%rsp) movq 0x70(%rsp), %rax addq $0x78, %rsp retq nopw %cs:(%rax,%rax) nopl (%rax)
/IR/AsmWriter.cpp
(anonymous namespace)::AssemblyWriter::printBasicBlock(llvm::BasicBlock const*)
void AssemblyWriter::printBasicBlock(const BasicBlock *BB) { bool IsEntryBlock = BB->getParent() && BB->isEntryBlock(); if (BB->hasName()) { // Print out the label if it exists... Out << "\n"; PrintLLVMName(Out, BB->getName(), LabelPrefix); Out << ':'; } else if (!IsEntryBlock) { Out << "\n"; int Slot = Machine.getLocalSlot(BB); if (Slot != -1) Out << Slot << ":"; else Out << "<badref>:"; } if (!IsEntryBlock) { // Output predecessors for the block. Out.PadToColumn(50); Out << ";"; const_pred_iterator PI = pred_begin(BB), PE = pred_end(BB); if (PI == PE) { Out << " No predecessors!"; } else { Out << " preds = "; writeOperand(*PI, false); for (++PI; PI != PE; ++PI) { Out << ", "; writeOperand(*PI, false); } } } Out << "\n"; if (AnnotationWriter) AnnotationWriter->emitBasicBlockStartAnnot(BB, Out); // Output all of the instructions in the basic block... for (const Instruction &I : *BB) { for (const DbgRecord &DR : I.getDbgRecordRange()) printDbgRecordLine(DR); printInstructionLine(I); } if (AnnotationWriter) AnnotationWriter->emitBasicBlockEndAnnot(BB, Out); }
subq $0xd8, %rsp movq %rdi, 0xd0(%rsp) movq %rsi, 0xc8(%rsp) movq 0xd0(%rsp), %rax movq %rax, 0x8(%rsp) movq 0xc8(%rsp), %rdi callq 0x688e00 movq %rax, %rcx xorl %eax, %eax cmpq $0x0, %rcx movb %al, 0x17(%rsp) je 0x688e61 movq 0xc8(%rsp), %rdi callq 0x7065d0 movb %al, 0x17(%rsp) movb 0x17(%rsp), %al andb $0x1, %al movb %al, 0xc7(%rsp) movq 0xc8(%rsp), %rdi callq 0x3c02e0 testb $0x1, %al jne 0x688e81 jmp 0x688ef3 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3a66b1(%rip), %rsi # 0xa2f541 callq 0x983b0 movq 0x8(%rsp), %rax movq (%rax), %rax movq %rax, (%rsp) movq 0xc8(%rsp), %rdi callq 0x815e50 movq (%rsp), %rdi movq %rax, 0xb0(%rsp) movq %rdx, 0xb8(%rsp) movq 0xb0(%rsp), %rsi movq 0xb8(%rsp), %rdx movl $0x2, %ecx callq 0x6895a0 movq 0x8(%rsp), %rax movq (%rax), %rdi movl $0x3a, %esi callq 0x99060 jmp 0x688f75 testb $0x1, 0xc7(%rsp) jne 0x688f73 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3a6635(%rip), %rsi # 0xa2f541 callq 0x983b0 movq 0x8(%rsp), %rax movq 0x20(%rax), %rdi movq 0xc8(%rsp), %rsi callq 0x685310 movl %eax, 0xac(%rsp) cmpl $-0x1, 0xac(%rsp) je 0x688f5d movq 0x8(%rsp), %rax movq (%rax), %rdi movl 0xac(%rsp), %esi callq 0x1fee40 movq %rax, %rdi leaq 0x3a872c(%rip), %rsi # 0xa31682 callq 0x983b0 jmp 0x688f71 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3b43e0(%rip), %rsi # 0xa3d34c callq 0x983b0 jmp 0x688f73 jmp 0x688f75 testb $0x1, 0xc7(%rsp) jne 0x6890a2 movq 0x8(%rsp), %rax movq (%rax), %rdi movl $0x32, %esi callq 0x9deb90 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x431e51(%rip), %rsi # 0xabadf5 callq 0x983b0 movq 0xc8(%rsp), %rdi callq 0x698e60 movq %rax, 0xa0(%rsp) movq 0xc8(%rsp), %rdi callq 0x698e90 movq %rax, 0x98(%rsp) leaq 0xa0(%rsp), %rdi leaq 0x98(%rsp), %rsi callq 0x698ec0 testb $0x1, %al jne 0x688fee jmp 0x689007 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3b4359(%rip), %rsi # 0xa3d356 callq 0x983b0 jmp 0x6890a0 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3b4352(%rip), %rsi # 0xa3d368 callq 0x983b0 leaq 0xa0(%rsp), %rdi callq 0x698ef0 movq 0x8(%rsp), %rdi movq %rax, %rsi xorl %edx, %edx callq 0x694d30 leaq 0xa0(%rsp), %rdi callq 0x698f20 leaq 0xa0(%rsp), %rdi leaq 0x98(%rsp), %rsi callq 0x698f50 testb $0x1, %al jne 0x68905f jmp 0x68909e movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x37f340(%rip), %rsi # 0xa083ae callq 0x983b0 leaq 0xa0(%rsp), %rdi callq 0x698ef0 movq 0x8(%rsp), %rdi movq %rax, %rsi xorl %edx, %edx callq 0x694d30 leaq 0xa0(%rsp), %rdi callq 0x698f20 jmp 0x689044 jmp 0x6890a0 jmp 0x6890a2 movq 0x8(%rsp), %rax movq (%rax), %rdi leaq 0x3a6490(%rip), %rsi # 0xa2f541 callq 0x983b0 movq 0x8(%rsp), %rax cmpq $0x0, 0xe0(%rax) je 0x6890e2 movq 0x8(%rsp), %rax movq 0xe0(%rax), %rdi movq 0xc8(%rsp), %rsi movq (%rax), %rdx movq (%rdi), %rax callq *0x18(%rax) movq 0xc8(%rsp), %rax movq %rax, 0x90(%rsp) movq 0x90(%rsp), %rdi callq 0x686b50 movq %rdx, 0x78(%rsp) movq %rax, 0x70(%rsp) movw 0x78(%rsp), %ax movw %ax, 0x88(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x80(%rsp) movq 0x90(%rsp), %rdi callq 0x686bb0 movq %rdx, 0x58(%rsp) movq %rax, 0x50(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x60(%rsp) movw 0x58(%rsp), %ax movw %ax, 0x68(%rsp) leaq 0x80(%rsp), %rdi leaq 0x60(%rsp), %rsi callq 0x686c00 testb $0x1, %al jne 0x689169 jmp 0x689217 leaq 0x80(%rsp), %rdi callq 0x686c20 movq %rax, 0x48(%rsp) movq 0x48(%rsp), %rdi callq 0x67dc70 movq %rax, 0x30(%rsp) movq %rdx, 0x38(%rsp) leaq 0x30(%rsp), %rax movq %rax, 0x40(%rsp) movq 0x40(%rsp), %rdi callq 0x67e7e0 movq %rax, 0x28(%rsp) movq 0x40(%rsp), %rdi callq 0x67e800 movq %rax, 0x20(%rsp) leaq 0x28(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x67e910 testb $0x1, %al jne 0x6891cc jmp 0x6891f6 leaq 0x28(%rsp), %rdi callq 0x67e950 movq 0x8(%rsp), %rdi movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rsi callq 0x698f80 leaq 0x28(%rsp), %rdi callq 0x67ea90 jmp 0x6891b7 movq 0x8(%rsp), %rdi movq 0x48(%rsp), %rsi callq 0x698fd0 leaq 0x80(%rsp), %rdi callq 0x686c50 jmp 0x68914e movq 0x8(%rsp), %rax cmpq $0x0, 0xe0(%rax) je 0x689243 movq 0x8(%rsp), %rax movq 0xe0(%rax), %rdi movq 0xc8(%rsp), %rsi movq (%rax), %rdx movq (%rdi), %rax callq *0x20(%rax) addq $0xd8, %rsp retq nopl (%rax,%rax)
/IR/AsmWriter.cpp
PrintLLVMName(llvm::raw_ostream&, llvm::StringRef, PrefixType)
static void PrintLLVMName(raw_ostream &OS, StringRef Name, PrefixType Prefix) { switch (Prefix) { case NoPrefix: break; case GlobalPrefix: OS << '@'; break; case ComdatPrefix: OS << '$'; break; case LabelPrefix: break; case LocalPrefix: OS << '%'; break; } printLLVMNameWithoutPrefix(OS, Name); }
subq $0x38, %rsp movq %rsi, 0x28(%rsp) movq %rdx, 0x30(%rsp) movq %rdi, 0x20(%rsp) movl %ecx, 0x1c(%rsp) movl 0x1c(%rsp), %eax movq %rax, (%rsp) subq $0x4, %rax ja 0x68960e movq (%rsp), %rax leaq 0x3b35e0(%rip), %rcx # 0xa3cbb0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax jmp 0x68960e movq 0x20(%rsp), %rdi movl $0x40, %esi callq 0x99060 jmp 0x68960e movq 0x20(%rsp), %rdi movl $0x24, %esi callq 0x99060 jmp 0x68960e jmp 0x68960e movq 0x20(%rsp), %rdi movl $0x25, %esi callq 0x99060 movq 0x20(%rsp), %rdi movq 0x28(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx callq 0x684a30 addq $0x38, %rsp retq nopl (%rax,%rax)
/IR/AsmWriter.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::Value const*, unsigned int, llvm::DenseMapInfo<llvm::Value const*, void>, llvm::detail::DenseMapPair<llvm::Value const*, unsigned int>>, llvm::Value const*, unsigned int, llvm::DenseMapInfo<llvm::Value const*, void>, llvm::detail::DenseMapPair<llvm::Value const*, unsigned int>>::makeIterator(llvm::detail::DenseMapPair<llvm::Value const*, unsigned int>*, llvm::detail::DenseMapPair<llvm::Value const*, unsigned int>*, llvm::DebugEpochBase&, bool)
iterator makeIterator(BucketT *P, BucketT *E, DebugEpochBase &Epoch, bool NoAdvance=false) { if (shouldReverseIterate<KeyT>()) { BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1; return iterator(B, E, Epoch, NoAdvance); } return iterator(P, E, Epoch, NoAdvance); }
subq $0x58, %rsp movb %r8b, %al movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) andb $0x1, %al movb %al, 0x27(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x699a30 testb $0x1, %al jne 0x699b26 jmp 0x699b92 movq 0x10(%rsp), %rdi movq 0x38(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x6986f0 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax jne 0x699b57 movq 0x10(%rsp), %rdi callq 0x6986e0 movq %rax, (%rsp) jmp 0x699b64 movq 0x38(%rsp), %rax addq $0x10, %rax movq %rax, (%rsp) movq (%rsp), %rax movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x699bd0 jmp 0x699bb5 movq 0x38(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x699bd0 movq 0x48(%rsp), %rax movq 0x50(%rsp), %rdx addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::DenseMap<llvm::MDNode const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::MDNode const*, void>, llvm::detail::DenseSetPair<llvm::MDNode const*>>::allocateBuckets(unsigned int)
bool allocateBuckets(unsigned Num) { NumBuckets = Num; if (NumBuckets == 0) { Buckets = nullptr; return false; } Buckets = static_cast<BucketT *>( allocate_buffer(sizeof(BucketT) * NumBuckets, alignof(BucketT))); return true; }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x14(%rsp), %ecx movl %ecx, 0x10(%rax) cmpl $0x0, 0x10(%rax) jne 0x6a5117 movq 0x8(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x27(%rsp) jmp 0x6a513f movq 0x8(%rsp), %rax movl 0x10(%rax), %eax movl %eax, %edi shlq $0x3, %rdi movl $0x8, %esi callq 0x57fdc0 movq %rax, %rcx movq 0x8(%rsp), %rax movq %rcx, (%rax) movb $0x1, 0x27(%rsp) movb 0x27(%rsp), %al andb $0x1, %al addq $0x28, %rsp retq nopw (%rax,%rax)
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::AttributeList, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::AttributeList, void>, llvm::detail::DenseSetPair<llvm::AttributeList>>, llvm::AttributeList, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::AttributeList, void>, llvm::detail::DenseSetPair<llvm::AttributeList>>::destroyAll()
void destroyAll() { if (getNumBuckets() == 0) // Nothing to do. return; const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) { if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && !KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) P->getSecond().~ValueT(); P->getFirst().~KeyT(); } }
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x6a5630 cmpl $0x0, %eax jne 0x6a6382 jmp 0x6a6449 callq 0x6a5510 movq %rax, 0x48(%rsp) callq 0x6a6450 movq 0x8(%rsp), %rdi movq %rax, 0x40(%rsp) callq 0x6a5520 movq 0x8(%rsp), %rdi movq %rax, 0x38(%rsp) callq 0x6a5530 movq %rax, 0x30(%rsp) movq 0x38(%rsp), %rax cmpq 0x30(%rsp), %rax je 0x6a6449 movq 0x38(%rsp), %rdi callq 0x6a5570 movq (%rax), %rax movq %rax, 0x28(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x28(%rsp), %rdi movq 0x20(%rsp), %rsi callq 0x6a6460 testb $0x1, %al jne 0x6a642c movq 0x38(%rsp), %rdi callq 0x6a5570 movq (%rax), %rax movq %rax, 0x18(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x18(%rsp), %rdi movq 0x10(%rsp), %rsi callq 0x6a6460 testb $0x1, %al jne 0x6a642c movq 0x38(%rsp), %rdi callq 0x6a6490 movq 0x38(%rsp), %rdi callq 0x6a5570 movq 0x38(%rsp), %rax addq $0x8, %rax movq %rax, 0x38(%rsp) jmp 0x6a63b4 addq $0x58, %rsp retq nop
/llvm/ADT/DenseMap.h
llvm::DIStringType::getImpl(llvm::LLVMContext&, unsigned int, llvm::MDString*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned long, unsigned int, unsigned int, llvm::Metadata::StorageType, bool)
DIStringType *DIStringType::getImpl(LLVMContext &Context, unsigned Tag, MDString *Name, Metadata *StringLength, Metadata *StringLengthExp, Metadata *StringLocationExp, uint64_t SizeInBits, uint32_t AlignInBits, unsigned Encoding, StorageType Storage, bool ShouldCreate) { assert(isCanonical(Name) && "Expected canonical MDString"); DEFINE_GETIMPL_LOOKUP(DIStringType, (Tag, Name, StringLength, StringLengthExp, StringLocationExp, SizeInBits, AlignInBits, Encoding)); Metadata *Ops[] = {nullptr, nullptr, Name, StringLength, StringLengthExp, StringLocationExp}; DEFINE_GETIMPL_STORE(DIStringType, (Tag, SizeInBits, AlignInBits, Encoding), Ops); }
subq $0x118, %rsp # imm = 0x118 movb 0x140(%rsp), %al movl 0x138(%rsp), %r10d movl 0x130(%rsp), %r10d movl 0x128(%rsp), %r10d movq 0x120(%rsp), %r10 movq %rdi, 0x108(%rsp) movl %esi, 0x104(%rsp) movq %rdx, 0xf8(%rsp) movq %rcx, 0xf0(%rsp) movq %r8, 0xe8(%rsp) movq %r9, 0xe0(%rsp) andb $0x1, %al movb %al, 0xdf(%rsp) cmpl $0x0, 0x138(%rsp) jne 0x747fd9 movq 0x108(%rsp), %rax movq (%rax), %rax addq $0x4c8, %rax # imm = 0x4C8 movq %rax, 0x48(%rsp) movl 0x104(%rsp), %esi movq 0xf8(%rsp), %rdx movq 0xf0(%rsp), %rcx movq 0xe8(%rsp), %r8 movq 0xe0(%rsp), %r9 movq 0x120(%rsp), %r11 movl 0x128(%rsp), %r10d movl 0x130(%rsp), %eax leaq 0x98(%rsp), %rdi movq %r11, (%rsp) movl %r10d, 0x8(%rsp) movl %eax, 0x10(%rsp) callq 0x7481a0 movq 0x48(%rsp), %rdi leaq 0x98(%rsp), %rsi callq 0x748120 movq %rax, 0xd0(%rsp) cmpq $0x0, 0xd0(%rsp) je 0x747fbc movq 0xd0(%rsp), %rax movq %rax, 0x110(%rsp) jmp 0x74810c testb $0x1, 0xdf(%rsp) jne 0x747fd7 movq $0x0, 0x110(%rsp) jmp 0x74810c jmp 0x747fdb jmp 0x747fdb jmp 0x747fdd movq $0x0, 0x60(%rsp) movq $0x0, 0x68(%rsp) movq 0xf8(%rsp), %rax movq %rax, 0x70(%rsp) movq 0xf0(%rsp), %rax movq %rax, 0x78(%rsp) movq 0xe8(%rsp), %rax movq %rax, 0x80(%rsp) movq 0xe0(%rsp), %rax movq %rax, 0x88(%rsp) leaq 0x60(%rsp), %rdi callq 0x748290 movq %rax, %rsi movl 0x138(%rsp), %edx movl $0x30, %edi callq 0x7e1150 movq %rax, 0x40(%rsp) movq 0x108(%rsp), %rax movq %rax, 0x20(%rsp) movl 0x138(%rsp), %eax movl %eax, 0x28(%rsp) movl 0x104(%rsp), %eax movl %eax, 0x2c(%rsp) movq 0x120(%rsp), %rax movq %rax, 0x30(%rsp) movl 0x128(%rsp), %eax movl %eax, 0x38(%rsp) movl 0x130(%rsp), %eax movl %eax, 0x3c(%rsp) leaq 0x50(%rsp), %rdi leaq 0x60(%rsp), %rsi callq 0x7482a0 movq 0x20(%rsp), %rsi movl 0x28(%rsp), %edx movl 0x2c(%rsp), %ecx movq 0x30(%rsp), %r8 movl 0x38(%rsp), %r9d movl 0x3c(%rsp), %r10d movq 0x40(%rsp), %rdi leaq 0x50(%rsp), %rax movl %r10d, (%rsp) movq (%rax), %r10 movq %r10, 0x8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x10(%rsp) callq 0x7482c0 movq 0x40(%rsp), %rdi movl 0x138(%rsp), %esi movq 0x108(%rsp), %rax movq (%rax), %rdx addq $0x4c8, %rdx # imm = 0x4C8 callq 0x748220 movq %rax, 0x110(%rsp) movq 0x110(%rsp), %rax addq $0x118, %rsp # imm = 0x118 retq nopl (%rax)
/IR/DebugInfoMetadata.cpp
llvm::DIDerivedType* llvm::MDNode::storeImpl<llvm::DIDerivedType, llvm::DenseSet<llvm::DIDerivedType*, llvm::MDNodeInfo<llvm::DIDerivedType>>>(llvm::DIDerivedType*, llvm::Metadata::StorageType, llvm::DenseSet<llvm::DIDerivedType*, llvm::MDNodeInfo<llvm::DIDerivedType>>&)
T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) { switch (Storage) { case Uniqued: Store.insert(N); break; case Distinct: N->storeDistinctInContext(); break; case Temporary: break; } return N; }
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movl %esi, 0x2c(%rsp) movq %rdx, 0x20(%rsp) movl 0x2c(%rsp), %eax movl %eax, 0x4(%rsp) testl %eax, %eax je 0x7488c6 jmp 0x7488b0 movl 0x4(%rsp), %eax subl $0x1, %eax je 0x7488dc jmp 0x7488bb movl 0x4(%rsp), %eax subl $0x2, %eax je 0x7488e8 jmp 0x7488ea movq 0x20(%rsp), %rsi leaq 0x8(%rsp), %rdi leaq 0x30(%rsp), %rdx callq 0x760720 jmp 0x7488ea movq 0x30(%rsp), %rdi callq 0x7e1a60 jmp 0x7488ea jmp 0x7488ea movq 0x30(%rsp), %rax addq $0x38, %rsp retq nopw %cs:(%rax,%rax) nop
/IR/MetadataImpl.h
llvm::DISubprogram::toSPFlags(bool, bool, bool, unsigned int, bool)
DISubprogram::DISPFlags DISubprogram::toSPFlags(bool IsLocalToUnit, bool IsDefinition, bool IsOptimized, unsigned Virtuality, bool IsMainSubprogram) { // We're assuming virtuality is the low-order field. static_assert(int(SPFlagVirtual) == int(dwarf::DW_VIRTUALITY_virtual) && int(SPFlagPureVirtual) == int(dwarf::DW_VIRTUALITY_pure_virtual), "Virtuality constant mismatch"); return static_cast<DISPFlags>( (Virtuality & SPFlagVirtuality) | (IsLocalToUnit ? SPFlagLocalToUnit : SPFlagZero) | (IsDefinition ? SPFlagDefinition : SPFlagZero) | (IsOptimized ? SPFlagOptimized : SPFlagZero) | (IsMainSubprogram ? SPFlagMainSubprogram : SPFlagZero)); }
movb %r8b, %al andb $0x1, %dil movb %dil, -0x1(%rsp) andb $0x1, %sil movb %sil, -0x2(%rsp) andb $0x1, %dl movb %dl, -0x3(%rsp) movl %ecx, -0x8(%rsp) andb $0x1, %al movb %al, -0x9(%rsp) movl -0x8(%rsp), %eax andl $0x3, %eax movb -0x1(%rsp), %sil xorl %ecx, %ecx movl $0x4, %edx testb $0x1, %sil cmovnel %edx, %ecx orl %ecx, %eax movb -0x2(%rsp), %sil xorl %ecx, %ecx movl $0x8, %edx testb $0x1, %sil cmovnel %edx, %ecx orl %ecx, %eax movb -0x3(%rsp), %sil xorl %ecx, %ecx movl $0x10, %edx testb $0x1, %sil cmovnel %edx, %ecx orl %ecx, %eax movb -0x9(%rsp), %sil xorl %ecx, %ecx movl $0x100, %edx # imm = 0x100 testb $0x1, %sil cmovnel %edx, %ecx orl %ecx, %eax retq nopw %cs:(%rax,%rax) nopl (%rax)
/IR/DebugInfoMetadata.cpp
llvm::detail::DenseSetPair<llvm::DIEnumerator*>* llvm::DenseMapBase<llvm::DenseMap<llvm::DIEnumerator*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DIEnumerator>, llvm::detail::DenseSetPair<llvm::DIEnumerator*>>, llvm::DIEnumerator*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DIEnumerator>, llvm::detail::DenseSetPair<llvm::DIEnumerator*>>::InsertIntoBucketImpl<llvm::DIEnumerator*>(llvm::DIEnumerator* const&, llvm::DIEnumerator* const&, llvm::detail::DenseSetPair<llvm::DIEnumerator*>*)
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow the table. // // The later case is tricky. For example, if we had one empty bucket with // tons of tombstones, failing lookups (e.g. for insertion) would have to // probe almost the entire table until it found the empty bucket. If the // table completely filled with tombstones, no lookup would ever succeed, // causing infinite loops in lookup. unsigned NewNumEntries = getNumEntries() + 1; unsigned NumBuckets = getNumBuckets(); if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) { this->grow(NumBuckets * 2); LookupBucketFor(Lookup, TheBucket); NumBuckets = getNumBuckets(); } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <= NumBuckets/8)) { this->grow(NumBuckets); LookupBucketFor(Lookup, TheBucket); } assert(TheBucket); // Only update the state after we've grown our bucket space appropriately // so that when growing buckets we have self-consistent entry count. incrementNumEntries(); // If we are writing over a tombstone, remember this. const KeyT EmptyKey = getEmptyKey(); if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey)) decrementNumTombstones(); return TheBucket; }
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movq 0x40(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x959a0 movq 0x10(%rsp), %rdi callq 0x75b5d0 movq 0x10(%rsp), %rdi addl $0x1, %eax movl %eax, 0x24(%rsp) callq 0x75a830 movl %eax, 0x20(%rsp) movl 0x24(%rsp), %eax shll $0x2, %eax imull $0x3, 0x20(%rsp), %ecx cmpl %ecx, %eax jb 0x75b51a movq 0x10(%rsp), %rdi movl 0x20(%rsp), %esi shll %esi callq 0x75b5e0 movq 0x10(%rsp), %rdi movq 0x30(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x75b100 movq 0x10(%rsp), %rdi callq 0x75a830 movl %eax, 0x20(%rsp) jmp 0x75b571 movq 0x10(%rsp), %rdi movl 0x20(%rsp), %eax movl %eax, 0xc(%rsp) movl 0x24(%rsp), %eax movl %eax, 0x8(%rsp) callq 0x75b600 movl 0x8(%rsp), %ecx movl %eax, %edx movl 0xc(%rsp), %eax addl %edx, %ecx subl %ecx, %eax movl 0x20(%rsp), %ecx shrl $0x3, %ecx cmpl %ecx, %eax ja 0x75b56f movq 0x10(%rsp), %rdi movl 0x20(%rsp), %esi callq 0x75b5e0 movq 0x10(%rsp), %rdi movq 0x30(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x75b100 jmp 0x75b571 movq 0x10(%rsp), %rdi callq 0x75b610 callq 0x75a840 movq %rax, 0x18(%rsp) movq 0x28(%rsp), %rdi callq 0x75ae90 movq (%rax), %rdi movq 0x18(%rsp), %rsi callq 0x75a920 testb $0x1, %al jne 0x75b5aa movq 0x10(%rsp), %rdi callq 0x75b640 movq 0x28(%rsp), %rax addq $0x48, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::DenseMap<llvm::DITemplateTypeParameter*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DITemplateTypeParameter>, llvm::detail::DenseSetPair<llvm::DITemplateTypeParameter*>>::allocateBuckets(unsigned int)
bool allocateBuckets(unsigned Num) { NumBuckets = Num; if (NumBuckets == 0) { Buckets = nullptr; return false; } Buckets = static_cast<BucketT *>( allocate_buffer(sizeof(BucketT) * NumBuckets, alignof(BucketT))); return true; }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x14(%rsp), %ecx movl %ecx, 0x10(%rax) cmpl $0x0, 0x10(%rax) jne 0x771cc7 movq 0x8(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x27(%rsp) jmp 0x771cef movq 0x8(%rsp), %rax movl 0x10(%rax), %eax movl %eax, %edi shlq $0x3, %rdi movl $0x8, %esi callq 0x57fdc0 movq %rax, %rcx movq 0x8(%rsp), %rax movq %rcx, (%rax) movb $0x1, 0x27(%rsp) movb 0x27(%rsp), %al andb $0x1, %al addq $0x28, %rsp retq nopw (%rax,%rax)
/llvm/ADT/DenseMap.h
llvm::cl::parser<llvm::ChangePrinter>::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, llvm::ChangePrinter&)
bool parse(Option &O, StringRef ArgName, StringRef Arg, DataType &V) { StringRef ArgVal; if (Owner.hasArgStr()) ArgVal = Arg; else ArgVal = ArgName; for (size_t i = 0, e = Values.size(); i != e; ++i) if (Values[i].Name == ArgVal) { V = Values[i].V.getValue(); return false; } return O.error("Cannot find option named '" + ArgVal + "'!"); }
subq $0x118, %rsp # imm = 0x118 movq 0x120(%rsp), %rax movq %rdx, 0x100(%rsp) movq %rcx, 0x108(%rsp) movq %r8, 0xf0(%rsp) movq %r9, 0xf8(%rsp) movq %rdi, 0xe8(%rsp) movq %rsi, 0xe0(%rsp) movq 0xe8(%rsp), %rax movq %rax, 0x10(%rsp) leaq 0xd0(%rsp), %rdi callq 0x92b60 movq 0x10(%rsp), %rax movq 0x8(%rax), %rdi callq 0x9a8b0 testb $0x1, %al jne 0x803b7d jmp 0x803b9f movq 0xf0(%rsp), %rax movq %rax, 0xd0(%rsp) movq 0xf8(%rsp), %rax movq %rax, 0xd8(%rsp) jmp 0x803bbf movq 0x100(%rsp), %rax movq %rax, 0xd0(%rsp) movq 0x108(%rsp), %rax movq %rax, 0xd8(%rsp) movq 0x10(%rsp), %rdi movq $0x0, 0xc8(%rsp) addq $0x10, %rdi callq 0x58b6d0 movq %rax, 0xc0(%rsp) movq 0xc8(%rsp), %rax cmpq 0xc0(%rsp), %rax je 0x803cc5 movq 0x10(%rsp), %rdi addq $0x10, %rdi movq 0xc8(%rsp), %rsi callq 0x803e00 movq (%rax), %rcx movq %rcx, 0xb0(%rsp) movq 0x8(%rax), %rax movq %rax, 0xb8(%rsp) movq 0xd0(%rsp), %rax movq %rax, 0xa0(%rsp) movq 0xd8(%rsp), %rax movq %rax, 0xa8(%rsp) movq 0xb0(%rsp), %rdi movq 0xb8(%rsp), %rsi movq 0xa0(%rsp), %rdx movq 0xa8(%rsp), %rcx callq 0x95460 testb $0x1, %al jne 0x803c6f jmp 0x803caa movq 0x10(%rsp), %rdi addq $0x10, %rdi movq 0xc8(%rsp), %rsi callq 0x803e00 movq %rax, %rdi addq $0x20, %rdi callq 0x803e30 movl (%rax), %ecx movq 0x120(%rsp), %rax movl %ecx, (%rax) movb $0x0, 0x117(%rsp) jmp 0x803d55 jmp 0x803cac movq 0xc8(%rsp), %rax addq $0x1, %rax movq %rax, 0xc8(%rsp) jmp 0x803be1 movq 0xe0(%rsp), %rax movq %rax, 0x8(%rsp) leaq 0x50(%rsp), %rdi leaq 0x2025a7(%rip), %rsi # 0xa06285 leaq 0xd0(%rsp), %rdx callq 0x9a940 leaq 0x28(%rsp), %rdi leaq 0x233e09(%rip), %rsi # 0xa37b00 callq 0x9a970 leaq 0x78(%rsp), %rdi leaq 0x50(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x9a910 leaq 0x18(%rsp), %rdi xorl %esi, %esi movl $0x10, %edx callq 0x8d240 leaq 0x18(%rsp), %rdi callq 0x92b60 callq 0x5bb030 movq 0x8(%rsp), %rdi movq %rax, %r8 movq 0x18(%rsp), %rdx movq 0x20(%rsp), %rcx leaq 0x78(%rsp), %rsi callq 0x550640 andb $0x1, %al movb %al, 0x117(%rsp) movb 0x117(%rsp), %al andb $0x1, %al addq $0x118, %rsp # imm = 0x118 retq nopw %cs:(%rax,%rax)
/llvm/Support/CommandLine.h
llvm::TBAAVerifier::isValidScalarTBAANode(llvm::MDNode const*)
bool TBAAVerifier::isValidScalarTBAANode(const MDNode *MD) { auto ResultIt = TBAAScalarNodes.find(MD); if (ResultIt != TBAAScalarNodes.end()) return ResultIt->second; SmallPtrSet<const MDNode *, 4> Visited; bool Result = IsScalarTBAANodeImpl(MD, Visited); auto InsertResult = TBAAScalarNodes.insert({MD, Result}); (void)InsertResult; assert(InsertResult.second && "Just checked!"); return Result; }
subq $0xb8, %rsp movq %rdi, 0xa8(%rsp) movq %rsi, 0xa0(%rsp) movq 0xa8(%rsp), %rdi movq %rdi, 0x8(%rsp) addq $0x20, %rdi movq 0xa0(%rsp), %rsi callq 0x81cd50 movq 0x8(%rsp), %rdi movq %rax, 0x90(%rsp) movq %rdx, 0x98(%rsp) addq $0x20, %rdi callq 0x81ce30 movq %rax, 0x80(%rsp) movq %rdx, 0x88(%rsp) leaq 0x90(%rsp), %rdi leaq 0x80(%rsp), %rsi callq 0x81ce00 testb $0x1, %al jne 0x81c92e jmp 0x81c949 leaq 0x90(%rsp), %rdi callq 0x81ce90 movb 0x8(%rax), %al andb $0x1, %al movb %al, 0xb7(%rsp) jmp 0x81c9bc leaq 0x40(%rsp), %rdi callq 0x81cee0 movq 0xa0(%rsp), %rdi leaq 0x40(%rsp), %rsi callq 0x81cf00 movb %al, %cl movq 0x8(%rsp), %rax andb $0x1, %cl movb %cl, 0x3f(%rsp) addq $0x20, %rax movq %rax, (%rsp) leaq 0x10(%rsp), %rdi leaq 0xa0(%rsp), %rsi leaq 0x3f(%rsp), %rdx callq 0x81d0a0 movq (%rsp), %rsi leaq 0x20(%rsp), %rdi leaq 0x10(%rsp), %rdx callq 0x81d060 movb 0x3f(%rsp), %al andb $0x1, %al movb %al, 0xb7(%rsp) leaq 0x40(%rsp), %rdi callq 0x81d0d0 movb 0xb7(%rsp), %al andb $0x1, %al addq $0xb8, %rsp retq nopl (%rax)
/IR/Verifier.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, llvm::Instruction const*, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>>, llvm::Instruction const*, llvm::Instruction const*, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>>::getMinBucketToReserveForEntries(unsigned int)
unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { // Ensure that "NumEntries * 4 < NumBuckets * 3" if (NumEntries == 0) return 0; // +1 is required because of the strict equality. // For example if NumEntries is 48, we need to return 401. return NextPowerOf2(NumEntries * 4 / 3 + 1); }
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movl %esi, 0x4(%rsp) cmpl $0x0, 0x4(%rsp) jne 0x81fcde movl $0x0, 0x14(%rsp) jmp 0x81fcfe movl 0x4(%rsp), %eax shll $0x2, %eax movl $0x3, %ecx xorl %edx, %edx divl %ecx addl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x94600 movl %eax, 0x14(%rsp) movl 0x14(%rsp), %eax addq $0x18, %rsp retq nopw (%rax,%rax)
/llvm/ADT/DenseMap.h
(anonymous namespace)::Verifier::visitPHINode(llvm::PHINode&)
void Verifier::visitPHINode(PHINode &PN) { // Ensure that the PHI nodes are all grouped together at the top of the block. // This can be tested by checking whether the instruction before this is // either nonexistent (because this is begin()) or is a PHI node. If not, // then there is some other instruction before a PHI. Check(&PN == &PN.getParent()->front() || isa<PHINode>(--BasicBlock::iterator(&PN)), "PHI nodes not grouped at top of basic block!", &PN, PN.getParent()); // Check that a PHI doesn't yield a Token. Check(!PN.getType()->isTokenTy(), "PHI nodes cannot have token type!"); // Check that all of the values of the PHI node have the same type as the // result. for (Value *IncValue : PN.incoming_values()) { Check(PN.getType() == IncValue->getType(), "PHI node operands are not the same type as the result!", &PN); } // All other PHI node constraints are checked in the visitBasicBlock method. visitInstruction(PN); }
subq $0x108, %rsp # imm = 0x108 movq %rdi, 0x100(%rsp) movq %rsi, 0xf8(%rsp) movq 0x100(%rsp), %rax movq %rax, 0x20(%rsp) movq 0xf8(%rsp), %rax movq %rax, 0x10(%rsp) movq 0xf8(%rsp), %rdi addq $0x18, %rdi callq 0x61e150 movq %rax, %rdi callq 0x706a70 movq 0x10(%rsp), %rcx movq %rax, %rdx movb $0x1, %al cmpq %rdx, %rcx movb %al, 0x1f(%rsp) je 0x8616db movq 0xf8(%rsp), %rsi leaq 0xe8(%rsp), %rdi callq 0x709f50 leaq 0xe8(%rsp), %rdi callq 0x7087c0 movq %rax, %rdi callq 0x706a50 movb %al, 0x1f(%rsp) movb 0x1f(%rsp), %al xorb $-0x1, %al testb $0x1, %al jne 0x8616e7 jmp 0x86174b leaq 0xc0(%rsp), %rdi leaq 0x26476b(%rip), %rsi # 0xac5e61 callq 0x9a970 movq 0xf8(%rsp), %rax movq %rax, 0xb8(%rsp) movq 0xf8(%rsp), %rdi addq $0x18, %rdi callq 0x61e150 movq 0x20(%rsp), %rdi movq %rax, 0xb0(%rsp) leaq 0xc0(%rsp), %rsi leaq 0xb8(%rsp), %rdx leaq 0xb0(%rsp), %rcx callq 0x861890 jmp 0x861884 jmp 0x86174d jmp 0x86174f movq 0xf8(%rsp), %rdi callq 0x5f6cc0 movq %rax, %rdi callq 0x681a00 testb $0x1, %al jne 0x86176a jmp 0x861795 leaq 0x88(%rsp), %rdi leaq 0x264715(%rip), %rsi # 0xac5e8e callq 0x9a970 movq 0x20(%rsp), %rdi leaq 0x88(%rsp), %rsi callq 0x820ec0 jmp 0x861884 jmp 0x861797 movq 0xf8(%rsp), %rdi callq 0x8618e0 movq %rax, 0x70(%rsp) movq %rdx, 0x78(%rsp) leaq 0x70(%rsp), %rax movq %rax, 0x80(%rsp) movq 0x80(%rsp), %rdi callq 0x61aaa0 movq %rax, 0x68(%rsp) movq 0x80(%rsp), %rdi callq 0x61aab0 movq %rax, 0x60(%rsp) movq 0x68(%rsp), %rax cmpq 0x60(%rsp), %rax je 0x861872 movq 0x68(%rsp), %rdi callq 0x61aac0 movq %rax, 0x58(%rsp) movq 0xf8(%rsp), %rdi callq 0x5f6cc0 movq %rax, 0x8(%rsp) movq 0x58(%rsp), %rdi callq 0x5f6cc0 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax je 0x86185b leaq 0x30(%rsp), %rdi leaq 0x26467d(%rip), %rsi # 0xac5eb0 callq 0x9a970 movq 0x20(%rsp), %rdi movq 0xf8(%rsp), %rax movq %rax, 0x28(%rsp) leaq 0x30(%rsp), %rsi leaq 0x28(%rsp), %rdx callq 0x861910 jmp 0x861884 jmp 0x86185d jmp 0x86185f movq 0x68(%rsp), %rax addq $0x20, %rax movq %rax, 0x68(%rsp) jmp 0x8617df movq 0x20(%rsp), %rdi movq 0xf8(%rsp), %rsi callq 0x83fd80 addq $0x108, %rsp # imm = 0x108 retq nopl (%rax)
/IR/Verifier.cpp
llvm::Function const* const* llvm::SmallVectorTemplateCommon<llvm::Function const*, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<llvm::Function const*, true>>(llvm::SmallVectorTemplateBase<llvm::Function const*, true>*, llvm::Function const* const&, unsigned long)
static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt, size_t N) { size_t NewSize = This->size() + N; if (LLVM_LIKELY(NewSize <= This->capacity())) return &Elt; bool ReferencesStorage = false; int64_t Index = -1; if (!U::TakesParamByValue) { if (LLVM_UNLIKELY(This->isReferenceToStorage(&Elt))) { ReferencesStorage = true; Index = &Elt - This->begin(); } } This->grow(NewSize); return ReferencesStorage ? This->begin() + Index : &Elt; }
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq %rdx, 0x28(%rsp) movq 0x38(%rsp), %rdi callq 0x58b6d0 addq 0x28(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x38(%rsp), %rdi callq 0x58b4e0 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax ja 0x869374 movq 0x30(%rsp), %rax movq %rax, 0x40(%rsp) jmp 0x8693c6 movb $0x0, 0x1f(%rsp) movq $-0x1, 0x10(%rsp) movq 0x38(%rsp), %rdi movq 0x20(%rsp), %rsi callq 0x8693d0 testb $0x1, 0x1f(%rsp) je 0x8693b4 movq 0x38(%rsp), %rdi callq 0x866790 movq 0x10(%rsp), %rcx shlq $0x3, %rcx addq %rcx, %rax movq %rax, (%rsp) jmp 0x8693bd movq 0x30(%rsp), %rax movq %rax, (%rsp) movq (%rsp), %rax movq %rax, 0x40(%rsp) movq 0x40(%rsp), %rax addq $0x48, %rsp retq
/llvm/ADT/SmallVector.h
llvm::DenseMapIterator<llvm::Function*, std::pair<unsigned int, unsigned int>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::pair<unsigned int, unsigned int>>, false>::AdvancePastEmptyBuckets()
void AdvancePastEmptyBuckets() { assert(Ptr <= End); const KeyT Empty = KeyInfoT::getEmptyKey(); const KeyT Tombstone = KeyInfoT::getTombstoneKey(); while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) || KeyInfoT::isEqual(Ptr->getFirst(), Tombstone))) ++Ptr; }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x5f40c0 movq %rax, 0x18(%rsp) callq 0x5f9ff0 movq %rax, 0x10(%rsp) movq 0x8(%rsp), %rdx movq (%rdx), %rcx xorl %eax, %eax cmpq 0x8(%rdx), %rcx movb %al, 0x7(%rsp) je 0x869928 movq 0x8(%rsp), %rax movq (%rax), %rdi callq 0x81ef90 movq (%rax), %rdi movq 0x18(%rsp), %rsi callq 0x5f9fa0 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x6(%rsp) jne 0x869920 movq 0x8(%rsp), %rax movq (%rax), %rdi callq 0x81ef90 movq (%rax), %rdi movq 0x10(%rsp), %rsi callq 0x5f9fa0 movb %al, 0x6(%rsp) movb 0x6(%rsp), %al movb %al, 0x7(%rsp) movb 0x7(%rsp), %al testb $0x1, %al jne 0x869932 jmp 0x869943 movq 0x8(%rsp), %rax movq (%rax), %rcx addq $0x10, %rcx movq %rcx, (%rax) jmp 0x8698c7 addq $0x28, %rsp retq nopl (%rax,%rax)
/llvm/ADT/DenseMap.h
std::pair<llvm::DenseMapIterator<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>>, llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>>::try_emplace<>(llvm::BasicBlock const* const&)
std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return std::make_pair(makeIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() : getBucketsEnd(), *this, true), false); // Already in map. // Otherwise, insert the new element. TheBucket = InsertIntoBucket(TheBucket, Key, std::forward<Ts>(Args)...); return std::make_pair(makeIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() : getBucketsEnd(), *this, true), true); }
subq $0x88, %rsp movq %rdi, 0x28(%rsp) movq %rdi, 0x30(%rsp) movq %rsi, 0x80(%rsp) movq %rdx, 0x78(%rsp) movq 0x80(%rsp), %rdi movq %rdi, 0x38(%rsp) movq 0x78(%rsp), %rsi leaq 0x70(%rsp), %rdx callq 0x8834b0 testb $0x1, %al jne 0x87c810 jmp 0x87c88a movq 0x70(%rsp), %rax movq %rax, 0x20(%rsp) callq 0x87dc20 testb $0x1, %al jne 0x87c825 jmp 0x87c836 movq 0x38(%rsp), %rdi callq 0x8801f0 movq %rax, 0x18(%rsp) jmp 0x87c845 movq 0x38(%rsp), %rdi callq 0x880200 movq %rax, 0x18(%rsp) movq 0x38(%rsp), %rcx movq 0x20(%rsp), %rsi movq 0x18(%rsp), %rdx movl $0x1, %r8d movq %rcx, %rdi callq 0x883500 movq 0x28(%rsp), %rdi movq %rax, 0x60(%rsp) movq %rdx, 0x68(%rsp) movb $0x0, 0x5f(%rsp) leaq 0x60(%rsp), %rsi leaq 0x5f(%rsp), %rdx callq 0x884110 jmp 0x87c918 movq 0x38(%rsp), %rdi movq 0x70(%rsp), %rsi movq 0x78(%rsp), %rdx callq 0x884140 movq %rax, 0x70(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x87dc20 testb $0x1, %al jne 0x87c8b8 jmp 0x87c8c9 movq 0x38(%rsp), %rdi callq 0x8801f0 movq %rax, 0x8(%rsp) jmp 0x87c8d8 movq 0x38(%rsp), %rdi callq 0x880200 movq %rax, 0x8(%rsp) movq 0x38(%rsp), %rcx movq 0x10(%rsp), %rsi movq 0x8(%rsp), %rdx movl $0x1, %r8d movq %rcx, %rdi callq 0x883500 movq 0x28(%rsp), %rdi movq %rax, 0x48(%rsp) movq %rdx, 0x50(%rsp) movb $0x1, 0x47(%rsp) leaq 0x48(%rsp), %rsi leaq 0x47(%rsp), %rdx callq 0x884110 movq 0x30(%rsp), %rax addq $0x88, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, llvm::Instruction const*, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>>, llvm::Instruction const*, llvm::Instruction const*, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>>::moveFromOldBuckets(llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>*, llvm::detail::DenseMapPair<llvm::Instruction const*, llvm::Instruction const*>*)
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) && !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) { // Insert the key/value into the new table. BucketT *DestBucket; bool FoundVal = LookupBucketFor(B->getFirst(), DestBucket); (void)FoundVal; // silence warning. assert(!FoundVal && "Key already in new map?"); DestBucket->getFirst() = std::move(B->getFirst()); ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond())); incrementNumEntries(); // Free the value. B->getSecond().~ValueT(); } B->getFirst().~KeyT(); } }
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq %rdx, 0x50(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x81fd80 callq 0x81fe40 movq %rax, 0x48(%rsp) callq 0x865f70 movq %rax, 0x40(%rsp) movq 0x58(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x38(%rsp), %rax cmpq 0x30(%rsp), %rax je 0x87ff26 movq 0x38(%rsp), %rdi callq 0x81fea0 movq (%rax), %rdi movq 0x48(%rsp), %rsi callq 0x865f80 testb $0x1, %al jne 0x87ff09 movq 0x38(%rsp), %rdi callq 0x81fea0 movq (%rax), %rdi movq 0x40(%rsp), %rsi callq 0x865f80 testb $0x1, %al jne 0x87ff09 movq 0x38(%rsp), %rdi callq 0x81fea0 movq 0x18(%rsp), %rdi movq %rax, %rsi leaq 0x28(%rsp), %rdx callq 0x87f8a0 andb $0x1, %al movb %al, 0x27(%rsp) movq 0x38(%rsp), %rdi callq 0x81fea0 movq (%rax), %rax movq %rax, 0x8(%rsp) movq 0x28(%rsp), %rdi callq 0x81fea0 movq 0x8(%rsp), %rcx movq %rcx, (%rax) movq 0x28(%rsp), %rdi callq 0x865fa0 movq %rax, 0x10(%rsp) movq 0x38(%rsp), %rdi callq 0x865fa0 movq 0x18(%rsp), %rdi movq %rax, %rcx movq 0x10(%rsp), %rax movq (%rcx), %rcx movq %rcx, (%rax) callq 0x87fcd0 movq 0x38(%rsp), %rdi callq 0x865fa0 movq 0x38(%rsp), %rdi callq 0x81fea0 movq 0x38(%rsp), %rax addq $0x10, %rax movq %rax, 0x38(%rsp) jmp 0x87fe3a addq $0x68, %rsp retq nopl (%rax,%rax)
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>>, llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>, llvm::DenseMapInfo<llvm::BasicBlock const*, void>, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>>::makeIterator(llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>*, llvm::detail::DenseMapPair<llvm::BasicBlock const*, llvm::SmallVector<llvm::Instruction const*, 8u>>*, llvm::DebugEpochBase&, bool)
iterator makeIterator(BucketT *P, BucketT *E, DebugEpochBase &Epoch, bool NoAdvance=false) { if (shouldReverseIterate<KeyT>()) { BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1; return iterator(B, E, Epoch, NoAdvance); } return iterator(P, E, Epoch, NoAdvance); }
subq $0x58, %rsp movb %r8b, %al movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) andb $0x1, %al movb %al, 0x27(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x87dc20 testb $0x1, %al jne 0x883536 jmp 0x8835a2 movq 0x10(%rsp), %rdi movq 0x38(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x880200 movq %rax, %rcx movq 0x8(%rsp), %rax cmpq %rcx, %rax jne 0x883567 movq 0x10(%rsp), %rdi callq 0x8801f0 movq %rax, (%rsp) jmp 0x883574 movq 0x38(%rsp), %rax addq $0x58, %rax movq %rax, (%rsp) movq (%rsp), %rax movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x8837c0 jmp 0x8835c5 movq 0x38(%rsp), %rsi movq 0x30(%rsp), %rdx movq 0x28(%rsp), %rcx movb 0x27(%rsp), %al leaq 0x48(%rsp), %rdi andb $0x1, %al movzbl %al, %r8d callq 0x8837c0 movq 0x48(%rsp), %rax movq 0x50(%rsp), %rdx addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/ADT/DenseMap.h
llvm::GenericCycleInfo<llvm::GenericSSAContext<llvm::Function>>::getTopLevelParentCycle(llvm::BasicBlock*)
auto GenericCycleInfo<ContextT>::getTopLevelParentCycle(BlockT *Block) -> CycleT * { auto Cycle = BlockMapTopLevel.find(Block); if (Cycle != BlockMapTopLevel.end()) return Cycle->second; auto MapIt = BlockMap.find(Block); if (MapIt == BlockMap.end()) return nullptr; auto *C = MapIt->second; while (C->ParentCycle) C = C->ParentCycle; BlockMapTopLevel.try_emplace(Block, C); return C; }
subq $0x88, %rsp movq %rdi, 0x78(%rsp) movq %rsi, 0x70(%rsp) movq 0x78(%rsp), %rdi movq %rdi, 0x8(%rsp) addq $0x20, %rdi movq 0x70(%rsp), %rsi callq 0x885730 movq 0x8(%rsp), %rdi movq %rax, 0x60(%rsp) movq %rdx, 0x68(%rsp) addq $0x20, %rdi callq 0x884a50 movq %rax, 0x50(%rsp) movq %rdx, 0x58(%rsp) leaq 0x60(%rsp), %rdi leaq 0x50(%rsp), %rsi callq 0x884ab0 testb $0x1, %al jne 0x885650 jmp 0x88566b leaq 0x60(%rsp), %rdi callq 0x8857e0 movq 0x8(%rax), %rax movq %rax, 0x80(%rsp) jmp 0x88571a movq 0x8(%rsp), %rdi addq $0x8, %rdi movq 0x70(%rsp), %rsi callq 0x885730 movq 0x8(%rsp), %rdi movq %rax, 0x40(%rsp) movq %rdx, 0x48(%rsp) addq $0x8, %rdi callq 0x884a50 movq %rax, 0x30(%rsp) movq %rdx, 0x38(%rsp) leaq 0x40(%rsp), %rdi leaq 0x30(%rsp), %rsi callq 0x885830 testb $0x1, %al jne 0x8856b5 jmp 0x8856c3 movq $0x0, 0x80(%rsp) jmp 0x88571a leaq 0x40(%rsp), %rdi callq 0x8857e0 movq 0x8(%rax), %rax movq %rax, 0x28(%rsp) movq 0x28(%rsp), %rax cmpq $0x0, (%rax) je 0x8856f0 movq 0x28(%rsp), %rax movq (%rax), %rax movq %rax, 0x28(%rsp) jmp 0x8856d6 movq 0x8(%rsp), %rsi addq $0x20, %rsi leaq 0x10(%rsp), %rdi leaq 0x70(%rsp), %rdx leaq 0x28(%rsp), %rcx callq 0x884bd0 movq 0x28(%rsp), %rax movq %rax, 0x80(%rsp) movq 0x80(%rsp), %rax addq $0x88, %rsp retq nopw (%rax,%rax)
/llvm/ADT/GenericCycleImpl.h
llvm::SetVector<llvm::BasicBlock*, llvm::SmallVector<llvm::BasicBlock*, 8u>, llvm::DenseSet<llvm::BasicBlock const*, llvm::DenseMapInfo<llvm::BasicBlock const*, void>>, 8u>::insert(llvm::BasicBlock* const&)
bool insert(const value_type &X) { if constexpr (canBeSmall()) if (isSmall()) { if (!llvm::is_contained(vector_, X)) { vector_.push_back(X); if (vector_.size() > N) makeBig(); return true; } return false; } bool result = set_.insert(X).second; if (result) vector_.push_back(X); return result; }
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movq %rsi, 0x30(%rsp) movq 0x38(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x87d310 testb $0x1, %al jne 0x885b53 jmp 0x885bac movq 0x8(%rsp), %rdi addq $0x18, %rdi movq 0x30(%rsp), %rsi callq 0x88da30 testb $0x1, %al jne 0x885ba5 movq 0x8(%rsp), %rdi addq $0x18, %rdi movq 0x30(%rsp), %rax movq (%rax), %rsi callq 0x61b580 movq 0x8(%rsp), %rdi addq $0x18, %rdi callq 0x58b6d0 cmpq $0x8, %rax jbe 0x885b9e movq 0x8(%rsp), %rdi callq 0x88da90 movb $0x1, 0x47(%rsp) jmp 0x885bf1 movb $0x0, 0x47(%rsp) jmp 0x885bf1 movq 0x8(%rsp), %rsi movq 0x30(%rsp), %rdx leaq 0x10(%rsp), %rdi callq 0x88db10 movb 0x20(%rsp), %al andb $0x1, %al movb %al, 0x2f(%rsp) testb $0x1, 0x2f(%rsp) je 0x885be7 movq 0x8(%rsp), %rdi addq $0x18, %rdi movq 0x30(%rsp), %rax movq (%rax), %rsi callq 0x61b580 movb 0x2f(%rsp), %al andb $0x1, %al movb %al, 0x47(%rsp) movb 0x47(%rsp), %al andb $0x1, %al addq $0x48, %rsp retq nopl (%rax)
/llvm/ADT/SetVector.h
(anonymous namespace)::AsmParser::parseDirectiveCVFile()
bool AsmParser::parseDirectiveCVFile() { SMLoc FileNumberLoc = getTok().getLoc(); int64_t FileNumber; std::string Filename; std::string Checksum; int64_t ChecksumKind = 0; if (parseIntToken(FileNumber, "expected file number in '.cv_file' directive") || check(FileNumber < 1, FileNumberLoc, "file number less than one") || check(getTok().isNot(AsmToken::String), "unexpected token in '.cv_file' directive") || parseEscapedString(Filename)) return true; if (!parseOptionalToken(AsmToken::EndOfStatement)) { if (check(getTok().isNot(AsmToken::String), "unexpected token in '.cv_file' directive") || parseEscapedString(Checksum) || parseIntToken(ChecksumKind, "expected checksum kind in '.cv_file' directive") || parseEOL()) return true; } Checksum = fromHex(Checksum); void *CKMem = Ctx.allocate(Checksum.size(), 1); memcpy(CKMem, Checksum.data(), Checksum.size()); ArrayRef<uint8_t> ChecksumAsBytes(reinterpret_cast<const uint8_t *>(CKMem), Checksum.size()); if (!getStreamer().emitCVFileDirective(FileNumber, Filename, ChecksumAsBytes, static_cast<uint8_t>(ChecksumKind))) return Error(FileNumberLoc, "file number already allocated"); return false; }
subq $0x238, %rsp # imm = 0x238 movq %rdi, 0x228(%rsp) movq 0x228(%rsp), %rdi movq %rdi, 0x40(%rsp) callq 0x8fd120 movq %rax, %rdi callq 0x8fcd20 movq %rax, 0x220(%rsp) leaq 0x1f8(%rsp), %rdi callq 0x8d870 leaq 0x1d8(%rsp), %rdi callq 0x8d870 movq $0x0, 0x1d0(%rsp) leaq 0x1a8(%rsp), %rdi leaq 0x20944c(%rip), %rsi # 0xaca1f2 callq 0x9a970 movq 0x40(%rsp), %rdi leaq 0x218(%rsp), %rsi leaq 0x1a8(%rsp), %rdx callq 0x8fd490 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x4e(%rsp) jne 0x8c0ead cmpq $0x1, 0x218(%rsp) setl %al movb %al, 0x3f(%rsp) movq 0x220(%rsp), %rax movq %rax, 0x1a0(%rsp) leaq 0x178(%rsp), %rdi leaq 0x20941a(%rip), %rsi # 0xaca21f callq 0x9a970 movb 0x3f(%rsp), %al movq 0x40(%rsp), %rdi movq 0x1a0(%rsp), %rdx movzbl %al, %esi andl $0x1, %esi leaq 0x178(%rsp), %rcx callq 0x8fd680 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x4e(%rsp) jne 0x8c0ead movq 0x40(%rsp), %rdi callq 0x8fd120 movq %rax, %rdi movl $0x3, %esi callq 0x8c8b60 movb %al, 0x3e(%rsp) leaq 0x150(%rsp), %rdi leaq 0x2093d4(%rip), %rsi # 0xaca239 callq 0x9a970 movb 0x3e(%rsp), %al movq 0x40(%rsp), %rdi movzbl %al, %esi andl $0x1, %esi leaq 0x150(%rsp), %rdx callq 0x8fd610 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x4e(%rsp) jne 0x8c0ead movq 0x40(%rsp), %rdi movq (%rdi), %rax leaq 0x1f8(%rsp), %rsi callq *0xd0(%rax) movb %al, 0x4e(%rsp) movb 0x4e(%rsp), %al testb $0x1, %al jne 0x8c0eb7 jmp 0x8c0ecf movb $0x1, 0x237(%rsp) movl $0x1, 0x14c(%rsp) jmp 0x8c11d2 movq 0x40(%rsp), %rdi movl $0x9, %esi callq 0x8fd5a0 testb $0x1, %al jne 0x8c0fce movq 0x40(%rsp), %rdi callq 0x8fd120 movq %rax, %rdi movl $0x3, %esi callq 0x8c8b60 movb %al, 0x3c(%rsp) leaq 0x120(%rsp), %rdi leaq 0x209329(%rip), %rsi # 0xaca239 callq 0x9a970 movb 0x3c(%rsp), %al movq 0x40(%rsp), %rdi movzbl %al, %esi andl $0x1, %esi leaq 0x120(%rsp), %rdx callq 0x8fd610 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x3d(%rsp) jne 0x8c0faa movq 0x40(%rsp), %rdi movq (%rdi), %rax leaq 0x1d8(%rsp), %rsi callq *0xd0(%rax) movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x3d(%rsp) jne 0x8c0faa leaq 0xf8(%rsp), %rdi leaq 0x2092f2(%rip), %rsi # 0xaca262 callq 0x9a970 movq 0x40(%rsp), %rdi leaq 0x1d0(%rsp), %rsi leaq 0xf8(%rsp), %rdx callq 0x8fd490 movb %al, %cl movb $0x1, %al testb $0x1, %cl movb %al, 0x3d(%rsp) jne 0x8c0faa movq 0x40(%rsp), %rdi callq 0x8fd1a0 movb %al, 0x3d(%rsp) movb 0x3d(%rsp), %al testb $0x1, %al jne 0x8c0fb4 jmp 0x8c0fcc movb $0x1, 0x237(%rsp) movl $0x1, 0x14c(%rsp) jmp 0x8c11d2 jmp 0x8c0fce leaq 0xc8(%rsp), %rdi leaq 0x1d8(%rsp), %rsi callq 0x98d40 movq 0xc8(%rsp), %rsi movq 0xd0(%rsp), %rdx leaq 0xd8(%rsp), %rdi callq 0x3c99b0 leaq 0x1d8(%rsp), %rdi leaq 0xd8(%rsp), %rsi callq 0x8d930 leaq 0xd8(%rsp), %rdi callq 0x8daa0 movq 0x40(%rsp), %rax movq 0xe0(%rax), %rax movq %rax, 0x10(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x8d840 movq 0x10(%rsp), %rdi movl %eax, %esi movl $0x1, %edx callq 0x8d58f0 movq %rax, 0xc0(%rsp) movq 0xc0(%rsp), %rax movq %rax, 0x18(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x8d110 movq %rax, 0x20(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x8d840 movq 0x18(%rsp), %rdi movq 0x20(%rsp), %rsi movq %rax, %rdx callq 0x8d6f0 movq 0xc0(%rsp), %rax movq %rax, 0x28(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x8d840 movq 0x28(%rsp), %rsi movq %rax, %rdx leaq 0xb0(%rsp), %rdi callq 0x969b0 movq 0x40(%rsp), %rdi movq (%rdi), %rax callq *0x38(%rax) movq %rax, 0x30(%rsp) movq 0x218(%rsp), %rax movl %eax, 0x38(%rsp) leaq 0xa0(%rsp), %rdi leaq 0x1f8(%rsp), %rsi callq 0x98d40 movq 0x30(%rsp), %rdi movl 0x38(%rsp), %esi movq 0xb0(%rsp), %rax movq %rax, 0x90(%rsp) movq 0xb8(%rsp), %rax movq %rax, 0x98(%rsp) movq 0x1d0(%rsp), %rax movzbl %al, %r10d movq 0xa0(%rsp), %rdx movq 0xa8(%rsp), %rcx movq 0x90(%rsp), %r8 movq 0x98(%rsp), %r9 movq (%rdi), %rax movl %r10d, (%rsp) callq *0x2d8(%rax) testb $0x1, %al jne 0x8c11bf movq 0x220(%rsp), %rax movq %rax, 0x88(%rsp) leaq 0x60(%rsp), %rdi leaq 0x209118(%rip), %rsi # 0xaca291 callq 0x9a970 leaq 0x50(%rsp), %rdi callq 0x8aab30 movq 0x40(%rsp), %rdi movq 0x88(%rsp), %rsi movq 0x50(%rsp), %rcx movq 0x58(%rsp), %r8 leaq 0x60(%rsp), %rdx callq 0x8fd240 andb $0x1, %al movb %al, 0x237(%rsp) movl $0x1, 0x14c(%rsp) jmp 0x8c11d2 movb $0x0, 0x237(%rsp) movl $0x1, 0x14c(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x8daa0 leaq 0x1f8(%rsp), %rdi callq 0x8daa0 movb 0x237(%rsp), %al andb $0x1, %al addq $0x238, %rsp # imm = 0x238 retq nopl (%rax)
/MC/MCParser/AsmParser.cpp
(anonymous namespace)::AsmParser::parseDirectiveValue(llvm::StringRef, unsigned int)::$_0::operator()() const
bool AsmParser::parseDirectiveValue(StringRef IDVal, unsigned Size) { auto parseOp = [&]() -> bool { const MCExpr *Value; SMLoc ExprLoc = getLexer().getLoc(); if (checkForValidSection() || parseExpression(Value)) return true; // Special case constant expressions to match code generator. if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) { assert(Size <= 8 && "Invalid size"); uint64_t IntValue = MCE->getValue(); if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) return Error(ExprLoc, "out of range literal value"); getStreamer().emitIntValue(IntValue, Size); } else getStreamer().emitValue(Value, Size, ExprLoc); return false; }; return parseMany(parseOp); }
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq 0x88(%rsp), %rax movq %rax, 0x8(%rsp) movq (%rax), %rdi movq %rdi, 0x10(%rsp) movq (%rdi), %rax callq *0x28(%rax) movq %rax, %rdi callq 0x8fccf0 movq 0x10(%rsp), %rdi movq %rax, 0x78(%rsp) movq (%rdi), %rax callq *0x108(%rax) testb $0x1, %al jne 0x8d2531 movq 0x10(%rsp), %rdi leaq 0x80(%rsp), %rsi callq 0x8d2670 testb $0x1, %al jne 0x8d2531 jmp 0x8d253e movb $0x1, 0x97(%rsp) jmp 0x8d265a movq 0x80(%rsp), %rdi callq 0x8d26c0 movq %rax, 0x70(%rsp) cmpq $0x0, 0x70(%rsp) je 0x8d261d movq 0x70(%rsp), %rdi callq 0x8d26d0 movq %rax, %rcx movq 0x8(%rsp), %rax movq %rcx, 0x68(%rsp) movq 0x8(%rax), %rax movl (%rax), %edi shll $0x3, %edi movq 0x68(%rsp), %rsi callq 0x713510 testb $0x1, %al jne 0x8d25f4 movq 0x8(%rsp), %rax movq 0x8(%rax), %rax movl (%rax), %edi shll $0x3, %edi movq 0x68(%rsp), %rsi callq 0x713560 testb $0x1, %al jne 0x8d25f4 movq 0x78(%rsp), %rax movq %rax, 0x60(%rsp) leaq 0x38(%rsp), %rdi leaq 0x1f73e6(%rip), %rsi # 0xac99a2 callq 0x9a970 leaq 0x28(%rsp), %rdi callq 0x8aab30 movq 0x10(%rsp), %rdi movq 0x60(%rsp), %rsi movq 0x28(%rsp), %rcx movq 0x30(%rsp), %r8 leaq 0x38(%rsp), %rdx callq 0x8fd240 andb $0x1, %al movb %al, 0x97(%rsp) jmp 0x8d265a movq 0x10(%rsp), %rdi movq (%rdi), %rax callq *0x38(%rax) movq %rax, %rdi movq 0x8(%rsp), %rax movq 0x68(%rsp), %rsi movq 0x8(%rax), %rax movl (%rax), %edx movq (%rdi), %rax callq *0x208(%rax) jmp 0x8d2652 movq 0x10(%rsp), %rdi movq (%rdi), %rax callq *0x38(%rax) movq %rax, %rdi movq 0x8(%rsp), %rax movq 0x80(%rsp), %rsi movq 0x8(%rax), %rax movl (%rax), %edx movq 0x78(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x18(%rsp), %rcx callq 0x9752d0 movb $0x0, 0x97(%rsp) movb 0x97(%rsp), %al andb $0x1, %al addq $0x98, %rsp retq nopl (%rax,%rax)
/MC/MCParser/AsmParser.cpp
llvm::yaml::MappingTraits<llvm::MachO::InterfaceFile const*>::NormalizedTBD::denormalize(llvm::yaml::IO&)
const InterfaceFile *denormalize(IO &IO) { auto Ctx = reinterpret_cast<TextAPIContext *>(IO.getContext()); assert(Ctx); auto *File = new InterfaceFile; File->setPath(Ctx->Path); File->setFileType(Ctx->FileKind); File->addTargets(synthesizeTargets(Architectures, Platforms)); File->setInstallName(InstallName); File->setCurrentVersion(CurrentVersion); File->setCompatibilityVersion(CompatibilityVersion); File->setSwiftABIVersion(SwiftABIVersion); File->setObjCConstraint(ObjCConstraint); for (const auto &Target : File->targets()) File->addParentUmbrella(Target, ParentUmbrella); if (Ctx->FileKind == FileType::TBD_V1) { File->setTwoLevelNamespace(); File->setApplicationExtensionSafe(); } else { File->setTwoLevelNamespace(!(Flags & TBDFlags::FlatNamespace)); File->setApplicationExtensionSafe( !(Flags & TBDFlags::NotApplicationExtensionSafe)); } // For older file formats, the segment where the symbol // comes from is unknown, treat all symbols as Data // in these cases. const auto Flags = SymbolFlags::Data; for (const auto &Section : Exports) { const auto Targets = synthesizeTargets(Section.Architectures, Platforms); for (const auto &Lib : Section.AllowableClients) for (const auto &Target : Targets) File->addAllowableClient(Lib, Target); for (const auto &Lib : Section.ReexportedLibraries) for (const auto &Target : Targets) File->addReexportedLibrary(Lib, Target); for (const auto &Symbol : Section.Symbols) { if (Ctx->FileKind != FileType::TBD_V3 && Symbol.value.starts_with(ObjC2EHTypePrefix)) File->addSymbol(EncodeKind::ObjectiveCClassEHType, Symbol.value.drop_front(15), Targets, Flags); else File->addSymbol(EncodeKind::GlobalSymbol, Symbol, Targets, Flags); } for (auto &Symbol : Section.Classes) { auto Name = Symbol.value; if (Ctx->FileKind != FileType::TBD_V3) Name = Name.drop_front(); File->addSymbol(EncodeKind::ObjectiveCClass, Name, Targets, Flags); } for (auto &Symbol : Section.ClassEHs) File->addSymbol(EncodeKind::ObjectiveCClassEHType, Symbol, Targets, Flags); for (auto &Symbol : Section.IVars) { auto Name = Symbol.value; if (Ctx->FileKind != FileType::TBD_V3) Name = Name.drop_front(); File->addSymbol(EncodeKind::ObjectiveCInstanceVariable, Name, Targets, Flags); } for (auto &Symbol : Section.WeakDefSymbols) File->addSymbol(EncodeKind::GlobalSymbol, Symbol, Targets, SymbolFlags::WeakDefined | Flags); for (auto &Symbol : Section.TLVSymbols) File->addSymbol(EncodeKind::GlobalSymbol, Symbol, Targets, SymbolFlags::ThreadLocalValue | Flags); } for (const auto &Section : Undefineds) { const auto Targets = synthesizeTargets(Section.Architectures, Platforms); for (auto &Symbol : Section.Symbols) { if (Ctx->FileKind != FileType::TBD_V3 && Symbol.value.starts_with(ObjC2EHTypePrefix)) File->addSymbol(EncodeKind::ObjectiveCClassEHType, Symbol.value.drop_front(15), Targets, SymbolFlags::Undefined | Flags); else File->addSymbol(EncodeKind::GlobalSymbol, Symbol, Targets, SymbolFlags::Undefined | Flags); } for (auto &Symbol : Section.Classes) { auto Name = Symbol.value; if (Ctx->FileKind != FileType::TBD_V3) Name = Name.drop_front(); File->addSymbol(EncodeKind::ObjectiveCClass, Name, Targets, SymbolFlags::Undefined | Flags); } for (auto &Symbol : Section.ClassEHs) File->addSymbol(EncodeKind::ObjectiveCClassEHType, Symbol, Targets, SymbolFlags::Undefined | Flags); for (auto &Symbol : Section.IVars) { auto Name = Symbol.value; if (Ctx->FileKind != FileType::TBD_V3) Name = Name.drop_front(); File->addSymbol(EncodeKind::ObjectiveCInstanceVariable, Name, Targets, SymbolFlags::Undefined | Flags); } for (auto &Symbol : Section.WeakRefSymbols) File->addSymbol(EncodeKind::GlobalSymbol, Symbol, Targets, SymbolFlags::Undefined | SymbolFlags::WeakReferenced | Flags); } return File; }
subq $0x698, %rsp # imm = 0x698 movq %rdi, 0x690(%rsp) movq %rsi, 0x688(%rsp) movq 0x690(%rsp), %rax movq %rax, 0xa0(%rsp) movq 0x688(%rsp), %rdi callq 0x5b0250 movq %rax, 0x680(%rsp) movl $0x1d0, %edi # imm = 0x1D0 callq 0x8d720 movq %rax, %rdi movq %rdi, 0x80(%rsp) callq 0x921a00 movq 0x80(%rsp), %rax movq %rax, 0x678(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x88(%rsp) movq 0x680(%rsp), %rsi addq $0x20, %rsi leaq 0x668(%rsp), %rdi callq 0x98d40 movq 0x88(%rsp), %rdi movq 0x668(%rsp), %rsi movq 0x670(%rsp), %rdx callq 0x90ac10 movq 0x678(%rsp), %rdi movq 0x680(%rsp), %rax movl 0x40(%rax), %esi callq 0x921b20 movq 0xa0(%rsp), %rsi movq 0x678(%rsp), %rax movq %rax, 0x90(%rsp) addq $0x60, %rsi leaq 0x5dc(%rsp), %rdi callq 0x9309f0 movq 0xa0(%rsp), %rsi movq %rsi, %rcx addq $0x90, %rcx movl 0x5dc(%rsp), %edx leaq 0x5e0(%rsp), %rdi callq 0x92e3f0 movq 0x90(%rsp), %rdi leaq 0x5e0(%rsp), %rsi callq 0x92e350 leaq 0x5e0(%rsp), %rdi callq 0x34e2a0 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rdi movq 0xe0(%rax), %rcx movq %rcx, 0x5c8(%rsp) movq 0xe8(%rax), %rax movq %rax, 0x5d0(%rsp) movq 0x5c8(%rsp), %rsi movq 0x5d0(%rsp), %rdx callq 0x921be0 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rdi movl 0xf0(%rax), %eax movl %eax, 0x5c4(%rsp) movl 0x5c4(%rsp), %esi callq 0x921c50 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rdi movl 0xf4(%rax), %eax movl %eax, 0x5c0(%rsp) movl 0x5c0(%rsp), %esi callq 0x921c70 movq 0xa0(%rsp), %rdi movq 0x678(%rsp), %rax movq %rax, 0x98(%rsp) addq $0xf8, %rdi callq 0x921cb0 movq 0x98(%rsp), %rdi movzbl (%rax), %esi callq 0x921c90 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rdi movl 0xfc(%rax), %esi callq 0x92e590 movq 0x678(%rsp), %rdi callq 0x90d550 movq %rax, 0x5a8(%rsp) movq %rdx, 0x5b0(%rsp) leaq 0x5a8(%rsp), %rax movq %rax, 0x5b8(%rsp) movq 0x5b8(%rsp), %rdi callq 0x90d580 movq %rax, 0x5a0(%rsp) movq 0x5b8(%rsp), %rdi callq 0x90d590 movq %rax, 0x598(%rsp) movq 0x5a0(%rsp), %rax cmpq 0x598(%rsp), %rax je 0x92d0c6 movq 0xa0(%rsp), %rax movq 0x5a0(%rsp), %rcx movq %rcx, 0x590(%rsp) movq 0x678(%rsp), %rdi movq 0x590(%rsp), %rsi movq 0x108(%rax), %rcx movq %rcx, 0x580(%rsp) movq 0x110(%rax), %rax movq %rax, 0x588(%rsp) movq 0x580(%rsp), %rdx movq 0x588(%rsp), %rcx callq 0x931730 movq 0x5a0(%rsp), %rax addq $0x18, %rax movq %rax, 0x5a0(%rsp) jmp 0x92d040 movq 0x680(%rsp), %rax cmpl $0x8, 0x40(%rax) jne 0x92d0fa movq 0x678(%rsp), %rdi movl $0x1, %esi callq 0x921db0 movq 0x678(%rsp), %rdi movl $0x1, %esi callq 0x921de0 jmp 0x92d174 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rcx movq %rcx, 0x70(%rsp) movl 0x100(%rax), %edi movl $0x1, %esi callq 0x91de20 movq 0x70(%rsp), %rdi cmpl $0x0, %eax setne %al xorb $-0x1, %al movzbl %al, %esi andl $0x1, %esi callq 0x921db0 movq 0xa0(%rsp), %rax movq 0x678(%rsp), %rcx movq %rcx, 0x78(%rsp) movl 0x100(%rax), %edi movl $0x2, %esi callq 0x91de20 movq 0x78(%rsp), %rdi cmpl $0x0, %eax setne %al xorb $-0x1, %al movzbl %al, %esi andl $0x1, %esi callq 0x921de0 movq 0xa0(%rsp), %rax movb $0x20, 0x57f(%rsp) addq $0x118, %rax # imm = 0x118 movq %rax, 0x570(%rsp) movq 0x570(%rsp), %rdi callq 0x928860 movq %rax, 0x568(%rsp) movq 0x570(%rsp), %rdi callq 0x928490 movq %rax, 0x560(%rsp) leaq 0x568(%rsp), %rdi leaq 0x560(%rsp), %rsi callq 0x92bb60 testb $0x1, %al jne 0x92d1da jmp 0x92dbb5 leaq 0x568(%rsp), %rdi callq 0x928d60 movq %rax, 0x558(%rsp) movq 0x558(%rsp), %rsi leaq 0x4cc(%rsp), %rdi callq 0x9309f0 movq 0xa0(%rsp), %rsi movq %rsi, %rcx addq $0x90, %rcx movl 0x4cc(%rsp), %edx leaq 0x4d0(%rsp), %rdi callq 0x92e3f0 movq 0x558(%rsp), %rax addq $0x18, %rax movq %rax, 0x4c0(%rsp) movq 0x4c0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x4b8(%rsp) movq 0x4c0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x4b0(%rsp) leaq 0x4b8(%rsp), %rdi leaq 0x4b0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d286 jmp 0x92d377 leaq 0x4b8(%rsp), %rdi callq 0x91aa30 movq %rax, 0x4a8(%rsp) leaq 0x4d0(%rsp), %rax movq %rax, 0x4a0(%rsp) movq 0x4a0(%rsp), %rdi callq 0x34f360 movq %rax, 0x498(%rsp) movq 0x4a0(%rsp), %rdi callq 0x90db40 movq %rax, 0x490(%rsp) movq 0x498(%rsp), %rax cmpq 0x490(%rsp), %rax je 0x92d363 movq 0x498(%rsp), %rax movq %rax, 0x488(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x68(%rsp) movq 0x4a8(%rsp), %rdi callq 0x921e40 movq 0x68(%rsp), %rdi movq (%rax), %rcx movq %rcx, 0x478(%rsp) movq 0x8(%rax), %rax movq %rax, 0x480(%rsp) movq 0x488(%rsp), %rcx movq 0x478(%rsp), %rsi movq 0x480(%rsp), %rdx callq 0x9314f0 movq 0x498(%rsp), %rax addq $0x18, %rax movq %rax, 0x498(%rsp) jmp 0x92d2d5 jmp 0x92d365 leaq 0x4b8(%rsp), %rdi callq 0x91aa40 jmp 0x92d268 movq 0x558(%rsp), %rax addq $0x30, %rax movq %rax, 0x470(%rsp) movq 0x470(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x468(%rsp) movq 0x470(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x460(%rsp) leaq 0x468(%rsp), %rdi leaq 0x460(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d3d3 jmp 0x92d4c4 leaq 0x468(%rsp), %rdi callq 0x91aa30 movq %rax, 0x458(%rsp) leaq 0x4d0(%rsp), %rax movq %rax, 0x450(%rsp) movq 0x450(%rsp), %rdi callq 0x34f360 movq %rax, 0x448(%rsp) movq 0x450(%rsp), %rdi callq 0x90db40 movq %rax, 0x440(%rsp) movq 0x448(%rsp), %rax cmpq 0x440(%rsp), %rax je 0x92d4b0 movq 0x448(%rsp), %rax movq %rax, 0x438(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x60(%rsp) movq 0x458(%rsp), %rdi callq 0x921e40 movq 0x60(%rsp), %rdi movq (%rax), %rcx movq %rcx, 0x428(%rsp) movq 0x8(%rax), %rax movq %rax, 0x430(%rsp) movq 0x438(%rsp), %rcx movq 0x428(%rsp), %rsi movq 0x430(%rsp), %rdx callq 0x9316a0 movq 0x448(%rsp), %rax addq $0x18, %rax movq %rax, 0x448(%rsp) jmp 0x92d422 jmp 0x92d4b2 leaq 0x468(%rsp), %rdi callq 0x91aa40 jmp 0x92d3b5 movq 0x558(%rsp), %rax addq $0x48, %rax movq %rax, 0x420(%rsp) movq 0x420(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x418(%rsp) movq 0x420(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x410(%rsp) leaq 0x418(%rsp), %rdi leaq 0x410(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d520 jmp 0x92d655 leaq 0x418(%rsp), %rdi callq 0x91aa30 movq %rax, 0x408(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92d5e6 movq 0x408(%rsp), %rdi movq 0x4ebde2(%rip), %rax # 0xe19338 movq %rax, 0x3f8(%rsp) movq 0x4ebddb(%rip), %rax # 0xe19340 movq %rax, 0x400(%rsp) movq 0x3f8(%rsp), %rsi movq 0x400(%rsp), %rdx callq 0x91e40 testb $0x1, %al jne 0x92d588 jmp 0x92d5e6 movq 0x678(%rsp), %rax movq %rax, 0x58(%rsp) movq 0x408(%rsp), %rdi movl $0xf, %esi callq 0x91f90 movq 0x58(%rsp), %rdi movq %rax, 0x3e8(%rsp) movq %rdx, 0x3f0(%rsp) movq 0x3e8(%rsp), %rdx movq 0x3f0(%rsp), %rcx movl $0x2, %esi leaq 0x4d0(%rsp), %r8 movl $0x20, %r9d callq 0x922bd0 jmp 0x92d641 movq 0x678(%rsp), %rax movq %rax, 0x50(%rsp) movq 0x408(%rsp), %rdi callq 0x921e40 movq 0x50(%rsp), %rdi movq (%rax), %rcx movq %rcx, 0x3d8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x3e0(%rsp) movq 0x3d8(%rsp), %rdx movq 0x3e0(%rsp), %rcx xorl %esi, %esi leaq 0x4d0(%rsp), %r8 movl $0x20, %r9d callq 0x922bd0 jmp 0x92d643 leaq 0x418(%rsp), %rdi callq 0x91aa40 jmp 0x92d502 movq 0x558(%rsp), %rax addq $0x60, %rax movq %rax, 0x3d0(%rsp) movq 0x3d0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x3c8(%rsp) movq 0x3d0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x3c0(%rsp) leaq 0x3c8(%rsp), %rdi leaq 0x3c0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d6b1 jmp 0x92d797 leaq 0x3c8(%rsp), %rdi callq 0x91aa30 movq %rax, 0x3b8(%rsp) movq 0x3b8(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x3a8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x3b0(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92d735 leaq 0x3a8(%rsp), %rdi movl $0x1, %esi callq 0x91f90 movq %rax, 0x398(%rsp) movq %rdx, 0x3a0(%rsp) movq 0x398(%rsp), %rax movq %rax, 0x3a8(%rsp) movq 0x3a0(%rsp), %rax movq %rax, 0x3b0(%rsp) movq 0x678(%rsp), %rdi movq 0x3a8(%rsp), %rax movq %rax, 0x388(%rsp) movq 0x3b0(%rsp), %rax movq %rax, 0x390(%rsp) movq 0x388(%rsp), %rdx movq 0x390(%rsp), %rcx movl $0x1, %esi leaq 0x4d0(%rsp), %r8 movl $0x20, %r9d callq 0x922bd0 leaq 0x3c8(%rsp), %rdi callq 0x91aa40 jmp 0x92d693 movq 0x558(%rsp), %rax addq $0x78, %rax movq %rax, 0x380(%rsp) movq 0x380(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x378(%rsp) movq 0x380(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x370(%rsp) leaq 0x378(%rsp), %rdi leaq 0x370(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d7f3 jmp 0x92d878 leaq 0x378(%rsp), %rdi callq 0x91aa30 movq %rax, 0x368(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x48(%rsp) movq 0x368(%rsp), %rdi callq 0x921e40 movq 0x48(%rsp), %rdi movq (%rax), %rcx movq %rcx, 0x358(%rsp) movq 0x8(%rax), %rax movq %rax, 0x360(%rsp) movq 0x358(%rsp), %rdx movq 0x360(%rsp), %rcx movl $0x2, %esi leaq 0x4d0(%rsp), %r8 movl $0x20, %r9d callq 0x922bd0 leaq 0x378(%rsp), %rdi callq 0x91aa40 jmp 0x92d7d5 movq 0x558(%rsp), %rax addq $0x90, %rax movq %rax, 0x350(%rsp) movq 0x350(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x348(%rsp) movq 0x350(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x340(%rsp) leaq 0x348(%rsp), %rdi leaq 0x340(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92d8d6 jmp 0x92d9bc leaq 0x348(%rsp), %rdi callq 0x91aa30 movq %rax, 0x338(%rsp) movq 0x338(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x328(%rsp) movq 0x8(%rax), %rax movq %rax, 0x330(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92d95a leaq 0x328(%rsp), %rdi movl $0x1, %esi callq 0x91f90 movq %rax, 0x318(%rsp) movq %rdx, 0x320(%rsp) movq 0x318(%rsp), %rax movq %rax, 0x328(%rsp) movq 0x320(%rsp), %rax movq %rax, 0x330(%rsp) movq 0x678(%rsp), %rdi movq 0x328(%rsp), %rax movq %rax, 0x308(%rsp) movq 0x330(%rsp), %rax movq %rax, 0x310(%rsp) movq 0x308(%rsp), %rdx movq 0x310(%rsp), %rcx movl $0x3, %esi leaq 0x4d0(%rsp), %r8 movl $0x20, %r9d callq 0x922bd0 leaq 0x348(%rsp), %rdi callq 0x91aa40 jmp 0x92d8b8 movq 0x558(%rsp), %rax addq $0xa8, %rax movq %rax, 0x300(%rsp) movq 0x300(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x2f8(%rsp) movq 0x300(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x2f0(%rsp) leaq 0x2f8(%rsp), %rdi leaq 0x2f0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92da1a jmp 0x92daa9 leaq 0x2f8(%rsp), %rdi callq 0x91aa30 movq %rax, 0x2e8(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x40(%rsp) movq 0x2e8(%rsp), %rdi callq 0x921e40 movq (%rax), %rcx movq %rcx, 0x2d8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x2e0(%rsp) movl $0x2, %edi movl $0x20, %esi callq 0x922ae0 movq 0x40(%rsp), %rdi movq 0x2d8(%rsp), %rdx movq 0x2e0(%rsp), %rcx xorl %esi, %esi leaq 0x4d0(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0x2f8(%rsp), %rdi callq 0x91aa40 jmp 0x92d9fc movq 0x558(%rsp), %rax addq $0xc0, %rax movq %rax, 0x2d0(%rsp) movq 0x2d0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x2c8(%rsp) movq 0x2d0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x2c0(%rsp) leaq 0x2c8(%rsp), %rdi leaq 0x2c0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92db07 jmp 0x92db96 leaq 0x2c8(%rsp), %rdi callq 0x91aa30 movq %rax, 0x2b8(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x2b8(%rsp), %rdi callq 0x921e40 movq (%rax), %rcx movq %rcx, 0x2a8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x2b0(%rsp) movl $0x1, %edi movl $0x20, %esi callq 0x922ae0 movq 0x38(%rsp), %rdi movq 0x2a8(%rsp), %rdx movq 0x2b0(%rsp), %rcx xorl %esi, %esi leaq 0x4d0(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0x2c8(%rsp), %rdi callq 0x91aa40 jmp 0x92dae9 leaq 0x4d0(%rsp), %rdi callq 0x34e2a0 leaq 0x568(%rsp), %rdi callq 0x92e5b0 jmp 0x92d1bc movq 0xa0(%rsp), %rax addq $0x130, %rax # imm = 0x130 movq %rax, 0x2a0(%rsp) movq 0x2a0(%rsp), %rdi callq 0x929490 movq %rax, 0x298(%rsp) movq 0x2a0(%rsp), %rdi callq 0x929210 movq %rax, 0x290(%rsp) leaq 0x298(%rsp), %rdi leaq 0x290(%rsp), %rsi callq 0x92c520 testb $0x1, %al jne 0x92dc13 jmp 0x92e2c5 leaq 0x298(%rsp), %rdi callq 0x929990 movq %rax, 0x288(%rsp) movq 0x288(%rsp), %rsi leaq 0x1fc(%rsp), %rdi callq 0x9309f0 movq 0xa0(%rsp), %rsi movq %rsi, %rcx addq $0x90, %rcx movl 0x1fc(%rsp), %edx leaq 0x200(%rsp), %rdi callq 0x92e3f0 movq 0x288(%rsp), %rax addq $0x18, %rax movq %rax, 0x1f0(%rsp) movq 0x1f0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x1e8(%rsp) movq 0x1f0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x1e0(%rsp) leaq 0x1e8(%rsp), %rdi leaq 0x1e0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92dcbf jmp 0x92de0e leaq 0x1e8(%rsp), %rdi callq 0x91aa30 movq %rax, 0x1d8(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92dd92 movq 0x1d8(%rsp), %rdi movq 0x4eb643(%rip), %rax # 0xe19338 movq %rax, 0x1c8(%rsp) movq 0x4eb63c(%rip), %rax # 0xe19340 movq %rax, 0x1d0(%rsp) movq 0x1c8(%rsp), %rsi movq 0x1d0(%rsp), %rdx callq 0x91e40 testb $0x1, %al jne 0x92dd27 jmp 0x92dd92 movq 0x678(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x1d8(%rsp), %rdi movl $0xf, %esi callq 0x91f90 movq %rax, 0x1b8(%rsp) movq %rdx, 0x1c0(%rsp) movl $0x8, %edi movl $0x20, %esi callq 0x922ae0 movq 0x30(%rsp), %rdi movq 0x1b8(%rsp), %rdx movq 0x1c0(%rsp), %rcx movl $0x2, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 jmp 0x92ddfa movq 0x678(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x1d8(%rsp), %rdi callq 0x921e40 movq (%rax), %rcx movq %rcx, 0x1a8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x1b0(%rsp) movl $0x8, %edi movl $0x20, %esi callq 0x922ae0 movq 0x28(%rsp), %rdi movq 0x1a8(%rsp), %rdx movq 0x1b0(%rsp), %rcx xorl %esi, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 jmp 0x92ddfc leaq 0x1e8(%rsp), %rdi callq 0x91aa40 jmp 0x92dca1 movq 0x288(%rsp), %rax addq $0x30, %rax movq %rax, 0x1a0(%rsp) movq 0x1a0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x198(%rsp) movq 0x1a0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x190(%rsp) leaq 0x198(%rsp), %rdi leaq 0x190(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92de6a jmp 0x92df67 leaq 0x198(%rsp), %rdi callq 0x91aa30 movq %rax, 0x188(%rsp) movq 0x188(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x178(%rsp) movq 0x8(%rax), %rax movq %rax, 0x180(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92deee leaq 0x178(%rsp), %rdi movl $0x1, %esi callq 0x91f90 movq %rax, 0x168(%rsp) movq %rdx, 0x170(%rsp) movq 0x168(%rsp), %rax movq %rax, 0x178(%rsp) movq 0x170(%rsp), %rax movq %rax, 0x180(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x178(%rsp), %rax movq %rax, 0x158(%rsp) movq 0x180(%rsp), %rax movq %rax, 0x160(%rsp) movl $0x8, %edi movl $0x20, %esi callq 0x922ae0 movq 0x20(%rsp), %rdi movq 0x158(%rsp), %rdx movq 0x160(%rsp), %rcx movl $0x1, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0x198(%rsp), %rdi callq 0x91aa40 jmp 0x92de4c movq 0x288(%rsp), %rax addq $0x48, %rax movq %rax, 0x150(%rsp) movq 0x150(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x148(%rsp) movq 0x150(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x140(%rsp) leaq 0x148(%rsp), %rdi leaq 0x140(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92dfc3 jmp 0x92e055 leaq 0x148(%rsp), %rdi callq 0x91aa30 movq %rax, 0x138(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x138(%rsp), %rdi callq 0x921e40 movq (%rax), %rcx movq %rcx, 0x128(%rsp) movq 0x8(%rax), %rax movq %rax, 0x130(%rsp) movl $0x8, %edi movl $0x20, %esi callq 0x922ae0 movq 0x18(%rsp), %rdi movq 0x128(%rsp), %rdx movq 0x130(%rsp), %rcx movl $0x2, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0x148(%rsp), %rdi callq 0x91aa40 jmp 0x92dfa5 movq 0x288(%rsp), %rax addq $0x60, %rax movq %rax, 0x120(%rsp) movq 0x120(%rsp), %rdi callq 0x91a7b0 movq %rax, 0x118(%rsp) movq 0x120(%rsp), %rdi callq 0x91a7e0 movq %rax, 0x110(%rsp) leaq 0x118(%rsp), %rdi leaq 0x110(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92e0b1 jmp 0x92e1ae leaq 0x118(%rsp), %rdi callq 0x91aa30 movq %rax, 0x108(%rsp) movq 0x108(%rsp), %rax movq (%rax), %rcx movq %rcx, 0xf8(%rsp) movq 0x8(%rax), %rax movq %rax, 0x100(%rsp) movq 0x680(%rsp), %rax cmpl $0x20, 0x40(%rax) je 0x92e135 leaq 0xf8(%rsp), %rdi movl $0x1, %esi callq 0x91f90 movq %rax, 0xe8(%rsp) movq %rdx, 0xf0(%rsp) movq 0xe8(%rsp), %rax movq %rax, 0xf8(%rsp) movq 0xf0(%rsp), %rax movq %rax, 0x100(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x10(%rsp) movq 0xf8(%rsp), %rax movq %rax, 0xd8(%rsp) movq 0x100(%rsp), %rax movq %rax, 0xe0(%rsp) movl $0x8, %edi movl $0x20, %esi callq 0x922ae0 movq 0x10(%rsp), %rdi movq 0xd8(%rsp), %rdx movq 0xe0(%rsp), %rcx movl $0x3, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0x118(%rsp), %rdi callq 0x91aa40 jmp 0x92e093 movq 0x288(%rsp), %rax addq $0x78, %rax movq %rax, 0xd0(%rsp) movq 0xd0(%rsp), %rdi callq 0x91a7b0 movq %rax, 0xc8(%rsp) movq 0xd0(%rsp), %rdi callq 0x91a7e0 movq %rax, 0xc0(%rsp) leaq 0xc8(%rsp), %rdi leaq 0xc0(%rsp), %rsi callq 0x91a9c0 testb $0x1, %al jne 0x92e20a jmp 0x92e2a6 leaq 0xc8(%rsp), %rdi callq 0x91aa30 movq %rax, 0xb8(%rsp) movq 0x678(%rsp), %rax movq %rax, 0x8(%rsp) movq 0xb8(%rsp), %rdi callq 0x921e40 movq (%rax), %rcx movq %rcx, 0xa8(%rsp) movq 0x8(%rax), %rax movq %rax, 0xb0(%rsp) movl $0x8, %edi movl $0x4, %esi callq 0x922ae0 movl $0x20, %esi movzbl %al, %edi callq 0x922ae0 movq 0x8(%rsp), %rdi movq 0xa8(%rsp), %rdx movq 0xb0(%rsp), %rcx xorl %esi, %esi leaq 0x200(%rsp), %r8 movzbl %al, %r9d callq 0x922bd0 leaq 0xc8(%rsp), %rdi callq 0x91aa40 jmp 0x92e1ec leaq 0x200(%rsp), %rdi callq 0x34e2a0 leaq 0x298(%rsp), %rdi callq 0x92e5d0 jmp 0x92dbf5 movq 0x678(%rsp), %rax addq $0x698, %rsp # imm = 0x698 retq nopw %cs:(%rax,%rax) nop
/TextAPI/TextStub.cpp
llvm::MCContext::createELFSectionImpl(llvm::StringRef, unsigned int, unsigned int, unsigned int, llvm::MCSymbolELF const*, bool, unsigned int, llvm::MCSymbolELF const*)
MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, unsigned Flags, unsigned EntrySize, const MCSymbolELF *Group, bool Comdat, unsigned UniqueID, const MCSymbolELF *LinkedToSym) { auto *R = getOrCreateSectionSymbol<MCSymbolELF>(Section); R->setBinding(ELF::STB_LOCAL); R->setType(ELF::STT_SECTION); auto *Ret = new (ELFAllocator.Allocate()) MCSectionELF( Section, Type, Flags, EntrySize, Group, Comdat, UniqueID, R, LinkedToSym); auto *F = allocInitialFragment(*Ret); R->setFragment(F); return Ret; }
pushq %r14 pushq %rbx subq $0x98, %rsp movq 0xc8(%rsp), %rax movl 0xc0(%rsp), %eax movb 0xb8(%rsp), %al movq 0xb0(%rsp), %r10 movq %rsi, 0x88(%rsp) movq %rdx, 0x90(%rsp) movq %rdi, 0x80(%rsp) movl %ecx, 0x7c(%rsp) movl %r8d, 0x78(%rsp) movl %r9d, 0x74(%rsp) andb $0x1, %al movb %al, 0x73(%rsp) movq 0x80(%rsp), %rdi movq %rdi, 0x30(%rsp) movq 0x88(%rsp), %rax movq %rax, 0x58(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x60(%rsp) movq 0x58(%rsp), %rsi movq 0x60(%rsp), %rdx callq 0x94c710 movq %rax, 0x68(%rsp) movq 0x68(%rsp), %rdi xorl %esi, %esi callq 0x980b60 movq 0x68(%rsp), %rdi movl $0x3, %esi callq 0x980c70 movq 0x30(%rsp), %rdi addq $0x240, %rdi # imm = 0x240 movl $0x1, %esi callq 0x94c880 movq %rax, %rdi movq %rdi, 0x28(%rsp) movq 0x88(%rsp), %rax movq %rax, 0x40(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x48(%rsp) movl 0x7c(%rsp), %ecx movl 0x78(%rsp), %r8d movl 0x74(%rsp), %r9d movq 0xb0(%rsp), %r14 movb 0x73(%rsp), %bl movl 0xc0(%rsp), %r11d movq 0x68(%rsp), %r10 movq 0xc8(%rsp), %rax movq 0x40(%rsp), %rsi movq 0x48(%rsp), %rdx andb $0x1, %bl movq %r14, (%rsp) movzbl %bl, %ebx movl %ebx, 0x8(%rsp) movl %r11d, 0x10(%rsp) movq %r10, 0x18(%rsp) movq %rax, 0x20(%rsp) callq 0x94c8b0 movq 0x28(%rsp), %rax movq 0x30(%rsp), %rdi movq %rax, 0x50(%rsp) movq 0x50(%rsp), %rsi callq 0x94a7b0 movq %rax, 0x38(%rsp) movq 0x68(%rsp), %rdi movq 0x38(%rsp), %rsi callq 0x94c9f0 movq 0x50(%rsp), %rax addq $0x98, %rsp popq %rbx popq %r14 retq nopw (%rax,%rax)
/MC/MCContext.cpp
llvm::SpecificBumpPtrAllocator<llvm::MCSubtargetInfo>::DestroyAll()::'lambda'(char*, char*)::operator()(char*, char*) const
void DestroyAll() { auto DestroyElements = [](char *Begin, char *End) { assert(Begin == (char *)alignAddr(Begin, Align::Of<T>())); for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T)) reinterpret_cast<T *>(Ptr)->~T(); }; for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; ++I) { size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize( std::distance(Allocator.Slabs.begin(), I)); char *Begin = (char *)alignAddr(*I, Align::Of<T>()); char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr : (char *)*I + AllocatedSlabSize; DestroyElements(Begin, End); } for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { void *Ptr = PtrAndSize.first; size_t Size = PtrAndSize.second; DestroyElements((char *)alignAddr(Ptr, Align::Of<T>()), (char *)Ptr + Size); } Allocator.Reset(); }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x8(%rsp), %rax addq $0x120, %rax # imm = 0x120 cmpq 0x10(%rsp), %rax ja 0x955dbb movq 0x8(%rsp), %rdi movq (%rdi), %rax callq *(%rax) movq 0x8(%rsp), %rax addq $0x120, %rax # imm = 0x120 movq %rax, 0x8(%rsp) jmp 0x955d8d addq $0x28, %rsp retq
/llvm/Support/Allocator.h
llvm::MCDwarfLineTableHeader::tryGetFile(llvm::StringRef&, llvm::StringRef&, std::optional<llvm::MD5::MD5Result>, std::optional<llvm::StringRef>, unsigned short, unsigned int)
Expected<unsigned> MCDwarfLineTableHeader::tryGetFile(StringRef &Directory, StringRef &FileName, std::optional<MD5::MD5Result> Checksum, std::optional<StringRef> Source, uint16_t DwarfVersion, unsigned FileNumber) { if (Directory == CompilationDir) Directory = ""; if (FileName.empty()) { FileName = "<stdin>"; Directory = ""; } assert(!FileName.empty()); // Keep track of whether any or all files have an MD5 checksum. // If any files have embedded source, they all must. if (MCDwarfFiles.empty()) { trackMD5Usage(Checksum.has_value()); HasAnySource |= Source.has_value(); } if (DwarfVersion >= 5 && isRootFile(RootFile, Directory, FileName, Checksum)) return 0; if (FileNumber == 0) { // File numbers start with 1 and/or after any file numbers // allocated by inline-assembler .file directives. FileNumber = MCDwarfFiles.empty() ? 1 : MCDwarfFiles.size(); SmallString<256> Buffer; auto IterBool = SourceIdMap.insert( std::make_pair((Directory + Twine('\0') + FileName).toStringRef(Buffer), FileNumber)); if (!IterBool.second) return IterBool.first->second; } // Make space for this FileNumber in the MCDwarfFiles vector if needed. if (FileNumber >= MCDwarfFiles.size()) MCDwarfFiles.resize(FileNumber + 1); // Get the new MCDwarfFile slot for this FileNumber. MCDwarfFile &File = MCDwarfFiles[FileNumber]; // It is an error to see the same number more than once. if (!File.Name.empty()) return make_error<StringError>("file number already allocated", inconvertibleErrorCode()); if (Directory.empty()) { // Separate the directory part from the basename of the FileName. StringRef tFileName = sys::path::filename(FileName); if (!tFileName.empty()) { Directory = sys::path::parent_path(FileName); if (!Directory.empty()) FileName = tFileName; } } // Find or make an entry in the MCDwarfDirs vector for this Directory. // Capture directory name. unsigned DirIndex; if (Directory.empty()) { // For FileNames with no directories a DirIndex of 0 is used. DirIndex = 0; } else { DirIndex = llvm::find(MCDwarfDirs, Directory) - MCDwarfDirs.begin(); if (DirIndex >= MCDwarfDirs.size()) MCDwarfDirs.push_back(std::string(Directory)); // The DirIndex is one based, as DirIndex of 0 is used for FileNames with // no directories. MCDwarfDirs[] is unlike MCDwarfFiles[] in that the // directory names are stored at MCDwarfDirs[DirIndex-1] where FileNames // are stored at MCDwarfFiles[FileNumber].Name . DirIndex++; } File.Name = std::string(FileName); File.DirIndex = DirIndex; File.Checksum = Checksum; trackMD5Usage(Checksum.has_value()); File.Source = Source; if (Source.has_value()) HasAnySource = true; // return the allocated FileNumber. return FileNumber; }
subq $0x438, %rsp # imm = 0x438 movq %rdi, 0x88(%rsp) movw %r8w, %ax movq %rdi, %r8 movq %r8, 0x90(%rsp) leaq 0x458(%rsp), %r8 movq %r8, 0x98(%rsp) leaq 0x440(%rsp), %r8 movq %r8, 0xa0(%rsp) movq %rdi, 0x430(%rsp) movq %rsi, 0x428(%rsp) movq %rdx, 0x420(%rsp) movq %rcx, 0x418(%rsp) movw %ax, 0x416(%rsp) movl %r9d, 0x410(%rsp) movq 0x428(%rsp), %rsi movq %rsi, 0xa8(%rsp) movq 0x420(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x400(%rsp) movq 0x8(%rax), %rax movq %rax, 0x408(%rsp) addq $0x190, %rsi # imm = 0x190 leaq 0x3f0(%rsp), %rdi callq 0x98d40 movq 0x400(%rsp), %rdi movq 0x408(%rsp), %rsi movq 0x3f0(%rsp), %rdx movq 0x3f8(%rsp), %rcx callq 0x95460 testb $0x1, %al jne 0x95c3ec jmp 0x95c41f leaq 0x3e0(%rsp), %rdi leaq 0xe5ce3(%rip), %rsi # 0xa420de callq 0x91de0 movq 0x420(%rsp), %rax movq 0x3e0(%rsp), %rcx movq %rcx, (%rax) movq 0x3e8(%rsp), %rcx movq %rcx, 0x8(%rax) movq 0x418(%rsp), %rdi callq 0x92020 testb $0x1, %al jne 0x95c432 jmp 0x95c498 leaq 0x3d0(%rsp), %rdi leaq 0xa9e5f(%rip), %rsi # 0xa062a0 callq 0x91de0 movq 0x418(%rsp), %rax movq 0x3d0(%rsp), %rcx movq %rcx, (%rax) movq 0x3d8(%rsp), %rcx movq %rcx, 0x8(%rax) leaq 0x3c0(%rsp), %rdi leaq 0xe5c6a(%rip), %rsi # 0xa420de callq 0x91de0 movq 0x420(%rsp), %rax movq 0x3c0(%rsp), %rcx movq %rcx, (%rax) movq 0x3c8(%rsp), %rcx movq %rcx, 0x8(%rax) movq 0xa8(%rsp), %rdi addq $0x78, %rdi callq 0x58b710 testb $0x1, %al jne 0x95c4af jmp 0x95c509 movq 0xa0(%rsp), %rdi callq 0x8ca820 movq 0xa8(%rsp), %rdi movzbl %al, %esi andl $0x1, %esi callq 0x8ca7b0 movq 0x98(%rsp), %rdi callq 0x8ca840 movb %al, %cl movq 0xa8(%rsp), %rax andb $0x1, %cl movzbl %cl, %edx movb 0x200(%rax), %cl andb $0x1, %cl movzbl %cl, %ecx orl %edx, %ecx cmpl $0x0, %ecx setne %cl andb $0x1, %cl movb %cl, 0x200(%rax) movzwl 0x416(%rsp), %eax cmpl $0x5, %eax jl 0x95c5b5 movq 0xa0(%rsp), %rax movq 0xa8(%rsp), %rdi addq $0x1b0, %rdi # imm = 0x1B0 movq 0x420(%rsp), %rsi movq 0x418(%rsp), %rdx movq (%rax), %rcx movq %rcx, 0x3a8(%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x3b0(%rsp) movb 0x10(%rax), %al movb %al, 0x3b8(%rsp) leaq 0x3a8(%rsp), %rax movq (%rax), %rcx movq %rcx, (%rsp) movq 0x8(%rax), %rcx movq %rcx, 0x8(%rsp) movb 0x10(%rax), %al movb %al, 0x10(%rsp) callq 0x95cbd0 testb $0x1, %al jne 0x95c58c jmp 0x95c5b5 movq 0x88(%rsp), %rdi movl $0x0, 0x3a4(%rsp) leaq 0x3a4(%rsp), %rsi xorl %eax, %eax movl %eax, %edx callq 0xea560 jmp 0x95cbbd cmpl $0x0, 0x410(%rsp) jne 0x95c7c0 movq 0xa8(%rsp), %rdi addq $0x78, %rdi callq 0x58b710 testb $0x1, %al jne 0x95c5da jmp 0x95c5e9 movl $0x1, %eax movq %rax, 0x80(%rsp) jmp 0x95c602 movq 0xa8(%rsp), %rdi addq $0x78, %rdi callq 0x58b6d0 movq %rax, 0x80(%rsp) movq 0x80(%rsp), %rax movl %eax, 0x410(%rsp) leaq 0x288(%rsp), %rdi movq %rdi, 0x70(%rsp) callq 0x332200 movq 0xa8(%rsp), %rax addq $0x178, %rax # imm = 0x178 movq %rax, 0x78(%rsp) movq 0x420(%rsp), %rsi leaq 0x1d8(%rsp), %rdi movq %rdi, 0x48(%rsp) callq 0x9b740 leaq 0x1b0(%rsp), %rdi movq %rdi, 0x50(%rsp) xorl %esi, %esi callq 0x4abfc0 movq 0x48(%rsp), %rsi movq 0x50(%rsp), %rdx leaq 0x200(%rsp), %rdi movq %rdi, 0x58(%rsp) callq 0x9a910 movq 0x418(%rsp), %rsi leaq 0x188(%rsp), %rdi movq %rdi, 0x60(%rsp) callq 0x9b740 movq 0x58(%rsp), %rsi movq 0x60(%rsp), %rdx leaq 0x228(%rsp), %rdi movq %rdi, 0x68(%rsp) callq 0x9a910 movq 0x68(%rsp), %rdi movq 0x70(%rsp), %rsi callq 0x2117e0 movq %rax, 0x250(%rsp) movq %rdx, 0x258(%rsp) leaq 0x260(%rsp), %rdi leaq 0x250(%rsp), %rsi leaq 0x410(%rsp), %rdx callq 0x944b20 movq 0x78(%rsp), %rdi movq 0x270(%rsp), %rcx movq %rsp, %rax movq %rcx, 0x10(%rax) movups 0x260(%rsp), %xmm0 movups %xmm0, (%rax) callq 0x1eb700 movb %dl, 0x180(%rsp) movq %rax, 0x178(%rsp) movq 0x178(%rsp), %rax movq %rax, 0x278(%rsp) movb 0x180(%rsp), %al movb %al, 0x280(%rsp) testb $0x1, 0x280(%rsp) jne 0x95c794 leaq 0x278(%rsp), %rdi callq 0x1eb810 movq %rax, 0x170(%rsp) leaq 0x170(%rsp), %rdi callq 0x1eb840 movq 0x88(%rsp), %rdi movq %rax, %rsi addq $0x8, %rsi xorl %eax, %eax movl %eax, %edx callq 0xea520 movl $0x1, 0x16c(%rsp) jmp 0x95c79f movl $0x0, 0x16c(%rsp) leaq 0x288(%rsp), %rdi callq 0x334530 movl 0x16c(%rsp), %eax testl %eax, %eax je 0x95c7be jmp 0x95c7b9 jmp 0x95cbbd jmp 0x95c7c0 movq 0xa8(%rsp), %rdi movl 0x410(%rsp), %eax movq %rax, 0x40(%rsp) addq $0x78, %rdi callq 0x58b6d0 movq %rax, %rcx movq 0x40(%rsp), %rax cmpq %rcx, %rax jb 0x95c809 movq 0xa8(%rsp), %rdi addq $0x78, %rdi movl 0x410(%rsp), %eax addl $0x1, %eax movl %eax, %eax movl %eax, %esi callq 0x95cc70 movq 0xa8(%rsp), %rdi addq $0x78, %rdi movl 0x410(%rsp), %eax movl %eax, %esi callq 0x95cca0 movq %rax, 0x160(%rsp) movq 0x160(%rsp), %rdi callq 0x8d280 testb $0x1, %al jne 0x95c893 callq 0x570fd0 movl %eax, 0x148(%rsp) movq %rdx, 0x150(%rsp) leaq 0x158(%rsp), %rdi leaq 0x16da32(%rip), %rsi # 0xaca291 leaq 0x148(%rsp), %rdx callq 0x931fe0 movq 0x88(%rsp), %rdi leaq 0x158(%rsp), %rsi callq 0xea4e0 leaq 0x158(%rsp), %rdi callq 0x91f40 jmp 0x95cbbd movq 0x420(%rsp), %rdi callq 0x92020 testb $0x1, %al jne 0x95c8a9 jmp 0x95c99d movq 0x418(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x128(%rsp) movq 0x8(%rax), %rax movq %rax, 0x130(%rsp) movq 0x128(%rsp), %rdi movq 0x130(%rsp), %rsi xorl %edx, %edx callq 0x5bf1e0 movq %rax, 0x138(%rsp) movq %rdx, 0x140(%rsp) leaq 0x138(%rsp), %rdi callq 0x92020 testb $0x1, %al jne 0x95c99b movq 0x418(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x108(%rsp) movq 0x8(%rax), %rax movq %rax, 0x110(%rsp) movq 0x108(%rsp), %rdi movq 0x110(%rsp), %rsi xorl %edx, %edx callq 0x5be860 movq %rax, 0x118(%rsp) movq %rdx, 0x120(%rsp) movq 0x420(%rsp), %rax movq 0x118(%rsp), %rcx movq %rcx, (%rax) movq 0x120(%rsp), %rcx movq %rcx, 0x8(%rax) movq 0x420(%rsp), %rdi callq 0x92020 testb $0x1, %al jne 0x95c999 movq 0x418(%rsp), %rax movq 0x138(%rsp), %rcx movq %rcx, (%rax) movq 0x140(%rsp), %rcx movq %rcx, 0x8(%rax) jmp 0x95c99b jmp 0x95c99d movq 0x420(%rsp), %rdi callq 0x92020 testb $0x1, %al jne 0x95c9b0 jmp 0x95c9c0 movl $0x0, 0x104(%rsp) jmp 0x95cab1 movq 0xa8(%rsp), %rdi addq $0x8, %rdi movq 0x420(%rsp), %rsi callq 0x95ccd0 movq 0xa8(%rsp), %rdi movq %rax, 0x30(%rsp) addq $0x8, %rdi callq 0x2a1690 movq 0xa8(%rsp), %rdi movq %rax, %rcx movq 0x30(%rsp), %rax subq %rcx, %rax sarq $0x5, %rax movl %eax, 0x104(%rsp) movl 0x104(%rsp), %eax movq %rax, 0x38(%rsp) addq $0x8, %rdi callq 0x58b6d0 movq %rax, %rcx movq 0x38(%rsp), %rax cmpq %rcx, %rax jb 0x95caa0 movq 0xa8(%rsp), %rax addq $0x8, %rax movq %rax, 0x28(%rsp) movq 0x420(%rsp), %rax movq %rax, 0x20(%rsp) leaq 0xdf(%rsp), %rdi callq 0x8d5a0 movq 0x20(%rsp), %rsi leaq 0xe0(%rsp), %rdi leaq 0xdf(%rsp), %rdx callq 0xe95e0 movq 0x28(%rsp), %rdi leaq 0xe0(%rsp), %rsi callq 0x2a72a0 leaq 0xe0(%rsp), %rdi callq 0x8daa0 leaq 0xdf(%rsp), %rdi callq 0x8d060 movl 0x104(%rsp), %eax addl $0x1, %eax movl %eax, 0x104(%rsp) movq 0x418(%rsp), %rax movq %rax, 0x18(%rsp) leaq 0xb7(%rsp), %rdi callq 0x8d5a0 movq 0x18(%rsp), %rsi leaq 0xb8(%rsp), %rdi leaq 0xb7(%rsp), %rdx callq 0xe95e0 movq 0x160(%rsp), %rdi leaq 0xb8(%rsp), %rsi callq 0x8d930 leaq 0xb8(%rsp), %rdi callq 0x8daa0 leaq 0xb7(%rsp), %rdi callq 0x8d060 movq 0xa0(%rsp), %rdi movl 0x104(%rsp), %ecx movq 0x160(%rsp), %rax movl %ecx, 0x20(%rax) movq 0x160(%rsp), %rax movq (%rdi), %rcx movq %rcx, 0x24(%rax) movq 0x8(%rdi), %rcx movq %rcx, 0x2c(%rax) movb 0x10(%rdi), %cl movb %cl, 0x34(%rax) callq 0x8ca820 movq 0xa8(%rsp), %rdi movzbl %al, %esi andl $0x1, %esi callq 0x8ca7b0 movq 0x98(%rsp), %rdi movq 0x160(%rsp), %rax movq (%rdi), %rcx movq %rcx, 0x38(%rax) movq 0x8(%rdi), %rcx movq %rcx, 0x40(%rax) movq 0x10(%rdi), %rcx movq %rcx, 0x48(%rax) callq 0x8ca840 testb $0x1, %al jne 0x95cb95 jmp 0x95cba4 movq 0xa8(%rsp), %rax movb $0x1, 0x200(%rax) movq 0x88(%rsp), %rdi leaq 0x410(%rsp), %rsi xorl %eax, %eax movl %eax, %edx callq 0xea5a0 movq 0x90(%rsp), %rax addq $0x438, %rsp # imm = 0x438 retq nopl (%rax)
/MC/MCDwarf.cpp
canExpand(llvm::MCSymbol const&, bool)
static bool canExpand(const MCSymbol &Sym, bool InSet) { if (Sym.isWeakExternal()) return false; const MCExpr *Expr = Sym.getVariableValue(); const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr); if (Inner) { if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF) return false; } if (InSet) return true; return !Sym.isInSection(); }
subq $0x28, %rsp movb %sil, %al movq %rdi, 0x18(%rsp) andb $0x1, %al movb %al, 0x17(%rsp) movq 0x18(%rsp), %rdi callq 0x8ab430 testb $0x1, %al jne 0x963142 jmp 0x963149 movb $0x0, 0x27(%rsp) jmp 0x9631ac movq 0x18(%rsp), %rdi movl $0x1, %esi callq 0x8aad50 movq %rax, 0x8(%rsp) movq 0x8(%rsp), %rdi callq 0x963730 movq %rax, (%rsp) cmpq $0x0, (%rsp) je 0x96318c movq (%rsp), %rdi callq 0x8e0eb0 movzwl %ax, %eax cmpl $0x1d, %eax jne 0x96318a movb $0x0, 0x27(%rsp) jmp 0x9631ac jmp 0x96318c testb $0x1, 0x17(%rsp) je 0x96319a movb $0x1, 0x27(%rsp) jmp 0x9631ac movq 0x18(%rsp), %rdi callq 0x8fa420 xorb $-0x1, %al andb $0x1, %al movb %al, 0x27(%rsp) movb 0x27(%rsp), %al andb $0x1, %al addq $0x28, %rsp retq nopw (%rax,%rax)
/MC/MCExpr.cpp
void llvm::codeview::ContinuationRecordBuilder::writeMemberType<llvm::codeview::VirtualBaseClassRecord>(llvm::codeview::VirtualBaseClassRecord&)
void ContinuationRecordBuilder::writeMemberType(RecordType &Record) { assert(Kind); uint32_t OriginalOffset = SegmentWriter.getOffset(); CVMemberRecord CVMR; CVMR.Kind = static_cast<TypeLeafKind>(Record.getKind()); // Member Records aren't length-prefixed, they only have a 2-byte TypeLeafKind // at the beginning. cantFail(SegmentWriter.writeEnum(CVMR.Kind)); // Let the Mapping handle the rest. cantFail(Mapping.visitMemberBegin(CVMR)); cantFail(Mapping.visitKnownMember(CVMR, Record)); cantFail(Mapping.visitMemberEnd(CVMR)); // Make sure it's padded to 4 bytes. addPadding(SegmentWriter); assert(getCurrentSegmentLength() % 4 == 0); // The maximum length of a single segment is 64KB minus the size to insert a // continuation. So if we are over that, inject a continuation between the // previous member and the member that was just written, then end the previous // segment after the continuation and begin a new one with the just-written // member. if (getCurrentSegmentLength() > MaxSegmentLength) { // We need to inject some bytes before the member we just wrote but after // the previous member. Save off the length of the member we just wrote so // that we can do validate it. uint32_t MemberLength = SegmentWriter.getOffset() - OriginalOffset; (void) MemberLength; insertSegmentEnd(OriginalOffset); // Since this member now becomes a new top-level record, it should have // gotten a RecordPrefix injected, and that RecordPrefix + the member we // just wrote should now constitute the entirety of the current "new" // segment. assert(getCurrentSegmentLength() == MemberLength + sizeof(RecordPrefix)); } assert(getCurrentSegmentLength() % 4 == 0); assert(getCurrentSegmentLength() <= MaxSegmentLength); }
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x8(%rsp) addq $0x50, %rdi callq 0x1ebb80 movl %eax, 0x54(%rsp) leaq 0x38(%rsp), %rdi callq 0x990e90 movq 0x58(%rsp), %rdi callq 0x440f70 movq 0x8(%rsp), %rsi movw %ax, 0x38(%rsp) addq $0x50, %rsi leaq 0x30(%rsp), %rdi movzwl 0x38(%rsp), %edx callq 0x990eb0 leaq 0x30(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0xa20a0 leaq 0x30(%rsp), %rdi callq 0x91f40 movq 0x8(%rsp), %rsi addq $0x90, %rsi leaq 0x28(%rsp), %rdi leaq 0x38(%rsp), %rdx callq 0x9bb8e0 leaq 0x28(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0xa20a0 leaq 0x28(%rsp), %rdi callq 0x91f40 movq 0x8(%rsp), %rsi addq $0x90, %rsi movq 0x58(%rsp), %rcx leaq 0x20(%rsp), %rdi leaq 0x38(%rsp), %rdx callq 0x9c5510 leaq 0x20(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0xa20a0 leaq 0x20(%rsp), %rdi callq 0x91f40 movq 0x8(%rsp), %rsi addq $0x90, %rsi leaq 0x18(%rsp), %rdi leaq 0x38(%rsp), %rdx callq 0x9bbc90 leaq 0x18(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0xa20a0 leaq 0x18(%rsp), %rdi callq 0x91f40 movq 0x8(%rsp), %rdi addq $0x50, %rdi callq 0x990ef0 movq 0x8(%rsp), %rdi callq 0x990440 cmpl $0xfef8, %eax # imm = 0xFEF8 jbe 0x9910d2 movq 0x8(%rsp), %rdi addq $0x50, %rdi callq 0x1ebb80 movq 0x8(%rsp), %rdi movl 0x54(%rsp), %ecx subq %rcx, %rax movl %eax, 0x14(%rsp) movl 0x54(%rsp), %esi callq 0x990480 addq $0x68, %rsp retq nopw (%rax,%rax)
/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
llvm::Error llvm::codeview::FieldListDeserializer::visitKnownMemberImpl<llvm::codeview::StaticDataMemberRecord>(llvm::codeview::CVMemberRecord&, llvm::codeview::StaticDataMemberRecord&)
Error visitKnownMemberImpl(CVMemberRecord &CVR, RecordType &Record) { if (auto EC = Mapping.Mapping.visitKnownMember(CVR, Record)) return EC; uint32_t EndOffset = Mapping.Reader.getOffset(); uint32_t RecordLength = EndOffset - Mapping.StartOffset; Mapping.Reader.setOffset(Mapping.StartOffset); if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) return EC; assert(Mapping.Reader.getOffset() == EndOffset); return Error::success(); }
subq $0x58, %rsp movq %rdi, 0x10(%rsp) movq %rdi, %rax movq %rax, (%rsp) movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq %rcx, 0x38(%rsp) movq 0x48(%rsp), %rsi movq %rsi, 0x8(%rsp) movb $0x0, 0x37(%rsp) addq $0x8, %rsi addq $0x8, %rsi movq 0x40(%rsp), %rdx movq 0x38(%rsp), %rcx callq 0x9c5200 movq 0x10(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x99864a jmp 0x998659 movb $0x1, 0x37(%rsp) movl $0x1, 0x30(%rsp) jmp 0x998661 movl $0x0, 0x30(%rsp) testb $0x1, 0x37(%rsp) jne 0x998672 movq 0x10(%rsp), %rdi callq 0x91f40 movl 0x30(%rsp), %eax testl %eax, %eax je 0x998681 jmp 0x99867c jmp 0x998740 movq 0x8(%rsp), %rax movq 0x8(%rax), %rdi callq 0xa3830 movq %rax, %rcx movq 0x8(%rsp), %rax movl %ecx, 0x2c(%rsp) movl 0x2c(%rsp), %ecx subl 0x68(%rax), %ecx movl %ecx, 0x28(%rsp) movq 0x8(%rax), %rdi movl 0x68(%rax), %eax movl %eax, %esi callq 0x1eb4b0 movq 0x8(%rsp), %rax movq 0x10(%rsp), %rdi movb $0x0, 0x27(%rsp) movq 0x8(%rax), %rsi movq 0x40(%rsp), %rdx addq $0x8, %rdx movl 0x28(%rsp), %ecx callq 0x545360 movq 0x10(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9986e9 jmp 0x9986f8 movb $0x1, 0x27(%rsp) movl $0x1, 0x30(%rsp) jmp 0x998700 movl $0x0, 0x30(%rsp) testb $0x1, 0x27(%rsp) jne 0x998711 movq 0x10(%rsp), %rdi callq 0x91f40 movl 0x30(%rsp), %eax testl %eax, %eax je 0x99871d jmp 0x99871b jmp 0x998740 leaq 0x18(%rsp), %rdi callq 0x91c20 movq 0x10(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x91c60 leaq 0x18(%rsp), %rdi callq 0x91ca0 movq (%rsp), %rax addq $0x58, %rsp retq nopl (%rax)
/llvm/DebugInfo/CodeView/TypeDeserializer.h
llvm::Error llvm::codeview::FieldListDeserializer::visitKnownMemberImpl<llvm::codeview::OneMethodRecord>(llvm::codeview::CVMemberRecord&, llvm::codeview::OneMethodRecord&)
Error visitKnownMemberImpl(CVMemberRecord &CVR, RecordType &Record) { if (auto EC = Mapping.Mapping.visitKnownMember(CVR, Record)) return EC; uint32_t EndOffset = Mapping.Reader.getOffset(); uint32_t RecordLength = EndOffset - Mapping.StartOffset; Mapping.Reader.setOffset(Mapping.StartOffset); if (auto EC = Mapping.Reader.readBytes(CVR.Data, RecordLength)) return EC; assert(Mapping.Reader.getOffset() == EndOffset); return Error::success(); }
subq $0x58, %rsp movq %rdi, 0x10(%rsp) movq %rdi, %rax movq %rax, (%rsp) movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq %rcx, 0x38(%rsp) movq 0x48(%rsp), %rsi movq %rsi, 0x8(%rsp) movb $0x0, 0x37(%rsp) addq $0x8, %rsi addq $0x8, %rsi movq 0x40(%rsp), %rdx movq 0x38(%rsp), %rcx callq 0x9c49e0 movq 0x10(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x998bca jmp 0x998bd9 movb $0x1, 0x37(%rsp) movl $0x1, 0x30(%rsp) jmp 0x998be1 movl $0x0, 0x30(%rsp) testb $0x1, 0x37(%rsp) jne 0x998bf2 movq 0x10(%rsp), %rdi callq 0x91f40 movl 0x30(%rsp), %eax testl %eax, %eax je 0x998c01 jmp 0x998bfc jmp 0x998cc0 movq 0x8(%rsp), %rax movq 0x8(%rax), %rdi callq 0xa3830 movq %rax, %rcx movq 0x8(%rsp), %rax movl %ecx, 0x2c(%rsp) movl 0x2c(%rsp), %ecx subl 0x68(%rax), %ecx movl %ecx, 0x28(%rsp) movq 0x8(%rax), %rdi movl 0x68(%rax), %eax movl %eax, %esi callq 0x1eb4b0 movq 0x8(%rsp), %rax movq 0x10(%rsp), %rdi movb $0x0, 0x27(%rsp) movq 0x8(%rax), %rsi movq 0x40(%rsp), %rdx addq $0x8, %rdx movl 0x28(%rsp), %ecx callq 0x545360 movq 0x10(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x998c69 jmp 0x998c78 movb $0x1, 0x27(%rsp) movl $0x1, 0x30(%rsp) jmp 0x998c80 movl $0x0, 0x30(%rsp) testb $0x1, 0x27(%rsp) jne 0x998c91 movq 0x10(%rsp), %rdi callq 0x91f40 movl 0x30(%rsp), %eax testl %eax, %eax je 0x998c9d jmp 0x998c9b jmp 0x998cc0 leaq 0x18(%rsp), %rdi callq 0x91c20 movq 0x10(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x91c60 leaq 0x18(%rsp), %rdi callq 0x91ca0 movq (%rsp), %rax addq $0x58, %rsp retq nopl (%rax)
/llvm/DebugInfo/CodeView/TypeDeserializer.h
std::pair<llvm::StringMapIterator<std::vector<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>, std::allocator<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>>>>, bool> llvm::StringMap<std::vector<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>, std::allocator<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>>>, llvm::MallocAllocator>::try_emplace_with_hash<std::vector<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>, std::allocator<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>>>>(llvm::StringRef, unsigned int, std::vector<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>, std::allocator<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::endianness)1, 1ul, 1ul>>>&&)
std::pair<iterator, bool> try_emplace_with_hash(StringRef Key, uint32_t FullHashValue, ArgsTy &&...Args) { unsigned BucketNo = LookupBucketFor(Key, FullHashValue); StringMapEntryBase *&Bucket = TheTable[BucketNo]; if (Bucket && Bucket != getTombstoneVal()) return std::make_pair(iterator(TheTable + BucketNo, false), false); // Already exists in map. if (Bucket == getTombstoneVal()) --NumTombstones; Bucket = MapEntryTy::create(Key, getAllocator(), std::forward<ArgsTy>(Args)...); ++NumItems; assert(NumItems + NumTombstones <= NumBuckets); BucketNo = RehashTable(BucketNo); return std::make_pair(iterator(TheTable + BucketNo, false), true); }
subq $0xd8, %rsp movq %rsi, 0xb8(%rsp) movq %rdx, 0xc0(%rsp) movq %rdi, 0xb0(%rsp) movl %ecx, 0xac(%rsp) movq %r8, 0xa0(%rsp) movq 0xb0(%rsp), %rdi movq %rdi, 0x28(%rsp) movq 0xb8(%rsp), %rax movq %rax, 0x88(%rsp) movq 0xc0(%rsp), %rax movq %rax, 0x90(%rsp) movl 0xac(%rsp), %ecx movq 0x88(%rsp), %rsi movq 0x90(%rsp), %rdx callq 0x592a00 movl %eax, %ecx movq 0x28(%rsp), %rax movl %ecx, 0x9c(%rsp) movq (%rax), %rax movl 0x9c(%rsp), %ecx shlq $0x3, %rcx addq %rcx, %rax movq %rax, 0x80(%rsp) movq 0x80(%rsp), %rax cmpq $0x0, (%rax) je 0x99d7a0 movq 0x80(%rsp), %rax movq (%rax), %rax movq %rax, 0x20(%rsp) callq 0xa4db0 movq %rax, %rcx movq 0x20(%rsp), %rax cmpq %rcx, %rax je 0x99d7a0 movq 0x28(%rsp), %rax movq (%rax), %rax movl 0x9c(%rsp), %ecx leaq (%rax,%rcx,8), %rsi leaq 0x78(%rsp), %rdi movq %rdi, 0x18(%rsp) xorl %edx, %edx callq 0x99d8e0 movq 0x18(%rsp), %rdi movb $0x0, 0x77(%rsp) leaq 0x77(%rsp), %rsi callq 0x99d8b0 movb %dl, 0x68(%rsp) movq %rax, 0x60(%rsp) movq 0x60(%rsp), %rax movq %rax, 0xc8(%rsp) movb 0x68(%rsp), %al movb %al, 0xd0(%rsp) jmp 0x99d88a movq 0x80(%rsp), %rax movq (%rax), %rax movq %rax, 0x10(%rsp) callq 0xa4db0 movq %rax, %rcx movq 0x10(%rsp), %rax cmpq %rcx, %rax jne 0x99d7d0 movq 0x28(%rsp), %rax movl 0x10(%rax), %ecx addl $-0x1, %ecx movl %ecx, 0x10(%rax) movq 0x28(%rsp), %rdi movups 0xb8(%rsp), %xmm0 movaps %xmm0, 0x50(%rsp) callq 0xa4eb0 movq %rax, %rdx movq 0xa0(%rsp), %rcx movq 0x50(%rsp), %rdi movq 0x58(%rsp), %rsi callq 0x99d920 movq 0x28(%rsp), %rdi movq %rax, %rcx movq 0x80(%rsp), %rax movq %rcx, (%rax) movl 0xc(%rdi), %eax incl %eax movl %eax, 0xc(%rdi) movl 0x9c(%rsp), %esi callq 0x592f40 movl %eax, %ecx movq 0x28(%rsp), %rax movl %ecx, 0x9c(%rsp) movq (%rax), %rax movl 0x9c(%rsp), %ecx leaq (%rax,%rcx,8), %rsi leaq 0x48(%rsp), %rdi movq %rdi, 0x8(%rsp) xorl %edx, %edx callq 0x99d8e0 movq 0x8(%rsp), %rdi movb $0x1, 0x47(%rsp) leaq 0x47(%rsp), %rsi callq 0x99d8b0 movb %dl, 0x38(%rsp) movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0xc8(%rsp) movb 0x38(%rsp), %al movb %al, 0xd0(%rsp) movq 0xc8(%rsp), %rax movb 0xd0(%rsp), %dl addq $0xd8, %rsp retq nopw %cs:(%rax,%rax) nopl (%rax,%rax)
/llvm/ADT/StringMap.h
llvm::codeview::DebugFrameDataSubsectionRef::initialize(llvm::BinaryStreamReader)
Error DebugFrameDataSubsectionRef::initialize(BinaryStreamReader Reader) { if (Reader.bytesRemaining() % sizeof(FrameData) != 0) { if (auto EC = Reader.readObject(RelocPtr)) return EC; } if (Reader.bytesRemaining() % sizeof(FrameData) != 0) return make_error<CodeViewError>(cv_error_code::corrupt_record, "Invalid frame data record format!"); uint32_t Count = Reader.bytesRemaining() / sizeof(FrameData); if (auto EC = Reader.readArray(Frames, Count)) return EC; return Error::success(); }
subq $0x58, %rsp movq %rdx, (%rsp) movq %rdi, %rax movq (%rsp), %rdi movq %rax, 0x8(%rsp) movq %rax, %rcx movq %rcx, 0x10(%rsp) movq %rax, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdi, 0x40(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x18(%rsp) callq 0xa2ef0 andq $0x1f, %rax cmpq $0x0, %rax je 0x9a01e9 movq 0x8(%rsp), %rdi movq (%rsp), %rsi movq 0x18(%rsp), %rdx movb $0x0, 0x3f(%rsp) addq $0x10, %rdx callq 0x9a02d0 movq 0x8(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9a01b0 jmp 0x9a01bf movb $0x1, 0x3f(%rsp) movl $0x1, 0x38(%rsp) jmp 0x9a01c7 movl $0x0, 0x38(%rsp) testb $0x1, 0x3f(%rsp) jne 0x9a01d8 movq 0x8(%rsp), %rdi callq 0x91f40 movl 0x38(%rsp), %eax testl %eax, %eax je 0x9a01e7 jmp 0x9a01e2 jmp 0x9a02b7 jmp 0x9a01e9 movq (%rsp), %rdi callq 0xa2ef0 andq $0x1f, %rax cmpq $0x0, %rax je 0x9a021f movq 0x8(%rsp), %rdi movl $0x4, 0x34(%rsp) leaq 0x34(%rsp), %rsi leaq 0x132041(%rip), %rdx # 0xad2256 callq 0x9a03b0 jmp 0x9a02b7 movq (%rsp), %rdi callq 0xa2ef0 movq 0x18(%rsp), %rdx movq (%rsp), %rsi movq 0x8(%rsp), %rdi shrq $0x5, %rax movl %eax, 0x30(%rsp) movb $0x0, 0x2f(%rsp) addq $0x18, %rdx movl 0x30(%rsp), %ecx callq 0x9a0420 movq 0x8(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9a0260 jmp 0x9a026f movb $0x1, 0x2f(%rsp) movl $0x1, 0x38(%rsp) jmp 0x9a0277 movl $0x0, 0x38(%rsp) testb $0x1, 0x2f(%rsp) jne 0x9a0288 movq 0x8(%rsp), %rdi callq 0x91f40 movl 0x38(%rsp), %eax testl %eax, %eax je 0x9a0294 jmp 0x9a0292 jmp 0x9a02b7 leaq 0x20(%rsp), %rdi callq 0x91c20 movq 0x8(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x91c60 leaq 0x20(%rsp), %rdi callq 0x91ca0 movq 0x10(%rsp), %rax addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nopl (%rax,%rax)
/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
llvm::ArrayRef<unsigned char> llvm::codeview::SimpleTypeSerializer::serialize<llvm::codeview::FuncIdRecord>(llvm::codeview::FuncIdRecord&)
ArrayRef<uint8_t> SimpleTypeSerializer::serialize(T &Record) { BinaryStreamWriter Writer(ScratchBuffer, llvm::endianness::little); TypeRecordMapping Mapping(Writer); // Write the record prefix first with a dummy length but real kind. RecordPrefix DummyPrefix(uint16_t(Record.getKind())); cantFail(Writer.writeObject(DummyPrefix)); RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); CVType CVT(Prefix, sizeof(RecordPrefix)); cantFail(Mapping.visitTypeBegin(CVT)); cantFail(Mapping.visitKnownRecord(CVT, Record)); cantFail(Mapping.visitTypeEnd(CVT)); addPadding(Writer); // Update the size and kind after serialization. Prefix->RecordKind = CVT.kind(); Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); return {ScratchBuffer.data(), static_cast<size_t>(Writer.getOffset())}; }
subq $0x168, %rsp # imm = 0x168 movq %rdi, 0x150(%rsp) movq %rsi, 0x148(%rsp) movq 0x150(%rsp), %rsi movq %rsi, 0x40(%rsp) leaq 0xf8(%rsp), %rdi callq 0x992a30 movq 0xf8(%rsp), %rsi movq 0x100(%rsp), %rdx leaq 0x108(%rsp), %rdi movq %rdi, 0x58(%rsp) movl $0x1, %ecx callq 0x5482b0 movq 0x58(%rsp), %rsi leaq 0xa0(%rsp), %rdi movq %rdi, 0x50(%rsp) callq 0x9900f0 movq 0x148(%rsp), %rdi callq 0x440f70 movzwl %ax, %esi leaq 0x9c(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x400c50 movq 0x8(%rsp), %rdx movq 0x58(%rsp), %rsi leaq 0x90(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x9903d0 movq 0x10(%rsp), %rdi xorl %eax, %eax movl %eax, %esi movq %rsi, 0x28(%rsp) callq 0xa20a0 movq 0x10(%rsp), %rdi callq 0x91f40 movq 0x40(%rsp), %rdi callq 0x386c20 movq %rax, 0x88(%rsp) movq 0x88(%rsp), %rsi leaq 0x78(%rsp), %rdi movq %rdi, 0x38(%rsp) movl $0x4, %edx callq 0x9903a0 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi leaq 0x70(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x9ba9f0 movq 0x18(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0xa20a0 movq 0x18(%rsp), %rdi callq 0x91f40 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi movq 0x148(%rsp), %rcx leaq 0x68(%rsp), %rdi movq %rdi, 0x20(%rsp) callq 0x9c25a0 movq 0x20(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0xa20a0 movq 0x20(%rsp), %rdi callq 0x91f40 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi leaq 0x60(%rsp), %rdi movq %rdi, 0x30(%rsp) callq 0x9bb800 movq 0x28(%rsp), %rsi movq 0x30(%rsp), %rdi callq 0xa20a0 movq 0x30(%rsp), %rdi callq 0x91f40 movq 0x58(%rsp), %rdi callq 0x9aaea0 movq 0x38(%rsp), %rdi callq 0x43bc30 movq 0x88(%rsp), %rdi addq $0x2, %rdi movzwl %ax, %esi callq 0x302ee0 movq 0x58(%rsp), %rdi callq 0x1ebb80 addl $-0x2, %eax movq 0x88(%rsp), %rdi movzwl %ax, %esi callq 0x302ee0 movq 0x40(%rsp), %rdi callq 0x386c20 movq 0x58(%rsp), %rdi movq %rax, 0x48(%rsp) callq 0x1ebb80 movq 0x48(%rsp), %rsi movq %rax, %rdx leaq 0x158(%rsp), %rdi callq 0x969b0 movq 0x50(%rsp), %rdi callq 0x44a700 movq 0x58(%rsp), %rdi callq 0x400df0 movq 0x158(%rsp), %rax movq 0x160(%rsp), %rdx addq $0x168, %rsp # imm = 0x168 retq nopw %cs:(%rax,%rax) nop
/DebugInfo/CodeView/SimpleTypeSerializer.cpp
llvm::ArrayRef<unsigned char> llvm::codeview::SimpleTypeSerializer::serialize<llvm::codeview::UdtModSourceLineRecord>(llvm::codeview::UdtModSourceLineRecord&)
ArrayRef<uint8_t> SimpleTypeSerializer::serialize(T &Record) { BinaryStreamWriter Writer(ScratchBuffer, llvm::endianness::little); TypeRecordMapping Mapping(Writer); // Write the record prefix first with a dummy length but real kind. RecordPrefix DummyPrefix(uint16_t(Record.getKind())); cantFail(Writer.writeObject(DummyPrefix)); RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); CVType CVT(Prefix, sizeof(RecordPrefix)); cantFail(Mapping.visitTypeBegin(CVT)); cantFail(Mapping.visitKnownRecord(CVT, Record)); cantFail(Mapping.visitTypeEnd(CVT)); addPadding(Writer); // Update the size and kind after serialization. Prefix->RecordKind = CVT.kind(); Prefix->RecordLen = Writer.getOffset() - sizeof(uint16_t); return {ScratchBuffer.data(), static_cast<size_t>(Writer.getOffset())}; }
subq $0x168, %rsp # imm = 0x168 movq %rdi, 0x150(%rsp) movq %rsi, 0x148(%rsp) movq 0x150(%rsp), %rsi movq %rsi, 0x40(%rsp) leaq 0xf8(%rsp), %rdi callq 0x992a30 movq 0xf8(%rsp), %rsi movq 0x100(%rsp), %rdx leaq 0x108(%rsp), %rdi movq %rdi, 0x58(%rsp) movl $0x1, %ecx callq 0x5482b0 movq 0x58(%rsp), %rsi leaq 0xa0(%rsp), %rdi movq %rdi, 0x50(%rsp) callq 0x9900f0 movq 0x148(%rsp), %rdi callq 0x440f70 movzwl %ax, %esi leaq 0x9c(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x400c50 movq 0x8(%rsp), %rdx movq 0x58(%rsp), %rsi leaq 0x90(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x9903d0 movq 0x10(%rsp), %rdi xorl %eax, %eax movl %eax, %esi movq %rsi, 0x28(%rsp) callq 0xa20a0 movq 0x10(%rsp), %rdi callq 0x91f40 movq 0x40(%rsp), %rdi callq 0x386c20 movq %rax, 0x88(%rsp) movq 0x88(%rsp), %rsi leaq 0x78(%rsp), %rdi movq %rdi, 0x38(%rsp) movl $0x4, %edx callq 0x9903a0 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi leaq 0x70(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x9ba9f0 movq 0x18(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0xa20a0 movq 0x18(%rsp), %rdi callq 0x91f40 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi movq 0x148(%rsp), %rcx leaq 0x68(%rsp), %rdi movq %rdi, 0x20(%rsp) callq 0x9c2270 movq 0x20(%rsp), %rdi movq 0x28(%rsp), %rsi callq 0xa20a0 movq 0x20(%rsp), %rdi callq 0x91f40 movq 0x38(%rsp), %rdx movq 0x50(%rsp), %rsi leaq 0x60(%rsp), %rdi movq %rdi, 0x30(%rsp) callq 0x9bb800 movq 0x28(%rsp), %rsi movq 0x30(%rsp), %rdi callq 0xa20a0 movq 0x30(%rsp), %rdi callq 0x91f40 movq 0x58(%rsp), %rdi callq 0x9aaea0 movq 0x38(%rsp), %rdi callq 0x43bc30 movq 0x88(%rsp), %rdi addq $0x2, %rdi movzwl %ax, %esi callq 0x302ee0 movq 0x58(%rsp), %rdi callq 0x1ebb80 addl $-0x2, %eax movq 0x88(%rsp), %rdi movzwl %ax, %esi callq 0x302ee0 movq 0x40(%rsp), %rdi callq 0x386c20 movq 0x58(%rsp), %rdi movq %rax, 0x48(%rsp) callq 0x1ebb80 movq 0x48(%rsp), %rsi movq %rax, %rdx leaq 0x158(%rsp), %rdi callq 0x969b0 movq 0x50(%rsp), %rdi callq 0x44a700 movq 0x58(%rsp), %rdi callq 0x400df0 movq 0x158(%rsp), %rax movq 0x160(%rsp), %rdx addq $0x168, %rsp # imm = 0x168 retq nopw %cs:(%rax,%rax) nop
/DebugInfo/CodeView/SimpleTypeSerializer.cpp
llvm::Error llvm::codeview::CodeViewRecordIO::mapEnum<llvm::codeview::ExportFlags>(llvm::codeview::ExportFlags&, llvm::Twine const&)
Error mapEnum(T &Value, const Twine &Comment = "") { if (!isStreaming() && sizeof(Value) > maxFieldLength()) return make_error<CodeViewError>(cv_error_code::insufficient_buffer); using U = std::underlying_type_t<T>; U X; if (isWriting() || isStreaming()) X = static_cast<U>(Value); if (auto EC = mapInteger(X, Comment)) return EC; if (isReading()) Value = static_cast<T>(X); return Error::success(); }
subq $0x58, %rsp movq %rdi, 0x8(%rsp) movq %rdi, %rax movq %rax, 0x10(%rsp) movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq %rcx, 0x38(%rsp) movq 0x48(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x9b9120 testb $0x1, %al jne 0x9b13cc movq 0x18(%rsp), %rdi callq 0x9ca900 movl %eax, %eax movl %eax, %ecx movl $0x2, %eax cmpq %rcx, %rax jbe 0x9b13cc movq 0x8(%rsp), %rdi movl $0x2, 0x34(%rsp) leaq 0x34(%rsp), %rsi callq 0x3cbf00 jmp 0x9b1499 movq 0x18(%rsp), %rdi callq 0x9b9230 testb $0x1, %al jne 0x9b13ea movq 0x18(%rsp), %rdi callq 0x9b9120 testb $0x1, %al jne 0x9b13ea jmp 0x9b13f7 movq 0x40(%rsp), %rax movw (%rax), %ax movw %ax, 0x32(%rsp) movq 0x8(%rsp), %rdi movq 0x18(%rsp), %rsi movb $0x0, 0x31(%rsp) movq 0x38(%rsp), %rcx leaq 0x32(%rsp), %rdx callq 0x9aea60 movq 0x8(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9b1425 jmp 0x9b1434 movb $0x1, 0x31(%rsp) movl $0x1, 0x2c(%rsp) jmp 0x9b143c movl $0x0, 0x2c(%rsp) testb $0x1, 0x31(%rsp) jne 0x9b144d movq 0x8(%rsp), %rdi callq 0x91f40 movl 0x2c(%rsp), %eax testl %eax, %eax je 0x9b1459 jmp 0x9b1457 jmp 0x9b1499 movq 0x18(%rsp), %rdi callq 0x9b9280 testb $0x1, %al jne 0x9b1469 jmp 0x9b1476 movw 0x32(%rsp), %cx movq 0x40(%rsp), %rax movw %cx, (%rax) leaq 0x20(%rsp), %rdi callq 0x91c20 movq 0x8(%rsp), %rdi leaq 0x20(%rsp), %rsi callq 0x91c60 leaq 0x20(%rsp), %rdi callq 0x91ca0 movq 0x10(%rsp), %rax addq $0x58, %rsp retq nopw %cs:(%rax,%rax) nopl (%rax)
/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
llvm::codeview::SymbolRecordMapping::visitKnownRecord(llvm::codeview::CVRecord<llvm::codeview::SymbolKind>&, llvm::codeview::DefRangeSubfieldSym&)
Error SymbolRecordMapping::visitKnownRecord( CVSymbol &CVR, DefRangeSubfieldSym &DefRangeSubfield) { error(IO.mapInteger(DefRangeSubfield.Program)); error(IO.mapInteger(DefRangeSubfield.OffsetInParent)); error(mapLocalVariableAddrRange(IO, DefRangeSubfield.Range)); error(IO.mapVectorTail(DefRangeSubfield.Gaps, MapGap())); return Error::success(); }
subq $0x108, %rsp # imm = 0x108 movq %rdi, 0x48(%rsp) movq %rdi, %rax movq %rax, 0x28(%rsp) movq %rdi, 0x100(%rsp) movq %rsi, 0xf8(%rsp) movq %rdx, 0xf0(%rsp) movq %rcx, 0xe8(%rsp) movq 0xf8(%rsp), %rax movq %rax, 0x30(%rsp) movb $0x0, 0xe7(%rsp) addq $0x10, %rax movq %rax, 0x38(%rsp) movq 0xe8(%rsp), %rax addq $0x4, %rax movq %rax, 0x40(%rsp) leaq 0xb8(%rsp), %rdi leaq 0x8debc(%rip), %rsi # 0xa420de callq 0x9a970 movq 0x38(%rsp), %rsi movq 0x40(%rsp), %rdx movq 0x48(%rsp), %rdi leaq 0xb8(%rsp), %rcx callq 0x9ae970 movq 0x48(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9b4253 jmp 0x9b4268 movb $0x1, 0xe7(%rsp) movl $0x1, 0xb4(%rsp) jmp 0x9b4273 movl $0x0, 0xb4(%rsp) testb $0x1, 0xe7(%rsp) jne 0x9b4287 movq 0x48(%rsp), %rdi callq 0x91f40 movl 0xb4(%rsp), %eax testl %eax, %eax je 0x9b4299 jmp 0x9b4294 jmp 0x9b4492 movq 0x30(%rsp), %rax movb $0x0, 0xb3(%rsp) addq $0x10, %rax movq %rax, 0x18(%rsp) movq 0xe8(%rsp), %rax addq $0x8, %rax movq %rax, 0x20(%rsp) leaq 0x88(%rsp), %rdi leaq 0x8de0f(%rip), %rsi # 0xa420de callq 0x9a970 movq 0x18(%rsp), %rsi movq 0x20(%rsp), %rdx movq 0x48(%rsp), %rdi leaq 0x88(%rsp), %rcx callq 0x9aea60 movq 0x48(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9b4300 jmp 0x9b4315 movb $0x1, 0xb3(%rsp) movl $0x1, 0xb4(%rsp) jmp 0x9b4320 movl $0x0, 0xb4(%rsp) testb $0x1, 0xb3(%rsp) jne 0x9b4334 movq 0x48(%rsp), %rdi callq 0x91f40 movl 0xb4(%rsp), %eax testl %eax, %eax je 0x9b4346 jmp 0x9b4341 jmp 0x9b4492 movq 0x48(%rsp), %rdi movq 0x30(%rsp), %rsi movb $0x0, 0x87(%rsp) addq $0x10, %rsi movq 0xe8(%rsp), %rdx addq $0xc, %rdx callq 0x9b31d0 movq 0x48(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9b437d jmp 0x9b4392 movb $0x1, 0x87(%rsp) movl $0x1, 0xb4(%rsp) jmp 0x9b439d movl $0x0, 0xb4(%rsp) testb $0x1, 0x87(%rsp) jne 0x9b43b1 movq 0x48(%rsp), %rdi callq 0x91f40 movl 0xb4(%rsp), %eax testl %eax, %eax je 0x9b43c3 jmp 0x9b43be jmp 0x9b4492 movq 0x30(%rsp), %rax movb $0x0, 0x86(%rsp) addq $0x10, %rax movq %rax, 0x8(%rsp) movq 0xe8(%rsp), %rax addq $0x18, %rax movq %rax, 0x10(%rsp) leaq 0x58(%rsp), %rdi leaq 0x8dce8(%rip), %rsi # 0xa420de callq 0x9a970 movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx movq 0x48(%rsp), %rdi leaq 0x85(%rsp), %rcx leaq 0x58(%rsp), %r8 callq 0x9b3420 movq 0x48(%rsp), %rdi callq 0x99640 testb $0x1, %al jne 0x9b442c jmp 0x9b4441 movb $0x1, 0x86(%rsp) movl $0x1, 0xb4(%rsp) jmp 0x9b444c movl $0x0, 0xb4(%rsp) testb $0x1, 0x86(%rsp) jne 0x9b4460 movq 0x48(%rsp), %rdi callq 0x91f40 movl 0xb4(%rsp), %eax testl %eax, %eax je 0x9b446f jmp 0x9b446d jmp 0x9b4492 leaq 0x50(%rsp), %rdi callq 0x91c20 movq 0x48(%rsp), %rdi leaq 0x50(%rsp), %rsi callq 0x91c60 leaq 0x50(%rsp), %rdi callq 0x91ca0 movq 0x28(%rsp), %rax addq $0x108, %rsp # imm = 0x108 retq nop
/DebugInfo/CodeView/SymbolRecordMapping.cpp
llvm::itanium_demangle::AbstractManglingParser<llvm::itanium_demangle::ManglingParser<(anonymous namespace)::DefaultAllocator>, (anonymous namespace)::DefaultAllocator>::parsePointerToMemberType()
Node *AbstractManglingParser<Derived, Alloc>::parsePointerToMemberType() { if (!consumeIf('M')) return nullptr; Node *ClassType = getDerived().parseType(); if (ClassType == nullptr) return nullptr; Node *MemberType = getDerived().parseType(); if (MemberType == nullptr) return nullptr; return make<PointerToMemberType>(ClassType, MemberType); }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq 0x18(%rsp), %rdi movq %rdi, (%rsp) movl $0x4d, %esi callq 0x9ebf30 testb $0x1, %al jne 0xa025db movq $0x0, 0x20(%rsp) jmp 0xa02645 movq (%rsp), %rdi callq 0x9eb920 movq %rax, %rdi callq 0x9ec0c0 movq %rax, 0x10(%rsp) cmpq $0x0, 0x10(%rsp) jne 0xa02604 movq $0x0, 0x20(%rsp) jmp 0xa02645 movq (%rsp), %rdi callq 0x9eb920 movq %rax, %rdi callq 0x9ec0c0 movq %rax, 0x8(%rsp) cmpq $0x0, 0x8(%rsp) jne 0xa0262d movq $0x0, 0x20(%rsp) jmp 0xa02645 movq (%rsp), %rdi leaq 0x10(%rsp), %rsi leaq 0x8(%rsp), %rdx callq 0xa04730 movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax addq $0x28, %rsp retq nop
/llvm/Demangle/ItaniumDemangle.h
llvm::itanium_demangle::PointerType::printRight(llvm::itanium_demangle::OutputBuffer&) const
void printRight(OutputBuffer &OB) const override { if (Pointee->getKind() != KObjCProtoName || !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) OB += ")"; Pointee->printRight(OB); } }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movq 0x10(%rax), %rdi callq 0x9eafe0 movzbl %al, %eax cmpl $0xb, %eax jne 0xa04e89 movq (%rsp), %rax movq 0x10(%rax), %rdi callq 0xa04f40 testb $0x1, %al jne 0xa04eef movq (%rsp), %rax movq 0x10(%rax), %rdi movq 0x18(%rsp), %rsi callq 0x9f1c50 testb $0x1, %al jne 0xa04eb7 movq (%rsp), %rax movq 0x10(%rax), %rdi movq 0x18(%rsp), %rsi callq 0x9f1cc0 testb $0x1, %al jne 0xa04eb7 jmp 0xa04edc leaq 0x8(%rsp), %rdi leaq 0xcf937(%rip), %rsi # 0xad47fa callq 0x5cabc0 movq 0x18(%rsp), %rdi movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx callq 0x9eaff0 movq (%rsp), %rax movq 0x10(%rax), %rdi movq 0x18(%rsp), %rsi movq (%rdi), %rax callq *0x28(%rax) addq $0x28, %rsp retq nopw %cs:(%rax,%rax) nop
/llvm/Demangle/ItaniumDemangle.h
Util::EGM96Grav::NormCoeffs2Reg()
void EGM96Grav::NormCoeffs2Reg(){ //initialize matricies this->C_ = Eigen::MatrixXd::Zero(361,361); this->S_ = Eigen::MatrixXd::Zero(361,361); for (double ll = 2; ll < 362; ++ll) { for (double mm = 0; mm < ll+1; ++mm) { double k = 2.0; if( (int) mm == 0) { k = 1.0; } //intermediate values //Note: tgamma(i+1) = factorial(i) double a = tgamma(ll + mm + 1.0); double b = tgamma(ll - mm + 1.0); double c = (2.0*ll + 1.0); //find factor double Pi_lm = sqrt(a/(b*k*c)); //update this->C_( (int) ll, (int) mm) = this->C_norm_( (int) ll, (int) mm)/Pi_lm; this->S_( (int) ll, (int) mm) = this->S_norm_( (int) ll, (int) mm)/Pi_lm; } } }
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq 0x80(%rsp), %rax movq %rax, 0x10(%rsp) leaq 0x68(%rsp), %rdi movl $0x169, %edx # imm = 0x169 movq %rdx, %rsi callq 0x71b0 movq 0x10(%rsp), %rdi addq $0x10, %rdi leaq 0x68(%rsp), %rsi callq 0x1beb0 leaq 0x50(%rsp), %rdi movl $0x169, %edx # imm = 0x169 movq %rdx, %rsi callq 0x71b0 movq 0x10(%rsp), %rdi addq $0x40, %rdi leaq 0x50(%rsp), %rsi callq 0x1beb0 movsd 0x42352(%rip), %xmm0 # 0x5b080 movsd %xmm0, 0x48(%rsp) movsd 0x42cc4(%rip), %xmm0 # 0x5ba00 ucomisd 0x48(%rsp), %xmm0 jbe 0x18f05 xorps %xmm0, %xmm0 movsd %xmm0, 0x40(%rsp) movsd 0x40(%rsp), %xmm1 movsd 0x422b9(%rip), %xmm0 # 0x5b018 addsd 0x48(%rsp), %xmm0 ucomisd %xmm1, %xmm0 jbe 0x18eea movsd 0x42309(%rip), %xmm0 # 0x5b080 movsd %xmm0, 0x38(%rsp) cvttsd2si 0x40(%rsp), %eax cmpl $0x0, %eax jne 0x18d96 movsd 0x42288(%rip), %xmm0 # 0x5b018 movsd %xmm0, 0x38(%rsp) movsd 0x48(%rsp), %xmm0 addsd 0x40(%rsp), %xmm0 movsd 0x4226e(%rip), %xmm1 # 0x5b018 addsd %xmm1, %xmm0 callq 0x4060 movsd %xmm0, 0x30(%rsp) movsd 0x48(%rsp), %xmm0 subsd 0x40(%rsp), %xmm0 movsd 0x4224b(%rip), %xmm1 # 0x5b018 addsd %xmm1, %xmm0 callq 0x4060 movsd %xmm0, 0x28(%rsp) movsd 0x48(%rsp), %xmm0 addsd %xmm0, %xmm0 movsd 0x4222a(%rip), %xmm1 # 0x5b018 addsd %xmm1, %xmm0 movsd %xmm0, 0x20(%rsp) movsd 0x30(%rsp), %xmm0 movsd 0x28(%rsp), %xmm1 mulsd 0x38(%rsp), %xmm1 mulsd 0x20(%rsp), %xmm1 divsd %xmm1, %xmm0 callq 0x42d0 movq 0x10(%rsp), %rdi movsd %xmm0, 0x18(%rsp) addq $0x28, %rdi cvttsd2si 0x48(%rsp), %eax movslq %eax, %rsi cvttsd2si 0x40(%rsp), %eax movslq %eax, %rdx callq 0x7230 movq 0x10(%rsp), %rdi movsd (%rax), %xmm0 divsd 0x18(%rsp), %xmm0 movsd %xmm0, (%rsp) addq $0x10, %rdi cvttsd2si 0x48(%rsp), %eax movslq %eax, %rsi cvttsd2si 0x40(%rsp), %eax movslq %eax, %rdx callq 0x7230 movsd (%rsp), %xmm0 movq 0x10(%rsp), %rdi movsd %xmm0, (%rax) addq $0x58, %rdi cvttsd2si 0x48(%rsp), %eax movslq %eax, %rsi cvttsd2si 0x40(%rsp), %eax movslq %eax, %rdx callq 0x7230 movq 0x10(%rsp), %rdi movsd (%rax), %xmm0 divsd 0x18(%rsp), %xmm0 movsd %xmm0, 0x8(%rsp) addq $0x40, %rdi cvttsd2si 0x48(%rsp), %eax movslq %eax, %rsi cvttsd2si 0x40(%rsp), %eax movslq %eax, %rdx callq 0x7230 movsd 0x8(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0x4213f(%rip), %xmm0 # 0x5b018 addsd 0x40(%rsp), %xmm0 movsd %xmm0, 0x40(%rsp) jmp 0x18d51 jmp 0x18eec movsd 0x42124(%rip), %xmm0 # 0x5b018 addsd 0x48(%rsp), %xmm0 movsd %xmm0, 0x48(%rsp) jmp 0x18d34 addq $0x88, %rsp retq nopl (%rax)
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
VehicleState::Propagator::Propagate(double, bool)
void Propagator::Propagate(double dt, bool intSTM){ //set flag this->intSTM_ = intSTM; //build state state_type xint; if (intSTM) { xint.assign(42,0.0); xint[0] = this->pos_[0]; xint[1] = this->pos_[1]; xint[2] = this->pos_[2]; xint[3] = this->vel_[0]; xint[4] = this->vel_[1]; xint[5] = this->vel_[2]; //stm initialization xint[6] = 1.0; xint[13] = 1.0; xint[20] = 1.0; xint[27] = 1.0; xint[34] = 1.0; xint[41] = 1.0; } else { xint.assign(6,0.0); xint[0] = this->pos_[0]; xint[1] = this->pos_[1]; xint[2] = this->pos_[2]; xint[3] = this->vel_[0]; xint[4] = this->vel_[1]; xint[5] = this->vel_[2]; } //fi // std::cout << "before: " << this->pos_ << std::endl; //times double t1 = this->t_; double t2 = t1 + dt; //call integrator ode::integrate_adaptive( ode::make_controlled( this->abstol_ , this->reltol_ , error_stepper_type() ) , *this , xint , t1 , t2 , this->dt_var_ ); //update class members this->pos_[0] = xint[0]; this->pos_[1] = xint[1]; this->pos_[2] = xint[2]; this->vel_[0] = xint[3]; this->vel_[1] = xint[4]; this->vel_[2] = xint[5]; this->t_ = t2; //if we propagated the STM, write it out if(intSTM){ Eigen::MatrixXd STM = Eigen::MatrixXd::Zero(6,6); for (int ii = 0; ii < 6; ++ii) { std::vector<double> col(6,0); col[0] = xint[6*ii + 0 + 6]; col[1] = xint[6*ii + 1 + 6]; col[2] = xint[6*ii + 2 + 6]; col[3] = xint[6*ii + 3 + 6]; col[4] = xint[6*ii + 4 + 6]; col[5] = xint[6*ii + 5 + 6]; //convert to eigen Eigen::VectorXd eigcol = Util::StdVec2Eigen(col); //assign STM.block(0,ii,6,1) = eigcol; } // for //update this->STM_ = STM; } //fi // std::cout << "after: "<< this->pos_ << std::endl; }
subq $0x638, %rsp # imm = 0x638 movb %sil, %al movq %rdi, 0x630(%rsp) movsd %xmm0, 0x628(%rsp) andb $0x1, %al movb %al, 0x627(%rsp) movq 0x630(%rsp), %rax movq %rax, 0x198(%rsp) movb 0x627(%rsp), %cl andb $0x1, %cl movb %cl, 0x130(%rax) leaq 0x608(%rsp), %rdi callq 0x3aca0 testb $0x1, 0x627(%rsp) je 0x34c6e movq $0x0, 0x600(%rsp) leaq 0x608(%rsp), %rdi movl $0x2a, %esi leaq 0x600(%rsp), %rdx callq 0x3acb0 jmp 0x349a7 movq 0x198(%rsp), %rdi addq $0x8, %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movq %rax, 0x190(%rsp) jmp 0x349c6 movq 0x190(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x180(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x608(%rsp), %rdi callq 0x1b150 movsd 0x180(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x8, %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x188(%rsp) jmp 0x34a19 movq 0x188(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x170(%rsp) leaq 0x608(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x170(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x8, %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x178(%rsp) jmp 0x34a6d movq 0x178(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x160(%rsp) leaq 0x608(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x160(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movq %rax, 0x168(%rsp) jmp 0x34ac0 movq 0x168(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x150(%rsp) leaq 0x608(%rsp), %rdi movl $0x3, %esi callq 0x1b150 movsd 0x150(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x158(%rsp) jmp 0x34b14 movq 0x158(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x140(%rsp) leaq 0x608(%rsp), %rdi movl $0x4, %esi callq 0x1b150 movsd 0x140(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x148(%rsp) jmp 0x34b68 movq 0x148(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x138(%rsp) leaq 0x608(%rsp), %rdi movl $0x5, %esi callq 0x1b150 movsd 0x138(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x6, %esi callq 0x1b150 movsd 0x26462(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0xd, %esi callq 0x1b150 movsd 0x26444(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x14, %esi callq 0x1b150 movsd 0x26426(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x1b, %esi callq 0x1b150 movsd 0x26408(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x22, %esi callq 0x1b150 movsd 0x263ea(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x29, %esi callq 0x1b150 movsd 0x263cc(%rip), %xmm0 # 0x5b018 movsd %xmm0, (%rax) jmp 0x34e8b movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) jmp 0x355f7 movq $0x0, 0x5e8(%rsp) leaq 0x608(%rsp), %rdi movl $0x6, %esi leaq 0x5e8(%rsp), %rdx callq 0x3acb0 jmp 0x34c96 movq 0x198(%rsp), %rdi addq $0x8, %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movq %rax, 0x130(%rsp) jmp 0x34cb5 movq 0x130(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x120(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x608(%rsp), %rdi callq 0x1b150 movsd 0x120(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x8, %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x128(%rsp) jmp 0x34d08 movq 0x128(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x110(%rsp) leaq 0x608(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x110(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x8, %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x118(%rsp) jmp 0x34d5c movq 0x118(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x100(%rsp) leaq 0x608(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x100(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movq %rax, 0x108(%rsp) jmp 0x34daf movq 0x108(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0xf0(%rsp) leaq 0x608(%rsp), %rdi movl $0x3, %esi callq 0x1b150 movsd 0xf0(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0xf8(%rsp) jmp 0x34e03 movq 0xf8(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0xe0(%rsp) leaq 0x608(%rsp), %rdi movl $0x4, %esi callq 0x1b150 movsd 0xe0(%rsp), %xmm0 movq 0x198(%rsp), %rdi movsd %xmm0, (%rax) addq $0x20, %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0xe8(%rsp) jmp 0x34e57 movq 0xe8(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0xd8(%rsp) leaq 0x608(%rsp), %rdi movl $0x5, %esi callq 0x1b150 movsd 0xd8(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0x198(%rsp), %rax movsd 0x108(%rax), %xmm0 movsd %xmm0, 0x5e0(%rsp) movsd 0x5e0(%rsp), %xmm0 movsd 0x628(%rsp), %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x5d8(%rsp) movsd 0x120(%rax), %xmm0 movsd %xmm0, 0xc8(%rsp) movsd 0x128(%rax), %xmm0 movsd %xmm0, 0xd0(%rsp) leaq 0x3a0(%rsp), %rdi leaq 0x39f(%rsp), %rsi callq 0x3ae40 jmp 0x34efc movsd 0xc8(%rsp), %xmm1 movsd 0xd0(%rsp), %xmm0 leaq 0x470(%rsp), %rdi leaq 0x3a0(%rsp), %rsi callq 0x3adf0 jmp 0x34f25 movq 0x198(%rsp), %rsi leaq 0x260(%rsp), %rdi callq 0x3af80 jmp 0x34f3c movq 0x198(%rsp), %rax movsd 0x5e0(%rsp), %xmm0 movsd 0x5d8(%rsp), %xmm1 movsd 0x118(%rax), %xmm2 leaq 0x470(%rsp), %rdi leaq 0x260(%rsp), %rsi leaq 0x608(%rsp), %rdx callq 0x3ace0 jmp 0x34f7d leaq 0x260(%rsp), %rdi callq 0x7eb0 leaq 0x470(%rsp), %rdi callq 0x3b010 leaq 0x3a0(%rsp), %rdi callq 0x3b080 xorl %eax, %eax movl %eax, %esi movq %rsi, 0xb0(%rsp) leaq 0x608(%rsp), %rdi callq 0x1b150 movq 0x198(%rsp), %rdi movq 0xb0(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0xb8(%rsp) addq $0x8, %rdi callq 0x73c0 movq %rax, 0xc0(%rsp) jmp 0x34fed movq 0xc0(%rsp), %rax movsd 0xb8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x1, %esi movq %rsi, 0x98(%rsp) callq 0x1b150 movq 0x198(%rsp), %rdi movq 0x98(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0xa0(%rsp) addq $0x8, %rdi callq 0x73c0 movq %rax, 0xa8(%rsp) jmp 0x3504c movq 0xa8(%rsp), %rax movsd 0xa0(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x2, %esi movq %rsi, 0x80(%rsp) callq 0x1b150 movq 0x198(%rsp), %rdi movq 0x80(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x88(%rsp) addq $0x8, %rdi callq 0x73c0 movq %rax, 0x90(%rsp) jmp 0x350ab movq 0x90(%rsp), %rax movsd 0x88(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x3, %esi callq 0x1b150 movq 0x198(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x70(%rsp) addq $0x20, %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movq %rax, 0x78(%rsp) jmp 0x350f8 movq 0x78(%rsp), %rax movsd 0x70(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x4, %esi callq 0x1b150 movq 0x198(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x60(%rsp) addq $0x20, %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x68(%rsp) jmp 0x35140 movq 0x68(%rsp), %rax movsd 0x60(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x608(%rsp), %rdi movl $0x5, %esi callq 0x1b150 movq 0x198(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x50(%rsp) addq $0x20, %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x58(%rsp) jmp 0x35188 movq 0x198(%rsp), %rax movq 0x58(%rsp), %rcx movsd 0x50(%rsp), %xmm0 movsd %xmm0, (%rcx) movsd 0x5d8(%rsp), %xmm0 movsd %xmm0, 0x108(%rax) testb $0x1, 0x627(%rsp) je 0x355e2 leaq 0x230(%rsp), %rdi movl $0x6, %edx movq %rdx, %rsi callq 0x71b0 jmp 0x351d5 leaq 0x248(%rsp), %rdi leaq 0x230(%rsp), %rsi callq 0x71f0 jmp 0x351ec movl $0x0, 0x22c(%rsp) cmpl $0x6, 0x22c(%rsp) jge 0x35595 movq $0x0, 0x208(%rsp) leaq 0x207(%rsp), %rdi movq %rdi, 0x48(%rsp) callq 0x1b080 movq 0x48(%rsp), %rcx leaq 0x210(%rsp), %rdi movl $0x6, %esi leaq 0x208(%rsp), %rdx callq 0x1b090 jmp 0x35244 leaq 0x207(%rsp), %rdi callq 0x1b110 movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x6(%rax,%rax), %eax movslq %eax, %rsi leaq 0x608(%rsp), %rdi movq %rdi, 0x30(%rsp) callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x8(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x210(%rsp), %rdi movq %rdi, 0x40(%rsp) callq 0x1b150 movsd 0x8(%rsp), %xmm0 movq 0x30(%rsp), %rdi movsd %xmm0, (%rax) movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x7(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movq 0x40(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x10(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x10(%rsp), %xmm0 movq 0x30(%rsp), %rdi movsd %xmm0, (%rax) movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x8(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movq 0x40(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x18(%rsp) movl $0x2, %esi callq 0x1b150 movsd 0x18(%rsp), %xmm0 movq 0x30(%rsp), %rdi movsd %xmm0, (%rax) movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x9(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movq 0x40(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x20(%rsp) movl $0x3, %esi callq 0x1b150 movsd 0x20(%rsp), %xmm0 movq 0x30(%rsp), %rdi movsd %xmm0, (%rax) movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0xa(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movq 0x40(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x28(%rsp) movl $0x4, %esi callq 0x1b150 movsd 0x28(%rsp), %xmm0 movq 0x30(%rsp), %rdi movsd %xmm0, (%rax) movl 0x22c(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0xb(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movq 0x40(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0x38(%rsp) movl $0x5, %esi callq 0x1b150 movsd 0x38(%rsp), %xmm0 movq 0x40(%rsp), %rsi movsd %xmm0, (%rax) leaq 0x1d8(%rsp), %rdi callq 0x3b110 jmp 0x35400 leaq 0x1f0(%rsp), %rdi leaq 0x1d8(%rsp), %rsi callq 0x148f0 jmp 0x35417 leaq 0x1d8(%rsp), %rdi callq 0x1b170 movslq 0x22c(%rsp), %rcx xorl %eax, %eax movl %eax, %edx leaq 0x1a0(%rsp), %rdi leaq 0x248(%rsp), %rsi movl $0x6, %r8d movl $0x1, %r9d callq 0x7290 jmp 0x35453 leaq 0x1a0(%rsp), %rdi leaq 0x1f0(%rsp), %rsi callq 0x3b210 jmp 0x3546a leaq 0x1f0(%rsp), %rdi callq 0x1b250 leaq 0x210(%rsp), %rdi callq 0x1b170 movl 0x22c(%rsp), %eax addl $0x1, %eax movl %eax, 0x22c(%rsp) jmp 0x351f7 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) jmp 0x354f4 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) jmp 0x354e7 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) leaq 0x260(%rsp), %rdi callq 0x7eb0 leaq 0x470(%rsp), %rdi callq 0x3b010 leaq 0x3a0(%rsp), %rdi callq 0x3b080 jmp 0x355f7 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) leaq 0x207(%rsp), %rdi callq 0x1b110 jmp 0x355d3 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) jmp 0x35586 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) leaq 0x1d8(%rsp), %rdi callq 0x1b170 jmp 0x35586 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) leaq 0x1f0(%rsp), %rdi callq 0x1b250 leaq 0x210(%rsp), %rdi callq 0x1b170 jmp 0x355d3 movq 0x198(%rsp), %rdi addq $0x38, %rdi leaq 0x248(%rsp), %rsi callq 0x3b250 jmp 0x355b0 leaq 0x248(%rsp), %rdi callq 0x7390 jmp 0x355e2 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x5f8(%rsp) movl %eax, 0x5f4(%rsp) leaq 0x248(%rsp), %rdi callq 0x7390 jmp 0x355f7 leaq 0x608(%rsp), %rdi callq 0x1b170 addq $0x638, %rsp # imm = 0x638 retq leaq 0x608(%rsp), %rdi callq 0x1b170 movq 0x5f8(%rsp), %rdi callq 0x4630 nopw %cs:(%rax,%rax)
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::GetAccelVector()
Eigen::Vector3d Propagator::GetAccelVector(){ //extract locals double mu = this->mu_; Eigen::Vector3d pos = this->pos_; //radius double R = sqrt(pow(pos[0],2) + pow(pos[1],2) + pow(pos[2],2)); //create accel vector Eigen::Vector3d accel = -1.0*mu/pow(R,3)*pos; //return return accel; }
subq $0x98, %rsp movq %rdi, 0x20(%rsp) movq %rdi, %rax movq %rax, 0x28(%rsp) movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movq 0x88(%rsp), %rsi movsd 0x90(%rsi), %xmm0 movsd %xmm0, 0x80(%rsp) addq $0x8, %rsi leaq 0x68(%rsp), %rdi callq 0x7490 leaq 0x68(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x73c0 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x8(%rsp) leaq 0x68(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movaps %xmm0, %xmm1 movsd 0x8(%rsp), %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x10(%rsp) leaq 0x68(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movaps %xmm0, %xmm1 movsd 0x10(%rsp), %xmm0 addsd %xmm1, %xmm0 callq 0x42d0 movsd %xmm0, 0x60(%rsp) movsd 0x26316(%rip), %xmm0 # 0x5ba10 mulsd 0x80(%rsp), %xmm0 movsd %xmm0, 0x18(%rsp) movsd 0x60(%rsp), %xmm0 movl $0x3, %edi callq 0x1b330 movaps %xmm0, %xmm1 movsd 0x18(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd %xmm0, 0x30(%rsp) leaq 0x38(%rsp), %rdi leaq 0x30(%rsp), %rsi leaq 0x68(%rsp), %rdx callq 0x7910 movq 0x20(%rsp), %rdi leaq 0x38(%rsp), %rsi callq 0x1bfd0 movq 0x28(%rsp), %rax addq $0x98, %rsp retq nopl (%rax)
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::operator()(std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>>&, double)
void Propagator::operator() (const state_type &x , state_type &dxdt , const double t){ //extract locals double mu = this->mu_; double Rearth = this->Rearth_; double J2 = this->J2_; double J3 = this->J3_; state_type pos = {x[0], x[1], x[2]}; state_type vel = {x[3], x[4], x[5]}; double earthrot = this->earthrotationspeed_; double C_D = this->C_D_; // coefficient of drag double A = this->A_; // effective area, m^2 double m = this->m_; // vehicle mass, kg double rho_0 = this->rho_0_; // standard air density, kg/m^3 double r0 = this->r0_; // param for air density calc, km double H = this->H_; //param for air density calc, km double t_JD_init = this->t_JD_; //UTC julian date at initialization double AU2km = this->AU_; double mu_sun = this->mu_sun_; double mu_moon = this->mu_moon_; //initialize some variables we may need Eigen::Vector3d r_sun_ECI; //position of the sun in ECI frame [km] Eigen::Vector3d r_craft2sun; //ECI position from craft to sun [km] Eigen::Vector3d r_moon_ECI; //position of the moon in ECI frame [km] Eigen::Vector3d r_craft2moon; //ECI position from craft to moon [km] Eigen::Vector3d r_craft(x[0], x[1], x[2]); //eigen position vector for spacecraft [km] //intermediate calcs double r2 = pow(pos[0],2.0) + pow(pos[1],2.0) + pow(pos[2],2.0); double r = sqrt(r2); double JD_UTC = t_JD_init + t/(24.0*60.0*60.0); //current UTC Julian Date in days double d2r = M_PI/180.0; //degrees to radians // std::cout << "t: " << t << " state: " << x[0] << " " << x[1] << " " << x[2] << " " << x[3] << " " << x[4] << " " << x[5]; //initalize acceleration state_type accel = {0.0, 0.0, 0.0}; if(this->use20x20_){ Eigen::Vector3d accelinit = this->gravmodel_->GetGravAccel(r_craft, JD_UTC); accel[0] = accel[0] + accelinit[0]; accel[1] = accel[1] + accelinit[1]; accel[2] = accel[2] + accelinit[2]; } else { //two body acceleration double k = -mu/pow(r,3); accel[0] = accel[0] + k*pos[0]; accel[1] = accel[1] + k*pos[1]; accel[2] = accel[2] + k*pos[2]; if (this->useJ2_) { // J-2 accel double t2 = pow(pos[0],2); double t3 = pow(pos[1],2); double t4 = pow(pos[2],2); double accel_j2_x = J2*pow(Rearth,2)*mu*pos[0]*(t2+t3-t4*4.0)*1.0/pow(t2+t3+t4,7.0/2.0)*(-3.0/2.0); double accel_j2_y = J2*pow(Rearth,2)*mu*pos[1]*(t2+t3-t4*4.0)*1.0/pow(t2+t3+t4,7.0/2.0)*(-3.0/2.0); double accel_j2_z = J2*pow(Rearth,2)*mu*pos[2]*1.0/pow(t2+t3+t4,7.0/2.0)*(t2*3.0+t3*3.0-t4*2.0)*(-3.0/2.0); // add J2 acceleration accel[0] = accel[0] + accel_j2_x; accel[1] = accel[1] + accel_j2_y; accel[2] = accel[2] + accel_j2_z; } // fi } if (this->usedrag_) { // drag acceleration //relative wind vector Eigen::Vector3d V_A; V_A[0] = vel[0] + earthrot*pos[1]; V_A[1] = vel[1] - earthrot*pos[0]; V_A[2] = vel[2]; double nV_A = V_A.norm(); //magnitude //current air density double rho_A = rho_0*exp(-(r - r0)/H); //add drag acceleration (extra 1000 for unit conversion) accel[0] = accel[0] - 1000.0*0.5*C_D*A*rho_A*nV_A*V_A[0]/m; accel[1] = accel[1] - 1000.0*0.5*C_D*A*rho_A*nV_A*V_A[1]/m; accel[2] = accel[2] - 1000.0*0.5*C_D*A*rho_A*nV_A*V_A[2]/m; } //fi //first, find the position of the sun in the ECI frame (vallado algo 29) //assume JD_UTC = JD_UT1 (less than 1 second deviation) double T_UT1 = (JD_UTC - 2451545.0)/36525.0; // julian centuries // double T_UT1 = (2453827.5 - 2451545.0)/36525.0; // vallado numbers for checking double lambda_M_sun = 280.460 + 36000.771285*T_UT1; // mean sun longitude [degrees] //assume T_TBD = T_UT1 double M_sun = 357.528 + 35999.050957*T_UT1; // mean sun something [degrees] double lambda_ecliptic = lambda_M_sun + 1.914666471*sin(M_sun*d2r) + 0.019994643*sin(2*M_sun*d2r); //norm of position to sun [AU] double r_sun_ECI_norm = 1.000140612 - 0.016708617*cos(M_sun*d2r) - 0.000139589*cos(2*M_sun*d2r); double eps = 23.439291 - 0.0130042*T_UT1; //ecentricity of sun orbit? //position of sun r_sun_ECI[0] = r_sun_ECI_norm*cos(lambda_ecliptic*d2r)*AU2km; r_sun_ECI[1] = r_sun_ECI_norm*cos(eps*d2r)*sin(lambda_ecliptic*d2r)*AU2km; r_sun_ECI[2] = r_sun_ECI_norm*sin(eps*d2r)*sin(lambda_ecliptic*d2r)*AU2km; //relative direction of sun in ECI frame r_craft2sun = r_sun_ECI - r_craft; bool in_sun = true; //boolean to track if we are in the sun or not if (this->useSRP_) { //SRP acceleration //check to see if we are in the earth's shadow (vallado algo 34) double sundotcraft = r_sun_ECI.dot(r_craft); if (sundotcraft < 0) { // if positive we are between sun and earth //constants for earth shadow double alpha_pen = 0.269007205*d2r; //find the angle between the two [radians] double xi = acos(-1.0*sundotcraft/(r_sun_ECI.norm()*r_craft.norm())); //satellite horizontal and vertical position double sat_horiz = r_craft.norm()*cos(xi); double sat_vert = r_craft.norm()*sin(xi); double x = Rearth/sin(alpha_pen); double pen_vert = tan(alpha_pen)*(x+sat_horiz); if(sat_vert <= pen_vert) { in_sun = false; //consider only penumbra } //fi } //fi //if we are in the sun, add the SRP force if (in_sun) { //approximate Area * C_s // double SRPcoeff = 0.04*15.0 + 0.59*7.0; double SRPcoeff = 1.8*15.0; //vallado srp double p_srp = 4.57*pow(10.0,-6.0); //normalize Eigen::Vector3d r_craft2sun_norm = r_craft2sun/r_craft2sun.norm(); //add SRP acceleration (extra 1000 for unit conversion) accel[0] = accel[0] - SRPcoeff*p_srp*r_craft2sun_norm[0]/(1000.0*m); accel[1] = accel[1] - SRPcoeff*p_srp*r_craft2sun_norm[1]/(1000.0*m); accel[2] = accel[2] - SRPcoeff*p_srp*r_craft2sun_norm[2]/(1000.0*m); } } //fi if (this->useLuniSolar_) { //gravitational effects of the sun and moon //first, find the position of the moon in the ECI frame (vallado algo 31) //assume JD_UTC = JD_TBD // double T_TBD = (2449470.5 - 2451545.0)/36525.0; // vallado numbers double T_TBD = (JD_UTC - 2451545.0)/36525.0; // julian centuries double lambda_ecliptic = 218.32 + 481267.8813*T_TBD + 6.29*sin(d2r*(134.9 + 477198.85*T_TBD)) - 1.27*sin(d2r*(259.2 - 413335.38*T_TBD)) + 0.66*sin(d2r*(235.7 + 890543.23*T_TBD)) + 0.21*sin(d2r*(269.9+954397.70*T_TBD)) - 0.19*sin(d2r*(357.5 + 35999.05*T_TBD)) - 0.11*sin(186.6 + 966404.05*T_TBD); double phi_ecliptic = 5.13*sin(d2r*(93.3 + 483202.03*T_TBD)) + 0.28*sin(d2r*(228.2 + 960400.87*T_TBD)) - 0.28*sin(d2r*(318.3 + 6003.18*T_TBD)) - 0.17*sin(d2r*(217.6 - 407332.20*T_TBD)); double D = 0.9508 + 0.0518*cos(d2r*(134.9 + 477198.85*T_TBD)) + 0.0095*cos(d2r*(259.2 - 413335.38*T_TBD)) + 0.0078*cos(d2r*(235.7 + 890534.23*T_TBD)) + 0.0028*cos(d2r*(269.9 + 954397.70*T_TBD)); double eps = 23.439291 - 0.0130042*T_TBD - 1.64*pow(10.0,-7.0)*pow(T_TBD,2.0) + 5.04*pow(10.0,-7.0)*pow(T_TBD,3.0); double r_moon_ECI_norm = Rearth/sin(d2r*D); r_moon_ECI[0] = r_moon_ECI_norm*cos(d2r*phi_ecliptic)*cos(d2r*lambda_ecliptic); r_moon_ECI[1] = r_moon_ECI_norm*(cos(eps*d2r)*cos(d2r*phi_ecliptic)*sin(d2r*lambda_ecliptic) - sin(d2r*eps)*sin(d2r*phi_ecliptic)); r_moon_ECI[2] = r_moon_ECI_norm*(sin(eps*d2r)*cos(d2r*phi_ecliptic)*sin(d2r*lambda_ecliptic) + cos(d2r*eps)*sin(d2r*phi_ecliptic)); //relative direction of moon in ECI frame r_craft2moon = r_moon_ECI - r_craft; //intermediate calcs double r2 = pow(pos[0],2.0) + pow(pos[1],2.0) + pow(pos[2],2.0); double r = sqrt(r2); double r3craft2sun = pow(r_craft2sun.norm(),3.0); double r3earth2sun = pow(AU2km*r_sun_ECI_norm,3.0); double r3craft2moon = pow(r_craft2moon.norm(),3.0); double r3earth2moon = pow(r_moon_ECI_norm,3.0); // std::cout << "\n" << accel[0] << ", " << accel[1] << ", " << accel[2] << "\n"; //two body acceleration to sun accel[0] = accel[0] + mu_sun*(r_craft2sun[0]/r3craft2sun - r_sun_ECI[0]/r3earth2sun); accel[1] = accel[1] + mu_sun*(r_craft2sun[1]/r3craft2sun - r_sun_ECI[1]/r3earth2sun); accel[2] = accel[2] + mu_sun*(r_craft2sun[2]/r3craft2sun - r_sun_ECI[2]/r3earth2sun); // std::cout << "\n" << accel[0] << ", " << accel[1] << ", " << accel[2] << "\n"; //two body acceleration to moon accel[0] = accel[0] + mu_moon*(r_craft2moon[0]/r3craft2moon - r_moon_ECI[0]/r3earth2moon); accel[1] = accel[1] + mu_moon*(r_craft2moon[1]/r3craft2moon - r_moon_ECI[1]/r3earth2moon); accel[2] = accel[2] + mu_moon*(r_craft2moon[2]/r3craft2moon - r_moon_ECI[2]/r3earth2moon); // std::cout << "\n" << accel[0] << ", " << accel[1] << ", " << accel[2] << "\n"; // exit(0); } //integrate the STM if needed if (this->intSTM_) { //current air density double rho_A = rho_0*exp(-(r - r0)/H); double drag_coeff = 1000.0*1000.0*0.5*C_D*A*rho_A/m; //get the jacobian Eigen::Vector3d eigpos(pos.data()); Eigen::Vector3d eigvel(vel.data()); Eigen::MatrixXd jac = Util::GetGravJac(eigpos, eigvel, Rearth, earthrot, mu, J2, J3, drag_coeff); //extract the STM Eigen::MatrixXd STM = Eigen::MatrixXd::Zero(6,6); for (int ii = 0; ii < 6; ++ii) { std::vector<double> col(6,0); col[0] = x[6*ii + 0 + 6]; col[1] = x[6*ii + 1 + 6]; col[2] = x[6*ii + 2 + 6]; col[3] = x[6*ii + 3 + 6]; col[4] = x[6*ii + 4 + 6]; col[5] = x[6*ii + 5 + 6]; //convert to eigen Eigen::VectorXd eigcol = Util::StdVec2Eigen(col); //assign STM.block(0,ii,6,1) = eigcol; } // for //change in STM Eigen::MatrixXd dSTM = jac*STM; //assign for (int ii = 0; ii < 6; ++ii) { Eigen::VectorXd eigcol = dSTM.block(0,ii,6,1); dxdt[6*ii + 0 + 6] = eigcol[0]; dxdt[6*ii + 1 + 6] = eigcol[1]; dxdt[6*ii + 2 + 6] = eigcol[2]; dxdt[6*ii + 3 + 6] = eigcol[3]; dxdt[6*ii + 4 + 6] = eigcol[4]; dxdt[6*ii + 5 + 6] = eigcol[5]; } // for } //fi //change in state dxdt[0] = vel[0]; dxdt[1] = vel[1]; dxdt[2] = vel[2]; dxdt[3] = accel[0]; dxdt[4] = accel[1]; dxdt[5] = accel[2]; // std::cout << "simple accel: \n" << accel[0] << "\n" << accel[1] << "\n" << accel[2] << "\n"; // exit(0); }
subq $0xdb8, %rsp # imm = 0xDB8 movq %rdi, 0xdb0(%rsp) movq %rsi, 0xda8(%rsp) movq %rdx, 0xda0(%rsp) movsd %xmm0, 0xd98(%rsp) movq 0xdb0(%rsp), %rax movq %rax, 0x7d8(%rsp) movsd 0x90(%rax), %xmm0 movsd %xmm0, 0xd90(%rsp) movsd 0xc0(%rax), %xmm0 movsd %xmm0, 0xd88(%rsp) movsd 0xb0(%rax), %xmm0 movsd %xmm0, 0xd80(%rsp) movsd 0xb8(%rax), %xmm0 movsd %xmm0, 0xd78(%rsp) movq 0xda8(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xd38(%rsp) movq 0xda8(%rsp), %rdi movl $0x1, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xd40(%rsp) movq 0xda8(%rsp), %rdi movl $0x2, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xd48(%rsp) leaq 0xd38(%rsp), %rax movq %rax, 0xd50(%rsp) movq $0x3, 0xd58(%rsp) leaq 0xd37(%rsp), %rdi movq %rdi, 0x7e0(%rsp) callq 0x1b080 movq 0x7e0(%rsp), %rcx movq 0xd50(%rsp), %rsi movq 0xd58(%rsp), %rdx leaq 0xd60(%rsp), %rdi callq 0x3b2a0 jmp 0x35a20 leaq 0xd37(%rsp), %rdi callq 0x1b110 movq 0xda8(%rsp), %rdi movl $0x3, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xce0(%rsp) movq 0xda8(%rsp), %rdi movl $0x4, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xce8(%rsp) movq 0xda8(%rsp), %rdi movl $0x5, %esi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xcf0(%rsp) leaq 0xce0(%rsp), %rax movq %rax, 0xcf8(%rsp) movq $0x3, 0xd00(%rsp) leaq 0xcdf(%rsp), %rdi movq %rdi, 0x7d0(%rsp) callq 0x1b080 movq 0x7d0(%rsp), %rcx movq 0xcf8(%rsp), %rsi movq 0xd00(%rsp), %rdx leaq 0xd08(%rsp), %rdi callq 0x3b2a0 jmp 0x35ae2 leaq 0xcdf(%rsp), %rdi callq 0x1b110 movq 0x7d8(%rsp), %rax movsd 0xc8(%rax), %xmm0 movsd %xmm0, 0xcd0(%rsp) movsd 0xd0(%rax), %xmm0 movsd %xmm0, 0xcc8(%rsp) movsd 0xd8(%rax), %xmm0 movsd %xmm0, 0xcc0(%rsp) movsd 0xe0(%rax), %xmm0 movsd %xmm0, 0xcb8(%rsp) movsd 0xe8(%rax), %xmm0 movsd %xmm0, 0xcb0(%rsp) movsd 0xf0(%rax), %xmm0 movsd %xmm0, 0xca8(%rsp) movsd 0xf8(%rax), %xmm0 movsd %xmm0, 0xca0(%rsp) movsd 0x110(%rax), %xmm0 movsd %xmm0, 0xc98(%rsp) movsd 0xa8(%rax), %xmm0 movsd %xmm0, 0xc90(%rsp) movsd 0x98(%rax), %xmm0 movsd %xmm0, 0xc88(%rsp) movsd 0xa0(%rax), %xmm0 movsd %xmm0, 0xc80(%rsp) leaq 0xc68(%rsp), %rdi callq 0x73a0 jmp 0x35bc1 leaq 0xc50(%rsp), %rdi callq 0x73a0 jmp 0x35bd0 leaq 0xc38(%rsp), %rdi callq 0x73a0 jmp 0x35bdf leaq 0xc20(%rsp), %rdi callq 0x73a0 jmp 0x35bee movq 0xda8(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x3b280 movq %rax, 0x7c0(%rsp) movq 0xda8(%rsp), %rdi movl $0x1, %esi callq 0x3b280 movq %rax, 0x7c8(%rsp) movq 0xda8(%rsp), %rdi movl $0x2, %esi callq 0x3b280 movq 0x7c0(%rsp), %rsi movq 0x7c8(%rsp), %rdx movq %rax, %rcx leaq 0xc08(%rsp), %rdi callq 0x6590 jmp 0x35c55 xorl %eax, %eax movl %eax, %esi leaq 0xd60(%rsp), %rdi movq %rdi, 0x798(%rsp) callq 0x1b150 movsd (%rax), %xmm0 movsd 0x25406(%rip), %xmm1 # 0x5b080 movsd %xmm1, 0x7a8(%rsp) callq 0x4620 movq 0x798(%rsp), %rdi movsd %xmm0, 0x7a0(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x7a8(%rsp), %xmm1 movsd (%rax), %xmm0 callq 0x4620 movq 0x798(%rsp), %rdi movaps %xmm0, %xmm1 movsd 0x7a0(%rsp), %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x7b0(%rsp) movl $0x2, %esi callq 0x1b150 movsd 0x7a8(%rsp), %xmm1 movsd (%rax), %xmm0 callq 0x4620 movaps %xmm0, %xmm1 movsd 0x7b0(%rsp), %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xc00(%rsp) movsd 0xc00(%rsp), %xmm0 callq 0x42d0 movsd %xmm0, 0xbf8(%rsp) movsd 0xc98(%rsp), %xmm0 movsd 0xd98(%rsp), %xmm1 movsd 0x25364(%rip), %xmm2 # 0x5b0a0 divsd %xmm2, %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0xbf0(%rsp) movabsq $0x3f91df46a2529d39, %rax # imm = 0x3F91DF46A2529D39 movq %rax, 0xbe8(%rsp) xorps %xmm0, %xmm0 movaps %xmm0, 0xba0(%rsp) movq $0x0, 0xbb0(%rsp) movaps %xmm0, 0xba0(%rsp) movq $0x0, 0xbb0(%rsp) leaq 0xba0(%rsp), %rax movq %rax, 0xbc0(%rsp) movq $0x3, 0xbc8(%rsp) leaq 0xb9f(%rsp), %rdi movq %rdi, 0x7b8(%rsp) callq 0x1b080 movq 0x7b8(%rsp), %rcx movq 0xbc0(%rsp), %rsi movq 0xbc8(%rsp), %rdx leaq 0xbd0(%rsp), %rdi callq 0x3b2a0 jmp 0x35de2 leaq 0xb9f(%rsp), %rdi callq 0x1b110 movq 0x7d8(%rsp), %rax testb $0x1, 0x4(%rax) je 0x3609f movq 0x7d8(%rsp), %rax movq 0x100(%rax), %rax movq %rax, 0x790(%rsp) leaq 0xb68(%rsp), %rdi leaq 0xc08(%rsp), %rsi callq 0x7490 jmp 0x35e2f movq 0x790(%rsp), %rsi movsd 0xbf0(%rsp), %xmm0 leaq 0xb80(%rsp), %rdi leaq 0xb68(%rsp), %rdx callq 0x18f10 jmp 0x35e57 xorl %eax, %eax movl %eax, %esi movq %rsi, 0x778(%rsp) leaq 0xbd0(%rsp), %rdi callq 0x1b150 movq 0x778(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x780(%rsp) leaq 0xb80(%rsp), %rdi callq 0x73c0 movq %rax, 0x788(%rsp) jmp 0x35e9c movsd 0x780(%rsp), %xmm0 movq 0x788(%rsp), %rax movsd (%rax), %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x750(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xbd0(%rsp), %rdi movq %rdi, 0x758(%rsp) callq 0x1b150 movsd 0x750(%rsp), %xmm0 movq 0x758(%rsp), %rdi movsd %xmm0, (%rax) movl $0x1, %esi movq %rsi, 0x760(%rsp) callq 0x1b150 movq 0x760(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x768(%rsp) leaq 0xb80(%rsp), %rdi callq 0x73c0 movq %rax, 0x770(%rsp) jmp 0x35f2a movsd 0x768(%rsp), %xmm0 movq 0x770(%rsp), %rax movsd (%rax), %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x728(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x730(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x728(%rsp), %xmm0 movq 0x730(%rsp), %rdi movsd %xmm0, (%rax) movl $0x2, %esi movq %rsi, 0x738(%rsp) callq 0x1b150 movq 0x738(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x740(%rsp) leaq 0xb80(%rsp), %rdi callq 0x73c0 movq %rax, 0x748(%rsp) jmp 0x35fb9 movq 0x748(%rsp), %rax movsd 0x740(%rsp), %xmm0 addsd (%rax), %xmm0 movsd %xmm0, 0x720(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x720(%rsp), %xmm0 movsd %xmm0, (%rax) jmp 0x3674c movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0xd37(%rsp), %rdi callq 0x1b110 jmp 0x39159 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0xcdf(%rsp), %rdi callq 0x1b110 jmp 0x3914c movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x3913f movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0xb9f(%rsp), %rdi callq 0x1b110 jmp 0x3913f movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x39132 movaps 0x2598a(%rip), %xmm1 # 0x5ba30 movsd 0xd90(%rsp), %xmm0 pxor %xmm1, %xmm0 movsd %xmm0, 0x710(%rsp) movsd 0xbf8(%rsp), %xmm0 movl $0x3, %edi callq 0x1b330 movsd %xmm0, 0x718(%rsp) jmp 0x360da movsd 0x718(%rsp), %xmm1 movsd 0x710(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd %xmm0, 0xb60(%rsp) leaq 0xbd0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x6d0(%rsp) movsd 0xb60(%rsp), %xmm0 movsd %xmm0, 0x6c8(%rsp) leaq 0xd60(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd 0x6c8(%rsp), %xmm0 movsd 0x6d0(%rsp), %xmm1 movsd (%rax), %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x6d8(%rsp) leaq 0xbd0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd 0x6d8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x6e8(%rsp) movsd 0xb60(%rsp), %xmm0 movsd %xmm0, 0x6e0(%rsp) leaq 0xd60(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x6e0(%rsp), %xmm0 movsd 0x6e8(%rsp), %xmm1 movsd (%rax), %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x6f0(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x6f0(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x700(%rsp) movsd 0xb60(%rsp), %xmm0 movsd %xmm0, 0x6f8(%rsp) leaq 0xd60(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x6f8(%rsp), %xmm0 movsd 0x700(%rsp), %xmm1 movsd (%rax), %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x708(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x708(%rsp), %xmm0 movq %rax, %rcx movq 0x7d8(%rsp), %rax movsd %xmm0, (%rcx) testb $0x1, (%rax) je 0x3674a xorl %eax, %eax movl %eax, %esi leaq 0xd60(%rsp), %rdi callq 0x1b150 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x6c0(%rsp) jmp 0x362cf movsd 0x6c0(%rsp), %xmm0 movsd %xmm0, 0xb58(%rsp) leaq 0xd60(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x6b8(%rsp) jmp 0x3630c movsd 0x6b8(%rsp), %xmm0 movsd %xmm0, 0xb50(%rsp) leaq 0xd60(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd (%rax), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x6b0(%rsp) jmp 0x36349 movsd 0x6b0(%rsp), %xmm0 movsd %xmm0, 0xb48(%rsp) movsd 0xd80(%rsp), %xmm0 movsd %xmm0, 0x6a0(%rsp) movsd 0xd88(%rsp), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x6a8(%rsp) jmp 0x3638b movsd 0x6a8(%rsp), %xmm1 movsd 0x6a0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd 0xd90(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x680(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xd60(%rsp), %rdi callq 0x1b150 movsd 0x680(%rsp), %xmm2 movsd (%rax), %xmm0 mulsd %xmm0, %xmm2 movsd 0xb58(%rsp), %xmm0 movsd 0xb50(%rsp), %xmm1 addsd %xmm1, %xmm0 movsd 0xb48(%rsp), %xmm1 movsd 0x26b40(%rip), %xmm3 # 0x5cf40 movaps %xmm1, %xmm4 mulsd %xmm3, %xmm4 movaps %xmm0, %xmm3 addsd %xmm4, %xmm3 mulsd %xmm3, %xmm2 movsd %xmm2, 0x688(%rsp) addsd %xmm1, %xmm0 movsd 0x253c9(%rip), %xmm1 # 0x5b7f0 callq 0x4620 movaps %xmm0, %xmm1 movsd 0x688(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd 0x26b04(%rip), %xmm1 # 0x5cf48 mulsd %xmm1, %xmm0 movsd %xmm0, 0xb40(%rsp) movsd 0xd80(%rsp), %xmm0 movsd %xmm0, 0x690(%rsp) movsd 0xd88(%rsp), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x698(%rsp) jmp 0x36481 movsd 0x698(%rsp), %xmm1 movsd 0x690(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd 0xd90(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x660(%rsp) leaq 0xd60(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x660(%rsp), %xmm2 movsd (%rax), %xmm0 mulsd %xmm0, %xmm2 movsd 0xb58(%rsp), %xmm0 movsd 0xb50(%rsp), %xmm1 addsd %xmm1, %xmm0 movsd 0xb48(%rsp), %xmm1 movsd 0x26a49(%rip), %xmm3 # 0x5cf40 movaps %xmm1, %xmm4 mulsd %xmm3, %xmm4 movaps %xmm0, %xmm3 addsd %xmm4, %xmm3 mulsd %xmm3, %xmm2 movsd %xmm2, 0x668(%rsp) addsd %xmm1, %xmm0 movsd 0x252d2(%rip), %xmm1 # 0x5b7f0 callq 0x4620 movaps %xmm0, %xmm1 movsd 0x668(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd 0x26a0d(%rip), %xmm1 # 0x5cf48 mulsd %xmm1, %xmm0 movsd %xmm0, 0xb38(%rsp) movsd 0xd80(%rsp), %xmm0 movsd %xmm0, 0x670(%rsp) movsd 0xd88(%rsp), %xmm0 movl $0x2, %edi callq 0x1b330 movsd %xmm0, 0x678(%rsp) jmp 0x36578 movsd 0x678(%rsp), %xmm1 movsd 0x670(%rsp), %xmm0 mulsd %xmm1, %xmm0 mulsd 0xd90(%rsp), %xmm0 movsd %xmm0, 0x638(%rsp) leaq 0xd60(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x638(%rsp), %xmm0 mulsd (%rax), %xmm0 movsd 0x24a51(%rip), %xmm1 # 0x5b018 mulsd %xmm1, %xmm0 movsd %xmm0, 0x640(%rsp) movsd 0xb58(%rsp), %xmm0 addsd 0xb50(%rsp), %xmm0 addsd 0xb48(%rsp), %xmm0 movsd 0x251f9(%rip), %xmm1 # 0x5b7f0 callq 0x4620 movaps %xmm0, %xmm1 movsd 0x640(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd 0xb58(%rsp), %xmm2 movsd 0x24a2b(%rip), %xmm1 # 0x5b048 mulsd 0xb50(%rsp), %xmm1 movsd 0x24a1a(%rip), %xmm3 # 0x5b048 mulsd %xmm3, %xmm2 addsd %xmm1, %xmm2 movsd 0xb48(%rsp), %xmm1 movq %xmm1, %rax movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000 xorq %rcx, %rax movq %rax, %xmm1 addsd %xmm1, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movsd 0x268de(%rip), %xmm1 # 0x5cf48 mulsd %xmm1, %xmm0 movsd %xmm0, 0xb30(%rsp) leaq 0xbd0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd (%rax), %xmm0 addsd 0xb40(%rsp), %xmm0 movsd %xmm0, 0x648(%rsp) leaq 0xbd0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd 0x648(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd (%rax), %xmm0 addsd 0xb38(%rsp), %xmm0 movsd %xmm0, 0x650(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x650(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd (%rax), %xmm0 addsd 0xb30(%rsp), %xmm0 movsd %xmm0, 0x658(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x658(%rsp), %xmm0 movsd %xmm0, (%rax) jmp 0x3674c movq 0x7d8(%rsp), %rax testb $0x1, 0x1(%rax) je 0x36c52 leaq 0xb18(%rsp), %rdi callq 0x73a0 jmp 0x3676d xorl %eax, %eax movl %eax, %esi movq %rsi, 0x620(%rsp) leaq 0xd08(%rsp), %rdi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x618(%rsp) movsd 0xcd0(%rsp), %xmm0 movsd %xmm0, 0x610(%rsp) leaq 0xd60(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x610(%rsp), %xmm0 movsd 0x618(%rsp), %xmm1 movq 0x620(%rsp), %rsi movsd (%rax), %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x628(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x630(%rsp) jmp 0x367fd movq 0x630(%rsp), %rax movsd 0x628(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xd08(%rsp), %rdi movl $0x1, %esi movq %rsi, 0x5f8(%rsp) callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x5f0(%rsp) movsd 0xcd0(%rsp), %xmm0 movsd %xmm0, 0x5e8(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xd60(%rsp), %rdi callq 0x1b150 movsd 0x5e8(%rsp), %xmm1 movsd 0x5f0(%rsp), %xmm0 movq 0x5f8(%rsp), %rsi movsd (%rax), %xmm2 mulsd %xmm2, %xmm1 subsd %xmm1, %xmm0 movsd %xmm0, 0x600(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x608(%rsp) jmp 0x368a2 movq 0x608(%rsp), %rax movsd 0x600(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xd08(%rsp), %rdi movl $0x2, %esi movq %rsi, 0x5d0(%rsp) callq 0x1b150 movq 0x5d0(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x5d8(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x5e0(%rsp) jmp 0x368fd movq 0x5e0(%rsp), %rax movsd 0x5d8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xb18(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x5c8(%rsp) jmp 0x3692a movsd 0x5c8(%rsp), %xmm0 movsd %xmm0, 0xb10(%rsp) movsd 0xcb0(%rsp), %xmm0 movsd %xmm0, 0x5a0(%rsp) movsd 0xbf8(%rsp), %xmm0 movsd 0xca8(%rsp), %xmm1 subsd %xmm1, %xmm0 movaps 0x250c5(%rip), %xmm1 # 0x5ba30 pxor %xmm1, %xmm0 movsd 0xca0(%rsp), %xmm1 divsd %xmm1, %xmm0 callq 0x4650 movaps %xmm0, %xmm1 movsd 0x5a0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0xb08(%rsp) xorl %eax, %eax movl %eax, %esi movq %rsi, 0x5a8(%rsp) leaq 0xbd0(%rsp), %rdi callq 0x1b150 movq 0x5a8(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x5b0(%rsp) movsd 0xcc8(%rsp), %xmm0 movsd 0x26577(%rip), %xmm1 # 0x5cf50 mulsd %xmm1, %xmm0 movsd 0xcc0(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb08(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb10(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x5b8(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x5c0(%rsp) jmp 0x36a24 movsd 0x5b0(%rsp), %xmm0 movsd 0x5b8(%rsp), %xmm1 movq 0x5c0(%rsp), %rax movsd (%rax), %xmm2 mulsd %xmm2, %xmm1 movsd 0xcb8(%rsp), %xmm2 divsd %xmm2, %xmm1 subsd %xmm1, %xmm0 movsd %xmm0, 0x570(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xbd0(%rsp), %rdi movq %rdi, 0x578(%rsp) callq 0x1b150 movsd 0x570(%rsp), %xmm0 movq 0x578(%rsp), %rdi movsd %xmm0, (%rax) movl $0x1, %esi movq %rsi, 0x580(%rsp) callq 0x1b150 movq 0x580(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x588(%rsp) movsd 0xcc8(%rsp), %xmm0 movsd 0x2648a(%rip), %xmm1 # 0x5cf50 mulsd %xmm1, %xmm0 movsd 0xcc0(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb08(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb10(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x590(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x598(%rsp) jmp 0x36b11 movsd 0x588(%rsp), %xmm0 movsd 0x590(%rsp), %xmm1 movq 0x598(%rsp), %rax movsd (%rax), %xmm2 mulsd %xmm2, %xmm1 movsd 0xcb8(%rsp), %xmm2 divsd %xmm2, %xmm1 subsd %xmm1, %xmm0 movsd %xmm0, 0x540(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x548(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x540(%rsp), %xmm0 movq 0x548(%rsp), %rdi movsd %xmm0, (%rax) movl $0x2, %esi movq %rsi, 0x550(%rsp) callq 0x1b150 movq 0x550(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x558(%rsp) movsd 0xcc8(%rsp), %xmm0 movsd 0x2639c(%rip), %xmm1 # 0x5cf50 mulsd %xmm1, %xmm0 movsd 0xcc0(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb08(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xb10(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x560(%rsp) leaq 0xb18(%rsp), %rdi callq 0x73c0 movq %rax, 0x568(%rsp) jmp 0x36bff movsd 0x558(%rsp), %xmm0 movq 0x568(%rsp), %rax movsd 0x560(%rsp), %xmm1 mulsd (%rax), %xmm1 divsd 0xcb8(%rsp), %xmm1 subsd %xmm1, %xmm0 movsd %xmm0, 0x538(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x538(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0xbf0(%rsp), %xmm0 movsd 0x262f5(%rip), %xmm1 # 0x5cf58 addsd %xmm1, %xmm0 movsd 0x24bf9(%rip), %xmm1 # 0x5b868 divsd %xmm1, %xmm0 movsd %xmm0, 0xb00(%rsp) movsd 0xb00(%rsp), %xmm0 movsd 0x262d3(%rip), %xmm1 # 0x5cf60 mulsd %xmm1, %xmm0 movsd 0x262cf(%rip), %xmm1 # 0x5cf68 addsd %xmm1, %xmm0 movsd %xmm0, 0xaf8(%rsp) movsd 0xb00(%rsp), %xmm0 movsd 0x262b9(%rip), %xmm1 # 0x5cf70 mulsd %xmm1, %xmm0 movsd 0x262b5(%rip), %xmm1 # 0x5cf78 addsd %xmm1, %xmm0 movsd %xmm0, 0xaf0(%rsp) movsd 0xaf8(%rsp), %xmm0 movsd %xmm0, 0x508(%rsp) movsd 0xaf0(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x508(%rsp), %xmm1 movsd 0x26272(%rip), %xmm2 # 0x5cf80 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x510(%rsp) movsd 0xaf0(%rsp), %xmm0 addsd %xmm0, %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x510(%rsp), %xmm1 movsd 0x26239(%rip), %xmm2 # 0x5cf88 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xae8(%rsp) movsd 0xaf0(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x2620d(%rip), %xmm1 # 0x5cf90 mulsd %xmm1, %xmm0 movsd 0x26209(%rip), %xmm1 # 0x5cf98 addsd %xmm1, %xmm0 movsd %xmm0, 0x518(%rsp) movsd 0xaf0(%rsp), %xmm0 addsd %xmm0, %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x518(%rsp), %xmm1 movsd 0x261d4(%rip), %xmm2 # 0x5cfa0 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xae0(%rsp) movsd 0xb00(%rsp), %xmm0 movsd 0x261ba(%rip), %xmm1 # 0x5cfa8 mulsd %xmm1, %xmm0 movsd 0x261b6(%rip), %xmm1 # 0x5cfb0 addsd %xmm1, %xmm0 movsd %xmm0, 0xad8(%rsp) movsd 0xae0(%rsp), %xmm0 movsd %xmm0, 0x520(%rsp) movsd 0xae8(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x520(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd 0xc90(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x528(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xc68(%rsp), %rdi callq 0x73c0 movq %rax, 0x530(%rsp) jmp 0x36e75 movq 0x530(%rsp), %rax movsd 0x528(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0xae0(%rsp), %xmm0 movsd %xmm0, 0x4e8(%rsp) movsd 0xad8(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x4e8(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x4f0(%rsp) movsd 0xae8(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x4f0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd 0xc90(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x4f8(%rsp) leaq 0xc68(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x500(%rsp) jmp 0x36f2d movq 0x500(%rsp), %rax movsd 0x4f8(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0xae0(%rsp), %xmm0 movsd %xmm0, 0x4c8(%rsp) movsd 0xad8(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x4c8(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x4d0(%rsp) movsd 0xae8(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x4d0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd 0xc90(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x4d8(%rsp) leaq 0xc68(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x4e0(%rsp) jmp 0x36fe5 movq 0x4e0(%rsp), %rax movsd 0x4d8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xac0(%rsp), %rdi leaq 0xc68(%rsp), %rsi leaq 0xc08(%rsp), %rdx callq 0x6d70 jmp 0x37019 leaq 0xc50(%rsp), %rdi leaq 0xac0(%rsp), %rsi callq 0x3b330 jmp 0x37030 movq 0x7d8(%rsp), %rax movb $0x1, 0xabf(%rsp) testb $0x1, 0x2(%rax) je 0x37546 leaq 0xc68(%rsp), %rdi leaq 0xc08(%rsp), %rsi callq 0x1b920 movsd %xmm0, 0x4c0(%rsp) jmp 0x3706a movsd 0x4c0(%rsp), %xmm0 movsd %xmm0, 0xab0(%rsp) xorps %xmm0, %xmm0 ucomisd 0xab0(%rsp), %xmm0 jbe 0x37230 movsd 0xbe8(%rsp), %xmm0 movsd 0x25f19(%rip), %xmm1 # 0x5cfb8 mulsd %xmm1, %xmm0 movsd %xmm0, 0xaa8(%rsp) movaps 0x2497d(%rip), %xmm1 # 0x5ba30 movsd 0xab0(%rsp), %xmm0 pxor %xmm1, %xmm0 movsd %xmm0, 0x4b0(%rsp) leaq 0xc68(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x4b8(%rsp) jmp 0x370e1 leaq 0xc08(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x4a8(%rsp) jmp 0x370f9 movsd 0x4b0(%rsp), %xmm0 movsd 0x4a8(%rsp), %xmm2 movsd 0x4b8(%rsp), %xmm1 mulsd %xmm2, %xmm1 divsd %xmm1, %xmm0 callq 0x4350 movsd %xmm0, 0xaa0(%rsp) leaq 0xc08(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x4a0(%rsp) jmp 0x37142 movsd 0xaa0(%rsp), %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x4a0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0xa98(%rsp) leaq 0xc08(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x498(%rsp) jmp 0x37181 movsd 0xaa0(%rsp), %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x498(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0xa90(%rsp) movsd 0xd88(%rsp), %xmm0 movsd %xmm0, 0x490(%rsp) movsd 0xaa8(%rsp), %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x490(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd %xmm0, 0xa88(%rsp) movsd 0xaa8(%rsp), %xmm0 callq 0x41e0 movsd 0xa88(%rsp), %xmm1 addsd 0xa98(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0xa80(%rsp) movsd 0xa90(%rsp), %xmm1 movsd 0xa80(%rsp), %xmm0 ucomisd %xmm1, %xmm0 jb 0x3722e movb $0x0, 0xabf(%rsp) jmp 0x37230 testb $0x1, 0xabf(%rsp) je 0x37544 movabsq $0x403b000000000000, %rax # imm = 0x403B000000000000 movq %rax, 0xa78(%rsp) movsd 0x23df8(%rip), %xmm0 # 0x5b050 movsd 0x25d60(%rip), %xmm1 # 0x5cfc0 callq 0x4620 movsd 0x25d5b(%rip), %xmm1 # 0x5cfc8 mulsd %xmm1, %xmm0 movsd %xmm0, 0xa70(%rsp) leaq 0xc50(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x488(%rsp) jmp 0x37292 movsd 0x488(%rsp), %xmm0 movsd %xmm0, 0xa30(%rsp) leaq 0xa38(%rsp), %rdi leaq 0xc50(%rsp), %rsi leaq 0xa30(%rsp), %rdx callq 0x1bca0 jmp 0x372c3 leaq 0xa58(%rsp), %rdi leaq 0xa38(%rsp), %rsi callq 0x3ac60 jmp 0x372da xorl %eax, %eax movl %eax, %esi movq %rsi, 0x468(%rsp) leaq 0xbd0(%rsp), %rdi callq 0x1b150 movq 0x468(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x470(%rsp) movsd 0xa78(%rsp), %xmm0 movsd 0xa70(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x478(%rsp) leaq 0xa58(%rsp), %rdi callq 0x73c0 movq %rax, 0x480(%rsp) jmp 0x3733e movsd 0x470(%rsp), %xmm0 movsd 0x478(%rsp), %xmm1 movq 0x480(%rsp), %rax movsd (%rax), %xmm2 mulsd %xmm2, %xmm1 movsd 0xcb8(%rsp), %xmm2 movsd 0x25c5f(%rip), %xmm3 # 0x5cfd0 mulsd %xmm3, %xmm2 divsd %xmm2, %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x438(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xbd0(%rsp), %rdi movq %rdi, 0x440(%rsp) callq 0x1b150 movsd 0x438(%rsp), %xmm0 movq 0x440(%rsp), %rdi movsd %xmm0, (%rax) movl $0x1, %esi movq %rsi, 0x448(%rsp) callq 0x1b150 movq 0x448(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x450(%rsp) movsd 0xa78(%rsp), %xmm0 movsd 0xa70(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x458(%rsp) leaq 0xa58(%rsp), %rdi callq 0x73c0 movq %rax, 0x460(%rsp) jmp 0x37411 movsd 0x450(%rsp), %xmm0 movsd 0x458(%rsp), %xmm1 movq 0x460(%rsp), %rax movsd (%rax), %xmm2 mulsd %xmm2, %xmm1 movsd 0xcb8(%rsp), %xmm2 movsd 0x25b8c(%rip), %xmm3 # 0x5cfd0 mulsd %xmm3, %xmm2 divsd %xmm2, %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x408(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x410(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x408(%rsp), %xmm0 movq 0x410(%rsp), %rdi movsd %xmm0, (%rax) movl $0x2, %esi movq %rsi, 0x418(%rsp) callq 0x1b150 movq 0x418(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x420(%rsp) movsd 0xa78(%rsp), %xmm0 movsd 0xa70(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x428(%rsp) leaq 0xa58(%rsp), %rdi callq 0x73c0 movq %rax, 0x430(%rsp) jmp 0x374e5 movsd 0x420(%rsp), %xmm0 movq 0x430(%rsp), %rax movsd 0x428(%rsp), %xmm1 mulsd (%rax), %xmm1 movsd 0x25acd(%rip), %xmm2 # 0x5cfd8 mulsd 0xcb8(%rsp), %xmm2 divsd %xmm2, %xmm1 subsd %xmm1, %xmm0 movsd %xmm0, 0x400(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x400(%rsp), %xmm0 movsd %xmm0, (%rax) jmp 0x37546 movq 0x7d8(%rsp), %rax testb $0x1, 0x3(%rax) je 0x386d2 movsd 0xbf0(%rsp), %xmm0 movsd 0x259ef(%rip), %xmm1 # 0x5cf58 addsd %xmm1, %xmm0 movsd 0x242f3(%rip), %xmm1 # 0x5b868 divsd %xmm1, %xmm0 movsd %xmm0, 0xa28(%rsp) movsd 0xa28(%rsp), %xmm1 movsd 0x25a4d(%rip), %xmm2 # 0x5cfe0 movaps %xmm1, %xmm0 mulsd %xmm2, %xmm0 movsd 0x25a46(%rip), %xmm2 # 0x5cfe8 addsd %xmm2, %xmm0 movsd %xmm0, 0x310(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0x25a30(%rip), %xmm2 # 0x5cff0 movsd %xmm2, 0x358(%rsp) mulsd %xmm2, %xmm1 movsd 0x25a23(%rip), %xmm2 # 0x5cff8 movsd %xmm2, 0x360(%rsp) addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x310(%rsp), %xmm1 movsd 0x25a04(%rip), %xmm2 # 0x5d000 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x318(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x259e1(%rip), %xmm2 # 0x5d008 movsd %xmm2, 0x368(%rsp) mulsd %xmm2, %xmm1 movsd 0x259d4(%rip), %xmm2 # 0x5d010 movsd %xmm2, 0x370(%rsp) addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x318(%rsp), %xmm1 movsd 0x259b5(%rip), %xmm2 # 0x5d018 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x320(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x25992(%rip), %xmm2 # 0x5d020 mulsd %xmm2, %xmm1 movsd 0x2598e(%rip), %xmm2 # 0x5d028 movsd %xmm2, 0x380(%rsp) addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x320(%rsp), %xmm1 movsd 0x2596f(%rip), %xmm2 # 0x5d030 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x328(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x2594c(%rip), %xmm2 # 0x5d038 movsd %xmm2, 0x390(%rsp) mulsd %xmm2, %xmm1 movsd 0x2593f(%rip), %xmm2 # 0x5d040 movsd %xmm2, 0x398(%rsp) addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x328(%rsp), %xmm1 movsd 0x25920(%rip), %xmm2 # 0x5d048 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x330(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x258fd(%rip), %xmm2 # 0x5d050 mulsd %xmm2, %xmm1 movsd 0x258f9(%rip), %xmm2 # 0x5d058 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x330(%rsp), %xmm1 movsd 0x258e3(%rip), %xmm2 # 0x5d060 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x338(%rsp) movsd 0xa28(%rsp), %xmm0 movsd 0x258c9(%rip), %xmm1 # 0x5d068 mulsd %xmm1, %xmm0 movsd 0x258c5(%rip), %xmm1 # 0x5d070 addsd %xmm1, %xmm0 callq 0x40c0 movsd 0x338(%rsp), %xmm1 movsd 0x258b3(%rip), %xmm2 # 0x5d078 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xa20(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x25890(%rip), %xmm2 # 0x5d080 mulsd %xmm2, %xmm1 movsd 0x2588c(%rip), %xmm2 # 0x5d088 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd %xmm0, 0x340(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x25864(%rip), %xmm2 # 0x5d090 mulsd %xmm2, %xmm1 movsd 0x25860(%rip), %xmm2 # 0x5d098 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x340(%rsp), %xmm0 movsd 0x25847(%rip), %xmm2 # 0x5d0a0 mulsd %xmm2, %xmm1 movsd 0x25843(%rip), %xmm2 # 0x5d0a8 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x348(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x25820(%rip), %xmm2 # 0x5d0b0 mulsd %xmm2, %xmm1 movsd 0x2581c(%rip), %xmm2 # 0x5d0b8 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x348(%rsp), %xmm1 movsd 0x25806(%rip), %xmm2 # 0x5d0c0 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x350(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x257e3(%rip), %xmm2 # 0x5d0c8 mulsd %xmm2, %xmm1 movsd 0x257df(%rip), %xmm2 # 0x5d0d0 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x350(%rsp), %xmm1 movsd 0x358(%rsp), %xmm3 movsd 0x360(%rsp), %xmm2 movsd 0x257b7(%rip), %xmm4 # 0x5d0d8 mulsd %xmm4, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xa18(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x368(%rsp), %xmm3 movsd 0x370(%rsp), %xmm2 movsd 0x25771(%rip), %xmm1 # 0x5d0e0 mulsd %xmm1, %xmm0 movsd 0x2576d(%rip), %xmm1 # 0x5d0e8 addsd %xmm1, %xmm0 movsd %xmm0, 0x378(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x378(%rsp), %xmm1 movsd 0x380(%rsp), %xmm2 movsd 0x2572b(%rip), %xmm3 # 0x5d0f0 mulsd %xmm3, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x388(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 movsd 0x25708(%rip), %xmm3 # 0x5d0f8 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x388(%rsp), %xmm1 movsd 0x390(%rsp), %xmm3 movsd 0x398(%rsp), %xmm2 movsd 0x256dc(%rip), %xmm4 # 0x5d100 mulsd %xmm4, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x3a0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa28(%rsp), %xmm1 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd 0x3a0(%rsp), %xmm1 movsd 0x2569f(%rip), %xmm2 # 0x5d108 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xa10(%rsp) movsd 0xa28(%rsp), %xmm0 movsd 0x2551d(%rip), %xmm1 # 0x5cfa8 mulsd %xmm1, %xmm0 movsd 0x25519(%rip), %xmm1 # 0x5cfb0 addsd %xmm1, %xmm0 movsd %xmm0, 0x3b0(%rsp) movsd 0x235a4(%rip), %xmm0 # 0x5b050 movsd %xmm0, 0x3c0(%rsp) movsd 0x25653(%rip), %xmm1 # 0x5d110 movsd %xmm1, 0x3b8(%rsp) callq 0x4620 movsd 0x25645(%rip), %xmm1 # 0x5d118 mulsd %xmm1, %xmm0 movsd %xmm0, 0x3a8(%rsp) movsd 0xa28(%rsp), %xmm0 movsd 0x2358f(%rip), %xmm1 # 0x5b080 callq 0x4620 movsd 0x3a8(%rsp), %xmm3 movsd 0x3b0(%rsp), %xmm2 movsd 0x3b8(%rsp), %xmm1 movaps %xmm0, %xmm4 movsd 0x3c0(%rsp), %xmm0 mulsd %xmm4, %xmm3 addsd %xmm3, %xmm2 movsd %xmm2, 0x3c8(%rsp) callq 0x4620 movsd 0x255e5(%rip), %xmm1 # 0x5d120 mulsd %xmm1, %xmm0 movsd %xmm0, 0x3d0(%rsp) movsd 0xa28(%rsp), %xmm0 movsd 0x234ef(%rip), %xmm1 # 0x5b048 callq 0x4620 movsd 0x3c8(%rsp), %xmm1 movaps %xmm0, %xmm2 movsd 0x3d0(%rsp), %xmm0 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xa08(%rsp) movsd 0xd88(%rsp), %xmm0 movsd %xmm0, 0x3d8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa10(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movaps %xmm0, %xmm1 movsd 0x3d8(%rsp), %xmm0 divsd %xmm1, %xmm0 movsd %xmm0, 0xa00(%rsp) movsd 0xa00(%rsp), %xmm0 movsd %xmm0, 0x3e0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa18(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x3e0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x3e8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa20(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x3e8(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x3f0(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xc38(%rsp), %rdi callq 0x73c0 movq %rax, 0x3f8(%rsp) jmp 0x37c5f movq 0x3f8(%rsp), %rax movsd 0x3f0(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0xa00(%rsp), %xmm0 movsd %xmm0, 0x2f8(%rsp) movsd 0xa08(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd %xmm0, 0x2d8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa18(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x2d8(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x2e8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa20(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd %xmm0, 0x2f0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa08(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd %xmm0, 0x2e0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa18(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x2e0(%rsp), %xmm2 movsd 0x2e8(%rsp), %xmm1 movsd 0x2f0(%rsp), %xmm3 movaps %xmm0, %xmm4 movsd 0x2f8(%rsp), %xmm0 mulsd %xmm4, %xmm2 mulsd %xmm3, %xmm1 subsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x300(%rsp) leaq 0xc38(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x308(%rsp) jmp 0x37d9d movq 0x308(%rsp), %rax movsd 0x300(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0xa00(%rsp), %xmm0 movsd %xmm0, 0x2c0(%rsp) movsd 0xa08(%rsp), %xmm0 movsd 0xbe8(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd %xmm0, 0x2a0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa18(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movaps %xmm0, %xmm1 movsd 0x2a0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x2b0(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa20(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd %xmm0, 0x2b8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa08(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x4690 movsd %xmm0, 0x2a8(%rsp) movsd 0xbe8(%rsp), %xmm0 movsd 0xa18(%rsp), %xmm1 mulsd %xmm1, %xmm0 callq 0x40c0 movsd 0x2a8(%rsp), %xmm2 movsd 0x2b0(%rsp), %xmm1 movsd 0x2b8(%rsp), %xmm3 movaps %xmm0, %xmm4 movsd 0x2c0(%rsp), %xmm0 mulsd %xmm4, %xmm2 mulsd %xmm3, %xmm1 addsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0x2c8(%rsp) leaq 0xc38(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x2d0(%rsp) jmp 0x37edb movq 0x2d0(%rsp), %rax movsd 0x2c8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x9e8(%rsp), %rdi leaq 0xc38(%rsp), %rsi leaq 0xc08(%rsp), %rdx callq 0x6d70 jmp 0x37f0f leaq 0xc20(%rsp), %rdi leaq 0x9e8(%rsp), %rsi callq 0x3b330 jmp 0x37f26 xorl %eax, %eax movl %eax, %esi leaq 0xd60(%rsp), %rdi movq %rdi, 0x278(%rsp) callq 0x1b150 movsd (%rax), %xmm0 movsd 0x23135(%rip), %xmm1 # 0x5b080 movsd %xmm1, 0x288(%rsp) callq 0x4620 movq 0x278(%rsp), %rdi movsd %xmm0, 0x280(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x288(%rsp), %xmm1 movsd (%rax), %xmm0 callq 0x4620 movq 0x278(%rsp), %rdi movaps %xmm0, %xmm1 movsd 0x280(%rsp), %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x290(%rsp) movl $0x2, %esi callq 0x1b150 movsd 0x288(%rsp), %xmm1 movsd (%rax), %xmm0 callq 0x4620 movaps %xmm0, %xmm1 movsd 0x290(%rsp), %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x9e0(%rsp) movsd 0x9e0(%rsp), %xmm0 callq 0x42d0 movsd %xmm0, 0x9d8(%rsp) leaq 0xc50(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x298(%rsp) jmp 0x3800b movsd 0x298(%rsp), %xmm0 movsd 0x2302c(%rip), %xmm1 # 0x5b048 movsd %xmm1, 0x268(%rsp) callq 0x4620 movsd 0x268(%rsp), %xmm1 movsd %xmm0, 0x9d0(%rsp) movsd 0xc90(%rsp), %xmm0 movsd 0xae0(%rsp), %xmm2 mulsd %xmm2, %xmm0 callq 0x4620 movsd %xmm0, 0x9c8(%rsp) leaq 0xc20(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x270(%rsp) jmp 0x38078 movsd 0x270(%rsp), %xmm0 movsd 0x22fbf(%rip), %xmm1 # 0x5b048 movsd %xmm1, 0x240(%rsp) callq 0x4620 movsd 0x240(%rsp), %xmm1 movsd %xmm0, 0x9c0(%rsp) movsd 0xa00(%rsp), %xmm0 callq 0x4620 movsd %xmm0, 0x9b8(%rsp) xorl %eax, %eax movl %eax, %esi movq %rsi, 0x248(%rsp) leaq 0xbd0(%rsp), %rdi callq 0x1b150 movq 0x248(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x250(%rsp) movsd 0xc88(%rsp), %xmm0 movsd %xmm0, 0x258(%rsp) leaq 0xc50(%rsp), %rdi callq 0x73c0 movq %rax, 0x260(%rsp) jmp 0x38117 movq 0x260(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9d0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x230(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xc68(%rsp), %rdi callq 0x73c0 movq %rax, 0x238(%rsp) jmp 0x38154 movsd 0x250(%rsp), %xmm1 movsd 0x258(%rsp), %xmm0 movsd 0x230(%rsp), %xmm2 movq 0x238(%rsp), %rax movsd (%rax), %xmm3 movsd 0x9c8(%rsp), %xmm4 divsd %xmm4, %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x200(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xbd0(%rsp), %rdi movq %rdi, 0x208(%rsp) callq 0x1b150 movsd 0x200(%rsp), %xmm0 movq 0x208(%rsp), %rdi movsd %xmm0, (%rax) movl $0x1, %esi movq %rsi, 0x210(%rsp) callq 0x1b150 movq 0x210(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x218(%rsp) movsd 0xc88(%rsp), %xmm0 movsd %xmm0, 0x220(%rsp) leaq 0xc50(%rsp), %rdi callq 0x73c0 movq %rax, 0x228(%rsp) jmp 0x3821b movq 0x228(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9d0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x1f0(%rsp) leaq 0xc68(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x1f8(%rsp) jmp 0x38259 movsd 0x218(%rsp), %xmm1 movsd 0x220(%rsp), %xmm0 movsd 0x1f0(%rsp), %xmm2 movq 0x1f8(%rsp), %rax movsd (%rax), %xmm3 movsd 0x9c8(%rsp), %xmm4 divsd %xmm4, %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x1c0(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x1c8(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x1c0(%rsp), %xmm0 movq 0x1c8(%rsp), %rdi movsd %xmm0, (%rax) movl $0x2, %esi movq %rsi, 0x1d0(%rsp) callq 0x1b150 movq 0x1d0(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x1d8(%rsp) movsd 0xc88(%rsp), %xmm0 movsd %xmm0, 0x1e0(%rsp) leaq 0xc50(%rsp), %rdi callq 0x73c0 movq %rax, 0x1e8(%rsp) jmp 0x38321 movq 0x1e8(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9d0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x1b0(%rsp) leaq 0xc68(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x1b8(%rsp) jmp 0x3835f movsd 0x1d8(%rsp), %xmm1 movsd 0x1e0(%rsp), %xmm0 movsd 0x1b0(%rsp), %xmm2 movq 0x1b8(%rsp), %rax movsd (%rax), %xmm3 movsd 0x9c8(%rsp), %xmm4 divsd %xmm4, %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x180(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x188(%rsp) movl $0x2, %esi callq 0x1b150 movsd 0x180(%rsp), %xmm0 movq 0x188(%rsp), %rdi movsd %xmm0, (%rax) xorl %eax, %eax movl %eax, %esi movq %rsi, 0x190(%rsp) callq 0x1b150 movq 0x190(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x198(%rsp) movsd 0xc80(%rsp), %xmm0 movsd %xmm0, 0x1a0(%rsp) leaq 0xc20(%rsp), %rdi callq 0x73c0 movq %rax, 0x1a8(%rsp) jmp 0x38426 movq 0x1a8(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9c0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x170(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xc38(%rsp), %rdi callq 0x73c0 movq %rax, 0x178(%rsp) jmp 0x38463 movsd 0x198(%rsp), %xmm1 movsd 0x1a0(%rsp), %xmm0 movsd 0x170(%rsp), %xmm2 movq 0x178(%rsp), %rax movsd (%rax), %xmm3 movsd 0x9b8(%rsp), %xmm4 divsd %xmm4, %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x140(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0xbd0(%rsp), %rdi movq %rdi, 0x148(%rsp) callq 0x1b150 movsd 0x140(%rsp), %xmm0 movq 0x148(%rsp), %rdi movsd %xmm0, (%rax) movl $0x1, %esi movq %rsi, 0x150(%rsp) callq 0x1b150 movq 0x150(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x158(%rsp) movsd 0xc80(%rsp), %xmm0 movsd %xmm0, 0x160(%rsp) leaq 0xc20(%rsp), %rdi callq 0x73c0 movq %rax, 0x168(%rsp) jmp 0x3852a movq 0x168(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9c0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x130(%rsp) leaq 0xc38(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0x138(%rsp) jmp 0x38568 movsd 0x158(%rsp), %xmm1 movsd 0x160(%rsp), %xmm0 movsd 0x130(%rsp), %xmm2 movq 0x138(%rsp), %rax movsd (%rax), %xmm3 movsd 0x9b8(%rsp), %xmm4 divsd %xmm4, %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0x100(%rsp) leaq 0xbd0(%rsp), %rdi movq %rdi, 0x108(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0x100(%rsp), %xmm0 movq 0x108(%rsp), %rdi movsd %xmm0, (%rax) movl $0x2, %esi movq %rsi, 0x110(%rsp) callq 0x1b150 movq 0x110(%rsp), %rsi movsd (%rax), %xmm0 movsd %xmm0, 0x118(%rsp) movsd 0xc80(%rsp), %xmm0 movsd %xmm0, 0x120(%rsp) leaq 0xc20(%rsp), %rdi callq 0x73c0 movq %rax, 0x128(%rsp) jmp 0x38630 movq 0x128(%rsp), %rax movsd (%rax), %xmm0 movsd 0x9c0(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0xf0(%rsp) leaq 0xc38(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0xf8(%rsp) jmp 0x3866e movsd 0x118(%rsp), %xmm1 movsd 0x120(%rsp), %xmm0 movsd 0xf0(%rsp), %xmm2 movq 0xf8(%rsp), %rax movsd (%rax), %xmm3 divsd 0x9b8(%rsp), %xmm3 subsd %xmm3, %xmm2 mulsd %xmm2, %xmm0 addsd %xmm1, %xmm0 movsd %xmm0, 0xe8(%rsp) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0xe8(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0x7d8(%rsp), %rax testb $0x1, 0x130(%rax) je 0x38fb8 movsd 0xcb0(%rsp), %xmm0 movsd %xmm0, 0xe0(%rsp) movsd 0xbf8(%rsp), %xmm0 movsd 0xca8(%rsp), %xmm1 subsd %xmm1, %xmm0 movaps 0x2331a(%rip), %xmm1 # 0x5ba30 pxor %xmm1, %xmm0 movsd 0xca0(%rsp), %xmm1 divsd %xmm1, %xmm0 callq 0x4650 movaps %xmm0, %xmm1 movsd 0xe0(%rsp), %xmm0 mulsd %xmm1, %xmm0 movsd %xmm0, 0x9b0(%rsp) movsd 0xcc8(%rsp), %xmm0 movsd 0x249d2(%rip), %xmm1 # 0x5d128 mulsd %xmm1, %xmm0 movsd 0xcc0(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0x9b0(%rsp), %xmm1 mulsd %xmm1, %xmm0 movsd 0xcb8(%rsp), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x9a8(%rsp) leaq 0xd60(%rsp), %rdi callq 0x3b360 movq %rax, 0x988(%rsp) leaq 0x990(%rsp), %rdi leaq 0x988(%rsp), %rsi callq 0x3b380 jmp 0x387b6 leaq 0xd08(%rsp), %rdi callq 0x3b360 movq %rax, 0x968(%rsp) leaq 0x970(%rsp), %rdi leaq 0x968(%rsp), %rsi callq 0x3b380 jmp 0x387e2 leaq 0x938(%rsp), %rdi leaq 0x990(%rsp), %rsi callq 0x7490 jmp 0x387f9 leaq 0x920(%rsp), %rdi leaq 0x970(%rsp), %rsi callq 0x7490 jmp 0x38810 movsd 0xd88(%rsp), %xmm0 movsd 0xcd0(%rsp), %xmm1 movsd 0xd90(%rsp), %xmm2 movsd 0xd80(%rsp), %xmm3 movsd 0xd78(%rsp), %xmm4 movsd 0x9a8(%rsp), %xmm5 leaq 0x950(%rsp), %rdi leaq 0x938(%rsp), %rsi leaq 0x920(%rsp), %rdx callq 0x14be0 jmp 0x38865 leaq 0x8f0(%rsp), %rdi movl $0x6, %edx movq %rdx, %rsi callq 0x71b0 jmp 0x3887c leaq 0x908(%rsp), %rdi leaq 0x8f0(%rsp), %rsi callq 0x71f0 jmp 0x38893 movl $0x0, 0x8ec(%rsp) cmpl $0x6, 0x8ec(%rsp) jge 0x38c35 movq $0x0, 0x8c8(%rsp) leaq 0x8c7(%rsp), %rdi movq %rdi, 0xd8(%rsp) callq 0x1b080 movq 0xd8(%rsp), %rcx leaq 0x8d0(%rsp), %rdi movl $0x6, %esi leaq 0x8c8(%rsp), %rdx callq 0x1b090 jmp 0x388f1 leaq 0x8c7(%rsp), %rdi callq 0x1b110 movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x6(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movsd (%rax), %xmm0 movsd %xmm0, 0xa0(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x8d0(%rsp), %rdi movq %rdi, 0xd0(%rsp) callq 0x1b150 movsd 0xa0(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x7(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movq 0xd0(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0xa8(%rsp) movl $0x1, %esi callq 0x1b150 movsd 0xa8(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x8(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movq 0xd0(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0xb0(%rsp) movl $0x2, %esi callq 0x1b150 movsd 0xb0(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x9(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movq 0xd0(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0xb8(%rsp) movl $0x3, %esi callq 0x1b150 movsd 0xb8(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0xa(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movq 0xd0(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0xc0(%rsp) movl $0x4, %esi callq 0x1b150 movsd 0xc0(%rsp), %xmm0 movsd %xmm0, (%rax) movq 0xda8(%rsp), %rdi movl 0x8ec(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0xb(%rax,%rax), %eax movslq %eax, %rsi callq 0x3b280 movq 0xd0(%rsp), %rdi movsd (%rax), %xmm0 movsd %xmm0, 0xc8(%rsp) movl $0x5, %esi callq 0x1b150 movsd 0xc8(%rsp), %xmm0 movq 0xd0(%rsp), %rsi movsd %xmm0, (%rax) leaq 0x898(%rsp), %rdi callq 0x3b110 jmp 0x38af0 leaq 0x8b0(%rsp), %rdi leaq 0x898(%rsp), %rsi callq 0x148f0 jmp 0x38b07 leaq 0x898(%rsp), %rdi callq 0x1b170 movslq 0x8ec(%rsp), %rcx xorl %eax, %eax movl %eax, %edx leaq 0x860(%rsp), %rdi leaq 0x908(%rsp), %rsi movl $0x6, %r8d movl $0x1, %r9d callq 0x7290 jmp 0x38b43 leaq 0x860(%rsp), %rdi leaq 0x8b0(%rsp), %rsi callq 0x3b210 jmp 0x38b5a leaq 0x8b0(%rsp), %rdi callq 0x1b250 leaq 0x8d0(%rsp), %rdi callq 0x1b170 movl 0x8ec(%rsp), %eax addl $0x1, %eax movl %eax, 0x8ec(%rsp) jmp 0x3889e movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x38fa6 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0x8c7(%rsp), %rdi callq 0x1b110 jmp 0x38f99 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x38c23 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0x898(%rsp), %rdi callq 0x1b170 jmp 0x38c23 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0x8b0(%rsp), %rdi callq 0x1b250 leaq 0x8d0(%rsp), %rdi callq 0x1b170 jmp 0x38f99 leaq 0x950(%rsp), %rdi leaq 0x908(%rsp), %rsi callq 0x3b3c0 movq %rdx, 0x90(%rsp) movq %rax, 0x98(%rsp) jmp 0x38c5c movq 0x90(%rsp), %rax movq 0x98(%rsp), %rcx movq %rcx, 0x838(%rsp) movq %rax, 0x840(%rsp) leaq 0x848(%rsp), %rdi leaq 0x838(%rsp), %rsi callq 0x3b410 jmp 0x38c93 movl $0x0, 0x834(%rsp) cmpl $0x6, 0x834(%rsp) jge 0x38f63 movslq 0x834(%rsp), %rcx xorl %eax, %eax movl %eax, %edx leaq 0x7e8(%rsp), %rdi leaq 0x848(%rsp), %rsi movl $0x6, %r8d movl $0x1, %r9d callq 0x7290 jmp 0x38cdb leaq 0x820(%rsp), %rdi leaq 0x7e8(%rsp), %rsi callq 0x3b450 jmp 0x38cf2 xorl %eax, %eax movl %eax, %esi leaq 0x820(%rsp), %rdi callq 0x1b120 movq %rax, 0x88(%rsp) jmp 0x38d0d movq 0x88(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x78(%rsp) movq 0xda0(%rsp), %rdi movl 0x834(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x6(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movsd 0x78(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi movl $0x1, %esi callq 0x1b120 movq %rax, 0x80(%rsp) jmp 0x38d67 movq 0x80(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x68(%rsp) movq 0xda0(%rsp), %rdi movl 0x834(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x7(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movsd 0x68(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi movl $0x2, %esi callq 0x1b120 movq %rax, 0x70(%rsp) jmp 0x38dbe movq 0x70(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x58(%rsp) movq 0xda0(%rsp), %rdi movl 0x834(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x8(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movsd 0x58(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi movl $0x3, %esi callq 0x1b120 movq %rax, 0x60(%rsp) jmp 0x38e12 movq 0x60(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x48(%rsp) movq 0xda0(%rsp), %rdi movl 0x834(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0x9(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movsd 0x48(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi movl $0x4, %esi callq 0x1b120 movq %rax, 0x50(%rsp) jmp 0x38e66 movq 0x50(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x38(%rsp) movq 0xda0(%rsp), %rdi movl 0x834(%rsp), %ecx movl %ecx, %eax leal (%rax,%rax,2), %ecx movl %ecx, %eax leal 0xa(%rax,%rax), %eax movslq %eax, %rsi callq 0x1b150 movsd 0x38(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi movl $0x5, %esi callq 0x1b120 movq %rax, 0x40(%rsp) jmp 0x38eba movq 0x40(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x30(%rsp) movq 0xda0(%rsp), %rdi imull $0x6, 0x834(%rsp), %eax addl $0x5, %eax addl $0x6, %eax movslq %eax, %rsi callq 0x1b150 movsd 0x30(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x820(%rsp), %rdi callq 0x1b250 movl 0x834(%rsp), %eax addl $0x1, %eax movl %eax, 0x834(%rsp) jmp 0x38c9e movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x38f99 movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) jmp 0x38f8c movq %rax, %rcx movl %edx, %eax movq %rcx, 0xd28(%rsp) movl %eax, 0xd24(%rsp) leaq 0x820(%rsp), %rdi callq 0x1b250 jmp 0x38f8c leaq 0x848(%rsp), %rdi callq 0x7390 leaq 0x908(%rsp), %rdi callq 0x7390 leaq 0x950(%rsp), %rdi callq 0x7390 jmp 0x38fb8 leaq 0x848(%rsp), %rdi callq 0x7390 leaq 0x908(%rsp), %rdi callq 0x7390 leaq 0x950(%rsp), %rdi callq 0x7390 jmp 0x39132 leaq 0xd08(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, (%rsp) movq 0xda0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd (%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xd08(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x8(%rsp) movq 0xda0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd 0x8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xd08(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x10(%rsp) movq 0xda0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd 0x10(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x18(%rsp) movq 0xda0(%rsp), %rdi movl $0x3, %esi callq 0x1b150 movsd 0x18(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x1, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x20(%rsp) movq 0xda0(%rsp), %rdi movl $0x4, %esi callq 0x1b150 movsd 0x20(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi movl $0x2, %esi callq 0x1b150 movsd (%rax), %xmm0 movsd %xmm0, 0x28(%rsp) movq 0xda0(%rsp), %rdi movl $0x5, %esi callq 0x1b150 movsd 0x28(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0xbd0(%rsp), %rdi callq 0x1b170 leaq 0xd08(%rsp), %rdi callq 0x1b170 leaq 0xd60(%rsp), %rdi callq 0x1b170 addq $0xdb8, %rsp # imm = 0xDB8 retq leaq 0xbd0(%rsp), %rdi callq 0x1b170 leaq 0xd08(%rsp), %rdi callq 0x1b170 leaq 0xd60(%rsp), %rdi callq 0x1b170 movq 0xd28(%rsp), %rdi callq 0x4630 nopw %cs:(%rax,%rax)
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
VehicleState::Propagator::GetRangeAndRate(Eigen::Matrix<double, 3, 1, 0, 3, 1>, double)
Eigen::Vector2d Propagator::GetRangeAndRate(Eigen::Vector3d pos_station_ecef, double tof){ //locals double JD_UTC = this->t_JD_ + this->t_/(24.0*60.0*60.0); //current UTC Julian Date in days double earthrot = this->earthrotationspeed_; Eigen::Vector3d pos_craft = this->pos_; Eigen::Vector3d vel_craft = this->vel_; std::vector<Eigen::Matrix3d> matvec(4, Eigen::Matrix3d::Identity(3,3)); Eigen::Matrix3d R_ecef2eci = Util::ECEF2ECI(JD_UTC, this->gravmodel_->nut80ptr_, this->gravmodel_->iau1980ptr_, &matvec); //matrix rotating from ECEF2ECI //convert station position to ECI Eigen::Vector3d pos_station = R_ecef2eci*pos_station_ecef; //initialize measurement Eigen::Vector2d z; //station ECI velocity // Eigen::Vector3d vel_station; // vel_station[0] = -1.0*earthrot*pos_station[1]; // vel_station[1] = earthrot*pos_station[0]; // vel_station[2] = 0.0; // std::cout << "vel1: \n" << vel_station << "\n"; // Vallado IAU-76/FK5 transformation for velocity //convert station position to PEF Eigen::Vector3d pos_station_pef = matvec[3]*pos_station_ecef; //modify earth rate double LOD = matvec[4](0,0); // earthrot = earthrot*(1.0 - LOD/86400.0); Eigen::Vector3d earthrot_vec{0.0, 0.0, earthrot}; //station PEF velocity Eigen::Vector3d vel_station_pef; vel_station_pef[0] = -1.0*earthrot*pos_station_pef[1]; vel_station_pef[1] = earthrot*pos_station_pef[0]; vel_station_pef[2] = 0.0; // //station PEF acceleration // Eigen::Vector3d accel_station_pef; // accel_station_pef[0] = -1.0*earthrot*earthrot*pos_station_pef[0]; // accel_station_pef[1] = -1.0*earthrot*earthrot*pos_station_pef[1]; // accel_station_pef[2] = 0.0; // std::cout << accel_station_pef << "\n"; //station PEF acceleration with a different method specified by vallado Eigen::Vector3d accel_station_pef = 1.0*earthrot_vec.cross(vel_station_pef); // std::cout << accel_station_pef2 << "\n"; // exit(0); //station ECI velocity Eigen::Vector3d vel_station_eci = Util::OrthoNormMat(matvec[0]*matvec[1]*matvec[2])*vel_station_pef; //stations ECI accel Eigen::Vector3d accel_station_eci = Util::OrthoNormMat(matvec[0]*matvec[1]*matvec[2])*accel_station_pef; // std::cout << "vel2: \n" << R_ecef2eci*vel_station_ecef << "\n"; // exit(0); //relative position and velocity Eigen::Vector3d rel_pos = pos_craft - pos_station + tof*vel_station_eci; Eigen::Vector3d rel_vel = vel_craft - vel_station_eci + tof*accel_station_eci; // std::cout << "Aberation position correction: " << (tof*vel_station_eci).norm() << "\n"; // exit(0); //range z[0] = rel_pos.norm(); //range rate z[1] = rel_pos.dot(rel_vel)/z[0]; return z; }
subq $0x668, %rsp # imm = 0x668 movq %rdx, 0x108(%rsp) movq %rdi, 0x110(%rsp) movq %rdi, %rax movq %rax, 0x118(%rsp) movq %rdi, 0x660(%rsp) movq %rsi, 0x658(%rsp) movq %rdx, 0x650(%rsp) movsd %xmm0, 0x648(%rsp) movq 0x658(%rsp), %rsi movq %rsi, 0x120(%rsp) movsd 0x108(%rsi), %xmm1 movsd 0x110(%rsi), %xmm0 movsd 0x21ec5(%rip), %xmm2 # 0x5b0a0 divsd %xmm2, %xmm1 addsd %xmm1, %xmm0 movsd %xmm0, 0x640(%rsp) movsd 0xc8(%rsi), %xmm0 movsd %xmm0, 0x638(%rsp) addq $0x8, %rsi leaq 0x620(%rsp), %rdi callq 0x7490 movq 0x120(%rsp), %rsi addq $0x20, %rsi leaq 0x608(%rsp), %rdi callq 0x7490 leaq 0x5a5(%rsp), %rdi movq %rdi, 0x128(%rsp) movl $0x3, %edx movq %rdx, %rsi callq 0x66f0 movq 0x128(%rsp), %rsi leaq 0x5a8(%rsp), %rdi movq %rdi, 0x130(%rsp) callq 0x6760 leaq 0x5a4(%rsp), %rdi movq %rdi, 0x138(%rsp) callq 0x67a0 movq 0x130(%rsp), %rdx movq 0x138(%rsp), %rcx leaq 0x5f0(%rsp), %rdi movl $0x4, %esi callq 0x67b0 jmp 0x3929a leaq 0x5a4(%rsp), %rdi callq 0x6830 movq 0x120(%rsp), %rax movsd 0x640(%rsp), %xmm0 movq 0x100(%rax), %rax movq 0x70(%rax), %rsi movq 0x78(%rax), %rdx leaq 0x548(%rsp), %rdi leaq 0x5f0(%rsp), %rcx callq 0x16960 jmp 0x392de movq 0x108(%rsp), %rsi leaq 0x548(%rsp), %rdi callq 0x6840 movq %rdx, 0xf8(%rsp) movq %rax, 0x100(%rsp) jmp 0x39305 movq 0xf8(%rsp), %rax movq 0x100(%rsp), %rcx movq %rcx, 0x520(%rsp) movq %rax, 0x528(%rsp) leaq 0x530(%rsp), %rdi leaq 0x520(%rsp), %rsi callq 0x6890 jmp 0x3933c movq 0x110(%rsp), %rdi callq 0x1c210 jmp 0x3934b leaq 0x5f0(%rsp), %rdi movl $0x3, %esi callq 0x1b5d0 movq 0x108(%rsp), %rsi movq %rax, %rdi callq 0x6840 movq %rdx, 0xe8(%rsp) movq %rax, 0xf0(%rsp) jmp 0x3937f movq 0xe8(%rsp), %rax movq 0xf0(%rsp), %rcx movq %rcx, 0x4f8(%rsp) movq %rax, 0x500(%rsp) leaq 0x508(%rsp), %rdi leaq 0x4f8(%rsp), %rsi callq 0x6890 jmp 0x393b6 leaq 0x5f0(%rsp), %rdi movl $0x4, %esi callq 0x1b5d0 movq %rax, %rdi xorl %eax, %eax movl %eax, %edx movq %rdx, %rsi callq 0x1af90 movq %rax, 0xe0(%rsp) jmp 0x393e1 movq 0xe0(%rsp), %rax movsd (%rax), %xmm0 movsd %xmm0, 0x4f0(%rsp) movq $0x0, 0x4d0(%rsp) movq $0x0, 0x4c8(%rsp) leaq 0x4d8(%rsp), %rdi leaq 0x4d0(%rsp), %rsi leaq 0x4c8(%rsp), %rdx leaq 0x638(%rsp), %rcx callq 0x6590 jmp 0x39435 leaq 0x4b0(%rsp), %rdi callq 0x73a0 jmp 0x39444 movaps 0x225e5(%rip), %xmm1 # 0x5ba30 movsd 0x638(%rsp), %xmm0 pxor %xmm1, %xmm0 movsd %xmm0, 0xd0(%rsp) leaq 0x508(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0xd8(%rsp) jmp 0x3947d movsd 0xd0(%rsp), %xmm0 movq 0xd8(%rsp), %rax movsd (%rax), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0xc0(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x4b0(%rsp), %rdi callq 0x73c0 movq %rax, 0xc8(%rsp) jmp 0x394ba movq 0xc8(%rsp), %rax movsd 0xc0(%rsp), %xmm0 movsd %xmm0, (%rax) movsd 0x638(%rsp), %xmm0 movsd %xmm0, 0xb0(%rsp) xorl %eax, %eax movl %eax, %esi leaq 0x508(%rsp), %rdi callq 0x73c0 movq %rax, 0xb8(%rsp) jmp 0x394fc movsd 0xb0(%rsp), %xmm0 movq 0xb8(%rsp), %rax movsd (%rax), %xmm1 mulsd %xmm1, %xmm0 movsd %xmm0, 0xa0(%rsp) leaq 0x4b0(%rsp), %rdi movl $0x1, %esi callq 0x73c0 movq %rax, 0xa8(%rsp) jmp 0x3953a movq 0xa8(%rsp), %rax movsd 0xa0(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x4b0(%rsp), %rdi movl $0x2, %esi callq 0x73c0 movq %rax, 0x98(%rsp) jmp 0x3956b movq 0x98(%rsp), %rax movq $0x0, (%rax) movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000 movq %rax, 0x468(%rsp) leaq 0x450(%rsp), %rdi leaq 0x4d8(%rsp), %rsi leaq 0x4b0(%rsp), %rdx callq 0x1ba00 jmp 0x395ab leaq 0x470(%rsp), %rdi leaq 0x468(%rsp), %rsi leaq 0x450(%rsp), %rdx callq 0x7910 jmp 0x395ca leaq 0x498(%rsp), %rdi leaq 0x470(%rsp), %rsi callq 0x1bfd0 jmp 0x395e1 xorl %eax, %eax movl %eax, %esi leaq 0x5f0(%rsp), %rdi movq %rdi, 0x78(%rsp) callq 0x1b5d0 movq 0x78(%rsp), %rdi movq %rax, 0x80(%rsp) movl $0x1, %esi callq 0x1b5d0 movq 0x80(%rsp), %rdi movq %rax, %rsi callq 0x1afc0 movq %rdx, 0x88(%rsp) movq %rax, 0x90(%rsp) jmp 0x39630 movq 0x88(%rsp), %rax movq 0x90(%rsp), %rcx movq %rcx, 0x370(%rsp) movq %rax, 0x378(%rsp) leaq 0x5f0(%rsp), %rdi movl $0x2, %esi callq 0x1b5d0 movq %rax, %rdx leaq 0x380(%rsp), %rdi leaq 0x370(%rsp), %rsi callq 0x1b710 jmp 0x3967c leaq 0x398(%rsp), %rdi leaq 0x380(%rsp), %rsi callq 0x3b490 jmp 0x39693 leaq 0x3e0(%rsp), %rdi leaq 0x398(%rsp), %rsi callq 0x14430 jmp 0x396aa leaq 0x3e0(%rsp), %rdi leaq 0x4b0(%rsp), %rsi callq 0x6840 movq %rdx, 0x68(%rsp) movq %rax, 0x70(%rsp) jmp 0x396cb movq 0x68(%rsp), %rax movq 0x70(%rsp), %rcx movq %rcx, 0x428(%rsp) movq %rax, 0x430(%rsp) leaq 0x438(%rsp), %rdi leaq 0x428(%rsp), %rsi callq 0x6890 jmp 0x396fc xorl %eax, %eax movl %eax, %esi leaq 0x5f0(%rsp), %rdi movq %rdi, 0x48(%rsp) callq 0x1b5d0 movq 0x48(%rsp), %rdi movq %rax, 0x50(%rsp) movl $0x1, %esi callq 0x1b5d0 movq 0x50(%rsp), %rdi movq %rax, %rsi callq 0x1afc0 movq %rdx, 0x58(%rsp) movq %rax, 0x60(%rsp) jmp 0x3973f movq 0x58(%rsp), %rax movq 0x60(%rsp), %rcx movq %rcx, 0x290(%rsp) movq %rax, 0x298(%rsp) leaq 0x5f0(%rsp), %rdi movl $0x2, %esi callq 0x1b5d0 movq %rax, %rdx leaq 0x2a0(%rsp), %rdi leaq 0x290(%rsp), %rsi callq 0x1b710 jmp 0x39785 leaq 0x2b8(%rsp), %rdi leaq 0x2a0(%rsp), %rsi callq 0x3b490 jmp 0x3979c leaq 0x300(%rsp), %rdi leaq 0x2b8(%rsp), %rsi callq 0x14430 jmp 0x397b3 leaq 0x300(%rsp), %rdi leaq 0x498(%rsp), %rsi callq 0x6840 movq %rdx, 0x38(%rsp) movq %rax, 0x40(%rsp) jmp 0x397d4 movq 0x38(%rsp), %rax movq 0x40(%rsp), %rcx movq %rcx, 0x348(%rsp) movq %rax, 0x350(%rsp) leaq 0x358(%rsp), %rdi leaq 0x348(%rsp), %rsi callq 0x6890 jmp 0x39805 leaq 0x210(%rsp), %rdi leaq 0x620(%rsp), %rsi leaq 0x530(%rsp), %rdx callq 0x6d70 jmp 0x39824 leaq 0x1e8(%rsp), %rdi leaq 0x648(%rsp), %rsi leaq 0x438(%rsp), %rdx callq 0x7910 jmp 0x39843 leaq 0x228(%rsp), %rdi leaq 0x210(%rsp), %rsi leaq 0x1e8(%rsp), %rdx callq 0x3b4d0 jmp 0x39862 leaq 0x278(%rsp), %rdi leaq 0x228(%rsp), %rsi callq 0x3b540 jmp 0x39879 leaq 0x168(%rsp), %rdi leaq 0x608(%rsp), %rsi leaq 0x438(%rsp), %rdx callq 0x6d70 jmp 0x39898 leaq 0x140(%rsp), %rdi leaq 0x648(%rsp), %rsi leaq 0x358(%rsp), %rdx callq 0x7910 jmp 0x398b7 leaq 0x180(%rsp), %rdi leaq 0x168(%rsp), %rsi leaq 0x140(%rsp), %rdx callq 0x3b4d0 jmp 0x398d6 leaq 0x1d0(%rsp), %rdi leaq 0x180(%rsp), %rsi callq 0x3b540 jmp 0x398ed leaq 0x278(%rsp), %rdi callq 0x1bd60 movsd %xmm0, 0x30(%rsp) jmp 0x39902 movq 0x110(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x3b580 movq %rax, 0x28(%rsp) jmp 0x3991a movq 0x28(%rsp), %rax movsd 0x30(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x278(%rsp), %rdi leaq 0x1d0(%rsp), %rsi callq 0x1b920 movsd %xmm0, 0x20(%rsp) jmp 0x39946 movq 0x110(%rsp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x3b580 movq %rax, 0x18(%rsp) jmp 0x3995e movq 0x110(%rsp), %rdi movsd 0x20(%rsp), %xmm0 movq 0x18(%rsp), %rax movsd (%rax), %xmm1 divsd %xmm1, %xmm0 movsd %xmm0, 0x8(%rsp) movl $0x1, %esi callq 0x3b580 movq %rax, 0x10(%rsp) jmp 0x39990 movq 0x10(%rsp), %rax movsd 0x8(%rsp), %xmm0 movsd %xmm0, (%rax) leaq 0x5f0(%rsp), %rdi callq 0x7ed0 movq 0x118(%rsp), %rax addq $0x668, %rsp # imm = 0x668 retq movq %rax, %rcx movl %edx, %eax movq %rcx, 0x598(%rsp) movl %eax, 0x594(%rsp) leaq 0x5a4(%rsp), %rdi callq 0x6830 jmp 0x39a00 movq %rax, %rcx movl %edx, %eax movq %rcx, 0x598(%rsp) movl %eax, 0x594(%rsp) leaq 0x5f0(%rsp), %rdi callq 0x7ed0 movq 0x598(%rsp), %rdi callq 0x4630 nopl (%rax)
/coreymarcus[P]OrbitalDetermination/src/project/VehicleState.cc
ApprovalFileLog::initialize()
void ApprovalFileLog::initialize() { static bool isInitialized{false}; if (isInitialized) { return; } isInitialized = true; ApprovalTests::FileUtils::writeToFile(getLogFilePath(), ""); }
pushq %r14 pushq %rbx subq $0x48, %rsp cmpb $0x0, 0x36812(%rip) # 0x43bc8 jne 0xd417 movb $0x1, 0x36809(%rip) # 0x43bc8 leaq 0x28(%rsp), %rdi callq 0xd452 leaq 0x18(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0x2116c(%rip), %rdx # 0x2e545 leaq 0x8(%rsp), %rdi movq %rdx, %rsi callq 0xb8b0 leaq 0x28(%rsp), %rdi leaq 0x8(%rsp), %rsi callq 0x244e0 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0xd404 callq 0x9310 leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xd417 callq 0x9310 addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0xd436 callq 0x9310 jmp 0xd436 movq %rax, %rbx leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xd449 callq 0x9310 movq %rbx, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/logs/ApprovalFileLog.cpp
ApprovalTests::TestName::checkBuildConfiguration(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void TestName::checkBuildConfiguration(const std::string& fileName) { if (checkBuildConfig_ && !FileUtils::fileExists(fileName)) { throw std::runtime_error(getMisconfiguredBuildHelp(fileName)); } }
pushq %rbp pushq %r14 pushq %rbx subq $0x20, %rsp cmpb $0x1, 0x35cc3(%rip) # 0x433b0 jne 0xd6fb movq %rdi, %r14 callq 0x240e8 testb %al, %al je 0xd704 addq $0x20, %rsp popq %rbx popq %r14 popq %rbp retq movl $0x10, %edi callq 0x9190 movq %rax, %rbx movq %rsp, %rdi movq %r14, %rsi callq 0xdd34 movb $0x1, %bpl movq %rsp, %rsi movq %rbx, %rdi callq 0x9580 xorl %ebp, %ebp movq 0x358bd(%rip), %rsi # 0x42ff0 movq 0x3584e(%rip), %rdx # 0x42f88 movq %rbx, %rdi callq 0x95e0 movq %rax, %r14 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xd758 callq 0x9310 testb %bpl, %bpl jne 0xd762 jmp 0xd76a movq %rax, %r14 movq %rbx, %rdi callq 0x9260 movq %r14, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/namers/ApprovalTestNamer.cpp
ApprovalTests::TestName::setFileName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void TestName::setFileName(const std::string& file) { originalFileName = file; fileName = file.empty() ? handleBoostQuirks() : findFileName(file); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx addq $0x38, %rdi callq 0x91c0 cmpq $0x0, 0x8(%r14) leaq 0x10(%rsp), %r15 je 0xd7c7 movq %rsp, %rdi movq %r14, %rdx callq 0xd822 jmp 0xd7d9 movq %r15, (%rsp) movq $0x0, 0x8(%rsp) movb $0x0, 0x10(%rsp) addq $0x18, %rbx movq %rsp, %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x9450 movq (%r14), %rdi cmpq %r15, %rdi je 0xd7f8 callq 0x9310 addq $0x20, %rsp popq %rbx popq %r14 popq %r15 retq
/approvals[P]ApprovalTests/ApprovalTests/namers/ApprovalTestNamer.cpp
ApprovalTests::TestName::checkParentDirectoriesForFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string TestName::checkParentDirectoriesForFile(const std::string& file) { auto newFileName = directoryPrefix + file; if (!FileUtils::fileExists(newFileName)) { // If the build system is Ninja, try looking several levels higher... std::string backOne = ".." + SystemUtils::getDirectorySeparator(); std::string prefix; for (int i = 0; i != 10; i++) { prefix += backOne; auto candidateName = prefix + file; if (FileUtils::fileExists(candidateName)) { directoryPrefix = prefix; return candidateName; } } } return newFileName; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x36339(%rip), %rsi # 0x43bd8 leaq 0x48(%rsp), %r15 movq %r15, %rdi movq %r14, %rdx callq 0xeba0 movq %r15, %rdi callq 0x240e8 testb %al, %al jne 0xd9bc leaq 0x28(%rsp), %rdi callq 0x24ca4 leaq 0x1e928(%rip), %rcx # 0x2c1f8 leaq 0x28(%rsp), %rdi movl $0x2, %r8d xorl %esi, %esi xorl %edx, %edx callq 0x93b0 leaq 0x18(%rsp), %rsi movq %rsi, -0x10(%rsi) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0xd90b movq %rdx, 0x8(%rsp) movq (%rcx), %rdx movq %rdx, 0x18(%rsp) jmp 0xd911 movups (%rcx), %xmm0 movups %xmm0, (%rsi) movq 0x8(%rax), %rdx movq %rdx, 0x10(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x38(%rsp), %r13 movq -0x10(%r13), %rdi cmpq %r13, %rdi je 0xd93c callq 0x9310 leaq 0x28(%rsp), %r15 movq %r13, (%r15) movq $0x0, 0x8(%r15) movb $0x0, 0x10(%r15) leaq 0x10(%rbx), %rbp movl $0xa, %r12d movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx movq %r15, %rdi callq 0x90e0 movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx callq 0xeba0 movq %rbx, %rdi callq 0x240e8 testb %al, %al jne 0xda00 movq (%rbx), %rdi cmpq %rbp, %rdi je 0xd994 callq 0x9310 decl %r12d jne 0xd95b movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0xd9a8 callq 0x9310 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0xd9bc callq 0x9310 leaq 0x10(%rbx), %rax movq %rax, (%rbx) leaq 0x58(%rsp), %rcx movq -0x10(%rcx), %rdx cmpq %rcx, %rdx je 0xd9df movq %rdx, (%rbx) movq 0x58(%rsp), %rax movq %rax, 0x10(%rbx) jmp 0xd9e5 movups (%rcx), %xmm0 movups %xmm0, (%rax) movq 0x50(%rsp), %rax movq %rax, 0x8(%rbx) movq %rbx, %rax addq $0x68, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq leaq 0x361d1(%rip), %rdi # 0x43bd8 leaq 0x28(%rsp), %rsi callq 0x91c0 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0xda20 callq 0x9310 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0xda34 callq 0x9310 leaq 0x58(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xd9ee callq 0x9310 jmp 0xd9ee jmp 0xda60 movq %rax, %r14 leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi jmp 0xda8e jmp 0xda5b movq %rax, %r14 jmp 0xda98 movq %rax, %r14 movq (%rbx), %rdi cmpq %rbp, %rdi je 0xda75 callq 0x9310 jmp 0xda75 movq %rax, %r14 movq 0x28(%rsp), %rdi cmpq %r13, %rdi je 0xda84 callq 0x9310 movq 0x8(%rsp), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0xda98 callq 0x9310 leaq 0x58(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xdaab callq 0x9310 movq %r14, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/namers/ApprovalTestNamer.cpp
ApprovalTests::ApprovalTestNamer::getRelativeTestSourceDirectory[abi:cxx11]() const
std::string ApprovalTestNamer::getRelativeTestSourceDirectory() const { // We are using the original directory - as obtained from __FILE__, // as this seems to be consistent for relative paths, regardless of // Ninja __FILE__ quirks auto originalDir = FileUtils::getDirectory(getCurrentTest().getOriginalFileName()); originalDir = StringUtils::replaceAll(originalDir, TestName::getRootDirectory(), ""); return originalDir; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rdi, %rbx callq 0xe048 leaq 0x10(%rsp), %r12 movq %r12, -0x10(%r12) movq 0x38(%rax), %rsi movq 0x40(%rax), %rdx addq %rsi, %rdx movq %rsp, %r14 movq %r14, %rdi callq 0xaf60 movq %rbx, %rdi movq %r14, %rsi callq 0x24274 movq (%rsp), %rdi cmpq %r12, %rdi je 0xe4df callq 0x9310 leaq 0x50(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rbx), %rsi movq 0x8(%rbx), %rdx addq %rsi, %rdx leaq 0x40(%rsp), %rdi callq 0xaf60 leaq 0x60(%rsp), %rdi callq 0xdc7e leaq 0x30(%rsp), %r13 movq %r13, -0x10(%r13) leaq 0x2002f(%rip), %rdx # 0x2e545 leaq 0x20(%rsp), %rdi movq %rdx, %rsi callq 0xb8b0 movq %rsp, %rdi leaq 0x40(%rsp), %rsi leaq 0x60(%rsp), %rdx leaq 0x20(%rsp), %rcx callq 0x246d0 movq %rsp, %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x9450 movq (%r14), %rdi cmpq %r12, %rdi je 0xe555 callq 0x9310 movq 0x20(%rsp), %rdi cmpq %r13, %rdi je 0xe564 callq 0x9310 leaq 0x70(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xe577 callq 0x9310 movq 0x40(%rsp), %rdi cmpq %r15, %rdi je 0xe586 callq 0x9310 movq %rbx, %rax addq $0x80, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq movq %rax, %r14 movq 0x20(%rsp), %rdi cmpq %r13, %rdi je 0xe5b1 callq 0x9310 jmp 0xe5b1 movq %rax, %r14 leaq 0x70(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xe5c9 callq 0x9310 jmp 0xe5c9 movq %rax, %r14 movq 0x40(%rsp), %rdi cmpq %r15, %rdi je 0xe5dd callq 0x9310 jmp 0xe5dd movq %rax, %r14 movq (%rbx), %rdi addq $0x10, %rbx cmpq %rbx, %rdi je 0xe5ee callq 0x9310 movq %r14, %rdi callq 0x9610 movq %rax, %r14 movq (%rsp), %rdi cmpq %r12, %rdi jne 0xe5e9 jmp 0xe5ee
/approvals[P]ApprovalTests/ApprovalTests/namers/ApprovalTestNamer.cpp
ApprovalTests::ApprovalTestNamer::getOutputFileBaseName[abi:cxx11]() const
std::string ApprovalTestNamer::getOutputFileBaseName() const { return getSourceFileName() + "." + getTestName(); }
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx leaq 0x48(%rsp), %r14 movq %r14, %rdi callq 0xe302 leaq 0x1d7e9(%rip), %rsi # 0x2c1f9 movq %r14, %rdi callq 0x9690 leaq 0x18(%rsp), %r14 movq %r14, -0x10(%r14) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0xea3f movq %rdx, 0x8(%rsp) movq (%rcx), %rdx movq %rdx, 0x18(%rsp) jmp 0xea46 movups (%rcx), %xmm0 movups %xmm0, (%r14) movq 0x8(%rax), %rdx movq %rdx, 0x10(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) leaq 0x28(%rsp), %rdi callq 0xde58 movq 0x8(%rsp), %rcx movq 0x10(%rsp), %r8 movq 0x30(%rsp), %rdx leaq (%rdx,%r8), %rax movl $0xf, %edi cmpq %r14, %rcx je 0xea8a movq 0x18(%rsp), %rdi movq 0x28(%rsp), %rsi cmpq %rdi, %rax jbe 0xeaad leaq 0x38(%rsp), %r9 movl $0xf, %edi cmpq %r9, %rsi je 0xeaa8 movq 0x38(%rsp), %rdi cmpq %rdi, %rax jbe 0xeab9 leaq 0x8(%rsp), %rdi callq 0x90e0 jmp 0xeac7 leaq 0x28(%rsp), %rdi xorl %esi, %esi xorl %edx, %edx callq 0x93b0 leaq 0x10(%rbx), %rdx movq %rdx, (%rbx) movq (%rax), %rsi leaq 0x10(%rax), %rcx cmpq %rcx, %rsi je 0xeae6 movq %rsi, (%rbx) movq (%rcx), %rdx movq %rdx, 0x10(%rbx) jmp 0xeaec movups (%rcx), %xmm0 movups %xmm0, (%rdx) movq %rax, %rdx addq $0x8, %rdx movq 0x8(%rax), %rsi movq %rsi, 0x8(%rbx) movq %rcx, (%rax) movq $0x0, (%rdx) movb $0x0, (%rcx) leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xeb1b callq 0x9310 movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0xeb2a callq 0x9310 leaq 0x58(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xeb3d callq 0x9310 movq %rbx, %rax addq $0x68, %rsp popq %rbx popq %r14 retq movq %rax, %rbx leaq 0x38(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xeb63 callq 0x9310 jmp 0xeb63 movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r14, %rdi je 0xeb77 callq 0x9310 jmp 0xeb77 movq %rax, %rbx leaq 0x58(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xeb8a callq 0x9310 movq %rbx, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/namers/ApprovalTestNamer.cpp
ApprovalTests::FileNameSanitizerFactory::defaultSanitizer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string FileNameSanitizerFactory::defaultSanitizer(std::string fileName) { std::stringstream result; for (auto ch : fileName) { if (!isForbidden(ch)) { result << ch; } else { result << "_"; } } return result.str(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rsi, %r14 movq %rdi, 0x8(%rsp) leaq 0x10(%rsp), %rdi callq 0x9240 movq 0x8(%r14), %r13 testq %r13, %r13 je 0xf07a movq (%r14), %rbp leaq 0x20(%rsp), %r14 xorl %ebx, %ebx leaq 0x7(%rsp), %r12 movb (%rbp,%rbx), %r15b movsbl %r15b, %edi callq 0xef5c testb %al, %al je 0xf05d movl $0x1, %edx movq %r14, %rdi leaq 0x203cf(%rip), %rsi # 0x2f425 callq 0x93d0 jmp 0xf072 movb %r15b, 0x7(%rsp) movl $0x1, %edx movq %r14, %rdi movq %r12, %rsi callq 0x93d0 incq %rbx cmpq %rbx, %r13 jne 0xf035 leaq 0x28(%rsp), %rsi movq 0x8(%rsp), %rbx movq %rbx, %rdi callq 0x9570 movq 0x33ebd(%rip), %rsi # 0x42f50 leaq 0x10(%rsp), %rdi callq 0x9280 leaq 0x90(%rsp), %rdi callq 0x9100 movq %rbx, %rax addq $0x198, %rsp # imm = 0x198 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0xf0c1 movq %rax, %rbx movq 0x33e85(%rip), %rsi # 0x42f50 leaq 0x10(%rsp), %rdi callq 0x9280 leaq 0x90(%rsp), %rdi callq 0x9100 movq %rbx, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/namers/FileNameSanitizerFactory.cpp
ApprovalTests::FrontLoadedReporterFactory::frontLoadedReporter()
std::shared_ptr<Reporter>& FrontLoadedReporterFactory::frontLoadedReporter() { static std::shared_ptr<Reporter> reporter = std::make_shared<DefaultFrontLoadedReporter>(); return reporter; }
pushq %rbx subq $0x20, %rsp movb 0x330a9(%rip), %al # 0x43cf0 testb %al, %al je 0x10c58 leaq 0x3308e(%rip), %rax # 0x43ce0 addq $0x20, %rsp popq %rbx retq leaq 0x33091(%rip), %rdi # 0x43cf0 callq 0x9630 testl %eax, %eax je 0x10c4b leaq 0x18(%rsp), %rdi movq $0x0, -0x8(%rdi) leaq 0x10(%rsp), %rsi leaq 0xf(%rsp), %rdx callq 0x10d36 movaps 0x10(%rsp), %xmm0 movaps %xmm0, 0x33050(%rip) # 0x43ce0 leaq 0x33049(%rip), %rsi # 0x43ce0 leaq -0xee4(%rip), %rdi # 0xfdba leaq 0x326d3(%rip), %rdx # 0x43378 callq 0x92e0 leaq 0x3303f(%rip), %rdi # 0x43cf0 callq 0x9200 jmp 0x10c4b movq %rax, %rbx leaq 0x3302e(%rip), %rdi # 0x43cf0 callq 0x91f0 movq %rbx, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/reporters/FrontLoadedReporterFactory.cpp
ApprovalTests::Linux::SublimeMergeSnapReporter::SublimeMergeSnapReporter()
SublimeMergeSnapReporter::SublimeMergeSnapReporter() : GenericDiffReporter(DiffPrograms::Linux::SUBLIME_MERGE_SNAP()) { launcher.setForeground(true); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi callq 0x28d5e movq %rbx, %rdi movq %r14, %rsi callq 0x2990a leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x10e2b callq 0x9310 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x10e3e callq 0x9310 leaq 0x30a6b(%rip), %rax # 0x418b0 movq %rax, (%rbx) leaq 0x60(%rbx), %rdi movl $0x1, %esi callq 0x25d94 addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %r14 movq %rbx, %rdi callq 0x11542 jmp 0x10e76 movq %rax, %r14 movq %rsp, %rdi callq 0x11320 movq %r14, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/reporters/LinuxReporters.cpp
ApprovalTests::Linux::SublimeMergeRepositoryPackageReporter::SublimeMergeRepositoryPackageReporter()
SublimeMergeRepositoryPackageReporter::SublimeMergeRepositoryPackageReporter() : GenericDiffReporter(DiffPrograms::Linux::SUBLIME_MERGE_REPOSITORY_PACKAGE()) { launcher.setForeground(true); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi callq 0x28ec8 movq %rbx, %rdi movq %r14, %rsi callq 0x2990a leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x10f37 callq 0x9310 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x10f4a callq 0x9310 leaq 0x309af(%rip), %rax # 0x41900 movq %rax, (%rbx) leaq 0x60(%rbx), %rdi movl $0x1, %esi callq 0x25d94 addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %r14 movq %rbx, %rdi callq 0x11542 jmp 0x10f82 movq %rax, %r14 movq %rsp, %rdi callq 0x11320 movq %r14, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/reporters/LinuxReporters.cpp
ApprovalTests::Linux::SublimeMergeReporter::SublimeMergeReporter()
SublimeMergeReporter::SublimeMergeReporter() : FirstWorkingReporter({new SublimeMergeSnapReporter(), new SublimeMergeFlatpakReporter(), new SublimeMergeRepositoryPackageReporter(), new SublimeMergeDirectDownloadReporter()}) { }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x10df8 movq %r14, 0x28(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x10e7e movq %r14, 0x30(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x10f04 movq %r14, 0x38(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x10f8a leaq 0x28(%rsp), %rsi movq %r14, 0x18(%rsi) leaq 0x10(%rsp), %rdi leaq 0xf(%rsp), %rcx movl $0x4, %edx callq 0xfffa leaq 0x10(%rsp), %rsi movq %rbx, %rdi callq 0x105c4 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0x110b6 callq 0x9310 leaq 0x30893(%rip), %rax # 0x41950 movq %rax, (%rbx) addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %rbx movq 0x10(%rsp), %rdi testq %rdi, %rdi jne 0x110e8 jmp 0x110ed movq %rax, %rbx jmp 0x110ed jmp 0x110e2 jmp 0x110e2 jmp 0x110e2 movq %rax, %rbx movq %r14, %rdi callq 0x9310 movq %rbx, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/reporters/LinuxReporters.cpp
ApprovalTests::Linux::MeldReporter::MeldReporter()
MeldReporter::MeldReporter() : GenericDiffReporter(DiffPrograms::Linux::MELD()) { }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi callq 0x290e7 movq %rbx, %rdi movq %r14, %rsi callq 0x2990a leaq 0x30(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x11195 callq 0x9310 leaq 0x10(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x111a8 callq 0x9310 leaq 0x307f1(%rip), %rax # 0x419a0 movq %rax, (%rbx) addq $0x48, %rsp popq %rbx popq %r14 retq movq %rax, %rbx movq %rsp, %rdi callq 0x11320 movq %rbx, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/reporters/LinuxReporters.cpp
ApprovalTests::Windows::WindowsDiffReporter::WindowsDiffReporter()
WindowsDiffReporter::WindowsDiffReporter() : FirstWorkingReporter({ // begin-snippet: windows_diff_reporters new TortoiseDiffReporter(), // Note that this uses Tortoise SVN Diff new TortoiseGitDiffReporter(), new BeyondCompareReporter(), new WinMergeReporter(), new AraxisMergeReporter(), new CodeCompareReporter(), new SublimeMergeReporter(), new KDiff3Reporter(), new VisualStudioCodeReporter(), // end-snippet }) { }
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx movl $0x20, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x156ee movq %r14, 0x20(%rsp) movl $0x20, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15874 movq %r14, 0x28(%rsp) movl $0x20, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15568 movq %r14, 0x30(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15922 movq %r14, 0x38(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x1598e movq %r14, 0x40(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x159fa movq %r14, 0x48(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15a66 movq %r14, 0x50(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15aec movq %r14, 0x58(%rsp) movl $0x70, %edi callq 0x9330 movq %rax, %r14 movq %rax, %rdi callq 0x15424 leaq 0x20(%rsp), %rsi movq %r14, 0x40(%rsi) leaq 0x8(%rsp), %rdi leaq 0x7(%rsp), %rcx movl $0x9, %edx callq 0xfffa leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x105c4 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x15c80 callq 0x9310 leaq 0x2c649(%rip), %rax # 0x422d0 movq %rax, (%rbx) addq $0x68, %rsp popq %rbx popq %r14 retq movq %rax, %rbx movq 0x8(%rsp), %rdi testq %rdi, %rdi jne 0x15cbc jmp 0x15cc1 movq %rax, %rbx jmp 0x15cc1 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 jmp 0x15cb6 movq %rax, %rbx movq %r14, %rdi callq 0x9310 movq %rbx, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/reporters/WindowsReporters.cpp
ApprovalTests::Windows::WindowsDiffReporter::report(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
bool WindowsDiffReporter::report(std::string received, std::string approved) const { if (!SystemUtils::isWindowsOs()) { return false; } return FirstWorkingReporter::report(received, approved); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq 0x24c98 testb %al, %al je 0x15d56 leaq 0x38(%rsp), %r12 movq %r12, -0x10(%r12) movq (%r15), %rsi movq 0x8(%r15), %rdx addq %rsi, %rdx leaq 0x28(%rsp), %rdi callq 0xaf60 leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) movq (%r14), %rsi movq 0x8(%r14), %rdx addq %rsi, %rdx leaq 0x8(%rsp), %rdi callq 0xaf60 leaq 0x28(%rsp), %rsi leaq 0x8(%rsp), %rdx movq %rbx, %rdi callq 0x106b2 movl %eax, %ebx movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x15d45 callq 0x9310 movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x15d58 callq 0x9310 jmp 0x15d58 xorl %ebx, %ebx movl %ebx, %eax addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rax, %rbx movq 0x8(%rsp), %rdi cmpq %r15, %rdi je 0x15d7d callq 0x9310 jmp 0x15d7d movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %r12, %rdi je 0x15d8c callq 0x9310 movq %rbx, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/reporters/WindowsReporters.cpp
ApprovalTests::Scrubbers::doNothing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string doNothing(const std::string& input) { return input; }
pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0xaf60 movq %rbx, %rax popq %rbx retq
/approvals[P]ApprovalTests/ApprovalTests/scrubbers/Scrubbers.cpp
ApprovalTests::Scrubbers::scrubRegex(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>> const&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> (std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)> const&)
std::string scrubRegex(const std::string& input, const std::regex& regex, const RegexReplacer& replaceFunction) { std::string result; std::string remainder = input; std::smatch m; while (std::regex_search(remainder, m, regex)) { auto match = m[0]; auto original_matched_text = match.str(); auto replacement = replaceFunction(match); result += std::string(m.prefix()) + replacement; remainder = m.suffix(); } result += remainder; return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rcx, %r14 movq %rdx, %r15 leaq 0x10(%rdi), %rax movq %rax, (%rsp) movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movq %rdi, 0x8(%rsp) movb $0x0, 0x10(%rdi) leaq 0x20(%rsp), %rax movq %rax, -0x10(%rax) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx leaq 0x10(%rsp), %rdi movq %rax, %rsi callq 0xaf60 xorps %xmm0, %xmm0 leaq 0x90(%rsp), %rax movaps %xmm0, 0x10(%rax) movaps %xmm0, (%rax) leaq 0x40(%rsp), %r12 movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB leaq 0x30(%rsp), %rbx movq 0x10(%rsp), %rdi movq 0x18(%rsp), %rsi addq %rdi, %rsi leaq 0x90(%rsp), %rdx movq %r15, %rcx xorl %r8d, %r8d callq 0x16fdf testb %al, %al je 0x164fd movq 0x90(%rsp), %rax movq 0x98(%rsp), %rcx movq %rcx, %rdx subq %rax, %rdx leaq -0x48(%rcx), %rsi cmpq $0x48, %rdx movq %rax, %rdx cmoveq %rsi, %rdx cmpq %rax, %rcx cmoveq %rsi, %rdx movups (%rdx), %xmm0 movaps %xmm0, 0xd0(%rsp) movq 0x10(%rdx), %rax movq %rax, 0xe0(%rsp) testb $0x1, %al je 0x162ff movq 0xd0(%rsp), %rsi movq 0xd8(%rsp), %rdx leaq 0x80(%rsp), %rax movq %rax, 0x70(%rsp) leaq 0x70(%rsp), %rdi callq 0x190e2 jmp 0x1631d leaq 0x80(%rsp), %rax movq %rax, 0x70(%rsp) movq $0x0, 0x78(%rsp) movb $0x0, 0x80(%rsp) cmpq $0x0, 0x10(%r14) je 0x1654e leaq 0xb0(%rsp), %rdi movq %r14, %rsi leaq 0xd0(%rsp), %rdx callq *0x18(%r14) movq 0x98(%rsp), %rax movq %rax, %rdx subq 0x90(%rsp), %rdx sarq $0x3, %rdx imulq %rbp, %rdx movq $-0x48, %rcx cmpq $0x4, %rdx jb 0x1636e movq $-0x30, %rcx cmpb $0x1, 0x10(%rax,%rcx) jne 0x16397 movq (%rax,%rcx), %rsi movq 0x8(%rax,%rcx), %rdx leaq 0x60(%rsp), %rax movq %rax, 0x50(%rsp) leaq 0x50(%rsp), %r13 movq %r13, %rdi callq 0x190e2 jmp 0x163b4 leaq 0x60(%rsp), %rax movq %rax, 0x50(%rsp) movq $0x0, 0x58(%rsp) movb $0x0, 0x60(%rsp) leaq 0x50(%rsp), %r13 movq 0xb0(%rsp), %rsi movq 0xb8(%rsp), %rdx movq %r13, %rdi callq 0x90e0 movq %r12, 0x30(%rsp) movq (%rax), %rdx movq %rax, %rcx addq $0x10, %rcx cmpq %rcx, %rdx je 0x163ef movq %rdx, 0x30(%rsp) movq (%rcx), %rdx movq %rdx, 0x40(%rsp) jmp 0x163f7 movups (%rcx), %xmm0 movups %xmm0, (%r12) movq 0x8(%rax), %rdx movq %rdx, 0x38(%rsp) movq %rcx, (%rax) movq $0x0, 0x8(%rax) movb $0x0, 0x10(%rax) movq 0x30(%rsp), %rsi movq 0x38(%rsp), %rdx movq 0x8(%rsp), %rdi callq 0x90e0 movq 0x30(%rsp), %rdi cmpq %r12, %rdi je 0x16432 callq 0x9310 movq 0x50(%rsp), %rdi leaq 0x60(%rsp), %rax cmpq %rax, %rdi je 0x16446 callq 0x9310 movq 0x98(%rsp), %rax movq %rax, %rdx subq 0x90(%rsp), %rdx sarq $0x3, %rdx imulq %rbp, %rdx movq $-0x48, %rcx cmpq $0x4, %rdx jb 0x16475 movq $-0x18, %rcx cmpb $0x1, 0x10(%rax,%rcx) jne 0x16494 movq (%rax,%rcx), %rsi movq 0x8(%rax,%rcx), %rdx movq %r12, 0x30(%rsp) movq %rbx, %rdi callq 0x190e2 jmp 0x164a7 movq %r12, 0x30(%rsp) movq $0x0, 0x38(%rsp) movb $0x0, 0x40(%rsp) leaq 0x10(%rsp), %rdi movq %rbx, %rsi callq 0x9450 movq 0x30(%rsp), %rdi cmpq %r12, %rdi je 0x164c3 callq 0x9310 movq 0xb0(%rsp), %rdi leaq 0xc0(%rsp), %rax cmpq %rax, %rdi je 0x164dd callq 0x9310 movq 0x70(%rsp), %rdi leaq 0x80(%rsp), %rax cmpq %rax, %rdi je 0x16267 callq 0x9310 jmp 0x16267 movq 0x10(%rsp), %rsi movq 0x18(%rsp), %rdx movq 0x8(%rsp), %rdi callq 0x90e0 movq 0x90(%rsp), %rdi testq %rdi, %rdi leaq 0x20(%rsp), %rbx je 0x16528 callq 0x9310 movq 0x10(%rsp), %rdi cmpq %rbx, %rdi je 0x16537 callq 0x9310 movq 0x8(%rsp), %rax addq $0xe8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq callq 0x9130 jmp 0x165db movq %rax, %r14 movq (%rsp), %rbx jmp 0x16608 jmp 0x165db jmp 0x16568 movq %rax, %r14 jmp 0x1659a jmp 0x165b6 movq %rax, %r14 movq 0x30(%rsp), %rdi cmpq %r12, %rdi je 0x16586 callq 0x9310 jmp 0x16586 movq %rax, %r14 movq 0x50(%rsp), %rdi leaq 0x60(%rsp), %rax cmpq %rax, %rdi je 0x1659a callq 0x9310 movq 0xb0(%rsp), %rdi leaq 0xc0(%rsp), %rax cmpq %rax, %rdi je 0x165b9 callq 0x9310 jmp 0x165b9 movq %rax, %r14 movq (%rsp), %rbx leaq 0x20(%rsp), %r15 movq 0x70(%rsp), %rdi leaq 0x80(%rsp), %rax cmpq %rax, %rdi je 0x165e7 callq 0x9310 jmp 0x165e7 movq %rax, %r14 movq (%rsp), %rbx leaq 0x20(%rsp), %r15 movq 0x90(%rsp), %rdi testq %rdi, %rdi je 0x165f9 callq 0x9310 movq 0x10(%rsp), %rdi cmpq %r15, %rdi je 0x16608 callq 0x9310 movq 0x8(%rsp), %rax movq (%rax), %rdi cmpq %rbx, %rdi je 0x1661a callq 0x9310 movq %r14, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/scrubbers/Scrubbers.cpp
ApprovalTests::Scrubbers::createRegexScrubber(std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>> const&, std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> (std::__cxx11::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&)> const&)
Scrubber createRegexScrubber(const std::regex& regexPattern, const RegexReplacer& replacer) { return [=](const std::string& input) { return scrubRegex(input, regexPattern, replacer); }; }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %r15 movq %rdi, %rbx movq %rsp, %rdi callq 0x16dcc leaq 0x20(%rsp), %r14 movq %r14, %rdi movq %r15, %rsi callq 0x16e1a xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rbx) movups %xmm0, (%rbx) movl $0x40, %edi callq 0x9330 movq %rax, %r15 movq %rsp, %rsi movq %rax, %rdi callq 0x16dcc movq %r15, %rdi addq $0x20, %rdi movq %r14, %rsi callq 0x16e1a movq %r15, (%rbx) leaq 0x39e(%rip), %rax # 0x16a22 movq %rax, 0x18(%rbx) leaq 0x3af(%rip), %rax # 0x16a3e movq %rax, 0x10(%rbx) movq 0x30(%rsp), %rax testq %rax, %rax je 0x166aa movq %r14, %rdi movq %r14, %rsi movl $0x3, %edx callq *%rax movq %rsp, %rdi callq 0x16e78 movq %rbx, %rax addq $0x40, %rsp popq %rbx popq %r14 popq %r15 retq movq %rax, %rdi callq 0xa641 movq %rax, %rbx movq %r15, %rdi callq 0x16e78 movq %r15, %rdi callq 0x9310 jmp 0x166df movq %rax, %rbx movq %rsp, %rdi callq 0x166fc jmp 0x166f4 movq %rax, %rbx movq %rsp, %rdi callq 0x16e78 movq %rbx, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/scrubbers/Scrubbers.cpp
ApprovalTests::Scrubbers::createRegexScrubber(std::__cxx11::basic_regex<char, std::__cxx11::regex_traits<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Scrubber createRegexScrubber(const std::regex& regexPattern, const std::string& replacementText) { return createRegexScrubber( regexPattern, [=](const RegexMatch&) { return replacementText; }); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %rbp movq %rbp, -0x10(%rbp) movq (%rdx), %rsi movq 0x8(%rdx), %rdx addq %rsi, %rdx leaq 0x28(%rsp), %r15 movq %r15, %rdi callq 0xaf60 xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movaps %xmm0, (%rsp) movq (%r15), %r12 movq 0x8(%r15), %r13 movl $0x20, %edi callq 0x9330 movq %rax, %r15 addq $0x10, %rax movq %rax, (%r15) addq %r12, %r13 movq %r15, %rdi movq %r12, %rsi movq %r13, %rdx callq 0xaf60 movq %rsp, %rdx movq %r15, (%rdx) leaq 0x35f(%rip), %rax # 0x16b00 movq %rax, 0x18(%rdx) leaq 0x376(%rip), %rax # 0x16b22 movq %rax, 0x10(%rdx) movq %rbx, %rdi movq %r14, %rsi callq 0x16622 movq 0x10(%rsp), %rax testq %rax, %rax je 0x167d2 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax movq 0x28(%rsp), %rdi cmpq %rbp, %rdi je 0x167e1 callq 0x9310 movq %rbx, %rax addq $0x48, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq jmp 0x16837 movq %rax, %rbx movq 0x10(%rsp), %rax testq %rax, %rax je 0x16842 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x16842 jmp 0x16837 movq %rax, %rbx movq %r15, %rdi callq 0x9310 movq 0x10(%rsp), %rax testq %rax, %rax je 0x16842 movq %rsp, %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax jmp 0x16842 movq %rax, %rdi callq 0xa641 movq %rax, %rbx movq 0x28(%rsp), %rdi cmpq %rbp, %rdi je 0x16851 callq 0x9310 movq %rbx, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/scrubbers/Scrubbers.cpp
ApprovalTests::Scrubbers::scrubGuid(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string scrubGuid(const std::string& input) { static const std::regex regex("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[" "0-9a-fA-F]{4}-[0-9a-fA-F]{12}"); int matchNumber = 0; std::map<std::string, int> matchIndices; return scrubRegex(input, regex, [&](const RegexMatch& m) { auto guid_match = m.str(); if (matchIndices[guid_match] == 0) { matchIndices[guid_match] = ++matchNumber; } return "guid_" + std::to_string(matchIndices[guid_match]); }); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rsi, %r14 movq %rdi, %rbx movb 0x2d42e(%rip), %al # 0x43d20 testb %al, %al je 0x16981 xorl %eax, %eax leaq 0x4(%rsp), %rdx movl %eax, (%rdx) leaq 0x30(%rsp), %rcx movl %eax, (%rcx) movq %rax, 0x8(%rcx) movq %rcx, 0x10(%rcx) movq %rcx, 0x18(%rcx) movq %rax, 0x20(%rcx) leaq 0x28(%rsp), %rax leaq 0x8(%rsp), %rcx movq %rax, (%rcx) movq %rdx, 0x8(%rcx) leaq 0x29a(%rip), %rax # 0x16bcc movq %rax, 0x18(%rcx) leaq 0x467(%rip), %rax # 0x16da4 movq %rax, 0x10(%rcx) leaq 0x2d3b8(%rip), %rdx # 0x43d00 movq %rbx, %rdi movq %r14, %rsi callq 0x161ee movq 0x18(%rsp), %rax testq %rax, %rax je 0x1696c leaq 0x8(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax leaq 0x28(%rsp), %rdi callq 0x16f64 movq %rbx, %rax addq $0x58, %rsp popq %rbx popq %r14 retq leaq 0x2d398(%rip), %rdi # 0x43d20 callq 0x9630 testl %eax, %eax je 0x168fa leaq 0x2d364(%rip), %rdi # 0x43d00 leaq 0x181d5(%rip), %rsi # 0x2eb78 movl $0x10, %edx callq 0x16efc leaq 0x4c4(%rip), %rdi # 0x16e78 leaq 0x2d345(%rip), %rsi # 0x43d00 leaq 0x2c9b6(%rip), %rdx # 0x43378 callq 0x92e0 leaq 0x2d352(%rip), %rdi # 0x43d20 callq 0x9200 jmp 0x168fa movq %rax, %rbx leaq 0x2d33e(%rip), %rdi # 0x43d20 callq 0x91f0 jmp 0x16a11 jmp 0x16a19 movq %rax, %rbx movq 0x18(%rsp), %rax testq %rax, %rax je 0x16a07 leaq 0x8(%rsp), %rdi movq %rdi, %rsi movl $0x3, %edx callq *%rax leaq 0x28(%rsp), %rdi callq 0x16f64 movq %rbx, %rdi callq 0x9610 movq %rax, %rdi callq 0xa641 nop
/approvals[P]ApprovalTests/ApprovalTests/scrubbers/Scrubbers.cpp
ApprovalTests::FileUtils::getDirectory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string FileUtils::getDirectory(const std::string& filePath) { auto end = filePath.rfind(SystemUtils::getDirectorySeparator()) + 1; auto directory = filePath.substr(0, end); return directory; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r12 movq %r12, %rdi callq 0x24ca4 movq (%r12), %rsi movq 0x8(%r12), %rcx movq %r14, %rdi movq $-0x1, %rdx callq 0x94a0 movq %rax, %r15 movq (%r12), %rdi leaq 0x18(%rsp), %rax cmpq %rax, %rdi je 0x242c0 callq 0x9310 incq %r15 movq %rbx, %rdi movq %r14, %rsi xorl %edx, %edx movq %r15, %rcx callq 0x9370 movq %rbx, %rax addq $0x28, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq
/approvals[P]ApprovalTests/ApprovalTests/utilities/FileUtils.cpp
ApprovalTests::FileUtils::readFileThrowIfMissing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string FileUtils::readFileThrowIfMissing(const std::string& fileName) { std::ifstream in(fileName.c_str(), std::ios_base::in); if (!in) { throw std::runtime_error("File does not exist: " + fileName); } std::stringstream written; written << in.rdbuf(); in.close(); std::string text = written.str(); return text; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x398, %rsp # imm = 0x398 movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rsi leaq 0x190(%rsp), %r15 movq %r15, %rdi movl $0x8, %edx callq 0x9640 movq (%r15), %rax movq -0x18(%rax), %rax testb $0x5, 0x1b0(%rsp,%rax) jne 0x243ce leaq 0x8(%rsp), %rdi callq 0x9240 leaq 0x18(%rsp), %rdi leaq 0x1a0(%rsp), %rsi callq 0x90a0 leaq 0x190(%rsp), %rdi callq 0x9090 leaq 0x20(%rsp), %rsi movq %rbx, %rdi callq 0x9570 movq 0x1ebb7(%rip), %rsi # 0x42f50 leaq 0x8(%rsp), %rdi callq 0x9280 leaq 0x88(%rsp), %rdi callq 0x9100 leaq 0x190(%rsp), %rdi callq 0x90b0 movq %rbx, %rax addq $0x398, %rsp # imm = 0x398 popq %rbx popq %r14 popq %r15 popq %rbp retq movl $0x10, %edi callq 0x9190 movq %rax, %rbx leaq 0xb5e7(%rip), %rsi # 0x2f9c9 leaq 0x8(%rsp), %rdi movq %r14, %rdx callq 0x2464e movb $0x1, %bpl leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x9580 xorl %ebp, %ebp movq 0x1ebe8(%rip), %rsi # 0x42ff0 movq 0x1eb79(%rip), %rdx # 0x42f88 movq %rbx, %rdi callq 0x95e0 movq %rax, %r14 leaq 0x18(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x2442d callq 0x9310 testb %bpl, %bpl jne 0x24437 jmp 0x24467 movq %rax, %r14 movq %rbx, %rdi callq 0x9260 jmp 0x24467 movq %rax, %r14 jmp 0x24467 movq %rax, %r14 movq 0x1eb00(%rip), %rsi # 0x42f50 leaq 0x8(%rsp), %rdi callq 0x9280 leaq 0x88(%rsp), %rdi callq 0x9100 leaq 0x190(%rsp), %rdi callq 0x90b0 movq %r14, %rdi callq 0x9610
/approvals[P]ApprovalTests/ApprovalTests/utilities/FileUtils.cpp
ApprovalTests::FileUtils::writeToFile(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 FileUtils::writeToFile(const std::string& filePath, const std::string& content) { std::ofstream out(filePath.c_str(), std::ios::binary | std::ofstream::out); if (!out) { throw std::runtime_error("Unable to write file: " + filePath); } out << content; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x228, %rsp # imm = 0x228 movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rsi leaq 0x28(%rsp), %r15 movq %r15, %rdi movl $0x14, %edx callq 0x9390 movq (%r15), %rax movq -0x18(%rax), %rax testb $0x5, 0x48(%rsp,%rax) jne 0x24567 movq (%rbx), %rsi movq 0x8(%rbx), %rdx leaq 0x28(%rsp), %rdi callq 0x93d0 movq 0x1ea4a(%rip), %rax # 0x42f78 movq (%rax), %rcx movq 0x18(%rax), %rax leaq 0x30(%rsp), %rdi movq %rcx, -0x8(%rdi) movq -0x18(%rcx), %rcx movq %rax, 0x28(%rsp,%rcx) callq 0x92b0 leaq 0x120(%rsp), %rdi callq 0x9100 addq $0x228, %rsp # imm = 0x228 popq %rbx popq %r14 popq %r15 popq %rbp retq movl $0x10, %edi callq 0x9190 movq %rax, %rbx leaq 0xb464(%rip), %rsi # 0x2f9df leaq 0x8(%rsp), %rdi movq %r14, %rdx callq 0x2464e movb $0x1, %bpl leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x9580 xorl %ebp, %ebp movq 0x1ea4f(%rip), %rsi # 0x42ff0 movq 0x1e9e0(%rip), %rdx # 0x42f88 movq %rbx, %rdi callq 0x95e0 movq %rax, %r14 leaq 0x18(%rsp), %rax movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0x245c6 callq 0x9310 testb %bpl, %bpl jne 0x245d0 jmp 0x245dd movq %rax, %r14 movq %rbx, %rdi callq 0x9260 jmp 0x245dd movq %rax, %r14 leaq 0x28(%rsp), %rdi callq 0x9530 movq %r14, %rdi callq 0x9610 nop
/approvals[P]ApprovalTests/ApprovalTests/utilities/FileUtils.cpp
ApprovalTests::StringUtils::leftTrim(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
APPROVAL_TESTS_NO_DISCARD std::string StringUtils::leftTrim(std::string s) { s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](unsigned char ch) { return !std::isspace(ch); })); return s; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rsi), %r12 movq 0x8(%rsi), %rax leaq (%r12,%rax), %rcx movq %rax, %r13 sarq $0x2, %r13 movq %r12, %rbp testq %r13, %r13 jle 0x248f1 movq %rcx, (%rsp) andq $-0x4, %rax movq %rax, %rbp addq %r12, %rbp incq %r13 leaq 0x3(%r12), %r15 movzbl -0x3(%r15), %edi callq 0x9060 testl %eax, %eax je 0x2491e movzbl -0x2(%r15), %edi callq 0x9060 testl %eax, %eax je 0x24924 movzbl -0x1(%r15), %edi callq 0x9060 testl %eax, %eax je 0x2492a movzbl (%r15), %edi callq 0x9060 testl %eax, %eax je 0x2492d decq %r13 addq $0x4, %r15 cmpq $0x1, %r13 jg 0x248a9 movq (%rsp), %rcx movq %rcx, %rax subq %rbp, %rax cmpq $0x1, %rax je 0x24948 cmpq $0x2, %rax je 0x24933 cmpq $0x3, %rax jne 0x24974 movq %rcx, %r13 movzbl (%rbp), %edi callq 0x9060 testl %eax, %eax je 0x2495a incq %rbp jmp 0x24936 addq $-0x3, %r15 jmp 0x2492d addq $-0x2, %r15 jmp 0x2492d decq %r15 movq (%rsp), %r13 jmp 0x2495d movq %rcx, %r13 movzbl (%rbp), %edi callq 0x9060 testl %eax, %eax je 0x2495a incq %rbp jmp 0x2494b movq %rcx, %r13 movzbl (%rbp), %edi callq 0x9060 testl %eax, %eax cmovneq %r13, %rbp movq %rbp, %r15 cmpq %r15, %r13 je 0x24974 subq %r12, %r15 movq %rbx, %rdi xorl %esi, %esi movq %r15, %rdx callq 0x9410 jmp 0x24981 movq $0x0, 0x8(%rbx) movb $0x0, (%r12) movq (%rbx), %rcx leaq 0x10(%r14), %rdx movq %rdx, (%r14) leaq 0x10(%rbx), %rax cmpq %rax, %rcx je 0x249a0 movq %rcx, (%r14) movq (%rax), %rcx movq %rcx, 0x10(%r14) jmp 0x249a6 movups (%rax), %xmm0 movups %xmm0, (%rdx) movq 0x8(%rbx), %rcx movq %rcx, 0x8(%r14) movq %rax, (%rbx) movq $0x0, 0x8(%rbx) movb $0x0, 0x10(%rbx) movq %r14, %rax addq $0x8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq nop
/approvals[P]ApprovalTests/ApprovalTests/utilities/StringUtils.cpp
ApprovalTests::SystemUtils::safeGetEnvForWindows[abi:cxx11](char const*)
std::string SystemUtils::safeGetEnvForWindows(const char* name) { APPROVAL_TESTS_UNUSED(name); #ifdef _WIN32 // We use getenv_s on Windows, as use of getenv there gives: // warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. // To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. size_t size; getenv_s(&size, nullptr, 0, name); if (size != 0) { std::string result; result.resize(size); getenv_s(&size, &*result.begin(), size, name); result.pop_back(); return result; } #endif return std::string(); }
movq %rdi, %rax leaq 0x10(%rdi), %rcx movq %rcx, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) retq nop
/approvals[P]ApprovalTests/ApprovalTests/utilities/SystemUtils.cpp
ApprovalTests::SystemUtils::safeGetEnvForNonWindows[abi:cxx11](char const*)
std::string SystemUtils::safeGetEnvForNonWindows(const char* name) { APPROVAL_TESTS_UNUSED(name); char* p = nullptr; #ifndef _WIN32 p = getenv(name); #endif return (p != nullptr) ? p : std::string(); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq %rsi, %rdi callq 0x9440 movq %rax, %r14 leaq 0x10(%rbx), %rax movq %rax, (%rbx) testq %r14, %r14 je 0x24d3b movq %r14, %rdi callq 0x9170 movq %r14, %rdx addq %rax, %rdx movq %rbx, %rdi movq %r14, %rsi callq 0xb8b0 jmp 0x24d47 movq $0x0, 0x8(%rbx) movb $0x0, 0x10(%rbx) movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq
/approvals[P]ApprovalTests/ApprovalTests/utilities/SystemUtils.cpp
tc_mallinfo2
PERFTOOLS_DLL_DECL struct mallinfo2 tc_mallinfo2(void) PERFTOOLS_NOTHROW { return do_mallinfo<struct mallinfo2>(); }
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx xorl %r15d, %r15d leaq -0x90(%rbp), %r14 movq %r15, 0x70(%r14) xorps %xmm0, %xmm0 movups %xmm0, 0x60(%r14) movups %xmm0, 0x50(%r14) movups %xmm0, 0x40(%r14) movups %xmm0, 0x30(%r14) movups %xmm0, 0x20(%r14) movq %r14, %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq 0x110d9 movq %r15, 0x48(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 0x38(%rbx) movups %xmm0, 0x28(%rbx) movups %xmm0, 0x18(%rbx) movups %xmm0, 0x8(%rbx) movq 0x20(%r14), %rax movq 0x8(%r14), %rcx addq (%r14), %rcx movq %rax, (%rbx) addq 0x10(%r14), %rcx movq %rcx, 0x30(%rbx) movq 0x28(%r14), %rdx addq 0x30(%r14), %rdx movq %rdx, 0x40(%rbx) addq %rcx, %rdx subq %rdx, %rax movq %rax, 0x38(%rbx) movq %rbx, %rax addq $0x78, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq
/alk[P]gperftools/src/tcmalloc.cc
tcmalloc::PageHeap::RemoveFromFreeList(tcmalloc::Span*)
void PageHeap::RemoveFromFreeList(Span* span) { ASSERT(lock_.IsHeld()); ASSERT(span->location != Span::IN_USE); if (span->location == Span::ON_NORMAL_FREELIST) { stats_.free_bytes -= (span->length << kPageShift); } else { stats_.unmapped_bytes -= (span->length << kPageShift); } if (span->length > kMaxPages) { SpanSet *set = &large_normal_; if (span->location == Span::ON_RETURNED_FREELIST) set = &large_returned_; SpanSetIter iter = span->ExtractSpanSetIterator(); ASSERT(iter->span == span); ASSERT(set->find(SpanPtrWithLength(span)) == iter); set->erase(iter); } else { DLL_Remove(span); } }
movl $0x3000000, %eax # imm = 0x3000000 andl 0x28(%rsi), %eax xorl %ecx, %ecx cmpl $0x1000000, %eax # imm = 0x1000000 setne %cl movq 0x8(%rsi), %rax movq %rax, %rdx shlq $0xd, %rdx subq %rdx, 0x183080(%rdi,%rcx,8) cmpq $0x81, %rax jb 0x16651 movl 0x28(%rsi), %eax movl %eax, %ecx andl $0x3000000, %ecx # imm = 0x3000000 leaq 0x180018(%rdi), %rdx addq $0x180048, %rdi # imm = 0x180048 cmpl $0x2000000, %ecx # imm = 0x2000000 cmovneq %rdx, %rdi andl $0xf7ffffff, %eax # imm = 0xF7FFFFFF movl %eax, 0x28(%rsi) movq 0x20(%rsi), %rsi jmp 0xda10 movq %rsi, %rdi jmp 0xd320 nop
/alk[P]gperftools/src/page_heap.cc
nettlp_msg_get_bar4_start
uintptr_t nettlp_msg_get_bar4_start(struct in_addr addr) { int sock, req, ret = 0; uintptr_t bar4_addr = 0; struct pollfd x[1]; sock = nettlp_msg_socket(addr); if (sock < 1) return 0; /* send GET_BAR4 request */ req = NETTLP_MSG_GET_BAR4_ADDR; ret = write(sock, &req, sizeof(req)); /* recv response with timeout */ x[0].fd = sock; x[0].events = POLLIN; ret = poll(x, 1, LIBTLP_CPL_TIMEOUT); if (ret == 0) { errno = ETIME; goto err_out; } ret = read(sock, &bar4_addr, sizeof(bar4_addr)); if (ret < 0) goto err_out; close(sock); return bar4_addr; err_out: close(sock); return 0; }
pushq %rbx subq $0x20, %rsp movq $0x0, 0x8(%rsp) callq 0x1f29 testl %eax, %eax jle 0x1f21 movl %eax, %ebx leaq 0x14(%rsp), %rsi movl $0x1, (%rsi) movl $0x4, %edx movl %eax, %edi callq 0x1050 leaq 0x18(%rsp), %rdi movl %ebx, (%rdi) movw $0x1, 0x4(%rdi) movl $0x1, %esi movl $0x1f4, %edx # imm = 0x1F4 callq 0x10b0 testl %eax, %eax je 0x1f0f leaq 0x8(%rsp), %rsi movl $0x8, %edx movl %ebx, %edi callq 0x1080 testl %eax, %eax js 0x1f1a movl %ebx, %edi callq 0x1070 movq 0x8(%rsp), %rax jmp 0x1f23 callq 0x1030 movl $0x3e, (%rax) movl %ebx, %edi callq 0x1070 xorl %eax, %eax addq $0x20, %rsp popq %rbx retq
/NetTLP[P]libtlp/lib/libtlp.c
glfwGetJoystickHats
char* glfwGetJoystickHats(int jid, int* count) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick ID %i", jid); return NULL; } js = _glfw.joysticks + jid; if (!js->present) return NULL; if (!_glfwPlatformPollJoystick(js, _GLFW_POLL_BUTTONS)) return NULL; *count = js->hatCount; return js->hats; }
pushq %r14 pushq %rbx pushq %rax testl %edi, %edi js 0x1e589 cmpl $0x10, %edi jge 0x1e5a8 movq %rsi, %rbx testq %rsi, %rsi je 0x1e5c7 movl $0x0, (%rbx) leaq 0x3c4e6(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x1e56e movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x1e56a leaq (%rax,%rcx), %r14 addq $0x408, %r14 # imm = 0x408 movq %r14, %rdi movl $0x2, %esi callq 0x2d0cd testl %eax, %eax je 0x1e56a movl 0x30(%r14), %eax movl %eax, (%rbx) movq 0x28(%r14), %rbx jmp 0x1e57e xorl %ebx, %ebx jmp 0x1e57e xorl %ebx, %ebx movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax callq 0x1cdad movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq leaq 0x2e79f(%rip), %rdi # 0x4cd2f leaq 0x2e2b9(%rip), %rsi # 0x4c850 leaq 0x2e852(%rip), %rcx # 0x4cdf0 movl $0x3e9, %edx # imm = 0x3E9 callq 0x141d0 leaq 0x2e7b4(%rip), %rdi # 0x4cd63 leaq 0x2e29a(%rip), %rsi # 0x4c850 leaq 0x2e833(%rip), %rcx # 0x4cdf0 movl $0x3ea, %edx # imm = 0x3EA callq 0x141d0 leaq 0x2e7dc(%rip), %rdi # 0x4cdaa leaq 0x2e27b(%rip), %rsi # 0x4c850 leaq 0x2e814(%rip), %rcx # 0x4cdf0 movl $0x3eb, %edx # imm = 0x3EB callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/input.c
glfwGetGamepadName
GLFWAPI const char* glfwGetGamepadName(int jid) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick ID %i", jid); return NULL; } js = _glfw.joysticks + jid; if (!js->present) return NULL; if (!_glfwPlatformPollJoystick(js, _GLFW_POLL_PRESENCE)) return NULL; if (!js->mapping) return NULL; return js->mapping->name; }
pushq %r14 pushq %rbx pushq %rax testl %edi, %edi js 0x1f100 cmpl $0x10, %edi jge 0x1f11f leaq 0x3b968(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x1f0e1 movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x1f0f3 leaq (%rax,%rcx), %r14 addq $0x408, %r14 # imm = 0x408 xorl %ebx, %ebx movq %r14, %rdi xorl %esi, %esi callq 0x2d0cd testl %eax, %eax je 0x1f0f5 movq 0x70(%r14), %rbx jmp 0x1f0f5 xorl %ebx, %ebx movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax callq 0x1cdad jmp 0x1f0f5 xorl %ebx, %ebx movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq leaq 0x2dc28(%rip), %rdi # 0x4cd2f leaq 0x2d742(%rip), %rsi # 0x4c850 leaq 0x2de0a(%rip), %rcx # 0x4cf1f movl $0x4b4, %edx # imm = 0x4B4 callq 0x141d0 leaq 0x2dc3d(%rip), %rdi # 0x4cd63 leaq 0x2d723(%rip), %rsi # 0x4c850 leaq 0x2ddeb(%rip), %rcx # 0x4cf1f movl $0x4b5, %edx # imm = 0x4B5 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/input.c
glfwFreeMonitor
void _glfwFreeMonitor(_GLFWmonitor* monitor) { if (monitor == NULL) return; _glfwPlatformFreeMonitor(monitor); _glfwFreeGammaArrays(&monitor->originalRamp); _glfwFreeGammaArrays(&monitor->currentRamp); free(monitor->modes); free(monitor->name); free(monitor); }
testq %rdi, %rdi je 0x1f825 pushq %rbx movq %rdi, %rbx callq 0x24dde leaq 0x48(%rbx), %rdi callq 0x1f871 leaq 0x68(%rbx), %rdi callq 0x1f871 movq 0x20(%rbx), %rdi callq 0x143c0 movq (%rbx), %rdi callq 0x143c0 movq %rbx, %rdi popq %rbx jmp 0x143c0 retq
/Tigermouthbear[P]flappytiger/external/glfw/src/monitor.c
glfwSplitBPP
void _glfwSplitBPP(int bpp, int* red, int* green, int* blue) { int delta; // We assume that by 32 the user really meant 24 if (bpp == 32) bpp = 24; // Convert "bits per pixel" to red, green & blue sizes *red = *green = *blue = bpp / 3; delta = bpp - (*red * 3); if (delta >= 1) *green = *green + 1; if (delta == 2) *red = *red + 1; }
cmpl $0x20, %edi movl $0x18, %eax cmovnel %edi, %eax cltq imulq $0x55555556, %rax, %rdi # imm = 0x55555556 movq %rdi, %r8 shrq $0x3f, %r8 shrq $0x20, %rdi addl %r8d, %edi movl %edi, (%rcx) movl %edi, (%rdx) movl %edi, (%rsi) leal (%rdi,%rdi,2), %ecx subl %ecx, %eax testl %eax, %eax jle 0x1fae4 incl (%rdx) cmpl $0x2, %eax jne 0x1faeb incl (%rsi) retq
/Tigermouthbear[P]flappytiger/external/glfw/src/monitor.c
glfwGetMonitorWorkarea
GLFWAPI void glfwGetMonitorWorkarea(GLFWmonitor* handle, int* xpos, int* ypos, int* width, int* height) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); if (xpos) *xpos = 0; if (ypos) *ypos = 0; if (width) *width = 0; if (height) *height = 0; _GLFW_REQUIRE_INIT(); _glfwPlatformGetMonitorWorkarea(monitor, xpos, ypos, width, height); }
testq %rdi, %rdi je 0x1fc2f testq %rsi, %rsi je 0x1fbee movl $0x0, (%rsi) testq %rdx, %rdx je 0x1fbf9 movl $0x0, (%rdx) testq %rcx, %rcx je 0x1fc04 movl $0x0, (%rcx) testq %r8, %r8 je 0x1fc10 movl $0x0, (%r8) leaq 0x3adf9(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x1fc21 jmp 0x24ebd movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0x2d524(%rip), %rdi # 0x4d15b leaq 0x2d486(%rip), %rsi # 0x4d0c4 leaq 0x2d55a(%rip), %rcx # 0x4d19f movl $0x158, %edx # imm = 0x158 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/monitor.c
glfwGetVideoModes
GLFWAPI const GLFWvidmode* glfwGetVideoModes(GLFWmonitor* handle, int* count) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (!refreshVideoModes(monitor)) return NULL; *count = monitor->modeCount; return monitor->modes; }
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x1fe7b movq %rsi, %r14 testq %rsi, %rsi je 0x1fe9a movl $0x0, (%r14) leaq 0x3abd1(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x1fe5c movq %rdi, %rbx callq 0x1fa0c testl %eax, %eax je 0x1fe6e movl 0x28(%rbx), %eax movl %eax, (%r14) movq 0x20(%rbx), %rbx jmp 0x1fe70 xorl %ebx, %ebx movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax callq 0x1cdad jmp 0x1fe70 xorl %ebx, %ebx movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq leaq 0x2d2d9(%rip), %rdi # 0x4d15b leaq 0x2d23b(%rip), %rsi # 0x4d0c4 leaq 0x2d467(%rip), %rcx # 0x4d2f7 movl $0x1ae, %edx # imm = 0x1AE callq 0x141d0 leaq 0x2cf09(%rip), %rdi # 0x4cdaa leaq 0x2d21c(%rip), %rsi # 0x4d0c4 leaq 0x2d448(%rip), %rcx # 0x4d2f7 movl $0x1af, %edx # imm = 0x1AF callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/monitor.c
glfwGetGammaRamp
GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* handle) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); _glfwFreeGammaArrays(&monitor->currentRamp); if (!_glfwPlatformGetGammaRamp(monitor, &monitor->currentRamp)) return NULL; return &monitor->currentRamp; }
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x20114 leaq 0x3a940(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x200f9 movq %rdi, %rbx leaq 0x68(%rdi), %r14 movq %r14, %rdi callq 0x1f871 movq %rbx, %rdi movq %r14, %rsi callq 0x252f7 xorl %ebx, %ebx testl %eax, %eax cmovneq %r14, %rbx jmp 0x20109 xorl %ebx, %ebx movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax callq 0x1cdad movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq leaq 0x2d040(%rip), %rdi # 0x4d15b leaq 0x2cfa2(%rip), %rsi # 0x4d0c4 leaq 0x2d2a7(%rip), %rcx # 0x4d3d0 movl $0x1f9, %edx # imm = 0x1F9 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/monitor.c
glfwCreateWindowSurface
GLFWAPI VkResult glfwCreateWindowSurface(VkInstance instance, GLFWwindow* handle, const VkAllocationCallbacks* allocator, VkSurfaceKHR* surface) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(instance != VK_NULL_HANDLE); assert(window != NULL); assert(surface != NULL); *surface = VK_NULL_HANDLE; _GLFW_REQUIRE_INIT_OR_RETURN(VK_ERROR_INITIALIZATION_FAILED); if (!_glfwInitVulkan(_GLFW_REQUIRE_LOADER)) return VK_ERROR_INITIALIZATION_FAILED; if (!_glfw.vk.extensions[0]) { _glfwInputError(GLFW_API_UNAVAILABLE, "Vulkan: Window surface creation extensions not found"); return VK_ERROR_EXTENSION_NOT_PRESENT; } if (window->context.client != GLFW_NO_API) { _glfwInputError(GLFW_INVALID_VALUE, "Vulkan: Window surface creation requires the window to have the client API set to GLFW_NO_API"); return VK_ERROR_NATIVE_WINDOW_IN_USE_KHR; } return _glfwPlatformCreateWindowSurface(instance, window, allocator, surface); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx testq %rdi, %rdi je 0x208b1 movq %rsi, %r15 testq %rsi, %rsi je 0x208d0 movq %rcx, %rbx testq %rcx, %rcx je 0x208ef movq $0x0, (%rbx) leaq 0x3a1f9(%rip), %r13 # 0x5aa10 cmpl $0x0, (%r13) je 0x20860 movq %rdx, %r14 movq %rdi, %r12 movl $0x2, %edi callq 0x20284 testl %eax, %eax je 0x2086e cmpq $0x0, 0x1fe80(%r13) je 0x2087d cmpl $0x0, 0x1f8(%r15) je 0x20897 leaq 0x2d4a1(%rip), %rsi # 0x4dcee movl $0x10004, %edi # imm = 0x10004 xorl %eax, %eax callq 0x1cdad movl $0xc46535ff, %eax # imm = 0xC46535FF jmp 0x20873 movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax callq 0x1cdad movl $0xfffffffd, %eax # imm = 0xFFFFFFFD popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq leaq 0x2d3bb(%rip), %rsi # 0x4dc3f movl $0x10006, %edi # imm = 0x10006 xorl %eax, %eax callq 0x1cdad movl $0xfffffff9, %eax # imm = 0xFFFFFFF9 jmp 0x20873 movq %r12, %rdi movq %r15, %rsi movq %r14, %rdx movq %rbx, %rcx popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 jmp 0x29b18 leaq 0x2d2fe(%rip), %rdi # 0x4dbb6 leaq 0x2d20b(%rip), %rsi # 0x4daca leaq 0x2d3ae(%rip), %rcx # 0x4dc74 movl $0x131, %edx # imm = 0x131 callq 0x141d0 leaq 0x10b74(%rip), %rdi # 0x3144b leaq 0x2d1ec(%rip), %rsi # 0x4daca leaq 0x2d38f(%rip), %rcx # 0x4dc74 movl $0x132, %edx # imm = 0x132 callq 0x141d0 leaq 0x2d3e8(%rip), %rdi # 0x4dcde leaq 0x2d1cd(%rip), %rsi # 0x4daca leaq 0x2d370(%rip), %rcx # 0x4dc74 movl $0x133, %edx # imm = 0x133 callq 0x141d0 nop
/Tigermouthbear[P]flappytiger/external/glfw/src/vulkan.c
glfwGetWindowPos
GLFWAPI void glfwGetWindowPos(GLFWwindow* handle, int* xpos, int* ypos) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (xpos) *xpos = 0; if (ypos) *ypos = 0; _GLFW_REQUIRE_INIT(); _glfwPlatformGetWindowPos(window, xpos, ypos); }
testq %rdi, %rdi je 0x2123f testq %rsi, %rsi je 0x21215 movl $0x0, (%rsi) testq %rdx, %rdx je 0x21220 movl $0x0, (%rdx) leaq 0x397e9(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x21231 jmp 0x26b0c movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0x10204(%rip), %rdi # 0x3144b leaq 0x2cc64(%rip), %rsi # 0x4deb2 leaq 0x2cebb(%rip), %rcx # 0x4e110 movl $0x205, %edx # imm = 0x205 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwSetWindowSize
GLFWAPI void glfwSetWindowSize(GLFWwindow* handle, int width, int height) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); assert(width >= 0); assert(height >= 0); _GLFW_REQUIRE_INIT(); window->videoMode.width = width; window->videoMode.height = height; _glfwPlatformSetWindowSize(window, width, height); }
pushq %rax testq %rdi, %rdi je 0x21339 testl %esi, %esi js 0x21358 testl %edx, %edx js 0x21377 leaq 0x396f7(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x2132a movl %esi, 0x28(%rdi) movl %edx, 0x2c(%rdi) popq %rax jmp 0x26ccd movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax popq %rcx jmp 0x1cdad leaq 0x1010b(%rip), %rdi # 0x3144b leaq 0x2cb6b(%rip), %rsi # 0x4deb2 leaq 0x2ce55(%rip), %rcx # 0x4e1a3 movl $0x22e, %edx # imm = 0x22E callq 0x141d0 leaq 0x2cc16(%rip), %rdi # 0x4df75 leaq 0x2cb4c(%rip), %rsi # 0x4deb2 leaq 0x2ce36(%rip), %rcx # 0x4e1a3 movl $0x22f, %edx # imm = 0x22F callq 0x141d0 leaq 0x2cc02(%rip), %rdi # 0x4df80 leaq 0x2cb2d(%rip), %rsi # 0x4deb2 leaq 0x2ce17(%rip), %rcx # 0x4e1a3 movl $0x230, %edx # imm = 0x230 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwGetFramebufferSize
GLFWAPI void glfwGetFramebufferSize(GLFWwindow* handle, int* width, int* height) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (width) *width = 0; if (height) *height = 0; _GLFW_REQUIRE_INIT(); _glfwPlatformGetFramebufferSize(window, width, height); }
testq %rdi, %rdi je 0x21591 testq %rsi, %rsi je 0x21567 movl $0x0, (%rsi) testq %rdx, %rdx je 0x21572 movl $0x0, (%rdx) leaq 0x39497(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x21583 jmp 0x26ede movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0xfeb2(%rip), %rdi # 0x3144b leaq 0x2c912(%rip), %rsi # 0x4deb2 leaq 0x2cd1c(%rip), %rcx # 0x4e2c3 movl $0x287, %edx # imm = 0x287 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwGetWindowContentScale
GLFWAPI void glfwGetWindowContentScale(GLFWwindow* handle, float* xscale, float* yscale) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (xscale) *xscale = 0.f; if (yscale) *yscale = 0.f; _GLFW_REQUIRE_INIT(); _glfwPlatformGetWindowContentScale(window, xscale, yscale); }
testq %rdi, %rdi je 0x2165c testq %rsi, %rsi je 0x21632 movl $0x0, (%rsi) testq %rdx, %rdx je 0x2163d movl $0x0, (%rdx) leaq 0x393cc(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x2164e jmp 0x27130 movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0xfde7(%rip), %rdi # 0x3144b leaq 0x2c847(%rip), %rsi # 0x4deb2 leaq 0x2cccf(%rip), %rcx # 0x4e341 movl $0x2aa, %edx # imm = 0x2AA callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwMaximizeWindow
GLFWAPI void glfwMaximizeWindow(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (window->monitor) return; _glfwPlatformMaximizeWindow(window); }
testq %rdi, %rdi je 0x21864 leaq 0x391cb(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x21856 cmpq $0x0, 0x40(%rdi) je 0x27373 retq movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0xfbdf(%rip), %rdi # 0x3144b leaq 0x2c63f(%rip), %rsi # 0x4deb2 leaq 0x2cbf3(%rip), %rcx # 0x4e46d movl $0x2e6, %edx # imm = 0x2E6 callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwHideWindow
GLFWAPI void glfwHideWindow(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (window->monitor) return; _glfwPlatformHideWindow(window); }
testq %rdi, %rdi je 0x21956 leaq 0x390d9(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x21948 cmpq $0x0, 0x40(%rdi) je 0x27565 retq movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad pushq %rax leaq 0xfaed(%rip), %rdi # 0x3144b leaq 0x2c54d(%rip), %rsi # 0x4deb2 leaq 0x2cb77(%rip), %rcx # 0x4e4e3 movl $0x30d, %edx # imm = 0x30D callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwSetWindowAttrib
GLFWAPI void glfwSetWindowAttrib(GLFWwindow* handle, int attrib, int value) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); value = value ? GLFW_TRUE : GLFW_FALSE; if (attrib == GLFW_AUTO_ICONIFY) window->autoIconify = value; else if (attrib == GLFW_RESIZABLE) { if (window->resizable == value) return; window->resizable = value; if (!window->monitor) _glfwPlatformSetWindowResizable(window, value); } else if (attrib == GLFW_DECORATED) { if (window->decorated == value) return; window->decorated = value; if (!window->monitor) _glfwPlatformSetWindowDecorated(window, value); } else if (attrib == GLFW_FLOATING) { if (window->floating == value) return; window->floating = value; if (!window->monitor) _glfwPlatformSetWindowFloating(window, value); } else if (attrib == GLFW_FOCUS_ON_SHOW) window->focusOnShow = value; else _glfwInputError(GLFW_INVALID_ENUM, "Invalid window attribute 0x%08X", attrib); }
testq %rdi, %rdi je 0x21ba0 leaq 0x38f04(%rip), %rcx # 0x5aa10 cmpl $0x0, (%rcx) je 0x21b4c movl %esi, %eax xorl %esi, %esi testl %edx, %edx setne %dl leal -0x20003(%rax), %ecx cmpl $0x9, %ecx ja 0x21b5a movb %dl, %sil leaq 0x2c34d(%rip), %rdx # 0x4de7c movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx cmpl %esi, 0x8(%rdi) je 0x21b96 movl %esi, 0x8(%rdi) cmpq $0x0, 0x40(%rdi) jne 0x21b96 jmp 0x27af6 movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1cdad leaq 0x2c9f2(%rip), %rsi # 0x4e553 movl $0x10003, %edi # imm = 0x10003 movl %eax, %edx xorl %eax, %eax jmp 0x1cdad movl %esi, 0x10(%rdi) retq cmpl %esi, 0xc(%rdi) je 0x21b96 movl %esi, 0xc(%rdi) cmpq $0x0, 0x40(%rdi) jne 0x21b96 jmp 0x27b3e cmpl %esi, 0x14(%rdi) je 0x21b96 movl %esi, 0x14(%rdi) cmpq $0x0, 0x40(%rdi) je 0x21b9b retq movl %esi, 0x18(%rdi) retq jmp 0x27ba4 pushq %rax leaq 0xf8a3(%rip), %rdi # 0x3144b leaq 0x2c303(%rip), %rsi # 0x4deb2 leaq 0x2c9bd(%rip), %rcx # 0x4e573 movl $0x35f, %edx # imm = 0x35F callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwWaitEventsTimeout
GLFWAPI void glfwWaitEventsTimeout(double timeout) { _GLFW_REQUIRE_INIT(); assert(timeout == timeout); assert(timeout >= 0.0); assert(timeout <= DBL_MAX); if (timeout != timeout || timeout < 0.0 || timeout > DBL_MAX) { _glfwInputError(GLFW_INVALID_VALUE, "Invalid time %f", timeout); return; } _glfwPlatformWaitEventsTimeout(timeout); }
pushq %rax leaq 0x38939(%rip), %rax # 0x5aa10 cmpl $0x0, (%rax) je 0x22118 ucomisd %xmm0, %xmm0 jp 0x2212d xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jb 0x2214c movsd 0x2a6e4(%rip), %xmm1 # 0x4c7d8 ucomisd %xmm0, %xmm1 jb 0x2216b ucomisd 0x2a6d6(%rip), %xmm0 # 0x4c7d8 jbe 0x22127 leaq 0x2aeaf(%rip), %rsi # 0x4cfba movl $0x10004, %edi # imm = 0x10004 movb $0x1, %al popq %rcx jmp 0x1cdad movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax popq %rcx jmp 0x1cdad popq %rax jmp 0x290b5 leaq 0x2c866(%rip), %rdi # 0x4e99a leaq 0x2bd77(%rip), %rsi # 0x4deb2 leaq 0x2c86b(%rip), %rcx # 0x4e9ad movl $0x43c, %edx # imm = 0x43C callq 0x141d0 leaq 0x2c87d(%rip), %rdi # 0x4e9d0 leaq 0x2bd58(%rip), %rsi # 0x4deb2 leaq 0x2c84c(%rip), %rcx # 0x4e9ad movl $0x43d, %edx # imm = 0x43D callq 0x141d0 leaq 0x2c86d(%rip), %rdi # 0x4e9df leaq 0x2bd39(%rip), %rsi # 0x4deb2 leaq 0x2c82d(%rip), %rcx # 0x4e9ad movl $0x43e, %edx # imm = 0x43E callq 0x141d0
/Tigermouthbear[P]flappytiger/external/glfw/src/window.c
glfwPlatformTerminate
void _glfwPlatformTerminate(void) { if (_glfw.x11.helperWindowHandle) { if (XGetSelectionOwner(_glfw.x11.display, _glfw.x11.CLIPBOARD) == _glfw.x11.helperWindowHandle) { _glfwPushSelectionToManagerX11(); } XDestroyWindow(_glfw.x11.display, _glfw.x11.helperWindowHandle); _glfw.x11.helperWindowHandle = None; } if (_glfw.x11.hiddenCursorHandle) { XFreeCursor(_glfw.x11.display, _glfw.x11.hiddenCursorHandle); _glfw.x11.hiddenCursorHandle = (Cursor) 0; } free(_glfw.x11.primarySelectionString); free(_glfw.x11.clipboardString); if (_glfw.x11.im) { XCloseIM(_glfw.x11.im); _glfw.x11.im = NULL; } if (_glfw.x11.display) { XCloseDisplay(_glfw.x11.display); _glfw.x11.display = NULL; } if (_glfw.x11.x11xcb.handle) { _glfw_dlclose(_glfw.x11.x11xcb.handle); _glfw.x11.x11xcb.handle = NULL; } if (_glfw.x11.xcursor.handle) { _glfw_dlclose(_glfw.x11.xcursor.handle); _glfw.x11.xcursor.handle = NULL; } if (_glfw.x11.randr.handle) { _glfw_dlclose(_glfw.x11.randr.handle); _glfw.x11.randr.handle = NULL; } if (_glfw.x11.xinerama.handle) { _glfw_dlclose(_glfw.x11.xinerama.handle); _glfw.x11.xinerama.handle = NULL; } if (_glfw.x11.xrender.handle) { _glfw_dlclose(_glfw.x11.xrender.handle); _glfw.x11.xrender.handle = NULL; } if (_glfw.x11.vidmode.handle) { _glfw_dlclose(_glfw.x11.vidmode.handle); _glfw.x11.vidmode.handle = NULL; } if (_glfw.x11.xi.handle) { _glfw_dlclose(_glfw.x11.xi.handle); _glfw.x11.xi.handle = NULL; } // NOTE: These need to be unloaded after XCloseDisplay, as they register // cleanup callbacks that get called by that function _glfwTerminateEGL(); _glfwTerminateGLX(); #if defined(__linux__) _glfwTerminateJoysticksLinux(); #endif }
pushq %rbx leaq 0x365e4(%rip), %rbx # 0x5aa10 cmpq $0x0, 0x1fee0(%rbx) je 0x24475 movq 0x1fec0(%rbx), %rdi movq 0x20c08(%rbx), %rsi callq 0x149b0 cmpq 0x1fee0(%rbx), %rax jne 0x24457 callq 0x25648 movq 0x1fec0(%rbx), %rdi movq 0x1fee0(%rbx), %rsi callq 0x143f0 movq $0x0, 0x1fee0(%rbx) movq 0x1fee8(%rbx), %rsi testq %rsi, %rsi je 0x24498 movq 0x1fec0(%rbx), %rdi callq 0x140a0 movq $0x0, 0x1fee8(%rbx) movq 0x1ff08(%rbx), %rdi callq 0x143c0 movq 0x1ff10(%rbx), %rdi callq 0x143c0 movq 0x1fef8(%rbx), %rdi testq %rdi, %rdi je 0x244cc callq 0x14970 movq $0x0, 0x1fef8(%rbx) movq 0x1fec0(%rbx), %rdi testq %rdi, %rdi je 0x244e8 callq 0x14400 movq $0x0, 0x1fec0(%rbx) movq 0x20da0(%rbx), %rdi testq %rdi, %rdi je 0x24504 callq 0x14a20 movq $0x0, 0x20da0(%rbx) movq 0x20d50(%rbx), %rdi testq %rdi, %rdi je 0x24520 callq 0x14a20 movq $0x0, 0x20d50(%rbx) movq 0x20c58(%rbx), %rdi testq %rdi, %rdi je 0x2453c callq 0x14a20 movq $0x0, 0x20c58(%rbx) movq 0x20d78(%rbx), %rdi testq %rdi, %rdi je 0x24558 callq 0x14a20 movq $0x0, 0x20d78(%rbx) movq 0x20e28(%rbx), %rdi testq %rdi, %rdi je 0x24574 callq 0x14a20 movq $0x0, 0x20e28(%rbx) movq 0x20db8(%rbx), %rdi testq %rdi, %rdi je 0x24590 callq 0x14a20 movq $0x0, 0x20db8(%rbx) movq 0x20df0(%rbx), %rdi testq %rdi, %rdi je 0x245ac callq 0x14a20 movq $0x0, 0x20df0(%rbx) callq 0x2b544 callq 0x2a67b popq %rbx jmp 0x2ced8
/Tigermouthbear[P]flappytiger/external/glfw/src/x11_init.c
glfwPlatformSetGammaRamp
void _glfwPlatformSetGammaRamp(_GLFWmonitor* monitor, const GLFWgammaramp* ramp) { if (_glfw.x11.randr.available && !_glfw.x11.randr.gammaBroken) { if (XRRGetCrtcGammaSize(_glfw.x11.display, monitor->x11.crtc) != ramp->size) { _glfwInputError(GLFW_PLATFORM_ERROR, "X11: Gamma ramp size must match current ramp size"); return; } XRRCrtcGamma* gamma = XRRAllocGamma(ramp->size); memcpy(gamma->red, ramp->red, ramp->size * sizeof(unsigned short)); memcpy(gamma->green, ramp->green, ramp->size * sizeof(unsigned short)); memcpy(gamma->blue, ramp->blue, ramp->size * sizeof(unsigned short)); XRRSetCrtcGamma(_glfw.x11.display, monitor->x11.crtc, gamma); XRRFreeGamma(gamma); } else if (_glfw.x11.vidmode.available) { XF86VidModeSetGammaRamp(_glfw.x11.display, _glfw.x11.screen, ramp->size, (unsigned short*) ramp->red, (unsigned short*) ramp->green, (unsigned short*) ramp->blue); } else { _glfwInputError(GLFW_PLATFORM_ERROR, "X11: Gamma ramp access not supported by server"); } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx leaq 0x355d0(%rip), %rcx # 0x5aa10 cmpl $0x0, 0x20c50(%rcx) je 0x254f5 cmpl $0x0, 0x20c70(%rcx) jne 0x254f5 movq %rdi, %r14 movq 0x1fec0(%rcx), %rdi movq 0x90(%r14), %rsi movq %rcx, %r15 callq *0x20ca8(%rcx) movl 0x18(%rbx), %edi cmpl %edi, %eax jne 0x2552d movq %r15, %r12 callq *0x20c78(%r15) movq %rax, %r15 movq 0x8(%rax), %rdi movq (%rbx), %rsi movl 0x18(%rbx), %edx addq %rdx, %rdx callq 0x149a0 movq 0x10(%r15), %rdi movq 0x8(%rbx), %rsi movl 0x18(%rbx), %edx addq %rdx, %rdx callq 0x149a0 movq 0x18(%r15), %rdi movq 0x10(%rbx), %rsi movl 0x18(%rbx), %edx addq %rdx, %rdx callq 0x149a0 movq 0x1fec0(%r12), %rdi movq 0x90(%r14), %rsi movq %r15, %rdx callq *0x20cf0(%r12) movq %r15, %rdi movq %r12, %rax addq $0x8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 jmpq *0x20c88(%rax) cmpl $0x0, 0x20db0(%rcx) je 0x25536 movq 0x20dd8(%rcx), %rax movq 0x1fec0(%rcx), %rdi movl 0x1fec8(%rcx), %esi movl 0x18(%rbx), %edx movq (%rbx), %rcx movq 0x8(%rbx), %r8 movq 0x10(%rbx), %r9 addq $0x8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 jmpq *%rax leaq 0x2a0db(%rip), %rsi # 0x4f60f jmp 0x2553d leaq 0x2a0a3(%rip), %rsi # 0x4f5e0 movl $0x10008, %edi # imm = 0x10008 xorl %eax, %eax addq $0x8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 jmp 0x1cdad
/Tigermouthbear[P]flappytiger/external/glfw/src/x11_monitor.c
updateWindowMode
static void updateWindowMode(_GLFWwindow* window) { if (window->monitor) { if (_glfw.x11.xinerama.available && _glfw.x11.NET_WM_FULLSCREEN_MONITORS) { sendEventToWM(window, _glfw.x11.NET_WM_FULLSCREEN_MONITORS, window->monitor->x11.index, window->monitor->x11.index, window->monitor->x11.index, window->monitor->x11.index, 0); } if (_glfw.x11.NET_WM_STATE && _glfw.x11.NET_WM_STATE_FULLSCREEN) { sendEventToWM(window, _glfw.x11.NET_WM_STATE, _NET_WM_STATE_ADD, _glfw.x11.NET_WM_STATE_FULLSCREEN, 0, 1, 0); } else { // This is the butcher's way of removing window decorations // Setting the override-redirect attribute on a window makes the // window manager ignore the window completely (ICCCM, section 4) // The good thing is that this makes undecorated full screen windows // easy to do; the bad thing is that we have to do everything // manually and some things (like iconify/restore) won't work at // all, as those are tasks usually performed by the window manager XSetWindowAttributes attributes; attributes.override_redirect = True; XChangeWindowAttributes(_glfw.x11.display, window->x11.handle, CWOverrideRedirect, &attributes); window->x11.overrideRedirect = GLFW_TRUE; } // Enable compositor bypass if (!window->x11.transparent) { const unsigned long value = 1; XChangeProperty(_glfw.x11.display, window->x11.handle, _glfw.x11.NET_WM_BYPASS_COMPOSITOR, XA_CARDINAL, 32, PropModeReplace, (unsigned char*) &value, 1); } } else { if (_glfw.x11.xinerama.available && _glfw.x11.NET_WM_FULLSCREEN_MONITORS) { XDeleteProperty(_glfw.x11.display, window->x11.handle, _glfw.x11.NET_WM_FULLSCREEN_MONITORS); } if (_glfw.x11.NET_WM_STATE && _glfw.x11.NET_WM_STATE_FULLSCREEN) { sendEventToWM(window, _glfw.x11.NET_WM_STATE, _NET_WM_STATE_REMOVE, _glfw.x11.NET_WM_STATE_FULLSCREEN, 0, 1, 0); } else { XSetWindowAttributes attributes; attributes.override_redirect = False; XChangeWindowAttributes(_glfw.x11.display, window->x11.handle, CWOverrideRedirect, &attributes); window->x11.overrideRedirect = GLFW_FALSE; } // Disable compositor bypass if (!window->x11.transparent) { XDeleteProperty(_glfw.x11.display, window->x11.handle, _glfw.x11.NET_WM_BYPASS_COMPOSITOR); } } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rdi, %rbx movq 0x40(%rdi), %rax leaq 0x3463f(%rip), %r12 # 0x5aa10 cmpl $0x0, 0x20d70(%r12) setne %dl movq 0x20b58(%r12), %r14 testq %r14, %r14 setne %cl andb %dl, %cl testq %rax, %rax je 0x26502 testb %cl, %cl je 0x2646a movslq 0xa0(%rax), %r13 leaq 0x8(%rsp), %r15 movl $0xc0, %edx movq %r15, %rdi xorl %esi, %esi callq 0x140e0 movl $0x21, (%r15) movq 0x348(%rbx), %rax movq %rax, 0x20(%r15) movl $0x20, 0x30(%r15) movq %r14, 0x28(%r15) movq %r13, 0x38(%r15) movq %r13, 0x40(%r15) movq %r13, 0x48(%r15) movq %r13, 0x50(%r15) movq $0x0, 0x58(%r15) movq 0x1fec0(%r12), %rdi movq 0x1fed0(%r12), %rsi movl $0x180000, %ecx # imm = 0x180000 xorl %edx, %edx movq %r15, %r8 callq 0x14660 movq 0x20b20(%r12), %r13 movq 0x20b30(%r12), %r15 testq %r13, %r13 setne %al testq %r15, %r15 setne %cl andb %al, %cl cmpb $0x1, %cl jne 0x265b4 leaq 0x8(%rsp), %r14 xorl %ebp, %ebp movl $0xc0, %edx movq %r14, %rdi xorl %esi, %esi callq 0x140e0 movl $0x21, (%r14) movq 0x348(%rbx), %rax movq %rax, 0x20(%r14) movl $0x20, 0x30(%r14) movq %r13, 0x28(%r14) movl $0x1, %eax movq %rax, 0x38(%r14) movq %r15, 0x40(%r14) movq %rbp, 0x48(%r14) movq %rax, 0x50(%r14) movq %rbp, 0x58(%r14) movq 0x1fec0(%r12), %rdi movq 0x1fed0(%r12), %rsi movl $0x180000, %ecx # imm = 0x180000 xorl %edx, %edx movq %r14, %r8 callq 0x14660 jmp 0x265e0 testb %cl, %cl je 0x2651d movq 0x1fec0(%r12), %rdi movq 0x348(%rbx), %rsi movq %r14, %rdx callq 0x143d0 movq 0x20b20(%r12), %r13 movq 0x20b30(%r12), %r15 testq %r13, %r13 setne %al testq %r15, %r15 setne %cl andb %al, %cl cmpb $0x1, %cl jne 0x2662c leaq 0x8(%rsp), %r14 xorl %ebp, %ebp movl $0xc0, %edx movq %r14, %rdi xorl %esi, %esi callq 0x140e0 movl $0x21, (%r14) movq 0x348(%rbx), %rax movq %rax, 0x20(%r14) movl $0x20, 0x30(%r14) movq %r13, 0x28(%r14) movq %rbp, 0x38(%r14) movq %r15, 0x40(%r14) movq %rbp, 0x48(%r14) movq $0x1, 0x50(%r14) movq %rbp, 0x58(%r14) movq 0x1fec0(%r12), %rdi movq 0x1fed0(%r12), %rsi movl $0x180000, %ecx # imm = 0x180000 xorl %edx, %edx movq %r14, %r8 callq 0x14660 jmp 0x26655 movl $0x1, %ebp leaq 0x8(%rsp), %rcx movl %ebp, 0x58(%rcx) movq 0x1fec0(%r12), %rdi movq 0x348(%rbx), %rsi movl $0x200, %edx # imm = 0x200 callq 0x14a10 movl %ebp, 0x360(%rbx) cmpl $0x0, 0x36c(%rbx) jne 0x2667a leaq 0x8(%rsp), %rax movq $0x1, (%rax) movq 0x1fec0(%r12), %rdi movq 0x348(%rbx), %rsi movq 0x20b50(%r12), %rdx movl $0x6, %ecx movl $0x20, %r8d xorl %r9d, %r9d pushq $0x1 pushq %rax callq 0x14890 addq $0x10, %rsp jmp 0x2667a xorl %ebp, %ebp leaq 0x8(%rsp), %rcx movl %ebp, 0x58(%rcx) movq 0x1fec0(%r12), %rdi movq 0x348(%rbx), %rsi movl $0x200, %edx # imm = 0x200 callq 0x14a10 movl %ebp, 0x360(%rbx) cmpl $0x0, 0x36c(%rbx) jne 0x2667a movq 0x1fec0(%r12), %rdi movq 0x348(%rbx), %rsi movq 0x20b50(%r12), %rdx callq 0x143d0 addq $0xc8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq
/Tigermouthbear[P]flappytiger/external/glfw/src/x11_window.c