	.file	"extr_mesh.c_mesh_delete_all.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mesh_delete_all
	.type	mesh_delete_all, @function
mesh_delete_all:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR 72[rdi], 0
	mov	rbx, rdi
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR 64[rbx]
	call	mesh_delete_helper@PLT
	cmp	QWORD PTR 72[rbx], 0
	jne	.L3
.L2:
	mov	rax, QWORD PTR 56[rbx]
	add	DWORD PTR 96[rbx], eax
	lea	rdi, 80[rbx]
	lea	rsi, mesh_state_compare[rip]
	call	rbtree_init@PLT
	lea	rdi, 64[rbx]
	lea	rsi, mesh_state_compare[rip]
	call	rbtree_init@PLT
	mov	QWORD PTR 56[rbx], 0
	mov	QWORD PTR 48[rbx], 0
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mesh_delete_all, .-mesh_delete_all
	.comm	mesh_state_compare,4,4
	.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_mesh.c_mesh_delete_all.c"
	.text
	.align	2
	.global	mesh_delete_all
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesh_delete_all, %function
mesh_delete_all:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #36]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L2
.L3:
	ldr	r0, [r4, #32]
	bl	mesh_delete_helper
	ldr	r3, [r4, #36]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, [r4, #48]
	ldr	r2, [r4, #28]
	ldr	r1, .L10
	add	r3, r3, r2
	str	r3, [r4, #48]
	add	r0, r4, #40
	bl	rbtree_init
	ldr	r1, .L10
	add	r0, r4, #32
	bl	rbtree_init
	mov	r3, #0
	str	r3, [r4, #28]
	str	r3, [r4, #24]
	str	r3, [r4, #20]
	str	r3, [r4, #16]
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	str	r3, [r4]
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	mesh_state_compare
	.size	mesh_delete_all, .-mesh_delete_all
	.comm	mesh_state_compare,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
