	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	%rsi, %r14
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_getprogname
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	cmpl	$1, %r15d
	je	LBB0_11
LBB0_4:
	cmpl	$2, %r15d
	je	LBB0_12
## %bb.5:
	movq	8(%r14), %rdi
	movb	(%rdi), %al
	cmpb	$45, %al
	je	LBB0_8
## %bb.6:
	movsbl	%al, %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	8(%r14), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_23
LBB0_8:
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_18
LBB0_9:
	xorl	%eax, %eax
	callq	_usage
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$128, -40(%rbp)
	cmpl	$1, %r15d
	jne	LBB0_4
LBB0_11:
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_10:
	movl	$130, -40(%rbp)
	cmpl	$1, %r15d
	jne	LBB0_4
	jmp	LBB0_11
LBB0_12:
	movq	8(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_parseint
	movq	%rax, %rdi
	callq	_abs
	movq	%rax, %rsi
LBB0_13:
	movq	_RTP_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	callq	_rtprio
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_15:
	movl	-40(%rbp), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_19
## %bb.16:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	-32(%rbp), %rsi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_22
LBB0_18:
	movl	$129, -40(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_24
LBB0_19:
	leaq	L_.str.8(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_errx
	jmp	LBB0_31
LBB0_20:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	xorl	%edi, %edi
	callq	_exit
LBB0_21:
	movq	-32(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
LBB0_22:
	xorl	%eax, %eax
	callq	_warnx
	xorl	%edi, %edi
	callq	_exit
LBB0_23:
	leaq	L_.str.10(%rip), %rsi
	callq	_parseint
LBB0_24:
	movq	%rax, -32(%rbp)
	movq	16(%r14), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_26
## %bb.25:
	leaq	L_.str.3(%rip), %rsi
	callq	_parseint
	movq	%rax, %rdi
	callq	_abs
	movq	%rax, %rbx
	jmp	LBB0_27
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movq	_RTP_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_rtprio
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_29:
	testq	%rbx, %rbx
	jne	LBB0_31
## %bb.30:
	addq	$16, %r14
	movq	(%r14), %rdi
	movq	%r14, %rsi
	callq	_execvp
	movq	(%r14), %rdx
	leaq	L_.str.12(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_31:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_20
	.long	L0_0_set_21
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtprio"

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

L_.str.2:                               ## @.str.2
	.asciz	"invalid progname"

L_.str.3:                               ## @.str.3
	.asciz	"pid"

	.comm	_RTP_LOOKUP,4,2                 ## @RTP_LOOKUP
L_.str.4:                               ## @.str.4
	.asciz	"RTP_LOOKUP"

L_.str.5:                               ## @.str.5
	.asciz	"realtime priority %d"

L_.str.6:                               ## @.str.6
	.asciz	"normal priority"

L_.str.7:                               ## @.str.7
	.asciz	"idle priority %d"

L_.str.8:                               ## @.str.8
	.asciz	"invalid priority type %d"

L_.str.9:                               ## @.str.9
	.asciz	"-t"

L_.str.10:                              ## @.str.10
	.asciz	"priority"

	.comm	_RTP_SET,4,2                    ## @RTP_SET
L_.str.11:                              ## @.str.11
	.asciz	"RTP_SET"

L_.str.12:                              ## @.str.12
	.asciz	"execvp: %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_getprogname
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
	cmp	w20, #1
	b.ne	LBB0_7
LBB0_3:
	mov	x1, #0
	b	LBB0_14
LBB0_4:
	mov	w8, #128
	b	LBB0_6
LBB0_5:
	mov	w8, #130
LBB0_6:
	str	w8, [sp, #16]
	cmp	w20, #1
	b.eq	LBB0_3
LBB0_7:
	cmp	w20, #2
	b.eq	LBB0_13
; %bb.8:
	ldr	x0, [x19, #8]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.eq	LBB0_11
; %bb.9:
	sxtb	w0, w8
	bl	_isdigit
	cbz	w0, LBB0_12
; %bb.10:
	ldr	x0, [x19, #8]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_24
LBB0_11:
Lloh6:
	adrp	x1, l_.str.9@PAGE
Lloh7:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_19
LBB0_12:
	bl	_usage
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	ldr	x0, [x19, #8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_parseint
	bl	_abs
	mov	x1, x0
LBB0_14:
Lloh10:
	adrp	x8, _RTP_LOOKUP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RTP_LOOKUP@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x2, sp, #16
	bl	_rtprio
	cbz	w0, LBB0_16
; %bb.15:
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_16:
	ldr	w8, [sp, #16]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_20
; %bb.17:
Lloh15:
	adrp	x8, lJTI0_0@PAGE
Lloh16:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_19:
	mov	w8, #129
	str	w8, [sp, #16]
	b	LBB0_25
LBB0_20:
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_32
LBB0_21:
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_23
LBB0_22:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_23:
	bl	_warnx
	mov	w0, #0
	bl	_exit
LBB0_24:
Lloh25:
	adrp	x1, l_.str.10@PAGE
Lloh26:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_parseint
LBB0_25:
	str	x0, [sp, #24]
	ldr	x0, [x19, #16]!
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_27
; %bb.26:
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_parseint
	bl	_abs
	mov	x20, x0
	b	LBB0_28
LBB0_27:
	mov	x20, #0
LBB0_28:
Lloh29:
	adrp	x8, _RTP_SET@GOTPAGE
Lloh30:
	ldr	x8, [x8, _RTP_SET@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	add	x2, sp, #16
	mov	x1, x20
	bl	_rtprio
	cbz	w0, LBB0_30
; %bb.29:
Lloh32:
	adrp	x1, l_.str.11@PAGE
Lloh33:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_30:
	cbnz	x20, LBB0_32
; %bb.31:
	ldr	x0, [x19]
	mov	x1, x19
	bl	_execvp
	ldr	x8, [x19]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.12@PAGE
Lloh35:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_32:
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_21-LBB0_18)>>2
	.byte	(LBB0_22-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtprio"

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

l_.str.2:                               ; @.str.2
	.asciz	"invalid progname"

l_.str.3:                               ; @.str.3
	.asciz	"pid"

	.comm	_RTP_LOOKUP,4,2                 ; @RTP_LOOKUP
l_.str.4:                               ; @.str.4
	.asciz	"RTP_LOOKUP"

l_.str.5:                               ; @.str.5
	.asciz	"realtime priority %d"

l_.str.6:                               ; @.str.6
	.asciz	"normal priority"

l_.str.7:                               ; @.str.7
	.asciz	"idle priority %d"

l_.str.8:                               ; @.str.8
	.asciz	"invalid priority type %d"

l_.str.9:                               ; @.str.9
	.asciz	"-t"

l_.str.10:                              ; @.str.10
	.asciz	"priority"

	.comm	_RTP_SET,4,2                    ; @RTP_SET
l_.str.11:                              ; @.str.11
	.asciz	"RTP_SET"

l_.str.12:                              ; @.str.12
	.asciz	"execvp: %s"

.subsections_via_symbols
