	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lance_rx
_lance_rx:                              ## @lance_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	$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	%rax, %r14
	movq	8(%rax), %r12
	movq	_LE_C0_RINT@GOTPCREL(%rip), %rax
	movq	_LE_C0_INEA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	_WRITERDP
	movq	8(%r12), %rsi
	movslq	(%r14), %rdx
	movl	(%rsi,%rdx,8), %ecx
	movq	_LE_R1_OWN@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	testb	%al, %cl
	je	LBB0_1
LBB0_20:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	(%rsi,%rdx,8), %r13
	movq	_LE_R1_POK@GOTPCREL(%rip), %r9
	movq	_LE_R1_ERR@GOTPCREL(%rip), %r10
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	28(%r15)
	incl	20(%r15)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rcx
	movslq	%edx, %rsi
	leaq	(%rcx,%rsi,8), %r13
	movl	(%rcx,%rsi,8), %ecx
	testb	%al, %cl
	jne	LBB0_20
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r9), %esi
	movl	%ecx, %edi
	notl	%edi
	testl	%edi, %esi
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%r10), %edx
	testl	%edx, %ecx
	je	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_LE_R1_BUF@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	36(%r15)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_LE_R1_CRC@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	32(%r15)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_LE_R1_OFL@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	28(%r15)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_LE_R1_FRA@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	24(%r15)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_LE_R1_EOP@GOTPCREL(%rip), %rdx
	movzbl	(%rdx), %edx
	testl	%edx, %ecx
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	20(%r15)
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
	movl	4(%r13), %ebx
	movl	$4095, %eax                     ## imm = 0xFFF
	andl	%eax, %ebx
	leal	-2(%rbx), %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	addl	$-4, %ebx
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	movq	(%r14), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movslq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_skb_copy_to_linear_data
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_netif_rx
	incl	12(%r15)
	addl	%ebx, 8(%r15)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	_LE_R1_OWN@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	movq	_LE_R1_POK@GOTPCREL(%rip), %r9
	movq	_LE_R1_ERR@GOTPCREL(%rip), %r10
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, 4(%r13)
	movl	%eax, (%r13)
	movl	(%r14), %edx
	incl	%edx
	andl	4(%r14), %edx
	movl	%edx, (%r14)
	movl	(%r8), %eax
	jmp	LBB0_19
LBB0_16:
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	incl	16(%r15)
	movl	$0, 4(%r13)
	movq	_LE_R1_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	incl	%eax
	andl	4(%rcx), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_LE_C0_RINT,4,2                 ## @LE_C0_RINT
	.comm	_LE_C0_INEA,4,2                 ## @LE_C0_INEA
	.comm	_LE_R1_OWN,4,2                  ## @LE_R1_OWN
	.comm	_LE_R1_POK,1,0                  ## @LE_R1_POK
	.comm	_LE_R1_ERR,1,0                  ## @LE_R1_ERR
	.comm	_LE_R1_BUF,1,0                  ## @LE_R1_BUF
	.comm	_LE_R1_CRC,1,0                  ## @LE_R1_CRC
	.comm	_LE_R1_OFL,1,0                  ## @LE_R1_OFL
	.comm	_LE_R1_FRA,1,0                  ## @LE_R1_FRA
	.comm	_LE_R1_EOP,1,0                  ## @LE_R1_EOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Memory squeeze, deferring packet.\n"

	.comm	_RX_RING_SIZE,4,2               ## @RX_RING_SIZE
	.no_dead_strip	_lance_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lance_rx
_lance_rx:                              ; @lance_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _LE_C0_RINT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LE_C0_RINT@GOTPAGEOFF]
	ldr	x24, [x0, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _LE_C0_INEA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LE_C0_INEA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_WRITERDP
	ldr	x8, [x24, #8]
	ldrsw	x10, [x19]
	add	x25, x8, x10, lsl #3
	ldr	w9, [x25]
Lloh6:
	adrp	x23, _LE_R1_OWN@GOTPAGE
Lloh7:
	ldr	x23, [x23, _LE_R1_OWN@GOTPAGEOFF]
	ldr	w8, [x23]
	and	w11, w9, w8
	tst	w11, #0xff
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #0
	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
LBB0_2:
Lloh8:
	adrp	x26, _LE_R1_POK@GOTPAGE
Lloh9:
	ldr	x26, [x26, _LE_R1_POK@GOTPAGEOFF]
Lloh10:
	adrp	x27, _LE_R1_ERR@GOTPAGE
Lloh11:
	ldr	x27, [x27, _LE_R1_ERR@GOTPAGEOFF]
Lloh12:
	adrp	x28, _LE_R1_EOP@GOTPAGE
Lloh13:
	ldr	x28, [x28, _LE_R1_EOP@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #28]
	add	w9, w9, #1
	str	w9, [x20, #28]
	ldr	w9, [x20, #20]
	add	w9, w9, #1
	str	w9, [x20, #20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x24, #8]
	add	x25, x9, w10, sxtw #3
	ldr	w9, [x25]
	and	w11, w9, w8
	tst	w11, #0xff
	b.ne	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x26]
	bics	wzr, w11, w9
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w10, [x27]
	tst	w9, w10
	b.eq	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x10, _LE_R1_BUF@GOTPAGE
Lloh15:
	ldr	x10, [x10, _LE_R1_BUF@GOTPAGEOFF]
	ldrb	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x20, #36]
	add	w10, w10, #1
	str	w10, [x20, #36]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x10, _LE_R1_CRC@GOTPAGE
Lloh17:
	ldr	x10, [x10, _LE_R1_CRC@GOTPAGEOFF]
	ldrb	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x20, #32]
	add	w10, w10, #1
	str	w10, [x20, #32]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh18:
	adrp	x10, _LE_R1_OFL@GOTPAGE
Lloh19:
	ldr	x10, [x10, _LE_R1_OFL@GOTPAGEOFF]
	ldrb	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x20, #28]
	add	w10, w10, #1
	str	w10, [x20, #28]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x10, _LE_R1_FRA@GOTPAGE
Lloh21:
	ldr	x10, [x10, _LE_R1_FRA@GOTPAGEOFF]
	ldrb	w10, [x10]
	tst	w9, w10
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x20, #24]
	add	w10, w10, #1
	str	w10, [x20, #24]
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w10, [x28]
	tst	w9, w10
	b.eq	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #20]
	add	w9, w9, #1
	str	w9, [x20, #20]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x25, #4]
	and	w22, w8, #0xfff
	sub	w0, w22, #2
	bl	_dev_alloc_skb
	cbz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	sub	w22, w22, #4
	mov	w1, #2
	bl	_skb_reserve
	mov	x0, x21
	mov	x1, x22
	bl	_skb_put
	ldr	x8, [x24]
	ldrsw	x9, [x19]
	ldr	x1, [x8, x9, lsl #3]
	mov	x0, x21
	mov	x2, x22
	bl	_skb_copy_to_linear_data
	mov	x0, x21
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x21]
	mov	x0, x21
	bl	_netif_rx
	ldr	d0, [x20, #8]
	movi.2s	v1, #1
	mov.s	v1[0], w22
	add.2s	v0, v0, v1
	str	d0, [x20, #8]
	ldr	w8, [x23]
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [x25, #4]
	str	w8, [x25]
	ldp	w8, w9, [x19]
	add	w8, w8, #1
	and	w10, w8, w9
	str	w10, [x19]
	ldr	w8, [x23]
	b	LBB0_4
LBB0_20:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	str	wzr, [x25, #4]
	ldr	w8, [x23]
	str	w8, [x25]
	ldp	w8, w9, [x19]
	add	w8, w8, #1
	and	w8, w8, w9
	str	w8, [x19]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_LE_C0_RINT,4,2                 ; @LE_C0_RINT
	.comm	_LE_C0_INEA,4,2                 ; @LE_C0_INEA
	.comm	_LE_R1_OWN,4,2                  ; @LE_R1_OWN
	.comm	_LE_R1_POK,1,0                  ; @LE_R1_POK
	.comm	_LE_R1_ERR,1,0                  ; @LE_R1_ERR
	.comm	_LE_R1_BUF,1,0                  ; @LE_R1_BUF
	.comm	_LE_R1_CRC,1,0                  ; @LE_R1_CRC
	.comm	_LE_R1_OFL,1,0                  ; @LE_R1_OFL
	.comm	_LE_R1_FRA,1,0                  ; @LE_R1_FRA
	.comm	_LE_R1_EOP,1,0                  ; @LE_R1_EOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Memory squeeze, deferring packet.\n"

	.comm	_RX_RING_SIZE,4,2               ; @RX_RING_SIZE
	.no_dead_strip	_lance_rx
.subsections_via_symbols
