	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask_tree                      ## -- Begin function mask_tree
	.p2align	4, 0x90
_mask_tree:                             ## @mask_tree
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	16(%rdi), %rax
	movq	_t_fid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.4:
	movq	24(%rdi), %rcx
	movl	$1, %eax
	shlq	%cl, %rax
	xorl	%r12d, %r12d
	testq	%rcx, %rcx
	cmovnsq	%rax, %r12
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_3:
	xorl	%r12d, %r12d
LBB0_5:
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.6:
	movq	8(%rdi), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_mask_tree
	orq	%rax, %r12
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_7
LBB0_8:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_t_fid,8,3                      ## @t_fid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mask_tree                      ; -- Begin function mask_tree
	.p2align	2
_mask_tree:                             ; @mask_tree
	.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
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _t_fid@GOTPAGE
Lloh1:
	ldr	x9, [x9, _t_fid@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x0, #24]
	mov	w9, #1
	lsl	x9, x9, x8
	cmp	x8, #0
	csel	x19, xzr, x9, lt
	b	LBB0_5
LBB0_3:
	mov	x19, #0
	b	LBB0_8
LBB0_4:
	mov	x19, #0
LBB0_5:
	ldr	w20, [x0]
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	x21, [x0, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21], #8
	bl	_mask_tree
	orr	x19, x0, x19
	subs	x20, x20, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_t_fid,8,3                      ; @t_fid
.subsections_via_symbols
