	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtouv64                      ## -- Begin function strtouv64
	.p2align	4, 0x90
_strtouv64:                             ## @strtouv64
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	decq	%rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movb	(%rbx), %al
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	addl	$-43, %eax
	xorl	%r14d, %r14d
	testb	$-3, %al
	sete	%r14b
	leaq	(%rbx,%r14), %r13
	cmpl	$16, %r15d
	je	LBB0_6
## %bb.3:
	testl	%r15d, %r15d
	jne	LBB0_12
## %bb.4:
	movl	$10, %r15d
	cmpb	$48, (%rbx,%r14)
	jne	LBB0_8
## %bb.5:
	leaq	(%rbx,%r14), %r15
	incq	%r15
	movsbl	1(%rbx,%r14), %edi
	callq	_toupper
	xorl	%ecx, %ecx
	cmpb	$88, %al
	sete	%cl
	leaq	2(%rbx,%r14), %r13
	cmovneq	%r15, %r13
	leal	8(,%rcx,8), %r15d
	jmp	LBB0_8
LBB0_6:
	movl	$16, %r15d
	cmpb	$48, (%rbx,%r14)
	jne	LBB0_8
## %bb.7:
	movsbl	1(%rbx,%r14), %edi
	callq	_toupper
	xorl	%ecx, %ecx
	cmpb	$88, %al
	sete	%cl
	leaq	(%r14,%rcx,2), %r13
	addq	%rbx, %r13
	jmp	LBB0_8
LBB0_12:
	leal	-37(%r15), %eax
	cmpl	$-35, %eax
	ja	LBB0_8
## %bb.13:
	movq	%r12, %rdi
	movl	$255, %esi
	movl	$32, %edx
	callq	_memset
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_26
LBB0_8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_21
## %bb.9:
	movb	$1, %bl
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isdigit
	movzbl	(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	addb	$-48, %cl
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movsbl	%cl, %edi
	callq	_isupper
	movzbl	(%r13), %ecx
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	addb	$-55, %cl
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movsbl	%cl, %edi
	callq	_islower
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movzbl	(%r13), %ecx
	addb	$-87, %cl
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	movsbl	%cl, %ecx
	cmpl	%ecx, %r15d
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	24(%r12), %eax
	imull	%r15d, %eax
	cltq
	movq	%rax, 24(%r12)
	sarl	$16, %eax
	movl	16(%r12), %edx
	imull	%r15d, %edx
	addl	%eax, %edx
	movslq	%edx, %rdi
	movq	%rdi, 16(%r12)
	movl	4(%r12), %eax
	imull	%r15d, %eax
	sarl	$16, %edi
	addl	%eax, %edi
	movl	%edi, 4(%r12)
	movl	8(%r12), %esi
	xorl	%ebx, %ebx
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%edx, %edx
	callq	_M_ADD
	movzbl	1(%r13), %eax
	incq	%r13
	testb	%al, %al
	jne	LBB0_10
	jmp	LBB0_22
LBB0_20:
	testb	$1, %bl
	je	LBB0_22
LBB0_21:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_22:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	movq	%r13, %rdi
	callq	_noconst
	movq	%rax, (%rbx)
LBB0_24:
	cmpb	$45, -48(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_26
## %bb.25:
	movl	4(%r12), %edi
	movl	8(%r12), %esi
	callq	_M_NEG
LBB0_26:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_strtouv64                      ; -- Begin function strtouv64
	.p2align	2
_strtouv64:                             ; @strtouv64
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x20, x1
	mov	x19, x8
	sub	x24, x0, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24, #1]!
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	ldrb	w23, [x24]
	cmp	w23, #45
	mov	w8, #43
	ccmp	w23, w8, #4, ne
	cset	w25, eq
	cinc	x21, x24, eq
	cmp	w22, #16
	b.eq	LBB0_6
; %bb.3:
	cbnz	w22, LBB0_9
; %bb.4:
	ldrb	w8, [x24, x25]
	cmp	w8, #48
	b.ne	LBB0_11
; %bb.5:
	add	x21, x24, x25
	ldrsb	w0, [x21, #1]!
	bl	_toupper
	mov	w8, #8
	mov	w9, #16
	cmp	w0, #88
	csel	w22, w9, w8, eq
	cinc	x21, x21, eq
	b	LBB0_12
LBB0_6:
	ldrb	w8, [x24, x25]
	cmp	w8, #48
	b.ne	LBB0_8
; %bb.7:
	add	x8, x24, x25
	ldrsb	w0, [x8, #1]
	bl	_toupper
	cmp	w0, #88
	cset	w8, eq
	bfi	x25, x8, #1, #1
	add	x21, x24, x25
LBB0_8:
	mov	w22, #16
	b	LBB0_12
LBB0_9:
	sub	w8, w22, #37
	cmn	w8, #35
	b.hi	LBB0_12
; %bb.10:
	mov	x0, x19
	mov	w1, #255
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	b	LBB0_27
LBB0_11:
	mov	w22, #10
LBB0_12:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldrb	w8, [x21]
	cbz	w8, LBB0_22
; %bb.13:
	mov	w24, #1
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	w8, w8, #48
	cmp	w22, w8, sxtb
	b.le	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w9, [x19, #24]
	mul	w9, w22, w9
	sxtw	x10, w9
	ldr	w11, [x19, #16]
	mul	w11, w22, w11
	add	w9, w11, w9, asr #16
	sxtw	x11, w9
	stp	x11, x10, [x19, #16]
	ldp	w10, w1, [x19, #4]
	mul	w10, w10, w22
	add	w0, w10, w9, asr #16
	str	w0, [x19, #4]
	sxtb	w3, w8
	mov	w2, #0
	bl	_M_ADD
	mov	w24, #0
	ldrb	w8, [x21, #1]!
	cbz	w8, LBB0_23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isdigit
	ldrb	w8, [x21]
	cbnz	x0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	sxtb	w0, w8
	bl	_isupper
	ldrb	w8, [x21]
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	sub	w8, w8, #55
	cmp	w22, w8, sxtb
	b.gt	LBB0_15
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	sxtb	w0, w8
	bl	_islower
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldrb	w8, [x21]
	sub	w8, w8, #87
	cmp	w22, w8, sxtb
	b.gt	LBB0_15
LBB0_21:
	tbz	w24, #0, LBB0_23
LBB0_22:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
LBB0_23:
	cbz	x20, LBB0_25
; %bb.24:
	mov	x0, x21
	bl	_noconst
	str	x0, [x20]
LBB0_25:
	cmp	w23, #45
	b.ne	LBB0_27
; %bb.26:
	ldp	w0, w1, [x19, #4]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_M_NEG
LBB0_27:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
