	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_port_db_dump
_mv88e6xxx_port_db_dump:                ## @mv88e6xxx_port_db_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r13
	leaq	-44(%rbp), %rdx
	callq	_mv88e6xxx_port_get_fid
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_mv88e6xxx_port_db_dump_fid
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -56(%rbp)
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	callq	_mv88e6xxx_vtu_getnext
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ebx, %ebx
	cmpl	$0, -56(%rbp)
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-52(%rbp), %esi
	movq	-64(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_mv88e6xxx_port_db_dump_fid
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax
	movq	(%r13), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
	jmp	LBB0_2
LBB0_9:
	movl	%eax, %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mv88e6xxx_port_db_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_port_db_dump
_mv88e6xxx_port_db_dump:                ; @mv88e6xxx_port_db_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x2, sp, #12
	bl	_mv88e6xxx_port_get_fid
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w1, [sp, #12]
	mov	x0, x22
	mov	x2, #0
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_mv88e6xxx_port_db_dump_fid
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x22]
	ldr	x8, [x8]
	str	x8, [sp, #16]
	str	wzr, [sp, #24]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	mov	x0, x22
	bl	_mv88e6xxx_vtu_getnext
	cbnz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [sp, #28]
	ldr	x2, [sp, #16]
	mov	x0, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_mv88e6xxx_port_db_dump_fid
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [x22]
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mv88e6xxx_port_db_dump
.subsections_via_symbols
