	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlink_add
_mlink_add:                             ## @mlink_add
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorl	%edi, %edi
	cmpq	$0, 72(%r15)
	setne	%dil
	callq	_assert
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	leaq	L_.str(%rip), %rbx
	cmoveq	%rbx, %rdi
	callq	_mandoc_strdup
	movq	%rax, (%r15)
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	cmoveq	%rbx, %rdi
	callq	_mandoc_strdup
	movq	%rax, 8(%r15)
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	cmoveq	%rbx, %rdi
	callq	_mandoc_strdup
	movq	%rax, 16(%r15)
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	cmoveq	%rbx, %rdi
	callq	_mandoc_strdup
	movq	%rax, 24(%r15)
	movb	(%rax), %cl
	cmpb	$48, %cl
	jne	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_free
	movq	(%r15), %rdi
	callq	_mandoc_strdup
	movq	%rax, 24(%r15)
	movq	_FORM_CAT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	addb	$-49, %cl
	cmpb	$9, %cl
	jae	LBB0_3
## %bb.4:
	movq	_FORM_SRC@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_FORM_NONE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
	movq	%rax, 80(%r15)
	movq	72(%r15), %rsi
	movq	_mlinks@GOTPCREL(%rip), %r12
	movq	%r12, %rdi
	callq	_ohash_qlookup
	movl	%eax, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ohash_find
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_ohash_insert
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	4(%r14), %ecx
	movl	%ecx, -36(%rbp)
	movl	(%r14), %eax
	movl	%eax, -40(%rbp)
	movq	_mpages@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_ohash_lookup_memory
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ohash_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	40(%rax), %rax
	movq	%rax, 48(%r15)
	jmp	LBB0_8
LBB0_6:
	movl	$1, %edi
	movl	$88, %esi
	callq	_mandoc_calloc
	movq	%rax, %rbx
	movl	-36(%rbp), %eax
	movl	%eax, 68(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, 64(%rbx)
	movq	_FORM_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	movq	_mpage_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 48(%rbx)
	movq	%rbx, (%rax)
	movq	_mpages@GOTPCREL(%rip), %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_ohash_insert
LBB0_8:
	movq	%r15, 40(%rbx)
	movq	%rbx, 32(%r15)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_FORM_CAT,8,3                   ## @FORM_CAT
	.comm	_FORM_SRC,8,3                   ## @FORM_SRC
	.comm	_FORM_NONE,8,3                  ## @FORM_NONE
	.comm	_mlinks,4,2                     ## @mlinks
	.comm	_mpages,4,2                     ## @mpages
	.comm	_mpage_head,8,3                 ## @mpage_head
	.no_dead_strip	_mlink_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlink_add
_mlink_add:                             ; @mlink_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #72]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x0, x21, x8, eq
	bl	_mandoc_strdup
	str	x0, [x19]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	csel	x0, x21, x8, eq
	bl	_mandoc_strdup
	str	x0, [x19, #8]
	ldr	x8, [x19, #16]
	cmp	x8, #0
	csel	x0, x21, x8, eq
	bl	_mandoc_strdup
	str	x0, [x19, #16]
	ldr	x8, [x19, #24]
	cmp	x8, #0
	csel	x0, x21, x8, eq
	bl	_mandoc_strdup
	str	x0, [x19, #24]
	ldrb	w8, [x0]
	cmp	w8, #48
	b.ne	LBB0_2
; %bb.1:
	bl	_free
	ldr	x0, [x19]
	bl	_mandoc_strdup
	str	x0, [x19, #24]
Lloh2:
	adrp	x8, _FORM_CAT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FORM_CAT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	sub	w8, w8, #49
Lloh4:
	adrp	x9, _FORM_NONE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FORM_NONE@GOTPAGEOFF]
Lloh6:
	adrp	x10, _FORM_SRC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FORM_SRC@GOTPAGEOFF]
	cmp	w8, #9
	csel	x8, x10, x9, lo
LBB0_3:
	ldr	x8, [x8]
	str	x8, [x19, #80]
	ldr	x1, [x19, #72]
Lloh8:
	adrp	x21, _mlinks@GOTPAGE
Lloh9:
	ldr	x21, [x21, _mlinks@GOTPAGEOFF]
	mov	x0, x21
	bl	_ohash_qlookup
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_ohash_find
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_ohash_insert
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldp	w8, w3, [x20]
	stp	w8, w3, [sp, #8]
Lloh10:
	adrp	x21, _mpages@GOTPAGE
Lloh11:
	ldr	x21, [x21, _mpages@GOTPAGEOFF]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #8
	bl	_ohash_lookup_memory
	mov	x20, x0
	mov	x0, x21
	mov	x1, x20
	bl	_ohash_find
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	ldr	x8, [x0, #40]
	str	x8, [x19, #48]
	b	LBB0_6
LBB0_5:
	mov	w0, #1
	mov	w1, #88
	bl	_mandoc_calloc
	mov	x21, x0
	ldr	d0, [sp, #8]
	str	d0, [x0, #64]
Lloh12:
	adrp	x8, _FORM_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FORM_NONE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _mpage_head@GOTPAGE
Lloh16:
	ldr	x9, [x9, _mpage_head@GOTPAGEOFF]
	ldr	x10, [x9]
	stp	x10, x8, [x0, #48]
	str	x0, [x9]
Lloh17:
	adrp	x0, _mpages@GOTPAGE
Lloh18:
	ldr	x0, [x0, _mpages@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x21
	bl	_ohash_insert
LBB0_6:
	str	x19, [x21, #40]
	str	x21, [x19, #32]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_FORM_CAT,8,3                   ; @FORM_CAT
	.comm	_FORM_SRC,8,3                   ; @FORM_SRC
	.comm	_FORM_NONE,8,3                  ; @FORM_NONE
	.comm	_mlinks,4,2                     ; @mlinks
	.comm	_mpages,4,2                     ; @mpages
	.comm	_mpage_head,8,3                 ; @mpage_head
	.no_dead_strip	_mlink_add
.subsections_via_symbols
