	.file	"extr_binder.c_binder_free_thread.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"in"
.LC1:
	.string	"out"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"binder: release %d:%d transaction %d %s, still active\n"
	.text
	.p2align 4
	.type	binder_free_thread, @function
binder_free_thread:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	lea	rsi, 4[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	lea	rdi, 16[r15]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	rb_erase@PLT
	mov	rbx, QWORD PTR 8[r15]
	test	rbx, rbx
	je	.L2
	mov	rax, QWORD PTR 32[rbx]
	mov	edx, 0
	lea	r14, .LC0[rip]
	lea	r13, .LC1[rip]
	cmp	rax, r15
	cmove	rdx, rbx
	mov	QWORD PTR 8[rsp], rdx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	call	BUG@PLT
.L9:
	mov	rax, QWORD PTR 32[rbx]
.L11:
	add	r12d, 1
	mov	r9, r13
	cmp	rax, r15
	mov	ecx, DWORD PTR 4[r15]
	cmove	r9, r14
	mov	r8d, DWORD PTR 48[rbx]
	mov	edx, DWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	mov	edi, DWORD PTR BINDER_DEBUG_DEAD_TRANSACTION[rip]
	call	binder_debug@PLT
	cmp	QWORD PTR 32[rbx], r15
	je	.L24
	cmp	QWORD PTR 8[rbx], r15
	jne	.L8
	mov	QWORD PTR 8[rbx], 0
	mov	rbx, QWORD PTR [rbx]
.L7:
	test	rbx, rbx
	jne	.L9
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L2
	mov	esi, DWORD PTR BR_DEAD_REPLY[rip]
	mov	rdi, rax
	call	binder_send_failed_reply@PLT
.L2:
	mov	rdi, r15
	call	binder_release_work@PLT
	mov	rdi, r15
	call	kfree@PLT
	mov	edi, DWORD PTR BINDER_STAT_THREAD[rip]
	call	binder_stats_deleted@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR 40[rbx], 0
	mov	QWORD PTR 32[rbx], 0
	test	rax, rax
	je	.L6
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 24[rbx], 0
.L6:
	mov	rbx, QWORD PTR 16[rbx]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	binder_free_thread, .-binder_free_thread
	.comm	BR_DEAD_REPLY,4,4
	.comm	BINDER_STAT_THREAD,4,4
	.comm	BINDER_DEBUG_DEAD_TRANSACTION,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_binder.c_binder_free_thread.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"in\000"
	.align	2
.LC1:
	.ascii	"out\000"
	.align	2
.LC2:
	.ascii	"binder: release %d:%d transaction %d %s, still acti"
	.ascii	"ve\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	binder_free_thread, %function
binder_free_thread:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r7, r0
	add	r1, r0, #4
	sub	sp, sp, #20
	add	r0, r5, #12
	bl	rb_erase
	ldr	r4, [r5, #8]
	cmp	r4, #0
	moveq	r6, r4
	beq	.L2
	mov	r6, #0
	ldr	r3, [r4, #16]
	ldr	fp, .L24
	cmp	r3, r5
	moveq	r2, r4
	movne	r2, r6
	ldr	r10, .L24+4
	str	r2, [sp, #12]
	ldr	r9, .L24+8
	mov	r2, r3
	ldr	r8, .L24+12
	b	.L11
.L8:
	bl	BUG
.L9:
	ldr	r2, [r4, #16]
.L11:
	cmp	r2, r5
	moveq	r2, r10
	movne	r2, r9
	ldr	r1, [r4, #24]
	ldr	r3, [r5, #4]
	stm	sp, {r1, r2}
	ldr	r0, [fp]
	mov	r1, r8
	ldr	r2, [r7]
	bl	binder_debug
	ldr	r3, [r4, #16]
	add	r6, r6, #1
	cmp	r3, r5
	beq	.L23
	ldr	r3, [r4, #4]
	cmp	r3, r5
	bne	.L8
	mov	r3, #0
	str	r3, [r4, #4]
	ldr	r4, [r4]
.L7:
	cmp	r4, #0
	bne	.L9
	ldr	r0, [sp, #12]
	cmp	r0, #0
	beq	.L2
	ldr	r3, .L24+16
	ldr	r1, [r3]
	bl	binder_send_failed_reply
.L2:
	mov	r0, r5
	bl	binder_release_work
	mov	r0, r5
	bl	kfree
	ldr	r3, .L24+20
	ldr	r0, [r3]
	bl	binder_stats_deleted
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	mov	r3, #0
	ldr	r2, [r4, #12]
	str	r3, [r4, #20]
	cmp	r2, r3
	str	r3, [r4, #16]
	strne	r3, [r2]
	strne	r3, [r4, #12]
	ldr	r4, [r4, #8]
	b	.L7
.L25:
	.align	2
.L24:
	.word	BINDER_DEBUG_DEAD_TRANSACTION
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	BR_DEAD_REPLY
	.word	BINDER_STAT_THREAD
	.size	binder_free_thread, .-binder_free_thread
	.comm	BR_DEAD_REPLY,4,4
	.comm	BINDER_STAT_THREAD,4,4
	.comm	BINDER_DEBUG_DEAD_TRANSACTION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
