	.file	"extr_i40iw_utils.c_i40iw_inetaddr_event.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40iw_inetaddr_event
	.type	i40iw_inetaddr_event, @function
i40iw_inetaddr_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r14, QWORD PTR I40IW_ARP_ADD[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdx]
	mov	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	i40iw_find_netdev@PLT
	test	rax, rax
	je	.L13
	mov	rbp, rax
	mov	rax, QWORD PTR IP_ADDR_REGISTERED[rip]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L13
	cmp	QWORD PTR 16[rbp], 0
	je	.L23
.L13:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	mov	eax, DWORD PTR NOTIFY_DONE[rip]
	jne	.L24
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	r15, QWORD PTR [rax]
	mov	rdi, r15
	call	netdev_master_upper_dev_get@PLT
	cmp	r12, r15
	jne	.L13
	test	rax, rax
	mov	QWORD PTR 8[rsp], rax
	je	.L6
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	__in_dev_get_rcu@PLT
	mov	QWORD PTR 16[rsp], 0
	test	rax, rax
	je	.L8
	mov	edi, DWORD PTR [rax]
	call	rcu_dereference@PLT
	test	rax, rax
	je	.L8
	mov	edi, DWORD PTR [rax]
	call	ntohl@PLT
	mov	QWORD PTR 16[rsp], rax
.L8:
	xor	eax, eax
	call	rcu_read_unlock@PLT
.L10:
	cmp	r13, 129
	je	.L11
	and	r13, -3
	cmp	r13, 128
	jne	.L13
.L12:
	cmp	QWORD PTR 16[rsp], 0
	je	.L13
	mov	esi, DWORD PTR [r15]
	lea	r12, 16[rsp]
	mov	r8, r14
	mov	rdi, rbp
	mov	rdx, r12
	mov	ecx, 1
	call	i40iw_manage_arp_cache@PLT
	xor	r8d, r8d
	mov	ecx, 1
	mov	rdx, r12
	cmp	QWORD PTR I40IW_ARP_ADD[rip], r14
	mov	rsi, r15
	mov	rdi, rbp
	sete	r8b
	call	i40iw_if_notify@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L11:
	mov	r14, QWORD PTR I40IW_ARP_DELETE[rip]
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR [rbx]
	call	ntohl@PLT
	mov	QWORD PTR 16[rsp], rax
	jmp	.L10
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	i40iw_inetaddr_event, .-i40iw_inetaddr_event
	.comm	NOTIFY_DONE,4,4
	.comm	IP_ADDR_REGISTERED,8,8
	.comm	I40IW_ARP_DELETE,8,8
	.comm	I40IW_ARP_ADD,8,8
	.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_i40iw_utils.c_i40iw_inetaddr_event.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	i40iw_inetaddr_event
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40iw_inetaddr_event, %function
i40iw_inetaddr_event:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r2, #4]
	ldr	r8, .L28
	ldr	r6, [r3]
	ldr	r3, .L28+4
	sub	sp, sp, #20
	mov	r0, r6
	mov	r5, r2
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r9, [r8]
	bl	i40iw_find_netdev
	subs	r4, r0, #0
	beq	.L13
	ldr	r3, .L28+8
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L13
	ldr	fp, [r4, #8]
	cmp	fp, #0
	beq	.L26
.L13:
	ldr	r3, .L28+12
	ldr	r0, [r3]
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L26:
	ldr	r3, [r4, #4]
	ldr	r10, [r3]
	mov	r0, r10
	bl	netdev_master_upper_dev_get
	cmp	r6, r10
	mov	r6, r0
	bne	.L13
	cmp	r0, #0
	beq	.L6
	bl	rcu_read_lock
	mov	r0, r6
	bl	__in_dev_get_rcu
	cmp	r0, #0
	str	fp, [sp, #8]
	beq	.L8
	ldr	r0, [r0]
	bl	rcu_dereference
	cmp	r0, #0
	beq	.L8
	ldr	r0, [r0]
	bl	ntohl
	str	r0, [sp, #8]
.L8:
	bl	rcu_read_unlock
.L10:
	cmp	r7, #129
	beq	.L11
	bic	r1, r7, #2
	cmp	r1, #128
	bne	.L13
.L12:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	beq	.L13
	ldr	r1, [r10]
	add	r2, sp, #8
	str	r9, [sp]
	mov	r3, #1
	mov	r0, r4
	bl	i40iw_manage_arp_cache
	ldr	r3, [r8]
	mov	r1, r10
	sub	r9, r3, r9
	clz	r9, r9
	lsr	r9, r9, #5
	mov	r0, r4
	mov	r3, #1
	add	r2, sp, #8
	str	r9, [sp]
	bl	i40iw_if_notify
	b	.L13
.L11:
	ldr	r3, .L28+16
	ldr	r9, [r3]
	b	.L12
.L6:
	ldr	r0, [r5]
	bl	ntohl
	str	r0, [sp, #8]
	b	.L10
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	I40IW_ARP_ADD
	.word	.LC0
	.word	IP_ADDR_REGISTERED
	.word	NOTIFY_DONE
	.word	I40IW_ARP_DELETE
	.size	i40iw_inetaddr_event, .-i40iw_inetaddr_event
	.comm	NOTIFY_DONE,4,4
	.comm	IP_ADDR_REGISTERED,4,4
	.comm	I40IW_ARP_DELETE,4,4
	.comm	I40IW_ARP_ADD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
