	.file	"884804.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Case %d: %d\n"
.LC1:
	.string	"%d %d %d %d"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L4:
	mov	ecx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, DWORD PTR -20[rbp]
	cdq
	idiv	edi
	mov	r8d, edx
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, DWORD PTR -20[rbp]
	cdq
	idiv	edi
	mov	eax, edx
	mov	edx, esi
	mov	esi, r8d
	mov	edi, eax
	call	len
	mov	edx, eax
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	lea	rsi, -16[rbp]
	lea	rcx, -20[rbp]
	lea	rdx, -24[rbp]
	lea	rax, -28[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jne	.L4
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	len
	.type	len, @function
len:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -36864[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3184
	mov	DWORD PTR -40036[rbp], edi
	mov	DWORD PTR -40040[rbp], esi
	mov	DWORD PTR -40044[rbp], edx
	mov	DWORD PTR -40048[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -40048[rbp]
	mov	DWORD PTR -40016[rbp], eax
	mov	DWORD PTR -40028[rbp], 1
.L10:
	mov	eax, DWORD PTR -40028[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -40016[rbp+rax*4]
	imul	eax, DWORD PTR -40036[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -40040[rbp]
	add	eax, edx
	cdq
	idiv	DWORD PTR -40044[rbp]
	mov	DWORD PTR -40024[rbp], edx
	mov	edx, DWORD PTR -40028[rbp]
	lea	rcx, -40016[rbp]
	mov	eax, DWORD PTR -40024[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	in
	mov	DWORD PTR -40020[rbp], eax
	cmp	DWORD PTR -40020[rbp], -1
	je	.L8
	mov	eax, DWORD PTR -40028[rbp]
	sub	eax, DWORD PTR -40020[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	jmp	.L12
.L8:
	mov	eax, DWORD PTR -40028[rbp]
	cdqe
	mov	edx, DWORD PTR -40024[rbp]
	mov	DWORD PTR -40016[rbp+rax*4], edx
	add	DWORD PTR -40028[rbp], 1
	jmp	.L10
.L12:
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	len, .-len
	.globl	in
	.type	in, @function
in:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jne	.L15
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L16
.L15:
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L17
	mov	eax, -1
.L16:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	in, .-in
	.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	"884804.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Case %d: %d\012\000"
	.align	2
.LC1:
	.ascii	"%d %d %d %d\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L4:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r4, r3
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	mov	r0, r4
	bl	len
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, .L7+4
	bl	printf
.L2:
	sub	r0, fp, #28
	sub	r2, fp, #32
	sub	r1, fp, #36
	sub	r3, fp, #24
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L4
.L3:
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	len
	.syntax unified
	.arm
	.fpu softvfp
	.type	len, %function
len:
	@ args = 0, pretend = 0, frame = 40032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #39936
	sub	sp, sp, #100
	sub	ip, fp, #36864
	sub	ip, ip, #12
	str	r0, [ip, #-3156]
	sub	r0, fp, #36864
	sub	r0, r0, #12
	str	r1, [r0, #-3160]
	sub	r1, fp, #36864
	sub	r1, r1, #12
	str	r2, [r1, #-3164]
	sub	r2, fp, #36864
	sub	r2, r2, #12
	str	r3, [r2, #-3168]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3168]
	str	r3, [r2, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3152]
.L12:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3152]
	sub	r3, r3, #1
	sub	r2, fp, #36864
	sub	r2, r2, #12
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3140]
	sub	r2, fp, #36864
	sub	r2, r2, #12
	ldr	r2, [r2, #-3156]
	mul	r2, r3, r2
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3160]
	add	r3, r2, r3
	sub	r2, fp, #36864
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #36864
	sub	r2, r2, #12
	ldr	r1, [r2, #-3164]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [r4, #-3148]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #39936
	sub	r3, r3, #12
	sub	r3, r3, #68
	sub	r1, fp, #36864
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-3152]
	mov	r1, r3
	ldr	r0, [r0, #-3148]
	bl	in
	str	r0, [r4, #-3144]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3144]
	cmn	r3, #1
	beq	.L10
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r2, [r2, #-3152]
	ldr	r3, [r3, #-3144]
	sub	r3, r2, r3
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	b	.L14
.L10:
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3152]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #36864
	sub	r2, r2, #12
	ldr	r2, [r2, #-3148]
	str	r2, [r3, #-3140]
	sub	r3, fp, #36864
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #12
	ldr	r3, [r3, #-3152]
	add	r3, r3, #1
	str	r3, [r2, #-3152]
	b	.L12
.L14:
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.size	len, .-len
	.align	2
	.global	in
	.syntax unified
	.arm
	.fpu softvfp
	.type	in, %function
in:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L21:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-8]
	b	.L20
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L21
	mvn	r3, #0
.L20:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	in, .-in
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
