	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function watchcat_prepare_entry
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_watchcat_prepare_entry
	.p2align	4, 0x90
_watchcat_prepare_entry:                ## @watchcat_prepare_entry
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$0, -36(%rbp)
	leaq	16(%rdi), %r15
	movl	16(%rdi), %eax
	movq	_MAX_WATCHCAT_ENTRY_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-36(%rbp), %rbx
	movq	%rsi, %rdi
	movl	%edx, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rbx
	pushq	$0
	callq	_searchy_extract_words
	addq	$16, %rsp
	movl	%eax, %r14d
	movl	%eax, (%r12)
	addq	$8, %r12
	leal	(,%r14,4), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_memcpy
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.1:
	movq	(%r12), %rax
	movl	%r14d, %ecx
	cmpl	$8, %r14d
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_3:
	movl	%ecx, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$24, %rbx
	jae	LBB0_5
## %bb.4:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rax,%rbx,4)
	movdqu	%xmm2, 16(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rax,%rbx,4)
	movdqu	%xmm3, 48(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rax,%rbx,4)
	movdqu	%xmm3, 80(%rax,%rbx,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rax,%rbx,4)
	movdqu	%xmm3, 112(%rax,%rbx,4)
	addq	$32, %rbx
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	leaq	(%rax,%rbx,4), %rdi
	addq	$16, %rdi
	shlq	$5, %rsi
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm3, (%rdi,%rbx)
	paddd	%xmm2, %xmm0
	addq	$32, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_9
LBB0_10:
	cmpq	%rcx, %rdx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_11
LBB0_12:
	movq	_cmp_spwp_by_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_qsort
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_WATCHCAT_ENTRY_SIZE,4,2    ## @MAX_WATCHCAT_ENTRY_SIZE
	.comm	_cmp_spwp_by_hash,4,2           ## @cmp_spwp_by_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function watchcat_prepare_entry
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_watchcat_prepare_entry
	.p2align	2
_watchcat_prepare_entry:                ; @watchcat_prepare_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x8, x2
	mov	x20, x0
	str	wzr, [sp, #12]
	mov	x21, x0
	ldr	w2, [x21, #16]!
Lloh0:
	adrp	x9, _MAX_WATCHCAT_ENTRY_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_WATCHCAT_ENTRY_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	add	x7, sp, #12
	mov	x0, x1
	mov	x1, x8
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_searchy_extract_words
	mov	x19, x0
	str	w0, [x20], #8
	lsl	w2, w0, #2
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x8, [x20]
	mov	w9, w19
	cmp	w19, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	b	LBB0_6
LBB0_3:
	and	x10, x9, #0xfffffff0
Lloh3:
	adrp	x11, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
	add	x11, x8, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x12, x10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x11, #-32]
	stp	q6, q7, [x11], #64
	add.4s	v0, v0, v4
	subs	x12, x12, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x9
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x8, x10, lsl #2]
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_6
LBB0_7:
Lloh5:
	adrp	x8, _cmp_spwp_by_hash@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cmp_spwp_by_hash@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_qsort
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_WATCHCAT_ENTRY_SIZE,4,2    ; @MAX_WATCHCAT_ENTRY_SIZE
	.comm	_cmp_spwp_by_hash,4,2           ; @cmp_spwp_by_hash
.subsections_via_symbols
