// File: /workspace/github_c_makefile_star2_O2/Tarsnap[P]spiped/tests/pushbits/main.c
// Function: main
int
main(int argc, char ** argv)
{
	const char * ch;
	const char * filename_in = NULL;
	const char * filename_out = NULL;
	int desired_test;

	WARNP_INIT;

	/* Parse the command line. */
	while ((ch = GETOPT(argc, argv)) != NULL) {
		GETOPT_SWITCH(ch) {
		GETOPT_OPTARG("-i"):
			filename_in = optarg;
			break;
		GETOPT_OPTARG("-o"):
			filename_out = optarg;
			break;
		GETOPT_MISSING_ARG:
			warn0("Missing argument to %s", ch);
			usage();
		GETOPT_DEFAULT:
			warn0("illegal option -- %s", ch);
			usage();
		}
	}
	argc -= optind;
	argv += optind;

	/* We should have processed all the arguments except for one. */
	if (argc != 1)
		usage();
	if (PARSENUM(&desired_test, argv[0], 1, 5)) {
		warnp("parsenum");
		goto err0;
	}

	/* Run the desired test. */
	switch (desired_test) {
	case 1:
		if ((filename_in == NULL) || (filename_out == NULL))
			usage();
		if (basic_copy(filename_in, filename_out))
			goto err0;
		break;
	case 2:
		if (echo_stdin_stdout())
			goto err0;
		break;
	case 3:
		if (chain_one())
			goto err0;
		break;
	case 4:
		if (chain_two())
			goto err0;
		break;
	case 5:
		if (start_stop())
			goto err0;
		break;
	default:
		warn0("invalid test number");
		goto err0;
	}

	/* Success! */
	exit(0);

err0:
	/* Failure! */
	exit(1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %edi, 0x40(%rsp)
movq %rsi, 0x58(%rsp)
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x2440
callq 0x3b50
xorl %eax, %eax
leaq 0x4d87(%rip), %r12      # 0x71d0
leaq 0x2bb4(%rip), %rbx      # 0x5004
leaq 0x2c16(%rip), %r13      # 0x506d
pushq $0x1
popq %rbp
leaq 0x2c0f(%rip), %r14      # 0x5070
movq $0x0, 0x38(%rsp)
movq %rax, 0x50(%rsp)
movl 0x40(%rsp), %edi
movq 0x58(%rsp), %rsi
callq 0x31f4
testq %rax, %rax
je 0x25eb
movq %rax, %r15
movq $0x1ab, 0x30(%rsp)      # imm = 0x1AB
movq 0x30(%rsp), %rax
decq %rax
movq %rax, 0x60(%rsp)
movl $0x0, 0x44(%rsp)
cmpl $0x0, (%r12)
je 0x24bd
movq %r15, %rdi
callq 0x3609
addq 0x30(%rsp), %rax
jmp 0x24cb
movq 0x60(%rsp), %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x60(%rsp)
addq $-0x1ac, %rax           # imm = 0xFE54
cmpq $0x9, %rax
ja 0x2536
movslq (%rbx,%rax,4), %rax
addq %rbx, %rax
jmpq *%rax
cmpl $0x0, (%r12)
jne 0x2592
movl $0x1ac, %esi            # imm = 0x1AC
subq 0x30(%rsp), %rsi
movq %r13, %rdi
jmp 0x252a
cmpl $0x0, (%r12)
jne 0x25c4
movl $0x1b2, %edi            # imm = 0x1B2
subq 0x30(%rsp), %rdi
callq 0x38eb
jmp 0x24a7
cmpl $0x0, (%r12)
jne 0x2575
movl $0x1af, %esi            # imm = 0x1AF
subq 0x30(%rsp), %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x3721
jmp 0x24a7
cmpl $0x0, (%r12)
jne 0x25cd
cmpl $0x0, 0x44(%rsp)
jne 0x24a7
movl $0x1b5, %edi            # imm = 0x1B5
subq 0x30(%rsp), %rdi
callq 0x3976
movl $0x1, 0x44(%rsp)
jmp 0x24a7
movl $0x1, (%r12)
jmp 0x246f
leaq 0x4c4c(%rip), %rax      # 0x71c8
movq (%rax), %rcx
movq %rcx, 0x38(%rsp)
testq %rcx, %rcx
jne 0x246f
jmp 0x263d
leaq 0x4c2f(%rip), %rax      # 0x71c8
movq (%rax), %rax
testq %rax, %rax
jne 0x246a
leaq 0x2a94(%rip), %rdi      # 0x5040
leaq 0x2a9c(%rip), %rsi      # 0x504f
leaq 0x2a9c(%rip), %rcx      # 0x5056
movl $0x1ac, %edx            # imm = 0x1AC
callq 0x2120
leaq 0x2aa8(%rip), %rdi      # 0x5073
jmp 0x25d4
leaq 0x2ab6(%rip), %rdi      # 0x508a
movq %r15, %rsi
xorl %eax, %eax
callq 0x3d5c
callq 0x2080
andl $0x0, (%rax)
callq 0x2fe0
leaq 0x4bae(%rip), %rax      # 0x71a0
movslq (%rax), %r14
movl 0x40(%rsp), %eax
subl %r14d, %eax
cmpl $0x1, %eax
jne 0x26d4
callq 0x2080
movq %rax, %rbx
andl $0x0, (%rax)
movq 0x58(%rsp), %rax
movq (%rax,%r14,8), %r14
testq %r14, %r14
jne 0x265c
leaq 0x2dd9(%rip), %rdi      # 0x53fe
leaq 0x2ac4(%rip), %rsi      # 0x50f0
leaq 0x2adf(%rip), %rcx      # 0x5112
movl $0xa7, %edx
callq 0x2120
leaq 0x29fc(%rip), %rdi      # 0x5040
leaq 0x2a04(%rip), %rsi      # 0x504f
leaq 0x2a04(%rip), %rcx      # 0x5056
movl $0x1af, %edx            # imm = 0x1AF
callq 0x2120
leaq 0x10(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2040
movq (%r15), %rdx
pushq $0x16
popq %rcx
cmpq %r14, %rdx
jne 0x2680
movq 0x50(%rsp), %r14
jmp 0x269c
cmpb $0x0, (%rdx)
movq 0x50(%rsp), %r14
jne 0x269c
movq %rax, %rcx
addq $-0x6, %rcx
cmpq $-0x6, %rcx
ja 0x269e
pushq $0x22
popq %rcx
xorl %eax, %eax
movl %ecx, (%rbx)
cmpl $0x0, (%rbx)
jne 0x26d9
decl %eax
cmpl $0x4, %eax
ja 0x26f2
leaq 0x297b(%rip), %rcx      # 0x502c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
testq %r14, %r14
sete %al
cmpq $0x0, 0x38(%rsp)
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x28c1
callq 0x2fe0
leaq 0x29bf(%rip), %rdi      # 0x509f
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
pushq $0x1
popq %rdi
callq 0x2270
leaq 0x29af(%rip), %rdi      # 0x50a8
xorl %eax, %eax
callq 0x3d5c
jmp 0x26e7
pushq $0x1
popq %rsi
leaq 0x10(%rsp), %rdx
xorl %edi, %edi
callq 0x3028
testl %eax, %eax
jne 0x28f5
pushq $0x1
popq %rdi
callq 0x22f0
movq 0x10(%rsp), %rdi
callq 0x22e0
testl %eax, %eax
je 0x2738
cmpl $0x3, %eax
jne 0x2ac9
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2ad9
xorl %edi, %edi
callq 0x2270
pushq $0x5
popq %rdi
callq 0x21e0
testq %rax, %rax
je 0x282f
movq %rax, %r14
pushq $0x1
popq %rdi
leaq 0x8(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a0b
pushq $0x1
popq %rdi
leaq 0x28(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a0b
movl 0xc(%rsp), %edi
movl 0x28(%rsp), %esi
leaq 0x10(%rsp), %rdx
callq 0x3028
testl %eax, %eax
jne 0x2b8b
callq 0x3005
movl 0x8(%rsp), %edi
leaq 0x29d0(%rip), %rsi      # 0x5193
pushq $0x5
popq %rdx
callq 0x3aa0
cmpq $0x5, %rax
jne 0x2c30
movl 0x8(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cd5
movl 0x2c(%rsp), %edi
pushq $0x5
popq %rdx
movq %r14, %rsi
callq 0x2170
cmpq $0x5, %rax
je 0x2dcf
cmpq $-0x1, %rax
jne 0x2e2c
cmpl $0x0, (%rbx)
jne 0x2e53
leaq 0x299f(%rip), %rdi      # 0x51b8
jmp 0x2ce5
pushq $0x5
popq %rdi
callq 0x21e0
testq %rax, %rax
jne 0x290a
leaq 0x2962(%rip), %rdi      # 0x5198
xorl %eax, %eax
callq 0x3d5c
jmp 0x26ea
pushq $0x1
popq %rdi
leaq 0x8(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a20
movl 0xc(%rsp), %edi
pushq $0x1
popq %rsi
leaq 0x10(%rsp), %rdx
callq 0x3028
testl %eax, %eax
jne 0x2a53
movq 0x10(%rsp), %rdi
callq 0x22e0
testl %eax, %eax
jne 0x2af6
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2ba0
movl 0x8(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0xc(%rsp), %edi
callq 0x2140
testl %eax, %eax
je 0x274c
jmp 0x2cb8
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x2240
cmpl $-0x1, %eax
jne 0x2a6f
cmpl $0x0, (%rbx)
jne 0x2b09
leaq 0x2871(%rip), %rdi      # 0x5157
movq %r14, %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x26ea
cmpl $0x0, (%rbx)
jne 0x2ab1
leaq 0x285b(%rip), %rdi      # 0x5160
jmp 0x2836
movq %rax, %r14
pushq $0x1
popq %rdi
leaq 0x8(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a0b
pushq $0x1
popq %rdi
leaq 0x28(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a0b
pushq $0x1
popq %rdi
leaq 0x48(%rsp), %rcx
movl %edi, %esi
xorl %edx, %edx
callq 0x21b0
testl %eax, %eax
jne 0x2a0b
movl 0x2c(%rsp), %edi
movl 0x48(%rsp), %esi
leaq 0x18(%rsp), %rdx
callq 0x3028
testl %eax, %eax
jne 0x2b8b
movl 0xc(%rsp), %edi
movl 0x28(%rsp), %esi
leaq 0x10(%rsp), %rdx
callq 0x3028
testl %eax, %eax
jne 0x2cf1
callq 0x3005
movl 0x8(%rsp), %edi
leaq 0x27f7(%rip), %rsi      # 0x5193
pushq $0x5
popq %rdx
callq 0x3aa0
cmpq $0x5, %rax
jne 0x2d4d
movl 0x8(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2e35
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2ec8
movl 0x4c(%rsp), %edi
pushq $0x5
popq %rdx
movq %r14, %rsi
callq 0x2170
cmpq $0x5, %rax
je 0x2f3d
cmpq $-0x1, %rax
jne 0x2fb8
cmpl $0x0, (%rbx)
jne 0x2fc1
leaq 0x27b2(%rip), %rdi      # 0x51b8
jmp 0x2d01
cmpl $0x0, (%rbx)
jne 0x2a35
leaq 0x2788(%rip), %rdi      # 0x519f
xorl %eax, %eax
callq 0x3d5c
jmp 0x2a46
cmpl $0x0, (%rbx)
jne 0x2abd
leaq 0x276f(%rip), %rdi      # 0x519f
jmp 0x2836
leaq 0x2763(%rip), %rdi      # 0x519f
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movq %r14, %rdi
callq 0x2030
jmp 0x26ea
cmpl $0x0, (%rbx)
jne 0x2b1f
leaq 0x26fd(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3d5c
jmp 0x2bbb
movl %eax, %ebp
movq 0x38(%rsp), %rdi
movl $0x241, %esi            # imm = 0x241
movl $0x180, %edx            # imm = 0x180
xorl %eax, %eax
callq 0x2240
cmpl $-0x1, %eax
jne 0x2b32
cmpl $0x0, (%rbx)
jne 0x2bf7
leaq 0x26b7(%rip), %rdi      # 0x5157
movq 0x38(%rsp), %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x2ca9
leaq 0x26a8(%rip), %rdi      # 0x5160
jmp 0x26e0
leaq 0x26db(%rip), %rdi      # 0x519f
jmp 0x26e0
movl %eax, %edi
callq 0x22c0
leaq 0x26a9(%rip), %rdi      # 0x5180
jmp 0x2ae7
movl %eax, %edi
callq 0x22c0
leaq 0x2682(%rip), %rdi      # 0x5169
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x26e7
movl %eax, %edi
callq 0x22c0
leaq 0x267c(%rip), %rdi      # 0x5180
jmp 0x2bae
leaq 0x2647(%rip), %rdi      # 0x5157
movq %r14, %rsi
xorl %eax, %eax
callq 0x3bcd
jmp 0x26e7
leaq 0x263a(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3bcd
jmp 0x2bb8
movl %eax, %r14d
leaq 0x10(%rsp), %rdx
movl %ebp, %edi
movl %eax, %esi
callq 0x3028
testl %eax, %eax
jne 0x2c0f
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2c4c
movl %r14d, %edi
callq 0x2140
testl %eax, %eax
je 0x2d73
cmpl $0x0, (%rbx)
jne 0x2d62
leaq 0x25fb(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x2d73
cmpl $0x0, (%rbx)
jne 0x2c24
leaq 0x25c5(%rip), %rdi      # 0x5160
jmp 0x2a17
movl %eax, %edi
callq 0x22c0
leaq 0x25bb(%rip), %rdi      # 0x5169
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
andl $0x0, (%rbx)
movl 0x8(%rsp), %edi
callq 0x2140
testl %eax, %eax
je 0x2bee
cmpl $0x0, (%rbx)
jne 0x2bdd
leaq 0x25a6(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x2bee
leaq 0x2596(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movl 0xc(%rsp), %edi
jmp 0x2cab
leaq 0x2559(%rip), %rdi      # 0x5157
movq 0x38(%rsp), %rsi
xorl %eax, %eax
callq 0x3bcd
jmp 0x2ca6
cmpl $0x0, (%rbx)
jne 0x2c66
leaq 0x2545(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3d5c
jmp 0x2c77
leaq 0x2535(%rip), %rdi      # 0x5160
jmp 0x2a3c
cmpl $0x0, (%rbx)
jne 0x2d0d
leaq 0x256a(%rip), %rdi      # 0x51aa
xorl %eax, %eax
callq 0x3d5c
jmp 0x2d1e
movl %eax, %edi
callq 0x22c0
leaq 0x250f(%rip), %rdi      # 0x5169
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x2c74
leaq 0x24f3(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movl %r14d, %edi
callq 0x2140
testl %eax, %eax
je 0x2ca9
cmpl $0x0, (%rbx)
jne 0x2c98
leaq 0x24eb(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x2ca9
leaq 0x24db(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movl %ebp, %edi
callq 0x2140
testl %eax, %eax
je 0x26ea
cmpl $0x0, (%rbx)
jne 0x2cc9
leaq 0x24b6(%rip), %rdi      # 0x517a
jmp 0x2836
leaq 0x24aa(%rip), %rdi      # 0x517a
jmp 0x26e0
cmpl $0x0, (%rbx)
jne 0x2d9a
leaq 0x2495(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x2e74
cmpl $0x0, (%rbx)
jne 0x2da6
leaq 0x245f(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3d5c
jmp 0x2ee3
leaq 0x2496(%rip), %rdi      # 0x51aa
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movq 0x10(%rsp), %rdi
callq 0x22e0
testl %eax, %eax
je 0x2e74
movl %eax, %edi
callq 0x22c0
leaq 0x2442(%rip), %rdi      # 0x5180
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x2e71
cmpl $0x0, (%rbx)
jne 0x2e4a
leaq 0x244d(%rip), %rdi      # 0x51aa
jmp 0x2e41
leaq 0x2411(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movl %ebp, %edi
callq 0x2140
testl %eax, %eax
je 0x274c
cmpl $0x0, (%rbx)
jne 0x2db9
leaq 0x23ec(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x274c
leaq 0x23d9(%rip), %rdi      # 0x517a
jmp 0x2e5a
leaq 0x23b3(%rip), %rdi      # 0x5160
xorl %eax, %eax
callq 0x3bcd
jmp 0x2ee0
leaq 0x23ba(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
jmp 0x274c
leaq 0x23bd(%rip), %rsi      # 0x5193
pushq $0x5
popq %rdx
movq %r14, %rdi
callq 0x2200
testl %eax, %eax
jne 0x2e63
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2f20
movq %r14, %rdi
callq 0x2030
movl 0xc(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x28(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x2c(%rsp), %edi
jmp 0x28af
leaq 0x238a(%rip), %rdi      # 0x51bd
jmp 0x2e6a
cmpl $0x0, (%rbx)
jne 0x2e7e
leaq 0x2339(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3d5c
jmp 0x2e8f
leaq 0x2359(%rip), %rdi      # 0x51aa
jmp 0x2e85
leaq 0x235e(%rip), %rdi      # 0x51b8
xorl %eax, %eax
callq 0x3bcd
jmp 0x2e71
leaq 0x2376(%rip), %rdi      # 0x51e0
xorl %eax, %eax
callq 0x3d5c
andl $0x0, (%rbx)
movq 0x10(%rsp), %rdi
jmp 0x2f11
leaq 0x22f5(%rip), %rdi      # 0x517a
xorl %eax, %eax
callq 0x3bcd
andl $0x0, (%rbx)
movq 0x10(%rsp), %rdi
callq 0x22e0
testl %eax, %eax
je 0x2eb8
movl %eax, %edi
callq 0x22c0
leaq 0x22d5(%rip), %rdi      # 0x5180
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
andl $0x0, (%rbx)
movq 0x10(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
je 0x2ee3
movl %eax, %edi
callq 0x22c0
leaq 0x2293(%rip), %rdi      # 0x5169
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
andl $0x0, (%rbx)
movq 0x18(%rsp), %rdi
callq 0x22e0
testl %eax, %eax
je 0x2f0c
movl %eax, %edi
callq 0x22c0
leaq 0x2281(%rip), %rdi      # 0x5180
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
andl $0x0, (%rbx)
movq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
je 0x2a46
movl %eax, %edi
callq 0x22c0
leaq 0x223b(%rip), %rdi      # 0x5169
movq %rax, %rsi
xorl %eax, %eax
callq 0x3d5c
jmp 0x2a43
leaq 0x224f(%rip), %rsi      # 0x5193
pushq $0x5
popq %rdx
movq %r14, %rdi
callq 0x2200
testl %eax, %eax
jne 0x2fcd
movq 0x18(%rsp), %rdi
xorl %esi, %esi
callq 0x22a0
testl %eax, %eax
jne 0x2f20
movq %r14, %rdi
callq 0x2030
movl 0xc(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x28(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x2c(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x48(%rsp), %edi
callq 0x2140
testl %eax, %eax
jne 0x2cb8
movl 0x4c(%rsp), %edi
jmp 0x28af
leaq 0x21fe(%rip), %rdi      # 0x51bd
jmp 0x2fd4
leaq 0x21f0(%rip), %rdi      # 0x51b8
jmp 0x2dad
leaq 0x220c(%rip), %rdi      # 0x51e0
xorl %eax, %eax
callq 0x3d5c
jmp 0x2ee0