; assembly | /* r2dec pseudo code output */ | /* bslmt_barrier.t/assume @ 0x408210 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil.createWithAllocator_Case6_Waiter__unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__Case6_Waiter_const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil_createWithAllocator_Case6_Waiter_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_Case6_Waiter_const_BloombergLP::bslma::Allocator_ (int64_t arg4, int64_t arg3, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, Case6_Waiter const&, BloombergLP::bslma::Allocator*) */ 0x00408210 push rbp | 0x00408211 push r15 | 0x00408213 push r14 | 0x00408215 push r13 | 0x00408217 push r12 | 0x00408219 push rbx | 0x0040821a push rax | 0x0040821b mov r14, rcx | r14 = rcx; 0x0040821e mov r12, rdx | r12 = rdx; 0x00408221 mov r15, rsi | r15 = rsi; 0x00408224 mov qword [rsp], rdi | *(rsp) = rdi; 0x00408228 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0040822c cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x00408231 je 0x408239 | 0x00408233 mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x00408237 jmp 0x40823d | | } else { 0x00408239 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0040823d mov rax, qword [r14] | rax = *(r14); 0x00408240 mov esi, 0x50 | esi = 0x50; 0x00408245 mov rdi, r14 | rdi = r14; 0x00408248 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0040824b mov rbx, rax | rbx = rax; 0x0040824e mov qword [rax], 0x408360 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_Case6_Waiter_.invokerFunction_void_; 0x00408255 movups xmm0, xmmword [r12] | __asm ("movups xmm0, xmmword [r12]"); 0x0040825a movups xmmword [rax + 8], xmm0 | __asm ("movups xmmword [rax + 8], xmm0"); 0x0040825e mov rax, qword [r12 + 0x10] | rax = *((r12 + 0x10)); 0x00408263 mov qword [rbx + 0x18], rax | *((rbx + 0x18)) = rax; 0x00408267 lea rdi, [rbx + 0x20] | 0x0040826b mov qword [rbx + 0x20], 0 | *((rbx + 0x20)) = 0; 0x00408273 mov qword [rbx + 0x48], r14 | *((rbx + 0x48)) = r14; 0x00408277 movaps xmm0, xmmword [rip + 0x27292] | xmm0 = .comment; 0x0040827e movups xmmword [rbx + 0x38], xmm0 | __asm ("movups xmmword [rbx + 0x38], xmm0"); 0x00408282 mov ecx, 0x42fd23 | 0x00408287 mov rsi, rbp | 0x0040828a mov rdx, r13 | 0x0040828d call 0x40bef0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x20, rbp, r13, "string<...>::assign(i,j): string too long"); 0x00408292 mov edx, 0x409290 | 0x00408297 mov rdi, qword [rsp] | 0x0040829b mov rsi, r15 | 0x0040829e mov rcx, rbx | 0x004082a1 call 0x409ad0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x004082a6 mov ebp, eax | 0x004082a8 test eax, eax | | if (eax != 0) { 0x004082aa je 0x4082d5 | 0x004082ac cmp qword [rbx + 0x40], 0x17 | | if (*((rbx + 0x40)) != 0x17) { 0x004082b1 je 0x4082c1 | 0x004082b3 mov rsi, qword [rbx + 0x20] | rsi = *((rbx + 0x20)); 0x004082b7 mov rdi, qword [rbx + 0x48] | rdi = *((rbx + 0x48)); 0x004082bb mov rax, qword [rdi] | rax = *(rdi); 0x004082be call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x004082c1 mov qword [rbx + 0x38], 0xffffffffffffffff | *((rbx + 0x38)) = 0xffffffffffffffff; 0x004082c9 mov rax, qword [r14] | rax = *(r14); 0x004082cc mov rdi, r14 | rdi = r14; 0x004082cf mov rsi, rbx | rsi = rbx; 0x004082d2 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x004082d5 mov eax, ebp | eax = ebp; 0x004082d7 add rsp, 8 | 0x004082db pop rbx | 0x004082dc pop r12 | 0x004082de pop r13 | 0x004082e0 pop r14 | 0x004082e2 pop r15 | 0x004082e4 pop rbp | 0x004082e5 ret | return rax; | }