	.file	"254680.c"
	.intel_syntax noprefix
	.text
	.globl	P0
	.section	.rodata
.LC0:
	.string	"Louise"
	.section	.data.rel.local,"aw"
	.align 8
	.type	P0, @object
	.size	P0, 8
P0:
	.quad	.LC0
	.globl	P1
	.section	.rodata
.LC1:
	.string	"Richard"
	.section	.data.rel.local
	.align 8
	.type	P1, @object
	.size	P1, 8
P1:
	.quad	.LC1
	.section	.rodata
.LC2:
	.string	"%hd\n"
.LC3:
	.string	"%lu\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L9:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	WORD PTR -18[rbp], 1
	jmp	.L3
.L4:
	xor	WORD PTR -18[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	shr	rax
	mov	QWORD PTR -16[rbp], rax
.L3:
	mov	rax, QWORD PTR -16[rbp]
	and	eax, 1
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, 1
	mov	QWORD PTR -16[rbp], rax
	jmp	.L5
.L6:
	xor	WORD PTR -18[rbp], 1
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	and	rax, rdx
	mov	QWORD PTR -16[rbp], rax
.L5:
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	jne	.L6
	cmp	WORD PTR -18[rbp], 0
	jne	.L7
	mov	rax, QWORD PTR P0[rip]
	jmp	.L8
.L7:
	mov	rax, QWORD PTR P1[rip]
.L8:
	mov	rdi, rax
	call	puts@PLT
.L2:
	movzx	eax, WORD PTR -20[rbp]
	mov	edx, eax
	sub	edx, 1
	mov	WORD PTR -20[rbp], dx
	test	ax, ax
	jg	.L9
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"254680.c"
	.text
	.global	P0
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Louise\000"
	.data
	.align	2
	.type	P0, %object
	.size	P0, 4
P0:
	.word	.LC0
	.global	P1
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Richard\000"
	.data
	.align	2
	.type	P1, %object
	.size	P1, 4
P1:
	.word	.LC1
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%hd\012\000"
	.align	2
.LC3:
	.ascii	"%lu\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L12+4
	bl	__isoc99_scanf
	b	.L2
.L9:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L12+8
	bl	__isoc99_scanf
	mov	r3, #1
	strh	r3, [fp, #-14]	@ movhi
	b	.L3
.L4:
	ldrh	r3, [fp, #-14]	@ movhi
	eor	r3, r3, #1
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-12]
	lsr	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldrh	r3, [fp, #-14]	@ movhi
	eor	r3, r3, #1
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	ldr	r3, [fp, #-12]
	and	r3, r3, r2
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
	ldrsh	r3, [fp, #-14]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L12+12
	ldr	r3, [r3]
	b	.L8
.L7:
	ldr	r3, .L12+16
	ldr	r3, [r3]
.L8:
	mov	r0, r3
	bl	puts
.L2:
	ldrsh	r3, [fp, #-16]
	lsl	r2, r3, #16
	lsr	r2, r2, #16
	sub	r2, r2, #1
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [fp, #-16]	@ movhi
	cmp	r3, #0
	bgt	.L9
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC4
	.word	.LC2
	.word	.LC3
	.word	P0
	.word	P1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
