	.file	"273039.c"
	.intel_syntax noprefix
	.text
	.globl	xdssq_
	.type	xdssq_, @function
xdssq_:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	sub	QWORD PTR -64[rbp], 16
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L2
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -44[rbp], 1
	jmp	.L3
.L10:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fldz
	fucomip	st, st(1)
	jp	.L15
	fldz
	fcomip	st, st(1)
	fstp	st(0)
	je	.L4
	jmp	.L12
.L15:
	fstp	st(0)
.L12:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	fld	TBYTE PTR [rax]
	fstp	TBYTE PTR -32[rbp]
	fld	TBYTE PTR -32[rbp]
	fabs
	fstp	TBYTE PTR -112[rbp]
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -104[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -8[rbp], edx
	mov	rax, QWORD PTR -80[rbp]
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -16[rbp]
	fcomip	st, st(1)
	fstp	st(0)
	jbe	.L14
	mov	rax, QWORD PTR -80[rbp]
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -16[rbp]
	fdivp	st(1), st
	fstp	TBYTE PTR -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -32[rbp]
	fmul	st, st(0)
	fmulp	st(1), st
	fld1
	faddp	st(1), st
	mov	rax, QWORD PTR -88[rbp]
	fstp	TBYTE PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	fld	TBYTE PTR -16[rbp]
	fstp	TBYTE PTR [rax]
	jmp	.L4
.L14:
	mov	rax, QWORD PTR -80[rbp]
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -16[rbp]
	fdivrp	st(1), st
	fstp	TBYTE PTR -32[rbp]
	mov	rax, QWORD PTR -88[rbp]
	fld	TBYTE PTR [rax]
	fld	TBYTE PTR -32[rbp]
	fmul	st, st(0)
	faddp	st(1), st
	mov	rax, QWORD PTR -88[rbp]
	fstp	TBYTE PTR [rax]
.L4:
	mov	eax, DWORD PTR -36[rbp]
	add	DWORD PTR -44[rbp], eax
.L3:
	cmp	DWORD PTR -36[rbp], 0
	jns	.L8
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	setge	al
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	setle	al
.L9:
	test	al, al
	jne	.L10
.L2:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	xdssq_, .-xdssq_
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"273039.c"
	.text
	.global	__aeabi_dcmpeq
	.global	__aeabi_dcmpgt
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	xdssq_
	.syntax unified
	.arm
	.fpu softvfp
	.type	xdssq_, %function
xdssq_:
	@ args = 4, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #48
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #8
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L2
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	mul	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L3
.L10:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-36]
	ldr	r3, [fp, #-32]
	bic	r5, r3, #-2147483648
	str	r4, [fp, #-28]
	str	r5, [fp, #-24]
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-68]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #4]
	ldmia	r3, {r6-r7}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L15
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #4]
	stm	r1, {r2-r3}
	ldr	r1, [fp, #-68]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L4
.L14:
	ldr	r3, [fp, #-68]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #4]
	ldmia	r3, {r6-r7}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #4]
	stm	r1, {r2-r3}
.L4:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L3:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L8
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	movge	r3, #1
	movlt	r3, #0
	and	r3, r3, #255
	b	.L9
.L8:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	movle	r3, #1
	movgt	r3, #0
	and	r3, r3, #255
.L9:
	cmp	r3, #0
	bne	.L10
.L2:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L16:
	.align	2
.L15:
	.word	1072693248
	.size	xdssq_, .-xdssq_
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
