; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41b9e0 */ | #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_ () | uint64_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*) */ 0x0041b9e0 push rbp | 0x0041b9e1 push r15 | 0x0041b9e3 push r14 | 0x0041b9e5 push r13 | 0x0041b9e7 push r12 | 0x0041b9e9 push rbx | 0x0041b9ea push rax | 0x0041b9eb mov r14, rcx | r14 = rcx; 0x0041b9ee mov r15, rsi | r15 = rsi; 0x0041b9f1 mov r12, rdi | r12 = rdi; 0x0041b9f4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041b9f9 je 0x41ba01 | 0x0041b9fb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041b9ff jmp 0x41ba05 | | } else { 0x0041ba01 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041ba05 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041ba09 test r14, r14 | | if (r14 == 0) { 0x0041ba0c jne 0x41ba22 | 0x0041ba0e mov r14, qword [rip + 0x22909b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041ba15 test r14, r14 | | if (r14 != 0) { 0x0041ba18 jne 0x41ba22 | goto label_0; | } 0x0041ba1a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041ba1f mov r14, rax | r14 = rax; | } | label_0: 0x0041ba22 mov rax, qword [r14] | rax = *(r14); 0x0041ba25 mov esi, 0x40 | esi = 0x40; 0x0041ba2a mov rdi, r14 | rdi = r14; 0x0041ba2d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041ba30 mov rbx, rax | rbx = rax; 0x0041ba33 mov qword [rax], 0x41bb30 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_40960___.invokerFunction_void_; 0x0041ba3a lea rdi, [rax + 0x10] | 0x0041ba3e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041ba46 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041ba4a movaps xmm0, xmmword [rip + 0x15b4f] | xmm0 = .comment; 0x0041ba51 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041ba55 mov ecx, 0x432d0b | 0x0041ba5a mov rsi, r13 | 0x0041ba5d mov rdx, rbp | 0x0041ba60 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"); 0x0041ba65 mov edx, 0x422cd0 | 0x0041ba6a mov rdi, r12 | 0x0041ba6d mov rsi, r15 | 0x0041ba70 mov rcx, rbx | 0x0041ba73 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041ba78 mov ebp, eax | 0x0041ba7a test eax, eax | | if (eax != 0) { 0x0041ba7c je 0x41baa7 | 0x0041ba7e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041ba83 je 0x41ba93 | 0x0041ba85 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041ba89 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041ba8d mov rax, qword [rdi] | rax = *(rdi); 0x0041ba90 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041ba93 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041ba9b mov rax, qword [r14] | rax = *(r14); 0x0041ba9e mov rdi, r14 | rdi = r14; 0x0041baa1 mov rsi, rbx | rsi = rbx; 0x0041baa4 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041baa7 mov eax, ebp | eax = ebp; 0x0041baa9 add rsp, 8 | 0x0041baad pop rbx | 0x0041baae pop r12 | 0x0041bab0 pop r13 | 0x0041bab2 pop r14 | 0x0041bab4 pop r15 | 0x0041bab6 pop rbp | 0x0041bab7 ret | return rax; | }