	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function roff_getnum
LCPI0_0:
	.quad	0x400451eb851eb852              ## double 2.54
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_roff_getnum:                           ## @roff_getnum
	.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	%rdi, %r12
	testq	%rdx, %rdx
	leaq	-60(%rbp), %r13
	cmovneq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movslq	(%rsi), %rax
	movb	(%rdi,%rax), %dl
	xorl	%r15d, %r15d
	cmpb	$45, %dl
	sete	%bl
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	cmpb	$43, %dl
	sete	%dl
	movb	%bl, -42(%rbp)                  ## 1-byte Spill
	orb	%bl, %dl
	movzbl	%dl, %esi
	leal	(%rax,%rsi), %ebx
	movq	_ROFFNUM_WHITE@GOTPCREL(%rip), %rdx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testl	%ecx, (%rdx)
	je	LBB0_3
## %bb.1:
	movslq	%ebx, %r14
	leal	(%rax,%rsi), %ebx
	decl	%ebx
	addq	%r12, %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %edi
	callq	_isspace
	incl	%ebx
	incq	%r14
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movb	-42(%rbp), %al                  ## 1-byte Reload
	movb	%al, %r15b
	movl	$0, (%r13)
	movslq	%ebx, %rax
	leaq	(%r12,%rax), %r14
	movzbl	(%r12,%rax), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	leal	(%rax,%rax,4), %eax
	movsbl	(%r14), %ecx
	leal	(%rcx,%rax,2), %eax
	addl	$-48, %eax
	movl	%eax, (%r13)
	movzbl	1(%r14), %edi
	incq	%r14
	callq	_isdigit
	incl	%ebx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_6:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addl	(%rdx), %r15d
	xorl	%eax, %eax
	cmpl	%r15d, %ebx
	je	LBB0_23
## %bb.7:
	cmpb	$45, -41(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_9
## %bb.8:
	negl	(%r13)
LBB0_9:
	movsbl	(%r14), %eax
	addl	$-77, %eax
	cmpl	$41, %eax
	ja	LBB0_19
## %bb.10:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movl	(%r13), %eax
	shll	$3, %eax
	leal	(%rax,%rax,4), %eax
	jmp	LBB0_20
LBB0_15:
	movl	(%r13), %eax
	shll	$3, %eax
	leal	(%rax,%rax,2), %eax
	jmp	LBB0_20
LBB0_18:
	movl	(%r13), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,2), %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$35, %rax
	addl	%ecx, %eax
	jmp	LBB0_20
LBB0_19:
	movl	(%r13), %eax
	decl	%ebx
	jmp	LBB0_20
LBB0_13:
	imull	$240, (%r13), %eax
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	jmp	LBB0_20
LBB0_11:
	movl	(%r13), %eax
	shll	$16, %eax
	jmp	LBB0_20
LBB0_12:
	imull	$240, (%r13), %eax
	jmp	LBB0_20
LBB0_16:
	movl	(%r13), %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	jmp	LBB0_20
LBB0_17:
	movl	(%r13), %eax
LBB0_20:
	movq	_ROFFNUM_SCALE@GOTPCREL(%rip), %rcx
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	testl	%esi, (%rcx)
	je	LBB0_22
## %bb.21:
	movl	%eax, (%r13)
LBB0_22:
	incl	%ebx
	movl	%ebx, (%rdx)
	movl	$1, %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_18
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_14
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_13
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_11
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_12
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_19
	.long	L0_0_set_17
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_ROFFNUM_WHITE,4,2              ## @ROFFNUM_WHITE
	.comm	_ROFFNUM_SCALE,4,2              ## @ROFFNUM_SCALE
	.no_dead_strip	_roff_getnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roff_getnum
_roff_getnum:                           ; @roff_getnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x19, x1
	mov	x21, x0
	add	x8, sp, #12
	cmp	x2, #0
	csel	x22, x8, x2, eq
	ldrsw	x8, [x1]
	ldrb	w24, [x0, x8]
	cmp	w24, #45
	cset	w25, eq
	cmp	w24, #43
	cset	w9, eq
	orr	w9, w25, w9
	add	w23, w8, w9
Lloh0:
	adrp	x8, _ROFFNUM_WHITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROFFNUM_WHITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_3
; %bb.1:
	add	x26, x21, w23, sxtw
	sub	w23, w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w0, [x26], #1
	bl	_isspace
	add	w23, w23, #1
	cbnz	x0, LBB0_2
LBB0_3:
	str	wzr, [x22]
	add	x21, x21, w23, sxtw
	ldrb	w0, [x21]
	bl	_isdigit
	cbz	x0, LBB0_6
; %bb.4:
	mov	w26, #10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldrsb	w9, [x21]
	madd	w8, w8, w26, w9
	sub	w8, w8, #48
	str	w8, [x22]
	ldrb	w0, [x21, #1]!
	bl	_isdigit
	add	w23, w23, #1
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, w25
	cmp	w23, w8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_24
LBB0_8:
	cmp	w24, #45
	b.ne	LBB0_10
; %bb.9:
	ldr	w8, [x22]
	neg	w8, w8
	str	w8, [x22]
LBB0_10:
	ldrsb	w8, [x21]
	sub	w8, w8, #77
	cmp	w8, #41
	b.hi	LBB0_15
; %bb.11:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_12
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_12:
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #3
	b	LBB0_21
LBB0_13:
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #3
	b	LBB0_21
LBB0_14:
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #1
	lsl	w8, w8, #1
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #35
	add	w8, w8, w9
	b	LBB0_21
LBB0_15:
	ldr	w8, [x22]
	sub	w23, w23, #1
	b	LBB0_21
LBB0_16:
	ldr	w8, [x22]
	mov	w9, #240
	mul	w8, w8, w9
	scvtf	d0, w8
	mov	x8, #47186
	movk	x8, #34078, lsl #16
	movk	x8, #20971, lsl #32
	movk	x8, #16388, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w8, d0
	b	LBB0_21
LBB0_17:
	ldr	w8, [x22]
	lsl	w8, w8, #16
	b	LBB0_21
LBB0_18:
	ldr	w8, [x22]
	mov	w9, #240
	mul	w8, w8, w9
	b	LBB0_21
LBB0_19:
	ldr	w8, [x22]
	add	w8, w8, w8, lsl #2
	lsl	w8, w8, #1
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	b	LBB0_21
LBB0_20:
	ldr	w8, [x22]
LBB0_21:
Lloh5:
	adrp	x9, _ROFFNUM_SCALE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ROFFNUM_SCALE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w20
	b.eq	LBB0_23
; %bb.22:
	str	w8, [x22]
LBB0_23:
	add	w8, w23, #1
	str	w8, [x19]
	mov	w0, #1
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_17-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_18-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_19-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
                                        ; -- End function
	.comm	_ROFFNUM_WHITE,4,2              ; @ROFFNUM_WHITE
	.comm	_ROFFNUM_SCALE,4,2              ; @ROFFNUM_SCALE
	.no_dead_strip	_roff_getnum
.subsections_via_symbols
