	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l_str2dloc
_l_str2dloc:                            ## @l_str2dloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rsi
	cmpl	$120, %edx
	jne	LBB0_2
## %bb.1:
	callq	_lua_strx2number
	jmp	LBB0_3
LBB0_2:
	callq	_lua_str2number
LBB0_3:
	movl	%eax, (%r14)
	movq	-24(%rbp), %rax
	cmpq	%rbx, %rax
	je	LBB0_4
## %bb.5:
	movsbl	(%rax), %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	callq	_cast_uchar
	movl	%eax, %edi
	callq	_lisspace
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-24(%rbp), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, -24(%rbp)
	movsbl	1(%rax), %edi
	jmp	LBB0_7
LBB0_8:
	movq	-24(%rbp), %rcx
	xorl	%eax, %eax
	cmpb	$0, (%rcx)
	cmoveq	%rcx, %rax
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_l_str2dloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l_str2dloc
_l_str2dloc:                            ; @l_str2dloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #8
	cmp	w2, #120
	b.ne	LBB0_2
; %bb.1:
	bl	_lua_strx2number
	b	LBB0_3
LBB0_2:
	bl	_lua_str2number
LBB0_3:
	str	w0, [x20]
	ldr	x8, [sp, #8]
	cmp	x8, x19
	b.eq	LBB0_8
; %bb.4:
	ldrsb	w0, [x8]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cast_uchar
	bl	_lisspace
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrsb	w0, [x8, #1]
	b	LBB0_5
LBB0_7:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #0
	csel	x0, x8, xzr, eq
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_l_str2dloc
.subsections_via_symbols
