	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_tree_lookup_value           ## -- Begin function tl_tree_lookup_value
	.p2align	4, 0x90
_tl_tree_lookup_value:                  ## @tl_tree_lookup_value
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_act_var@GOTPCREL(%rip), %r13
	movl	$-1, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rsi
	cmpq	%r15, %rsi
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_tl_get_var_value
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_1
	jmp	LBB0_8
LBB0_6:
	movq	24(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_tl_tree_lookup_value
	movl	$1, %r12d
	testl	%eax, %eax
	jns	LBB0_8
## %bb.7:
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_tl_tree_lookup_value
	movl	%eax, %r12d
	sarl	$31, %r12d
	orl	$1, %r12d
	jmp	LBB0_8
LBB0_4:
	xorl	%r12d, %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_act_var,8,3                    ## @act_var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_tree_lookup_value           ; -- Begin function tl_tree_lookup_value
	.p2align	2
_tl_tree_lookup_value:                  ; @tl_tree_lookup_value
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _act_var@GOTPAGE
Lloh1:
	ldr	x22, [x22, _act_var@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x21, #8]
	cmp	x1, x20
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_tl_get_var_value
	mov	x21, x0
	cbnz	x0, LBB0_1
LBB0_5:
	mov	w0, #-1
	b	LBB0_10
LBB0_6:
	ldr	x0, [x21, #24]
	mov	x1, x20
	mov	x2, x19
	bl	_tl_tree_lookup_value
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	w0, #1
	b	LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	ldr	x0, [x21, #16]
	mov	x1, x20
	mov	x2, x19
	bl	_tl_tree_lookup_value
	asr	w8, w0, #31
	orr	w0, w8, #0x1
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_act_var,8,3                    ; @act_var
.subsections_via_symbols
