	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_getscheduler              ## -- Begin function _thr_getscheduler
	.p2align	4, 0x90
__thr_getscheduler:                     ## @_thr_getscheduler
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %esi
	movq	_RTP_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rdx
	callq	_rtprio_thread
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	leaq	-24(%rbp), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	__rtp_to_schedparam
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_LOOKUP,4,2                 ## @RTP_LOOKUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__thr_getscheduler              ; -- Begin function _thr_getscheduler
	.p2align	2
__thr_getscheduler:                     ; @_thr_getscheduler
	.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, x2
	mov	x20, x1
	mov	x1, x0
Lloh0:
	adrp	x8, _RTP_LOOKUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTP_LOOKUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #8
	bl	_rtprio_thread
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.1:
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	__rtp_to_schedparam
	mov	w0, #0
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_LOOKUP,4,2                 ; @RTP_LOOKUP
.subsections_via_symbols
