	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parselonglongint
_parselonglongint:                      ## @parselonglongint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	$0, -24(%rbp)
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoull
	movl	%eax, (%rbx)
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpb	$0, (%rax)
	movq	(%r14), %rax
	jne	LBB0_5
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rcx, %rax
LBB0_7:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"value out of range"

L_.str.1:                               ## @.str.1
	.asciz	"invalid integer input"

	.no_dead_strip	_parselonglongint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parselonglongint
_parselonglongint:                      ; @parselonglongint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	str	xzr, [sp, #8]
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoull
	str	w0, [x19]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldrb	w9, [x8]
	ldr	x8, [x20]
	cmp	w9, #0
	ccmp	x8, #0, #0, eq
	b.ne	LBB0_4
LBB0_2:
	mov	x0, #0
	b	LBB0_5
LBB0_3:
	ldr	x8, [x20]
	cbz	x8, LBB0_2
LBB0_4:
Lloh2:
	adrp	x9, _ERANGE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh7:
	adrp	x11, l_.str@PAGE
Lloh8:
	add	x11, x11, l_.str@PAGEOFF
	cmp	x8, x9
	csel	x0, x11, x10, eq
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"value out of range"

l_.str.1:                               ; @.str.1
	.asciz	"invalid integer input"

	.no_dead_strip	_parselonglongint
.subsections_via_symbols
