	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateDomainConstraintRef      ## -- Begin function UpdateDomainConstraintRef
	.p2align	4, 0x90
_UpdateDomainConstraintRef:             ## @UpdateDomainConstraintRef
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	movq	_TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	_TYPTYPE_DOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_load_domaintype_info
LBB0_3:
	movq	(%r14), %rdi
	movq	16(%rbx), %rax
	cmpq	%rax, %rdi
	je	LBB0_10
## %bb.4:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	$0, (%r14)
	callq	_decr_dcc_refcount
	movq	16(%rbx), %rax
LBB0_6:
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%rax, (%r14)
	incl	4(%rax)
	cmpq	$0, 16(%r14)
	movl	(%rax), %eax
	je	LBB0_9
## %bb.8:
	movl	12(%r14), %esi
	movl	%eax, %edi
	callq	_prep_domain_constraints
LBB0_9:
	movl	%eax, 8(%r14)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS,4,2 ## @TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS
	.comm	_TYPTYPE_DOMAIN,8,3             ## @TYPTYPE_DOMAIN
	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UpdateDomainConstraintRef      ; -- Begin function UpdateDomainConstraintRef
	.p2align	2
_UpdateDomainConstraintRef:             ; @UpdateDomainConstraintRef
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _TYPTYPE_DOMAIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPTYPE_DOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_load_domaintype_info
LBB0_3:
	ldr	x0, [x19]
	ldr	x8, [x20, #16]
	cmp	x0, x8
	b.eq	LBB0_10
; %bb.4:
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _NIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
	bl	_decr_dcc_refcount
	ldr	x8, [x20, #16]
LBB0_6:
	cbz	x8, LBB0_10
; %bb.7:
	str	x8, [x19]
	ldp	w0, w9, [x8]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w1, [x19, #12]
	bl	_prep_domain_constraints
LBB0_9:
	str	w0, [x19, #8]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS,4,2 ; @TCFLAGS_CHECKED_DOMAIN_CONSTRAINTS
	.comm	_TYPTYPE_DOMAIN,8,3             ; @TYPTYPE_DOMAIN
	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
