xref: /linux/rust/zerocopy/benches/try_ref_from_prefix_with_elems_dynamic_padding.x86-64 (revision efe86f088f48f18c27b648e5724048947f3b7fb4)
1bench_try_ref_from_prefix_with_elems_dynamic_padding:
2	movabs rax, 3074457345618258598
3	cmp rdx, rax
4	ja .LBB5_1
5	xor ecx, ecx
6	mov eax, 0
7	test dil, 3
8	je .LBB5_3
9	mov rdx, rcx
10	ret
11.LBB5_3:
12	lea rax, [rdx + 2*rdx]
13	or rax, 3
14	add rax, 9
15	cmp rax, rsi
16	jbe .LBB5_4
17.LBB5_1:
18	xor eax, eax
19	mov edx, 1
20	ret
21.LBB5_4:
22	movzx esi, word ptr [rdi]
23	cmp si, -16192
24	mov ecx, 2
25	cmove rcx, rdx
26	xor eax, eax
27	cmp esi, 49344
28	cmove rax, rdi
29	mov rdx, rcx
30	ret
31