	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_getnum                    ## -- Begin function isdn_getnum
	.p2align	4, 0x90
_isdn_getnum:                           ## @isdn_getnum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movb	(%rcx), %dl
	addb	$-48, %dl
	movl	$-1, %eax
	cmpb	$9, %dl
	ja	LBB0_3
## %bb.1:
	incq	%rcx
	movl	$-1, %eax
	movl	$-48, %r8d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movq	%rcx, (%rdi)
	movsbl	-1(%rcx), %esi
	leal	-48(%rax,%rax), %eax
	cmovsl	%r8d, %eax
	addl	%esi, %eax
	movzbl	(%rcx), %edx
	addb	$-48, %dl
	incq	%rcx
	cmpb	$10, %dl
	jb	LBB0_2
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdn_getnum                    ; -- Begin function isdn_getnum
	.p2align	2
_isdn_getnum:                           ; @isdn_getnum
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldrb	w9, [x8]
	sub	w9, w9, #48
	cmp	w9, #9
	b.hi	LBB0_4
; %bb.1:
	add	x9, x8, #1
	mov	w8, #-1
	mov	w10, #10
	mov	w11, #-48
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mul	w12, w8, w10
	str	x9, [x0]
	ldursb	w13, [x9, #-1]
	sub	w12, w12, #48
	cmp	w8, #0
	csel	w8, w11, w12, lt
	add	w8, w8, w13
	ldrb	w12, [x9], #1
	sub	w12, w12, #48
	cmp	w12, #10
	b.lo	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
