	.file	"extr_draw-device.c_fz_draw_drop_device.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fz_draw_drop_device, @function
fz_draw_drop_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR 40[rsi]
	mov	esi, DWORD PTR 36[rsi]
	call	fz_drop_default_colorspaces@PLT
	mov	esi, DWORD PTR 32[rbp]
	mov	rdi, r13
	call	fz_drop_colorspace@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jle	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, QWORD PTR 16[rbp]
	cdqe
	sal	rax, 5
	lea	rbx, -32[rdx+rax]
	mov	rsi, QWORD PTR 32[rbx]
	cmp	rsi, QWORD PTR [rbx]
	je	.L3
	mov	rdi, r13
	call	fz_drop_pixmap@PLT
.L3:
	mov	rsi, QWORD PTR 40[rbx]
	cmp	rsi, QWORD PTR 8[rbx]
	je	.L4
	mov	rdi, r13
	call	fz_drop_pixmap@PLT
.L4:
	mov	rsi, QWORD PTR 48[rbx]
	cmp	rsi, QWORD PTR 16[rbx]
	je	.L5
	mov	rdi, r13
	call	fz_drop_pixmap@PLT
.L5:
	mov	rsi, QWORD PTR 56[rbx]
	cmp	rsi, QWORD PTR 24[rbx]
	je	.L6
	mov	rdi, r13
	call	fz_drop_pixmap@PLT
.L6:
	mov	eax, DWORD PTR 0[rbp]
	sub	eax, 1
	mov	DWORD PTR 0[rbp], eax
	test	eax, eax
	jg	.L7
.L2:
	mov	rsi, QWORD PTR 16[rbp]
	cmp	rsi, QWORD PTR 24[rbp]
	je	.L8
	mov	rdi, r13
	call	fz_free@PLT
.L8:
	mov	esi, DWORD PTR 8[rbp]
	mov	rdi, r13
	call	fz_drop_scale_cache@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r13
	call	fz_drop_scale_cache@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	fz_drop_rasterizer@PLT
	.cfi_endproc
.LFE0:
	.size	fz_draw_drop_device, .-fz_draw_drop_device
	.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_draw-device.c_fz_draw_drop_device.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fz_draw_drop_device, %function
fz_draw_drop_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r6, r0
	ldr	r1, [r1, #24]
	ldr	r7, [r5, #28]
	bl	fz_drop_default_colorspaces
	mov	r0, r6
	ldr	r1, [r5, #20]
	bl	fz_drop_colorspace
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L2
.L7:
	ldr	r2, [r5, #12]
	sub	r3, r3, #-268435455
	add	r4, r2, r3, lsl #4
	ldr	r1, [r4, #16]
	ldr	r3, [r2, r3, lsl #4]
	cmp	r1, r3
	beq	.L3
	mov	r0, r6
	bl	fz_drop_pixmap
.L3:
	ldr	r1, [r4, #20]
	ldr	r3, [r4, #4]
	cmp	r1, r3
	beq	.L4
	mov	r0, r6
	bl	fz_drop_pixmap
.L4:
	ldr	r1, [r4, #24]
	ldr	r3, [r4, #8]
	cmp	r1, r3
	beq	.L5
	mov	r0, r6
	bl	fz_drop_pixmap
.L5:
	ldr	r1, [r4, #28]
	ldr	r3, [r4, #12]
	cmp	r1, r3
	beq	.L6
	mov	r0, r6
	bl	fz_drop_pixmap
.L6:
	ldr	r3, [r5]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r5]
	bgt	.L7
.L2:
	ldr	r1, [r5, #12]
	ldr	r3, [r5, #16]
	cmp	r1, r3
	beq	.L8
	mov	r0, r6
	bl	fz_free
.L8:
	ldr	r1, [r5, #8]
	mov	r0, r6
	bl	fz_drop_scale_cache
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	fz_drop_scale_cache
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	fz_drop_rasterizer
	.size	fz_draw_drop_device, .-fz_draw_drop_device
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
