	.file	"extr_lsm_vtab.c_lsm1GetVarint64.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	lsm1GetVarint64, @function
lsm1GetVarint64:
.LFB0:
	.cfi_startproc
	endbr64
	xor	r8d, r8d
	test	esi, esi
	jle	.L1
	movzx	eax, BYTE PTR [rdi]
	cmp	al, -16
	jbe	.L16
	cmp	al, -8
	ja	.L4
	cmp	esi, 1
	je	.L1
	movzx	ecx, BYTE PTR 1[rdi]
	sub	eax, 241
	mov	r8d, 2
	sal	eax, 8
	lea	eax, 240[rax+rcx]
	mov	DWORD PTR [rdx], eax
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r8d, 1
	mov	DWORD PTR [rdx], eax
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	ecx, al
	sub	ecx, 246
	cmp	ecx, esi
	jg	.L1
	movzx	ecx, BYTE PTR 1[rdi]
	movzx	esi, BYTE PTR 2[rdi]
	cmp	al, -7
	je	.L17
	movzx	r8d, BYTE PTR 3[rdi]
	cmp	al, -6
	je	.L18
	sal	ecx, 24
	sal	esi, 16
	add	esi, ecx
	sal	r8d, 8
	lea	ecx, [rsi+r8]
	movzx	esi, BYTE PTR 4[rdi]
	add	ecx, esi
	cmp	al, -5
	je	.L19
	movzx	esi, BYTE PTR 5[rdi]
	cmp	al, -4
	je	.L20
	movzx	r8d, BYTE PTR 6[rdi]
	cmp	al, -3
	je	.L21
	movzx	r9d, BYTE PTR 7[rdi]
	cmp	al, -2
	je	.L22
	mov	eax, r8d
	sal	esi, 24
	movzx	ecx, BYTE PTR 8[rdi]
	mov	r8d, 9
	sal	eax, 16
	add	esi, eax
	mov	eax, r9d
	sal	eax, 8
	add	eax, esi
	add	eax, ecx
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, ecx
	mov	r8d, 3
	sal	eax, 8
	lea	eax, 2288[rsi+rax]
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	sal	ecx, 16
	sal	esi, 8
	add	esi, ecx
	lea	eax, [rsi+r8]
	mov	r8d, 4
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	sal	ecx, 24
	sal	esi, 16
	sal	r8d, 8
	add	esi, ecx
	lea	ecx, [rsi+r8]
	mov	r8d, 8
	lea	eax, [rcx+r9]
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	DWORD PTR [rdx], ecx
	mov	r8d, 5
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	sal	ecx, 8
	mov	r8d, 6
	lea	eax, [rcx+rsi]
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	sal	ecx, 16
	sal	esi, 8
	add	esi, ecx
	lea	eax, [rsi+r8]
	mov	r8d, 7
	mov	DWORD PTR [rdx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	lsm1GetVarint64, .-lsm1GetVarint64
	.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_vtab.c_lsm1GetVarint64.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lsm1GetVarint64, %function
lsm1GetVarint64:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	ble	.L13
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #240
	bls	.L18
	cmp	r3, #248
	bhi	.L4
	cmp	r1, #1
	beq	.L13
	ldrb	r1, [r0, #1]	@ zero_extendqisi2
	mov	r0, #2
	add	r3, r1, r3, lsl #8
	sub	r3, r3, #61440
	sub	r3, r3, #16
	str	r3, [r2]
	bx	lr
.L18:
	mov	r0, #1
	str	r3, [r2]
	bx	lr
.L4:
	sub	ip, r3, #246
	cmp	ip, r1
	ble	.L19
.L13:
	mov	r0, #0
	bx	lr
.L19:
	cmp	r3, #249
	ldrb	ip, [r0, #1]	@ zero_extendqisi2
	ldrb	r1, [r0, #2]	@ zero_extendqisi2
	beq	.L20
	push	{r4, lr}
	cmp	r3, #250
	ldrb	lr, [r0, #3]	@ zero_extendqisi2
	beq	.L21
	lsl	r1, r1, #16
	add	r1, r1, ip, lsl #24
	ldrb	ip, [r0, #4]	@ zero_extendqisi2
	add	r1, r1, lr, lsl #8
	cmp	r3, #251
	add	r1, r1, ip
	beq	.L22
	cmp	r3, #252
	ldrb	lr, [r0, #5]	@ zero_extendqisi2
	beq	.L23
	cmp	r3, #253
	ldrb	ip, [r0, #6]	@ zero_extendqisi2
	beq	.L24
	cmp	r3, #254
	ldrb	r4, [r0, #7]	@ zero_extendqisi2
	beq	.L25
	lsl	r3, ip, #16
	ldrb	r1, [r0, #8]	@ zero_extendqisi2
	add	r3, r3, lr, lsl #24
	add	r3, r3, r4, lsl #8
	add	r3, r3, r1
	mov	r0, #9
	str	r3, [r2]
	pop	{r4, pc}
.L20:
	add	r1, r1, ip, lsl #8
	add	r1, r1, #2288
	mov	r0, #3
	str	r1, [r2]
	bx	lr
.L21:
	lsl	r3, r1, #8
	add	r1, r3, ip, lsl #16
	add	r1, r1, lr
	mov	r0, #4
	str	r1, [r2]
	pop	{r4, pc}
.L25:
	lsl	lr, lr, #16
	add	r1, lr, r1, lsl #24
	add	ip, r1, ip, lsl #8
	add	r3, ip, r4
	mov	r0, #8
	str	r3, [r2]
	pop	{r4, pc}
.L22:
	mov	r0, #5
	str	r1, [r2]
	pop	{r4, pc}
.L23:
	add	r1, lr, r1, lsl #8
	mov	r0, #6
	str	r1, [r2]
	pop	{r4, pc}
.L24:
	lsl	r3, lr, #8
	add	r1, r3, r1, lsl #16
	add	ip, r1, ip
	mov	r0, #7
	str	ip, [r2]
	pop	{r4, pc}
	.size	lsm1GetVarint64, .-lsm1GetVarint64
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
