	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parsecpulist
_parsecpulist:                          ## @parsecpulist
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_CPU_SETSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_parselist                      ## TAILCALL
LBB0_1:
	movq	_CPU_LEVEL_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CPU_WHICH_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	movl	$4, %ecx
	movq	%r14, %r8
	callq	_cpuset_getaffinity
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"all"

	.comm	_CPU_LEVEL_ROOT,4,2             ## @CPU_LEVEL_ROOT
	.comm	_CPU_WHICH_PID,4,2              ## @CPU_WHICH_PID
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"getaffinity"

	.comm	_CPU_SETSIZE,4,2                ## @CPU_SETSIZE
	.no_dead_strip	_parsecpulist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parsecpulist
_parsecpulist:                          ; @parsecpulist
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _CPU_SETSIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CPU_SETSIZE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_parselist
LBB0_2:
Lloh5:
	adrp	x8, _CPU_LEVEL_ROOT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CPU_LEVEL_ROOT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _CPU_WHICH_PID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CPU_WHICH_PID@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w2, #-1
	mov	w3, #4
	mov	x4, x19
	bl	_cpuset_getaffinity
	cbz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"all"

	.comm	_CPU_LEVEL_ROOT,4,2             ; @CPU_LEVEL_ROOT
	.comm	_CPU_WHICH_PID,4,2              ; @CPU_WHICH_PID
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"getaffinity"

	.comm	_CPU_SETSIZE,4,2                ; @CPU_SETSIZE
	.no_dead_strip	_parsecpulist
.subsections_via_symbols
