	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getnum
_getnum:                                ## @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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	$0, (%r14)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	testq	%r13, %r13
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%r13, %rcx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_DX
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_strtol
	testq	%rax, %rax
	js	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	-48(%rbp), %r12
	testq	%r12, %r12
	je	LBB0_20
## %bb.8:
	movb	(%r12), %al
	leal	-75(%rax), %ecx
	cmpb	$44, %cl
	ja	LBB0_9
## %bb.11:
	movzbl	%cl, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:
	imulq	$1000, %r15, %r15               ## imm = 0x3E8
	jmp	LBB0_17
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_DX
LBB0_6:
	testq	%rbx, %rbx
	leaq	L_.str.4(%rip), %rdx
	cmovneq	%rbx, %rdx
	testq	%r13, %r13
	leaq	L_.str.5(%rip), %rcx
	cmovneq	%r13, %rcx
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_DX
LBB0_20:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	testb	%al, %al
	je	LBB0_20
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_D
	decq	%r12
	jmp	LBB0_17
LBB0_14:
	imulq	$1000000, %r15, %r15            ## imm = 0xF4240
	jmp	LBB0_17
LBB0_15:
	shlq	$10, %r15
	jmp	LBB0_17
LBB0_16:
	shlq	$20, %r15
	jmp	LBB0_17
LBB0_12:
	negq	%r15
LBB0_17:
	incq	%r12
	leaq	L_.str.7(%rip), %rsi
	movl	$3, %edi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_DX
	testq	%r14, %r14
	je	LBB0_20
## %bb.18:
	cmpb	$0, (%r12)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.8(%rip), %rsi
	movl	$3, %edi
	movq	%r12, %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_DX
	movq	%r12, (%r14)
	jmp	LBB0_20
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"token is <%s> %s"

L_.str.1:                               ## @.str.1
	.asciz	"-"

L_.str.2:                               ## @.str.2
	.asciz	"empty string"

L_.str.3:                               ## @.str.3
	.asciz	"invalid %s for %s"

L_.str.4:                               ## @.str.4
	.asciz	"NULL"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"suffix %s for %s, next %p"

L_.str.7:                               ## @.str.7
	.asciz	"suffix now %s for %s, next %p"

L_.str.8:                               ## @.str.8
	.asciz	"setting next to %s for %s"

	.no_dead_strip	_getnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getnum
_getnum:                                ; @getnum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp, #24]
	cbz	x1, LBB0_2
; %bb.1:
	str	xzr, [x20]
LBB0_2:
	cbz	x22, LBB0_9
; %bb.3:
	ldrb	w8, [x22]
	cbz	w8, LBB0_9
; %bb.4:
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x19, #0
	csel	x8, x8, x19, eq
	stp	x22, x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_DX
	add	x1, sp, #24
	mov	x0, x22
	mov	w2, #0
	bl	_strtol
	tbnz	x0, #63, LBB0_10
; %bb.5:
	mov	x21, x0
	ldr	x22, [sp, #24]
	cbz	x22, LBB0_11
; %bb.6:
	ldrb	w8, [x22]
	sub	w9, w8, #75
	cmp	w9, #44
	b.hi	LBB0_12
; %bb.7:
Lloh4:
	adrp	x8, lJTI0_0@PAGE
Lloh5:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	w8, #1000
	mul	x21, x21, x8
	b	LBB0_18
LBB0_9:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #3
	bl	_DX
LBB0_10:
Lloh8:
	adrp	x8, l_.str.4@PAGE
Lloh9:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	x22, #0
	csel	x8, x8, x22, eq
Lloh10:
	adrp	x9, l_.str.5@PAGE
Lloh11:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	x19, #0
	csel	x9, x9, x19, eq
	stp	x8, x9, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #2
	bl	_DX
	mov	x21, #0
LBB0_11:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
LBB0_12:
	cbz	w8, LBB0_11
LBB0_13:
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_D
	sub	x22, x22, #1
	b	LBB0_18
LBB0_14:
	mov	w8, #16960
	movk	w8, #15, lsl #16
	mul	x21, x21, x8
	b	LBB0_18
LBB0_15:
	lsl	x21, x21, #10
	b	LBB0_18
LBB0_16:
	lsl	x21, x21, #20
	b	LBB0_18
LBB0_17:
	neg	x21, x21
LBB0_18:
	add	x22, x22, #1
	stp	x19, x20, [sp, #8]
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #3
	bl	_DX
	cbz	x20, LBB0_11
; %bb.19:
	ldrb	w8, [x22]
	cbz	w8, LBB0_11
; %bb.20:
	stp	x22, x19, [sp]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w0, #3
	bl	_DX
	str	x22, [x20]
	b	LBB0_11
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_15-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_16-LBB0_8)>>2
	.byte	(LBB0_17-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_18-LBB0_8)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"token is <%s> %s"

l_.str.1:                               ; @.str.1
	.asciz	"-"

l_.str.2:                               ; @.str.2
	.asciz	"empty string"

l_.str.3:                               ; @.str.3
	.asciz	"invalid %s for %s"

l_.str.4:                               ; @.str.4
	.asciz	"NULL"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"suffix %s for %s, next %p"

l_.str.7:                               ; @.str.7
	.asciz	"suffix now %s for %s, next %p"

l_.str.8:                               ; @.str.8
	.asciz	"setting next to %s for %s"

	.no_dead_strip	_getnum
.subsections_via_symbols
