	.file	"extr_rtprio.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rtprio"
.LC1:
	.string	"idprio"
.LC2:
	.string	"invalid progname"
.LC3:
	.string	"pid"
.LC4:
	.string	"RTP_LOOKUP"
.LC5:
	.string	"realtime priority %d"
.LC6:
	.string	"normal priority"
.LC7:
	.string	"idle priority %d"
.LC8:
	.string	"invalid priority type %d"
.LC9:
	.string	"-t"
.LC10:
	.string	"priority"
.LC11:
	.string	"RTP_SET"
.LC12:
	.string	"execvp: %s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	getprogname@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	r12, rax
	call	strcmp@PLT
	test	rax, rax
	jne	.L2
	mov	DWORD PTR [rsp], 128
.L3:
	xor	r12d, r12d
	cmp	ebp, 1
	je	.L5
	cmp	ebp, 2
	jne	.L6
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, .LC3[rip]
	call	parseint@PLT
	mov	rdi, rax
	call	abs@PLT
	mov	r12, rax
.L5:
	mov	edi, DWORD PTR RTP_LOOKUP[rip]
	mov	rdx, rsp
	mov	rsi, r12
	call	rtprio@PLT
	test	eax, eax
	jne	.L42
.L7:
	mov	edx, DWORD PTR [rsp]
	cmp	edx, 130
	je	.L8
	jg	.L9
	cmp	edx, 128
	je	.L10
	cmp	edx, 129
	jne	.L12
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	warnx@PLT
.L13:
	xor	edi, edi
	call	exit@PLT
.L6:
	mov	rdi, QWORD PTR 8[rbx]
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 45
	jne	.L43
.L14:
	lea	rsi, .LC9[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L15
	mov	DWORD PTR [rsp], 129
	mov	QWORD PTR 8[rsp], 0
	jmp	.L17
.L9:
	cmp	edx, 131
	je	.L10
.L12:
	lea	rsi, .LC8[rip]
	mov	edi, 1
	xor	eax, eax
	call	errx@PLT
	jmp	.L13
.L42:
	lea	rsi, .LC4[rip]
	mov	edi, 1
	xor	eax, eax
	call	err@PLT
	jmp	.L7
.L15:
	xor	eax, eax
	call	usage@PLT
.L18:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L44
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L43:
	.cfi_restore_state
	movsx	edi, al
	call	isdigit@PLT
	test	eax, eax
	je	.L15
	mov	rdi, QWORD PTR 8[rbx]
	cmp	BYTE PTR [rdi], 45
	je	.L14
	lea	rsi, .LC10[rip]
	call	parseint@PLT
	mov	QWORD PTR 8[rsp], rax
.L17:
	mov	rdi, QWORD PTR 16[rbx]
	cmp	BYTE PTR [rdi], 45
	je	.L45
.L19:
	mov	edi, DWORD PTR RTP_SET[rip]
	mov	rdx, rsp
	mov	rsi, r12
	call	rtprio@PLT
	test	eax, eax
	jne	.L46
.L20:
	test	r12, r12
	je	.L47
.L21:
	xor	edi, edi
	call	exit@PLT
	jmp	.L18
.L2:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	strcmp@PLT
	test	rax, rax
	jne	.L4
	mov	DWORD PTR [rsp], 130
	jmp	.L3
.L46:
	lea	rsi, .LC11[rip]
	mov	edi, 1
	xor	eax, eax
	call	err@PLT
	jmp	.L20
.L10:
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	warnx@PLT
	jmp	.L13
.L8:
	mov	rsi, QWORD PTR 8[rsp]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	warnx@PLT
	jmp	.L13
.L45:
	lea	rsi, .LC3[rip]
	call	parseint@PLT
	mov	rdi, rax
	call	abs@PLT
	mov	r12, rax
	jmp	.L19
.L47:
	mov	rdi, QWORD PTR 16[rbx]
	lea	rsi, 16[rbx]
	call	execvp@PLT
	mov	rdx, QWORD PTR 16[rbx]
	mov	edi, 1
	xor	eax, eax
	lea	rsi, .LC12[rip]
	call	err@PLT
	jmp	.L21
.L4:
	lea	rsi, .LC2[rip]
	mov	edi, 1
	xor	eax, eax
	call	errx@PLT
	jmp	.L3
.L44:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	RTP_SET,4,4
	.comm	RTP_LOOKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rtprio.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rtprio\000"
	.align	2
.LC1:
	.ascii	"idprio\000"
	.align	2
.LC2:
	.ascii	"invalid progname\000"
	.align	2
.LC3:
	.ascii	"pid\000"
	.align	2
.LC4:
	.ascii	"RTP_LOOKUP\000"
	.align	2
.LC5:
	.ascii	"realtime priority %d\000"
	.align	2
.LC6:
	.ascii	"normal priority\000"
	.align	2
.LC7:
	.ascii	"idle priority %d\000"
	.align	2
.LC8:
	.ascii	"invalid priority type %d\000"
	.align	2
.LC9:
	.ascii	"-t\000"
	.align	2
.LC10:
	.ascii	"priority\000"
	.align	2
.LC11:
	.ascii	"RTP_SET\000"
	.align	2
.LC12:
	.ascii	"execvp: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L45
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r4, r1
	mov	r5, r0
	bl	getprogname
	ldr	r1, .L45+4
	mov	r6, r0
	bl	strcmp
	cmp	r0, #0
	moveq	r3, #128
	streq	r3, [sp, #4]
	beq	.L3
	mov	r0, r6
	ldr	r1, .L45+8
	bl	strcmp
	cmp	r0, #0
	bne	.L4
	mov	r3, #130
	str	r3, [sp, #4]
.L3:
	cmp	r5, #1
	beq	.L23
	cmp	r5, #2
	movne	r5, #0
	bne	.L6
	ldr	r1, .L45+12
	ldr	r0, [r4, #4]
	bl	parseint
	bl	abs
	mov	r5, r0
.L5:
	ldr	r3, .L45+16
	mov	r1, r5
	ldr	r0, [r3]
	add	r2, sp, #4
	bl	rtprio
	cmp	r0, #0
	bne	.L39
.L7:
	ldr	r2, [sp, #4]
	sub	r3, r2, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L9
	.word	.L12
	.word	.L11
	.word	.L9
.L9:
	ldr	r1, [sp, #8]
	ldr	r0, .L45+20
	bl	warnx
.L13:
	mov	r0, #0
	bl	exit
.L6:
	ldr	r0, [r4, #4]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L40
.L14:
	ldr	r1, .L45+24
	bl	strcmp
	cmp	r0, #0
	bne	.L15
	mov	r3, #129
	str	r0, [sp, #8]
	str	r3, [sp, #4]
.L17:
	ldr	r0, [r4, #8]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L41
.L19:
	ldr	r3, .L45+28
	mov	r1, r5
	ldr	r0, [r3]
	add	r2, sp, #4
	bl	rtprio
	cmp	r0, #0
	bne	.L42
.L20:
	cmp	r5, #0
	beq	.L43
.L21:
	mov	r0, #0
	bl	exit
.L18:
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L44
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L39:
	ldr	r1, .L45+32
	mov	r0, #1
	bl	err
	b	.L7
.L15:
	bl	usage
	b	.L18
.L40:
	mov	r0, r3
	bl	isdigit
	cmp	r0, #0
	beq	.L15
	ldr	r0, [r4, #4]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L14
	ldr	r1, .L45+36
	bl	parseint
	str	r0, [sp, #8]
	b	.L17
.L23:
	mov	r5, #0
	b	.L5
.L42:
	ldr	r1, .L45+40
	mov	r0, #1
	bl	err
	b	.L20
.L11:
	ldr	r1, [sp, #8]
	ldr	r0, .L45+44
	bl	warnx
	b	.L13
.L12:
	ldr	r0, .L45+48
	bl	warnx
	b	.L13
.L4:
	ldr	r1, .L45+52
	mov	r0, #1
	bl	errx
	b	.L3
.L41:
	ldr	r1, .L45+12
	bl	parseint
	bl	abs
	mov	r5, r0
	b	.L19
.L43:
	add	r1, r4, #8
	ldr	r0, [r4, #8]
	bl	execvp
	ldr	r2, [r4, #8]
	ldr	r1, .L45+56
	mov	r0, #1
	bl	err
	b	.L21
.L44:
	bl	__stack_chk_fail
.L8:
	ldr	r1, .L45+60
	mov	r0, #1
	bl	errx
	b	.L13
.L46:
	.align	2
.L45:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	RTP_LOOKUP
	.word	.LC5
	.word	.LC9
	.word	RTP_SET
	.word	.LC4
	.word	.LC10
	.word	.LC11
	.word	.LC7
	.word	.LC6
	.word	.LC2
	.word	.LC12
	.word	.LC8
	.size	main, .-main
	.comm	RTP_SET,4,4
	.comm	RTP_LOOKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
