	.file	"extr_pdf-stream.c_pdf_open_contents_stream.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"content stream is not a stream (%d 0 R)"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	pdf_open_contents_stream
	.type	pdf_open_contents_stream, @function
pdf_open_contents_stream:
.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
	mov	rsi, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	pdf_is_array@PLT
	test	rax, rax
	jne	.L6
	mov	rsi, r12
	mov	rdi, rbp
	call	pdf_to_num@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	r14d, eax
	call	pdf_is_stream@PLT
	test	rax, rax
	jne	.L7
	mov	edx, r14d
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	fz_warn@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 32
	lea	rsi, .LC1[rip]
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	fz_open_memory@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	edx, r14d
	mov	rsi, r13
	mov	rdi, rbp
	xor	ecx, ecx
	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
	jmp	pdf_open_image_stream@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	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
	jmp	pdf_open_object_array@PLT
	.cfi_endproc
.LFE0:
	.size	pdf_open_contents_stream, .-pdf_open_contents_stream
	.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-stream.c_pdf_open_contents_stream.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"content stream is not a stream (%d 0 R)\000"
	.align	2
.LC1:
	.ascii	"\000"
	.text
	.align	2
	.global	pdf_open_contents_stream
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdf_open_contents_stream, %function
pdf_open_contents_stream:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r1
	mov	r1, r2
	mov	r5, r2
	mov	r4, r0
	bl	pdf_is_array
	subs	r6, r0, #0
	bne	.L6
	mov	r1, r5
	mov	r0, r4
	bl	pdf_to_num
	mov	r1, r5
	mov	r8, r0
	mov	r0, r4
	bl	pdf_is_stream
	subs	r5, r0, #0
	bne	.L7
	mov	r2, r8
	mov	r0, r4
	ldr	r1, .L8
	bl	fz_warn
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L8+4
	b	fz_open_memory
.L7:
	mov	r3, r6
	mov	r2, r8
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	pdf_open_image_stream
.L6:
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	pdf_open_object_array
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	pdf_open_contents_stream, .-pdf_open_contents_stream
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
