	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipg_nic_rx_check_error
_ipg_nic_rx_check_error:                ## @ipg_nic_rx_check_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	(%rax), %eax
	movq	_IPG_RFDLIST_LENGTH@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	movq	_IPG_DROP_ON_RX_ETH_ERRORS@GOTPCREL(%rip), %rax
	movq	_NORMAL_PACKET@GOTPCREL(%rip), %r15
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.1:
	movl	%edx, %r14d
	movq	40(%rbx), %r12
	movq	%r14, %r13
	shlq	$4, %r13
	movq	8(%r12,%r13), %rdi
	callq	_le64_to_cpu
	movq	_IPG_RFS_RXFIFOOVERRUN@GOTPCREL(%rip), %rdx
	movq	_IPG_RFS_RXRUNTFRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_IPG_RFS_RXALIGNMENTERROR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IPG_RFS_RXFCSERROR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IPG_RFS_RXOVERSIZEDFRAME@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_IPG_RFS_RXLENGTHERROR@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_10
## %bb.2:
	leaq	(%r12,%r13), %r15
	addq	$8, %r15
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_IPG_DEBUG_MSG
	incl	36(%rbx)
	movq	(%r15), %rdi
	callq	_le64_to_cpu
	movq	_IPG_RFS_RXFIFOOVERRUN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_IPG_DEBUG_MSG
	incl	32(%rbx)
LBB0_4:
	movq	(%r15), %rdi
	callq	_le64_to_cpu
	movq	_IPG_RFS_RXRUNTFRAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_IPG_DEBUG_MSG
	incl	28(%rbx)
LBB0_6:
	movq	(%r15), %rdi
	callq	_le64_to_cpu
	movq	_IPG_RFS_RXALIGNMENTERROR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_IPG_DEBUG_MSG
	incl	24(%rbx)
LBB0_8:
	movq	8(%rbx), %rax
	movq	_ERROR_PACKET@GOTPCREL(%rip), %r15
	cmpq	$0, (%rax,%r14,8)
	je	LBB0_10
## %bb.9:
	movl	20(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r12,%r13), %rdi
	callq	_le64_to_cpu
	movq	_IPG_RFI_FRAGLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	16(%rbx), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_pci_unmap_single
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_dev_kfree_skb_irq
	movq	8(%rbx), %rax
	movq	$0, (%rax,%r14,8)
LBB0_10:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPG_RFDLIST_LENGTH,4,2         ## @IPG_RFDLIST_LENGTH
	.comm	_IPG_DROP_ON_RX_ETH_ERRORS,8,3  ## @IPG_DROP_ON_RX_ETH_ERRORS
	.comm	_IPG_RFS_RXFIFOOVERRUN,4,2      ## @IPG_RFS_RXFIFOOVERRUN
	.comm	_IPG_RFS_RXRUNTFRAME,4,2        ## @IPG_RFS_RXRUNTFRAME
	.comm	_IPG_RFS_RXALIGNMENTERROR,4,2   ## @IPG_RFS_RXALIGNMENTERROR
	.comm	_IPG_RFS_RXFCSERROR,4,2         ## @IPG_RFS_RXFCSERROR
	.comm	_IPG_RFS_RXOVERSIZEDFRAME,4,2   ## @IPG_RFS_RXOVERSIZEDFRAME
	.comm	_IPG_RFS_RXLENGTHERROR,4,2      ## @IPG_RFS_RXLENGTHERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx error, RFS = %16.16lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"RX FIFO overrun occured.\n"

L_.str.2:                               ## @.str.2
	.asciz	"RX runt occured.\n"

L_.str.3:                               ## @.str.3
	.asciz	"RX alignment error occured.\n"

	.comm	_IPG_RFI_FRAGLEN,4,2            ## @IPG_RFI_FRAGLEN
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_ERROR_PACKET,4,2               ## @ERROR_PACKET
	.comm	_NORMAL_PACKET,4,2              ## @NORMAL_PACKET
	.no_dead_strip	_ipg_nic_rx_check_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipg_nic_rx_check_error
_ipg_nic_rx_check_error:                ; @ipg_nic_rx_check_error
	.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
	bl	_netdev_priv
Lloh0:
	adrp	x8, _IPG_DROP_ON_RX_ETH_ERRORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPG_DROP_ON_RX_ETH_ERRORS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _IPG_RFDLIST_LENGTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPG_RFDLIST_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	udiv	w10, w8, w9
	msub	w21, w10, w9, w8
	ldr	x22, [x0, #40]
	add	x20, x22, x21, lsl #4
	ldr	x0, [x20, #8]!
	bl	_le64_to_cpu
Lloh6:
	adrp	x25, _IPG_RFS_RXFIFOOVERRUN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _IPG_RFS_RXFIFOOVERRUN@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh8:
	adrp	x24, _IPG_RFS_RXRUNTFRAME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _IPG_RFS_RXRUNTFRAME@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w8, w9, w8
Lloh10:
	adrp	x23, _IPG_RFS_RXALIGNMENTERROR@GOTPAGE
Lloh11:
	ldr	x23, [x23, _IPG_RFS_RXALIGNMENTERROR@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh12:
	adrp	x10, _IPG_RFS_RXFCSERROR@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IPG_RFS_RXFCSERROR@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _IPG_RFS_RXOVERSIZEDFRAME@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IPG_RFS_RXOVERSIZEDFRAME@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IPG_RFS_RXLENGTHERROR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IPG_RFS_RXLENGTHERROR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w0
	b.eq	LBB0_11
; %bb.2:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_IPG_DEBUG_MSG
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
	ldr	x0, [x20]
	bl	_le64_to_cpu
	ldr	w8, [x25]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IPG_DEBUG_MSG
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
LBB0_4:
	ldr	x0, [x20]
	bl	_le64_to_cpu
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_IPG_DEBUG_MSG
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
LBB0_6:
	ldr	x0, [x20]
	bl	_le64_to_cpu
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_IPG_DEBUG_MSG
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w20, [x19, #20]
	lsl	x8, x21, #4
	ldr	x0, [x22, x8]
	bl	_le64_to_cpu
Lloh29:
	adrp	x8, _IPG_RFI_FRAGLEN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IPG_RFI_FRAGLEN@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w2, [x19, #16]
Lloh32:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_pci_unmap_single
	ldr	x8, [x19, #8]
	lsl	x20, x21, #3
	ldr	x0, [x8, x20]
	bl	_dev_kfree_skb_irq
	ldr	x8, [x19, #8]
	str	xzr, [x8, x20]
LBB0_10:
Lloh35:
	adrp	x8, _ERROR_PACKET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERROR_PACKET@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh37:
	adrp	x8, _NORMAL_PACKET@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NORMAL_PACKET@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IPG_RFDLIST_LENGTH,4,2         ; @IPG_RFDLIST_LENGTH
	.comm	_IPG_DROP_ON_RX_ETH_ERRORS,8,3  ; @IPG_DROP_ON_RX_ETH_ERRORS
	.comm	_IPG_RFS_RXFIFOOVERRUN,4,2      ; @IPG_RFS_RXFIFOOVERRUN
	.comm	_IPG_RFS_RXRUNTFRAME,4,2        ; @IPG_RFS_RXRUNTFRAME
	.comm	_IPG_RFS_RXALIGNMENTERROR,4,2   ; @IPG_RFS_RXALIGNMENTERROR
	.comm	_IPG_RFS_RXFCSERROR,4,2         ; @IPG_RFS_RXFCSERROR
	.comm	_IPG_RFS_RXOVERSIZEDFRAME,4,2   ; @IPG_RFS_RXOVERSIZEDFRAME
	.comm	_IPG_RFS_RXLENGTHERROR,4,2      ; @IPG_RFS_RXLENGTHERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx error, RFS = %16.16lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"RX FIFO overrun occured.\n"

l_.str.2:                               ; @.str.2
	.asciz	"RX runt occured.\n"

l_.str.3:                               ; @.str.3
	.asciz	"RX alignment error occured.\n"

	.comm	_IPG_RFI_FRAGLEN,4,2            ; @IPG_RFI_FRAGLEN
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_ERROR_PACKET,4,2               ; @ERROR_PACKET
	.comm	_NORMAL_PACKET,4,2              ; @NORMAL_PACKET
	.no_dead_strip	_ipg_nic_rx_check_error
.subsections_via_symbols
