	.file	"155456.c"
	.intel_syntax noprefix
	.text
	.globl	C
	.type	C, @function
C:
.LFB0:
	.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, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L2
	cmp	DWORD PTR -20[rbp], 0
	js	.L2
	cmp	DWORD PTR -24[rbp], 0
	jns	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	cmp	DWORD PTR -24[rbp], 0
	je	.L5
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	je	.L5
	cmp	DWORD PTR -20[rbp], 0
	jne	.L6
.L5:
	mov	eax, 1
	jmp	.L4
.L6:
	cmp	DWORD PTR -24[rbp], 3
	je	.L7
	cmp	DWORD PTR -24[rbp], 3
	jg	.L8
	cmp	DWORD PTR -24[rbp], 1
	je	.L9
	cmp	DWORD PTR -24[rbp], 2
	je	.L10
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	jmp	.L4
.L10:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -20[rbp]
	sub	edx, 2
	imul	eax, edx
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	jmp	.L4
.L8:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	esi, edx
	mov	edi, eax
	call	C
	mov	rbx, rax
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	mov	edi, edx
	call	C
	add	rax, rbx
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	C, .-C
	.section	.rodata
.LC0:
	.string	"%llu\n"
.LC1:
	.string	"%d%d"
	.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
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L12
.L13:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	C
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	lea	rdx, -16[rbp]
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L13
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"155456.c"
	.text
	.align	2
	.global	C
	.syntax unified
	.arm
	.fpu softvfp
	.type	C, %function
C:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L2
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L3
.L2:
	mov	r4, #0
	mov	r5, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L5
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	beq	.L5
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L6
.L5:
	mov	r4, #1
	mov	r5, #0
	b	.L4
.L6:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	beq	.L7
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	bgt	.L8
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L9
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L10
	b	.L8
.L9:
	ldr	r3, [fp, #-24]
	mov	r4, r3
	asr	r5, r4, #31
	b	.L4
.L10:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r4, r3
	asr	r5, r4, #31
	b	.L4
.L7:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	mul	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r2, r2, #2
	mul	r3, r2, r3
	ldr	r2, .L11
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r4, r3
	asr	r5, r4, #31
	b	.L4
.L8:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	C
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	C
	mov	r2, r0
	mov	r3, r1
	adds	r4, r6, r2
	adc	r5, r7, r3
.L4:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L12:
	.align	2
.L11:
	.word	715827883
	.size	C, .-C
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%llu\012\000"
	.align	2
.LC1:
	.ascii	"%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 = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L14
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	C
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+4
	bl	printf
.L14:
	sub	r2, fp, #16
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
