	.file	"extr_ltree_gist.c_gist_ischild.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gist_ischild, @function
gist_ischild:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	LTG_GETLNODE@PLT
	mov	edi, eax
	call	copy_ltree@PLT
	mov	rdi, r12
	mov	rbp, rax
	call	LTG_GETRNODE@PLT
	mov	edi, eax
	call	copy_ltree@PLT
	mov	r12, rax
	mov	rax, QWORD PTR 0[r13]
	cmp	QWORD PTR 0[rbp], rax
	jle	.L2
	mov	QWORD PTR 0[rbp], rax
.L2:
	mov	rsi, rbp
	mov	rdi, r13
	call	ltree_compare@PLT
	test	rax, rax
	js	.L13
	mov	rax, QWORD PTR 0[r13]
	cmp	QWORD PTR [r12], rax
	jg	.L6
.L7:
	mov	rdi, r13
	mov	rsi, r12
	xor	r13d, r13d
	call	ltree_compare@PLT
	test	rax, rax
	setle	r13b
.L5:
	mov	rdi, rbp
	call	pfree@PLT
	mov	rdi, r12
	call	pfree@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	QWORD PTR [r12], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rax, QWORD PTR 0[r13]
	cmp	QWORD PTR [r12], rax
	jg	.L8
	xor	r13d, r13d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR [r12], rax
	xor	r13d, r13d
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	gist_ischild, .-gist_ischild
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ltree_gist.c_gist_ischild.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gist_ischild, %function
gist_ischild:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r5, r0
	bl	LTG_GETLNODE
	bl	copy_ltree
	mov	r4, r0
	mov	r0, r5
	bl	LTG_GETRNODE
	bl	copy_ltree
	ldr	r3, [r6]
	ldr	r2, [r4]
	mov	r5, r0
	cmp	r2, r3
	strgt	r3, [r4]
	mov	r1, r4
	mov	r0, r6
	bl	ltree_compare
	cmp	r0, #0
	blt	.L13
	ldr	r3, [r6]
	ldr	r2, [r5]
	mov	r0, r6
	cmp	r2, r3
	strgt	r3, [r5]
	mov	r1, r5
	bl	ltree_compare
	cmp	r0, #0
	movgt	r6, #0
	movle	r6, #1
.L5:
	mov	r0, r4
	bl	pfree
	mov	r0, r5
	bl	pfree
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r3, [r6]
	ldr	r2, [r5]
	cmp	r2, r3
	movgt	r6, #0
	movle	r6, #0
	strgt	r3, [r5]
	b	.L5
	.size	gist_ischild, .-gist_ischild
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
