	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deroff                         ## -- Begin function deroff
	.p2align	4, 0x90
_deroff:                                ## @deroff
	.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	%rdi, %r14
	movq	(%rsi), %rax
	movq	_ROFFT_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	8(%rsi), %r12
	leaq	L_.str(%rip), %r15
	jmp	LBB0_5
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	movq	%r12, -40(%rbp)
	incq	%r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -40(%rbp)
	movzbl	(%r12), %eax
	cmpb	$92, %al
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	jne	LBB0_13
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%r12), %eax
	testb	%al, %al
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%al, %esi
	movq	%r15, %rdi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_24
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%r12), %eax
	jmp	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$92, %al
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edi
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_7
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	jmp	LBB0_5
LBB0_1:
	movq	24(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_deroff
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_23
LBB0_7:
	movq	%r12, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_8
## %bb.15:
	leaq	-1(%rax), %rbx
	cmpb	$92, -1(%r12,%rax)
	cmovneq	%rax, %rbx
	jmp	LBB0_16
LBB0_8:
	xorl	%ebx, %ebx
LBB0_16:
	incq	%rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, %rbx
	je	LBB0_23
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movzbl	-2(%r12,%rbx), %edi
	callq	_isspace
	decq	%rbx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.19:
	movq	(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.21:
	leaq	L_.str.1(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movl	%ebx, %ecx
	movq	%r12, %r8
	callq	_mandoc_asprintf
	movq	(%r14), %rdi
	callq	_free
	movq	-40(%rbp), %rax
	jmp	LBB0_22
LBB0_20:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mandoc_strndup
LBB0_22:
	movq	%rax, (%r14)
LBB0_23:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROFFT_TEXT,8,3                 ## @ROFFT_TEXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" %&0^|~"

L_.str.1:                               ## @.str.1
	.asciz	"%s %*s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deroff                         ; -- Begin function deroff
	.p2align	2
_deroff:                                ; @deroff
	.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	x19, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _ROFFT_TEXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ROFFT_TEXT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.1:
	ldr	x20, [x1, #8]
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x22, [sp, #8]
	mov	x20, x22
	add	x20, x22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x20, [sp, #8]
	ldrb	w0, [x20]
	cmp	w0, #92
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w0, LBB0_9
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x20
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w1, w8
	mov	x0, x21
	bl	_strchr
	cbnz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w0, [x20]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #92
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_isspace
	cbz	w0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	b	LBB0_3
LBB0_11:
	ldr	x20, [x1, #24]
	cbz	x20, LBB0_23
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_deroff
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_12
	b	LBB0_23
LBB0_13:
	mov	x0, x20
	bl	_strlen
	cbz	x0, LBB0_15
; %bb.14:
	sub	x8, x0, #1
	ldrb	w9, [x20, x8]
	cmp	w9, #92
	csel	x8, x8, x0, eq
	b	LBB0_16
LBB0_15:
	mov	x8, #0
LBB0_16:
	sub	x21, x8, #1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	cmn	x21, #1
	b.eq	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldrb	w0, [x20, x21]
	bl	_isspace
	sub	x21, x21, #1
	cbnz	w0, LBB0_17
; %bb.19:
	ldr	x2, [x19]
	cbz	x2, LBB0_21
; %bb.20:
	add	w3, w21, #2
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x4, x20
	bl	_mandoc_asprintf
	ldr	x0, [x19]
	bl	_free
	ldr	x0, [sp, #8]
	b	LBB0_22
LBB0_21:
	add	x1, x21, #2
	mov	x0, x20
	bl	_mandoc_strndup
LBB0_22:
	str	x0, [x19]
LBB0_23:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ROFFT_TEXT,8,3                 ; @ROFFT_TEXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" %&0^|~"

l_.str.1:                               ; @.str.1
	.asciz	"%s %*s"

.subsections_via_symbols
