; assembly | /* r2dec pseudo code output */ | /* bslmt_threadutil.t/assume @ 0x420060 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE.Func_525312____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__STACKSIZE_TEST_CASE_NAMESPACE::Func_525312__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_STACKSIZE_TEST_CASE_NAMESPACE_Func_525312_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_STACKSIZE_TEST_CASE_NAMESPACE::Func_525312_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<525312> const&, BloombergLP::bslma::Allocator*) */ 0x00420060 push rbp | 0x00420061 push r15 | 0x00420063 push r14 | 0x00420065 push r13 | 0x00420067 push r12 | 0x00420069 push rbx | 0x0042006a push rax | 0x0042006b mov r14, rcx | r14 = rcx; 0x0042006e mov r15, rsi | r15 = rsi; 0x00420071 mov r12, rdi | r12 = rdi; 0x00420074 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x00420078 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0042007d je 0x420085 | 0x0042007f mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x00420083 jmp 0x420089 | | } else { 0x00420085 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x00420089 mov rax, qword [r14] | rax = *(r14); 0x0042008c mov esi, 0x40 | esi = 0x40; 0x00420091 mov rdi, r14 | rdi = r14; 0x00420094 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x00420097 mov rbx, rax | rbx = rax; 0x0042009a mov qword [rax], 0x4201a0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_STACKSIZE_TEST_CASE_NAMESPACE::Func_525312___.invokerFunction_void_; 0x004200a1 lea rdi, [rax + 0x10] | 0x004200a5 mov qword [rax + 0x10], 0 | *((rax + 0x10)) = 0; 0x004200ad mov qword [rax + 0x38], r14 | *((rax + 0x38)) = r14; 0x004200b1 movaps xmm0, xmmword [rip + 0x10fb8] | xmm0 = .comment; 0x004200b8 movups xmmword [rax + 0x28], xmm0 | __asm ("movups xmmword [rax + 0x28], xmm0"); 0x004200bc mov ecx, 0x4327df | 0x004200c1 mov rsi, rbp | 0x004200c4 mov rdx, r13 | 0x004200c7 call 0x424f70 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x10, rbp, r13, "string<...>::assign(i,j): string too long"); 0x004200cc mov edx, 0x4227b0 | 0x004200d1 mov rdi, r12 | 0x004200d4 mov rsi, r15 | 0x004200d7 mov rcx, rbx | 0x004200da call 0x422e20 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r12, r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x004200df mov ebp, eax | 0x004200e1 test eax, eax | | if (eax != 0) { 0x004200e3 je 0x42010e | 0x004200e5 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x004200ea je 0x4200fa | 0x004200ec mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x004200f0 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x004200f4 mov rax, qword [rdi] | rax = *(rdi); 0x004200f7 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x004200fa mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x00420102 mov rax, qword [r14] | rax = *(r14); 0x00420105 mov rdi, r14 | rdi = r14; 0x00420108 mov rsi, rbx | rsi = rbx; 0x0042010b call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042010e mov eax, ebp | eax = ebp; 0x00420110 add rsp, 8 | 0x00420114 pop rbx | 0x00420115 pop r12 | 0x00420117 pop r13 | 0x00420119 pop r14 | 0x0042011b pop r15 | 0x0042011d pop rbp | 0x0042011e ret | return rax; | }