xref: /linux/rust/zerocopy/benches/try_ref_from_prefix_dynamic_padding.x86-64 (revision 056a5087d87ead77dedbe9cf5bde53b7cd4b4651)
1bench_try_ref_from_prefix_dynamic_padding:
2	xor edx, edx
3	mov eax, 0
4	test dil, 3
5	je .LBB5_1
6	ret
7.LBB5_1:
8	movabs rax, 9223372036854775804
9	and rsi, rax
10	cmp rsi, 9
11	jae .LBB5_3
12	mov edx, 1
13	xor eax, eax
14	ret
15.LBB5_3:
16	add rsi, -9
17	movabs rcx, -6148914691236517205
18	mov rax, rsi
19	mul rcx
20	mov rax, rdx
21	shr rax
22	movzx ecx, word ptr [rdi]
23	cmp cx, -16192
24	mov edx, 2
25	cmove rdx, rax
26	xor eax, eax
27	cmp ecx, 49344
28	cmove rax, rdi
29	ret
30