// File: /workspace/github_c_makefile_star2_O0/samtools[P]htslib/test/test_str2int.c
// Function: check_strprint
static int check_strprint(int v) {
    int res = 0;

    res |= check_strprint1(v, "chr10", 9, "chr10");
    res |= check_strprint1(v, "chr10", 6, "chr10");
    res |= check_strprint1(v, "chr10", 5, "c...");
    res |= check_strprint1(v, "chr10", 4, "...");
    res |= check_strprint1(v, "tab\twxyz",10, "tab\\twxyz");
    res |= check_strprint1(v, "tab\twxyz", 9, "tab\\t...");
    res |= check_strprint1(v, "tab\twxyz", 8, "tab\\...");
    res |= check_strprint1(v, "tab\twxyz", 7, "tab...");
    res |= check_strprint1(v, "tab\twxyz", 6, "ta...");
    res |= check_strprint1(v, "\xab", 5, "\\xAB");
    res |= check_strprint1(v, "\xab", 4, "...");
    res |= check_strprint1(v, "hello\xff", 40, "hello\\xFF");
    res |= check_strprint1(v, "hello\xff", 10, "hello\\xFF");
    res |= check_strprint1(v, "hello\xff", 9, "hello...");
    res |= check_strprint1(v, "hello\t", 40, "hello\\t");
    res |= check_strprint1(v, "hello\t", 8, "hello\\t");
    res |= check_strprint1(v, "hello\t", 7, "hel...");
    res |= check_strprint1(v, "\t", 40, "\\t");
    res |= check_strprint1(v, "", 40, "");

    res |= check_strprintq(v, "chr10", 9, '\'', "'chr10'");
    res |= check_strprintq(v, "chr10", 8, '\'', "'chr10'");
    res |= check_strprintq(v, "chr10", 7, '\'', "'c'...");
    res |= check_strprintq(v, "chr10", 6, '\'', "''...");
    res |= check_strprintq(v, "quo'wxyz",12, '\'', "'quo\\'wxyz'");
    res |= check_strprintq(v, "quo'wxyz",11, '\'', "'quo\\''...");
    res |= check_strprintq(v, "quo'wxyz",10, '\'', "'quo\\'...");

    res |= check_strprint2(v, "foo\0bar", SIZE_MAX, 10, '\0', "foo");
    res |= check_strprint2(v, "foo\0bar", 7,10, '\0', "foo\\0bar");
    res |= check_strprint2(v, "foo\0bar", 7, 9, '\0', "foo\\0bar");
    res |= check_strprint2(v, "foo\0bar", 7, 8, '\0', "foo\\...");

    return res;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl $0x0, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0f61(%rip), %rcx     # 0xe714d
movl $0x9, %edx
movq %rcx, %rsi
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0f44(%rip), %rcx     # 0xe714d
movl $0x6, %edx
movq %rcx, %rsi
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0f27(%rip), %rsi     # 0xe714d
movl $0x5, %edx
leaq 0xe0f21(%rip), %rcx     # 0xe7153
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0f06(%rip), %rsi     # 0xe714d
movl $0x4, %edx
leaq 0xe0f98(%rip), %rcx     # 0xe71eb
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0ef0(%rip), %rsi     # 0xe7158
movl $0xa, %edx
leaq 0xe0eed(%rip), %rcx     # 0xe7161
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0ecf(%rip), %rsi     # 0xe7158
movl $0x9, %edx
leaq 0xe0ed6(%rip), %rcx     # 0xe716b
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0eae(%rip), %rsi     # 0xe7158
movl $0x8, %edx
leaq 0xe0ebe(%rip), %rcx     # 0xe7174
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e8d(%rip), %rsi     # 0xe7158
movl $0x7, %edx
leaq 0xe0ea5(%rip), %rcx     # 0xe717c
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e6c(%rip), %rsi     # 0xe7158
movl $0x6, %edx
leaq 0xe0e8b(%rip), %rcx     # 0xe7183
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e7c(%rip), %rsi     # 0xe7189
movl $0x5, %edx
leaq 0xe0e72(%rip), %rcx     # 0xe718b
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e5b(%rip), %rsi     # 0xe7189
movl $0x4, %edx
leaq 0xe0eb1(%rip), %rcx     # 0xe71eb
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e41(%rip), %rsi     # 0xe7190
movl $0x28, %edx
leaq 0xe0e3c(%rip), %rcx     # 0xe7197
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0e20(%rip), %rsi     # 0xe7190
movl $0xa, %edx
leaq 0xe0e1b(%rip), %rcx     # 0xe7197
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0dff(%rip), %rsi     # 0xe7190
movl $0x9, %edx
leaq 0xe0e04(%rip), %rcx     # 0xe71a1
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0df8(%rip), %rsi     # 0xe71aa
movl $0x28, %edx
leaq 0xe0df3(%rip), %rcx     # 0xe71b1
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0dd7(%rip), %rsi     # 0xe71aa
movl $0x8, %edx
leaq 0xe0dd2(%rip), %rcx     # 0xe71b1
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0db6(%rip), %rsi     # 0xe71aa
movl $0x7, %edx
leaq 0xe0db9(%rip), %rcx     # 0xe71b9
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe4517(%rip), %rsi     # 0xea92c
movl $0x28, %edx
leaq 0xe0d95(%rip), %rcx     # 0xe71b6
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe1934(%rip), %rcx     # 0xe7d6a
movl $0x28, %edx
movq %rcx, %rsi
callq 0x6a50
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0cfa(%rip), %rsi     # 0xe714d
movl $0x9, %edx
movl $0x27, %ecx
leaq 0xe0d5c(%rip), %r8      # 0xe71c0
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0cd4(%rip), %rsi     # 0xe714d
movl $0x8, %edx
movl $0x27, %ecx
leaq 0xe0d36(%rip), %r8      # 0xe71c0
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0cae(%rip), %rsi     # 0xe714d
movl $0x7, %edx
movl $0x27, %ecx
leaq 0xe0d18(%rip), %r8      # 0xe71c8
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0c88(%rip), %rsi     # 0xe714d
movl $0x6, %edx
movl $0x27, %ecx
leaq 0xe0d13(%rip), %r8      # 0xe71e9
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0ce4(%rip), %rsi     # 0xe71cf
movl $0xc, %edx
movl $0x27, %ecx
leaq 0xe0cdc(%rip), %r8      # 0xe71d8
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0cbe(%rip), %rsi     # 0xe71cf
movl $0xb, %edx
movl $0x27, %ecx
leaq 0xe0cc2(%rip), %r8      # 0xe71e4
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0c98(%rip), %rsi     # 0xe71cf
movl $0xa, %edx
movl $0x27, %ecx
leaq 0xe0ca7(%rip), %r8      # 0xe71ef
callq 0x6a90
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0d14(%rip), %rsi     # 0xe7271
movq $-0x1, %rdx
movl $0xa, %ecx
xorl %r8d, %r8d
leaq 0xe0c86(%rip), %r9      # 0xe71f9
callq 0x6ae0
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0ce9(%rip), %rsi     # 0xe7271
movl $0x7, %edx
movl $0xa, %ecx
xorl %r8d, %r8d
leaq 0xe0c61(%rip), %r9      # 0xe71fd
callq 0x6ae0
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0cc0(%rip), %rsi     # 0xe7271
movl $0x7, %edx
movl $0x9, %ecx
xorl %r8d, %r8d
leaq 0xe0c38(%rip), %r9      # 0xe71fd
callq 0x6ae0
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %edi
leaq 0xe0c97(%rip), %rsi     # 0xe7271
movl $0x7, %edx
movl $0x8, %ecx
xorl %r8d, %r8d
leaq 0xe0c18(%rip), %r9      # 0xe7206
callq 0x6ae0
orl -0x8(%rbp), %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)