	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_tee_rcvdata
_ng_tee_rcvdata:                        ## @ng_tee_rcvdata
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_NG_HOOK_PRIVATE
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_NGI_M
	movq	%rax, %r15
	movl	(%rax), %eax
	addl	%eax, 16(%rbx)
	incl	12(%rbx)
	cmpq	$0, 32(%rbx)
	je	LBB0_3
## %bb.1:
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_m_dup
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	32(%rbx), %r12
	movl	(%r12), %esi
	xorl	%edi, %edi
	movq	%rax, %rdx
	callq	_NG_SEND_DATA_ONLY
	movl	(%r15), %eax
	addl	%eax, 8(%r12)
	incl	4(%r12)
LBB0_3:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r15), %ecx
	addl	%ecx, 8(%rax)
	incl	4(%rax)
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%r14d, %esi
	callq	_NG_FWD_ITEM_HOOK
	jmp	LBB0_6
LBB0_5:
	movl	%r14d, %edi
	callq	_NG_FREE_ITEM
LBB0_6:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.no_dead_strip	_ng_tee_rcvdata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_tee_rcvdata
_ng_tee_rcvdata:                        ; @ng_tee_rcvdata
	.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
	mov	x19, x1
	bl	_NG_HOOK_PRIVATE
	mov	x20, x0
	mov	x0, x19
	bl	_NGI_M
	mov	x21, x0
	ldr	w8, [x0]
	ldp	w10, w9, [x20, #12]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x20, #12]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_m_dup
	cbz	x0, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	x22, [x20, #32]
	ldr	w1, [x22]
	mov	w0, #0
	bl	_NG_SEND_DATA_ONLY
	ldr	w8, [x21]
	ldp	w10, w9, [x22, #4]
	add	w8, w9, w8
	add	w9, w10, #1
	stp	w9, w8, [x22, #4]
LBB0_3:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w9, [x21]
	ldr	w10, [x8, #8]
	add	w9, w10, w9
	ldp	w2, w10, [x8]
	add	w10, w10, #1
	stp	w10, w9, [x8, #4]
	mov	w0, #0
	mov	x1, x19
	bl	_NG_FWD_ITEM_HOOK
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_NG_FREE_ITEM
LBB0_6:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.no_dead_strip	_ng_tee_rcvdata
.subsections_via_symbols
