	.file	"extr_coll.c_sort_list_item_size.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	sort_list_item_size
	.type	sort_list_item_size, @function
sort_list_item_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rdi, rdi
	je	.L1
	mov	rbp, rdi
	xor	eax, eax
	call	keys_array_size@PLT
	mov	rdi, QWORD PTR 0[rbp]
	movsx	r12, eax
	add	r12, 16
	test	rdi, rdi
	jne	.L14
	cmp	QWORD PTR keys_num[rip], 0
	je	.L1
.L15:
	lea	r13, 8[rbp]
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r13
	mov	rsi, rbx
	call	get_key_from_keys_array@PLT
	mov	rdi, QWORD PTR [rax]
	cmp	rdi, QWORD PTR 0[rbp]
	je	.L4
	call	bws_memsize@PLT
	add	r12, rax
.L4:
	add	rbx, 1
	cmp	QWORD PTR keys_num[rip], rbx
	ja	.L5
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	call	bws_memsize@PLT
	add	r12, rax
	cmp	QWORD PTR keys_num[rip], 0
	jne	.L15
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	sort_list_item_size, .-sort_list_item_size
	.comm	keys_num,8,8
	.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_coll.c_sort_list_item_size.c"
	.text
	.align	2
	.global	sort_list_item_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_list_item_size, %function
sort_list_item_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r0, #0
	moveq	r6, r5
	beq	.L1
	bl	keys_array_size
	ldr	r3, [r5]
	add	r6, r0, #8
	cmp	r3, #0
	bne	.L16
	ldr	r7, .L18
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L1
.L17:
	mov	r4, #0
	add	r8, r5, #4
.L5:
	mov	r1, r4
	mov	r0, r8
	bl	get_key_from_keys_array
	ldr	r3, [r5]
	ldr	r0, [r0]
	add	r4, r4, #1
	cmp	r0, r3
	beq	.L4
	bl	bws_memsize
	add	r6, r6, r0
.L4:
	ldr	r3, [r7]
	cmp	r3, r4
	bhi	.L5
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r0, r3
	bl	bws_memsize
	ldr	r7, .L18
	add	r6, r6, r0
	ldr	r3, [r7]
	cmp	r3, #0
	bne	.L17
	b	.L1
.L19:
	.align	2
.L18:
	.word	keys_num
	.size	sort_list_item_size, .-sort_list_item_size
	.comm	keys_num,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
