	.file	"extr_vbregexp.c_create_sub_matches.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	create_sub_matches, @function
create_sub_matches:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, DWORD PTR SubMatches_tid[rip]
	call	init_regexp_typeinfo@PLT
	mov	edi, eax
	mov	r12d, eax
	call	FAILED@PLT
	test	rax, rax
	je	.L18
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, 32
	call	heap_alloc_zero@PLT
	mov	r14, rax
	test	rax, rax
	je	.L16
	lea	rax, SubMatchesVtbl[rip]
	mov	QWORD PTR 16[r14], r13
	mov	QWORD PTR 24[r14], rax
	test	r13, r13
	je	.L4
	mov	eax, DWORD PTR 0[r13]
	lea	edi, 4[0+rax*4]
	call	heap_alloc@PLT
	mov	QWORD PTR 8[r14], rax
	mov	rdi, rax
	test	rax, rax
	je	.L19
	movsx	rax, DWORD PTR 0[r13]
	mov	rsi, QWORD PTR 24[r13]
	mov	rdx, rax
	sal	rax, 2
	sal	edx, 2
	sub	rsi, rax
	call	memcpy@PLT
	movsx	rdx, DWORD PTR 0[r13]
	mov	rax, QWORD PTR 8[r14]
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rdx, QWORD PTR 8[r13]
	mov	QWORD PTR 24[r13], 0
	test	rdx, rdx
	je	.L7
	mov	rax, QWORD PTR 16[r13]
	lea	rcx, [rax+rdx*4]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR [rax]
	cmp	edx, -1
	je	.L8
	sub	edx, ebx
	mov	DWORD PTR [rax], edx
.L8:
	add	rax, 4
	cmp	rax, rcx
	jne	.L9
.L7:
	mov	DWORD PTR [r14], 1
	mov	QWORD PTR 0[rbp], r14
.L20:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	QWORD PTR 8[r14], 0
	mov	DWORD PTR [r14], 1
	mov	QWORD PTR 0[rbp], r14
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r14
	call	heap_free@PLT
.L16:
	mov	r12d, DWORD PTR E_OUTOFMEMORY[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	create_sub_matches, .-create_sub_matches
	.comm	SubMatches_tid,4,4
	.comm	SubMatchesVtbl,4,4
	.comm	E_OUTOFMEMORY,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_vbregexp.c_create_sub_matches.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_sub_matches, %function
create_sub_matches:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, [r3]
	mov	r4, r1
	mov	r7, r2
	bl	init_regexp_typeinfo
	mov	r5, r0
	bl	FAILED
	subs	r9, r0, #0
	beq	.L18
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	mov	r0, #16
	bl	heap_alloc_zero
	subs	r8, r0, #0
	beq	.L16
	ldr	r3, .L21+4
	cmp	r4, #0
	str	r4, [r8, #8]
	str	r3, [r8, #12]
	beq	.L4
	ldr	r0, [r4]
	add	r0, r0, #1
	lsl	r0, r0, #2
	bl	heap_alloc
	cmp	r0, #0
	str	r0, [r8, #4]
	beq	.L19
	ldr	r3, [r4]
	ldr	r1, [r4, #12]
	lsl	r2, r3, #2
	sub	r1, r1, r3, lsl #2
	bl	memcpy
	ldr	r2, [r4]
	ldr	r3, [r8, #4]
	str	r9, [r3, r2, lsl #2]
	ldr	r2, [r4, #4]
	str	r9, [r4, #12]
	cmp	r2, #0
	beq	.L7
	ldr	r3, [r4, #8]
	add	r2, r3, r2, lsl #2
	sub	r2, r2, #4
	sub	r3, r3, #4
.L9:
	ldr	r1, [r3, #4]!
	cmn	r1, #1
	subne	r1, r1, r6
	strne	r1, [r3]
	cmp	r3, r2
	bne	.L9
.L7:
	mov	r3, #1
	str	r3, [r8]
	str	r8, [r7]
.L20:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	mov	r3, #1
	str	r4, [r8, #4]
	str	r3, [r8]
	str	r8, [r7]
	b	.L20
.L19:
	mov	r0, r8
	bl	heap_free
.L16:
	ldr	r3, .L21+8
	ldr	r5, [r3]
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L22:
	.align	2
.L21:
	.word	SubMatches_tid
	.word	SubMatchesVtbl
	.word	E_OUTOFMEMORY
	.size	create_sub_matches, .-create_sub_matches
	.comm	SubMatches_tid,4,4
	.comm	SubMatchesVtbl,4,4
	.comm	E_OUTOFMEMORY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
