	.file	"extr_cconfig.c_cb_cfgdebug.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dbg.backend"
.LC1:
	.string	"cmd.prompt"
.LC2:
	.string	".dr*"
.LC3:
	.string	"bf"
.LC4:
	.string	"asm.arch"
	.text
	.p2align 4
	.type	cb_cfgdebug, @function
cb_cfgdebug:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L8
	mov	rax, QWORD PTR 24[rdi]
	mov	rbx, rdi
	test	rax, rax
	je	.L3
	mov	rdx, QWORD PTR [rsi]
	xor	ecx, ecx
	test	rdx, rdx
	mov	QWORD PTR 8[rax], rdx
	sete	cl
	mov	DWORD PTR [rax], ecx
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L4
	cmp	QWORD PTR [rsi], 0
	jne	.L19
.L4:
	xor	esi, esi
	mov	r12d, 1
	call	r_debug_use@PLT
	mov	rax, QWORD PTR [rbx]
	mov	DWORD PTR [rax], 0
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	edi, DWORD PTR 32[rbx]
	lea	rsi, .LC0[rip]
	call	r_config_get@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	r12, rax
	mov	rax, QWORD PTR [rbx]
	mov	rsi, r12
	mov	DWORD PTR [rax], 1
	call	r_debug_use@PLT
	mov	edi, DWORD PTR 32[rbx]
	lea	rsi, .LC1[rip]
	call	r_config_get@PLT
	cmp	BYTE PTR [rax], 0
	je	.L20
.L5:
	cmp	BYTE PTR [r12], 98
	jne	.L7
	cmp	BYTE PTR 1[r12], 102
	je	.L21
.L7:
	mov	rax, QWORD PTR 16[rbx]
	mov	r12d, 1
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 24[rbx]
	mov	esi, DWORD PTR [rax]
	call	r_io_fd_get_tid@PLT
	mov	rdi, QWORD PTR 24[rbx]
	mov	r13d, eax
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR [rax]
	call	r_io_fd_get_pid@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, r13d
	mov	esi, eax
	call	r_debug_select@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r12d, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edi, DWORD PTR 32[rbx]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC1[rip]
	call	r_config_set@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L21:
	cmp	BYTE PTR 2[r12], 0
	jne	.L7
	mov	edi, DWORD PTR 32[rbx]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	call	r_config_set@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	cb_cfgdebug, .-cb_cfgdebug
	.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_cconfig.c_cb_cfgdebug.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dbg.backend\000"
	.align	2
.LC1:
	.ascii	"cmd.prompt\000"
	.align	2
.LC2:
	.ascii	".dr*\000"
	.align	2
.LC3:
	.ascii	"bf\000"
	.align	2
.LC4:
	.ascii	"asm.arch\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cb_cfgdebug, %function
cb_cfgdebug:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	beq	.L8
	ldr	r3, [r4, #12]
	cmp	r3, #0
	ldrne	r0, [r1]
	clzne	r2, r0
	strne	r0, [r3, #4]
	ldr	r0, [r4, #4]
	lsrne	r2, r2, #5
	strne	r2, [r3]
	cmp	r0, #0
	beq	.L4
	ldr	r3, [r1]
	cmp	r3, #0
	bne	.L21
.L4:
	mov	r1, #0
	bl	r_debug_use
	mov	r2, #0
	ldr	r3, [r4]
	mov	r0, #1
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L21:
	ldr	r1, .L24
	ldr	r0, [r4, #16]
	bl	r_config_get
	mov	r2, #1
	ldr	r3, [r4]
	mov	r1, r0
	str	r2, [r3]
	mov	r5, r0
	ldr	r0, [r4, #4]
	bl	r_debug_use
	ldr	r1, .L24+4
	ldr	r0, [r4, #16]
	bl	r_config_get
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
.L5:
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L7
	ldrb	r3, [r5, #1]	@ zero_extendqisi2
	cmp	r3, #102
	beq	.L23
.L7:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L9
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	ldr	r6, [r4, #4]
	bl	r_io_fd_get_pid
	ldr	r3, [r4, #8]
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r0, [r4, #12]
	bl	r_io_fd_get_tid
	mov	r1, r5
	mov	r2, r0
	mov	r0, r6
	bl	r_debug_select
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L22:
	ldr	r2, .L24+8
	ldr	r1, .L24+4
	ldr	r0, [r4, #16]
	bl	r_config_set
	b	.L5
.L23:
	ldrb	r3, [r5, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	ldr	r2, .L24+12
	ldr	r1, .L24+16
	ldr	r0, [r4, #16]
	bl	r_config_set
	b	.L7
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	cb_cfgdebug, .-cb_cfgdebug
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
