	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roff_getname
_roff_getname:                          ## @roff_getname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %r9
	cmpb	$0, (%r9)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	%r9, %rax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -24(%rbp)
	movzbl	(%rax), %ebx
	cmpb	$91, %bl
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$92, %bl
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	1(%rax), %ebx
	cmpb	$123, %bl
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$125, %bl
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rax), %r8
	movq	%r8, -24(%rbp)
	cmpb	$92, (%r8)
	jne	LBB0_21
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r8, %rax
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	testb	%bl, %bl
	je	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$9, %bl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$32, %bl
	jne	LBB0_13
LBB0_7:
	movq	%rax, %rbx
	subq	%r9, %rbx
	incq	%rax
	movq	%rax, -24(%rbp)
	cmpb	$32, (%rax)
	je	LBB0_16
	jmp	LBB0_19
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_14:
	movq	%rax, %rbx
	subq	%r9, %rbx
	cmpb	$32, (%rax)
	je	LBB0_16
	jmp	LBB0_19
LBB0_21:
	movq	%rax, %rbx
	subq	%r9, %rbx
	movq	_MANDOCERR_NAMESC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subl	%r9d, %r8d
	incl	%r8d
	leaq	L_.str(%rip), %rax
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%rax, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_mandoc_msg
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mandoc_escape
	movq	-24(%rbp), %rax
	cmpb	$32, (%rax)
	jne	LBB0_19
LBB0_16:
	incq	%rax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -24(%rbp)
	cmpb	$32, (%rax)
	leaq	1(%rax), %rax
	je	LBB0_17
## %bb.18:
	decq	%rax
LBB0_19:
	movq	%rax, (%r14)
LBB0_20:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MANDOCERR_NAMESC,4,2           ## @MANDOCERR_NAMESC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s"

	.no_dead_strip	_roff_getname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_getname
_roff_getname:                          ; @roff_getname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x5, [x1]
	ldrb	w8, [x5]
	cbz	w8, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x8, x5
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #91
	b.le	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #92
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, x8
	ldrb	w10, [x9, #1]!
	cmp	w10, #123
	b.eq	LBB0_14
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w10, #125
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [sp, #8]
	ldrb	w10, [x9]
	cmp	w10, #92
	b.ne	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x9
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w9, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #9
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #32
	b.ne	LBB0_2
LBB0_12:
	sub	x20, x8, x5
	add	x8, x8, #1
	str	x8, [sp, #8]
	b	LBB0_16
LBB0_13:
	mov	x20, #0
	b	LBB0_21
LBB0_14:
	sub	x20, x8, x5
	b	LBB0_16
LBB0_15:
	sub	x20, x8, x5
Lloh0:
	adrp	x8, _MANDOCERR_NAMESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MANDOCERR_NAMESC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	sub	w8, w9, w5
	add	w4, w8, #1
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	mov	x1, x2
	mov	x2, x3
	mov	x3, x8
	bl	_mandoc_msg
	add	x0, sp, #8
	mov	x1, #0
	mov	x2, #0
	bl	_mandoc_escape
	ldr	x8, [sp, #8]
LBB0_16:
	ldrb	w9, [x8]
	cmp	w9, #32
	b.ne	LBB0_20
; %bb.17:
	add	x8, x8, #1
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	str	x8, [sp, #8]
	ldrb	w9, [x8], #1
	cmp	w9, #32
	b.eq	LBB0_18
; %bb.19:
	sub	x8, x8, #1
LBB0_20:
	str	x8, [x19]
LBB0_21:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MANDOCERR_NAMESC,4,2           ; @MANDOCERR_NAMESC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s"

	.no_dead_strip	_roff_getname
.subsections_via_symbols
