	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniqueWORD
_uniqueWORD:                            ## @uniqueWORD
	.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
	cmpl	$1, %esi
	jne	LBB0_2
## %bb.1:
	movl	24(%r14), %edi
	callq	_LIMITPOS
	movq	%rax, %rbx
	movl	$2, (%r14)
	movl	$8, %edi
	callq	_palloc
	movq	%rax, 16(%r14)
	movl	$1, (%rax)
	movl	%ebx, 4(%rax)
	movl	$1, %eax
	jmp	LBB0_18
LBB0_2:
	movl	%esi, %ebx
	movq	_compareWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$40, %edx
	callq	_qsort
	movl	24(%r14), %edi
	callq	_LIMITPOS
	movq	%rax, %r15
	movl	$2, (%r14)
	movl	$8, %edi
	callq	_palloc
	movq	%rax, 16(%r14)
	movl	$1, (%rax)
	movl	%r15d, 4(%rax)
	movq	%r14, %r12
	cmpl	$2, %ebx
	jl	LBB0_17
## %bb.3:
	movslq	%ebx, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$80, %ebx
	movq	%r14, %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-32(%r14,%rbx), %rdx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	40(%r12), %r15
	movq	%rdx, 48(%r12)
	movl	-8(%r14,%rbx), %eax
	movl	%eax, 72(%r12)
	movl	-16(%r14,%rbx), %edi
	callq	_LIMITPOS
	movq	%rax, %r13
	movl	$2, 40(%r12)
	movl	$8, %edi
	callq	_palloc
	movq	%rax, 56(%r12)
	movl	$1, (%rax)
	movl	%r13d, 4(%rax)
	movq	%r15, %r12
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rax
	sarq	$3, %rax
	movabsq	$-3689348814741910323, %rcx     ## imm = 0xCCCCCCCCCCCCCCCD
	imulq	%rcx, %rax
	addq	$40, %rbx
	cmpq	-48(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%r14,%rbx), %rdx
	cmpq	8(%r12), %rdx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-8(%r14,%rbx), %edi
	movl	32(%r12), %esi
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-8(%r14,%rbx), %edi
	callq	_pfree
	movq	16(%r12), %rax
	movslq	(%rax), %rcx
	movq	_MAXNUMPOS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%rax,%rcx,4), %r13
	movq	_MAXENTRYPOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %r13d
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-16(%r14,%rbx), %edi
	callq	_LIMITPOS
	cmpq	%r13, %rax
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	(%r12), %esi
	cmpl	%esi, %edx
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leal	(%rsi,%rsi), %ecx
	movl	%ecx, (%r12)
	shll	$3, %esi
	movq	%rax, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	movq	%rax, 16(%r12)
	movl	(%rax), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ecx, %rcx
	movslq	(%rax,%rcx,4), %r15
	movl	-16(%r14,%rbx), %edi
	callq	_LIMITPOS
	cmpq	%r15, %rax
	je	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-16(%r14,%rbx), %edi
	callq	_LIMITPOS
	movq	16(%r12), %rcx
	movslq	(%rcx), %rdx
	movl	%eax, 4(%rcx,%rdx,4)
	incl	(%rcx)
	jmp	LBB0_16
LBB0_17:
	subq	%r14, %r12
	addq	$40, %r12
	shrq	$3, %r12
	imull	$-858993459, %r12d, %eax        ## imm = 0xCCCCCCCD
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compareWORD,4,2                ## @compareWORD
	.comm	_MAXNUMPOS,4,2                  ## @MAXNUMPOS
	.comm	_MAXENTRYPOS,4,2                ## @MAXENTRYPOS
	.no_dead_strip	_uniqueWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniqueWORD
_uniqueWORD:                            ; @uniqueWORD
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	cmp	w1, #1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_LIMITPOS
	mov	x20, x0
	mov	w8, #2
	str	w8, [x19]
	mov	w0, #8
	bl	_palloc
	mov	x8, x0
	str	x0, [x19, #16]
	mov	w0, #1
	stp	w0, w20, [x8]
	b	LBB0_18
LBB0_2:
	mov	x20, x1
Lloh0:
	adrp	x8, _compareWORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _compareWORD@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #40
	bl	_qsort
	ldr	w0, [x19, #24]
	bl	_LIMITPOS
	mov	x21, x0
	mov	w22, #2
	str	w22, [x19]
	mov	w0, #8
	bl	_palloc
	str	x0, [x19, #16]
	mov	w23, #1
	stp	w23, w21, [x0]
	mov	x25, x19
	cmp	w20, #2
	b.lt	LBB0_17
; %bb.3:
	mov	x21, #0
	sxtw	x24, w20
Lloh3:
	adrp	x26, _MAXNUMPOS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAXNUMPOS@GOTPAGEOFF]
	mov	x28, #-3689348814741910324
	movk	x28, #52429
	mov	x25, x19
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [x20, #48]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x2, [x25, #48]
	ldr	w8, [x20, #72]
	str	w8, [x25, #72]
	ldr	w0, [x20, #64]
	bl	_LIMITPOS
	mov	x20, x0
	str	w22, [x25, #40]!
	mov	w0, #8
	bl	_palloc
	str	x0, [x25, #16]
	stp	w23, w20, [x0]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x21, #80
	asr	x8, x8, #3
	mul	x8, x8, x28
	add	x21, x21, #40
	cmp	x8, x24
	b.ge	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x20, x19, x21
	ldr	x2, [x20, #48]
	ldr	x8, [x25, #8]
	cmp	x2, x8
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20, #72]
	ldr	w1, [x25, #32]
	bl	_strncmp
	cbnz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20, #72]
	bl	_pfree
	ldr	x8, [x25, #16]
	ldrsw	x9, [x8]
	ldr	w10, [x26]
	sub	w10, w10, #1
	cmp	w9, w10
	b.ge	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x27, [x8, x9, lsl #2]
Lloh5:
	adrp	x8, _MAXENTRYPOS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAXENTRYPOS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	sub	w8, w8, #1
	cmp	w27, w8
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x19, x21
	ldr	w0, [x20, #64]
	bl	_LIMITPOS
	cmp	x0, x27
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x25, #16]
	ldr	w8, [x0]
	add	w10, w8, #1
	ldr	w9, [x25]
	cmp	w10, w9
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	w8, w9, #1
	str	w8, [x25]
	lsl	w1, w9, #3
	bl	_repalloc
	str	x0, [x25, #16]
	ldr	w8, [x0]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w8, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x27, [x0, w8, sxtw #2]
	ldr	w0, [x20, #64]
	bl	_LIMITPOS
	cmp	x0, x27
	b.eq	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x20, #64]
	bl	_LIMITPOS
	ldr	x8, [x25, #16]
	ldrsw	x9, [x8]
	add	x9, x8, x9, lsl #2
	str	w0, [x9, #4]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_6
LBB0_17:
	sub	x8, x25, x19
	add	x8, x8, #40
	lsr	x8, x8, #3
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mul	w0, w8, w9
LBB0_18:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_compareWORD,4,2                ; @compareWORD
	.comm	_MAXNUMPOS,4,2                  ; @MAXNUMPOS
	.comm	_MAXENTRYPOS,4,2                ; @MAXENTRYPOS
	.no_dead_strip	_uniqueWORD
.subsections_via_symbols
