	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_taskset_fini                   ## -- Begin function taskset_fini
	.p2align	4, 0x90
_taskset_fini:                          ## @taskset_fini
	.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
	movq	%rdi, %r13
	leaq	56(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	56(%rdi), %edi
	callq	_hb_lock
	movq	8(%r13), %rdi
	movl	(%r13), %edx
	decl	%edx
	xorl	%esi, %esi
	callq	_bit_nset
	movq	24(%r13), %rdi
	movl	(%r13), %edx
	decl	%edx
	xorl	%esi, %esi
	callq	_bit_nset
	leaq	52(%r13), %r15
	movl	52(%r13), %edi
	callq	_hb_cond_broadcast
	leaq	48(%r13), %r12
	movl	48(%r13), %edi
	movl	56(%r13), %esi
	callq	_hb_cond_wait
	movl	56(%r13), %edi
	callq	_hb_unlock
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rdi
	addq	%rbx, %rdi
	callq	_hb_thread_close
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hb_lock_close
	movq	%r15, %rdi
	callq	_hb_cond_close
	movq	%r12, %rdi
	callq	_hb_cond_close
	movq	40(%r13), %rdi
	callq	_free
	movq	32(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_free
LBB0_5:
	movq	24(%r13), %rdi
	callq	_free
	movq	16(%r13), %rdi
	callq	_free
	movq	8(%r13), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_taskset_fini                   ; -- Begin function taskset_fini
	.p2align	2
_taskset_fini:                          ; @taskset_fini
	.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
	mov	x19, x0
	mov	x20, x0
	ldr	w0, [x20, #56]!
	bl	_hb_lock
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	sub	w2, w8, #1
	mov	w1, #0
	bl	_bit_nset
	ldr	x0, [x19, #24]
	ldr	w8, [x19]
	sub	w2, w8, #1
	mov	w1, #0
	bl	_bit_nset
	mov	x21, x19
	ldr	w0, [x21, #52]!
	bl	_hb_cond_broadcast
	mov	x22, x19
	ldr	w0, [x22, #48]!
	ldr	w1, [x20]
	bl	_hb_cond_wait
	ldr	w0, [x20]
	bl	_hb_unlock
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x23
	bl	_hb_thread_close
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #4
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_hb_lock_close
	mov	x0, x21
	bl	_hb_cond_close
	mov	x0, x22
	bl	_hb_cond_close
	ldr	x0, [x19, #40]
	bl	_free
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free
LBB0_5:
	ldr	x0, [x19, #24]
	bl	_free
	ldr	x0, [x19, #16]
	bl	_free
	ldr	x0, [x19, #8]
	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
	b	_free
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
