	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_different_scheduler
_get_different_scheduler:               ## @get_different_scheduler
	.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
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_sched_getscheduler
	movl	%eax, %r14d
	movq	_schedulers@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	___arraycount
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpl	%r14d, (%rdi,%rbx,4)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	callq	___arraycount
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_4:
	movq	(%r15), %rdi
	callq	___arraycount
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setb	%dil
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_ATF_REQUIRE_MSG
	incq	%rbx
	movq	(%r15), %rdi
	callq	___arraycount
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	cmovbq	%rbx, %rcx
	movq	(%r15), %rax
	movl	(%rax,%rcx,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_schedulers,8,3                 ## @schedulers
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown current scheduler %d"

	.no_dead_strip	_get_different_scheduler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_different_scheduler
_get_different_scheduler:               ; @get_different_scheduler
	.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	w0, #0
	bl	_sched_getscheduler
	mov	x19, x0
Lloh0:
	adrp	x20, _schedulers@GOTPAGE
Lloh1:
	ldr	x20, [x20, _schedulers@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	___arraycount
	mov	x21, #0
	cbz	x0, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	w8, [x0, x21, lsl #2]
	cmp	w8, w19
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x21, x21, #1
	bl	___arraycount
	cmp	x21, x0
	b.lo	LBB0_1
LBB0_3:
	ldr	x0, [x20]
	bl	___arraycount
	cmp	x21, x0
	cset	w0, lo
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_ATF_REQUIRE_MSG
	add	x19, x21, #1
	ldr	x0, [x20]
	bl	___arraycount
	cmp	x19, x0
	csinc	x8, xzr, x21, hs
	ldr	x9, [x20]
	ldr	w0, [x9, x8, lsl #2]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_schedulers,8,3                 ; @schedulers
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown current scheduler %d"

	.no_dead_strip	_get_different_scheduler
.subsections_via_symbols
