	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwstod                         ## -- Begin function bwstod
	.p2align	4, 0x90
_bwstod:                                ## @bwstod
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	_MB_CUR_MAX@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	8(%rdi), %rbx
	movslq	(%rdi), %r15
	addq	%rbx, %r15
	movq	$0, -40(%rbp)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edi
	callq	_isblank
	leaq	1(%rbx), %r12
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rbx
	movq	%r12, %rbx
	jb	LBB0_2
LBB0_4:
	movzbl	-1(%r12), %edi
	callq	_isprint
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	decq	%r12
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	callq	_strtod
	cmpq	-40(%rbp), %r12
	jne	LBB0_12
	jmp	LBB0_6
LBB0_7:
	movq	16(%rdi), %rbx
	movslq	(%rdi), %rax
	leaq	(%rbx,%rax,4), %r12
	movq	$0, -40(%rbp)
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_iswblank
	leaq	4(%rbx), %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r12, %rbx
	movq	%r15, %rbx
	jb	LBB0_8
LBB0_10:
	movl	-4(%r15), %edi
	callq	_iswprint
	testl	%eax, %eax
	je	LBB0_6
## %bb.11:
	addq	$-4, %r15
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	callq	_wcstod
	cmpq	-40(%rbp), %r15
	je	LBB0_6
LBB0_12:
	movl	$0, (%r14)
	jmp	LBB0_13
LBB0_6:
	movl	$1, (%r14)
	xorps	%xmm0, %xmm0
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB_CUR_MAX,4,2                 ## @MB_CUR_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bwstod                         ; -- Begin function bwstod
	.p2align	2
_bwstod:                                ; @bwstod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _MB_CUR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB_CUR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.1:
	ldr	x20, [x0, #8]
	ldrsw	x8, [x0]
	add	x21, x20, x8
	str	xzr, [sp, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	ldrb	w0, [x20], #1
	bl	_isblank
	cmp	x0, #0
	ccmp	x22, x21, #2, ne
	b.lo	LBB0_2
; %bb.3:
	ldrb	w0, [x20, #-1]!
	bl	_isprint
	cbz	w0, LBB0_11
; %bb.4:
	add	x1, sp, #8
	mov	x0, x20
	bl	_strtod
	b	LBB0_9
LBB0_5:
	ldr	x20, [x0, #16]
	ldrsw	x8, [x0]
	add	x21, x20, x8, lsl #2
	str	xzr, [sp, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x20
	ldr	w0, [x20], #4
	bl	_iswblank
	cmp	x0, #0
	ccmp	x22, x21, #2, ne
	b.lo	LBB0_6
; %bb.7:
	ldr	w0, [x20, #-4]!
	bl	_iswprint
	cbz	w0, LBB0_11
; %bb.8:
	add	x1, sp, #8
	mov	x0, x20
	bl	_wcstod
LBB0_9:
	ldr	x8, [sp, #8]
	cmp	x20, x8
	b.eq	LBB0_11
; %bb.10:
	str	wzr, [x19]
	b	LBB0_12
LBB0_11:
	mov	w8, #1
	str	w8, [x19]
	movi	d0, #0000000000000000
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MB_CUR_MAX,4,2                 ; @MB_CUR_MAX
.subsections_via_symbols
