	.file	"extr_db_command.c_db_hex2dec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	db_hex2dec
	.type	db_hex2dec, @function
db_hex2dec:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rdx, edi
	test	rdx, rdx
	je	.L5
	and	edi, 15
	cmp	edi, 9
	jg	.L7
	xor	r8d, r8d
	mov	eax, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rcx, rdx
	and	ecx, 15
	cmp	rcx, 9
	ja	.L7
.L3:
	mov	ecx, edx
	and	ecx, 15
	imul	ecx, eax
	lea	rax, [rax+rax*4]
	add	rax, rax
	add	r8d, ecx
	shr	rdx, 4
	jne	.L4
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r8d, -1
	mov	eax, r8d
	ret
.L5:
	xor	r8d, r8d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	db_hex2dec, .-db_hex2dec
	.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_db_command.c_db_hex2dec.c"
	.text
	.align	2
	.global	db_hex2dec
	.syntax unified
	.arm
	.fpu softvfp
	.type	db_hex2dec, %function
db_hex2dec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	subs	r3, r0, #0
	beq	.L5
	and	r1, r3, #15
	cmp	r1, #9
	bhi	.L7
	mov	r0, #0
	mov	r2, #1
.L3:
	lsrs	r3, r3, #4
	add	ip, r2, r2, lsl #2
	mla	r0, r2, r1, r0
	and	r1, r3, #15
	lsl	r2, ip, #1
	bxeq	lr
	cmp	r1, #9
	bls	.L3
.L7:
	mvn	r0, #0
	bx	lr
.L5:
	mov	r0, r3
	bx	lr
	.size	db_hex2dec, .-db_hex2dec
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
