	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc9420_rx_handoff
_smsc9420_rx_handoff:                   ## @smsc9420_rx_handoff
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %r13
	movq	24(%rdi), %r14
	movq	_RDES0_FRAME_LENGTH_MASK_@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movq	_RDES0_FRAME_LENGTH_SHFT_@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	xorl	%eax, %eax
	cmpq	$0, (%rdi)
	sete	%al
	leal	(%rdx,%rax,2), %r15d
	addl	$-6, %r15d
	incl	4(%r14)
	addl	%r15d, (%r14)
	movl	16(%rdi), %edi
	movq	8(%r13), %rax
	movslq	%esi, %rbx
	shlq	$4, %rbx
	movq	8(%rax,%rbx), %rsi
	movq	_PKT_BUF_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCI_DMA_FROMDEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_pci_unmap_single
	movq	8(%r13), %rax
	movq	$0, 8(%rax,%rbx)
	movq	(%rax,%rbx), %r12
	movq	$0, (%rax,%rbx)
	cmpq	$0, (%r13)
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_skb_tail_pointer
                                        ## kill: def $eax killed $eax def $rax
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%r15d, %eax
	leal	(%rcx,%rax), %edi
	addl	$4, %edi
	callq	_get_unaligned_le16
	leaq	8(%r12), %rsi
	movl	%eax, %edi
	callq	_put_unaligned_le16
	movq	_CHECKSUM_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_2:
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_skb_reserve
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_skb_put
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, (%r12)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netif_receive_skb              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDES0_FRAME_LENGTH_MASK_,4,2   ## @RDES0_FRAME_LENGTH_MASK_
	.comm	_RDES0_FRAME_LENGTH_SHFT_,4,2   ## @RDES0_FRAME_LENGTH_SHFT_
	.comm	_PKT_BUF_SZ,4,2                 ## @PKT_BUF_SZ
	.comm	_PCI_DMA_FROMDEVICE,4,2         ## @PCI_DMA_FROMDEVICE
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_CHECKSUM_COMPLETE,4,2          ## @CHECKSUM_COMPLETE
	.no_dead_strip	_smsc9420_rx_handoff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc9420_rx_handoff
_smsc9420_rx_handoff:                   ; @smsc9420_rx_handoff
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x22, x0
Lloh0:
	adrp	x8, _RDES0_FRAME_LENGTH_MASK_@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDES0_FRAME_LENGTH_MASK_@GOTPAGEOFF]
	ldr	x19, [x0, #24]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
Lloh3:
	adrp	x9, _RDES0_FRAME_LENGTH_SHFT_@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RDES0_FRAME_LENGTH_SHFT_@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w8, w8, w9
	ldp	x9, x10, [x0]
	cmp	x9, #0
	mov	w9, #-6
	mov	w11, #-4
	csel	w9, w11, w9, eq
	add	w20, w9, w8
	ldr	d0, [x19]
	movi.2s	v1, #1
	mov.s	v1[0], w20
	add.2s	v0, v0, v1
	str	d0, [x19]
	ldr	w0, [x0, #16]
	sbfiz	x21, x1, #4, #32
	add	x8, x10, x21
	ldr	x1, [x8, #8]
Lloh6:
	adrp	x8, _PKT_BUF_SZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PKT_BUF_SZ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _PCI_DMA_FROMDEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_DMA_FROMDEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_pci_unmap_single
	ldr	x8, [x22, #8]
	add	x8, x8, x21
	ldr	x21, [x8]
	stp	xzr, xzr, [x8]
	ldr	x8, [x22]
Lloh12:
	adrp	x22, _NET_IP_ALIGN@GOTPAGE
Lloh13:
	ldr	x22, [x22, _NET_IP_ALIGN@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_skb_tail_pointer
	ldr	w8, [x22]
	add	w9, w20, w0
	add	w8, w9, w8
	add	w0, w8, #4
	bl	_get_unaligned_le16
	add	x1, x21, #8
	bl	_put_unaligned_le16
Lloh14:
	adrp	x8, _CHECKSUM_COMPLETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHECKSUM_COMPLETE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x21, #4]
LBB0_2:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_skb_reserve
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put
	mov	x0, x21
	mov	x1, x19
	bl	_eth_type_trans
	str	w0, [x21]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netif_receive_skb
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RDES0_FRAME_LENGTH_MASK_,4,2   ; @RDES0_FRAME_LENGTH_MASK_
	.comm	_RDES0_FRAME_LENGTH_SHFT_,4,2   ; @RDES0_FRAME_LENGTH_SHFT_
	.comm	_PKT_BUF_SZ,4,2                 ; @PKT_BUF_SZ
	.comm	_PCI_DMA_FROMDEVICE,4,2         ; @PCI_DMA_FROMDEVICE
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_CHECKSUM_COMPLETE,4,2          ; @CHECKSUM_COMPLETE
	.no_dead_strip	_smsc9420_rx_handoff
.subsections_via_symbols
