	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function neigh_delete
_neigh_delete:                          ## @neigh_delete
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_nlmsg_len
	cmpl	$24, %eax
	jb	LBB0_21
## %bb.1:
	movq	_NDA_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_nlmsg_find_attr
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_nlmsg_data
	movq	%rax, %rbx
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.10:
	movq	%r15, %rdi
	callq	_dev_get_by_index
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_21
LBB0_3:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_4:
	movq	_neigh_tbl_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	_neigh_tables@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.5:
	movq	(%rbx), %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, (%r14)
	je	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_6
LBB0_17:
	movq	_neigh_tbl_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movq	_EAFNOSUPPORT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_18:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_21
LBB0_20:
	movq	%rbx, %rdi
	callq	_dev_put
LBB0_21:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_neigh_tbl_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movq	%r12, %rdi
	callq	_nla_len
	cmpq	8(%r14), %rax
	jl	LBB0_18
## %bb.8:
	movq	_NTF_PROXY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_12
## %bb.9:
	movq	%r12, %rdi
	callq	_nla_data
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_pneigh_delete
	movl	%eax, %r13d
	testq	%rbx, %rbx
	jne	LBB0_20
	jmp	LBB0_21
LBB0_12:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.13:
	movq	%r12, %rdi
	callq	_nla_data
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_neigh_lookup
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	movq	%rax, %r14
	movq	_NUD_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NEIGH_UPDATE_F_OVERRIDE@GOTPCREL(%rip), %rax
	movq	_NEIGH_UPDATE_F_ADMIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_neigh_update
	movl	%eax, %r13d
	movq	%r14, %rdi
	callq	_neigh_release
	jmp	LBB0_20
LBB0_14:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NDA_DST,4,2                    ## @NDA_DST
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_neigh_tbl_lock,4,2             ## @neigh_tbl_lock
	.comm	_neigh_tables,8,3               ## @neigh_tables
	.comm	_NTF_PROXY,4,2                  ## @NTF_PROXY
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_NUD_FAILED,4,2                 ## @NUD_FAILED
	.comm	_NEIGH_UPDATE_F_OVERRIDE,4,2    ## @NEIGH_UPDATE_F_OVERRIDE
	.comm	_NEIGH_UPDATE_F_ADMIN,4,2       ## @NEIGH_UPDATE_F_ADMIN
	.comm	_EAFNOSUPPORT,4,2               ## @EAFNOSUPPORT
	.no_dead_strip	_neigh_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function neigh_delete
_neigh_delete:                          ; @neigh_delete
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	ldr	w0, [x0]
	bl	_sock_net
	mov	x21, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	mov	x0, x19
	bl	_nlmsg_len
	cmp	w0, #24
	b.lo	LBB0_13
; %bb.1:
Lloh3:
	adrp	x8, _NDA_DST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NDA_DST@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #24
	bl	_nlmsg_find_attr
	cbz	x0, LBB0_13
; %bb.2:
	mov	x22, x0
	mov	x0, x19
	bl	_nlmsg_data
	mov	x23, x0
	ldr	x1, [x0, #16]
	cbz	x1, LBB0_5
; %bb.3:
	mov	x0, x21
	bl	_dev_get_by_index
	mov	x19, x0
	cbnz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_5:
	mov	x19, #0
LBB0_6:
Lloh9:
	adrp	x0, _neigh_tbl_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _neigh_tbl_lock@GOTPAGEOFF]
	bl	_read_lock
Lloh11:
	adrp	x8, _neigh_tables@GOTPAGE
Lloh12:
	ldr	x8, [x8, _neigh_tables@GOTPAGEOFF]
Lloh13:
	ldr	x24, [x8]
	cbz	x24, LBB0_10
; %bb.7:
	ldr	x8, [x23]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	cmp	x9, x8
	b.eq	LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x24, [x24, #16]
	cbnz	x24, LBB0_8
LBB0_10:
Lloh14:
	adrp	x0, _neigh_tbl_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _neigh_tbl_lock@GOTPAGEOFF]
	bl	_read_unlock
Lloh16:
	adrp	x8, _EAFNOSUPPORT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EAFNOSUPPORT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_11:
	cbz	x19, LBB0_13
LBB0_12:
	mov	x0, x19
	bl	_dev_put
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh19:
	adrp	x0, _neigh_tbl_lock@GOTPAGE
Lloh20:
	ldr	x0, [x0, _neigh_tbl_lock@GOTPAGEOFF]
	bl	_read_unlock
	mov	x0, x22
	bl	_nla_len
	ldr	x8, [x24, #8]
	cmp	x0, x8
	b.lt	LBB0_11
; %bb.15:
	ldr	w8, [x23, #8]
Lloh21:
	adrp	x9, _NTF_PROXY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _NTF_PROXY@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x22
	bl	_nla_data
	mov	x2, x0
	mov	x0, x24
	mov	x1, x21
	mov	x3, x19
	bl	_pneigh_delete
	mov	x20, x0
	b	LBB0_11
LBB0_17:
	cbz	x19, LBB0_13
; %bb.18:
	mov	x0, x22
	bl	_nla_data
	mov	x1, x0
	mov	x0, x24
	mov	x2, x19
	bl	_neigh_lookup
	cbz	x0, LBB0_20
; %bb.19:
	mov	x21, x0
Lloh24:
	adrp	x8, _NUD_FAILED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NUD_FAILED@GOTPAGEOFF]
Lloh26:
	adrp	x9, _NEIGH_UPDATE_F_OVERRIDE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NEIGH_UPDATE_F_OVERRIDE@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	ldr	w8, [x9]
Lloh30:
	adrp	x9, _NEIGH_UPDATE_F_ADMIN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NEIGH_UPDATE_F_ADMIN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x1, #0
	bl	_neigh_update
	mov	x20, x0
	mov	x0, x21
	bl	_neigh_release
	b	LBB0_12
LBB0_20:
Lloh33:
	adrp	x8, _ENOENT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NDA_DST,4,2                    ; @NDA_DST
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_neigh_tbl_lock,4,2             ; @neigh_tbl_lock
	.comm	_neigh_tables,8,3               ; @neigh_tables
	.comm	_NTF_PROXY,4,2                  ; @NTF_PROXY
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_NUD_FAILED,4,2                 ; @NUD_FAILED
	.comm	_NEIGH_UPDATE_F_OVERRIDE,4,2    ; @NEIGH_UPDATE_F_OVERRIDE
	.comm	_NEIGH_UPDATE_F_ADMIN,4,2       ; @NEIGH_UPDATE_F_ADMIN
	.comm	_EAFNOSUPPORT,4,2               ; @EAFNOSUPPORT
	.no_dead_strip	_neigh_delete
.subsections_via_symbols
