	.file	"680984.c"
	.intel_syntax noprefix
	.text
	.globl	atoi__
	.type	atoi__, @function
atoi__:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -4[rbp], eax
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	cmp	eax, 9
	jbe	.L4
.L3:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	atoi__, .-atoi__
	.section	.rodata
.LC0:
	.string	"888"
.LC1:
	.string	"the_stack_data/680984.c"
.LC2:
	.string	"atoi__(\"888\") == 888"
.LC3:
	.string	"784abc"
.LC4:
	.string	"atoi__(\"784abc\") == 784"
.LC5:
	.string	"abcd"
.LC6:
	.string	"atoi__(\"abcd\") == 0"
.LC7:
	.string	"abcd7474"
.LC8:
	.string	"atoi__(\"abcd7474\") == 0"
	.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
	lea	rdi, .LC0[rip]
	call	atoi__
	cmp	eax, 888
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 25
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L7:
	lea	rdi, .LC3[rip]
	call	atoi__
	cmp	eax, 784
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 26
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L8:
	lea	rdi, .LC5[rip]
	call	atoi__
	test	eax, eax
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 27
	lea	rsi, .LC1[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L9:
	lea	rdi, .LC7[rip]
	call	atoi__
	test	eax, eax
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 28
	lea	rsi, .LC1[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"680984.c"
	.text
	.align	2
	.global	atoi__
	.syntax unified
	.arm
	.fpu softvfp
	.type	atoi__, %function
atoi__:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #9
	bls	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	atoi__, .-atoi__
	.section	.rodata
	.align	2
.LC0:
	.ascii	"888\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/680984.c\000"
	.align	2
.LC2:
	.ascii	"atoi__(\"888\") == 888\000"
	.align	2
.LC3:
	.ascii	"784abc\000"
	.align	2
.LC4:
	.ascii	"atoi__(\"784abc\") == 784\000"
	.align	2
.LC5:
	.ascii	"abcd\000"
	.align	2
.LC6:
	.ascii	"atoi__(\"abcd\") == 0\000"
	.align	2
.LC7:
	.ascii	"abcd7474\000"
	.align	2
.LC8:
	.ascii	"atoi__(\"abcd7474\") == 0\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L11
	bl	atoi__
	mov	r3, r0
	cmp	r3, #888
	beq	.L6
	ldr	r3, .L11+4
	mov	r2, #25
	ldr	r1, .L11+8
	ldr	r0, .L11+12
	bl	__assert_fail
.L6:
	ldr	r0, .L11+16
	bl	atoi__
	mov	r3, r0
	cmp	r3, #784
	beq	.L7
	ldr	r3, .L11+4
	mov	r2, #26
	ldr	r1, .L11+8
	ldr	r0, .L11+20
	bl	__assert_fail
.L7:
	ldr	r0, .L11+24
	bl	atoi__
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L11+4
	mov	r2, #27
	ldr	r1, .L11+8
	ldr	r0, .L11+28
	bl	__assert_fail
.L8:
	ldr	r0, .L11+32
	bl	atoi__
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L11+4
	mov	r2, #28
	ldr	r1, .L11+8
	ldr	r0, .L11+36
	bl	__assert_fail
.L9:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	__PRETTY_FUNCTION__.4623
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4623, %object
	.size	__PRETTY_FUNCTION__.4623, 5
__PRETTY_FUNCTION__.4623:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
