	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjuststack
_adjuststack:                           ## @adjuststack
	.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
	cmpl	$2, (%rdi)
	jl	LBB0_5
## %bb.1:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	%r15, %rdi
	movl	$-1, %esi
	callq	_lua_strlen
	movq	%rax, %r12
	movl	$1, %r14d
	movl	$-2, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %ebx
	leal	1(%rbx), %r14d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_lua_strlen
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	leal	(%rcx,%r13), %edx
	incl	%edx
	cmpl	$9, %edx
	setge	%sil
	cmpq	%rax, %r12
	seta	%dl
	orb	%sil, %dl
	cmovnel	%r14d, %ebx
	cmpb	$1, %dl
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rax, %r12
	decl	%r13d
	cmpl	%ecx, %ebx
	jl	LBB0_2
LBB0_4:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_lua_concat
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	subl	%ebx, %eax
	incl	%eax
	movl	%eax, (%rcx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_adjuststack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjuststack
_adjuststack:                           ; @adjuststack
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w8, [x0]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	mov	x0, x20
	mov	w1, #-1
	bl	_lua_strlen
	mov	x21, x0
	mov	w24, #1
	mov	w22, #-2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w25, w24, #1
	mov	x0, x20
	mov	x1, x22
	bl	_lua_strlen
	ldr	w8, [x19]
	add	w9, w22, w8
	add	w9, w9, #1
	cmp	w9, #8
	ccmp	x21, x0, #2, le
	cset	w9, hi
	add	x21, x0, x21
	cmp	w9, #0
	cinc	w23, w24, ne
	sub	w22, w22, #1
	cmp	w9, #1
	ccmp	w23, w8, #0, eq
	mov	x24, x25
	b.lt	LBB0_2
; %bb.3:
	mov	x0, x20
	mov	x1, x23
	bl	_lua_concat
	ldr	w8, [x19]
	sub	w8, w8, w23
	add	w8, w8, #1
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_adjuststack
.subsections_via_symbols
