	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function regstore_get_double
_regstore_get_double:                   ## @regstore_get_double
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rdi), %rax
	movl	%esi, %ecx
	movq	(%rax,%rcx,8), %rax
	movq	_table_info@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	imull	(%rdi,%rcx,8), %edx
	movl	4(%rdi,%rcx,8), %ecx
	cmpl	$129, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %ecx
	jne	LBB0_4
## %bb.2:
	movss	(%rax,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	popq	%rbp
	retq
LBB0_3:
	movsd	(%rax,%rdx,4), %xmm0            ## xmm0 = mem[0],zero
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
	movq	_NAN@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_table_info,8,3                 ## @table_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected preshader input from table %u.\n"

	.comm	_NAN,8,3                        ## @NAN
	.no_dead_strip	_regstore_get_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function regstore_get_double
_regstore_get_double:                   ; @regstore_get_double
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	mov	w9, w1
	lsl	x9, x9, #3
	ldr	x8, [x8, x9]
Lloh0:
	adrp	x10, _table_info@GOTPAGE
Lloh1:
	ldr	x10, [x10, _table_info@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x9, x10, x9
	ldp	w10, w9, [x9]
	mul	w10, w10, w2
	add	x8, x8, w10, uxtw #2
	cmp	w9, #129
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	s0, [x8]
	fcvt	d0, s0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
Lloh5:
	adrp	x8, _NAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
LBB0_4:
	ldr	d0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_table_info,8,3                 ; @table_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected preshader input from table %u.\n"

	.comm	_NAN,8,3                        ; @NAN
	.no_dead_strip	_regstore_get_double
.subsections_via_symbols
