	.file	"215438.c"
	.intel_syntax noprefix
	.text
	.type	ctm_set_inverse, @function
ctm_set_inverse:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 136[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	rsi, rdx
	mov	rdi, rax
	call	gs_matrix_invert@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 232[rax], 1
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ctm_set_inverse, .-ctm_set_inverse
	.globl	gs_update_matrix_fixed
	.type	gs_update_matrix_fixed, @function
gs_update_matrix_fixed:
.LFB1:
	.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 -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 72[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 96[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 96[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 72[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 88[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 104[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 104[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 88[rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	gs_update_matrix_fixed, .-gs_update_matrix_fixed
	.globl	gs_initmatrix
	.type	gs_initmatrix, @function
gs_initmatrix:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 456[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 96[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 120[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 120[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 96[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 112[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 128[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 128[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 112[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	gs_initmatrix, .-gs_initmatrix
	.globl	gs_defaultmatrix
	.type	gs_defaultmatrix, @function
gs_defaultmatrix:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 456[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	gs_defaultmatrix, .-gs_defaultmatrix
	.globl	gs_currentmatrix
	.type	gs_currentmatrix, @function
gs_currentmatrix:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -16[rbp], rdi
	mov	QWORD PTR -24[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	mov	rcx, QWORD PTR 16[rdx]
	mov	rbx, QWORD PTR 24[rdx]
	mov	QWORD PTR 16[rax], rcx
	mov	QWORD PTR 24[rax], rbx
	mov	rcx, QWORD PTR 32[rdx]
	mov	rbx, QWORD PTR 40[rdx]
	mov	QWORD PTR 32[rax], rcx
	mov	QWORD PTR 40[rax], rbx
	mov	rcx, QWORD PTR 48[rdx]
	mov	rbx, QWORD PTR 56[rdx]
	mov	QWORD PTR 48[rax], rcx
	mov	QWORD PTR 56[rax], rbx
	mov	rcx, QWORD PTR 64[rdx]
	mov	rbx, QWORD PTR 72[rdx]
	mov	QWORD PTR 64[rax], rcx
	mov	QWORD PTR 72[rax], rbx
	mov	rcx, QWORD PTR 80[rdx]
	mov	rbx, QWORD PTR 88[rdx]
	mov	QWORD PTR 80[rax], rcx
	mov	QWORD PTR 88[rax], rbx
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	gs_currentmatrix, .-gs_currentmatrix
	.globl	gs_setmatrix
	.type	gs_setmatrix, @function
gs_setmatrix:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -16[rbp], rdi
	mov	QWORD PTR -24[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rbx, QWORD PTR 8[rax]
	mov	QWORD PTR [rdx], rcx
	mov	QWORD PTR 8[rdx], rbx
	mov	rcx, QWORD PTR 16[rax]
	mov	rbx, QWORD PTR 24[rax]
	mov	QWORD PTR 16[rdx], rcx
	mov	QWORD PTR 24[rdx], rbx
	mov	rcx, QWORD PTR 32[rax]
	mov	rbx, QWORD PTR 40[rax]
	mov	QWORD PTR 32[rdx], rcx
	mov	QWORD PTR 40[rdx], rbx
	mov	rcx, QWORD PTR 48[rax]
	mov	rbx, QWORD PTR 56[rax]
	mov	QWORD PTR 48[rdx], rcx
	mov	QWORD PTR 56[rdx], rbx
	mov	rcx, QWORD PTR 64[rax]
	mov	rbx, QWORD PTR 72[rax]
	mov	QWORD PTR 64[rdx], rcx
	mov	QWORD PTR 72[rdx], rbx
	mov	rcx, QWORD PTR 80[rax]
	mov	rbx, QWORD PTR 88[rax]
	mov	QWORD PTR 80[rdx], rcx
	mov	QWORD PTR 88[rdx], rbx
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR 96[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 120[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 120[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movss	DWORD PTR 96[rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm1, DWORD PTR 112[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 128[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 128[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -16[rbp]
	movss	DWORD PTR 112[rax], xmm0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	gs_setmatrix, .-gs_setmatrix
	.globl	gs_translate
	.type	gs_translate, @function
gs_translate:
.LFB6:
	.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
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	QWORD PTR -72[rbp], xmm1
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 24[rax]
	lea	rdx, -32[rbp]
	movsd	xmm0, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_distance_transform@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], 0
	jns	.L14
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L16
.L14:
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR 96[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR 96[rax], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR 112[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR 112[rax], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR 96[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR 120[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 120[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR 96[rax], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	xmm1, DWORD PTR 112[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR 128[rax], rdx
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 128[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -56[rbp]
	movss	DWORD PTR 112[rax], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, 0
.L16:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	gs_translate, .-gs_translate
	.globl	gs_scale
	.type	gs_scale, @function
gs_scale:
.LFB7:
	.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 -8[rbp], rdi
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	QWORD PTR -24[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 32[rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -16[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 32[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 48[rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -16[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 48[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 64[rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -24[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 64[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 80[rax]
	cvtss2sd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -24[rbp]
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -8[rbp]
	movss	DWORD PTR 80[rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gs_scale, .-gs_scale
	.globl	gs_rotate
	.type	gs_rotate, @function
gs_rotate:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	movq	xmm0, rax
	mov	rdi, rdx
	call	gs_matrix_rotate@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gs_rotate, .-gs_rotate
	.globl	gs_concat
	.type	gs_concat, @function
gs_concat:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 24[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 24[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	gs_matrix_multiply@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 96[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 120[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 120[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 96[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm1, DWORD PTR 112[rax]
	movss	xmm0, DWORD PTR .LC0[rip]
	mulss	xmm0, xmm1
	cvttss2si	rdx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 128[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 128[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	DWORD PTR 112[rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 232[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 432[rax], 0
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	gs_concat, .-gs_concat
	.globl	gs_transform
	.type	gs_transform, @function
gs_transform:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	QWORD PTR -24[rbp], xmm1
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 24[rax]
	mov	rdx, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_point_transform@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	gs_transform, .-gs_transform
	.globl	gs_dtransform
	.type	gs_dtransform, @function
gs_dtransform:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	QWORD PTR -24[rbp], xmm1
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 24[rax]
	mov	rdx, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_distance_transform@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gs_dtransform, .-gs_dtransform
	.globl	gs_itransform
	.type	gs_itransform, @function
gs_itransform:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	QWORD PTR -40[rbp], xmm1
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	or	rax, rdx
	add	rax, rax
	test	rax, rax
	jne	.L29
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 24[rax]
	mov	rdx, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_point_transform_inverse@PLT
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 232[rax]
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ctm_set_inverse
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L31
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 136[rax]
	mov	rdx, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_point_transform@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	gs_itransform, .-gs_itransform
	.globl	gs_idtransform
	.type	gs_idtransform, @function
gs_idtransform:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	QWORD PTR -40[rbp], xmm1
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 64
	mov	rax, QWORD PTR [rax]
	or	rax, rdx
	add	rax, rax
	test	rax, rax
	jne	.L33
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 24[rax]
	mov	rdx, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_distance_transform_inverse@PLT
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 232[rax]
	test	eax, eax
	jne	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ctm_set_inverse
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L35
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 136[rax]
	mov	rdx, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rcx
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	gs_distance_transform@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	gs_idtransform, .-gs_idtransform
	.globl	gs_translate_to_fixed
	.type	gs_translate_to_fixed, @function
gs_translate_to_fixed:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdi
	mov	QWORD PTR -8[rbp], rsi
	mov	QWORD PTR -16[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 120[rax], rdx
	mov	rdx, QWORD PTR 120[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR 96[rax], xmm0
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 128[rax], rdx
	mov	rdx, QWORD PTR 128[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rdx
	movsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR 112[rax], xmm0
	mov	DWORD PTR 232[rax], 0
	mov	DWORD PTR 432[rax], 1
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	gs_translate_to_fixed, .-gs_translate_to_fixed
	.globl	gx_matrix_to_fixed_coeff
	.type	gx_matrix_to_fixed_coeff, @function
gx_matrix_to_fixed_coeff:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	rbx, rsi
	mov	DWORD PTR -156[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -140[rbp], -10000
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, QWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rax]
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -120[rbp], rdi
	mov	rsi, QWORD PTR 16[rax]
	mov	rdi, QWORD PTR 24[rax]
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -104[rbp], rdi
	mov	rsi, QWORD PTR 32[rax]
	mov	rdi, QWORD PTR 40[rax]
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -88[rbp], rdi
	mov	rsi, QWORD PTR 48[rax]
	mov	rdi, QWORD PTR 56[rax]
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -72[rbp], rdi
	mov	rsi, QWORD PTR 64[rax]
	mov	rdi, QWORD PTR 72[rax]
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -56[rbp], rdi
	mov	rdx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 80[rax]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR 32[rbx], 0
	lea	rax, -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L39
	movss	xmm0, DWORD PTR -120[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	lea	rdx, -140[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	frexp@PLT
.L39:
	lea	rax, -128[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L40
	movss	xmm0, DWORD PTR -104[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	lea	rdx, -136[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	frexp@PLT
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cmp	edx, eax
	jle	.L41
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -140[rbp], eax
.L41:
	mov	DWORD PTR 32[rbx], 1
.L40:
	lea	rax, -128[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L42
	movss	xmm0, DWORD PTR -88[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	lea	rdx, -136[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	frexp@PLT
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cmp	edx, eax
	jle	.L43
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -140[rbp], eax
.L43:
	mov	DWORD PTR 32[rbx], 1
.L42:
	lea	rax, -128[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L44
	movss	xmm0, DWORD PTR -72[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rax, xmm4
	lea	rdx, -136[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	frexp@PLT
	mov	edx, DWORD PTR -136[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cmp	edx, eax
	jle	.L44
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -140[rbp], eax
.L44:
	mov	edx, DWORD PTR -156[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	edx, eax
	mov	eax, 63
	sub	eax, edx
	mov	DWORD PTR -140[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 12
	mov	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jle	.L45
	mov	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR -132[rbp]
	sub	eax, 1
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	mov	QWORD PTR 48[rbx], rax
	jmp	.L46
.L45:
	mov	DWORD PTR 36[rbx], 0
	mov	QWORD PTR 48[rbx], 0
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, DWORD PTR -132[rbp]
	mov	DWORD PTR -140[rbp], eax
.L46:
	lea	rax, -128[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L47
	mov	edx, DWORD PTR -140[rbp]
	movss	xmm0, DWORD PTR -120[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	mov	edi, edx
	movq	xmm0, rax
	call	ldexp@PLT
	cvttsd2si	rax, xmm0
	jmp	.L48
.L47:
	mov	eax, 0
.L48:
	mov	QWORD PTR [rbx], rax
	lea	rax, -128[rbp]
	add	rax, 56
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L49
	mov	edx, DWORD PTR -140[rbp]
	movss	xmm0, DWORD PTR -72[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movq	rax, xmm6
	mov	edi, edx
	movq	xmm0, rax
	call	ldexp@PLT
	cvttsd2si	rax, xmm0
	jmp	.L50
.L49:
	mov	eax, 0
.L50:
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR 32[rbx]
	test	eax, eax
	je	.L51
	lea	rax, -128[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L52
	mov	edx, DWORD PTR -140[rbp]
	movss	xmm0, DWORD PTR -104[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movq	rax, xmm7
	mov	edi, edx
	movq	xmm0, rax
	call	ldexp@PLT
	cvttsd2si	rax, xmm0
	jmp	.L53
.L52:
	mov	eax, 0
.L53:
	mov	QWORD PTR 8[rbx], rax
	lea	rax, -128[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	test	rax, rax
	je	.L54
	mov	edx, DWORD PTR -140[rbp]
	movss	xmm0, DWORD PTR -88[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	mov	edi, edx
	movq	xmm0, rax
	call	ldexp@PLT
	cvttsd2si	rax, xmm0
	jmp	.L55
.L54:
	mov	eax, 0
.L55:
	mov	QWORD PTR 16[rbx], rax
	jmp	.L56
.L51:
	mov	QWORD PTR 16[rbx], 0
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 8[rbx], rax
.L56:
	mov	eax, DWORD PTR -156[rbp]
	mov	DWORD PTR 40[rbx], eax
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	gx_matrix_to_fixed_coeff, .-gx_matrix_to_fixed_coeff
	.section	.rodata
	.align 4
.LC0:
	.long	1166016512
	.align 8
.LC1:
	.long	0
	.long	1060110336
	.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	"215438.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctm_set_inverse, %function
ctm_set_inverse:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r2, r3, #12
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	mov	r1, r3
	mov	r0, r2
	bl	gs_matrix_invert
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L2
	ldr	r3, [fp, #-8]
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #116]
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ctm_set_inverse, .-ctm_set_inverse
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.align	2
	.global	gs_update_matrix_fixed
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_update_matrix_fixed, %function
gs_update_matrix_fixed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #36]	@ float
	ldr	r1, .L5
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #48]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #48]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L5+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #36]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]	@ float
	ldr	r1, .L5
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #52]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #52]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L5+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #44]	@ float
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	1166016512
	.word	1060110336
	.size	gs_update_matrix_fixed, .-gs_update_matrix_fixed
	.align	2
	.global	gs_initmatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_initmatrix, %function
gs_initmatrix:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #244]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	add	r2, r2, #12
	mov	r1, r2
	ldr	r0, [fp, #-8]
	blx	r3
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]	@ float
	ldr	r1, .L9
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #60]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #60]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L9+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #48]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #56]	@ float
	ldr	r1, .L9
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #64]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L9+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #56]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #224]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	1166016512
	.word	1060110336
	.size	gs_initmatrix, .-gs_initmatrix
	.align	2
	.global	gs_defaultmatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_defaultmatrix, %function
gs_defaultmatrix:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #244]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #4]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_defaultmatrix, .-gs_defaultmatrix
	.align	2
	.global	gs_currentmatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_currentmatrix, %function
gs_currentmatrix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, [fp, #-12]
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_currentmatrix, .-gs_currentmatrix
	.align	2
	.global	gs_setmatrix
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_setmatrix, %function
gs_setmatrix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r2, r3, #12
	ldr	r3, [fp, #-12]
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #48]	@ float
	ldr	r1, .L17
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #60]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #60]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L17+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #48]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #56]	@ float
	ldr	r1, .L17
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #64]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L17+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #56]	@ float
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #224]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	1166016512
	.word	1060110336
	.size	gs_setmatrix, .-gs_setmatrix
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gs_translate
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_translate, %function
gs_translate:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	add	r3, r3, #12
	sub	r2, fp, #28
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	gs_distance_transform
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-32]
	b	.L22
.L20:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #48]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #56]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #56]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]	@ float
	ldr	r1, .L24+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #60]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #60]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L24+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #48]	@ float
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #56]	@ float
	ldr	r1, .L24+4
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #64]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L24+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #56]	@ float
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	str	r2, [r3, #224]
	mov	r3, #0
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	1166016512
	.word	1060110336
	.size	gs_translate, .-gs_translate
	.align	2
	.global	gs_scale
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_scale, %function
gs_scale:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #16]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #24]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #32]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #40]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #40]	@ float
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #224]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_scale, .-gs_scale
	.align	2
	.global	gs_rotate
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_rotate, %function
gs_rotate:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r1, r3, #12
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	str	r3, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	gs_matrix_rotate
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #224]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_rotate, .-gs_rotate
	.align	2
	.global	gs_concat
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_concat, %function
gs_concat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r1, r3, #12
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	mov	r2, r3
	ldr	r0, [fp, #-20]
	bl	gs_matrix_multiply
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]	@ float
	ldr	r1, .L32
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #60]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #60]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L32+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #48]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #56]	@ float
	ldr	r1, .L32
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #64]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L32+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3, #56]	@ float
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #116]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #224]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	1166016512
	.word	1060110336
	.size	gs_concat, .-gs_concat
	.align	2
	.global	gs_transform
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_transform, %function
gs_transform:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	gs_point_transform
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_transform, .-gs_transform
	.align	2
	.global	gs_dtransform
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_dtransform, %function
gs_dtransform:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #12
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	gs_distance_transform
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_dtransform, .-gs_dtransform
	.align	2
	.global	gs_itransform
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_itransform, %function
gs_itransform:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #32
	ldr	r3, [r3]
	orr	r3, r2, r3
	lsl	r3, r3, #1
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	gs_point_transform_inverse
	mov	r3, r0
	b	.L40
.L39:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #116]
	cmp	r3, #0
	bne	.L41
	ldr	r0, [fp, #-16]
	bl	ctm_set_inverse
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L41
	ldr	r3, [fp, #-8]
	b	.L40
.L41:
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	gs_point_transform
	mov	r3, r0
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_itransform, .-gs_itransform
	.align	2
	.global	gs_idtransform
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_idtransform, %function
gs_idtransform:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #32
	ldr	r3, [r3]
	orr	r3, r2, r3
	lsl	r3, r3, #1
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-16]
	add	r3, r3, #12
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	gs_distance_transform_inverse
	mov	r3, r0
	b	.L44
.L43:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #116]
	cmp	r3, #0
	bne	.L45
	ldr	r0, [fp, #-16]
	bl	ctm_set_inverse
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L45
	ldr	r3, [fp, #-8]
	b	.L44
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #68
	ldr	r2, [fp, #12]
	str	r2, [sp, #4]
	str	r3, [sp]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	gs_distance_transform
	mov	r3, r0
.L44:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gs_idtransform, .-gs_idtransform
	.align	2
	.global	gs_translate_to_fixed
	.syntax unified
	.arm
	.fpu softvfp
	.type	gs_translate_to_fixed, %function
gs_translate_to_fixed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r4, r0
	str	r1, [fp, #-16]
	str	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [r4, #60]
	ldr	r3, [r4, #60]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #48]	@ float
	ldr	r3, [fp, #-20]
	str	r3, [r4, #64]
	ldr	r3, [r4, #64]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #56]	@ float
	mov	r3, #0
	str	r3, [r4, #116]
	mov	r3, #1
	str	r3, [r4, #224]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	1060110336
	.size	gs_translate_to_fixed, .-gs_translate_to_fixed
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gx_matrix_to_fixed_coeff
	.syntax unified
	.arm
	.fpu softvfp
	.type	gx_matrix_to_fixed_coeff, %function
gx_matrix_to_fixed_coeff:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	mov	r4, r1
	str	r2, [fp, #-84]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L71+4
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-80]
	sub	ip, fp, #64
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [r4, #16]
	sub	r3, fp, #64
	add	r3, r3, #4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L51
	ldr	r3, [fp, #-60]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #76
	mov	r2, r3
	bl	frexp
.L51:
	sub	r3, fp, #64
	add	r3, r3, #12
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L52
	ldr	r3, [fp, #-52]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #72
	mov	r2, r3
	bl	frexp
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L53
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-76]
.L53:
	mov	r3, #1
	str	r3, [r4, #16]
.L52:
	sub	r3, fp, #64
	add	r3, r3, #20
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L54
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #72
	mov	r2, r3
	bl	frexp
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L55
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-76]
.L55:
	mov	r3, #1
	str	r3, [r4, #16]
.L54:
	sub	r3, fp, #64
	add	r3, r3, #28
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #72
	mov	r2, r3
	bl	frexp
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L56
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-76]
.L56:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-76]
	add	r3, r3, r2
	rsb	r3, r3, #31
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	sub	r3, r3, #12
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	ble	.L57
	ldr	r3, [fp, #-68]
	str	r3, [r4, #20]
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	mov	r2, #1
	lsl	r3, r2, r3
	str	r3, [r4, #28]
	b	.L58
.L57:
	mov	r3, #0
	str	r3, [r4, #20]
	mov	r3, #0
	str	r3, [r4, #28]
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	str	r3, [fp, #-76]
.L58:
	sub	r3, fp, #64
	add	r3, r3, #4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-60]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, [fp, #-76]
	mov	r2, r3
	bl	ldexp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L60
.L59:
	mov	r3, #0
.L60:
	str	r3, [r4]
	sub	r3, fp, #64
	add	r3, r3, #28
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-36]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, [fp, #-76]
	mov	r2, r3
	bl	ldexp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L62
.L61:
	mov	r3, #0
.L62:
	str	r3, [r4, #12]
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L63
	sub	r3, fp, #64
	add	r3, r3, #12
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-52]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, [fp, #-76]
	mov	r2, r3
	bl	ldexp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L65
.L64:
	mov	r3, #0
.L65:
	str	r3, [r4, #4]
	sub	r3, fp, #64
	add	r3, r3, #20
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r3, [fp, #-76]
	mov	r2, r3
	bl	ldexp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	b	.L67
.L66:
	mov	r3, #0
.L67:
	str	r3, [r4, #8]
	b	.L68
.L63:
	mov	r3, #0
	str	r3, [r4, #8]
	ldr	r3, [r4, #8]
	str	r3, [r4, #4]
.L68:
	ldr	r3, [fp, #-84]
	str	r3, [r4, #24]
	mov	r3, #0
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC1
	.word	-10000
	.size	gx_matrix_to_fixed_coeff, .-gx_matrix_to_fixed_coeff
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
