	.file	"extr_draw-path.c_fz_add_line_cap.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fz_add_line_cap, @function
fz_add_line_cap:
.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
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	movss	xmm6, DWORD PTR [rsi]
	movss	xmm5, DWORD PTR 4[rsi]
	movss	DWORD PTR 16[rsp], xmm2
	subss	xmm2, xmm0
	movss	DWORD PTR 20[rsp], xmm3
	subss	xmm3, xmm1
	movaps	xmm0, xmm2
	mulss	xmm0, xmm2
	movaps	xmm1, xmm3
	mulss	xmm3, xmm3
	addss	xmm0, xmm3
	pxor	xmm3, xmm3
	ucomiss	xmm3, xmm0
	movaps	xmm4, xmm0
	sqrtss	xmm4, xmm4
	ja	.L15
.L2:
	movaps	xmm0, xmm5
	xorps	xmm2, XMMWORD PTR .LC1[rip]
	divss	xmm0, xmm4
	mulss	xmm1, xmm0
	mulss	xmm2, xmm0
	movss	DWORD PTR 8[rsp], xmm1
	movss	DWORD PTR 12[rsp], xmm2
	cmp	edx, 130
	je	.L3
	jg	.L4
	cmp	edx, 128
	je	.L5
	cmp	edx, 129
	jne	.L7
	movss	xmm4, DWORD PTR 8[rsp]
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	movss	xmm0, DWORD PTR 16[rsp]
	movss	xmm3, DWORD PTR 12[rsp]
	movss	xmm1, DWORD PTR 20[rsp]
	movaps	xmm9, xmm4
	subss	xmm0, xmm4
	subss	xmm1, xmm3
	movaps	xmm8, xmm0
	addss	xmm9, xmm1
	subss	xmm8, xmm3
	movaps	xmm3, xmm9
	movaps	xmm2, xmm8
	movss	DWORD PTR 28[rsp], xmm9
	movss	DWORD PTR 24[rsp], xmm8
	call	fz_add_line@PLT
	movss	xmm4, DWORD PTR 8[rsp]
	mov	edx, r13d
	movss	xmm6, DWORD PTR 16[rsp]
	movss	xmm3, DWORD PTR 12[rsp]
	movss	xmm7, DWORD PTR 20[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	addss	xmm6, xmm4
	movaps	xmm5, xmm4
	movss	xmm9, DWORD PTR 28[rsp]
	movss	xmm8, DWORD PTR 24[rsp]
	addss	xmm7, xmm3
	movaps	xmm1, xmm9
	movaps	xmm0, xmm8
	movaps	xmm4, xmm6
	movss	DWORD PTR 16[rsp], xmm6
	addss	xmm5, xmm7
	subss	xmm4, xmm3
	movss	DWORD PTR 20[rsp], xmm7
	movaps	xmm3, xmm5
	movaps	xmm2, xmm4
	movss	DWORD PTR 12[rsp], xmm5
	movss	DWORD PTR 8[rsp], xmm4
	call	fz_add_line@PLT
	movss	xmm7, DWORD PTR 20[rsp]
	mov	edx, r13d
	movss	xmm6, DWORD PTR 16[rsp]
	movss	xmm5, DWORD PTR 12[rsp]
	movss	xmm4, DWORD PTR 8[rsp]
	movaps	xmm3, xmm7
	movaps	xmm2, xmm6
	movaps	xmm1, xmm5
	movaps	xmm0, xmm4
.L13:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rsi, rbp
	mov	rdi, r12
	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
	jmp	fz_add_line@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	cmp	edx, 131
	jne	.L7
	movss	xmm7, DWORD PTR 16[rsp]
	movss	xmm4, DWORD PTR 8[rsp]
	mov	edx, r13d
	movss	xmm5, DWORD PTR 20[rsp]
	movss	xmm6, DWORD PTR 12[rsp]
	movaps	xmm0, xmm7
	addss	xmm7, xmm4
	movaps	xmm3, xmm5
	subss	xmm5, xmm6
	subss	xmm0, xmm4
	addss	xmm3, xmm6
	movaps	xmm2, xmm7
	movaps	xmm1, xmm5
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L3:
	divss	xmm6, xmm5
	movss	xmm0, DWORD PTR FZ_SQRT2[rip]
	movss	xmm2, DWORD PTR FZ_PI[rip]
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	ucomiss	xmm3, xmm6
	movaps	xmm4, xmm6
	sqrtss	xmm4, xmm4
	ja	.L16
.L8:
	mulss	xmm1, xmm4
	divss	xmm2, xmm1
	movaps	xmm0, xmm2
	call	ceilf@PLT
	movss	xmm7, DWORD PTR 16[rsp]
	subss	xmm7, DWORD PTR 8[rsp]
	mov	DWORD PTR 32[rsp], eax
	movss	DWORD PTR 24[rsp], xmm7
	movss	xmm7, DWORD PTR 20[rsp]
	subss	xmm7, DWORD PTR 12[rsp]
	movss	DWORD PTR 28[rsp], xmm7
	cmp	eax, 1
	jle	.L9
	pxor	xmm7, xmm7
	mov	ebx, 1
	lea	r15, 44[rsp]
	cvtsi2ss	xmm7, eax
	lea	r14, 40[rsp]
	movss	DWORD PTR 36[rsp], xmm7
	.p2align 4,,10
	.p2align 3
.L10:
	pxor	xmm0, xmm0
	mov	rsi, r14
	mov	rdi, r15
	cvtsi2ss	xmm0, ebx
	mulss	xmm0, DWORD PTR FZ_PI[rip]
	add	ebx, 1
	divss	xmm0, DWORD PTR 36[rsp]
	call	sincosf@PLT
	mov	edx, r13d
	movss	xmm7, DWORD PTR 8[rsp]
	movss	xmm2, DWORD PTR 40[rsp]
	movss	xmm6, DWORD PTR 12[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	movaps	xmm1, xmm7
	movss	xmm3, DWORD PTR 16[rsp]
	movss	xmm0, DWORD PTR 44[rsp]
	mulss	xmm1, xmm2
	movss	xmm4, DWORD PTR 24[rsp]
	mulss	xmm2, xmm6
	subss	xmm3, xmm1
	movaps	xmm1, xmm6
	movss	xmm6, DWORD PTR 20[rsp]
	mulss	xmm1, xmm0
	mulss	xmm0, xmm7
	subss	xmm6, xmm2
	movaps	xmm5, xmm3
	movaps	xmm2, xmm6
	subss	xmm5, xmm1
	movss	xmm1, DWORD PTR 28[rsp]
	addss	xmm2, xmm0
	movaps	xmm0, xmm4
	movss	DWORD PTR 24[rsp], xmm5
	movaps	xmm3, xmm2
	movss	DWORD PTR 28[rsp], xmm2
	movaps	xmm2, xmm5
	call	fz_add_line@PLT
	cmp	DWORD PTR 32[rsp], ebx
	jne	.L10
.L9:
	movss	xmm3, DWORD PTR 20[rsp]
	movss	xmm2, DWORD PTR 16[rsp]
	mov	edx, r13d
	addss	xmm3, DWORD PTR 12[rsp]
	addss	xmm2, DWORD PTR 8[rsp]
	movss	xmm1, DWORD PTR 28[rsp]
	movss	xmm0, DWORD PTR 24[rsp]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L7:
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	edi, edi
	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
	jmp	assert@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movss	xmm7, DWORD PTR 20[rsp]
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	movss	xmm6, DWORD PTR 16[rsp]
	movss	xmm1, DWORD PTR 8[rsp]
	movss	xmm10, DWORD PTR 12[rsp]
	movaps	xmm5, xmm7
	movaps	xmm4, xmm6
	movaps	xmm0, xmm6
	addss	xmm5, xmm1
	subss	xmm4, xmm10
	subss	xmm0, xmm1
	movaps	xmm1, xmm7
	subss	xmm1, xmm10
	movaps	xmm3, xmm5
	movss	DWORD PTR 28[rsp], xmm5
	movaps	xmm2, xmm4
	movss	DWORD PTR 24[rsp], xmm4
	call	fz_add_line@PLT
	movss	xmm5, DWORD PTR 28[rsp]
	mov	edx, r13d
	movss	xmm4, DWORD PTR 24[rsp]
	movss	xmm3, DWORD PTR 20[rsp]
	movss	xmm2, DWORD PTR 16[rsp]
	addss	xmm3, DWORD PTR 12[rsp]
	addss	xmm2, DWORD PTR 8[rsp]
	movaps	xmm1, xmm5
	movaps	xmm0, xmm4
	jmp	.L13
.L16:
	movaps	xmm0, xmm6
	movss	DWORD PTR 32[rsp], xmm4
	movss	DWORD PTR 28[rsp], xmm1
	movss	DWORD PTR 24[rsp], xmm2
	call	sqrtf@PLT
	movss	xmm4, DWORD PTR 32[rsp]
	movss	xmm1, DWORD PTR 28[rsp]
	movss	xmm2, DWORD PTR 24[rsp]
	jmp	.L8
.L15:
	mov	DWORD PTR 36[rsp], edx
	movss	DWORD PTR 32[rsp], xmm1
	movss	DWORD PTR 28[rsp], xmm2
	movss	DWORD PTR 24[rsp], xmm5
	movss	DWORD PTR 12[rsp], xmm6
	movss	DWORD PTR 8[rsp], xmm4
	call	sqrtf@PLT
	mov	edx, DWORD PTR 36[rsp]
	pxor	xmm3, xmm3
	movss	xmm1, DWORD PTR 32[rsp]
	movss	xmm2, DWORD PTR 28[rsp]
	movss	xmm5, DWORD PTR 24[rsp]
	movss	xmm6, DWORD PTR 12[rsp]
	movss	xmm4, DWORD PTR 8[rsp]
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	fz_add_line_cap, .-fz_add_line_cap
	.comm	FZ_SQRT2,4,4
	.comm	FZ_PI,4,4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.long	2147483648
	.long	0
	.long	0
	.long	0
	.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-path.c_fz_add_line_cap.c"
	.text
	.global	__aeabi_fsub
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.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	fz_add_line_cap, %function
fz_add_line_cap:
	@ args = 16, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #68
	ldr	r10, [sp, #104]	@ float
	mov	r4, r3
	ldr	r3, .L21
	mov	r6, r1
	mov	r9, r0
	mov	r1, r2
	mov	r0, r10
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	bl	__aeabi_fsub
	ldr	fp, [sp, #108]	@ float
	mov	r5, r0
	mov	r1, r4
	mov	r0, fp
	bl	__aeabi_fsub
	mov	r1, r5
	mov	r4, r0
	mov	r0, r5
	bl	__aeabi_fmul
	mov	r1, r4
	mov	r7, r0
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r7
	bl	__aeabi_fadd
	ldr	r3, [r6]	@ float
	ldr	r7, [r6, #4]	@ float
	str	r3, [sp, #28]	@ float
	ldr	r3, [sp, #116]
	ldr	r8, [sp, #112]
	str	r3, [sp, #20]
	bl	sqrtf
	mov	r1, r0
	mov	r0, r7
	bl	__aeabi_fdiv
	mov	r1, r0
	mov	r0, r4
	str	r1, [sp, #24]
	bl	__aeabi_fmul
	ldr	r1, [sp, #24]
	mov	r4, r0
	add	r0, r5, #-2147483648
	bl	__aeabi_fmul
	sub	r3, r8, #128
	mov	r5, r0
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r1, r0
	mov	r0, fp
	bl	__aeabi_fsub
	mov	r1, r4
	mov	r7, r0
	mov	r0, r10
	bl	__aeabi_fsub
	mov	r2, r0
	ldr	r3, [sp, #20]
	mov	r1, r5
	mov	r0, fp
	mov	r5, r2
	str	r3, [sp, #112]
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	str	r3, [sp, #108]	@ float
	bl	__aeabi_fadd
	mov	r3, r7
	mov	r2, r5
	str	r0, [sp, #104]	@ float
	b	.L18
.L5:
	ldr	r3, .L21+4
	ldr	r1, [r3]	@ float
	ldr	r3, .L21+8
	mov	r0, r1
	ldr	r3, [r3]	@ float
	str	r3, [sp, #24]
	bl	__aeabi_fadd
	mov	r2, r0
	mov	r1, r7
	ldr	r0, [sp, #28]	@ float
	mov	r7, r2
	bl	__aeabi_fdiv
	bl	sqrtf
	mov	r1, r0
	mov	r0, r7
	bl	__aeabi_fmul
	ldr	r3, [sp, #24]
	mov	r1, r0
	mov	r0, r3
	bl	__aeabi_fdiv
	bl	ceilf
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	mov	r7, r3
	str	r3, [sp, #40]
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r5
	mov	r0, fp
	mov	r8, r3
	bl	__aeabi_fsub
	cmp	r7, #1
	str	r0, [sp, #24]	@ float
	ble	.L9
	mov	r0, r7
	bl	__aeabi_i2f
	mov	r7, #1
	str	r9, [sp, #32]
	ldr	r9, [sp, #24]	@ float
	str	r0, [sp, #44]	@ float
	str	r6, [sp, #36]
.L10:
	mov	r0, r7
	bl	__aeabi_i2f
	ldr	r3, .L21+8
	add	r7, r7, #1
	ldr	r1, [r3]	@ float
	bl	__aeabi_fmul
	ldr	r1, [sp, #44]	@ float
	bl	__aeabi_fdiv
	add	r2, sp, #48
	add	r1, sp, #52
	bl	sincosf
	ldr	r2, [sp, #48]	@ float
	mov	r0, r4
	mov	r1, r2
	str	r2, [sp, #28]
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r10
	bl	__aeabi_fsub
	ldr	r3, [sp, #52]	@ float
	mov	r6, r0
	mov	r1, r3
	mov	r0, r5
	str	r3, [sp, #24]
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r6
	bl	__aeabi_fsub
	mov	ip, r0
	ldr	r2, [sp, #28]
	mov	r0, r5
	mov	r1, r2
	mov	r6, r8
	mov	r8, ip
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, fp
	bl	__aeabi_fsub
	ldr	r3, [sp, #24]
	str	r0, [sp, #24]
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	ldr	r3, [sp, #24]
	mov	r1, r0
	mov	r0, r3
	bl	__aeabi_fadd
	ldr	r1, [sp, #20]
	mov	r3, r9
	str	r0, [sp, #4]	@ float
	str	r1, [sp, #8]
	mov	r9, r0
	mov	r2, r6
	ldr	r1, [sp, #36]
	ldr	r0, [sp, #32]
	str	r8, [sp]	@ float
	bl	fz_add_line
	ldr	r3, [sp, #40]
	cmp	r3, r7
	bne	.L10
	str	r9, [sp, #24]	@ float
	ldr	r6, [sp, #36]
	ldr	r9, [sp, #32]
.L9:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	ldr	r3, [sp, #20]
	mov	r1, r5
	mov	r0, fp
	str	r3, [sp, #112]
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	str	r3, [sp, #108]	@ float
	bl	__aeabi_fadd
	mov	r2, r8
	ldr	r3, [sp, #24]	@ float
	str	r0, [sp, #104]	@ float
.L18:
	mov	r1, r6
	mov	r0, r9
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	fz_add_line
.L6:
	mov	r1, r4
	mov	r0, r10
	bl	__aeabi_fsub
	mov	r2, r0
	mov	r1, r5
	mov	r0, fp
	str	r2, [sp, #28]
	bl	__aeabi_fsub
	ldr	r2, [sp, #28]
	mov	r1, r5
	str	r0, [sp, #24]
	mov	r0, r2
	bl	__aeabi_fsub
	ldr	r3, [sp, #24]
	mov	r7, r0
	mov	r1, r4
	mov	r0, r3
	bl	__aeabi_fadd
	ldr	r1, [sp, #20]
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	mov	r8, r0
	str	r0, [sp, #4]	@ float
	str	r1, [sp, #8]
	mov	r0, r9
	mov	r1, r6
	str	r7, [sp]	@ float
	bl	fz_add_line
	mov	r1, r4
	mov	r0, r10
	bl	__aeabi_fadd
	mov	r1, r5
	mov	r10, r0
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r5
	mov	r0, fp
	mov	r5, r3
	bl	__aeabi_fadd
	mov	r1, r4
	mov	fp, r0
	bl	__aeabi_fadd
	ldr	r1, [sp, #20]
	mov	r3, r8
	mov	r2, r7
	str	r0, [sp, #4]	@ float
	str	r1, [sp, #8]
	mov	r4, r0
	mov	r1, r6
	mov	r0, r9
	str	r5, [sp]	@ float
	bl	fz_add_line
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	ldr	r3, [sp, #20]
	mov	r2, r5
	str	r3, [sp, #112]
	str	fp, [sp, #108]	@ float
	mov	r3, r4
	str	r10, [sp, #104]	@ float
	b	.L18
.L7:
	mov	r1, r0
	mov	r0, r10
	bl	__aeabi_fsub
	mov	r1, r4
	mov	r7, r0
	mov	r0, fp
	bl	__aeabi_fadd
	mov	r1, r5
	mov	r8, r0
	mov	r0, fp
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	str	r3, [sp, #24]
	bl	__aeabi_fsub
	ldr	r1, [sp, #20]
	mov	r2, r0
	ldr	r3, [sp, #24]
	str	r1, [sp, #8]
	mov	r0, r9
	mov	r1, r6
	str	r8, [sp, #4]	@ float
	str	r7, [sp]	@ float
	bl	fz_add_line
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	ldr	r3, [sp, #20]
	mov	r1, r5
	mov	r0, fp
	str	r3, [sp, #112]
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r4
	mov	r0, r10
	str	r3, [sp, #108]	@ float
	bl	__aeabi_fadd
	mov	r3, r8
	mov	r2, r7
	str	r0, [sp, #104]	@ float
	b	.L18
.L2:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
.L19:
	bl	__stack_chk_fail
.L14:
	mov	r0, #0
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	assert
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	FZ_SQRT2
	.word	FZ_PI
	.size	fz_add_line_cap, .-fz_add_line_cap
	.comm	FZ_SQRT2,4,4
	.comm	FZ_PI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
