	.file	"extr_cmd.c_handle_ts_commands.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"commands with %d childs\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Error while parsing command: %s\n"
	.text
	.p2align 4
	.type	handle_ts_commands, @function
handle_ts_commands:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	edi, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	ts_node_named_child_count@PLT
	lea	rdi, .LC0[rip]
	mov	ebx, eax
	mov	esi, eax
	call	R_LOG_DEBUG@PLT
	test	ebx, ebx
	jle	.L2
	xor	r15d, r15d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	r15d, 1
	cmp	ebx, r15d
	je	.L2
.L5:
	mov	esi, r15d
	mov	edi, ebp
	call	ts_node_named_child@PLT
	mov	ecx, r14d
	mov	rsi, r12
	mov	rdi, r13
	mov	edx, eax
	call	handle_ts_command@PLT
	and	eax, 1
	jne	.L3
	mov	rsi, r12
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 12[rsp], eax
	call	eprintf@PLT
	mov	r8d, DWORD PTR 12[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r8d, 1
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	handle_ts_commands, .-handle_ts_commands
	.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_cmd.c_handle_ts_commands.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"commands with %d childs\012\000"
	.align	2
.LC1:
	.ascii	"Error while parsing command: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_ts_commands, %function
handle_ts_commands:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r0
	mov	r0, r2
	mov	r7, r2
	mov	r8, r1
	mov	r10, r3
	bl	ts_node_named_child_count
	mov	r6, r0
	ldr	r0, .L9
	mov	r1, r6
	bl	R_LOG_DEBUG
	cmp	r6, #0
	ble	.L2
	mov	r5, #0
	b	.L5
.L3:
	cmp	r6, r5
	beq	.L2
.L5:
	mov	r1, r5
	mov	r0, r7
	bl	ts_node_named_child
	mov	r3, r10
	mov	r2, r0
	mov	r1, r8
	mov	r0, r9
	bl	handle_ts_command
	ands	r4, r0, #1
	add	r5, r5, #1
	bne	.L3
	mov	r1, r8
	ldr	r0, .L9+4
	bl	eprintf
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r4, #1
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	.LC1
	.size	handle_ts_commands, .-handle_ts_commands
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
