1be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes/* Generated by gensyscalls.py. Do not edit. */
2be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes
3be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes#include <private/bionic_asm.h>
4be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes
5be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott HughesENTRY(process_vm_writev)
6be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %ebx
7be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_def_cfa_offset 8
8be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset ebx, 0
9be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %ecx
10be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_adjust_cfa_offset 4
11be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset ecx, 0
12be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %edx
13be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_adjust_cfa_offset 4
14be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset edx, 0
15be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %esi
16be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_adjust_cfa_offset 4
17be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset esi, 0
18be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %edi
19be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_adjust_cfa_offset 4
20be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset edi, 0
21be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %ebp
22be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_adjust_cfa_offset 4
23be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    .cfi_rel_offset ebp, 0
24be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi
25be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    call    __kernel_syscall
26be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    pushl   %eax
27be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    .cfi_adjust_cfa_offset 4
28be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    .cfi_rel_offset eax, 0
29be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi
30be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     32(%esp), %ebx
31be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     36(%esp), %ecx
32be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     40(%esp), %edx
33be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     44(%esp), %esi
34be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     48(%esp), %edi
35be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    mov     52(%esp), %ebp
36be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    movl    $__NR_process_vm_writev, %eax
37be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    call    *(%esp)
38be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi    addl    $4, %esp
39be910529322b461148debefd50b9e0d67ae84f8eMingwei Shi
40be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    cmpl    $-MAX_ERRNO, %eax
41be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    jb      1f
42be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    negl    %eax
43be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    pushl   %eax
44be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    call    __set_errno_internal
45be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    addl    $4, %esp
46be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes1:
47be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %ebp
48be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %edi
49be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %esi
50be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %edx
51be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %ecx
52be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    popl    %ebx
53be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott Hughes    ret
54be57a40d2973739c4fb0aa1cfb0014f34aeec2bdElliott HughesEND(process_vm_writev)
55