	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_tree                     ## -- Begin function write_tree
	.p2align	4, 0x90
_write_tree:                            ## @write_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.4:
	movq	%rdi, %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_writeout_char
	movl	20(%rbx), %edi
	callq	_writeout_int
	movl	16(%rbx), %edi
	callq	_writeout_int
	movq	8(%rbx), %rdi
	callq	_write_tree
                                        ## kill: def $eax killed $eax def $rax
	movq	(%rbx), %rbx
	addl	%eax, %r14d
	addl	$9, %r14d
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.2:
	incl	%r14d
	jmp	LBB0_3
LBB0_1:
	movl	$1, %r14d
LBB0_3:
	xorl	%edi, %edi
	callq	_writeout_char
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_tree                     ; -- Begin function write_tree
	.p2align	2
_write_tree:                            ; @write_tree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_writeout_char
	ldr	w0, [x19, #20]
	bl	_writeout_int
	ldr	w0, [x19, #16]
	bl	_writeout_int
	ldr	x0, [x19, #8]
	bl	_write_tree
	ldr	x19, [x19]
	add	w8, w20, w0
	add	w20, w8, #9
	cbnz	x19, LBB0_2
; %bb.3:
	add	w19, w20, #1
	b	LBB0_5
LBB0_4:
	mov	w19, #1
LBB0_5:
	mov	w0, #0
	bl	_writeout_char
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
