	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lance_rx_dvma
_lance_rx_dvma:                         ## @lance_rx_dvma
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	8(%rax), %rcx
	movslq	(%rax), %r12
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rdx
	movl	(%rdx,%r12,8), %ecx
	movq	_LE_R1_OWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	testl	%ecx, %esi
	jne	LBB0_21
## %bb.1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%r12,8), %r14
	movq	_LE_R1_POK@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	20(%r15)
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	12(%r15)
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$0, 4(%r14)
	movl	%esi, (%r14)
	movl	%r12d, %edi
	callq	_RX_NEXT
	movq	%rax, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r12d, %rcx
	leaq	(%rax,%rcx,8), %r14
	movl	(%rax,%rcx,8), %ecx
	movl	(%rbx), %esi
	testl	%ecx, %esi
	jne	LBB0_20
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edx
	notl	%edx
	testl	%edx, (%r13)
	jne	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_ERR@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_BUF@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	28(%r15)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_CRC@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	24(%r15)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_OFL@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	20(%r15)
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_FRA@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	incl	16(%r15)
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_LE_R1_EOP@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_3
	jmp	LBB0_4
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	4(%r14), %ebx
	movl	$4095, %eax                     ## imm = 0xFFF
	andl	%eax, %ebx
	leal	-2(%rbx), %esi
	movq	%r15, %rdi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	addl	$-4, %ebx
	addl	%ebx, (%r15)
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movslq	%r12d, %rcx
	movq	(%rdx,%rcx,8), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_skb_copy_to_linear_data
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_netif_rx
	incl	4(%r15)
	movq	_LE_R1_OWN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_LE_R1_POK@GOTPCREL(%rip), %r13
	jmp	LBB0_4
LBB0_19:
	incl	8(%r15)
	movl	$0, 4(%r14)
	movq	_LE_R1_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	%r12d, %edi
	callq	_RX_NEXT
	movq	%rax, %r12
LBB0_20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_21:
	movl	%r12d, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LE_R1_OWN,4,2                  ## @LE_R1_OWN
	.comm	_LE_R1_POK,4,2                  ## @LE_R1_POK
	.comm	_LE_R1_ERR,4,2                  ## @LE_R1_ERR
	.comm	_LE_R1_BUF,4,2                  ## @LE_R1_BUF
	.comm	_LE_R1_CRC,4,2                  ## @LE_R1_CRC
	.comm	_LE_R1_OFL,4,2                  ## @LE_R1_OFL
	.comm	_LE_R1_FRA,4,2                  ## @LE_R1_FRA
	.comm	_LE_R1_EOP,4,2                  ## @LE_R1_EOP
	.no_dead_strip	_lance_rx_dvma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lance_rx_dvma
_lance_rx_dvma:                         ; @lance_rx_dvma
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x25, [x0, #8]
	ldrsw	x20, [x0]
	ldr	x8, [x25, #8]
	add	x26, x8, x20, lsl #3
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	ldr	w9, [x26]
Lloh0:
	adrp	x24, _LE_R1_OWN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LE_R1_OWN@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w9
	b.eq	LBB0_2
LBB0_1:
	str	w20, [x19]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x27, _LE_R1_POK@GOTPAGE
Lloh3:
	ldr	x27, [x27, _LE_R1_POK@GOTPAGEOFF]
Lloh4:
	adrp	x28, _LE_R1_ERR@GOTPAGE
Lloh5:
	ldr	x28, [x28, _LE_R1_ERR@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x21, #20]
	add	w9, w9, #1
	str	w9, [x21, #20]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x21, #12]
	add	w9, w9, #1
	str	w9, [x21, #12]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	stp	w8, wzr, [x26]
	mov	x0, x20
	bl	_RX_NEXT
	mov	x20, x0
	ldr	x8, [x25, #8]
	lsl	x9, x0, #32
	add	x26, x8, x9, asr #29
	ldr	w9, [x26]
	ldr	w8, [x24]
	tst	w8, w9
	b.ne	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x27]
	bics	wzr, w10, w9
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x28]
	tst	w10, w9
	b.eq	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh6:
	adrp	x10, _LE_R1_BUF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _LE_R1_BUF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x21, #28]
	add	w10, w10, #1
	str	w10, [x21, #28]
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh9:
	adrp	x10, _LE_R1_CRC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _LE_R1_CRC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x21, #24]
	add	w10, w10, #1
	str	w10, [x21, #24]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x10, _LE_R1_OFL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _LE_R1_OFL@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x21, #20]
	add	w10, w10, #1
	str	w10, [x21, #20]
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x10, _LE_R1_FRA@GOTPAGE
Lloh16:
	ldr	x10, [x10, _LE_R1_FRA@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x21, #16]
	add	w10, w10, #1
	str	w10, [x21, #16]
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh18:
	adrp	x10, _LE_R1_EOP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _LE_R1_EOP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_4
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26, #4]
	and	w23, w8, #0xfff
	sub	w1, w23, #2
	mov	x0, x21
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	sub	w23, w23, #4
	ldr	w8, [x21]
	add	w8, w8, w23
	str	w8, [x21]
	mov	w1, #2
	bl	_skb_reserve
	mov	x0, x22
	mov	x1, x23
	bl	_skb_put
	ldr	x8, [x25]
	ldr	x1, [x8, w20, sxtw #3]
	mov	x0, x22
	mov	x2, x23
	bl	_skb_copy_to_linear_data
	mov	x0, x22
	mov	x1, x21
	bl	_eth_type_trans
	str	w0, [x22]
	mov	x0, x22
	bl	_netif_rx
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	ldr	w8, [x24]
	b	LBB0_5
LBB0_19:
	ldr	w8, [x21, #8]
	add	w8, w8, #1
	str	w8, [x21, #8]
	ldr	w8, [x24]
	stp	w8, wzr, [x26]
	mov	x0, x20
	bl	_RX_NEXT
	mov	x20, x0
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LE_R1_OWN,4,2                  ; @LE_R1_OWN
	.comm	_LE_R1_POK,4,2                  ; @LE_R1_POK
	.comm	_LE_R1_ERR,4,2                  ; @LE_R1_ERR
	.comm	_LE_R1_BUF,4,2                  ; @LE_R1_BUF
	.comm	_LE_R1_CRC,4,2                  ; @LE_R1_CRC
	.comm	_LE_R1_OFL,4,2                  ; @LE_R1_OFL
	.comm	_LE_R1_FRA,4,2                  ; @LE_R1_FRA
	.comm	_LE_R1_EOP,4,2                  ; @LE_R1_EOP
	.no_dead_strip	_lance_rx_dvma
.subsections_via_symbols
