// File: /workspace/github_c_makefile_star2_O3/nurse[P]nkf/nkf.c
// Function: mime_putc
static void
mime_putc(nkf_char c)
{
    int i, j;
    nkf_char lastchar;

    if (mimeout_f == FIXED_MIME){
	if (mimeout_mode == 'Q'){
	    if (base64_count > 71){
		if (c!=CR && c!=LF) {
		    (*o_mputc)('=');
		    put_newline(o_mputc);
		}
		base64_count = 0;
	    }
	}else{
	    if (base64_count > 71){
		eof_mime();
		put_newline(o_mputc);
		base64_count = 0;
	    }
	    if (c == EOF) { /* c==EOF */
		eof_mime();
	    }
	}
	if (c != EOF) { /* c==EOF */
	    mimeout_addchar(c);
	}
	return;
    }

    /* mimeout_f != FIXED_MIME */

    if (c == EOF) { /* c==EOF */
	if (mimeout_mode == -1 && mimeout_state.count > 1) open_mime(output_mode);
	j = mimeout_state.count;
	mimeout_state.count = 0;
	i = 0;
	if (mimeout_mode > 0) {
	    if (!nkf_isblank(mimeout_state.buf[j-1])) {
		for (;i<j;i++) {
		    if (nkf_isspace(mimeout_state.buf[i]) && base64_count < 71){
			break;
		    }
		    mimeout_addchar(mimeout_state.buf[i]);
		}
		eof_mime();
		for (;i<j;i++) {
		    mimeout_addchar(mimeout_state.buf[i]);
		}
	    } else {
		for (;i<j;i++) {
		    mimeout_addchar(mimeout_state.buf[i]);
		}
		eof_mime();
	    }
	} else {
	    for (;i<j;i++) {
		mimeout_addchar(mimeout_state.buf[i]);
	    }
	}
	return;
    }

    if (mimeout_state.count > 0){
	lastchar = mimeout_state.buf[mimeout_state.count - 1];
    }else{
	lastchar = -1;
    }

    if (mimeout_mode=='Q') {
	if (c <= DEL && (output_mode==ASCII ||output_mode == ISO_8859_1)) {
	    if (c == CR || c == LF) {
		close_mime();
		(*o_mputc)(c);
		base64_count = 0;
		return;
	    } else if (c <= SP) {
		close_mime();
		if (base64_count > 70) {
		    put_newline(o_mputc);
		    base64_count = 0;
		}
		if (!nkf_isblank(c)) {
		    (*o_mputc)(SP);
		    base64_count++;
		}
	    } else {
		if (base64_count > 70) {
		    close_mime();
		    put_newline(o_mputc);
		    (*o_mputc)(SP);
		    base64_count = 1;
		    open_mime(output_mode);
		}
		if (!nkf_noescape_mime(c)) {
		    mimeout_addchar(c);
		    return;
		}
	    }
	    if (c != 0x1B) {
		(*o_mputc)(c);
		base64_count++;
		return;
	    }
	}
    }

    if (mimeout_mode <= 0) {
	if (c <= DEL && (output_mode==ASCII || output_mode == ISO_8859_1 ||
		    output_mode == UTF_8)) {
	    if (nkf_isspace(c)) {
		int flag = 0;
		if (mimeout_mode == -1) {
		    flag = 1;
		}
		if (c==CR || c==LF) {
		    if (flag) {
			open_mime(output_mode);
			output_mode = 0;
		    } else {
			base64_count = 0;
		    }
		}
		for (i=0;i<mimeout_state.count;i++) {
		    (*o_mputc)(mimeout_state.buf[i]);
		    if (mimeout_state.buf[i] == CR || mimeout_state.buf[i] == LF){
			base64_count = 0;
		    }else{
			base64_count++;
		    }
		}
		if (flag) {
		    eof_mime();
		    base64_count = 0;
		    mimeout_mode = 0;
		}
		mimeout_state.buf[0] = (char)c;
		mimeout_state.count = 1;
	    }else{
		if (base64_count > 1
		    && base64_count + mimeout_state.count > 76
		    && mimeout_state.buf[0] != CR && mimeout_state.buf[0] != LF){
		    static const char *str = "boundary=\"";
		    static int len = 10;
		    i = 0;

		    for (; i < mimeout_state.count - len; ++i) {
			if (!strncmp((char *)(mimeout_state.buf+i), str, len)) {
			    i += len - 2;
			    break;
			}
		    }

		    if (i == 0 || i == mimeout_state.count - len) {
			put_newline(o_mputc);
			base64_count = 0;
			if (!nkf_isspace(mimeout_state.buf[0])){
			    (*o_mputc)(SP);
			    base64_count++;
			}
		    }
		    else {
			int j;
			for (j = 0; j <= i; ++j) {
			    (*o_mputc)(mimeout_state.buf[j]);
			}
			put_newline(o_mputc);
			base64_count = 1;
			for (; j <= mimeout_state.count; ++j) {
			    mimeout_state.buf[j - i] = mimeout_state.buf[j];
			}
			mimeout_state.count -= i;
		    }
		}
		mimeout_state.buf[mimeout_state.count++] = (char)c;
		if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
		    open_mime(output_mode);
		}
	    }
	    return;
	}else{
	    if (lastchar==CR || lastchar == LF){
		for (i=0;i<mimeout_state.count;i++) {
		    (*o_mputc)(mimeout_state.buf[i]);
		}
		base64_count = 0;
		mimeout_state.count = 0;
	    }
	    if (lastchar==SP) {
		for (i=0;i<mimeout_state.count-1;i++) {
		    (*o_mputc)(mimeout_state.buf[i]);
		    base64_count++;
		}
		mimeout_state.buf[0] = SP;
		mimeout_state.count = 1;
	    }
	    open_mime(output_mode);
	}
    }else{
	/* mimeout_mode == 'B', 1, 2 */
	if (c <= DEL && (output_mode==ASCII || output_mode == ISO_8859_1 ||
		    output_mode == UTF_8)) {
	    if (lastchar == CR || lastchar == LF){
		if (nkf_isblank(c)) {
		    for (i=0;i<mimeout_state.count;i++) {
			mimeout_addchar(mimeout_state.buf[i]);
		    }
		    mimeout_state.count = 0;
		} else {
		    eof_mime();
		    for (i=0;i<mimeout_state.count;i++) {
			(*o_mputc)(mimeout_state.buf[i]);
		    }
		    base64_count = 0;
		    mimeout_state.count = 0;
		}
		mimeout_state.buf[mimeout_state.count++] = (char)c;
		return;
	    }
	    if (nkf_isspace(c)) {
		for (i=0;i<mimeout_state.count;i++) {
		    if (SP<mimeout_state.buf[i] && mimeout_state.buf[i]<DEL) {
			eof_mime();
			for (i=0;i<mimeout_state.count;i++) {
			    (*o_mputc)(mimeout_state.buf[i]);
			    base64_count++;
			}
			mimeout_state.count = 0;
		    }
		}
		mimeout_state.buf[mimeout_state.count++] = (char)c;
		if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
		    eof_mime();
		    for (j=0;j<mimeout_state.count;j++) {
			(*o_mputc)(mimeout_state.buf[j]);
			base64_count++;
		    }
		    mimeout_state.count = 0;
		}
		return;
	    }
	    if (mimeout_state.count>0 && SP<c && c!='=') {
		mimeout_state.buf[mimeout_state.count++] = (char)c;
		if (mimeout_state.count>MIMEOUT_BUF_LENGTH) {
		    j = mimeout_state.count;
		    mimeout_state.count = 0;
		    for (i=0;i<j;i++) {
			mimeout_addchar(mimeout_state.buf[i]);
		    }
		}
		return;
	    }
	}
    }
    if (mimeout_state.count>0) {
	j = mimeout_state.count;
	mimeout_state.count = 0;
	for (i=0;i<j;i++) {
	    if (mimeout_state.buf[i]==CR || mimeout_state.buf[i]==LF)
		break;
	    mimeout_addchar(mimeout_state.buf[i]);
	}
	if (i<j) {
	    eof_mime();
	    base64_count=0;
	    for (;i<j;i++) {
		(*o_mputc)(mimeout_state.buf[i]);
	    }
	    open_mime(output_mode);
	}
    }
    mimeout_addchar(c);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpl $0x7, 0x428ac(%rip)     # 0x5558c
jne 0x12d60
cmpl $0x51, 0x4289f(%rip)    # 0x55588
movl 0x428fd(%rip), %eax     # 0x555ec
jne 0x12d85
cmpl $0x48, %eax
jl 0x12d52
cmpl $0xa, %ebx
je 0x12d48
cmpl $0xd, %ebx
je 0x12d48
movl $0x3d, %edi
callq *0x3a639(%rip)          # 0x4d348
movq 0x3a632(%rip), %r14     # 0x4d348
movl 0x42878(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x12d45
cmpl $0xd, %edi
je 0x12d45
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x12d48
movl $0xd, %edi
callq *%r14
movl $0xa, %edi
callq *%r14
movl $0x0, 0x4289a(%rip)     # 0x555ec
cmpl $-0x1, %ebx
jne 0x13474
jmp 0x13513
cmpl $-0x1, %ebx
je 0x12de0
movl 0x4287d(%rip), %eax     # 0x555e8
testl %eax, %eax
jle 0x12e74
decl %eax
leaq 0x42820(%rip), %rcx     # 0x5559c
movzbl (%rax,%rcx), %ebp
jmp 0x12e79
cmpl $0x48, %eax
jl 0x12dd2
callq 0x15111
movq 0x3a5b2(%rip), %r14     # 0x4d348
movl 0x427f8(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x12dc5
cmpl $0xd, %edi
je 0x12dc5
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x12dc8
movl $0xd, %edi
callq *%r14
movl $0xa, %edi
callq *%r14
movl $0x0, 0x4281a(%rip)     # 0x555ec
cmpl $-0x1, %ebx
jne 0x13474
jmp 0x12e61
movl 0x427a2(%rip), %eax     # 0x55588
cmpl $-0x1, %eax
sete %cl
movl 0x427f6(%rip), %ebx     # 0x555e8
cmpl $0x2, %ebx
setge %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x12e16
movl 0x42617(%rip), %edi     # 0x5541c
callq 0x15349
movl 0x42778(%rip), %eax     # 0x55588
movl 0x427d2(%rip), %ebx     # 0x555e8
movl $0x0, 0x427c8(%rip)     # 0x555e8
testl %eax, %eax
jle 0x12ee2
movslq %ebx, %rax
leaq 0x4276a(%rip), %r14     # 0x5559c
movzbl -0x1(%rax,%r14), %eax
cmpl $0x9, %eax
je 0x12e46
cmpl $0x20, %eax
jne 0x130a5
testl %ebx, %ebx
jle 0x12e61
movl %ebx, %ebx
xorl %r15d, %r15d
movzbl (%r15,%r14), %edi
callq 0x151cf
incq %r15
cmpq %r15, %rbx
jne 0x12e4f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x15111
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl 0x42708(%rip), %r14d    # 0x55588
cmpl $0x7f, %ebx
jg 0x12fc0
cmpl $0x51, %r14d
jne 0x12fc0
cmpl $0x1, 0x42582(%rip)     # 0x5541c
ja 0x12fc0
cmpl $0xd, %ebx
je 0x12eaa
cmpl $0xa, %ebx
jne 0x12f0d
movl $0x3f, %edi
callq *0x3a493(%rip)          # 0x4d348
movl $0x3d, %edi
callq *0x3a488(%rip)          # 0x4d348
addl $0x2, 0x42725(%rip)     # 0x555ec
xorl %ebp, %ebp
movl %ebp, 0x426b9(%rip)     # 0x55588
movl %ebx, %edi
callq *0x3a471(%rip)          # 0x4d348
movl %ebp, 0x4270f(%rip)     # 0x555ec
jmp 0x13513
testl %ebx, %ebx
jle 0x13513
movl %ebx, %ebx
xorl %r14d, %r14d
leaq 0x426a6(%rip), %r15     # 0x5559c
movzbl (%r14,%r15), %edi
callq 0x151cf
incq %r14
cmpq %r14, %rbx
jne 0x12ef6
jmp 0x13513
cmpl $0x20, %ebx
jg 0x13158
movl $0x3f, %edi
callq *0x3a427(%rip)          # 0x4d348
movl $0x3d, %edi
callq *0x3a41c(%rip)          # 0x4d348
movl 0x426ba(%rip), %eax     # 0x555ec
leal 0x2(%rax), %ecx
movl %ecx, 0x426b1(%rip)     # 0x555ec
movl $0x0, 0x42643(%rip)     # 0x55588
cmpl $0x45, %eax
jl 0x12f8d
movq 0x3a3f7(%rip), %r14     # 0x4d348
movl 0x4263d(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x12f80
cmpl $0xd, %edi
je 0x12f80
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x12f83
movl $0xd, %edi
callq *%r14
movl $0xa, %edi
callq *%r14
movl $0x0, 0x4265f(%rip)     # 0x555ec
cmpl $0x9, %ebx
je 0x13229
cmpl $0x20, %ebx
je 0x13229
movl $0x20, %edi
callq *0x3a39e(%rip)          # 0x4d348
incl 0x4263c(%rip)           # 0x555ec
cmpl $0x1b, %ebx
jne 0x13229
movl 0x425c8(%rip), %r14d    # 0x55588
testl %r14d, %r14d
jle 0x1303c
cmpl $0x7f, %ebx
jg 0x13404
movl 0x42448(%rip), %eax     # 0x5541c
cmpl $0x15, %eax
ja 0x13404
movl $0x200003, %ecx         # imm = 0x200003
btl %eax, %ecx
jae 0x13404
cmpl $0xd, %ebp
je 0x12ff9
cmpl $0xa, %ebp
jne 0x13267
cmpl $0x20, %ebx
je 0x13007
cmpl $0x9, %ebx
jne 0x13396
cmpl $0x0, 0x425da(%rip)     # 0x555e8
jle 0x133d2
xorl %r14d, %r14d
leaq 0x4257e(%rip), %r15     # 0x5559c
movzbl (%r14,%r15), %edi
callq 0x151cf
incq %r14
movslq 0x425b6(%rip), %rax     # 0x555e8
cmpq %rax, %r14
jl 0x1301e
jmp 0x133d2
cmpl $0x7f, %ebx
jg 0x130f4
movl 0x423d1(%rip), %edi     # 0x5541c
cmpl $0x15, %edi
ja 0x130f4
movl $0x200003, %eax         # imm = 0x200003
btl %edi, %eax
jae 0x130f4
cmpl $0x20, %ebx
ja 0x13522
movl %ebx, %eax
movabsq $0x100002600, %rcx      # imm = 0x100002600
btq %rax, %rcx
jae 0x13522
cmpl $0xd, %ebx
je 0x1308f
cmpl $0xa, %ebx
jne 0x1349b
cmpl $-0x1, %r14d
je 0x13489
leaq 0x4254c(%rip), %rax     # 0x555ec
jmp 0x13495
testl %ebx, %ebx
jle 0x1323c
movl %ebx, %r12d
xorl %r15d, %r15d
movabsq $0x100002200, %r13      # imm = 0x100002200
movzbl (%r15,%r14), %edi
cmpq $0x20, %rdi
ja 0x130ed
btq %rdi, %r13
jae 0x130ed
cmpl $0x47, 0x42517(%rip)    # 0x555ec
jl 0x1323f
callq 0x151cf
incq %r15
cmpq %r15, %r12
jne 0x130bd
jmp 0x12e61
cmpl $0xa, %edi
je 0x130ce
jmp 0x130db
cmpl $0xa, %ebp
je 0x1310b
cmpl $0x20, %ebp
je 0x13352
cmpl $0xd, %ebp
jne 0x133f9
cmpl $0x0, 0x424d6(%rip)     # 0x555e8
jle 0x133e7
xorl %r14d, %r14d
leaq 0x4247a(%rip), %r15     # 0x5559c
movzbl (%r14,%r15), %edi
callq *0x3a21b(%rip)          # 0x4d348
incq %r14
movslq 0x424b1(%rip), %rax     # 0x555e8
cmpq %rax, %r14
jl 0x13122
xorl %eax, %eax
movl %eax, 0x424a8(%rip)     # 0x555ec
movl %eax, 0x4249e(%rip)     # 0x555e8
cmpl $0x20, %ebp
je 0x13388
jmp 0x133f9
cmpl $0x47, 0x4248d(%rip)    # 0x555ec
jl 0x131e9
movl $0x3f, %edi
callq *0x3a1d8(%rip)          # 0x4d348
movl $0x3d, %edi
callq *0x3a1cd(%rip)          # 0x4d348
addl $0x2, 0x4246a(%rip)     # 0x555ec
movl $0x0, 0x423fc(%rip)     # 0x55588
movq 0x3a1b5(%rip), %r14     # 0x4d348
movl 0x423fb(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x131c2
cmpl $0xd, %edi
je 0x131c2
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x131cc
movl $0xd, %edi
callq *%r14
movl $0xa, %edi
callq *%r14
movq 0x3a17c(%rip), %r14     # 0x4d348
movl $0x20, %edi
callq *%r14
movl $0x1, 0x4240e(%rip)     # 0x555ec
movl 0x42238(%rip), %edi     # 0x5541c
callq 0x15349
cmpl $0x22, %ebx
je 0x13474
cmpl $0x2e, %ebx
je 0x13474
leal -0x2a(%rbx), %eax
cmpl $-0x3, %eax
ja 0x13474
cmpl $0x5f, %ebx
je 0x13474
cmpl $0x7e, %ebx
ja 0x13474
movl %ebx, %eax
andl $0x7ffffffd, %eax       # imm = 0x7FFFFFFD
cmpl $0x3d, %eax
je 0x13474
movl %ebx, %edi
callq *0x3a117(%rip)          # 0x4d348
incl 0x423b5(%rip)           # 0x555ec
jmp 0x13513
xorl %r15d, %r15d
callq 0x15111
cmpl %ebx, %r15d
jge 0x13513
movl %r15d, %r15d
movzbl (%r15,%r14), %edi
callq 0x151cf
incq %r15
cmpl %r15d, %ebx
jg 0x13250
jmp 0x13513
cmpl $0x20, %ebx
ja 0x135a6
movl %ebx, %eax
movabsq $0x100002600, %rcx      # imm = 0x100002600
btq %rax, %rcx
jae 0x135a6
movl 0x4235b(%rip), %r15d    # 0x555e8
leaq 0x42308(%rip), %r14     # 0x5559c
testl %r15d, %r15d
jle 0x132f5
xorl %r12d, %r12d
movslq %r12d, %rax
movb (%rax,%r14), %al
addb $-0x21, %al
cmpb $0x5d, %al
ja 0x132ed
callq 0x15111
xorl %r15d, %r15d
cmpl $0x0, 0x42330(%rip)     # 0x555e8
movl $0x0, %r12d
jle 0x132e3
xorl %r12d, %r12d
movzbl (%r12,%r14), %edi
callq *0x3a07a(%rip)          # 0x4d348
incl 0x42318(%rip)           # 0x555ec
incq %r12
movslq 0x4230a(%rip), %rax     # 0x555e8
cmpq %rax, %r12
jl 0x132c3
movl $0x0, 0x422fb(%rip)     # 0x555e8
incl %r12d
cmpl %r15d, %r12d
jl 0x1329c
leal 0x1(%r15), %eax
movl %eax, 0x422e9(%rip)     # 0x555e8
movslq %r15d, %rax
movb %bl, (%rax,%r14)
cmpl $0x4b, 0x422db(%rip)    # 0x555e8
jl 0x13513
callq 0x15111
cmpl $0x0, 0x422c9(%rip)     # 0x555e8
jle 0x13343
xorl %ebx, %ebx
movzbl (%rbx,%r14), %edi
callq *0x3a01a(%rip)          # 0x4d348
incl 0x422b8(%rip)           # 0x555ec
incq %rbx
movslq 0x422aa(%rip), %rax     # 0x555e8
cmpq %rax, %rbx
jl 0x13323
movl $0x0, 0x4229b(%rip)     # 0x555e8
jmp 0x13513
cmpl $0x2, 0x4228f(%rip)     # 0x555e8
jl 0x13388
xorl %r14d, %r14d
leaq 0x42237(%rip), %r15     # 0x5559c
movzbl (%r14,%r15), %edi
callq *0x39fd8(%rip)          # 0x4d348
incl 0x42276(%rip)           # 0x555ec
incq %r14
movslq 0x42268(%rip), %rax     # 0x555e8
decq %rax
cmpq %rax, %r14
jl 0x13365
movb $0x20, 0x4220d(%rip)    # 0x5559c
movl $0x1, %eax
jmp 0x133f3
callq 0x15111
cmpl $0x0, 0x42246(%rip)     # 0x555e8
jle 0x133c8
xorl %r14d, %r14d
leaq 0x421ee(%rip), %r15     # 0x5559c
movzbl (%r14,%r15), %edi
callq *0x39f8f(%rip)          # 0x4d348
incq %r14
movslq 0x42225(%rip), %rax     # 0x555e8
cmpq %rax, %r14
jl 0x133ae
movl $0x0, 0x4221a(%rip)     # 0x555ec
movl $0x1, 0x4220c(%rip)     # 0x555e8
movb %bl, 0x421ba(%rip)      # 0x5559c
jmp 0x13513
movl $0x0, 0x421fb(%rip)     # 0x555ec
xorl %eax, %eax
movl %eax, 0x421ef(%rip)     # 0x555e8
movl 0x4201d(%rip), %edi     # 0x5541c
callq 0x15349
movslq 0x421dd(%rip), %r14     # 0x555e8
testq %r14, %r14
jle 0x13474
movl $0x0, 0x421ce(%rip)     # 0x555e8
xorl %r15d, %r15d
leaq 0x42178(%rip), %r12     # 0x5559c
movzbl (%r15,%r12), %edi
cmpl $0xa, %edi
je 0x13442
cmpl $0xd, %edi
je 0x13442
callq 0x151cf
incq %r15
cmpq %r15, %r14
jne 0x13424
jmp 0x13474
callq 0x15111
movl $0x0, 0x4219b(%rip)     # 0x555ec
cmpl %r15d, %r14d
jle 0x13469
movzbl (%r15,%r12), %edi
callq *0x39ee7(%rip)          # 0x4d348
incq %r15
cmpq %r15, %r14
jne 0x13456
movl 0x41fad(%rip), %edi     # 0x5541c
callq 0x15349
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x151cf
callq 0x15349
leaq 0x41f87(%rip), %rax     # 0x5541c
movl $0x0, (%rax)
cmpl $0x0, 0x42146(%rip)     # 0x555e8
jle 0x134ea
xorl %r15d, %r15d
leaq 0x420ee(%rip), %r12     # 0x5559c
movzbl (%r15,%r12), %edi
callq *0x39e8f(%rip)          # 0x4d348
movzbl (%r15,%r12), %ecx
movl $0x0, %eax
cmpl $0xa, %ecx
je 0x134d5
cmpl $0xd, %ecx
je 0x134d5
movl 0x42119(%rip), %eax     # 0x555ec
incl %eax
movl %eax, 0x42111(%rip)     # 0x555ec
incq %r15
movslq 0x42103(%rip), %rax     # 0x555e8
cmpq %rax, %r15
jl 0x134ae
cmpl $-0x1, %r14d
jne 0x13503
callq 0x15111
xorl %eax, %eax
movl %eax, 0x420ef(%rip)     # 0x555ec
movl %eax, 0x42085(%rip)     # 0x55588
movb %bl, 0x42093(%rip)      # 0x5559c
movl $0x1, 0x420d5(%rip)     # 0x555e8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x420c4(%rip), %eax     # 0x555ec
cmpl $0x2, %eax
jl 0x13748
movl 0x420b0(%rip), %r13d    # 0x555e8
addl %r13d, %eax
cmpl $0x4d, %eax
jl 0x13748
movzbl 0x42051(%rip), %ebp     # 0x5559c
cmpl $0xa, %ebp
je 0x13748
cmpl $0xd, %ebp
je 0x13748
cmpl $0xb, %r13d
jl 0x13618
addl $-0xa, %r13d
movl %r13d, %r12d
xorl %r15d, %r15d
leaq 0x513c(%rip), %r14      # 0x186b4
leaq 0x4201d(%rip), %rax     # 0x5559c
leaq (%rax,%r15), %rdi
movl $0xa, %edx
movq %r14, %rsi
callq 0xc060
testl %eax, %eax
je 0x1360f
incq %r15
cmpq %r15, %r12
jne 0x13578
movl %r13d, %r15d
testl %r13d, %r13d
jne 0x13613
jmp 0x13618
cmpl $0x3d, %ebx
je 0x13404
cmpl $0x21, %ebx
jl 0x13404
movl 0x4202a(%rip), %eax     # 0x555e8
testl %eax, %eax
jle 0x13404
leal 0x1(%rax), %ecx
movl %ecx, 0x42019(%rip)     # 0x555e8
leaq 0x41fc6(%rip), %r14     # 0x5559c
movb %bl, (%rax,%r14)
movslq 0x42007(%rip), %rbx     # 0x555e8
cmpq $0x4b, %rbx
jl 0x13513
movl $0x0, 0x41ff3(%rip)     # 0x555e8
xorl %r15d, %r15d
movzbl (%r15,%r14), %edi
callq 0x151cf
incq %r15
cmpq %r15, %rbx
jne 0x135f8
jmp 0x13513
addl $0x8, %r15d
cmpl %r13d, %r15d
jne 0x13696
movq 0x39d29(%rip), %r14     # 0x4d348
movl 0x41f6f(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x1364e
cmpl $0xd, %edi
je 0x1364e
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x13658
movl $0xd, %edi
callq *%r14
movl $0xa, %edi
callq *%r14
movb 0x41f44(%rip), %bpl     # 0x5559c
movl $0x0, 0x41f8a(%rip)     # 0x555ec
cmpb $0x20, %bpl
ja 0x13680
movzbl %bpl, %eax
movabsq $0x100002600, %rcx      # imm = 0x100002600
btq %rax, %rcx
jb 0x13748
movl $0x20, %edi
callq *0x39cbd(%rip)          # 0x4d348
incl 0x41f5b(%rip)           # 0x555ec
jmp 0x13748
xorl %r14d, %r14d
testl %r15d, %r15d
movl $0x0, %r12d
cmovgl %r15d, %r12d
incl %r12d
leaq 0x41eec(%rip), %r13     # 0x5559c
movzbl (%r14,%r13), %edi
callq *0x39c8d(%rip)          # 0x4d348
incq %r14
cmpq %r14, %r12
jne 0x136b0
leaq -0x1(%r14), %r13
movq 0x39c7a(%rip), %rbp     # 0x4d348
movl 0x41ec0(%rip), %eax     # 0x55594
testl %eax, %eax
movl $0xa, %edi
cmovnel %eax, %edi
cmpl $0xa, %edi
je 0x136fc
cmpl $0xd, %edi
je 0x136fc
cmpl $0xd0a, %edi            # imm = 0xD0A
jne 0x136fe
movl $0xd, %edi
callq *%rbp
movl $0xa, %edi
callq *%rbp
movl $0x1, 0x41ee4(%rip)     # 0x555ec
movl 0x41eda(%rip), %eax     # 0x555e8
cmpl %r13d, %eax
jle 0x1373f
movslq %r14d, %rdx
movslq %r15d, %rcx
leaq 0x41e7c(%rip), %rdi     # 0x5559c
movb (%rdx,%rdi), %al
movq %rdx, %rsi
subq %rcx, %rsi
movb %al, (%rdi,%rsi)
leaq 0x1(%rdx), %rsi
movslq 0x41eb1(%rip), %rax     # 0x555e8
cmpq %rax, %rdx
movq %rsi, %rdx
jl 0x13720
subl %r15d, %eax
movl %eax, 0x41ea0(%rip)     # 0x555e8
movslq 0x41e99(%rip), %rax     # 0x555e8
leaq 0x41e46(%rip), %rcx     # 0x5559c
leal 0x1(%rax), %edx
movl %edx, 0x41e89(%rip)     # 0x555e8
movb %bl, (%rax,%rcx)
cmpl $0x4b, 0x41e7f(%rip)    # 0x555e8
jl 0x13513
movl 0x41ca7(%rip), %edi     # 0x5541c
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x15349