	.file	"128167.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"error in triangular_s: norm must be in {0,1,2,3}\n"
	.text
	.globl	triangular_s
	.type	triangular_s, @function
triangular_s:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	cmp	QWORD PTR -72[rbp], 3
	jbe	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	imul	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L5:
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm1, xmm0
	movss	DWORD PTR -44[rbp], xmm1
	mov	QWORD PTR -40[rbp], 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	eax, 2
	sub	rax, rdx
	imul	rax, QWORD PTR -40[rbp]
	add	rax, 1
	test	rax, rax
	js	.L7
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L8
.L7:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L8:
	mulss	xmm0, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -40[rbp], 1
	add	QWORD PTR -56[rbp], 4
.L6:
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	cmp	QWORD PTR -40[rbp], rax
	jb	.L9
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -56[rbp], rdx
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR [rax], xmm0
.L10:
	mov	QWORD PTR -32[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	add	rax, rdx
	add	rax, 1
	sal	rax, 2
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -32[rbp], 1
	add	QWORD PTR -56[rbp], 4
.L11:
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	cmp	QWORD PTR -32[rbp], rax
	jb	.L12
	cmp	QWORD PTR -72[rbp], 0
	je	.L13
	pxor	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	cmp	QWORD PTR -72[rbp], 1
	jne	.L14
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L15
.L16:
	sub	QWORD PTR -56[rbp], 4
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	sub	QWORD PTR -24[rbp], 1
.L15:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L16
	jmp	.L17
.L14:
	cmp	QWORD PTR -72[rbp], 2
	jne	.L18
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L19
.L20:
	sub	QWORD PTR -56[rbp], 4
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	sub	QWORD PTR -16[rbp], 1
.L19:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	mov	eax, DWORD PTR -48[rbp]
	movd	xmm0, eax
	call	sqrtf@PLT
	movd	eax, xmm0
	mov	DWORD PTR -48[rbp], eax
	jmp	.L17
.L18:
	cmp	QWORD PTR -72[rbp], 3
	jne	.L17
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	sal	rax, 2
	neg	rax
	add	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	sal	rax, 2
	neg	rax
	add	QWORD PTR -56[rbp], rax
.L17:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	divss	xmm0, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	sub	QWORD PTR -8[rbp], 1
	add	QWORD PTR -56[rbp], 4
.L21:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
.L13:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	triangular_s, .-triangular_s
	.section	.rodata
	.align 8
.LC3:
	.string	"error in triangular_d: norm must be in {0,1,2,3}\n"
	.text
	.globl	triangular_d
	.type	triangular_d, @function
triangular_d:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	cmp	QWORD PTR -88[rbp], 3
	jbe	.L24
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L25
.L24:
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	imul	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	test	rax, rax
	js	.L26
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L27
.L26:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L27:
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm1, xmm0
	movsd	QWORD PTR -8[rbp], xmm1
	mov	QWORD PTR -56[rbp], 0
	jmp	.L28
.L31:
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	eax, 2
	sub	rax, rdx
	imul	rax, QWORD PTR -56[rbp]
	add	rax, 1
	test	rax, rax
	js	.L29
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L30
.L29:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L30:
	mulsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -56[rbp], 1
	add	QWORD PTR -72[rbp], 8
.L28:
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	cmp	QWORD PTR -56[rbp], rax
	jb	.L31
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	test	rax, rax
	je	.L32
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -72[rbp], rdx
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
.L32:
	mov	QWORD PTR -48[rbp], 0
	jmp	.L33
.L34:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	add	rax, rdx
	add	rax, 1
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
	add	QWORD PTR -72[rbp], 8
.L33:
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	cmp	QWORD PTR -48[rbp], rax
	jb	.L34
	cmp	QWORD PTR -88[rbp], 0
	je	.L35
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	cmp	QWORD PTR -88[rbp], 1
	jne	.L36
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L37
.L38:
	sub	QWORD PTR -72[rbp], 8
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	sub	QWORD PTR -32[rbp], 1
.L37:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L38
	jmp	.L39
.L36:
	cmp	QWORD PTR -88[rbp], 2
	jne	.L40
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L41
.L42:
	sub	QWORD PTR -72[rbp], 8
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	sub	QWORD PTR -24[rbp], 1
.L41:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	jmp	.L39
.L40:
	cmp	QWORD PTR -88[rbp], 3
	jne	.L39
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	sal	rax, 3
	neg	rax
	add	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	sal	rax, 3
	neg	rax
	add	QWORD PTR -72[rbp], rax
.L39:
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	sub	QWORD PTR -16[rbp], 1
	add	QWORD PTR -72[rbp], 8
.L43:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L44
.L35:
	mov	eax, 0
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	triangular_d, .-triangular_d
	.section	.rodata
	.align 8
.LC6:
	.string	"error in triangular_c: norm must be in {0,1,2,3}\n"
	.text
	.globl	triangular_c
	.type	triangular_c, @function
triangular_c:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	cmp	QWORD PTR -72[rbp], 3
	jbe	.L46
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L47
.L46:
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	imul	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	test	rax, rax
	js	.L48
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L49
.L48:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L49:
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm1, xmm0
	movss	DWORD PTR -44[rbp], xmm1
	mov	QWORD PTR -40[rbp], 0
	jmp	.L50
.L53:
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	eax, 2
	sub	rax, rdx
	imul	rax, QWORD PTR -40[rbp]
	add	rax, 1
	test	rax, rax
	js	.L51
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L52
.L51:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L52:
	mulss	xmm0, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -56[rbp], 4
	mov	rax, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -40[rbp], 1
	add	QWORD PTR -56[rbp], 4
.L50:
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	cmp	QWORD PTR -40[rbp], rax
	jb	.L53
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	test	rax, rax
	je	.L54
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -56[rbp], rdx
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 4[rax]
	mov	QWORD PTR -56[rbp], rdx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
.L54:
	mov	QWORD PTR -32[rbp], 0
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -64[rbp]
	and	eax, 1
	add	rax, rdx
	add	rax, 1
	sal	rax, 3
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -56[rbp], 4
	mov	rax, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax], xmm0
	add	QWORD PTR -32[rbp], 1
	add	QWORD PTR -56[rbp], 4
.L55:
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	cmp	QWORD PTR -32[rbp], rax
	jb	.L56
	cmp	QWORD PTR -72[rbp], 0
	je	.L57
	pxor	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	cmp	QWORD PTR -72[rbp], 1
	jne	.L58
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L59
.L60:
	sub	QWORD PTR -56[rbp], 8
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	xmm1, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	sub	QWORD PTR -24[rbp], 1
.L59:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L60
	jmp	.L61
.L58:
	cmp	QWORD PTR -72[rbp], 2
	jne	.L62
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L63
.L64:
	sub	QWORD PTR -56[rbp], 8
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR [rax]
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	mulss	xmm0, xmm1
	movss	xmm1, DWORD PTR -48[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -48[rbp], xmm0
	sub	QWORD PTR -16[rbp], 1
.L63:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L64
	mov	eax, DWORD PTR -48[rbp]
	movd	xmm0, eax
	call	sqrtf@PLT
	movd	eax, xmm0
	mov	DWORD PTR -48[rbp], eax
	jmp	.L61
.L62:
	cmp	QWORD PTR -72[rbp], 3
	jne	.L61
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	sub	rax, rdx
	sal	rax, 3
	neg	rax
	add	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	movss	DWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -64[rbp]
	shr	rax
	sal	rax, 3
	neg	rax
	add	QWORD PTR -56[rbp], rax
.L61:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR [rax]
	divss	xmm0, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR [rax], xmm0
	sub	QWORD PTR -8[rbp], 1
	add	QWORD PTR -56[rbp], 8
.L65:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L66
.L57:
	mov	eax, 0
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	triangular_c, .-triangular_c
	.section	.rodata
	.align 8
.LC7:
	.string	"error in triangular_z: norm must be in {0,1,2,3}\n"
	.text
	.globl	triangular_z
	.type	triangular_z, @function
triangular_z:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	cmp	QWORD PTR -88[rbp], 3
	jbe	.L68
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L69
.L68:
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	imul	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	test	rax, rax
	js	.L70
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L71
.L70:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L71:
	movsd	xmm1, QWORD PTR .LC4[rip]
	divsd	xmm1, xmm0
	movsd	QWORD PTR -8[rbp], xmm1
	mov	QWORD PTR -56[rbp], 0
	jmp	.L72
.L75:
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	mov	rdx, rax
	mov	eax, 2
	sub	rax, rdx
	imul	rax, QWORD PTR -56[rbp]
	add	rax, 1
	test	rax, rax
	js	.L73
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L74
.L73:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L74:
	mulsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -72[rbp], 8
	mov	rax, QWORD PTR -72[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -56[rbp], 1
	add	QWORD PTR -72[rbp], 8
.L72:
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	cmp	QWORD PTR -56[rbp], rax
	jb	.L75
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	test	rax, rax
	je	.L76
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -72[rbp], rdx
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -72[rbp], rdx
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
.L76:
	mov	QWORD PTR -48[rbp], 0
	jmp	.L77
.L78:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -80[rbp]
	and	eax, 1
	add	rax, rdx
	add	rax, 1
	sal	rax, 4
	neg	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -72[rbp], 8
	mov	rax, QWORD PTR -72[rbp]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -48[rbp], 1
	add	QWORD PTR -72[rbp], 8
.L77:
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	cmp	QWORD PTR -48[rbp], rax
	jb	.L78
	cmp	QWORD PTR -88[rbp], 0
	je	.L79
	pxor	xmm0, xmm0
	movsd	QWORD PTR -40[rbp], xmm0
	cmp	QWORD PTR -88[rbp], 1
	jne	.L80
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L81
.L82:
	sub	QWORD PTR -72[rbp], 16
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	sub	QWORD PTR -32[rbp], 1
.L81:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L82
	jmp	.L83
.L80:
	cmp	QWORD PTR -88[rbp], 2
	jne	.L84
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L85
.L86:
	sub	QWORD PTR -72[rbp], 16
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	sub	QWORD PTR -24[rbp], 1
.L85:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L86
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	jmp	.L83
.L84:
	cmp	QWORD PTR -88[rbp], 3
	jne	.L83
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	sal	rax, 4
	neg	rax
	add	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	sal	rax, 4
	neg	rax
	add	QWORD PTR -72[rbp], rax
.L83:
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax]
	divsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movsd	QWORD PTR [rax], xmm0
	sub	QWORD PTR -16[rbp], 1
	add	QWORD PTR -72[rbp], 16
.L87:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L88
.L79:
	mov	eax, 0
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	triangular_z, .-triangular_z
	.section	.rodata
	.align 4
.LC1:
	.long	1065353216
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.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	"128167.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error in triangular_s: norm must be in {0,1,2,3}\012"
	.ascii	"\000"
	.global	__aeabi_ui2f
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.text
	.align	2
	.global	triangular_s
	.syntax unified
	.arm
	.fpu softvfp
	.type	triangular_s, %function
triangular_s:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bls	.L2
	ldr	r3, .L19
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L19+4
	bl	fwrite
	mov	r3, #1
	b	.L3
.L2:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	ldr	r2, [fp, #-44]
	lsr	r2, r2, #1
	mul	r3, r2, r3
	ldr	r2, [fp, #-44]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L5:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	rsb	r3, r3, #2
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L4:
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L5
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-40]
	add	r2, r3, #4
	str	r2, [fp, #-40]
	mov	r2, #1065353216
	str	r2, [r3]	@ float
.L6:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L7
.L8:
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L7:
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L8
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L10
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
	b	.L11
.L12:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #4
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
	b	.L13
.L10:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bne	.L14
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	b	.L15
.L16:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #4
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	ldr	r0, [fp, #-24]	@ float
	bl	sqrtf
	str	r0, [fp, #-24]	@ float
	b	.L13
.L14:
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bne	.L13
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-44]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
.L13:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-12]
	b	.L17
.L18:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
.L9:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stderr
	.word	.LC0
	.size	triangular_s, .-triangular_s
	.section	.rodata
	.align	2
.LC1:
	.ascii	"error in triangular_d: norm must be in {0,1,2,3}\012"
	.ascii	"\000"
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.text
	.align	2
	.global	triangular_d
	.syntax unified
	.arm
	.fpu softvfp
	.type	triangular_d, %function
triangular_d:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bls	.L22
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L39+4
	bl	fwrite
	mov	r3, #1
	b	.L23
.L22:
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	ldr	r2, [fp, #-52]
	lsr	r2, r2, #1
	mul	r3, r2, r3
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L39+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L24
.L25:
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	rsb	r3, r3, #2
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2d
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L24:
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L25
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-48]
	add	r2, r3, #8
	str	r2, [fp, #-48]
	mov	r0, #0
	ldr	r1, .L39+8
	stm	r3, {r0-r1}
.L26:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L27
.L28:
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L27:
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L28
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L29
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bne	.L30
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-32]
	b	.L31
.L32:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #8
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L31:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L32
	b	.L33
.L30:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L34
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-28]
	b	.L35
.L36:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #8
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L35:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L36
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	b	.L33
.L34:
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bne	.L33
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L33:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-24]
	b	.L37
.L38:
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L37:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L38
.L29:
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	stderr
	.word	.LC1
	.word	1072693248
	.size	triangular_d, .-triangular_d
	.section	.rodata
	.align	2
.LC2:
	.ascii	"error in triangular_c: norm must be in {0,1,2,3}\012"
	.ascii	"\000"
	.text
	.align	2
	.global	triangular_c
	.syntax unified
	.arm
	.fpu softvfp
	.type	triangular_c, %function
triangular_c:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bls	.L42
	ldr	r3, .L59
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L59+4
	bl	fwrite
	mov	r3, #1
	b	.L43
.L42:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	ldr	r2, [fp, #-44]
	lsr	r2, r2, #1
	mul	r3, r2, r3
	ldr	r2, [fp, #-44]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L44
.L45:
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	rsb	r3, r3, #2
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	ldr	r1, [fp, #-8]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L44:
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L45
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-40]
	add	r2, r3, #4
	str	r2, [fp, #-40]
	mov	r2, #1065353216
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r2, r3, #4
	str	r2, [fp, #-40]
	mov	r2, #0
	str	r2, [r3]	@ float
.L46:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L47
.L48:
	ldr	r3, [fp, #-28]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-44]
	and	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	add	r3, r3, #4
	str	r3, [fp, #-40]
.L47:
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L48
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L49
	mov	r3, #0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L50
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-20]
	b	.L51
.L52:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #8
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L51:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L52
	b	.L53
.L50:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bne	.L54
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	b	.L55
.L56:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #8
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-24]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L55:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L56
	ldr	r0, [fp, #-24]	@ float
	bl	sqrtf
	str	r0, [fp, #-24]	@ float
	b	.L53
.L54:
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bne	.L53
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-44]
	sub	r3, r2, r3
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	str	r3, [fp, #-24]	@ float
	ldr	r3, [fp, #-44]
	lsr	r3, r3, #1
	lsl	r3, r3, #3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-40]
.L53:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-12]
	b	.L57
.L58:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]	@ float
	ldr	r1, [fp, #-24]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-40]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	add	r3, r3, #8
	str	r3, [fp, #-40]
.L57:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L58
.L49:
	mov	r3, #0
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	stderr
	.word	.LC2
	.size	triangular_c, .-triangular_c
	.section	.rodata
	.align	2
.LC3:
	.ascii	"error in triangular_z: norm must be in {0,1,2,3}\012"
	.ascii	"\000"
	.text
	.align	2
	.global	triangular_z
	.syntax unified
	.arm
	.fpu softvfp
	.type	triangular_z, %function
triangular_z:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bls	.L62
	ldr	r3, .L79
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L79+4
	bl	fwrite
	mov	r3, #1
	b	.L63
.L62:
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	ldr	r2, [fp, #-52]
	lsr	r2, r2, #1
	mul	r3, r2, r3
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L79+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L64
.L65:
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	rsb	r3, r3, #2
	ldr	r2, [fp, #-40]
	mul	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_ui2d
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L64:
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bcc	.L65
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-48]
	add	r2, r3, #8
	str	r2, [fp, #-48]
	mov	r0, #0
	ldr	r1, .L79+8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	add	r2, r3, #8
	str	r2, [fp, #-48]
	mov	r0, #0
	mov	r1, #0
	stm	r3, {r0-r1}
.L66:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L67
.L68:
	ldr	r3, [fp, #-36]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-52]
	and	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	add	r3, r3, #8
	str	r3, [fp, #-48]
.L67:
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	bcc	.L68
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L69
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bne	.L70
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-32]
	b	.L71
.L72:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #16
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
.L71:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L72
	b	.L73
.L70:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	bne	.L74
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-28]
	b	.L75
.L76:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #16
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L75:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L76
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	b	.L73
.L74:
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bne	.L73
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	ldr	r2, [fp, #-52]
	sub	r3, r2, r3
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-52]
	lsr	r3, r3, #1
	lsl	r3, r3, #4
	rsb	r3, r3, #0
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
.L73:
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-24]
	b	.L77
.L78:
	ldr	r3, [fp, #-48]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-48]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-48]
	add	r3, r3, #16
	str	r3, [fp, #-48]
.L77:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L78
.L69:
	mov	r3, #0
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	stderr
	.word	.LC3
	.word	1072693248
	.size	triangular_z, .-triangular_z
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
