	.file	"extr_avl.c_avl_walk.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	avl_walk
	.type	avl_walk, @function
avl_walk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r8, rdi
	mov	rdi, rsi
	movsx	r13, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, 1
	sub	ebx, r13d
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [r8]
	mov	rsi, r12
	call	AVL_DATA2NODE@PLT
	test	rax, rax
	je	.L3
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax+r13*8]
	test	rax, rax
	je	.L4
	movsx	rdx, ebx
	sal	rdx, 3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax+rdx]
	test	rax, rax
	jne	.L5
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	AVL_NODE2DATA@PLT
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmp	ebx, r13d
	je	.L6
.L4:
	mov	rdi, rbp
	call	AVL_XCHILD@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	AVL_XPARENT@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L17
.L3:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	avl_walk, .-avl_walk
	.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_avl.c_avl_walk.c"
	.text
	.align	2
	.global	avl_walk
	.syntax unified
	.arm
	.fpu softvfp
	.type	avl_walk, %function
avl_walk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	mov	r0, r1
	mov	r1, r6
	mov	r7, r2
	bl	AVL_DATA2NODE
	subs	r4, r0, #0
	beq	.L3
	ldr	r3, [r4]
	rsb	r5, r7, #1
	ldr	r3, [r3, r7, lsl #2]
	cmp	r3, #0
	beq	.L4
	lsl	r1, r5, #2
.L5:
	ldr	r2, [r3]
	mov	r4, r3
	ldr	r3, [r2, r1]
	cmp	r3, #0
	bne	.L5
.L6:
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	AVL_NODE2DATA
.L17:
	cmp	r5, r7
	beq	.L6
.L4:
	mov	r0, r4
	bl	AVL_XCHILD
	mov	r7, r0
	mov	r0, r4
	bl	AVL_XPARENT
	subs	r4, r0, #0
	bne	.L17
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	avl_walk, .-avl_walk
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
