	.file	"extr_backward_references_hq.c_BrotliCreateZopfliBackwardReferences.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BrotliCreateZopfliBackwardReferences
	.type	BrotliCreateZopfliBackwardReferences, @function
BrotliCreateZopfliBackwardReferences:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rdi, QWORD PTR 192[rsp]
	mov	r14, QWORD PTR 144[rsp]
	mov	QWORD PTR 16[rsp], rsi
	mov	r15, QWORD PTR 160[rsp]
	mov	rbx, QWORD PTR 168[rsp]
	mov	QWORD PTR 24[rsp], r8
	mov	rdx, QWORD PTR 176[rsp]
	mov	QWORD PTR 72[rsp], rdi
	mov	eax, DWORD PTR 152[rsp]
	mov	edi, DWORD PTR [r14]
	mov	QWORD PTR 32[rsp], r9
	mov	QWORD PTR 48[rsp], r15
	lea	r15, 1[r12]
	mov	QWORD PTR 56[rsp], rbx
	mov	rbx, QWORD PTR 184[rsp]
	mov	QWORD PTR 64[rsp], rdx
	mov	DWORD PTR 44[rsp], eax
	call	BROTLI_MAX_BACKWARD_LIMIT@PLT
	mov	esi, DWORD PTR ZopfliNode[rip]
	mov	rdi, rbp
	mov	rdx, r15
	mov	QWORD PTR 8[rsp], rax
	call	BROTLI_ALLOC@PLT
	mov	rdi, rbp
	mov	DWORD PTR nodes[rip], eax
	call	BROTLI_IS_OOM@PLT
	test	rax, rax
	je	.L7
.L1:
	add	rsp, 88
	.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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR nodes[rip]
	mov	rsi, r15
	call	BrotliInitZopfliNodes@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 152
	mov	rdi, rbp
	mov	rdx, r12
	mov	eax, DWORD PTR nodes[rip]
	push	rax
	.cfi_def_cfa_offset 160
	mov	ecx, DWORD PTR 60[rsp]
	push	rcx
	.cfi_def_cfa_offset 168
	mov	r15, QWORD PTR 72[rsp]
	mov	rcx, r13
	push	r15
	.cfi_def_cfa_offset 176
	push	QWORD PTR 40[rsp]
	.cfi_def_cfa_offset 184
	push	r14
	.cfi_def_cfa_offset 192
	mov	r9, QWORD PTR 80[rsp]
	mov	r8, QWORD PTR 72[rsp]
	mov	rsi, QWORD PTR 64[rsp]
	call	BrotliZopfliComputeShortestPath@PLT
	add	QWORD PTR [rbx], rax
	add	rsp, 48
	.cfi_def_cfa_offset 144
	mov	rdi, rbp
	call	BROTLI_IS_OOM@PLT
	test	rax, rax
	jne	.L1
	sub	rsp, 8
	.cfi_def_cfa_offset 152
	mov	ecx, DWORD PTR nodes[rip]
	mov	rsi, r13
	mov	rdi, r12
	push	QWORD PTR 80[rsp]
	.cfi_def_cfa_offset 160
	mov	r8, r15
	push	QWORD PTR 80[rsp]
	.cfi_def_cfa_offset 168
	push	r14
	.cfi_def_cfa_offset 176
	mov	r9, QWORD PTR 88[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	call	BrotliZopfliCreateCommands@PLT
	mov	esi, DWORD PTR nodes[rip]
	add	rsp, 120
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	BROTLI_FREE@PLT
	.cfi_endproc
.LFE0:
	.size	BrotliCreateZopfliBackwardReferences, .-BrotliCreateZopfliBackwardReferences
	.comm	nodes,4,4
	.comm	ZopfliNode,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_backward_references_hq.c_BrotliCreateZopfliBackwardReferences.c"
	.text
	.align	2
	.global	BrotliCreateZopfliBackwardReferences
	.syntax unified
	.arm
	.fpu softvfp
	.type	BrotliCreateZopfliBackwardReferences, %function
BrotliCreateZopfliBackwardReferences:
	@ args = 36, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #68
	mov	r6, r3
	ldr	r3, [sp, #104]
	ldr	r10, [sp, #112]
	ldr	ip, [sp, #116]
	ldr	lr, [sp, #124]
	ldr	r7, [sp, #128]
	ldr	r9, [sp, #136]
	mov	r5, r2
	str	r3, [sp, #36]
	ldr	r2, [sp, #108]
	ldr	r3, [sp, #120]
	mov	r4, r0
	ldr	r0, [r10]
	str	ip, [sp, #44]
	str	lr, [sp, #52]
	mov	r8, r1
	str	r2, [sp, #40]
	str	r3, [sp, #32]
	str	r7, [sp, #56]
	str	r9, [sp, #60]
	ldr	fp, [sp, #132]
	bl	BROTLI_MAX_BACKWARD_LIMIT
	ldr	r3, .L8
	add	r2, r5, #1
	ldr	r1, [r3]
	mov	r7, r0
	mov	r0, r4
	str	r2, [sp, #48]
	bl	BROTLI_ALLOC
	mov	r3, r0
	ldr	r9, .L8+4
	mov	r0, r4
	str	r3, [r9]
	bl	BROTLI_IS_OOM
	cmp	r0, #0
	beq	.L7
.L1:
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	ldr	r2, [sp, #48]
	ldr	r0, [r9]
	mov	r1, r2
	bl	BrotliInitZopfliNodes
	ldr	r3, [r9]
	ldr	ip, [sp, #44]
	ldr	r2, [sp, #32]
	ldr	r0, [sp, #40]
	ldr	r1, [sp, #36]
	str	ip, [sp, #20]
	str	r2, [sp, #16]
	str	r0, [sp, #4]
	mov	r2, r5
	str	r1, [sp]
	str	r3, [sp, #24]
	mov	r1, r8
	mov	r3, r6
	mov	r0, r4
	str	r7, [sp, #12]
	str	r10, [sp, #8]
	bl	BrotliZopfliComputeShortestPath
	mov	r2, r0
	ldr	r3, [fp]
	mov	r0, r4
	add	r3, r3, r2
	str	r3, [fp]
	bl	BROTLI_IS_OOM
	cmp	r0, #0
	bne	.L1
	ldr	r0, [sp, #60]
	ldr	r1, [sp, #56]
	ldr	r2, [sp, #32]
	ldr	lr, [sp, #52]
	str	r0, [sp, #16]
	str	r1, [sp, #12]
	str	r2, [sp]
	str	r10, [sp, #8]
	str	lr, [sp, #4]
	mov	r1, r6
	mov	r2, r7
	mov	r0, r5
	ldr	r3, [r9]
	bl	BrotliZopfliCreateCommands
	mov	r0, r4
	ldr	r1, [r9]
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	BROTLI_FREE
.L9:
	.align	2
.L8:
	.word	ZopfliNode
	.word	nodes
	.size	BrotliCreateZopfliBackwardReferences, .-BrotliCreateZopfliBackwardReferences
	.comm	nodes,4,4
	.comm	ZopfliNode,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
