// File: /workspace/github_c_makefile_star2_O3/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 %rsi, 0x8(%rsp)
movq %rdi, %r15
testq %rdx, %rdx
je 0x582e
movq %rdx, %rbx
leaq 0x88(%rsp), %r14
cmpq $0x0, 0x28(%rbx)
je 0x5633
testq %r15, %r15
je 0x57f8
movq 0x38(%rbx), %rsi
testq %rsi, %rsi
je 0x57f8
movq 0x40(%rbx), %rcx
movl $0x0, %eax
movq %rcx, 0x28(%rsp)
testq %rcx, %rcx
je 0x57fa
movl 0x4c(%rbx), %ebp
movw $0x305c, 0x6(%rsp)      # imm = 0x305C
movq %r14, %rdi
movl $0x7, %edx
callq 0x2210
movl $0xa, %edx
movq %r14, %rdi
movq %r15, %rsi
leaq 0x30(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2380
testl %eax, %eax
je 0x563b
movq %r14, %rdi
callq 0x2130
movq %r15, %rax
jmp 0x57fa
movl %ebp, 0x14(%rsp)
movslq %ebp, %r13
movq %r15, %r12
movq %r13, 0x20(%rsp)
movq %r13, %rdi
callq 0x2330
testq %rax, %rax
je 0x57e8
movq %rax, %rbp
movq %rax, %rdi
movq 0x28(%rsp), %rsi
movq %r13, %rdx
callq 0x22e0
movl %r13d, (%rsp)
cmpl $0x0, 0x38(%rsp)
js 0x56cb
xorl %r14d, %r14d
movslq 0x38(%rsp,%r14,8), %rax
testq %rax, %rax
js 0x56c6
leal 0x31(%r14), %ecx
movb %cl, 0x7(%rsp)
movq %rax, %r8
addq %r12, %r8
movl 0x3c(%rsp,%r14,8), %r9d
subl %eax, %r9d
movq %rbp, %rdi
movq %rsp, %rsi
leaq 0x6(%rsp), %rdx
movl $0x2, %ecx
callq 0x40c3
testq %rax, %rax
je 0x57e0
movq %rax, %rbp
incq %r14
cmpq $0x9, %r14
jne 0x567c
movl (%rsp), %eax
jmp 0x56cf
movl 0x14(%rsp), %eax
movslq 0x34(%rsp), %r14
movslq 0x30(%rsp), %rcx
subq %rcx, %r14
movl %eax, %edx
subl %r14d, %edx
jle 0x5759
movq 0x8(%rsp), %r12
movslq (%r12), %rax
movslq %edx, %r14
leaq (%rax,%r14), %rcx
movl %ecx, (%r12)
leaq (%rax,%r14), %rsi
incq %rsi
movq %r15, %rdi
callq 0x23d0
testq %rax, %rax
je 0x580c
movq %r12, %rcx
movq %rax, %r13
movslq 0x30(%rsp), %r15
addq %rax, %r15
movslq (%rsp), %rax
movq %rax, 0x18(%rsp)
leaq (%r15,%rax), %r12
movq %r12, %rsi
subq %r14, %rsi
movslq (%rcx), %rdx
addq %r13, %rdx
subq %r12, %rdx
incq %rdx
movq %r12, %rdi
callq 0x2430
movq %r15, %rdi
movq %rbp, %rsi
movq 0x18(%rsp), %rdx
callq 0x22e0
movq %r13, %r15
jmp 0x57a6
addq %rcx, %r12
movslq %eax, %rdx
movq %r12, %rdi
movq %rbp, %rsi
callq 0x22e0
movl (%rsp), %eax
cmpl %eax, %r14d
jle 0x5797
movslq %eax, %rdi
addq %r12, %rdi
movq %r14, %rsi
addq %r12, %rsi
movq 0x8(%rsp), %rax
movslq (%rax), %rax
movq %r15, %rdx
subq %rsi, %rdx
addq %rax, %rdx
callq 0x2430
movl (%rsp), %eax
cltq
addq %rax, %r12
subl %r14d, %eax
movq 0x8(%rsp), %rcx
addl %eax, (%rcx)
movq %rbp, %rdi
callq 0x2030
movl $0xa, %edx
leaq 0x88(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
leaq 0x30(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2380
testl %eax, %eax
movq 0x20(%rsp), %r13
je 0x564a
jmp 0x562b
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2130
movq %r15, %rdi
callq 0x2030
xorl %eax, %eax
movq 0x50(%rbx), %rbx
movq %rax, %r15
testq %rbx, %rbx
jne 0x55c4
jmp 0x5831
movq %r15, %rdi
callq 0x2030
movq %rbp, %rdi
callq 0x2030
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2130
jmp 0x57f8
movq %r15, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop