	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mparse_buf_r
_mparse_buf_r:                          ## @mparse_buf_r
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rsi, -72(%rbp)
	movl	$256, -96(%rbp)                 ## imm = 0x100
	movl	$256, %edi                      ## imm = 0x100
	callq	_mandoc_malloc
	movq	%rax, -88(%rbp)
	movq	$0, -80(%rbp)
	movl	(%r15), %eax
	movq	$0, -48(%rbp)
	movslq	16(%rbp), %rcx
	cmpq	%r12, %rcx
	jbe	LBB0_1
## %bb.2:
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	leaq	16(%rbp), %r13
	leaq	4(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	16(%r15), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movl	$135, -56(%rbp)                 ## 4-byte Folded Spill
	xorl	%eax, %eax
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
                                        ##       Child Loop BB0_48 Depth 3
	movq	8(%r13), %rdx
	cmpb	$0, (%rdx,%r12)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_105
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-108(%rbp), %eax                ## 4-byte Reload
	movl	%eax, (%r15)
	movq	$0, 48(%r15)
	cmpl	$2, %eax
	jg	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %eax
	movq	_MPARSE_UTF8@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MPARSE_LATIN1@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_preconv_cue
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-72(%rbp), %r12
	movl	(%r13), %ecx
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ecx, %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_MANDOCERR_CHAR_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_mandoc_msg
	movq	-88(%rbp), %rax
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$63, (%rax,%rcx)
	incq	-72(%rbp)
LBB0_27:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-72(%rbp), %r12
	leaq	16(%rbp), %r13
	movslq	(%r13), %rcx
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rcx, %r12
	jae	LBB0_37
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%r13), %rax
	movzbl	(%rax,%r12), %ebx
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	testb	%bl, %bl
	je	LBB0_37
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$13, %bl
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	1(%r12), %rdx
	movb	$13, %bl
	cmpq	%rcx, %rdx
	jae	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$10, (%rax,%rdx)
	jne	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rdx, -72(%rbp)
	movzbl	(%rax,%rdx), %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	%r12, %rdx
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$10, %bl
	je	LBB0_36
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%rdx, %r12
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rcx
	addq	$12, %rcx
	movslq	-96(%rbp), %rdx
	cmpq	%rdx, %rcx
	jbe	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	-96(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_resize_buf
	movq	8(%r13), %rax
	movq	-72(%rbp), %r12
	movzbl	(%rax,%r12), %ebx
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=2
	movzbl	%bl, %r13d
	testb	$-128, %bl
	jne	LBB0_24
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$127, %bl
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$31, %bl
	ja	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$9, %bl
	je	LBB0_35
LBB0_31:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	_MANDOCERR_CHAR_BAD@GOTPCREL(%rip), %rax
	testb	$-5, %bl
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_MANDOCERR_CHAR_UNSUPP@GOTPCREL(%rip), %rax
LBB0_33:                                ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$11, %bl
	cmovaeq	_MANDOCERR_CHAR_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_mandoc_msg
	incq	-72(%rbp)
	cmpb	$13, %bl
	je	LBB0_27
## %bb.34:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-88(%rbp), %rax
	movq	-48(%rbp), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, -48(%rbp)
	movb	$63, (%rax,%rcx)
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	16(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_preconv_encode
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_26
LBB0_35:                                ##   in Loop: Header=BB0_11 Depth=2
	leaq	1(%r12), %rcx
	movq	%rcx, -72(%rbp)
	movzbl	(%rax,%r12), %eax
	movq	-88(%rbp), %rcx
	movq	-48(%rbp), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, -48(%rbp)
	movb	%al, (%rcx,%rdx)
	jmp	LBB0_27
LBB0_36:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	movq	%rdx, -72(%rbp)
	incl	-108(%rbp)                      ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-88(%rbp), %rax
	movq	-48(%rbp), %rcx
	movb	$0, (%rax,%rcx)
	movl	$24, %edi
	callq	_mandoc_malloc
	movq	%rax, %rbx
	movq	-88(%rbp), %rdi
	callq	_mandoc_strdup
	movq	%rax, 8(%rbx)
	movq	-88(%rbp), %rdi
	callq	_strlen
	incl	%eax
	movl	%eax, (%rbx)
	movq	$0, 16(%rbx)
	testq	%r12, %r12
	je	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r14
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, (%r14)
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-144(%rbp), %r14                ## 8-byte Reload
	cmpq	$0, (%r14)
	movq	%rbx, %r12
	je	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax
	movslq	(%r13), %rcx
	cmpq	%rcx, %rax
	movq	_ROFF_USERRET@GOTPCREL(%rip), %r14
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rcx
	cmpb	$0, (%rcx,%rax)
	jne	LBB0_46
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	leaq	2(%rax), %rcx
	movslq	-96(%rbp), %rdx
	cmpq	%rdx, %rcx
	jbe	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	-96(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_resize_buf
	movq	-48(%rbp), %rax
LBB0_45:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, -48(%rbp)
	movb	$10, (%rcx,%rax)
	movq	-88(%rbp), %rax
	movq	-48(%rbp), %rcx
	movb	$0, (%rax,%rcx)
LBB0_46:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%r12, %rbx
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	-88(%rbp), %rdi
	movq	8(%r12), %rsi
	callq	_strlcat
LBB0_47:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_48 Depth 3
	movl	$0, -52(%rbp)
	jmp	LBB0_48
LBB0_63:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	_MANDOCERR_WHILE_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mandoc_msg
	.p2align	4, 0x90
LBB0_69:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	_ROFF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	cmpl	$130, %eax
	jne	LBB0_70
LBB0_48:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_47 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r15), %esi
	movl	40(%r15), %edi
	leaq	-96(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	callq	_roff_parseln
	movl	%eax, %r13d
	movq	_ROFF_APPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r13d, %eax
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=3
	orl	$134, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	sete	%dil
	callq	_assert
LBB0_50:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	_ROFF_USERCALL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	_ROFF_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	xorl	%edi, %edi
	cmpl	$131, %eax
	sete	%dil
	callq	_assert
LBB0_52:                                ##   in Loop: Header=BB0_48 Depth=3
	movl	(%r14), %eax
	testl	%r13d, %eax
	je	LBB0_55
## %bb.53:                              ##   in Loop: Header=BB0_48 Depth=3
	orl	$134, %eax
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	sete	%dil
	callq	_assert
	testl	%ebx, %ebx
	je	LBB0_54
LBB0_55:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	_ROFF_LOOPMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	leal	-132(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_62
## %bb.56:                              ##   in Loop: Header=BB0_48 Depth=3
	cmpl	$134, %eax
	je	LBB0_69
## %bb.57:                              ##   in Loop: Header=BB0_48 Depth=3
	cmpl	$128, %eax
	jne	LBB0_100
## %bb.58:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_61
## %bb.59:                              ##   in Loop: Header=BB0_48 Depth=3
	cmpq	%rax, %r12
	je	LBB0_69
## %bb.60:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	_MANDOCERR_WHILE_NEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_61:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 24(%r15)
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_62:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_63
## %bb.64:                              ##   in Loop: Header=BB0_48 Depth=3
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_65
## %bb.66:                              ##   in Loop: Header=BB0_48 Depth=3
	movl	$1, -64(%rbp)                   ## 4-byte Folded Spill
	movq	%rax, %r12
	testb	$-123, %r13b
	jne	LBB0_69
## %bb.67:                              ##   in Loop: Header=BB0_48 Depth=3
	movq	$0, 24(%r15)
	xorl	%r12d, %r12d
	jmp	LBB0_68
LBB0_65:                                ##   in Loop: Header=BB0_48 Depth=3
	movq	_MANDOCERR_WHILE_INTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	xorl	%r12d, %r12d
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mandoc_msg
	movq	$0, 24(%r15)
LBB0_68:                                ##   in Loop: Header=BB0_48 Depth=3
	movl	$0, -64(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_69
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_47 Depth=2
	addl	$-129, %eax
	cmpl	$6, %eax
	ja	LBB0_100
## %bb.71:                              ##   in Loop: Header=BB0_47 Depth=2
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_84:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	_MPARSE_SO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	jne	LBB0_88
## %bb.85:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	-72(%rbp), %rax
	leaq	16(%rbp), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_87
## %bb.86:                              ##   in Loop: Header=BB0_47 Depth=2
	leaq	16(%rbp), %rcx
	movq	8(%rcx), %rcx
	cmpb	$0, (%rcx,%rax)
	je	LBB0_87
LBB0_88:                                ##   in Loop: Header=BB0_47 Depth=2
	movslq	-52(%rbp), %rsi
	addq	-88(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mparse_open
	cmpl	$-1, %eax
	je	LBB0_99
## %bb.89:                              ##   in Loop: Header=BB0_47 Depth=2
	movl	%eax, %ebx
	movslq	-52(%rbp), %rdx
	addq	-88(%rbp), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mparse_readfd
	movl	%ebx, %edi
	callq	_close
	jmp	LBB0_90
	.p2align	4, 0x90
LBB0_78:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	48(%r15), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, 48(%r15)
	movq	_REPARSE_LIMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_79
## %bb.80:                              ##   in Loop: Header=BB0_47 Depth=2
	movslq	-52(%rbp), %rsi
	movq	-80(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-96(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_mparse_buf_r
	movl	%eax, %ebx
	movq	_ROFF_USERCALL@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_82
## %bb.81:                              ##   in Loop: Header=BB0_47 Depth=2
	movl	40(%r15), %edi
	callq	_roff_userret
	testl	%ebx, (%r14)
	movl	$135, %eax
	cmovnel	%eax, %ebx
LBB0_82:                                ##   in Loop: Header=BB0_47 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_91
## %bb.83:                              ##   in Loop: Header=BB0_47 Depth=2
	cmpl	$135, -56(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_91
	jmp	LBB0_105
	.p2align	4, 0x90
LBB0_72:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	32(%r15), %rdi
	movl	8(%rdi), %eax
	movq	_MACROSET_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_74
## %bb.73:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	%r15, %rdi
	callq	_choose_parser
	movq	32(%r15), %rdi
	movl	8(%rdi), %eax
LBB0_74:                                ##   in Loop: Header=BB0_47 Depth=2
	movl	(%r15), %esi
	movq	-88(%rbp), %rdx
	movl	-52(%rbp), %ecx
	movq	_MACROSET_MDOC@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_76
## %bb.75:                              ##   in Loop: Header=BB0_47 Depth=2
	callq	_mdoc_parseln
	jmp	LBB0_77
LBB0_76:                                ##   in Loop: Header=BB0_47 Depth=2
	callq	_man_parseln
LBB0_77:                                ##   in Loop: Header=BB0_47 Depth=2
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	cmpl	$2, %eax
	jne	LBB0_91
	jmp	LBB0_105
LBB0_99:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	_MANDOCERR_SO_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movl	(%r15), %eax
	movl	%eax, -124(%rbp)                ## 4-byte Spill
	movslq	-52(%rbp), %rbx
	movq	-88(%rbp), %r14
	addq	%rbx, %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	movl	-128(%rbp), %edi                ## 4-byte Reload
	movl	-124(%rbp), %esi                ## 4-byte Reload
	movq	%rbx, %rdx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %r8
	movq	_ROFF_USERRET@GOTPCREL(%rip), %r14
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_mandoc_msg
	movslq	-52(%rbp), %rdx
	addq	-88(%rbp), %rdx
	leaq	-152(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_mandoc_asprintf
	movl	%eax, -96(%rbp)
	movq	-88(%rbp), %rdi
	callq	_free
	movq	-152(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	$0, -52(%rbp)
	movq	-80(%rbp), %rax
	movq	%rax, 16(%rsp)
	movups	-96(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mparse_buf_r
LBB0_90:                                ##   in Loop: Header=BB0_47 Depth=2
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
LBB0_91:                                ##   in Loop: Header=BB0_47 Depth=2
	testq	%r12, %r12
	je	LBB0_101
## %bb.92:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	_ROFF_LOOPMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r13d, %eax
	cmpl	$134, %eax
	jne	LBB0_94
## %bb.93:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_101
LBB0_94:                                ##   in Loop: Header=BB0_47 Depth=2
	movq	_ROFF_APPEND@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	jne	LBB0_96
## %bb.95:                              ##   in Loop: Header=BB0_47 Depth=2
	movq	-88(%rbp), %rax
	movb	$0, (%rax)
LBB0_96:                                ##   in Loop: Header=BB0_47 Depth=2
	movl	-96(%rbp), %edx
	movl	(%r12), %esi
	cmpl	%esi, %edx
	jge	LBB0_98
## %bb.97:                              ##   in Loop: Header=BB0_47 Depth=2
	leaq	-96(%rbp), %rdi
	callq	_resize_buf
	movl	-96(%rbp), %edx
	jmp	LBB0_98
LBB0_101:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ROFF_APPEND@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_102
## %bb.103:                             ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rdi
	callq	_strlen
	jmp	LBB0_104
LBB0_102:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
LBB0_104:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%rbp), %r13
	movq	%rax, -48(%rbp)
	movq	-72(%rbp), %r12
	movslq	(%r13), %rcx
	movq	-136(%rbp), %r14                ## 8-byte Reload
	cmpq	%rcx, %r12
	jb	LBB0_3
	jmp	LBB0_105
LBB0_1:
	movl	$135, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_110
LBB0_54:
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_105:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_106
## %bb.107:
	movq	_ROFF_USERRET@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	cmpl	(%rax), %r14d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_109
## %bb.108:
	movq	_MANDOCERR_WHILE_OUTOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mandoc_msg
LBB0_109:
	movq	$0, 24(%r15)
	jmp	LBB0_110
LBB0_106:
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
LBB0_110:
	movq	-88(%rbp), %rdi
	callq	_free
	cmpq	16(%r15), %rbx
	je	LBB0_112
## %bb.111:
	movq	%rbx, %rdi
	callq	_free_buf_list
LBB0_112:
	movl	%r14d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_79:
	movq	_MANDOCERR_ROFFLOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	movq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_mandoc_msg
	movl	$134, -56(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_105
LBB0_87:
	movslq	-52(%rbp), %rdi
	addq	-88(%rbp), %rdi
	callq	_mandoc_strdup
	movq	32(%r15), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_105
LBB0_100:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_84, LBB0_84-LJTI0_0
.set L0_0_set_100, LBB0_100-LJTI0_0
.set L0_0_set_78, LBB0_78-LJTI0_0
.set L0_0_set_91, LBB0_91-LJTI0_0
.set L0_0_set_72, LBB0_72-LJTI0_0
LJTI0_0:
	.long	L0_0_set_84
	.long	L0_0_set_100
	.long	L0_0_set_78
	.long	L0_0_set_100
	.long	L0_0_set_100
	.long	L0_0_set_91
	.long	L0_0_set_72
	.end_data_region
                                        ## -- End function
	.comm	_MPARSE_UTF8,4,2                ## @MPARSE_UTF8
	.comm	_MPARSE_LATIN1,4,2              ## @MPARSE_LATIN1
	.comm	_MANDOCERR_CHAR_BAD,4,2         ## @MANDOCERR_CHAR_BAD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%x"

	.comm	_MANDOCERR_CHAR_UNSUPP,4,2      ## @MANDOCERR_CHAR_UNSUPP
	.comm	_ROFF_APPEND,4,2                ## @ROFF_APPEND
	.comm	_ROFF_USERCALL,4,2              ## @ROFF_USERCALL
	.comm	_ROFF_MASK,4,2                  ## @ROFF_MASK
	.comm	_ROFF_USERRET,4,2               ## @ROFF_USERRET
	.comm	_ROFF_LOOPMASK,4,2              ## @ROFF_LOOPMASK
	.comm	_MANDOCERR_WHILE_NEST,4,2       ## @MANDOCERR_WHILE_NEST
	.comm	_MANDOCERR_WHILE_FAIL,4,2       ## @MANDOCERR_WHILE_FAIL
	.comm	_MANDOCERR_WHILE_INTO,4,2       ## @MANDOCERR_WHILE_INTO
	.comm	_MACROSET_NONE,4,2              ## @MACROSET_NONE
	.comm	_MACROSET_MDOC,4,2              ## @MACROSET_MDOC
	.comm	_REPARSE_LIMIT,8,3              ## @REPARSE_LIMIT
	.comm	_MANDOCERR_ROFFLOOP,4,2         ## @MANDOCERR_ROFFLOOP
	.comm	_MPARSE_SO,4,2                  ## @MPARSE_SO
	.comm	_MANDOCERR_SO_FAIL,4,2          ## @MANDOCERR_SO_FAIL
L_.str.1:                               ## @.str.1
	.asciz	".so %s: %s"

	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	".sp\nSee the file %s.\n.sp"

	.comm	_MANDOCERR_WHILE_OUTOF,4,2      ## @MANDOCERR_WHILE_OUTOF
	.no_dead_strip	_mparse_buf_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mparse_buf_r
_mparse_buf_r:                          ; @mparse_buf_r
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x21, x3
	mov	x26, x2
	mov	x22, x1
	mov	x19, x0
	stur	x2, [x29, #-88]
	mov	w8, #256
	str	w8, [sp, #112]
	mov	w0, #256
	bl	_mandoc_malloc
	stp	x0, xzr, [sp, #120]
	ldr	w10, [x19]
	str	xzr, [sp, #96]
	ldrsw	x8, [x22]
	cmp	x8, x26
	b.ls	LBB0_98
; %bb.1:
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	mov	w23, #0
	mov	x20, #0
	mov	x0, #0
	add	x27, x19, #4
	add	x9, x19, #16
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x24, _ROFF_MASK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ROFF_MASK@GOTPAGEOFF]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	mov	w28, #134
	mov	w25, #135
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_43 Depth 2
                                        ;       Child Loop BB0_46 Depth 3
	ldr	x9, [x22, #8]
	ldrb	w9, [x9, x26]
	cmp	w9, #0
	ccmp	x0, #0, #0, eq
	b.eq	LBB0_100
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w21, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	w10, [x19]
	str	xzr, [x19, #48]
	cmp	w10, #2
	b.gt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x9, x27
	mov	x27, x10
	ldr	w9, [x9]
Lloh2:
	adrp	x10, _MPARSE_UTF8@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MPARSE_UTF8@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh5:
	adrp	x10, _MPARSE_LATIN1@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MPARSE_LATIN1@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	x1, x26
	bl	_preconv_cue
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w0, [x9]
	ldur	x26, [x29, #-88]
	ldr	w8, [x22]
	mov	x10, x27
	mov	x27, x9
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x10, x27
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x9, w8
	cmp	x26, x9
	stp	w10, w25, [sp, #32]             ; 8-byte Folded Spill
	b.lo	LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #120]
	ldr	x9, [sp, #96]
	strb	wzr, [x8, x9]
	mov	w0, #24
	bl	_mandoc_malloc
	mov	x25, x0
	ldr	x0, [sp, #120]
	bl	_mandoc_strdup
	str	x0, [x25, #8]
	ldr	x0, [sp, #120]
	bl	_strlen
	add	w8, w0, #1
	str	w8, [x25]
	str	xzr, [x25, #16]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_35
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x20, #16
Lloh8:
	adrp	x20, _ROFF_USERRET@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ROFF_USERRET@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [x8]
	b	LBB0_36
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
Lloh10:
	adrp	x8, _MANDOCERR_CHAR_BAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MANDOCERR_CHAR_BAD@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	w1, [x19]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	ldr	x2, [sp, #96]
	str	x25, [sp]
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	bl	_mandoc_msg
	ldr	x8, [sp, #120]
	ldr	x9, [sp, #96]
	add	x10, x9, #1
	str	x10, [sp, #96]
	mov	w10, #63
	strb	w10, [x8, x9]
	ldur	x8, [x29, #-88]
	add	x8, x8, #1
	stur	x8, [x29, #-88]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldur	x26, [x29, #-88]
	ldrsw	x9, [x22]
	cmp	x26, x9
	b.hs	LBB0_10
LBB0_15:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	ldrb	w25, [x8, x26]
	orr	w10, w21, w25
	cbz	w10, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w25, #13
	b.ne	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x10, x26, #1
	cmp	x10, x9
	b.hs	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	ldrb	w9, [x8, x10]
	cmp	w9, #10
	b.ne	LBB0_23
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	stur	x10, [x29, #-88]
	ldrb	w25, [x8, x10]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	x10, x26
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w25, #10
	b.eq	LBB0_95
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x26, x10
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w25, #13
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x9, [sp, #96]
	add	x9, x9, #12
	ldrsw	x10, [sp, #112]
	cmp	x9, x10
	b.ls	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x0, sp, #112
	mov	w1, #256
	bl	_resize_buf
	ldr	x8, [x22, #8]
	ldur	x26, [x29, #-88]
	ldrb	w25, [x8, x26]
LBB0_26:                                ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w25, #7, LBB0_32
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w25, #127
	b.eq	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w25, #31
	b.hi	LBB0_34
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	w25, #9
	b.eq	LBB0_34
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=2
	mov	w8, #251
	tst	w25, w8
	ccmp	w25, #10, #2, ne
Lloh15:
	adrp	x8, _MANDOCERR_CHAR_BAD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MANDOCERR_CHAR_BAD@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MANDOCERR_CHAR_UNSUPP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MANDOCERR_CHAR_UNSUPP@GOTPAGEOFF]
	csel	x8, x8, x9, hi
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	str	x25, [sp]
Lloh19:
	adrp	x3, l_.str@PAGE
Lloh20:
	add	x3, x3, l_.str@PAGEOFF
	bl	_mandoc_msg
	ldur	x8, [x29, #-88]
	add	x8, x8, #1
	stur	x8, [x29, #-88]
	cmp	w25, #13
	b.eq	LBB0_14
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [sp, #120]
	ldr	x9, [sp, #96]
	add	x10, x9, #1
	str	x10, [sp, #96]
	mov	w10, #63
	strb	w10, [x8, x9]
	b	LBB0_14
LBB0_32:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x27]
	cbz	w8, LBB0_13
; %bb.33:                               ;   in Loop: Header=BB0_15 Depth=2
	sub	x1, x29, #88
	add	x2, sp, #112
	add	x3, sp, #96
	mov	x0, x22
	mov	x4, x27
	bl	_preconv_encode
	cbnz	x0, LBB0_14
	b	LBB0_13
LBB0_34:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x9, x26, #1
	stur	x9, [x29, #-88]
	ldrb	w8, [x8, x26]
	ldr	x9, [sp, #120]
	ldr	x10, [sp, #96]
	add	x11, x10, #1
	str	x11, [sp, #96]
	strb	w8, [x9, x10]
	b	LBB0_14
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x8]
	str	x25, [sp, #48]                  ; 8-byte Folded Spill
Lloh21:
	adrp	x20, _ROFF_USERRET@GOTPAGE
Lloh22:
	ldr	x20, [x20, _ROFF_USERRET@GOTPAGEOFF]
	cbz	x9, LBB0_12
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-88]
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x22, #8]
	ldrb	w8, [x9, x8]
	cbnz	w8, LBB0_41
LBB0_38:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #96]
	add	x9, x8, #2
	ldrsw	x10, [sp, #112]
	cmp	x9, x10
	b.ls	LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #112
	mov	w1, #256
	bl	_resize_buf
	ldr	x8, [sp, #96]
LBB0_40:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #120]
	add	x10, x8, #1
	str	x10, [sp, #96]
	mov	w10, #10
	strb	w10, [x9, x8]
	ldr	x8, [sp, #120]
	ldr	x9, [sp, #96]
	strb	wzr, [x8, x9]
LBB0_41:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x25, [sp, #56]                  ; 8-byte Folded Spill
	mov	x25, #0
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x0, [sp, #120]
	ldr	x1, [x25, #8]
	bl	_strlcat
LBB0_43:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_46 Depth 3
	str	wzr, [sp, #92]
	b	LBB0_46
LBB0_44:                                ;   in Loop: Header=BB0_46 Depth=3
Lloh23:
	adrp	x8, _MANDOCERR_WHILE_FAIL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MANDOCERR_WHILE_FAIL@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	mov	x3, #0
	bl	_mandoc_msg
LBB0_45:                                ;   in Loop: Header=BB0_46 Depth=3
	ldr	w8, [x24]
	and	w8, w8, w26
	cmp	w8, #130
	b.ne	LBB0_66
LBB0_46:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_43 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w0, [x19, #40]
	ldr	w1, [x19]
	add	x2, sp, #112
	add	x3, sp, #92
	bl	_roff_parseln
	mov	x26, x0
Lloh26:
	adrp	x8, _ROFF_APPEND@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ROFF_APPEND@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=3
	orr	w8, w8, w28
	cmp	w26, w8
	cset	w0, eq
	bl	_assert
LBB0_48:                                ;   in Loop: Header=BB0_46 Depth=3
Lloh29:
	adrp	x8, _ROFF_USERCALL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ROFF_USERCALL@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_46 Depth=3
	ldr	w8, [x24]
	and	w8, w8, w26
	cmp	w8, #131
	cset	w0, eq
	bl	_assert
LBB0_50:                                ;   in Loop: Header=BB0_46 Depth=3
	ldr	w8, [x20]
	tst	w8, w26
	b.eq	LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_46 Depth=3
	orr	w8, w8, w28
	cmp	w26, w8
	cset	w0, eq
	bl	_assert
	cbz	w21, LBB0_99
LBB0_52:                                ;   in Loop: Header=BB0_46 Depth=3
Lloh32:
	adrp	x8, _ROFF_LOOPMASK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ROFF_LOOPMASK@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	and	w8, w8, w26
	sub	w9, w8, #132
	cmp	w9, #2
	b.lo	LBB0_59
; %bb.53:                               ;   in Loop: Header=BB0_46 Depth=3
	cmp	w8, #134
	b.eq	LBB0_45
; %bb.54:                               ;   in Loop: Header=BB0_46 Depth=3
	cmp	w8, #128
	b.ne	LBB0_110
; %bb.55:                               ;   in Loop: Header=BB0_46 Depth=3
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_58
; %bb.56:                               ;   in Loop: Header=BB0_46 Depth=3
	cmp	x25, x8
	b.eq	LBB0_45
; %bb.57:                               ;   in Loop: Header=BB0_46 Depth=3
Lloh35:
	adrp	x8, _MANDOCERR_WHILE_NEST@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MANDOCERR_WHILE_NEST@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	mov	x3, #0
	bl	_mandoc_msg
LBB0_58:                                ;   in Loop: Header=BB0_46 Depth=3
	mov	x25, #0
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	x8, [x19, #24]
	mov	w23, #1
	b	LBB0_45
LBB0_59:                                ;   in Loop: Header=BB0_46 Depth=3
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_44
; %bb.60:                               ;   in Loop: Header=BB0_46 Depth=3
	cbz	w23, LBB0_63
; %bb.61:                               ;   in Loop: Header=BB0_46 Depth=3
	mov	w9, #133
	tst	w26, w9
	b.eq	LBB0_64
; %bb.62:                               ;   in Loop: Header=BB0_46 Depth=3
	mov	w23, #1
	mov	x25, x8
	b	LBB0_45
LBB0_63:                                ;   in Loop: Header=BB0_46 Depth=3
Lloh38:
	adrp	x8, _MANDOCERR_WHILE_INTO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MANDOCERR_WHILE_INTO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	mov	x3, #0
	bl	_mandoc_msg
	mov	x25, #0
	b	LBB0_65
LBB0_64:                                ;   in Loop: Header=BB0_46 Depth=3
	mov	x25, #0
	mov	w23, #0
LBB0_65:                                ;   in Loop: Header=BB0_46 Depth=3
	str	xzr, [x19, #24]
	b	LBB0_45
LBB0_66:                                ;   in Loop: Header=BB0_43 Depth=2
	sub	w8, w8, #129
	cmp	w8, #6
	b.hi	LBB0_110
; %bb.67:                               ;   in Loop: Header=BB0_43 Depth=2
Lloh41:
	adrp	x11, lJTI0_0@PAGE
Lloh42:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_68
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_68:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	w8, [x19, #8]
Lloh43:
	adrp	x9, _MPARSE_SO@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MPARSE_SO@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_71
; %bb.69:                               ;   in Loop: Header=BB0_43 Depth=2
	ldur	x8, [x29, #-88]
	ldrsw	x9, [x22]
	cmp	x8, x9
	b.hs	LBB0_109
; %bb.70:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	x9, [x22, #8]
	ldrb	w8, [x9, x8]
	cbz	w8, LBB0_109
LBB0_71:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x8, [sp, #120]
	ldrsw	x9, [sp, #92]
	add	x1, x8, x9
	mov	x0, x19
	bl	_mparse_open
	cmn	w0, #1
	b.eq	LBB0_84
; %bb.72:                               ;   in Loop: Header=BB0_43 Depth=2
	mov	x27, x0
	ldr	x8, [sp, #120]
	ldrsw	x9, [sp, #92]
	add	x2, x8, x9
	mov	x0, x19
	mov	x1, x27
	bl	_mparse_readfd
	mov	x0, x27
	bl	_close
	b	LBB0_85
LBB0_73:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x8, [x19, #48]
	add	x9, x8, #1
	str	x9, [x19, #48]
Lloh46:
	adrp	x9, _REPARSE_LIMIT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _REPARSE_LIMIT@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_108
; %bb.74:                               ;   in Loop: Header=BB0_43 Depth=2
	ldrsw	x2, [sp, #92]
	ldr	q0, [sp, #112]
	str	q0, [sp, #64]
	ldr	x8, [sp, #128]
	str	x8, [sp, #80]
	add	x1, sp, #64
	mov	x0, x19
	mov	w3, #0
	bl	_mparse_buf_r
	mov	x27, x0
Lloh49:
	adrp	x8, _ROFF_USERCALL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ROFF_USERCALL@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_76
; %bb.75:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	w0, [x19, #40]
	bl	_roff_userret
	ldr	w8, [x20]
	tst	w8, w27
	mov	w8, #135
	csel	w27, w27, w8, eq
LBB0_76:                                ;   in Loop: Header=BB0_43 Depth=2
	str	w27, [sp, #36]                  ; 4-byte Folded Spill
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
	cbnz	w21, LBB0_86
; %bb.77:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, #135
	b.eq	LBB0_86
	b	LBB0_107
LBB0_78:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x0, [x19, #32]
	ldr	w8, [x0, #8]
Lloh52:
	adrp	x9, _MACROSET_NONE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _MACROSET_NONE@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_80
; %bb.79:                               ;   in Loop: Header=BB0_43 Depth=2
	mov	x0, x19
	bl	_choose_parser
	ldr	x0, [x19, #32]
	ldr	w8, [x0, #8]
LBB0_80:                                ;   in Loop: Header=BB0_43 Depth=2
Lloh55:
	adrp	x9, _MACROSET_MDOC@GOTPAGE
Lloh56:
	ldr	x9, [x9, _MACROSET_MDOC@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	ldr	w1, [x19]
	ldr	x2, [sp, #120]
	ldr	w3, [sp, #92]
	cmp	w8, w9
	b.ne	LBB0_82
; %bb.81:                               ;   in Loop: Header=BB0_43 Depth=2
	bl	_mdoc_parseln
	b	LBB0_83
LBB0_82:                                ;   in Loop: Header=BB0_43 Depth=2
	bl	_man_parseln
LBB0_83:                                ;   in Loop: Header=BB0_43 Depth=2
	cmp	w0, #2
	b.ne	LBB0_86
	b	LBB0_107
LBB0_84:                                ;   in Loop: Header=BB0_43 Depth=2
Lloh58:
	adrp	x8, _MANDOCERR_SO_FAIL@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MANDOCERR_SO_FAIL@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x8]
	ldr	w8, [x19]
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
	ldrsw	x20, [sp, #92]
	ldr	x8, [sp, #120]
	add	x27, x8, x20
Lloh61:
	adrp	x8, _errno@GOTPAGE
Lloh62:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x27, x0, [sp]
	ldp	w1, w0, [sp, #16]               ; 8-byte Folded Reload
	mov	x2, x20
Lloh64:
	adrp	x20, _ROFF_USERRET@GOTPAGE
Lloh65:
	ldr	x20, [x20, _ROFF_USERRET@GOTPAGEOFF]
Lloh66:
	adrp	x3, l_.str.1@PAGE
Lloh67:
	add	x3, x3, l_.str.1@PAGEOFF
	bl	_mandoc_msg
	ldr	x8, [sp, #120]
	ldrsw	x9, [sp, #92]
	add	x2, x8, x9
	add	x0, sp, #104
Lloh68:
	adrp	x1, l_.str.2@PAGE
Lloh69:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_mandoc_asprintf
	str	w0, [sp, #112]
	ldr	x0, [sp, #120]
	bl	_free
	ldr	x8, [sp, #104]
	str	x8, [sp, #120]
	str	wzr, [sp, #92]
	ldr	q0, [sp, #112]
	str	q0, [sp, #64]
	ldr	x8, [sp, #128]
	str	x8, [sp, #80]
	add	x1, sp, #64
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_mparse_buf_r
LBB0_85:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
LBB0_86:                                ;   in Loop: Header=BB0_43 Depth=2
	cbz	x25, LBB0_93
; %bb.87:                               ;   in Loop: Header=BB0_43 Depth=2
Lloh70:
	adrp	x8, _ROFF_LOOPMASK@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ROFF_LOOPMASK@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	and	w8, w8, w26
	cmp	w8, #134
	b.ne	LBB0_89
; %bb.88:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_93
LBB0_89:                                ;   in Loop: Header=BB0_43 Depth=2
Lloh73:
	adrp	x8, _ROFF_APPEND@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ROFF_APPEND@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	tst	w8, w26
	b.ne	LBB0_91
; %bb.90:                               ;   in Loop: Header=BB0_43 Depth=2
	ldr	x8, [sp, #120]
	strb	wzr, [x8]
LBB0_91:                                ;   in Loop: Header=BB0_43 Depth=2
	ldr	w2, [sp, #112]
	ldr	w1, [x25]
	cmp	w2, w1
	b.ge	LBB0_42
; %bb.92:                               ;   in Loop: Header=BB0_43 Depth=2
	add	x0, sp, #112
	bl	_resize_buf
	ldr	w2, [sp, #112]
	b	LBB0_42
LBB0_93:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh76:
	adrp	x8, _ROFF_APPEND@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ROFF_APPEND@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_96
; %bb.94:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #120]
	bl	_strlen
	b	LBB0_97
LBB0_95:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x10, #1
	stur	x8, [x29, #-88]
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #32]                   ; 4-byte Folded Spill
	b	LBB0_10
LBB0_96:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
LBB0_97:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w10, w25, [sp, #32]             ; 8-byte Folded Reload
	str	x0, [sp, #96]
	ldur	x26, [x29, #-88]
	ldrsw	x9, [x22]
	mov	x8, x9
	ldr	x20, [sp, #56]                  ; 8-byte Folded Reload
	cmp	x26, x9
	b.lo	LBB0_2
	b	LBB0_100
LBB0_98:
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	mov	w25, #135
	b	LBB0_104
LBB0_99:
	ldr	w25, [x20]
LBB0_100:
	cbz	w23, LBB0_104
; %bb.101:
Lloh79:
	adrp	x8, _ROFF_USERRET@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ROFF_USERRET@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	cmp	w25, w8
	b.eq	LBB0_103
; %bb.102:
Lloh82:
	adrp	x8, _MANDOCERR_WHILE_OUTOF@GOTPAGE
Lloh83:
	ldr	x8, [x8, _MANDOCERR_WHILE_OUTOF@GOTPAGEOFF]
Lloh84:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	mov	x3, #0
	bl	_mandoc_msg
LBB0_103:
	str	xzr, [x19, #24]
LBB0_104:
	ldr	x0, [sp, #120]
	bl	_free
	ldr	x8, [x19, #16]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x9, x8
	b.eq	LBB0_106
; %bb.105:
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_free_buf_list
LBB0_106:
	mov	x0, x25
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_107:
	ldr	w25, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_100
LBB0_108:
Lloh85:
	adrp	x8, _MANDOCERR_ROFFLOOP@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MANDOCERR_ROFFLOOP@GOTPAGEOFF]
Lloh87:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	x2, [sp, #96]
	mov	x3, #0
	bl	_mandoc_msg
	mov	w25, #134
	b	LBB0_100
LBB0_109:
	ldr	x8, [sp, #120]
	ldrsw	x9, [sp, #92]
	add	x0, x8, x9
	bl	_mandoc_strdup
	ldr	x8, [x19, #32]
	str	x0, [x8]
	ldr	w25, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_100
LBB0_110:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_68-LBB0_68)>>2
	.byte	(LBB0_110-LBB0_68)>>2
	.byte	(LBB0_73-LBB0_68)>>2
	.byte	(LBB0_110-LBB0_68)>>2
	.byte	(LBB0_110-LBB0_68)>>2
	.byte	(LBB0_86-LBB0_68)>>2
	.byte	(LBB0_78-LBB0_68)>>2
                                        ; -- End function
	.comm	_MPARSE_UTF8,4,2                ; @MPARSE_UTF8
	.comm	_MPARSE_LATIN1,4,2              ; @MPARSE_LATIN1
	.comm	_MANDOCERR_CHAR_BAD,4,2         ; @MANDOCERR_CHAR_BAD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%x"

	.comm	_MANDOCERR_CHAR_UNSUPP,4,2      ; @MANDOCERR_CHAR_UNSUPP
	.comm	_ROFF_APPEND,4,2                ; @ROFF_APPEND
	.comm	_ROFF_USERCALL,4,2              ; @ROFF_USERCALL
	.comm	_ROFF_MASK,4,2                  ; @ROFF_MASK
	.comm	_ROFF_USERRET,4,2               ; @ROFF_USERRET
	.comm	_ROFF_LOOPMASK,4,2              ; @ROFF_LOOPMASK
	.comm	_MANDOCERR_WHILE_NEST,4,2       ; @MANDOCERR_WHILE_NEST
	.comm	_MANDOCERR_WHILE_FAIL,4,2       ; @MANDOCERR_WHILE_FAIL
	.comm	_MANDOCERR_WHILE_INTO,4,2       ; @MANDOCERR_WHILE_INTO
	.comm	_MACROSET_NONE,4,2              ; @MACROSET_NONE
	.comm	_MACROSET_MDOC,4,2              ; @MACROSET_MDOC
	.comm	_REPARSE_LIMIT,8,3              ; @REPARSE_LIMIT
	.comm	_MANDOCERR_ROFFLOOP,4,2         ; @MANDOCERR_ROFFLOOP
	.comm	_MPARSE_SO,4,2                  ; @MPARSE_SO
	.comm	_MANDOCERR_SO_FAIL,4,2          ; @MANDOCERR_SO_FAIL
l_.str.1:                               ; @.str.1
	.asciz	".so %s: %s"

	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	".sp\nSee the file %s.\n.sp"

	.comm	_MANDOCERR_WHILE_OUTOF,4,2      ; @MANDOCERR_WHILE_OUTOF
	.no_dead_strip	_mparse_buf_r
.subsections_via_symbols
