	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qe_rx
_qe_rx:                                 ## @qe_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	32(%rdi), %rax
	movq	(%rax), %rbx
	movslq	(%rdi), %rcx
	movq	%rcx, %rax
	shlq	$4, %rax
	movl	(%rbx,%rax), %r12d
	movq	_RXD_OWN@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_1
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rdi), %rax
	movslq	16(%rdi), %rdx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	24(%rdi), %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	4(%rax), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	leaq	8(%rax), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addq	$12, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	16(%rax)
	movl	$1, %r14d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	incl	(%rcx)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%r14d, (%rax)
	shlq	$4, %r15
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%r13, 8(%rbx,%r15)
	movq	_RXD_OWN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	_RXD_LENGTH@GOTPCREL(%rip), %eax
	movl	%eax, (%rbx,%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NEXT_RX
	movl	%eax, %ecx
	cltq
	shlq	$4, %rax
	movl	(%rbx,%rax), %r12d
	testl	%r12d, (%r14)
	jne	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_RX_RING_SIZE@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rsi
	decq	%rsi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r14
	andq	%r14, %rsi
	movq	(%rax,%rsi,8), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	_rx_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_qebuf_offset
	movq	%rax, %r13
	addq	-104(%rbp), %r13                ## 8-byte Folded Reload
	movslq	(%rbx), %rax
	addq	%r14, %rax
	movq	_RX_RING_MAXSIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r15
	decq	%r15
	movq	_RXD_LENGTH@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r12d
	andq	%rax, %r15
	leal	-4(%r12), %r14d
	movq	_ETH_ZLEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$-2, %r12d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_netdev_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_skb_reserve
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movq	%rbx, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_skb_copy_to_linear_data
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	callq	_eth_type_trans
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_rx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_RXD_OWN,4,2                    ## @RXD_OWN
	.comm	_RX_RING_SIZE,4,2               ## @RX_RING_SIZE
	.comm	_rx_buf,4,2                     ## @rx_buf
	.comm	_RX_RING_MAXSIZE,4,2            ## @RX_RING_MAXSIZE
	.comm	_RXD_LENGTH,4,2                 ## @RXD_LENGTH
	.comm	_ETH_ZLEN,4,2                   ## @ETH_ZLEN
	.no_dead_strip	_qe_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qe_rx
_qe_rx:                                 ; @qe_rx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldr	x8, [x0, #32]
	ldr	x21, [x8]
	ldrsw	x20, [x0]
	lsl	x8, x20, #4
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	ldr	w23, [x21, x8]
Lloh0:
	adrp	x25, _RXD_OWN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RXD_OWN@GOTPAGEOFF]
	ldr	w8, [x25]
	tst	w8, w23
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	b.eq	LBB0_2
LBB0_1:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	w20, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
	ldr	x26, [x0, #8]
	ldrsw	x9, [x0, #16]
	ldr	x8, [x0, #24]
	stp	x9, x8, [sp, #48]               ; 16-byte Folded Spill
	add	x8, x26, #4
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x9, x26, #8
	add	x8, x26, #12
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
Lloh2:
	adrp	x27, _RXD_LENGTH@GOTPAGE
Lloh3:
	ldr	x27, [x27, _RXD_LENGTH@GOTPAGEOFF]
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26, #16]
	add	w8, w8, #1
	str	w8, [x26, #16]
	mov	w23, #1
	ldp	x9, x8, [sp, #32]               ; 16-byte Folded Reload
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x9, x22, x9
	add	w10, w19, w20
	and	w10, w28, w10
	sxtw	x10, w10
	ldr	w11, [x8]
	add	w11, w11, w23
	str	w11, [x8]
	add	x8, x21, x10, lsl #4
	str	x9, [x8, #8]
	ldr	w9, [x25]
	orr	w9, w9, w27
	str	w9, [x8]
	mov	x0, x20
	bl	_NEXT_RX
	mov	x20, x0
	sbfiz	x8, x20, #4, #32
	ldr	w23, [x21, x8]
	ldr	w8, [x25]
	tst	w8, w23
	b.ne	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh4:
	adrp	x19, _RX_RING_SIZE@GOTPAGE
Lloh5:
	ldr	x19, [x19, _RX_RING_SIZE@GOTPAGEOFF]
	ldr	w9, [x19]
	sub	w9, w9, #1
	and	w1, w9, w20
	ldr	x24, [x8, w1, sxtw #3]
Lloh6:
	adrp	x8, _rx_buf@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rx_buf@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_qebuf_offset
	mov	x22, x0
	ldr	w19, [x19]
Lloh9:
	adrp	x8, _RX_RING_MAXSIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_RING_MAXSIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	sub	w28, w8, #1
	ldr	w8, [x27]
	and	w8, w8, w23
	sub	w23, w8, #4
Lloh12:
	adrp	x9, _ETH_ZLEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ETH_ZLEN@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w23, w9
	b.lt	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x25
	sub	w1, w8, #2
	mov	x0, x26
	bl	_netdev_alloc_skb
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	mov	w1, #2
	bl	_skb_reserve
	mov	x0, x25
	mov	x1, x23
	bl	_skb_put
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_skb_copy_to_linear_data
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x1, [x8, #8]
	mov	x0, x25
	bl	_eth_type_trans
	str	w0, [x25]
	mov	x0, x25
	bl	_netif_rx
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	mov	x8, x26
	mov	x25, x27
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
Lloh15:
	adrp	x27, _RXD_LENGTH@GOTPAGE
Lloh16:
	ldr	x27, [x27, _RXD_LENGTH@GOTPAGEOFF]
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w23, #1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	mov	x25, x27
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
Lloh17:
	adrp	x27, _RXD_LENGTH@GOTPAGE
Lloh18:
	ldr	x27, [x27, _RXD_LENGTH@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RXD_OWN,4,2                    ; @RXD_OWN
	.comm	_RX_RING_SIZE,4,2               ; @RX_RING_SIZE
	.comm	_rx_buf,4,2                     ; @rx_buf
	.comm	_RX_RING_MAXSIZE,4,2            ; @RX_RING_MAXSIZE
	.comm	_RXD_LENGTH,4,2                 ; @RXD_LENGTH
	.comm	_ETH_ZLEN,4,2                   ; @ETH_ZLEN
	.no_dead_strip	_qe_rx
.subsections_via_symbols
