	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcstoll_l                      ## -- Begin function wcstoll_l
	.p2align	4, 0x90
_wcstoll_l:                             ## @wcstoll_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
	cmpl	$-35, %eax
	jae	LBB0_17
## %bb.13:
	xorl	%eax, %eax
LBB0_14:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_errno@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movb	$1, %cl
	testq	%rsi, %rsi
	je	LBB0_16
LBB0_15:
	addq	$-4, %r15
	testb	%cl, %cl
	cmovneq	%r14, %r15
	movq	%r15, (%rsi)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_LLONG_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%r8, %rax
	negq	%rax
	cmpl	$45, %r13d
	movq	_LLONG_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	cmovneq	%r9, %rax
	movl	%r12d, %r10d
	movq	%rax, %rcx
	shrq	$32, %rcx
	je	LBB0_19
## %bb.18:
	xorl	%edx, %edx
	divq	%r10
	movq	%rax, %r11
	jmp	LBB0_20
LBB0_19:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%r10d
                                        ## kill: def $edx killed $edx def $rdx
	movl	%eax, %r11d
LBB0_20:
	xorl	%eax, %eax
	xorl	%edi, %edi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	%rax, %rcx
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	(%r15), %esi
	addq	$4, %r15
	movq	%rcx, %rax
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	leal	-48(%rsi), %ebx
	cmpl	$10, %ebx
	jb	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	leal	-65(%rsi), %ecx
	cmpl	$25, %ecx
	ja	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	addl	$-55, %esi
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	leal	-97(%rsi), %ecx
	cmpl	$25, %ecx
	ja	LBB0_36
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=1
	addl	$-87, %esi
LBB0_28:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	%esi, %ebx
LBB0_29:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpl	%r12d, %ebx
	jge	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	testl	%edi, %edi
	movl	$-1, %edi
	js	LBB0_35
## %bb.31:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpq	%r11, %rax
	ja	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_23 Depth=1
	jne	LBB0_21
## %bb.33:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r11, %rcx
	cmpl	%edx, %ebx
	jg	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_23 Depth=1
	imulq	%r10, %rax
	movl	%ebx, %ecx
	addq	%rax, %rcx
	movl	$1, %edi
	jmp	LBB0_22
LBB0_36:
	testl	%edi, %edi
	js	LBB0_39
## %bb.37:
	je	LBB0_14
## %bb.38:
	movq	%rax, %rcx
	negq	%rcx
	cmpl	$45, %r13d
	cmoveq	%rcx, %rax
	xorl	%ecx, %ecx
	jmp	LBB0_40
LBB0_39:
	cmpl	$45, %r13d
	cmoveq	%r8, %r9
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%ecx, %ecx
	movq	%r9, %rax
LBB0_40:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_LLONG_MIN,8,3                  ## @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ## @LLONG_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	_wcstoll_l                      ; -- Begin function wcstoll_l
	.p2align	2
_wcstoll_l:                             ; @wcstoll_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	w9, w10, w22, ne
	sub	w10, w9, #37
	cmn	w10, #35
	b.hs	LBB0_16
; %bb.14:
	mov	x0, #0
LBB0_15:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w8, #1
	cbnz	x19, LBB0_34
	b	LBB0_35
LBB0_16:
	mov	x0, #0
	mov	w14, #0
Lloh6:
	adrp	x10, _LLONG_MIN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _LLONG_MIN@GOTPAGEOFF]
Lloh8:
	adrp	x11, _LLONG_MAX@GOTPAGE
Lloh9:
	ldr	x11, [x11, _LLONG_MAX@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	ldr	x11, [x11]
	cmp	w21, #45
	csneg	x13, x11, x10, ne
	udiv	x12, x13, x9
	msub	w13, w12, w9, w13
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mul	x8, x0, x9
	add	x0, x8, w16, uxtw
	mov	w15, #1
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x24], #4
	mov	x14, x15
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sub	w16, w8, #48
	cmp	w16, #10
	b.lo	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w15, w8, #65
	cmp	w15, #25
	b.hi	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w16, w8, #55
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	cmp	w16, w9
	b.ge	LBB0_30
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w15, #-1
	tbnz	w14, #31, LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x0, x12
	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	w16, w13
	b.le	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w15, #-1
	mov	x0, x12
	b	LBB0_18
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	sub	w15, w8, #97
	cmp	w15, #25
	b.hi	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	sub	w16, w8, #87
	cmp	w16, w9
	b.lt	LBB0_23
LBB0_30:
	tbnz	w14, #31, LBB0_33
; %bb.31:
	cbz	w14, LBB0_15
; %bb.32:
	mov	w8, #0
	cmp	w21, #45
	cneg	x0, x0, eq
	cbnz	x19, LBB0_34
	b	LBB0_35
LBB0_33:
	mov	w8, #0
	cmp	w21, #45
	csel	x0, x10, x11, eq
Lloh12:
	adrp	x9, _ERANGE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _errno@GOTPAGE
Lloh16:
	ldr	x10, [x10, _errno@GOTPAGEOFF]
Lloh17:
	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	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LLONG_MIN,8,3                  ; @LLONG_MIN
	.comm	_LLONG_MAX,8,3                  ; @LLONG_MAX
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
