	.file	"61075758.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%c%s"
	.text
	.globl	preorder
	.type	preorder, @function
preorder:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 216
	.cfi_offset 3, -24
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -208[rbp], 126
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	WORD PTR -160[rbp], 0
	cmp	QWORD PTR -224[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	edx, WORD PTR -160[rbp]
	mov	WORD PTR 48[rax], dx
	jmp	.L7
.L2:
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 97[rax]
	lea	rax, -208[rbp]
	lea	rcx, 16[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rdx, rax
	jne	.L4
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	edx, WORD PTR -160[rbp]
	mov	WORD PTR 48[rax], dx
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, QWORD PTR 8[rax]
	lea	rdx, -144[rbp]
	sub	rsp, 8
	sub	rsp, 56
	mov	rax, rsp
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	ecx, WORD PTR -160[rbp]
	mov	WORD PTR 48[rax], cx
	mov	rdi, rdx
	call	preorder
	add	rsp, 64
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, QWORD PTR 16[rax]
	lea	rdx, -80[rbp]
	sub	rsp, 8
	sub	rsp, 56
	mov	rax, rsp
	mov	rcx, QWORD PTR -208[rbp]
	mov	rbx, QWORD PTR -200[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -192[rbp]
	mov	rbx, QWORD PTR -184[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -176[rbp]
	mov	rbx, QWORD PTR -168[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	ecx, WORD PTR -160[rbp]
	mov	WORD PTR 48[rax], cx
	mov	rdi, rdx
	call	preorder
	add	rsp, 64
	lea	rdx, -80[rbp]
	lea	rax, -144[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jg	.L5
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	edx, WORD PTR -96[rbp]
	mov	WORD PTR 48[rax], dx
	jmp	.L7
.L5:
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -64[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -48[rbp]
	mov	rbx, QWORD PTR -40[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	edx, WORD PTR -32[rbp]
	mov	WORD PTR 48[rax], dx
.L7:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	mov	rax, QWORD PTR -216[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	preorder, .-preorder
	.globl	smallestFromLeaf
	.type	smallestFromLeaf, @function
smallestFromLeaf:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	WORD PTR -96[rbp], 0
	lea	rdx, -80[rbp]
	mov	rsi, QWORD PTR -152[rbp]
	sub	rsp, 8
	sub	rsp, 56
	mov	rax, rsp
	mov	rcx, QWORD PTR -144[rbp]
	mov	rbx, QWORD PTR -136[rbp]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR -128[rbp]
	mov	rbx, QWORD PTR -120[rbp]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR -112[rbp]
	mov	rbx, QWORD PTR -104[rbp]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	movzx	ecx, WORD PTR -96[rbp]
	mov	WORD PTR 48[rax], cx
	mov	rdi, rdx
	call	preorder
	add	rsp, 64
	lea	rax, -80[rbp]
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	smallestFromLeaf, .-smallestFromLeaf
	.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	"61075758.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%c%s\000"
	.align	2
.LC0:
	.ascii	"~\000"
	.space	48
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	preorder
	.syntax unified
	.arm
	.fpu softvfp
	.type	preorder, %function
preorder:
	@ args = 52, pretend = 8, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #216
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L9+4
	sub	ip, fp, #172
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-176]
	mov	r0, r3
	sub	r3, fp, #172
	mov	r2, #50
	mov	r1, r3
	bl	memcpy
	b	.L1
.L2:
	ldr	r3, [fp, #-180]
	ldr	r3, [r3]
	add	r2, r3, #97
	sub	r0, fp, #172
	add	r3, fp, #4
	ldr	r1, .L9+8
	bl	sprintf
	ldr	r3, [fp, #-180]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-180]
	ldr	r3, [r3, #8]
	cmp	r2, r3
	bne	.L4
	ldr	r3, [fp, #-176]
	mov	r0, r3
	sub	r3, fp, #172
	mov	r2, #50
	mov	r1, r3
	bl	memcpy
	b	.L1
.L4:
	ldr	r3, [fp, #-180]
	ldr	r5, [r3, #4]
	sub	r4, fp, #120
	mov	ip, sp
	sub	lr, fp, #164
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #172
	ldm	r3, {r2, r3}
	mov	r1, r5
	mov	r0, r4
	bl	preorder
	ldr	r3, [fp, #-180]
	ldr	r5, [r3, #8]
	sub	r4, fp, #68
	mov	ip, sp
	sub	lr, fp, #164
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #172
	ldm	r3, {r2, r3}
	mov	r1, r5
	mov	r0, r4
	bl	preorder
	sub	r2, fp, #68
	sub	r3, fp, #120
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bgt	.L5
	ldr	r3, [fp, #-176]
	mov	r0, r3
	sub	r3, fp, #120
	mov	r2, #50
	mov	r1, r3
	bl	memcpy
	b	.L1
.L5:
	ldr	r3, [fp, #-176]
	mov	r0, r3
	sub	r3, fp, #68
	mov	r2, #50
	mov	r1, r3
	bl	memcpy
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	ldr	r0, [fp, #-176]
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, lr}
	add	sp, sp, #8
	bx	lr
.L10:
	.align	2
.L9:
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.size	preorder, .-preorder
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000\000"
	.space	48
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	smallestFromLeaf
	.syntax unified
	.arm
	.fpu softvfp
	.type	smallestFromLeaf, %function
smallestFromLeaf:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172
	str	r0, [fp, #-128]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L14+4
	sub	ip, fp, #120
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	sub	r4, fp, #68
	mov	ip, sp
	sub	lr, fp, #112
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	sub	r3, fp, #120
	ldm	r3, {r2, r3}
	ldr	r1, [fp, #-128]
	mov	r0, r4
	bl	preorder
	sub	r3, fp, #68
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC1
	.size	smallestFromLeaf, .-smallestFromLeaf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
