	.file	"extr_search-data.c_postprocess_res_group_mode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	postprocess_res_group_mode, @function
postprocess_res_group_mode:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	cmp	QWORD PTR Q_limit[rip], 0
	jle	.L9
	cmp	QWORD PTR R_cnt[rip], 0
	jne	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, hm[rip]
	call	hashmap_ll_int_free@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	heap_sort_res@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	QWORD PTR hs[rip], 0
	jne	.L3
	mov	rdi, QWORD PTR R_cnt[rip]
	test	rdi, rdi
	jle	.L3
	call	hashset_init@PLT
	xor	eax, eax
	call	add_items_into_hashset@PLT
.L3:
	mov	eax, DWORD PTR R_tot_undef_hash[rip]
	add	eax, DWORD PTR hs[rip+8]
	cmp	eax, DWORD PTR MAX_RES[rip]
	mov	DWORD PTR R_tot_groups[rip], eax
	jle	.L1
	mov	DWORD PTR R_tot_groups[rip], -1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	postprocess_res_group_mode, .-postprocess_res_group_mode
	.comm	hs,16,16
	.comm	hm,4,4
	.comm	R_tot_undef_hash,4,4
	.comm	R_tot_groups,4,4
	.comm	R_cnt,8,8
	.comm	Q_limit,8,8
	.comm	MAX_RES,4,4
	.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_search-data.c_postprocess_res_group_mode.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	postprocess_res_group_mode, %function
postprocess_res_group_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L13
	push	{r4, lr}
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L12
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, pc}
	ldr	r0, .L13+8
	bl	hashmap_ll_int_free
	pop	{r4, lr}
	b	heap_sort_res
.L12:
	ldr	r4, .L13+12
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L13+4
	ldr	r0, [r3]
	cmp	r0, #0
	ble	.L3
	bl	hashset_init
	bl	add_items_into_hashset
.L3:
	ldr	r2, .L13+16
	ldr	r1, .L13+20
	ldr	r2, [r2]
	ldr	r3, [r4, #4]
	ldr	r1, [r1]
	add	r3, r3, r2
	ldr	r2, .L13+24
	cmp	r3, r1
	str	r3, [r2]
	mvngt	r3, #0
	strgt	r3, [r2]
	pop	{r4, pc}
.L14:
	.align	2
.L13:
	.word	Q_limit
	.word	R_cnt
	.word	hm
	.word	hs
	.word	R_tot_undef_hash
	.word	MAX_RES
	.word	R_tot_groups
	.size	postprocess_res_group_mode, .-postprocess_res_group_mode
	.comm	hs,8,4
	.comm	hm,4,4
	.comm	R_tot_undef_hash,4,4
	.comm	R_tot_groups,4,4
	.comm	R_cnt,4,4
	.comm	Q_limit,4,4
	.comm	MAX_RES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
