	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	48(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movslq	(%rdi), %r12
	movl	4(%rdi), %r15d
	movq	16(%rdi), %rax
	movq	(%rax,%r12,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	(%rbx), %rdi
	callq	_be32_to_cpu
	movl	%eax, %r14d
	movq	_ERXBUF_V@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_14
## %bb.1:
	leaq	44(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	28(%r13), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	(%rax)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	movslq	%r15d, %r15
	movq	%r14, (%rax,%r15,8)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ioc3_map
	movl	%eax, %edi
	callq	_cpu_to_be64
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r15,8)
	movq	$0, (%rbx)
	incl	%r15d
	andl	$511, %r15d                     ## imm = 0x1FF
	incl	%r12d
	andl	$511, %r12d                     ## imm = 0x1FF
	movq	16(%r13), %rax
	movq	(%rax,%r12,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rax), %rbx
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	movq	(%rbx), %rdi
	callq	_be32_to_cpu
	movl	%eax, %r14d
	movq	_ERXBUF_V@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	callq	_be32_to_cpu
	movl	%eax, %esi
	movq	_ERXBUF_GOODPKT@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movq	_ERXBUF_BYTECNT_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%r14d, %r13d
	sarl	%cl, %r13d
	andl	$2047, %r13d                    ## imm = 0x7FF
	addl	$-4, %r13d
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_skb_trim
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_priv_netdev
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_eth_type_trans
	movl	%eax, 8(%r14)
	movq	_RX_BUF_ALLOC_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioc3_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_IOC3_FLAG_RX_CHECKSUMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r14
	andl	8(%rax), %edi
	callq	_likely
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERXBUF_IPCKSUM_MASK@GOTPCREL(%rip), %rax
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	andl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_ioc3_tcpudp_checksum
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_netif_rx
	movq	16(%r14), %rax
	movslq	%r12d, %rcx
	movq	$0, (%rax,%rcx,8)
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	$1664, %eax                     ## imm = 0x680
	addq	%rax, %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_skb_put
	movq	(%r14), %rbx
	movq	_RX_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_skb_reserve
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	40(%rax)
	addl	%r13d, 24(%rax)
	movq	%rax, %r13
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	36(%r13)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERXBUF_CRCERR@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	32(%r13)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	_ERXBUF_FRAMERR@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	leal	(,%r15,8), %edi
	movq	_ERPIR_ARM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_ioc3_w_erpir
	movl	%r15d, 4(%r13)
	movl	%r12d, (%r13)
	addq	$56, %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	_RX_BUF_ALLOC_SIZE,4,2          ## @RX_BUF_ALLOC_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_IOC3_FLAG_RX_CHECKSUMS,4,2     ## @IOC3_FLAG_RX_CHECKSUMS
	.comm	_ERXBUF_IPCKSUM_MASK,4,2        ## @ERXBUF_IPCKSUM_MASK
	.comm	_ERXBUF_CRCERR,4,2              ## @ERXBUF_CRCERR
	.comm	_ERXBUF_FRAMERR,4,2             ## @ERXBUF_FRAMERR
	.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	ldr	x28, [x0, #48]
	ldp	w26, w27, [x0]
                                        ; kill: def $w26 killed $w26 def $x26
	sxtw	x26, w26
	ldr	x8, [x0, #16]
	ldr	x20, [x8, x26, lsl #3]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _RX_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x21, x8, x9
	ldr	x0, [x21]
	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_14
; %bb.1:
	mov	x23, x0
	add	x9, x19, #44
	add	x8, x19, #28
	stp	x9, x8, [sp]                    ; 16-byte Folded Spill
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	sbfiz	x22, x27, #3, #32
	str	x20, [x8, x22]
	mov	x0, x21
	mov	w1, #1
	bl	_ioc3_map
	bl	_cpu_to_be64
	str	x0, [x28, x22]
	str	xzr, [x21]
	add	w8, w27, #1
	and	w27, w8, #0x1ff
	add	w8, w26, #1
	and	w26, w8, #0x1ff
	ldr	x8, [x19, #16]
	ldr	x20, [x8, w26, uxtw #3]
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _RX_OFFSET@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	sub	x21, x8, x9
	ldr	x0, [x21]
	bl	_be32_to_cpu
	mov	x23, x0
Lloh9:
	adrp	x8, _ERXBUF_V@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERXBUF_V@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, #8]
	bl	_be32_to_cpu
	mov	x22, x0
Lloh12:
	adrp	x8, _ERXBUF_GOODPKT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERXBUF_GOODPKT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh15:
	adrp	x8, _ERXBUF_BYTECNT_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERXBUF_BYTECNT_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	asr	w8, w23, w8
	and	w8, w8, #0x7ff
	sub	w24, w8, #4
	mov	x0, x20
	mov	x1, x24
	bl	_skb_trim
	mov	x0, x19
	bl	_priv_netdev
	mov	x1, x0
	mov	x0, x20
	bl	_eth_type_trans
	str	w0, [x20, #8]
Lloh18:
	adrp	x8, _RX_BUF_ALLOC_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RX_BUF_ALLOC_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_ioc3_alloc_skb
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	ldr	w8, [x19, #8]
Lloh24:
	adrp	x9, _IOC3_FLAG_RX_CHECKSUMS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IOC3_FLAG_RX_CHECKSUMS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_likely
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh27:
	adrp	x8, _ERXBUF_IPCKSUM_MASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERXBUF_IPCKSUM_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w1, w8, w23
	mov	x0, x20
	mov	x2, x24
	bl	_ioc3_tcpudp_checksum
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_netif_rx
	ldr	x8, [x19, #16]
	str	xzr, [x8, w26, sxtw #3]
Lloh30:
	adrp	x20, _RX_OFFSET@GOTPAGE
Lloh31:
	ldr	x20, [x20, _RX_OFFSET@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x1, x8, #1664
	mov	x0, x25
	bl	_skb_put
	ldr	x21, [x25]
	ldr	x1, [x20]
	mov	x0, x25
	bl	_skb_reserve
	ldr	w8, [x19, #40]
	add	w8, w8, #1
	str	w8, [x19, #40]
	ldr	w8, [x19, #24]
	add	w8, w8, w24
	str	w8, [x19, #24]
	mov	x20, x25
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #36]
	add	w8, w8, #1
	str	w8, [x19, #36]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh32:
	adrp	x8, _ERXBUF_CRCERR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERXBUF_CRCERR@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #32]
	add	w8, w8, #1
	str	w8, [x19, #32]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x8, _ERXBUF_FRAMERR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERXBUF_FRAMERR@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	tst	w9, w22
	b.ne	LBB0_3
	b	LBB0_4
LBB0_14:
Lloh38:
	adrp	x8, _ERPIR_ARM@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERPIR_ARM@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w0, w8, w27, lsl #3
	bl	_ioc3_w_erpir
	stp	w26, w27, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.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	_RX_BUF_ALLOC_SIZE,4,2          ; @RX_BUF_ALLOC_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_IOC3_FLAG_RX_CHECKSUMS,4,2     ; @IOC3_FLAG_RX_CHECKSUMS
	.comm	_ERXBUF_IPCKSUM_MASK,4,2        ; @ERXBUF_IPCKSUM_MASK
	.comm	_ERXBUF_CRCERR,4,2              ; @ERXBUF_CRCERR
	.comm	_ERXBUF_FRAMERR,4,2             ; @ERXBUF_FRAMERR
	.comm	_ERPIR_ARM,4,2                  ; @ERPIR_ARM
	.no_dead_strip	_ioc3_rx
.subsections_via_symbols
