	.file	"extr_regcomp.c_computematchjumps.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	computematchjumps, @function
computematchjumps:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rdi], 0
	je	.L33
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	eax, DWORD PTR [rsi]
	lea	edi, 0[0+rax*4]
	call	malloc@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L3
	mov	QWORD PTR 8[r14], 0
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	eax, DWORD PTR [r14]
	lea	edi, 0[0+rax*4]
	call	malloc@PLT
	mov	QWORD PTR 8[r14], rax
	mov	rcx, rax
	test	rax, rax
	je	.L15
	mov	esi, DWORD PTR [r14]
	xor	eax, eax
	mov	r15d, esi
	test	esi, esi
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, eax
	add	eax, 1
	add	rcx, 4
	not	edi
	lea	esi, [rdi+rsi*2]
	mov	DWORD PTR -4[rcx], esi
	mov	esi, DWORD PTR [r14]
	mov	r15d, esi
	cmp	esi, eax
	jg	.L7
.L6:
	mov	r13d, esi
	sub	r13d, 1
	js	.L8
	movsx	rax, r13d
	mov	QWORD PTR [rsp], rax
	lea	rax, 0[rbp+rax*4]
	mov	QWORD PTR 8[rsp], rax
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rcx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rsp]
	mov	DWORD PTR [rcx], r15d
	mov	esi, DWORD PTR [r14]
	mov	r12d, eax
	cmp	r15d, esi
	jge	.L9
	lea	rbx, 0[0+rax*8]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR 8[r14]
	sub	esi, r12d
	sub	esi, 1
	mov	edi, DWORD PTR [rax+r13*4]
	call	MIN@PLT
	mov	rdx, QWORD PTR 8[r14]
	mov	DWORD PTR [rdx+r13*4], eax
	mov	r15d, DWORD PTR 0[rbp+r13*4]
	mov	esi, DWORD PTR [r14]
	cmp	esi, r15d
	jle	.L9
.L10:
	mov	rax, QWORD PTR 16[r14]
	movsx	r13, r15d
	mov	rcx, QWORD PTR [rax+r13*8]
	cmp	QWORD PTR [rax+rbx], rcx
	jne	.L11
.L9:
	sub	QWORD PTR [rsp], 1
	mov	rax, QWORD PTR [rsp]
	sub	r15d, 1
	sub	QWORD PTR 8[rsp], 4
	test	eax, eax
	jns	.L12
.L8:
	test	r15d, r15d
	js	.L34
	mov	rax, QWORD PTR 8[r14]
	movsx	r12, r15d
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR [rax+rbx*4]
	add	esi, r15d
	sub	esi, ebx
	call	MIN@PLT
	mov	rcx, rbx
	mov	r8, rax
	mov	rax, QWORD PTR 8[r14]
	mov	DWORD PTR [rax+rbx*4], r8d
	add	rbx, 1
	mov	esi, DWORD PTR [r14]
	cmp	r12, rcx
	jne	.L16
.L17:
	movsx	rbx, DWORD PTR 0[rbp+r12*4]
	cmp	esi, r15d
	jle	.L15
	.p2align 4,,10
	.p2align 3
.L14:
	cmp	r15d, ebx
	jg	.L21
	movsx	r12, r15d
	sal	r12, 2
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 8[r14]
	add	esi, ebx
	sub	esi, r15d
	add	r15d, 1
	mov	edi, DWORD PTR [rax+r12]
	call	MIN@PLT
	mov	rdx, QWORD PTR 8[r14]
	mov	DWORD PTR [rdx+r12], eax
	add	r12, 4
	mov	esi, DWORD PTR [r14]
	cmp	r15d, ebx
	jg	.L21
.L22:
	cmp	r15d, esi
	jl	.L19
.L15:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmp	r15d, esi
	jge	.L15
	movsx	rbx, DWORD PTR 0[rbp+rbx*4]
	jmp	.L14
.L34:
	movsx	r12, r15d
	jmp	.L17
	.cfi_endproc
.LFE0:
	.size	computematchjumps, .-computematchjumps
	.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_regcomp.c_computematchjumps.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	computematchjumps, %function
computematchjumps:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, [r0]
	cmp	r8, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r4, [r1]
	mov	r10, r1
	lsl	r7, r4, #2
	mov	r0, r7
	bl	malloc
	subs	r6, r0, #0
	beq	.L34
	mov	r0, r7
	bl	malloc
	cmp	r0, #0
	str	r0, [r10, #4]
	beq	.L18
	cmp	r4, #0
	lslgt	r1, r4, #1
	subgt	r3, r1, #1
	sub	r5, r4, #1
	subgt	r1, r1, r4
	ble	.L35
.L7:
	cmp	r1, r3
	str	r3, [r0], #4
	sub	r3, r3, #1
	bne	.L7
.L9:
	mov	r3, r4
	sub	r7, r7, #4
	add	r9, r7, r6
.L8:
	cmp	r4, r3
	str	r4, [r9]
	lsl	r7, r5, #2
	blt	.L11
	b	.L12
.L13:
	ldr	r3, [r10, #4]
	ldr	r0, [r3, r4, lsl #2]
	bl	MIN
	ldr	r3, [r10, #4]
	str	r0, [r3, r4, lsl #2]
	ldr	r4, [r6, r4, lsl #2]
	ldr	r3, [r10]
	cmp	r3, r4
	ble	.L12
.L11:
	sub	r1, r3, r5
	ldr	r3, [r10, #8]
	sub	r1, r1, #1
	ldr	r2, [r3, r7]
	ldr	r3, [r3, r4, lsl #2]
	cmp	r2, r3
	bne	.L13
	ldr	r3, [r10]
.L12:
	sub	r5, r5, #1
	cmn	r5, #1
	sub	r4, r4, #1
	sub	r9, r9, #4
	bne	.L8
	cmp	r4, #0
	lsl	r7, r4, #2
	blt	.L14
.L23:
	ldr	r2, [r10, #4]
	add	r5, r4, #1
.L16:
	add	r3, r4, r3
	ldr	r0, [r2, r8, lsl #2]
	sub	r1, r3, r8
	bl	MIN
	ldr	r2, [r10, #4]
	str	r0, [r2, r8, lsl #2]
	add	r8, r8, #1
	cmp	r8, r5
	ldr	r3, [r10]
	bne	.L16
.L14:
	cmp	r4, r3
	ldr	r5, [r6, r7]
	bge	.L18
.L17:
	cmp	r5, r4
	bge	.L22
	b	.L20
.L21:
	ldr	r3, [r10, #4]
	ldr	r0, [r3, r4, lsl #2]
	bl	MIN
	ldr	r3, [r10, #4]
	str	r0, [r3, r4, lsl #2]
	add	r4, r4, #1
	cmp	r4, r5
	ldr	r3, [r10]
	bgt	.L20
.L22:
	add	r1, r5, r3
	cmp	r4, r3
	sub	r1, r1, r4
	blt	.L21
.L18:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	free
.L20:
	cmp	r4, r3
	bge	.L18
	ldr	r5, [r6, r5, lsl #2]
	b	.L17
.L35:
	cmp	r5, #0
	bge	.L9
	cmp	r4, #0
	moveq	r3, r4
	beq	.L23
	b	.L18
.L34:
	str	r6, [r10, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	computematchjumps, .-computematchjumps
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
