// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x2, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x7, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x2, %esi
xorl %edx, %edx
callq 0x4910
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x9, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x3, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x11, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x4, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x21, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x5, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $-0x41, %cx
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x6, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $0xff7f, %cx            # imm = 0xFF7F
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x7, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $0xf0ff, %cx            # imm = 0xF0FF
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0x8, %esi
xorl %edx, %edx
callq 0x4910
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $0xefff, %cx            # imm = 0xEFFF
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0xb, %esi
xorl %edx, %edx
callq 0x48d0
movq -0x8(%rbp), %rax
movw 0x13c(%rax), %cx
andw $0x9fff, %cx            # imm = 0x9FFF
orw $0x0, %cx
movw %cx, 0x13c(%rax)
movq -0x8(%rbp), %rdi
movl $0xc, %esi
xorl %edx, %edx
callq 0x4910
movq -0x8(%rbp), %rax
movq -0x8(%rbp), %rcx
movl 0x140(%rcx), %ecx
movl %ecx, 0x134(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x140(%rax), %edx
movl $0x9, %esi
callq 0x4950
movq -0x8(%rbp), %rax
movq -0x8(%rbp), %rcx
movl 0x144(%rcx), %ecx
movl %ecx, 0x138(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x144(%rax), %edx
movl $0xa, %esi
callq 0x4950
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)