	.file	"232207.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Please answer y or n:"
	.text
	.globl	y_or_n_ques
	.type	y_or_n_ques, @function
y_or_n_ques:
.LFB0:
	.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	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L8:
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edi, eax
	call	tolower@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L2
.L4:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -8[rbp], eax
.L2:
	cmp	DWORD PTR -8[rbp], 10
	je	.L3
	cmp	DWORD PTR -8[rbp], -1
	jne	.L4
.L3:
	cmp	DWORD PTR -4[rbp], 121
	jne	.L5
	mov	eax, 1
	jmp	.L6
.L5:
	cmp	DWORD PTR -4[rbp], 110
	jne	.L7
	mov	eax, 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	jmp	.L8
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	y_or_n_ques, .-y_or_n_ques
	.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	"232207.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Please answer y or n:\000"
	.text
	.align	2
	.global	y_or_n_ques
	.syntax unified
	.arm
	.fpu softvfp
	.type	y_or_n_ques, %function
y_or_n_ques:
	@ 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, .L9
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fputs
.L8:
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #32
	bl	fputc
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	mov	r3, r0
	mov	r0, r3
	bl	tolower
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fgetc
	str	r0, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L3
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L4
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #121
	bne	.L5
	mov	r3, #1
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #110
	bne	.L7
	mov	r3, #0
	b	.L6
.L7:
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L9+8
	bl	fwrite
	b	.L8
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	stdout
	.word	stdin
	.word	.LC0
	.size	y_or_n_ques, .-y_or_n_ques
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
