	.file	"extr_pdf-op-run.c_pdf_show_image.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pdf_show_image, @function
pdf_show_image:
.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
	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	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 8[rsi], 0
	je	.L8
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	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
.L8:
	.cfi_restore_state
	movsx	rbx, DWORD PTR [rsi]
	mov	r15, rdi
	mov	r12, rdx
	mov	rbp, rsi
	mov	edx, 1
	sal	rbx, 4
	add	rbx, QWORD PTR 16[rsi]
	xor	esi, esi
	mov	edi, DWORD PTR 8[rbx]
	call	fz_pre_translate@PLT
	mov	edx, -1
	mov	esi, 1
	mov	edi, eax
	call	fz_pre_scale@PLT
	mov	edi, DWORD PTR fz_unit_rect[rip]
	mov	esi, eax
	mov	r13d, eax
	call	fz_transform_rect@PLT
	mov	rdx, QWORD PTR [r12]
	mov	r14d, eax
	test	rdx, rdx
	jne	.L10
	mov	rbx, rsp
	mov	rsi, rbp
	mov	rdi, r15
	mov	edx, eax
	mov	rcx, rbx
	mov	QWORD PTR [rsp], 0
	call	pdf_begin_group@PLT
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, r15
	mov	r8d, r14d
	mov	ecx, r13d
	call	pdf_show_image_imp@PLT
	mov	rdx, rbx
	mov	rsi, rbp
	mov	rdi, r15
	call	pdf_end_group@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rbp]
	test	rax, rax
	jne	.L11
	mov	r8d, r14d
	mov	ecx, r13d
	mov	rdi, r15
	call	fz_clip_image_mask@PLT
	mov	rsi, rbp
	mov	rdi, r15
	mov	r8d, r14d
	mov	ecx, r13d
	mov	rdx, r12
	call	pdf_show_image_imp@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r15
	call	fz_pop_clip@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	push	1
	.cfi_def_cfa_offset 88
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	push	rax
	.cfi_def_cfa_offset 96
	mov	edx, r14d
	mov	rdi, r15
	call	fz_begin_group@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdx, QWORD PTR [r12]
	mov	r8d, r14d
	mov	ecx, r13d
	mov	rdi, r15
	call	fz_clip_image_mask@PLT
	mov	rdx, r12
	mov	r8d, r14d
	mov	ecx, r13d
	mov	rsi, rbp
	mov	rdi, r15
	call	pdf_show_image_imp@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r15
	call	fz_pop_clip@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r15
	call	fz_end_group@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pdf_show_image, .-pdf_show_image
	.comm	fz_unit_rect,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_pdf-op-run.c_pdf_show_image.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdf_show_image, %function
pdf_show_image:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, [r1, #8]
	ldr	r3, .L12
	sub	sp, sp, #28
	cmp	r9, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L8
.L1:
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	fp, [r1]
	ldr	r10, [r1, #12]
	mov	r6, r2
	add	r3, r10, fp, lsl #3
	mov	r2, #1
	mov	r4, r1
	mov	r5, r0
	mov	r1, r9
	ldr	r0, [r3, #4]
	bl	fz_pre_translate
	mvn	r2, #0
	mov	r1, #1
	bl	fz_pre_scale
	ldr	r3, .L12+4
	mov	r1, r0
	mov	r7, r0
	ldr	r0, [r3]
	bl	fz_transform_rect
	ldr	ip, [r6]
	mov	r8, r0
	cmp	ip, #0
	bne	.L10
	mov	r2, r0
	mov	r1, r4
	add	r3, sp, #16
	mov	r0, r5
	str	ip, [sp, #16]
	bl	pdf_begin_group
	mov	r2, r6
	mov	r1, r4
	mov	r3, r7
	mov	r0, r5
	str	r8, [sp]
	bl	pdf_show_image_imp
	mov	r1, r4
	mov	r0, r5
	add	r2, sp, #16
	bl	pdf_end_group
	b	.L1
.L10:
	ldr	r3, [r10, fp, lsl #3]
	ldr	r1, [r4, #4]
	cmp	r3, #0
	bne	.L11
	mov	r2, ip
	mov	r3, r7
	str	r0, [sp]
	mov	r0, r5
	bl	fz_clip_image_mask
	mov	r1, r4
	mov	r3, r7
	mov	r2, r6
	mov	r0, r5
	str	r8, [sp]
	bl	pdf_show_image_imp
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	fz_pop_clip
	b	.L1
.L11:
	mov	r2, #1
	str	r3, [sp, #8]
	str	r2, [sp, #12]
	mov	r3, r9
	mov	r2, r0
	str	r9, [sp, #4]
	mov	r0, r5
	str	r9, [sp]
	bl	fz_begin_group
	str	r8, [sp]
	mov	r3, r7
	ldr	r2, [r6]
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	fz_clip_image_mask
	mov	r3, r7
	mov	r2, r6
	mov	r1, r4
	mov	r0, r5
	str	r8, [sp]
	bl	pdf_show_image_imp
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	fz_pop_clip
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	fz_end_group
	b	.L1
.L9:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	fz_unit_rect
	.size	pdf_show_image, .-pdf_show_image
	.comm	fz_unit_rect,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
