	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ll_temac_recv
_ll_temac_recv:                         ## @ll_temac_recv
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	8(%rax), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movslq	(%rbx), %rax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %r14
	movq	40(%rbx), %rax
	addq	%r14, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %r13
	movq	(%r13,%r14), %rdi
	callq	_be32_to_cpu
	movq	_STS_CTRL_APP0_CMPLT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.1:
	addq	%r14, %r13
	movq	_XTE_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	32(%r13), %rdi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	andl	$16383, %ebx                    ## imm = 0x3FFF
	movq	%r13, %rax
	movq	%r12, %r13
	movl	(%r12), %r12d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rdi
	callq	_be32_to_cpu
	movq	(%r15), %rdx
	movl	%ebx, %r15d
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	%r12d, %edi
	movq	%r13, %r12
	movl	%eax, %esi
	callq	_dma_unmap_single
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_skb_put
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eth_type_trans
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	_skb_checksum_none_assert
	movq	_TEMAC_FEATURE_RX_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 4(%rcx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r14), %r12d
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %r12d
	movq	%r13, %r12
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65, (%r14)
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rdi
	callq	_be32_to_cpu
	movzwl	%ax, %edi
	callq	_htons
	movl	%eax, 12(%r14)
	movq	_CHECKSUM_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r13
	movq	%r14, %rdi
	callq	_skb_defer_rx_timestamp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_netif_rx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	8(%r12)
	addl	%r15d, 4(%r12)
	movq	_XTE_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_netdev_alloc_skb_ip_align
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r14
	movq	_STS_CTRL_APP0_IRQONEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_be32
	movq	%rax, (%rbx)
	movl	(%r12), %edi
	movl	4(%r14), %esi
	movq	(%r15), %rdx
	movl	(%r13), %ecx
	callq	_dma_map_single
	movq	%rax, %rdi
	callq	_cpu_to_be32
	movq	%rax, 16(%rbx)
	movq	(%r15), %rdi
	callq	_cpu_to_be32
	movq	%rax, 8(%rbx)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	32(%rbx), %rax
	movslq	(%rbx), %rcx
	movq	%r14, (%rax,%rcx,8)
	incq	%rcx
	movq	_RX_BD_NUM@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movl	$0, %eax
	cmoval	%ecx, %eax
	movl	%eax, (%rbx)
	movq	24(%rbx), %rcx
	cltq
	leaq	(%rax,%rax,4), %rax
	leaq	(%rcx,%rax,8), %r13
	movq	(%rcx,%rax,8), %rdi
	callq	_be32_to_cpu
	movq	_STS_CTRL_APP0_CMPLT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
LBB0_10:
	movq	_RX_TAILDESC_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	*16(%rbx)
LBB0_11:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STS_CTRL_APP0_CMPLT,4,2        ## @STS_CTRL_APP0_CMPLT
	.comm	_XTE_MAX_JUMBO_FRAME_SIZE,8,3   ## @XTE_MAX_JUMBO_FRAME_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_TEMAC_FEATURE_RX_CSUM,4,2      ## @TEMAC_FEATURE_RX_CSUM
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_CHECKSUM_COMPLETE,4,2          ## @CHECKSUM_COMPLETE
	.comm	_STS_CTRL_APP0_IRQONEND,8,3     ## @STS_CTRL_APP0_IRQONEND
	.comm	_RX_BD_NUM,8,3                  ## @RX_BD_NUM
	.comm	_RX_TAILDESC_PTR,4,2            ## @RX_TAILDESC_PTR
	.no_dead_strip	_ll_temac_recv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ll_temac_recv
_ll_temac_recv:                         ; @ll_temac_recv
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
	add	x0, x0, #8
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_spin_lock_irqsave
	ldr	x10, [x20, #40]
	ldrsw	x8, [x20]
	add	x8, x8, x8, lsl #2
	lsl	x9, x8, #3
	ldr	x8, [x20, #24]
	stp	x9, x10, [sp, #8]               ; 16-byte Folded Spill
	add	x28, x8, x9
	ldr	x0, [x28]
	bl	_be32_to_cpu
Lloh0:
	adrp	x27, _STS_CTRL_APP0_CMPLT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _STS_CTRL_APP0_CMPLT@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.1:
Lloh2:
	adrp	x25, _XTE_MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _XTE_MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x26, _DMA_FROM_DEVICE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh6:
	adrp	x19, _TEMAC_FEATURE_RX_CSUM@GOTPAGE
Lloh7:
	ldr	x19, [x19, _TEMAC_FEATURE_RX_CSUM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldrsw	x9, [x20]
	ldr	x22, [x8, x9, lsl #3]
	ldr	x0, [x28, #32]
	bl	_be32_to_cpu
	and	w23, w0, #0x3fff
	ldr	w24, [x21]
	ldr	x0, [x28, #16]
	bl	_be32_to_cpu
	mov	x1, x0
	ldr	x2, [x25]
	ldr	w3, [x26]
	mov	x0, x24
	bl	_dma_unmap_single
	mov	x0, x22
	mov	x1, x23
	bl	_skb_put
	mov	x0, x22
	mov	x1, x21
	bl	_eth_type_trans
	str	w0, [x22, #16]
	mov	x0, x22
	bl	_skb_checksum_none_assert
	ldr	w8, [x20, #4]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w24, [x22, #16]
Lloh8:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_htons
	cmp	w24, w0
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	cmp	w8, #65
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28, #24]
	bl	_be32_to_cpu
	and	w0, w0, #0xffff
	bl	_htons
Lloh11:
	adrp	x8, _CHECKSUM_COMPLETE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CHECKSUM_COMPLETE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, w0, [x22, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_skb_defer_rx_timestamp
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_netif_rx
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldur	d0, [x21, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	stur	d0, [x21, #4]
	ldr	x1, [x25]
	mov	x0, x21
	bl	_netdev_alloc_skb_ip_align
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
Lloh14:
	adrp	x8, _STS_CTRL_APP0_IRQONEND@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STS_CTRL_APP0_IRQONEND@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	bl	_cpu_to_be32
	str	x0, [x28]
	ldr	w0, [x21]
	ldr	w1, [x22, #4]
	ldr	x2, [x25]
	ldr	w3, [x26]
	bl	_dma_map_single
	bl	_cpu_to_be32
	str	x0, [x28, #16]
	ldr	x0, [x25]
	bl	_cpu_to_be32
	str	x0, [x28, #8]
	ldr	x8, [x20, #32]
	ldrsw	x9, [x20]
	str	x22, [x8, x9, lsl #3]
	add	x8, x9, #1
Lloh17:
	adrp	x9, _RX_BD_NUM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RX_BD_NUM@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	csel	w8, w8, wzr, hi
	str	w8, [x20]
	ldr	x9, [x20, #24]
	mov	w10, #40
	smaddl	x28, w8, w10, x9
	ldr	x0, [x28]
	bl	_be32_to_cpu
	ldr	w8, [x27]
	tst	w8, w0
	b.ne	LBB0_2
LBB0_10:
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	add	x2, x9, x8
	ldr	x8, [x20, #16]
Lloh20:
	adrp	x9, _RX_TAILDESC_PTR@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RX_TAILDESC_PTR@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x9]
	mov	x0, x20
	blr	x8
LBB0_11:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_STS_CTRL_APP0_CMPLT,4,2        ; @STS_CTRL_APP0_CMPLT
	.comm	_XTE_MAX_JUMBO_FRAME_SIZE,8,3   ; @XTE_MAX_JUMBO_FRAME_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_TEMAC_FEATURE_RX_CSUM,4,2      ; @TEMAC_FEATURE_RX_CSUM
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_CHECKSUM_COMPLETE,4,2          ; @CHECKSUM_COMPLETE
	.comm	_STS_CTRL_APP0_IRQONEND,8,3     ; @STS_CTRL_APP0_IRQONEND
	.comm	_RX_BD_NUM,8,3                  ; @RX_BD_NUM
	.comm	_RX_TAILDESC_PTR,4,2            ; @RX_TAILDESC_PTR
	.no_dead_strip	_ll_temac_recv
.subsections_via_symbols
