	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_cause_error
_mvpp2_cause_error:                     ## @mvpp2_cause_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_MVPP2_CAUSE_FCS_ERR_MASK@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
LBB0_2:
	movq	_MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_netdev_err
LBB0_4:
	movq	_MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_CAUSE_FCS_ERR_MASK,4,2   ## @MVPP2_CAUSE_FCS_ERR_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FCS error\n"

	.comm	_MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK,4,2 ## @MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK
L_.str.1:                               ## @.str.1
	.asciz	"rx fifo overrun error\n"

	.comm	_MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK,4,2 ## @MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK
L_.str.2:                               ## @.str.2
	.asciz	"tx fifo underrun error\n"

	.no_dead_strip	_mvpp2_cause_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_cause_error
_mvpp2_cause_error:                     ; @mvpp2_cause_error
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MVPP2_CAUSE_FCS_ERR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_CAUSE_FCS_ERR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_2:
Lloh5:
	adrp	x8, _MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
LBB0_4:
Lloh10:
	adrp	x8, _MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netdev_err
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_CAUSE_FCS_ERR_MASK,4,2   ; @MVPP2_CAUSE_FCS_ERR_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FCS error\n"

	.comm	_MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK,4,2 ; @MVPP2_CAUSE_RX_FIFO_OVERRUN_MASK
l_.str.1:                               ; @.str.1
	.asciz	"rx fifo overrun error\n"

	.comm	_MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK,4,2 ; @MVPP2_CAUSE_TX_FIFO_UNDERRUN_MASK
l_.str.2:                               ; @.str.2
	.asciz	"tx fifo underrun error\n"

	.no_dead_strip	_mvpp2_cause_error
.subsections_via_symbols
