	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tsvector_delete_by_indices
_tsvector_delete_by_indices:            ## @tsvector_delete_by_indices
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	callq	_ARRPTR
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_STRPTR
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_2
## %bb.1:
	movq	_compare_int@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_qsort
	movl	(%r12), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_qunique
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_2:
	movq	%r15, %rdi
	callq	_VARSIZE
	movl	%eax, %edi
	callq	_palloc0
	movq	%rax, %r12
	movl	(%r15), %eax
	subl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, (%r12)
	movq	%r12, %rdi
	callq	_ARRPTR
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_STRPTR
	movl	(%r15), %edi
	testl	%edi, %edi
	jle	LBB0_3
## %bb.4:
	movq	%rax, %r13
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movslq	%r15d, %r15
	leaq	(%r15,%r13), %rdi
	movslq	(%rbx), %rsi
	addq	-112(%rbp), %rsi                ## 8-byte Folded Reload
	movl	4(%rbx), %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movslq	-52(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$4, %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, 8(%rdx,%rcx)
	movl	4(%rbx), %eax
	movl	%eax, 4(%rdx,%rcx)
	movl	%r15d, (%rdx,%rcx)
	addl	4(%rbx), %r15d
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_POSDATALEN
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leal	4(,%rax,4), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_SHORTALIGN
	movslq	%eax, %r15
	leaq	(%r15,%r13), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_STRPTR
	movq	%rax, %r13
	movl	4(%rbx), %edi
	addl	(%rbx), %edi
	callq	_SHORTALIGN
	movslq	%eax, %rsi
	addq	%r13, %rsi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leal	(%r15,%rax,4), %r15d
	addl	$4, %r15d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	movl	(%r14), %edi
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movslq	%edi, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jge	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movslq	%esi, %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	cmpq	%rcx, %r12
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%esi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_3:
	xorl	%esi, %esi
	xorl	%r15d, %r15d
LBB0_13:
	xorl	%edi, %edi
	cmpl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	sete	%dil
	callq	_Assert
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movl	%r15d, %esi
	callq	_CALCDATASIZE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_SET_VARSIZE
	movq	%rbx, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_compare_int,4,2                ## @compare_int
	.no_dead_strip	_tsvector_delete_by_indices
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tsvector_delete_by_indices
_tsvector_delete_by_indices:            ; @tsvector_delete_by_indices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x2
	mov	x24, x1
	mov	x26, x0
	bl	_ARRPTR
	mov	x22, x0
	mov	x0, x26
	bl	_STRPTR
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	cmp	w20, #1
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _compare_int@GOTPAGE
Lloh1:
	ldr	x19, [x19, _compare_int@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	x0, x24
	mov	x1, x20
	mov	w2, #4
	bl	_qsort
	ldr	w3, [x19]
	mov	x0, x24
	mov	x1, x20
	mov	w2, #4
	bl	_qunique
	mov	x20, x0
LBB0_2:
	mov	x0, x26
	bl	_VARSIZE
	bl	_palloc0
	mov	x19, x0
	ldr	w8, [x26]
	sub	w8, w8, w20
	str	w8, [x0]
	bl	_ARRPTR
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_STRPTR
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x23, x0
	mov	x25, #0
	mov	w27, #0
	mov	w19, #0
	mov	w21, #0
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	ldr	w8, [x26]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	add	x22, x22, #16
	cmp	x25, w8, sxtw
	b.ge	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w19, w20
	b.ge	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x24, w19, sxtw #2]
	cmp	x25, x9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w19, w19, #1
	b	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, x23, w27, sxtw
	ldp	w8, w2, [x22]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x1, x9, x8
	bl	_memcpy
	ldr	x8, [x22, #8]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, w21, sxtw #4
	str	x8, [x9, #8]
	ldr	w8, [x22, #4]
	stp	w27, w8, [x9]
	ldr	w8, [x22, #4]
	add	w27, w8, w27
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	mov	x1, x22
	bl	_POSDATALEN
	lsl	w8, w0, #2
	add	w28, w8, #4
	mov	x0, x27
	bl	_SHORTALIGN
	mov	x27, x0
	add	x8, x23, w0, sxtw
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x26
	bl	_STRPTR
	mov	x24, x21
	mov	x21, x19
	mov	x19, x23
	mov	x23, x26
	mov	x26, x20
	mov	x20, x0
	ldp	w8, w9, [x22]
	add	w0, w9, w8
	bl	_SHORTALIGN
	add	x1, x20, w0, sxtw
	mov	x20, x26
	mov	x26, x23
	mov	x23, x19
	mov	x19, x21
	mov	x21, x24
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	mov	x2, x28
	bl	_memcpy
	add	w27, w28, w27
	b	LBB0_4
LBB0_11:
	mov	w19, #0
	mov	w27, #0
LBB0_12:
	cmp	w19, w20
	cset	w0, eq
	bl	_Assert
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w0, [x19]
	mov	x1, x27
	bl	_CALCDATASIZE
	mov	x1, x0
	mov	x0, x19
	bl	_SET_VARSIZE
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_compare_int,4,2                ; @compare_int
	.no_dead_strip	_tsvector_delete_by_indices
.subsections_via_symbols
