// File: /workspace/github_c_makefile_star2_O2/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, %rbx
movq %rdi, %r15
leaq 0x88(%rsp), %rbp
testq %rdx, %rdx
je 0x558e
cmpq $0x0, 0x28(%rdx)
je 0x552b
testq %r15, %r15
je 0x554a
movq 0x38(%rdx), %rsi
testq %rsi, %rsi
je 0x554a
movq 0x40(%rdx), %rax
movl $0x0, %r13d
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0x554d
movq %rdx, 0x10(%rsp)
movl 0x4c(%rdx), %eax
movl %eax, 0xc(%rsp)
movslq %eax, %r14
movw $0x305c, 0xa(%rsp)      # imm = 0x305C
movq %rbp, %rdi
pushq $0x7
popq %rdx
callq 0x2210
movq %r15, %r13
movq %r14, 0x20(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
pushq $0xa
popq %rdx
leaq 0x30(%rsp), %rcx
xorl %r8d, %r8d
callq 0x2380
testl %eax, %eax
jne 0x5559
movq %r14, %rdi
callq 0x2330
testq %rax, %rax
je 0x5530
movq %rax, %r12
movq %rax, %rdi
movq 0x28(%rsp), %rsi
movq %r14, %rdx
callq 0x22e0
movl %r14d, 0x4(%rsp)
cmpl $0x0, 0x38(%rsp)
js 0x5440
xorl %r14d, %r14d
cmpq $0x9, %r14
je 0x543a
movslq 0x38(%rsp,%r14,8), %rax
testq %rax, %rax
js 0x543a
leal 0x31(%r14), %ecx
movb %cl, 0xb(%rsp)
movq %rax, %r8
addq %r15, %r8
movl 0x3c(%rsp,%r14,8), %r9d
subl %eax, %r9d
movq %r12, %rdi
leaq 0x4(%rsp), %rsi
leaq 0xa(%rsp), %rdx
pushq $0x2
popq %rcx
callq 0x3f39
movq %rax, %r12
incq %r14
testq %rax, %rax
jne 0x53ef
jmp 0x5530
movl 0x4(%rsp), %eax
jmp 0x5444
movl 0xc(%rsp), %eax
movslq 0x34(%rsp), %r14
movslq 0x30(%rsp), %rcx
subq %rcx, %r14
movl %eax, %edx
subl %r14d, %edx
jle 0x54d4
movslq (%rbx), %rax
movq %rbx, %rbp
movslq %edx, %rbx
leaq (%rax,%rbx), %rcx
movl %ecx, (%rbp)
leaq (%rax,%rbx), %rsi
incq %rsi
movq %r13, %rdi
callq 0x23d0
testq %rax, %rax
je 0x5563
movq %rax, %r14
movslq 0x30(%rsp), %r13
addq %rax, %r13
movslq 0x4(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq (%rax,%r13), %r15
movq %r15, %rsi
subq %rbx, %rsi
movslq (%rbp), %rdx
addq %r14, %rdx
subq %r15, %rdx
incq %rdx
movq %r15, %rdi
callq 0x2430
movq %r13, %rdi
movq %r12, %rsi
movq 0x18(%rsp), %rdx
callq 0x22e0
movq %r14, %r13
movq %rbp, %rbx
leaq 0x88(%rsp), %rbp
jmp 0x5519
addq %rcx, %r15
movslq %eax, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x22e0
movl 0x4(%rsp), %eax
cmpl %eax, %r14d
jle 0x550f
movslq %eax, %rdi
addq %r15, %rdi
movq %r14, %rsi
addq %r15, %rsi
movslq (%rbx), %rax
movq %r13, %rdx
subq %rsi, %rdx
addq %rax, %rdx
callq 0x2430
movl 0x4(%rsp), %eax
cltq
addq %rax, %r15
subl %r14d, %eax
addl %eax, (%rbx)
movq %r12, %rdi
callq 0x2030
movq 0x20(%rsp), %r14
jmp 0x539e
movq %r15, %r13
jmp 0x554d
movq %rbp, %rdi
callq 0x2130
movq %r13, %rdi
callq 0x2030
xorl %r13d, %r13d
movq 0x10(%rsp), %rdx
jmp 0x554d
xorl %r13d, %r13d
movq 0x50(%rdx), %rdx
movq %r13, %r15
jmp 0x5333
movq %rbp, %rdi
callq 0x2130
jmp 0x5543
movq %r13, %rdi
callq 0x2030
movq %r12, %rdi
callq 0x2030
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0x2130
xorl %r13d, %r13d
movq %rbp, %rbx
movq %r14, %rbp
jmp 0x5543
movq %r15, %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop