	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkpris
_checkpris:                             ## @checkpris
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	movq	_errno@GOTPCREL(%rip), %rbx
	movq	$0, (%rbx)
	callq	_sched_get_priority_min
	movl	%eax, %r14d
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_quit
LBB0_3:
	movl	%r15d, %edi
	callq	_sched_get_priority_max
	movl	%eax, %r12d
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.4:
	cmpq	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	callq	_quit
LBB0_6:
	movl	%r12d, %eax
	subl	%r14d, %eax
	jl	LBB0_10
## %bb.7:
	cmpl	$30, %eax
	jle	LBB0_10
## %bb.8:
	movq	_verbose@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.11:
	movl	%r15d, %edi
	callq	_sched_text
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_sched_text
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	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_get_priority_min"

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

	.comm	_stderr,8,3                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Illegal priority range for %s: %d to %d\n"

	.comm	_verbose,8,3                    ## @verbose
L_.str.3:                               ## @.str.3
	.asciz	"%12s: sched_min %2d sched_max %2d\n"

	.no_dead_strip	_checkpris
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkpris
_checkpris:                             ; @checkpris
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	bl	_sched_get_priority_min
	mov	x19, x0
	cmn	w0, #1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x22]
	cbz	x8, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_quit
LBB0_3:
	mov	x0, x20
	bl	_sched_get_priority_max
	mov	x21, x0
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.5:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_quit
LBB0_6:
	subs	w8, w21, w19
	b.lt	LBB0_11
; %bb.7:
	cmp	w8, #30
	b.le	LBB0_11
; %bb.8:
Lloh6:
	adrp	x8, _verbose@GOTPAGE
Lloh7:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	cbz	x22, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_sched_text
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x0
	mov	x0, x22
	mov	x3, x19
	mov	x4, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fprintf
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x8]
	mov	x0, x20
	bl	_sched_text
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x3, x19
	mov	x4, x21
	bl	_fprintf
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sched_get_priority_min"

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

	.comm	_stderr,8,3                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Illegal priority range for %s: %d to %d\n"

	.comm	_verbose,8,3                    ; @verbose
l_.str.3:                               ; @.str.3
	.asciz	"%12s: sched_min %2d sched_max %2d\n"

	.no_dead_strip	_checkpris
.subsections_via_symbols
