	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bind_user_metafile             ## -- Begin function bind_user_metafile
	.p2align	4, 0x90
_bind_user_metafile:                    ## @bind_user_metafile
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	48(%rdi), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	cmpl	$0, 16(%rbx)
	sete	%dil
LBB0_2:
	callq	_assert
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r14
	movl	(%r13), %edi
	callq	_assert
	movq	_UserHdr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	_sublists_num@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_assert
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%r13), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdx
	movq	%r14, %r8
	callq	_fprintf
LBB0_4:
	movq	(%rbx), %rax
	movslq	4(%rax), %r15
	leaq	(%r14,%r15), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	cmpl	$0, (%r14,%r15)
	sete	%dil
	callq	_assert
	movl	(%r12), %eax
	testl	%eax, %eax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.6:
	leaq	4(%r14), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r14), %rcx
	addq	$8, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %edi
	callq	_assert
	xorl	%eax, %eax
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	40(%r13), %rcx
	movl	%eax, 16(%rcx,%r12)
	incq	%r14
	movq	_sublists_num@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$24, %r12
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addq	$2, %rsi
	cmpq	%rax, %r14
	movq	_UserHdr@GOTPCREL(%rip), %rbx
	jge	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	(%rbx), %rcx
	movslq	4(%rcx), %rcx
	addq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	shll	$3, %eax
	cltq
	addq	%rcx, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movslq	-8(%rcx,%r14,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-4(%rcx,%r14,8), %eax
	movl	(%rcx,%r14,8), %r15d
	movq	_idx_Sublists_packed@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx,%r14,4), %eax
	sete	%dil
	callq	_assert
	movq	%r13, %rbx
	movl	%r15d, %r13d
	subl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r13d, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	40(%rbx), %rax
	xorl	%edi, %edi
	cmpl	(%rax,%r12), %r13d
	movq	%rbx, %r13
	sete	%dil
	callq	_assert
	movq	40(%rbx), %rax
	xorl	%edi, %edi
	cmpq	$0, 8(%rax,%r12)
	sete	%dil
	callq	_assert
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rbx
	movq	40(%r13), %rax
	movq	%rbx, 8(%rax,%r12)
	subl	%ecx, %r15d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movslq	%r15d, %r15
	movl	-4(%rbx,%r15,4), %ecx
	xorl	%edi, %edi
	cmpl	16(%rax,%r12), %ecx
	setle	%dil
	callq	_assert
	movl	-4(%rbx,%r15,4), %eax
	jmp	LBB0_10
LBB0_5:
	xorl	%esi, %esi
LBB0_11:
	movq	(%rbx), %rcx
	shll	$3, %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%rsi,4), %edx
	addl	4(%rcx), %eax
	leal	(%rax,%rdx,4), %eax
	addl	$4, %eax
	movslq	%eax, %rdx
	movq	8(%rcx), %rax
	cmpq	%rdx, %rax
	movl	$0, %edi
	jl	LBB0_13
## %bb.12:
	xorl	%edi, %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	8(%rcx), %rax
	setle	%dil
LBB0_13:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movq	8(%r13), %rax
	movq	_NIL_N@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	movslq	16(%rax), %rsi
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	addq	%r9, %rsi
	movslq	20(%rax), %rax
	leaq	(%rsi,%rax,8), %r15
	movl	32(%r13), %edi
	movq	_MAX_PEER_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdx
	movq	%r13, %r8
	callq	_rebuild_topmsg_tree
	xorl	%edi, %edi
	cmpq	%r15, %rax
	sete	%dil
	callq	_assert
	movq	24(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	callq	_process_delayed_ops
	movq	$0, 24(%r13)
LBB0_15:
	movq	16(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.16:
	movq	%r13, %rdi
	callq	_process_delayed_values
	movq	$0, 16(%r13)
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UserHdr,8,3                    ## @UserHdr
	.comm	_sublists_num,4,2               ## @sublists_num
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bind_user_metafile(%p) : user_id=%d mf=%p\n"

	.comm	_idx_Sublists_packed,8,3        ## @idx_Sublists_packed
	.comm	_NIL_N,8,3                      ## @NIL_N
	.comm	_MAX_PEER_ID,4,2                ## @MAX_PEER_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bind_user_metafile             ; -- Begin function bind_user_metafile
	.p2align	2
_bind_user_metafile:                    ; @bind_user_metafile
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x0
	ldr	x20, [x0, #48]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w8, [x20, #16]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	str	x20, [sp]                       ; 8-byte Folded Spill
	ldr	x22, [x20]
	ldr	w0, [x28]
	bl	_assert
Lloh0:
	adrp	x19, _UserHdr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _UserHdr@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh2:
	adrp	x20, _sublists_num@GOTPAGE
Lloh3:
	ldr	x20, [x20, _sublists_num@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh4:
	adrp	x8, _verbosity@GOTPAGE
Lloh5:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_5
; %bb.4:
Lloh7:
	adrp	x8, _stderr@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w3, [x28, #4]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x28
	mov	x4, x22
	bl	_fprintf
LBB0_5:
	ldr	x8, [x19]
	ldrsw	x21, [x8, #4]
	add	x8, x22, x21
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	w20, [x20]
	cmp	w20, #1
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	b.lt	LBB0_11
; %bb.6:
	mov	x26, #0
	mov	x25, #0
	mov	x27, #0
	add	x8, x22, #4
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x8, x21, x22
	add	x21, x8, #8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	w0, #1
	bl	_assert
	mov	w8, #0
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh12:
	adrp	x10, _sublists_num@GOTPAGE
Lloh13:
	ldr	x10, [x10, _sublists_num@GOTPAGEOFF]
	ldr	x9, [x28, #40]
	add	x9, x9, x26
	str	w8, [x9, #16]
	add	x27, x27, #1
Lloh14:
	ldrsw	x20, [x10]
	add	x25, x25, #2
	add	x21, x21, #8
	add	x26, x26, #24
	cmp	x27, x20
Lloh15:
	adrp	x19, _UserHdr@GOTPAGE
Lloh16:
	ldr	x19, [x19, _UserHdr@GOTPAGEOFF]
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldrsw	x22, [x8, #4]
	ldp	w8, w23, [x21, #-4]
	ldursw	x24, [x21, #-8]
	mov	x19, x28
	subs	w28, w23, w24
Lloh17:
	adrp	x9, _idx_Sublists_packed@GOTPAGE
Lloh18:
	ldr	x9, [x9, _idx_Sublists_packed@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w9, [x9, x27, lsl #2]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	mvn	w8, w28
	lsr	w0, w8, #31
	bl	_assert
	ldr	x8, [x19, #40]
	ldr	w8, [x8, x26]
	cmp	w28, w8
	mov	x28, x19
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	lsl	w8, w20, #3
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, x22
	add	x8, x9, w8, sxtw
	add	x20, x8, x24, lsl #2
	ldr	x8, [x19, #40]
	add	x8, x8, x26
	str	x20, [x8, #8]
	subs	w9, w23, w24
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w9, w9, #1
	sbfiz	x22, x9, #2, #32
	ldr	w9, [x20, x22]
	ldr	w8, [x8, #16]
	cmp	w9, w8
	cset	w0, le
	bl	_assert
	ldr	w8, [x20, x22]
	b	LBB0_8
LBB0_11:
	mov	x25, #0
LBB0_12:
	ldr	x8, [x19]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [x9, x25, lsl #2]
	ldr	w10, [x8, #4]
	add	w10, w10, w20, lsl #3
	add	w9, w10, w9, lsl #2
	add	w9, w9, #4
	ldr	x8, [x8, #8]
	cmp	x8, w9, sxtw
	b.ge	LBB0_14
; %bb.13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
	ldr	x9, [sp]                        ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	cmp	x8, x9
	cset	w0, le
LBB0_15:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	bl	_assert
	ldr	x8, [x28, #8]
Lloh20:
	adrp	x9, _NIL_N@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NIL_N@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	ldpsw	x9, x8, [x8, #16]
	add	x1, x20, x9
	add	x21, x1, x8, lsl #3
	ldr	w0, [x28, #32]
Lloh23:
	adrp	x8, _MAX_PEER_ID@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MAX_PEER_ID@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x2, x21
	mov	x4, x28
	mov	x5, x20
	bl	_rebuild_topmsg_tree
	cmp	x0, x21
	cset	w0, eq
	bl	_assert
	ldr	x1, [x28, #24]
	cbz	x1, LBB0_17
; %bb.16:
	mov	x0, x28
	bl	_process_delayed_ops
	str	xzr, [x28, #24]
LBB0_17:
	ldr	x1, [x28, #16]
	cbz	x1, LBB0_19
; %bb.18:
	mov	x0, x28
	bl	_process_delayed_values
	str	xzr, [x28, #16]
LBB0_19:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_UserHdr,8,3                    ; @UserHdr
	.comm	_sublists_num,4,2               ; @sublists_num
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bind_user_metafile(%p) : user_id=%d mf=%p\n"

	.comm	_idx_Sublists_packed,8,3        ; @idx_Sublists_packed
	.comm	_NIL_N,8,3                      ; @NIL_N
	.comm	_MAX_PEER_ID,4,2                ; @MAX_PEER_ID
.subsections_via_symbols
