	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sched_is                       ## -- Begin function sched_is
	.p2align	4, 0x90
_sched_is:                              ## @sched_is
	.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
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%edi, %edi
	callq	_sched_getscheduler
	movl	%eax, %r12d
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	callq	_sched_getparam
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_quit
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	-48(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_4:
	cmpl	$-1, %r15d
	je	LBB0_6
## %bb.5:
	cmpl	%r15d, %r12d
	jne	LBB0_7
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %edi
	callq	_sched_text
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_sched_text
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_fprintf
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sched_getparam"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"At line %d the scheduler should be %s yet it is %s.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sched_is                       ; -- Begin function sched_is
	.p2align	2
_sched_is:                              ; @sched_is
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	str	xzr, [x8]
	mov	w0, #0
	bl	_sched_getscheduler
	mov	x21, x0
	add	x1, sp, #8
	mov	w0, #0
	bl	_sched_getparam
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_quit
LBB0_2:
	cbz	x22, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x22]
LBB0_4:
	cmn	w20, #1
	b.eq	LBB0_6
; %bb.5:
	cmp	w21, w20
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_7:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_sched_text
	mov	x20, x0
	mov	x0, x21
	bl	_sched_text
	mov	x4, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	mov	x3, x20
	bl	_fprintf
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sched_getparam"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"At line %d the scheduler should be %s yet it is %s.\n"

.subsections_via_symbols
