	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sched_priority_set
_sched_priority_set:                    ## @sched_priority_set
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movl	%edi, -32(%rbp)
	notl	%edi
	shrl	$31, %edi
	callq	_ATF_REQUIRE
	leaq	-32(%rbp), %r15
	xorl	%edi, %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_sched_setscheduler
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	xorl	%edi, %edi
	callq	_sched_getscheduler
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ATF_CHECK_EQ
	movl	$-1, -32(%rbp)
	xorl	%edi, %edi
	movq	%r15, %rsi
	callq	_sched_getparam
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_ATF_REQUIRE
	movl	-32(%rbp), %edi
	movl	%r14d, %esi
	callq	_ATF_CHECK_EQ
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sched_priority_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sched_priority_set
_sched_priority_set:                    ; @sched_priority_set
	.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
	mov	x19, x1
	mov	x20, x0
	str	w0, [sp, #8]
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_ATF_REQUIRE
	add	x2, sp, #8
	mov	w0, #0
	mov	x1, x19
	bl	_sched_setscheduler
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	mov	w0, #0
	bl	_sched_getscheduler
	mov	x1, x19
	bl	_ATF_CHECK_EQ
	mov	w8, #-1
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	w0, #0
	bl	_sched_getparam
	cmp	x0, #0
	cset	w0, eq
	bl	_ATF_REQUIRE
	ldr	w0, [sp, #8]
	mov	x1, x20
	bl	_ATF_CHECK_EQ
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sched_priority_set
.subsections_via_symbols
