	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaX_setinput                  ## -- Begin function luaX_setinput
	.p2align	4, 0x90
_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
	movq	$0, 64(%rsi)
	movq	%rdi, 16(%rsi)
	movl	%r8d, (%rsi)
	movq	_TK_EOS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rsi)
	movq	%rdx, 48(%rsi)
	movq	$0, 40(%rsi)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%rsi)
	movq	%rcx, 32(%rsi)
	movq	_LUA_ENV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_luaS_newliteral
	movl	%eax, 24(%rbx)
	movq	16(%rbx), %rdi
	movl	12(%rbx), %esi
	movq	_LUA_MINBUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_luaZ_resizebuffer              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TK_EOS,4,2                     ## @TK_EOS
	.comm	_LUA_ENV,4,2                    ## @LUA_ENV
	.comm	_LUA_MINBUFFER,4,2              ## @LUA_MINBUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_luaX_setinput                  ; -- Begin function luaX_setinput
	.p2align	2
_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
	str	xzr, [x1, #64]
	str	x0, [x1, #16]
	str	w4, [x1]
Lloh0:
	adrp	x8, _TK_EOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TK_EOS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #56]
	stp	xzr, x2, [x1, #40]
	movi.2s	v0, #1
	stur	d0, [x1, #4]
	str	x3, [x1, #32]
Lloh3:
	adrp	x8, _LUA_ENV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LUA_ENV@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_luaS_newliteral
	str	w0, [x19, #24]
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #12]
Lloh6:
	adrp	x8, _LUA_MINBUFFER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LUA_MINBUFFER@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_luaZ_resizebuffer
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TK_EOS,4,2                     ; @TK_EOS
	.comm	_LUA_ENV,4,2                    ; @LUA_ENV
	.comm	_LUA_MINBUFFER,4,2              ; @LUA_MINBUFFER
.subsections_via_symbols
