	.file	"697116.c"
	.intel_syntax noprefix
	.text
	.type	net_would_block, @function
net_would_block:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	call	lwip_fcntl@PLT
	and	eax, 16384
	cmp	eax, 16384
	je	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	jne	.L4
	mov	eax, 1
	jmp	.L3
.L4:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	net_would_block, .-net_would_block
	.globl	mbedtls_net_init
	.type	mbedtls_net_init, @function
mbedtls_net_init:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	mbedtls_net_init, .-mbedtls_net_init
	.section	.rodata
	.align 8
.LC0:
	.string	"%s %d: getaddrinfo fail- errno: %d\n"
	.text
	.globl	mbedtls_net_connect
	.type	mbedtls_net_connect, @function
mbedtls_net_connect:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	DWORD PTR -124[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -64[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -60[rbp], 0
	cmp	DWORD PTR -124[rbp], 1
	jne	.L7
	mov	eax, 2
	jmp	.L8
.L7:
	mov	eax, 1
.L8:
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -124[rbp], 1
	jne	.L9
	mov	eax, 17
	jmp	.L10
.L9:
	mov	eax, 6
.L10:
	mov	DWORD PTR -52[rbp], eax
	lea	rcx, -80[rbp]
	lea	rdx, -64[rbp]
	mov	rsi, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	lwip_getaddrinfo@PLT
	test	eax, eax
	je	.L11
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	mov	edx, 234
	lea	rsi, __FUNCTION__.2[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -82
	jmp	.L20
.L11:
	mov	DWORD PTR -84[rbp], -82
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L13
.L19:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	lwip_socket@PLT
	mov	rdx, QWORD PTR -104[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jns	.L14
	mov	DWORD PTR -84[rbp], -66
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, rcx
	mov	edi, eax
	call	lwip_connect@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L23
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L24
	jmp	.L14
.L24:
	nop
	mov	rax, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	lwip_close@PLT
	mov	DWORD PTR -84[rbp], -68
.L15:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -72[rbp], rax
.L13:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L19
	jmp	.L17
.L23:
	nop
.L17:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	lwip_freeaddrinfo@PLT
	mov	eax, DWORD PTR -84[rbp]
.L20:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	mbedtls_net_connect, .-mbedtls_net_connect
	.globl	mbedtls_net_set_block
	.type	mbedtls_net_set_block, @function
mbedtls_net_set_block:
.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 -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	call	lwip_fcntl@PLT
	mov	DWORD PTR -4[rbp], eax
	and	DWORD PTR -4[rbp], -16385
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, 4
	mov	edi, eax
	call	lwip_fcntl@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	mbedtls_net_set_block, .-mbedtls_net_set_block
	.globl	mbedtls_net_set_nonblock
	.type	mbedtls_net_set_nonblock, @function
mbedtls_net_set_nonblock:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 0
	mov	esi, 3
	mov	edi, eax
	call	lwip_fcntl@PLT
	mov	DWORD PTR -4[rbp], eax
	or	DWORD PTR -4[rbp], 16384
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, 4
	mov	edi, eax
	call	lwip_fcntl@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	mbedtls_net_set_nonblock, .-mbedtls_net_set_nonblock
	.section	.rodata
.LC1:
	.string	"%s %d: invalid socket fd\n"
.LC2:
	.string	"%s %d: net reset - errno: %d\n"
	.align 8
.LC3:
	.string	"%s %d: net recv failed - errno: %d\n"
	.text
	.globl	mbedtls_net_recv
	.type	mbedtls_net_recv, @function
mbedtls_net_recv:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jns	.L30
	mov	edx, 297
	lea	rsi, __FUNCTION__.1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -69
	jmp	.L31
.L30:
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	lwip_read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	net_would_block
	test	eax, eax
	je	.L33
	mov	eax, -26880
	jmp	.L31
.L33:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 32
	je	.L34
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 104
	jne	.L35
.L34:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	mov	edx, 308
	lea	rsi, __FUNCTION__.1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -80
	jmp	.L31
.L35:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L36
	mov	eax, -26880
	jmp	.L31
.L36:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	mov	edx, 315
	lea	rsi, __FUNCTION__.1[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -76
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -4[rbp]
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	mbedtls_net_recv, .-mbedtls_net_recv
	.section	.rodata
	.align 8
.LC4:
	.string	"%s %d: net send failed - errno: %d\n"
	.text
	.globl	mbedtls_net_send
	.type	mbedtls_net_send, @function
mbedtls_net_send:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jns	.L38
	mov	eax, -69
	jmp	.L39
.L38:
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	lwip_write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	net_would_block
	test	eax, eax
	je	.L41
	mov	eax, -26752
	jmp	.L39
.L41:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 32
	je	.L42
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 104
	jne	.L43
.L42:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	mov	edx, 337
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -80
	jmp	.L39
.L43:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L44
	mov	eax, -26752
	jmp	.L39
.L44:
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	mov	ecx, eax
	mov	edx, 344
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -78
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -4[rbp]
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE38:
	.size	mbedtls_net_send, .-mbedtls_net_send
	.globl	mbedtls_net_recv_timeout
	.type	mbedtls_net_recv_timeout, @function
mbedtls_net_recv_timeout:
.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, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	QWORD PTR -96[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L46
	mov	eax, -69
	jmp	.L55
.L46:
	lea	rax, -16[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -52[rbp], 1
.L48:
	cmp	DWORD PTR -52[rbp], 7
	jbe	.L49
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	shr	rax, 6
	mov	rsi, QWORD PTR -16[rbp+rax*8]
	mov	edx, DWORD PTR -48[rbp]
	and	edx, 63
	mov	edi, 1
	mov	ecx, edx
	sal	rdi, cl
	mov	rdx, rdi
	or	rdx, rsi
	mov	QWORD PTR -16[rbp+rax*8], rdx
	mov	rax, QWORD PTR -96[rbp]
	shr	rax, 3
	movabs	rdx, 2361183241434822607
	mul	rdx
	mov	rax, rdx
	shr	rax, 4
	mov	QWORD PTR -32[rbp], rax
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, rcx
	shr	rax, 3
	movabs	rdx, 2361183241434822607
	mul	rdx
	mov	rax, rdx
	shr	rax, 4
	imul	rdx, rax, 1000
	mov	rax, rcx
	sub	rax, rdx
	imul	rax, rax, 1000
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -96[rbp], 0
	je	.L50
	lea	rdx, -32[rbp]
	jmp	.L51
.L50:
	mov	edx, 0
.L51:
	mov	eax, DWORD PTR -48[rbp]
	lea	edi, 1[rax]
	lea	rax, -16[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	lwip_select@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L52
	mov	eax, -26624
	jmp	.L55
.L52:
	cmp	DWORD PTR -44[rbp], 0
	jns	.L53
	call	__errno@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L54
	mov	eax, -26880
	jmp	.L55
.L54:
	mov	eax, -76
	jmp	.L55
.L53:
	mov	edx, DWORD PTR -84[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	mbedtls_net_recv
.L55:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L56
	call	__stack_chk_fail@PLT
.L56:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE39:
	.size	mbedtls_net_recv_timeout, .-mbedtls_net_recv_timeout
	.globl	mbedtls_net_free
	.type	mbedtls_net_free, @function
mbedtls_net_free:
.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	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L60
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, 2
	mov	edi, eax
	call	lwip_shutdown@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	lwip_close@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], -1
	jmp	.L57
.L60:
	nop
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE40:
	.size	mbedtls_net_free, .-mbedtls_net_free
	.section	.rodata
	.align 16
	.type	__FUNCTION__.2, @object
	.size	__FUNCTION__.2, 20
__FUNCTION__.2:
	.string	"mbedtls_net_connect"
	.align 16
	.type	__FUNCTION__.1, @object
	.size	__FUNCTION__.1, 17
__FUNCTION__.1:
	.string	"mbedtls_net_recv"
	.align 16
	.type	__FUNCTION__.0, @object
	.size	__FUNCTION__.0, 17
__FUNCTION__.0:
	.string	"mbedtls_net_send"
	.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	"697116.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_would_block, %function
net_would_block:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #3
	mov	r0, r3
	bl	lwip_fcntl
	mov	r3, r0
	and	r3, r3, #16384
	cmp	r3, #16384
	beq	.L2
	mov	r3, #0
	b	.L3
.L2:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	bne	.L4
	mov	r3, #1
	b	.L3
.L4:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	net_would_block, .-net_would_block
	.align	2
	.global	mbedtls_net_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_init, %function
mbedtls_net_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mbedtls_net_init, .-mbedtls_net_init
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s %d: getaddrinfo fail- errno: %d\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mbedtls_net_connect
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_connect, %function
mbedtls_net_connect:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L7
	mov	r3, #2
	b	.L8
.L7:
	mov	r3, #1
.L8:
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L9
	mov	r3, #17
	b	.L10
.L9:
	mov	r3, #6
.L10:
	str	r3, [fp, #-28]
	sub	r3, fp, #52
	sub	r2, fp, #40
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-60]
	bl	lwip_getaddrinfo
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #234
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	printf
	mvn	r3, #81
	b	.L20
.L11:
	mvn	r3, #81
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-44]
	b	.L13
.L19:
	ldr	r3, [fp, #-44]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-44]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	lwip_socket
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L14
	mvn	r3, #65
	str	r3, [fp, #-48]
	b	.L15
.L14:
	ldr	r3, [fp, #-56]
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #16]
	mov	r2, r3
	bl	lwip_connect
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L23
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L24
	b	.L14
.L24:
	nop
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r0, r3
	bl	lwip_close
	mvn	r3, #67
	str	r3, [fp, #-48]
.L15:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-44]
.L13:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L19
	b	.L17
.L23:
	nop
.L17:
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	lwip_freeaddrinfo
	ldr	r3, [fp, #-48]
.L20:
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	__FUNCTION__.8656
	.word	.LC0
	.size	mbedtls_net_connect, .-mbedtls_net_connect
	.align	2
	.global	mbedtls_net_set_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_set_block, %function
mbedtls_net_set_block:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #3
	mov	r0, r3
	bl	lwip_fcntl
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	bic	r3, r3, #16384
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, #4
	mov	r0, r3
	bl	lwip_fcntl
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mbedtls_net_set_block, .-mbedtls_net_set_block
	.align	2
	.global	mbedtls_net_set_nonblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_set_nonblock, %function
mbedtls_net_set_nonblock:
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #3
	mov	r0, r3
	bl	lwip_fcntl
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	orr	r3, r3, #16384
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, #4
	mov	r0, r3
	bl	lwip_fcntl
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mbedtls_net_set_nonblock, .-mbedtls_net_set_nonblock
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s %d: invalid socket fd\012\000"
	.align	2
.LC3:
	.ascii	"%s %d: net reset - errno: %d\012\000"
	.align	2
.LC4:
	.ascii	"%s %d: net recv failed - errno: %d\012\000"
	.text
	.align	2
	.global	mbedtls_net_recv
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_recv, %function
mbedtls_net_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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L32
	ldr	r2, .L39
	ldr	r1, .L39+4
	ldr	r0, .L39+8
	bl	printf
	mvn	r3, #68
	b	.L33
.L32:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	lwip_read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L34
	ldr	r0, [fp, #-16]
	bl	net_would_block
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L39+12
	b	.L33
.L35:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #32
	beq	.L36
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #104
	bne	.L37
.L36:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #308
	ldr	r1, .L39+4
	ldr	r0, .L39+16
	bl	printf
	mvn	r3, #79
	b	.L33
.L37:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L38
	ldr	r3, .L39+12
	b	.L33
.L38:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L39+20
	ldr	r1, .L39+4
	ldr	r0, .L39+24
	bl	printf
	mvn	r3, #75
	b	.L33
.L34:
	ldr	r3, [fp, #-8]
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	297
	.word	__FUNCTION__.8680
	.word	.LC2
	.word	-26880
	.word	.LC3
	.word	315
	.word	.LC4
	.size	mbedtls_net_recv, .-mbedtls_net_recv
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%s %d: net send failed - errno: %d\012\000"
	.text
	.align	2
	.global	mbedtls_net_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_send, %function
mbedtls_net_send:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L42
	mvn	r3, #68
	b	.L43
.L42:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-12]
	bl	lwip_write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L44
	ldr	r0, [fp, #-16]
	bl	net_would_block
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L49
	b	.L43
.L45:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #32
	beq	.L46
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #104
	bne	.L47
.L46:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L49+4
	ldr	r1, .L49+8
	ldr	r0, .L49+12
	bl	printf
	mvn	r3, #79
	b	.L43
.L47:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L48
	ldr	r3, .L49
	b	.L43
.L48:
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #344
	ldr	r1, .L49+8
	ldr	r0, .L49+16
	bl	printf
	mvn	r3, #77
	b	.L43
.L44:
	ldr	r3, [fp, #-8]
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	-26752
	.word	337
	.word	__FUNCTION__.8688
	.word	.LC3
	.word	.LC5
	.size	mbedtls_net_send, .-mbedtls_net_send
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mbedtls_net_recv_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_recv_timeout, %function
mbedtls_net_recv_timeout:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L52
	mvn	r3, #68
	b	.L61
.L52:
	sub	r3, fp, #16
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L54
.L55:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L54:
	ldr	r3, [fp, #-40]
	cmp	r3, #7
	bls	.L55
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #5
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-12]
	ldr	r1, [fp, #-32]
	and	r1, r1, #31
	mov	r0, #1
	lsl	r1, r0, r1
	orr	r1, r3, r1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-12]
	ldr	r3, [fp, #-60]
	ldr	r2, .L63+4
	umull	r1, r3, r2, r3
	lsr	r3, r3, #6
	str	r3, [fp, #-24]
	ldr	r1, [fp, #-60]
	ldr	r3, .L63+4
	umull	r2, r3, r1, r3
	lsr	r2, r3, #6
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r0, r3, #1
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L56
	sub	r3, fp, #24
	b	.L57
.L56:
	mov	r3, #0
.L57:
	sub	r1, fp, #16
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	lwip_select
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L63+8
	b	.L61
.L58:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L59
	bl	__errno
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L60
	ldr	r3, .L63+12
	b	.L61
.L60:
	mvn	r3, #75
	b	.L61
.L59:
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	mbedtls_net_recv
	mov	r3, r0
.L61:
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC6
	.word	274877907
	.word	-26624
	.word	-26880
	.size	mbedtls_net_recv_timeout, .-mbedtls_net_recv_timeout
	.align	2
	.global	mbedtls_net_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_net_free, %function
mbedtls_net_free:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L68
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, #2
	mov	r0, r3
	bl	lwip_shutdown
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	lwip_close
	ldr	r3, [fp, #-8]
	mvn	r2, #0
	str	r2, [r3]
	b	.L65
.L68:
	nop
.L65:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mbedtls_net_free, .-mbedtls_net_free
	.section	.rodata
	.align	2
	.type	__FUNCTION__.8656, %object
	.size	__FUNCTION__.8656, 20
__FUNCTION__.8656:
	.ascii	"mbedtls_net_connect\000"
	.align	2
	.type	__FUNCTION__.8680, %object
	.size	__FUNCTION__.8680, 17
__FUNCTION__.8680:
	.ascii	"mbedtls_net_recv\000"
	.align	2
	.type	__FUNCTION__.8688, %object
	.size	__FUNCTION__.8688, 17
__FUNCTION__.8688:
	.ascii	"mbedtls_net_send\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
