	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocelot_fdb_dump
_ocelot_fdb_dump:                       ## @ocelot_fdb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movl	%eax, -72(%rbp)
	movq	%r14, -64(%rbp)
	movq	%r12, -56(%rbp)
	movq	%r13, -48(%rbp)
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %r12
	movq	_EINVAL@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	$1024, %ebx                     ## imm = 0x400
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_ocelot_mact_read
	movl	%eax, %r14d
	movl	(%r13), %eax
	addl	%r14d, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_ocelot_fdb_do_dump
	testl	%eax, %eax
	jne	LBB0_17
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	movq	%r12, %rcx
	callq	_ocelot_mact_read
	movl	%eax, %r14d
	movl	(%r13), %eax
	addl	%r14d, %eax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_ocelot_fdb_do_dump
	testl	%eax, %eax
	jne	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$2, %edx
	movq	%r12, %rcx
	callq	_ocelot_mact_read
	movl	%eax, %r14d
	movl	(%r13), %eax
	addl	%r14d, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_ocelot_fdb_do_dump
	testl	%eax, %eax
	jne	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$3, %edx
	movq	%r12, %rcx
	callq	_ocelot_mact_read
	movl	%eax, %r14d
	movl	(%r13), %eax
	addl	%r14d, %eax
	je	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	callq	_ocelot_fdb_do_dump
	testl	%eax, %eax
	je	LBB0_1
LBB0_17:
	movl	%eax, %r14d
LBB0_18:
	movl	-72(%rbp), %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ocelot_fdb_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_dump
_ocelot_fdb_dump:                       ; @ocelot_fdb_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	mov	x0, x2
	bl	_netdev_priv
	mov	x20, x0
	mov	w21, #0
	ldr	w8, [x19]
	str	w8, [sp, #16]
	stp	x23, x24, [sp, #24]
	str	x22, [sp, #40]
Lloh0:
	adrp	x23, _EINVAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #1
	cmp	w21, #1024
	b.eq	LBB0_15
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_ocelot_mact_read
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_ocelot_fdb_do_dump
	cbnz	w0, LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_ocelot_mact_read
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_ocelot_fdb_do_dump
	cbnz	w0, LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #2
	bl	_ocelot_mact_read
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	cbnz	w0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_ocelot_fdb_do_dump
	cbnz	w0, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	w2, #3
	bl	_ocelot_mact_read
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w0, w8
	b.eq	LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w22, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	add	x1, sp, #16
	bl	_ocelot_fdb_do_dump
	cbz	w0, LBB0_1
LBB0_14:
	mov	x22, x0
LBB0_15:
	ldr	w8, [sp, #16]
	str	w8, [x19]
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ocelot_fdb_dump
.subsections_via_symbols
