	.file	"272314.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%*d"
	.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, 1056
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -1040[rbp]
	mov	eax, 0
	mov	ecx, 128
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -1056[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -1052[rbp], 0
	jmp	.L3
.L4:
	mov	edx, DWORD PTR -1052[rbp]
	mov	eax, DWORD PTR -1056[rbp]
	mov	esi, edx
	mov	edi, eax
	call	Gcd
	cmp	eax, 1
	sete	al
	movzx	eax, al
	mov	edx, DWORD PTR -1052[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -1056[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rcx
	mov	DWORD PTR -1040[rbp+rdx*4], eax
	add	DWORD PTR -1052[rbp], 1
.L3:
	cmp	DWORD PTR -1052[rbp], 15
	jle	.L4
	add	DWORD PTR -1056[rbp], 1
.L2:
	cmp	DWORD PTR -1056[rbp], 15
	jle	.L5
	mov	DWORD PTR -1048[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -1044[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -1044[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -1048[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR -1040[rbp+rax*4]
	mov	edx, eax
	mov	esi, 3
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1044[rbp], 1
.L7:
	cmp	DWORD PTR -1044[rbp], 15
	jle	.L8
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -1048[rbp], 1
.L6:
	cmp	DWORD PTR -1048[rbp], 15
	jle	.L9
	call	getchar@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Gcd
	.type	Gcd, @function
Gcd:
.LFB7:
	.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	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	sar	eax, 31
	xor	DWORD PTR -20[rbp], eax
	sub	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sar	eax, 31
	xor	DWORD PTR -24[rbp], eax
	sub	DWORD PTR -24[rbp], eax
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	DWORD PTR -24[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -20[rbp], eax
.L13:
	cmp	DWORD PTR -24[rbp], 0
	jg	.L14
	mov	eax, DWORD PTR -20[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Gcd, .-Gcd
	.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	"272314.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%*d\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-1044]
	b	.L3
.L4:
	ldr	r1, [fp, #-1044]
	ldr	r0, [fp, #-1048]
	bl	Gcd
	mov	r3, r0
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-1048]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-1044]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1028]
	ldr	r3, [fp, #-1044]
	add	r3, r3, #1
	str	r3, [fp, #-1044]
.L3:
	ldr	r3, [fp, #-1044]
	cmp	r3, #15
	ble	.L4
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L2:
	ldr	r3, [fp, #-1048]
	cmp	r3, #15
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-1040]
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-1036]
	b	.L7
.L8:
	ldr	r3, [fp, #-1040]
	lsl	r2, r3, #4
	ldr	r3, [fp, #-1036]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	mov	r2, r3
	mov	r1, #3
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, [fp, #-1036]
	add	r3, r3, #1
	str	r3, [fp, #-1036]
.L7:
	ldr	r3, [fp, #-1036]
	cmp	r3, #15
	ble	.L8
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-1040]
	add	r3, r3, #1
	str	r3, [fp, #-1040]
.L6:
	ldr	r3, [fp, #-1040]
	cmp	r3, #15
	ble	.L9
	bl	getchar
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	Gcd
	.syntax unified
	.arm
	.fpu softvfp
	.type	Gcd, %function
Gcd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-20]
	b	.L15
.L16:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L16
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Gcd, .-Gcd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
