	.file	"123249.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	miniscanf
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	miniscanf
	.type	miniscanf, @function
miniscanf:
.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, 384
	mov	QWORD PTR -376[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L5
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L5:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -356[rbp], 0
	mov	DWORD PTR -312[rbp], 8
	mov	DWORD PTR -308[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -304[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -376[rbp]
	mov	QWORD PTR -352[rbp], rax
	jmp	.L6
.L27:
	mov	rax, QWORD PTR -352[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 37
	je	.L7
	mov	eax, DWORD PTR -356[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -356[rbp], edx
	mov	rdx, QWORD PTR -352[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -356[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -356[rbp], edx
	cdqe
	mov	BYTE PTR -288[rbp+rax], 37
	jmp	.L9
.L11:
	add	QWORD PTR -352[rbp], 1
	mov	eax, DWORD PTR -356[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -356[rbp], edx
	mov	rdx, QWORD PTR -352[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
.L9:
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L10
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -352[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L11
.L10:
	mov	eax, DWORD PTR -356[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -356[rbp], edx
	mov	rdx, QWORD PTR -352[rbp]
	movzx	edx, BYTE PTR 1[rdx]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	mov	BYTE PTR -288[rbp+rax], 0
	add	QWORD PTR -352[rbp], 1
	mov	rax, QWORD PTR -352[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 48
	je	.L12
	cmp	eax, 48
	jl	.L13
	cmp	eax, 120
	jg	.L13
	cmp	eax, 88
	jl	.L13
	sub	eax, 88
	cmp	eax, 32
	ja	.L13
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L14[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L14[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L14:
	.long	.L12-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L16-.L14
	.long	.L13-.L14
	.long	.L17-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L16-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L15-.L14
	.long	.L13-.L14
	.long	.L12-.L14
	.long	.L13-.L14
	.long	.L13-.L14
	.long	.L12-.L14
	.text
.L16:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, 47
	ja	.L18
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -312[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -312[rbp]
	add	edx, 8
	mov	DWORD PTR -312[rbp], edx
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -304[rbp], rdx
.L19:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -328[rbp], rax
	mov	rdx, QWORD PTR -328[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	scanf_s@PLT
	jmp	.L20
.L12:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, 47
	ja	.L21
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -312[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -312[rbp]
	add	edx, 8
	mov	DWORD PTR -312[rbp], edx
	jmp	.L22
.L21:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -304[rbp], rdx
.L22:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -320[rbp], rax
	mov	rdx, QWORD PTR -320[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	scanf_s@PLT
	jmp	.L20
.L17:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, 47
	ja	.L23
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -312[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -312[rbp]
	add	edx, 8
	mov	DWORD PTR -312[rbp], edx
	jmp	.L24
.L23:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -304[rbp], rdx
.L24:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -336[rbp], rax
	mov	rdx, QWORD PTR -336[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	scanf_s@PLT
	jmp	.L20
.L15:
	mov	eax, DWORD PTR -312[rbp]
	cmp	eax, 47
	ja	.L25
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -312[rbp]
	mov	edx, edx
	add	rax, rdx
	mov	edx, DWORD PTR -312[rbp]
	add	edx, 8
	mov	DWORD PTR -312[rbp], edx
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -304[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -304[rbp], rdx
.L26:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -344[rbp], rax
	mov	rdx, QWORD PTR -344[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	scanf_s@PLT
	jmp	.L20
.L13:
	lea	rax, -288[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	scanf_s@PLT
	nop
.L20:
	mov	DWORD PTR -356[rbp], 0
.L8:
	add	QWORD PTR -352[rbp], 1
.L6:
	mov	rax, QWORD PTR -352[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L27
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	miniscanf, .-miniscanf
	.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	"123249.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.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, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L4+4
	bl	miniscanf
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, .L4+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	miniscanf
	.syntax unified
	.arm
	.fpu softvfp
	.type	miniscanf, %function
miniscanf:
	@ args = 4, pretend = 16, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, [fp, #4]
	str	r3, [fp, #-144]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-128]
	add	r3, fp, #8
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-132]
	b	.L7
.L20:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L8
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	ldr	r2, [fp, #-132]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-104]
	b	.L9
.L8:
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #37
	strb	r2, [r3, #-104]
	b	.L10
.L12:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	ldr	r2, [fp, #-132]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-104]
.L10:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L11
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L12
.L11:
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	ldr	r2, [fp, #-132]
	ldrb	r2, [r2, #1]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-104]
	sub	r2, fp, #108
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L13
	cmp	r3, #48
	blt	.L14
	cmp	r3, #120
	bgt	.L14
	cmp	r3, #88
	blt	.L14
	sub	r3, r3, #88
	cmp	r3, #32
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L15:
	.word	.L13
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L17
	.word	.L14
	.word	.L18
	.word	.L14
	.word	.L14
	.word	.L17
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L16
	.word	.L14
	.word	.L13
	.word	.L14
	.word	.L14
	.word	.L13
.L17:
	ldr	r3, [fp, #-136]
	add	r2, r3, #4
	str	r2, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	sub	r3, fp, #108
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	scanf_s
	b	.L19
.L13:
	ldr	r3, [fp, #-136]
	add	r2, r3, #4
	str	r2, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	sub	r3, fp, #108
	ldr	r1, [fp, #-112]
	mov	r0, r3
	bl	scanf_s
	b	.L19
.L18:
	ldr	r3, [fp, #-136]
	add	r2, r3, #4
	str	r2, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-120]
	sub	r3, fp, #108
	ldr	r1, [fp, #-120]
	mov	r0, r3
	bl	scanf_s
	b	.L19
.L16:
	ldr	r3, [fp, #-136]
	add	r2, r3, #4
	str	r2, [fp, #-136]
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	sub	r3, fp, #108
	ldr	r1, [fp, #-124]
	mov	r0, r3
	bl	scanf_s
	b	.L19
.L14:
	sub	r3, fp, #108
	mov	r0, r3
	bl	scanf_s
	nop
.L19:
	mov	r3, #0
	str	r3, [fp, #-128]
.L9:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L7:
	ldr	r3, [fp, #-132]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L20
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L23:
	.align	2
.L22:
	.word	.LC3
	.size	miniscanf, .-miniscanf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
