	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tl_tree_get_type               ## -- Begin function tl_tree_get_type
	.p2align	4, 0x90
_tl_tree_get_type:                      ## @tl_tree_get_type
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	_type_type@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_assert
	movq	8(%r14), %rax
	movq	_act_array@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	%rcx, %rax
	je	LBB0_12
## %bb.2:
	movq	24(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	cmpq	%rcx, 8(%rbx)
	je	LBB0_12
## %bb.6:
	leaq	8(%rbx), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	sete	%dil
	callq	_assert
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%rax), %r13
	movq	8(%rax), %rcx
	movq	%rax, %rbx
	cmpq	(%r12), %rcx
	jne	LBB0_7
	jmp	LBB0_13
LBB0_5:
	movq	%r14, %rbx
	jmp	LBB0_10
LBB0_9:
	movq	(%r13), %rax
	movq	(%r12), %rcx
LBB0_10:
	movq	_act_type@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	sete	%dil
	movq	_act_var@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	sete	%dl
	orb	%dil, %dl
	cmpq	%rcx, %rax
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	8(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.11:
	movq	16(%rbx), %r14
	jmp	LBB0_13
LBB0_12:
	xorl	%r14d, %r14d
LBB0_13:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_type_type,8,3                  ## @type_type
	.comm	_act_array,8,3                  ## @act_array
	.comm	_act_type,8,3                   ## @act_type
	.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_get_type               ; -- Begin function tl_tree_get_type
	.p2align	2
_tl_tree_get_type:                      ; @tl_tree_get_type
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x20, _type_type@GOTPAGE
Lloh1:
	ldr	x20, [x20, _type_type@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x9, [x19, #8]
Lloh2:
	adrp	x21, _act_array@GOTPAGE
Lloh3:
	ldr	x21, [x21, _act_array@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x9, x8
	b.eq	LBB0_8
; %bb.1:
	ldr	x22, [x19, #24]
	cbz	x22, LBB0_6
; %bb.2:
	mov	x19, x22
	ldr	x9, [x19, #8]!
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x20]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x21]
	mov	x19, x8
	ldr	x10, [x19, #8]!
	mov	x22, x8
	cmp	x10, x9
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:
	ldr	x9, [x19]
	ldr	x8, [x21]
	mov	x19, x22
LBB0_6:
Lloh4:
	adrp	x20, _act_type@GOTPAGE
Lloh5:
	ldr	x20, [x20, _act_type@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x9, x10
Lloh6:
	adrp	x10, _act_var@GOTPAGE
Lloh7:
	ldr	x10, [x10, _act_var@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ccmp	x9, x10, #4, ne
	ccmp	x9, x8, #4, ne
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x0, [x19, #16]
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_type_type,8,3                  ; @type_type
	.comm	_act_array,8,3                  ; @act_array
	.comm	_act_type,8,3                   ; @act_type
	.comm	_act_var,8,3                    ; @act_var
.subsections_via_symbols
