; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/none @ 0x41c2a0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_57344____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_57344__const__BloombergLP::bslma::Allocator_ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_57344_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_57344_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<57344> const&, BloombergLP::bslma::Allocator*) */ 0x0041c2a0 push rbp | 0x0041c2a1 push r15 | 0x0041c2a3 push r14 | 0x0041c2a5 push r13 | 0x0041c2a7 push r12 | 0x0041c2a9 push rbx | 0x0041c2aa push rax | 0x0041c2ab mov r14, rcx | r14 = rcx; 0x0041c2ae mov r15, rsi | r15 = rsi; 0x0041c2b1 mov r12, rdi | r12 = rdi; 0x0041c2b4 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0041c2b9 je 0x41c2c1 | 0x0041c2bb mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0041c2bf jmp 0x41c2c5 | | } else { 0x0041c2c1 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0041c2c5 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0041c2c9 test r14, r14 | | if (r14 == 0) { 0x0041c2cc jne 0x41c2e2 | 0x0041c2ce mov r14, qword [rip + 0x2287db] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0041c2d5 test r14, r14 | | if (r14 != 0) { 0x0041c2d8 jne 0x41c2e2 | goto label_0; | } 0x0041c2da call 0x42e840 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0041c2df mov r14, rax | r14 = rax; | } | label_0: 0x0041c2e2 mov rax, qword [r14] | rax = *(r14); 0x0041c2e5 mov esi, 0x40 | esi = 0x40; 0x0041c2ea mov rdi, r14 | rdi = r14; 0x0041c2ed call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041c2f0 mov rbx, rax | rbx = rax; 0x0041c2f3 mov qword [rax], 0x41c3f0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_57344___.invokerFunction_void_; 0x0041c2fa lea rdi, [rax + 0x10] | 0x0041c2fe mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x0041c306 mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x0041c30a movaps xmm0, xmmword [rip + 0x1528f] | xmm0 = .comment; 0x0041c311 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x0041c315 mov ecx, 0x432d0b | 0x0041c31a mov rsi, r13 | 0x0041c31d mov rdx, rbp | 0x0041c320 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"); 0x0041c325 mov edx, 0x422cd0 | 0x0041c32a mov rdi, r12 | 0x0041c32d mov rsi, r15 | 0x0041c330 mov rcx, rbx | 0x0041c333 call 0x423340 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0041c338 mov ebp, eax | 0x0041c33a test eax, eax | | if (eax != 0) { 0x0041c33c je 0x41c367 | 0x0041c33e cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0041c343 je 0x41c353 | 0x0041c345 mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0041c349 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0041c34d mov rax, qword [rdi] | rax = *(rdi); 0x0041c350 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c353 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0041c35b mov rax, qword [r14] | rax = *(r14); 0x0041c35e mov rdi, r14 | rdi = r14; 0x0041c361 mov rsi, rbx | rsi = rbx; 0x0041c364 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0041c367 mov eax, ebp | eax = ebp; 0x0041c369 add rsp, 8 | 0x0041c36d pop rbx | 0x0041c36e pop r12 | 0x0041c370 pop r13 | 0x0041c372 pop r14 | 0x0041c374 pop r15 | 0x0041c376 pop rbp | 0x0041c377 ret | return rax; | }