	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_g1_vtu_prob_irq_thread_fn
_mv88e6xxx_g1_vtu_prob_irq_thread_fn:   ## @mv88e6xxx_g1_vtu_prob_irq_thread_fn
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rsi, %rdi
	callq	_mv88e6xxx_reg_lock
	movq	_MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_mv88e6xxx_g1_vtu_op
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	_MV88E6XXX_G1_VTU_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_mv88e6xxx_g1_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mv88e6xxx_g1_vtu_vid_read
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_8:
	movq	%r15, %rdi
	callq	_mv88e6xxx_reg_unlock
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_9:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	-36(%rbp), %eax
	movq	_MV88E6XXX_G1_VTU_OP_SPID_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movslq	%ecx, %r14
	movq	_MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	movl	-32(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_dev_err_ratelimited
	movq	8(%r15), %rax
	incl	4(%rax,%r14,8)
	movl	-36(%rbp), %eax
LBB0_5:
	movq	_MV88E6XXX_G1_VTU_OP_MISS_VIOLATION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	movl	-32(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %ecx
	callq	_dev_dbg_ratelimited
	movq	8(%r15), %rax
	incl	(%rax,%r14,8)
LBB0_7:
	movq	%r15, %rdi
	callq	_mv88e6xxx_reg_unlock
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION,4,2 ## @MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION
	.comm	_MV88E6XXX_G1_VTU_OP,4,2        ## @MV88E6XXX_G1_VTU_OP
	.comm	_MV88E6XXX_G1_VTU_OP_SPID_MASK,4,2 ## @MV88E6XXX_G1_VTU_OP_SPID_MASK
	.comm	_MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION,4,2 ## @MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VTU member violation for vid %d, source port %d\n"

	.comm	_MV88E6XXX_G1_VTU_OP_MISS_VIOLATION,4,2 ## @MV88E6XXX_G1_VTU_OP_MISS_VIOLATION
L_.str.1:                               ## @.str.1
	.asciz	"VTU miss violation for vid %d, source port %d\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
L_.str.2:                               ## @.str.2
	.asciz	"VTU problem: error %d while handling interrupt\n"

	.no_dead_strip	_mv88e6xxx_g1_vtu_prob_irq_thread_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_g1_vtu_prob_irq_thread_fn
_mv88e6xxx_g1_vtu_prob_irq_thread_fn:   ; @mv88e6xxx_g1_vtu_prob_irq_thread_fn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x0, x1
	bl	_mv88e6xxx_reg_lock
Lloh0:
	adrp	x8, _MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mv88e6xxx_g1_vtu_op
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _MV88E6XXX_G1_VTU_OP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MV88E6XXX_G1_VTU_OP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #4
	mov	x0, x19
	bl	_mv88e6xxx_g1_read
	mov	x20, x0
	cbnz	w0, LBB0_3
; %bb.2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mv88e6xxx_g1_vtu_vid_read
	mov	x20, x0
	cbz	w0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_mv88e6xxx_reg_unlock
	ldr	w0, [x19]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_4:
Lloh8:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	ldr	w8, [sp, #4]
Lloh11:
	adrp	x9, _MV88E6XXX_G1_VTU_OP_SPID_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MV88E6XXX_G1_VTU_OP_SPID_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w20, w9, w8
Lloh14:
	adrp	x9, _MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x19]
	ldr	w2, [sp, #8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x20
	bl	_dev_err_ratelimited
	ldr	x8, [x19, #8]
	add	x8, x8, w20, sxtw #3
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w8, [sp, #4]
LBB0_7:
Lloh19:
	adrp	x9, _MV88E6XXX_G1_VTU_OP_MISS_VIOLATION@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MV88E6XXX_G1_VTU_OP_MISS_VIOLATION@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	ldr	w0, [x19]
	ldr	w2, [sp, #8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x20
	bl	_dev_dbg_ratelimited
	ldr	x8, [x19, #8]
	sbfiz	x9, x20, #3, #32
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
LBB0_9:
	mov	x0, x19
	bl	_mv88e6xxx_reg_unlock
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION,4,2 ; @MV88E6XXX_G1_VTU_OP_GET_CLR_VIOLATION
	.comm	_MV88E6XXX_G1_VTU_OP,4,2        ; @MV88E6XXX_G1_VTU_OP
	.comm	_MV88E6XXX_G1_VTU_OP_SPID_MASK,4,2 ; @MV88E6XXX_G1_VTU_OP_SPID_MASK
	.comm	_MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION,4,2 ; @MV88E6XXX_G1_VTU_OP_MEMBER_VIOLATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VTU member violation for vid %d, source port %d\n"

	.comm	_MV88E6XXX_G1_VTU_OP_MISS_VIOLATION,4,2 ; @MV88E6XXX_G1_VTU_OP_MISS_VIOLATION
l_.str.1:                               ; @.str.1
	.asciz	"VTU miss violation for vid %d, source port %d\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
l_.str.2:                               ; @.str.2
	.asciz	"VTU problem: error %d while handling interrupt\n"

	.no_dead_strip	_mv88e6xxx_g1_vtu_prob_irq_thread_fn
.subsections_via_symbols
