	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_net_event                ## -- Begin function i40iw_net_event
	.p2align	4, 0x90
_i40iw_net_event:                       ## @i40iw_net_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	cmpq	$128, %rsi
	jne	LBB0_8
## %bb.1:
	movq	%rdx, %rbx
	movq	16(%rdx), %rdi
	callq	_i40iw_find_netdev
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r14
	movl	4(%rax), %eax
	movq	_IP_ADDR_REGISTERED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_8
## %bb.3:
	cmpl	$0, (%r14)
	jne	LBB0_8
## %bb.4:
	movq	8(%rbx), %rsi
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_i40iw_copy_ip_ntohl
	movq	_NUD_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	4(%rbx), %esi
	andl	(%rbx), %eax
	jne	LBB0_5
## %bb.6:
	movq	_I40IW_ARP_DELETE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_I40IW_ARP_ADD@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r8d
	movq	%r14, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_i40iw_manage_arp_cache
LBB0_8:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_IP_ADDR_REGISTERED,4,2         ## @IP_ADDR_REGISTERED
	.comm	_NUD_VALID,4,2                  ## @NUD_VALID
	.comm	_I40IW_ARP_ADD,4,2              ## @I40IW_ARP_ADD
	.comm	_I40IW_ARP_DELETE,4,2           ## @I40IW_ARP_DELETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_net_event                ; -- Begin function i40iw_net_event
	.p2align	2
_i40iw_net_event:                       ; @i40iw_net_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	x1, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x2
	ldr	x0, [x2, #16]
	bl	_i40iw_find_netdev
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0, #4]
Lloh3:
	adrp	x9, _IP_ADDR_REGISTERED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IP_ADDR_REGISTERED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.3:
	ldr	w8, [x20]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	bl	_i40iw_copy_ip_ntohl
Lloh6:
	adrp	x8, _NUD_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUD_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _I40IW_ARP_DELETE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I40IW_ARP_DELETE@GOTPAGEOFF]
	ldp	w10, w1, [x19]
Lloh11:
	adrp	x11, _I40IW_ARP_ADD@GOTPAGE
Lloh12:
	ldr	x11, [x11, _I40IW_ARP_ADD@GOTPAGEOFF]
	tst	w8, w10
	csel	x8, x9, x11, eq
	ldr	w4, [x8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #0
	bl	_i40iw_manage_arp_cache
LBB0_5:
Lloh13:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_IP_ADDR_REGISTERED,4,2         ; @IP_ADDR_REGISTERED
	.comm	_NUD_VALID,4,2                  ; @NUD_VALID
	.comm	_I40IW_ARP_ADD,4,2              ; @I40IW_ARP_ADD
	.comm	_I40IW_ARP_DELETE,4,2           ; @I40IW_ARP_DELETE
.subsections_via_symbols
