	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CopyAndAddInvertedQual
_CopyAndAddInvertedQual:                ## @CopyAndAddInvertedQual
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_copyObject
	movq	%rax, %rbx
	movl	$1, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_acquireLocksOnSubLinks
	movq	_PRS2_OLD_VARNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_ChangeVarNodes
	movq	_CMD_INSERT@GOTPCREL(%rip), %rax
	movq	_CMD_UPDATE@GOTPCREL(%rip), %r13
	cmpq	%r12, (%rax)
	je	LBB0_2
## %bb.1:
	cmpq	%r12, (%r13)
	jne	LBB0_6
LBB0_2:
	movq	_PRS2_NEW_VARNO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %esi
	movl	%r14d, %edi
	callq	_rt_fetch
	movl	4(%r15), %r8d
	cmpq	%r12, (%r13)
	jne	LBB0_3
## %bb.4:
	movq	_REPLACEVARS_CHANGE_VARNO@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	_REPLACEVARS_SUBSTITUTE_NULL@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %r9d
	movq	%rbx, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	movl	%eax, %ecx
	pushq	%r15
	pushq	%r14
	callq	_ReplaceVarsFromTargetList
	addq	$16, %rsp
	movq	%rax, %rbx
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_AddInvertedQual
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRS2_OLD_VARNO,4,2             ## @PRS2_OLD_VARNO
	.comm	_CMD_INSERT,8,3                 ## @CMD_INSERT
	.comm	_CMD_UPDATE,8,3                 ## @CMD_UPDATE
	.comm	_PRS2_NEW_VARNO,4,2             ## @PRS2_NEW_VARNO
	.comm	_REPLACEVARS_CHANGE_VARNO,4,2   ## @REPLACEVARS_CHANGE_VARNO
	.comm	_REPLACEVARS_SUBSTITUTE_NULL,4,2 ## @REPLACEVARS_SUBSTITUTE_NULL
	.no_dead_strip	_CopyAndAddInvertedQual
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CopyAndAddInvertedQual
_CopyAndAddInvertedQual:                ; @CopyAndAddInvertedQual
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x20, x2
	mov	x19, x0
	mov	x0, x1
	bl	_copyObject
	mov	x21, x0
	mov	w8, #1
	str	w8, [sp, #8]
	add	x1, sp, #8
	bl	_acquireLocksOnSubLinks
Lloh0:
	adrp	x8, _PRS2_OLD_VARNO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRS2_OLD_VARNO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	w3, #0
	bl	_ChangeVarNodes
Lloh3:
	adrp	x8, _CMD_INSERT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_INSERT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x24, _CMD_UPDATE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _CMD_UPDATE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x22
	ccmp	x9, x22, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _PRS2_NEW_VARNO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PRS2_NEW_VARNO@GOTPAGEOFF]
Lloh10:
	ldr	w23, [x8]
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_rt_fetch
	mov	x3, x0
	ldr	w4, [x19, #4]
Lloh11:
	adrp	x8, _REPLACEVARS_CHANGE_VARNO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REPLACEVARS_CHANGE_VARNO@GOTPAGEOFF]
	ldr	x9, [x24]
Lloh13:
	adrp	x10, _REPLACEVARS_SUBSTITUTE_NULL@GOTPAGE
Lloh14:
	ldr	x10, [x10, _REPLACEVARS_SUBSTITUTE_NULL@GOTPAGEOFF]
	cmp	x9, x22
	csel	x8, x8, x10, eq
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	mov	x6, x20
	mov	x7, x19
	bl	_ReplaceVarsFromTargetList
	mov	x21, x0
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_AddInvertedQual
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PRS2_OLD_VARNO,4,2             ; @PRS2_OLD_VARNO
	.comm	_CMD_INSERT,8,3                 ; @CMD_INSERT
	.comm	_CMD_UPDATE,8,3                 ; @CMD_UPDATE
	.comm	_PRS2_NEW_VARNO,4,2             ; @PRS2_NEW_VARNO
	.comm	_REPLACEVARS_CHANGE_VARNO,4,2   ; @REPLACEVARS_CHANGE_VARNO
	.comm	_REPLACEVARS_SUBSTITUTE_NULL,4,2 ; @REPLACEVARS_SUBSTITUTE_NULL
	.no_dead_strip	_CopyAndAddInvertedQual
.subsections_via_symbols
