// File: /workspace/github_c_makefile_star2_O0/smilingthax[P]libfontembed/embed_sfnt.c
// Function: outfilter_ascii_ps
static void outfilter_ascii_ps(const char *buf,int len,void *context)  // {{{
{
  struct OUTFILTER_PS *of=context;
  OUTPUT_FN out=of->out;
  int iA;

  (*out)("<",1,of->ctx);
  of->len++;

  const char *last=buf;
  char tmp[256];
  while (len>0) {
    for (iA=0;(iA<76)&&(len>0);iA+=2,len--) {
      const unsigned char ch=buf[iA>>1];
      tmp[iA]="0123456789abcdef"[ch>>4];
      tmp[iA+1]="0123456789abcdef"[ch&0x0f];
    }
    buf+=iA>>1;
    if (buf<last+64000) {
      if (len>0) {
        tmp[iA++]='\n';
      }
      (*out)(tmp,iA,of->ctx);
    } else {
      last=buf;
      strcpy(tmp+iA,"00>\n<");
      iA+=5;
      (*out)(tmp,iA,of->ctx);
    }
    of->len+=iA;
  }

  (*out)("00>\n",4,of->ctx);
  of->len+=4;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %rdx
leaq 0x71e6(%rip), %rdi      # 0xf052
movl $0x1, %esi
callq *%rax
movq -0x20(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x10(%rax)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpl $0x0, -0xc(%rbp)
jle 0x7fe5
movl $0x0, -0x2c(%rbp)
xorl %eax, %eax
cmpl $0x4c, -0x2c(%rbp)
movb %al, -0x142(%rbp)
jge 0x7eb4
cmpl $0x0, -0xc(%rbp)
setg %al
movb %al, -0x142(%rbp)
movb -0x142(%rbp), %al
testb $0x1, %al
jne 0x7ec0
jmp 0x7f34
movq -0x8(%rbp), %rax
movl -0x2c(%rbp), %ecx
sarl %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %al
movb %al, -0x141(%rbp)
movzbl -0x141(%rbp), %eax
sarl $0x4, %eax
movslq %eax, %rcx
leaq 0x7154(%rip), %rax      # 0xf03d
movb (%rax,%rcx), %cl
movslq -0x2c(%rbp), %rax
movb %cl, -0x140(%rbp,%rax)
movzbl -0x141(%rbp), %eax
andl $0xf, %eax
movslq %eax, %rcx
leaq 0x7132(%rip), %rax      # 0xf03d
movb (%rax,%rcx), %cl
movl -0x2c(%rbp), %eax
addl $0x1, %eax
cltq
movb %cl, -0x140(%rbp,%rax)
movl -0x2c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x2c(%rbp)
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x7e99
movl -0x2c(%rbp), %ecx
sarl %ecx
movq -0x8(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq -0x38(%rbp), %rcx
addq $0xfa00, %rcx           # imm = 0xFA00
cmpq %rcx, %rax
jae 0x7f90
cmpl $0x0, -0xc(%rbp)
jle 0x7f76
movl -0x2c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x2c(%rbp)
cltq
movb $0xa, -0x140(%rbp,%rax)
movq -0x28(%rbp), %rax
leaq -0x140(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %rdx
callq *%rax
jmp 0x7fd3
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq -0x140(%rbp), %rdi
movslq -0x2c(%rbp), %rax
addq %rax, %rdi
leaq 0x70a1(%rip), %rsi      # 0xf04e
callq 0x2140
movl -0x2c(%rbp), %eax
addl $0x5, %eax
movl %eax, -0x2c(%rbp)
movq -0x28(%rbp), %rax
leaq -0x140(%rbp), %rdi
movl -0x2c(%rbp), %esi
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %rdx
callq *%rax
movl -0x2c(%rbp), %ecx
movq -0x20(%rbp), %rax
addl 0x10(%rax), %ecx
movl %ecx, 0x10(%rax)
jmp 0x7e88
movq -0x28(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x8(%rcx), %rdx
leaq 0x705c(%rip), %rdi      # 0xf054
movl $0x4, %esi
callq *%rax
movq -0x20(%rbp), %rax
movl 0x10(%rax), %ecx
addl $0x4, %ecx
movl %ecx, 0x10(%rax)
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
nopw %cs:(%rax,%rax)