1/* autogenerated by gensyscalls.py */
2#include <sys/linux-syscalls.h>
3
4    .text
5    .type __mmap2, @function
6    .globl __mmap2
7    .align 4
8
9__mmap2:
10    pushl   %ebx
11    pushl   %ecx
12    pushl   %edx
13    pushl   %esi
14    pushl   %edi
15    pushl   %ebp
16    mov     28(%esp), %ebx
17    mov     32(%esp), %ecx
18    mov     36(%esp), %edx
19    mov     40(%esp), %esi
20    mov     44(%esp), %edi
21    mov     48(%esp), %ebp
22    movl    $__NR_mmap2, %eax
23    int     $0x80
24    cmpl    $-129, %eax
25    jb      1f
26    negl    %eax
27    pushl   %eax
28    call    __set_errno
29    addl    $4, %esp
30    orl     $-1, %eax
311:
32    popl    %ebp
33    popl    %edi
34    popl    %esi
35    popl    %edx
36    popl    %ecx
37    popl    %ebx
38    ret
39