; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x419050 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_3072____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_3072__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_3072_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_3072_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<3072> const&, BloombergLP::bslma::Allocator*) */ 0x00419050 push rbp | 0x00419051 push r15 | 0x00419053 push r14 | 0x00419055 push r13 | 0x00419057 push r12 | 0x00419059 push rbx | 0x0041905a push rax | 0x0041905b mov r14, rcx | r14 = rcx; 0x0041905e mov r15, rsi | r15 = rsi; 0x00419061 mov r12, rdi | r12 = rdi; 0x00419064 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x00419069 je 0x419071 | 0x0041906b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041906f jmp 0x419075 | | } else { 0x00419071 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x00419075 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x00419079 test r14, r14 | | if (r14 == 0) { 0x0041907c jne 0x419092 | 0x0041907e mov r14, qword [rip + 0x22ba2b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x00419085 test r14, r14 | | if (r14 != 0) { 0x00419088 jne 0x419092 | goto label_0; | } 0x0041908a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041908f mov r14, rax | r14 = rax; | } | label_0: 0x00419092 mov rax, qword [r14] | rax = *(r14); 0x00419095 mov esi, 0x40 | esi = 0x40; 0x0041909a mov rdi, r14 | rdi = r14; 0x0041909d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x004190a0 mov rbx, rax | rbx = rax; 0x004190a3 mov qword [rax], 0x4191a0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_3072___.invokerFunction_void_; 0x004190aa lea rdi, [rax + 0x10] | 0x004190ae mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x004190b6 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x004190ba movaps xmm0, xmmword [rip + 0x184df] | xmm0 = .comment; 0x004190c1 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x004190c5 mov ecx, 0x432d0b | 0x004190ca mov rsi, r13 | 0x004190cd mov rdx, rbp | 0x004190d0 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"); 0x004190d5 mov edx, 0x422cd0 | 0x004190da mov rdi, r12 | 0x004190dd mov rsi, r15 | 0x004190e0 mov rcx, rbx | 0x004190e3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x004190e8 mov ebp, eax | 0x004190ea test eax, eax | | if (eax != 0) { 0x004190ec je 0x419117 | 0x004190ee cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x004190f3 je 0x419103 | 0x004190f5 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x004190f9 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x004190fd mov rax, qword [rdi] | rax = *(rdi); 0x00419100 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00419103 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041910b mov rax, qword [r14] | rax = *(r14); 0x0041910e mov rdi, r14 | rdi = r14; 0x00419111 mov rsi, rbx | rsi = rbx; 0x00419114 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00419117 mov eax, ebp | eax = ebp; 0x00419119 add rsp, 8 | 0x0041911d pop rbx | 0x0041911e pop r12 | 0x00419120 pop r13 | 0x00419122 pop r14 | 0x00419124 pop r15 | 0x00419126 pop rbp | 0x00419127 ret | return rax; | }