	.file	"extr_o_str.c_OPENSSL_buf2hexstr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	OPENSSL_buf2hexstr
	.type	OPENSSL_buf2hexstr, @function
OPENSSL_buf2hexstr:
.LFB0:
	.cfi_startproc
	endbr64
	test	rsi, rsi
	je	.L13
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	lea	rbp, [rsi+rsi*2]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	OPENSSL_malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	lea	rdi, [rax+rbp]
	lea	rcx, hexdig.1932[rip]
	test	r13, r13
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	movzx	edx, BYTE PTR [rbx]
	add	rax, 3
	add	rbx, 1
	shr	dl, 4
	and	edx, 15
	movzx	edx, BYTE PTR [rcx+rdx]
	mov	BYTE PTR -3[rax], dl
	movzx	edx, BYTE PTR -1[rbx]
	and	edx, 15
	movzx	edx, BYTE PTR [rcx+rdx]
	mov	BYTE PTR -2[rax], dl
	mov	BYTE PTR -1[rax], 58
	cmp	rdi, rax
	jne	.L7
.L5:
	mov	BYTE PTR -1[rax], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L13:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	mov	edi, 1
	jmp	OPENSSL_zalloc@PLT
.L3:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR CRYPTO_F_OPENSSL_BUF2HEXSTR[rip]
	call	CRYPTOerr@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	OPENSSL_buf2hexstr, .-OPENSSL_buf2hexstr
	.section	.rodata
	.align 16
	.type	hexdig.1932, @object
	.size	hexdig.1932, 17
hexdig.1932:
	.string	"0123456789ABCDEF"
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	CRYPTO_F_OPENSSL_BUF2HEXSTR,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_o_str.c_OPENSSL_buf2hexstr.c"
	.text
	.align	2
	.global	OPENSSL_buf2hexstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	OPENSSL_buf2hexstr, %function
OPENSSL_buf2hexstr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r1, #0
	beq	.L11
	mov	r4, r0
	add	r0, r5, r5, lsl #1
	bl	OPENSSL_malloc
	subs	r6, r0, #0
	lsl	r1, r5, #1
	beq	.L3
	cmp	r5, #0
	movle	r5, r6
	ble	.L5
	mov	r7, #58
	sub	r2, r4, #1
	ldr	lr, .L12
	add	r4, r2, r5
	add	r3, r6, #3
.L7:
	ldrb	r0, [r2, #1]!	@ zero_extendqisi2
	add	r3, r3, #3
	ldrb	ip, [lr, r0, lsr #4]	@ zero_extendqisi2
	cmp	r2, r4
	strb	ip, [r3, #-6]
	ldrb	ip, [r2]	@ zero_extendqisi2
	strb	r7, [r3, #-4]
	and	ip, ip, #15
	ldrb	ip, [lr, ip]	@ zero_extendqisi2
	strb	ip, [r3, #-5]
	bne	.L7
	add	r5, r1, r5
	add	r5, r6, r5
.L5:
	mov	r3, #0
	strb	r3, [r5, #-1]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, lr}
	b	OPENSSL_zalloc
.L3:
	ldr	r2, .L12+4
	ldr	r3, .L12+8
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	CRYPTOerr
	b	.L1
.L13:
	.align	2
.L12:
	.word	.LANCHOR0
	.word	ERR_R_MALLOC_FAILURE
	.word	CRYPTO_F_OPENSSL_BUF2HEXSTR
	.size	OPENSSL_buf2hexstr, .-OPENSSL_buf2hexstr
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.comm	CRYPTO_F_OPENSSL_BUF2HEXSTR,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	hexdig.4216, %object
	.size	hexdig.4216, 17
hexdig.4216:
	.ascii	"0123456789ABCDEF\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
