	.file	"extr_ctdaio.c_dao_clear_right_input.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dao_clear_right_input, @function
dao_clear_right_input:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR [rdi]
	mov	rsi, QWORD PTR [rax+rdx*8]
	test	rsi, rsi
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, rax
	call	[QWORD PTR [rax]]
	cmp	DWORD PTR 24[rbx], 1
	mov	rdx, QWORD PTR [rbx]
	mov	rax, QWORD PTR 16[rbx]
	jle	.L5
	mov	ebp, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, QWORD PTR 8[rbx]
	add	rax, rbp
	mov	rsi, QWORD PTR [rdx+rax*8]
	mov	rdi, rcx
	call	[QWORD PTR [rcx]]
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	rcx, [rax+rbp]
	add	rbp, 1
	mov	QWORD PTR [rdx+rcx*8], 0
	cmp	DWORD PTR 24[rbx], ebp
	jg	.L4
.L5:
	mov	rdi, QWORD PTR [rdx+rax*8]
	call	kfree@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR [rax+rdx*8], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 3
	.cfi_restore 6
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	dao_clear_right_input, .-dao_clear_right_input
	.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_ctdaio.c_dao_clear_right_input.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dao_clear_right_input, %function
dao_clear_right_input:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0, #8]
	ldr	r3, [r0]
	ldr	r1, [r3, r2, lsl #2]
	cmp	r1, #0
	beq	.L11
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0, #4]
	ldr	r3, [r0]
	blx	r3
	ldr	r3, [r4, #12]
	cmp	r3, #1
	ble	.L3
	mov	r5, #1
	mov	r6, #0
	ldr	r2, [r4]
	ldr	r3, [r4, #8]
.L4:
	ldr	r0, [r4, #4]
	add	r3, r5, r3
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, [r0]
	blx	r3
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #12]
	add	r1, r3, r5
	ldr	r2, [r4]
	add	r5, r5, #1
	cmp	r0, r5
	str	r6, [r2, r1, lsl #2]
	bgt	.L4
.L5:
	ldr	r0, [r2, r3, lsl #2]
	bl	kfree
	mov	r1, #0
	ldr	r2, [r4, #8]
	ldr	r3, [r4]
	mov	r0, #0
	str	r1, [r3, r2, lsl #2]
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, #0
	bx	lr
.L3:
	ldr	r2, [r4]
	ldr	r3, [r4, #8]
	b	.L5
	.size	dao_clear_right_input, .-dao_clear_right_input
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
