	.file	"948417.c"
	.intel_syntax noprefix
	.text
	.globl	myAtoi
	.type	myAtoi, @function
myAtoi:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L2
.L4:
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L4
.L3:
	mov	BYTE PTR -10[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 43
	je	.L5
	cmp	eax, 45
	jne	.L18
	mov	BYTE PTR -10[rbp], 1
	add	QWORD PTR -24[rbp], 1
	jmp	.L7
.L5:
	add	QWORD PTR -24[rbp], 1
	jmp	.L7
.L18:
	nop
.L7:
	mov	DWORD PTR -8[rbp], 0
	mov	BYTE PTR -9[rbp], 0
	jmp	.L8
.L13:
	cmp	DWORD PTR -8[rbp], 214748364
	jg	.L9
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -4[rbp], eax
	mov	eax, 2147483647
	sub	eax, DWORD PTR -8[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jg	.L10
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -8[rbp], eax
	jmp	.L11
.L10:
	mov	BYTE PTR -9[rbp], 1
	jmp	.L11
.L9:
	mov	BYTE PTR -9[rbp], 1
.L11:
	add	QWORD PTR -24[rbp], 1
.L8:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L12
	movzx	eax, BYTE PTR -9[rbp]
	xor	eax, 1
	test	al, al
	jne	.L13
.L12:
	cmp	BYTE PTR -9[rbp], 0
	je	.L14
	cmp	BYTE PTR -10[rbp], 0
	je	.L15
	mov	DWORD PTR -8[rbp], -2147483648
	jmp	.L16
.L15:
	mov	DWORD PTR -8[rbp], 2147483647
	jmp	.L16
.L14:
	cmp	BYTE PTR -10[rbp], 0
	je	.L16
	neg	DWORD PTR -8[rbp]
.L16:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	myAtoi, .-myAtoi
	.section	.rodata
.LC0:
	.string	"-91283472332"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rax, .LC0[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	myAtoi
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, -2147483648
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 2147483647
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.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	"948417.c"
	.text
	.align	2
	.global	myAtoi
	.syntax unified
	.arm
	.fpu softvfp
	.type	myAtoi, %function
myAtoi:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	b	.L2
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L4
.L3:
	mov	r3, #0
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L5
	cmp	r3, #45
	bne	.L18
	mov	r3, #1
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L7
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L7
.L18:
	nop
.L7:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-13]
	b	.L8
.L13:
	ldr	r3, [fp, #-12]
	ldr	r2, .L19
	cmp	r3, r2
	bgt	.L9
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	mvn	r3, #-2147483648
	sub	r3, r3, r2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bgt	.L10
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	b	.L11
.L10:
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L11
.L9:
	mov	r3, #1
	strb	r3, [fp, #-13]
.L11:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L8:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L12
	ldrb	r3, [fp, #-13]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L13
.L12:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	mov	r3, #-2147483648
	str	r3, [fp, #-12]
	b	.L16
.L15:
	mvn	r3, #-2147483648
	str	r3, [fp, #-12]
	b	.L16
.L14:
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	str	r3, [fp, #-12]
.L16:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	214748364
	.size	myAtoi, .-myAtoi
	.section	.rodata
	.align	2
.LC0:
	.ascii	"-91283472332\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L23
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	myAtoi
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L23+4
	bl	printf
	mov	r1, #-2147483648
	ldr	r0, .L23+4
	bl	printf
	mvn	r1, #-2147483648
	ldr	r0, .L23+4
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
