	.file	"15763306.c"
	.intel_syntax noprefix
	.text
	.globl	cmp
	.type	cmp, @function
cmp:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmp, .-cmp
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"%d,%s,%s"
	.text
	.globl	postorder
	.type	postorder, @function
postorder:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	cmp	QWORD PTR -40[rbp], 0
	jne	.L4
	lea	rax, .LC0[rip]
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	postorder
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	postorder
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	eax, 10
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	postorder, .-postorder
	.globl	findDuplicateSubtrees
	.type	findDuplicateSubtrees, @function
findDuplicateSubtrees:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -159744[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 336
	mov	QWORD PTR -160072[rbp], rdi
	mov	QWORD PTR -160080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -160052[rbp], 0
	lea	rdx, -160052[rbp]
	lea	rcx, -160032[rbp]
	mov	rax, QWORD PTR -160072[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	postorder
	mov	eax, DWORD PTR -160052[rbp]
	movsx	rsi, eax
	lea	rax, -160032[rbp]
	lea	rcx, cmp[rip]
	mov	edx, 16
	mov	rdi, rax
	call	qsort@PLT
	mov	eax, DWORD PTR -160052[rbp]
	cdqe
	sal	rax, 3
	shr	rax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -160040[rbp], rax
	mov	rax, QWORD PTR -160080[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -160048[rbp], 1
	mov	DWORD PTR -160044[rbp], 0
	jmp	.L7
.L10:
	add	DWORD PTR -160048[rbp], 1
.L8:
	mov	eax, DWORD PTR -160052[rbp]
	cmp	DWORD PTR -160048[rbp], eax
	jge	.L9
	mov	eax, DWORD PTR -160048[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 160032
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160048[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 160032
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L10
.L9:
	mov	eax, DWORD PTR -160048[rbp]
	sub	eax, DWORD PTR -160044[rbp]
	cmp	eax, 1
	jle	.L11
	mov	rax, QWORD PTR -160080[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -160080[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160040[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -160044[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 160024
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rdx], rax
.L11:
	mov	eax, DWORD PTR -160048[rbp]
	mov	DWORD PTR -160044[rbp], eax
	mov	eax, DWORD PTR -160044[rbp]
	add	eax, 1
	mov	DWORD PTR -160048[rbp], eax
.L7:
	mov	eax, DWORD PTR -160052[rbp]
	cmp	DWORD PTR -160048[rbp], eax
	jl	.L8
	mov	rax, QWORD PTR -160040[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	findDuplicateSubtrees, .-findDuplicateSubtrees
	.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	"15763306.c"
	.text
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp, .-cmp
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%d,%s,%s\000"
	.text
	.align	2
	.global	postorder
	.syntax unified
	.arm
	.fpu softvfp
	.type	postorder, %function
postorder:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L6
	b	.L5
.L4:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	postorder
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	postorder
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #10
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r1, .L6+4
	ldr	r0, [fp, #-8]
	bl	sprintf
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-40]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.size	postorder, .-postorder
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findDuplicateSubtrees
	.syntax unified
	.arm
	.fpu softvfp
	.type	findDuplicateSubtrees, %function
findDuplicateSubtrees:
	@ args = 0, pretend = 0, frame = 80040
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #79872
	sub	sp, sp, #172
	sub	r3, fp, #77824
	sub	r3, r3, #12
	str	r0, [r3, #-2212]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	str	r1, [r3, #-2216]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2204]
	sub	r2, fp, #79872
	sub	r2, r2, #12
	sub	r2, r2, #156
	sub	r3, fp, #79872
	sub	r3, r3, #12
	sub	r3, r3, #140
	sub	r1, fp, #77824
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-2212]
	bl	postorder
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	mov	r1, r3
	sub	r0, fp, #79872
	sub	r0, r0, #12
	sub	r0, r0, #140
	ldr	r3, .L17+4
	mov	r2, #8
	bl	qsort
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	lsl	r3, r3, #2
	lsr	r3, r3, #1
	sub	r2, fp, #77824
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-2192]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2216]
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-2200]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-2196]
	b	.L9
.L12:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	add	r3, r3, #1
	str	r3, [r2, #-2200]
.L10:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2200]
	cmp	r2, r3
	bge	.L11
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	sub	r3, r3, #1
	sub	r2, fp, #77824
	sub	r2, r2, #12
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #-2188]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-2188]
	mov	r1, r3
	mov	r0, r2
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
.L11:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r2, [r2, #-2200]
	ldr	r3, [r3, #-2196]
	sub	r3, r2, r3
	cmp	r3, #1
	ble	.L13
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2216]
	ldr	r3, [r3]
	add	r1, r3, #1
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2216]
	str	r1, [r2]
	lsl	r3, r3, #2
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2192]
	add	r2, r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-2184]
	str	r3, [r2]
.L13:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2200]
	str	r3, [r2, #-2196]
	sub	r3, fp, #77824
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2196]
	add	r3, r3, #1
	str	r3, [r2, #-2200]
.L9:
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2204]
	sub	r2, fp, #77824
	sub	r2, r2, #12
	ldr	r2, [r2, #-2200]
	cmp	r2, r3
	blt	.L10
	sub	r3, fp, #77824
	sub	r3, r3, #12
	ldr	r3, [r3, #-2192]
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	cmp
	.size	findDuplicateSubtrees, .-findDuplicateSubtrees
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
