	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roff_setregn
_roff_setregn:                          ## @roff_setregn
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, 16(%rbx)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	24(%rbx), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_4
## %bb.6:
	cmpb	$45, %r12b
	je	LBB0_9
LBB0_7:
	cmpb	$43, %r12b
	jne	LBB0_10
## %bb.8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, (%rbx)
	jmp	LBB0_11
LBB0_5:
	movl	$32, %edi
	callq	_mandoc_malloc
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mandoc_strndup
	movl	%eax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	$0, (%rbx)
	movq	(%r13), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, (%r13)
	cmpb	$45, %r12b
	jne	LBB0_7
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, (%rbx)
	jmp	LBB0_11
LBB0_10:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
LBB0_11:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_13
## %bb.12:
	movl	%ecx, 4(%rbx)
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MIN,4,2                    ## @INT_MIN
	.no_dead_strip	_roff_setregn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_setregn
_roff_setregn:                          ; @roff_setregn
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x25, x1
	mov	x24, x0
	ldr	x20, [x0]
	cbnz	x20, LBB0_3
LBB0_1:
	mov	w0, #32
	bl	_mandoc_malloc
	mov	x20, x0
	mov	x0, x25
	mov	x1, x23
	bl	_mandoc_strndup
	str	w0, [x20, #24]
	str	xzr, [x20]
	ldr	x8, [x24]
	stp	x8, x23, [x20, #8]
	str	x20, [x24]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	cmp	x8, x23
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #24]
	mov	x1, x25
	mov	x2, x23
	bl	_strncmp
	cbnz	x0, LBB0_2
LBB0_5:
	cmp	w22, #45
	b.eq	LBB0_8
; %bb.6:
	cmp	w22, #43
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x20]
	add	w8, w8, w21
	str	w8, [x20]
	b	LBB0_10
LBB0_8:
	ldr	w8, [x20]
	sub	w8, w8, w21
	str	w8, [x20]
	b	LBB0_10
LBB0_9:
	str	w21, [x20]
LBB0_10:
Lloh0:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_12
; %bb.11:
	str	w19, [x20, #4]
LBB0_12:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MIN,4,2                    ; @INT_MIN
	.no_dead_strip	_roff_setregn
.subsections_via_symbols
