	.file	"extr_infttrace.c_kill_inferior.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Bad data in gdb's thread data; repairing."
	.text
	.p2align 4
	.globl	kill_inferior
	.type	kill_inferior, @function
kill_inferior:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edi, DWORD PTR inferior_ptid[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	PIDGET@PLT
	test	rax, rax
	jne	.L15
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	eax, DWORD PTR thread_head[rip]
	lea	edi, 0[0+rax*8]
	call	xmalloc@PLT
	mov	rbp, QWORD PTR thread_head[rip+8]
	mov	r13, rax
	test	rbp, rbp
	je	.L10
	cmp	QWORD PTR 16[rbp], 0
	mov	QWORD PTR [rax], rbp
	lea	r12, 8[rax]
	lea	r14, .LC0[rip]
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rbp, QWORD PTR 8[rbp]
	test	rbp, rbp
	je	.L10
.L9:
	mov	QWORD PTR [r12], rbp
	mov	rbx, r13
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	add	rbx, 8
	cmp	r12, rbx
	je	.L17
.L5:
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L4
	mov	rdi, r14
	add	rbx, 8
	call	warning@PLT
	mov	QWORD PTR 8[rbp], 0
	cmp	r12, rbx
	jne	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	add	r12, 8
	cmp	QWORD PTR 16[rbp], 0
	je	.L7
.L16:
	mov	edi, DWORD PTR inferior_ptid[rip]
	mov	rbx, QWORD PTR 0[rbp]
	call	PIDGET@PLT
	cmp	rbx, rax
	je	.L7
	mov	edx, DWORD PTR TT_NIL[rip]
	mov	rsi, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR TT_PROC_EXIT[rip]
	mov	r8d, edx
	mov	ecx, edx
	call	call_ttrace@PLT
	mov	rbp, QWORD PTR 8[rbp]
	test	rbp, rbp
	jne	.L9
.L10:
	mov	rdi, r13
	call	xfree@PLT
	mov	edi, DWORD PTR inferior_ptid[rip]
	mov	r12d, DWORD PTR TT_NIL[rip]
	call	PIDGET@PLT
	mov	r8d, r12d
	mov	ecx, r12d
	mov	edx, r12d
	mov	edi, DWORD PTR TT_PROC_EXIT[rip]
	mov	rsi, rax
	call	call_ttrace@PLT
	xor	eax, eax
	call	target_mourn_inferior@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	clear_thread_info@PLT
	.cfi_endproc
.LFE0:
	.size	kill_inferior, .-kill_inferior
	.comm	thread_head,16,16
	.comm	inferior_ptid,4,4
	.comm	TT_PROC_EXIT,4,4
	.comm	TT_NIL,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_infttrace.c_kill_inferior.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad data in gdb's thread data; repairing.\000"
	.text
	.align	2
	.global	kill_inferior
	.syntax unified
	.arm
	.fpu softvfp
	.type	kill_inferior, %function
kill_inferior:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L19
	sub	sp, sp, #20
	ldr	r0, [r9]
	bl	PIDGET
	cmp	r0, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	ldr	r4, .L19+4
	ldr	r0, [r4]
	lsl	r0, r0, #2
	bl	xmalloc
	ldr	r4, [r4, #4]
	mov	r8, r0
	cmp	r4, #0
	beq	.L16
	mov	r5, r0
	ldr	r3, .L19+8
	mov	r6, #0
	str	r3, [sp, #12]
	ldr	r3, [r4, #8]
	ldr	r10, .L19+12
	cmp	r3, #0
	ldr	r7, .L19+16
	str	r4, [r5], #4
	bne	.L17
.L7:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L10
.L9:
	mov	fp, r8
	str	r4, [r5]
	b	.L5
.L4:
	cmp	r5, fp
	beq	.L18
.L5:
	ldr	r2, [fp]
	ldr	r1, [r4, #4]
	add	fp, fp, #4
	cmp	r1, r2
	bne	.L4
	mov	r0, r7
	bl	warning
	cmp	r5, fp
	str	r6, [r4, #4]
	bne	.L5
.L18:
	ldr	r3, [r4, #8]
	add	r5, r5, #4
	cmp	r3, #0
	beq	.L7
.L17:
	ldr	r0, [r9]
	ldr	fp, [r4]
	bl	PIDGET
	cmp	fp, r0
	beq	.L7
	ldr	r3, [r10]
	ldr	r0, [sp, #12]
	ldr	r1, [r4]
	str	r3, [sp]
	mov	r2, r3
	ldr	r0, [r0]
	bl	call_ttrace
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L9
.L10:
	mov	r0, r8
	bl	xfree
	ldr	r3, [sp, #12]
	ldr	r0, [r9]
	ldr	r4, [r3]
	bl	PIDGET
	ldr	r3, [r10]
	mov	r1, r0
	mov	r2, r3
	str	r3, [sp]
	mov	r0, r4
	bl	call_ttrace
	bl	target_mourn_inferior
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	clear_thread_info
.L16:
	ldr	r3, .L19+8
	ldr	r10, .L19+12
	str	r3, [sp, #12]
	b	.L10
.L20:
	.align	2
.L19:
	.word	inferior_ptid
	.word	thread_head
	.word	TT_PROC_EXIT
	.word	TT_NIL
	.word	.LC0
	.size	kill_inferior, .-kill_inferior
	.comm	thread_head,8,4
	.comm	inferior_ptid,4,4
	.comm	TT_PROC_EXIT,4,4
	.comm	TT_NIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
