	.file	"279738.c"
	.intel_syntax noprefix
	.text
	.globl	is_int
	.type	is_int, @function
is_int:
.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L3
.L2:
	add	QWORD PTR -8[rbp], 1
.L3:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L4
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L5
.L4:
	mov	eax, 0
	jmp	.L6
.L5:
	add	QWORD PTR -8[rbp], 1
	jmp	.L7
.L9:
	add	QWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L8
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jle	.L9
.L8:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	sete	al
	movzx	eax, al
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	is_int, .-is_int
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"+"
.LC2:
	.string	"-"
.LC3:
	.string	"++1"
.LC4:
	.string	"+1"
.LC5:
	.string	"+12"
.LC6:
	.string	"-1234567890"
.LC7:
	.string	"1234567890"
.LC8:
	.string	"OK"
.LC9:
	.string	"NG"
.LC10:
	.string	"'%s'\t%s\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
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	DWORD PTR -152[rbp], 0
	lea	rax, .LC1[rip]
	mov	QWORD PTR -144[rbp], rax
	mov	DWORD PTR -136[rbp], 0
	lea	rax, .LC2[rip]
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -120[rbp], 0
	lea	rax, .LC3[rip]
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	lea	rax, .LC4[rip]
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -88[rbp], 1
	lea	rax, .LC5[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -72[rbp], 1
	lea	rax, .LC6[rip]
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -56[rbp], 1
	lea	rax, .LC7[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -40[rbp], 1
	mov	DWORD PTR -164[rbp], 0
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 136
	mov	ebx, DWORD PTR [rax]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 144
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	is_int
	cmp	ebx, eax
	jne	.L12
	lea	rax, .LC8[rip]
	jmp	.L13
.L12:
	lea	rax, .LC9[rip]
.L13:
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	lea	rsi, -16[rdx]
	lea	rdx, [rsi+rbp]
	sub	rdx, 144
	mov	rcx, QWORD PTR [rdx]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -164[rbp], 1
.L11:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, 7
	jbe	.L14
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	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	"279738.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"+\000"
	.align	2
.LC2:
	.ascii	"-\000"
	.align	2
.LC3:
	.ascii	"++1\000"
	.align	2
.LC4:
	.ascii	"+1\000"
	.align	2
.LC5:
	.ascii	"+12\000"
	.align	2
.LC6:
	.ascii	"-1234567890\000"
	.align	2
.LC7:
	.ascii	"1234567890\000"
	.text
	.align	2
	.global	is_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_int, %function
is_int:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L2
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L3
.L2:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L4
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L5
.L4:
	mov	r3, #0
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L7
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L8
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L9
.L8:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	is_int, .-is_int
	.section	.rodata
	.align	2
.LC10:
	.ascii	"OK\000"
	.align	2
.LC11:
	.ascii	"NG\000"
	.align	2
.LC12:
	.ascii	"'%s'\011%s\012\000"
	.align	2
.LC9:
	.word	.LC0
	.word	0
	.word	.LC1
	.word	0
	.word	.LC2
	.word	0
	.word	.LC3
	.word	0
	.word	.LC4
	.word	1
	.word	.LC5
	.word	1
	.word	.LC6
	.word	1
	.word	.LC7
	.word	1
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L17+4
	sub	ip, fp, #80
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L11
.L14:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r5, [r3, #-68]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-64]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #3
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-68]
	mov	r0, r3
	bl	is_int
	mov	r3, r0
	cmp	r4, r3
	bne	.L12
	ldr	r3, .L17+8
	b	.L13
.L12:
	ldr	r3, .L17+12
.L13:
	mov	r2, r3
	mov	r1, r5
	ldr	r0, .L17+16
	bl	printf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L11:
	ldr	r3, [fp, #-84]
	cmp	r3, #7
	bls	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC13
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
