	.file	"extr_mongoose.c_cs_to_hex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0123456789abcdef"
	.text
	.p2align 4
	.globl	cs_to_hex
	.type	cs_to_hex, @function
cs_to_hex:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdx, rdx
	je	.L2
	lea	r9, [rsi+rdx]
	mov	rcx, rdi
	lea	r8, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	eax, BYTE PTR [rsi]
	add	rcx, 2
	add	rsi, 1
	shr	al, 4
	movzx	eax, al
	movzx	eax, BYTE PTR [r8+rax]
	mov	BYTE PTR -2[rcx], al
	movzx	eax, BYTE PTR -1[rsi]
	and	eax, 15
	movzx	eax, BYTE PTR [r8+rax]
	mov	BYTE PTR -1[rcx], al
	cmp	r9, rsi
	jne	.L3
	lea	rdi, [rdi+rdx*2]
.L2:
	mov	BYTE PTR [rdi], 0
	ret
	.cfi_endproc
.LFE0:
	.size	cs_to_hex, .-cs_to_hex
	.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_mongoose.c_cs_to_hex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0123456789abcdef\000"
	.text
	.align	2
	.global	cs_to_hex
	.syntax unified
	.arm
	.fpu softvfp
	.type	cs_to_hex, %function
cs_to_hex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	beq	.L9
	push	{r4, lr}
	sub	r4, r2, #1
	ldr	lr, .L13
	add	r4, r1, r4
	add	r3, r0, #2
	sub	r1, r1, #1
.L3:
	ldrb	ip, [r1, #1]!	@ zero_extendqisi2
	add	r3, r3, #2
	ldrb	ip, [lr, ip, lsr #4]	@ zero_extendqisi2
	cmp	r1, r4
	strb	ip, [r3, #-4]
	ldrb	ip, [r1]	@ zero_extendqisi2
	and	ip, ip, #15
	ldrb	ip, [lr, ip]	@ zero_extendqisi2
	strb	ip, [r3, #-3]
	bne	.L3
	mov	r3, #0
	add	r0, r0, r2, lsl #1
	strb	r3, [r0]
	pop	{r4, pc}
.L9:
	mov	r3, #0
	strb	r3, [r0]
	bx	lr
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	cs_to_hex, .-cs_to_hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
