xref: /linux/rust/zerocopy/benches/try_ref_from_bytes_dynamic_size.x86-64 (revision efe86f088f48f18c27b648e5724048947f3b7fb4)
1bench_try_ref_from_bytes_dynamic_size:
2	mov rdx, rsi
3	mov rax, rdi
4	cmp rsi, 4
5	setb cl
6	or cl, al
7	test cl, 1
8	jne .LBB5_4
9	lea rcx, [rdx - 4]
10	mov rsi, rcx
11	and rsi, -2
12	add rsi, 4
13	cmp rdx, rsi
14	jne .LBB5_4
15	cmp word ptr [rax], -16192
16	jne .LBB5_4
17	shr rcx
18	mov rdx, rcx
19	ret
20.LBB5_4:
21	xor eax, eax
22	ret
23