	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtp_to_schedparam             ## -- Begin function _rtp_to_schedparam
	.p2align	4, 0x90
__rtp_to_schedparam:                    ## @_rtp_to_schedparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	cmpl	$129, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:
	movq	_SCHED_RR@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_SCHED_FIFO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	movq	_RTP_PRIO_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	subq	8(%rdi), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_SCHED_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
LBB0_6:
	movq	%rax, (%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCHED_RR,4,2                   ## @SCHED_RR
	.comm	_RTP_PRIO_MAX,8,3               ## @RTP_PRIO_MAX
	.comm	_SCHED_FIFO,4,2                 ## @SCHED_FIFO
	.comm	_SCHED_OTHER,4,2                ## @SCHED_OTHER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtp_to_schedparam             ; -- Begin function _rtp_to_schedparam
	.p2align	2
__rtp_to_schedparam:                    ; @_rtp_to_schedparam
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _SCHED_RR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCHED_RR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _SCHED_FIFO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SCHED_FIFO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [x1]
Lloh4:
	adrp	x8, _RTP_PRIO_MAX@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RTP_PRIO_MAX@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	sub	x8, x8, x9
	b	LBB0_6
LBB0_5:
	mov	x8, #0
Lloh7:
	adrp	x9, _SCHED_OTHER@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SCHED_OTHER@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	str	w9, [x1]
LBB0_6:
	str	x8, [x2]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SCHED_RR,4,2                   ; @SCHED_RR
	.comm	_RTP_PRIO_MAX,8,3               ; @RTP_PRIO_MAX
	.comm	_SCHED_FIFO,4,2                 ; @SCHED_FIFO
	.comm	_SCHED_OTHER,4,2                ; @SCHED_OTHER
.subsections_via_symbols
