	.file	"371988.c"
	.intel_syntax noprefix
	.text
	.globl	to_lower
	.type	to_lower, @function
to_lower:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	tolower@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -8[rbp], 1
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L3
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	to_lower, .-to_lower
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"po"
.LC2:
	.string	"guess"
.LC3:
	.string	"Guess a number from 1 to %d\n"
	.align 8
.LC4:
	.string	"Is the number greater than %d? (y/n)\n"
.LC5:
	.string	"y\n"
.LC6:
	.string	"yes\n"
.LC7:
	.string	"n\n"
.LC8:
	.string	"no\n"
.LC9:
	.string	"Your number is %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 100
	mov	QWORD PTR -16[rbp], 0
	lea	rsi, .LC0[rip]
	mov	edi, 6
	call	setlocale@PLT
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	bindtextdomain@PLT
	lea	rdi, .LC2[rip]
	call	textdomain@PLT
	lea	rdi, .LC3[rip]
	call	gettext@PLT
	mov	esi, 100
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L11:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -28[rbp], eax
	lea	rdi, .LC4[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	mov	rdi, rdx
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rcx, -24[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	to_lower
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC5[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L7
	lea	rdi, .LC6[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
.L7:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L9
.L8:
	lea	rdi, .LC7[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L10
	lea	rdi, .LC8[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
.L10:
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -32[rbp], eax
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -16[rbp], 0
.L6:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -36[rbp], eax
	jl	.L11
	lea	rdi, .LC9[rip]
	call	gettext@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	mov	rdi, rdx
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"371988.c"
	.text
	.align	2
	.global	to_lower
	.syntax unified
	.arm
	.fpu softvfp
	.type	to_lower, %function
to_lower:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	to_lower, .-to_lower
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"po\000"
	.align	2
.LC2:
	.ascii	"guess\000"
	.align	2
.LC3:
	.ascii	"Guess a number from 1 to %d\012\000"
	.align	2
.LC4:
	.ascii	"Is the number greater than %d? (y/n)\012\000"
	.align	2
.LC5:
	.ascii	"y\012\000"
	.align	2
.LC6:
	.ascii	"yes\012\000"
	.align	2
.LC7:
	.ascii	"n\012\000"
	.align	2
.LC8:
	.ascii	"no\012\000"
	.align	2
.LC9:
	.ascii	"Your number is %d\012\000"
	.align	2
.LC10:
	.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	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #100
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r1, .L14+4
	mov	r0, #6
	bl	setlocale
	ldr	r1, .L14+8
	ldr	r0, .L14+12
	bl	bindtextdomain
	ldr	r0, .L14+12
	bl	textdomain
	ldr	r0, .L14+16
	bl	gettext
	mov	r3, r0
	mov	r1, #100
	mov	r0, r3
	bl	printf
	b	.L6
.L11:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r0, .L14+20
	bl	gettext
	mov	r3, r0
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	printf
	ldr	r3, .L14+24
	ldr	r2, [r3]
	sub	r1, fp, #36
	sub	r3, fp, #32
	mov	r0, r3
	bl	getline
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	to_lower
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-32]
	ldr	r0, .L14+28
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r4, [fp, #-32]
	ldr	r0, .L14+32
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
.L7:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-28]
	b	.L9
.L8:
	ldr	r4, [fp, #-32]
	ldr	r0, .L14+36
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r4, [fp, #-32]
	ldr	r0, .L14+40
	bl	gettext
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
.L10:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
.L9:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	free
	mov	r3, #0
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L11
	ldr	r0, .L14+44
	bl	gettext
	mov	r3, r0
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	printf
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdin
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
