	.file	"extr_lsproto.c_ldefault.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Need a sproto_type object"
	.text
	.p2align 4
	.type	ldefault, @function
ldefault:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 88
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	call	lua_touserdata@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rbp
	mov	r13, rax
	call	lua_newtable@PLT
	mov	rsi, rsp
	mov	r8, rbp
	mov	edx, 64
	mov	ecx, DWORD PTR encode_default[rip]
	mov	rdi, r13
	call	sproto_encode@PLT
	test	eax, eax
	js	.L10
.L4:
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 72[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, 128
	mov	rdi, rbp
	mov	ebx, 128
	call	lua_newuserdata@PLT
	mov	esi, -2
	mov	rdi, rbp
	mov	r12, rax
	call	lua_insert@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	add	ebx, ebx
	mov	rdi, rbp
	mov	esi, ebx
	call	lua_newuserdata@PLT
	mov	esi, -3
	mov	rdi, rbp
	mov	r12, rax
	call	lua_replace@PLT
.L5:
	mov	ecx, DWORD PTR encode_default[rip]
	mov	r8, rbp
	mov	edx, ebx
	mov	rsi, r12
	mov	rdi, r13
	call	sproto_encode@PLT
	test	eax, eax
	js	.L12
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rdx, .LC0[rip]
	mov	esi, 1
	mov	rdi, rbp
	call	luaL_argerror@PLT
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ldefault, .-ldefault
	.comm	encode_default,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_lsproto.c_ldefault.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Need a sproto_type object\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldefault, %function
ldefault:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L13
	sub	sp, sp, #80
	mov	r1, #1
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	mov	r4, r0
	bl	lua_touserdata
	subs	r7, r0, #0
	beq	.L9
	ldr	r8, .L13+4
	mov	r0, r4
	bl	lua_newtable
	mov	r2, #64
	mov	r0, r7
	ldr	r3, [r8]
	str	r4, [sp]
	add	r1, sp, #12
	bl	sproto_encode
	cmp	r0, #0
	blt	.L10
.L4:
	mov	r0, #1
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #80
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	mov	r1, #128
	mov	r0, r4
	bl	lua_newuserdata
	mvn	r1, #1
	mov	r5, r0
	mov	r0, r4
	bl	lua_insert
	mov	r6, #128
	b	.L5
.L12:
	lsl	r6, r6, #1
	mov	r1, r6
	mov	r0, r4
	bl	lua_newuserdata
	mvn	r1, #2
	mov	r5, r0
	mov	r0, r4
	bl	lua_replace
.L5:
	mov	r1, r5
	mov	r2, r6
	mov	r0, r7
	ldr	r3, [r8]
	str	r4, [sp]
	bl	sproto_encode
	cmp	r0, #0
	blt	.L12
	b	.L4
.L9:
	mov	r0, r4
	mov	r1, #1
	ldr	r2, .L13+8
	bl	luaL_argerror
	b	.L1
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	encode_default
	.word	.LC0
	.size	ldefault, .-ldefault
	.comm	encode_default,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
