; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41e140 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_98304____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_98304__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_98304_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_98304_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<98304> const&, BloombergLP::bslma::Allocator*) */ 0x0041e140 push rbp | 0x0041e141 push r15 | 0x0041e143 push r14 | 0x0041e145 push r13 | 0x0041e147 push r12 | 0x0041e149 push rbx | 0x0041e14a push rax | 0x0041e14b mov r14, rcx | r14 = rcx; 0x0041e14e mov r15, rsi | r15 = rsi; 0x0041e151 mov r12, rdi | r12 = rdi; 0x0041e154 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041e159 je 0x41e161 | 0x0041e15b mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041e15f jmp 0x41e165 | | } else { 0x0041e161 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041e165 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041e169 test r14, r14 | | if (r14 == 0) { 0x0041e16c jne 0x41e182 | 0x0041e16e mov r14, qword [rip + 0x22693b] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041e175 test r14, r14 | | if (r14 != 0) { 0x0041e178 jne 0x41e182 | goto label_0; | } 0x0041e17a call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041e17f mov r14, rax | r14 = rax; | } | label_0: 0x0041e182 mov rax, qword [r14] | rax = *(r14); 0x0041e185 mov esi, 0x40 | esi = 0x40; 0x0041e18a mov rdi, r14 | rdi = r14; 0x0041e18d call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041e190 mov rbx, rax | rbx = rax; 0x0041e193 mov qword [rax], 0x41e290 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_98304___.invokerFunction_void_; 0x0041e19a lea rdi, [rax + 0x10] | 0x0041e19e mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041e1a6 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041e1aa movaps xmm0, xmmword [rip + 0x133ef] | xmm0 = .comment; 0x0041e1b1 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041e1b5 mov ecx, 0x432d0b | 0x0041e1ba mov rsi, r13 | 0x0041e1bd mov rdx, rbp | 0x0041e1c0 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"); 0x0041e1c5 mov edx, 0x422cd0 | 0x0041e1ca mov rdi, r12 | 0x0041e1cd mov rsi, r15 | 0x0041e1d0 mov rcx, rbx | 0x0041e1d3 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041e1d8 mov ebp, eax | 0x0041e1da test eax, eax | | if (eax != 0) { 0x0041e1dc je 0x41e207 | 0x0041e1de cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041e1e3 je 0x41e1f3 | 0x0041e1e5 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041e1e9 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041e1ed mov rax, qword [rdi] | rax = *(rdi); 0x0041e1f0 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041e1f3 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041e1fb mov rax, qword [r14] | rax = *(r14); 0x0041e1fe mov rdi, r14 | rdi = r14; 0x0041e201 mov rsi, rbx | rsi = rbx; 0x0041e204 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041e207 mov eax, ebp | eax = ebp; 0x0041e209 add rsp, 8 | 0x0041e20d pop rbx | 0x0041e20e pop r12 | 0x0041e210 pop r13 | 0x0041e212 pop r14 | 0x0041e214 pop r15 | 0x0041e216 pop rbp | 0x0041e217 ret | return rax; | }