// File: /workspace/github_c_makefile_star2_O1/snej[P]zdelta/trees.c
// Function: zd_tr_align
void zd_tr_align(s)
     deflate_state *s;
{
  send_bits(s, STATIC_TREES<<1, 3);
  send_code(s, END_BLOCK, static_dtree);
#ifdef DEBUG
  s->compressed_len += 9L; /* 3 for block type, 6 for EOB */
#endif
  bi_flush(s);
  /* Of the 9 bits for the empty block, we have already sent
   * (9 - bi_valid) bits. The lookahead for the last real code (before
   * the EOB of the previous block) was thus at least one plus the length
   * of the EOB plus what we have just sent of the empty static block.
   */
  if (1 + s->last_eob_len + 9 - s->bi_valid < 9) {
    send_bits(s, STATIC_TREES<<1, 3);
    send_code(s, END_BLOCK, static_dtree);
#ifdef DEBUG
    s->compressed_len += 9L;
#endif
    bi_flush(s);
  }
  s->last_eob_len = 6;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0x1a74(%rdi), %eax
movl $0x2, %edx
movl $0x2, %esi
movl %eax, %ecx
shll %cl, %esi
orw 0x1a70(%rdi), %si
movw %si, 0x1a70(%rdi)
cmpl $0xe, %eax
jl 0x4a16
movq 0x10(%rbx), %rax
movslq 0x28(%rbx), %rcx
leal 0x1(%rcx), %edi
movl %edi, 0x28(%rbx)
movb %sil, (%rax,%rcx)
movb 0x1a71(%rbx), %al
movq 0x10(%rbx), %rcx
movslq 0x28(%rbx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x28(%rbx)
movb %al, (%rcx,%rsi)
movl 0x1a74(%rbx), %eax
movb $0x10, %cl
subb %al, %cl
shrl %cl, %edx
movw %dx, 0x1a70(%rbx)
addl $-0xd, %eax
jmp 0x4a19
addl $0x3, %eax
movl %eax, 0x1a74(%rbx)
movl $0x20, %edx
movl $0x20, %esi
movl %eax, %ecx
shll %cl, %esi
orw 0x1a70(%rbx), %si
movw %si, 0x1a70(%rbx)
cmpl $0xb, %eax
jl 0x4a81
movq 0x10(%rbx), %rax
movslq 0x28(%rbx), %rcx
leal 0x1(%rcx), %edi
movl %edi, 0x28(%rbx)
movb %sil, (%rax,%rcx)
movb 0x1a71(%rbx), %al
movq 0x10(%rbx), %rcx
movslq 0x28(%rbx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x28(%rbx)
movb %al, (%rcx,%rsi)
movl 0x1a74(%rbx), %eax
movb $0x10, %cl
subb %al, %cl
shrl %cl, %edx
movw %dx, 0x1a70(%rbx)
addl $-0xa, %eax
jmp 0x4a84
addl $0x6, %eax
movl %eax, 0x1a74(%rbx)
movq %rbx, %rdi
callq 0x4b96
movl 0x1a6c(%rbx), %ecx
movl 0x1a74(%rbx), %eax
subl %eax, %ecx
addl $0xa, %ecx
cmpl $0x8, %ecx
jg 0x4b8a
movl $0x2, %edx
movl $0x2, %esi
movl %eax, %ecx
shll %cl, %esi
orw 0x1a70(%rbx), %si
movw %si, 0x1a70(%rbx)
cmpl $0xe, %eax
jl 0x4b0e
movq 0x10(%rbx), %rax
movslq 0x28(%rbx), %rcx
leal 0x1(%rcx), %edi
movl %edi, 0x28(%rbx)
movb %sil, (%rax,%rcx)
movb 0x1a71(%rbx), %al
movq 0x10(%rbx), %rcx
movslq 0x28(%rbx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x28(%rbx)
movb %al, (%rcx,%rsi)
movl 0x1a74(%rbx), %eax
movb $0x10, %cl
subb %al, %cl
shrl %cl, %edx
movw %dx, 0x1a70(%rbx)
addl $-0xd, %eax
jmp 0x4b11
addl $0x3, %eax
movl %eax, 0x1a74(%rbx)
movl $0x20, %edx
movl $0x20, %esi
movl %eax, %ecx
shll %cl, %esi
orw 0x1a70(%rbx), %si
movw %si, 0x1a70(%rbx)
cmpl $0xb, %eax
jl 0x4b79
movq 0x10(%rbx), %rax
movslq 0x28(%rbx), %rcx
leal 0x1(%rcx), %edi
movl %edi, 0x28(%rbx)
movb %sil, (%rax,%rcx)
movb 0x1a71(%rbx), %al
movq 0x10(%rbx), %rcx
movslq 0x28(%rbx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x28(%rbx)
movb %al, (%rcx,%rsi)
movl 0x1a74(%rbx), %eax
movb $0x10, %cl
subb %al, %cl
shrl %cl, %edx
movw %dx, 0x1a70(%rbx)
addl $-0xa, %eax
jmp 0x4b7c
addl $0x6, %eax
movl %eax, 0x1a74(%rbx)
movq %rbx, %rdi
callq 0x4b96
movl $0x6, 0x1a6c(%rbx)
popq %rbx
retq