	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_ncci_data
_cleanup_ncci_data:                     ## @cleanup_ncci_data
	.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
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	movq	32(%rdi), %rax
	movq	(%rax), %rcx
	movq	(%rcx,%rsi,8), %rcx
	cmpq	(%rdi), %rcx
	jne	LBB0_10
## %bb.2:
	movq	8(%rax), %rcx
	leaq	(%rsi,%rsi,4), %rdx
	leaq	(%rcx,%rdx,8), %r14
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	leaq	(%rcx,%rdx,8), %rbx
	addq	$32, %rbx
	movq	_MAX_DATA_B3@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rdi
	callq	_TransmitBufferFree
	movq	-24(%rbx), %rcx
	movq	(%r14), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	movq	%rcx, -24(%rbx)
	cmpq	(%r12), %rcx
	cmoveq	%r13, %rcx
	movq	%rcx, -24(%rbx)
	decq	%rax
	movq	%rax, (%r14)
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 24(%r15)
	movq	(%rbx), %rdx
	movq	-24(%rbx), %rcx
	movq	(%rdx,%rcx,8), %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	8(%r15), %rsi
	jne	LBB0_7
	jmp	LBB0_8
LBB0_9:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movups	%xmm0, (%r14)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DATA_B3,8,3                ## @MAX_DATA_B3
	.no_dead_strip	_cleanup_ncci_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_ncci_data
_cleanup_ncci_data:                     ; @cleanup_ncci_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x9, [x8]
	ldr	x9, [x9, x1, lsl #3]
	ldr	x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.2:
	ldr	x9, [x8, #8]
	mov	w8, #40
	madd	x20, x1, x8, x9
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.3:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.4:
	mov	w10, #40
	madd	x9, x1, x10, x9
	add	x21, x9, #32
	add	x22, x9, #8
Lloh0:
	adrp	x23, _MAX_DATA_B3@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAX_DATA_B3@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x19, #16]
	bl	_TransmitBufferFree
	ldr	x9, [x22]
	ldr	x8, [x20]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x10, x9, #1
	str	x10, [x22]
	ldr	x11, [x23]
	cmp	x10, x11
	csinc	x9, xzr, x9, eq
	str	x9, [x22]
	subs	x8, x8, #1
	str	x8, [x20]
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x19, #24]
	ldr	x11, [x21]
	ldr	x9, [x22]
	ldr	x1, [x11, x9, lsl #3]
	cbz	w10, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x19, #8]
	cmp	x1, x10
	b.ne	LBB0_5
	b	LBB0_6
LBB0_9:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DATA_B3,8,3                ; @MAX_DATA_B3
	.no_dead_strip	_cleanup_ncci_data
.subsections_via_symbols
