	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_dbgfs_port_vid_show
_mvpp2_dbgfs_port_vid_show:             ## @mvpp2_dbgfs_port_vid_show
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r13
	movq	8(%r13), %r15
	movl	(%r13), %edi
	callq	_MVPP2_PRS_VID_PORT_FIRST
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_MVPP2_PRS_VID_PORT_LAST
	cmpl	%eax, %ebx
	jle	LBB0_1
LBB0_6:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	%ebx, %r14
	decq	%r14
	leaq	-72(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	callq	_MVPP2_PRS_VID_PORT_LAST
	cltq
	incq	%r14
	incl	%ebx
	cmpq	%rax, %r14
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_mvpp2_prs_init_from_hw
	movq	%r12, %rdi
	callq	_mvpp2_prs_tcam_port_map_get
	movq	%rax, -64(%rbp)
	movq	(%r15), %rax
	cmpl	$0, 4(%rax,%r14,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	leaq	-64(%rbp), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$2, %esi
	leaq	-42(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_mvpp2_prs_tcam_data_byte_get
	movq	%r12, %rdi
	movl	$3, %esi
	leaq	-41(%rbp), %rdx
	leaq	-43(%rbp), %rcx
	callq	_mvpp2_prs_tcam_data_byte_get
	movzbl	-41(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_seq_printf
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

	.no_dead_strip	_mvpp2_dbgfs_port_vid_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_dbgfs_port_vid_show
_mvpp2_dbgfs_port_vid_show:             ; @mvpp2_dbgfs_port_vid_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	ldr	x25, [x0]
	ldr	x20, [x25, #8]
	ldr	w0, [x25]
	bl	_MVPP2_PRS_VID_PORT_FIRST
	mov	x23, x0
	ldr	w0, [x25]
	bl	_MVPP2_PRS_VID_PORT_LAST
	cmp	w23, w0
	b.le	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	add	x8, sp, #14
	add	x21, x8, #1
	add	x8, sp, #12
	add	x22, x8, #1
	sxtw	x23, w23
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x23, #1
	ldr	w0, [x25]
	bl	_MVPP2_PRS_VID_PORT_LAST
	cmp	x23, w0, sxtw
	mov	x23, x26
	b.ge	LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x23
	bl	_mvpp2_prs_init_from_hw
	add	x0, sp, #8
	bl	_mvpp2_prs_tcam_port_map_get
	str	x0, [sp]
	ldr	x8, [x20]
	ldr	w8, [x8, x23, lsl #2]
	cbz	w8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25]
	mov	x1, sp
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	add	x2, sp, #14
	add	x3, sp, #12
	mov	w1, #2
	bl	_mvpp2_prs_tcam_data_byte_get
	add	x0, sp, #8
	mov	w1, #3
	mov	x2, x21
	mov	x3, x22
	bl	_mvpp2_prs_tcam_data_byte_get
	ldrb	w2, [sp, #15]
	mov	x0, x19
	mov	x1, x24
	bl	_seq_printf
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

	.no_dead_strip	_mvpp2_dbgfs_port_vid_show
.subsections_via_symbols
