	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_mdoc
_parse_mdoc:                            ## @parse_mdoc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.1:
	movq	_TOKEN_NONE@GOTPCREL(%rip), %r12
	movq	_MDOC_Dd@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ROFF_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r14), %rax
	setge	%cl
	movq	_MDOC_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setl	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_assert
	movq	_mdoc_handlers@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%rbx), %r13
	subq	(%r14), %r13
	shlq	$4, %r13
	movl	(%r15,%r13), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%r13), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15,%r13), %edx
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%r13, %r15
	movq	16(%rbx), %rsi
	movl	(%r15), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_putmdockey
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_parse_mdoc
	jmp	LBB0_12
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOKEN_NONE,8,3                 ## @TOKEN_NONE
	.comm	_ROFF_MAX,8,3                   ## @ROFF_MAX
	.comm	_MDOC_Dd,8,3                    ## @MDOC_Dd
	.comm	_MDOC_MAX,8,3                   ## @MDOC_MAX
	.comm	_mdoc_handlers,8,3              ## @mdoc_handlers
	.no_dead_strip	_parse_mdoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_mdoc
_parse_mdoc:                            ; @parse_mdoc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x21, [x2, #16]
	cbz	x21, LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _TOKEN_NONE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _TOKEN_NONE@GOTPAGEOFF]
Lloh2:
	adrp	x23, _ROFF_MAX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ROFF_MAX@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MDOC_Dd@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MDOC_Dd@GOTPAGEOFF]
Lloh6:
	adrp	x25, _MDOC_MAX@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MDOC_MAX@GOTPAGEOFF]
Lloh8:
	adrp	x26, _mdoc_handlers@GOTPAGE
Lloh9:
	ldr	x26, [x26, _mdoc_handlers@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #8, ne
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x24]
	cmp	x8, x9
	ldr	x9, [x25]
	ccmp	x8, x9, #0, ge
	cset	w0, lt
	bl	_assert
	ldr	x8, [x26]
	ldr	x9, [x21]
	ldr	x10, [x24]
	sub	x9, x9, x10
	ldr	w10, [x21, #8]
	add	x27, x8, x9, lsl #4
	ldr	w11, [x27]
	tst	w11, w10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x21, #12]
	sub	w10, w10, #128
	cmp	w10, #4
	b.hi	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x28, x8, x9, lsl #4
	ldr	x8, [x28, #8]
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	blr	x8
	cbz	w0, LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w2, [x28, #4]
	cbz	w2, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x21, #16]
	ldr	w3, [x27]
	mov	x0, x20
	bl	_putmdockey
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_parse_mdoc
	b	LBB0_2
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TOKEN_NONE,8,3                 ; @TOKEN_NONE
	.comm	_ROFF_MAX,8,3                   ; @ROFF_MAX
	.comm	_MDOC_Dd,8,3                    ; @MDOC_Dd
	.comm	_MDOC_MAX,8,3                   ; @MDOC_MAX
	.comm	_mdoc_handlers,8,3              ; @mdoc_handlers
	.no_dead_strip	_parse_mdoc
.subsections_via_symbols
