	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function fmtfloat
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_fmtfloat:                              ## @fmtfloat
	.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	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, -1116(%rbp)               ## 4-byte Spill
	movl	%ecx, -1108(%rbp)               ## 4-byte Spill
	movl	%edx, -1112(%rbp)               ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %ebx
	movsd	%xmm0, -1128(%rbp)              ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movsd	%xmm0, -1096(%rbp)
	movl	$0, -1104(%rbp)
	xorl	%r13d, %r13d
	testl	%r9d, %r9d
	cmovlel	%r13d, %r15d
	movl	%r15d, %edi
	movl	$350, %esi                      ## imm = 0x15E
	callq	_Min
	movl	%eax, %r14d
	movsd	-1128(%rbp), %xmm0              ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$3, %r14d
	leaq	L_.str(%rip), %rsi
	movq	24(%rbp), %r12
	jmp	LBB0_2
LBB0_3:
	movl	$1, %edi
	xorpd	%xmm0, %xmm0
	movsd	-1128(%rbp), %xmm1              ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	ja	LBB0_7
## %bb.4:
	ucomisd	%xmm0, %xmm1
	jne	LBB0_5
	jp	LBB0_5
## %bb.6:
	leaq	_fmtfloat.dzero(%rip), %rsi
	leaq	-1096(%rbp), %rdi
	movl	$8, %edx
	callq	_memcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_7
LBB0_5:
	xorl	%edi, %edi
LBB0_7:
	leaq	-1104(%rbp), %rdx
	movl	%r12d, %esi
	callq	_adjust_sign
	movsd	-1096(%rbp), %xmm0              ## xmm0 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	xorpd	LCPI0_0(%rip), %xmm0
	movlpd	%xmm0, -1096(%rbp)
LBB0_9:
	movq	24(%rbp), %r12
	callq	_isinf
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$8, %r14d
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	leaq	-1088(%rbp), %rdi
	callq	_strcpy
LBB0_15:
	leal	(%r14,%r13), %esi
	movl	-1108(%rbp), %edi               ## 4-byte Reload
	movl	-1112(%rbp), %edx               ## 4-byte Reload
	callq	_compute_padlen
	movl	%eax, -1100(%rbp)
	movl	-1104(%rbp), %esi
	leaq	-1100(%rbp), %rdx
	movl	-1116(%rbp), %edi               ## 4-byte Reload
	movq	%r12, %rcx
	callq	_leading_pad
	leaq	-1088(%rbp), %rdi
	testl	%r13d, %r13d
	jle	LBB0_19
## %bb.16:
	movl	$101, %esi
	callq	_strrchr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	-1088(%rbp), %rdi
	movl	$69, %esi
	callq	_strrchr
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_20
LBB0_18:
	leaq	-1088(%rbp), %rdi
	movl	%r15d, %ebx
	subl	%edi, %ebx
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_dostr
	movl	$48, %edi
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_dopr_outchmulti
	subl	%ebx, %r14d
	movq	%r15, %rdi
LBB0_19:
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_dostr
LBB0_21:
	movl	-1100(%rbp), %edi
	movq	%r12, %rsi
	callq	_trailing_pad
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	addq	$1096, %rsp                     ## imm = 0x448
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpl	$0, 16(%rbp)
	je	LBB0_13
## %bb.12:
	subl	%r14d, %r15d
	movw	$11813, -56(%rbp)               ## imm = 0x2E25
	movb	$42, -54(%rbp)
	movb	%bl, -53(%rbp)
	movb	$0, -52(%rbp)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	movsd	-1096(%rbp), %xmm1              ## xmm1 = mem[0],zero
	leaq	-1088(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movb	$2, %al
	callq	_sprintf
	movl	%eax, %r14d
	movl	%r15d, %r13d
	testl	%r14d, %r14d
	jns	LBB0_15
	jmp	LBB0_22
LBB0_20:
	leaq	-1088(%rbp), %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	callq	_dostr
	movl	$48, %edi
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_dopr_outchmulti
	jmp	LBB0_21
LBB0_13:
	movb	$37, -56(%rbp)
	movb	%bl, -55(%rbp)
	movb	$0, -54(%rbp)
	movsd	-1096(%rbp), %xmm0              ## xmm0 = mem[0],zero
	leaq	-1088(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	movb	$1, %al
	callq	_sprintf
	movl	%eax, %r14d
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	jns	LBB0_15
LBB0_22:
	movl	$1, (%r12)
	jmp	LBB0_23
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NaN"

	.section	__TEXT,__const
	.p2align	3                               ## @fmtfloat.dzero
_fmtfloat.dzero:
	.quad	0x0000000000000000              ## double 0

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Infinity"

	.no_dead_strip	_fmtfloat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fmtfloat
_fmtfloat:                              ; @fmtfloat
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #1072
	mov	x19, x7
	mov	x26, x6
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x27, x1
	mov	x23, x0
	fmov	d8, d0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
	str	d0, [sp, #24]
	str	wzr, [sp, #20]
	cmp	w5, #0
	csel	w24, w5, wzr, gt
	mov	x0, x24
	mov	w1, #350
	bl	_Min
	mov	x25, x0
	fmov	d0, d8
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
	mov	w23, #3
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_11
LBB0_2:
	fcmp	d8, #0.0
	b.pl	LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
	b.ne	LBB0_6
; %bb.5:
Lloh5:
	adrp	x1, _fmtfloat.dzero@PAGE
Lloh6:
	add	x1, x1, _fmtfloat.dzero@PAGEOFF
	add	x0, sp, #24
	mov	w2, #8
	bl	_memcmp
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	add	x2, sp, #20
	mov	x1, x27
	bl	_adjust_sign
	ldr	d0, [sp, #24]
	cbz	x0, LBB0_9
; %bb.8:
	fneg	d0, d0
	str	d0, [sp, #24]
LBB0_9:
	bl	_isinf
	cbz	x0, LBB0_22
; %bb.10:
	mov	w23, #8
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_11:
	add	x0, sp, #32
	bl	_strcpy
LBB0_12:
	mov	w24, #0
LBB0_13:
	add	w1, w24, w23
	mov	x0, x22
	mov	x2, x21
	bl	_compute_padlen
	str	w0, [sp, #16]
	ldr	w1, [sp, #20]
	add	x2, sp, #16
	mov	x0, x20
	mov	x3, x19
	bl	_leading_pad
	add	x0, sp, #32
	cmp	w24, #1
	b.lt	LBB0_17
; %bb.14:
	mov	w1, #101
	bl	_strrchr
	mov	x20, x0
	cbnz	x0, LBB0_16
; %bb.15:
	add	x0, sp, #32
	mov	w1, #69
	bl	_strrchr
	mov	x20, x0
	cbz	x0, LBB0_25
LBB0_16:
	add	x8, sp, #32
	sub	w21, w20, w8
	add	x0, sp, #32
	mov	x1, x21
	mov	x2, x19
	bl	_dostr
	mov	w0, #48
	mov	x1, x24
	mov	x2, x19
	bl	_dopr_outchmulti
	sub	w1, w23, w21
	mov	x0, x20
	b	LBB0_18
LBB0_17:
	mov	x1, x23
LBB0_18:
	mov	x2, x19
	bl	_dostr
LBB0_19:
	ldr	w0, [sp, #16]
	mov	x1, x19
	bl	_trailing_pad
LBB0_20:
	ldur	x8, [x29, #-104]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.21:
	add	sp, sp, #1072
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_22:
	cbz	w26, LBB0_26
; %bb.23:
	mov	w8, #11813
	sturh	w8, [x29, #-112]
	mov	w8, #42
	sturb	w8, [x29, #-110]
	sturb	w23, [x29, #-109]
	sturb	wzr, [x29, #-108]
	scvtf	d0, w25
	ldr	d1, [sp, #24]
	str	d1, [sp]
	add	x0, sp, #32
	sub	x1, x29, #112
	bl	_sprintf
	tbnz	w0, #31, LBB0_28
; %bb.24:
	mov	x23, x0
	sub	w24, w24, w25
	b	LBB0_13
LBB0_25:
	add	x0, sp, #32
	mov	x1, x23
	mov	x2, x19
	bl	_dostr
	mov	w0, #48
	mov	x1, x24
	mov	x2, x19
	bl	_dopr_outchmulti
	b	LBB0_19
LBB0_26:
	mov	w8, #37
	sturb	w8, [x29, #-112]
	sturb	w23, [x29, #-111]
	sturb	wzr, [x29, #-110]
	ldr	d0, [sp, #24]
	add	x0, sp, #32
	sub	x1, x29, #112
	bl	_sprintf
	tbnz	w0, #31, LBB0_28
; %bb.27:
	mov	x23, x0
	b	LBB0_12
LBB0_28:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_20
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NaN"

	.section	__TEXT,__const
	.p2align	3                               ; @fmtfloat.dzero
_fmtfloat.dzero:
	.quad	0x0000000000000000              ; double 0

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Infinity"

	.no_dead_strip	_fmtfloat
.subsections_via_symbols
