	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atol                           ## -- Begin function atol
	.p2align	4, 0x90
_atol:                                  ## @atol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdi), %edx
	leal	-9(%rdx), %eax
	incq	%rdi
	cmpl	$32, %edx
	je	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$5, %eax
	jb	LBB0_1
## %bb.3:
	cmpl	$43, %edx
	je	LBB0_4
## %bb.5:
	cmpl	$45, %edx
	jne	LBB0_6
## %bb.7:
	movl	$-1, %ecx
	jmp	LBB0_8
LBB0_4:
	xorl	%ecx, %ecx
LBB0_8:
	movb	(%rdi), %al
	movsbl	%al, %edx
	jmp	LBB0_9
LBB0_6:
	decq	%rdi
	xorl	%ecx, %ecx
	movl	%edx, %eax
LBB0_9:
	addl	$-48, %edx
	cmpl	$9, %edx
	ja	LBB0_10
## %bb.11:
	incq	%rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rdx,%rdx,4), %rdx
	movsbq	%al, %rax
	leaq	(%rax,%rdx,2), %rdx
	addq	$-48, %rdx
	movsbl	(%rdi), %eax
	movl	%eax, %esi
	addl	$-48, %esi
	incq	%rdi
	cmpl	$10, %esi
	jb	LBB0_12
	jmp	LBB0_13
LBB0_10:
	xorl	%edx, %edx
LBB0_13:
	movq	%rdx, %rax
	negq	%rax
	testl	%ecx, %ecx
	cmoveq	%rdx, %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	_atol                           ; -- Begin function atol
	.p2align	2
_atol:                                  ; @atol
	.cfi_startproc
; %bb.0:
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w10, [x0], #1
	sub	w8, w10, #9
	cmp	w10, #32
	ccmp	w8, #5, #0, ne
	b.lo	LBB0_1
; %bb.2:
	cmp	w10, #43
	b.eq	LBB0_5
; %bb.3:
	cmp	w10, #45
	b.ne	LBB0_7
; %bb.4:
	mov	w8, #-1
	b	LBB0_6
LBB0_5:
	mov	w8, #0
LBB0_6:
	ldrsb	w10, [x0]
	and	w9, w10, #0xff
	b	LBB0_8
LBB0_7:
	mov	w8, #0
	and	w9, w10, #0xff
	sub	x0, x0, #1
LBB0_8:
	sub	w10, w10, #48
	cmp	w10, #9
	b.hi	LBB0_11
; %bb.9:
	mov	x10, #0
	add	x11, x0, #1
	mov	w12, #10
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mul	x10, x10, x12
	add	x9, x10, w9, sxtb
	sub	x10, x9, #48
	ldrsb	w13, [x11], #1
	and	w9, w13, #0xff
	sub	w13, w13, #48
	cmp	w13, #10
	b.lo	LBB0_10
	b	LBB0_12
LBB0_11:
	mov	x10, #0
LBB0_12:
	cmp	w8, #0
	cneg	x0, x10, ne
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
