	.file	"extr_28765.c_lsEncodeUuid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	lsEncodeUuid
	.type	lsEncodeUuid, @function
lsEncodeUuid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	QWORD PTR 8[rsp], rdi
	call	strlen@PLT
	mov	rdi, QWORD PTR 8[rsp]
	test	rax, rax
	mov	QWORD PTR [rsp], rax
	je	.L7
	lea	rbx, 1[rdi]
	xor	r13d, r13d
	xor	r14d, r14d
	lea	r15, [rbx+rax]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	add	rbx, 1
	cmp	rbx, r15
	je	.L2
.L6:
	cmp	BYTE PTR -1[rbx], 45
	jne	.L3
	mov	BYTE PTR -1[rbx], 0
	mov	rsi, rbp
	cmp	r14d, 2
	ja	.L4
	call	lsHex2Raw@PLT
	mov	rdi, rbp
	mov	r12, rax
	mov	rsi, rax
	call	lsInverse@PLT
	add	rbp, r12
	add	r13d, r12d
.L5:
	mov	rdi, rbx
	add	rbx, 1
	add	r14d, 1
	cmp	rbx, r15
	jne	.L6
.L2:
	mov	rax, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	BYTE PTR 0[rbp+rax], 0
	call	lsHex2Raw@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	add	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	lsHex2Raw@PLT
	add	rbp, rax
	add	r13d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r13d, r13d
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	lsEncodeUuid, .-lsEncodeUuid
	.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_28765.c_lsEncodeUuid.c"
	.text
	.align	2
	.global	lsEncodeUuid
	.syntax unified
	.arm
	.fpu softvfp
	.type	lsEncodeUuid, %function
lsEncodeUuid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r6, r0
	bl	strlen
	subs	r9, r0, #0
	beq	.L7
	mov	r7, #0
	mov	r4, r6
	mov	r8, r7
	mov	r10, r7
	add	fp, r9, r6
	b	.L6
.L3:
	cmp	r4, fp
	beq	.L2
.L6:
	ldrb	r3, [r4], #1	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L3
	cmp	r8, #2
	mov	r0, r6
	mov	r1, r5
	strb	r10, [r4, #-1]
	bhi	.L4
	bl	lsHex2Raw
	mov	r6, r0
	mov	r0, r5
	mov	r1, r6
	bl	lsInverse
	add	r7, r7, r6
	add	r5, r5, r6
.L5:
	cmp	r4, fp
	mov	r6, r4
	add	r8, r8, #1
	bne	.L6
.L2:
	mov	r3, #0
	mov	r0, r6
	mov	r1, r5
	strb	r3, [r5, r9]
	bl	lsHex2Raw
	add	r0, r0, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	bl	lsHex2Raw
	add	r5, r5, r0
	add	r7, r7, r0
	b	.L5
.L7:
	mov	r7, r9
	b	.L2
	.size	lsEncodeUuid, .-lsEncodeUuid
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
