	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plaintree
_plaintree:                             ## @plaintree
	.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	%rsi, %r14
	movabsq	$68719476736, %rax              ## imm = 0x1000000000
	movq	%rax, -32(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_QI_VAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_QI_OPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	$64, %edi
	callq	_palloc
	movq	%rax, -24(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_plainnode
	movl	-32(%rbp), %ecx
	movq	-24(%rbp), %rax
LBB0_5:
	movl	%ecx, (%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QI_VAL,8,3                     ## @QI_VAL
	.comm	_QI_OPR,8,3                     ## @QI_OPR
	.no_dead_strip	_plaintree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function plaintree
lCPI0_0:
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_plaintree:                             ; @plaintree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _QI_VAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QI_VAL@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _QI_OPR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _QI_OPR@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #64
	bl	_palloc
	str	x0, [sp, #8]
	mov	x0, sp
	mov	x1, x20
	bl	_plainnode
	ldr	w8, [sp]
	ldr	x0, [sp, #8]
	b	LBB0_5
LBB0_3:
	mov	x0, #0
LBB0_4:
	mov	w8, #0
LBB0_5:
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QI_VAL,8,3                     ; @QI_VAL
	.comm	_QI_OPR,8,3                     ; @QI_OPR
	.no_dead_strip	_plaintree
.subsections_via_symbols
