	.file	"extr_uefisign.c_bin2hex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"malloc"
.LC1:
	.string	"%02x"
	.text
	.p2align 4
	.type	bin2hex, @function
bin2hex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	lea	rdi, 1[rsi+rsi]
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	malloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L10
.L2:
	lea	r13, [rbx+r15]
	mov	r14, r12
	lea	rbp, .LC1[rip]
	test	r15, r15
	je	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	edx, BYTE PTR [rbx]
	mov	rdi, r14
	mov	rsi, rbp
	add	rbx, 1
	call	sprintf@PLT
	cdqe
	add	r14, rax
	cmp	r13, rbx
	jne	.L4
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	err@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	bin2hex, .-bin2hex
	.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_uefisign.c_bin2hex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"malloc\000"
	.align	2
.LC1:
	.ascii	"%02x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bin2hex, %function
bin2hex:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	lsl	r0, r1, #1
	add	r0, r0, #1
	mov	r6, r1
	bl	malloc
	subs	r8, r0, #0
	beq	.L9
.L2:
	cmp	r6, #0
	beq	.L1
	mov	r5, r8
	sub	r4, r4, #1
	ldr	r7, .L10
	add	r6, r4, r6
.L4:
	mov	r0, r5
	ldrb	r2, [r4, #1]!	@ zero_extendqisi2
	mov	r1, r7
	bl	sprintf
	cmp	r6, r4
	add	r5, r5, r0
	bne	.L4
.L1:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r1, .L10+4
	mov	r0, #1
	bl	err
	b	.L2
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC0
	.size	bin2hex, .-bin2hex
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
