// File: /workspace/github_c_makefile_star2_O0/BernardTatin[P]s7sh/s7.c
// Function: s7_fill
s7_pointer s7_fill(s7_scheme *sc, s7_pointer args)
                {
#define H_fill "(fill! obj val (start 0) end) fills obj with val"
#define Q_fill s7_make_circular_signature(sc, 3, 4, sc->T, sc->is_sequence_symbol, sc->T, sc->is_integer_symbol)
                    s7_pointer p;

                    p = car(args);
                    switch (type(p))
                    {
                        case T_STRING:
                            return(g_string_fill_1(sc, sc->fill_symbol, args)); /* redundant type check here and below */

                        case T_BYTE_VECTOR: case T_INT_VECTOR: case T_FLOAT_VECTOR: case T_VECTOR:
                            return(g_vector_fill_1(sc, sc->fill_symbol, args));

                        case T_PAIR:
                            return(pair_fill(sc, args));

                        case T_NIL:
                            if (!is_null(cddr(args)))  /* (fill! () 1 21 #\a)? */
                                eval_error(sc, "fill! () ... includes indices: ~S?", 34, cddr(args));
                            return(cadr(args));        /* this parallels the empty vector case */

                        case T_HASH_TABLE:
                            return(hash_table_fill(sc, args));

                        case T_LET:
                            check_method(sc, p, sc->fill_symbol, args);
                            return(let_fill(sc, args));

                        case T_C_OBJECT:
                            check_method(sc, p, sc->fill_symbol, args);
                            if (c_object_fill(sc, p)) /* default is NULL (s7_make_c_type) */
                                return((*(c_object_fill(sc, p)))(sc, args));
                            eval_error(sc, "attempt to fill ~S?", 19, p);

                        default:
                            check_method(sc, p, sc->fill_symbol, args);
                    }
                    return(wrong_type_argument_with_type(sc, sc->fill_symbol, 1, p, a_sequence_string)); /* (fill! 1 0) */
                }

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
movq 0xe0(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
movzbl (%rax), %eax
decl %eax
movl %eax, %ecx
movq %rcx, 0x98(%rsp)
subl $0x1b, %eax
ja 0x429bf
movq 0x98(%rsp), %rax
leaq 0x19c2e2(%rip), %rcx    # 0x1de86c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0xe8(%rsp), %rdi
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rsi
movq 0xe0(%rsp), %rdx
callq 0x42bf0
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rdi
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rsi
movq 0xe0(%rsp), %rdx
callq 0x42e00
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x43920
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe0(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rax
movq 0xe8(%rsp), %rcx
cmpq 0x110(%rcx), %rax
je 0x426d1
movq 0xe8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0xe8(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x90(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0x19f75f(%rip), %rsi    # 0x1e1de1
movl $0x22, %edx
callq 0xb880
movq 0x80(%rsp), %rdi
movq %rax, %rsi
movq 0xe0(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x10(%rax), %rdx
callq 0xb830
movq 0x88(%rsp), %rdi
movq 0x90(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe0(%rsp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x43da0
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xd8(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x427e5
movq 0xe8(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x427e5
movq 0xe8(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xd8(%rsp), %rsi
callq 0x9a10
movq 0x78(%rsp), %rdi
movq %rax, %rsi
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rdx
callq 0x98d0
movq %rax, 0xd0(%rsp)
movq 0xe8(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x427e5
movq 0xe8(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x44270
movq 0x68(%rsp), %rdi
movq 0x70(%rsp), %rsi
movq %rax, %rdx
callq 0xda50
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x444a0
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xd8(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x428dc
movq 0xe8(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x428dc
movq 0xe8(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xd8(%rsp), %rsi
callq 0x9a10
movq 0x60(%rsp), %rdi
movq %rax, %rsi
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rdx
callq 0x98d0
movq %rax, 0xc8(%rsp)
movq 0xe8(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x428dc
movq 0xe8(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x44270
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq %rax, %rdx
callq 0xda50
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rax
movq 0x8d8(%rax), %rax
movq 0xd8(%rsp), %rcx
movq 0x8(%rcx), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, 0x70(%rax)
je 0x42944
movq 0xe8(%rsp), %rax
movq 0x8d8(%rax), %rax
movq 0xd8(%rsp), %rcx
movq 0x8(%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq 0x70(%rax), %rax
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq *%rax
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xe8(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0xe8(%rsp), %rax
movq 0x1918(%rax), %rax
movq %rax, 0x48(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0x19f483(%rip), %rsi    # 0x1e1e04
movl $0x13, %edx
callq 0xb880
movq 0x38(%rsp), %rdi
movq %rax, %rsi
movq 0xd8(%rsp), %rdx
callq 0xb830
movq 0x40(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq %rax, %rdx
callq 0x2f940
movq %rax, 0xf0(%rsp)
jmp 0x42bda
movq 0xd8(%rsp), %rax
movq (%rax), %rax
andq $0x40000000, %rax       # imm = 0x40000000
cmpq $0x0, %rax
je 0x42a94
movq 0xe8(%rsp), %rax
testb $0x1, 0x24c(%rax)
je 0x42a94
movq 0xe8(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xd8(%rsp), %rsi
callq 0x9a10
movq 0x30(%rsp), %rdi
movq %rax, %rsi
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rdx
callq 0x98d0
movq %rax, 0xc0(%rsp)
movq 0xe8(%rsp), %rcx
cmpq 0x128(%rcx), %rax
je 0x42a94
movq 0xe8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xe8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x44270
movq 0x20(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq %rax, %rdx
callq 0xda50
movq %rax, 0xf0(%rsp)
jmp 0x42bda
jmp 0x42a96
movq 0xe8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0xe8(%rsp), %rax
movq 0xee8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x18(%rsp)
movq $0x1, 0xb8(%rsp)
movq 0xb8(%rsp), %rax
andq $-0x800, %rax           # imm = 0xF800
cmpq $0x0, %rax
jne 0x42af8
movq 0xb8(%rsp), %rcx
leaq 0x1d3996(%rip), %rax    # 0x216480
movq (%rax,%rcx,8), %rax
movq %rax, 0x8(%rsp)
jmp 0x42b90
jmp 0x42afa
movq 0xe8(%rsp), %rax
movq 0x90(%rax), %rax
movq 0xe8(%rsp), %rcx
cmpq 0x98(%rcx), %rax
ja 0x42b27
movq 0xe8(%rsp), %rdi
callq 0xc670
movq 0xe8(%rsp), %rcx
movq 0x90(%rcx), %rax
movq %rax, %rdx
addq $-0x8, %rdx
movq %rdx, 0x90(%rcx)
movq -0x8(%rax), %rax
movq %rax, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movq $0xb, (%rax)
movq 0xb8(%rsp), %rcx
movq 0xa8(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0xa8(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rax
movq %rax, 0xb0(%rsp)
movq 0xb0(%rsp), %rdx
movq 0xd8(%rsp), %rcx
movq 0xe8(%rsp), %rax
movq 0x140(%rax), %r8
movq 0x1d7b73(%rip), %r9     # 0x21a740
callq 0xc560
movq %rax, 0xf0(%rsp)
movq 0xf0(%rsp), %rax
addq $0xf8, %rsp
retq
nopw (%rax,%rax)