; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41ee60 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_122880____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_122880__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_122880_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_122880_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<122880> const&, BloombergLP::bslma::Allocator*) */ 0x0041ee60 push rbp | 0x0041ee61 push r15 | 0x0041ee63 push r14 | 0x0041ee65 push r13 | 0x0041ee67 push r12 | 0x0041ee69 push rbx | 0x0041ee6a push rax | 0x0041ee6b mov r14, rcx | r14 = rcx; 0x0041ee6e mov r15, rsi | r15 = rsi; 0x0041ee71 mov r12, rdi | r12 = rdi; 0x0041ee74 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041ee79 je 0x41ee81 | 0x0041ee7b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041ee7f jmp 0x41ee85 | | } else { 0x0041ee81 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041ee85 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041ee89 test r14, r14 | | if (r14 == 0) { 0x0041ee8c jne 0x41eea2 | 0x0041ee8e mov r14, qword [rip + 0x225c1b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041ee95 test r14, r14 | | if (r14 != 0) { 0x0041ee98 jne 0x41eea2 | goto label_0; | } 0x0041ee9a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041ee9f mov r14, rax | r14 = rax; | } | label_0: 0x0041eea2 mov rax, qword [r14] | rax = *(r14); 0x0041eea5 mov esi, 0x40 | esi = 0x40; 0x0041eeaa mov rdi, r14 | rdi = r14; 0x0041eead call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041eeb0 mov rbx, rax | rbx = rax; 0x0041eeb3 mov qword [rax], 0x41efb0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_122880___.invokerFunction_void_; 0x0041eeba lea rdi, [rax + 0x10] | 0x0041eebe mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041eec6 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041eeca movaps xmm0, xmmword [rip + 0x126cf] | xmm0 = .comment; 0x0041eed1 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041eed5 mov ecx, 0x432d0b | 0x0041eeda mov rsi, r13 | 0x0041eedd mov rdx, rbp | 0x0041eee0 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"); 0x0041eee5 mov edx, 0x422cd0 | 0x0041eeea mov rdi, r12 | 0x0041eeed mov rsi, r15 | 0x0041eef0 mov rcx, rbx | 0x0041eef3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041eef8 mov ebp, eax | 0x0041eefa test eax, eax | | if (eax != 0) { 0x0041eefc je 0x41ef27 | 0x0041eefe cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041ef03 je 0x41ef13 | 0x0041ef05 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041ef09 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041ef0d mov rax, qword [rdi] | rax = *(rdi); 0x0041ef10 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041ef13 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041ef1b mov rax, qword [r14] | rax = *(r14); 0x0041ef1e mov rdi, r14 | rdi = r14; 0x0041ef21 mov rsi, rbx | rsi = rbx; 0x0041ef24 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041ef27 mov eax, ebp | eax = ebp; 0x0041ef29 add rsp, 8 | 0x0041ef2d pop rbx | 0x0041ef2e pop r12 | 0x0041ef30 pop r13 | 0x0041ef32 pop r14 | 0x0041ef34 pop r15 | 0x0041ef36 pop rbp | 0x0041ef37 ret | return rax; | }