	.file	"816559.c"
	.intel_syntax noprefix
	.text
	.globl	init_randomization
	.type	init_randomization, @function
init_randomization:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edi, eax
	call	srandom@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init_randomization, .-init_randomization
	.section	.rodata
.LC0:
	.string	"Number to found: %li\n"
	.align 8
.LC1:
	.string	"Guess the number between 0 - 20"
.LC2:
	.string	"Enter the number: "
.LC3:
	.string	"high"
.LC4:
	.string	"low"
.LC5:
	.string	"congrats"
	.text
	.globl	guess_number
	.type	guess_number, @function
guess_number:
.LFB7:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 30
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	call	random@PLT
	mov	rcx, rax
	movabs	rdx, -4392081922311798003
	mov	rax, rcx
	imul	rdx
	lea	rax, [rdx+rcx]
	sar	rax, 4
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sub	rcx, rax
	mov	rdx, rcx
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L8:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 30
	mov	rdi, rax
	call	fgets@PLT
	lea	rcx, -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	je	.L11
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jle	.L6
	lea	rax, .LC3[rip]
	jmp	.L7
.L6:
	lea	rax, .LC4[rip]
.L7:
	mov	rdi, rax
	call	puts@PLT
	jmp	.L8
.L11:
	nop
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	guess_number, .-guess_number
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	init_randomization
	mov	eax, 0
	call	guess_number
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"816559.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_randomization
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_randomization, %function
init_randomization:
	@ 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, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	time
	sub	r3, fp, #16
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	srandom
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	init_randomization, .-init_randomization
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Number to found: %li\012\000"
	.align	2
.LC2:
	.ascii	"Guess the number between 0 - 20\000"
	.align	2
.LC3:
	.ascii	"Enter the number: \000"
	.align	2
.LC4:
	.ascii	"high\000"
	.align	2
.LC5:
	.ascii	"low\000"
	.align	2
.LC6:
	.ascii	"congrats\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	guess_number
	.syntax unified
	.arm
	.fpu softvfp
	.type	guess_number, %function
guess_number:
	@ 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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #30
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	bl	random
	mov	r1, r0
	ldr	r3, .L14+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	sub	r3, r1, r2
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L14+8
	bl	printf
	ldr	r0, .L14+12
	bl	puts
.L10:
	ldr	r0, .L14+16
	bl	printf
	ldr	r3, .L14+20
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #30
	ldr	r0, [fp, #-20]
	bl	fgets
	sub	r3, fp, #24
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strtol
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	beq	.L13
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L8
	ldr	r3, .L14+24
	b	.L9
.L8:
	ldr	r3, .L14+28
.L9:
	mov	r0, r3
	bl	puts
	b	.L10
.L13:
	nop
	ldr	r0, .L14+32
	bl	puts
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	818089009
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdin
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	guess_number, .-guess_number
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	init_randomization
	bl	guess_number
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
