	.file	"611301.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld"
	.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, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -232[rbp], 4
	mov	QWORD PTR -216[rbp], 1
	lea	rax, -252[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L11:
	mov	QWORD PTR -216[rbp], 1
	mov	BYTE PTR -208[rbp], 0
	mov	QWORD PTR -232[rbp], 4
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -240[rbp]
	mov	QWORD PTR -224[rbp], rax
	jmp	.L3
.L8:
	mov	rax, QWORD PTR -224[rbp]
	cqo
	shr	rdx, 62
	add	rax, rdx
	and	eax, 3
	sub	rax, rdx
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], 3
	je	.L4
	cmp	DWORD PTR -244[rbp], 3
	jg	.L5
	cmp	DWORD PTR -244[rbp], 2
	je	.L6
	cmp	DWORD PTR -244[rbp], 2
	jg	.L5
	cmp	DWORD PTR -244[rbp], 0
	je	.L7
	cmp	DWORD PTR -244[rbp], 1
	jne	.L5
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -208[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 50
	jmp	.L5
.L6:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -208[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 51
	jmp	.L5
.L4:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -208[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 53
	jmp	.L5
.L7:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -208[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 55
	nop
.L5:
	mov	rax, QWORD PTR -240[rbp]
	sub	rax, QWORD PTR -232[rbp]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -240[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -232[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	ceil@PLT
	cvttsd2si	rax, xmm0
	mov	QWORD PTR -224[rbp], rax
	sal	QWORD PTR -232[rbp], 2
.L3:
	cmp	QWORD PTR -224[rbp], 0
	jne	.L8
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -248[rbp], eax
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -248[rbp]
	cdqe
	movzx	eax, BYTE PTR -208[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	sub	DWORD PTR -248[rbp], 1
.L9:
	cmp	DWORD PTR -248[rbp], 0
	jns	.L10
	mov	edi, 10
	call	putchar@PLT
.L2:
	mov	eax, DWORD PTR -252[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -252[rbp], edx
	test	eax, eax
	jne	.L11
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"611301.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%lld\000"
	.align	2
.LC2:
	.ascii	"2\000"
	.align	2
.LC3:
	.ascii	"3\000"
	.align	2
.LC4:
	.ascii	"5\000"
	.align	2
.LC5:
	.ascii	"7\000"
	.global	__aeabi_l2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2lz
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #288
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #4
	mov	r3, #0
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	sub	r3, fp, #280
	mov	r1, r3
	ldr	r0, .L16+4
	bl	__isoc99_scanf
	b	.L2
.L13:
	mov	r2, #1
	mov	r3, #0
	str	r2, [fp, #-244]
	str	r3, [fp, #-240]
	mov	r3, #0
	strb	r3, [fp, #-232]
	mov	r2, #4
	mov	r3, #0
	str	r2, [fp, #-260]
	str	r3, [fp, #-256]
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	sub	r3, fp, #268
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
	b	.L3
.L10:
	sub	r1, fp, #252
	ldmia	r1, {r0-r1}
	asr	r3, r1, #31
	mov	r2, r3
	asr	r3, r2, #31
	eor	ip, r0, r2
	str	ip, [fp, #-300]
	eor	r1, r1, r3
	str	r1, [fp, #-296]
	sub	r1, fp, #300
	ldmia	r1, {r0-r1}
	mov	ip, r0
	subs	r6, ip, r2
	sbc	r7, r1, r3
	mov	r0, #3
	mov	r1, #0
	and	ip, r6, r0
	str	ip, [fp, #-308]
	and	r1, r7, r1
	str	r1, [fp, #-304]
	sub	r1, fp, #308
	ldmia	r1, {r0-r1}
	mov	ip, r0
	eor	r8, ip, r2
	eor	r9, r1, r3
	subs	r1, r8, r2
	str	r1, [fp, #-316]
	sbc	r3, r9, r3
	str	r3, [fp, #-312]
	sub	r3, fp, #316
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L8:
	sub	r3, fp, #232
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #232
	add	r3, r3, r2
	ldr	r2, .L16+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	b	.L4
.L7:
	sub	r3, fp, #232
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #232
	add	r3, r3, r2
	ldr	r2, .L16+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	b	.L4
.L5:
	sub	r3, fp, #232
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #232
	add	r3, r3, r2
	ldr	r2, .L16+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	b	.L4
.L9:
	sub	r3, fp, #232
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #232
	add	r3, r3, r2
	ldr	r2, .L16+24
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	nop
.L4:
	sub	r1, fp, #268
	ldmia	r1, {r0-r1}
	sub	r3, fp, #260
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-292]
	sbc	r3, r1, r3
	str	r3, [fp, #-288]
	sub	r4, fp, #292
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-268]
	str	r4, [fp, #-264]
	sub	r3, fp, #268
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_l2d
	mov	r4, r0
	mov	r5, r1
	sub	r1, fp, #260
	ldmia	r1, {r0-r1}
	bl	__aeabi_l2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	ceil
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2lz
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-252]
	str	r3, [fp, #-248]
	sub	r3, fp, #260
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #2
	orr	r1, r1, r2, lsr #30
	lsl	r0, r2, #2
	str	r0, [fp, #-260]
	str	r1, [fp, #-256]
.L3:
	sub	r3, fp, #252
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L10
	sub	r3, fp, #232
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-276]
	b	.L11
.L12:
	sub	r2, fp, #232
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-276]
	sub	r3, r3, #1
	str	r3, [fp, #-276]
.L11:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bge	.L12
	mov	r0, #10
	bl	putchar
.L2:
	ldr	r3, [fp, #-280]
	sub	r2, r3, #1
	str	r2, [fp, #-280]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
