	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roff_getregn
_roff_getregn:                          ## @roff_getregn
	.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	%ecx, %r12d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	cmpq	$2, %rdx
	jne	LBB0_3
## %bb.1:
	cmpb	$46, (%r14)
	jne	LBB0_3
## %bb.2:
	leaq	1(%r14), %rsi
	movq	%r15, %rdi
	callq	_roff_getregro
	movl	%eax, %r13d
	cmpl	$-1, %eax
	jne	LBB0_14
LBB0_3:
	movl	%r12d, %r13d
	movq	(%r15), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %r12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r12, %r12
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rbx, 8(%r12)
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%r12), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:
	movsbl	%r13b, %eax
	cmpl	$43, %eax
	je	LBB0_10
## %bb.8:
	cmpl	$45, %eax
	jne	LBB0_9
## %bb.11:
	movl	(%r12), %r13d
	subl	4(%r12), %r13d
	movl	%r13d, (%r12)
	jmp	LBB0_14
LBB0_13:
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_roff_setregn
LBB0_14:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%r12), %r13d
	addl	4(%r12), %r13d
	movl	%r13d, (%r12)
	jmp	LBB0_14
LBB0_9:
	movl	(%r12), %r13d
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MIN,4,2                    ## @INT_MIN
	.no_dead_strip	_roff_getregn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_getregn
_roff_getregn:                          ; @roff_getregn
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	cmp	x2, #2
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x21]
	cmp	w8, #46
	b.ne	LBB0_3
; %bb.2:
	add	x1, x21, #1
	mov	x0, x22
	bl	_roff_getregro
	cmn	w0, #1
	b.ne	LBB0_5
LBB0_3:
	ldr	x23, [x22]
	cbnz	x23, LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	w3, #0
	mov	w4, #0
	bl	_roff_setregn
	mov	w0, #0
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x23, [x23, #24]
	cbz	x23, LBB0_4
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	cmp	x8, x19
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x23, #16]
	mov	x0, x21
	mov	x2, x19
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.9:
	cmp	w20, #43
	b.eq	LBB0_12
; %bb.10:
	cmp	w20, #45
	b.ne	LBB0_13
; %bb.11:
	ldp	w9, w8, [x23]
	sub	w0, w9, w8
	str	w0, [x23]
	b	LBB0_5
LBB0_12:
	ldp	w9, w8, [x23]
	add	w0, w9, w8
	str	w0, [x23]
	b	LBB0_5
LBB0_13:
	ldr	w0, [x23]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MIN,4,2                    ; @INT_MIN
	.no_dead_strip	_roff_getregn
.subsections_via_symbols
