; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/assume @ 0x4204a0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_1048576____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_1048576__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_1048576_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_1048576_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<1048576> const&, BloombergLP::bslma::Allocator*) */ 0x004204a0 push rbp | 0x004204a1 push r15 | 0x004204a3 push r14 | 0x004204a5 push r13 | 0x004204a7 push r12 | 0x004204a9 push rbx | 0x004204aa push rax | 0x004204ab mov r14, rcx | r14 = rcx; 0x004204ae mov r15, rsi | r15 = rsi; 0x004204b1 mov r12, rdi | r12 = rdi; 0x004204b4 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x004204b8 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x004204bd je 0x4204c5 | 0x004204bf mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x004204c3 jmp 0x4204c9 | | } else { 0x004204c5 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x004204c9 mov rax, qword [r14] | rax = *(r14); 0x004204cc mov esi, 0x40 | esi = 0x40; 0x004204d1 mov rdi, r14 | rdi = r14; 0x004204d4 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x004204d7 mov rbx, rax | rbx = rax; 0x004204da mov qword [rax], 0x4205e0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_1048576___.invokerFunction_void_; 0x004204e1 lea rdi, [rax + 0x10] | 0x004204e5 mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x004204ed mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x004204f1 movaps xmm0, xmmword [rip + 0x10b78] | xmm0 = .comment; 0x004204f8 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x004204fc mov ecx, 0x4327df | 0x00420501 mov rsi, rbp | 0x00420504 mov rdx, r13 | 0x00420507 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"); 0x0042050c mov edx, 0x4227b0 | 0x00420511 mov rdi, r12 | 0x00420514 mov rsi, r15 | 0x00420517 mov rcx, rbx | 0x0042051a call 0x422e20 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0042051f mov ebp, eax | 0x00420521 test eax, eax | | if (eax != 0) { 0x00420523 je 0x42054e | 0x00420525 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0042052a je 0x42053a | 0x0042052c mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x00420530 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x00420534 mov rax, qword [rdi] | rax = *(rdi); 0x00420537 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042053a mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x00420542 mov rax, qword [r14] | rax = *(r14); 0x00420545 mov rdi, r14 | rdi = r14; 0x00420548 mov rsi, rbx | rsi = rbx; 0x0042054b call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042054e mov eax, ebp | eax = ebp; 0x00420550 add rsp, 8 | 0x00420554 pop rbx | 0x00420555 pop r12 | 0x00420557 pop r13 | 0x00420559 pop r14 | 0x0042055b pop r15 | 0x0042055d pop rbp | 0x0042055e ret | return rax; | }