	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function count_avail_process_cpus
_count_avail_process_cpus:              ## @count_avail_process_cpus
	.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
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_GetCurrentProcess
	leaq	-12(%rbp), %rsi
	leaq	-16(%rbp), %rdx
	movl	%eax, %edi
	callq	_GetProcessAffinityMask
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-12(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	andl	$1, %edx
	addl	%edx, %ebx
	sarl	%ecx
	cmpl	$1, %eax
	movl	%ecx, %eax
	ja	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movl	$1, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_count_avail_process_cpus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function count_avail_process_cpus
_count_avail_process_cpus:              ; @count_avail_process_cpus
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_GetCurrentProcess
	sub	x1, x29, #4
	add	x2, sp, #8
	bl	_GetProcessAffinityMask
	cbz	x0, LBB0_4
; %bb.1:
	ldur	w8, [x29, #-4]
	cbz	w8, LBB0_5
; %bb.2:
	mov	w0, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w9, w8, #0x1
	add	w0, w0, w9
	asr	w9, w8, #1
	cmp	w8, #1
	mov	x8, x9
	b.hi	LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_count_avail_process_cpus
.subsections_via_symbols
