// File: /workspace/github_c_makefile_star2_O1/GangZhuo[P]dohclient/src/channel_udp.c
// Function: step
static int step(channel_t* ctx,
	fd_set* readset, fd_set* writeset, fd_set* errorset)
{
	channel_udp_t* c = (channel_udp_t*)ctx;
	int i,r;
	for (i = 0; i < c->upstream_num; i++) {
		r = upstream_step(ctx, readset, writeset, errorset, i);
		if (r) {
			return r;
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rsi, 0x38(%rsp)
cmpl $0x0, 0x500(%rdi)
jle 0x1190e
movq %rcx, %r15
movq %rdi, %rbx
leaq 0x80(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x50c(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x68(%rdi), %rax
movq %rax, 0x8(%rsp)
leaq 0x58(%rdi), %rax
movq %rax, 0x28(%rsp)
xorl %r13d, %r13d
movq %rcx, 0x30(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movl $0x80, 0x14(%rsp)
leaq (,%r13,8), %r14
addq %r13, %r14
shlq $0x4, %r14
movq 0x20(%rsp), %rax
movl 0x88(%rax,%r14), %edi
leal 0x3f(%rdi), %edx
testl %edi, %edi
cmovnsl %edi, %edx
movl %edx, %eax
sarl $0x6, %eax
cltq
movq (%r15,%rax,8), %rsi
andl $-0x40, %edx
movl %edi, %ecx
subl %edx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
btq %rcx, %rsi
jae 0x11540
callq 0x1847d
movl %eax, %ebp
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x1179d
movl %ebp, %edi
callq 0x3140
movq %rax, (%rsp)
xorl %r12d, %r12d
movl $0x3, %edi
leaq 0x120e1(%rip), %rsi     # 0x235ff
leaq 0x121ac(%rip), %rdx     # 0x236d1
movl $0x129, %ecx            # imm = 0x129
leaq 0x14bed(%rip), %r8      # 0x2611e
movl %ebp, %r9d
xorl %eax, %eax
callq 0x17d92
jmp 0x1179d
movq 0x38(%rsp), %rcx
testq %rdx, (%rcx,%rax,8)
je 0x116c2
movq 0x18(%rsp), %rsi
movl $0x400, %edx            # imm = 0x400
leaq 0x40(%rsp), %rcx
leaq 0x14(%rsp), %r8
callq 0x196bb
testl %eax, %eax
js 0x115cf
movl %eax, %ebp
movl $0x20, %edi
callq 0x34b0
testq %rax, %rax
je 0x11631
movq %rax, %r12
movq %rax, %rdi
callq 0x19b12
testl %eax, %eax
je 0x11669
xorl %eax, %eax
callq 0x17d59
cmpl $0x3, (%rax)
jl 0x116ba
movl $0x3, %edi
leaq 0x1204f(%rip), %rsi     # 0x235ff
leaq 0x11fd1(%rip), %rdx     # 0x23588
movl $0xcb, %ecx
leaq 0x11009(%rip), %r8      # 0x225cc
xorl %eax, %eax
callq 0x17d92
jmp 0x116ba
movq 0x20(%rsp), %rax
addq %r14, %rax
addq $0x88, %rax
movl (%rax), %edi
callq 0x1847d
movl %eax, %ebp
xorl %r12d, %r12d
xorl %eax, %eax
callq 0x17d59
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
cmpl $0x3, (%rax)
jl 0x1179d
movl %ebp, %edi
callq 0x3140
movq %rax, (%rsp)
xorl %r12d, %r12d
movl $0x3, %edi
leaq 0x11fe6(%rip), %rsi     # 0x235ff
leaq 0x120b1(%rip), %rdx     # 0x236d1
movl $0x134, %ecx            # imm = 0x134
leaq 0x122e6(%rip), %r8      # 0x23912
jmp 0x11531
xorl %eax, %eax
callq 0x17d59
cmpl $0x3, (%rax)
jl 0x116c2
movl $0x3, %edi
leaq 0x11fb2(%rip), %rsi     # 0x235ff
leaq 0x11f34(%rip), %rdx     # 0x23588
movl $0xc6, %ecx
leaq 0x12243(%rip), %r8      # 0x238a3
xorl %eax, %eax
callq 0x17d92
jmp 0x116c2
movq %r12, %rdi
movq 0x18(%rsp), %rsi
movl %ebp, %edx
callq 0x1a7e0
testl %eax, %eax
je 0x117be
xorl %eax, %eax
callq 0x17d59
cmpl $0x3, (%rax)
jl 0x116b2
movl $0x3, %edi
leaq 0x11f67(%rip), %rsi     # 0x235ff
leaq 0x11ee9(%rip), %rdx     # 0x23588
movl $0xd1, %ecx
leaq 0x118de(%rip), %r8      # 0x22f89
xorl %eax, %eax
callq 0x17d92
movq %r12, %rdi
callq 0x1a1dd
movq %r12, %rdi
callq 0x3450
xorl %edi, %edi
callq 0x3310
movq %rax, %r14
movq 0x28(%rsp), %rax
movq (%rax), %rbp
movb $0x1, %r12b
cmpq %rax, %rbp
je 0x1179a
movq (%rbp), %r15
cmpq %r14, -0x18(%rbp)
jg 0x11787
movq 0x8(%rbp), %rax
movq %r15, (%rax)
movq (%rbp), %rcx
movq %rax, 0x8(%rcx)
leaq 0x10(%rbp), %rsi
movq 0x8(%rsp), %rdi
callq 0x3946
decl 0x78(%rbx)
xorl %eax, %eax
callq 0x17d59
cmpl $0x3, (%rax)
jl 0x1174c
leaq -0x28(%rbp), %rdi
callq 0x1a29d
movl $0x3, %edi
leaq 0x11ed0(%rip), %rsi     # 0x235ff
leaq 0x1123d(%rip), %rdx     # 0x22973
movl $0x100, %ecx            # imm = 0x100
leaq 0x11244(%rip), %r8      # 0x22986
movq %rax, %r9
xorl %eax, %eax
callq 0x17d92
movq -0x10(%rbp), %rax
testq %rax, %rax
je 0x11772
movq -0x8(%rbp), %r9
movq %rbx, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq *%rax
movq $0x0, -0x10(%rbp)
movq -0x28(%rbp), %rdi
addq $-0x30, %rbp
callq 0x3450
movq %rbp, %rdi
callq 0x3450
movq %r15, %rbp
cmpq 0x28(%rsp), %r15
jne 0x116e0
movq 0x30(%rsp), %r15
xorl %r14d, %r14d
testb %r12b, %r12b
je 0x11911
incq %r13
movslq 0x500(%rbx), %rax
cmpq %rax, %r13
jl 0x11461
jmp 0x1190e
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x390c
movq %rax, %rbp
xorl %eax, %eax
callq 0x17d59
movl (%rax), %eax
testq %rbp, %rbp
je 0x11802
cmpl $0x7, %eax
jl 0x1186d
cmpw $0x0, 0x4(%r12)
je 0x11833
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x11833
callq 0x1a29d
movq %rax, %r14
jmp 0x11836
cmpl $0x7, %eax
jl 0x116b2
cmpw $0x0, 0x4(%r12)
je 0x118cf
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x118cf
callq 0x1a29d
movq %rax, %r14
jmp 0x118d2
xorl %r14d, %r14d
leaq 0x40(%rsp), %rdi
callq 0x184d9
movq %rax, (%rsp)
movl $0x7, %edi
leaq 0x11daf(%rip), %rsi     # 0x235ff
leaq 0x11d31(%rip), %rdx     # 0x23588
movl $0xdf, %ecx
leaq 0x11d7b(%rip), %r8      # 0x235de
movq %r14, %r9
xorl %eax, %eax
callq 0x17d92
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
movq %rax, (%rcx)
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x3946
decl 0x78(%rbx)
movq -0x20(%rbp), %rax
testq %rax, %rax
je 0x118b7
movq %rbx, %rdi
movq -0x18(%rbp), %r9
xorl %esi, %esi
movq %r12, %rdx
xorl %ecx, %ecx
movl $0x1, %r8d
callq *%rax
movq $0x0, -0x20(%rbp)
movq %rbp, %r14
addq $-0x40, %r14
movq -0x38(%rbp), %rdi
callq 0x3450
movq %r14, %rdi
jmp 0x116bd
xorl %r14d, %r14d
leaq 0x40(%rsp), %rdi
callq 0x184d9
movq %rax, (%rsp)
movl $0x7, %edi
leaq 0x11d13(%rip), %rsi     # 0x235ff
leaq 0x11c95(%rip), %rdx     # 0x23588
movl $0xd9, %ecx
leaq 0x11de0(%rip), %r8      # 0x236df
movq %r14, %r9
xorl %eax, %eax
callq 0x17d92
jmp 0x116b2
xorl %r14d, %r14d
movl %r14d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq