; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41f720 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_132096____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_132096__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_132096_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_132096_const_BloombergLP::bslma::Allocator_ (int64_t arg4, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, STACKSIZE_TEST_CASE_NAMESPACE::Func<132096> const&, BloombergLP::bslma::Allocator*) */ 0x0041f720 push rbp | 0x0041f721 push r15 | 0x0041f723 push r14 | 0x0041f725 push r13 | 0x0041f727 push r12 | 0x0041f729 push rbx | 0x0041f72a push rax | 0x0041f72b mov r14, rcx | r14 = rcx; 0x0041f72e mov r15, rsi | r15 = rsi; 0x0041f731 mov r12, rdi | r12 = rdi; 0x0041f734 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041f739 je 0x41f741 | 0x0041f73b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041f73f jmp 0x41f745 | | } else { 0x0041f741 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041f745 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041f749 test r14, r14 | | if (r14 == 0) { 0x0041f74c jne 0x41f762 | 0x0041f74e mov r14, qword [rip + 0x22535b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041f755 test r14, r14 | | if (r14 != 0) { 0x0041f758 jne 0x41f762 | goto label_0; | } 0x0041f75a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041f75f mov r14, rax | r14 = rax; | } | label_0: 0x0041f762 mov rax, qword [r14] | rax = *(r14); 0x0041f765 mov esi, 0x40 | esi = 0x40; 0x0041f76a mov rdi, r14 | rdi = r14; 0x0041f76d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041f770 mov rbx, rax | rbx = rax; 0x0041f773 mov qword [rax], 0x41f870 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_132096___.invokerFunction_void_; 0x0041f77a lea rdi, [rax + 0x10] | 0x0041f77e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041f786 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041f78a movaps xmm0, xmmword [rip + 0x11e0f] | xmm0 = .comment; 0x0041f791 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041f795 mov ecx, 0x432d0b | 0x0041f79a mov rsi, r13 | 0x0041f79d mov rdx, rbp | 0x0041f7a0 call 0x4254b0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, r13, rbp, "string<...>::assign(i,j): string too long"); 0x0041f7a5 mov edx, 0x422cd0 | 0x0041f7aa mov rdi, r12 | 0x0041f7ad mov rsi, r15 | 0x0041f7b0 mov rcx, rbx | 0x0041f7b3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041f7b8 mov ebp, eax | 0x0041f7ba test eax, eax | | if (eax != 0) { 0x0041f7bc je 0x41f7e7 | 0x0041f7be cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041f7c3 je 0x41f7d3 | 0x0041f7c5 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041f7c9 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041f7cd mov rax, qword [rdi] | rax = *(rdi); 0x0041f7d0 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041f7d3 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041f7db mov rax, qword [r14] | rax = *(r14); 0x0041f7de mov rdi, r14 | rdi = r14; 0x0041f7e1 mov rsi, rbx | rsi = rbx; 0x0041f7e4 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041f7e7 mov eax, ebp | eax = ebp; 0x0041f7e9 add rsp, 8 | 0x0041f7ed pop rbx | 0x0041f7ee pop r12 | 0x0041f7f0 pop r13 | 0x0041f7f2 pop r14 | 0x0041f7f4 pop r15 | 0x0041f7f6 pop rbp | 0x0041f7f7 ret | return rax; | }