	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floatformat_from_doublest      ## -- Begin function floatformat_from_doublest
	.p2align	4, 0x90
_floatformat_from_doublest:             ## @floatformat_from_doublest
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_gdb_assert
	movq	_host_float_format@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_1
## %bb.3:
	movq	_host_double_format@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_host_long_double_format@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_convert_doublest_to_floatformat ## TAILCALL
LBB0_1:
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	jmp	LBB0_2
LBB0_4:
	movss	(%r15), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$8, %edx
	jmp	LBB0_2
LBB0_6:
	flds	(%r15)
	fstpt	-48(%rbp)
	leaq	-48(%rbp), %rsi
	movl	$16, %edx
LBB0_2:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_memcpy
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_host_float_format,8,3          ## @host_float_format
	.comm	_host_double_format,8,3         ## @host_double_format
	.comm	_host_long_double_format,8,3    ## @host_long_double_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_floatformat_from_doublest      ; -- Begin function floatformat_from_doublest
	.p2align	2
_floatformat_from_doublest:             ; @floatformat_from_doublest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_gdb_assert
Lloh0:
	adrp	x8, _host_float_format@GOTPAGE
Lloh1:
	ldr	x8, [x8, _host_float_format@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _host_double_format@GOTPAGE
Lloh4:
	ldr	x8, [x8, _host_double_format@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _host_long_double_format@GOTPAGE
Lloh7:
	ldr	x8, [x8, _host_long_double_format@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_5
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_convert_doublest_to_floatformat
LBB0_4:
	ldr	s0, [x20]
	str	s0, [sp, #24]
	mov	w8, #4
	b	LBB0_6
LBB0_5:
	ldr	s0, [x20]
	fcvt	d0, s0
	str	d0, [sp, #24]
	mov	w8, #8
LBB0_6:
	add	x9, sp, #24
	stp	x9, x8, [sp]
	mov	x0, x19
	bl	_memcpy
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_host_float_format,8,3          ; @host_float_format
	.comm	_host_double_format,8,3         ; @host_double_format
	.comm	_host_long_double_format,8,3    ; @host_long_double_format
.subsections_via_symbols
