// File: /workspace/github_c_makefile_star2_O1/hughbarney[P]zepl/zepl.c
// Function: setup_keys
void setup_keys()
{
	create_keys();
        set_key_internal("c-a",     "(beginning-of-line)",   "\x01", lnbegin);
	set_key_internal("c-b",     "(backward-char)",       "\x02", left);
	set_key_internal("c-d",     "(delete)",              "\x04", delete);
	set_key_internal("c-e",     "(end-of-line)",         "\x05", lnend);
	set_key_internal("c-f",     "(forward-char)",        "\x06", right);
	set_key_internal("c-n",     "(next-line)",           "\x0E", down);
	set_key_internal("c-p",     "(previous-line)",       "\x10", up);
	set_key_internal("c-h",     "(backspace)",           "\x08", backspace);
	set_key_internal("c-v",     "(page-down)",           "\x16", pgdown);
	set_key_internal("c-w",     "(kill-region)",         "\x17", kill_region);
	set_key_internal("c-y",     "(yank)",                "\x19", yank);
	set_key_internal("esc-k",   "(kill-region)",         "\x1B\x6B", kill_region);
	set_key_internal("esc-v",   "(page-up)",             "\x1B\x76", pgup);
	set_key_internal("esc-w",   "(copy-region)",         "\x1B\x77", copy_region);
	set_key_internal("esc-<",   "(beginning-of-buffer)", "\x1B\x3C", top);
	set_key_internal("esc-<",   "(end-of-bufffer)",      "\x1B\x3E", bottom);
	set_key_internal("esc-]",   "(eval-block)",          "\x1B\x5D", eval_block);
	set_key_internal("up ",     "(previous-line)",       "\x1B\x5B\x41", up);
	set_key_internal("down",    "(next-line)",           "\x1B\x5B\x42", down);
	set_key_internal("left",    "(backward-character)",  "\x1B\x5B\x44", left);
	set_key_internal("right",   "(forward-character)",   "\x1B\x5B\x43", right);
	set_key_internal("home",    "(beginning-of-line)",   "\x1B\x4F\x48", lnbegin);
	set_key_internal("end",     "(end-of-line)",         "\x1B\x4F\x46", lnend);
	set_key_internal("del",     "(delete)",              "\x1B\x5B\x33\x7E", delete);
	set_key_internal("pgup",    "(page-up)",             "\x1B\x5B\x35\x7E",pgup);
	set_key_internal("pgdn",    "(page-down)",           "\x1B\x5B\x36\x7E", pgdown);
	set_key_internal("backspace","(backspace)",          "\x7f", backspace);
	set_key_internal("c-x c-s", "(save-buffer)",         "\x18\x13", save_buffer);  
	set_key_internal("c-x c-c", "(exit)",                "\x18\x03", quit);
	set_key_internal("c-space", "(set-mark)",            "\x00", set_mark);
	set_key_internal("c-]",     E_NOT_BOUND,             "\x1D", user_func);
	set_key_internal("resize",  "(resize)",              "\x9A", resize_terminal);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
callq 0x393a
leaq 0x4570(%rip), %rdi      # 0x81f2
leaq 0x456d(%rip), %rsi      # 0x81f6
leaq 0x44f8(%rip), %rdx      # 0x8188
leaq -0xaa8(%rip), %rcx      # 0x31ef
callq 0x3aa5
leaq 0x4567(%rip), %rdi      # 0x820a
leaq 0x4564(%rip), %rsi      # 0x820e
leaq 0x456d(%rip), %rdx      # 0x821e
leaq -0xb6b(%rip), %rcx      # 0x314d
callq 0x3aa5
leaq 0x455c(%rip), %rdi      # 0x8220
leaq 0x4559(%rip), %rsi      # 0x8224
leaq 0x455b(%rip), %rdx      # 0x822d
leaq -0x8e7(%rip), %rcx      # 0x33f2
callq 0x3aa5
leaq 0x454a(%rip), %rdi      # 0x822f
leaq 0x4547(%rip), %rsi      # 0x8233
leaq 0x454e(%rip), %rdx      # 0x8241
leaq -0xa88(%rip), %rcx      # 0x3272
callq 0x3aa5
leaq 0x453d(%rip), %rdi      # 0x8243
leaq 0x453a(%rip), %rsi      # 0x8247
leaq 0x4542(%rip), %rdx      # 0x8256
leaq -0xbb6(%rip), %rcx      # 0x3165
callq 0x3aa5
leaq 0x4531(%rip), %rdi      # 0x8258
leaq 0x452e(%rip), %rsi      # 0x825c
leaq 0x4533(%rip), %rdx      # 0x8268
leaq -0xb75(%rip), %r14      # 0x31c7
movq %r14, %rcx
callq 0x3aa5
leaq 0x451f(%rip), %rdi      # 0x826a
leaq 0x451c(%rip), %r13      # 0x826e
leaq 0x4525(%rip), %rdx      # 0x827e
leaq -0xbc1(%rip), %rbp      # 0x319f
movq %r13, %rsi
movq %rbp, %rcx
callq 0x3aa5
leaq 0x450e(%rip), %rdi      # 0x8280
leaq 0x450b(%rip), %rsi      # 0x8284
leaq 0x4510(%rip), %rdx      # 0x8290
leaq -0x9d9(%rip), %rcx      # 0x33ae
callq 0x3aa5
leaq 0x4535(%rip), %rdi      # 0x82c8
leaq 0x44f8(%rip), %rsi      # 0x8292
leaq 0x44fd(%rip), %rdx      # 0x829e
leaq -0xb11(%rip), %rcx      # 0x3297
callq 0x3aa5
leaq 0x4527(%rip), %rdi      # 0x82db
leaq 0x44e5(%rip), %r15      # 0x82a0
leaq 0x44ec(%rip), %rdx      # 0x82ae
leaq -0x739(%rip), %r12      # 0x3690
movq %r15, %rsi
movq %r12, %rcx
callq 0x3aa5
leaq 0x44d5(%rip), %rdi      # 0x82b0
leaq 0x44d2(%rip), %rsi      # 0x82b4
leaq 0x44d2(%rip), %rdx      # 0x82bb
leaq -0x778(%rip), %rcx      # 0x3678
callq 0x3aa5
leaq 0x44c1(%rip), %rdi      # 0x82bd
leaq 0x44c0(%rip), %rdx      # 0x82c3
movq %r15, %rsi
movq %r12, %rcx
callq 0x3aa5
leaq 0x44b1(%rip), %rdi      # 0x82c6
leaq 0x44b0(%rip), %r15      # 0x82cc
leaq 0x44b3(%rip), %rdx      # 0x82d6
leaq -0xb34(%rip), %r12      # 0x32f6
movq %r15, %rsi
movq %r12, %rcx
callq 0x3aa5
leaq 0x449d(%rip), %rdi      # 0x82d9
leaq 0x449c(%rip), %rsi      # 0x82df
leaq 0x44a3(%rip), %rdx      # 0x82ed
leaq -0x7cd(%rip), %rcx      # 0x3684
callq 0x3aa5
leaq 0x4493(%rip), %rbx      # 0x82f0
leaq 0x4492(%rip), %rsi      # 0x82f6
leaq 0x44a1(%rip), %rdx      # 0x830c
leaq -0xd67(%rip), %rcx      # 0x310b
movq %rbx, %rdi
callq 0x3aa5
leaq 0x448e(%rip), %rsi      # 0x830f
leaq 0x4498(%rip), %rdx      # 0x8320
leaq -0xd74(%rip), %rcx      # 0x311b
movq %rbx, %rdi
callq 0x3aa5
leaq 0x4485(%rip), %rdi      # 0x8323
leaq 0x4484(%rip), %rsi      # 0x8329
leaq 0x448a(%rip), %rdx      # 0x8336
leaq -0x34a(%rip), %rcx      # 0x3b69
callq 0x3aa5
leaq 0x447a(%rip), %rdi      # 0x8339
leaq 0x4477(%rip), %rdx      # 0x833d
movq %r13, %rsi
movq %rbp, %rcx
callq 0x3aa5
leaq 0x4a89(%rip), %rdi      # 0x8961
leaq 0x4462(%rip), %rdx      # 0x8341
leaq 0x4376(%rip), %rsi      # 0x825c
movq %r14, %rcx
callq 0x3aa5
leaq 0x4450(%rip), %rdi      # 0x8345
leaq 0x444e(%rip), %rsi      # 0x834a
leaq 0x445c(%rip), %rdx      # 0x835f
leaq -0xdbd(%rip), %rcx      # 0x314d
callq 0x3aa5
leaq 0x444d(%rip), %rdi      # 0x8363
leaq 0x444c(%rip), %rsi      # 0x8369
leaq 0x4459(%rip), %rdx      # 0x837d
leaq -0xdc6(%rip), %rcx      # 0x3165
callq 0x3aa5
leaq 0x444a(%rip), %rdi      # 0x8381
leaq 0x4448(%rip), %rdx      # 0x8386
leaq 0x42b1(%rip), %rsi      # 0x81f6
leaq -0xd5d(%rip), %rcx      # 0x31ef
callq 0x3aa5
leaq 0x4876(%rip), %rdi      # 0x87ce
leaq 0x442b(%rip), %rdx      # 0x838a
leaq 0x42cd(%rip), %rsi      # 0x8233
leaq -0xcfb(%rip), %rcx      # 0x3272
callq 0x3aa5
leaq 0x4415(%rip), %rdi      # 0x838e
leaq 0x4412(%rip), %rdx      # 0x8392
leaq 0x429d(%rip), %rsi      # 0x8224
leaq -0xb9c(%rip), %rcx      # 0x33f2
callq 0x3aa5
leaq 0x43fd(%rip), %rdi      # 0x8397
leaq 0x43fb(%rip), %rdx      # 0x839c
movq %r15, %rsi
movq %r12, %rcx
callq 0x3aa5
leaq 0x43ee(%rip), %rdi      # 0x83a1
leaq 0x43ec(%rip), %rdx      # 0x83a6
leaq 0x42d1(%rip), %rsi      # 0x8292
leaq -0xd31(%rip), %rcx      # 0x3297
callq 0x3aa5
leaq 0x43d7(%rip), %rdi      # 0x83ab
leaq 0x43da(%rip), %rdx      # 0x83b5
leaq 0x42a2(%rip), %rsi      # 0x8284
leaq -0xc3b(%rip), %rcx      # 0x33ae
callq 0x3aa5
leaq 0x43c2(%rip), %rdi      # 0x83b7
leaq 0x43c3(%rip), %rsi      # 0x83bf
leaq 0x43ca(%rip), %rdx      # 0x83cd
leaq -0x1904(%rip), %rcx     # 0x2706
callq 0x3aa5
leaq 0x43ba(%rip), %rdi      # 0x83d0
leaq 0x43bb(%rip), %rsi      # 0x83d8
leaq 0x43bb(%rip), %rdx      # 0x83df
leaq -0xdda(%rip), %rcx      # 0x3251
callq 0x3aa5
leaq 0x4156(%rip), %rdi      # 0x818d
leaq 0x43a4(%rip), %rsi      # 0x83e2
leaq 0x43d2(%rip), %rdx      # 0x8417
leaq -0xc18(%rip), %rcx      # 0x3434
callq 0x3aa5
leaq 0x42cd(%rip), %rdi      # 0x8325
leaq 0x4116(%rip), %rsi      # 0x8175
leaq 0x4387(%rip), %rdx      # 0x83ed
leaq -0x7e3(%rip), %rcx      # 0x388a
callq 0x3aa5
leaq 0x4376(%rip), %rdi      # 0x83ef
leaq 0x4376(%rip), %rsi      # 0x83f6
leaq 0x4378(%rip), %rdx      # 0x83ff
leaq -0xe32(%rip), %rcx      # 0x325c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3aa5