	.file	"extr_lsm_tree.c_lsmAppendStrBlob.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0123456789abcdef"
	.text
	.p2align 4
	.type	lsmAppendStrBlob, @function
lsmAppendStrBlob:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	lea	esi, [rdx+rdx]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	lsmStringExtend@PLT
	cmp	QWORD PTR [rbx], 0
	je	.L1
	mov	r8, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR 16[rbx]
	test	r12d, r12d
	jle	.L3
	lea	r9d, -1[r12]
	xor	esi, esi
	lea	rdi, [r8+rax]
	mov	r10, r9
	lea	r11, .LC0[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L12:
	add	rax, 1
	mov	QWORD PTR 16[rbx], rax
	mov	BYTE PTR [rdi], cl
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rbx]
	add	rdi, rax
	mov	r8, rdi
.L5:
	lea	rdx, 1[rsi]
	cmp	r9, rsi
	je	.L8
.L9:
	mov	rsi, rdx
.L7:
	movzx	ecx, BYTE PTR 0[rbp+rsi]
	mov	r8, rdi
	lea	edx, -97[rcx]
	cmp	dl, 25
	jbe	.L12
	test	cl, cl
	jne	.L6
	cmp	r12d, 1
	je	.L6
	cmp	r10d, esi
	je	.L5
.L6:
	add	rax, 1
	mov	QWORD PTR 16[rbx], rax
	mov	eax, ecx
	and	ecx, 15
	shr	al, 4
	movzx	ecx, BYTE PTR [r11+rcx]
	and	eax, 15
	movzx	eax, BYTE PTR [r11+rax]
	mov	BYTE PTR [rdi], al
	mov	rax, QWORD PTR 16[rbx]
	mov	rdx, QWORD PTR 8[rbx]
	lea	rdi, 1[rax]
	mov	QWORD PTR 16[rbx], rdi
	mov	BYTE PTR [rdx+rax], cl
	mov	rax, QWORD PTR 16[rbx]
	lea	rdx, 1[rsi]
	mov	rdi, QWORD PTR 8[rbx]
	add	rdi, rax
	mov	r8, rdi
	cmp	r9, rsi
	jne	.L9
.L8:
	mov	BYTE PTR [r8], 0
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	add	r8, rax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	lsmAppendStrBlob, .-lsmAppendStrBlob
	.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_lsm_tree.c_lsmAppendStrBlob.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"0123456789abcdef\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lsmAppendStrBlob, %function
lsmAppendStrBlob:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r8, r1
	sub	sp, sp, #12
	lsl	r1, r2, #1
	mov	r7, r2
	bl	lsmStringExtend
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L1
	ldmib	r4, {r3, lr}
	cmp	r7, #0
	ble	.L3
	sub	r5, r8, #1
	sub	r2, r7, #1
	ldr	r10, .L16
	add	r3, r3, lr
	add	r9, r5, r7
	str	r2, [sp, #4]
	b	.L7
.L15:
	str	r6, [r4, #8]
	strb	r2, [r3]
	ldmib	r4, {r3, lr}
	add	r3, r3, lr
	mov	ip, r3
.L5:
	cmp	r9, r5
	beq	.L8
.L7:
	ldrb	r2, [r5, #1]!	@ zero_extendqisi2
	mov	ip, r3
	sub	r1, r2, #97
	cmp	r1, #25
	add	r6, lr, #1
	and	r0, r2, #15
	bls	.L15
	sub	r1, r7, #1
	clz	r1, r1
	cmp	r2, #0
	lsr	r1, r1, #5
	movne	r1, #1
	cmp	r1, #0
	sub	fp, r5, r8
	bne	.L6
	ldr	r1, [sp, #4]
	cmp	r1, fp
	beq	.L5
.L6:
	ldrb	r2, [r10, r2, lsr #4]	@ zero_extendqisi2
	str	r6, [r4, #8]
	strb	r2, [r3]
	ldr	r3, [r4, #8]
	ldrb	r1, [r10, r0]	@ zero_extendqisi2
	ldr	r2, [r4, #4]
	add	r0, r3, #1
	str	r0, [r4, #8]
	strb	r1, [r2, r3]
	ldmib	r4, {r3, lr}
	cmp	r9, r5
	add	r3, r3, lr
	mov	ip, r3
	bne	.L7
.L8:
	mov	r3, #0
	strb	r3, [ip]
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	add	ip, r3, lr
	b	.L8
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	lsmAppendStrBlob, .-lsmAppendStrBlob
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
