	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roff_parse
_roff_parse:                            ## @roff_parse
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movslq	(%rdx), %rax
	leaq	(%rsi,%rax), %r12
	movq	%r12, -56(%rbp)
	movzbl	(%rsi,%rax), %eax
	cmpq	$34, %rax
	ja	LBB0_3
## %bb.1:
	movabsq	$21474836993, %rdx              ## imm = 0x500000201
	btq	%rax, %rdx
	jae	LBB0_3
## %bb.2:
	movq	_TOKEN_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_12:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	callq	_roff_getname
	movq	%rax, %r13
	movl	$129, -44(%rbp)
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_roff_getstrn
	movl	%eax, 12(%r14)
	movl	-44(%rbp), %eax
	cmpl	$129, %eax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.5:
	movq	_ROFF_USERDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_8
LBB0_6:
	movq	_ROFF_RENAMED@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_8
LBB0_7:
	movl	8(%r14), %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_roffhash_find
	movl	%eax, %r13d
LBB0_8:
	movq	_TOKEN_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_9
## %bb.10:
	movl	-44(%rbp), %eax
	movq	_ROFFDEF_UNDEF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.11:
	leaq	4(%r14), %rdi
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_roff_setstrn
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_roff_setstrn
	jmp	LBB0_12
LBB0_9:
	movl	-56(%rbp), %eax
	subl	%ebx, %eax
	movl	%eax, (%r15)
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_TOKEN_NONE,4,2                 ## @TOKEN_NONE
	.comm	_ROFF_USERDEF,4,2               ## @ROFF_USERDEF
	.comm	_ROFF_RENAMED,4,2               ## @ROFF_RENAMED
	.comm	_ROFFDEF_UNDEF,4,2              ## @ROFFDEF_UNDEF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_roff_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_parse
_roff_parse:                            ; @roff_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldrsw	x8, [x2]
	add	x20, x1, x8
	str	x20, [sp, #8]
	ldrb	w8, [x20]
	cmp	w8, #34
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #513
	movk	x9, #5, lsl #32
	and	x8, x8, x9
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _TOKEN_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOKEN_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
LBB0_2:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x1, sp, #8
	mov	x2, x3
	mov	x3, x4
	bl	_roff_getname
	mov	x23, x0
	mov	w8, #129
	str	w8, [sp, #4]
	add	x3, sp, #4
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_roff_getstrn
	str	w0, [x19, #12]
	ldr	w8, [sp, #4]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _ROFF_USERDEF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROFF_USERDEF@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	b	LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ROFF_RENAMED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROFF_RENAMED@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	x2, x23
	bl	_roffhash_find
	mov	x24, x0
LBB0_8:
Lloh9:
	adrp	x8, _TOKEN_NONE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOKEN_NONE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_11
; %bb.9:
	ldr	w8, [sp, #4]
Lloh12:
	adrp	x9, _ROFFDEF_UNDEF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ROFFDEF_UNDEF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.10:
	add	x0, x19, #4
Lloh15:
	adrp	x3, l_.str@PAGE
Lloh16:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x23
	mov	w4, #0
	mov	w5, #0
	bl	_roff_setstrn
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_roff_setstrn
	b	LBB0_2
LBB0_11:
	ldr	w8, [sp, #8]
	sub	w8, w8, w22
	str	w8, [x21]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_TOKEN_NONE,4,2                 ; @TOKEN_NONE
	.comm	_ROFF_USERDEF,4,2               ; @ROFF_USERDEF
	.comm	_ROFF_RENAMED,4,2               ; @ROFF_RENAMED
	.comm	_ROFFDEF_UNDEF,4,2              ; @ROFFDEF_UNDEF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_roff_parse
.subsections_via_symbols
