; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41b7b0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_36864____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_36864__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_36864_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_36864_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<36864> const&, BloombergLP::bslma::Allocator*) */ 0x0041b7b0 push rbp | 0x0041b7b1 push r15 | 0x0041b7b3 push r14 | 0x0041b7b5 push r13 | 0x0041b7b7 push r12 | 0x0041b7b9 push rbx | 0x0041b7ba push rax | 0x0041b7bb mov r14, rcx | r14 = rcx; 0x0041b7be mov r15, rsi | r15 = rsi; 0x0041b7c1 mov r12, rdi | r12 = rdi; 0x0041b7c4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041b7c9 je 0x41b7d1 | 0x0041b7cb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041b7cf jmp 0x41b7d5 | | } else { 0x0041b7d1 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041b7d5 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041b7d9 test r14, r14 | | if (r14 == 0) { 0x0041b7dc jne 0x41b7f2 | 0x0041b7de mov r14, qword [rip + 0x2292cb] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041b7e5 test r14, r14 | | if (r14 != 0) { 0x0041b7e8 jne 0x41b7f2 | goto label_0; | } 0x0041b7ea call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041b7ef mov r14, rax | r14 = rax; | } | label_0: 0x0041b7f2 mov rax, qword [r14] | rax = *(r14); 0x0041b7f5 mov esi, 0x40 | esi = 0x40; 0x0041b7fa mov rdi, r14 | rdi = r14; 0x0041b7fd call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041b800 mov rbx, rax | rbx = rax; 0x0041b803 mov qword [rax], 0x41b900 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_36864___.invokerFunction_void_; 0x0041b80a lea rdi, [rax + 0x10] | 0x0041b80e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041b816 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041b81a movaps xmm0, xmmword [rip + 0x15d7f] | xmm0 = .comment; 0x0041b821 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041b825 mov ecx, 0x432d0b | 0x0041b82a mov rsi, r13 | 0x0041b82d mov rdx, rbp | 0x0041b830 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"); 0x0041b835 mov edx, 0x422cd0 | 0x0041b83a mov rdi, r12 | 0x0041b83d mov rsi, r15 | 0x0041b840 mov rcx, rbx | 0x0041b843 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041b848 mov ebp, eax | 0x0041b84a test eax, eax | | if (eax != 0) { 0x0041b84c je 0x41b877 | 0x0041b84e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041b853 je 0x41b863 | 0x0041b855 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041b859 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041b85d mov rax, qword [rdi] | rax = *(rdi); 0x0041b860 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041b863 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041b86b mov rax, qword [r14] | rax = *(r14); 0x0041b86e mov rdi, r14 | rdi = r14; 0x0041b871 mov rsi, rbx | rsi = rbx; 0x0041b874 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041b877 mov eax, ebp | eax = ebp; 0x0041b879 add rsp, 8 | 0x0041b87d pop rbx | 0x0041b87e pop r12 | 0x0041b880 pop r13 | 0x0041b882 pop r14 | 0x0041b884 pop r15 | 0x0041b886 pop rbp | 0x0041b887 ret | return rax; | }