	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkg_atol256
_pkg_atol256:                           ## @pkg_atol256
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leal	255(%r8), %r10d
	testl	%r8d, %r8d
	cmovnsl	%r8d, %r10d
	movq	_INT64_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leal	255(%r9), %ecx
	testl	%r9d, %r9d
	cmovnsl	%r9d, %ecx
	movzbl	(%rdi), %eax
	xorl	%edx, %edx
	testb	$64, %al
	sete	%dl
	shll	$6, %edx
	andl	$63, %eax
	addl	%edx, %eax
	addl	$-64, %eax
	cmpl	$1, %esi
	je	LBB0_7
## %bb.1:
	sarl	$8, %r10d
	sarl	$8, %ecx
	movl	%esi, %r11d
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r10d, %eax
	jg	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %eax
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$8, %eax
	movzbl	(%rdi,%rdx), %esi
	orl	%esi, %eax
	incq	%rdx
	cmpl	%edx, %r11d
	jne	LBB0_2
LBB0_7:
	popq	%rbp
	retq
LBB0_3:
	movl	%r8d, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	%r9d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,4,2                  ## @INT64_MAX
	.comm	_INT64_MIN,4,2                  ## @INT64_MIN
	.no_dead_strip	_pkg_atol256
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkg_atol256
_pkg_atol256:                           ; @pkg_atol256
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #255
	cmp	w8, #0
	csel	w12, w9, w8, lt
Lloh3:
	adrp	x9, _INT64_MIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INT64_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w10, w9, #255
	cmp	w9, #0
	csel	w13, w10, w9, lt
	ldrb	w10, [x0]
	sbfx	w11, w10, #6, #1
	bfxil	w11, w10, #0, #6
	subs	w10, w1, #1
	b.eq	LBB0_6
; %bb.1:
	asr	w12, w12, #8
	asr	w13, w13, #8
	add	x14, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, w12
	b.gt	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w11, w13
	b.lt	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w0, [x14], #1
	bfi	w0, w11, #8, #24
	mov	x11, x0
	subs	w10, w10, #1
	b.ne	LBB0_2
; %bb.5:
	ret
LBB0_6:
	mov	x0, x11
	ret
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
	mov	x0, x9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,4,2                  ; @INT64_MAX
	.comm	_INT64_MIN,4,2                  ; @INT64_MIN
	.no_dead_strip	_pkg_atol256
.subsections_via_symbols
