// File: /workspace/github_c_makefile_star2_O0/nurse[P]nkf/nkf.c
// Function: mime_prechar
static void
mime_prechar(nkf_char c2, nkf_char c1)
{
    if (mimeout_mode > 0){
	if (c2 == EOF){
	    if (base64_count + mimeout_state.count/3*4> 73){
		(*o_base64conv)(EOF,0);
		oconv_newline(o_base64conv);
		(*o_base64conv)(0,SP);
		base64_count = 1;
	    }
	} else {
	    if ((c2 != 0 || c1 > DEL) && base64_count + mimeout_state.count/3*4> 66) {
		(*o_base64conv)(EOF,0);
		oconv_newline(o_base64conv);
		(*o_base64conv)(0,SP);
		base64_count = 1;
		mimeout_mode = -1;
	    }
	}
    } else if (c2) {
	if (c2 != EOF && base64_count + mimeout_state.count/3*4> 60) {
	    mimeout_mode =  (output_mode==ASCII ||output_mode == ISO_8859_1) ? 'Q' : 'B';
	    open_mime(output_mode);
	    (*o_base64conv)(EOF,0);
	    oconv_newline(o_base64conv);
	    (*o_base64conv)(0,SP);
	    base64_count = 1;
	    mimeout_mode = -1;
	}
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
cmpl $0x0, 0x41a97(%rip)     # 0x5a5ec
jle 0x18c2c
cmpl $-0x1, -0x4(%rbp)
jne 0x18bb9
movl 0x41ae9(%rip), %eax     # 0x5a650
movl %eax, -0xc(%rbp)
movl 0x41adc(%rip), %eax     # 0x5a64c
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0xc(%rbp), %eax
shll $0x2, %ecx
addl %ecx, %eax
cmpl $0x49, %eax
jle 0x18bb7
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
callq *0x39764(%rip)          # 0x522f8
movq 0x3975d(%rip), %rdi     # 0x522f8
callq 0x18cf0
xorl %edi, %edi
movl $0x20, %esi
callq *0x3974b(%rip)          # 0x522f8
movl $0x1, 0x41a99(%rip)     # 0x5a650
jmp 0x18c27
cmpl $0x0, -0x4(%rbp)
jne 0x18bc5
cmpl $0x7f, -0x8(%rbp)
jle 0x18c25
movl 0x41a85(%rip), %eax     # 0x5a650
movl %eax, -0x10(%rbp)
movl 0x41a78(%rip), %eax     # 0x5a64c
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x10(%rbp), %eax
shll $0x2, %ecx
addl %ecx, %eax
cmpl $0x42, %eax
jle 0x18c25
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
callq *0x39700(%rip)          # 0x522f8
movq 0x396f9(%rip), %rdi     # 0x522f8
callq 0x18cf0
xorl %edi, %edi
movl $0x20, %esi
callq *0x396e7(%rip)          # 0x522f8
movl $0x1, 0x41a35(%rip)     # 0x5a650
movl $0xffffffff, 0x419c7(%rip) # imm = 0xFFFFFFFF
jmp 0x18c27
jmp 0x18ce3
cmpl $0x0, -0x4(%rbp)
je 0x18ce1
cmpl $-0x1, -0x4(%rbp)
je 0x18cdf
movl 0x41a0a(%rip), %eax     # 0x5a650
movl %eax, -0x14(%rbp)
movl 0x419fd(%rip), %eax     # 0x5a64c
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -0x14(%rbp), %eax
shll $0x2, %ecx
addl %ecx, %eax
cmpl $0x3c, %eax
jle 0x18cdf
movb $0x1, %al
cmpl $0x0, 0x4180d(%rip)     # 0x5a47c
movb %al, -0x15(%rbp)
je 0x18c81
cmpl $0x1, 0x41801(%rip)     # 0x5a47c
sete %al
movb %al, -0x15(%rbp)
movb -0x15(%rbp), %dl
movl $0x42, %eax
movl $0x51, %ecx
testb $0x1, %dl
cmovnel %ecx, %eax
movl %eax, 0x41952(%rip)     # 0x5a5ec
movl 0x417dc(%rip), %edi     # 0x5a47c
callq 0x18880
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
xorl %esi, %esi
callq *0x39646(%rip)          # 0x522f8
movq 0x3963f(%rip), %rdi     # 0x522f8
callq 0x18cf0
xorl %edi, %edi
movl $0x20, %esi
callq *0x3962d(%rip)          # 0x522f8
movl $0x1, 0x4197b(%rip)     # 0x5a650
movl $0xffffffff, 0x4190d(%rip) # imm = 0xFFFFFFFF
jmp 0x18ce1
jmp 0x18ce3
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)