	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atoint                         ## -- Begin function atoint
	.p2align	4, 0x90
_atoint:                                ## @atoint
	.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
	movb	(%rdi), %r15b
	xorl	%ecx, %ecx
	cmpb	$45, %r15b
	sete	%cl
	movb	(%rdi,%rcx), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r13d
	addl	$55, %r13d
	leaq	(%rcx,%rdi), %r14
	incq	%r14
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cltq
	leaq	(%rbx,%rbx,4), %rcx
	leaq	(%rax,%rcx,2), %rbx
	addq	$-48, %rbx
	movzbl	(%r14), %eax
	incq	%r14
	testb	%al, %al
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$214748364, %rbx                ## imm = 0xCCCCCCC
	jg	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movsbl	-1(%r14), %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %r13d
	jge	LBB0_7
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_9
LBB0_8:
	movq	%rbx, %rax
	negq	%rax
	cmpb	$45, %r15b
	cmovneq	%rbx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_atoint                         ; -- Begin function atoint
	.p2align	2
_atoint:                                ; @atoint
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x8, x0
	ldrb	w20, [x8], #1
	cmp	w20, #45
	cset	w9, eq
	csel	x8, x0, x8, ne
	mov	w10, #55
	cinc	w21, w10, eq
	ldrb	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x22, #0
	mov	w23, #52428
	movk	w23, #3276, lsl #16
	add	x9, x9, x0
	add	x24, x9, #1
	mov	w25, #10
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w8
	madd	x8, x22, x25, x8
	sub	x22, x8, #48
	ldrb	w8, [x24], #1
	cbz	w8, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w0, w8, #0xff
	bl	_isdigit
	mov	x8, x0
	mov	w0, #0
	cbz	w8, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x22, x23
	b.gt	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldursb	w8, [x24, #-1]
	cmp	x22, x23
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, w8
	b.ge	LBB0_2
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	cmp	w20, #45
	cneg	x8, x22, eq
	str	x8, [x19]
	mov	w0, #1
LBB0_9:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
