	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_privacy
_read_privacy:                          ## @read_privacy
	.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
	movl	$1, %edi
	callq	_readin
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movb	(%rax), %bl
	movl	$1, %edi
	callq	_readadv
	movl	%ebx, %eax
	andb	$-2, %al
	xorl	%edi, %edi
	cmpb	$2, %al
	sete	%dil
	callq	_assert
	cmpb	$2, %bl
	je	LBB0_8
## %bb.3:
	movl	$16, %edi
	callq	_readin
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	addq	$-16, %rax
	movq	%rax, %rdi
	callq	_compute_privacy_size
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_zmalloc
	movq	%rax, %rbx
	leal	-16(%r14), %r15d
	movl	%r15d, %edi
	callq	_readin
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_6:
	movq	%rbx, %rdi
	addq	$16, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	%r15d, %edi
	callq	_readadv
	callq	_read_privacy
	movq	%rax, 8(%rbx)
	callq	_read_privacy
	movq	%rax, (%rbx)
	movq	%rbx, %rdi
	callq	_compute_privacy_size
	xorl	%edi, %edi
	cmpl	%eax, %r14d
	sete	%dil
	callq	_assert
	movq	_tot_privacy_len@GOTPCREL(%rip), %rax
	addl	%r14d, (%rax)
	movq	_privacy_nodes@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_9
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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_privacy\n"

	.comm	_tot_privacy_len,4,2            ## @tot_privacy_len
	.comm	_privacy_nodes,4,2              ## @privacy_nodes
	.no_dead_strip	_read_privacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_privacy
_read_privacy:                          ; @read_privacy
	.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
	mov	w0, #1
	bl	_readin
	cbz	x0, LBB0_6
; %bb.1:
	ldrb	w19, [x0]
	mov	w0, #1
	bl	_readadv
	and	w8, w19, #0xfe
	cmp	w8, #2
	cset	w0, eq
	bl	_assert
	cmp	w19, #2
	b.eq	LBB0_7
; %bb.2:
	mov	w0, #16
	bl	_readin
	cbz	x0, LBB0_6
; %bb.3:
	sub	x0, x0, #16
	bl	_compute_privacy_size
	mov	x20, x0
	bl	_zmalloc
	mov	x19, x0
	sub	w21, w20, #16
	mov	x0, x21
	bl	_readin
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.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:
	add	x0, x19, #16
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	mov	x0, x21
	bl	_readadv
	bl	_read_privacy
	str	x0, [x19, #8]
	bl	_read_privacy
	str	x0, [x19]
	mov	x0, x19
	bl	_compute_privacy_size
	cmp	w20, w0
	cset	w0, eq
	bl	_assert
Lloh5:
	adrp	x8, _tot_privacy_len@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tot_privacy_len@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w20
	str	w9, [x8]
Lloh7:
	adrp	x8, _privacy_nodes@GOTPAGE
Lloh8:
	ldr	x8, [x8, _privacy_nodes@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_7:
	mov	x19, #0
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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected end of file in read_privacy\n"

	.comm	_tot_privacy_len,4,2            ; @tot_privacy_len
	.comm	_privacy_nodes,4,2              ; @privacy_nodes
	.no_dead_strip	_read_privacy
.subsections_via_symbols
