	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str2number
_str2number:                            ## @str2number
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %ebx
	cmpb	$0, (%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	$0, -32(%rbp)
	movq	_errno@GOTPCREL(%rip), %r15
	movq	$0, (%r15)
	leaq	-32(%rbp), %rsi
	movl	$10, %edx
	callq	_strtoul
	cmpq	$0, (%r15)
	jne	LBB0_6
## %bb.2:
	movq	-32(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.3:
	cmpb	$0, (%rcx)
	jne	LBB0_6
## %bb.4:
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	ja	LBB0_6
## %bb.5:
	movl	%eax, (%r14)
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.no_dead_strip	_str2number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str2number
_str2number:                            ; @str2number
	.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
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	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, #10
	bl	_strtoul
	ldr	x10, [x20]
	ldr	x9, [sp, #8]
	cmp	x10, #0
	ccmp	x9, #0, #4, eq
	b.eq	LBB0_3
; %bb.2:
	mov	x8, x0
	ldrb	w9, [x9]
Lloh2:
	adrp	x10, _UINT_MAX@GOTPAGE
Lloh3:
	ldr	x10, [x10, _UINT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	w9, #0
	ccmp	x0, x10, #2, eq
	b.ls	LBB0_5
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.no_dead_strip	_str2number
.subsections_via_symbols
