// File: /workspace/github_c_makefile_star2_O0/reactive-systems[P]aiger-ltl-model-checker/aiger.c
// Function: aiger_add_input
void
aiger_add_input (aiger * public, unsigned lit, const char *name)
{
  IMPORT_private_FROM (public);
  aiger_symbol symbol;
  aiger_type *type;

  assert (!aiger_error (public));

  assert (lit);
  assert (!aiger_sign (lit));

  type = aiger_import_literal (private, lit);

  assert (!type->input);
  assert (!type->latch);
  assert (!type->and);

  type->input = 1;
  type->idx = public->num_inputs;

  CLR (symbol);
  symbol.lit = lit;
  symbol.name = aiger_copy_str (private, name);

  PUSH (public->inputs, public->num_inputs, private->size_inputs, symbol);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x2a70
cmpq $0x0, %rax
jne 0x279f
jmp 0x27be
leaq 0x9b51(%rip), %rdi      # 0xc2f7
leaq 0x9afc(%rip), %rsi      # 0xc2a9
movl $0x168, %edx            # imm = 0x168
leaq 0x9b54(%rip), %rcx      # 0xc30d
callq 0x10f0
cmpl $0x0, -0xc(%rbp)
je 0x27c6
jmp 0x27e5
leaq 0x9c10(%rip), %rdi      # 0xc3dd
leaq 0x9ad5(%rip), %rsi      # 0xc2a9
movl $0x16a, %edx            # imm = 0x16A
leaq 0x9b2d(%rip), %rcx      # 0xc30d
callq 0x10f0
movl -0xc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x27f2
jmp 0x2811
leaq 0x9b4e(%rip), %rdi      # 0xc347
leaq 0x9aa9(%rip), %rsi      # 0xc2a9
movl $0x16b, %edx            # imm = 0x16B
leaq 0x9b01(%rip), %rcx      # 0xc30d
callq 0x10f0
movq -0x20(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x2a90
movq %rax, -0x48(%rbp)
movq -0x48(%rbp), %rax
movb (%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x2833
jmp 0x2852
leaq 0x9b1f(%rip), %rdi      # 0xc359
leaq 0x9a68(%rip), %rsi      # 0xc2a9
movl $0x16f, %edx            # imm = 0x16F
leaq 0x9ac0(%rip), %rcx      # 0xc30d
callq 0x10f0
movq -0x48(%rbp), %rax
movb (%rax), %al
shrb %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x2866
jmp 0x2885
leaq 0x9af9(%rip), %rdi      # 0xc366
leaq 0x9a35(%rip), %rsi      # 0xc2a9
movl $0x170, %edx            # imm = 0x170
leaq 0x9a8d(%rip), %rcx      # 0xc30d
callq 0x10f0
movq -0x48(%rbp), %rax
movb (%rax), %al
shrb $0x2, %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x289a
jmp 0x28b9
leaq 0x9ad2(%rip), %rdi      # 0xc373
leaq 0x9a01(%rip), %rsi      # 0xc2a9
movl $0x171, %edx            # imm = 0x171
leaq 0x9a59(%rip), %rcx      # 0xc30d
callq 0x10f0
movq -0x48(%rbp), %rax
movb (%rax), %cl
andb $-0x2, %cl
orb $0x1, %cl
movb %cl, (%rax)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %ecx
movq -0x48(%rbp), %rax
movl %ecx, 0x4(%rax)
leaq -0x40(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1100
movl -0xc(%rbp), %eax
movl %eax, -0x40(%rbp)
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x2c00
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x20(%rbp), %rcx
cmpl 0x8c(%rcx), %eax
jne 0x2a27
jmp 0x2915
movq -0x20(%rbp), %rax
movl 0x8c(%rax), %eax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x2937
movq -0x50(%rbp), %rax
shlq %rax
movq %rax, -0x80(%rbp)
jmp 0x2942
movl $0x1, %eax
movq %rax, -0x80(%rbp)
jmp 0x2942
movq -0x80(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x50(%rbp), %rax
shlq $0x5, %rax
movq %rax, -0x60(%rbp)
movq -0x58(%rbp), %rax
shlq $0x5, %rax
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %rax
cmpq -0x68(%rbp), %rax
jae 0x2979
movq -0x60(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x2984
movq -0x68(%rbp), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movq 0xc0(%rax), %rax
movq -0x20(%rbp), %rcx
movq 0xb8(%rcx), %rdi
movq -0x68(%rbp), %rsi
callq *%rax
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rsi
movq -0x70(%rbp), %rdx
callq 0x1140
movq -0x68(%rbp), %rax
cmpq -0x60(%rbp), %rax
jbe 0x29e5
movq -0x78(%rbp), %rdi
addq -0x60(%rbp), %rdi
movq -0x68(%rbp), %rdx
subq -0x60(%rbp), %rdx
xorl %esi, %esi
callq 0x1100
movq -0x20(%rbp), %rax
movq 0xc8(%rax), %rax
movq -0x20(%rbp), %rcx
movq 0xb8(%rcx), %rdi
movq -0x8(%rbp), %rcx
movq 0x28(%rcx), %rsi
movq -0x60(%rbp), %rdx
callq *%rax
movq -0x78(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x58(%rbp), %rax
movl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, 0x8c(%rax)
jmp 0x2a27
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rax
movq -0x8(%rbp), %rdx
movl 0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x4(%rdx)
movl %ecx, %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x18(%rax)
addq $0x90, %rsp
popq %rbp
retq
nop