Function index_many::_doc_assembly::checked_presorted[][src]

pub unsafe fn checked_presorted(
    slice: &mut [Elem],
    indices: PresortedIndices<LEN>
) -> [&mut Elem; 3]
Expand description

Body: { generic::index_many_mut(slice, indices) }

Assembly (x86_64)

codegen_crate::checked_presorted:
 sub     rsp, 56
 mov     r11, qword, ptr, [r9]
 mov     r10, qword, ptr, [r9, +, 8]
 mov     rax, qword, ptr, [r9, +, 16]
 cmp     rax, r8
 jae     .LBB0_1
 lea     r8, [rdx, +, 8*r11]
 lea     r9, [rdx, +, 8*r10]
 lea     rax, [rdx, +, 8*rax]
 mov     qword, ptr, [rcx], r8
 mov     qword, ptr, [rcx, +, 8], r9
 mov     qword, ptr, [rcx, +, 16], rax
 mov     rax, rcx
 add     rsp, 56
 ret
.LBB0_1:
 mov     qword, ptr, [rsp, +, 32], r11
 mov     qword, ptr, [rsp, +, 40], r10
 mov     qword, ptr, [rsp, +, 48], rax
 lea     rcx, [rsp, +, 32]
 mov     edx, 3
 call    index_many::bound_check_failed
 ud2