// File: /workspace/github_c_makefile_star2_O3/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, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
cmpl $0x0, 0x500(%rdi)
jle 0x112fe
movq %rdi, %r15
leaq 0x80(%rdi), %rax
movq %rax, 0x28(%rsp)
leaq 0x50c(%rdi), %rax
movq %rax, 0x20(%rsp)
leaq 0x68(%rdi), %r13
leaq 0x58(%rdi), %r14
xorl %ebp, %ebp
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, 0x1c(%rsp)
leaq (,%rbp,8), %rbx
addq %rbp, %rbx
shlq $0x4, %rbx
movq 0x28(%rsp), %rax
movl 0x88(%rax,%rbx), %edi
leal 0x3f(%rdi), %edx
testl %edi, %edi
cmovnsl %edi, %edx
movl %edx, %eax
sarl $0x6, %eax
cltq
movq 0x38(%rsp), %rcx
movq (%rcx,%rax,8), %rsi
andl $-0x40, %edx
movl %edi, %ecx
subl %edx, %ecx
movl $0x1, %edx
shlq %cl, %rdx
btq %rcx, %rsi
jb 0x11305
movq 0x30(%rsp), %rcx
testq %rdx, (%rcx,%rax,8)
je 0x111d0
movq 0x20(%rsp), %rsi
movl $0x400, %edx            # imm = 0x400
leaq 0x40(%rsp), %rcx
leaq 0x1c(%rsp), %r8
callq 0x19042
testl %eax, %eax
js 0x11348
movl %eax, %r12d
movl $0x20, %edi
callq 0x34b0
testq %rax, %rax
je 0x11032
movq %rax, %rbx
movq %rax, %rdi
callq 0x19496
testl %eax, %eax
je 0x1106d
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x111c8
movl $0x3, %edi
leaq 0x125fc(%rip), %rsi     # 0x2360f
leaq 0x1257e(%rip), %rdx     # 0x23598
movl $0xcb, %ecx
leaq 0x11586(%rip), %r8      # 0x225ac
xorl %eax, %eax
callq 0x1771e
jmp 0x111c8
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x111d0
movl $0x3, %edi
leaq 0x125c1(%rip), %rsi     # 0x2360f
leaq 0x12543(%rip), %rdx     # 0x23598
movl $0xc6, %ecx
leaq 0x12852(%rip), %r8      # 0x238b3
xorl %eax, %eax
callq 0x1771e
jmp 0x111d0
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
movl %r12d, %edx
callq 0x1a0ca
testl %eax, %eax
je 0x110c0
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x110b3
movl $0x3, %edi
leaq 0x12576(%rip), %rsi     # 0x2360f
leaq 0x124f8(%rip), %rdx     # 0x23598
movl $0xd1, %ecx
leaq 0x11ee5(%rip), %r8      # 0x22f91
xorl %eax, %eax
callq 0x1771e
movq %rbx, %rdi
callq 0x19ae0
jmp 0x111c8
movq %r13, %rdi
movq %rbx, %rsi
callq 0x39f8
movq %rax, %r12
xorl %eax, %eax
callq 0x176e5
movl (%rax), %eax
testq %r12, %r12
je 0x11104
cmpl $0x7, %eax
jl 0x1116d
cmpw $0x0, 0x4(%rbx)
movq %r12, 0x10(%rsp)
je 0x1112e
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1112e
callq 0x19ba4
movq %rax, %r12
jmp 0x11131
cmpl $0x7, %eax
jl 0x110b3
cmpw $0x0, 0x4(%rbx)
je 0x112bf
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x112bf
callq 0x19ba4
movq %rax, %r12
jmp 0x112c2
xorl %r12d, %r12d
leaq 0x40(%rsp), %rdi
callq 0x17e75
movq %rax, (%rsp)
movl $0x7, %edi
leaq 0x124c4(%rip), %rsi     # 0x2360f
leaq 0x12446(%rip), %rdx     # 0x23598
movl $0xdf, %ecx
leaq 0x12490(%rip), %r8      # 0x235ee
movq %r12, %r9
xorl %eax, %eax
callq 0x1771e
movq 0x10(%rsp), %r12
movq -0x10(%r12), %rax
movq -0x8(%r12), %rcx
movq %rax, (%rcx)
movq %rcx, 0x8(%rax)
movq %r13, %rdi
movq %r12, %rsi
callq 0x3a34
decl 0x78(%r15)
movq -0x20(%r12), %rax
testq %rax, %rax
je 0x111b7
movq -0x18(%r12), %r9
movq %r15, %rdi
xorl %esi, %esi
movq %rbx, %rdx
xorl %ecx, %ecx
movl $0x1, %r8d
callq *%rax
movq $0x0, -0x20(%r12)
movq %r12, %rbx
addq $-0x40, %rbx
movq -0x38(%r12), %rdi
callq 0x3450
movq %rbx, %rdi
callq 0x3450
movq %rbp, 0x10(%rsp)
xorl %edi, %edi
callq 0x3310
movq (%r14), %r12
cmpq %r14, %r12
je 0x112a5
movq %rax, %rbx
movq (%r12), %rbp
cmpq %rbx, -0x18(%r12)
jg 0x11299
movq 0x8(%r12), %rax
movq %rbp, (%rax)
movq (%r12), %rcx
movq %rax, 0x8(%rcx)
leaq 0x10(%r12), %rsi
movq %r13, %rdi
callq 0x3a34
decl 0x78(%r15)
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x1125a
leaq -0x28(%r12), %rdi
callq 0x19ba4
movl $0x3, %edi
leaq 0x123d2(%rip), %rsi     # 0x2360f
leaq 0x1170f(%rip), %rdx     # 0x22953
movl $0x100, %ecx            # imm = 0x100
leaq 0x11716(%rip), %r8      # 0x22966
movq %rax, %r9
xorl %eax, %eax
callq 0x1771e
movq -0x10(%r12), %rax
testq %rax, %rax
je 0x11283
movq -0x8(%r12), %r9
movq %r15, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq *%rax
movq $0x0, -0x10(%r12)
movq -0x28(%r12), %rdi
addq $-0x30, %r12
callq 0x3450
movq %r12, %rdi
callq 0x3450
movq %rbp, %r12
cmpq %r14, %rbp
jne 0x111eb
movq 0x10(%rsp), %rbp
incq %rbp
movslq 0x500(%r15), %rax
cmpq %rax, %rbp
jl 0x10f1b
jmp 0x112fe
xorl %r12d, %r12d
leaq 0x40(%rsp), %rdi
callq 0x17e75
movq %rax, (%rsp)
movl $0x7, %edi
leaq 0x12333(%rip), %rsi     # 0x2360f
leaq 0x122b5(%rip), %rdx     # 0x23598
movl $0xd9, %ecx
leaq 0x12400(%rip), %r8      # 0x236ef
movq %r12, %r9
xorl %eax, %eax
callq 0x1771e
jmp 0x110b3
xorl %eax, %eax
jmp 0x113a4
callq 0x17e19
movl %eax, %ebx
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x1139f
movl %ebx, %edi
callq 0x3140
movq %rax, (%rsp)
leaq 0x122e1(%rip), %rsi     # 0x2360f
leaq 0x123ac(%rip), %rdx     # 0x236e1
leaq 0x14e24(%rip), %r8      # 0x26160
movl $0x3, %edi
movl $0x129, %ecx            # imm = 0x129
jmp 0x11395
movq 0x28(%rsp), %rax
addq %rbx, %rax
addq $0x88, %rax
movl (%rax), %edi
callq 0x17e19
movl %eax, %ebx
xorl %eax, %eax
callq 0x176e5
cmpl $0x3, (%rax)
jl 0x1139f
movl %ebx, %edi
callq 0x3140
movq %rax, (%rsp)
leaq 0x12292(%rip), %rsi     # 0x2360f
leaq 0x1235d(%rip), %rdx     # 0x236e1
leaq 0x12597(%rip), %r8      # 0x23922
movl $0x3, %edi
movl $0x134, %ecx            # imm = 0x134
movl %ebx, %r9d
xorl %eax, %eax
callq 0x1771e
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq