// File: /workspace/github_c_makefile_star2_O0/dnbaker[P]fastiota/././fastiota.c
// Function: fastiota32
FASTIOTA_EXPORT uint32_t *fastiota32(uint32_t *start, size_t nelem, uint32_t sv) {
#define CASEN *start++ = sv++; __attribute__((fallthrough));
    {
        const size_t leftover = VECSIZE / sizeof(uint32_t) - (uint64_t)start % (VECSIZE / sizeof(uint32_t));
        if(leftover && leftover != VECSIZE / sizeof(uint32_t)) {
            nelem -= leftover;
            switch(leftover) {
                case 15: CASEN case 14: CASEN case 13: CASEN case 12: CASEN case 11: CASEN case 10: CASEN case 9: CASEN case 8: CASEN case 7: CASEN case 6: CASEN case 5: CASEN case 4: CASEN case 3: CASEN case 2: CASEN case 1: CASEN
                default: ;
            }
        }
    }
    uint32_t *const end = start + nelem, *const origstart = start;
#if __AVX512F__
    __m512i m = init_start(_mm512_set_epi32, sv);
    const __m512i inc = _mm512_set1_epi32(sizeof(m) / sizeof(uint32_t));
    assert((uint64_t)start % sizeof(m) == 0);
    UNROLL4
    while(end - start >= (signed_size_t)(sizeof(m) / sizeof(uint32_t))) {
        _mm512_store_si512((void *)start, m);
        m = _mm512_add_epi32(m, inc);
        start += sizeof(m) / sizeof(uint32_t);
    }
    sv += (start - origstart);
#elif __AVX2__
    __m256i m = init_start(_mm256_set_epi32, sv);
    assert((uint64_t)start % sizeof(m) == 0);
    const __m256i inc = _mm256_set1_epi32(sizeof(m) / sizeof(uint32_t));
    UNROLL4
    while(end - start >= (signed_size_t)(sizeof(m) / sizeof(uint32_t))) {
        _mm256_store_si256((__m256i *)start, m);
        m = _mm256_add_epi32(m, inc);
        start += sizeof(m) / sizeof(uint32_t);
    }
    sv += (start - origstart);
#elif __SSE2__
    __m128i m = init_start(_mm_set_epi32, sv);
    assert((uint64_t)start % sizeof(m) == 0);
    const __m128i inc = _mm_set1_epi32(sizeof(m) / sizeof(uint32_t));
    UNROLL4
    while(end - start >= (signed_size_t)(sizeof(m) / sizeof(uint32_t))) {
        _mm_store_si128((__m128i *)start, m);
        m = _mm_add_epi32(m, inc);
        start += sizeof(m) / sizeof(uint32_t);
    }
    sv += (start - origstart);
#endif
    while(start < end) *start++ = sv++;
    return origstart;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
andq $-0x40, %rsp
subq $0x340, %rsp            # imm = 0x340
movq %rdi, 0xf8(%rsp)
movq %rsi, 0xf0(%rsp)
movl %edx, 0xec(%rsp)
movq 0xf8(%rsp), %rcx
andq $0xf, %rcx
movl $0x10, %eax
subq %rcx, %rax
movq %rax, 0xe0(%rsp)
cmpq $0x0, 0xe0(%rsp)
je 0x158b
cmpq $0x10, 0xe0(%rsp)
je 0x158b
movq 0xe0(%rsp), %rcx
movq 0xf0(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xf0(%rsp)
movq 0xe0(%rsp), %rax
decq %rax
movq %rax, 0x38(%rsp)
subq $0xe, %rax
ja 0x1587
movq 0x38(%rsp), %rax
leaq 0xd1a(%rip), %rcx       # 0x2004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
jmp 0x1589
jmp 0x158b
movq 0xf8(%rsp), %rax
movq 0xf0(%rsp), %rcx
leaq (%rax,%rcx,4), %rax
movq %rax, 0xd8(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, 0xd0(%rsp)
movl 0xec(%rsp), %ecx
movl %ecx, 0x34(%rsp)
movl %ecx, %eax
addl $0xf, %eax
movl %ecx, %edx
addl $0xe, %edx
movl %edx, 0x30(%rsp)
movl %ecx, %r13d
addl $0xd, %r13d
movl %ecx, %r12d
addl $0xc, %r12d
movl %ecx, %r15d
addl $0xb, %r15d
movl %ecx, %r14d
addl $0xa, %r14d
movl %ecx, %ebx
addl $0x9, %ebx
movl %ecx, %r11d
addl $0x8, %r11d
movl %ecx, %r10d
addl $0x7, %r10d
movl %ecx, %r9d
addl $0x6, %r9d
movl %ecx, %r8d
addl $0x5, %r8d
movl %ecx, %edi
addl $0x4, %edi
movl %ecx, %esi
addl $0x3, %esi
movl %ecx, %edx
addl $0x2, %edx
incl %ecx
movl %eax, 0x17c(%rsp)
movl 0x30(%rsp), %eax
movl %eax, 0x178(%rsp)
movl 0x34(%rsp), %eax
movl %r13d, 0x174(%rsp)
movl %r12d, 0x170(%rsp)
movl %r15d, 0x16c(%rsp)
movl %r14d, 0x168(%rsp)
movl %ebx, 0x164(%rsp)
movl %r11d, 0x160(%rsp)
movl %r10d, 0x15c(%rsp)
movl %r9d, 0x158(%rsp)
movl %r8d, 0x154(%rsp)
movl %edi, 0x150(%rsp)
movl %esi, 0x14c(%rsp)
movl %edx, 0x148(%rsp)
movl %ecx, 0x144(%rsp)
movl %eax, 0x140(%rsp)
movl 0x144(%rsp), %edx
movl 0x148(%rsp), %ecx
movl 0x14c(%rsp), %eax
movl 0x154(%rsp), %r8d
movl 0x158(%rsp), %edi
movl 0x15c(%rsp), %esi
movl 0x164(%rsp), %r11d
movl 0x168(%rsp), %r10d
movl 0x16c(%rsp), %r9d
movl 0x174(%rsp), %r15d
movl 0x178(%rsp), %r14d
movl 0x17c(%rsp), %ebx
vmovd 0x170(%rsp), %xmm0
vpinsrd $0x1, %r15d, %xmm0, %xmm0
vpinsrd $0x2, %r14d, %xmm0, %xmm0
vpinsrd $0x3, %ebx, %xmm0, %xmm1
vmovd 0x160(%rsp), %xmm0
vpinsrd $0x1, %r11d, %xmm0, %xmm0
vpinsrd $0x2, %r10d, %xmm0, %xmm0
vpinsrd $0x3, %r9d, %xmm0, %xmm2
vmovaps %xmm2, %xmm0
vinserti128 $0x1, %xmm1, %ymm0, %ymm1
vmovd 0x150(%rsp), %xmm0
vpinsrd $0x1, %r8d, %xmm0, %xmm0
vpinsrd $0x2, %edi, %xmm0, %xmm0
vpinsrd $0x3, %esi, %xmm0, %xmm2
vmovd 0x140(%rsp), %xmm0
vpinsrd $0x1, %edx, %xmm0, %xmm0
vpinsrd $0x2, %ecx, %xmm0, %xmm0
vpinsrd $0x3, %eax, %xmm0, %xmm3
vmovaps %xmm3, %xmm0
vinserti128 $0x1, %xmm2, %ymm0, %ymm2
vmovaps %ymm2, %ymm0
vinserti64x4 $0x1, %ymm1, %zmm0, %zmm0
vmovdqa64 %zmm0, 0x100(%rsp)
vmovdqa64 0x100(%rsp), %zmm0
vmovdqa64 %zmm0, 0x80(%rsp)
movl $0x10, 0x1fc(%rsp)
vpbroadcastd 0x1fc(%rsp), %zmm0
vmovdqa64 %zmm0, 0x180(%rsp)
vmovdqa64 0x180(%rsp), %zmm0
vmovdqa64 %zmm0, 0x40(%rsp)
movq 0xf8(%rsp), %rax
andq $0x3f, %rax
cmpq $0x0, %rax
jne 0x17da
jmp 0x17fc
leaq 0x863(%rip), %rdi       # 0x2044
leaq 0x87d(%rip), %rsi       # 0x2065
movl $0x32, %edx
leaq 0x880(%rip), %rcx       # 0x2074
vzeroupper
callq 0x1040
jmp 0x17fe
movq 0xd8(%rsp), %rax
movq 0xf8(%rsp), %rcx
subq %rcx, %rax
sarq $0x2, %rax
cmpq $0x10, %rax
jl 0x18ac
movq 0xf8(%rsp), %rax
vmovdqa64 0x80(%rsp), %zmm0
movq %rax, 0x278(%rsp)
vmovdqa64 %zmm0, 0x200(%rsp)
vmovdqa64 0x200(%rsp), %zmm0
movq 0x278(%rsp), %rax
vmovdqa64 %zmm0, (%rax)
vmovdqa64 0x80(%rsp), %zmm1
vmovdqa64 0x40(%rsp), %zmm0
vmovdqa64 %zmm1, 0x2c0(%rsp)
vmovdqa64 %zmm0, 0x280(%rsp)
vmovdqa64 0x2c0(%rsp), %zmm0
vmovdqa64 0x280(%rsp), %zmm1
vpaddd %zmm1, %zmm0, %zmm0
vmovdqa64 %zmm0, 0x80(%rsp)
movq 0xf8(%rsp), %rax
addq $0x40, %rax
movq %rax, 0xf8(%rsp)
jmp 0x17fe
movq 0xf8(%rsp), %rcx
movq 0xd0(%rsp), %rax
subq %rax, %rcx
sarq $0x2, %rcx
movl 0xec(%rsp), %eax
addq %rcx, %rax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
cmpq 0xd8(%rsp), %rax
jae 0x1914
movl 0xec(%rsp), %ecx
movl %ecx, %eax
addl $0x1, %eax
movl %eax, 0xec(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, %rdx
addq $0x4, %rdx
movq %rdx, 0xf8(%rsp)
movl %ecx, (%rax)
jmp 0x18d4
movq 0xd0(%rsp), %rax
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq