	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ntb_rx_copy_callback
_ntb_rx_copy_callback:                  ## @ntb_rx_copy_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movl	(%rsi), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.4:
	incl	12(%rdi)
	jmp	LBB0_5
LBB0_2:
	cmpl	$131, %eax
	jne	LBB0_3
LBB0_5:
	movq	(%rdi), %rbx
	movslq	(%rbx), %rax
	movslq	4(%rbx), %rcx
	movslq	8(%rbx), %rsi
	imulq	%rcx, %rsi
	addq	%rax, %rsi
	callq	_ntb_memcpy_rx
	incl	12(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	_DESC_DONE_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rdi)
	movq	(%rdi), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ntb_complete_rxc               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_DONE_FLAG,4,2             ## @DESC_DONE_FLAG
	.no_dead_strip	_ntb_rx_copy_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ntb_rx_copy_callback
_ntb_rx_copy_callback:                  ; @ntb_rx_copy_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x1, LBB0_5
; %bb.1:
	ldr	w8, [x1]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_3
; %bb.2:
	ldr	w8, [x0, #12]
	add	w8, w8, #1
	str	w8, [x0, #12]
	b	LBB0_4
LBB0_3:
	cmp	w8, #131
	b.ne	LBB0_5
LBB0_4:
	ldr	x19, [x0]
	ldpsw	x8, x9, [x19]
	ldrsw	x10, [x19, #8]
	madd	x1, x10, x9, x8
	bl	_ntb_memcpy_rx
	ldr	w8, [x19, #12]
	add	w8, w8, #1
	str	w8, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x8, _DESC_DONE_FLAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_DONE_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0, #8]
	orr	w8, w9, w8
	str	w8, [x0, #8]
	ldr	x0, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ntb_complete_rxc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_DONE_FLAG,4,2             ; @DESC_DONE_FLAG
	.no_dead_strip	_ntb_rx_copy_callback
.subsections_via_symbols
