	.file	"244191.c"
	.intel_syntax noprefix
	.text
	.globl	IIatoi
	.type	IIatoi, @function
IIatoi:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -48[rbp], rdi
	mov	QWORD PTR -56[rbp], rsi
	mov	rbx, QWORD PTR -48[rbp]
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L3:
	add	rbx, 1
.L2:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L3
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	cmp	eax, 43
	je	.L6
	cmp	eax, 45
	jne	.L5
	mov	DWORD PTR -28[rbp], -1
.L6:
	add	rbx, 1
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L6
.L5:
	mov	r13d, 0
	jmp	.L7
.L12:
	cmp	r13d, 3276
	jg	.L8
	cmp	r13d, 3276
	jne	.L9
	cmp	r12b, 55
	jle	.L9
.L8:
	mov	eax, 1
	jmp	.L10
.L9:
	mov	eax, r13d
	sal	eax, 2
	add	eax, r13d
	add	eax, eax
	mov	edx, eax
	movsx	eax, r12b
	add	eax, edx
	lea	r13d, -48[rax]
	add	rbx, 1
.L7:
	movzx	r12d, BYTE PTR [rbx]
	cmp	r12b, 57
	jg	.L13
	cmp	r12b, 47
	jg	.L12
	jmp	.L13
.L14:
	cmp	r12b, 32
	je	.L13
	mov	eax, -1
	jmp	.L10
.L13:
	mov	rax, rbx
	lea	rbx, 1[rax]
	movzx	r12d, BYTE PTR [rax]
	test	r12b, r12b
	jne	.L14
	cmp	DWORD PTR -28[rbp], 0
	je	.L15
	mov	edx, r13d
	neg	edx
	jmp	.L16
.L15:
	mov	edx, r13d
.L16:
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L10:
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	IIatoi, .-IIatoi
	.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	"244191.c"
	.text
	.align	2
	.global	IIatoi
	.syntax unified
	.arm
	.fpu softvfp
	.type	IIatoi, %function
IIatoi:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r4, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	add	r4, r4, #1
.L2:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L6
	cmp	r3, #45
	bne	.L5
	mvn	r3, #0
	str	r3, [fp, #-16]
.L6:
	add	r4, r4, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L6
.L5:
	mov	r6, #0
	b	.L7
.L12:
	ldr	r3, .L17
	cmp	r6, r3
	bgt	.L8
	ldr	r3, .L17
	cmp	r6, r3
	bne	.L9
	cmp	r5, #55
	bls	.L9
.L8:
	mov	r3, #1
	b	.L10
.L9:
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r3, r6
	lsl	r3, r3, #1
	mov	r2, r3
	mov	r3, r5
	add	r3, r2, r3
	sub	r6, r3, #48
	add	r4, r4, #1
.L7:
	ldrb	r5, [r4]	@ zero_extendqisi2
	cmp	r5, #57
	bhi	.L13
	cmp	r5, #47
	bhi	.L12
	b	.L13
.L14:
	cmp	r5, #32
	beq	.L13
	mvn	r3, #0
	b	.L10
.L13:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r5, [r3]	@ zero_extendqisi2
	cmp	r5, #0
	bne	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L15
	rsb	r3, r6, #0
	b	.L16
.L15:
	mov	r3, r6
.L16:
	ldr	r2, [fp, #-28]
	str	r3, [r2]
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
.L18:
	.align	2
.L17:
	.word	3276
	.size	IIatoi, .-IIatoi
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
