	.file	"459115.c"
	.intel_syntax noprefix
	.text
	.globl	number_to_guess
	.bss
	.align 4
	.type	number_to_guess, @object
	.size	number_to_guess, 4
number_to_guess:
	.zero	4
	.globl	low_limit
	.align 4
	.type	low_limit, @object
	.size	low_limit, 4
low_limit:
	.zero	4
	.globl	high_limit
	.align 4
	.type	high_limit, @object
	.size	high_limit, 4
high_limit:
	.zero	4
	.globl	guess_count
	.align 4
	.type	guess_count, @object
	.size	guess_count, 4
guess_count:
	.zero	4
	.globl	player_number
	.align 4
	.type	player_number, @object
	.size	player_number, 4
player_number:
	.zero	4
	.globl	line
	.align 32
	.type	line, @object
	.size	line, 80
line:
	.zero	80
	.section	.rodata
.LC0:
	.string	"Bounds %d - %d\n"
.LC1:
	.string	"Value[%d]? "
.LC2:
	.string	"%d"
.LC3:
	.string	"Bingo"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L7:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 1[rdx]
	mov	DWORD PTR number_to_guess[rip], eax
	mov	DWORD PTR low_limit[rip], 0
	mov	DWORD PTR high_limit[rip], 100
	mov	DWORD PTR guess_count[rip], 0
.L6:
	mov	edx, DWORD PTR high_limit[rip]
	mov	eax, DWORD PTR low_limit[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR guess_count[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR guess_count[rip]
	add	eax, 1
	mov	DWORD PTR guess_count[rip], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 80
	lea	rdi, line[rip]
	call	fgets@PLT
	lea	rdx, player_number[rip]
	lea	rsi, .LC2[rip]
	lea	rdi, line[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	edx, DWORD PTR player_number[rip]
	mov	eax, DWORD PTR number_to_guess[rip]
	cmp	edx, eax
	je	.L9
	mov	edx, DWORD PTR player_number[rip]
	mov	eax, DWORD PTR number_to_guess[rip]
	cmp	edx, eax
	jge	.L4
	mov	eax, DWORD PTR player_number[rip]
	mov	DWORD PTR low_limit[rip], eax
	jmp	.L6
.L4:
	mov	eax, DWORD PTR player_number[rip]
	mov	DWORD PTR high_limit[rip], eax
	jmp	.L6
.L9:
	nop
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L7
	.cfi_endproc
.LFE6:
	.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	"459115.c"
	.text
	.comm	number_to_guess,4,4
	.comm	low_limit,4,4
	.comm	high_limit,4,4
	.comm	guess_count,4,4
	.comm	player_number,4,4
	.comm	line,80,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Bounds %d - %d\012\000"
	.align	2
.LC1:
	.ascii	"Value[%d]? \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Bingo\000"
	.text
	.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
.L7:
	bl	rand
	mov	r1, r0
	ldr	r3, .L10
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	add	r3, r2, #1
	ldr	r2, .L10+4
	str	r3, [r2]
	ldr	r3, .L10+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L10+12
	mov	r2, #100
	str	r2, [r3]
	ldr	r3, .L10+16
	mov	r2, #0
	str	r2, [r3]
.L6:
	ldr	r3, .L10+8
	ldr	r3, [r3]
	ldr	r2, .L10+12
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L10+20
	bl	printf
	ldr	r3, .L10+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+24
	bl	printf
	ldr	r3, .L10+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L10+16
	str	r3, [r2]
	ldr	r3, .L10+28
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #80
	ldr	r0, .L10+32
	bl	fgets
	ldr	r2, .L10+36
	ldr	r1, .L10+40
	ldr	r0, .L10+32
	bl	__isoc99_sscanf
	ldr	r3, .L10+36
	ldr	r2, [r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L10+36
	ldr	r2, [r3]
	ldr	r3, .L10+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L4
	ldr	r3, .L10+36
	ldr	r3, [r3]
	ldr	r2, .L10+8
	str	r3, [r2]
	b	.L6
.L4:
	ldr	r3, .L10+36
	ldr	r3, [r3]
	ldr	r2, .L10+12
	str	r3, [r2]
	b	.L6
.L9:
	nop
	ldr	r0, .L10+44
	bl	puts
	b	.L7
.L11:
	.align	2
.L10:
	.word	1374389535
	.word	number_to_guess
	.word	low_limit
	.word	high_limit
	.word	guess_count
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	line
	.word	player_number
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
