	.file	"extr_renice.c_getnum.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s argument %s is out of range."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Bad %s argument: %s."
	.text
	.p2align 4
	.type	getnum, @function
getnum:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	mov	edx, 10
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	mov	QWORD PTR errno[rip], 0
	call	strtol@PLT
	cmp	QWORD PTR INT_MIN[rip], rax
	jg	.L2
	cmp	QWORD PTR INT_MAX[rip], rax
	jl	.L2
	mov	rdx, QWORD PTR errno[rip]
	cmp	rdx, QWORD PTR ERANGE[rip]
	je	.L2
	mov	rcx, QWORD PTR [rsp]
	cmp	rcx, r12
	je	.L5
	cmp	BYTE PTR [rcx], 0
	jne	.L5
	test	rdx, rdx
	jne	.L5
	mov	DWORD PTR [rbx], eax
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r12
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	call	warnx@PLT
	mov	eax, 1
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, r12
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	warnx@PLT
	mov	eax, 1
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	getnum, .-getnum
	.comm	errno,8,8
	.comm	INT_MIN,8,8
	.comm	INT_MAX,8,8
	.comm	ERANGE,8,8
	.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_renice.c_getnum.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s argument %s is out of range.\000"
	.align	2
.LC1:
	.ascii	"Bad %s argument: %s.\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getnum, %function
getnum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	ip, .L11
	sub	sp, sp, #12
	ldr	r7, .L11+4
	mov	r4, r1
	mov	r5, r0
	mov	r6, r2
	mov	r0, r1
	mov	r2, #10
	mov	r1, sp
	ldr	ip, [ip]
	str	ip, [sp, #4]
	mov	ip,#0
	str	r3, [r7]
	bl	strtol
	ldr	r3, .L11+8
	ldr	r3, [r3]
	cmp	r3, r0
	bgt	.L2
	ldr	r3, .L11+12
	mov	r1, r0
	ldr	r3, [r3]
	cmp	r3, r0
	blt	.L2
	ldr	r2, .L11+16
	ldr	r3, [r7]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r2, [sp]
	cmp	r2, r4
	beq	.L5
	ldrb	r0, [r2]	@ zero_extendqisi2
	subs	r3, r3, #0
	movne	r3, #1
	cmp	r0, #0
	movne	r3, #1
	cmp	r3, #0
	moveq	r0, r3
	streq	r1, [r6]
	beq	.L1
.L5:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L11+20
	bl	warnx
	mov	r0, #1
	b	.L1
.L2:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L11+24
	bl	warnx
	mov	r0, #1
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	errno
	.word	INT_MIN
	.word	INT_MAX
	.word	ERANGE
	.word	.LC1
	.word	.LC0
	.size	getnum, .-getnum
	.comm	errno,4,4
	.comm	INT_MIN,4,4
	.comm	INT_MAX,4,4
	.comm	ERANGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
