	.file	"extr_netif.c_netif_remove.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"netif_remove: removed netif\n"
	.text
	.p2align 4
	.globl	netif_remove
	.type	netif_remove, @function
netif_remove:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	mov	rax, QWORD PTR netif_list[rip]
	cmp	rax, rdi
	jne	.L3
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR [rax]
	cmp	rdx, rdi
	je	.L14
	mov	rax, rdx
.L3:
	test	rax, rax
	jne	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdx, QWORD PTR [rdi]
	mov	QWORD PTR [rax], rdx
	cmp	QWORD PTR netif_default[rip], rdi
	je	.L15
.L6:
	mov	edi, DWORD PTR NETIF_DEBUG[rip]
	lea	rsi, .LC0[rip]
	jmp	LWIP_DEBUGF@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR [rdi]
	cmp	QWORD PTR netif_default[rip], rdi
	mov	QWORD PTR netif_list[rip], rax
	jne	.L6
.L15:
	mov	QWORD PTR netif_default[rip], 0
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	netif_remove, .-netif_remove
	.comm	netif_list,8,8
	.comm	netif_default,8,8
	.comm	NETIF_DEBUG,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_netif.c_netif_remove.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"netif_remove: removed netif\012\000"
	.text
	.align	2
	.global	netif_remove
	.syntax unified
	.arm
	.fpu softvfp
	.type	netif_remove, %function
netif_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r0, #0
	bxeq	lr
	ldr	r2, .L15
	ldr	r3, [r2]
	cmp	r3, r0
	bne	.L3
	b	.L14
.L7:
	mov	r3, r2
.L3:
	cmp	r3, #0
	bxeq	lr
	ldr	r2, [r3]
	cmp	r2, r0
	bne	.L7
	ldr	r2, [r0]
	str	r2, [r3]
.L4:
	ldr	r3, .L15+4
	ldr	r1, .L15+8
	ldr	r2, [r3]
	cmp	r2, r0
	moveq	r2, #0
	streq	r2, [r3]
	ldr	r3, .L15+12
	ldr	r0, [r3]
	b	LWIP_DEBUGF
.L14:
	ldr	r3, [r0]
	str	r3, [r2]
	b	.L4
.L16:
	.align	2
.L15:
	.word	netif_list
	.word	netif_default
	.word	.LC0
	.word	NETIF_DEBUG
	.size	netif_remove, .-netif_remove
	.comm	netif_list,4,4
	.comm	netif_default,4,4
	.comm	NETIF_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
