// File: /workspace/github_c_makefile_star2_O3/mtnygard[P]complisp/lisp.c
// Function: buffer_tests
SUITE(buffer_tests) {
  RUN_BUFFER_TEST(buffer_write8_increases_length);
  RUN_TEST(buffer_write8_expands_buffer);
  RUN_TEST(buffer_write32_expands_buffer);
  RUN_BUFFER_TEST(buffer_write32_writes_little_endian);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl $0x1, %ebx
movq %rbx, %rdi
callq 0x1cd8
movq %rax, -0x30(%rbp)
movq %rax, %r14
movl $0x0, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x1, -0x18(%rbp)
leaq 0x99b9(%rip), %rdi      # 0xfd5b
callq 0x47f4
testl %eax, %eax
je 0x6437
leaq 0xef1a(%rip), %rdi      # 0x152d0
callq 0x10d0
movl %eax, %edi
testl %eax, %eax
jne 0x6477
incl 0xed89(%rip)            # 0x15154
leaq -0x30(%rbp), %rbx
movl $0x1, %esi
movq %rbx, %rdi
callq 0x1df5
movq (%rbx), %rax
movq 0x10(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%rbx)
movb $-0x25, (%rax,%rcx)
movl 0xed5f(%rip), %edx      # 0x15154
movl %edx, %esi
incl %esi
movl %esi, 0xed55(%rip)      # 0x15154
cmpb $-0x25, (%rax)
jne 0x643c
addl $0x2, %edx
movl %edx, 0xed47(%rip)      # 0x15154
testq %rcx, %rcx
je 0x67da
leaq 0x915e(%rip), %rcx      # 0xf57b
movq %rcx, 0xed3c(%rip)      # 0x15160
movl $0x59a, 0xed2a(%rip)    # imm = 0x59A
leaq 0xa7da(%rip), %rcx      # 0x10c0f
jmp 0x645b
movq %rbx, %rsi
jmp 0x6480
leaq 0x9138(%rip), %rcx      # 0xf57b
movq %rcx, 0xed16(%rip)      # 0x15160
movl $0x599, 0xed04(%rip)    # imm = 0x599
leaq 0xa799(%rip), %rcx      # 0x10bf4
movq %rcx, 0xed06(%rip)      # 0x15168
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
testb $0x4, 0xeca2(%rip)      # 0x15110
movq %rax, %r14
jne 0x6864
callq 0x49b2
movq -0x18(%rbp), %rsi
movq %r14, %rdi
callq 0x1150
leaq 0x98eb(%rip), %rdi      # 0xfd7a
callq 0x47f4
testl %eax, %eax
je 0x65b6
leaq 0xee2d(%rip), %rdi      # 0x152d0
callq 0x10d0
movl %eax, %edi
testl %eax, %eax
jne 0x65b1
movl $0x1, %ebx
movq %rbx, %rdi
callq 0x1cd8
leaq -0x30(%rbp), %r14
movq %rax, (%r14)
movl $0x0, 0x8(%r14)
movq $0x0, 0x10(%r14)
movq $0x1, 0x18(%r14)
addl $0x2, 0xec6f(%rip)      # 0x15154
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1df5
movq (%r14), %rax
movq 0x10(%r14), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x10(%r14)
movb $-0x25, (%rax,%rcx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1df5
movq (%r14), %rdi
movq 0x10(%r14), %rax
movb $-0x11, (%rdi,%rax)
movl 0xec35(%rip), %ecx      # 0x15154
movl %ecx, %edx
incl %edx
movl %edx, 0xec2b(%rip)      # 0x15154
movq 0x18(%r14), %rsi
cmpq $0x1, %rsi
jbe 0x6556
addl $0x2, %ecx
movl %ecx, 0xec18(%rip)      # 0x15154
cmpq $0x1, %rax
jne 0x6577
callq 0x1150
movq $0x0, 0xec16(%rip) # 0x15168
xorl %eax, %eax
jmp 0x65af
leaq 0x901e(%rip), %rax      # 0xf57b
movq %rax, 0xebfc(%rip)      # 0x15160
movl $0x5a5, 0xebea(%rip)    # imm = 0x5A5
leaq 0xa6a8(%rip), %rax      # 0x10c1d
jmp 0x6596
leaq 0x8ffd(%rip), %rax      # 0xf57b
movq %rax, 0xebdb(%rip)      # 0x15160
movl $0x5a6, 0xebc9(%rip)    # imm = 0x5A6
leaq 0xa698(%rip), %rax      # 0x10c2e
movq %rax, 0xebcb(%rip)      # 0x15168
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb $0x4, 0xeb67(%rip)      # 0x15110
jne 0x6864
movl %eax, %edi
callq 0x49b2
leaq 0x97da(%rip), %rdi      # 0xfd97
callq 0x47f4
testl %eax, %eax
je 0x66be
leaq 0xecff(%rip), %rdi      # 0x152d0
callq 0x10d0
movl %eax, %edi
testl %eax, %eax
jne 0x66b9
movl $0x1, %edi
callq 0x1cd8
leaq -0x30(%rbp), %rbx
movq %rax, (%rbx)
movl $0x0, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
movq $0x1, 0x18(%rbx)
addl $0x2, 0xeb45(%rip)      # 0x15154
movq %rbx, %rdi
movl $0xdeadbeef, %esi       # imm = 0xDEADBEEF
callq 0x1eab
movl 0xeb32(%rip), %eax      # 0x15154
movl %eax, %ecx
incl %ecx
movl %ecx, 0xeb28(%rip)      # 0x15154
movq 0x18(%rbx), %rsi
cmpq $0x1, %rsi
jbe 0x665e
addl $0x2, %eax
movl %eax, 0xeb15(%rip)      # 0x15154
cmpq $0x4, -0x20(%rbp)
jne 0x667f
movq -0x30(%rbp), %rdi
callq 0x1150
movq $0x0, 0xeb0e(%rip) # 0x15168
xorl %eax, %eax
jmp 0x66b7
leaq 0x8f16(%rip), %rax      # 0xf57b
movq %rax, 0xeaf4(%rip)      # 0x15160
movl $0x5b1, 0xeae2(%rip)    # imm = 0x5B1
leaq 0xa5a0(%rip), %rax      # 0x10c1d
jmp 0x669e
leaq 0x8ef5(%rip), %rax      # 0xf57b
movq %rax, 0xead3(%rip)      # 0x15160
movl $0x5b2, 0xeac1(%rip)    # imm = 0x5B2
leaq 0xa59d(%rip), %rax      # 0x10c3b
movq %rax, 0xeac3(%rip)      # 0x15168
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testb $0x4, 0xea5f(%rip)      # 0x15110
jne 0x6864
movl %eax, %edi
callq 0x49b2
movl $0x1, %ebx
movq %rbx, %rdi
callq 0x1cd8
movq %rax, -0x30(%rbp)
movq %rax, %r14
movl $0x0, -0x28(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x1, -0x18(%rbp)
leaq 0x96c5(%rip), %rdi      # 0xfdb5
callq 0x47f4
testl %eax, %eax
je 0x678d
leaq 0xebcc(%rip), %rdi      # 0x152d0
callq 0x10d0
movl %eax, %edi
movq %r14, %rcx
testl %eax, %eax
jne 0x6847
leaq -0x30(%rbp), %rbx
movq %rbx, %rdi
movl $0xdeadbeef, %esi       # imm = 0xDEADBEEF
callq 0x1eab
movl 0xea27(%rip), %ecx      # 0x15154
movl %ecx, %eax
incl %eax
movl %eax, 0xea1d(%rip)      # 0x15154
movq (%rbx), %rax
cmpb $-0x11, (%rax)
jne 0x6798
movl %ecx, %edx
addl $0x2, %edx
movl %edx, 0xea0a(%rip)      # 0x15154
cmpb $-0x42, 0x1(%rax)
jne 0x67b9
movl %ecx, %edx
addl $0x3, %edx
movl %edx, 0xe9f9(%rip)      # 0x15154
cmpb $-0x53, 0x2(%rax)
jne 0x67ef
addl $0x4, %ecx
movl %ecx, 0xe9e6(%rip)      # 0x15154
cmpb $-0x22, 0x3(%rax)
jne 0x6810
movq $0x0, 0xe9e5(%rip) # 0x15168
xorl %edi, %edi
movq %rax, %rcx
jmp 0x6847
movq %rbx, %rsi
movq %r14, %rdi
jmp 0x6856
leaq 0x8ddc(%rip), %rcx      # 0xf57b
movq %rcx, 0xe9ba(%rip)      # 0x15160
movl $0x5b9, 0xe9a8(%rip)    # imm = 0x5B9
leaq 0xa491(%rip), %rcx      # 0x10c48
jmp 0x682f
leaq 0x8dbb(%rip), %rcx      # 0xf57b
movq %rcx, 0xe999(%rip)      # 0x15160
movl $0x5ba, 0xe987(%rip)    # imm = 0x5BA
leaq 0xa48b(%rip), %rcx      # 0x10c63
jmp 0x682f
movq $0x0, 0xe983(%rip) # 0x15168
xorl %edi, %edi
movq %rax, %r14
jmp 0x6477
leaq 0x8d85(%rip), %rcx      # 0xf57b
movq %rcx, 0xe963(%rip)      # 0x15160
movl $0x5bb, 0xe951(%rip)    # imm = 0x5BB
leaq 0xa470(%rip), %rcx      # 0x10c7e
jmp 0x682f
leaq 0x8d64(%rip), %rcx      # 0xf57b
movq %rcx, 0xe942(%rip)      # 0x15160
movl $0x5bc, 0xe930(%rip)    # imm = 0x5BC
leaq 0xa46a(%rip), %rcx      # 0x10c99
movq %rcx, 0xe932(%rip)      # 0x15168
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
testb $0x4, 0xe8ce(%rip)      # 0x15110
movq %rax, %rcx
jne 0x6864
movq %rcx, %rbx
callq 0x49b2
movq -0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x1150
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
callq 0x1040