	.file	"606230.c"
	.intel_syntax noprefix
	.text
	.type	netconn_apimsg, @function
netconn_apimsg:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR 8[rax], -6
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, 24[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	tcpip_send_msg_wait_sem@PLT
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR 8[rax]
	jmp	.L3
.L2:
	movzx	eax, BYTE PTR -1[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	netconn_apimsg, .-netconn_apimsg
	.globl	netconn_new_with_proto_and_callback
	.type	netconn_new_with_proto_and_callback, @function
netconn_new_with_proto_and_callback:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	eax, esi
	mov	QWORD PTR -80[rbp], rdx
	mov	BYTE PTR -72[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	netconn_alloc@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L5
	movzx	eax, BYTE PTR -72[rbp]
	mov	BYTE PTR -32[rbp], al
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_newconn@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -57[rbp], al
	cmp	BYTE PTR -57[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 24
	mov	rdi, rax
	call	sys_sem_free@PLT
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 32
	mov	rdi, rax
	call	sys_mbox_free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	edi, 6
	call	memp_free@PLT
	mov	eax, 0
	jmp	.L7
.L5:
	mov	rax, QWORD PTR -56[rbp]
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	netconn_new_with_proto_and_callback, .-netconn_new_with_proto_and_callback
	.globl	netconn_delete
	.type	netconn_delete, @function
netconn_delete:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L10
	mov	eax, 0
	jmp	.L13
.L10:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	call	sys_now@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_delconn@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	cmp	BYTE PTR -49[rbp], 0
	je	.L12
	movzx	eax, BYTE PTR -49[rbp]
	jmp	.L13
.L12:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	netconn_free@PLT
	mov	eax, 0
.L13:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	netconn_delete, .-netconn_delete
	.section	.rodata
.LC0:
	.string	"netconn_getaddr: invalid conn"
.LC1:
	.string	"netconn_getaddr: invalid addr"
.LC2:
	.string	"netconn_getaddr: invalid port"
	.text
	.globl	netconn_getaddr
	.type	netconn_getaddr, @function
netconn_getaddr:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	eax, ecx
	mov	BYTE PTR -92[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L16
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L20
.L16:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L18
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L20
.L18:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L19
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	movzx	eax, BYTE PTR -92[rbp]
	mov	BYTE PTR -16[rbp], al
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_getaddr@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L20:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	netconn_getaddr, .-netconn_getaddr
	.section	.rodata
.LC3:
	.string	"netconn_bind: invalid conn"
	.text
	.globl	netconn_bind
	.type	netconn_bind, @function
netconn_bind:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	eax, edx
	mov	WORD PTR -84[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L23
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L26
.L23:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L25
	lea	rax, ip_addr_any[rip]
	mov	QWORD PTR -80[rbp], rax
.L25:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	movzx	eax, WORD PTR -84[rbp]
	mov	WORD PTR -24[rbp], ax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_bind@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	netconn_bind, .-netconn_bind
	.section	.rodata
.LC4:
	.string	"netconn_connect: invalid conn"
	.text
	.globl	netconn_connect
	.type	netconn_connect, @function
netconn_connect:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	eax, edx
	mov	WORD PTR -84[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L29
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L32
.L29:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L31
	lea	rax, ip_addr_any[rip]
	mov	QWORD PTR -80[rbp], rax
.L31:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	movzx	eax, WORD PTR -84[rbp]
	mov	WORD PTR -24[rbp], ax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_connect@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L32:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	netconn_connect, .-netconn_connect
	.section	.rodata
	.align 8
.LC5:
	.string	"netconn_disconnect: invalid conn"
	.text
	.globl	netconn_disconnect
	.type	netconn_disconnect, @function
netconn_disconnect:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L35
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L37
.L35:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_disconnect@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L37:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	netconn_disconnect, .-netconn_disconnect
	.section	.rodata
.LC6:
	.string	"netconn_listen: invalid conn"
	.text
	.globl	netconn_listen_with_backlog
	.type	netconn_listen_with_backlog, @function
netconn_listen_with_backlog:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -76[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L40
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L42
.L40:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	movzx	eax, BYTE PTR -76[rbp]
	mov	BYTE PTR -32[rbp], al
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_listen@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L42:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	netconn_listen_with_backlog, .-netconn_listen_with_backlog
	.section	.rodata
	.align 8
.LC7:
	.string	"netconn_accept: invalid pointer"
.LC8:
	.string	"netconn_accept: invalid conn"
	.text
	.globl	netconn_accept
	.type	netconn_accept, @function
netconn_accept:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -96[rbp], 0
	jne	.L45
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L56
.L45:
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], 0
	cmp	QWORD PTR -88[rbp], 0
	jne	.L47
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L56
.L47:
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR 16[rax]
	mov	BYTE PTR -73[rbp], al
	cmp	BYTE PTR -73[rbp], -12
	jge	.L48
	movzx	eax, BYTE PTR -73[rbp]
	jmp	.L56
.L48:
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 40
	mov	rdi, rax
	call	aos_queue_is_valid@PLT
	test	eax, eax
	jne	.L49
	mov	eax, -15
	jmp	.L56
.L49:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 64[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	lea	rcx, 40[rax]
	lea	rax, -72[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	sys_arch_mbox_fetch@PLT
	mov	edx, 4294967295
	cmp	rax, rdx
	jne	.L50
	mov	eax, -3
	jmp	.L56
.L50:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	je	.L51
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	rcx
.L51:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, netconn_aborted[rip]
	cmp	rax, rdx
	jne	.L52
	mov	eax, -13
	jmp	.L56
.L52:
	cmp	QWORD PTR -64[rbp], 0
	jne	.L53
	cmp	QWORD PTR -88[rbp], 0
	je	.L54
	call	sys_arch_protect@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR 16[rax]
	cmp	al, -12
	jl	.L55
	mov	rax, QWORD PTR -88[rbp]
	mov	BYTE PTR 16[rax], -15
.L55:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	sys_arch_unprotect@PLT
.L54:
	mov	eax, -15
	jmp	.L56
.L53:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_accepted@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L56:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	netconn_accept, .-netconn_accept
	.section	.rodata
.LC9:
	.string	"netconn_recv: invalid pointer"
.LC10:
	.string	"netconn_recv: invalid conn"
	.align 8
.LC11:
	.string	"netconn_recv: invalid recvmbox"
	.text
	.type	netconn_recv_data, @function
netconn_recv_data:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -56[rbp], 0
	cmp	QWORD PTR -80[rbp], 0
	jne	.L59
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L78
.L59:
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], 0
	cmp	QWORD PTR -72[rbp], 0
	jne	.L61
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L78
.L61:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 240
	cmp	eax, 16
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 32
	mov	rdi, rax
	call	aos_queue_is_valid@PLT
	test	eax, eax
	jne	.L62
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 40
	mov	rdi, rax
	call	aos_queue_is_valid@PLT
	test	eax, eax
	je	.L63
	mov	eax, -11
	jmp	.L78
.L63:
	mov	eax, -15
	jmp	.L78
.L62:
	mov	rax, QWORD PTR -72[rbp]
	add	rax, 32
	mov	rdi, rax
	call	aos_queue_is_valid@PLT
	test	eax, eax
	jne	.L65
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -11
	jmp	.L78
.L65:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 16[rax]
	mov	BYTE PTR -59[rbp], al
	cmp	BYTE PTR -59[rbp], -12
	jge	.L66
	movzx	eax, BYTE PTR -59[rbp]
	jmp	.L78
.L66:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 64[rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, 32[rax]
	lea	rax, -56[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	sys_arch_mbox_fetch@PLT
	mov	edx, 4294967295
	cmp	rax, rdx
	jne	.L67
	mov	eax, -3
	jmp	.L78
.L67:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 240
	cmp	eax, 16
	jne	.L68
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	je	.L69
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 16[rax]
	movzx	eax, ax
	mov	QWORD PTR -32[rbp], rax
	jmp	.L70
.L69:
	mov	QWORD PTR -32[rbp], 1
.L70:
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_recv@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	jne	.L71
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	je	.L72
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	rcx
.L72:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L73
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 16[rax]
	test	al, al
	je	.L74
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 16[rax]
	jmp	.L78
.L74:
	mov	eax, -14
	jmp	.L78
.L73:
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	netconn_close_shutdown
	mov	eax, -15
	jmp	.L78
.L71:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 16[rax]
	mov	WORD PTR -58[rbp], ax
	jmp	.L76
.L68:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 16[rax]
	mov	WORD PTR -58[rbp], ax
.L76:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	je	.L77
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR 88[rax]
	movzx	edx, WORD PTR -58[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	rcx
.L77:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L78:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L79
	call	__stack_chk_fail@PLT
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	netconn_recv_data, .-netconn_recv_data
	.globl	netconn_recv_tcp_pbuf
	.type	netconn_recv_tcp_pbuf, @function
netconn_recv_tcp_pbuf:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	je	.L81
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 240
	cmp	eax, 16
	je	.L82
.L81:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L83
.L82:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	netconn_recv_data
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	netconn_recv_tcp_pbuf, .-netconn_recv_tcp_pbuf
	.globl	netconn_recv
	.type	netconn_recv, @function
netconn_recv:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	cmp	QWORD PTR -48[rbp], 0
	jne	.L85
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L86
.L85:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], 0
	cmp	QWORD PTR -40[rbp], 0
	jne	.L87
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L86
.L87:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 240
	cmp	eax, 16
	jne	.L88
	mov	QWORD PTR -24[rbp], 0
	mov	edi, 5
	call	memp_malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L89
	mov	eax, -1
	jmp	.L86
.L89:
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	netconn_recv_data
	mov	BYTE PTR -25[rbp], al
	cmp	BYTE PTR -25[rbp], 0
	je	.L91
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 5
	call	memp_free@PLT
	movzx	eax, BYTE PTR -25[rbp]
	jmp	.L86
.L91:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	WORD PTR 24[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
	jmp	.L86
.L88:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	netconn_recv_data
.L86:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	netconn_recv, .-netconn_recv
	.globl	netconn_sendto
	.type	netconn_sendto, @function
netconn_sendto:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	eax, ecx
	mov	WORD PTR -28[rbp], ax
	cmp	QWORD PTR -16[rbp], 0
	je	.L94
	cmp	QWORD PTR -24[rbp], 0
	je	.L95
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L96
.L95:
	mov	eax, 0
.L96:
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, WORD PTR -28[rbp]
	mov	WORD PTR 24[rax], dx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	netconn_send
	jmp	.L97
.L94:
	mov	eax, -6
.L97:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	netconn_sendto, .-netconn_sendto
	.section	.rodata
.LC12:
	.string	"netconn_send: invalid conn"
	.text
	.globl	netconn_send
	.type	netconn_send, @function
netconn_send:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L99
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L101
.L99:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_send@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L101:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	netconn_send, .-netconn_send
	.section	.rodata
.LC13:
	.string	"netconn_write: invalid conn"
	.align 8
.LC14:
	.string	"netconn_write: invalid conn->type"
	.text
	.globl	netconn_write_partly
	.type	netconn_write_partly, @function
netconn_write_partly:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	eax, ecx
	mov	QWORD PTR -96[rbp], r8
	mov	BYTE PTR -88[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L104
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L117
.L104:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 240
	cmp	eax, 16
	je	.L106
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -6
	jmp	.L117
.L106:
	cmp	DWORD PTR -84[rbp], 0
	jne	.L107
	mov	eax, 0
	jmp	.L117
.L107:
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, BYTE PTR 68[rax]
	movzx	eax, al
	and	eax, 2
	test	eax, eax
	jne	.L108
	movzx	eax, BYTE PTR -88[rbp]
	and	eax, 4
	test	eax, eax
	je	.L109
.L108:
	mov	eax, 1
	jmp	.L110
.L109:
	mov	eax, 0
.L110:
	mov	BYTE PTR -50[rbp], al
	cmp	BYTE PTR -50[rbp], 0
	je	.L111
	cmp	QWORD PTR -96[rbp], 0
	jne	.L111
	mov	eax, -6
	jmp	.L117
.L111:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	movzx	eax, BYTE PTR -88[rbp]
	mov	BYTE PTR -20[rbp], al
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L112
	call	sys_now@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L113
.L112:
	mov	QWORD PTR -16[rbp], 0
.L113:
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_write@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	cmp	BYTE PTR -49[rbp], 0
	jne	.L114
	cmp	QWORD PTR -96[rbp], 0
	je	.L114
	cmp	BYTE PTR -50[rbp], 0
	jne	.L115
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L116
.L115:
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L114
.L116:
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -84[rbp]
	mov	DWORD PTR [rax], edx
.L114:
	movzx	eax, BYTE PTR -49[rbp]
.L117:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	netconn_write_partly, .-netconn_write_partly
	.section	.rodata
.LC15:
	.string	"netconn_close: invalid conn"
	.text
	.type	netconn_close_shutdown, @function
netconn_close_shutdown:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -76[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L120
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L122
.L120:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	movzx	eax, BYTE PTR -76[rbp]
	mov	BYTE PTR -32[rbp], al
	call	sys_now@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_close@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L122:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	netconn_close_shutdown, .-netconn_close_shutdown
	.globl	netconn_close
	.type	netconn_close, @function
netconn_close:
.LFB39:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	netconn_close_shutdown
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	netconn_close, .-netconn_close
	.globl	netconn_shutdown
	.type	netconn_shutdown, @function
netconn_shutdown:
.LFB40:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	ecx, esi
	mov	eax, edx
	mov	edx, ecx
	mov	BYTE PTR -12[rbp], dl
	mov	BYTE PTR -16[rbp], al
	cmp	BYTE PTR -12[rbp], 0
	setne	al
	mov	edx, eax
	cmp	BYTE PTR -16[rbp], 0
	je	.L127
	mov	eax, 2
	jmp	.L128
.L127:
	mov	eax, 0
.L128:
	or	eax, edx
	movzx	edx, al
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	netconn_close_shutdown
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	netconn_shutdown, .-netconn_shutdown
	.section	.rodata
	.align 8
.LC16:
	.string	"netconn_join_leave_group: invalid conn"
	.text
	.globl	netconn_join_leave_group
	.type	netconn_join_leave_group, @function
netconn_join_leave_group:
.LFB41:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	DWORD PTR -92[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L131
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L135
.L131:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L133
	lea	rax, ip_addr_any[rip]
	mov	QWORD PTR -80[rbp], rax
.L133:
	cmp	QWORD PTR -88[rbp], 0
	jne	.L134
	lea	rax, ip_addr_any[rip]
	mov	QWORD PTR -88[rbp], rax
.L134:
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -16[rbp], eax
	lea	rax, -48[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_join_leave_group@GOTPCREL[rip]
	mov	rdi, rax
	call	netconn_apimsg
	mov	BYTE PTR -49[rbp], al
	movzx	eax, BYTE PTR -49[rbp]
.L135:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L136
	call	__stack_chk_fail@PLT
.L136:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE41:
	.size	netconn_join_leave_group, .-netconn_join_leave_group
	.section	.rodata
	.align 8
.LC17:
	.string	"netconn_gethostbyname: invalid name"
	.align 8
.LC18:
	.string	"netconn_gethostbyname: invalid addr"
	.text
	.globl	netconn_gethostbyname
	.type	netconn_gethostbyname, @function
netconn_gethostbyname:
.LFB42:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L138
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L143
.L138:
	cmp	QWORD PTR -80[rbp], 0
	jne	.L140
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	bk_printf@PLT
	mov	eax, -16
	jmp	.L143
.L140:
	lea	rax, -57[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -56[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sys_sem_new@PLT
	mov	BYTE PTR -57[rbp], al
	movzx	eax, BYTE PTR -57[rbp]
	test	al, al
	je	.L141
	movzx	eax, BYTE PTR -57[rbp]
	jmp	.L143
.L141:
	lea	rax, -48[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	rax, QWORD PTR lwip_netconn_do_gethostbyname@GOTPCREL[rip]
	mov	rdi, rax
	call	tcpip_callback_with_block@PLT
	mov	BYTE PTR -57[rbp], al
	movzx	eax, BYTE PTR -57[rbp]
	test	al, al
	je	.L142
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	sys_sem_free@PLT
	movzx	eax, BYTE PTR -57[rbp]
	jmp	.L143
.L142:
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	sys_arch_sem_wait@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	sys_sem_free@PLT
	movzx	eax, BYTE PTR -57[rbp]
.L143:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L144
	call	__stack_chk_fail@PLT
.L144:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE42:
	.size	netconn_gethostbyname, .-netconn_gethostbyname
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"606230.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_apimsg, %function
netconn_apimsg:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	mvn	r2, #5
	strb	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	add	r3, r3, #16
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	tcpip_send_msg_wait_sem
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrsb	r3, [fp, #-5]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-20]
	ldrsb	r3, [r3, #4]
	b	.L3
.L2:
	ldrsb	r3, [fp, #-5]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	netconn_apimsg, .-netconn_apimsg
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_new_with_proto_and_callback
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_new_with_proto_and_callback, %function
netconn_new_with_proto_and_callback:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	mov	r3, r1
	str	r2, [fp, #-56]
	strb	r3, [fp, #-49]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-48]
	bl	netconn_alloc
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L5
	ldrb	r3, [fp, #-49]
	strb	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L9+4
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-37]
	ldrsb	r3, [fp, #-37]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-36]
	add	r3, r3, #16
	mov	r0, r3
	bl	sys_sem_free
	ldr	r3, [fp, #-36]
	add	r3, r3, #20
	mov	r0, r3
	bl	sys_mbox_free
	ldr	r1, [fp, #-36]
	mov	r0, #6
	bl	memp_free
	mov	r3, #0
	b	.L7
.L5:
	ldr	r3, [fp, #-36]
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	lwip_netconn_do_newconn
	.size	netconn_new_with_proto_and_callback, .-netconn_new_with_proto_and_callback
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_delete, %function
netconn_delete:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	b	.L15
.L12:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	bl	sys_now
	mov	r3, r0
	str	r3, [fp, #-20]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L17+4
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
	cmp	r3, #0
	beq	.L14
	ldrsb	r3, [fp, #-33]
	b	.L15
.L14:
	ldr	r0, [fp, #-40]
	bl	netconn_free
	mov	r3, #0
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	lwip_netconn_do_delconn
	.size	netconn_delete, .-netconn_delete
	.section	.rodata
	.align	2
.LC2:
	.ascii	"netconn_getaddr: invalid conn\000"
	.align	2
.LC3:
	.ascii	"netconn_getaddr: invalid addr\000"
	.align	2
.LC4:
	.ascii	"netconn_getaddr: invalid port\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_getaddr
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_getaddr, %function
netconn_getaddr:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	strb	r3, [fp, #-49]
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L26+4
	bl	bk_printf
	mvn	r3, #15
	b	.L24
.L20:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L26+8
	bl	bk_printf
	mvn	r3, #15
	b	.L24
.L22:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L23
	ldr	r0, .L26+12
	bl	bk_printf
	mvn	r3, #15
	b	.L24
.L23:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldrb	r3, [fp, #-49]
	strb	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-20]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L26+16
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L24:
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	lwip_netconn_do_getaddr
	.size	netconn_getaddr, .-netconn_getaddr
	.section	.rodata
	.align	2
.LC6:
	.ascii	"netconn_bind: invalid conn\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_bind
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_bind, %function
netconn_bind:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, r2
	strh	r3, [fp, #-46]	@ movhi
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L29
	ldr	r0, .L34+4
	bl	bk_printf
	mvn	r3, #15
	b	.L32
.L29:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L34+8
	str	r3, [fp, #-44]
.L31:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldrh	r3, [fp, #-46]	@ movhi
	strh	r3, [fp, #-20]	@ movhi
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L34+12
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L32:
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC7
	.word	.LC6
	.word	ip_addr_any
	.word	lwip_netconn_do_bind
	.size	netconn_bind, .-netconn_bind
	.section	.rodata
	.align	2
.LC8:
	.ascii	"netconn_connect: invalid conn\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_connect
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_connect, %function
netconn_connect:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, r2
	strh	r3, [fp, #-46]	@ movhi
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L37
	ldr	r0, .L42+4
	bl	bk_printf
	mvn	r3, #15
	b	.L40
.L37:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L42+8
	str	r3, [fp, #-44]
.L39:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldrh	r3, [fp, #-46]	@ movhi
	strh	r3, [fp, #-20]	@ movhi
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L42+12
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L40:
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC9
	.word	.LC8
	.word	ip_addr_any
	.word	lwip_netconn_do_connect
	.size	netconn_connect, .-netconn_connect
	.section	.rodata
	.align	2
.LC10:
	.ascii	"netconn_disconnect: invalid conn\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_disconnect
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_disconnect, %function
netconn_disconnect:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L45
	ldr	r0, .L49+4
	bl	bk_printf
	mvn	r3, #15
	b	.L47
.L45:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L49+8
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L47:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC11
	.word	.LC10
	.word	lwip_netconn_do_disconnect
	.size	netconn_disconnect, .-netconn_disconnect
	.section	.rodata
	.align	2
.LC12:
	.ascii	"netconn_listen: invalid conn\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_listen_with_backlog
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_listen_with_backlog, %function
netconn_listen_with_backlog:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r3, r1
	strb	r3, [fp, #-41]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L52
	ldr	r0, .L56+4
	bl	bk_printf
	mvn	r3, #15
	b	.L54
.L52:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldrb	r3, [fp, #-41]
	strb	r3, [fp, #-24]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L56+8
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L54:
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC13
	.word	.LC12
	.word	lwip_netconn_do_listen
	.size	netconn_listen_with_backlog, .-netconn_listen_with_backlog
	.section	.rodata
	.align	2
.LC14:
	.ascii	"netconn_accept: invalid pointer\000"
	.align	2
.LC15:
	.ascii	"netconn_accept: invalid conn\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_accept
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_accept, %function
netconn_accept:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L72
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L59
	ldr	r0, .L72+4
	bl	bk_printf
	mvn	r3, #15
	b	.L70
.L59:
	ldr	r3, [fp, #-60]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L61
	ldr	r0, .L72+8
	bl	bk_printf
	mvn	r3, #15
	b	.L70
.L61:
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3, #12]
	strb	r3, [fp, #-45]
	ldrsb	r3, [fp, #-45]
	cmn	r3, #12
	bge	.L62
	ldrsb	r3, [fp, #-45]
	b	.L70
.L62:
	ldr	r3, [fp, #-56]
	add	r3, r3, #24
	mov	r0, r3
	bl	aos_queue_is_valid
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	mvn	r3, #14
	b	.L70
.L63:
	ldr	r3, [fp, #-56]
	add	r0, r3, #24
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #36]
	mov	r2, r3
	sub	r3, fp, #44
	mov	r1, r3
	bl	sys_arch_mbox_fetch
	mov	r3, r0
	cmn	r3, #1
	bne	.L64
	mvn	r3, #2
	b	.L70
.L64:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #52]
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-56]
	blx	r3
.L65:
	ldr	r3, [fp, #-44]
	ldr	r2, .L72+12
	cmp	r3, r2
	bne	.L66
	mvn	r3, #12
	b	.L70
.L66:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L68
	bl	sys_arch_protect
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-56]
	ldrsb	r3, [r3, #12]
	cmn	r3, #12
	blt	.L69
	ldr	r3, [fp, #-56]
	mvn	r2, #14
	strb	r2, [r3, #12]
.L69:
	ldr	r0, [fp, #-36]
	bl	sys_arch_unprotect
.L68:
	mvn	r3, #14
	b	.L70
.L67:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L72+16
	bl	netconn_apimsg
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-40]
	str	r2, [r3]
	mov	r3, #0
.L70:
	ldr	r2, .L72
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L71
	bl	__stack_chk_fail
.L71:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.word	netconn_aborted
	.word	lwip_netconn_do_accepted
	.size	netconn_accept, .-netconn_accept
	.section	.rodata
	.align	2
.LC17:
	.ascii	"netconn_recv: invalid pointer\000"
	.align	2
.LC18:
	.ascii	"netconn_recv: invalid conn\000"
	.align	2
.LC19:
	.ascii	"netconn_recv: invalid recvmbox\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_recv_data, %function
netconn_recv_data:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L96+4
	bl	bk_printf
	mvn	r3, #15
	b	.L94
.L75:
	ldr	r3, [fp, #-52]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L77
	ldr	r0, .L96+8
	bl	bk_printf
	mvn	r3, #15
	b	.L94
.L77:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	and	r3, r3, #240
	cmp	r3, #16
	bne	.L78
	ldr	r3, [fp, #-48]
	add	r3, r3, #20
	mov	r0, r3
	bl	aos_queue_is_valid
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
	ldr	r3, [fp, #-48]
	add	r3, r3, #24
	mov	r0, r3
	bl	aos_queue_is_valid
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
	mvn	r3, #10
	b	.L94
.L79:
	mvn	r3, #14
	b	.L94
.L78:
	ldr	r3, [fp, #-48]
	add	r3, r3, #20
	mov	r0, r3
	bl	aos_queue_is_valid
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	ldr	r0, .L96+12
	bl	bk_printf
	mvn	r3, #10
	b	.L94
.L81:
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3, #12]
	strb	r3, [fp, #-39]
	ldrsb	r3, [fp, #-39]
	cmn	r3, #12
	bge	.L82
	ldrsb	r3, [fp, #-39]
	b	.L94
.L82:
	ldr	r3, [fp, #-48]
	add	r0, r3, #20
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #36]
	mov	r2, r3
	sub	r3, fp, #36
	mov	r1, r3
	bl	sys_arch_mbox_fetch
	mov	r3, r0
	cmn	r3, #1
	bne	.L83
	mvn	r3, #2
	b	.L94
.L83:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	and	r3, r3, #240
	cmp	r3, #16
	bne	.L84
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-36]
	ldrh	r3, [r3, #8]
	str	r3, [fp, #-24]
	b	.L86
.L85:
	mov	r3, #1
	str	r3, [fp, #-24]
.L86:
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L96+16
	bl	netconn_apimsg
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L88
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #52]
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-48]
	blx	r3
.L88:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L89
	ldr	r3, [fp, #-48]
	ldrsb	r3, [r3, #12]
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-48]
	ldrsb	r3, [r3, #12]
	b	.L94
.L90:
	mvn	r3, #13
	b	.L94
.L89:
	mov	r1, #1
	ldr	r0, [fp, #-48]
	bl	netconn_close_shutdown
	mvn	r3, #14
	b	.L94
.L87:
	ldr	r3, [fp, #-36]
	ldrh	r3, [r3, #8]	@ movhi
	strh	r3, [fp, #-38]	@ movhi
	b	.L92
.L84:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldrh	r3, [r3, #8]	@ movhi
	strh	r3, [fp, #-38]	@ movhi
.L92:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #52]
	cmp	r3, #0
	beq	.L93
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #52]
	ldrh	r2, [fp, #-38]
	mov	r1, #1
	ldr	r0, [fp, #-48]
	blx	r3
.L93:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	str	r2, [r3]
	mov	r3, #0
.L94:
	ldr	r2, .L96
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L95
	bl	__stack_chk_fail
.L95:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC20
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	lwip_netconn_do_recv
	.size	netconn_recv_data, .-netconn_recv_data
	.align	2
	.global	netconn_recv_tcp_pbuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_recv_tcp_pbuf, %function
netconn_recv_tcp_pbuf:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	and	r3, r3, #240
	cmp	r3, #16
	beq	.L100
.L99:
	ldr	r0, .L102
	bl	bk_printf
	mvn	r3, #15
	b	.L101
.L100:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	netconn_recv_data
	mov	r3, r0
.L101:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L103:
	.align	2
.L102:
	.word	.LC18
	.size	netconn_recv_tcp_pbuf, .-netconn_recv_tcp_pbuf
	.section	.rodata
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_recv
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_recv, %function
netconn_recv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L113
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L105
	ldr	r0, .L113+4
	bl	bk_printf
	mvn	r3, #15
	b	.L106
.L105:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L107
	ldr	r0, .L113+8
	bl	bk_printf
	mvn	r3, #15
	b	.L106
.L107:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	and	r3, r3, #240
	cmp	r3, #16
	bne	.L108
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r0, #5
	bl	memp_malloc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L109
	mvn	r3, #0
	b	.L106
.L109:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	netconn_recv_data
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldrsb	r3, [fp, #-17]
	cmp	r3, #0
	beq	.L111
	ldr	r1, [fp, #-12]
	mov	r0, #5
	bl	memp_free
	ldrsb	r3, [fp, #-17]
	b	.L106
.L111:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	mov	r3, #0
	b	.L106
.L108:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	netconn_recv_data
	mov	r3, r0
.L106:
	ldr	r2, .L113
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L112
	bl	__stack_chk_fail
.L112:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	.LC21
	.word	.LC17
	.word	.LC18
	.size	netconn_recv, .-netconn_recv
	.align	2
	.global	netconn_sendto
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_sendto, %function
netconn_sendto:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	strh	r3, [fp, #-18]	@ movhi
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L116
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L117
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	b	.L118
.L117:
	mov	r3, #0
.L118:
	ldr	r2, [fp, #-12]
	str	r3, [r2, #8]
	ldr	r3, [fp, #-12]
	ldrh	r2, [fp, #-18]	@ movhi
	strh	r2, [r3, #12]	@ movhi
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	netconn_send
	mov	r3, r0
	b	.L119
.L116:
	mvn	r3, #5
.L119:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	netconn_sendto, .-netconn_sendto
	.section	.rodata
	.align	2
.LC22:
	.ascii	"netconn_send: invalid conn\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_send, %function
netconn_send:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L125
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L121
	ldr	r0, .L125+4
	bl	bk_printf
	mvn	r3, #15
	b	.L123
.L121:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L125+8
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L123:
	ldr	r2, .L125
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L124
	bl	__stack_chk_fail
.L124:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L126:
	.align	2
.L125:
	.word	.LC23
	.word	.LC22
	.word	lwip_netconn_do_send
	.size	netconn_send, .-netconn_send
	.section	.rodata
	.align	2
.LC24:
	.ascii	"netconn_write: invalid conn\000"
	.align	2
.LC25:
	.ascii	"netconn_write: invalid conn->type\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_write_partly
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_write_partly, %function
netconn_write_partly:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	strb	r3, [fp, #-49]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, .L143
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L128
	ldr	r0, .L143+4
	bl	bk_printf
	mvn	r3, #15
	b	.L141
.L128:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	and	r3, r3, #240
	cmp	r3, #16
	beq	.L130
	ldr	r0, .L143+8
	bl	bk_printf
	mvn	r3, #5
	b	.L141
.L130:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L131
	mov	r3, #0
	b	.L141
.L131:
	ldr	r3, [fp, #-40]
	ldrb	r3, [r3, #40]	@ zero_extendqisi2
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L132
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L133
.L132:
	mov	r3, #1
	b	.L134
.L133:
	mov	r3, #0
.L134:
	strb	r3, [fp, #-34]
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L135
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L135
	mvn	r3, #5
	b	.L141
.L135:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldrb	r3, [fp, #-49]
	strb	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L136
	bl	sys_now
	mov	r3, r0
	str	r3, [fp, #-12]
	b	.L137
.L136:
	mov	r3, #0
	str	r3, [fp, #-12]
.L137:
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L143+12
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
	cmp	r3, #0
	bne	.L138
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L138
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L139
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L140
.L139:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-56]
	str	r2, [r3]
	b	.L138
.L140:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-48]
	str	r2, [r3]
.L138:
	ldrsb	r3, [fp, #-33]
.L141:
	ldr	r2, .L143
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L142
	bl	__stack_chk_fail
.L142:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L144:
	.align	2
.L143:
	.word	.LC26
	.word	.LC24
	.word	.LC25
	.word	lwip_netconn_do_write
	.size	netconn_write_partly, .-netconn_write_partly
	.section	.rodata
	.align	2
.LC27:
	.ascii	"netconn_close: invalid conn\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_close_shutdown, %function
netconn_close_shutdown:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	mov	r3, r1
	strb	r3, [fp, #-41]
	ldr	r3, .L150
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L146
	ldr	r0, .L150+4
	bl	bk_printf
	mvn	r3, #15
	b	.L148
.L146:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldrb	r3, [fp, #-41]
	strb	r3, [fp, #-24]
	bl	sys_now
	mov	r3, r0
	str	r3, [fp, #-20]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L150+8
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L148:
	ldr	r2, .L150
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L149
	bl	__stack_chk_fail
.L149:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L151:
	.align	2
.L150:
	.word	.LC28
	.word	.LC27
	.word	lwip_netconn_do_close
	.size	netconn_close_shutdown, .-netconn_close_shutdown
	.align	2
	.global	netconn_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_close, %function
netconn_close:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r1, #3
	ldr	r0, [fp, #-8]
	bl	netconn_close_shutdown
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	netconn_close, .-netconn_close
	.align	2
	.global	netconn_shutdown
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_shutdown, %function
netconn_shutdown:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r3, r1
	strb	r3, [fp, #-9]
	mov	r3, r2
	strb	r3, [fp, #-10]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	ldrb	r2, [fp, #-10]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L155
	mov	r2, #2
	b	.L156
.L155:
	mov	r2, #0
.L156:
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	netconn_close_shutdown
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	netconn_shutdown, .-netconn_shutdown
	.section	.rodata
	.align	2
.LC29:
	.ascii	"netconn_join_leave_group: invalid conn\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_join_leave_group
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_join_leave_group, %function
netconn_join_leave_group:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L159
	ldr	r0, .L165+4
	bl	bk_printf
	mvn	r3, #15
	b	.L163
.L159:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L161
	ldr	r3, .L165+8
	str	r3, [fp, #-44]
.L161:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L162
	ldr	r3, .L165+8
	str	r3, [fp, #-48]
.L162:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-16]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L165+12
	bl	netconn_apimsg
	mov	r3, r0
	strb	r3, [fp, #-33]
	ldrsb	r3, [fp, #-33]
.L163:
	ldr	r2, .L165
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC30
	.word	.LC29
	.word	ip_addr_any
	.word	lwip_netconn_do_join_leave_group
	.size	netconn_join_leave_group, .-netconn_join_leave_group
	.section	.rodata
	.align	2
.LC31:
	.ascii	"netconn_gethostbyname: invalid name\000"
	.align	2
.LC32:
	.ascii	"netconn_gethostbyname: invalid addr\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	netconn_gethostbyname
	.syntax unified
	.arm
	.fpu softvfp
	.type	netconn_gethostbyname, %function
netconn_gethostbyname:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L175
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L168
	ldr	r0, .L175+4
	bl	bk_printf
	mvn	r3, #15
	b	.L173
.L168:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L170
	ldr	r0, .L175+8
	bl	bk_printf
	mvn	r3, #15
	b	.L173
.L170:
	sub	r3, fp, #29
	str	r3, [fp, #-12]
	sub	r3, fp, #28
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	sys_sem_new
	mov	r3, r0
	strb	r3, [fp, #-29]
	ldrsb	r3, [fp, #-29]
	cmp	r3, #0
	beq	.L171
	ldrsb	r3, [fp, #-29]
	b	.L173
.L171:
	sub	r3, fp, #24
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L175+12
	bl	tcpip_callback_with_block
	mov	r3, r0
	strb	r3, [fp, #-29]
	ldrsb	r3, [fp, #-29]
	cmp	r3, #0
	beq	.L172
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	sys_sem_free
	ldrsb	r3, [fp, #-29]
	b	.L173
.L172:
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	sys_arch_sem_wait
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	sys_sem_free
	ldrsb	r3, [fp, #-29]
.L173:
	ldr	r2, .L175
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L174
	bl	__stack_chk_fail
.L174:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L176:
	.align	2
.L175:
	.word	.LC33
	.word	.LC31
	.word	.LC32
	.word	lwip_netconn_do_gethostbyname
	.size	netconn_gethostbyname, .-netconn_gethostbyname
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
