	.file	"384898.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"SYS_TEST"
.LC2:
	.string	"--"
	.align 8
.LC3:
	.string	"nice: argument must be numeric.\n"
	.align 8
.LC4:
	.string	"nice: invalid operation; scheduling class does not support nice\n"
.LC5:
	.string	"%s: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 10
	lea	rsi, .LC0[rip]
	mov	edi, 6
	call	setlocale@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	textdomain@PLT
	cmp	DWORD PTR -52[rbp], 1
	jg	.L2
	call	usage
.L2:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L3
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
	add	QWORD PTR -64[rbp], 8
	sub	DWORD PTR -52[rbp], 1
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR 8[rax]
	add	rbx, 1
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 110
	jne	.L5
	add	rbx, 1
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L6
	add	QWORD PTR -64[rbp], 8
	sub	DWORD PTR -52[rbp], 1
	cmp	DWORD PTR -52[rbp], 1
	jg	.L7
	call	usage
.L7:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L8
.L6:
	mov	QWORD PTR -32[rbp], rbx
	jmp	.L8
.L5:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -32[rbp], rax
.L8:
	lea	rcx, -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L9
	lea	rdi, .LC3[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	usage
.L9:
	sub	DWORD PTR -52[rbp], 1
	cmp	DWORD PTR -52[rbp], 1
	jg	.L10
	call	usage
.L10:
	add	QWORD PTR -64[rbp], 8
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L3
	add	QWORD PTR -64[rbp], 8
	sub	DWORD PTR -52[rbp], 1
.L3:
	cmp	DWORD PTR -52[rbp], 1
	jg	.L12
	call	usage
.L12:
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	edi, eax
	call	nice@PLT
	cmp	eax, -1
	jne	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 22
	jne	.L13
	lea	rdi, .LC4[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rbx, QWORD PTR [rax]
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	r12, rax
	lea	rdi, .LC5[rip]
	call	gettext@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rbx
	mov	rdx, r12
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	je	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 20
	jne	.L16
.L15:
	mov	eax, 127
	jmp	.L14
.L16:
	mov	eax, 126
.L14:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.string	"nice: usage: nice [-n increment] utility [argument ...]\n"
	.text
	.type	usage, @function
usage:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC6[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"384898.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"SYS_TEST\000"
	.align	2
.LC2:
	.ascii	"--\000"
	.align	2
.LC3:
	.ascii	"nice: argument must be numeric.\012\000"
	.align	2
.LC4:
	.ascii	"nice: invalid operation; scheduling class does not "
	.ascii	"support nice\012\000"
	.align	2
.LC5:
	.ascii	"%s: %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-24]
	ldr	r1, .L19+4
	mov	r0, #6
	bl	setlocale
	ldr	r0, .L19+8
	bl	textdomain
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L2
	bl	usage
.L2:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L3
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L19+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L3
.L4:
	ldr	r3, [fp, #-36]
	ldr	r4, [r3, #4]
	add	r4, r4, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L5
	add	r4, r4, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L7
	bl	usage
.L7:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	b	.L8
.L6:
	str	r4, [fp, #-20]
	b	.L8
.L5:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L8:
	sub	r3, fp, #28
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strtol
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L19+16
	ldr	r4, [r3]
	ldr	r0, .L19+20
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	fprintf
	bl	usage
.L9:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L10
	bl	usage
.L10:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L19+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L12
	bl	usage
.L12:
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-24]
	bl	nice
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #22
	bne	.L13
	ldr	r3, .L19+16
	ldr	r4, [r3]
	ldr	r0, .L19+24
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	fprintf
	mov	r3, #2
	b	.L14
.L13:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	ldr	r3, .L19+16
	ldr	r4, [r3]
	ldr	r0, .L19+28
	bl	gettext
	mov	r5, r0
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r5
	mov	r0, r4
	bl	fprintf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #2
	beq	.L15
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #20
	bne	.L16
.L15:
	mov	r3, #127
	b	.L14
.L16:
	mov	r3, #126
.L14:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	"nice: usage: nice [-n increment] utility [argument "
	.ascii	"...]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L22
	ldr	r4, [r3]
	ldr	r0, .L22+4
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	fprintf
	mov	r0, #2
	bl	exit
.L23:
	.align	2
.L22:
	.word	stderr
	.word	.LC7
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
