	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_receive_interrupt_dma_rtail ## -- Begin function handle_receive_interrupt_dma_rtail
	.p2align	4, 0x90
_handle_receive_interrupt_dma_rtail:    ## @handle_receive_interrupt_dma_rtail
	.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	%esi, %r15d
	movq	%rdi, %r13
	movq	_RCV_PKT_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	-48(%rbp), %rsi
	callq	_init_packet
	movq	%r13, %rdi
	callq	_get_rcvhdrtail
	cmpq	%rax, -48(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	_RCV_PKT_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_2:
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_smp_rmb
	leaq	-48(%rbp), %rsi
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_prescan_rxq
	cmpl	(%r14), %ebx
	jne	LBB0_7
## %bb.3:
	leaq	-48(%rbp), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_process_rcv_update
	cmpl	(%r14), %ebx
	jne	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_process_rcv_packet
	movl	%eax, %ebx
	cmpq	%r12, -48(%rbp)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_RCV_PKT_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_6
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_process_rcv_qp_work
	movq	-48(%rbp), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_8:
	leaq	-48(%rbp), %rdi
	callq	_finish_packet
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RCV_PKT_OK,4,2                 ## @RCV_PKT_OK
	.comm	_RCV_PKT_DONE,4,2               ## @RCV_PKT_DONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_receive_interrupt_dma_rtail ; -- Begin function handle_receive_interrupt_dma_rtail
	.p2align	2
_handle_receive_interrupt_dma_rtail:    ; @handle_receive_interrupt_dma_rtail
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _RCV_PKT_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RCV_PKT_OK@GOTPAGEOFF]
	ldr	w20, [x23]
	add	x1, sp, #8
	bl	_init_packet
	mov	x0, x19
	bl	_get_rcvhdrtail
	ldr	x8, [sp, #8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _RCV_PKT_DONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RCV_PKT_DONE@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	b	LBB0_6
LBB0_2:
	mov	x22, x0
	bl	_smp_rmb
	add	x1, sp, #8
	mov	x0, x19
	bl	_prescan_rxq
	ldr	w8, [x23]
	cmp	w20, w8
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x24, _RCV_PKT_DONE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RCV_PKT_DONE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_process_rcv_packet
	ldr	x8, [sp, #8]
	ldr	w9, [x24]
	cmp	x8, x22
	csel	w20, w9, w0, eq
	add	x1, sp, #8
	mov	x0, x20
	bl	_process_rcv_update
	ldr	w8, [x23]
	cmp	w20, w8
	b.eq	LBB0_4
LBB0_5:
	add	x0, sp, #8
	bl	_process_rcv_qp_work
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_6:
	add	x0, sp, #8
	bl	_finish_packet
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_RCV_PKT_OK,4,2                 ; @RCV_PKT_OK
	.comm	_RCV_PKT_DONE,4,2               ; @RCV_PKT_DONE
.subsections_via_symbols
