	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fore200e_rx_irq
_fore200e_rx_irq:                       ## @fore200e_rx_irq
	.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
	movq	16(%rdi), %r14
	movq	24(%rdi), %r12
	movq	%r14, %rax
	shlq	$5, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12,%rax), %rax
	movq	_STATUS_COMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r13
	addq	%r12, -48(%rbp)                 ## 8-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %edx
	movq	(%r15), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_DPRINTK
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rdi
	movq	_QUEUE_SIZE_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FORE200E_NEXT_ENTRY
	movq	(%r15), %rsi
	movq	%r13, %rdi
	callq	_fore200e_collect_rpd
	movq	(%r13), %rax
	movl	16(%r12,%r14), %edi
	movq	8(%r12,%r14), %rsi
	callq	*(%rax)
	movq	_STATUS_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	callq	_fore200e_supply
	movq	16(%r13), %r14
	movq	24(%r13), %r12
	movq	%r14, %rax
	shlq	$5, %rax
	leaq	(%r12,%rax), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12,%rax), %rax
	movq	_STATUS_COMPLETE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	shlq	$5, %r14
	leaq	(%r12,%r14), %r15
	addq	$24, %r15
	movq	24(%r12,%r14), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_FORE200E_VC_MAP
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	_ATM_VF_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_ASSERT
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_STATUS_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %edx
	movq	(%r15), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	movl	$2, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DPRINTK
	movq	(%rbx), %rdi
	callq	_atomic_inc
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fore200e_push_rpd
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_COMPLETE,4,2            ## @STATUS_COMPLETE
	.comm	_ATM_VF_READY,4,2               ## @ATM_VF_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no ready VC found for PDU received on %d.%d.%d\n"

	.comm	_STATUS_ERROR,4,2               ## @STATUS_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"damaged PDU on %d.%d.%d\n"

	.comm	_QUEUE_SIZE_RX,4,2              ## @QUEUE_SIZE_RX
	.comm	_STATUS_FREE,4,2                ## @STATUS_FREE
	.no_dead_strip	_fore200e_rx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fore200e_rx_irq
_fore200e_rx_irq:                       ; @fore200e_rx_irq
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldp	x21, x25, [x0, #16]
	add	x24, x25, x21, lsl #5
	ldr	x8, [x24]
	ldr	w8, [x8]
Lloh0:
	adrp	x23, _STATUS_COMPLETE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STATUS_COMPLETE@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x26, _QUEUE_SIZE_RX@GOTPAGE
Lloh3:
	ldr	x26, [x26, _QUEUE_SIZE_RX@GOTPAGEOFF]
Lloh4:
	adrp	x27, _STATUS_FREE@GOTPAGE
Lloh5:
	ldr	x27, [x27, _STATUS_FREE@GOTPAGEOFF]
Lloh6:
	adrp	x28, _ATM_VF_READY@GOTPAGE
Lloh7:
	ldr	x28, [x28, _ATM_VF_READY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	x8, [x20]
	ldp	w4, w3, [x8]
	mov	w0, #1
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DPRINTK
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #16]
	ldr	w1, [x26]
	bl	_FORE200E_NEXT_ENTRY
	ldr	x1, [x20]
	mov	x0, x19
	bl	_fore200e_collect_rpd
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x9, x25, x21, lsl #5
	ldr	w0, [x9, #16]
	ldr	x1, [x9, #8]
	blr	x8
	ldr	w8, [x27]
	ldr	x9, [x24]
	str	w8, [x9]
	mov	x0, x19
	bl	_fore200e_supply
	ldp	x21, x25, [x19, #16]
	add	x24, x25, x21, lsl #5
	ldr	x8, [x24]
	ldr	w8, [x8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x25, x21, lsl #5
	ldr	x8, [x20, #24]!
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_FORE200E_VC_MAP
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	w0, [x28]
	add	x1, x8, #8
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22]
	mov	x0, x22
	bl	_ASSERT
	ldr	x8, [x24]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _STATUS_ERROR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _STATUS_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	x8, [x20]
	ldp	w4, w3, [x8]
	mov	w0, #2
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DPRINTK
	ldr	x0, [x22]
	bl	_atomic_inc
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x2, [x20]
	mov	x0, x19
	mov	x1, x22
	bl	_fore200e_push_rpd
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_COMPLETE,4,2            ; @STATUS_COMPLETE
	.comm	_ATM_VF_READY,4,2               ; @ATM_VF_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no ready VC found for PDU received on %d.%d.%d\n"

	.comm	_STATUS_ERROR,4,2               ; @STATUS_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"damaged PDU on %d.%d.%d\n"

	.comm	_QUEUE_SIZE_RX,4,2              ; @QUEUE_SIZE_RX
	.comm	_STATUS_FREE,4,2                ; @STATUS_FREE
	.no_dead_strip	_fore200e_rx_irq
.subsections_via_symbols
