	.file	"extr_protocomm_console.c_hex2bin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%2hhx"
	.text
	.p2align 4
	.type	hex2bin, @function
hex2bin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	strlen@PLT
	shr	rax
	mov	r14, rax
	test	eax, eax
	jle	.L1
	lea	eax, -1[rax]
	lea	r12, .LC0[rip]
	lea	r13, 2[rbx+rax*2]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, rbp
	mov	rdi, rbx
	mov	rsi, r12
	add	rbx, 2
	call	sscanf@PLT
	add	rbp, 4
	cmp	rbx, r13
	jne	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r14d
	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
	.cfi_endproc
.LFE0:
	.size	hex2bin, .-hex2bin
	.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_protocomm_console.c_hex2bin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%2hhx\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex2bin, %function
hex2bin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r0
	bl	strlen
	lsrs	r8, r0, #1
	beq	.L1
	ldr	r7, .L10
	add	r6, r4, r8, lsl #1
.L3:
	mov	r2, r5
	mov	r0, r4
	mov	r1, r7
	add	r4, r4, #2
	bl	sscanf
	cmp	r4, r6
	add	r5, r5, #4
	bne	.L3
.L1:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	hex2bin, .-hex2bin
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
