// File: /workspace/github_c_makefile_star2_O1/neovim[P]libtermkey/driver-csi.c
// Function: new_driver
static void *new_driver(TermKey *tk, const char *term)
{
  if(!keyinfo_initialised)
    if(!register_keys())
      return NULL;

  TermKeyCsi *csi = malloc(sizeof *csi);
  if(!csi)
    return NULL;

  csi->tk = tk;
  csi->saved_string_id = 0;
  csi->saved_string = NULL;

  return csi;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpb $0x0, 0x4dcd(%rip)      # 0xa200
jne 0x5b95
xorps %xmm0, %xmm0
movaps %xmm0, 0x55fd(%rip)     # 0xaa40
movaps %xmm0, 0x55e6(%rip)     # 0xaa30
movaps %xmm0, 0x55cf(%rip)     # 0xaa20
movaps %xmm0, 0x55b8(%rip)     # 0xaa10
xorl %eax, %eax
leaq 0x4daf(%rip), %rcx      # 0xa210
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x51a3(%rip), %rsi      # 0xa610
movl %edx, 0x4(%rax,%rcx)
movl %edx, 0x4(%rax,%rsi)
addq $0x10, %rax
cmpq $0x400, %rax            # imm = 0x400
jne 0x546d
movl $0x4, %eax
leaq 0x55c3(%rip), %rcx      # 0xaa50
movl $0xffffffff, (%rax,%rcx) # imm = 0xFFFFFFFF
addq $0x10, %rax
cmpq $0x234, %rax            # imm = 0x234
jne 0x548d
movsd 0x1eb8(%rip), %xmm0     # 0x7360
movaps %xmm0, 0x4d71(%rip)     # 0xa220
leaq 0x9ed(%rip), %r10       # 0x5ea3
movq %r10, 0x57cb(%rip)      # 0xac88
movsd 0x1eab(%rip), %xmm0     # 0x7370
movaps %xmm0, 0x4d64(%rip)     # 0xa230
movq %r10, 0x57bd(%rip)      # 0xac90
movsd 0x1ea5(%rip), %xmm0     # 0x7380
movaps %xmm0, 0x4d5e(%rip)     # 0xa240
movq %r10, 0x57af(%rip)      # 0xac98
movsd 0x1e9f(%rip), %xmm0     # 0x7390
movaps %xmm0, 0x4d58(%rip)     # 0xa250
movq %r10, 0x57a1(%rip)      # 0xaca0
movabsq $0xb00000002, %rax      # imm = 0xB00000002
movq %rax, 0x4d50(%rip)      # 0xa260
xorl %eax, %eax
movq %rax, 0x4d4f(%rip)      # 0xa268
movq %r10, 0x5788(%rip)      # 0xaca8
movabsq $0x1300000002, %rcx     # imm = 0x1300000002
movq %rcx, 0x4d3f(%rip)      # 0xa270
movq %rax, 0x4d40(%rip)      # 0xa278
movq %r10, 0x5771(%rip)      # 0xacb0
movabsq $0x1200000002, %rdi     # imm = 0x1200000002
movq %rdi, 0x4d40(%rip)      # 0xa290
movq %rax, 0x4d41(%rip)      # 0xa298
movq %r10, 0x5762(%rip)      # 0xacc0
movabsq $0x100000001, %rdx      # imm = 0x100000001
movq %rdx, 0x4da1(%rip)      # 0xa310
movq %rax, 0x4da2(%rip)      # 0xa318
movq %r10, 0x5783(%rip)      # 0xad00
movabsq $0x200000001, %rsi      # imm = 0x200000001
movq %rsi, 0x4d92(%rip)      # 0xa320
movq %rax, 0x4d93(%rip)      # 0xa328
movq %r10, 0x576c(%rip)      # 0xad08
movabsq $0x300000001, %r8       # imm = 0x300000001
movq %r8, 0x4d83(%rip)       # 0xa330
movq %rax, 0x4d84(%rip)      # 0xa338
movq %r10, 0x5755(%rip)      # 0xad10
movabsq $0x400000001, %r9       # imm = 0x400000001
movq %r9, 0x4d74(%rip)       # 0xa340
movq %rax, 0x4d75(%rip)      # 0xa348
movq %r10, 0x573e(%rip)      # 0xad18
movabsq $0x200000002, %r11      # imm = 0x200000002
movq %r11, 0x4dc5(%rip)      # 0xa3b0
movq %rdx, 0x4dc6(%rip)      # 0xa3b8
movq %r10, 0x5757(%rip)      # 0xad50
movabsq $0x3400000002, %r10     # imm = 0x3400000002
movq %r10, 0x50d6(%rip)      # 0xa6e0
movl %eax, 0x50dc(%rip)      # 0xa6ec
movl %eax, 0x50d2(%rip)      # 0xa6e8
movb $0x0, 0x5400(%rip)      # 0xaa1d
movabsq $0x3b00000002, %r10     # imm = 0x3B00000002
movq %r10, 0x5162(%rip)      # 0xa790
movq %rax, 0x5163(%rip)      # 0xa798
movb $0x3d, 0x53ec(%rip)     # 0xaa28
movabsq $0x3700000002, %r10     # imm = 0x3700000002
movq %r10, 0x5263(%rip)      # 0xa8b0
movq %rax, 0x5264(%rip)      # 0xa8b8
movb $0x2a, 0x53df(%rip)     # 0xaa3a
movabsq $0x3500000002, %r10     # imm = 0x3500000002
movq %r10, 0x5254(%rip)      # 0xa8c0
movq %rax, 0x5255(%rip)      # 0xa8c8
movl $0x2e2d2c2b, 0x53be(%rip) # imm = 0x2E2D2C2B
movabsq $0x3900000002, %r10     # imm = 0x3900000002
movq %r10, 0x5242(%rip)      # 0xa8d0
movq %rax, 0x5243(%rip)      # 0xa8d8
movabsq $0x3600000002, %r10     # imm = 0x3600000002
movq %r10, 0x523a(%rip)      # 0xa8e0
movq %rax, 0x523b(%rip)      # 0xa8e8
movabsq $0x3a00000002, %r10     # imm = 0x3A00000002
movq %r10, 0x5232(%rip)      # 0xa8f0
movq %rax, 0x5233(%rip)      # 0xa8f8
movabsq $0x3800000002, %r10     # imm = 0x3800000002
movq %r10, 0x522a(%rip)      # 0xa900
movl %eax, 0x5230(%rip)      # 0xa90c
movl %eax, 0x5226(%rip)      # 0xa908
movb $0x2f, 0x5356(%rip)     # 0xaa3f
movabsq $0x2a00000002, %r10     # imm = 0x2A00000002
movq %r10, 0x5216(%rip)      # 0xa910
movl %eax, 0x521c(%rip)      # 0xa91c
movl %eax, 0x5212(%rip)      # 0xa918
movb $0x30, 0x5333(%rip)     # 0xaa40
movabsq $0x2b00000002, %r10     # imm = 0x2B00000002
movq %r10, 0x5202(%rip)      # 0xa920
movl %eax, 0x5208(%rip)      # 0xa92c
movl %eax, 0x51fe(%rip)      # 0xa928
movb $0x31, 0x5310(%rip)     # 0xaa41
movabsq $0x2c00000002, %r10     # imm = 0x2C00000002
movq %r10, 0x51ee(%rip)      # 0xa930
movl %eax, 0x51f4(%rip)      # 0xa93c
movl %eax, 0x51ea(%rip)      # 0xa938
movb $0x32, 0x52ed(%rip)     # 0xaa42
movabsq $0x2d00000002, %r10     # imm = 0x2D00000002
movq %r10, 0x51da(%rip)      # 0xa940
movl %eax, 0x51e0(%rip)      # 0xa94c
movl %eax, 0x51d6(%rip)      # 0xa948
movb $0x33, 0x52ca(%rip)     # 0xaa43
movabsq $0x2e00000002, %r10     # imm = 0x2E00000002
movq %r10, 0x51c6(%rip)      # 0xa950
movl %eax, 0x51cc(%rip)      # 0xa95c
movl %eax, 0x51c2(%rip)      # 0xa958
movb $0x34, 0x52a7(%rip)     # 0xaa44
movabsq $0x2f00000002, %r10     # imm = 0x2F00000002
movq %r10, 0x51b2(%rip)      # 0xa960
movl %eax, 0x51b8(%rip)      # 0xa96c
movl %eax, 0x51ae(%rip)      # 0xa968
movb $0x35, 0x5284(%rip)     # 0xaa45
movabsq $0x3000000002, %r10     # imm = 0x3000000002
movq %r10, 0x519e(%rip)      # 0xa970
movl %eax, 0x51a4(%rip)      # 0xa97c
movl %eax, 0x519a(%rip)      # 0xa978
movb $0x36, 0x5261(%rip)     # 0xaa46
movabsq $0x3100000002, %r10     # imm = 0x3100000002
movq %r10, 0x518a(%rip)      # 0xa980
movl %eax, 0x5190(%rip)      # 0xa98c
movl %eax, 0x5186(%rip)      # 0xa988
movb $0x37, 0x523e(%rip)     # 0xaa47
movabsq $0x3200000002, %r10     # imm = 0x3200000002
movq %r10, 0x5176(%rip)      # 0xa990
movl %eax, 0x517c(%rip)      # 0xa99c
movl %eax, 0x5172(%rip)      # 0xa998
movb $0x38, 0x521b(%rip)     # 0xaa48
movabsq $0x3300000002, %r10     # imm = 0x3300000002
movq %r10, 0x5162(%rip)      # 0xa9a0
movl %eax, 0x5168(%rip)      # 0xa9ac
movl %eax, 0x515e(%rip)      # 0xa9a8
movb $0x39, 0x51f8(%rip)     # 0xaa49
movabsq $0xc00000002, %r10      # imm = 0xC00000002
movq %r10, 0x51fe(%rip)      # 0xaa60
movl %eax, 0x5204(%rip)      # 0xaa6c
movl %eax, 0x51fa(%rip)      # 0xaa68
leaq 0x68f(%rip), %r10       # 0x5f04
movq %r10, 0x55f4(%rip)      # 0xae70
movabsq $0xd00000002, %r10      # imm = 0xD00000002
movq %r10, 0x51e3(%rip)      # 0xaa70
movl %eax, 0x51e9(%rip)      # 0xaa7c
movl %eax, 0x51df(%rip)      # 0xaa78
movabsq $0xe00000002, %r10      # imm = 0xE00000002
movq %r10, 0x51d6(%rip)      # 0xaa80
movl %eax, 0x51dc(%rip)      # 0xaa8c
movl %eax, 0x51d2(%rip)      # 0xaa88
movabsq $0xf00000002, %r10      # imm = 0xF00000002
movq %r10, 0x51c9(%rip)      # 0xaa90
movl %eax, 0x51cf(%rip)      # 0xaa9c
movl %eax, 0x51c5(%rip)      # 0xaa98
movabsq $0x1000000002, %r10     # imm = 0x1000000002
movq %r10, 0x51bc(%rip)      # 0xaaa0
movl %eax, 0x51c2(%rip)      # 0xaaac
movl %eax, 0x51b8(%rip)      # 0xaaa8
movabsq $0x1100000002, %r10     # imm = 0x1100000002
movq %r10, 0x51af(%rip)      # 0xaab0
movl %eax, 0x51b5(%rip)      # 0xaabc
movl %eax, 0x51ab(%rip)      # 0xaab8
movq %rdi, 0x51ac(%rip)      # 0xaac0
movl %eax, 0x51b2(%rip)      # 0xaacc
movl %eax, 0x51a8(%rip)      # 0xaac8
movq %rcx, 0x51a9(%rip)      # 0xaad0
movl %eax, 0x51af(%rip)      # 0xaadc
movl %eax, 0x51a5(%rip)      # 0xaad8
movq %rdx, 0x51c6(%rip)      # 0xab00
movl %eax, 0x51cc(%rip)      # 0xab0c
movl %eax, 0x51c2(%rip)      # 0xab08
movq %rsi, 0x51c3(%rip)      # 0xab10
movl %eax, 0x51c9(%rip)      # 0xab1c
movl %eax, 0x51bf(%rip)      # 0xab18
movq %r8, 0x51c0(%rip)       # 0xab20
movl %eax, 0x51c6(%rip)      # 0xab2c
movl %eax, 0x51bc(%rip)      # 0xab28
movq %r9, 0x51bd(%rip)       # 0xab30
movl %eax, 0x51c3(%rip)      # 0xab3c
movl %eax, 0x51b9(%rip)      # 0xab38
movabsq $0x500000001, %rcx      # imm = 0x500000001
movq %rcx, 0x51b0(%rip)      # 0xab40
movl %eax, 0x51b6(%rip)      # 0xab4c
movl %eax, 0x51ac(%rip)      # 0xab48
movabsq $0x600000001, %rcx      # imm = 0x600000001
movq %rcx, 0x51b3(%rip)      # 0xab60
movl %eax, 0x51b9(%rip)      # 0xab6c
movl %eax, 0x51af(%rip)      # 0xab68
movabsq $0x700000001, %rcx      # imm = 0x700000001
movq %rcx, 0x51a6(%rip)      # 0xab70
movl %eax, 0x51ac(%rip)      # 0xab7c
movl %eax, 0x51a2(%rip)      # 0xab78
movabsq $0x800000001, %rcx      # imm = 0x800000001
movq %rcx, 0x5199(%rip)      # 0xab80
movl %eax, 0x519f(%rip)      # 0xab8c
movl %eax, 0x5195(%rip)      # 0xab88
movabsq $0x900000001, %rcx      # imm = 0x900000001
movq %rcx, 0x518c(%rip)      # 0xab90
movl %eax, 0x5192(%rip)      # 0xab9c
movl %eax, 0x5188(%rip)      # 0xab98
movabsq $0xa00000001, %rcx      # imm = 0xA00000001
movq %rcx, 0x517f(%rip)      # 0xaba0
movl %eax, 0x5185(%rip)      # 0xabac
movl %eax, 0x517b(%rip)      # 0xaba8
movabsq $0xb00000001, %rcx      # imm = 0xB00000001
movq %rcx, 0x5182(%rip)      # 0xabc0
movl %eax, 0x5188(%rip)      # 0xabcc
movl %eax, 0x517e(%rip)      # 0xabc8
movabsq $0xc00000001, %rcx      # imm = 0xC00000001
movq %rcx, 0x5175(%rip)      # 0xabd0
movl %eax, 0x517b(%rip)      # 0xabdc
movl %eax, 0x5171(%rip)      # 0xabd8
movabsq $0xd00000001, %rcx      # imm = 0xD00000001
movq %rcx, 0x5168(%rip)      # 0xabe0
movl %eax, 0x516e(%rip)      # 0xabec
movl %eax, 0x5164(%rip)      # 0xabe8
movabsq $0xe00000001, %rcx      # imm = 0xE00000001
movq %rcx, 0x515b(%rip)      # 0xabf0
movl %eax, 0x5161(%rip)      # 0xabfc
movl %eax, 0x5157(%rip)      # 0xabf8
movabsq $0xf00000001, %rcx      # imm = 0xF00000001
movq %rcx, 0x515e(%rip)      # 0xac10
movl %eax, 0x5164(%rip)      # 0xac1c
movl %eax, 0x515a(%rip)      # 0xac18
movabsq $0x1000000001, %rcx     # imm = 0x1000000001
movq %rcx, 0x5151(%rip)      # 0xac20
movl %eax, 0x5157(%rip)      # 0xac2c
movl %eax, 0x514d(%rip)      # 0xac28
movabsq $0x1100000001, %rcx     # imm = 0x1100000001
movq %rcx, 0x5154(%rip)      # 0xac40
movl %eax, 0x515a(%rip)      # 0xac4c
movl %eax, 0x5150(%rip)      # 0xac48
movabsq $0x1200000001, %rcx     # imm = 0x1200000001
movq %rcx, 0x5147(%rip)      # 0xac50
movl %eax, 0x514d(%rip)      # 0xac5c
movl %eax, 0x5143(%rip)      # 0xac58
movabsq $0x1300000001, %rcx     # imm = 0x1300000001
movq %rcx, 0x513a(%rip)      # 0xac60
movl %eax, 0x5140(%rip)      # 0xac6c
movl %eax, 0x5136(%rip)      # 0xac68
movabsq $0x1400000001, %rcx     # imm = 0x1400000001
movq %rcx, 0x512d(%rip)      # 0xac70
movl %eax, 0x5133(%rip)      # 0xac7c
movl %eax, 0x5129(%rip)      # 0xac78
leaq 0x187(%rip), %rax       # 0x5cdd
movq %rax, 0x52cb(%rip)      # 0xae28
leaq 0x1c0(%rip), %rax       # 0x5d24
movq %rax, 0x517d(%rip)      # 0xace8
movq %rax, 0x5276(%rip)      # 0xade8
leaq 0x2a6(%rip), %rax       # 0x5e1f
movq %rax, 0x5190(%rip)      # 0xad10
leaq 0x2e4(%rip), %rax       # 0x5e6b
movq %rax, 0x52ba(%rip)      # 0xae48
movb $0x1, 0x466b(%rip)      # 0xa200
movl $0x18, %edi
callq 0x31c0
testq %rax, %rax
je 0x5bb8
movq %rbx, (%rax)
movl $0x0, 0x8(%rax)
movq $0x0, 0x10(%rax)
jmp 0x5bba
xorl %eax, %eax
popq %rbx
retq