	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f80_from_double                ## -- Begin function f80_from_double
	.p2align	4, 0x90
_f80_from_double:                       ## @f80_from_double
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movsd	%xmm0, -32(%rbp)
	leaq	-24(%rbp), %rdi
	leaq	-32(%rbp), %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	-24(%rbp), %rdi
	movq	_EXP64_SPECIAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_2
## %bb.1:
	movq	_EXP_SPECIAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	jmp	LBB0_8
LBB0_2:
	movq	_EXP64_DENORMAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_6
## %bb.3:
	cmpq	$0, -16(%rbp)
	je	LBB0_4
## %bb.5:
	movl	$-1022, %edi                    ## imm = 0xFC02
	jmp	LBB0_7
LBB0_6:
	addl	$-1023, %edi                    ## imm = 0xFC01
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_7:
	callq	_bias
	movq	%rax, %rsi
	jmp	LBB0_8
LBB0_4:
	xorl	%esi, %esi
LBB0_8:
	movl	-16(%rbp), %eax
	shll	$11, %eax
	movq	-24(%rbp), %rcx
	movq	_EXP64_DENORMAL@GOTPCREL(%rip), %rdx
	xorl	%edi, %edi
	cmpq	(%rdx), %rcx
	je	LBB0_10
## %bb.9:
	movq	_CURSED_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_10:
	orl	%eax, %edi
	movl	-8(%rbp), %eax
	shlq	$32, %rax
	orq	%rax, %rdi
	callq	_f80_normalize
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXP64_SPECIAL,8,3              ## @EXP64_SPECIAL
	.comm	_EXP_SPECIAL,8,3                ## @EXP_SPECIAL
	.comm	_EXP64_DENORMAL,8,3             ## @EXP64_DENORMAL
	.comm	_CURSED_BIT,4,2                 ## @CURSED_BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f80_from_double                ; -- Begin function f80_from_double
	.p2align	2
_f80_from_double:                       ; @f80_from_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	d0, [sp, #24]
	mov	x0, sp
	add	x1, sp, #24
	mov	w2, #24
	bl	_memcpy
	ldr	x8, [sp]
Lloh0:
	adrp	x9, _EXP64_SPECIAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXP64_SPECIAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x19, _EXP64_DENORMAL@GOTPAGE
Lloh4:
	ldr	x19, [x19, _EXP64_DENORMAL@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EXP_SPECIAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EXP_SPECIAL@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	b	LBB0_8
LBB0_2:
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.4:
	mov	w0, #-1022
	b	LBB0_6
LBB0_5:
	sub	w0, w8, #1023
LBB0_6:
	bl	_bias
	mov	x1, x0
	b	LBB0_8
LBB0_7:
	mov	x1, #0
LBB0_8:
	ldr	x8, [sp]
	ldr	x9, [x19]
Lloh8:
	adrp	x10, _CURSED_BIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _CURSED_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	x8, x9
	csel	w8, wzr, w10, eq
	ldr	w9, [sp, #8]
	ldr	w10, [sp, #16]
	orr	w0, w8, w9, lsl #11
	bfi	x0, x10, #32, #32
	bl	_f80_normalize
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EXP64_SPECIAL,8,3              ; @EXP64_SPECIAL
	.comm	_EXP_SPECIAL,8,3                ; @EXP_SPECIAL
	.comm	_EXP64_DENORMAL,8,3             ; @EXP64_DENORMAL
	.comm	_CURSED_BIT,4,2                 ; @CURSED_BIT
.subsections_via_symbols
