	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp_demangle_read_number
_cpp_demangle_read_number:              ## @cpp_demangle_read_number
	.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
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movb	(%rcx), %al
	movl	$1, %r13d
	cmpb	$110, %al
	jne	LBB0_4
## %bb.3:
	leaq	1(%rcx), %rax
	movq	%rax, (%rbx)
	movb	1(%rcx), %al
	movq	$-1, %r13
LBB0_4:
	movsbl	%al, %edi
	callq	_ELFTC_ISDIGIT
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%rbx), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_errno@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_11
LBB0_7:
	movq	(%rbx), %rax
	movsbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	callq	_ELFTC_ISDIGIT
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movsbl	1(%rax), %edi
	jmp	LBB0_9
LBB0_10:
	movq	%r12, %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movl	$1, %r15d
	movl	$1, %edi
	callq	_assert
	imulq	%r12, %r13
	movq	%r13, (%r14)
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.no_dead_strip	_cpp_demangle_read_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpp_demangle_read_number
_cpp_demangle_read_number:              ; @cpp_demangle_read_number
	.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	w22, #0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_12
; %bb.2:
	mov	x20, x0
	ldr	x9, [x0]
	ldrb	w8, [x9]
	cmp	w8, #110
	b.ne	LBB0_4
; %bb.3:
	add	x8, x9, #1
	str	x8, [x20]
	ldrb	w8, [x9, #1]
	mov	x23, #-1
	b	LBB0_5
LBB0_4:
	mov	w23, #1
LBB0_5:
	sxtb	w0, w8
	bl	_ELFTC_ISDIGIT
	cbz	x0, LBB0_8
; %bb.6:
Lloh0:
	adrp	x22, _errno@GOTPAGE
Lloh1:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	xzr, [x22]
	ldr	x0, [x20]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	mov	x21, x0
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x22]
	cbz	x8, LBB0_9
LBB0_8:
	mov	w22, #0
	b	LBB0_12
LBB0_9:
	ldr	x8, [x20]
	ldrsb	w0, [x8]
	bl	_ELFTC_ISDIGIT
	cbz	x0, LBB0_11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x9, x8, #1
	str	x9, [x20]
	ldrsb	w0, [x8, #1]
	bl	_ELFTC_ISDIGIT
	cbnz	x0, LBB0_10
LBB0_11:
	lsr	x8, x21, #63
	eor	w0, w8, #0x1
	bl	_assert
	mov	w22, #1
	mov	w0, #1
	bl	_assert
	mul	x8, x21, x23
	str	x8, [x19]
LBB0_12:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.no_dead_strip	_cpp_demangle_read_number
.subsections_via_symbols
