xref: /linux/rust/zerocopy/benches/try_read_from_bytes.x86-64 (revision 056a5087d87ead77dedbe9cf5bde53b7cd4b4651)
1bench_try_read_from_bytes_static_size:
2	mov ax, -16191
3	cmp rsi, 6
4	jne .LBB5_1
5	mov ecx, dword ptr [rdi]
6	movzx edx, cx
7	cmp edx, 49344
8	jne .LBB5_4
9	movzx eax, word ptr [rdi + 4]
10	shl rax, 32
11	or rcx, rax
12	shr rcx, 16
13	mov ax, -16192
14.LBB5_4:
15	shl rcx, 16
16	movzx eax, ax
17	or rax, rcx
18	ret
19.LBB5_1:
20	shl rcx, 16
21	movzx eax, ax
22	or rax, rcx
23	ret
24