	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r15
	leaq	4(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movslq	(%r15), %rax
	leaq	(,%rax,8), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	movq	24(%r15), %rdx
	addq	%rcx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %r12
	movq	_STS_CTRL_APP0_CMPLT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r12,%rcx)
	je	LBB0_5
## %bb.1:
	addq	%rcx, %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	cltq
	movq	(%rcx,%rax,8), %r14
	movl	4(%r12), %ebx
	movl	(%r14), %edi
	callq	_virt_to_bus
	movl	(%r13), %edi
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_dma_unmap_single
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	movq	%r13, 16(%r14)
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_eth_type_trans
	movl	%eax, 8(%r14)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r14)
	movq	%r14, %rdi
	movq	_XTE_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %r14
	callq	_netif_rx
	incl	8(%r13)
	addl	%ebx, 4(%r13)
	movq	_XTE_ALIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_BUFFER_ALIGN
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_reserve
	movq	_STS_CTRL_APP0_IRQONEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movq	(%r14), %rdx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_map_single
	movl	%eax, 16(%r12)
	movq	(%r14), %rax
	movq	%rax, 8(%r12)
	movq	16(%r15), %rax
	movslq	(%r15), %rcx
	movq	%rbx, (%rax,%rcx,8)
	incq	%rcx
	movq	_RX_BD_NUM@GOTPCREL(%rip), %rax
	cmpq	%rcx, (%rax)
	movl	$0, %eax
	cmoval	%ecx, %eax
	movl	%eax, (%r15)
	movq	8(%r15), %rcx
	movslq	%eax, %rdx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rcx,%rdx,8), %r12
	movq	_STS_CTRL_APP0_CMPLT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	testl	%esi, (%rcx,%rdx,8)
	jne	LBB0_2
LBB0_5:
	movq	_RX_TAILDESC_PTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_temac_dma_out32
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %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	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.comm	_XTE_MAX_JUMBO_FRAME_SIZE,8,3   ## @XTE_MAX_JUMBO_FRAME_SIZE
	.comm	_XTE_ALIGN,8,3                  ## @XTE_ALIGN
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory for new sk_buff\n"

	.comm	_STS_CTRL_APP0_IRQONEND,4,2     ## @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	x20, x0
	bl	_netdev_priv
	mov	x21, x0
	add	x0, x0, #4
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_spin_lock_irqsave
	ldr	x11, [x21, #24]
	ldrsw	x8, [x21]
	add	x9, x8, x8, lsl #1
	lsl	x10, x9, #3
	ldr	x9, [x21, #8]
	stp	x10, x11, [sp, #8]              ; 16-byte Folded Spill
	add	x24, x9, x10
	ldr	w9, [x24]
Lloh0:
	adrp	x26, _STS_CTRL_APP0_CMPLT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _STS_CTRL_APP0_CMPLT@GOTPAGEOFF]
	ldr	w10, [x26]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x27, _DMA_FROM_DEVICE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh4:
	adrp	x19, _XTE_MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh5:
	ldr	x19, [x19, _XTE_MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x28, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x28, [x28, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	adrp	x25, _RX_BD_NUM@GOTPAGE
Lloh9:
	ldr	x25, [x25, _RX_BD_NUM@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #16]
	ldr	x22, [x9, w8, sxtw #3]
	ldr	w23, [x24, #4]
	ldr	w0, [x22]
	bl	_virt_to_bus
	mov	x1, x0
	ldr	w0, [x20]
	ldr	w3, [x27]
	mov	x2, x23
	bl	_dma_unmap_single
	mov	x0, x22
	mov	x1, x23
	bl	_skb_put
	str	x20, [x22, #16]
	mov	x0, x22
	mov	x1, x20
	bl	_eth_type_trans
Lloh10:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w8, w0, [x22, #4]
	mov	x0, x22
	bl	_netif_rx
	ldur	d0, [x20, #4]
	movi.2s	v1, #1
	mov.s	v1[0], w23
	add.2s	v0, v0, v1
	stur	d0, [x20, #4]
	ldr	x8, [x19]
Lloh13:
	adrp	x9, _XTE_ALIGN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _XTE_ALIGN@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x0, x9, x8
	ldr	w1, [x28]
	bl	_alloc_skb
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_BUFFER_ALIGN
	mov	x1, x0
	mov	x0, x22
	bl	_skb_reserve
Lloh16:
	adrp	x8, _STS_CTRL_APP0_IRQONEND@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STS_CTRL_APP0_IRQONEND@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x24]
	ldr	w0, [x20]
	ldr	w1, [x22]
	ldr	x2, [x19]
	ldr	w3, [x27]
	bl	_dma_map_single
	str	w0, [x24, #16]
	ldr	x8, [x19]
	str	x8, [x24, #8]
	ldr	x8, [x21, #16]
	ldrsw	x9, [x21]
	str	x22, [x8, x9, lsl #3]
	add	x8, x9, #1
	ldr	x9, [x25]
	cmp	x9, x8
	csel	w8, w8, wzr, hi
	str	w8, [x21]
	ldr	x9, [x21, #8]
	mov	w10, #24
	smaddl	x24, w8, w10, x9
	ldr	w9, [x24]
	ldr	w10, [x26]
	tst	w10, w9
	b.ne	LBB0_2
LBB0_4:
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	add	x2, x9, x8
Lloh19:
	adrp	x8, _RX_TAILDESC_PTR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RX_TAILDESC_PTR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_temac_dma_out32
	b	LBB0_6
LBB0_5:
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_6:
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_STS_CTRL_APP0_CMPLT,4,2        ; @STS_CTRL_APP0_CMPLT
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.comm	_XTE_MAX_JUMBO_FRAME_SIZE,8,3   ; @XTE_MAX_JUMBO_FRAME_SIZE
	.comm	_XTE_ALIGN,8,3                  ; @XTE_ALIGN
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory for new sk_buff\n"

	.comm	_STS_CTRL_APP0_IRQONEND,4,2     ; @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
