	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcstod_l                       ## -- Begin function wcstod_l
	.p2align	4, 0x90
_wcstod_l:                              ## @wcstod_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_FIX_LOCALE
	movl	(%r12), %edi
	movl	%r15d, %esi
	callq	_iswspace_l
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incq	%r14
	movl	4(%rbx), %edi
	addq	$4, %rbx
	movl	%r15d, %esi
	callq	_iswspace_l
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	movq	%r12, %rbx
LBB0_4:
	movq	%rbx, -64(%rbp)
	movl	$0, -44(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	xorl	%edi, %edi
	xorl	%edx, %edx
	movl	%r15d, %r8d
	callq	_wcsrtombs_l
	cmpq	$-1, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r13
	movq	%r12, %rbx
	incq	%r13
	movq	%r13, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rax, %r12
	movl	$0, -44(%rbp)
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	movq	%rax, %rdi
	movq	%r13, %rdx
	movl	%r15d, %r8d
	callq	_wcsrtombs_l
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_strtod_l
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.11:
	movq	-80(%rbp), %rax
	subq	%r12, %rax
	leaq	(%rbx,%rax,4), %rax
	movq	%rax, (%rcx)
	je	LBB0_13
## %bb.12:
	leaq	(%rax,%r14,4), %rax
	movq	%rax, (%rcx)
LBB0_13:
	movq	%r12, %rdi
	callq	_free
	movsd	-72(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	jmp	LBB0_14
LBB0_5:
	xorps	%xmm0, %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%r12, (%rax)
	jmp	LBB0_14
LBB0_8:
	xorps	%xmm0, %xmm0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rbx, (%rax)
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcstod_l                       ; -- Begin function wcstod_l
	.p2align	2
_wcstod_l:                              ; @wcstod_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_FIX_LOCALE
	ldr	w0, [x20]
	mov	x1, x21
	bl	_iswspace_l
	mov	x24, #0
	mov	x22, x20
	cbz	x0, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]!
	add	x24, x24, #1
	mov	x1, x21
	bl	_iswspace_l
	cbnz	x0, LBB0_1
LBB0_2:
	str	x22, [sp, #8]
	str	wzr, [sp, #28]
	add	x1, sp, #8
	add	x3, sp, #28
	mov	x0, #0
	mov	x2, #0
	mov	x4, x21
	bl	_wcsrtombs_l
	cmn	x0, #1
	b.eq	LBB0_8
; %bb.3:
	add	x23, x0, #1
	mov	x0, x23
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.4:
	mov	x22, x0
	str	wzr, [sp, #28]
	add	x1, sp, #8
	add	x3, sp, #28
	mov	x2, x23
	mov	x4, x21
	bl	_wcsrtombs_l
	add	x1, sp, #16
	mov	x0, x22
	mov	x2, x21
	bl	_strtod_l
	fmov	d8, d0
	cbz	x19, LBB0_7
; %bb.5:
	ldr	x8, [sp, #16]
	subs	x8, x8, x22
	add	x8, x20, x8, lsl #2
	str	x8, [x19]
	b.eq	LBB0_7
; %bb.6:
	add	x8, x8, x24, lsl #2
	str	x8, [x19]
LBB0_7:
	mov	x0, x22
	bl	_free
	b	LBB0_10
LBB0_8:
	movi	d8, #0000000000000000
	cbz	x19, LBB0_10
; %bb.9:
	str	x20, [x19]
LBB0_10:
	fmov	d0, d8
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
