	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_s
_add_s:                                 ## @add_s
	.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
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	leaq	-64(%rbp), %rdx
	movl	$3, %esi
	callq	_lua_tolstring
	cmpq	$0, -64(%rbp)
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	%r15d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	_luaL_addchar
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpq	-64(%rbp), %r12
	jae	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%r12), %eax
	cmpb	$37, %al
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r12), %r14
	movsbl	1(%rbx,%r12), %edi
	callq	_uchar
	addl	$-48, %eax
	movzbl	1(%rbx,%r12), %ecx
	cmpl	$10, %eax
	jae	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$48, %cl
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_luaL_addlstring
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	%cl, %esi
	movq	%r13, %rdi
	callq	_luaL_addchar
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addb	$-49, %cl
	movsbl	%cl, %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_push_onecapture
	movq	%r13, %rdi
	callq	_luaL_addvalue
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r12
	jmp	LBB0_10
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_s
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_s
_add_s:                                 ; @add_s
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0]
	add	x2, sp, #8
	mov	w1, #3
	bl	_lua_tolstring
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x23, x0
	mov	x25, #0
	sub	w24, w19, w20
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w1, w8
	mov	x0, x21
	bl	_luaL_addchar
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp, #8]
	cmp	x25, x8
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x23, x25]
	cmp	w8, #37
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsb	w0, [x23, x25]
	bl	_uchar
	sub	w9, w0, #48
	ldrb	w8, [x23, x25]
	cmp	w9, #10
	b.hs	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #48
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	bl	_luaL_addlstring
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w8, #49
	sxtb	w1, w8
	mov	x0, x22
	mov	x2, x20
	mov	x3, x19
	bl	_push_onecapture
	mov	x0, x21
	bl	_luaL_addvalue
	b	LBB0_3
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_s
.subsections_via_symbols
