// File: /workspace/github_c_makefile_star2_O2/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 %rcx, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdi, %r12
leaq 0x80(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x50c(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x68(%rdi), %rbp
leaq 0x58(%rdi), %r15
xorl %r8d, %r8d
movslq 0x500(%r12), %rax
cmpq %rax, %r8
jge 0x1094d
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)
imulq $0x90, %r8, %rbx
movq 0x20(%rsp), %rax
movl 0x88(%rax,%rbx), %edi
movl %edi, %eax
cltd
pushq $0x40
popq %rcx
idivl %ecx
movl %edx, %ecx
cltq
movq 0x30(%rsp), %rdx
movq (%rdx,%rax,8), %rsi
pushq $0x1
popq %rdx
shlq %cl, %rdx
btq %rcx, %rsi
jb 0x10954
movq %r8, 0x38(%rsp)
movq 0x28(%rsp), %rcx
testq %rdx, (%rcx,%rax,8)
je 0x1078b
movq 0x18(%rsp), %rsi
movl $0x400, %edx            # imm = 0x400
leaq 0x40(%rsp), %rcx
leaq 0x14(%rsp), %r8
callq 0x17e7a
testl %eax, %eax
js 0x10991
movl %eax, %r13d
pushq $0x20
popq %rdi
callq 0x34c0
testq %rax, %rax
je 0x10701
movq %rax, %r14
movq %rax, %rdi
callq 0x18296
testl %eax, %eax
je 0x10733
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x10783
pushq $0x3
popq %rdi
leaq 0x10f2d(%rip), %rsi     # 0x2160f
leaq 0x10eaf(%rip), %rdx     # 0x21598
movl $0xcb, %ecx
leaq 0xfeb7(%rip), %r8       # 0x205ac
xorl %eax, %eax
callq 0x1662e
jmp 0x10783
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x1078b
pushq $0x3
popq %rdi
leaq 0x10ef8(%rip), %rsi     # 0x2160f
leaq 0x10e7a(%rip), %rdx     # 0x21598
movl $0xc6, %ecx
leaq 0x11189(%rip), %r8      # 0x218b3
xorl %eax, %eax
callq 0x1662e
jmp 0x1078b
movq %r14, %rdi
movq 0x18(%rsp), %rsi
movl %r13d, %edx
callq 0x18e8f
testl %eax, %eax
je 0x10848
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x1077b
pushq $0x3
popq %rdi
leaq 0x10eae(%rip), %rsi     # 0x2160f
leaq 0x10e30(%rip), %rdx     # 0x21598
movl $0xd1, %ecx
leaq 0x1081d(%rip), %r8      # 0x20f91
xorl %eax, %eax
callq 0x1662e
movq %r14, %rdi
callq 0x188ce
movq %r14, %rdi
callq 0x3460
xorl %edi, %edi
callq 0x3320
movq %rax, %r14
movq (%r15), %rbx
cmpq %r15, %rbx
je 0x1083b
movq %rbx, %r13
movq (%rbx), %rbx
cmpq %r14, -0x18(%r13)
jg 0x10798
movq 0x8(%r13), %rax
movq %rbx, (%rax)
movq (%r13), %rcx
movq %rax, 0x8(%rcx)
leaq 0x10(%r13), %rsi
movq %rbp, %rdi
callq 0x392c
decl 0x78(%r12)
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x10809
leaq -0x28(%r13), %rdi
callq 0x1897e
pushq $0x3
popq %rdi
leaq 0x10e23(%rip), %rsi     # 0x2160f
leaq 0x10160(%rip), %rdx     # 0x20953
movl $0x100, %ecx            # imm = 0x100
leaq 0x10167(%rip), %r8      # 0x20966
movq %rax, %r9
xorl %eax, %eax
callq 0x1662e
movq -0x10(%r13), %rax
testq %rax, %rax
je 0x1082a
movq -0x8(%r13), %r9
movq %r12, %rdi
pushq $-0x1
popq %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq *%rax
andq $0x0, -0x10(%r13)
addq $-0x30, %r13
movq %r13, %rdi
callq 0x100db
jmp 0x10798
movq 0x38(%rsp), %r8
incq %r8
jmp 0x105ec
movq %rbp, %rdi
movq %r14, %rsi
callq 0x38ef
movq %rax, %rbx
xorl %eax, %eax
callq 0x165f5
movl (%rax), %eax
testq %rbx, %rbx
je 0x108ff
cmpl $0x7, %eax
jl 0x108ad
movq %r14, %rdi
callq 0x10aaa
movq %rax, %r13
leaq 0x40(%rsp), %rdi
callq 0x16d82
movq %rax, (%rsp)
pushq $0x7
popq %rdi
leaq 0x10d7f(%rip), %rsi     # 0x2160f
leaq 0x10d01(%rip), %rdx     # 0x21598
movl $0xdf, %ecx
leaq 0x10d4b(%rip), %r8      # 0x215ee
movq %r13, %r9
xorl %eax, %eax
callq 0x1662e
movq -0x10(%rbx), %rax
movq -0x8(%rbx), %rcx
movq %rax, (%rcx)
movq %rcx, 0x8(%rax)
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x392c
decl 0x78(%r12)
movq -0x20(%rbx), %rax
testq %rax, %rax
je 0x108ee
movq -0x18(%rbx), %r9
movq %r12, %rdi
xorl %esi, %esi
movq %r14, %rdx
xorl %ecx, %ecx
pushq $0x1
popq %r8
callq *%rax
andq $0x0, -0x20(%rbx)
addq $-0x40, %rbx
movq %rbx, %rdi
callq 0x100db
jmp 0x1078b
cmpl $0x7, %eax
jl 0x1077b
movq %r14, %rdi
callq 0x10aaa
movq %rax, %r13
leaq 0x40(%rsp), %rdi
callq 0x16d82
movq %rax, (%rsp)
pushq $0x7
popq %rdi
leaq 0x10ce4(%rip), %rsi     # 0x2160f
leaq 0x10c66(%rip), %rdx     # 0x21598
movl $0xd9, %ecx
leaq 0x10db1(%rip), %r8      # 0x216ef
movq %r13, %r9
xorl %eax, %eax
callq 0x1662e
jmp 0x1077b
xorl %eax, %eax
jmp 0x109e9
callq 0x16d2f
movl %eax, %ebp
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x109e6
movl %ebp, %edi
callq 0x3140
movq %rax, (%rsp)
leaq 0x10c96(%rip), %rsi     # 0x2160f
leaq 0x10d61(%rip), %rdx     # 0x216e1
leaq 0x137c7(%rip), %r8      # 0x2414e
pushq $0x3
popq %rdi
movl $0x129, %ecx            # imm = 0x129
jmp 0x109dc
movq 0x20(%rsp), %rax
addq %rbx, %rax
addq $0x88, %rax
movl (%rax), %edi
callq 0x16d2f
movl %eax, %ebp
xorl %eax, %eax
callq 0x165f5
cmpl $0x3, (%rax)
jl 0x109e6
movl %ebp, %edi
callq 0x3140
movq %rax, (%rsp)
leaq 0x10c49(%rip), %rsi     # 0x2160f
leaq 0x10d14(%rip), %rdx     # 0x216e1
leaq 0x10f4e(%rip), %r8      # 0x21922
pushq $0x3
popq %rdi
movl $0x134, %ecx            # imm = 0x134
movl %ebp, %r9d
xorl %eax, %eax
callq 0x1662e
pushq $-0x1
popq %rax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq