	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fst_rx_dma_complete
_fst_rx_dma_complete:                   ## @fst_rx_dma_complete
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_port_to_dev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DBG_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dbg
	movslq	(%r15), %r14
	movl	(%rbx), %esi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_skb_put_data
	movq	_rxDescrRing@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movl	(%rax,%rcx,4), %esi
	movq	_DMA_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_FST_WRB
	incl	8(%r14)
	addl	%r12d, (%r14)
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_dbg
	movq	8(%r15), %rax
	movq	_FST_RAW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_farsync_type_trans
	jmp	LBB0_3
LBB0_2:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_hdlc_type_trans
LBB0_3:
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_netif_rx
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_port_to_dev
	movl	12(%rax), %esi
	movl	%ebx, %edi
	callq	_fst_process_rx_status
	movq	_NET_RX_DROP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_5
## %bb.4:
	incl	4(%r14)
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_TX,4,2                     ## @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fst_rx_dma_complete\n"

	.comm	_rxDescrRing,8,3                ## @rxDescrRing
	.comm	_DMA_OWN,4,2                    ## @DMA_OWN
	.comm	_DBG_RX,4,2                     ## @DBG_RX
L_.str.1:                               ## @.str.1
	.asciz	"Pushing the frame up the stack\n"

	.comm	_FST_RAW,8,3                    ## @FST_RAW
	.comm	_NET_RX_DROP,4,2                ## @NET_RX_DROP
	.no_dead_strip	_fst_rx_dma_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fst_rx_dma_complete
_fst_rx_dma_complete:                   ; @fst_rx_dma_complete
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x24, x0
	mov	x0, x1
	bl	_port_to_dev
	mov	x19, x0
Lloh0:
	adrp	x8, _DBG_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_TX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dbg
	ldrsw	x25, [x20]
	ldr	w1, [x24]
	mov	x0, x21
	mov	x2, x23
	bl	_skb_put_data
Lloh5:
	adrp	x8, _rxDescrRing@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rxDescrRing@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8, x25, lsl #3]
	ldr	w1, [x8, w22, sxtw #2]
Lloh8:
	adrp	x8, _DMA_OWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_OWN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x24
	bl	_FST_WRB
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldr	w8, [x19]
	add	w8, w8, w23
	str	w8, [x19]
Lloh11:
	adrp	x8, _DBG_RX@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DBG_RX@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dbg
	ldr	x8, [x20, #8]
Lloh16:
	adrp	x9, _FST_RAW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FST_RAW@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	mov	x0, x21
	mov	x1, x19
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	bl	_farsync_type_trans
	b	LBB0_3
LBB0_2:
	bl	_hdlc_type_trans
LBB0_3:
	str	w0, [x21]
	mov	x0, x21
	bl	_netif_rx
	mov	x21, x0
	mov	x0, x20
	bl	_port_to_dev
	ldr	w1, [x0, #12]
	mov	x0, x21
	bl	_fst_process_rx_status
Lloh19:
	adrp	x8, _NET_RX_DROP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NET_RX_DROP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_TX,4,2                     ; @DBG_TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fst_rx_dma_complete\n"

	.comm	_rxDescrRing,8,3                ; @rxDescrRing
	.comm	_DMA_OWN,4,2                    ; @DMA_OWN
	.comm	_DBG_RX,4,2                     ; @DBG_RX
l_.str.1:                               ; @.str.1
	.asciz	"Pushing the frame up the stack\n"

	.comm	_FST_RAW,8,3                    ; @FST_RAW
	.comm	_NET_RX_DROP,4,2                ; @NET_RX_DROP
	.no_dead_strip	_fst_rx_dma_complete
.subsections_via_symbols
