	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function convert_floatformat_to_doublest
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
LCPI0_3:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_convert_floatformat_to_doublest:       ## @convert_floatformat_to_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	52(%rdi), %eax
	movq	_floatformat_littlebyte_bigword@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.1:
	movl	(%r15), %edi
	movq	_FLOATFORMAT_CHAR_BIT@GOTPCREL(%rip), %rcx
	movl	%edi, %eax
	cltd
	idivl	(%rcx)
	movl	%eax, %ebx
	movq	_convert_floatformat_to_doublest.newfrom(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	callq	_xmalloc
	movq	%rax, _convert_floatformat_to_doublest.newfrom(%rip)
LBB0_3:
	cmpl	$8, %ebx
	jl	LBB0_6
## %bb.4:
	sarl	$3, %ebx
	incl	%ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	4(%r12,%rcx), %edx
	movb	%dl, (%rax,%rcx)
	movzbl	5(%r12,%rcx), %edx
	movb	%dl, 1(%rax,%rcx)
	movzbl	6(%r12,%rcx), %edx
	movb	%dl, 2(%rax,%rcx)
	movzbl	7(%r12,%rcx), %edx
	movb	%dl, 3(%rax,%rcx)
	movzbl	(%r12,%rcx), %edx
	movb	%dl, 4(%rax,%rcx)
	movzbl	1(%r12,%rcx), %edx
	movb	%dl, 5(%rax,%rcx)
	movzbl	2(%r12,%rcx), %edx
	movb	%dl, 6(%rax,%rcx)
	movzbl	3(%r12,%rcx), %edx
	movb	%dl, 7(%rax,%rcx)
	decl	%ebx
	addq	$8, %rcx
	cmpl	$1, %ebx
	jg	LBB0_5
LBB0_6:
	movq	%rax, %r12
LBB0_7:
	movl	52(%r15), %esi
	movl	(%r15), %edx
	movl	4(%r15), %ecx
	movl	8(%r15), %r8d
	movq	%r12, %rdi
	callq	_get_field
	movl	12(%r15), %ebx
	movl	16(%r15), %r14d
	testq	%rax, %rax
	je	LBB0_18
## %bb.8:
	movq	%rax, %r13
	xorps	%xmm0, %xmm0
	cmpq	24(%r15), %rax
	je	LBB0_12
## %bb.9:
	subq	32(%r15), %r13
	movq	40(%r15), %rax
	movq	_floatformat_intbit_no@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movq	%r13, %rdi
	callq	_ldexp
	jmp	LBB0_12
LBB0_18:
	movl	$1, %r13d
	subq	32(%r15), %r13
	xorps	%xmm0, %xmm0
	jmp	LBB0_12
LBB0_11:
	incq	%r13
LBB0_12:
	movq	%r12, %rax
	movq	%r15, %r12
	testl	%ebx, %ebx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	%ebx, %edi
	movl	$32, %esi
	callq	_min
	movl	%eax, %r15d
	movl	(%r12), %edx
	movl	52(%r12), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_get_field
	movq	%rax, %xmm1
	punpckldq	LCPI0_1(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	movl	%r15d, %eax
	subq	%rax, %r13
	movq	%r13, %rdi
	callq	_ldexp
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addsd	%xmm0, %xmm1
	movapd	%xmm1, -64(%rbp)                ## 16-byte Spill
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	addl	%r15d, %r14d
	subl	%r15d, %ebx
	testl	%ebx, %ebx
	jg	LBB0_13
LBB0_14:
	movaps	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	52(%r12), %esi
	movl	(%r12), %edx
	movl	48(%r12), %ecx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r8d
	callq	_get_field
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
	xorps	LCPI0_3(%rip), %xmm0
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_15:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movaps	-64(%rbp), %xmm0                ## 16-byte Reload
LBB0_17:
	movsd	%xmm0, (%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_floatformat_littlebyte_bigword,4,2 ## @floatformat_littlebyte_bigword
.zerofill __DATA,__bss,_convert_floatformat_to_doublest.newfrom,8,3 ## @convert_floatformat_to_doublest.newfrom
	.comm	_FLOATFORMAT_CHAR_BIT,4,2       ## @FLOATFORMAT_CHAR_BIT
	.comm	_floatformat_intbit_no,8,3      ## @floatformat_intbit_no
	.no_dead_strip	_convert_floatformat_to_doublest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_floatformat_to_doublest
_convert_floatformat_to_doublest:       ; @convert_floatformat_to_doublest
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x0, #52]
Lloh0:
	adrp	x9, _floatformat_littlebyte_bigword@GOTPAGE
Lloh1:
	ldr	x9, [x9, _floatformat_littlebyte_bigword@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _FLOATFORMAT_CHAR_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLOATFORMAT_CHAR_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w22, w8, w9
	adrp	x23, _convert_floatformat_to_doublest.newfrom@PAGE
	ldr	x0, [x23, _convert_floatformat_to_doublest.newfrom@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x8
	bl	_xmalloc
	str	x0, [x23, _convert_floatformat_to_doublest.newfrom@PAGEOFF]
LBB0_3:
	cmp	w22, #8
	b.lt	LBB0_6
; %bb.4:
	mov	x8, #0
	asr	w9, w22, #3
	add	w9, w9, #1
	add	x10, x21, #7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, x8
	ldurb	w12, [x11, #-3]
	add	x13, x0, x8
	strb	w12, [x13]
	ldurb	w12, [x11, #-2]
	strb	w12, [x13, #1]
	ldurb	w12, [x11, #-1]
	strb	w12, [x13, #2]
	ldrb	w12, [x11]
	strb	w12, [x13, #3]
	ldurb	w12, [x11, #-7]
	strb	w12, [x13, #4]
	ldurb	w12, [x11, #-6]
	strb	w12, [x13, #5]
	ldurb	w12, [x11, #-5]
	strb	w12, [x13, #6]
	ldurb	w11, [x11, #-4]
	strb	w11, [x13, #7]
	sub	w9, w9, #1
	add	x8, x8, #8
	cmp	w9, #1
	b.gt	LBB0_5
LBB0_6:
	mov	x21, x0
LBB0_7:
	ldr	w1, [x20, #52]
	ldp	w2, w3, [x20]
	ldr	w4, [x20, #8]
	mov	x0, x21
	bl	_get_field
	ldp	w22, w23, [x20, #12]
	cbz	x0, LBB0_11
; %bb.8:
	mov	x24, x0
	ldr	x8, [x20, #24]
	movi	d8, #0000000000000000
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.9:
	ldp	x8, x9, [x20, #32]
	sub	x24, x24, x8
Lloh6:
	adrp	x8, _floatformat_intbit_no@GOTPAGE
Lloh7:
	ldr	x8, [x8, _floatformat_intbit_no@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.10:
	fmov	d0, #1.00000000
	mov	x0, x24
	bl	_ldexp
	fmov	d8, d0
	cmp	w22, #1
	b.ge	LBB0_13
	b	LBB0_14
LBB0_11:
	ldr	x8, [x20, #32]
	mov	w9, #1
	sub	x24, x9, x8
	movi	d8, #0000000000000000
LBB0_12:
	cmp	w22, #1
	b.lt	LBB0_14
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	w1, #32
	bl	_min
	mov	x25, x0
	ldr	w1, [x20, #52]
	ldr	w2, [x20]
	mov	x0, x21
	mov	x3, x23
	mov	x4, x25
	bl	_get_field
	ucvtf	d0, x0
	sub	x24, x24, w25, uxtw
	mov	x0, x24
	bl	_ldexp
	fadd	d8, d8, d0
	add	w23, w25, w23
	sub	w22, w22, w25
	cmp	w22, #0
	b.gt	LBB0_13
LBB0_14:
	ldr	w2, [x20]
	ldp	w3, w1, [x20, #48]
	mov	x0, x21
	mov	w4, #1
	bl	_get_field
	fneg	d0, d8
	cmp	x0, #0
	fcsel	d0, d8, d0, eq
	str	d0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_15:
	add	x24, x24, #1
	cmp	w22, #1
	b.ge	LBB0_13
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_floatformat_littlebyte_bigword,4,2 ; @floatformat_littlebyte_bigword
.zerofill __DATA,__bss,_convert_floatformat_to_doublest.newfrom,8,3 ; @convert_floatformat_to_doublest.newfrom
	.comm	_FLOATFORMAT_CHAR_BIT,4,2       ; @FLOATFORMAT_CHAR_BIT
	.comm	_floatformat_intbit_no,8,3      ; @floatformat_intbit_no
	.no_dead_strip	_convert_floatformat_to_doublest
.subsections_via_symbols
