	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setclasscpumask                ## -- Begin function setclasscpumask
	.p2align	4, 0x90
_setclasscpumask:                       ## @setclasscpumask
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_login_getcapstr
	movq	%rax, %rbx
	leaq	-20(%rbp), %rdi
	callq	_CPU_ZERO
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_list2cpuset
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	-24(%rbp), %rdi
	callq	_cpuset
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movslq	%eax, %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edi
	jmp	LBB0_4
LBB0_3:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
LBB0_4:
	xorl	%eax, %eax
	callq	_syslog
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movq	_CPU_LEVEL_CPUSET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CPU_WHICH_PID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %r8
	movl	$-1, %edx
	movl	$4, %ecx
	callq	_cpuset_setaffinity
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cpumask"

L_.str.1:                               ## @.str.1
	.asciz	"default"

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"list2cpuset(%s) invalid mask specification"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.3:                               ## @.str.3
	.asciz	"cpuset(): %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_CPU_LEVEL_CPUSET,4,2           ## @CPU_LEVEL_CPUSET
	.comm	_CPU_WHICH_PID,4,2              ## @CPU_WHICH_PID
L_.str.4:                               ## @.str.4
	.asciz	"cpuset_setaffinity(%s): %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setclasscpumask                ; -- Begin function setclasscpumask
	.p2align	2
_setclasscpumask:                       ; @setclasscpumask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	x3, #0
	bl	_login_getcapstr
	mov	x19, x0
	add	x0, sp, #12
	bl	_CPU_ZERO
	cbz	x19, LBB0_10
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_strcasecmp
	cbz	x0, LBB0_10
; %bb.2:
	add	x1, sp, #12
	mov	x0, x19
	bl	_list2cpuset
	cbz	w0, LBB0_5
; %bb.3:
	add	x0, sp, #8
	bl	_cpuset
	cbz	x0, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	b	LBB0_9
LBB0_5:
Lloh12:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh17:
	adrp	x8, _CPU_LEVEL_CPUSET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CPU_LEVEL_CPUSET@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _CPU_WHICH_PID@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CPU_WHICH_PID@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x4, sp, #12
	mov	w2, #-1
	mov	w3, #4
	bl	_cpuset_setaffinity
	cbz	x0, LBB0_10
; %bb.7:
Lloh23:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
LBB0_8:
	mov	x2, x19
LBB0_9:
	bl	_syslog
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cpumask"

l_.str.1:                               ; @.str.1
	.asciz	"default"

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"list2cpuset(%s) invalid mask specification"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.3:                               ; @.str.3
	.asciz	"cpuset(): %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_CPU_LEVEL_CPUSET,4,2           ; @CPU_LEVEL_CPUSET
	.comm	_CPU_WHICH_PID,4,2              ; @CPU_WHICH_PID
l_.str.4:                               ; @.str.4
	.asciz	"cpuset_setaffinity(%s): %s"

.subsections_via_symbols
