	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocelot_fdb_do_dump
_ocelot_fdb_do_dump:                    ## @ocelot_fdb_do_dump
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rsi), %rax
	movl	16(%rax), %edi
	callq	_NETLINK_CB
	movq	(%rbx), %rcx
	movq	24(%rbx), %rdx
	movq	(%rdx), %rsi
	cmpq	16(%rsi), %rcx
	jge	LBB0_1
LBB0_6:
	incq	%rcx
	movq	%rcx, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	8(%rdx), %rcx
	movl	(%rcx), %edx
	movl	8(%rbx), %edi
	movq	_RTM_NEWNEIGH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NLM_F_MULTI@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movl	%eax, %esi
	movl	$48, %r8d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_nlmsg_data
	movq	_AF_BRIDGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rax)
	movq	_NTF_SELF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	$0, 8(%rax)
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_NUD_REACHABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movl	8(%rbx), %edi
	movq	_NDA_LLADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r14), %ecx
	callq	_nla_put
	testq	%rax, %rax
	je	LBB0_3
LBB0_7:
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_nlmsg_cancel
LBB0_8:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	movl	8(%rbx), %edi
	movq	_NDA_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_put_u16
	testq	%rax, %rax
	jne	LBB0_7
LBB0_5:
	movl	8(%rbx), %edi
	movq	%r15, %rsi
	callq	_nlmsg_end
	movq	(%rbx), %rcx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_RTM_NEWNEIGH,4,2               ## @RTM_NEWNEIGH
	.comm	_NLM_F_MULTI,4,2                ## @NLM_F_MULTI
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_AF_BRIDGE,4,2                  ## @AF_BRIDGE
	.comm	_NTF_SELF,4,2                   ## @NTF_SELF
	.comm	_NUD_REACHABLE,4,2              ## @NUD_REACHABLE
	.comm	_NDA_LLADDR,4,2                 ## @NDA_LLADDR
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_NDA_VLAN,4,2                   ## @NDA_VLAN
	.no_dead_strip	_ocelot_fdb_do_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocelot_fdb_do_dump
_ocelot_fdb_do_dump:                    ; @ocelot_fdb_do_dump
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1, #24]
	ldr	w0, [x8, #16]
	bl	_NETLINK_CB
	ldr	x9, [x19, #24]
	ldr	x8, [x19]
	ldr	x10, [x9]
	ldr	x10, [x10, #16]
	cmp	x8, x10
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #0
	add	x8, x8, #1
	str	x8, [x19]
	b	LBB0_6
LBB0_2:
	mov	x1, x0
	ldr	x8, [x9, #8]
	ldr	w2, [x8]
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _RTM_NEWNEIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTM_NEWNEIGH@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _NLM_F_MULTI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NLM_F_MULTI@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	w4, #48
	bl	_nlmsg_put
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	bl	_nlmsg_data
Lloh6:
	adrp	x8, _AF_BRIDGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_BRIDGE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #40]
	stp	xzr, xzr, [x0, #24]
Lloh9:
	adrp	x8, _NTF_SELF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NTF_SELF@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #16]
	str	xzr, [x0, #8]
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _NUD_REACHABLE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NUD_REACHABLE@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
Lloh15:
	adrp	x8, _NDA_LLADDR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NDA_LLADDR@GOTPAGEOFF]
	ldr	w0, [x19, #8]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	ldr	w3, [x20, #8]
	bl	_nla_put
	cbz	x0, LBB0_7
LBB0_4:
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_nlmsg_cancel
LBB0_5:
Lloh21:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x2, [x20]
	cbz	x2, LBB0_9
; %bb.8:
	ldr	w0, [x19, #8]
Lloh24:
	adrp	x8, _NDA_VLAN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _NDA_VLAN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_nla_put_u16
	cbnz	x0, LBB0_4
LBB0_9:
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_nlmsg_end
	ldr	x8, [x19]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_RTM_NEWNEIGH,4,2               ; @RTM_NEWNEIGH
	.comm	_NLM_F_MULTI,4,2                ; @NLM_F_MULTI
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_AF_BRIDGE,4,2                  ; @AF_BRIDGE
	.comm	_NTF_SELF,4,2                   ; @NTF_SELF
	.comm	_NUD_REACHABLE,4,2              ; @NUD_REACHABLE
	.comm	_NDA_LLADDR,4,2                 ; @NDA_LLADDR
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_NDA_VLAN,4,2                   ; @NDA_VLAN
	.no_dead_strip	_ocelot_fdb_do_dump
.subsections_via_symbols
