	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_proc
_rx_proc:                               ## @rx_proc
	.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
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	(%rax), %r15
	movq	%rbx, %rdi
	callq	_DMA_BUFFER
	movq	%rax, %r13
	movl	(%r15), %edi
	movl	8(%rax), %esi
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edx
	callq	_pci_dma_sync_single_for_cpu
	leal	-2(%r12), %esi
	movq	%r14, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	addl	$-4, %r12d
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_skb_put_data
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, (%rbx)
	movq	_DMA_RX_CSUM_UDP@GOTPCREL(%rip), %rax
	movq	_DMA_RX_CSUM_TCP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_csum_verified
LBB0_4:
	incl	4(%r14)
	addl	%r12d, (%r14)
	movq	%rbx, %rdi
	callq	_netif_rx
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	incl	8(%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_DMA_RX_CSUM_UDP,4,2            ## @DMA_RX_CSUM_UDP
	.comm	_DMA_RX_CSUM_TCP,4,2            ## @DMA_RX_CSUM_TCP
	.no_dead_strip	_rx_proc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_proc
_rx_proc:                               ; @rx_proc
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x24, [x0]
	mov	x0, x21
	bl	_DMA_BUFFER
	mov	x23, x0
	ldr	w0, [x24]
	ldr	w1, [x23, #8]
Lloh0:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x2, x22
	bl	_pci_dma_sync_single_for_cpu
	sub	w1, w22, #2
	mov	x0, x19
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	sub	w22, w22, #4
	mov	w1, #2
	bl	_skb_reserve
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_skb_put_data
	mov	x0, x21
	mov	x1, x19
	bl	_eth_type_trans
	str	w0, [x21]
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _DMA_RX_CSUM_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_RX_CSUM_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _DMA_RX_CSUM_TCP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DMA_RX_CSUM_TCP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_csum_verified
LBB0_3:
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w22
	add.2s	v0, v0, v1
	str	d0, [x19]
	mov	x0, x21
	bl	_netif_rx
	mov	w0, #0
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_DMA_RX_CSUM_UDP,4,2            ; @DMA_RX_CSUM_UDP
	.comm	_DMA_RX_CSUM_TCP,4,2            ; @DMA_RX_CSUM_TCP
	.no_dead_strip	_rx_proc
.subsections_via_symbols
