	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_state_duplicate_reservs
_remove_state_duplicate_reservs:        ## @remove_state_duplicate_reservs
	.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	_reserv_sets_t@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_state_reservs@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_VEC_length
	cmpq	$2, %rax
	jb	LBB0_1
## %bb.2:
	movl	$1, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movl	(%r12), %edi
	movl	(%r13), %esi
	callq	_VEC_length
	cmpq	%rax, %rbx
	jae	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movl	(%r13), %esi
	movq	%r14, %rdx
	callq	_VEC_index
	movl	%eax, %r15d
	movl	(%r12), %edi
	movl	(%r13), %esi
	movq	%rbx, %rdx
	callq	_VEC_index
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_reserv_sets_cmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %r15d
	movq	%r12, %r14
	movl	(%r13), %r12d
	movl	%r15d, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_VEC_index
	movl	%r15d, %edi
	movl	%r12d, %esi
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_VEC_replace
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_6:
	movl	(%r12), %edi
	movl	(%r13), %esi
	incq	%r14
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_VEC_truncate                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_reserv_sets_t,4,2              ## @reserv_sets_t
	.comm	_state_reservs,4,2              ## @state_reservs
	.no_dead_strip	_remove_state_duplicate_reservs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_state_duplicate_reservs
_remove_state_duplicate_reservs:        ; @remove_state_duplicate_reservs
	.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
Lloh0:
	adrp	x23, _reserv_sets_t@GOTPAGE
Lloh1:
	ldr	x23, [x23, _reserv_sets_t@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x24, _state_reservs@GOTPAGE
Lloh3:
	ldr	x24, [x24, _state_reservs@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_VEC_length
	cmp	x0, #2
	b.lo	LBB0_5
; %bb.1:
	mov	x19, #0
	mov	w20, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	w0, [x23]
	ldr	w1, [x24]
	bl	_VEC_length
	cmp	x20, x0
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	w1, [x24]
	mov	x2, x19
	bl	_VEC_index
	mov	x21, x0
	ldr	w0, [x23]
	ldr	w1, [x24]
	mov	x2, x20
	bl	_VEC_index
	mov	x1, x0
	mov	x0, x21
	bl	_reserv_sets_cmp
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	ldr	w21, [x23]
	ldr	w22, [x24]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_VEC_index
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_VEC_replace
	b	LBB0_2
LBB0_5:
	mov	x19, #0
LBB0_6:
	ldr	w0, [x23]
	ldr	w1, [x24]
	add	x2, x19, #1
	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
	b	_VEC_truncate
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_reserv_sets_t,4,2              ; @reserv_sets_t
	.comm	_state_reservs,4,2              ; @state_reservs
	.no_dead_strip	_remove_state_duplicate_reservs
.subsections_via_symbols
