	.file	"294793.c"
	.intel_syntax noprefix
	.text
	.globl	logTimeAlgorithm
	.type	logTimeAlgorithm, @function
logTimeAlgorithm:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -24[rbp], 0
	je	.L2
	cmp	DWORD PTR -20[rbp], 1
	jne	.L3
.L2:
	fld1
	jmp	.L4
.L3:
	mov	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -24[rbp]
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L5
	mov	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	logTimeAlgorithm
	fnstcw	WORD PTR -26[rbp]
	movzx	eax, WORD PTR -26[rbp]
	or	ah, 12
	mov	WORD PTR -28[rbp], ax
	fldcw	WORD PTR -28[rbp]
	fistp	DWORD PTR -4[rbp]
	fldcw	WORD PTR -26[rbp]
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	mov	DWORD PTR -12[rbp], eax
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	logTimeAlgorithm
	fild	DWORD PTR -20[rbp]
	fmulp	st(1), st
	fnstcw	WORD PTR -26[rbp]
	movzx	eax, WORD PTR -26[rbp]
	or	ah, 12
	mov	WORD PTR -28[rbp], ax
	fldcw	WORD PTR -28[rbp]
	fistp	DWORD PTR -12[rbp]
	fldcw	WORD PTR -26[rbp]
.L6:
	cmp	DWORD PTR -24[rbp], 0
	jle	.L7
	fild	DWORD PTR -12[rbp]
	jmp	.L4
.L7:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L8
	fldz
	jmp	.L4
.L8:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -12[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	fld	QWORD PTR -40[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	logTimeAlgorithm, .-logTimeAlgorithm
	.globl	linearTimeAlgorithm
	.type	linearTimeAlgorithm, @function
linearTimeAlgorithm:
.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	eax, DWORD PTR -24[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -24[rbp]
	sub	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -24[rbp], 0
	je	.L10
	cmp	DWORD PTR -20[rbp], 1
	jne	.L13
.L10:
	fld1
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	sub	DWORD PTR -8[rbp], 1
.L13:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L14
	cmp	DWORD PTR -24[rbp], 0
	jle	.L15
	fild	DWORD PTR -4[rbp]
	jmp	.L12
.L15:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L16
	fldz
	jmp	.L12
.L16:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	fld	QWORD PTR -32[rbp]
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	linearTimeAlgorithm, .-linearTimeAlgorithm
	.globl	testPositiveNumbers
	.type	testPositiveNumbers, @function
testPositiveNumbers:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 10
	mov	edi, 2
	call	logTimeAlgorithm
	fld	TBYTE PTR .LC4[rip]
	fucomip	st, st(1)
	jp	.L25
	fld	TBYTE PTR .LC4[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L18
	mov	esi, 10
	mov	edi, 2
	call	linearTimeAlgorithm
	fld	TBYTE PTR .LC4[rip]
	fucomip	st, st(1)
	jp	.L26
	fld	TBYTE PTR .LC4[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L18
	mov	eax, 1
	jmp	.L21
.L25:
	fstp	st(0)
	jmp	.L18
.L26:
	fstp	st(0)
.L18:
	mov	eax, 0
.L21:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	testPositiveNumbers, .-testPositiveNumbers
	.globl	testNegativeNumbers
	.type	testNegativeNumbers, @function
testNegativeNumbers:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 9
	mov	edi, -2
	call	logTimeAlgorithm
	fld	TBYTE PTR .LC5[rip]
	fucomip	st, st(1)
	jp	.L39
	fld	TBYTE PTR .LC5[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L28
	mov	esi, -3
	mov	edi, 2
	call	logTimeAlgorithm
	fld	TBYTE PTR .LC6[rip]
	fucomip	st, st(1)
	jp	.L40
	fld	TBYTE PTR .LC6[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L28
	mov	esi, 9
	mov	edi, -2
	call	linearTimeAlgorithm
	fld	TBYTE PTR .LC5[rip]
	fucomip	st, st(1)
	jp	.L41
	fld	TBYTE PTR .LC5[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L28
	mov	esi, -3
	mov	edi, 2
	call	linearTimeAlgorithm
	fld	TBYTE PTR .LC6[rip]
	fucomip	st, st(1)
	jp	.L42
	fld	TBYTE PTR .LC6[rip]
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L28
	mov	eax, 1
	jmp	.L33
.L39:
	fstp	st(0)
	jmp	.L28
.L40:
	fstp	st(0)
	jmp	.L28
.L41:
	fstp	st(0)
	jmp	.L28
.L42:
	fstp	st(0)
.L28:
	mov	eax, 0
.L33:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	testNegativeNumbers, .-testNegativeNumbers
	.globl	testDivisionByZero
	.type	testDivisionByZero, @function
testDivisionByZero:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, -2
	mov	edi, 0
	call	logTimeAlgorithm
	fldz
	fucomip	st, st(1)
	jp	.L51
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L44
	mov	esi, -2
	mov	edi, 0
	call	linearTimeAlgorithm
	fldz
	fucomip	st, st(1)
	jp	.L52
	fldz
	fucomip	st, st(1)
	fstp	st(0)
	jne	.L44
	mov	eax, 1
	jmp	.L47
.L51:
	fstp	st(0)
	jmp	.L44
.L52:
	fstp	st(0)
.L44:
	mov	eax, 0
.L47:
	and	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	testDivisionByZero, .-testDivisionByZero
	.section	.rodata
.LC7:
	.string	"Test failed"
.LC8:
	.string	"Number: "
.LC9:
	.string	"%d"
.LC10:
	.string	"Exponent: "
.LC11:
	.string	"Divided by zero"
	.align 8
.LC12:
	.string	"Linear time complexity algorithm: %f"
.LC13:
	.string	", running time: %f"
	.align 8
.LC14:
	.string	"\nLog n time complexity algorithm: %f"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	testPositiveNumbers
	xor	eax, 1
	test	al, al
	jne	.L54
	mov	eax, 0
	call	testNegativeNumbers
	xor	eax, 1
	test	al, al
	jne	.L54
	mov	eax, 0
	call	testDivisionByZero
	xor	eax, 1
	test	al, al
	je	.L55
.L54:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L53
.L55:
	mov	DWORD PTR -32[rbp], 0
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -28[rbp], 1
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	jne	.L57
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jns	.L57
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L53
.L57:
	call	clock@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	linearTimeAlgorithm
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
	call	clock@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	logTimeAlgorithm
	lea	rsp, -16[rsp]
	fstp	TBYTE PTR [rsp]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	difftime@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC13[rip]
	mov	eax, 1
	call	printf@PLT
.L53:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1072693248
	.align 16
.LC4:
	.long	0
	.long	-2147483648
	.long	16393
	.long	0
	.align 16
.LC5:
	.long	0
	.long	-2147483648
	.long	49160
	.long	0
	.align 16
.LC6:
	.long	0
	.long	-2147483648
	.long	16380
	.long	0
	.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	"294793.c"
	.text
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	logTimeAlgorithm
	.syntax unified
	.arm
	.fpu softvfp
	.type	logTimeAlgorithm, %function
logTimeAlgorithm:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L3
.L2:
	mov	r2, #0
	ldr	r3, .L9
	b	.L4
.L3:
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-36]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-20]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	logTimeAlgorithm
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	str	r3, [fp, #-24]
	b	.L6
.L5:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	logTimeAlgorithm
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L7
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	b	.L4
.L7:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L8
	mov	r2, #0
	mov	r3, #0
	b	.L4
.L8:
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
.L4:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L10:
	.align	2
.L9:
	.word	1072693248
	.size	logTimeAlgorithm, .-logTimeAlgorithm
	.align	2
	.global	linearTimeAlgorithm
	.syntax unified
	.arm
	.fpu softvfp
	.type	linearTimeAlgorithm, %function
linearTimeAlgorithm:
	@ 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]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	rsblt	r3, r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L15
.L12:
	mov	r2, #0
	ldr	r3, .L19
	b	.L14
.L16:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L15:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L16
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L17
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	b	.L14
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L18
	mov	r2, #0
	mov	r3, #0
	b	.L14
.L18:
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L19
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
.L14:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	1072693248
	.size	linearTimeAlgorithm, .-linearTimeAlgorithm
	.global	__aeabi_dcmpeq
	.align	2
	.global	testPositiveNumbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	testPositiveNumbers, %function
testPositiveNumbers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #10
	mov	r0, #2
	bl	logTimeAlgorithm
	mov	r2, #0
	ldr	r3, .L29
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r1, #10
	mov	r0, #2
	bl	linearTimeAlgorithm
	mov	r2, #0
	ldr	r3, .L29
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	mov	r3, #1
	b	.L25
.L22:
	mov	r3, #0
.L25:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	1083179008
	.size	testPositiveNumbers, .-testPositiveNumbers
	.align	2
	.global	testNegativeNumbers
	.syntax unified
	.arm
	.fpu softvfp
	.type	testNegativeNumbers, %function
testNegativeNumbers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #9
	mvn	r0, #1
	bl	logTimeAlgorithm
	mov	r2, #0
	ldr	r3, .L43
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mvn	r1, #2
	mov	r0, #2
	bl	logTimeAlgorithm
	mov	r2, #0
	mov	r3, #1069547520
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mov	r1, #9
	mvn	r0, #1
	bl	linearTimeAlgorithm
	mov	r2, #0
	ldr	r3, .L43
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mvn	r1, #2
	mov	r0, #2
	bl	linearTimeAlgorithm
	mov	r2, #0
	mov	r3, #1069547520
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	mov	r3, #1
	b	.L37
.L32:
	mov	r3, #0
.L37:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	-1065353216
	.size	testNegativeNumbers, .-testNegativeNumbers
	.align	2
	.global	testDivisionByZero
	.syntax unified
	.arm
	.fpu softvfp
	.type	testDivisionByZero, %function
testDivisionByZero:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mvn	r1, #1
	mov	r0, #0
	bl	logTimeAlgorithm
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mvn	r1, #1
	mov	r0, #0
	bl	linearTimeAlgorithm
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	mov	r3, #1
	b	.L49
.L46:
	mov	r3, #0
.L49:
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	pop	{fp, pc}
	.size	testDivisionByZero, .-testDivisionByZero
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Test failed\000"
	.align	2
.LC1:
	.ascii	"Number: \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Exponent: \000"
	.align	2
.LC4:
	.ascii	"Divided by zero\000"
	.align	2
.LC5:
	.ascii	"Linear time complexity algorithm: %f\000"
	.align	2
.LC6:
	.ascii	", running time: %f\000"
	.align	2
.LC7:
	.ascii	"\012Log n time complexity algorithm: %f\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	testPositiveNumbers
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L54
	bl	testNegativeNumbers
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L54
	bl	testDivisionByZero
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
.L54:
	ldr	r0, .L60+4
	bl	printf
	b	.L53
.L55:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, .L60+8
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L60+12
	bl	__isoc99_scanf
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r0, .L60+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L60+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L57
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L57
	ldr	r0, .L60+20
	bl	printf
	b	.L53
.L57:
	bl	clock
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	linearTimeAlgorithm
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L60+24
	bl	printf
	bl	clock
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L60+28
	bl	printf
	bl	clock
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	logTimeAlgorithm
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L60+32
	bl	printf
	bl	clock
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	difftime
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L60+28
	bl	printf
.L53:
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L59
	bl	__stack_chk_fail
.L59:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
