	.file	"extr_html-layout.c_draw_rect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	draw_rect, @function
draw_rect:
.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, 72
	.cfi_def_cfa_offset 128
	mov	rbx, QWORD PTR 128[rsp]
	movss	DWORD PTR 24[rsp], xmm0
	movss	DWORD PTR 20[rsp], xmm1
	movss	DWORD PTR 16[rsp], xmm2
	movss	DWORD PTR 12[rsp], xmm3
	movss	DWORD PTR 8[rsp], xmm4
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	test	rbx, rbx
	jle	.L1
	mov	rbp, rdi
	mov	r13d, edx
	mov	r14, rsi
	call	fz_new_path@PLT
	movss	xmm6, DWORD PTR 24[rsp]
	movss	xmm2, DWORD PTR 16[rsp]
	mov	rdi, rbp
	movss	xmm5, DWORD PTR 20[rsp]
	mov	rsi, rax
	mov	r12, rax
	subss	xmm2, xmm6
	movss	DWORD PTR 28[rsp], xmm6
	movaps	xmm0, xmm5
	movss	DWORD PTR 16[rsp], xmm5
	movaps	xmm1, xmm2
	movss	DWORD PTR 24[rsp], xmm2
	call	fz_moveto@PLT
	movss	xmm3, DWORD PTR 12[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	movss	xmm1, DWORD PTR 24[rsp]
	movaps	xmm0, xmm3
	call	fz_lineto@PLT
	movss	xmm6, DWORD PTR 28[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	movss	xmm4, DWORD PTR 8[rsp]
	movss	xmm3, DWORD PTR 12[rsp]
	subss	xmm4, xmm6
	movaps	xmm0, xmm3
	movaps	xmm1, xmm4
	movss	DWORD PTR 8[rsp], xmm4
	call	fz_lineto@PLT
	movss	xmm5, DWORD PTR 16[rsp]
	mov	rsi, r12
	mov	rdi, rbp
	movss	xmm1, DWORD PTR 8[rsp]
	movaps	xmm0, xmm5
	call	fz_lineto@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	fz_closepath@PLT
	movss	xmm1, DWORD PTR .LC0[rip]
	mov	rdi, rbp
	movss	xmm0, DWORD PTR 136[rsp]
	mov	r15d, DWORD PTR fz_default_color_params[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR 44[rsp], xmm0
	movss	xmm0, DWORD PTR 140[rsp]
	divss	xmm0, xmm1
	movss	DWORD PTR 48[rsp], xmm0
	movss	xmm0, DWORD PTR 144[rsp]
	divss	xmm0, xmm1
	movss	DWORD PTR 52[rsp], xmm0
	call	fz_device_rgb@PLT
	pxor	xmm0, xmm0
	push	r15
	.cfi_def_cfa_offset 136
	mov	rdx, r12
	cvtsi2ss	xmm0, rbx
	mov	r9d, eax
	mov	r8d, r13d
	xor	ecx, ecx
	movss	xmm1, DWORD PTR .LC0[rip]
	mov	rsi, r14
	mov	rdi, rbp
	lea	rax, 52[rsp]
	push	rax
	.cfi_def_cfa_offset 144
	divss	xmm0, xmm1
	call	fz_fill_path@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	fz_drop_path@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	add	rsp, 72
	.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
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	draw_rect, .-draw_rect
	.comm	fz_default_color_params,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1132396544
	.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_html-layout.c_draw_rect.c"
	.text
	.global	__aeabi_fsub
	.global	__aeabi_fdiv
	.global	__aeabi_i2f
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_rect, %function
draw_rect:
	@ args = 32, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #40
	ldr	r9, [sp, #72]
	mov	r6, r3
	ldr	r3, .L7
	cmp	r9, #0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ble	.L1
	mov	r4, r0
	mov	r8, r2
	mov	r7, r1
	bl	fz_new_path
	mov	r1, r6
	mov	r5, r0
	ldr	r0, [sp, #92]	@ float
	bl	__aeabi_fsub
	mov	r10, r0
	mov	r3, r0
	mov	r1, r5
	ldr	r2, [sp, #88]	@ float
	mov	r0, r4
	bl	fz_moveto
	mov	r3, r10
	ldr	r2, [sp, #96]	@ float
	mov	r1, r5
	mov	r0, r4
	bl	fz_lineto
	mov	r1, r6
	ldr	r0, [sp, #100]	@ float
	bl	__aeabi_fsub
	mov	r6, r0
	mov	r3, r0
	mov	r1, r5
	ldr	r2, [sp, #96]	@ float
	mov	r0, r4
	bl	fz_lineto
	ldr	r2, [sp, #88]	@ float
	mov	r3, r6
	mov	r1, r5
	mov	r0, r4
	bl	fz_lineto
	mov	r1, r5
	mov	r0, r4
	bl	fz_closepath
	ldr	r1, .L7+4
	ldr	r0, [sp, #76]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L7+4
	ldr	r0, [sp, #80]	@ float
	str	r3, [sp, #24]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	ldr	r1, .L7+4
	ldr	r0, [sp, #84]	@ float
	str	r3, [sp, #28]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r4
	str	r3, [sp, #32]	@ float
	bl	fz_device_rgb
	ldr	r3, .L7+8
	mov	r6, r0
	ldr	r3, [r3]
	mov	r0, r9
	str	r3, [sp, #16]
	bl	__aeabi_i2f
	ldr	r1, .L7+4
	bl	__aeabi_fdiv
	add	r3, sp, #24
	mov	r1, r7
	str	r0, [sp, #12]	@ float
	str	r3, [sp, #8]
	mov	r2, r5
	mov	r3, #0
	mov	r0, r4
	str	r6, [sp, #4]
	str	r8, [sp]
	bl	fz_fill_path
	mov	r1, r5
	mov	r0, r4
	bl	fz_drop_path
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	1132396544
	.word	fz_default_color_params
	.size	draw_rect, .-draw_rect
	.comm	fz_default_color_params,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
