	.file	"406764.c"
	.intel_syntax noprefix
	.text
	.globl	positive
	.type	positive, @function
positive:
.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	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	sub	DWORD PTR -20[rbp], eax
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L3
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	positive, .-positive
	.globl	positiveNegative
	.type	positiveNegative, @function
positiveNegative:
.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	DWORD PTR -4[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -24[rbp]
	add	DWORD PTR -20[rbp], eax
	sub	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -24[rbp]
	neg	eax
	cmp	DWORD PTR -20[rbp], eax
	jge	.L7
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	positiveNegative, .-positiveNegative
	.globl	negativePositive
	.type	negativePositive, @function
negativePositive:
.LFB2:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -24[rbp]
	add	DWORD PTR -20[rbp], eax
	sub	DWORD PTR -4[rbp], 1
.L10:
	mov	eax, DWORD PTR -20[rbp]
	neg	eax
	cmp	DWORD PTR -24[rbp], eax
	jle	.L11
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	negativePositive, .-negativePositive
	.globl	negative
	.type	negative, @function
negative:
.LFB3:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -24[rbp]
	sub	DWORD PTR -20[rbp], eax
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -20[rbp]
	neg	eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	neg	eax
	cmp	edx, eax
	jge	.L15
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	negative, .-negative
	.section	.rodata
.LC0:
	.string	"input dividend: "
.LC1:
	.string	"%d"
.LC2:
	.string	"input divider: "
.LC3:
	.string	"data is incorrect"
	.text
	.globl	algoritm
	.type	algoritm, @function
algoritm:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jne	.L18
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, -999
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jne	.L20
	mov	eax, 0
	jmp	.L17
.L20:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jle	.L21
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jle	.L21
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	positive
	jmp	.L17
.L21:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jle	.L22
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jns	.L22
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	positiveNegative
	jmp	.L17
.L22:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jns	.L23
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jle	.L23
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	negativePositive
	jmp	.L17
.L23:
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jns	.L24
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jns	.L24
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	negative
	jmp	.L17
.L24:
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	algoritm, .-algoritm
	.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	"406764.c"
	.text
	.align	2
	.global	positive
	.syntax unified
	.arm
	.fpu softvfp
	.type	positive, %function
positive:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	positive, .-positive
	.align	2
	.global	positiveNegative
	.syntax unified
	.arm
	.fpu softvfp
	.type	positiveNegative, %function
positiveNegative:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	positiveNegative, .-positiveNegative
	.align	2
	.global	negativePositive
	.syntax unified
	.arm
	.fpu softvfp
	.type	negativePositive, %function
negativePositive:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-16]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L11
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	negativePositive, .-negativePositive
	.align	2
	.global	negative
	.syntax unified
	.arm
	.fpu softvfp
	.type	negative, %function
negative:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-16]
	rsb	r2, r3, #0
	ldr	r3, [fp, #-20]
	rsb	r3, r3, #0
	cmp	r2, r3
	bge	.L15
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	negative, .-negative
	.section	.rodata
	.align	2
.LC0:
	.ascii	"input dividend: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"input divider: \000"
	.align	2
.LC3:
	.ascii	"data is incorrect\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	algoritm
	.syntax unified
	.arm
	.fpu softvfp
	.type	algoritm, %function
algoritm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, .L27+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r0, .L27+12
	bl	puts
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L27+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	ldr	r0, .L27+16
	bl	puts
	ldr	r3, .L27+20
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	b	.L17
.L20:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L21
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L21
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	positive
	mov	r3, r0
	b	.L17
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L22
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	positiveNegative
	mov	r3, r0
	b	.L17
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L23
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L23
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	negativePositive
	mov	r3, r0
	b	.L17
.L23:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L24
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L24
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	negative
	mov	r3, r0
	b	.L17
.L24:
.L17:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	-999
	.size	algoritm, .-algoritm
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
