	.file	"extr_preshader.c_regstore_set_double.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Bad type %u.\n"
	.text
	.p2align 4
	.type	regstore_set_double, @function
regstore_set_double:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR table_info[rip]
	mov	esi, esi
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rcx, QWORD PTR [rdi]
	lea	rax, [rax+rsi*8]
	imul	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR [rcx+rsi*8]
	mov	esi, DWORD PTR 4[rax]
	lea	rbx, [rcx+rdx*4]
	cmp	esi, 130
	je	.L2
	jg	.L3
	cmp	esi, 128
	je	.L4
	cmp	esi, 129
	jne	.L6
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR [rbx], xmm0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	cmp	esi, 131
	jne	.L6
	pxor	xmm1, xmm1
	xor	eax, eax
	mov	edx, 1
	ucomisd	xmm0, xmm1
	setp	al
	cmovne	eax, edx
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movsd	QWORD PTR [rbx], xmm0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	lrint@PLT
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	FIXME@PLT
	.cfi_endproc
.LFE0:
	.size	regstore_set_double, .-regstore_set_double
	.comm	table_info,8,8
	.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_preshader.c_regstore_set_double.c"
	.text
	.global	__aeabi_d2f
	.global	__aeabi_dcmpeq
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Bad type %u.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	regstore_set_double, %function
regstore_set_double:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L14
	push	{r4, r5, r6, r7, r8, lr}
	add	r5, sp, #24
	ldmia	r5, {r4-r5}
	ldr	r3, [r3]
	ldr	r0, [r0]
	ldr	r6, [r3, r1, lsl #3]
	ldr	r7, [r0, r1, lsl #2]
	mul	r6, r2, r6
	add	r1, r3, r1, lsl #3
	ldr	r1, [r1, #4]
	add	r2, r7, r6, lsl #2
	sub	r3, r1, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	mov	r0, r4
	mov	r1, r5
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	clz	r0, r0
	lsr	r0, r0, #5
	str	r0, [r7, r6, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r4
	mov	r1, r5
	bl	lrint
	str	r0, [r7, r6, lsl #2]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_d2f
	str	r0, [r7, r6, lsl #2]	@ float
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	stm	r2, {r4-r5}
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r0, .L14+4
	pop	{r4, r5, r6, r7, r8, lr}
	b	FIXME
.L15:
	.align	2
.L14:
	.word	table_info
	.word	.LC0
	.size	regstore_set_double, .-regstore_set_double
	.comm	table_info,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
