	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_build_flags
_tree_build_flags:                      ## @tree_build_flags
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_LPAYLOAD
	testl	$-256, 24(%rax)
	je	LBB0_2
## %bb.1:
	movq	_LF_BIGFLAGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_new_flags@GOTPCREL(%rip), %rdx
	orl	%ecx, (%rdx)
LBB0_2:
	cmpq	$0, 16(%rax)
	je	LBB0_4
## %bb.3:
	movq	_LF_HAVE_VALUES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_new_flags@GOTPCREL(%rip), %rdx
	orl	%ecx, (%rdx)
LBB0_4:
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.5:
	movq	_LF_HAVE_DATES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_new_flags@GOTPCREL(%rip), %rdx
	orl	%ecx, (%rdx)
LBB0_6:
	movl	$-1, -20(%rbp)
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_get_text_len
	movl	%eax, %edi
	movl	%eax, -20(%rbp)
	jmp	LBB0_9
LBB0_8:
	movq	_OTree@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_NODE_RPOS
	subq	%rax, %rbx
	leaq	-20(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_metafile_get_text
	movl	-20(%rbp), %edi
LBB0_9:
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	cmpl	$0, -20(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_LF_HAVE_TEXTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_new_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_11:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LF_BIGFLAGS,4,2                ## @LF_BIGFLAGS
	.comm	_new_flags,4,2                  ## @new_flags
	.comm	_LF_HAVE_VALUES,4,2             ## @LF_HAVE_VALUES
	.comm	_LF_HAVE_DATES,4,2              ## @LF_HAVE_DATES
	.comm	_OTree,8,3                      ## @OTree
	.comm	_LF_HAVE_TEXTS,4,2              ## @LF_HAVE_TEXTS
	.no_dead_strip	_tree_build_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_build_flags
_tree_build_flags:                      ; @tree_build_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_LPAYLOAD
	ldr	w8, [x0, #24]
Lloh0:
	adrp	x20, _new_flags@GOTPAGE
Lloh1:
	ldr	x20, [x20, _new_flags@GOTPAGEOFF]
	tst	w8, #0xffffff00
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _LF_BIGFLAGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LF_BIGFLAGS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_2:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x8, _LF_HAVE_VALUES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LF_HAVE_VALUES@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_4:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _LF_HAVE_DATES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LF_HAVE_DATES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	mov	w8, #-1
	str	w8, [sp, #12]
	ldr	x0, [x0]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_get_text_len
	str	w0, [sp, #12]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _OTree@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OTree@GOTPAGEOFF]
Lloh13:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_NODE_RPOS
	sub	x0, x21, x0
	add	x1, sp, #12
	bl	_metafile_get_text
	ldr	w0, [sp, #12]
LBB0_9:
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _LF_HAVE_TEXTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LF_HAVE_TEXTS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LF_BIGFLAGS,4,2                ; @LF_BIGFLAGS
	.comm	_new_flags,4,2                  ; @new_flags
	.comm	_LF_HAVE_VALUES,4,2             ; @LF_HAVE_VALUES
	.comm	_LF_HAVE_DATES,4,2              ; @LF_HAVE_DATES
	.comm	_OTree,8,3                      ; @OTree
	.comm	_LF_HAVE_TEXTS,4,2              ; @LF_HAVE_TEXTS
	.no_dead_strip	_tree_build_flags
.subsections_via_symbols
