	.file	"extr_command.c_IfaceClearCommand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"inet"
.LC1:
	.string	"inet6"
	.text
	.p2align 4
	.type	IfaceClearCommand, @function
IfaceClearCommand:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movsx	rax, DWORD PTR 4[rdi]
	mov	rbx, rdi
	mov	edx, DWORD PTR [rdi]
	lea	ecx, 1[rax]
	cmp	edx, ecx
	je	.L14
	cmp	edx, eax
	jne	.L7
	xor	edx, edx
.L4:
	mov	rsi, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR ST_OPENED[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L8
	mov	eax, DWORD PTR 12[rsi]
	mov	ecx, DWORD PTR IFACE_CLEAR_ALL[rip]
	test	DWORD PTR PHYS_AUTO[rip], eax
	je	.L10
.L8:
	mov	ecx, DWORD PTR IFACE_CLEAR_ALIASES[rip]
.L10:
	mov	edi, DWORD PTR 8[rsi]
	call	iface_Clear@PLT
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rdx, QWORD PTR 16[rdi]
	lea	rsi, .LC0[rip]
	mov	edi, DWORD PTR [rdx+rax*4]
	call	strcasecmp@PLT
	mov	edx, DWORD PTR AF_INET[rip]
	test	rax, rax
	je	.L4
	movsx	rdx, DWORD PTR 4[rbx]
	mov	rax, QWORD PTR 16[rbx]
	lea	rsi, .LC1[rip]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	strcasecmp@PLT
	test	rax, rax
	jne	.L7
	mov	edx, DWORD PTR AF_INET6[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, -1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	IfaceClearCommand, .-IfaceClearCommand
	.comm	ST_OPENED,8,8
	.comm	PHYS_AUTO,4,4
	.comm	IFACE_CLEAR_ALL,4,4
	.comm	IFACE_CLEAR_ALIASES,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,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_command.c_IfaceClearCommand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"inet\000"
	.align	2
.LC1:
	.ascii	"inet6\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IfaceClearCommand, %function
IfaceClearCommand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldm	r0, {r2, r3}
	add	r1, r3, #1
	cmp	r2, r1
	push	{r4, lr}
	mov	r4, r0
	beq	.L13
	cmp	r2, r3
	bne	.L7
	mov	r2, #0
.L4:
	ldr	r1, [r4, #8]
	ldr	r3, .L14
	ldr	r0, [r1]
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L8
	ldr	r3, .L14+4
	ldr	r0, [r1, #8]
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L9
.L8:
	ldr	r3, .L14+8
	ldr	r3, [r3]
.L10:
	ldr	r0, [r1, #4]
	bl	iface_Clear
	mov	r0, #0
	pop	{r4, pc}
.L9:
	ldr	r3, .L14+12
	ldr	r3, [r3]
	b	.L10
.L13:
	ldr	r2, [r0, #12]
	ldr	r1, .L14+16
	ldr	r0, [r2, r3, lsl #2]
	bl	strcasecmp
	cmp	r0, #0
	ldreq	r3, .L14+20
	ldreq	r2, [r3]
	beq	.L4
.L3:
	ldr	r2, [r4, #4]
	ldr	r3, [r4, #12]
	ldr	r1, .L14+24
	ldr	r0, [r3, r2, lsl #2]
	bl	strcasecmp
	cmp	r0, #0
	ldreq	r3, .L14+28
	ldreq	r2, [r3]
	beq	.L4
.L7:
	mvn	r0, #0
	pop	{r4, pc}
.L15:
	.align	2
.L14:
	.word	ST_OPENED
	.word	PHYS_AUTO
	.word	IFACE_CLEAR_ALIASES
	.word	IFACE_CLEAR_ALL
	.word	.LC0
	.word	AF_INET
	.word	.LC1
	.word	AF_INET6
	.size	IfaceClearCommand, .-IfaceClearCommand
	.comm	ST_OPENED,4,4
	.comm	PHYS_AUTO,4,4
	.comm	IFACE_CLEAR_ALL,4,4
	.comm	IFACE_CLEAR_ALIASES,4,4
	.comm	AF_INET6,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
