	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LeafNode                       ## -- Begin function LeafNode
	.p2align	4, 0x90
_LeafNode:                              ## @LeafNode
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	$0, 40(%rdi)
	movq	_PLANENUM_LEAF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	movl	$0, (%rdi)
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	movq	_TEXINFO_NODE@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%r11d, %r11d
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %r8
	movq	%rsi, %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %ebx
	je	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%r9d, %r11d
	movl	%r11d, (%rdi)
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	8(%rdx), %rax
	movl	(%rax), %r9d
	movl	(%r8), %r10d
	testl	%r9d, %r10d
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rdx), %rax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r14, (%rax,%rbx,8)
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incq	%rbx
	cmpq	%rbx, %rcx
	jne	LBB0_8
LBB0_10:
	movl	%r10d, (%rdi)
LBB0_11:
	movq	_create_aas@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.12:
	movl	$0, 16(%rdi)
	movl	$0, (%rdi)
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rsi, %rdx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx), %rbx
	orl	16(%rbx), %ecx
	orl	(%rbx), %eax
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rbx, 24(%rdi)
	jmp	LBB0_15
LBB0_16:
	movl	%ecx, 16(%rdi)
	jmp	LBB0_19
LBB0_17:
	movq	_create_aas@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.18:
	movl	$0, 16(%rdi)
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_19:
	movl	%eax, (%rdi)
	movq	_CONTENTS_SOLID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%eax, %edx
	je	LBB0_22
## %bb.20:
	movq	_cfg@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %ecx
	je	LBB0_22
## %bb.21:
	notl	%edx
	andl	%edx, %eax
	movl	%eax, (%rdi)
LBB0_22:
	movq	%rsi, 8(%rdi)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLANENUM_LEAF,4,2              ## @PLANENUM_LEAF
	.comm	_CONTENTS_SOLID,4,2             ## @CONTENTS_SOLID
	.comm	_TEXINFO_NODE,8,3               ## @TEXINFO_NODE
	.comm	_create_aas,8,3                 ## @create_aas
	.comm	_cfg,4,2                        ## @cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LeafNode                       ; -- Begin function LeafNode
	.p2align	2
_LeafNode:                              ; @LeafNode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PLANENUM_LEAF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLANENUM_LEAF@GOTPAGEOFF]
	str	xzr, [x0, #40]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	str	wzr, [x0]
Lloh3:
	adrp	x8, _CONTENTS_SOLID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONTENTS_SOLID@GOTPAGEOFF]
	cbz	x1, LBB0_17
; %bb.1:
	mov	w9, #0
Lloh5:
	adrp	x10, _TEXINFO_NODE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TEXINFO_NODE@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	mov	x11, x1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w15, w14
	b.eq	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	orr	w9, w9, w13
	str	w9, [x0]
	ldr	x11, [x11, #16]
	cbz	x11, LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x12, [x11, #8]
	ldr	w13, [x12]
	ldr	w12, [x8]
	tst	w12, w13
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w14, [x11]
	cmp	w14, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x15, #0
	ldr	x16, [x11, #24]
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x16, x15, lsl #3]
	cmp	x17, x10
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x15, x15, #1
	cmp	x14, x15
	b.ne	LBB0_8
LBB0_10:
	str	w12, [x0]
LBB0_11:
Lloh8:
	adrp	x9, _create_aas@GOTPAGE
Lloh9:
	ldr	x9, [x9, _create_aas@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cbz	x9, LBB0_21
; %bb.12:
	mov	w9, #0
	mov	w10, #0
	str	wzr, [x0, #16]
	str	wzr, [x0]
	mov	x11, x1
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	orr	w10, w10, w12
	orr	w9, w9, w13
	ldr	x11, [x11, #16]
	cbz	x11, LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11, #8]
	ldr	w12, [x14, #16]
	ldr	w13, [x14]
	ldr	x14, [x14, #8]
	cbz	x14, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	str	x14, [x0, #24]
	b	LBB0_13
LBB0_16:
	str	w10, [x0, #16]
	b	LBB0_19
LBB0_17:
Lloh11:
	adrp	x9, _create_aas@GOTPAGE
Lloh12:
	ldr	x9, [x9, _create_aas@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cbz	x9, LBB0_21
; %bb.18:
	mov	w9, #0
	mov	w10, #0
	str	wzr, [x0, #16]
LBB0_19:
	str	w9, [x0]
	ldr	w8, [x8]
	and	w11, w8, w9
Lloh14:
	adrp	x12, _cfg@GOTPAGE
Lloh15:
	ldr	x12, [x12, _cfg@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	cmp	w11, #0
	ccmp	w10, w12, #4, ne
	b.eq	LBB0_21
; %bb.20:
	bic	w8, w9, w8
	str	w8, [x0]
LBB0_21:
	str	x1, [x0, #8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.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	_PLANENUM_LEAF,4,2              ; @PLANENUM_LEAF
	.comm	_CONTENTS_SOLID,4,2             ; @CONTENTS_SOLID
	.comm	_TEXINFO_NODE,8,3               ; @TEXINFO_NODE
	.comm	_create_aas,8,3                 ; @create_aas
	.comm	_cfg,4,2                        ; @cfg
.subsections_via_symbols
