	.file	"extr_skel.c_getsize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	getsize, @function
getsize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	eax, ecx
	mov	r9, rdi
	xor	r8d, r8d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	movsx	rbx, ecx
	sar	eax, 31
	xor	r10d, r10d
	imul	rbx, rbx, 1717986919
	sar	rbx, 34
	sub	ebx, eax
	lea	eax, [rbx+rbx*4]
	add	eax, eax
	sub	ecx, eax
	test	esi, esi
	jg	.L6
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	sub	eax, 48
	cmp	ebx, r8d
	jl	.L3
	jne	.L4
	cmp	ecx, eax
	jl	.L3
.L4:
	lea	r8d, [r8+r8*4]
	add	r10d, 1
	add	r9, 1
	lea	r8d, [rax+r8*2]
	cmp	esi, r10d
	je	.L23
.L6:
	movsx	eax, BYTE PTR [r9]
	mov	rbp, r9
	lea	r11d, -48[rax]
	cmp	r11b, 9
	jbe	.L8
	test	r10d, r10d
	jne	.L7
.L3:
	xor	r8d, r8d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	QWORD PTR [rdx], 0
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	movsx	rsi, esi
	lea	rbp, [rdi+rsi]
.L7:
	mov	QWORD PTR [rdx], rbp
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	getsize, .-getsize
	.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_skel.c_getsize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getsize, %function
getsize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	push	{r4, r5, r6, r7, r8, lr}
	movgt	r8, r0
	movgt	r0, #0
	ldr	ip, .L16
	asr	r7, r3, #31
	smull	lr, ip, r3, ip
	rsb	r7, r7, ip, asr #2
	add	r6, r7, r7, lsl #2
	movgt	r4, r8
	movgt	lr, r0
	sub	r6, r3, r6, lsl #1
	bgt	.L6
	b	.L3
.L8:
	cmp	r7, r0
	add	lr, lr, #1
	blt	.L3
	moveq	ip, #1
	movne	ip, #0
	cmp	r6, r3
	movge	ip, #0
	andlt	ip, ip, #1
	cmp	ip, #0
	bne	.L3
	cmp	r1, lr
	add	r0, r3, r5, lsl #1
	beq	.L15
.L6:
	mov	ip, r4
	ldrb	r3, [r4]	@ zero_extendqisi2
	add	r5, r0, r0, lsl #2
	sub	r3, r3, #48
	and	r4, r3, #255
	cmp	r4, #9
	add	r4, ip, #1
	bls	.L8
	cmp	lr, #0
	bne	.L7
.L3:
	mov	r0, #0
	str	r0, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	add	ip, r8, r1
.L7:
	str	ip, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	1717986919
	.size	getsize, .-getsize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
