	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lua_ucl_userdata_emitter
_lua_ucl_userdata_emitter:              ## @lua_ucl_userdata_emitter
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_LUA_REGISTRYINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rdi), %edi
	movl	12(%rbx), %edx
	callq	_lua_rawgeti
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_lua_pcall
	movl	8(%rbx), %edi
	movl	$-1, %esi
	callq	_lua_tostring
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_free
LBB0_3:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%rbx)
LBB0_4:
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	_lua_settop
	movq	(%rbx), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ## @LUA_REGISTRYINDEX
	.no_dead_strip	_lua_ucl_userdata_emitter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lua_ucl_userdata_emitter
_lua_ucl_userdata_emitter:              ; @lua_ucl_userdata_emitter
	.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, x0
Lloh0:
	adrp	x8, _LUA_REGISTRYINDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LUA_REGISTRYINDEX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w0, [x0, #8]
	ldr	w2, [x19, #12]
	bl	_lua_rawgeti
	ldr	w0, [x19, #8]
	mov	w1, #0
	mov	w2, #1
	mov	w3, #0
	bl	_lua_pcall
	ldr	w0, [x19, #8]
	mov	w1, #-1
	bl	_lua_tostring
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_free
LBB0_3:
	mov	x0, x20
	bl	_strdup
	str	x0, [x19]
LBB0_4:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_lua_settop
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LUA_REGISTRYINDEX,4,2          ; @LUA_REGISTRYINDEX
	.no_dead_strip	_lua_ucl_userdata_emitter
.subsections_via_symbols
