	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	_DEFNICE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	cmpl	$2, %edi
	jl	LBB0_8
## %bb.1:
	movq	8(%r15), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_8
## %bb.2:
	leaq	8(%r15), %r12
	movb	1(%rdi), %al
	cmpb	$45, %al
	je	LBB0_5
## %bb.3:
	movzbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	(%r12), %rdi
LBB0_5:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%r12), %rdx
	incq	%rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_asprintf
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_8:
	leaq	L_.str.3(%rip), %r12
	movq	_errno@GOTPCREL(%rip), %r13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$110, %eax
	jne	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	$0, (%r13)
	movq	_optarg@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	movq	(%r14), %rdx
	movq	%rax, %r14
	cmpq	%rdx, %rcx
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpb	$0, (%rcx)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, (%r13)
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jl	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jle	LBB0_9
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_errx
	jmp	LBB0_9
LBB0_18:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	%ebx, %r12d
	jne	LBB0_20
## %bb.19:
	xorl	%eax, %eax
	callq	_usage
LBB0_20:
	movq	$0, (%r13)
	movq	_PRIO_PROCESS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_getpriority
	cmpq	$0, (%r13)
	je	LBB0_22
## %bb.21:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_24
LBB0_22:
	addl	%r14d, %eax
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_setpriority
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	leaq	L_.str.6(%rip), %rdi
LBB0_24:
	callq	_warn
LBB0_25:
	leaq	(%r15,%r12,8), %rsi
	movq	(%r15,%r12,8), %rdi
	callq	_execvp
	movq	(%r13), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	orl	$126, %edi
	movq	(%r15,%r12,8), %rdx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_err
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFNICE,8,3                    ## @DEFNICE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--"

L_.str.1:                               ## @.str.1
	.asciz	"-n%s"

L_.str.2:                               ## @.str.2
	.asciz	"asprintf"

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

	.comm	_errno,8,3                      ## @errno
	.comm	_optarg,8,3                     ## @optarg
	.comm	_INT_MIN,8,3                    ## @INT_MIN
	.comm	_INT_MAX,8,3                    ## @INT_MAX
L_.str.4:                               ## @.str.4
	.asciz	"%s: invalid nice value"

	.comm	_optind,8,3                     ## @optind
	.comm	_PRIO_PROCESS,4,2               ## @PRIO_PROCESS
L_.str.5:                               ## @.str.5
	.asciz	"getpriority"

L_.str.6:                               ## @.str.6
	.asciz	"setpriority"

	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.7:                               ## @.str.7
	.asciz	"%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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _DEFNICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFNICE@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	cmp	w0, #2
	b.lt	LBB0_8
; %bb.1:
	mov	x22, x19
	ldr	x0, [x22, #8]!
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_8
; %bb.2:
	ldrb	w8, [x0, #1]
	cmp	w8, #45
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x8
	bl	_isdigit
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [x22]
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x22]
	add	x2, x8, #1
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_asprintf
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_8:
Lloh9:
	adrp	x22, l_.str.3@PAGE
Lloh10:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh11:
	adrp	x24, _errno@GOTPAGE
Lloh12:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh13:
	adrp	x25, _optarg@GOTPAGE
Lloh14:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
Lloh15:
	adrp	x26, _INT_MIN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _INT_MIN@GOTPAGEOFF]
Lloh17:
	adrp	x23, l_.str.4@PAGE
Lloh18:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh19:
	adrp	x27, _INT_MAX@GOTPAGE
Lloh20:
	ldr	x27, [x27, _INT_MAX@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	bl	_usage
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w0, #110
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	str	xzr, [x24]
	ldr	x0, [x25]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x20, x0
	ldr	x8, [sp, #8]
	ldr	x2, [x25]
	cmp	x8, x2
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x8]
	ldr	x9, [x24]
	ldr	x10, [x26]
	ldr	x11, [x27]
	cmp	w8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x20, x10, #8, eq
	ccmp	x20, x11, #0, ge
	b.le	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_errx
	b	LBB0_10
LBB0_15:
Lloh21:
	adrp	x8, _optind@GOTPAGE
Lloh22:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh23:
	ldr	x22, [x8]
	cmp	w22, w21
	b.ne	LBB0_17
; %bb.16:
	bl	_usage
LBB0_17:
	str	xzr, [x24]
Lloh24:
	adrp	x21, _PRIO_PROCESS@GOTPAGE
Lloh25:
	ldr	x21, [x21, _PRIO_PROCESS@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #0
	bl	_getpriority
	ldr	x8, [x24]
	cbz	x8, LBB0_19
; %bb.18:
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_21
LBB0_19:
	add	w2, w0, w20
	ldr	w0, [x21]
	mov	w1, #0
	bl	_setpriority
	cbz	x0, LBB0_22
; %bb.20:
Lloh28:
	adrp	x0, l_.str.6@PAGE
Lloh29:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_21:
	bl	_warn
LBB0_22:
	add	x19, x19, x22, lsl #3
	ldr	x0, [x19]
	mov	x1, x19
	bl	_execvp
Lloh30:
	adrp	x8, _ENOENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh32:
	ldr	x8, [x8]
	cmp	x9, x8
	mov	w8, #126
	cinc	w0, w8, eq
	ldr	x8, [x19]
	str	x8, [sp]
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_err
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFNICE,8,3                    ; @DEFNICE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--"

l_.str.1:                               ; @.str.1
	.asciz	"-n%s"

l_.str.2:                               ; @.str.2
	.asciz	"asprintf"

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

	.comm	_errno,8,3                      ; @errno
	.comm	_optarg,8,3                     ; @optarg
	.comm	_INT_MIN,8,3                    ; @INT_MIN
	.comm	_INT_MAX,8,3                    ; @INT_MAX
l_.str.4:                               ; @.str.4
	.asciz	"%s: invalid nice value"

	.comm	_optind,8,3                     ; @optind
	.comm	_PRIO_PROCESS,4,2               ; @PRIO_PROCESS
l_.str.5:                               ; @.str.5
	.asciz	"getpriority"

l_.str.6:                               ; @.str.6
	.asciz	"setpriority"

	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.7:                               ; @.str.7
	.asciz	"%s"

.subsections_via_symbols
