	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkg_atol8
_pkg_atol8:                             ## @pkg_atol8
	.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
	.cfi_offset %rbx, -24
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leal	7(%r9), %eax
	testl	%r9d, %r9d
	cmovnsl	%r9d, %eax
	movl	%eax, %r8d
	sarl	$3, %r8d
	andl	$-8, %eax
	subl	%eax, %r9d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %edx
	cmpb	$32, %dl
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$9, %dl
	je	LBB0_3
## %bb.4:
	xorl	%r11d, %r11d
	cmpb	$45, %dl
	sete	%r11b
	movb	(%rdi,%r11), %al
	movl	%eax, %r10d
	andb	$-8, %r10b
	xorl	%ecx, %ecx
	cmpb	$48, %r10b
	jne	LBB0_12
## %bb.5:
	movl	%esi, %r10d
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	leal	(%rax,%rcx,8), %ecx
	leaq	(%r11,%rsi), %rax
	movzbl	1(%rdi,%rax), %eax
	movl	%eax, %ebx
	andb	$-8, %bl
	incq	%rsi
	cmpb	$48, %bl
	jne	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, %r10d
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%al, %eax
	addl	$-48, %eax
	cmpl	%r8d, %ecx
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%r9d, %eax
	jle	LBB0_11
LBB0_10:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_12:
	movl	%ecx, %eax
	negl	%eax
	cmpb	$45, %dl
	cmovnel	%ecx, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.no_dead_strip	_pkg_atol8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkg_atol8
_pkg_atol8:                             ; @pkg_atol8
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
	add	w8, w11, #7
	cmp	w11, #0
	csel	w8, w8, w11, lt
	asr	w9, w8, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x0, x0, #1
	b	LBB0_1
LBB0_3:
	cmp	w8, #45
	cset	w12, eq
	cinc	x10, x0, eq
	ldrb	w13, [x10]
	and	w10, w13, #0xf8
	cmp	w10, #48
	b.ne	LBB0_11
; %bb.4:
	mov	w10, #0
	sub	w11, w11, w9, lsl #3
	add	x12, x12, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w10, w13, w10, lsl #3
	ldrb	w13, [x0, x12]
	and	w14, w13, #0xf8
	add	x12, x12, #1
	sub	w1, w1, #1
	cmp	w14, #48
	b.ne	LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w1, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w13, w13, #48
	cmp	w10, w9
	b.gt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	b.ne	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w13, w11
	b.le	LBB0_5
LBB0_10:
Lloh3:
	adrp	x9, _UINT64_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UINT64_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x9]
	b	LBB0_12
LBB0_11:
	mov	w10, #0
LBB0_12:
	cmp	w8, #45
	cneg	w0, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.no_dead_strip	_pkg_atol8
.subsections_via_symbols
