	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sym_check_deps                 ## -- Begin function sym_check_deps
	.p2align	4, 0x90
_sym_check_deps:                        ## @sym_check_deps
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	_SYMBOL_CHECK@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx), %ecx
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %r8
	cmovneq	%rax, %r8
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	%rbx, %r14
	jmp	LBB0_4
LBB0_2:
	movq	_SYMBOL_CHECKED@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_sym_is_choice_value
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	callq	_sym_get_choice_prop
	movq	%rax, %rdi
	callq	_prop_get_symbol
	movq	%rax, %rdi
	callq	_sym_check_deps
	jmp	LBB0_9
LBB0_7:
	callq	_sym_is_choice
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rbx, %rdi
	callq	_sym_check_choice_deps
LBB0_9:
	movq	%rax, %r14
	testq	%r14, %r14
	je	LBB0_3
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	8(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpq	%rbx, %r14
	jne	LBB0_4
## %bb.11:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	movq	_zconfnerrs@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_4
LBB0_12:
	movl	(%r14), %eax
	orl	(%r15), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_sym_check_sym_deps
	movq	%rax, %r14
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, (%rbx)
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_SYMBOL_CHECK,4,2               ## @SYMBOL_CHECK
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d:error: found recursive dependency: %s"

L_.str.1:                               ## @.str.1
	.asciz	"<choice>"

	.comm	_SYMBOL_CHECKED,4,2             ## @SYMBOL_CHECKED
L_.str.2:                               ## @.str.2
	.asciz	" -> %s"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

	.comm	_zconfnerrs,4,2                 ## @zconfnerrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sym_check_deps                 ; -- Begin function sym_check_deps
	.p2align	2
_sym_check_deps:                        ; @sym_check_deps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _SYMBOL_CHECK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SYMBOL_CHECK@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x9, x8, [x19, #8]
	ldr	x10, [x8, #8]
	ldr	x10, [x10]
Lloh5:
	adrp	x11, l_.str.1@PAGE
Lloh6:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x9, #0
	csel	x9, x11, x9, eq
	ldr	w8, [x8]
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x20, x19
	b	LBB0_4
LBB0_2:
Lloh9:
	adrp	x20, _SYMBOL_CHECKED@GOTPAGE
Lloh10:
	ldr	x20, [x20, _SYMBOL_CHECKED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_5:
	mov	x0, x19
	bl	_sym_is_choice_value
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_sym_get_choice_prop
	bl	_prop_get_symbol
	bl	_sym_check_deps
	mov	x20, x0
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_sym_is_choice
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_sym_check_choice_deps
	mov	x20, x0
	b	LBB0_10
LBB0_9:
	ldr	w8, [x21]
	ldr	w9, [x20]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	bl	_sym_check_sym_deps
	mov	x20, x0
	ldr	w8, [x21]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_10:
	cbz	x20, LBB0_4
; %bb.11:
Lloh11:
	adrp	x21, _stderr@GOTPAGE
Lloh12:
	ldr	x21, [x21, _stderr@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x8, [x19, #8]
Lloh13:
	adrp	x9, l_.str.1@PAGE
Lloh14:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	cmp	x20, x19
	b.ne	LBB0_4
; %bb.12:
	ldr	w0, [x21]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	x20, #0
Lloh19:
	adrp	x8, _zconfnerrs@GOTPAGE
Lloh20:
	ldr	x8, [x8, _zconfnerrs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SYMBOL_CHECK,4,2               ; @SYMBOL_CHECK
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d:error: found recursive dependency: %s"

l_.str.1:                               ; @.str.1
	.asciz	"<choice>"

	.comm	_SYMBOL_CHECKED,4,2             ; @SYMBOL_CHECKED
l_.str.2:                               ; @.str.2
	.asciz	" -> %s"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

	.comm	_zconfnerrs,4,2                 ; @zconfnerrs
.subsections_via_symbols
