	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ucl_utstring_append_double
LCPI0_0:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3e7ad7f29abcaf48              ## double 9.9999999999999995E-8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ucl_utstring_append_double:            ## @ucl_utstring_append_double
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movapd	%xmm0, %xmm1
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	ucomisd	%xmm1, %xmm0
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_5
LBB0_2:
	movapd	%xmm1, %xmm2
	subsd	%xmm0, %xmm2
	andpd	LCPI0_0(%rip), %xmm2
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	%xmm2, %xmm0
	jbe	LBB0_4
## %bb.3:
	movq	_DBL_DIG@GOTPCREL(%rip), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rax), %xmm0
	leaq	L_.str.1(%rip), %rsi
	movb	$2, %al
	callq	_utstring_printf
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
LBB0_5:
	movapd	%xmm1, %xmm0
	movb	$1, %al
	callq	_utstring_printf
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.1lf"

L_.str.1:                               ## @.str.1
	.asciz	"%.*lg"

	.comm	_DBL_DIG,4,2                    ## @DBL_DIG
L_.str.2:                               ## @.str.2
	.asciz	"%lf"

	.no_dead_strip	_ucl_utstring_append_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucl_utstring_append_double
_ucl_utstring_append_double:            ; @ucl_utstring_append_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	fcvtzs	w8, d0
	scvtf	d1, w8
	fcmp	d1, d0
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:
	fabd	d1, d0, d1
	mov	x8, #44872
	movk	x8, #39612, lsl #16
	movk	x8, #55282, lsl #32
	movk	x8, #15994, lsl #48
	fmov	d2, x8
	fcmp	d1, d2
	b.pl	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _DBL_DIG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DBL_DIG@GOTPAGEOFF]
Lloh4:
	ldr	s1, [x8]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	str	d0, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	fmov	d0, d1
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_5:
	bl	_utstring_printf
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.1lf"

l_.str.1:                               ; @.str.1
	.asciz	"%.*lg"

	.comm	_DBL_DIG,4,2                    ; @DBL_DIG
l_.str.2:                               ; @.str.2
	.asciz	"%lf"

	.no_dead_strip	_ucl_utstring_append_double
.subsections_via_symbols
