	.file	"766507.c"
	.intel_syntax noprefix
	.text
	.globl	quo
	.bss
	.align 4
	.type	quo, @object
	.size	quo, 4
quo:
	.zero	4
	.globl	quo_low
	.align 4
	.type	quo_low, @object
	.size	quo_low, 4
quo_low:
	.zero	4
	.globl	res
	.align 4
	.type	res, @object
	.size	res, 4
res:
	.zero	4
	.globl	res_low
	.align 4
	.type	res_low, @object
	.size	res_low, 4
res_low:
	.zero	4
	.text
	.globl	write_poly
	.type	write_poly, @function
write_poly:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], -2147483648
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, DWORD PTR -4[rbp]
	test	eax, eax
	je	.L3
	mov	eax, 49
	jmp	.L4
.L3:
	mov	eax, 48
.L4:
	mov	edi, eax
	call	putchar@PLT
	shr	DWORD PTR -4[rbp]
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jnb	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	write_poly, .-write_poly
	.globl	divide
	.type	divide, @function
divide:
.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR quo[rip], 0
	mov	DWORD PTR quo_low[rip], -2147483648
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR res[rip], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR res_low[rip], eax
	mov	eax, DWORD PTR res_low[rip]
	cmp	DWORD PTR -16[rbp], eax
	jb	.L11
.L7:
	mov	eax, DWORD PTR res[rip]
	test	eax, eax
	jns	.L9
	mov	edx, DWORD PTR quo[rip]
	mov	eax, DWORD PTR quo_low[rip]
	or	eax, edx
	mov	DWORD PTR quo[rip], eax
	mov	eax, DWORD PTR res[rip]
	xor	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR res[rip], eax
.L9:
	mov	eax, DWORD PTR res_low[rip]
	cmp	DWORD PTR -16[rbp], eax
	je	.L12
	mov	eax, DWORD PTR res_low[rip]
	add	eax, eax
	mov	DWORD PTR res_low[rip], eax
	mov	eax, DWORD PTR res[rip]
	add	eax, eax
	mov	DWORD PTR res[rip], eax
	mov	eax, DWORD PTR quo_low[rip]
	shr	eax
	mov	DWORD PTR quo_low[rip], eax
	jmp	.L7
.L11:
	nop
	jmp	.L6
.L12:
	nop
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	divide, .-divide
	.globl	factorize
	.type	factorize, @function
factorize:
.LFB8:
	.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -8[rbp], -2147483648
	mov	DWORD PTR -4[rbp], 1073741824
	jmp	.L14
.L16:
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	divide
	mov	eax, DWORD PTR res[rip]
	test	eax, eax
	jne	.L15
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	write_poly
	mov	edi, 42
	call	putchar@PLT
	mov	eax, DWORD PTR quo[rip]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR quo_low[rip]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jne	.L14
	mov	DWORD PTR -8[rbp], -2147483648
	shr	DWORD PTR -4[rbp]
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	ja	.L16
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	write_poly
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	factorize, .-factorize
	.section	.rodata
.LC0:
	.string	" = "
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.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	DWORD PTR -8[rbp], -2147483648
	mov	DWORD PTR -4[rbp], 1073741824
	jmp	.L18
.L19:
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	write_poly
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	factorize
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -4[rbp]
	add	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jne	.L18
	mov	DWORD PTR -8[rbp], -2147483648
	shr	DWORD PTR -4[rbp]
.L18:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L19
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"766507.c"
	.text
	.comm	quo,4,4
	.comm	quo_low,4,4
	.comm	res,4,4
	.comm	res_low,4,4
	.align	2
	.global	write_poly
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_poly, %function
write_poly:
	@ 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, #-2147483648
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L3
	mov	r3, #49
	b	.L4
.L3:
	mov	r3, #48
.L4:
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcs	.L5
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	write_poly, .-write_poly
	.align	2
	.global	divide
	.syntax unified
	.arm
	.fpu softvfp
	.type	divide, %function
divide:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, .L13
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L13+4
	mov	r2, #-2147483648
	str	r2, [r3]
	ldr	r2, .L13+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L13+12
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, .L13+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bcc	.L11
.L7:
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L9
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	orr	r3, r2, r3
	ldr	r2, .L13
	str	r3, [r2]
	ldr	r3, .L13+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eor	r3, r3, r2
	ldr	r2, .L13+8
	str	r3, [r2]
.L9:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L12
	ldr	r3, .L13+12
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L13+12
	str	r3, [r2]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L13+8
	str	r3, [r2]
	ldr	r3, .L13+4
	ldr	r3, [r3]
	lsr	r3, r3, #1
	ldr	r2, .L13+4
	str	r3, [r2]
	b	.L7
.L11:
	nop
	b	.L6
.L12:
	nop
.L6:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	quo
	.word	quo_low
	.word	res
	.word	res_low
	.size	divide, .-divide
	.align	2
	.global	factorize
	.syntax unified
	.arm
	.fpu softvfp
	.type	factorize, %function
factorize:
	@ 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, #-2147483648
	str	r3, [fp, #-12]
	mov	r3, #1073741824
	str	r3, [fp, #-8]
	b	.L16
.L18:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	divide
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	write_poly
	mov	r0, #42
	bl	putchar
	ldr	r3, .L19+4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L16
.L17:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L16
	mov	r3, #-2147483648
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bhi	.L18
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write_poly
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	res
	.word	quo
	.word	quo_low
	.size	factorize, .-factorize
	.section	.rodata
	.align	2
.LC0:
	.ascii	" = \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
	mov	r3, #-2147483648
	str	r3, [fp, #-12]
	mov	r3, #1073741824
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	write_poly
	ldr	r0, .L25
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	factorize
	mov	r0, #10
	bl	putchar
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L22
	mov	r3, #-2147483648
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	lsr	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L23
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
