	.file	"150140808.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"Case %d: -1"
.LC2:
	.string	"Case %d: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 864
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -840[rbp], 1
	jmp	.L2
.L20:
	mov	DWORD PTR -848[rbp], 0
	jmp	.L3
.L4:
	lea	rdx, -816[rbp]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -848[rbp], 1
.L3:
	mov	eax, DWORD PTR -856[rbp]
	cmp	DWORD PTR -848[rbp], eax
	jl	.L4
	mov	DWORD PTR -836[rbp], 0
	mov	DWORD PTR -848[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	mov	edx, DWORD PTR -812[rbp+rax*8]
	mov	eax, DWORD PTR -852[rbp]
	cmp	edx, eax
	jle	.L6
	mov	DWORD PTR -836[rbp], 1
	mov	eax, DWORD PTR -840[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -840[rbp], 1
	jmp	.L7
.L6:
	add	DWORD PTR -848[rbp], 1
.L5:
	mov	eax, DWORD PTR -856[rbp]
	cmp	DWORD PTR -848[rbp], eax
	jl	.L8
.L7:
	cmp	DWORD PTR -836[rbp], 1
	jne	.L9
	jmp	.L2
.L9:
	mov	DWORD PTR -848[rbp], 0
	jmp	.L10
.L14:
	mov	DWORD PTR -844[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	mov	edx, DWORD PTR -812[rbp+rax*8]
	mov	eax, DWORD PTR -844[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -812[rbp+rax*8]
	cmp	edx, eax
	jge	.L12
	mov	eax, DWORD PTR -844[rbp]
	add	eax, 1
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	QWORD PTR -824[rbp], rax
	mov	eax, DWORD PTR -844[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -844[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR -816[rbp+rdx*8]
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	mov	rdx, QWORD PTR -824[rbp]
	mov	QWORD PTR -816[rbp+rax*8], rdx
.L12:
	add	DWORD PTR -844[rbp], 1
.L11:
	mov	eax, DWORD PTR -856[rbp]
	sub	eax, DWORD PTR -848[rbp]
	sub	eax, 1
	cmp	DWORD PTR -844[rbp], eax
	jl	.L13
	add	DWORD PTR -848[rbp], 1
.L10:
	mov	eax, DWORD PTR -856[rbp]
	sub	eax, 1
	cmp	DWORD PTR -848[rbp], eax
	jl	.L14
	mov	DWORD PTR -832[rbp], 1
	mov	eax, DWORD PTR -816[rbp]
	mov	DWORD PTR -828[rbp], eax
	mov	DWORD PTR -848[rbp], 1
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	mov	eax, DWORD PTR -816[rbp+rax*8]
	sub	eax, DWORD PTR -828[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -852[rbp]
	cmp	edx, eax
	jg	.L16
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	mov	ecx, DWORD PTR -816[rbp+rax*8]
	mov	eax, DWORD PTR -828[rbp]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -852[rbp]
	cmp	edx, eax
	jle	.L17
.L16:
	add	DWORD PTR -832[rbp], 1
.L17:
	add	DWORD PTR -848[rbp], 1
.L15:
	mov	eax, DWORD PTR -856[rbp]
	cmp	DWORD PTR -848[rbp], eax
	jl	.L18
	mov	edx, DWORD PTR -832[rbp]
	mov	eax, DWORD PTR -840[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -840[rbp], 1
.L2:
	lea	rdx, -852[rbp]
	lea	rax, -856[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -856[rbp]
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -852[rbp]
	test	eax, eax
	jne	.L20
.L19:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"150140808.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\000"
	.align	2
.LC1:
	.ascii	"Case %d: -1\000"
	.align	2
.LC2:
	.ascii	"Case %d: %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 848
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #848
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-832]
	b	.L2
.L20:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L3
.L4:
	sub	r2, fp, #808
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r2, fp, #808
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L23+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L3:
	ldr	r3, [fp, #-848]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-828]
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L5
.L8:
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-800]
	ldr	r3, [fp, #-844]
	cmp	r2, r3
	ble	.L6
	mov	r3, #1
	str	r3, [fp, #-828]
	ldr	r1, [fp, #-832]
	ldr	r0, .L23+8
	bl	printf
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
	b	.L7
.L6:
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L5:
	ldr	r3, [fp, #-848]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L8
.L7:
	ldr	r3, [fp, #-828]
	cmp	r3, #1
	bne	.L9
	b	.L2
.L9:
	mov	r3, #0
	str	r3, [fp, #-840]
	b	.L10
.L14:
	mov	r3, #0
	str	r3, [fp, #-836]
	b	.L11
.L13:
	ldr	r3, [fp, #-836]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-800]
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-800]
	cmp	r2, r3
	bge	.L12
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r2, fp, #816
	sub	r3, r3, #804
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	lsl	r2, r3, #3
	sub	r3, fp, #4
	add	r2, r3, r2
	ldr	r3, [fp, #-836]
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r2, r2, #804
	sub	r3, r3, #804
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-836]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #804
	sub	r2, fp, #816
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
.L12:
	ldr	r3, [fp, #-836]
	add	r3, r3, #1
	str	r3, [fp, #-836]
.L11:
	ldr	r2, [fp, #-848]
	ldr	r3, [fp, #-840]
	sub	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, [fp, #-836]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L10:
	ldr	r3, [fp, #-848]
	sub	r3, r3, #1
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L14
	mov	r3, #1
	str	r3, [fp, #-824]
	ldr	r3, [fp, #-808]
	str	r3, [fp, #-820]
	mov	r3, #1
	str	r3, [fp, #-840]
	b	.L15
.L18:
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-804]
	ldr	r3, [fp, #-820]
	sub	r2, r2, r3
	ldr	r3, [fp, #-844]
	cmp	r2, r3
	bgt	.L16
	ldr	r3, [fp, #-840]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-804]
	ldr	r2, [fp, #-820]
	sub	r2, r2, r3
	ldr	r3, [fp, #-844]
	cmp	r2, r3
	ble	.L17
.L16:
	ldr	r3, [fp, #-824]
	add	r3, r3, #1
	str	r3, [fp, #-824]
.L17:
	ldr	r3, [fp, #-840]
	add	r3, r3, #1
	str	r3, [fp, #-840]
.L15:
	ldr	r3, [fp, #-848]
	ldr	r2, [fp, #-840]
	cmp	r2, r3
	blt	.L18
	ldr	r2, [fp, #-824]
	ldr	r1, [fp, #-832]
	ldr	r0, .L23+12
	bl	printf
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L2:
	sub	r2, fp, #844
	sub	r3, fp, #848
	mov	r1, r3
	ldr	r0, .L23+4
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-844]
	cmp	r3, #0
	bne	.L20
.L19:
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
