// File: /workspace/github_c_makefile_star2_O1/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 0x3532
movq %r9, %r15
movq %r8, %r12
movq %rdx, %r13
movq %rdi, %r14
leaq 0xcbb4(%rip), %rsi      # 0xf7f8
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2caf
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rbx
movl %ebx, %eax
andl $0x7, %eax
cmpl $0x5, %eax
jne 0x35d6
movq 0x8(%r13), %r13
movq %r13, %rdi
callq 0x386c
movq -0x30(%rbp), %rdx
leaq -0x8(%rdx), %rcx
addq $0x8, %rdx
movq %rdx, 0x8(%rsp)
movq %rax, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r12, %r8
movq %r15, %r9
callq 0x38b0
jmp 0x31d7
leaq 0xd689(%rip), %rsi      # 0x1033f
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2d04
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a53
movq %r15, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq -0x30(%rbp), %rcx
movq %r12, %r8
movq %r12, %r9
callq 0x39ef
jmp 0x31d7
leaq 0xd698(%rip), %rsi      # 0x103a3
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2d6c
movq %r12, -0x40(%rbp)
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
movq %r14, %r12
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a53
movq %rax, %r14
movq %r13, %rdi
callq 0x2a9b
movq %r15, (%rsp)
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movq %rax, %rcx
movq -0x30(%rbp), %r8
movq -0x40(%rbp), %r9
callq 0x361e
jmp 0x31d7
leaq 0xd660(%rip), %rsi      # 0x103d3
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2dc6
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
movq %r13, %rax
andq $-0x8, %rax
movq (%rax), %rbx
movq %r13, %rdi
callq 0x2a53
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 0x3770
leaq 0xd613(%rip), %rsi      # 0x103e0
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2e19
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movabsq $0xff00000000, %rdx     # imm = 0xFF00000000
jmp 0x2e6a
leaq 0xd5cc(%rip), %rsi      # 0x103ec
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2e79
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movabsq $0x700000000, %rdx      # imm = 0x700000000
movq %r14, %rdi
xorl %esi, %esi
callq 0x27e8
jmp 0x31d4
leaq 0xcfeb(%rip), %rsi      # 0xfe6b
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2ed4
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x206e
jmp 0x31d4
leaq 0xcfbd(%rip), %rsi      # 0xfe98
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2f2f
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x4, %edx
callq 0x2104
jmp 0x31d4
leaq 0xc926(%rip), %rsi      # 0xf85c
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2f94
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x6, %edx
callq 0x219a
movq %r14, %rdi
xorl %esi, %esi
movl $0xf, %edx
jmp 0x307d
leaq 0xc8cf(%rip), %rsi      # 0xf86a
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x2fef
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x6, %edx
callq 0x223b
jmp 0x31d4
leaq 0xc882(%rip), %rsi      # 0xf878
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x3087
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x2f, %edx
callq 0x241e
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1fb6
movq %r14, %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x24b0
movq %r14, %rdi
xorl %esi, %esi
movl $0x7, %edx
callq 0x219a
movq %r14, %rdi
xorl %esi, %esi
movl $0x1f, %edx
callq 0x22dc
jmp 0x31d4
leaq 0xc7ef(%rip), %rsi      # 0xf87d
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x30dd
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
callq 0x3b7f
jmp 0x31d4
leaq 0xc79f(%rip), %rsi      # 0xf883
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x3136
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
movq %r14, %rdi
movl $0x1f, %esi
callq 0x3b7f
xorl %r15d, %r15d
jmp 0x31d4
leaq 0xc74a(%rip), %rsi      # 0xf887
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x318d
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
jne 0x31d1
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x3, %edx
callq 0x237d
jmp 0x30ce
leaq 0xc6fc(%rip), %rsi      # 0xf890
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x31e6
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq %r14, %rdi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
testl %eax, %eax
je 0x3350
movl %eax, %r15d
movl %r15d, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xc6ac(%rip), %rsi      # 0xf899
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x329b
movq %r13, %rdi
callq 0x2a53
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, -0x40(%rbp)
testl %eax, %eax
jne 0x3529
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movl $0x0, -0x38(%rbp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ec
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, %ecx
negl %ecx
movl -0x38(%rbp), %ecx
sbbl %ecx, %ecx
movl %ecx, -0x38(%rbp)
testl %eax, %eax
jne 0x35aa
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2652
jmp 0x31d4
leaq 0xe34c(%rip), %rsi      # 0x115ee
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x336f
movq %r13, %rdi
callq 0x2a53
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, -0x40(%rbp)
testl %eax, %eax
jne 0x3529
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movl $0x0, -0x38(%rbp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ec
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, %ecx
negl %ecx
movl -0x38(%rbp), %ecx
sbbl %ecx, %ecx
movl %ecx, -0x38(%rbp)
testl %eax, %eax
jne 0x35aa
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x26ba
jmp 0x31d4
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movl $0x3f, %edx
callq 0x237d
movq %r14, %rdi
movl $0x1f, %esi
jmp 0x30d3
leaq 0xc525(%rip), %rsi      # 0xf89b
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x3433
movq %r13, %rdi
callq 0x2a53
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, -0x40(%rbp)
testl %eax, %eax
jne 0x3529
movl $0x0, -0x38(%rbp)
movq %r14, %rdi
movq %r14, -0x48(%rbp)
xorl %esi, %esi
movl $0x2, %edx
callq 0x223b
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ec
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, %ecx
negl %ecx
movl -0x38(%rbp), %ecx
sbbl %ecx, %ecx
movl %ecx, -0x38(%rbp)
testl %eax, %eax
jne 0x35aa
movq %r14, %rdi
movq %rbx, %rsi
callq 0x2722
jmp 0x312e
leaq 0xc463(%rip), %rsi      # 0xf89d
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
je 0x34e8
movq %r13, %rdi
callq 0x2a53
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, -0x40(%rbp)
testl %eax, %eax
jne 0x3529
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movl $0x0, -0x38(%rbp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ec
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, %ecx
negl %ecx
movl -0x38(%rbp), %ecx
sbbl %ecx, %ecx
movl %ecx, -0x38(%rbp)
testl %eax, %eax
jne 0x35aa
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2780
jmp 0x3049
leaq 0xc3b0(%rip), %rsi      # 0xf89f
movq %rbx, %rdi
callq 0x1cb5
testb %al, %al
movq %r15, -0x38(%rbp)
movq %r12, -0x40(%rbp)
je 0x3532
movq %r13, %rdi
callq 0x2a53
movq %r14, %rdi
movq %rax, %rsi
movq -0x30(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x38(%rbp), %r8
callq 0x2af5
movl %eax, -0x40(%rbp)
testl %eax, %eax
je 0x3551
movl -0x40(%rbp), %r15d
jmp 0x31d4
leaq 0xc368(%rip), %rdi      # 0xf8a1
leaq 0xc05b(%rip), %rsi      # 0xf59b
leaq 0xc2d0(%rip), %rcx      # 0xf817
movl $0x37c, %edx            # imm = 0x37C
callq 0x1090
movzbl -0x30(%rbp), %ebx
shlq $0x20, %rbx
orq $0x4, %rbx
movl $0x0, -0x38(%rbp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x25ec
movl %r13d, %eax
andl $0x7, %eax
cmpl $0x1, %eax
jne 0x35b7
andq $-0x8, %r13
movq (%r13), %rsi
movq -0x30(%rbp), %rdx
addq $-0x8, %rdx
movq %r14, %rdi
movq %r12, %rcx
movq %r15, %r8
callq 0x2af5
movl %eax, %ecx
negl %ecx
movl -0x38(%rbp), %ecx
sbbl %ecx, %ecx
movl %ecx, -0x38(%rbp)
testl %eax, %eax
je 0x35f5
movl -0x40(%rbp), %r15d
orl -0x38(%rbp), %r15d
jmp 0x31d4
leaq 0xc078(%rip), %rdi      # 0xf636
leaq 0xbfd6(%rip), %rsi      # 0xf59b
leaq 0xc07c(%rip), %rcx      # 0xf648
movl $0xf0, %edx
callq 0x1090
leaq 0xc225(%rip), %rdi      # 0xf802
leaq 0xbfb7(%rip), %rsi      # 0xf59b
leaq 0xc22c(%rip), %rcx      # 0xf817
movl $0x2f7, %edx            # imm = 0x2F7
callq 0x1090
xorl %r15d, %r15d
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x2780
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x1fb6
movq %r14, %rdi
movl $0xc, %esi
jmp 0x305d