	.file	"195626.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Enter first word: "
.LC1:
	.string	"Enter second word: "
.LC2:
	.string	"The words are not anagrams."
.LC3:
	.string	"The words are anagrams."
	.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	get_word
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	get_word
	lea	rdx, -96[rbp]
	lea	rax, -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	are_anagrams
	test	al, al
	je	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	are_anagrams
	.type	are_anagrams, @function
are_anagrams:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	QWORD PTR -248[rbp], rdi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -224[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	lea	rdx, -112[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -248[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	edx, DWORD PTR -224[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -224[rbp+rax*4], edx
.L7:
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -248[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -256[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	edx, DWORD PTR -112[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
.L9:
	mov	rax, QWORD PTR -256[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -256[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
	mov	DWORD PTR -228[rbp], 0
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	edx, DWORD PTR -224[rbp+rax*4]
	mov	eax, DWORD PTR -228[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	cmp	edx, eax
	je	.L12
	mov	eax, 0
	jmp	.L15
.L12:
	add	DWORD PTR -228[rbp], 1
.L11:
	cmp	DWORD PTR -228[rbp], 25
	jle	.L14
	mov	eax, 1
.L15:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	are_anagrams, .-are_anagrams
	.globl	get_word
	.type	get_word, @function
get_word:
.LFB2:
	.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
	jmp	.L18
.L19:
	movsx	eax, BYTE PTR -1[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
.L18:
	call	getchar@PLT
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 10
	jne	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	get_word, .-get_word
	.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	"195626.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter first word: \000"
	.align	2
.LC1:
	.ascii	"Enter second word: \000"
	.align	2
.LC2:
	.ascii	"The words are not anagrams.\000"
	.align	2
.LC3:
	.ascii	"The words are anagrams.\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 = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #176
	mov	r0, r3
	bl	get_word
	ldr	r0, .L6+8
	bl	printf
	sub	r3, fp, #92
	mov	r0, r3
	bl	get_word
	sub	r2, fp, #92
	sub	r3, fp, #176
	mov	r1, r2
	mov	r0, r3
	bl	are_anagrams
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L6+12
	bl	printf
	b	.L3
.L2:
	ldr	r0, .L6+16
	bl	printf
.L3:
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	are_anagrams
	.syntax unified
	.arm
	.fpu softvfp
	.type	are_anagrams, %function
are_anagrams:
	@ args = 0, pretend = 0, frame = 224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #224
	str	r0, [fp, #-224]
	str	r1, [fp, #-228]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #216
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #112
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L9
.L10:
	ldr	r3, [fp, #-224]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #97
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-212]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-212]
.L9:
	ldr	r3, [fp, #-224]
	add	r2, r3, #1
	str	r2, [fp, #-224]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	b	.L11
.L12:
	ldr	r3, [fp, #-228]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #97
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-108]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-108]
.L11:
	ldr	r3, [fp, #-228]
	add	r2, r3, #1
	str	r2, [fp, #-228]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L13
.L16:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-212]
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-108]
	cmp	r2, r3
	beq	.L14
	mov	r3, #0
	b	.L17
.L14:
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L13:
	ldr	r3, [fp, #-220]
	cmp	r3, #25
	ble	.L16
	mov	r3, #1
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC5
	.size	are_anagrams, .-are_anagrams
	.align	2
	.global	get_word
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_word, %function
get_word:
	@ 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]
	b	.L22
.L23:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r1, r0
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	and	r2, r1, #255
	strb	r2, [r3]
.L22:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L23
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_word, .-get_word
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
