// File: /workspace/github_c_makefile_star2_O0/madler[P]pigz/pigz.c
// Function: outb_check
local void outb_check(void *dummy) {
    size_t len;
    ball_t err;                     // error information from throw()

    (void)dummy;

    Trace(("-- launched decompress check thread"));
    try {
        do {
            possess(outb_check_more);
            wait_for(outb_check_more, TO_BE, 1);
            len = out_len;
            g.out_check = CHECK(g.out_check, out_copy, len);
            Trace(("-- decompress checked %lu bytes", len));
            twist(outb_check_more, TO, 0);
        } while (len);
    }
    catch (err) {
        THREADABORT(err);
    }
    Trace(("-- exited decompress check thread"));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
movl $0x1, -0x114(%rbp)
movl $0x0, -0x48(%rbp)
movl $0x0, -0x44(%rbp)
movl $0x0, -0x40(%rbp)
movq $0x0, -0x38(%rbp)
callq 0x12220
leaq 0x35492(%rip), %rax     # 0x43ab4
movl (%rax), %edi
callq 0x3110
movq %rax, -0x30(%rbp)
leaq 0x35480(%rip), %rax     # 0x43ab4
movl (%rax), %edi
leaq -0x110(%rbp), %rsi
callq 0x35f0
movl %eax, -0x118(%rbp)
cmpl $0x0, -0x118(%rbp)
jne 0xe65b
movb $0x1, %al
testb $0x1, %al
jne 0xe659
jmp 0xe65b
jmp 0xe67a
leaq 0xdbb8(%rip), %rdi      # 0x1c21a
leaq 0xdbe1(%rip), %rsi      # 0x1c24a
movl $0xd30, %edx            # imm = 0xD30
leaq 0xf165(%rip), %rcx      # 0x1d7da
callq 0x3220
jmp 0xe67c
leaq -0x110(%rbp), %rdi
callq 0x32f0
cmpl $0x0, %eax
jne 0xe75b
jmp 0xe693
jmp 0xe695
movq 0x2d2ac(%rip), %rdi     # 0x3b948
leaq 0xdba7(%rip), %rsi      # 0x1c24a
movl $0xd32, %edx            # imm = 0xD32
callq 0x11900
movq 0x2d294(%rip), %rdi     # 0x3b948
xorl %esi, %esi
movl $0x1, %edx
leaq 0xdb88(%rip), %rcx      # 0x1c24a
movl $0xd33, %r8d            # imm = 0xD33
callq 0x11a50
movq 0x2d27c(%rip), %rax     # 0x3b950
movq %rax, -0x10(%rbp)
cmpl $0x1, 0x150e9(%rip)     # 0x237c8
jne 0xe701
movq 0x1d1e8(%rip), %rdi     # 0x2b8d0
movq -0x10(%rbp), %rdx
leaq 0x2d26d(%rip), %rsi     # 0x3b960
callq 0xe030
movq %rax, -0x128(%rbp)
jmp 0xe71f
movq 0x1d1c8(%rip), %rdi     # 0x2b8d0
movq -0x10(%rbp), %rdx
leaq 0x2d24d(%rip), %rsi     # 0x3b960
callq 0xdf70
movq %rax, -0x128(%rbp)
movq -0x128(%rbp), %rax
movq %rax, 0x1d1a3(%rip)     # 0x2b8d0
movq 0x2d214(%rip), %rdi     # 0x3b948
xorl %esi, %esi
xorl %eax, %eax
movl %eax, %edx
leaq 0xdb09(%rip), %rcx      # 0x1c24a
movl $0xd37, %r8d            # imm = 0xD37
callq 0x119a0
cmpq $0x0, -0x10(%rbp)
jne 0xe695
jmp 0xe759
jmp 0xe75b
movl -0x114(%rbp), %eax
cmpl $0x0, %eax
je 0xe7be
jmp 0xe768
leaq 0x35345(%rip), %rax     # 0x43ab4
movl (%rax), %edi
movq -0x30(%rbp), %rsi
callq 0x35f0
movl %eax, -0x11c(%rbp)
cmpl $0x0, -0x11c(%rbp)
jne 0xe793
movb $0x1, %al
testb $0x1, %al
jne 0xe791
jmp 0xe793
jmp 0xe7b2
leaq 0xda80(%rip), %rdi      # 0x1c21a
leaq 0xdaa9(%rip), %rsi      # 0x1c24a
movl $0xd3a, %edx            # imm = 0xD3A
leaq 0xf02d(%rip), %rcx      # 0x1d7da
callq 0x3220
jmp 0xe7b4
movl $0x0, -0x114(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpl $0x0, -0x24(%rbp)
je 0xe824
jmp 0xe7de
cmpl $0x20, -0x24(%rbp)
je 0xe7f6
movq -0x18(%rbp), %rsi
leaq 0xdb67(%rip), %rdi      # 0x1c356
movb $0x0, %al
callq 0x49e0
jmp 0xe7f8
cmpl $0x0, -0x20(%rbp)
je 0xe816
movq -0x18(%rbp), %rdi
callq 0x3050
movl $0x0, -0x20(%rbp)
movq $0x0, -0x18(%rbp)
jmp 0xe818
xorl %edi, %edi
subl -0x24(%rbp), %edi
callq 0x3f20
jmp 0xe824
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopl (%rax)