	.file	"934748.c"
	.intel_syntax noprefix
	.text
	.globl	phi
	.type	phi, @function
phi:
.LFB0:
	.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	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L2
	mov	eax, DWORD PTR -4[rbp]
	shr	eax
	mov	DWORD PTR -4[rbp], eax
.L3:
	mov	eax, DWORD PTR -20[rbp]
	shr	eax
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L3
.L2:
	mov	DWORD PTR -8[rbp], 3
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	DWORD PTR -8[rbp]
	mov	eax, edx
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	div	DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L6:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	DWORD PTR -8[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	DWORD PTR -8[rbp]
	mov	eax, edx
	test	eax, eax
	je	.L6
.L5:
	add	DWORD PTR -8[rbp], 2
.L4:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	div	DWORD PTR -8[rbp]
	cmp	DWORD PTR -8[rbp], eax
	jbe	.L7
	cmp	DWORD PTR -20[rbp], 1
	jbe	.L8
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	div	DWORD PTR -20[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
.L8:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	phi, .-phi
	.section	.rodata
	.align 8
.LC0:
	.string	"\343\202\252\343\202\244\343\203\251\343\203\274\343\201\256\351\226\242\346\225\260 \317\206(1),\342\200\246,\317\206(200)\n     "
.LC1:
	.string	"  +%2d"
.LC2:
	.string	"\n     "
.LC3:
	.string	"-----"
.LC4:
	.string	"%3d |"
.LC5:
	.string	"%5d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L11:
	cmp	DWORD PTR -4[rbp], 10
	jle	.L12
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L13
.L14:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L13:
	cmp	DWORD PTR -4[rbp], 10
	jle	.L14
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L15
.L18:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 1
	jmp	.L16
.L17:
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	edi, eax
	call	phi
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L16:
	cmp	DWORD PTR -4[rbp], 10
	jle	.L17
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L15:
	cmp	DWORD PTR -8[rbp], 19
	jle	.L18
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"934748.c"
	.text
	.global	__aeabi_uidivmod
	.global	__aeabi_uidiv
	.align	2
	.global	phi
	.syntax unified
	.arm
	.fpu softvfp
	.type	phi, %function
phi:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L3
.L2:
	mov	r3, #3
	str	r3, [fp, #-12]
	b	.L4
.L7:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L5
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mul	r3, r2, r3
	str	r3, [fp, #-8]
.L6:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	cmp	r3, #0
	beq	.L6
.L5:
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	str	r3, [fp, #-12]
.L4:
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	cmp	r3, r2
	bls	.L7
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bls	.L8
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mul	r3, r2, r3
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	phi, .-phi
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\343\202\252\343\202\244\343\203\251\343\203\274\343"
	.ascii	"\201\256\351\226\242\346\225\260 \317\206(1),\342\200"
	.ascii	"\246,\317\206(200)\012     \000"
	.align	2
.LC1:
	.ascii	"  +%2d\000"
	.align	2
.LC2:
	.ascii	"\012     \000"
	.align	2
.LC3:
	.ascii	"-----\000"
	.align	2
.LC4:
	.ascii	"%3d |\000"
	.align	2
.LC5:
	.ascii	"%5d\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L20
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L11
.L12:
	ldr	r1, [fp, #-8]
	ldr	r0, .L20+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	ble	.L12
	ldr	r0, .L20+8
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r0, .L20+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	ble	.L14
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L15
.L18:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L20+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L16
.L17:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	bl	phi
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L20+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	ble	.L17
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	cmp	r3, #19
	ble	.L18
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.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
