	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_res
_store_res:                             ## @store_res
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_n_ranges@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	cmpl	$0, (%rbx)
	jle	LBB0_5
## %bb.1:
	movq	_Q_range@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	leaq	L_.str.1(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rcx,%r14), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_rate_item
	movl	%eax, %ebx
	movq	(%r15), %rax
	movl	(%rax,%r14), %ecx
	movl	4(%rax,%r14), %r8d
	movl	$3, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	(%r15), %rcx
	movl	$1, %eax
	cmpl	(%rcx,%r14), %ebx
	jl	LBB0_42
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	4(%rcx,%r14), %ebx
	jg	LBB0_42
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_n_ranges@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$12, %r14
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_5:
	movq	_R_tot@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_Q_limit@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	_Q_hash_group_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rcx, %rcx
	jle	LBB0_8
## %bb.6:
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_store_res_group_mode
	jmp	LBB0_41
LBB0_8:
	testq	%rax, %rax
	je	LBB0_41
## %bb.9:
	movq	_R@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax,%r13,8), %rdi
	callq	_extract_hash_item
	testq	%rax, %rax
	je	LBB0_27
## %bb.10:
	movq	%rax, %rbx
	movq	_R_cnt@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	_MAX_RES@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	cmpq	%rdi, %rax
	jge	LBB0_28
## %bb.11:
	movq	(%r14), %rdx
	leaq	1(%rax), %rsi
	movq	%rsi, (%rcx)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rdx,%rax,8)
	jmp	LBB0_32
LBB0_12:
	movq	_Q_type@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MAX_RATES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_14
## %bb.13:
	movq	_Q_order@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FLAG_ENTRY_SORT_SEARCH@GOTPCREL(%rip), %rdx
	movq	_FLAG_PRIORITY_SORT_SEARCH@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%eax, %esi
	je	LBB0_34
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_evaluate_rating
	movq	_order@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r15d, %r15d
	cmpl	$2, %ecx
	sete	%r15b
	negl	%r15d
	xorl	%eax, %r15d
	xorl	%edi, %edi
	testl	%ecx, %ecx
	setne	%dil
	callq	_assert
	movq	_R_cnt@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	(%r14), %rcx
	jne	LBB0_23
## %bb.15:
	movq	_RV@GOTPCREL(%rip), %r9
	movq	(%r9), %rsi
	movl	$1, %eax
	cmpl	%r15d, 4(%rsi)
	jle	LBB0_42
## %bb.16:
	movl	$1, %eax
	movl	$1, %r11d
	cmpq	$2, %rcx
	jl	LBB0_44
## %bb.17:
	movl	$1, %r10d
	movl	$2, %edi
	movl	$2, %ebx
	movq	_R@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, %rcx
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%edi, %r11d
	orl	$1, %r11d
	movslq	%r11d, %rdx
	movl	(%rsi,%rdx,4), %edx
	cmpl	(%rsi,%rbx,4), %edx
	jg	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%edi, %r11d
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movslq	%r11d, %rdi
	cmpl	%r15d, (%rsi,%rdi,4)
	jle	LBB0_43
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r8), %rdx
	movq	(%rdx,%rdi,8), %rsi
	movslq	%r10d, %rbx
	movq	%rsi, (%rdx,%rbx,8)
	movq	(%r9), %rsi
	movl	(%rsi,%rdi,4), %edx
	movl	%edx, (%rsi,%rbx,4)
	addl	%edi, %edi
	movslq	%edi, %rbx
	movl	%r11d, %r10d
	cmpq	%rbx, %rcx
	jge	LBB0_18
	jmp	LBB0_44
LBB0_23:
	incq	%rcx
	movq	%rcx, (%rax)
	cmpl	$2, %ecx
	jl	LBB0_39
## %bb.24:
	movq	_RV@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	movq	_R@GOTPCREL(%rip), %r8
	movl	%ecx, %eax
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	shrl	%eax
	cmpl	%r15d, (%rdi,%rax,4)
	jge	LBB0_39
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	(%r8), %rdi
	movq	(%rdi,%rax,8), %rbx
	movl	%ecx, %esi
	movq	%rbx, (%rdi,%rsi,8)
	movq	(%rdx), %rdi
	movl	(%rdi,%rax,4), %ebx
	movl	%ebx, (%rdi,%rsi,4)
	cmpl	$3, %ecx
	movl	%eax, %ecx
	ja	LBB0_25
	jmp	LBB0_40
LBB0_27:
	movq	_R_tot_undef_hash@GOTPCREL(%rip), %rax
	incq	(%rax)
	jmp	LBB0_32
LBB0_28:
	movq	_hs@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_30
## %bb.29:
	callq	_hashset_init
	xorl	%eax, %eax
	callq	_add_items_into_hashset
LBB0_30:
	movq	_hs@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hashset_ll_insert
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	_R_tot_undef_hash@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	8(%r14), %rcx
	xorl	%eax, %eax
	cmpq	(%r15), %rcx
	jg	LBB0_42
LBB0_32:
	movq	_hs@GOTPCREL(%rip), %rax
	movq	_R_tot_undef_hash@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	8(%rax), %rcx
	movq	_MAX_RES@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	setle	%al
	jmp	LBB0_42
LBB0_39:
	movl	%ecx, %eax
LBB0_40:
	movq	_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rcx,%rax,8)
	movq	_RV@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r15d, (%rcx,%rax,4)
LBB0_41:
	movl	$1, %eax
LBB0_42:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	_FLAG_REVERSE_SEARCH@GOTPCREL(%rip), %rdi
	movq	_R_cnt@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	testl	%eax, (%rdi)
	je	LBB0_37
## %bb.35:
	cmpq	%rcx, %rsi
	jne	LBB0_37
## %bb.36:
	movq	$0, (%rdx)
	xorl	%esi, %esi
LBB0_37:
	movl	$1, %eax
	cmpq	%rcx, %rsi
	jge	LBB0_42
## %bb.38:
	movq	_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	1(%rsi), %rdi
	movq	%rdi, (%rdx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rcx,%rsi,8)
	jmp	LBB0_42
LBB0_43:
	movl	%r10d, %r11d
LBB0_44:
	movq	_R@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r11d, %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, (%rcx,%rdx,8)
	movq	(%r9), %rcx
	movl	%r15d, (%rcx,%rdx,4)
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"store_res!!, n_ranges = %d\n"

	.comm	_n_ranges,4,2                   ## @n_ranges
	.comm	_Q_range,8,3                    ## @Q_range
L_.str.1:                               ## @.str.1
	.asciz	"ranges: r0 = %d, Q_range[i].minr = %d, Q_range[i].maxr = %d\n"

	.comm	_R_tot,4,2                      ## @R_tot
	.comm	_Q_limit,8,3                    ## @Q_limit
	.comm	_Q_hash_group_mode,8,3          ## @Q_hash_group_mode
	.comm	_R,8,3                          ## @R
	.comm	_R_cnt,8,3                      ## @R_cnt
	.comm	_MAX_RES,8,3                    ## @MAX_RES
	.comm	_hs,16,3                        ## @hs
	.comm	_R_tot_undef_hash,8,3           ## @R_tot_undef_hash
	.comm	_Q_type,8,3                     ## @Q_type
	.comm	_MAX_RATES,8,3                  ## @MAX_RATES
	.comm	_Q_order,4,2                    ## @Q_order
	.comm	_FLAG_ENTRY_SORT_SEARCH,4,2     ## @FLAG_ENTRY_SORT_SEARCH
	.comm	_FLAG_PRIORITY_SORT_SEARCH,4,2  ## @FLAG_PRIORITY_SORT_SEARCH
	.comm	_FLAG_REVERSE_SEARCH,4,2        ## @FLAG_REVERSE_SEARCH
	.comm	_order,4,2                      ## @order
	.comm	_RV,8,3                         ## @RV
	.no_dead_strip	_store_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_res
_store_res:                             ; @store_res
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _n_ranges@GOTPAGE
Lloh1:
	ldr	x24, [x24, _n_ranges@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	mov	x23, #0
Lloh4:
	adrp	x26, _Q_range@GOTPAGE
Lloh5:
	ldr	x26, [x26, _Q_range@GOTPAGEOFF]
	ldr	x8, [x26]
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x8, x25
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_get_rate_item
	mov	x22, x0
	ldr	x8, [x26]
	add	x8, x8, x25
	ldp	w9, w8, [x8]
	stp	x9, x8, [sp]
	mov	w0, #3
	mov	x1, x21
	mov	x2, x22
	bl	_vkprintf
	ldr	x8, [x26]
	ldr	w9, [x8, x25]
	cmp	w22, w9
	b.lt	LBB0_45
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x8, x25
	ldr	w9, [x9, #4]
	cmp	w22, w9
	b.gt	LBB0_45
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldrsw	x9, [x24]
	add	x25, x25, #12
	cmp	x23, x9
	b.lt	LBB0_2
	b	LBB0_6
LBB0_5:
	mov	x23, #0
LBB0_6:
Lloh8:
	adrp	x8, _R_tot@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R_tot@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
Lloh10:
	adrp	x21, _Q_limit@GOTPAGE
Lloh11:
	ldr	x21, [x21, _Q_limit@GOTPAGEOFF]
	str	w9, [x8]
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _Q_hash_group_mode@GOTPAGE
Lloh13:
	ldr	x9, [x9, _Q_hash_group_mode@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, #0
	b.le	LBB0_9
; %bb.7:
	cbz	x9, LBB0_13
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_store_res_group_mode
	b	LBB0_45
LBB0_9:
	cbz	x9, LBB0_45
; %bb.10:
Lloh15:
	adrp	x24, _R@GOTPAGE
Lloh16:
	ldr	x24, [x24, _R@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x0, [x8, x23, lsl #3]
	bl	_extract_hash_item
Lloh17:
	adrp	x22, _hs@GOTPAGE
Lloh18:
	ldr	x22, [x22, _hs@GOTPAGEOFF]
Lloh19:
	adrp	x23, _R_tot_undef_hash@GOTPAGE
Lloh20:
	ldr	x23, [x23, _R_tot_undef_hash@GOTPAGEOFF]
Lloh21:
	adrp	x21, _MAX_RES@GOTPAGE
Lloh22:
	ldr	x21, [x21, _MAX_RES@GOTPAGEOFF]
	cbz	x0, LBB0_23
; %bb.11:
	mov	x20, x0
Lloh23:
	adrp	x9, _R_cnt@GOTPAGE
Lloh24:
	ldr	x9, [x9, _R_cnt@GOTPAGEOFF]
	ldr	x8, [x9]
	ldr	x0, [x21]
	cmp	x8, x0
	b.ge	LBB0_24
; %bb.12:
	ldr	x10, [x24]
	add	x11, x8, #1
	str	x11, [x9]
	str	x19, [x10, x8, lsl #3]
	b	LBB0_29
LBB0_13:
Lloh25:
	adrp	x9, _Q_type@GOTPAGE
Lloh26:
	ldr	x9, [x9, _Q_type@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _MAX_RATES@GOTPAGE
Lloh29:
	ldr	x10, [x10, _MAX_RATES@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.14:
Lloh31:
	adrp	x9, _Q_order@GOTPAGE
Lloh32:
	ldr	x9, [x9, _Q_order@GOTPAGEOFF]
Lloh33:
	ldr	w11, [x9]
Lloh34:
	adrp	x9, _FLAG_ENTRY_SORT_SEARCH@GOTPAGE
Lloh35:
	ldr	x9, [x9, _FLAG_ENTRY_SORT_SEARCH@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _FLAG_PRIORITY_SORT_SEARCH@GOTPAGE
Lloh38:
	ldr	x10, [x10, _FLAG_PRIORITY_SORT_SEARCH@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w11
	b.eq	LBB0_32
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_evaluate_rating
Lloh40:
	adrp	x8, _order@GOTPAGE
Lloh41:
	ldr	x8, [x8, _order@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	cmp	w8, #2
	cinv	w20, w0, eq
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
Lloh43:
	adrp	x8, _R_cnt@GOTPAGE
Lloh44:
	ldr	x8, [x8, _R_cnt@GOTPAGEOFF]
	ldr	x9, [x8]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.16:
Lloh45:
	adrp	x8, _RV@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RV@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	w11, [x10, #4]
	cmp	w11, w20
	b.le	LBB0_45
; %bb.17:
	cmp	x9, #2
	b.ge	LBB0_37
; %bb.18:
	mov	w13, #1
	b	LBB0_44
LBB0_19:
	add	x10, x9, #1
	str	x10, [x8]
Lloh47:
	adrp	x8, _RV@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RV@GOTPAGEOFF]
Lloh49:
	adrp	x9, _R@GOTPAGE
Lloh50:
	ldr	x9, [x9, _R@GOTPAGEOFF]
	cmp	w10, #2
	b.lt	LBB0_30
; %bb.20:
	ldr	x12, [x8]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	lsr	w11, w10, #1
	ldr	w12, [x12, w11, uxtw #2]
	cmp	w12, w20
	b.ge	LBB0_30
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x12, [x9]
	ldr	x13, [x12, x11, lsl #3]
	str	x13, [x12, w10, uxtw #3]
	ldr	x12, [x8]
	ldr	w13, [x12, x11, lsl #2]
	str	w13, [x12, w10, uxtw #2]
	cmp	w10, #3
	mov	x10, x11
	b.hi	LBB0_21
	b	LBB0_31
LBB0_23:
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
	b	LBB0_29
LBB0_24:
	ldr	x8, [x22]
	cbnz	x8, LBB0_26
; %bb.25:
	bl	_hashset_init
	bl	_add_items_into_hashset
LBB0_26:
Lloh51:
	adrp	x19, _hs@GOTPAGE
Lloh52:
	ldr	x19, [x19, _hs@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_hashset_ll_insert
	cbz	x0, LBB0_29
; %bb.27:
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	ldr	x10, [x21]
	add	x8, x9, x8
	cmp	x8, x10
	b.le	LBB0_29
; %bb.28:
	mov	w0, #0
	b	LBB0_46
LBB0_29:
	ldr	x8, [x22, #8]
	ldr	x9, [x23]
	ldr	x10, [x21]
	add	x8, x9, x8
	cmp	x8, x10
	cset	w0, le
	b	LBB0_46
LBB0_30:
	mov	x11, x10
LBB0_31:
	ldr	x9, [x9]
	str	x19, [x9, w11, sxtw #3]
	ldr	x8, [x8]
	str	w20, [x8, w11, sxtw #2]
	b	LBB0_45
LBB0_32:
Lloh53:
	adrp	x9, _FLAG_REVERSE_SEARCH@GOTPAGE
Lloh54:
	ldr	x9, [x9, _FLAG_REVERSE_SEARCH@GOTPAGEOFF]
Lloh55:
	ldr	w12, [x9]
Lloh56:
	adrp	x9, _R_cnt@GOTPAGE
Lloh57:
	ldr	x9, [x9, _R_cnt@GOTPAGEOFF]
	ldr	x10, [x9]
	tst	w12, w11
	b.eq	LBB0_35
; %bb.33:
	cmp	x10, x8
	b.ne	LBB0_35
; %bb.34:
	mov	x10, #0
	str	xzr, [x9]
LBB0_35:
	cmp	x10, x8
	b.ge	LBB0_45
; %bb.36:
Lloh58:
	adrp	x8, _R@GOTPAGE
Lloh59:
	ldr	x8, [x8, _R@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	add	x11, x10, #1
	str	x11, [x9]
	str	x19, [x8, x10, lsl #3]
	b	LBB0_45
LBB0_37:
	mov	w12, #1
	mov	w15, #2
Lloh61:
	adrp	x11, _R@GOTPAGE
Lloh62:
	ldr	x11, [x11, _R@GOTPAGEOFF]
	mov	x14, x15
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	cmp	x9, x15
	b.le	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	orr	w13, w14, #0x1
	ldr	w16, [x10, w13, sxtw #2]
	ldr	w15, [x10, x15, lsl #2]
	cmp	w16, w15
	csel	w13, w13, w14, gt
	b	LBB0_41
LBB0_40:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	x13, x14
LBB0_41:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	w10, [x10, w13, sxtw #2]
	cmp	w10, w20
	b.le	LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_38 Depth=1
	sxtw	x14, w13
	ldr	x10, [x11]
	ldr	x15, [x10, x14, lsl #3]
	str	x15, [x10, w12, sxtw #3]
	ldr	x10, [x8]
	ldr	w14, [x10, x14, lsl #2]
	str	w14, [x10, w12, sxtw #2]
	lsl	w14, w13, #1
	sxtw	x15, w14
	mov	x12, x13
	cmp	x9, x15
	b.ge	LBB0_38
	b	LBB0_44
LBB0_43:
	mov	x13, x12
LBB0_44:
Lloh63:
	adrp	x9, _R@GOTPAGE
Lloh64:
	ldr	x9, [x9, _R@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	str	x19, [x9, w13, sxtw #3]
	ldr	x8, [x8]
	str	w20, [x8, w13, sxtw #2]
LBB0_45:
	mov	w0, #1
LBB0_46:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"store_res!!, n_ranges = %d\n"

	.comm	_n_ranges,4,2                   ; @n_ranges
	.comm	_Q_range,8,3                    ; @Q_range
l_.str.1:                               ; @.str.1
	.asciz	"ranges: r0 = %d, Q_range[i].minr = %d, Q_range[i].maxr = %d\n"

	.comm	_R_tot,4,2                      ; @R_tot
	.comm	_Q_limit,8,3                    ; @Q_limit
	.comm	_Q_hash_group_mode,8,3          ; @Q_hash_group_mode
	.comm	_R,8,3                          ; @R
	.comm	_R_cnt,8,3                      ; @R_cnt
	.comm	_MAX_RES,8,3                    ; @MAX_RES
	.comm	_hs,16,3                        ; @hs
	.comm	_R_tot_undef_hash,8,3           ; @R_tot_undef_hash
	.comm	_Q_type,8,3                     ; @Q_type
	.comm	_MAX_RATES,8,3                  ; @MAX_RATES
	.comm	_Q_order,4,2                    ; @Q_order
	.comm	_FLAG_ENTRY_SORT_SEARCH,4,2     ; @FLAG_ENTRY_SORT_SEARCH
	.comm	_FLAG_PRIORITY_SORT_SEARCH,4,2  ; @FLAG_PRIORITY_SORT_SEARCH
	.comm	_FLAG_REVERSE_SEARCH,4,2        ; @FLAG_REVERSE_SEARCH
	.comm	_order,4,2                      ; @order
	.comm	_RV,8,3                         ; @RV
	.no_dead_strip	_store_res
.subsections_via_symbols
