; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41f090 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_126976____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_126976__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_126976_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_126976_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<126976> const&, BloombergLP::bslma::Allocator*) */ 0x0041f090 push rbp | 0x0041f091 push r15 | 0x0041f093 push r14 | 0x0041f095 push r13 | 0x0041f097 push r12 | 0x0041f099 push rbx | 0x0041f09a push rax | 0x0041f09b mov r14, rcx | r14 = rcx; 0x0041f09e mov r15, rsi | r15 = rsi; 0x0041f0a1 mov r12, rdi | r12 = rdi; 0x0041f0a4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041f0a9 je 0x41f0b1 | 0x0041f0ab mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041f0af jmp 0x41f0b5 | | } else { 0x0041f0b1 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041f0b5 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041f0b9 test r14, r14 | | if (r14 == 0) { 0x0041f0bc jne 0x41f0d2 | 0x0041f0be mov r14, qword [rip + 0x2259eb] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041f0c5 test r14, r14 | | if (r14 != 0) { 0x0041f0c8 jne 0x41f0d2 | goto label_0; | } 0x0041f0ca call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041f0cf mov r14, rax | r14 = rax; | } | label_0: 0x0041f0d2 mov rax, qword [r14] | rax = *(r14); 0x0041f0d5 mov esi, 0x40 | esi = 0x40; 0x0041f0da mov rdi, r14 | rdi = r14; 0x0041f0dd call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041f0e0 mov rbx, rax | rbx = rax; 0x0041f0e3 mov qword [rax], 0x41f1e0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_126976___.invokerFunction_void_; 0x0041f0ea lea rdi, [rax + 0x10] | 0x0041f0ee mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041f0f6 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041f0fa movaps xmm0, xmmword [rip + 0x1249f] | xmm0 = .comment; 0x0041f101 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041f105 mov ecx, 0x432d0b | 0x0041f10a mov rsi, r13 | 0x0041f10d mov rdx, rbp | 0x0041f110 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"); 0x0041f115 mov edx, 0x422cd0 | 0x0041f11a mov rdi, r12 | 0x0041f11d mov rsi, r15 | 0x0041f120 mov rcx, rbx | 0x0041f123 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041f128 mov ebp, eax | 0x0041f12a test eax, eax | | if (eax != 0) { 0x0041f12c je 0x41f157 | 0x0041f12e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041f133 je 0x41f143 | 0x0041f135 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041f139 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041f13d mov rax, qword [rdi] | rax = *(rdi); 0x0041f140 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041f143 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041f14b mov rax, qword [r14] | rax = *(r14); 0x0041f14e mov rdi, r14 | rdi = r14; 0x0041f151 mov rsi, rbx | rsi = rbx; 0x0041f154 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041f157 mov eax, ebp | eax = ebp; 0x0041f159 add rsp, 8 | 0x0041f15d pop rbx | 0x0041f15e pop r12 | 0x0041f160 pop r13 | 0x0041f162 pop r14 | 0x0041f164 pop r15 | 0x0041f166 pop rbp | 0x0041f167 ret | return rax; | }