	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtnl_fdb_add
_rtnl_fdb_add:                          ## @rtnl_fdb_add
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_sock_net
	movq	%rax, %r12
	movq	_NDA_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%r15, %rdi
	movl	$16, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_nlmsg_parse
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	callq	_nlmsg_data
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.6:
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r12
	movq	_NDA_LLADDR@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_nla_len
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	(%rbx), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movl	8(%r14), %ecx
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.12:
	movq	_NTF_MASTER@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_15
LBB0_13:
	movq	_IFF_BRIDGE_PORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r12)
	je	LBB0_15
## %bb.14:
	movq	_NTF_MASTER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %ecx
	movl	%ecx, 8(%r14)
LBB0_15:
	subl	(%rax), %ebx
	movq	_NTF_SELF@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_19
## %bb.16:
	movq	%r12, %rdi
	callq	_netdev_extended
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.17:
	movq	%r12, %rdi
	callq	_netdev_extended
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	_RTM_NEWNEIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_rtnl_fdb_notify
	movq	_NTF_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_19
LBB0_3:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_4
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
LBB0_4:
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NDA_MAX,4,2                    ## @NDA_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with invalid ifindex\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_NDA_LLADDR,8,3                 ## @NDA_LLADDR
	.comm	_ETH_ALEN,8,3                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with invalid address\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NTF_MASTER,4,2                 ## @NTF_MASTER
	.comm	_IFF_BRIDGE_PORT,4,2            ## @IFF_BRIDGE_PORT
	.comm	_NTF_SELF,4,2                   ## @NTF_SELF
	.comm	_RTM_NEWNEIGH,4,2               ## @RTM_NEWNEIGH
	.no_dead_strip	_rtnl_fdb_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtnl_fdb_add
_rtnl_fdb_add:                          ; @rtnl_fdb_add
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	ldr	w0, [x0]
	bl	_sock_net
	mov	x22, x0
Lloh3:
	adrp	x8, _NDA_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NDA_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	w8, w3, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x0, x19
	mov	w1, #16
	mov	x2, x21
	mov	x4, #0
	bl	_nlmsg_parse
	tbnz	w0, #31, LBB0_13
; %bb.1:
	mov	x0, x19
	bl	_nlmsg_data
	ldr	x1, [x0]
	cbz	x1, LBB0_14
; %bb.2:
	mov	x20, x0
	mov	x0, x22
	bl	___dev_get_by_index
	cbz	x0, LBB0_17
; %bb.3:
	mov	x22, x0
Lloh8:
	adrp	x23, _NDA_LLADDR@GOTPAGE
Lloh9:
	ldr	x23, [x23, _NDA_LLADDR@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_15
; %bb.4:
	bl	_nla_len
Lloh10:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.5:
	ldr	x8, [x23]
	ldr	x0, [x21, x8, lsl #3]
	bl	_nla_data
	mov	x24, x0
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w23, w8
	ldr	w8, [x20, #8]
Lloh16:
	adrp	x9, _NTF_MASTER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NTF_MASTER@GOTPAGEOFF]
	cbz	w8, LBB0_7
; %bb.6:
	ldr	w10, [x9]
	tst	w10, w8
	b.eq	LBB0_9
LBB0_7:
	ldr	w10, [x22]
Lloh18:
	adrp	x11, _IFF_BRIDGE_PORT@GOTPAGE
Lloh19:
	ldr	x11, [x11, _IFF_BRIDGE_PORT@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w10
	b.eq	LBB0_9
; %bb.8:
	ldr	w9, [x9]
	bic	w8, w8, w9
	str	w8, [x20, #8]
LBB0_9:
Lloh21:
	adrp	x25, _NTF_SELF@GOTPAGE
Lloh22:
	ldr	x25, [x25, _NTF_SELF@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.10:
	mov	x0, x22
	bl	_netdev_extended
	ldr	x8, [x0]
	cbz	x8, LBB0_19
; %bb.11:
	mov	x0, x22
	bl	_netdev_extended
	ldr	x8, [x0]
	ldr	w4, [x19]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	blr	x8
	mov	x23, x0
	cbnz	w0, LBB0_19
; %bb.12:
Lloh23:
	adrp	x8, _RTM_NEWNEIGH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RTM_NEWNEIGH@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_rtnl_fdb_notify
	ldr	w8, [x25]
	ldr	w9, [x20, #8]
	bic	w8, w9, w8
	str	w8, [x20, #8]
	b	LBB0_19
LBB0_13:
	mov	x23, x0
	b	LBB0_19
LBB0_14:
Lloh26:
	adrp	x0, l_.str@PAGE
Lloh27:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_16:
	bl	_pr_info
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh32:
	adrp	x0, l_.str.1@PAGE
Lloh33:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
Lloh34:
	adrp	x8, _ENODEV@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh36:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh37:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x23
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NDA_MAX,4,2                    ; @NDA_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with invalid ifindex\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with unknown ifindex\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_NDA_LLADDR,8,3                 ; @NDA_LLADDR
	.comm	_ETH_ALEN,8,3                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"PF_BRIDGE: RTM_NEWNEIGH with invalid address\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NTF_MASTER,4,2                 ; @NTF_MASTER
	.comm	_IFF_BRIDGE_PORT,4,2            ; @IFF_BRIDGE_PORT
	.comm	_NTF_SELF,4,2                   ; @NTF_SELF
	.comm	_RTM_NEWNEIGH,4,2               ; @RTM_NEWNEIGH
	.no_dead_strip	_rtnl_fdb_add
.subsections_via_symbols
