	.file	"extr_lstrlib.c_capture_to_close.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"invalid pattern capture"
	.text
	.p2align 4
	.type	capture_to_close, @function
capture_to_close:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	sub	eax, 1
	js	.L2
	mov	rcx, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR CAP_UNFINISHED[rip]
	cdqe
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	sub	rax, 1
	test	eax, eax
	js	.L2
.L4:
	cmp	QWORD PTR [rcx+rax*8], rdx
	jne	.L7
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR 4[rdi]
	lea	rsi, .LC0[rip]
	jmp	luaL_error@PLT
	.cfi_endproc
.LFE0:
	.size	capture_to_close, .-capture_to_close
	.comm	CAP_UNFINISHED,8,8
	.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_lstrlib.c_capture_to_close.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"invalid pattern capture\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	capture_to_close, %function
capture_to_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, [r0]
	mov	ip, r0
	subs	r0, r2, #1
	bmi	.L2
	ldr	r1, .L7
	ldr	r3, [ip, #8]
	sub	r2, r2, #-1073741823
	ldr	r1, [r1]
	add	r3, r3, r2, lsl #2
.L4:
	ldr	r2, [r3], #-4
	cmp	r2, r1
	bxeq	lr
	subs	r0, r0, #1
	bcs	.L4
.L2:
	ldr	r0, [ip, #4]
	ldr	r1, .L7+4
	b	luaL_error
.L8:
	.align	2
.L7:
	.word	CAP_UNFINISHED
	.word	.LC0
	.size	capture_to_close, .-capture_to_close
	.comm	CAP_UNFINISHED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
