	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_cook_var
_dt_cook_var:                           ## @dt_cook_var
	.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, %rbx
	movq	8(%rdi), %r14
	movq	_DT_IDFLG_REF@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_dt_ident_unref
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_D_VAR_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DT_IDFLG_LOCAL@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	movl	4(%r14), %r8d
	movl	(%rax), %eax
	andl	%ecx, %eax
	movq	_DT_IDFLG_TLS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rcx, %rdx
	testl	%eax, %eax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rdx, %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_dnerror
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_dt_ident_cook
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dt_node_attr_assign
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_IDFLG_REF,4,2               ## @DT_IDFLG_REF
	.comm	_D_VAR_UNDEF,4,2                ## @D_VAR_UNDEF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s has not yet been declared or assigned\n"

	.comm	_DT_IDFLG_LOCAL,4,2             ## @DT_IDFLG_LOCAL
L_.str.1:                               ## @.str.1
	.asciz	"this->"

	.comm	_DT_IDFLG_TLS,4,2               ## @DT_IDFLG_TLS
L_.str.2:                               ## @.str.2
	.asciz	"self->"

L_.str.3:                               ## @.str.3
	.space	1

	.no_dead_strip	_dt_cook_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_cook_var
_dt_cook_var:                           ; @dt_cook_var
	.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, #8]
Lloh0:
	adrp	x8, _DT_IDFLG_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DT_IDFLG_REF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_dt_ident_unref
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _D_VAR_UNDEF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D_VAR_UNDEF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DT_IDFLG_LOCAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DT_IDFLG_LOCAL@GOTPAGEOFF]
Lloh8:
	adrp	x9, _DT_IDFLG_TLS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DT_IDFLG_TLS@GOTPAGEOFF]
Lloh10:
	adrp	x10, l_.str.2@PAGE
Lloh11:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh12:
	ldr	w9, [x9]
	ldp	w11, w4, [x20]
	tst	w9, w11
Lloh13:
	adrp	x9, l_.str.3@PAGE
Lloh14:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh15:
	ldr	w8, [x8]
	csel	x9, x9, x10, eq
Lloh16:
	adrp	x10, l_.str.1@PAGE
Lloh17:
	add	x10, x10, l_.str.1@PAGEOFF
	tst	w8, w11
	csel	x3, x9, x10, eq
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dnerror
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x19
	bl	_dt_ident_cook
	mov	x1, x0
	mov	x0, x19
	bl	_dt_node_attr_assign
	mov	x0, x19
	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 AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh15
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_IDFLG_REF,4,2               ; @DT_IDFLG_REF
	.comm	_D_VAR_UNDEF,4,2                ; @D_VAR_UNDEF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s has not yet been declared or assigned\n"

	.comm	_DT_IDFLG_LOCAL,4,2             ; @DT_IDFLG_LOCAL
l_.str.1:                               ; @.str.1
	.asciz	"this->"

	.comm	_DT_IDFLG_TLS,4,2               ; @DT_IDFLG_TLS
l_.str.2:                               ; @.str.2
	.asciz	"self->"

l_.str.3:                               ; @.str.3
	.space	1

	.no_dead_strip	_dt_cook_var
.subsections_via_symbols
