	.file	"extr_lib_ffi.c_ffi_clib_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ffi_clib_index, @function
ffi_clib_index:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	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
	mov	r12, QWORD PTR 8[rdi]
	cmp	QWORD PTR [rdi], r12
	jbe	.L4
	mov	rdi, r12
	call	tvisudata@PLT
	test	rax, rax
	jne	.L16
.L4:
	mov	edx, DWORD PTR LUA_TUSERDATA[rip]
	mov	esi, 1
	mov	rdi, rbp
	call	lj_err_argt@PLT
.L3:
	mov	rdi, r12
	add	r12, 4
	call	udataV@PLT
	mov	rdi, rax
	call	uddata@PLT
	mov	r13, rax
	cmp	r12, QWORD PTR 0[rbp]
	jnb	.L7
	mov	rdi, r12
	call	tvisstr@PLT
	test	rax, rax
	jne	.L6
.L7:
	mov	edx, DWORD PTR LUA_TSTRING[rip]
	mov	esi, 2
	mov	rdi, rbp
	call	lj_err_argt@PLT
.L6:
	mov	rdi, r12
	call	strV@PLT
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edx, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	lj_clib_index@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, r12
	call	udataV@PLT
	mov	rcx, QWORD PTR UDTYPE_FFI_CLIB[rip]
	cmp	QWORD PTR [rax], rcx
	jne	.L4
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ffi_clib_index, .-ffi_clib_index
	.comm	UDTYPE_FFI_CLIB,8,8
	.comm	LUA_TUSERDATA,4,4
	.comm	LUA_TSTRING,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_lib_ffi.c_ffi_clib_index.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffi_clib_index, %function
ffi_clib_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldm	r0, {r3, r5}
	cmp	r3, r5
	mov	r4, r0
	bls	.L4
	mov	r0, r5
	bl	tvisudata
	cmp	r0, #0
	bne	.L16
.L4:
	ldr	r3, .L17
	mov	r1, #1
	mov	r0, r4
	ldr	r2, [r3]
	bl	lj_err_argt
.L3:
	mov	r0, r5
	bl	udataV
	bl	uddata
	ldr	r3, [r4]
	add	r5, r5, #4
	cmp	r5, r3
	mov	r6, r0
	bcs	.L7
	mov	r0, r5
	bl	tvisstr
	cmp	r0, #0
	bne	.L6
.L7:
	ldr	r3, .L17+4
	mov	r1, #2
	mov	r0, r4
	ldr	r2, [r3]
	bl	lj_err_argt
.L6:
	mov	r0, r5
	bl	strV
	mov	r1, r6
	mov	r2, r0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	lj_clib_index
.L16:
	mov	r0, r5
	bl	udataV
	ldr	r3, .L17+8
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L4
	b	.L3
.L18:
	.align	2
.L17:
	.word	LUA_TUSERDATA
	.word	LUA_TSTRING
	.word	UDTYPE_FFI_CLIB
	.size	ffi_clib_index, .-ffi_clib_index
	.comm	UDTYPE_FFI_CLIB,4,4
	.comm	LUA_TUSERDATA,4,4
	.comm	LUA_TSTRING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
