	.file	"824445.c"
	.intel_syntax noprefix
	.text
	.globl	addFraction
	.type	addFraction, @function
addFraction:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, edx
	imul	ecx, eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, edx
	add	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	addFraction, .-addFraction
	.globl	divFraction
	.type	divFraction, @function
divFraction:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	imul	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	divFraction, .-divFraction
	.globl	midPoint
	.type	midPoint, @function
midPoint:
.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, 16
	mov	rax, QWORD PTR 32[rbp]
	mov	rsi, rax
	mov	rdi, QWORD PTR 16[rbp]
	call	addFraction
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	divFraction
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR 40[rbp]
	mov	rax, QWORD PTR 24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	addFraction
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	divFraction
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	midPoint, .-midPoint
	.section	.rodata
.LC0:
	.string	"%d/%d %d/%d %d/%d %d/%d"
.LC1:
	.string	"Midpoint= %d/%d %d/%d\n"
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, -88[rbp]
	lea	rax, -80[rbp]
	lea	r8, 4[rax]
	lea	rdx, -80[rbp]
	lea	rax, -96[rbp]
	lea	rsi, 4[rax]
	lea	rax, -96[rbp]
	sub	rsp, 8
	lea	rcx, -72[rbp]
	add	rcx, 4
	push	rcx
	lea	rcx, -72[rbp]
	push	rcx
	lea	rcx, -88[rbp]
	add	rcx, 4
	push	rcx
	mov	r9, rdi
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -24[rbp], rax
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	call	midPoint
	add	rsp, 32
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	esi, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -64[rbp]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	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	"824445.c"
	.text
	.align	2
	.global	addFraction
	.syntax unified
	.arm
	.fpu softvfp
	.type	addFraction, %function
addFraction:
	@ args = 12, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #8
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #8]
	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
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #8
	bx	lr
	.size	addFraction, .-addFraction
	.align	2
	.global	divFraction
	.syntax unified
	.arm
	.fpu softvfp
	.type	divFraction, %function
divFraction:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	sub	r0, fp, #24
	stm	r0, {r1, r2}
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	sub	r3, fp, #12
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r0, [fp, #-16]
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	divFraction, .-divFraction
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	midPoint
	.syntax unified
	.arm
	.fpu softvfp
	.type	midPoint, %function
midPoint:
	@ args = 36, pretend = 16, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	add	r0, fp, #8
	stm	r0, {r1, r2, r3}
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r0, fp, #44
	ldr	r3, [fp, #28]
	str	r3, [sp]
	ldr	r3, [fp, #24]
	add	r2, fp, #8
	ldm	r2, {r1, r2}
	bl	addFraction
	sub	r3, fp, #24
	sub	r2, fp, #44
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r0, fp, #44
	mov	r3, #2
	sub	r2, fp, #24
	ldm	r2, {r1, r2}
	bl	divFraction
	sub	r3, fp, #24
	sub	r2, fp, #44
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r0, fp, #44
	ldr	r3, [fp, #36]
	str	r3, [sp]
	ldr	r3, [fp, #32]
	add	r2, fp, #16
	ldm	r2, {r1, r2}
	bl	addFraction
	sub	r3, fp, #16
	sub	r2, fp, #44
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r0, fp, #44
	mov	r3, #2
	sub	r2, fp, #16
	ldm	r2, {r1, r2}
	bl	divFraction
	sub	r3, fp, #16
	sub	r2, fp, #44
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-32]
	mov	ip, r3
	sub	r3, fp, #24
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	ldr	r0, [fp, #-32]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	midPoint, .-midPoint
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d/%d %d/%d %d/%d %d/%d\000"
	.align	2
.LC2:
	.ascii	"Midpoint= %d/%d %d/%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r0, fp, #80
	sub	r3, fp, #96
	add	r2, r3, #4
	sub	r1, fp, #96
	sub	r3, fp, #72
	add	r3, r3, #4
	str	r3, [sp, #16]
	sub	r3, fp, #72
	str	r3, [sp, #12]
	sub	r3, fp, #88
	add	r3, r3, #4
	str	r3, [sp, #8]
	sub	r3, fp, #88
	str	r3, [sp, #4]
	sub	r3, fp, #80
	add	r3, r3, #4
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	sub	r3, fp, #48
	sub	r2, fp, #96
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #40
	sub	r2, fp, #80
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #32
	sub	r2, fp, #88
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #24
	sub	r2, fp, #72
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r4, fp, #64
	mov	lr, sp
	sub	ip, fp, #36
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldr	r3, [ip]
	str	r3, [lr]
	sub	r3, fp, #48
	ldm	r3, {r1, r2, r3}
	mov	r0, r4
	bl	midPoint
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-60]
	ldr	r0, [fp, #-56]
	ldr	r3, [fp, #-52]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L13+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
