; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/assume @ 0x41b820 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_40960____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_40960__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_40960_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_40960_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<40960> const&, BloombergLP::bslma::Allocator*) */ 0x0041b820 push rbp | 0x0041b821 push r15 | 0x0041b823 push r14 | 0x0041b825 push r13 | 0x0041b827 push r12 | 0x0041b829 push rbx | 0x0041b82a push rax | 0x0041b82b mov r14, rcx | r14 = rcx; 0x0041b82e mov r15, rsi | r15 = rsi; 0x0041b831 mov r12, rdi | r12 = rdi; 0x0041b834 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0041b838 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041b83d je 0x41b845 | 0x0041b83f mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x0041b843 jmp 0x41b849 | | } else { 0x0041b845 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0041b849 mov rax, qword [r14] | rax = *(r14); 0x0041b84c mov esi, 0x40 | esi = 0x40; 0x0041b851 mov rdi, r14 | rdi = r14; 0x0041b854 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041b857 mov rbx, rax | rbx = rax; 0x0041b85a mov qword [rax], 0x41b960 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_40960___.invokerFunction_void_; 0x0041b861 lea rdi, [rax + 0x10] | 0x0041b865 mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041b86d mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041b871 movaps xmm0, xmmword [rip + 0x157f8] | xmm0 = .comment; 0x0041b878 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041b87c mov ecx, 0x4327df | 0x0041b881 mov rsi, rbp | 0x0041b884 mov rdx, r13 | 0x0041b887 call 0x424f70 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, rbp, r13, "string<...>::assign(i,j): string too long"); 0x0041b88c mov edx, 0x4227b0 | 0x0041b891 mov rdi, r12 | 0x0041b894 mov rsi, r15 | 0x0041b897 mov rcx, rbx | 0x0041b89a call 0x422e20 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041b89f mov ebp, eax | 0x0041b8a1 test eax, eax | | if (eax != 0) { 0x0041b8a3 je 0x41b8ce | 0x0041b8a5 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041b8aa je 0x41b8ba | 0x0041b8ac mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041b8b0 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041b8b4 mov rax, qword [rdi] | rax = *(rdi); 0x0041b8b7 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041b8ba mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041b8c2 mov rax, qword [r14] | rax = *(r14); 0x0041b8c5 mov rdi, r14 | rdi = r14; 0x0041b8c8 mov rsi, rbx | rsi = rbx; 0x0041b8cb call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041b8ce mov eax, ebp | eax = ebp; 0x0041b8d0 add rsp, 8 | 0x0041b8d4 pop rbx | 0x0041b8d5 pop r12 | 0x0041b8d7 pop r13 | 0x0041b8d9 pop r14 | 0x0041b8db pop r15 | 0x0041b8dd pop rbp | 0x0041b8de ret | return rax; | }