	.file	"extr_btree.c_btree_grim_visitor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	btree_grim_visitor
	.type	btree_grim_visitor, @function
btree_grim_visitor:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	test	r8, r8
	je	.L8
.L2:
	mov	r10, QWORD PTR 8[rdi]
	xor	r12d, r12d
	test	r10, r10
	jne	.L9
	call	__btree_init@PLT
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	r9, r8
	mov	r8, rcx
	mov	rcx, rdx
	push	0
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR [rdi]
	mov	rdx, r10
	push	rax
	.cfi_def_cfa_offset 56
	push	1
	.cfi_def_cfa_offset 64
	mov	QWORD PTR 40[rsp], rdi
	call	__btree_for_each@PLT
	mov	rdi, QWORD PTR 40[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 32
	mov	r12, rax
	call	__btree_init@PLT
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rcx, QWORD PTR empty@GOTPCREL[rip]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	btree_grim_visitor, .-btree_grim_visitor
	.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_btree.c_btree_grim_visitor.c"
	.text
	.align	2
	.global	btree_grim_visitor
	.syntax unified
	.arm
	.fpu softvfp
	.type	btree_grim_visitor, %function
btree_grim_visitor:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #24
	ldr	lr, [sp, #40]
	ldr	r4, .L8
	ldr	ip, [r0, #4]
	cmp	lr, #0
	moveq	r3, r4
	cmp	ip, #0
	mov	r5, r0
	moveq	r4, ip
	bne	.L7
.L3:
	mov	r0, r5
	bl	__btree_init
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r4, #1
	mov	r6, #0
	stm	sp, {r3, lr}
	ldr	lr, [r0]
	mov	r3, r2
	str	r4, [sp, #8]
	mov	r2, ip
	str	r6, [sp, #16]
	str	lr, [sp, #12]
	bl	__btree_for_each
	mov	r4, r0
	b	.L3
.L9:
	.align	2
.L8:
	.word	empty
	.size	btree_grim_visitor, .-btree_grim_visitor
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
