// File: /workspace/github_c_makefile_star2_O1/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 0x73f7
callq 0x772f
movq %rax, %r12
cmpl $0x0, 0x6b04(%rip)      # 0xe2b8
movl %ebx, 0x8(%rsp)
movq %r14, 0x10(%rsp)
je 0x7920
movq 0x6b8e(%rip), %r8       # 0xe358
testq %r15, %r15
sete %al
movl %r14d, %edx
addl %ebx, %edx
sete %cl
orb %al, %cl
jne 0x794c
movq %r8, 0x20(%rsp)
movq %r12, 0x28(%rsp)
testl %edx, %edx
jle 0x7962
movl %edx, %r13d
leaq 0x344d(%rip), %rbp      # 0xac49
movl $0x2e, %ebx
xorl %r12d, %r12d
movl %edx, 0xc(%rsp)
movq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x20f0
movq %r14, %rdi
movq %rax, %rsi
callq 0x7f65
movq 0x20(%rsp), %rax
leaq (%r12,%rax), %rcx
leaq 0x3411(%rip), %rsi      # 0xac41
movl $0x8, %edx
xorl %eax, %eax
callq 0x801d
xorl %eax, %eax
leaq 0x30(%rsp), %r14
leaq (%r12,%rax), %rcx
cmpq %r13, %rcx
jae 0x7878
movzbl (%r15,%rax), %ecx
movb $0x20, (%r14)
movl %ecx, %edx
shrl $0x4, %edx
movb (%rdx,%rbp), %dl
movb %dl, 0x1(%r14)
andl $0xf, %ecx
movb (%rcx,%rbp), %cl
movb %cl, 0x2(%r14)
addq $0x3, %r14
incq %rax
cmpq $0x10, %rax
jne 0x7843
cmpl $0xf, %eax
ja 0x78ab
movl $0xf, %ecx
subl %eax, %ecx
leal (%rcx,%rcx,2), %eax
movq %rax, 0x18(%rsp)
leal (%rcx,%rcx,2), %edx
addl $0x3, %edx
movq %r14, %rdi
movl $0x20, %esi
callq 0x2170
movq 0x18(%rsp), %rax
addq %rax, %r14
addq $0x3, %r14
movw $0x2120, (%r14)         # imm = 0x2120
movb $0x20, 0x2(%r14)
addq $0x3, %r14
xorl %eax, %eax
leaq (%r12,%rax), %rcx
cmpq %r13, %rcx
jae 0x78e8
movzbl (%r15,%rax), %ecx
leal -0x7f(%rcx), %edx
cmpl $0x21, %edx
movl %ecx, %edx
cmovbl %ebx, %edx
cmpl $0x20, %ecx
cmovbl %ebx, %edx
movb %dl, (%r14,%rax)
incq %rax
cmpq $0x10, %rax
jne 0x78bc
addq %rax, %r14
movw $0xa, (%r14)
leaq 0x30(%rsp), %r14
movq %r14, %rdi
callq 0x20f0
movq %r14, %rdi
movq %rax, %rsi
callq 0x7f65
addq $0x10, %r12
addq $0x10, %r15
movl 0xc(%rsp), %edx
cmpl %r12d, %edx
jg 0x7808
jmp 0x7962
testq %r12, %r12
je 0x793f
cmpb $0x0, (%r12)
je 0x793f
movq %r12, %rdi
callq 0x20f0
movq %r12, %rdi
movq %rax, %rsi
callq 0x7f65
movq %r15, %rdi
movq %r14, %rsi
callq 0x7f65
jmp 0x7962
leaq 0x32e3(%rip), %rsi      # 0xac36
movq %r12, %rdx
movl $0x8, %ecx
xorl %eax, %eax
callq 0x801d
movl 0x8(%rsp), %ecx
movl %ecx, %eax
addq 0x10(%rsp), %rax
addq %rax, 0x69e4(%rip)      # 0xe358
xorl %eax, %eax
testl %ecx, %ecx
sete %al
movl %eax, 0x69c7(%rip)      # 0xe348
leaq 0x6908(%rip), %rax      # 0xe290
leaq 0x6911(%rip), %rcx      # 0xe2a0
cmoveq %rax, %rcx
cmpl $0x0, 0x691e(%rip)      # 0xe2b8
movq (%rcx), %rax
leaq 0x25eb(%rip), %rbx      # 0x9f8f
cmovneq %rax, %rbx
testq %rax, %rax
cmovneq %rax, %rbx
testq %rbx, %rbx
je 0x79cc
cmpb $0x0, (%rbx)
je 0x79cc
movq %rbx, %rdi
callq 0x20f0
movq %rbx, %rdi
movq %rax, %rsi
callq 0x7f65
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq