	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_users@GOTPCREL(%rip), %rax
	movq	%r15, %rcx
	subq	(%rax), %rcx
	shrq	$3, %rcx
	imull	$-858993459, %ecx, %edx         ## imm = 0xCCCCCCCD
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rcx
	callq	_fprintf
LBB0_2:
	movq	_users@GOTPCREL(%rip), %rbx
	movq	%r15, %rax
	subq	(%rbx), %rax
	shrq	$3, %rax
	imull	$-858993459, %eax, %esi         ## imm = 0xCCCCCCCD
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_dbg
	movq	(%r15), %rax
	movq	_EMPTY__METAFILE@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpq	(%r14), %rax
	je	LBB0_4
## %bb.5:
	movq	%r15, %rax
	subq	(%rbx), %rax
	shrq	$3, %rax
	imull	$-858993459, %eax, %ebx         ## imm = 0xCCCCCCCD
	xorl	%edi, %edi
	cmpl	$4, 12(%r15)
	setge	%dil
	callq	_assert
	testl	%ebx, %ebx
	setg	%al
	movq	_header@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	setge	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	(%r15), %rbx
	movslq	12(%r15), %r14
	movq	%rbx, %rdi
	callq	_READ_INT
	movl	12(%r15), %esi
	addl	$-4, %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_crc32_check_and_repair
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_READ_INT
	leaq	36(%r15), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_data_load
	addq	%r14, %rbx
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_READ_INT
	movq	%rbx, 16(%r15)
	movslq	8(%r15), %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	%rcx, 24(%r15)
	movslq	(%rcx,%rax,4), %rbx
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_READ_INT
	leaq	32(%r15), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_lookup_load
	addq	%r14, %rbx
	movslq	12(%r15), %rax
	addq	(%r15), %rax
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setbe	%dil
	callq	_assert
	jmp	LBB0_6
LBB0_4:
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	leaq	36(%r15), %rdi
	movq	(%r14), %rsi
	movl	$4, %edx
	callq	_data_load
	leaq	32(%r15), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lookup_load
	movl	$0, 8(%r15)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bind user metafile local id = %d (%p)\n"

	.comm	_users,8,3                      ## @users
	.comm	_EMPTY__METAFILE,8,3            ## @EMPTY__METAFILE
L_.str.1:                               ## @.str.1
	.asciz	"empty metafile found\n"

	.comm	_header,4,2                     ## @header
.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, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x20, _users@GOTPAGE
Lloh4:
	ldr	x20, [x20, _users@GOTPAGEOFF]
	cmp	w8, #2
	b.le	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x20]
	sub	x8, x19, x8
	lsr	x8, x8, #3
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mul	w2, w8, w9
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_fprintf
LBB0_2:
	ldr	x8, [x20]
	sub	x8, x19, x8
	asr	x8, x8, #3
	mov	x9, #-3689348814741910324
	movk	x9, #52429
	mul	x8, x8, x9
	stp	x8, x19, [sp]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	ldr	x8, [x19]
Lloh12:
	adrp	x21, _EMPTY__METAFILE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _EMPTY__METAFILE@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x20]
	sub	x8, x19, x8
	lsr	x8, x8, #3
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mul	w20, w8, w9
	ldr	w8, [x19, #12]
	cmp	w8, #3
	cset	w0, gt
	bl	_assert
	cmp	w20, #0
Lloh14:
	adrp	x8, _header@GOTPAGE
Lloh15:
	ldr	x8, [x8, _header@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ccmp	w8, w20, #8, gt
	cset	w0, ge
	bl	_assert
	ldr	x20, [x19]
	ldrsw	x21, [x19, #12]
	mov	x0, x20
	bl	_READ_INT
	ldr	w8, [x19, #12]
	sub	w1, w8, #4
	add	x2, sp, #28
	mov	x0, x20
	mov	w3, #1
	bl	_crc32_check_and_repair
	mov	x0, x20
	mov	x1, x21
	bl	_READ_INT
	add	x0, x19, #36
	mov	x1, x20
	mov	x2, x21
	bl	_data_load
	add	x20, x20, x21
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_READ_INT
	ldrsw	x8, [x19, #8]
	lsl	x8, x8, #2
	add	x9, x20, x8
	stp	x20, x9, [x19, #16]
	ldr	x10, [x19]
	ldrsw	x8, [x9, x8]
	add	x20, x10, x8
	mov	x0, x20
	mov	x1, x21
	bl	_READ_INT
	add	x0, x19, #32
	mov	x1, x20
	mov	x2, x21
	bl	_lookup_load
	add	x8, x20, x21
	ldr	x9, [x19]
	ldrsw	x10, [x19, #12]
	add	x9, x9, x10
	cmp	x8, x9
	cset	w0, ls
	bl	_assert
	b	LBB0_6
LBB0_5:
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg
	add	x0, x19, #36
	ldr	x1, [x21]
	mov	w2, #4
	bl	_data_load
	add	x0, x19, #32
	mov	x1, #0
	mov	w2, #0
	bl	_lookup_load
	str	wzr, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bind user metafile local id = %d (%p)\n"

	.comm	_users,8,3                      ; @users
	.comm	_EMPTY__METAFILE,8,3            ; @EMPTY__METAFILE
l_.str.1:                               ; @.str.1
	.asciz	"empty metafile found\n"

	.comm	_header,4,2                     ; @header
.subsections_via_symbols
