	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aggr_delete_tid_state
_aggr_delete_tid_state:                 ## @aggr_delete_tid_state
	.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
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	_NUM_OF_TIDS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_5
## %bb.2:
	movq	8(%rdi), %r15
	leaq	(,%rsi,4), %r14
	leaq	(%rsi,%rsi,4), %rbx
	leaq	(%r15,%rbx,8), %r12
	addq	(%rdi), %r14
	cmpl	$0, (%r15,%rbx,8)
	je	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_aggr_deque_frms
LBB0_4:
	movl	$0, (%r12)
	movl	$0, 4(%r15,%rbx,8)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15,%rbx,8)
	movq	$0, 32(%r15,%rbx,8)
	movq	8(%r15,%rbx,8), %rdi
	callq	_kfree
	movq	$0, 8(%r15,%rbx,8)
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_OF_TIDS,8,3                ## @NUM_OF_TIDS
	.no_dead_strip	_aggr_delete_tid_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aggr_delete_tid_state
_aggr_delete_tid_state:                 ; @aggr_delete_tid_state
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _NUM_OF_TIDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_OF_TIDS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.2:
	ldp	x8, x21, [x0]
	add	x20, x8, x19, lsl #2
	mov	w8, #40
	madd	x22, x19, x8, x21
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
	mov	x1, x19
	mov	w2, #0
	mov	w3, #0
	bl	_aggr_deque_frms
LBB0_4:
	str	xzr, [x22]
	mov	w8, #40
	madd	x19, x19, x8, x21
	stp	xzr, xzr, [x19, #24]
	str	xzr, [x19, #16]
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	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
	b	_memset
LBB0_5:
	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	_NUM_OF_TIDS,8,3                ; @NUM_OF_TIDS
	.no_dead_strip	_aggr_delete_tid_state
.subsections_via_symbols
