	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_rev_friends
_read_rev_friends:                      ## @read_rev_friends
	.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
	movl	$1, %edi
	callq	_readin
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movb	(%rax), %bl
	movl	$1, %edi
	callq	_readadv
	leal	-3(%rbx), %eax
	xorl	%edi, %edi
	cmpb	$2, %al
	setb	%dil
	callq	_assert
	cmpb	$3, %bl
	je	LBB0_4
## %bb.2:
	movl	$16, %edi
	callq	_readin
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rax, %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_new_rev_friends_node
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_memcpy
	movl	$16, %edi
	callq	_readadv
	callq	_read_rev_friends
	movq	%rax, 8(%rbx)
	callq	_read_rev_friends
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected end of file in read_tree\n"

	.no_dead_strip	_read_rev_friends
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_rev_friends
_read_rev_friends:                      ; @read_rev_friends
	.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
	mov	w0, #1
	bl	_readin
	cbz	x0, LBB0_4
; %bb.1:
	ldrb	w19, [x0]
	mov	w0, #1
	bl	_readadv
	subs	w8, w19, #3
	cmp	w8, #2
	cset	w0, lo
	bl	_assert
	cmp	w19, #3
	b.eq	LBB0_5
; %bb.2:
	mov	w0, #16
	bl	_readin
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	mov	w0, #0
	mov	w1, #0
	mov	w2, #0
	bl	_new_rev_friends_node
	mov	x19, x0
	add	x0, x0, #16
	mov	x1, x20
	mov	w2, #16
	bl	_memcpy
	mov	w0, #16
	bl	_readadv
	bl	_read_rev_friends
	str	x0, [x19, #8]
	bl	_read_rev_friends
	str	x0, [x19]
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected end of file in read_tree\n"

	.no_dead_strip	_read_rev_friends
.subsections_via_symbols
