	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitDomainConstraintRef        ## -- Begin function InitDomainConstraintRef
	.p2align	4, 0x90
_InitDomainConstraintRef:               ## @InitDomainConstraintRef
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	_TYPECACHE_DOMAIN_CONSTR_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_lookup_type_cache
	movq	%rax, 24(%rbx)
	movl	%r14d, (%rbx)
	movl	%r15d, 16(%rbx)
	movq	$0, 8(%rbx)
	movq	_dccref_deletion_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	32(%rbx), %rsi
	movl	%eax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	movl	%r15d, %edi
	callq	_MemoryContextRegisterResetCallback
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, 8(%rbx)
	incl	4(%rax)
	cmpl	$0, (%rbx)
	movl	(%rax), %eax
	je	LBB0_4
## %bb.2:
	movl	16(%rbx), %esi
	movl	%eax, %edi
	callq	_prep_domain_constraints
	jmp	LBB0_4
LBB0_3:
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPECACHE_DOMAIN_CONSTR_INFO,4,2 ## @TYPECACHE_DOMAIN_CONSTR_INFO
	.comm	_dccref_deletion_callback,4,2   ## @dccref_deletion_callback
	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitDomainConstraintRef        ; -- Begin function InitDomainConstraintRef
	.p2align	2
_InitDomainConstraintRef:               ; @InitDomainConstraintRef
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _TYPECACHE_DOMAIN_CONSTR_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPECACHE_DOMAIN_CONSTR_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_lookup_type_cache
	str	w20, [x19]
	str	w21, [x19, #16]
Lloh3:
	adrp	x8, _dccref_deletion_callback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dccref_deletion_callback@GOTPAGEOFF]
	str	xzr, [x19, #8]
Lloh5:
	ldr	w8, [x8]
	add	x1, x19, #32
	str	w8, [x19, #40]
	stp	x0, x19, [x19, #24]
	mov	x0, x21
	bl	_MemoryContextRegisterResetCallback
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	str	x8, [x19, #8]
	ldp	w0, w9, [x8]
	add	w9, w9, #1
	str	w9, [x8, #4]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w1, [x19, #16]
	bl	_prep_domain_constraints
	b	LBB0_4
LBB0_3:
Lloh6:
	adrp	x8, _NIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_4:
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPECACHE_DOMAIN_CONSTR_INFO,4,2 ; @TYPECACHE_DOMAIN_CONSTR_INFO
	.comm	_dccref_deletion_callback,4,2   ; @dccref_deletion_callback
	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
