	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function searchy_encode_lists
LCPI0_0:
	.quad	0x4059000000000000              ## double 100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_searchy_encode_lists:                  ## @searchy_encode_lists
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_encode_lists_reset
	movq	_fd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_word_index_offset@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lseek
	movq	_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	xorl	%r15d, %r15d
	movq	_P@GOTPCREL(%rip), %r12
	movq	_W@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	%r15, %rdi
	shlq	$4, %rdi
	leaq	(%rax,%rdi), %rdx
	movq	%rsi, (%rax,%rdi)
	leaq	(%rcx,%r8,8), %rdi
	movl	%r14d, %esi
	subl	%r8d, %esi
	callq	_searchy_encode_list
	incq	%r15
	movq	_PC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %r14d
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	(%r12), %rcx
	movslq	%r14d, %r8
	movq	(%rcx,%r8,8), %rsi
	movslq	%edx, %rdx
	leal	1(%r8), %edi
	cmpl	%edi, %edx
	cmovgl	%edx, %edi
	leaq	1(%r8), %rbx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, %rbx
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	incl	%r14d
	leaq	1(%rbx), %rax
	cmpq	%rsi, (%rcx,%rbx,8)
	movq	%rax, %rbx
	je	LBB0_3
	jmp	LBB0_6
LBB0_7:
	movq	_word_index_offset@GOTPCREL(%rip), %r13
LBB0_8:
	movq	_Header@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r15d
	sete	%dil
	callq	_assert
	movq	_idx_crc32_complement@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_CRC32_Header@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_W@GOTPCREL(%rip), %r12
	movl	%r15d, %ebx
	shlq	$4, %rbx
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_cur_offs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%r12), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	_item_positions@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_tot_items@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	4(,%rax,4), %rsi
	callq	_writeout
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	xorl	%eax, %eax
	callq	_flushout
	movq	_terms_bits@GOTPCREL(%rip), %r12
	movq	_tag_bits@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	addq	(%r12), %rdx
	movq	_coordinate_bits@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	cvtsi2sd	%rdx, %xmm1
	divsd	%xmm1, %xmm0
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	movb	$1, %al
	callq	_vkprintf
	movl	(%r14), %edx
	subl	(%r13), %edx
	movq	_lists_encoded@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_tot_terms@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r12), %rcx
	movq	_tot_tags@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	(%rbx), %r9
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fd,8,3                         ## @fd
	.comm	_word_index_offset,8,3          ## @word_index_offset
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_PC,4,2                         ## @PC
	.comm	_P,8,3                          ## @P
	.comm	_W,8,3                          ## @W
	.comm	_Header,4,2                     ## @Header
	.comm	_idx_crc32_complement,4,2       ## @idx_crc32_complement
	.comm	_CRC32_Header,4,2               ## @CRC32_Header
	.comm	_cur_offs,8,3                   ## @cur_offs
	.comm	_item_positions,4,2             ## @item_positions
	.comm	_tot_items,8,3                  ## @tot_items
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wrote %d item positions bytes\n"

	.comm	_terms_bits,8,3                 ## @terms_bits
	.comm	_tag_bits,8,3                   ## @tag_bits
L_.str.1:                               ## @.str.1
	.asciz	"total data bits %lld, coordinates (%.6lf%%)\n"

	.comm	_coordinate_bits,8,3            ## @coordinate_bits
L_.str.2:                               ## @.str.2
	.asciz	"wrote %lld codes bytes in %d lists\n"

	.comm	_lists_encoded,4,2              ## @lists_encoded
L_.str.3:                               ## @.str.3
	.asciz	"%d terms (%lld bits) and %d tags (%lld bits)\n"

	.comm	_tot_terms,4,2                  ## @tot_terms
	.comm	_tot_tags,4,2                   ## @tot_tags
	.no_dead_strip	_searchy_encode_lists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function searchy_encode_lists
_searchy_encode_lists:                  ; @searchy_encode_lists
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	bl	_encode_lists_reset
Lloh0:
	adrp	x8, _fd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh3:
	adrp	x20, _word_index_offset@GOTPAGE
Lloh4:
	ldr	x20, [x20, _word_index_offset@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh5:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_lseek
Lloh8:
	adrp	x22, _PC@GOTPAGE
Lloh9:
	ldr	x22, [x22, _PC@GOTPAGEOFF]
	ldr	w12, [x22]
Lloh10:
	adrp	x21, _W@GOTPAGE
Lloh11:
	ldr	x21, [x21, _W@GOTPAGEOFF]
	cmp	w12, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, #0
	mov	w8, #0
Lloh12:
	adrp	x23, _P@GOTPAGE
Lloh13:
	ldr	x23, [x23, _P@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x21]
	add	x2, x12, x19, lsl #4
	str	x11, [x2]
	add	x0, x9, x10, lsl #3
	sub	w1, w24, w8
	bl	_searchy_encode_list
	add	x19, x19, #1
	ldr	w12, [x22]
	mov	x8, x24
	cmp	w24, w12
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x9, [x23]
	sxtw	x10, w8
	ldr	x11, [x9, w8, sxtw #3]
	sxtw	x13, w12
	add	w14, w8, #1
	cmp	w12, w14
	csinc	w12, w12, w8, gt
	add	x14, x10, #1
	mov	x24, x8
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x14, x13
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	ldr	x15, [x9, x14, lsl #3]
	add	w24, w24, #1
	add	x14, x14, #1
	cmp	x15, x11
	b.eq	LBB0_5
	b	LBB0_3
LBB0_7:
	mov	w19, #0
LBB0_8:
Lloh14:
	adrp	x8, _Header@GOTPAGE
Lloh15:
	ldr	x8, [x8, _Header@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w19, w8
	cset	w0, eq
	bl	_assert
Lloh17:
	adrp	x8, _idx_crc32_complement@GOTPAGE
Lloh18:
	ldr	x8, [x8, _idx_crc32_complement@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _CRC32_Header@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CRC32_Header@GOTPAGEOFF]
	mvn	w8, w8
Lloh22:
	str	w8, [x9]
	ldr	x8, [x21]
	mov	w9, w19
	lsl	x22, x9, #4
	add	x0, x8, x22
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh23:
	adrp	x23, _cur_offs@GOTPAGE
Lloh24:
	ldr	x23, [x23, _cur_offs@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x21]
	add	x9, x9, x22
	str	x8, [x9, #8]
Lloh25:
	adrp	x8, _item_positions@GOTPAGE
Lloh26:
	ldr	x8, [x8, _item_positions@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x8, _tot_items@GOTPAGE
Lloh29:
	ldr	x8, [x8, _tot_items@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_writeout
Lloh31:
	adrp	x1, l_.str@PAGE
Lloh32:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_vkprintf
	bl	_flushout
Lloh33:
	adrp	x21, _terms_bits@GOTPAGE
Lloh34:
	ldr	x21, [x21, _terms_bits@GOTPAGEOFF]
Lloh35:
	adrp	x22, _tag_bits@GOTPAGE
Lloh36:
	ldr	x22, [x22, _tag_bits@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x2, x9, x8
Lloh37:
	adrp	x8, _coordinate_bits@GOTPAGE
Lloh38:
	ldr	x8, [x8, _coordinate_bits@GOTPAGEOFF]
Lloh39:
	ldr	d0, [x8]
	mov	x8, #4636737291354636288
	fmov	d1, x8
	fmul	d0, d0, d1
	scvtf	d1, x2
	fdiv	d0, d0, d1
	str	d0, [sp]
Lloh40:
	adrp	x1, l_.str.1@PAGE
Lloh41:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_vkprintf
	ldr	w8, [x23]
	ldr	w9, [x20]
	sub	w2, w8, w9
Lloh42:
	adrp	x8, _lists_encoded@GOTPAGE
Lloh43:
	ldr	x8, [x8, _lists_encoded@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh45:
	adrp	x1, l_.str.2@PAGE
Lloh46:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
Lloh47:
	adrp	x8, _tot_terms@GOTPAGE
Lloh48:
	ldr	x8, [x8, _tot_terms@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	ldr	x8, [x21]
Lloh50:
	adrp	x9, _tot_tags@GOTPAGE
Lloh51:
	ldr	x9, [x9, _tot_tags@GOTPAGEOFF]
	ldr	x10, [x22]
Lloh52:
	ldr	w9, [x9]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh53:
	adrp	x1, l_.str.3@PAGE
Lloh54:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_fd,8,3                         ; @fd
	.comm	_word_index_offset,8,3          ; @word_index_offset
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_PC,4,2                         ; @PC
	.comm	_P,8,3                          ; @P
	.comm	_W,8,3                          ; @W
	.comm	_Header,4,2                     ; @Header
	.comm	_idx_crc32_complement,4,2       ; @idx_crc32_complement
	.comm	_CRC32_Header,4,2               ; @CRC32_Header
	.comm	_cur_offs,8,3                   ; @cur_offs
	.comm	_item_positions,4,2             ; @item_positions
	.comm	_tot_items,8,3                  ; @tot_items
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wrote %d item positions bytes\n"

	.comm	_terms_bits,8,3                 ; @terms_bits
	.comm	_tag_bits,8,3                   ; @tag_bits
l_.str.1:                               ; @.str.1
	.asciz	"total data bits %lld, coordinates (%.6lf%%)\n"

	.comm	_coordinate_bits,8,3            ; @coordinate_bits
l_.str.2:                               ; @.str.2
	.asciz	"wrote %lld codes bytes in %d lists\n"

	.comm	_lists_encoded,4,2              ; @lists_encoded
l_.str.3:                               ; @.str.3
	.asciz	"%d terms (%lld bits) and %d tags (%lld bits)\n"

	.comm	_tot_terms,4,2                  ; @tot_terms
	.comm	_tot_tags,4,2                   ; @tot_tags
	.no_dead_strip	_searchy_encode_lists
.subsections_via_symbols
