	.file	"230257.c"
	.intel_syntax noprefix
	.text
	.globl	frac
	.bss
	.align 8
	.type	frac, @object
	.size	frac, 8
frac:
	.zero	8
	.globl	frac1
	.align 8
	.type	frac1, @object
	.size	frac1, 8
frac1:
	.zero	8
	.globl	frac2
	.align 8
	.type	frac2, @object
	.size	frac2, 8
frac2:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter the first fraction in format x/y (x and y are integers): "
.LC1:
	.string	"%d/%d"
	.align 8
.LC2:
	.string	"Enter the second fraction in format x/y (x and y are integers): "
	.align 8
.LC3:
	.string	"So it's %d/%d actschully for your first fraction.\n"
	.align 8
.LC4:
	.string	"And it's %d/%d actschully for your second fraction.\n"
	.align 8
.LC5:
	.string	"The sum of your fractions is %d/%d.\n"
	.align 8
.LC6:
	.string	"The difference of the fractions is %d/%d.\n"
	.align 8
.LC7:
	.string	"The product of your fractions is %d/%d.\n"
	.align 8
.LC8:
	.string	"The quotient of your fractions is %d/%d.\n"
	.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
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, frac1[rip+4]
	lea	rsi, frac1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, frac2[rip+4]
	lea	rsi, frac2[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR frac1[rip+4]
	mov	eax, DWORD PTR frac1[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR frac2[rip+4]
	mov	eax, DWORD PTR frac2[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR frac2[rip]
	mov	rax, QWORD PTR frac1[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	add_fracs
	mov	QWORD PTR frac[rip], rax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR frac2[rip]
	mov	rax, QWORD PTR frac1[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	subtract_fracs
	mov	QWORD PTR frac[rip], rax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR frac2[rip]
	mov	rax, QWORD PTR frac1[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	multiply_fracs
	mov	QWORD PTR frac[rip], rax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR frac2[rip]
	mov	rax, QWORD PTR frac1[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	divide_fracs
	mov	QWORD PTR frac[rip], rax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	lowest_terms
	.type	lowest_terms, @function
lowest_terms:
.LFB1:
	.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	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -24[rbp], eax
.L4:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L5
	mov	eax, DWORD PTR -12[rbp]
	cdq
	idiv	DWORD PTR -20[rbp]
	mov	DWORD PTR frac[rip], eax
	mov	eax, DWORD PTR -8[rbp]
	cdq
	idiv	DWORD PTR -20[rbp]
	mov	DWORD PTR frac[rip+4], eax
	mov	rax, QWORD PTR frac[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	lowest_terms, .-lowest_terms
	.globl	add_fracs
	.type	add_fracs, @function
add_fracs:
.LFB2:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, edx
	add	eax, ecx
	mov	DWORD PTR frac[rip], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip+4], eax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	add_fracs, .-add_fracs
	.globl	subtract_fracs
	.type	subtract_fracs, @function
subtract_fracs:
.LFB3:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -4[rbp]
	imul	edx, ecx
	sub	eax, edx
	mov	DWORD PTR frac[rip], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip+4], eax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	subtract_fracs, .-subtract_fracs
	.globl	multiply_fracs
	.type	multiply_fracs, @function
multiply_fracs:
.LFB4:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip+4], eax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	multiply_fracs, .-multiply_fracs
	.globl	divide_fracs
	.type	divide_fracs, @function
divide_fracs:
.LFB5:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -12[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -16[rbp]
	imul	eax, edx
	mov	DWORD PTR frac[rip+4], eax
	mov	edx, DWORD PTR frac[rip+4]
	mov	eax, DWORD PTR frac[rip]
	mov	esi, edx
	mov	edi, eax
	call	lowest_terms
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	divide_fracs, .-divide_fracs
	.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	"230257.c"
	.text
	.comm	frac,8,4
	.comm	frac1,8,4
	.comm	frac2,8,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter the first fraction in format x/y (x and y are"
	.ascii	" integers): \000"
	.align	2
.LC1:
	.ascii	"%d/%d\000"
	.align	2
.LC2:
	.ascii	"Enter the second fraction in format x/y (x and y ar"
	.ascii	"e integers): \000"
	.align	2
.LC3:
	.ascii	"So it's %d/%d actschully for your first fraction.\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"And it's %d/%d actschully for your second fraction."
	.ascii	"\012\000"
	.align	2
.LC5:
	.ascii	"The sum of your fractions is %d/%d.\012\000"
	.align	2
.LC6:
	.ascii	"The difference of the fractions is %d/%d.\012\000"
	.align	2
.LC7:
	.ascii	"The product of your fractions is %d/%d.\012\000"
	.align	2
.LC8:
	.ascii	"The quotient of your fractions is %d/%d.\012\000"
	.align	2
.LC9:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	printf
	ldr	r2, .L4+8
	ldr	r1, .L4+12
	ldr	r0, .L4+16
	bl	__isoc99_scanf
	ldr	r0, .L4+20
	bl	printf
	ldr	r2, .L4+24
	ldr	r1, .L4+28
	ldr	r0, .L4+16
	bl	__isoc99_scanf
	ldr	r3, .L4+12
	ldr	r1, [r3]
	ldr	r3, .L4+12
	ldr	r2, [r3, #4]
	sub	r3, fp, #28
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+36
	bl	printf
	ldr	r3, .L4+28
	ldr	r1, [r3]
	ldr	r3, .L4+28
	ldr	r2, [r3, #4]
	sub	r3, fp, #28
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+40
	bl	printf
	ldr	r4, .L4+32
	sub	r0, fp, #28
	ldr	r3, .L4+28
	ldr	r1, .L4+12
	ldr	r2, [r3, #4]
	str	r2, [sp]
	ldr	r3, [r3]
	ldm	r1, {r1, r2}
	bl	add_fracs
	mov	r2, r4
	sub	r3, fp, #28
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+44
	bl	printf
	ldr	r4, .L4+32
	sub	r0, fp, #28
	ldr	r3, .L4+28
	ldr	r1, .L4+12
	ldr	r2, [r3, #4]
	str	r2, [sp]
	ldr	r3, [r3]
	ldm	r1, {r1, r2}
	bl	subtract_fracs
	mov	r2, r4
	sub	r3, fp, #28
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+48
	bl	printf
	ldr	r4, .L4+32
	sub	r0, fp, #28
	ldr	r3, .L4+28
	ldr	r1, .L4+12
	ldr	r2, [r3, #4]
	str	r2, [sp]
	ldr	r3, [r3]
	ldm	r1, {r1, r2}
	bl	multiply_fracs
	mov	r2, r4
	sub	r3, fp, #28
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+52
	bl	printf
	ldr	r4, .L4+32
	sub	r0, fp, #28
	ldr	r3, .L4+28
	ldr	r1, .L4+12
	ldr	r2, [r3, #4]
	str	r2, [sp]
	ldr	r3, [r3]
	ldm	r1, {r1, r2}
	bl	divide_fracs
	mov	r2, r4
	sub	r3, fp, #28
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, .L4+32
	ldr	r3, [r3]
	ldr	r2, .L4+32
	ldr	r2, [r2, #4]
	mov	r1, r3
	ldr	r0, .L4+56
	bl	printf
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC9
	.word	.LC0
	.word	frac1+4
	.word	frac1
	.word	.LC1
	.word	.LC2
	.word	frac2+4
	.word	frac2
	.word	frac
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.global	lowest_terms
	.syntax unified
	.arm
	.fpu softvfp
	.type	lowest_terms, %function
lowest_terms:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-32]
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L8
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-12]
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r2, .L10
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	frac
	.size	lowest_terms, .-lowest_terms
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	add_fracs
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_fracs, %function
add_fracs:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r2, r3, r2
	ldr	r3, [fp, #8]
	ldr	r1, [fp, #-20]
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, .L15+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	ldr	r2, .L15+4
	str	r3, [r2, #4]
	ldr	r3, .L15+4
	ldr	r1, [r3]
	ldr	r3, .L15+4
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L16:
	.align	2
.L15:
	.word	.LC10
	.word	frac
	.size	add_fracs, .-add_fracs
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	subtract_fracs
	.syntax unified
	.arm
	.fpu softvfp
	.type	subtract_fracs, %function
subtract_fracs:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r2, r3, r2
	ldr	r3, [fp, #8]
	ldr	r1, [fp, #-20]
	mul	r3, r1, r3
	sub	r3, r2, r3
	ldr	r2, .L20+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	ldr	r2, .L20+4
	str	r3, [r2, #4]
	ldr	r3, .L20+4
	ldr	r1, [r3]
	ldr	r3, .L20+4
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L21:
	.align	2
.L20:
	.word	.LC11
	.word	frac
	.size	subtract_fracs, .-subtract_fracs
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiply_fracs
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiply_fracs, %function
multiply_fracs:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #8]
	mul	r3, r2, r3
	ldr	r2, .L25+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	ldr	r2, .L25+4
	str	r3, [r2, #4]
	ldr	r3, .L25+4
	ldr	r1, [r3]
	ldr	r3, .L25+4
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L26:
	.align	2
.L25:
	.word	.LC12
	.word	frac
	.size	multiply_fracs, .-multiply_fracs
	.section	.rodata
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	divide_fracs
	.syntax unified
	.arm
	.fpu softvfp
	.type	divide_fracs, %function
divide_fracs:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	ldr	r2, .L30+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #8]
	mul	r3, r2, r3
	ldr	r2, .L30+4
	str	r3, [r2, #4]
	ldr	r3, .L30+4
	ldr	r1, [r3]
	ldr	r3, .L30+4
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	lowest_terms
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L31:
	.align	2
.L30:
	.word	.LC13
	.word	frac
	.size	divide_fracs, .-divide_fracs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
