	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ioc3_rx
_ioc3_rx:                               ## @ioc3_rx
	.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	$72, %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
	callq	_netdev_priv
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	8(%rax), %r14
	movl	12(%rax), %r13d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rax), %rax
	movq	(%rax,%r14,8), %r15
	movq	(%r15), %r12
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %r12
	movq	%r12, -72(%rbp)
	movq	(%r12), %rdi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movq	_ERXBUF_V@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.1:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	4(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	16(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	callq	_be32_to_cpu
	movl	%eax, %edx
	movq	_ERXBUF_GOODPKT@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movq	_ERXBUF_BYTECNT_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%ebx, %r12d
	sarl	%cl, %r12d
	andl	$2047, %r12d                    ## imm = 0x7FF
	addl	$-4, %r12d
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_skb_put
	movq	%r15, %rdi
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_eth_type_trans
	movl	%eax, 8(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	-88(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-80(%rbp), %rcx
	callq	_ioc3_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	24(%rbx)
	movq	%r15, -88(%rbp)
	movslq	%r14d, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -80(%rbp)
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -88(%rbp)
	movslq	%r14d, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -80(%rbp)
	movl	$1, %r12d
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERXBUF_IPCKSUM_MASK@GOTPCREL(%rip), %rax
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	andl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_ioc3_tcpudp_checksum
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movslq	%r14d, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,8), %rsi
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	%r15, %rdi
	callq	_netif_rx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rax
	movq	$0, (%rax,%rbx,8)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incl	20(%rcx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	-96(%rbp), %edx                 ## 4-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%r12d, (%rax)
	movq	_ERXBUF_CRCERR@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	12(%rcx)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERXBUF_FRAMERR@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	8(%rcx)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rcx
	movslq	%r13d, %r13
	movq	%rax, (%rcx,%r13,8)
	movq	-80(%rbp), %rdi
	movq	_PCI64_ATTR_BAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioc3_map
	movl	%eax, %edi
	callq	_cpu_to_be64
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r13,8)
	movq	-72(%rbp), %rax
	movq	$0, (%rax)
	incl	%r13d
	movq	_RX_RING_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, %r13d
	incl	%r14d
	andl	%eax, %r14d
	movq	24(%rbx), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %r15
	movq	(%r15), %rax
	movq	_RX_OFFSET@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movq	%rax, -72(%rbp)
	movq	(%rax), %rdi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movq	_ERXBUF_V@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %r12
	jmp	LBB0_2
LBB0_15:
	leal	(,%r13,8), %edi
	movq	_ERPIR_ARM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rsi
	callq	_writel
	movl	%r13d, 12(%rbx)
	movl	%r14d, 8(%rbx)
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_OFFSET,8,3                  ## @RX_OFFSET
	.comm	_ERXBUF_V,4,2                   ## @ERXBUF_V
	.comm	_ERXBUF_GOODPKT,4,2             ## @ERXBUF_GOODPKT
	.comm	_ERXBUF_BYTECNT_SHIFT,4,2       ## @ERXBUF_BYTECNT_SHIFT
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_ERXBUF_IPCKSUM_MASK,4,2        ## @ERXBUF_IPCKSUM_MASK
	.comm	_RX_BUF_SIZE,4,2                ## @RX_BUF_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_ERXBUF_CRCERR,4,2              ## @ERXBUF_CRCERR
	.comm	_ERXBUF_FRAMERR,4,2             ## @ERXBUF_FRAMERR
	.comm	_PCI64_ATTR_BAR,4,2             ## @PCI64_ATTR_BAR
	.comm	_RX_RING_MASK,4,2               ## @RX_RING_MASK
	.comm	_ERPIR_ARM,4,2                  ## @ERPIR_ARM
	.no_dead_strip	_ioc3_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ioc3_rx
_ioc3_rx:                               ; @ioc3_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x27, [x0]
	ldp	w25, w26, [x0, #8]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
	ldr	x8, [x0, #24]
	ldr	x21, [x8, x25, lsl #3]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _RX_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x23, x8, x9
	str	x23, [sp, #32]
	ldr	x0, [x23]
	bl	_be32_to_cpu
Lloh3:
	adrp	x8, _ERXBUF_V@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERXBUF_V@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_15
; %bb.1:
	mov	x22, x0
	add	x9, x20, #4
	add	x8, x20, #16
	stp	x9, x8, [sp, #8]                ; 16-byte Folded Spill
Lloh6:
	adrp	x28, _RX_RING_MASK@GOTPAGE
Lloh7:
	ldr	x28, [x28, _RX_RING_MASK@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23, #8]
	bl	_be32_to_cpu
	mov	x23, x0
Lloh8:
	adrp	x8, _ERXBUF_GOODPKT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERXBUF_GOODPKT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh11:
	adrp	x8, _ERXBUF_BYTECNT_SHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERXBUF_BYTECNT_SHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	asr	w8, w22, w8
	and	w8, w8, #0x7ff
	sub	w24, w8, #4
	mov	x0, x21
	mov	x1, x24
	bl	_skb_put
	mov	x0, x21
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x21, #8]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x19
	bl	_ioc3_alloc_skb
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #24]
	add	w8, w8, #1
	str	w8, [x20, #24]
	str	x21, [sp, #40]
	ldr	x8, [x27, w25, sxtw #3]
	str	x8, [sp, #24]
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x21, [sp, #40]
	ldr	x8, [x27, w25, sxtw #3]
	str	x8, [sp, #24]
	mov	w24, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
Lloh14:
	adrp	x9, _NETIF_F_RXCSUM@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_likely
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _ERXBUF_IPCKSUM_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERXBUF_IPCKSUM_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	and	w1, w8, w22
	mov	x0, x21
	mov	x2, x24
	bl	_ioc3_tcpudp_checksum
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #32]
	sbfiz	x22, x25, #3, #32
	ldr	x1, [x27, x22]
Lloh20:
	adrp	x8, _RX_BUF_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RX_BUF_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	bl	_dma_unmap_single
	mov	x0, x21
	bl	_netif_rx
	ldr	x8, [x19, #24]
	str	xzr, [x8, x22]
	ldr	w8, [x20, #20]
	add	w8, w8, #1
	str	w8, [x20, #20]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x8]
	add	w9, w9, w24
	str	w9, [x8]
Lloh26:
	adrp	x8, _ERXBUF_CRCERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ERXBUF_CRCERR@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #12]
	add	w8, w8, #1
	str	w8, [x20, #12]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh29:
	adrp	x8, _ERXBUF_FRAMERR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERXBUF_FRAMERR@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [x19, #24]
	sbfiz	x21, x26, #3, #32
	str	x8, [x9, x21]
	ldr	x0, [sp, #24]
Lloh32:
	adrp	x8, _PCI64_ATTR_BAR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PCI64_ATTR_BAR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_ioc3_map
	bl	_cpu_to_be64
	str	x0, [x27, x21]
	ldr	x8, [sp, #32]
	str	xzr, [x8]
	add	w8, w26, #1
	ldr	w9, [x28]
	add	w10, w25, #1
	and	w25, w9, w10
	ldr	x10, [x19, #24]
	ldr	x21, [x10, w25, sxtw #3]
	and	w26, w9, w8
	ldr	x8, [x21]
Lloh35:
	adrp	x9, _RX_OFFSET@GOTPAGE
Lloh36:
	ldr	x9, [x9, _RX_OFFSET@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [sp, #32]
	ldr	x0, [x8]
	bl	_be32_to_cpu
Lloh38:
	adrp	x8, _ERXBUF_V@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERXBUF_V@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	x23, [sp, #32]
	b	LBB0_2
LBB0_15:
Lloh41:
	adrp	x8, _ERPIR_ARM@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERPIR_ARM@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	orr	w0, w8, w26, lsl #3
	ldr	x1, [x19, #16]
	bl	_writel
	stp	w25, w26, [x19, #8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_OFFSET,8,3                  ; @RX_OFFSET
	.comm	_ERXBUF_V,4,2                   ; @ERXBUF_V
	.comm	_ERXBUF_GOODPKT,4,2             ; @ERXBUF_GOODPKT
	.comm	_ERXBUF_BYTECNT_SHIFT,4,2       ; @ERXBUF_BYTECNT_SHIFT
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_ERXBUF_IPCKSUM_MASK,4,2        ; @ERXBUF_IPCKSUM_MASK
	.comm	_RX_BUF_SIZE,4,2                ; @RX_BUF_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_ERXBUF_CRCERR,4,2              ; @ERXBUF_CRCERR
	.comm	_ERXBUF_FRAMERR,4,2             ; @ERXBUF_FRAMERR
	.comm	_PCI64_ATTR_BAR,4,2             ; @PCI64_ATTR_BAR
	.comm	_RX_RING_MASK,4,2               ; @RX_RING_MASK
	.comm	_ERPIR_ARM,4,2                  ; @ERPIR_ARM
	.no_dead_strip	_ioc3_rx
.subsections_via_symbols
