// File: /workspace/github_c_makefile_star2_O3/hilbix[P]unbuffered/unbuffered.c
// Function: dump_line
static void
dump_line(const char *ptr, size_t n, int lineend)
{
  const char		*p;

  start_line(0, lineend);
  p = tino_buf_get_sN(&prefix);

  if (flag_hexdump)
    tino_xd(&out, p, 8, byte_pos, (const unsigned char *)ptr, n+lineend);
  else
    {
      if (p && *p)
        tino_data_putsA(&out, p);
#ifdef HAVE_ESCAPE_XML
      if (flag_xml)
        tino_data_write_xmlA(&out, ptr, n, flag_xml-1);
      else
#endif
#ifdef HAVE_ESCAPE_JSON
      if (flag_json)
        tino_data_write_jsonA(&out, ptr, n);
      else
#endif
        tino_data_writeA(&out, ptr, n);
    }

  byte_pos	+= n+lineend;

  in_line	= !lineend;
  p		= in_line ? line_cont_suffix : line_suffix;
  if (!p && !flag_hexdump)
    p		= "\n";
  if (p && *p)
    tino_data_putsA(&out, p);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
xorl %edi, %edi
movl %edx, %esi
callq 0x7233
callq 0x7553
movq %rax, %r12
cmpl $0x0, 0x5ce0(%rip)      # 0xd2b8
movl %ebx, 0x8(%rsp)
movq %r14, 0x10(%rsp)
je 0x7748
movq 0x5d6a(%rip), %r8       # 0xd358
testq %r15, %r15
sete %al
movl %r14d, %edx
addl %ebx, %edx
sete %cl
orb %al, %cl
jne 0x7774
movq %r8, 0x20(%rsp)
movq %r12, 0x28(%rsp)
testl %edx, %edx
jle 0x778a
movl %edx, %r14d
leaq 0x2660(%rip), %r13      # 0x9c80
movl $0x2e, %r12d
xorl %ebp, %ebp
movl %edx, 0xc(%rsp)
movq 0x28(%rsp), %rbx
movq %rbx, %rdi
callq 0x20f0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7d71
movq 0x20(%rsp), %rax
leaq (%rax,%rbp), %rcx
leaq 0x2624(%rip), %rsi      # 0x9c78
movl $0x8, %edx
xorl %eax, %eax
callq 0x7e29
xorl %eax, %eax
xorl %ecx, %ecx
leaq (%rcx,%rbp), %rdx
cmpq %r14, %rdx
jae 0x76a7
movzbl (%r15,%rcx), %edx
movb $0x20, 0x30(%rsp,%rax)
movl %edx, %esi
shrl $0x4, %esi
movb (%rsi,%r13), %sil
movb %sil, 0x31(%rsp,%rax)
andl $0xf, %edx
movb (%rdx,%r13), %dl
movb %dl, 0x32(%rsp,%rax)
incq %rcx
addq $0x3, %rax
cmpq $0x30, %rax
jne 0x7664
leaq (%rsp,%rax), %rbx
addq $0x30, %rbx
jmp 0x76d6
leaq (%rsp,%rax), %rbx
addq $0x30, %rbx
testl $0xfffffff0, %ecx       # imm = 0xFFFFFFF0
jne 0x76d6
movl $0x30, %edx
subq %rax, %rdx
movq %rdx, 0x18(%rsp)
movq %rbx, %rdi
movl $0x20, %esi
callq 0x2170
addq 0x18(%rsp), %rbx
movw $0x2120, (%rbx)         # imm = 0x2120
movb $0x20, 0x2(%rbx)
addq $0x3, %rbx
xorl %eax, %eax
leaq (%rax,%rbp), %rcx
cmpq %r14, %rcx
jae 0x7712
movzbl (%r15,%rax), %ecx
leal -0x7f(%rcx), %edx
cmpl $0x21, %edx
movl %ecx, %edx
cmovbl %r12d, %edx
cmpl $0x20, %ecx
cmovbl %r12d, %edx
movb %dl, (%rbx,%rax)
incq %rax
cmpq $0x10, %rax
jne 0x76e5
addq %rax, %rbx
movw $0xa, (%rbx)
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x20f0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7d71
addq $0x10, %rbp
addq $0x10, %r15
movl 0xc(%rsp), %edx
cmpl %ebp, %edx
jg 0x762c
jmp 0x778a
testq %r12, %r12
je 0x7767
cmpb $0x0, (%r12)
je 0x7767
movq %r12, %rdi
callq 0x20f0
movq %r12, %rdi
movq %rax, %rsi
callq 0x7d71
movq %r15, %rdi
movq %r14, %rsi
callq 0x7d71
jmp 0x778a
leaq 0x24f2(%rip), %rsi      # 0x9c6d
movq %r12, %rdx
movl $0x8, %ecx
xorl %eax, %eax
callq 0x7e29
movl 0x8(%rsp), %ecx
movl %ecx, %eax
addq 0x10(%rsp), %rax
addq %rax, 0x5bbc(%rip)      # 0xd358
xorl %eax, %eax
testl %ecx, %ecx
sete %al
movl %eax, 0x5b9f(%rip)      # 0xd348
leaq 0x5ae0(%rip), %rax      # 0xd290
leaq 0x5ae9(%rip), %rcx      # 0xd2a0
cmoveq %rax, %rcx
cmpl $0x0, 0x5af6(%rip)      # 0xd2b8
movq (%rcx), %rax
leaq 0x182b(%rip), %rbx      # 0x8ff7
cmovneq %rax, %rbx
testq %rax, %rax
cmovneq %rax, %rbx
testq %rbx, %rbx
je 0x77f4
cmpb $0x0, (%rbx)
je 0x77f4
movq %rbx, %rdi
callq 0x20f0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7d71
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq