	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_message_search_pairs
_build_message_search_pairs:            ## @build_message_search_pairs
	.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
	movq	%rdi, %r14
	movq	_dyn_top@GOTPCREL(%rip), %r15
	movq	_dyn_cur@GOTPCREL(%rip), %r12
	movq	_MAX_TEXT_LEN@GOTPCREL(%rip), %r13
	movslq	(%r13), %rax
	shlq	$3, %rax
	addq	(%r12), %rax
	xorl	%edi, %edi
	cmpq	%rax, (%r15)
	setae	%dil
	callq	_assert
	movq	(%r12), %rdi
	movq	_text_shift@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	4(%r14), %edx
	callq	_unpack_message
	movl	%eax, %ebx
	testl	%eax, %eax
	setns	%al
	cmpl	(%r13), %ebx
	setl	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	(%r12), %rdi
	movslq	%ebx, %rsi
	movq	$0, (%rdi,%rsi,8)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_compute_message_distinct_words
	movl	%eax, %r13d
	movslq	%eax, %rbx
	movq	(%r15), %rax
	movq	%rbx, %rcx
	shlq	$6, %rcx
	subq	%rcx, %rax
	movq	%rax, (%r15)
	xorl	%edi, %edi
	cmpq	%rax, (%r12)
	setbe	%dil
	callq	_assert
	testl	%ebx, %ebx
	jle	LBB0_18
## %bb.1:
	movq	(%r15), %rax
	movq	_WordCRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movl	(%r14), %ecx
	movl	%r13d, %r9d
	cmpl	$4, %r13d
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%r9,4), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_6
## %bb.4:
	leaq	(%rax,%r9,8), %rdx
	cmpq	%rdx, %rsi
	jae	LBB0_6
LBB0_2:
	xorl	%edi, %edi
LBB0_13:
	movq	%rdi, %r8
	notq	%r8
	addq	%r9, %r8
	movq	%r9, %rdx
	andq	$3, %rdx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rdi,4), %ebx
	movl	%ebx, 4(%rax)
	movl	%ecx, (%rax)
	incq	%rdi
	addq	$8, %rax
	decq	%rdx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %r8
	jb	LBB0_18
## %bb.16:
	subq	%rdi, %r9
	leaq	(%rsi,%rdi,4), %rdx
	addq	$12, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	-12(%rdx,%rsi,4), %edi
	movl	%edi, 4(%rax,%rsi,8)
	movl	%ecx, (%rax,%rsi,8)
	movl	-8(%rdx,%rsi,4), %edi
	movl	%edi, 12(%rax,%rsi,8)
	movl	%ecx, 8(%rax,%rsi,8)
	movl	-4(%rdx,%rsi,4), %edi
	movl	%edi, 20(%rax,%rsi,8)
	movl	%ecx, 16(%rax,%rsi,8)
	movl	(%rdx,%rsi,4), %edi
	movl	%edi, 28(%rax,%rsi,8)
	movl	%ecx, 24(%rax,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_17
	jmp	LBB0_18
LBB0_6:
	movl	%r9d, %edi
	andl	$-4, %edi
	movd	%ecx, %xmm0
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	leaq	-4(%rdi), %rdx
	movq	%rdx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_19
## %bb.7:
	movq	%r8, %rdx
	andq	$-2, %rdx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx,4), %xmm1            ## xmm1 = mem[0],zero
	movq	8(%rsi,%rbx,4), %xmm2           ## xmm2 = mem[0],zero
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movdqu	%xmm3, (%rax,%rbx,8)
	movdqa	%xmm0, %xmm1
	punpckldq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
	movdqu	%xmm1, 16(%rax,%rbx,8)
	movq	16(%rsi,%rbx,4), %xmm1          ## xmm1 = mem[0],zero
	movq	24(%rsi,%rbx,4), %xmm2          ## xmm2 = mem[0],zero
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movdqu	%xmm3, 32(%rax,%rbx,8)
	movdqa	%xmm0, %xmm1
	punpckldq	%xmm2, %xmm1            ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
	movdqu	%xmm1, 48(%rax,%rbx,8)
	addq	$8, %rbx
	addq	$-2, %rdx
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movq	(%rsi,%rbx,4), %xmm1            ## xmm1 = mem[0],zero
	movq	8(%rsi,%rbx,4), %xmm2           ## xmm2 = mem[0],zero
	leaq	(,%rbx,8), %rdx
	orq	$16, %rdx
	movdqa	%xmm0, %xmm3
	punpckldq	%xmm1, %xmm3            ## xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
	movdqu	%xmm3, (%rax,%rbx,8)
	punpckldq	%xmm2, %xmm0            ## xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
	movdqu	%xmm0, (%rax,%rdx)
LBB0_11:
	cmpq	%r9, %rdi
	jne	LBB0_12
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	(%rax,%rdi,8), %rax
	jmp	LBB0_13
LBB0_19:
	xorl	%ebx, %ebx
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_dyn_top,8,3                    ## @dyn_top
	.comm	_dyn_cur,8,3                    ## @dyn_cur
	.comm	_MAX_TEXT_LEN,4,2               ## @MAX_TEXT_LEN
	.comm	_text_shift,8,3                 ## @text_shift
	.comm	_WordCRC,8,3                    ## @WordCRC
	.no_dead_strip	_build_message_search_pairs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_message_search_pairs
_build_message_search_pairs:            ; @build_message_search_pairs
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _dyn_top@GOTPAGE
Lloh1:
	ldr	x21, [x21, _dyn_top@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _dyn_cur@GOTPAGE
Lloh3:
	ldr	x22, [x22, _dyn_cur@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh4:
	adrp	x23, _MAX_TEXT_LEN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _MAX_TEXT_LEN@GOTPAGEOFF]
	ldrsw	x10, [x23]
	add	x9, x9, x10, lsl #3
	cmp	x8, x9
	cset	w0, hs
	bl	_assert
	ldr	x0, [x22]
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _text_shift@GOTPAGE
Lloh7:
	ldr	x9, [x9, _text_shift@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldr	w2, [x19, #4]
	bl	_unpack_message
	mov	x20, x0
	cmp	w0, #0
	ldr	w8, [x23]
	ccmp	w0, w8, #0, ge
	cset	w0, lt
	bl	_assert
	ldr	x0, [x22]
	str	xzr, [x0, w20, sxtw #3]
	mov	x1, x20
	bl	_compute_message_distinct_words
	mov	x20, x0
	sxtw	x8, w20
	ldr	x9, [x21]
	sub	x8, x9, x8, lsl #6
	str	x8, [x21]
	ldr	x9, [x22]
	cmp	x9, x8
	cset	w0, ls
	bl	_assert
	cmp	w20, #1
	b.lt	LBB0_9
; %bb.1:
	ldr	x13, [x21]
Lloh9:
	adrp	x8, _WordCRC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WordCRC@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x8]
	ldr	w8, [x19]
	mov	w9, w20
	cmp	w20, #16
	b.lo	LBB0_6
; %bb.2:
	add	x11, x10, x9, lsl #2
	add	x12, x13, x9, lsl #3
	cmp	x13, x11
	ccmp	x10, x12, #2, lo
	b.lo	LBB0_6
; %bb.3:
	and	x11, x9, #0xfffffff0
	add	x12, x13, x11, lsl #3
	dup.4s	v0, w8
	add	x15, x13, #64
	add	x13, x10, #32
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q3, [x13, #-32]
	ldp	q5, q7, [x13], #64
	sub	x16, x15, #64
	sub	x17, x15, #32
	st2.4s	{ v0, v1 }, [x16]
	mov.16b	v2, v0
	st2.4s	{ v2, v3 }, [x17]
	mov.16b	v4, v0
	add	x16, x15, #128
	st2.4s	{ v4, v5 }, [x15], #32
	mov.16b	v6, v0
	st2.4s	{ v6, v7 }, [x15]
	mov	x15, x16
	subs	x14, x14, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x9
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x11, #0
	mov	x12, x13
LBB0_7:
	add	x10, x10, x11, lsl #2
	sub	x9, x9, x11
	add	x11, x12, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	stp	w8, w12, [x11, #-4]
	add	x11, x11, #8
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dyn_top,8,3                    ; @dyn_top
	.comm	_dyn_cur,8,3                    ; @dyn_cur
	.comm	_MAX_TEXT_LEN,4,2               ; @MAX_TEXT_LEN
	.comm	_text_shift,8,3                 ; @text_shift
	.comm	_WordCRC,8,3                    ; @WordCRC
	.no_dead_strip	_build_message_search_pairs
.subsections_via_symbols
