	.file	"extr_gdb_main.c_gdb_do_threadinfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gdb_do_threadinfo, @function
gdb_do_threadinfo:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	test	rax, rax
	je	.L27
	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
	cmp	rax, 1
	je	.L28
	mov	edi, 109
	xor	ebp, ebp
	call	gdb_tx_begin@PLT
	cmp	QWORD PTR [rbx], 0
	jne	.L5
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR [rbx]
	add	rbp, 1
	mov	edi, DWORD PTR [rax]
	call	gdb_tx_varhex@PLT
	mov	rdi, QWORD PTR [rbx]
	call	kdb_thr_next@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L7
.L5:
	mov	edi, 9
	call	gdb_txbuf_has_capacity@PLT
	test	rax, rax
	je	.L29
	test	rbp, rbp
	je	.L6
	mov	edi, 44
	call	gdb_tx_char@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rax, QWORD PTR [rbx]
.L7:
	test	rbp, rbp
	je	.L4
	test	rax, rax
	jne	.L4
	mov	QWORD PTR [rbx], 1
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	gdb_tx_end@PLT
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore_state
	mov	edi, 108
	call	gdb_tx_begin@PLT
	mov	QWORD PTR [rbx], 0
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 8
	jmp	gdb_tx_end@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR ENXIO[rip]
	jmp	gdb_tx_err@PLT
	.cfi_endproc
.LFE0:
	.size	gdb_do_threadinfo, .-gdb_do_threadinfo
	.comm	ENXIO,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_gdb_main.c_gdb_do_threadinfo.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gdb_do_threadinfo, %function
gdb_do_threadinfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L23
	cmp	r3, #1
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L24
	mov	r0, #109
	bl	gdb_tx_begin
	ldr	r3, [r4]
	cmp	r3, #0
	movne	r5, #0
	bne	.L5
	b	.L4
.L6:
	ldr	r3, [r4]
	add	r5, r5, #1
	ldr	r0, [r3]
	bl	gdb_tx_varhex
	ldr	r0, [r4]
	bl	kdb_thr_next
	cmp	r0, #0
	str	r0, [r4]
	beq	.L7
.L5:
	mov	r0, #9
	bl	gdb_txbuf_has_capacity
	cmp	r0, #0
	beq	.L25
	cmp	r5, #0
	beq	.L6
	mov	r0, #44
	bl	gdb_tx_char
	b	.L6
.L25:
	ldr	r0, [r4]
.L7:
	clz	r3, r0
	cmp	r5, #0
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	movne	r3, #1
	strne	r3, [r4]
.L4:
	pop	{r4, r5, r6, lr}
	b	gdb_tx_end
.L24:
	mov	r0, #108
	bl	gdb_tx_begin
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, lr}
	b	gdb_tx_end
.L23:
	ldr	r3, .L26
	ldr	r0, [r3]
	b	gdb_tx_err
.L27:
	.align	2
.L26:
	.word	ENXIO
	.size	gdb_do_threadinfo, .-gdb_do_threadinfo
	.comm	ENXIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
