	.file	"extr_network.c_net_ioctl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	net_ioctl
	.type	net_ioctl, @function
net_ioctl:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	get_socket@PLT
	test	rax, rax
	je	.L17
	cmp	ebx, 128
	je	.L4
	cmp	ebx, 129
	je	.L5
	mov	edi, DWORD PTR SOCKETS_DEBUG[rip]
	mov	rsi, rbp
	call	LWIP_DEBUGF@PLT
.L15:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, DWORD PTR [rax]
	mov	ecx, DWORD PTR O_NONBLOCK[rip]
	test	rbp, rbp
	je	.L8
	mov	esi, DWORD PTR 0[rbp]
	test	esi, esi
	je	.L8
	or	edx, ecx
.L9:
	mov	DWORD PTR [rax], edx
	xor	esi, esi
	mov	edi, DWORD PTR SOCKETS_DEBUG[rip]
	test	edx, ecx
	setne	sil
	call	LWIP_DEBUGF@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	test	rbp, rbp
	je	.L15
	mov	rax, QWORD PTR 8[rax]
	movsx	rsi, DWORD PTR [rax]
	mov	DWORD PTR 0[rbp], esi
	mov	edi, DWORD PTR SOCKETS_DEBUG[rip]
	call	LWIP_DEBUGF@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, ecx
	not	esi
	and	edx, esi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR ENOTSOCK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	net_ioctl, .-net_ioctl
	.comm	SOCKETS_DEBUG,4,4
	.comm	O_NONBLOCK,4,4
	.comm	ENOTSOCK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_network.c_net_ioctl.c"
	.text
	.align	2
	.global	net_ioctl
	.syntax unified
	.arm
	.fpu softvfp
	.type	net_ioctl, %function
net_ioctl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r2
	bl	get_socket
	cmp	r0, #0
	beq	.L20
	cmp	r4, #128
	beq	.L4
	cmp	r4, #129
	beq	.L5
	ldr	r3, .L21
	mov	r1, r5
	ldr	r0, [r3]
	bl	LWIP_DEBUGF
.L18:
	ldr	r3, .L21+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r3, .L21+8
	cmp	r5, #0
	ldr	r2, [r3]
	ldr	r3, [r0]
	beq	.L8
	ldr	r1, [r5]
	cmp	r1, #0
	orrne	r3, r3, r2
	bne	.L9
.L8:
	bic	r3, r3, r2
.L9:
	ldr	ip, .L21
	tst	r3, r2
	str	r3, [r0]
	movne	r1, #1
	moveq	r1, #0
	ldr	r0, [ip]
	bl	LWIP_DEBUGF
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L4:
	cmp	r5, #0
	beq	.L18
	ldr	r2, [r0, #4]
	ldr	r3, .L21
	ldr	r1, [r2]
	str	r1, [r5]
	ldr	r0, [r3]
	bl	LWIP_DEBUGF
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	ldr	r3, .L21+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	SOCKETS_DEBUG
	.word	EINVAL
	.word	O_NONBLOCK
	.word	ENOTSOCK
	.size	net_ioctl, .-net_ioctl
	.comm	SOCKETS_DEBUG,4,4
	.comm	O_NONBLOCK,4,4
	.comm	ENOTSOCK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
