	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tree_entry                 ## -- Begin function get_tree_entry
	.p2align	4, 0x90
_get_tree_entry:                        ## @get_tree_entry
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rdi, %r13
	movq	_tree_type@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	leaq	-56(%rbp), %r8
	callq	_read_object_with_reference
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	cmpb	$0, (%r12)
	je	LBB0_3
## %bb.4:
	movq	-64(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	leaq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_init_tree_desc
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	movq	%rbx, %r8
	callq	_find_tree_entry
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %ebx
	jmp	LBB0_8
LBB0_3:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_oidcpy
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	movl	$-1, %ebx
LBB0_7:
	movq	%r15, %rdi
	callq	_free
LBB0_8:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tree_type,4,2                  ## @tree_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_tree_entry                 ; -- Begin function get_tree_entry
	.p2align	2
_get_tree_entry:                        ; @get_tree_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x23, x0
Lloh0:
	adrp	x8, _tree_type@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tree_type@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #24
	add	x4, sp, #16
	bl	_read_object_with_reference
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x22]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x2, [sp, #24]
	cbz	x2, LBB0_6
; %bb.3:
	add	x0, sp, #8
	mov	x1, x19
	bl	_init_tree_desc
	add	x1, sp, #8
	mov	x0, x23
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	bl	_find_tree_entry
	mov	x20, x0
	b	LBB0_7
LBB0_4:
	mov	w20, #-1
	b	LBB0_8
LBB0_5:
	add	x1, sp, #16
	mov	x0, x20
	bl	_oidcpy
	mov	w20, #0
	b	LBB0_7
LBB0_6:
	mov	w20, #-1
LBB0_7:
	mov	x0, x19
	bl	_free
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tree_type,4,2                  ; @tree_type
.subsections_via_symbols
