	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_sched_rtprio_aproc_realtime ## -- Begin function priv_sched_rtprio_aproc_realtime
	.p2align	4, 0x90
_priv_sched_rtprio_aproc_realtime:      ## @priv_sched_rtprio_aproc_realtime
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_RTP_PRIO_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	$0, -40(%rbp)
	movq	_RTP_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_childproc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_rtprio
	movl	%eax, %r15d
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.2:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_expect
LBB0_3:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.4:
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_expect
LBB0_6:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.7:
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:
	movq	_ESRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_expect
LBB0_9:
	orl	%r14d, %ebx
	jne	LBB0_11
## %bb.10:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_expect
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_PRIO_REALTIME,4,2          ## @RTP_PRIO_REALTIME
	.comm	_RTP_SET,4,2                    ## @RTP_SET
	.comm	_childproc,4,2                  ## @childproc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"priv_sched_rtprio_aproc_realtime(asroot, injail)"

	.comm	_ESRCH,4,2                      ## @ESRCH
L_.str.1:                               ## @.str.1
	.asciz	"priv_sched_rtprio_aproc_realtime(asroot, !injail)"

L_.str.2:                               ## @.str.2
	.asciz	"priv_sched_rtprio_aproc_realtime(!asroot, injail)"

L_.str.3:                               ## @.str.3
	.asciz	"priv_sched_rtprio_aproc_realtime(!asroot, !injail)"

	.comm	_EPERM,4,2                      ## @EPERM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_priv_sched_rtprio_aproc_realtime ; -- Begin function priv_sched_rtprio_aproc_realtime
	.p2align	2
_priv_sched_rtprio_aproc_realtime:      ; @priv_sched_rtprio_aproc_realtime
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _RTP_PRIO_REALTIME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTP_PRIO_REALTIME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	xzr, [sp]
Lloh3:
	adrp	x8, _RTP_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTP_SET@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _childproc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _childproc@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_rtprio
	mov	x21, x0
	cbz	w20, LBB0_3
; %bb.1:
	cbz	w19, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _ESRCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	bl	_expect
LBB0_3:
	cbz	w20, LBB0_6
; %bb.4:
	cbnz	w19, LBB0_6
; %bb.5:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_expect
LBB0_6:
	cbnz	w20, LBB0_9
; %bb.7:
	cbz	w19, LBB0_9
; %bb.8:
Lloh16:
	adrp	x8, _ESRCH@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	bl	_expect
LBB0_9:
	orr	w8, w19, w20
	cbnz	w8, LBB0_11
; %bb.10:
Lloh21:
	adrp	x8, _EPERM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	w2, #-1
	bl	_expect
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_PRIO_REALTIME,4,2          ; @RTP_PRIO_REALTIME
	.comm	_RTP_SET,4,2                    ; @RTP_SET
	.comm	_childproc,4,2                  ; @childproc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"priv_sched_rtprio_aproc_realtime(asroot, injail)"

	.comm	_ESRCH,4,2                      ; @ESRCH
l_.str.1:                               ; @.str.1
	.asciz	"priv_sched_rtprio_aproc_realtime(asroot, !injail)"

l_.str.2:                               ; @.str.2
	.asciz	"priv_sched_rtprio_aproc_realtime(!asroot, injail)"

l_.str.3:                               ; @.str.3
	.asciz	"priv_sched_rtprio_aproc_realtime(!asroot, !injail)"

	.comm	_EPERM,4,2                      ; @EPERM
.subsections_via_symbols
