	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_getnum
_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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_DEBUG_TRANSCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_gig_dbg
	movb	(%rbx), %cl
	leal	-48(%rcx), %eax
	movl	$-1, %edx
	cmpb	$9, %al
	ja	LBB0_3
## %bb.1:
	incq	%rbx
	movl	$-1, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%cl, %ecx
	leal	(%rdx,%rdx), %esi
	testl	%edx, %edx
	leal	(%rsi,%rsi,4), %edx
	cmovsl	%eax, %edx
	addl	%ecx, %edx
	addl	$-48, %edx
	movzbl	(%rbx), %ecx
	leal	-48(%rcx), %esi
	incq	%rbx
	cmpb	$10, %sil
	jb	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	negb	%cl
	sbbl	%eax, %eax
	orl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_TRANSCMD,4,2             ## @DEBUG_TRANSCMD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"string: %s"

	.no_dead_strip	_isdn_getnum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_getnum
_isdn_getnum:                           ; @isdn_getnum
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _DEBUG_TRANSCMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_TRANSCMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_gig_dbg
	ldrb	w8, [x19]
	sub	w9, w8, #48
	cmp	w9, #9
	b.hi	LBB0_3
; %bb.1:
	add	x10, x19, #1
	mov	w9, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w9, w9, lsl #2
	lsl	w11, w11, #1
	cmp	w9, #0
	csel	w9, wzr, w11, lt
	add	w8, w8, w9
	sub	w9, w8, #48
	ldrb	w8, [x10], #1
	sub	w11, w8, #48
	cmp	w11, #10
	b.lo	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w9, #-1
LBB0_4:
	cmp	w8, #0
	csinv	w0, w9, wzr, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_TRANSCMD,4,2             ; @DEBUG_TRANSCMD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"string: %s"

	.no_dead_strip	_isdn_getnum
.subsections_via_symbols
