// File: /workspace/github_c_makefile_star2_O1/neovim[P]libvterm/src/pen.c
// Function: vterm_state_resetpen
INTERNAL void vterm_state_resetpen(VTermState *state)
{
  state->pen.bold = 0;      setpenattr_bool(state, VTERM_ATTR_BOLD, 0);
  state->pen.underline = 0; setpenattr_int (state, VTERM_ATTR_UNDERLINE, 0);
  state->pen.italic = 0;    setpenattr_bool(state, VTERM_ATTR_ITALIC, 0);
  state->pen.blink = 0;     setpenattr_bool(state, VTERM_ATTR_BLINK, 0);
  state->pen.reverse = 0;   setpenattr_bool(state, VTERM_ATTR_REVERSE, 0);
  state->pen.conceal = 0;   setpenattr_bool(state, VTERM_ATTR_CONCEAL, 0);
  state->pen.strike = 0;    setpenattr_bool(state, VTERM_ATTR_STRIKE, 0);
  state->pen.font = 0;      setpenattr_int (state, VTERM_ATTR_FONT, 0);
  state->pen.small = 0;     setpenattr_bool(state, VTERM_ATTR_SMALL, 0);
  state->pen.baseline = 0;  setpenattr_int (state, VTERM_ATTR_BASELINE, 0);

  state->pen.fg = state->default_fg;  setpenattr_col(state, VTERM_ATTR_FOREGROUND, state->default_fg);
  state->pen.bg = state->default_bg;  setpenattr_col(state, VTERM_ATTR_BACKGROUND, state->default_bg);
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
andb $-0x2, 0x13c(%rdi)
movl $0x0, (%rsp)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x355a
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x355a
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x1, %edi
callq *%rax
andb $-0x7, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3588
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x3588
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x2, %edi
callq *%rax
andb $-0x9, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x35b6
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x35b6
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x3, %edi
callq *%rax
andb $-0x11, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x35e4
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x35e4
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x4, %edi
callq *%rax
andb $-0x21, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3612
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x3612
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x5, %edi
callq *%rax
andb $-0x41, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3640
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x3640
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x6, %edi
callq *%rax
andb $0x7f, 0x13c(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x366e
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x366e
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x7, %edi
callq *%rax
andb $-0x10, 0x13d(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x369c
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x369c
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x8, %edi
callq *%rax
andb $-0x11, 0x13d(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x36ca
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x36ca
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0xb, %edi
callq *%rax
andb $-0x61, 0x13d(%rbx)
movl $0x0, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x36f8
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x36f8
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0xc, %edi
callq *%rax
movl 0x140(%rbx), %eax
movl %eax, 0x134(%rbx)
movl %eax, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3727
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x3727
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0x9, %edi
callq *%rax
movl 0x144(%rbx), %eax
movl %eax, 0x138(%rbx)
movl %eax, (%rsp)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x3756
movq 0x30(%rax), %rax
testq %rax, %rax
je 0x3756
movq 0x10(%rbx), %rdx
movq %rsp, %rsi
movl $0xa, %edi
callq *%rax
addq $0x10, %rsp
popq %rbx
retq