	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function luaX_setinput
_luaX_setinput:                         ## @luaX_setinput
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movb	$46, (%rsi)
	movq	%rdi, 16(%rsi)
	movq	_TK_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rsi)
	movq	%rdx, 40(%rsi)
	movq	$0, 32(%rsi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%rsi)
	movq	%rcx, 24(%rsi)
	movl	12(%rsi), %esi
	movl	$32, %edx
	callq	_luaZ_resizebuffer
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_next                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_EOS,4,2                     ## @TK_EOS
	.no_dead_strip	_luaX_setinput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function luaX_setinput
_luaX_setinput:                         ; @luaX_setinput
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	w8, #46
	strb	w8, [x1]
Lloh0:
	adrp	x8, _TK_EOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_EOS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #48]
	stp	xzr, x2, [x1, #32]
	movi.2s	v0, #1
	stur	d0, [x1, #4]
	stp	x0, x3, [x1, #16]
	ldr	w1, [x1, #12]
	mov	w2, #32
	bl	_luaZ_resizebuffer
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_next
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_EOS,4,2                     ; @TK_EOS
	.no_dead_strip	_luaX_setinput
.subsections_via_symbols
