	.file	"632933.c"
	.intel_syntax noprefix
	.text
	.globl	isAnagram
	.type	isAnagram, @function
isAnagram:
.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, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	je	.L2
	mov	eax, 0
	jmp	.L9
.L2:
	lea	rdx, -112[rbp]
	mov	eax, 0
	mov	ecx, 13
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -128[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	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
	add	DWORD PTR -128[rbp], 1
.L4:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -120[rbp]
	jl	.L5
	mov	DWORD PTR -124[rbp], 0
	jmp	.L6
.L8:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	test	eax, eax
	jg	.L7
	mov	eax, 0
	jmp	.L9
.L7:
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 97
	movsx	rdx, eax
	mov	edx, DWORD PTR -112[rbp+rdx*4]
	sub	edx, 1
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], edx
	add	DWORD PTR -124[rbp], 1
.L6:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jl	.L8
	mov	eax, 1
.L9:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	isAnagram, .-isAnagram
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%s%s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L12
.L13:
	lea	rdx, -32[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	isAnagram
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L12:
	lea	rdx, -32[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L13
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"632933.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isAnagram
	.syntax unified
	.arm
	.fpu softvfp
	.type	isAnagram, %function
isAnagram:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-136]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-120]
	ldr	r0, [fp, #-140]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	beq	.L2
	mov	r3, #0
	b	.L9
.L2:
	sub	r3, fp, #112
	mov	r2, #104
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L4
.L5:
	ldr	r3, [fp, #-128]
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	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]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L4:
	ldr	r2, [fp, #-128]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L6
.L8:
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #97
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-108]
	cmp	r3, #0
	bgt	.L7
	mov	r3, #0
	b	.L9
.L7:
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	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]
	sub	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-108]
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L6:
	ldr	r2, [fp, #-124]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L8
	mov	r3, #1
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	isAnagram, .-isAnagram
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.ascii	"%s%s\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L14
.L15:
	sub	r2, fp, #28
	sub	r3, fp, #48
	mov	r1, r2
	mov	r0, r3
	bl	isAnagram
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L18+4
	bl	printf
.L14:
	sub	r2, fp, #28
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L18+8
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L15
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
