	.file	"extr_pdf-write.c_writexrefstreamsubsect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	writexrefstreamsubsect, @function
writexrefstreamsubsect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rsi, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r9d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	mov	edx, r9d
	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
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r15d, DWORD PTR 64[rsp]
	call	pdf_array_push_int@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	mov	edx, r15d
	sub	edx, r14d
	call	pdf_array_push_int@PLT
	cmp	r14d, r15d
	jge	.L1
	sub	r15d, 1
	movsx	rax, r14d
	sub	r15d, r14d
	lea	rbx, 0[0+rax*4]
	lea	r14, 1[rax+r15]
	sal	r14, 2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[r12]
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbp
	cmp	QWORD PTR [rax+rbx*2], 0
	setne	dl
	call	fz_append_byte@PLT
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx]
	sar	edx, 24
	call	fz_append_byte@PLT
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx]
	sar	edx, 16
	call	fz_append_byte@PLT
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx]
	sar	edx, 8
	call	fz_append_byte@PLT
	mov	rax, QWORD PTR [r12]
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx]
	call	fz_append_byte@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	rsi, r13
	mov	rdi, rbp
	mov	edx, DWORD PTR [rax+rbx]
	add	rbx, 4
	call	fz_append_byte@PLT
	cmp	rbx, r14
	jne	.L3
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	writexrefstreamsubsect, .-writexrefstreamsubsect
	.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_pdf-write.c_writexrefstreamsubsect.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	writexrefstreamsubsect, %function
writexrefstreamsubsect:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r3
	mov	r5, r0
	ldr	r4, [sp, #36]
	ldr	r8, [sp, #40]
	mov	r1, r3
	mov	r6, r2
	mov	r2, r4
	ldr	r7, [sp, #32]
	bl	pdf_array_push_int
	mov	r1, r9
	mov	r0, r5
	sub	r2, r8, r4
	bl	pdf_array_push_int
	cmp	r4, r8
	popge	{r4, r5, r6, r7, r8, r9, r10, pc}
.L3:
	ldr	r3, [r6, #8]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	subs	r2, r2, #0
	movne	r2, #1
	bl	fz_append_byte
	ldr	r3, [r6]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	asr	r2, r2, #24
	bl	fz_append_byte
	ldr	r3, [r6]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	asr	r2, r2, #16
	bl	fz_append_byte
	ldr	r3, [r6]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	asr	r2, r2, #8
	bl	fz_append_byte
	ldr	r3, [r6]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	bl	fz_append_byte
	ldr	r3, [r6, #4]
	mov	r1, r7
	ldr	r2, [r3, r4, lsl #2]
	mov	r0, r5
	add	r4, r4, #1
	bl	fz_append_byte
	cmp	r8, r4
	bne	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	writexrefstreamsubsect, .-writexrefstreamsubsect
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
