// File: /workspace/github_c_makefile_star2_O1/niuyuling[P]CProxy/http_request.c
// Function: conf_handle_regrep
static char *conf_handle_regrep(char *str, int *str_len, tcp * temp)
{
    tcp *p = temp;

    while (p) {
        if (p->regrep) {
            str = regrep(str, str_len, p->regrep_s, p->regrep_t, p->regrep_t_len);
        }

        p = p->next;
    }

    return str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %r13
testq %rdx, %rdx
je 0x58c3
movq %rdx, %rbx
movq %rsi, 0x10(%rsp)
leaq 0x88(%rsp), %r14
cmpq $0x0, 0x28(%rbx)
je 0x56c0
testq %r13, %r13
je 0x58af
movq 0x38(%rbx), %rsi
testq %rsi, %rsi
je 0x58af
movq 0x40(%rbx), %rcx
movl $0x0, %eax
movq %rcx, 0x28(%rsp)
testq %rcx, %rcx
je 0x58b1
movl 0x4c(%rbx), %ebp
movw $0x305c, 0xe(%rsp)      # imm = 0x305C
movq %r14, %rdi
movl $0x7, %edx
callq 0x2210
movl $0xa, %edx
movq %r14, %rdi
movq %r13, %rsi
leaq 0x30(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2370
testl %eax, %eax
je 0x56c8
movq %r14, %rdi
callq 0x2130
movq %r13, %rax
jmp 0x58b1
movslq %ebp, %r15
movq %r13, %r12
movq %r15, 0x20(%rsp)
movq %r15, %rdi
callq 0x2320
testq %rax, %rax
je 0x589f
movq %rax, %rbp
movq %rax, %rdi
movq 0x28(%rsp), %rsi
movq %r15, %rdx
callq 0x22d0
movl %r15d, 0x8(%rsp)
cmpl $0x0, 0x38(%rsp)
js 0x5752
xorl %r14d, %r14d
movslq 0x38(%rsp,%r14,8), %rax
testq %rax, %rax
js 0x5752
leal 0x31(%r14), %ecx
movb %cl, 0xf(%rsp)
movq %rax, %r8
addq %r12, %r8
movl 0x3c(%rsp,%r14,8), %r9d
subl %eax, %r9d
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
leaq 0xe(%rsp), %rdx
movl $0x2, %ecx
callq 0x40cf
testq %rax, %rax
je 0x5897
movq %rax, %rbp
incq %r14
cmpq $0x9, %r14
jne 0x5706
movslq 0x34(%rsp), %r14
movslq 0x30(%rsp), %rax
subq %rax, %r14
addq %rax, %r12
movslq 0x8(%rsp), %rdx
cmpl %r14d, %edx
jle 0x57f0
subl %r14d, %edx
movq 0x10(%rsp), %r15
movslq (%r15), %rax
movslq %edx, %r14
leaq (%rax,%r14), %rcx
movl %ecx, (%r15)
leaq (%rax,%r14), %rsi
incq %rsi
movq %r13, %rdi
callq 0x23c0
movq %r15, %rcx
movq %rax, %r15
testq %rax, %rax
je 0x5840
movslq 0x30(%rsp), %r13
addq %r15, %r13
movslq 0x8(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq (%rax,%r13), %r12
movq %r12, %rsi
subq %r14, %rsi
movslq (%rcx), %rdx
addq %r15, %rdx
subq %r12, %rdx
incq %rdx
movq %r12, %rdi
callq 0x2420
movq %r13, %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
callq 0x22d0
movq %r15, %r13
leaq 0x88(%rsp), %r14
jmp 0x5860
movq %r12, %rdi
movq %rbp, %rsi
callq 0x22d0
movslq 0x8(%rsp), %rdi
cmpl %edi, %r14d
jle 0x5824
addq %r12, %rdi
movq %r14, %rsi
addq %r12, %rsi
movq 0x10(%rsp), %rax
movslq (%rax), %rax
movq %r13, %rdx
subq %rsi, %rdx
addq %rax, %rdx
callq 0x2420
movslq 0x8(%rsp), %rax
addq %rax, %r12
subl %r14d, %eax
movq 0x10(%rsp), %rcx
addl %eax, (%rcx)
leaq 0x88(%rsp), %r14
jmp 0x5865
movq %r13, %rdi
callq 0x2030
movq %rbp, %rdi
callq 0x2030
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2130
testq %r15, %r15
je 0x58af
movq %rbp, %rdi
callq 0x2030
movl $0xa, %edx
movq %r14, %rdi
movq %r12, %rsi
leaq 0x30(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2370
testl %eax, %eax
movq 0x20(%rsp), %r15
je 0x56d3
jmp 0x56b8
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2130
movq %r13, %rdi
callq 0x2030
xorl %eax, %eax
movq 0x50(%rbx), %rbx
movq %rax, %r13
testq %rbx, %rbx
jne 0x5651
jmp 0x58c6
movq %r13, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq