	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_cache_to_fsave            ## -- Begin function i387_cache_to_fsave
	.p2align	4, 0x90
_i387_cache_to_fsave:                   ## @i387_cache_to_fsave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_find_regno
	movl	%eax, %ebx
	movq	48(%r14), %rsi
	movl	%eax, %edi
	callq	_collect_register
	leal	1(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$10, %rsi
	callq	_collect_register
	leal	2(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$20, %rsi
	callq	_collect_register
	leal	3(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$30, %rsi
	callq	_collect_register
	leal	4(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$40, %rsi
	callq	_collect_register
	leal	5(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$50, %rsi
	callq	_collect_register
	leal	6(%rbx), %edi
	movq	48(%r14), %rsi
	addq	$60, %rsi
	callq	_collect_register
	addl	$7, %ebx
	movq	48(%r14), %rsi
	addq	$70, %rsi
	movl	%ebx, %edi
	callq	_collect_register
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_collect_register_by_name
	leaq	8(%r14), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_collect_register_by_name
	leaq	L_.str.3(%rip), %rdi
	leaq	-32(%rbp), %rsi
	callq	_collect_register_by_name
	movq	-32(%rbp), %rax
	andl	$2047, %eax                     ## imm = 0x7FF
	movq	16(%r14), %rcx
	andl	$63488, %ecx                    ## imm = 0xF800
	orq	%rax, %rcx
	movq	%rcx, 16(%r14)
	leaq	L_.str.4(%rip), %rdi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_collect_register_by_name
	movzwl	-24(%rbp), %eax
	movw	%ax, 40(%r14)
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_collect_register_by_name
	movq	-24(%rbp), %rax
	movzwl	%ax, %eax
	movq	%rax, -24(%rbp)
	movw	%ax, 36(%r14)
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	callq	_collect_register_by_name
	movq	-24(%rbp), %rax
	movzwl	%ax, %eax
	movq	%rax, -24(%rbp)
	movw	%ax, 32(%r14)
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	callq	_collect_register_by_name
	movq	-24(%rbp), %rax
	movzwl	%ax, %eax
	movq	%rax, -24(%rbp)
	movw	%ax, 28(%r14)
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	callq	_collect_register_by_name
	movzwl	-24(%rbp), %eax
	movw	%ax, 24(%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"st0"

L_.str.1:                               ## @.str.1
	.asciz	"fioff"

L_.str.2:                               ## @.str.2
	.asciz	"fooff"

L_.str.3:                               ## @.str.3
	.asciz	"fop"

L_.str.4:                               ## @.str.4
	.asciz	"fctrl"

L_.str.5:                               ## @.str.5
	.asciz	"fstat"

L_.str.6:                               ## @.str.6
	.asciz	"ftag"

L_.str.7:                               ## @.str.7
	.asciz	"fiseg"

L_.str.8:                               ## @.str.8
	.asciz	"foseg"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_cache_to_fsave            ; -- Begin function i387_cache_to_fsave
	.p2align	2
_i387_cache_to_fsave:                   ; @i387_cache_to_fsave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_find_regno
	mov	x20, x0
	ldr	x1, [x19, #48]
	bl	_collect_register
	add	w0, w20, #1
	ldr	x8, [x19, #48]
	add	x1, x8, #10
	bl	_collect_register
	add	w0, w20, #2
	ldr	x8, [x19, #48]
	add	x1, x8, #20
	bl	_collect_register
	add	w0, w20, #3
	ldr	x8, [x19, #48]
	add	x1, x8, #30
	bl	_collect_register
	add	w0, w20, #4
	ldr	x8, [x19, #48]
	add	x1, x8, #40
	bl	_collect_register
	add	w0, w20, #5
	ldr	x8, [x19, #48]
	add	x1, x8, #50
	bl	_collect_register
	add	w0, w20, #6
	ldr	x8, [x19, #48]
	add	x1, x8, #60
	bl	_collect_register
	add	w0, w20, #7
	ldr	x8, [x19, #48]
	add	x1, x8, #70
	bl	_collect_register
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_collect_register_by_name
	add	x1, x19, #8
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_collect_register_by_name
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, sp
	bl	_collect_register_by_name
	ldr	x8, [sp]
	ldr	x9, [x19, #16]
	and	x9, x9, #0xf800
	bfxil	x9, x8, #0, #11
	str	x9, [x19, #16]
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	add	x1, sp, #8
	bl	_collect_register_by_name
	ldr	x8, [sp, #8]
	strh	w8, [x19, #40]
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	add	x1, sp, #8
	bl	_collect_register_by_name
	ldr	x8, [sp, #8]
	and	x9, x8, #0xffff
	str	x9, [sp, #8]
	strh	w8, [x19, #36]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	add	x1, sp, #8
	bl	_collect_register_by_name
	ldr	x8, [sp, #8]
	and	x9, x8, #0xffff
	str	x9, [sp, #8]
	strh	w8, [x19, #32]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	add	x1, sp, #8
	bl	_collect_register_by_name
	ldr	x8, [sp, #8]
	and	x9, x8, #0xffff
	str	x9, [sp, #8]
	strh	w8, [x19, #28]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	add	x1, sp, #8
	bl	_collect_register_by_name
	ldr	x8, [sp, #8]
	strh	w8, [x19, #24]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"st0"

l_.str.1:                               ; @.str.1
	.asciz	"fioff"

l_.str.2:                               ; @.str.2
	.asciz	"fooff"

l_.str.3:                               ; @.str.3
	.asciz	"fop"

l_.str.4:                               ; @.str.4
	.asciz	"fctrl"

l_.str.5:                               ; @.str.5
	.asciz	"fstat"

l_.str.6:                               ; @.str.6
	.asciz	"ftag"

l_.str.7:                               ; @.str.7
	.asciz	"fiseg"

l_.str.8:                               ; @.str.8
	.asciz	"foseg"

.subsections_via_symbols
