// File: /workspace/github_c_makefile_star2_O2/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 0x6a64
callq 0x6cf5
movq %rax, %rdi
cmpl $0x0, 0x6530(%rip)      # 0xd2a8
movl %ebx, 0xc(%rsp)
movq %r14, 0x10(%rsp)
je 0x6ea7
movq 0x65ba(%rip), %r8       # 0xd348
testq %r15, %r15
sete %cl
movl %r14d, %eax
addl %ebx, %eax
sete %dl
orb %cl, %dl
jne 0x6ec3
movq %r8, 0x18(%rsp)
movslq %eax, %rbp
pushq $0x2e
popq %r14
leaq 0x2ed9(%rip), %r13      # 0x9c90
movq %rbp, 0x28(%rsp)
xorl %ebx, %ebx
movq %rdi, 0x20(%rsp)
cmpq 0x28(%rsp), %rbx
jge 0x6ed7
movl %ebp, %r12d
callq 0x6ce0
movq 0x18(%rsp), %rax
leaq (%rbx,%rax), %rcx
leaq 0x2ea2(%rip), %rsi      # 0x9c88
pushq $0x8
popq %rdx
xorl %eax, %eax
callq 0x767f
leaq 0x33(%rsp), %rax
xorl %ecx, %ecx
leaq 0x30(%rsp), %rdx
cmpq $0x10, %rcx
je 0x6e44
cmpq %rcx, %r12
je 0x6e44
movzbl (%r15,%rcx), %esi
movb $0x20, (%rdx)
movl %esi, %edi
shrl $0x4, %edi
movb (%rdi,%r13), %dil
movb %dil, 0x1(%rdx)
andl $0xf, %esi
movb (%rsi,%r13), %sil
movb %sil, 0x2(%rdx)
addq $0x3, %rdx
incq %rcx
addq $0x3, %rax
jmp 0x6dfc
incl %ecx
movw $0x2020, -0x3(%rax)     # imm = 0x2020
movb $0x20, -0x1(%rax)
addq $0x3, %rax
cmpl $0xf, %ecx
jbe 0x6e34
movw $0x2120, -0x3(%rax)     # imm = 0x2120
movb $0x20, -0x1(%rax)
xorl %ecx, %ecx
cmpq $0x10, %rcx
je 0x6e81
cmpq %rcx, %rbp
je 0x6e81
movzbl (%r15,%rcx), %edx
leal -0x7f(%rdx), %esi
cmpl $0x21, %esi
movl %edx, %esi
cmovbl %r14d, %esi
cmpl $0x20, %edx
cmovbl %r14d, %esi
movb %sil, (%rax,%rcx)
incq %rcx
jmp 0x6e55
movw $0xa, (%rax,%rcx)
leaq 0x30(%rsp), %rdi
callq 0x6ce0
addq $0x10, %rbx
addq $-0x10, %rbp
addq $0x10, %r15
movq 0x20(%rsp), %rdi
jmp 0x6dc3
testq %rdi, %rdi
je 0x6eb6
cmpb $0x0, (%rdi)
je 0x6eb6
callq 0x6ce0
movq %r15, %rdi
movq %r14, %rsi
callq 0x75a9
jmp 0x6ed7
leaq 0x2db3(%rip), %rsi      # 0x9c7d
pushq $0x8
popq %rcx
movq %rdi, %rdx
xorl %eax, %eax
callq 0x767f
movl 0xc(%rsp), %ecx
movl %ecx, %eax
addq 0x10(%rsp), %rax
addq %rax, 0x645f(%rip)      # 0xd348
xorl %eax, %eax
testl %ecx, %ecx
sete %al
movl %eax, 0x6442(%rip)      # 0xd338
leaq 0x6383(%rip), %rax      # 0xd280
leaq 0x638c(%rip), %rcx      # 0xd290
cmoveq %rax, %rcx
cmpl $0x0, 0x6399(%rip)      # 0xd2a8
movq (%rcx), %rax
leaq 0x20de(%rip), %rdi      # 0x8ff7
cmovneq %rax, %rdi
testq %rax, %rax
cmovneq %rax, %rdi
testq %rdi, %rdi
je 0x6f33
cmpb $0x0, (%rdi)
je 0x6f33
callq 0x6ce0
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq