	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcstoull_l                     ## -- Begin function wcstoull_l
	.p2align	4, 0x90
_wcstoull_l:                            ## @wcstoull_l
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	%ecx, %edi
	callq	_FIX_LOCALE
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r13d
	addq	$4, %r15
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_iswspace_l
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	cmpl	$43, %r13d
	je	LBB0_4
## %bb.3:
	cmpl	$45, %r13d
	jne	LBB0_5
LBB0_4:
	movl	(%r15), %esi
	addq	$4, %r15
	testl	$-17, %r12d
	je	LBB0_6
	jmp	LBB0_9
LBB0_5:
	movl	%r13d, %esi
	testl	$-17, %r12d
	jne	LBB0_9
LBB0_6:
	cmpl	$48, %esi
	jne	LBB0_9
## %bb.7:
	movl	(%r15), %eax
	orl	$32, %eax
	cmpl	$120, %eax
	jne	LBB0_10
## %bb.8:
	movl	4(%r15), %esi
	addq	$8, %r15
	movl	$16, %r12d
LBB0_9:
	testl	%r12d, %r12d
	sete	%al
	movl	$10, %ecx
	cmpl	$48, %esi
	je	LBB0_11
	jmp	LBB0_12
LBB0_10:
	testl	%r12d, %r12d
	sete	%al
LBB0_11:
	movl	$8, %ecx
	movl	$48, %esi
LBB0_12:
	testb	%al, %al
	cmovnel	%ecx, %r12d
	leal	-37(%r12), %eax
	xorl	%edi, %edi
	cmpl	$-35, %eax
	jae	LBB0_17
## %bb.13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movb	$1, %cl
	movq	%rbx, %r8
	testq	%rdx, %rdx
	je	LBB0_16
LBB0_15:
	addq	$-4, %r15
	testb	%cl, %cl
	cmovneq	%r14, %r15
	movq	%r15, (%rdx)
LBB0_16:
	movq	%r8, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_ULLONG_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	movl	%r8d, %eax
	cltd
	idivl	%r12d
	movslq	%eax, %r10
	movl	%r12d, %r9d
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rax
LBB0_19:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	(%r15), %esi
	addq	$4, %r15
	movq	%rax, %rbx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rsi), %ecx
	cmpl	$10, %ecx
	jb	LBB0_26
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	leal	-65(%rsi), %eax
	cmpl	$25, %eax
	ja	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	addl	$-55, %esi
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_20 Depth=1
	leal	-97(%rsi), %eax
	cmpl	$25, %eax
	ja	LBB0_33
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	addl	$-87, %esi
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	%esi, %ecx
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	cmpl	%r12d, %ecx
	jge	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	testl	%edi, %edi
	movl	$-1, %edi
	js	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	%r10, %rbx
	ja	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=1
	jne	LBB0_18
## %bb.30:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%r10, %rax
	cmpl	%edx, %ecx
	jg	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_20 Depth=1
	imulq	%r9, %rbx
	movl	%ecx, %eax
	addq	%rbx, %rax
	movl	$1, %edi
	jmp	LBB0_19
LBB0_33:
	testl	%edi, %edi
	js	LBB0_36
## %bb.34:
	je	LBB0_14
## %bb.35:
	movq	%rbx, %r8
	negq	%r8
	cmpl	$45, %r13d
	cmovneq	%rbx, %r8
	jmp	LBB0_37
LBB0_36:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_37:
	xorl	%ecx, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ULLONG_MAX,4,2                 ## @ULLONG_MAX
	.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	_wcstoull_l                     ; -- Begin function wcstoull_l
	.p2align	2
_wcstoull_l:                            ; @wcstoull_l
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x3
	bl	_FIX_LOCALE
	mov	x24, x20
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x24], #4
	mov	x0, x21
	mov	x1, x23
	bl	_iswspace_l
	cbnz	x0, LBB0_1
; %bb.2:
	cmp	w21, #43
	b.eq	LBB0_4
; %bb.3:
	cmp	w21, #45
	b.ne	LBB0_5
LBB0_4:
	ldr	w8, [x24], #4
	tst	w22, #0xffffffef
	b.eq	LBB0_6
	b	LBB0_9
LBB0_5:
	mov	x8, x21
	tst	w22, #0xffffffef
	b.ne	LBB0_9
LBB0_6:
	cmp	w8, #48
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x24]
	orr	w8, w8, #0x20
	cmp	w8, #120
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x24, #4]
	add	x24, x24, #8
	mov	w22, #16
LBB0_9:
	cmp	w22, #0
	cset	w9, eq
	cmp	w8, #48
	b.eq	LBB0_12
; %bb.10:
	mov	w10, #10
	b	LBB0_13
LBB0_11:
	cmp	w22, #0
	cset	w9, eq
LBB0_12:
	mov	w10, #8
	mov	w8, #48
LBB0_13:
	cmp	w9, #0
	csel	w10, w10, w22, ne
	sub	w9, w10, #37
	cmn	w9, #35
	b.hs	LBB0_16
; %bb.14:
	mov	x9, #0
LBB0_15:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _errno@GOTPAGE
Lloh4:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x10]
	mov	w8, #1
	mov	x0, x9
	cbnz	x19, LBB0_34
	b	LBB0_35
LBB0_16:
	mov	x9, #0
	mov	w13, #0
Lloh6:
	adrp	x11, _ULLONG_MAX@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ULLONG_MAX@GOTPAGEOFF]
Lloh8:
	ldrsw	x0, [x11]
	sdiv	w12, w0, w10
	sxtw	x11, w12
	msub	w12, w12, w10, w0
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mul	x8, x9, x10
	add	x9, x8, w15, uxtw
	mov	w14, #1
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x24], #4
	mov	x13, x14
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sub	w15, w8, #48
	cmp	w15, #10
	b.lo	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w14, w8, #65
	cmp	w14, #25
	b.hi	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w15, w8, #55
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	cmp	w15, w10
	b.ge	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w14, #-1
	tbnz	w13, #31, LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x9, x11
	b.hi	LBB0_18
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	b.ne	LBB0_17
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w15, w12
	b.le	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w14, #-1
	mov	x9, x11
	b	LBB0_18
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	sub	w14, w8, #97
	cmp	w14, #25
	b.hi	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w15, w8, #87
	cmp	w15, w10
	b.lt	LBB0_23
LBB0_30:
	tbnz	w13, #31, LBB0_33
; %bb.31:
	cbz	w13, LBB0_15
; %bb.32:
	mov	w8, #0
	cmp	w21, #45
	cneg	x0, x9, eq
	cbnz	x19, LBB0_34
	b	LBB0_35
LBB0_33:
	mov	w8, #0
Lloh9:
	adrp	x9, _ERANGE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _errno@GOTPAGE
Lloh13:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh14:
	str	w9, [x10]
	cbz	x19, LBB0_35
LBB0_34:
	sub	x9, x24, #4
	cmp	w8, #0
	csel	x8, x20, x9, ne
	str	x8, [x19]
LBB0_35:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ULLONG_MAX,4,2                 ; @ULLONG_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
