// File: /workspace/github_c_makefile_star2_O3/mtnygard[P]complisp/lisp.c
// Function: Compile_call
int Compile_call(Buffer *buf, ASTNode *callable, ASTNode *args,
                 word stack_index, Env *varenv, Env *labels) {
  if (AST_is_symbol(callable)) {
    if (AST_symbol_matches(callable, "labelcall")) {
      ASTNode *label = operand1(args);
      assert(AST_is_symbol(label));
      ASTNode *call_args = AST_pair_cdr(args);
      word nargs = list_length(call_args);

      return Compile_labelcall(buf, label, call_args, stack_index - kWordSize,
                               varenv, labels, nargs, stack_index + kWordSize);
    }
    if (AST_symbol_matches(callable, "let")) {
      return Compile_let(buf, operand1(args), operand2(args), stack_index,
                         varenv, varenv, labels);
    }
    if (AST_symbol_matches(callable, "if")) {
      return Compile_if(buf, operand1(args), operand2(args), operand3(args),
                        stack_index, varenv, labels);
    }
    if (AST_symbol_matches(callable, "cons")) {
      return Compile_cons(buf, operand1(args), operand2(args), stack_index,
                          varenv, labels);
    }
    if (AST_symbol_matches(callable, "car")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_load_reg_indirect(buf, kRax, Ind(kRax, kCarOffset - kPairTag));
      return 0;
    }
    if (AST_symbol_matches(callable, "cdr")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_load_reg_indirect(buf, kRax, Ind(kRax, kCdrOffset - kPairTag));
      return 0;
    }
    if (AST_symbol_matches(callable, "add1")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_add_reg_imm32(buf, kRax, Object_encode_integer(1));
      return 0;
    }
    if (AST_symbol_matches(callable, "sub1")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_sub_reg_imm32(buf, kRax, Object_encode_integer(1));
      return 0;
    }
    if (AST_symbol_matches(callable, "integer->char")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_shl_reg_imm8(buf, kRax, kCharShift - kIntegerShift);
      Emit_or_reg_imm8(buf, kRax, kCharTag);
      return 0;
    }
    if (AST_symbol_matches(callable, "char->integer")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_shr_reg_imm8(buf, kRax, kCharShift - kIntegerShift);
      return 0;
    }
    if (AST_symbol_matches(callable, "nil?")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_cmp_reg_imm32(buf, kRax, Object_nil());
      Emit_mov_reg_imm32(buf, kRax, 0);
      Emit_setcc_imm8(buf, kEqual, kAl);
      Emit_shl_reg_imm8(buf, kRax, kBoolShift);
      Emit_or_reg_imm8(buf, kRax, kBoolTag);
      return 0;
    }
    if (AST_symbol_matches(callable, "zero?")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Compile_compare_imm32(buf, Object_encode_integer(0));
      return 0;
    }
    if (AST_symbol_matches(callable, "not")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Compile_compare_imm32(buf, Object_false());
      return 0;
    }
    if (AST_symbol_matches(callable, "integer?")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_and_reg_imm8(buf, kRax, kIntegerTagMask);
      Compile_compare_imm32(buf, kIntegerTag);
      return 0;
    }
    if (AST_symbol_matches(callable, "boolean?")) {
      _(Compile_expr(buf, operand1(args), stack_index, varenv, labels));
      Emit_and_reg_imm8(buf, kRax, kImmediateTagMask);
      Compile_compare_imm32(buf, kBoolTag);
      return 0;
    }
    if (AST_symbol_matches(callable, "+")) {
      _(Compile_expr(buf, operand2(args), stack_index, varenv, labels));
      Emit_store_reg_indirect(buf, Ind(kRsp, stack_index), kRax);
      _(Compile_expr(buf, operand1(args), stack_index - kWordSize, varenv,
                     labels));
      Emit_add_reg_indirect(buf, kRax, Ind(kRsp, stack_index));
      return 0;
    }
    if (AST_symbol_matches(callable, "-")) {
      _(Compile_expr(buf, operand2(args), stack_index, varenv, labels));
      Emit_store_reg_indirect(buf, Ind(kRsp, stack_index), kRax);
      _(Compile_expr(buf, operand1(args), stack_index - kWordSize, varenv,
                     labels));
      Emit_sub_reg_indirect(buf, kRax, Ind(kRsp, stack_index));
      return 0;
    }
    if (AST_symbol_matches(callable, "*")) {
      _(Compile_expr(buf, operand2(args), stack_index, varenv, labels));
      // Remove the tag so that the result is still only tagged with 0b00
      // instead of 0b0000
      Emit_shr_reg_imm8(buf, kRax, kIntegerShift);
      Emit_store_reg_indirect(buf, Ind(kRsp, stack_index), kRax);
      _(Compile_expr(buf, operand1(args), stack_index - kWordSize, varenv,
                     labels));
      Emit_mul_reg_indirect(buf, Ind(kRsp, stack_index));
      return 0;
    }
    if (AST_symbol_matches(callable, "=")) {
      _(Compile_expr(buf, operand2(args), stack_index, varenv, labels));
      Emit_store_reg_indirect(buf, Ind(kRsp, stack_index), kRax);
      _(Compile_expr(buf, operand1(args), stack_index - kWordSize, varenv,
                     labels));
      Emit_cmp_reg_indirect(buf, kRax, Ind(kRsp, stack_index));
      Emit_mov_reg_imm32(buf, kRax, 0);
      Emit_setcc_imm8(buf, kEqual, kAl);
      Emit_shl_reg_imm8(buf, kRax, kBoolShift);
      Emit_or_reg_imm8(buf, kRax, kBoolTag);
      return 0;
    }
    if (AST_symbol_matches(callable, "<")) {
      _(Compile_expr(buf, operand2(args), stack_index, varenv, labels));
      Emit_store_reg_indirect(buf, Ind(kRsp, stack_index), kRax);
      _(Compile_expr(buf, operand1(args), stack_index - kWordSize, varenv,
                     labels));
      Emit_cmp_reg_indirect(buf, kRax, Ind(kRsp, stack_index));
      Emit_mov_reg_imm32(buf, kRax, 0);
      Emit_setcc_imm8(buf, kLess, kAl);
      Emit_shl_reg_imm8(buf, kRax, kBoolShift);
      Emit_or_reg_imm8(buf, kRax, kBoolTag);
      return 0;
    }
  }
  assert(0 && "unexpected call type");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, -0x30(%rbp)
movq %rsi, %rbx
movl %ebx, %eax
andl $0x7, %eax
cmpl $0x5, %eax
jne 0x3525
movq %r9, %r15
movq %r8, %r12
movq %rdx, %r13
movq %rdi, %r14
leaq 0xcb8f(%rip), %rsi      # 0xf7d8
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2cb0
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rbx
movl %ebx, %eax
andl $0x7, %eax
cmpl $0x5, %eax
jne 0x35dc
movq 0x8(%r13), %r13
movq %r13, %rdi
callq 0x3828
movq -0x30(%rbp), %rax
leaq -0x8(%rax), %rcx
addq $0x8, %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %r8
movq %r15, %r9
callq 0x386c
jmp 0x30ac
leaq 0xd66a(%rip), %rsi      # 0x10321
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2d05
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a35
movq %r15, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq -0x30(%rbp), %rcx
movq %r12, %r8
movq %r12, %r9
callq 0x39ca
jmp 0x30ac
leaq 0xd679(%rip), %rsi      # 0x10385
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2d6d
movq %r12, -0x38(%rbp)
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
movq %r14, %r12
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a35
movq %rax, %r14
movq %r13, %rdi
callq 0x2a7d
movq %r15, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %rax, %rcx
movq -0x30(%rbp), %r8
movq -0x38(%rbp), %r9
callq 0x35fb
jmp 0x30ac
leaq 0xd641(%rip), %rsi      # 0x103b5
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2dc7
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq -0x30(%rbp), %rcx
movq %r12, %r8
movq %r15, %r9
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x373e
leaq 0xd5f4(%rip), %rsi      # 0x103c2
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2e20
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movabsq $0xff00000000, %rdx     # imm = 0xFF00000000
jmp 0x2e77
leaq 0xd5a7(%rip), %rsi      # 0x103ce
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2e86
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movabsq $0x700000000, %rdx      # imm = 0x700000000
movq %r14, %rdi
xorl %esi, %esi
callq 0x27ca
jmp 0x30a9
leaq 0xcfc0(%rip), %rsi      # 0xfe4d
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2ee7
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x2050
jmp 0x30a9
leaq 0xcf8c(%rip), %rsi      # 0xfe7a
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2f48
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x20e6
jmp 0x30a9
leaq 0xc8ed(%rip), %rsi      # 0xf83c
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x2fb3
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x6, %edx
callq 0x217c
movq %r14, %rdi
xorl %esi, %esi
movl $0xf, %edx
jmp 0x30a4
leaq 0xc890(%rip), %rsi      # 0xf84a
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x3014
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x6, %edx
callq 0x221d
jmp 0x30a9
leaq 0xc83d(%rip), %rsi      # 0xf858
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x30bb
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x2f, %edx
callq 0x2400
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1f98
movq %r14, %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x2492
movq %r14, %rdi
xorl %esi, %esi
movl $0x7, %edx
callq 0x217c
movq %r14, %rdi
xorl %esi, %esi
movl $0x1f, %edx
callq 0x22be
movl %r15d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc79b(%rip), %rsi      # 0xf85d
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x3110
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
callq 0x3b5d
jmp 0x30a9
leaq 0xc74c(%rip), %rsi      # 0xf863
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x316f
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
movq %r14, %rdi
movl $0x1f, %esi
callq 0x3b5d
xorl %r15d, %r15d
jmp 0x30a9
leaq 0xc6f1(%rip), %rsi      # 0xf867
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x31d0
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x235f
jmp 0x3104
leaq 0xc699(%rip), %rsi      # 0xf870
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x3239
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x3f, %edx
callq 0x235f
movq %r14, %rdi
movl $0x1f, %esi
jmp 0x3109
leaq 0xc639(%rip), %rsi      # 0xf879
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x32de
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
jne 0x351a
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ce
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2634
jmp 0x30a9
leaq 0xc596(%rip), %rsi      # 0xf87b
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x3383
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
jne 0x351a
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ce
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x269c
jmp 0x30a9
leaq 0xc4f3(%rip), %rsi      # 0xf87d
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x3437
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
jne 0x351a
movq %r14, %rdi
movq %r14, -0x40(%rbp)
xorl %esi, %esi
movl $0x2, %edx
callq 0x221d
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq -0x40(%rbp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ce
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jne 0x30a9
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2704
jmp 0x3167
leaq 0xc441(%rip), %rsi      # 0xf87f
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
je 0x34dc
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
jne 0x351a
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ce
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2762
jmp 0x3070
leaq 0xc39e(%rip), %rsi      # 0xf881
movq %rbx, %rdi
callq 0x1c97
testb %al, %al
movq %r15, -0x48(%rbp)
movq %r12, -0x38(%rbp)
je 0x3525
movq %r13, %rdi
callq 0x2a35
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq -0x48(%rbp), %r8
callq 0x2ad7
testl %eax, %eax
je 0x3544
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jmp 0x30a9
leaq 0xc357(%rip), %rdi      # 0xf883
leaq 0xc048(%rip), %rsi      # 0xf57b
leaq 0xc2bd(%rip), %rcx      # 0xf7f7
movl $0x37c, %edx            # imm = 0x37C
callq 0x1090
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ce
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35bd
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2ad7
testl %eax, %eax
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jne 0x30a9
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2762
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1f98
movq %r14, %rdi
movl $0xc, %esi
jmp 0x3084
leaq 0xc052(%rip), %rdi      # 0xf616
leaq 0xbfb0(%rip), %rsi      # 0xf57b
leaq 0xc056(%rip), %rcx      # 0xf628
movl $0xf0, %edx
callq 0x1090
leaq 0xc1ff(%rip), %rdi      # 0xf7e2
leaq 0xbf91(%rip), %rsi      # 0xf57b
leaq 0xc206(%rip), %rcx      # 0xf7f7
movl $0x2f7, %edx            # imm = 0x2F7
callq 0x1090