; assembly | /* r2dec pseudo code output */ | /* balm_metricsmanager.t/none @ 0x42b4a0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf.MemFnInstance_void__LockAndModifyWorker::_____LockAndModifyWorker____unsigned_long__BloombergLP::bdlf::MemFnInstance_void__LockAndModifyWorker::_____LockAndModifyWorker () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf_MemFnInstance_void_LockAndModifyWorker::_LockAndModifyWorker_unsigned_long_BloombergLP::bdlf::MemFnInstance_void_LockAndModifyWorker::_LockAndModifyWorker (int64_t arg3, int64_t arg2, uint32_t arg1) { | int64_t var_18h; | uint32_t var_38h; | int64_t var_40h; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator >(unsigned long*, BloombergLP::bdlf::MemFnInstance const&, BloombergLP::bslma::Allocator*) */ 0x0042b4a0 push rbp | 0x0042b4a1 push r15 | 0x0042b4a3 push r14 | 0x0042b4a5 push rbx | 0x0042b4a6 sub rsp, 0x48 | 0x0042b4aa mov r14, rdx | r14 = rdx; 0x0042b4ad mov rbp, rsi | 0x0042b4b0 mov r15, rdi | r15 = rdi; 0x0042b4b3 test rdx, rdx | | if (rdx == 0) { 0x0042b4b6 jne 0x42b4cc | 0x0042b4b8 mov r14, qword [rip + 0x27ccb9] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0042b4bf test r14, r14 | | if (r14 != 0) { 0x0042b4c2 jne 0x42b4cc | goto label_0; | } 0x0042b4c4 call 0x442310 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0042b4c9 mov r14, rax | r14 = rax; | } | label_0: 0x0042b4cc mov rax, qword [r14] | rax = *(r14); 0x0042b4cf mov esi, 0x50 | esi = 0x50; 0x0042b4d4 mov rdi, r14 | rdi = r14; 0x0042b4d7 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0042b4da mov rbx, rax | rbx = rax; 0x0042b4dd mov qword [rax], 0x42b630 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf.MemFnInstance_void__LockAndModifyWorker::_____LockAndModifyWorker___::invokerFunction_void_; 0x0042b4e4 movups xmm0, xmmword [rbp] | __asm ("movups xmm0, xmmword [rbp]"); 0x0042b4e8 movups xmmword [rax + 8], xmm0 | __asm ("movups xmmword [rax + 8], xmm0"); 0x0042b4ec mov rax, qword [rbp + 0x10] | rax = *((rbp + 0x10)); 0x0042b4f0 mov qword [rbx + 0x18], rax | *((rbx + 0x18)) = rax; 0x0042b4f4 lea rdi, [rbx + 0x20] | 0x0042b4f8 mov qword [rbx + 0x20], 0 | *((rbx + 0x20)) = 0; 0x0042b500 mov qword [rbx + 0x48], r14 | *((rbx + 0x48)) = r14; 0x0042b504 movaps xmm0, xmmword [rip + 0x3ebf5] | xmm0 = .comment; 0x0042b50b movups xmmword [rbx + 0x38], xmm0 | __asm ("movups xmmword [rbx + 0x38], xmm0"); 0x0042b50f mov ecx, 0x46e9a4 | 0x0042b514 xor esi, esi | 0x0042b516 xor edx, edx | 0x0042b518 call 0x446f70 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x20, 0, 0, "string<...>::assign(i,j): string too long"); 0x0042b51d mov rdi, rsp | 0x0042b520 call 0x443760 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x0042b525 mov rsi, rsp | 0x0042b528 mov edx, 0x443510 | 0x0042b52d mov rdi, r15 | 0x0042b530 mov rcx, rbx | 0x0042b533 call 0x443c50 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0042b538 mov ebp, eax | 0x0042b53a cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x0042b540 je 0x42b552 | 0x0042b542 mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x0042b547 mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x0042b54c mov rax, qword [rdi] | rax = *(rdi); 0x0042b54f call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042b552 test ebp, ebp | | if (ebp != 0) { 0x0042b554 je 0x42b57f | 0x0042b556 cmp qword [rbx + 0x40], 0x17 | | if (*((rbx + 0x40)) != 0x17) { 0x0042b55b je 0x42b56b | 0x0042b55d mov rsi, qword [rbx + 0x20] | rsi = *((rbx + 0x20)); 0x0042b561 mov rdi, qword [rbx + 0x48] | rdi = *((rbx + 0x48)); 0x0042b565 mov rax, qword [rdi] | rax = *(rdi); 0x0042b568 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042b56b mov qword [rbx + 0x38], 0xffffffffffffffff | *((rbx + 0x38)) = 0xffffffffffffffff; 0x0042b573 mov rax, qword [r14] | rax = *(r14); 0x0042b576 mov rdi, r14 | rdi = r14; 0x0042b579 mov rsi, rbx | rsi = rbx; 0x0042b57c call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042b57f mov eax, ebp | eax = ebp; 0x0042b581 add rsp, 0x48 | 0x0042b585 pop rbx | 0x0042b586 pop r14 | 0x0042b588 pop r15 | 0x0042b58a pop rbp | 0x0042b58b ret | return rax; | }